FEX/unittests/ASM/REP/F3_70.asm
2020-03-06 09:08:50 +02:00

31 lines
579 B
NASM

%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x4142434445464748", "0x5152535455565758"],
"XMM1": ["0x4142434445464748", "0x5758575857585758"],
"XMM2": ["0x6162636465666768", "0x7172717271727172"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + 8 * 1], rax
mov rax, 0x6162636465666768
mov [rdx + 8 * 2], rax
mov rax, 0x7172737475767778
mov [rdx + 8 * 3], rax
movapd xmm0, [rdx]
pshufhw xmm1, xmm0, 0x0
pshufhw xmm2, [rdx + 8 * 2], 0xFF
hlt