diff --git a/unittests/InstructionCountCI/FlagM/VEX_map2.json b/unittests/InstructionCountCI/FlagM/VEX_map2.json index 7d53dd2848..c7e639e427 100644 --- a/unittests/InstructionCountCI/FlagM/VEX_map2.json +++ b/unittests/InstructionCountCI/FlagM/VEX_map2.json @@ -526,19 +526,17 @@ ] }, "bextr eax, ebx, ecx": { - "ExpectedInstructionCount": 14, + "ExpectedInstructionCount": 12, "Comment": [ "Map 2 0b00 0xf7 32-bit" ], "ExpectedArm64ASM": [ - "mov w20, w7", - "mov w21, w5", - "uxtb w22, w21", - "lsr w20, w20, w22", - "mov w23, #0x0", - "cmp w22, #0x1f (31)", - "csel w20, w20, w23, ls", - "ubfx w21, w21, #8, #8", + "uxtb w20, w5", + "lsr w21, w7, w20", + "mov w22, #0x0", + "cmp w20, #0x1f (31)", + "csel w20, w21, w22, ls", + "ubfx w21, w5, #8, #8", "mov x22, #0xffffffffffffffff", "lsl w22, w22, w21", "bic w22, w20, w22", diff --git a/unittests/InstructionCountCI/VEX_map2.json b/unittests/InstructionCountCI/VEX_map2.json index 65a113bdd3..a631348879 100644 --- a/unittests/InstructionCountCI/VEX_map2.json +++ b/unittests/InstructionCountCI/VEX_map2.json @@ -3461,19 +3461,17 @@ ] }, "bextr eax, ebx, ecx": { - "ExpectedInstructionCount": 14, + "ExpectedInstructionCount": 12, "Comment": [ "Map 2 0b00 0xf7 32-bit" ], "ExpectedArm64ASM": [ - "mov w20, w7", - "mov w21, w5", - "uxtb w22, w21", - "lsr w20, w20, w22", - "mov w23, #0x0", - "cmp w22, #0x1f (31)", - "csel w20, w20, w23, ls", - "ubfx w21, w21, #8, #8", + "uxtb w20, w5", + "lsr w21, w7, w20", + "mov w22, #0x0", + "cmp w20, #0x1f (31)", + "csel w20, w21, w22, ls", + "ubfx w21, w5, #8, #8", "mov x22, #0xffffffffffffffff", "lsl w22, w22, w21", "bic w22, w20, w22",