Implement RDRSEED, ADX and PRFCHW instructions
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / inval.s
CommitLineData
252b5132
RH
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
37foo: 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)
bb8f5920 49 movl $%ebx,%eax
f48ff2ae 50 insertq $4,$2,%xmm2,%ebx
98b528ac
L
51 cvtsi2ssq (%eax),%xmm1
52 cvtsi2sdq (%eax),%xmm1
7d5e4556
L
53 fnstsw %eax
54 fnstsw %al
55 fstsw %eax
56 fstsw %al
98b528ac 57
5c07affc
L
58movnti %ax, (%eax)
59movntiw %ax, (%eax)
60
98b528ac
L
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]
582d5edd
L
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
7d5e4556
L
74 fnstsw eax
75 fnstsw al
76 fstsw eax
77 fstsw al
5c07affc
L
78
79movsx ax, [eax]
80movsx eax, [eax]
81movzx ax, [eax]
82movzx eax, [eax]
83
84movnti word ptr [eax], ax
This page took 0.633507 seconds and 4 git commands to generate.