mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-02-09 08:32:57 +00:00
Merge pull request #3442 from alyssarosenzweig/instc/witcher3
InstCountCI: add The Witcher 3 block
This commit is contained in:
commit
60e8da05cd
40
unittests/InstructionCountCI/FlagM/HotBlocks.json
Normal file
40
unittests/InstructionCountCI/FlagM/HotBlocks.json
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"Features": {
|
||||
"Bitness": 64,
|
||||
"EnabledHostFeatures": [
|
||||
"FLAGM",
|
||||
"FLAGM2"
|
||||
],
|
||||
"DisabledHostFeatures": [
|
||||
"SVE128",
|
||||
"SVE256"
|
||||
]
|
||||
},
|
||||
"Instructions": {
|
||||
"The Witcher 3": {
|
||||
"ExpectedInstructionCount": 11,
|
||||
"x86Insts": [
|
||||
"mov eax, 0x1",
|
||||
"lock xadd qword [rcx], rax",
|
||||
"mov rdx, rax",
|
||||
"and edx, 0x1f",
|
||||
"inc rdx",
|
||||
"shl rdx, 0x6",
|
||||
"add rdx, rcx"
|
||||
],
|
||||
"ExpectedArm64ASM": [
|
||||
"mov w4, #0x1",
|
||||
"ldaddal x4, x4, [x5]",
|
||||
"mov x6, x4",
|
||||
"and w6, w4, #0x1f",
|
||||
"add x6, x6, #0x1 (1)",
|
||||
"lsl x20, x6, #6",
|
||||
"mov x6, x20",
|
||||
"add x6, x20, x5",
|
||||
"eor x27, x20, x5",
|
||||
"mov x26, x6",
|
||||
"cmn x20, x5"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user