mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-15 00:00:42 +02:00
Requires the IR headerop to house the number of host instructions this code is translating for the stats. Fixes compiling with disassembly enabled, will be used with the instruction count CI.
24 lines
505 B
Plaintext
24 lines
505 B
Plaintext
;%ifdef CONFIG
|
|
;{
|
|
; "RegData": {
|
|
; "RAX": "0xddccbbaa"
|
|
; },
|
|
; "MemoryRegions": {
|
|
; "0x100000": "4096"
|
|
; },
|
|
; "MemoryData": {
|
|
; "0x100000": "AA BB CC DD"
|
|
; }
|
|
;}
|
|
;%endif
|
|
|
|
(%1) IRHeader %2, #0, #0, #0
|
|
(%2) CodeBlock %start, %end, %1
|
|
(%start i0) BeginBlock %2
|
|
%Addr i64 = Constant #0x100000
|
|
%Val i32 = LoadMem GPR, #8, %Addr i64, %Invalid, #8, SXTX, #1
|
|
(%Store i64) StoreRegister %Val i64, #0, #8, GPR, GPRFixed, #8
|
|
(%brk i0) Break {0.11.0.128}
|
|
(%end i0) EndBlock %2
|
|
|