Skip to content

Commit

Permalink
InstCountCI: Update
Browse files Browse the repository at this point in the history
Signed-off-by: Paulo Matos <pmatos@igalia.com>
  • Loading branch information
pmatos committed Feb 12, 2024
1 parent ec7caf3 commit 151adb7
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions unittests/InstructionCountCI/FlagM/HotBlocks_32Bit.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"Instructions": {
"Sonic Mania movie player": {
"ExpectedInstructionCount": 18,
"ExpectedInstructionCount": 17,
"Comment": "Used to be hottest block in Sonic Mania",
"x86Insts": [
"movzx edx, byte [esi+ecx]",
Expand All @@ -35,8 +35,7 @@
"lsl w6, w6, #8",
"add w10, w10, #0x1 (1)",
"orr w6, w6, w5",
"add w20, w9, #0xc (12)",
"ldr w5, [x20]",
"ldr w5, [x9, #12]",
"ldr w20, [x4]",
"orr w20, w20, w6",
"str w20, [x4]",
Expand All @@ -48,7 +47,7 @@
]
},
"wine mscrt.dll memmove": {
"ExpectedInstructionCount": 21,
"ExpectedInstructionCount": 15,
"Comment": "Hot in Sonic Mania",
"x86Insts": [
"movdqu xmm0, [esi]",
Expand All @@ -66,19 +65,13 @@
],
"ExpectedArm64ASM": [
"ldr q16, [x10]",
"add w20, w10, #0x10 (16)",
"ldr q17, [x20]",
"add w20, w10, #0x20 (32)",
"ldr q18, [x20]",
"add w20, w10, #0x30 (48)",
"ldr q19, [x20]",
"ldr q17, [x10, #16]",
"ldr q18, [x10, #32]",
"ldr q19, [x10, #48]",
"str q16, [x11]",
"add w20, w11, #0x10 (16)",
"str q17, [x20]",
"add w20, w11, #0x20 (32)",
"str q18, [x20]",
"add w20, w11, #0x30 (48)",
"str q19, [x20]",
"str q17, [x11, #16]",
"str q18, [x11, #32]",
"str q19, [x11, #48]",
"add w10, w10, #0x40 (64)",
"add w11, w11, #0x40 (64)",
"sub w5, w5, #0x40 (64)",
Expand Down

0 comments on commit 151adb7

Please sign in to comment.