FEX/unittests/ASM/VEX/vpunpcklwd.asm
2022-12-29 16:30:12 +00:00

40 lines
923 B
NASM

%ifdef CONFIG
{
"HostFeatures": ["AVX"],
"RegData": {
"XMM2": ["0x6566454667684748", "0x6162414263644344", "0x0000000000000000", "0x0000000000000000"],
"XMM3": ["0x6566454667684748", "0x6162414263644344", "0x0000000000000000", "0x0000000000000000"],
"XMM4": ["0x6566454667684748", "0x6162414263644344", "0x5555DDDD4444CCCC", "0x7777FFFF6666EEEE"],
"XMM5": ["0x6566454667684748", "0x6162414263644344", "0x5555DDDD4444CCCC", "0x7777FFFF6666EEEE"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
lea rdx, [rel .data]
vmovapd ymm0, [rdx]
vmovapd ymm1, [rdx + 32]
vpunpcklwd xmm2, xmm0, [rdx + 32]
vpunpcklwd xmm3, xmm0, xmm1
vpunpcklwd ymm4, ymm0, [rdx + 32]
vpunpcklwd ymm5, ymm0, ymm1
hlt
align 32
.data:
dq 0x4142434445464748
dq 0x5152535455565758
dq 0xFFFFEEEEDDDDCCCC
dq 0xBBBBAAAA99998888
dq 0x6162636465666768
dq 0x7172737475767778
dq 0x7777666655554444
dq 0x3333222211110000