FEX/unittests/ASM/X87_F64/D8_F0_F64.asm
2022-04-22 01:36:56 +09:30

22 lines
277 B
NASM

%ifdef CONFIG
{
"RegData": {
"RAX": "0x3ff0000000000000"
},
"Env": { "FEX_X87REDUCEDPRECISION" : "1" }
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4000000000000000 ; 2.0
mov [rdx + 8 * 0], rax
fld qword [rdx + 8 * 0]
fdiv st0, st0
fst qword [rdx]
mov rax, [rdx]
hlt