nasm/test/insertps.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

11 lines
242 B
NASM

bits 64
insertps xmm0,xmm1,16
insertps xmm0,dword xmm1,16
insertps xmm0,xmm1,byte 16
insertps xmm0,dword xmm1,byte 16
insertps xmm0,[rax],16
insertps xmm0,dword [rax],16
insertps xmm0,[rax],byte 16
insertps xmm0,dword [rax],byte 16