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

15 lines
197 B
NASM

_start:
movd ecx,xmm0
movd [foo],xmm0
movd dword [foo],xmm0
movdqa xmm1,xmm0
movdqa [foo],xmm0
movdqa oword [foo],xmm0
cmppd xmm2,xmm3,8
cmppd xmm2,xmm3,byte 8
section .bss
foo: reso 1