Files
FEX-Emu--FEX/unittests/IR/Basic/MemoryData.ir
T
Ryan Houdek b1a3f82923 FEXCore: Fixes Arm64 stats disassembly
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.
2023-08-10 03:23:25 -07:00

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