diff --git a/unittests/InstructionCountCI/FlagM/HotBlocks_32Bit.json b/unittests/InstructionCountCI/FlagM/HotBlocks_32Bit.json index 891beb90a6..7cf619855f 100644 --- a/unittests/InstructionCountCI/FlagM/HotBlocks_32Bit.json +++ b/unittests/InstructionCountCI/FlagM/HotBlocks_32Bit.json @@ -12,7 +12,7 @@ }, "Instructions": { "Sonic Mania movie player": { - "ExpectedInstructionCount": 18, + "ExpectedInstructionCount": 17, "Comment": "Used to be hottest block in Sonic Mania", "x86Insts": [ "movzx edx, byte [esi+ecx]", @@ -35,8 +35,7 @@ "lsl w6, w6, #8", "add w10, w10, #0x1 (1)", "orr w6, w6, w5", - "add w20, w9, #0xc (12)", - "ldr w5, [x20]", + "ldr w5, [x9, #12]", "ldr w20, [x4]", "orr w20, w20, w6", "str w20, [x4]", @@ -48,7 +47,7 @@ ] }, "wine mscrt.dll memmove": { - "ExpectedInstructionCount": 21, + "ExpectedInstructionCount": 15, "Comment": "Hot in Sonic Mania", "x86Insts": [ "movdqu xmm0, [esi]", @@ -66,19 +65,13 @@ ], "ExpectedArm64ASM": [ "ldr q16, [x10]", - "add w20, w10, #0x10 (16)", - "ldr q17, [x20]", - "add w20, w10, #0x20 (32)", - "ldr q18, [x20]", - "add w20, w10, #0x30 (48)", - "ldr q19, [x20]", + "ldr q17, [x10, #16]", + "ldr q18, [x10, #32]", + "ldr q19, [x10, #48]", "str q16, [x11]", - "add w20, w11, #0x10 (16)", - "str q17, [x20]", - "add w20, w11, #0x20 (32)", - "str q18, [x20]", - "add w20, w11, #0x30 (48)", - "str q19, [x20]", + "str q17, [x11, #16]", + "str q18, [x11, #32]", + "str q19, [x11, #48]", "add w10, w10, #0x40 (64)", "add w11, w11, #0x40 (64)", "sub w5, w5, #0x40 (64)",