summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips/micromips-16-bit-instructions.s
diff options
context:
space:
mode:
authorZoran Jovanovic <zoran.jovanovic@imgtec.com>2014-10-10 14:02:44 +0000
committerZoran Jovanovic <zoran.jovanovic@imgtec.com>2014-10-10 14:02:44 +0000
commit95e14e711d8aa011b80a01aae59a441659519b0b (patch)
tree958bc6d6d1dabef1c230e19349b97c974931aa4e /llvm/test/MC/Mips/micromips-16-bit-instructions.s
parentc52193f4c70dfe7af55cd4e713761895bd20815d (diff)
downloadbcm5719-llvm-95e14e711d8aa011b80a01aae59a441659519b0b.tar.gz
bcm5719-llvm-95e14e711d8aa011b80a01aae59a441659519b0b.zip
[mips][microMIPS] Implement JR16 instruction
Differential Revision: http://reviews.llvm.org/D5062 llvm-svn: 219498
Diffstat (limited to 'llvm/test/MC/Mips/micromips-16-bit-instructions.s')
-rw-r--r--llvm/test/MC/Mips/micromips-16-bit-instructions.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/micromips-16-bit-instructions.s b/llvm/test/MC/Mips/micromips-16-bit-instructions.s
index c9d22936d32..25582df2dd9 100644
--- a/llvm/test/MC/Mips/micromips-16-bit-instructions.s
+++ b/llvm/test/MC/Mips/micromips-16-bit-instructions.s
@@ -19,6 +19,8 @@
# CHECK-EL: nop # encoding: [0x00,0x00,0x00,0x00]
# CHECK-EL: jalrs16 $9 # encoding: [0xe9,0x45]
# CHECK-EL: move $zero, $zero # encoding: [0x00,0x0c]
+# CHECK-EL: jr16 $9 # encoding: [0x89,0x45]
+# CHECK-EL: nop # encoding: [0x00,0x00,0x00,0x00]
#------------------------------------------------------------------------------
# Big endian
#------------------------------------------------------------------------------
@@ -32,6 +34,8 @@
# CHECK-EB: nop # encoding: [0x00,0x00,0x00,0x00]
# CHECK-EB: jalrs16 $9 # encoding: [0x45,0xe9]
# CHECK-EB: move $zero, $zero # encoding: [0x0c,0x00]
+# CHECK-EB: jr16 $9 # encoding: [0x45,0x89]
+# CHECK-EB: nop # encoding: [0x00,0x00,0x00,0x00]
addius5 $7, -2
mfhi $9
@@ -41,3 +45,4 @@
jalr $9
jraddiusp 20
jalrs16 $9
+ jr16 $9
OpenPOWER on IntegriCloud