* gas/cris: Match output having $ register prefix. Deal with
[deliverable/binutils-gdb.git] / gas / testsuite / gas / cris / rd-pcrel1.s
1 ; Test that pc-relative expressions give expected results for
2 ; various expressions.
3 .text
4 .syntax no_register_prefix
5 .space 10
6 x:
7 .space 30
8 xx:
9 move.d y-.,r10
10 move.d x-.,r10
11 move.d y-(.+6),r10
12 move.d x-(.+6),r10
13 move.d y-.-6,r10
14 move.d x-.-6,r10
15 move.d [pc+y-(.+12)],r3
16 move.d [pc+x-(.+2)],r3
17 move.d [pc+y-(y00-2)],r3
18 y00:
19 move.d [pc+x-(y01-2)],r3
20 y01:
21 move.d [pc+y-y02+2],r3
22 y02:
23 move.d [pc+x-y03+2],r3
24 y03:
25 .space 50
26 y:
27 nop
28 .space 1000
29 move.d [pc+yy-(.+2)],r3
30 move.d [pc+x-(.+2)],r3
31 move.d [pc+yy-(yy00-2)],r3
32 yy00:
33 move.d [pc+x-(yy01-2)],r3
34 yy01:
35 move.d [pc+yy-yy02+2],r3
36 yy02:
37 move.d [pc+x-yy03+2],r3
38 yy03:
39 .space 1000
40 yy:
41 nop
42 .space 100000
43 move.d [pc+z-(.+2)],r3
44 move.d [pc+x-(.+2)],r3
45 move.d [pc+z-(z00-2)],r3
46 z00:
47 move.d [pc+x-(z01-2)],r3
48 z01:
49 move.d [pc+z-z02+2],r3
50 z02:
51 move.d [pc+x-z03+2],r3
52 z03:
53 .space 100000
54 z:
55 nop
56
This page took 0.035343 seconds and 4 git commands to generate.