FEX/unittests/ASM/X87/D8_E0.asm

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
390 B
NASM
Raw Normal View History

2020-05-20 04:42:18 +00:00
%ifdef CONFIG
{
"RegData": {
"MM6": ["0x8000000000000000", "0xBFFF"],
"MM7": ["0x8000000000000000", "0x4000"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4000000000000000 ; 2.0
mov [rdx + 8 * 0], rax
mov rax, 0x3ff0000000000000 ; 1.0
mov [rdx + 8 * 1], rax
fld qword [rdx + 8 * 0]
fld qword [rdx + 8 * 1]
fsub st0, st1
hlt