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 Mar 25, 2024
1 parent 5121d99 commit 6efd263
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 20 deletions.
16 changes: 6 additions & 10 deletions unittests/InstructionCountCI/FlagM/Primary_32Bit.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,18 +337,16 @@
]
},
"aam": {
"ExpectedInstructionCount": 10,
"ExpectedInstructionCount": 8,
"Comment": "0xd4",
"ExpectedArm64ASM": [
"uxtb w20, w4",
"mov w21, #0xa",
"udiv x22, x20, x21",
"udiv x2, x20, x21",
"msub x20, x2, x21, x20",
"lsl x21, x22, #8",
"add x20, x21, x20",
"bfxil w4, w20, #0, #16",
"uxtb w26, w4",
"add x26, x20, x22, lsl #8",
"bfxil w4, w26, #0, #16",
"cmn wzr, w26, lsl #24"
]
},
Expand All @@ -366,7 +364,7 @@
]
},
"db 0xd4, 0x40": {
"ExpectedInstructionCount": 10,
"ExpectedInstructionCount": 8,
"Comment": [
"aam with a different immediate byte base",
"0xd4"
Expand All @@ -377,10 +375,8 @@
"udiv x22, x20, x21",
"udiv x2, x20, x21",
"msub x20, x2, x21, x20",
"lsl x21, x22, #8",
"add x20, x21, x20",
"bfxil w4, w20, #0, #16",
"uxtb w26, w4",
"add x26, x20, x22, lsl #8",
"bfxil w4, w26, #0, #16",
"cmn wzr, w26, lsl #24"
]
},
Expand Down
16 changes: 6 additions & 10 deletions unittests/InstructionCountCI/Primary_32Bit.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,18 +361,16 @@
]
},
"aam": {
"ExpectedInstructionCount": 10,
"ExpectedInstructionCount": 8,
"Comment": "0xd4",
"ExpectedArm64ASM": [
"uxtb w20, w4",
"mov w21, #0xa",
"udiv x22, x20, x21",
"udiv x2, x20, x21",
"msub x20, x2, x21, x20",
"lsl x21, x22, #8",
"add x20, x21, x20",
"bfxil w4, w20, #0, #16",
"uxtb w26, w4",
"add x26, x20, x22, lsl #8",
"bfxil w4, w26, #0, #16",
"cmn wzr, w26, lsl #24"
]
},
Expand All @@ -390,7 +388,7 @@
]
},
"db 0xd4, 0x40": {
"ExpectedInstructionCount": 10,
"ExpectedInstructionCount": 8,
"Comment": [
"aam with a different immediate byte base",
"0xd4"
Expand All @@ -401,10 +399,8 @@
"udiv x22, x20, x21",
"udiv x2, x20, x21",
"msub x20, x2, x21, x20",
"lsl x21, x22, #8",
"add x20, x21, x20",
"bfxil w4, w20, #0, #16",
"uxtb w26, w4",
"add x26, x20, x22, lsl #8",
"bfxil w4, w26, #0, #16",
"cmn wzr, w26, lsl #24"
]
},
Expand Down

0 comments on commit 6efd263

Please sign in to comment.