mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-10 07:41:41 +00:00
46 lines
1.1 KiB
NASM
46 lines
1.1 KiB
NASM
%ifdef CONFIG
|
|
{
|
|
"HostFeatures": ["AVX"],
|
|
"RegData": {
|
|
"XMM0": ["0x4142434445464748", "0x5152535455565758", "0x6162636465666768", "0x7172737475767778"],
|
|
"XMM1": ["0xCCCCCCCC75767778", "0x61626364DDDDDDDD", "0xEEEEEEEE55565758", "0x41424344FFFFFFFF"],
|
|
"XMM2": ["0x4040404445464748", "0x4142434455545558", "0x6062626445464748", "0x4142434475767778"],
|
|
"XMM3": ["0x4040404445464748", "0x4142434455545558", "0x0000000000000000", "0x0000000000000000"],
|
|
"XMM4": ["0x4040404445464748", "0x4142434455545558", "0x6062626445464748", "0x4142434475767778"],
|
|
"XMM5": ["0x4040404445464748", "0x4142434455545558", "0x0000000000000000", "0x0000000000000000"]
|
|
},
|
|
"MemoryRegions": {
|
|
"0x100000000": "4096"
|
|
}
|
|
}
|
|
%endif
|
|
|
|
lea rdx, [rel .data1]
|
|
lea rbx, [rel .data2]
|
|
|
|
vmovapd ymm0, [rdx]
|
|
vmovapd ymm1, [rbx]
|
|
|
|
; Register only
|
|
vandpd ymm2, ymm0, ymm1
|
|
vandpd xmm3, xmm0, xmm1
|
|
|
|
; With memory operand
|
|
vandpd ymm4, ymm0, [rbx]
|
|
vandpd xmm5, xmm0, [rbx]
|
|
|
|
hlt
|
|
|
|
align 32
|
|
.data1:
|
|
dq 0x4142434445464748
|
|
dq 0x5152535455565758
|
|
dq 0x6162636465666768
|
|
dq 0x7172737475767778
|
|
|
|
.data2:
|
|
dq 0xCCCCCCCC75767778
|
|
dq 0x61626364DDDDDDDD
|
|
dq 0xEEEEEEEE55565758
|
|
dq 0x41424344FFFFFFFF
|