diff options
author | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-10-10 14:02:44 +0000 |
---|---|---|
committer | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-10-10 14:02:44 +0000 |
commit | 95e14e711d8aa011b80a01aae59a441659519b0b (patch) | |
tree | 958bc6d6d1dabef1c230e19349b97c974931aa4e /llvm/test/MC/Mips/micromips-16-bit-instructions.s | |
parent | c52193f4c70dfe7af55cd4e713761895bd20815d (diff) | |
download | bcm5719-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.s | 5 |
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 |