summaryrefslogtreecommitdiffstats
path: root/gas/testsuite/gas/mips/jal-mask-2.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mips/jal-mask-2.s')
-rw-r--r--gas/testsuite/gas/mips/jal-mask-2.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mips/jal-mask-2.s b/gas/testsuite/gas/mips/jal-mask-2.s
new file mode 100644
index 0000000000..9be8b14d1b
--- /dev/null
+++ b/gas/testsuite/gas/mips/jal-mask-2.s
@@ -0,0 +1,17 @@
+ .text
+foo:
+ j 0x0000000
+ j 0xaaaaaa2
+ j 0x5555554
+ j 0xffffff6
+ jal 0x0000008
+ jal 0xaaaaaaa
+ jal 0x555555c
+ jal 0xffffffe
+ jals 0x0000002
+ jals 0xaaaaaa6
+ jals 0x555555a
+ jals 0xffffffe
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8
OpenPOWER on IntegriCloud