Files
FEX-Emu--FEX/unittests/ASM/MOVHPD.asm
T
Ryan Houdek 7c6444c37c unitests/ASM: Removes unused MemoryRegion configs
FEX's ASM unitests had the problem that they were copy and pasted
templates and MemoryRegion was copied in to almost all tests.

Very few tests actually use the MemoryRegion they were asking for and
instead used none, or the hardcoded memory regions that the
TestHarnessRunner provides.

This is entirely a sed replacement and minor fixups plus reverts for the
few tests that actually use the region asked for.
2024-10-08 16:07:25 -07:00

31 lines
404 B
NASM

%ifdef CONFIG
{
"Match": "All",
"RegData": {
"RAX": "0xDEADBEEFBAD0DAD1",
"RCX": "0xDEADBEEFBAD0DAD1",
"XMM0": ["0", "0xDEADBEEFBAD0DAD1"]
}
}
%endif
; Data we want to store
mov rax, 0xDEADBEEFBAD0DAD1
; Starting address to store to
mov rdi, 0xe8000000
pxor xmm0, xmm0
pxor xmm1, xmm1
mov [rdi], rax
movhpd xmm0, [rdi]
movhpd [rdi + 8], xmm0
xor rcx, rcx
mov rcx, [rdi + 8]
hlt