gas/
[external/binutils.git] / gas / testsuite / gas / i386 / x86-64-inval.l
1 .*: Assembler messages:
2 .*:3: Error: .*
3 .*:4: Error: .*
4 .*:5: Error: .*
5 .*:6: Error: .*
6 .*:7: Error: .*
7 .*:8: Error: .*
8 .*:9: Error: .*
9 .*:10: Error: .*
10 .*:11: Error: .*
11 .*:12: Error: .*
12 .*:13: Error: .*
13 .*:14: Error: .*
14 .*:15: Error: .*
15 .*:16: Error: .*
16 .*:17: Error: .*
17 .*:18: Error: .*
18 .*:19: Error: .*
19 .*:20: Error: .*
20 .*:21: Error: .*
21 .*:22: Error: .*
22 .*:23: Error: .*
23 .*:24: Error: .*
24 .*:25: Error: .*
25 .*:26: Error: .*
26 .*:27: Error: .*
27 .*:28: Error: .*
28 .*:29: Error: .*
29 .*:30: Error: .*
30 .*:31: Error: .*
31 .*:32: Error: .*
32 .*:33: Error: .*
33 .*:34: Error: .*
34 .*:35: Error: .*
35 .*:36: Error: .*
36 .*:37: Error: .*
37 .*:38: Error: .*
38 .*:39: Error: .*
39 .*:40: Error: .*
40 .*:41: Error: .*
41 .*:42: Error: .*
42 .*:43: Error: .*
43 .*:44: Error: .*
44 .*:45: Error: .*
45 .*:46: Error: .*
46 .*:47: Error: .*
47 .*:48: Error: .*
48 .*:49: Error: .*
49 .*:50: Error: .*
50 .*:51: Error: .*
51 .*:52: Error: .*
52 .*:54: Error: .*
53 .*:55: Error: .*
54 .*:56: Error: .*
55 .*:57: Error: .*
56 .*:58: Error: .*
57 .*:59: Error: .*
58 .*:60: Error: .*
59 .*:61: Error: .*
60 .*:62: Error: .*
61 GAS LISTING .*
62
63
64 [       ]*1[    ]+\.text
65 [       ]*2[    ]+\# All the following should be illegal for x86-64
66 [       ]*3[    ]+aaa           \# illegal
67 [       ]*4[    ]+aad           \# illegal
68 [       ]*5[    ]+aam           \# illegal
69 [       ]*6[    ]+aas           \# illegal
70 [       ]*7[    ]+arpl %ax,%ax  \# illegal
71 [       ]*8[    ]+bound %eax,\(%rax\) \# illegal
72 [       ]*9[    ]+calll \*%eax  \# 32-bit data size not allowed
73 [       ]*10[   ]+calll \*\(%ax\)       \# 32-bit data size not allowed
74 [       ]*11[   ]+calll \*\(%eax\)      \# 32-bit data size not allowed
75 [       ]*12[   ]+calll \*\(%r8\)       \# 32-bit data size not allowed
76 [       ]*13[   ]+calll \*\(%rax\)      \# 32-bit data size not allowed
77 [       ]*14[   ]+callq \*\(%ax\)       \# 32-bit data size not allowed
78 [       ]*15[   ]+callw \*\(%ax\)       \# no 16-bit addressing
79 [       ]*16[   ]+daa           \# illegal
80 [       ]*17[   ]+das           \# illegal
81 [       ]*18[   ]+enterl \$0,\$0        \# can't have 32-bit stack operands
82 [       ]*19[   ]+into          \# illegal
83 [       ]*20[   ]+foo:  jcxz foo        \# No prefix exists to select CX as a counter
84 [       ]*21[   ]+jmpl \*%eax   \# 32-bit data size not allowed
85 [       ]*22[   ]+jmpl \*\(%rax\)       \# 32-bit data size not allowed
86 [       ]*23[   ]+lcalll \$0,\$0        \# illegal
87 [       ]*24[   ]+lcallq \$0,\$0        \# illegal
88 [       ]*25[   ]+ldsl %eax,\(%rax\) \# illegal
89 [       ]*26[   ]+ldsq %rax,\(%rax\) \# illegal
90 [       ]*27[   ]+lesl %eax,\(%rax\) \# illegal
91 [       ]*28[   ]+lesq %rax,\(%rax\) \# illegal
92 [       ]*29[   ]+ljmpl \$0,\$0 \# illegal
93 [       ]*30[   ]+ljmpq \$0,\$0 \# illegal
94 [       ]*31[   ]+ljmpq \*\(%rax\)      \# 64-bit data size not allowed
95 [       ]*32[   ]+loopw foo     \# No prefix exists to select CX as a counter
96 [       ]*33[   ]+loopew foo    \# No prefix exists to select CX as a counter
97 [       ]*34[   ]+loopnew foo   \# No prefix exists to select CX as a counter
98 [       ]*35[   ]+loopnzw foo   \# No prefix exists to select CX as a counter
99 [       ]*36[   ]+loopzw foo    \# No prefix exists to select CX as a counter
100 [       ]*37[   ]+leavel                \# can't have 32-bit stack operands
101 [       ]*38[   ]+pop %ds               \# illegal
102 [       ]*39[   ]+pop %es               \# illegal
103 [       ]*40[   ]+pop %ss               \# illegal
104 [       ]*41[   ]+popa          \# illegal
105 [       ]*42[   ]+popl %eax     \# can't have 32-bit stack operands
106 [       ]*43[   ]+push %cs      \# illegal
107 [       ]*44[   ]+push %ds      \# illegal
108 [       ]*45[   ]+push %es      \# illegal
109 [       ]*46[   ]+push %ss      \# illegal
110 [       ]*47[   ]+pusha         \# illegal
111 [       ]*48[   ]+pushl %eax    \# can't have 32-bit stack operands
112 [       ]*49[   ]+pushfl                \# can't have 32-bit stack operands
113 [       ]*50[   ]+popfl         \# can't have 32-bit stack operands
114 [       ]*51[   ]+retl          \# can't have 32-bit stack operands
115 [       ]*52[   ]+insertq \$4,\$2,%xmm2,%ebx \# The last operand must be XMM register\.
116 [       ]*53[   ]+\.intel_syntax noprefix
117 [       ]*54[   ]+cmpxchg16b dword ptr \[rax\] \# Must be oword
118 [       ]*55[   ]+movq xmm1, XMMWORD PTR \[rsp\]
119 [       ]*56[   ]+movq xmm1, DWORD PTR \[rsp\]
120 [       ]*57[   ]+movq xmm1, WORD PTR \[rsp\]
121 \fGAS LISTING .*
122
123
124 [       ]*58[   ]+movq xmm1, BYTE PTR \[rsp\]
125 [       ]*59[   ]+movq XMMWORD PTR \[rsp\],xmm1
126 [       ]*60[   ]+movq DWORD PTR \[rsp\],xmm1
127 [       ]*61[   ]+movq WORD PTR \[rsp\],xmm1
128 [       ]*62[   ]+movq BYTE PTR \[rsp\],xmm1