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 3cf78ef commit 18a7dbd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
10 changes: 4 additions & 6 deletions unittests/InstructionCountCI/FlagM/VEX_map_group.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,30 +66,28 @@
]
},
"blsi eax, ebx": {
"ExpectedInstructionCount": 6,
"ExpectedInstructionCount": 5,
"Comment": [
"Map group 17 0b011 32-bit"
],
"ExpectedArm64ASM": [
"neg w20, w7",
"and w4, w7, w20",
"cmp x4, #0x0 (0)",
"cset x20, ne",
"tst w4, w4",
"cset w20, ne",
"rmif x20, #63, #nzCv"
]
},
"blsi rax, rbx": {
"ExpectedInstructionCount": 6,
"ExpectedInstructionCount": 5,
"Comment": [
"Map group 17 0b011 64-bit"
],
"ExpectedArm64ASM": [
"neg x20, x7",
"and x4, x7, x20",
"cmp x4, #0x0 (0)",
"cset x20, ne",
"tst x4, x4",
"cset w20, ne",
"rmif x20, #63, #nzCv"
]
}
Expand Down
18 changes: 8 additions & 10 deletions unittests/InstructionCountCI/VEX_map_group.json
Original file line number Diff line number Diff line change
Expand Up @@ -673,34 +673,32 @@
]
},
"blsi eax, ebx": {
"ExpectedInstructionCount": 8,
"ExpectedInstructionCount": 7,
"Comment": [
"Map group 17 0b011 32-bit"
],
"ExpectedArm64ASM": [
"neg w20, w7",
"and w4, w7, w20",
"cmp x4, #0x0 (0)",
"cset x20, ne",
"tst w4, w4",
"mrs x21, nzcv",
"orr w20, w21, w20, lsl #29",
"mrs x20, nzcv",
"cset w21, ne",
"orr w20, w20, w21, lsl #29",
"msr nzcv, x20"
]
},
"blsi rax, rbx": {
"ExpectedInstructionCount": 8,
"ExpectedInstructionCount": 7,
"Comment": [
"Map group 17 0b011 64-bit"
],
"ExpectedArm64ASM": [
"neg x20, x7",
"and x4, x7, x20",
"cmp x4, #0x0 (0)",
"cset x20, ne",
"tst x4, x4",
"mrs x21, nzcv",
"orr w20, w21, w20, lsl #29",
"mrs x20, nzcv",
"cset w21, ne",
"orr w20, w20, w21, lsl #29",
"msr nzcv, x20"
]
}
Expand Down

0 comments on commit 18a7dbd

Please sign in to comment.