i386: Also check R12-R15 registers when optimizing testq to testb
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / equ.s
CommitLineData
4d1bb795
JB
1 .text
2_start:
3
4 .att_syntax prefix
5 .equ r, -1
6 .equ s, -1
7 movl $r, %eax
8 movl (r), %eax
b252df61 9 .equ r, xtrn
4d1bb795
JB
10 movl $r, %eax
11 movl r, %eax
12 .equ r, %ecx
13 .equ s, %fs
14 testl r, r
15 movl s:(r,r,4), r
16 .equ x, %st(1)
17 fadd x
18
2e1e12b1
JB
19 .if r <> %ecx
20 .err
21 .endif
22 .if r == s
23 .err
24 .endif
25
4d1bb795
JB
26 .intel_syntax noprefix
27 .equ r, -2
28 .equ s, -2
29 mov eax, r
ee86248c 30 mov eax, FLAT:[r]
4d1bb795
JB
31 .equ r, xtrn
32 mov eax, offset r
33 mov eax, [r]
34 .equ r, edx
35 .equ s, gs
36 test r, r
37 mov r, s:[r+r*8]
38 mov r, s:[8*r+r]
39 fadd x
40 .equ x, st(7)
41 fadd x
3c7b9c2c
L
42 .equ r, edx + 4
43 mov eax, [r]
44 mov eax, [r]
4d1bb795 45
2e1e12b1
JB
46 .if s <> gs
47 .err
48 .endif
49 .if s == x
50 .err
51 .endif
52
4d1bb795
JB
53 .equ r, -3
54 .equ s, -3
This page took 0.702534 seconds and 4 git commands to generate.