MIPS/GAS: Split Loongson MMI Instructions from loongson2f/3a
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / pcrel-reloc-4.s
CommitLineData
41947d9e
MR
1 .text
2
3 .ifdef reverse
4 .ent baz
5baz:
6 jalr $0, $ra
7 .end baz
8
9# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
10 .align 16, 0
11 .space 16
12
13 .ent bar
14bar:
15 jalr $0, $ra
16 .end bar
17
18# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
19 .align 4, 0
20 .space 16
21 .endif
22
23 .align 4, 0
24 .globl foo
25 .ent foo
26 .set noreorder
27foo:
28 b bar
29 b bar
30 b bar
31 b bar
32 .set mips64r6
33 bc bar
34 bc bar
35 bc bar
36 bc bar
37 beqzc $2, bar
38 beqzc $2, bar
39 beqzc $2, bar
40 beqzc $2, bar
41 lwpc $2, bar
42 lwpc $2, bar
43 lwpc $2, bar
44 lwpc $2, bar
45 ldpc $2, bar
46 ldpc $2, bar
47 ldpc $2, bar
48 ldpc $2, bar
49 auipc $2, %pcrel_hi(baz)
50 addiu $2, %pcrel_lo(baz + 4)
51 auipc $2, %pcrel_hi(baz)
52 addiu $2, %pcrel_lo(baz + 4)
53 auipc $2, %pcrel_hi(baz)
54 addiu $2, %pcrel_lo(baz + 4)
55 auipc $2, %pcrel_hi(baz)
56 addiu $2, %pcrel_lo(baz + 4)
57 .set mips0
58 .set reorder
59 .end foo
60
61# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
62 .align 4, 0
63 .space 16
64
65 .ifndef reverse
66 .ent bar
67bar:
68 jalr $0, $ra
69 .end bar
70
71# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
72 .align 16, 0
73 .space 16
74
75 .ent baz
76baz:
77 jalr $0, $ra
78 .end baz
79
80# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
81 .align 4, 0
82 .space 16
83 .endif
This page took 0.129595 seconds and 4 git commands to generate.