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 Aug 28, 2024
1 parent 867056a commit 641df8d
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions unittests/InstructionCountCI/FlagM/FlagOpts.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,27 +203,21 @@
},
"Variable rotate-through-carry dead": {
"x86InstructionCount": 2,
"ExpectedInstructionCount": 17,
"ExpectedInstructionCount": 11,
"x86Insts": [
"rcr rax, cl",
"test rax, rdx"
],
"ExpectedArm64ASM": [
"and x20, x7, #0x3f",
"cbz x20, #+0x38",
"cbz x20, #+0x20",
"lsr x20, x4, x7",
"cset w21, lo",
"neg x22, x7",
"lsl x23, x4, x22",
"orr x20, x20, x23, lsl #1",
"sub x23, x7, #0x1 (1)",
"lsr x23, x4, x23",
"eor x23, x23, #0x1",
"rmif x23, #63, #nzCv",
"lsl x21, x21, x22",
"orr x4, x20, x21",
"eor x20, x4, x4, lsr #1",
"rmif x20, #62, #nzcV",
"ands x26, x4, x5",
"cfinv"
]
Expand Down Expand Up @@ -309,7 +303,7 @@
"test cl, cl"
],
"ExpectedArm64ASM": [
"cmn wzr, w4, lsl #16",
"tst w4, #0xffff",
"cset x20, eq",
"bfxil x4, x20, #0, #8",
"cmn wzr, w7, lsl #24",
Expand All @@ -326,10 +320,10 @@
"test cl, cl"
],
"ExpectedArm64ASM": [
"and w20, w4, w6",
"cmn wzr, w20, lsl #16",
"cset x21, eq",
"bfxil x4, x21, #0, #8",
"and w0, w4, w6",
"tst w0, #0xffff",
"cset x20, eq",
"bfxil x4, x20, #0, #8",
"cmn wzr, w7, lsl #24",
"cfinv",
"mov x26, x7"
Expand All @@ -345,10 +339,10 @@
],
"ExpectedArm64ASM": [
"mov w20, #0x89",
"and w20, w4, w20",
"cmn wzr, w20, lsl #24",
"cset x21, ne",
"bfxil x4, x21, #0, #8",
"and w0, w4, w20",
"tst w0, #0xff",
"cset x20, ne",
"bfxil x4, x20, #0, #8",
"cmn wzr, w7, lsl #24",
"cfinv",
"mov x26, x7"
Expand Down

0 comments on commit 641df8d

Please sign in to comment.