mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-02-10 00:55:55 +00:00
Merge pull request #3452 from Sonicadvance1/dxvk_mgrr_hotblock
Adds MGRR hottest block on render thread
This commit is contained in:
commit
49ca0e2181
@ -85,6 +85,85 @@
|
||||
"subs w26, w5, #0x40 (64)",
|
||||
"cfinv"
|
||||
]
|
||||
},
|
||||
"dxvk hotblock from MGRR": {
|
||||
"ExpectedInstructionCount": 55,
|
||||
"Comment": [
|
||||
"Hottest block in Metal Gear Rising: Revengeance render thread"
|
||||
],
|
||||
"x86Insts": [
|
||||
"mov edx, dword [eax+0xc]",
|
||||
"mov eax, dword [eax+0x8]",
|
||||
"mov dword [ebp-0x34], esi",
|
||||
"mov ecx, eax",
|
||||
"mov ebx, edx",
|
||||
"mov esi, dword [ebp-0x24]",
|
||||
"add ecx, 0xffffffff",
|
||||
"adc ebx, 0xffffffff",
|
||||
"mov dword [ebp-0x28], ecx",
|
||||
"mov dword [ebp-0x2c], ebx",
|
||||
"mov ebx, ecx",
|
||||
"mov dword [ebp-0x30], ecx",
|
||||
"mov ecx, dword [ebp-0x2c]",
|
||||
"lock cmpxchg8b qword [esi+0x8]"
|
||||
],
|
||||
"ExpectedArm64ASM": [
|
||||
"add w20, w4, #0xc (12)",
|
||||
"ldr w6, [x20]",
|
||||
"add w20, w4, #0x8 (8)",
|
||||
"ldr w4, [x20]",
|
||||
"mov w20, #0xffffffcc",
|
||||
"add w20, w9, w20",
|
||||
"str w10, [x20]",
|
||||
"mov w5, w4",
|
||||
"mov w7, w6",
|
||||
"mov w20, #0xffffffdc",
|
||||
"add w20, w9, w20",
|
||||
"ldr w10, [x20]",
|
||||
"mov w20, #0xffffffff",
|
||||
"adds w21, w4, w20",
|
||||
"mov w5, w21",
|
||||
"cset w22, hs",
|
||||
"add w22, w20, w22",
|
||||
"add w22, w6, w22",
|
||||
"mov w7, w22",
|
||||
"mov w23, #0xffffffd8",
|
||||
"add w23, w9, w23",
|
||||
"str w21, [x23]",
|
||||
"mov w23, #0xffffffd4",
|
||||
"add w24, w9, w23",
|
||||
"str w22, [x24]",
|
||||
"mov w7, w21",
|
||||
"mov w24, #0xffffffd0",
|
||||
"add w24, w9, w24",
|
||||
"str w21, [x24]",
|
||||
"add w23, w9, w23",
|
||||
"ldr w5, [x23]",
|
||||
"eor w27, w6, w20",
|
||||
"mov w26, w22",
|
||||
"adcs wzr, w6, w20",
|
||||
"add w20, w10, #0x8 (8)",
|
||||
"mov w22, w4",
|
||||
"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",
|
||||
"cbnz x22, #+0xc",
|
||||
"mov w4, w20",
|
||||
"mov w6, w12"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user