summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/x86-64-inval.l
blob: 05416d7c02e598a92f580f19360d5d52b7114ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.*: Assembler messages:
.*:3: Error: .*
.*:4: Error: .*
.*:5: Error: .*
.*:6: Error: .*
.*:7: Error: .*
.*:8: Error: .*
.*:9: Error: .*
.*:10: Error: .*
.*:11: Error: .*
.*:12: Error: .*
.*:13: Error: .*
.*:14: Error: .*
GAS LISTING .*


   1 [ 	]*	.text
   2 [ 	]*# All the following should be illegal for x86-64
   3 [ 	]*calll \*%eax	# 32-bit data size not allowed
   4 [ 	]*calll \*\(%ax\)	# 32-bit data size not allowed
   5 [ 	]*calll \*\(%eax\)	# 32-bit data size not allowed
   6 [ 	]*calll \*\(%r8\)	# 32-bit data size not allowed
   7 [ 	]*calll \*\(%rax\)	# 32-bit data size not allowed
   8 [ 	]*callq \*\(%ax\)	# 32-bit data size not allowed
   9 [ 	]*callw \*\(%ax\)	# no 16-bit addressing
  10 [ 	]*foo:[ 	]*jcxz foo	# No prefix exists to select CX as a counter
  11 [ 	]*popl %eax	# can\'t have 32-bit stack operands
  12 [ 	]*pushl %eax	# can\'t have 32-bit stack operands
  13 [ 	]*pushfl		# can\'t have 32-bit stack operands
  14 [ 	]*popfl		# can\'t have 32-bit stack operands