MIPS/GAS: Split Loongson MMI Instructions from loongson2f/3a
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / mips16-reloc-error.s
1 .text
2
3 .set bar, 8
4
5 .ent foo
6 .set mips16
7 foo:
8 li $2, %hi(bar)
9 sll $2, $2, 16
10
11 addiu $3, $2, %lo(bar)
12 daddiu $3, $2, %lo(bar)
13
14 slti $3, %lo(bar)
15 sltiu $3, %lo(bar)
16
17 sll $3, $2, %lo(bar)
18 sra $3, $2, %lo(bar)
19 srl $3, $2, %lo(bar)
20 dsll $3, $2, %lo(bar)
21 dsra $3, %lo(bar)
22 dsrl $3, %lo(bar)
23
24 break %lo(bar)
25 sdbbp %lo(bar)
26
27 b %lo(bar)
28 beqz $3, %lo(bar)
29 bnez $3, %lo(bar)
30 bteqz %lo(bar)
31 btnez %lo(bar)
32
33 jal %lo(bar)
34 jalx %lo(bar)
35
36 save $31, $16, %lo(bar)
37 restore $31, $16, %lo(bar)
38
39 asmacro 0, 0, 0, 0, 0, %lo(bar)
40 asmacro 0, 0, 0, 0, %lo(bar), 0
41 asmacro 0, 0, 0, %lo(bar), 0, 0
42 asmacro 0, 0, %lo(bar), 0, 0, 0
43 asmacro 0, %lo(bar), 0, 0, 0, 0
44 asmacro %lo(bar), 0, 0, 0, 0, 0
45
46 nop
47 .set nomips16
48 .end foo
49
50 # Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
51 .align 4, 0
52 .space 16
This page took 0.04548 seconds and 4 git commands to generate.