nasm/test/movhpd.asm
H. Peter Anvin (Intel) e56c2dc5b7 insns.pl: audit for impossible Sx patterns; fix a few
Break the instruction processing if there are impossible combinations
of Sx flags and operand sizes. If the intent is to always require
explicit sizes, use the SX flag.

The INSERTPS instruction pattern was explicitly wrong, the rest of
these are nuisance fixes.

TODO: fix the disassembler to be able to exclude patterns where these
bits don't matter.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2020-07-30 15:16:11 -07:00

16 lines
269 B
NASM

bits 64
movhpd xmm0,[rdi+2]
movhpd xmm0,qword [rdi+2]
movhpd [rsi+3],xmm1
movhpd qword [rsi+3],xmm1
vmovhpd xmm2,xmm1,[rax+4]
vmovhpd xmm2,xmm1,qword [rax+4]
vmovhpd xmm3,[rax+4]
vmovhpd xmm3,qword [rax+4]
vmovhpd [rcx+5],xmm4
vmovhpd qword [rcx+5],xmm4