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 29, 2024
1 parent 3328485 commit f3ca660
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 67 deletions.
8 changes: 4 additions & 4 deletions unittests/InstructionCountCI/FlagM/FlagOpts.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,10 @@
"mov w21, w3",
"mov w24, w20",
"mov w25, w21",
"cmp x20, x22",
"ccmp x21, x23, #nzcv, eq",
"cset x20, eq",
"rmif x20, #62, #nZcv",
"mrs x0, nzcv",
"cmp w20, w22",
"ccmp w21, w23, #nzcv, eq",
"rmif x0, #0, #NzCV",
"csel x4, x24, x4, ne",
"csel x6, x25, x6, ne",
"ands x26, x4, x4"
Expand Down
24 changes: 11 additions & 13 deletions unittests/InstructionCountCI/FlagM/HotBlocks_32Bit.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
]
},
"dxvk hotblock from MGRR": {
"ExpectedInstructionCount": 42,
"ExpectedInstructionCount": 40,
"Comment": [
"Hottest block in Metal Gear Rising: Revengeance render thread"
],
Expand Down Expand Up @@ -128,21 +128,19 @@
"mov w23, w6",
"mov w24, w21",
"mov w25, w5",
"mrs x21, nzcv",
"mov w2, w22",
"mov w3, w23",
"caspal w2, w3, w24, w25, [x20]",
"mov w24, w2",
"mov w25, w3",
"mov w20, w24",
"mov w12, w25",
"cmp x24, x22",
"ccmp x25, x23, #nzcv, eq",
"cset x22, eq",
"msr nzcv, x21",
"rmif x22, #62, #nZcv",
"csel x4, x20, x4, ne",
"csel x6, x12, x6, ne"
"mov w20, w2",
"mov w21, w3",
"mov w24, w20",
"mov w25, w21",
"mrs x0, nzcv",
"cmp w20, w22",
"ccmp w21, w23, #nzcv, eq",
"rmif x0, #0, #NzCV",
"csel x4, x24, x4, ne",
"csel x6, x25, x6, ne"
]
},
"Psychonauts matrix swizzle": {
Expand Down
48 changes: 22 additions & 26 deletions unittests/InstructionCountCI/FlagM/SecondaryGroup.json
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@
]
},
"cmpxchg8b [rbp]": {
"ExpectedInstructionCount": 24,
"ExpectedInstructionCount": 22,
"Comment": "GROUP9 0x0F 0xC7 /1",
"ExpectedArm64ASM": [
"add x20, x9, #0x0 (0)",
Expand All @@ -656,47 +656,43 @@
"mov w24, w5",
"mov w25, w24",
"mov w24, w21",
"mrs x21, nzcv",
"mov w2, w22",
"mov w3, w23",
"caspal w2, w3, w24, w25, [x20]",
"mov w24, w2",
"mov w25, w3",
"mov w20, w24",
"mov w30, w25",
"cmp x24, x22",
"ccmp x25, x23, #nzcv, eq",
"cset x22, eq",
"msr nzcv, x21",
"rmif x22, #62, #nZcv",
"csel x4, x20, x4, ne",
"csel x6, x30, x6, ne"
"mov w20, w2",
"mov w21, w3",
"mov w24, w20",
"mov w25, w21",
"mrs x0, nzcv",
"cmp w20, w22",
"ccmp w21, w23, #nzcv, eq",
"rmif x0, #0, #NzCV",
"csel x4, x24, x4, ne",
"csel x6, x25, x6, ne"
]
},
"cmpxchg16b [rbp]": {
"ExpectedInstructionCount": 20,
"ExpectedInstructionCount": 18,
"Comment": "GROUP9 0x0F 0xC7 /1",
"ExpectedArm64ASM": [
"add x20, x9, #0x0 (0)",
"mov x22, x4",
"mov x23, x6",
"mov x24, x7",
"mov x25, x5",
"mrs x21, nzcv",
"mov x2, x22",
"mov x3, x23",
"caspal x2, x3, x24, x25, [x20]",
"mov x24, x2",
"mov x25, x3",
"mov x20, x24",
"mov x30, x25",
"cmp x24, x22",
"ccmp x25, x23, #nzcv, eq",
"cset x22, eq",
"msr nzcv, x21",
"rmif x22, #62, #nZcv",
"csel x4, x20, x4, ne",
"csel x6, x30, x6, ne"
"mov x20, x2",
"mov x21, x3",
"mov x24, x20",
"mov x25, x21",
"mrs x0, nzcv",
"cmp w20, w22",
"ccmp w21, w23, #nzcv, eq",
"rmif x0, #0, #NzCV",
"csel x4, x24, x4, ne",
"csel x6, x25, x6, ne"
]
},
"rdrand ax": {
Expand Down
48 changes: 24 additions & 24 deletions unittests/InstructionCountCI/SecondaryGroup.json
Original file line number Diff line number Diff line change
Expand Up @@ -788,21 +788,21 @@
"mov w24, w5",
"mov w25, w24",
"mov w24, w21",
"mrs x21, nzcv",
"mov w2, w22",
"mov w3, w23",
"caspal w2, w3, w24, w25, [x20]",
"mov w24, w2",
"mov w25, w3",
"mov w20, w24",
"mov w30, w25",
"cmp x24, x22",
"ccmp x25, x23, #nzcv, eq",
"cset x22, eq",
"bfi w21, w22, #30, #1",
"msr nzcv, x21",
"csel x4, x20, x4, ne",
"csel x6, x30, x6, ne"
"mov w20, w2",
"mov w21, w3",
"mov w24, w20",
"mov w25, w21",
"mrs x0, nzcv",
"cmp w20, w22",
"ccmp w21, w23, #nzcv, eq",
"cset w1, eq",
"bfi w0, w1, #30, #1",
"msr nzcv, x0",
"csel x4, x24, x4, ne",
"csel x6, x25, x6, ne"
]
},
"cmpxchg16b [rbp]": {
Expand All @@ -814,21 +814,21 @@
"mov x23, x6",
"mov x24, x7",
"mov x25, x5",
"mrs x21, nzcv",
"mov x2, x22",
"mov x3, x23",
"caspal x2, x3, x24, x25, [x20]",
"mov x24, x2",
"mov x25, x3",
"mov x20, x24",
"mov x30, x25",
"cmp x24, x22",
"ccmp x25, x23, #nzcv, eq",
"cset x22, eq",
"bfi w21, w22, #30, #1",
"msr nzcv, x21",
"csel x4, x20, x4, ne",
"csel x6, x30, x6, ne"
"mov x20, x2",
"mov x21, x3",
"mov x24, x20",
"mov x25, x21",
"mrs x0, nzcv",
"cmp w20, w22",
"ccmp w21, w23, #nzcv, eq",
"cset w1, eq",
"bfi w0, w1, #30, #1",
"msr nzcv, x0",
"csel x4, x24, x4, ne",
"csel x6, x25, x6, ne"
]
},
"rdrand ax": {
Expand Down

0 comments on commit f3ca660

Please sign in to comment.