mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-08 22:52:51 +00:00
37 lines
876 B
NASM
37 lines
876 B
NASM
%ifdef CONFIG
|
|
{
|
|
"HostFeatures": ["AVX"],
|
|
"RegData": {
|
|
"XMM2": ["0x0000000000000000", "0x00000FFFFFFFFFFF", "0x0040000000555555", "0x0000000000000000"],
|
|
"XMM3": ["0x0000000000000000", "0x00000FFFFFFFFFFF", "0x0040000000555555", "0x0000000000000000"],
|
|
"XMM4": ["0x0000000000000000", "0x00000FFFFFFFFFFF", "0x0000000000000000", "0x0000000000000000"],
|
|
"XMM5": ["0x0000000000000000", "0x00000FFFFFFFFFFF", "0x0000000000000000", "0x0000000000000000"]
|
|
}
|
|
}
|
|
%endif
|
|
|
|
lea rdx, [rel .data]
|
|
|
|
vmovapd ymm0, [rdx + 32 * 0]
|
|
vmovapd ymm1, [rdx + 32 * 1]
|
|
|
|
vpsrlvq ymm2, ymm0, ymm1
|
|
vpsrlvq ymm3, ymm0, [rdx + 32]
|
|
|
|
vpsrlvq xmm4, xmm0, xmm1
|
|
vpsrlvq xmm5, xmm0, [rdx + 32]
|
|
|
|
hlt
|
|
|
|
align 32
|
|
.data:
|
|
dq 0x800000007FFFFFFF
|
|
dq 0x0FFFFFFFFFFFFFFF
|
|
dq 0x4000000055555555
|
|
dq 0xFFFFFFFF7FFFFFFF
|
|
|
|
dq 0xFFFFFFFFFFFFFF10
|
|
dq 0x0000000000000010
|
|
dq 0x0000000000000008
|
|
dq 0x0000000000000040
|