%ifdef CONFIG { "RegData": { "XMM0": ["0x8000000000000000", "0x3FFF"], "XMM1": ["0xC000000000000000", "0xC000"] }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x3ff0000000000000 ; 1.0 mov [rdx + 8 * 0], rax mov eax, 2 mov [rdx + 8 * 1], eax fld qword [rdx + 8 * 0] fisubr dword [rdx + 8 * 1] fstp tword [rel data] movups xmm0, [rel data] ; Test negative mov rax, 0x3ff0000000000000 ; 1.0 mov [rdx + 8 * 0], rax mov eax, -2 mov [rdx + 8 * 1], eax fld qword [rdx + 8 * 0] fisubr dword [rdx + 8 * 1] fstp tword [rel data] movups xmm1, [rel data] hlt data: dq 0 dq 0