Skip to content

Commit

Permalink
InstCountCI: Update
Browse files Browse the repository at this point in the history
Signed-off-by: Alyssa Rosenzweig <[email protected]>
  • Loading branch information
alyssarosenzweig committed Jan 23, 2024
1 parent 8e5624e commit 0b1ab95
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
16 changes: 7 additions & 9 deletions unittests/InstructionCountCI/FlagM/VEX_map2.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
16 changes: 7 additions & 9 deletions unittests/InstructionCountCI/VEX_map2.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0b1ab95

Please sign in to comment.