From 0cf6eafda249fc99cee2df0fb57a5c5f38e92f93 Mon Sep 17 00:00:00 2001 From: Ilya Vinogradov <46860715+Holodome@users.noreply.github.com> Date: Tue, 9 Dec 2025 16:48:18 +0300 Subject: [PATCH] [bug] Fixed FMOV encoding bug (AArch64) --- asmjit-testing/tests/asmjit_test_assembler_a64.cpp | 4 ++++ asmjit/arm/a64assembler.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/asmjit-testing/tests/asmjit_test_assembler_a64.cpp b/asmjit-testing/tests/asmjit_test_assembler_a64.cpp index 27112ce..15aa84f 100644 --- a/asmjit-testing/tests/asmjit_test_assembler_a64.cpp +++ b/asmjit-testing/tests/asmjit_test_assembler_a64.cpp @@ -1907,6 +1907,10 @@ static void ASMJIT_NOINLINE test_aarch64_assembler_simd(AssemblerTester 1 || sz > 2) goto InvalidInstruction; - static const uint32_t sz_bits_table[3] = { B(11), B(0), B(29) }; + static const uint32_t sz_bits_table[3] = { B(11), 0, B(29) }; opcode.reset(0b00001111000000001111010000000000); opcode ^= sz_bits_table[sz]; opcode.add_imm(q, 30);