preproc: BR 2222615: fix segfault on bogus %ifmacro
[nasm/perl-rewrite.git] / test / mmxsize.asm
blob0a478391f964644914be33795f8390479dcdc9cc
1 ;Testname=unoptimized; Arguments=-fbin -ommxsize.bin -O0; Files=stdout stderr mmxsize.bin
2 ;Testname=optimized; Arguments=-fbin -ommxsize.bin -Ox; Files=stdout stderr mmxsize.bin
3 bits 32
4 movd mm0,eax
5 movd mm0,[foo]
6 movq mm0,[foo]
7 movd mm0,dword [foo]
8 movq mm0,qword [foo]
9 movmskps eax,xmm1
10 movmskpd eax,xmm1
11 nop
12 movd xmm0,eax
13 movd xmm0,[foo]
14 movq xmm0,[foo]
15 movd xmm0,dword [foo]
16 movq xmm0,qword [foo]
17 nop
19 bits 64
20 movd mm0,eax
21 movq mm0,[foo]
22 movd mm0,dword [foo]
23 movq mm0,qword [foo]
24 movq mm0,rax
25 movmskps eax,xmm1
26 movmskpd eax,xmm1
27 nop
28 movd xmm0,eax
29 movq xmm0,[foo]
30 movd xmm0,dword [foo]
31 movq xmm0,qword [foo]
32 movq xmm0,rax
33 movmskps rax,xmm1
34 movmskpd rax,xmm1
35 nop
37 section .bss
38 foo resq 1