From 0b1ab95228517b665632189a5b9386fe338a2c92 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 23 Jan 2024 15:01:46 -0400 Subject: [PATCH] InstCountCI: Update Signed-off-by: Alyssa Rosenzweig --- unittests/InstructionCountCI/FlagM/VEX_map2.json | 16 +++++++--------- unittests/InstructionCountCI/VEX_map2.json | 16 +++++++--------- 2 files changed, 14 insertions(+), 18 deletions(-) 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",