gas/
[external/binutils.git] / gas / testsuite / gas / i386 / intelbad.s
1         .intel_syntax noprefix
2         .text
3 start:
4         add     eax, byte ptr [eax]
5         add     eax, qword ptr [eax]
6         add     [eax], 1
7         add     qword ptr [eax], 1
8         addpd   xmm0, dword ptr [eax]
9         addpd   xmm0, qword ptr [eax]
10         addpd   xmm0, tbyte ptr [eax]
11         addps   xmm0, dword ptr [eax]
12         addps   xmm0, qword ptr [eax]
13         addps   xmm0, tbyte ptr [eax]
14         addsd   xmm0, dword ptr [eax]
15         addsd   xmm0, tbyte ptr [eax]
16         addsd   xmm0, xmmword ptr [eax]
17         addss   xmm0, qword ptr [eax]
18         addss   xmm0, tbyte ptr [eax]
19         addss   xmm0, xmmword ptr [eax]
20         call    byte ptr [eax]
21         call    qword ptr [eax]
22         call    tbyte ptr [eax]
23         call    xword ptr [eax]
24         cmps    [esi], es:[edi]
25         cmps    dword ptr [esi], word ptr es:[edi]
26         cmpxchg8b dword ptr [eax]
27         fadd    [eax]
28         fadd    word ptr [eax]
29         fadd    tbyte ptr [eax]
30         fbld    byte ptr [eax]
31         fbld    word ptr [eax]
32         fbstp   dword ptr [eax]
33         fbstp   qword ptr [eax]
34         fiadd   [eax]
35         fiadd   byte ptr [eax]
36         fild    [eax]
37         fild    byte ptr [eax]
38         fild    tbyte ptr [eax]
39         fist    [eax]
40         fist    byte ptr [eax]
41         fist    qword ptr [eax]
42         fistp   [eax]
43         fistp   byte ptr [eax]
44         fisttp  [eax]
45         fisttp  byte ptr [eax]
46         fld     [eax]
47         fld     word ptr [eax]
48         fldcw   dword ptr [eax]
49         fst     [eax]
50         fst     word ptr [eax]
51         fst     tbyte ptr [eax]
52         fstp    [eax]
53         fstp    word ptr [eax]
54         ins     es:[edi], dx
55         lds     ax, word ptr [eax]
56         lds     eax, dword ptr [eax]
57         lods    [esi]
58         movs    es:[edi], [esi]
59         movs    dword ptr es:[edi], word ptr [esi]
60         movsx   eax, [eax]
61         movsx   eax, dword ptr [eax]
62         outs    dx, [esi]
63         paddb   mm0, dword ptr [eax]
64         paddb   mm0, xmmword ptr [eax]
65         paddb   xmm0, dword ptr [eax]
66         paddb   xmm0, qword ptr [eax]
67         pinsrw  mm0, byte ptr [eax], 3
68         pinsrw  mm0, dword ptr [eax], 3
69         pinsrw  mm0, qword ptr [eax], 3
70         pinsrw  xmm0, dword ptr [eax], 7
71         pinsrw  xmm0, qword ptr [eax], 7
72         pinsrw  xmm0, xmmword ptr [eax], 7
73         push    byte ptr [eax]
74         push    qword ptr [eax]
75         scas    es:[edi]
76 #XXX?   shl     eax
77         stos    es:[edi]
78         xlat    word ptr [ebx]
79 #XXX?   xlatb   [ebx]
80
81         # expressions
82 #XXX?   push    ~ 1
83 #XXX?   push    1 % 1
84 #XXX?   push    1 << 1
85 #XXX?   push    1 >> 1
86 #XXX?   push    1 & 1
87 #XXX?   push    1 ^ 1
88 #XXX?   push    1 | 1
89         push    1 1
90         push    1 +
91         push    1 * * 1