FEX/unittests/ASM/OpSize/66_5F.asm
2020-03-06 09:08:50 +02:00

34 lines
611 B
NASM

%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x4008000000000000", "0x4000000000000000"],
"XMM1": ["0x4008000000000000", "0x4000000000000000"],
"XMM2": ["0x3FF0000000000000", "0x4000000000000000"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4008000000000000
mov [rdx + 8 * 0], rax
mov rax, 0x3FF0000000000000
mov [rdx + 8 * 1], rax
mov rax, 0x3FF0000000000000
mov [rdx + 8 * 2], rax
mov rax, 0x4000000000000000
mov [rdx + 8 * 3], rax
movapd xmm0, [rdx]
maxpd xmm0, [rdx + 8 * 2]
movapd xmm1, [rdx]
movapd xmm2, [rdx + 8 * 2]
maxpd xmm1, xmm2
hlt