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 Apr 4, 2024
1 parent a05cc06 commit a787daa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 28 deletions.
24 changes: 10 additions & 14 deletions unittests/InstructionCountCI/FlagM/PrimaryGroup.json
Original file line number Diff line number Diff line change
Expand Up @@ -1295,13 +1295,12 @@
]
},
"shl al, 1": {
"ExpectedInstructionCount": 8,
"ExpectedInstructionCount": 7,
"Comment": "GROUP2 0xd0 /4",
"ExpectedArm64ASM": [
"uxtb w20, w4",
"lsl w21, w20, #1",
"bfxil x4, x21, #0, #8",
"uxtb w26, w21",
"lsl w26, w20, #1",
"bfxil x4, x26, #0, #8",
"cmn wzr, w26, lsl #24",
"rmif x20, #6, #nzCv",
"eor w20, w26, w20",
Expand All @@ -1326,7 +1325,7 @@
"ExpectedArm64ASM": [
"uxtb w20, w4",
"sxtb x20, w20",
"asr w26, w20, #1",
"asr x26, x20, #1",
"bfxil x4, x26, #0, #8",
"cmn wzr, w26, lsl #24",
"rmif x20, #63, #nzCv"
Expand Down Expand Up @@ -1471,13 +1470,12 @@
]
},
"shl ax, 1": {
"ExpectedInstructionCount": 8,
"ExpectedInstructionCount": 7,
"Comment": "GROUP2 0xd1 /4",
"ExpectedArm64ASM": [
"uxth w20, w4",
"lsl w21, w20, #1",
"bfxil x4, x21, #0, #16",
"uxth w26, w21",
"lsl w26, w20, #1",
"bfxil x4, x26, #0, #16",
"cmn wzr, w26, lsl #16",
"rmif x20, #14, #nzCv",
"eor w20, w26, w20",
Expand Down Expand Up @@ -1552,7 +1550,7 @@
"ExpectedArm64ASM": [
"uxth w20, w4",
"sxth x20, w20",
"asr w26, w20, #1",
"asr x26, x20, #1",
"bfxil x4, x26, #0, #16",
"cmn wzr, w26, lsl #16",
"rmif x20, #63, #nzCv"
Expand Down Expand Up @@ -1671,14 +1669,13 @@
]
},
"shl al, cl": {
"ExpectedInstructionCount": 14,
"ExpectedInstructionCount": 13,
"Comment": "GROUP2 0xd2 /4",
"ExpectedArm64ASM": [
"uxtb w20, w4",
"uxtb w21, w5",
"lsl w22, w20, w21",
"bfxil x4, x22, #0, #8",
"uxtb w22, w22",
"cbz x21, #+0x24",
"cmn wzr, w22, lsl #24",
"mov w23, #0x8",
Expand Down Expand Up @@ -1939,14 +1936,13 @@
]
},
"shl ax, cl": {
"ExpectedInstructionCount": 14,
"ExpectedInstructionCount": 13,
"Comment": "GROUP2 0xd3 /4",
"ExpectedArm64ASM": [
"uxth w20, w4",
"uxth w21, w5",
"lsl w22, w20, w21",
"bfxil x4, x22, #0, #16",
"uxth w22, w22",
"cbz x21, #+0x24",
"cmn wzr, w22, lsl #16",
"mov w23, #0x10",
Expand Down
24 changes: 10 additions & 14 deletions unittests/InstructionCountCI/PrimaryGroup.json
Original file line number Diff line number Diff line change
Expand Up @@ -1504,13 +1504,12 @@
]
},
"shl al, 1": {
"ExpectedInstructionCount": 12,
"ExpectedInstructionCount": 11,
"Comment": "GROUP2 0xd0 /4",
"ExpectedArm64ASM": [
"uxtb w20, w4",
"lsl w21, w20, #1",
"bfxil x4, x21, #0, #8",
"uxtb w26, w21",
"lsl w26, w20, #1",
"bfxil x4, x26, #0, #8",
"cmn wzr, w26, lsl #24",
"ubfx x21, x20, #7, #1",
"mrs x22, nzcv",
Expand Down Expand Up @@ -1543,7 +1542,7 @@
"ExpectedArm64ASM": [
"uxtb w20, w4",
"sxtb x20, w20",
"asr w26, w20, #1",
"asr x26, x20, #1",
"bfxil x4, x26, #0, #8",
"cmn wzr, w26, lsl #24",
"ubfx x20, x20, #0, #1",
Expand Down Expand Up @@ -1769,13 +1768,12 @@
]
},
"shl ax, 1": {
"ExpectedInstructionCount": 12,
"ExpectedInstructionCount": 11,
"Comment": "GROUP2 0xd1 /4",
"ExpectedArm64ASM": [
"uxth w20, w4",
"lsl w21, w20, #1",
"bfxil x4, x21, #0, #16",
"uxth w26, w21",
"lsl w26, w20, #1",
"bfxil x4, x26, #0, #16",
"cmn wzr, w26, lsl #16",
"ubfx x21, x20, #15, #1",
"mrs x22, nzcv",
Expand Down Expand Up @@ -1874,7 +1872,7 @@
"ExpectedArm64ASM": [
"uxth w20, w4",
"sxth x20, w20",
"asr w26, w20, #1",
"asr x26, x20, #1",
"bfxil x4, x26, #0, #16",
"cmn wzr, w26, lsl #16",
"ubfx x20, x20, #0, #1",
Expand Down Expand Up @@ -2026,14 +2024,13 @@
]
},
"shl al, cl": {
"ExpectedInstructionCount": 18,
"ExpectedInstructionCount": 17,
"Comment": "GROUP2 0xd2 /4",
"ExpectedArm64ASM": [
"uxtb w20, w4",
"uxtb w21, w5",
"lsl w22, w20, w21",
"bfxil x4, x22, #0, #8",
"uxtb w22, w22",
"cbz x21, #+0x34",
"cmn wzr, w22, lsl #24",
"mov w23, #0x8",
Expand Down Expand Up @@ -2381,14 +2378,13 @@
]
},
"shl ax, cl": {
"ExpectedInstructionCount": 18,
"ExpectedInstructionCount": 17,
"Comment": "GROUP2 0xd3 /4",
"ExpectedArm64ASM": [
"uxth w20, w4",
"uxth w21, w5",
"lsl w22, w20, w21",
"bfxil x4, x22, #0, #16",
"uxth w22, w22",
"cbz x21, #+0x34",
"cmn wzr, w22, lsl #16",
"mov w23, #0x10",
Expand Down

0 comments on commit a787daa

Please sign in to comment.