Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / i386 / inval.s
1         .text
2 # All the following should be illegal
3         mov     (%dx),%al
4         mov     (%eax,%esp,2),%al
5         setae   %eax
6         pushb   %ds
7         popb    %ds
8         pushb   %al
9         popb    %al
10         pushb   %ah
11         popb    %ah
12         pushb   %ax
13         popb    %ax
14         pushb   %eax
15         popb    %eax
16         movb    %ds,%ax
17         movb    %ds,%eax
18         movb    %ax,%ds
19         movb    %eax,%ds
20         movdb   %eax,%mm0
21         movqb   0,%mm0
22         ldsb    0,%eax
23         setnew  0
24         movdw   %eax,%mm0
25         movqw   0,%mm0
26         div     %cx,%al
27         div     %cl,%ax
28         div     %ecx,%al
29         imul    10,%bx,%ecx
30         imul    10,%bx,%al
31         popab
32         stil
33         aaab
34         cwdel
35         cwdw
36         callww  0
37 foo:    jaw     foo
38         jcxzw   foo
39         jecxzl  foo
40         loopb   foo
41         xlatw   %es:%bx
42         xlatl   %es:%bx
43         intl    2
44         int3b
45         hltb
46         fstb    %st(0)
47         fcompll 28(%ebp)
48         fldlw   (%eax)
49         movl    $%ebx,%eax
50         insertq $4,$2,%xmm2,%ebx
51         cvtsi2ssq (%eax),%xmm1
52         cvtsi2sdq (%eax),%xmm1
53         fnstsw %eax
54         fnstsw %al
55         fstsw %eax
56         fstsw %al
57
58 movnti %ax, (%eax)
59 movntiw %ax, (%eax)
60
61         .intel_syntax noprefix
62         cvtsi2ss xmm1,QWORD PTR [eax]
63         cvtsi2sd xmm1,QWORD PTR [eax]
64         cvtsi2ssq xmm1,QWORD PTR [eax]
65         cvtsi2sdq xmm1,QWORD PTR [eax]
66         movq xmm1, XMMWORD PTR [esp]
67         movq xmm1, DWORD PTR [esp]
68         movq xmm1, WORD PTR [esp]
69         movq xmm1, BYTE PTR [esp]
70         movq XMMWORD PTR [esp],xmm1
71         movq DWORD PTR [esp],xmm1
72         movq WORD PTR [esp],xmm1
73         movq BYTE PTR [esp],xmm1
74         fnstsw eax
75         fnstsw al
76         fstsw eax
77         fstsw al
78
79 movsx ax, [eax]
80 movsx eax, [eax]
81 movzx ax, [eax]
82 movzx eax, [eax]
83
84 movnti word ptr [eax], ax