Files
FEX-Emu--FEX/unittests/IR/Basic/SetGPR.ir
T
Ryan Houdek 6cdd3916c0 Adds IR based unit test support.
Now that everything is punched through that is necessary, we can now
have IR based unit tests that will be used to ensure the IR is working
correctly.
Specifically this is necessary for quick iterating on RA testing.
2020-05-09 12:19:36 -07:00

16 lines
336 B
Plaintext

;%ifdef CONFIG
;{
; "RegData": {
; "RAX": "0x4142434445464748"
; }
;}
;%endif
(%ssa1) IRHeader #0x1000, %ssa2, #0
(%ssa2) CodeBlock %ssa6, %ssa8, %ssa3
(%ssa6 i0) Dummy
%Value i64 = Constant #0x4142434445464748
(%Store i64) StoreContext %Value i64, #0x8, GPR
(%ssa7 i0) Break #4, #4
(%ssa8 i0) EndBlock #0x0