mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-10 07:41:41 +00:00
44 lines
1.1 KiB
NASM
44 lines
1.1 KiB
NASM
%ifdef CONFIG
|
|
{
|
|
"HostFeatures": ["AVX"],
|
|
"RegData": {
|
|
"XMM0": ["0x3F8000003F800000", "0x3F8000003F800000", "0x3F8000003F800000", "0x3F8000003F800000"],
|
|
"XMM1": ["0x4080000040800000", "0x4080000040800000", "0x4080000040800000", "0x4080000040800000"],
|
|
"XMM2": ["0x3F8000003F800000", "0x3F8000003F800000", "0x3F8000003F800000", "0x3F8000003F800000"],
|
|
"XMM3": ["0x3F8000003F800000", "0x3F8000003F800000", "0x0000000000000000", "0x0000000000000000"],
|
|
"XMM4": ["0x3E8000003E800000", "0x3E8000003E800000", "0x3E8000003E800000", "0x3E8000003E800000"],
|
|
"XMM5": ["0x3E8000003E800000", "0x3E8000003E800000", "0x0000000000000000", "0x0000000000000000"]
|
|
},
|
|
"MemoryRegions": {
|
|
"0x100000000": "4096"
|
|
}
|
|
}
|
|
%endif
|
|
|
|
lea rdx, [rel .data]
|
|
|
|
vmovapd ymm0, [rdx + 32 * 0]
|
|
vmovapd ymm1, [rdx + 32 * 1]
|
|
|
|
; Register only
|
|
vrcpps ymm2, ymm0
|
|
vrcpps xmm3, xmm0
|
|
|
|
; Memory operand
|
|
vrcpps ymm4, [rdx + 32 * 1]
|
|
vrcpps xmm5, [rdx + 32 * 1]
|
|
|
|
hlt
|
|
|
|
align 32
|
|
.data:
|
|
dq 0x3F8000003F800000 ; 1.0
|
|
dq 0x3F8000003F800000
|
|
dq 0x3F8000003F800000
|
|
dq 0x3F8000003F800000
|
|
|
|
dq 0x4080000040800000 ; 4.0
|
|
dq 0x4080000040800000
|
|
dq 0x4080000040800000
|
|
dq 0x4080000040800000
|