mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-07 14:10:23 +00:00
a4f92b8564
If the input range is outside of -1.0 to +1.0 then the result is undefined. To avoid precision problems just check for zero, aka 2^0-1 which also returns zero
22 lines
228 B
NASM
22 lines
228 B
NASM
%ifdef CONFIG
|
|
{
|
|
"RegData": {
|
|
"MM7": ["0x0000000000000000", "0x0000"]
|
|
},
|
|
"MemoryRegions": {
|
|
"0x100000000": "4096"
|
|
}
|
|
}
|
|
%endif
|
|
|
|
lea rdx, [rel data]
|
|
fld tword [rdx + 8 * 0]
|
|
f2xm1
|
|
|
|
hlt
|
|
|
|
align 8
|
|
data:
|
|
dt 0.0
|
|
dq 0
|