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 Jan 22, 2024
1 parent 59e5653 commit c7bdfb3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 27 deletions.
10 changes: 4 additions & 6 deletions unittests/InstructionCountCI/FlagM/H0F38.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"Instructions": {
"ptest xmm0, xmm1": {
"ExpectedInstructionCount": 15,
"ExpectedInstructionCount": 13,
"Comment": [
"0x66 0x0f 0x38 0x17"
],
Expand All @@ -25,13 +25,11 @@
"umov w21, v3.h[0]",
"mov w27, #0x0",
"mov w26, #0x1",
"cmp x20, #0x0 (0)",
"cset x20, eq",
"cmp x21, #0x0 (0)",
"cset x21, eq",
"lsl x20, x20, #30",
"orr w20, w20, w21, lsl #29",
"msr nzcv, x20"
"tst w20, w20",
"rmif x21, #63, #nzCv",
"rmif x27, #61, #Nzcv"
]
},
"adcx eax, ebx": {
Expand Down
20 changes: 8 additions & 12 deletions unittests/InstructionCountCI/FlagM/VEX_map2.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
]
},
"vptest xmm0, xmm1": {
"ExpectedInstructionCount": 15,
"ExpectedInstructionCount": 13,
"Comment": [
"Map 2 0b01 0x16 128-bit"
],
Expand All @@ -177,17 +177,15 @@
"umov w21, v3.h[0]",
"mov w27, #0x0",
"mov w26, #0x1",
"cmp x20, #0x0 (0)",
"cset x20, eq",
"cmp x21, #0x0 (0)",
"cset x21, eq",
"lsl x20, x20, #30",
"orr w20, w20, w21, lsl #29",
"msr nzcv, x20"
"tst w20, w20",
"rmif x21, #63, #nzCv",
"rmif x27, #61, #Nzcv"
]
},
"vptest ymm0, ymm1": {
"ExpectedInstructionCount": 15,
"ExpectedInstructionCount": 13,
"Comment": [
"Map 2 0b01 0x16 256-bit"
],
Expand All @@ -200,13 +198,11 @@
"umov w21, v3.h[0]",
"mov w27, #0x0",
"mov w26, #0x1",
"cmp x20, #0x0 (0)",
"cset x20, eq",
"cmp x21, #0x0 (0)",
"cset x21, eq",
"lsl x20, x20, #30",
"orr w20, w20, w21, lsl #29",
"msr nzcv, x20"
"tst w20, w20",
"rmif x21, #63, #nzCv",
"rmif x27, #61, #Nzcv"
]
},
"vmaskmovps xmm0, xmm1, [rax]": {
Expand Down
6 changes: 3 additions & 3 deletions unittests/InstructionCountCI/H0F38.json
Original file line number Diff line number Diff line change
Expand Up @@ -402,12 +402,12 @@
"umov w21, v3.h[0]",
"mov w27, #0x0",
"mov w26, #0x1",
"cmp x20, #0x0 (0)",
"cset x20, eq",
"cmp x21, #0x0 (0)",
"cset x21, eq",
"lsl x20, x20, #30",
"tst w20, w20",
"mrs x20, nzcv",
"orr w20, w20, w21, lsl #29",
"and w20, w20, #0x7fffffff",
"msr nzcv, x20"
]
},
Expand Down
12 changes: 6 additions & 6 deletions unittests/InstructionCountCI/VEX_map2.json
Original file line number Diff line number Diff line change
Expand Up @@ -696,12 +696,12 @@
"umov w21, v3.h[0]",
"mov w27, #0x0",
"mov w26, #0x1",
"cmp x20, #0x0 (0)",
"cset x20, eq",
"cmp x21, #0x0 (0)",
"cset x21, eq",
"lsl x20, x20, #30",
"tst w20, w20",
"mrs x20, nzcv",
"orr w20, w20, w21, lsl #29",
"and w20, w20, #0x7fffffff",
"msr nzcv, x20"
]
},
Expand All @@ -719,12 +719,12 @@
"umov w21, v3.h[0]",
"mov w27, #0x0",
"mov w26, #0x1",
"cmp x20, #0x0 (0)",
"cset x20, eq",
"cmp x21, #0x0 (0)",
"cset x21, eq",
"lsl x20, x20, #30",
"tst w20, w20",
"mrs x20, nzcv",
"orr w20, w20, w21, lsl #29",
"and w20, w20, #0x7fffffff",
"msr nzcv, x20"
]
},
Expand Down

0 comments on commit c7bdfb3

Please sign in to comment.