* elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-inval.s
CommitLineData
831b02f6
NC
1 .text
2# All the following should be illegal for x86-64
526355d2
NC
3 aaa # illegal
4 aad # illegal
5 aam # illegal
6 aas # illegal
7 arpl %ax,%ax # illegal
8 bound %eax,(%rax) # illegal
831b02f6
NC
9 calll *%eax # 32-bit data size not allowed
10 calll *(%ax) # 32-bit data size not allowed
11 calll *(%eax) # 32-bit data size not allowed
12 calll *(%r8) # 32-bit data size not allowed
13 calll *(%rax) # 32-bit data size not allowed
14 callq *(%ax) # 32-bit data size not allowed
15 callw *(%ax) # no 16-bit addressing
526355d2
NC
16 daa # illegal
17 das # illegal
18 enterl $0,$0 # can't have 32-bit stack operands
19 into # illegal
831b02f6 20foo: jcxz foo # No prefix exists to select CX as a counter
526355d2
NC
21 jmpl *%eax # 32-bit data size not allowed
22 jmpl *(%rax) # 32-bit data size not allowed
526355d2
NC
23 lcalll $0,$0 # illegal
24 lcallq $0,$0 # illegal
25 ldsl %eax,(%rax) # illegal
26 ldsq %rax,(%rax) # illegal
27 lesl %eax,(%rax) # illegal
28 lesq %rax,(%rax) # illegal
29 ljmpl $0,$0 # illegal
30 ljmpq $0,$0 # illegal
31 ljmpq *(%rax) # 64-bit data size not allowed
32 loopw foo # No prefix exists to select CX as a counter
33 loopew foo # No prefix exists to select CX as a counter
34 loopnew foo # No prefix exists to select CX as a counter
35 loopnzw foo # No prefix exists to select CX as a counter
36 loopzw foo # No prefix exists to select CX as a counter
37 leavel # can't have 32-bit stack operands
38 pop %ds # illegal
39 pop %es # illegal
40 pop %ss # illegal
41 popa # illegal
831b02f6 42 popl %eax # can't have 32-bit stack operands
526355d2
NC
43 push %cs # illegal
44 push %ds # illegal
45 push %es # illegal
46 push %ss # illegal
47 pusha # illegal
831b02f6
NC
48 pushl %eax # can't have 32-bit stack operands
49 pushfl # can't have 32-bit stack operands
50 popfl # can't have 32-bit stack operands
526355d2 51 retl # can't have 32-bit stack operands
f48ff2ae 52 insertq $4,$2,%xmm2,%ebx # The last operand must be XMM register.
7d5e4556
L
53 fnstsw %eax
54 fnstsw %al
55 fstsw %eax
56 fstsw %al
57 in $8,%rax
58 out %rax,$8
5c07affc
L
59movzxl (%rax),%rax
60movnti %ax, (%rax)
61movntiw %ax, (%rax)
7d5e4556 62
f5804c90 63 .intel_syntax noprefix
fb9c77c7 64 cmpxchg16b dword ptr [rax] # Must be oword
582d5edd
L
65 movq xmm1, XMMWORD PTR [rsp]
66 movq xmm1, DWORD PTR [rsp]
67 movq xmm1, WORD PTR [rsp]
68 movq xmm1, BYTE PTR [rsp]
69 movq XMMWORD PTR [rsp],xmm1
70 movq DWORD PTR [rsp],xmm1
71 movq WORD PTR [rsp],xmm1
72 movq BYTE PTR [rsp],xmm1
7d5e4556
L
73 fnstsw eax
74 fnstsw al
75 fstsw eax
76 fstsw al
77 in rax,8
78 out 8,rax
5c07affc
L
79movsx ax, [rax]
80movsx eax, [rax]
81movsx rax, [rax]
82movzx ax, [rax]
83movzx eax, [rax]
84movzx rax, [rax]
85movnti word ptr [rax], ax
This page took 0.269791 seconds and 4 git commands to generate.