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 Dec 13, 2024
1 parent 766fbe3 commit 4934c1f
Show file tree
Hide file tree
Showing 14 changed files with 238 additions and 238 deletions.
34 changes: 17 additions & 17 deletions unittests/InstructionCountCI/Atomics.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"Comment": "0x00",
"ExpectedArm64ASM": [
"ldaddalb w7, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"lsl w0, w20, #24",
"cmn w0, w7, lsl #24",
"add w26, w20, w7",
Expand All @@ -30,7 +30,7 @@
"Comment": "0x01",
"ExpectedArm64ASM": [
"ldaddalh w7, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"lsl w0, w20, #16",
"cmn w0, w7, lsl #16",
"add w26, w20, w7",
Expand All @@ -44,7 +44,7 @@
"Comment": "0x01",
"ExpectedArm64ASM": [
"ldaddal w7, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"adds w26, w20, w7",
"mrs x20, nzcv",
"eor w20, w20, #0x20000000",
Expand Down Expand Up @@ -90,7 +90,7 @@
"ExpectedArm64ASM": [
"cinc w20, w7, lo",
"ldaddalb w20, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"uxtb w21, w7",
"cinc w22, w21, lo",
"add w23, w20, w22",
Expand All @@ -114,7 +114,7 @@
"ExpectedArm64ASM": [
"cinc w20, w7, lo",
"ldaddalh w20, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"uxth w21, w7",
"cinc w22, w21, lo",
"add w23, w20, w22",
Expand All @@ -138,7 +138,7 @@
"ExpectedArm64ASM": [
"cinc w20, w7, lo",
"ldaddal w20, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"mrs x21, nzcv",
"eor w21, w21, #0x20000000",
"msr nzcv, x21",
Expand All @@ -155,7 +155,7 @@
"cinc w20, w7, lo",
"neg w1, w20",
"ldaddalb w1, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"uxtb w20, w20",
"uxtb w21, w7",
"cinc w22, w21, lo",
Expand All @@ -181,7 +181,7 @@
"cinc w20, w7, lo",
"neg w1, w20",
"ldaddalh w1, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"uxth w20, w20",
"uxth w21, w7",
"cinc w22, w21, lo",
Expand All @@ -207,7 +207,7 @@
"cinc w20, w7, lo",
"neg w1, w20",
"ldaddal w1, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"sbcs w26, w20, w7"
]
},
Expand Down Expand Up @@ -255,7 +255,7 @@
"ExpectedArm64ASM": [
"neg w1, w7",
"ldaddalb w1, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"lsl w0, w20, #24",
"cmp w0, w7, lsl #24",
"sub w26, w20, w7"
Expand All @@ -267,7 +267,7 @@
"ExpectedArm64ASM": [
"neg w1, w7",
"ldaddalh w1, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"lsl w0, w20, #16",
"cmp w0, w7, lsl #16",
"sub w26, w20, w7"
Expand All @@ -279,7 +279,7 @@
"ExpectedArm64ASM": [
"neg w1, w7",
"ldaddal w1, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"subs w26, w20, w7"
]
},
Expand Down Expand Up @@ -321,7 +321,7 @@
"Comment": "0x01",
"ExpectedArm64ASM": [
"ldaddal x7, x20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"adds x26, x20, x7",
"mrs x20, nzcv",
"eor w20, w20, #0x20000000",
Expand Down Expand Up @@ -364,7 +364,7 @@
"ExpectedArm64ASM": [
"uxtb w20, w6",
"ldaddalb w20, w21, [x4]",
"eor w27, w21, w20",
"eor x27, x21, x20",
"lsl w0, w21, #24",
"cmn w0, w20, lsl #24",
"add w26, w21, w20",
Expand All @@ -380,7 +380,7 @@
"ExpectedArm64ASM": [
"uxth w20, w6",
"ldaddalh w20, w21, [x4]",
"eor w27, w21, w20",
"eor x27, x21, x20",
"lsl w0, w21, #16",
"cmn w0, w20, lsl #16",
"add w26, w21, w20",
Expand All @@ -396,7 +396,7 @@
"ExpectedArm64ASM": [
"mov w20, w6",
"ldaddal w20, w6, [x4]",
"eor w27, w6, w20",
"eor x27, x6, x20",
"adds w26, w6, w20",
"mrs x20, nzcv",
"eor w20, w20, #0x20000000",
Expand All @@ -408,7 +408,7 @@
"Comment": "0x0f 0xc1",
"ExpectedArm64ASM": [
"ldaddal x6, x20, [x4]",
"eor w27, w20, w6",
"eor x27, x20, x6",
"adds x26, x20, x6",
"mrs x21, nzcv",
"eor w21, w21, #0x20000000",
Expand Down
2 changes: 1 addition & 1 deletion unittests/InstructionCountCI/FEXOpt/MultiInst_32bit.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"mul w5, w5, w11",
"ldr w4, [x6, #12]",
"ldr w20, [x6, #4]",
"eor w27, w4, w20",
"eor x27, x4, x20",
"subs w26, w4, w20",
"mov x4, x26"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"mov w20, w20",
"ldapur w20, [x20]",
"nop",
"eor w27, w4, w20",
"eor x27, x4, x20",
"subs w26, w4, w20",
"mov x4, x26"
]
Expand Down
34 changes: 17 additions & 17 deletions unittests/InstructionCountCI/FlagM/Atomics.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"Comment": "0x00",
"ExpectedArm64ASM": [
"ldaddalb w7, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"lsl w0, w20, #24",
"cmn w0, w7, lsl #24",
"add w26, w20, w7",
Expand All @@ -29,7 +29,7 @@
"Comment": "0x01",
"ExpectedArm64ASM": [
"ldaddalh w7, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"lsl w0, w20, #16",
"cmn w0, w7, lsl #16",
"add w26, w20, w7",
Expand All @@ -41,7 +41,7 @@
"Comment": "0x01",
"ExpectedArm64ASM": [
"ldaddal w7, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"adds w26, w20, w7",
"cfinv"
]
Expand Down Expand Up @@ -81,7 +81,7 @@
"ExpectedArm64ASM": [
"cinc w20, w7, lo",
"ldaddalb w20, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"uxtb w21, w7",
"cinc w22, w21, lo",
"add w23, w20, w22",
Expand All @@ -102,7 +102,7 @@
"ExpectedArm64ASM": [
"cinc w20, w7, lo",
"ldaddalh w20, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"uxth w21, w7",
"cinc w22, w21, lo",
"add w23, w20, w22",
Expand All @@ -123,7 +123,7 @@
"ExpectedArm64ASM": [
"cinc w20, w7, lo",
"ldaddal w20, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"cfinv",
"adcs w26, w20, w7",
"cfinv"
Expand All @@ -136,7 +136,7 @@
"cinc w20, w7, lo",
"neg w1, w20",
"ldaddalb w1, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"uxtb w20, w20",
"uxtb w21, w7",
"cinc w22, w21, lo",
Expand All @@ -159,7 +159,7 @@
"cinc w20, w7, lo",
"neg w1, w20",
"ldaddalh w1, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"uxth w20, w20",
"uxth w21, w7",
"cinc w22, w21, lo",
Expand All @@ -182,7 +182,7 @@
"cinc w20, w7, lo",
"neg w1, w20",
"ldaddal w1, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"sbcs w26, w20, w7"
]
},
Expand Down Expand Up @@ -224,7 +224,7 @@
"ExpectedArm64ASM": [
"neg w1, w7",
"ldaddalb w1, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"lsl w0, w20, #24",
"cmp w0, w7, lsl #24",
"sub w26, w20, w7"
Expand All @@ -236,7 +236,7 @@
"ExpectedArm64ASM": [
"neg w1, w7",
"ldaddalh w1, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"lsl w0, w20, #16",
"cmp w0, w7, lsl #16",
"sub w26, w20, w7"
Expand All @@ -248,7 +248,7 @@
"ExpectedArm64ASM": [
"neg w1, w7",
"ldaddal w1, w20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"subs w26, w20, w7"
]
},
Expand Down Expand Up @@ -286,7 +286,7 @@
"Comment": "0x01",
"ExpectedArm64ASM": [
"ldaddal x7, x20, [x4]",
"eor w27, w20, w7",
"eor x27, x20, x7",
"adds x26, x20, x7",
"cfinv"
]
Expand All @@ -297,7 +297,7 @@
"ExpectedArm64ASM": [
"uxtb w20, w6",
"ldaddalb w20, w21, [x4]",
"eor w27, w21, w20",
"eor x27, x21, x20",
"lsl w0, w21, #24",
"cmn w0, w20, lsl #24",
"add w26, w21, w20",
Expand All @@ -311,7 +311,7 @@
"ExpectedArm64ASM": [
"uxth w20, w6",
"ldaddalh w20, w21, [x4]",
"eor w27, w21, w20",
"eor x27, x21, x20",
"lsl w0, w21, #16",
"cmn w0, w20, lsl #16",
"add w26, w21, w20",
Expand All @@ -325,7 +325,7 @@
"ExpectedArm64ASM": [
"mov w20, w6",
"ldaddal w20, w6, [x4]",
"eor w27, w6, w20",
"eor x27, x6, x20",
"adds w26, w6, w20",
"cfinv"
]
Expand All @@ -335,7 +335,7 @@
"Comment": "0x0f 0xc1",
"ExpectedArm64ASM": [
"ldaddal x6, x20, [x4]",
"eor w27, w20, w6",
"eor x27, x20, x6",
"adds x26, x20, x6",
"cfinv",
"mov x6, x20"
Expand Down
4 changes: 2 additions & 2 deletions unittests/InstructionCountCI/FlagM/FlagOpts.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
],
"ExpectedArm64ASM": [
"subs x4, x4, x6",
"eor w27, w7, w5",
"eor x27, x7, x5",
"sbcs x26, x7, x5",
"mov x7, x26"
]
Expand All @@ -50,7 +50,7 @@
],
"ExpectedArm64ASM": [
"adds x4, x4, x6",
"eor w27, w7, w5",
"eor x27, x7, x5",
"adcs x26, x7, x5",
"mov x7, x26"
]
Expand Down
Loading

0 comments on commit 4934c1f

Please sign in to comment.