diff options
author | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-09-12 14:29:54 +0000 |
---|---|---|
committer | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-09-12 14:29:54 +0000 |
commit | c74e3eb9a648b0054e84b25523a843573436ec43 (patch) | |
tree | 8b36551bb7a4df50abf5e38334dd6608fbd694b5 /llvm/test/MC/Mips/micromips-16-bit-instructions.s | |
parent | b73b370809325a10ebffeba8a6e61a38e5c3c68a (diff) | |
download | bcm5719-llvm-c74e3eb9a648b0054e84b25523a843573436ec43.tar.gz bcm5719-llvm-c74e3eb9a648b0054e84b25523a843573436ec43.zip |
[mips][microMIPS] Implement JRADDIUSP instruction
Differential Revision: http://reviews.llvm.org/D5046
llvm-svn: 217681
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 31bddcc58d7..ca01f94a7f9 100644 --- a/llvm/test/MC/Mips/micromips-16-bit-instructions.s +++ b/llvm/test/MC/Mips/micromips-16-bit-instructions.s @@ -13,6 +13,8 @@ # CHECK-EL: mflo $9 # encoding: [0x49,0x46] # CHECK-EL: move $25, $1 # encoding: [0x21,0x0f] # CHECK-EL: jalr $9 # encoding: [0xc9,0x45] +# CHECK-EL: jraddiusp 20 # encoding: [0x05,0x47] +# CHECK-EL: nop # encoding: [0x00,0x00,0x00,0x00] #------------------------------------------------------------------------------ # Big endian #------------------------------------------------------------------------------ @@ -20,8 +22,11 @@ # CHECK-EB: mflo $9 # encoding: [0x46,0x49] # CHECK-EB: move $25, $1 # encoding: [0x0f,0x21] # CHECK-EB: jalr $9 # encoding: [0x45,0xc9] +# CHECK-EB: jraddiusp 20 # encoding: [0x47,0x05] +# CHECK-EB: nop # encoding: [0x00,0x00,0x00,0x00] mfhi $9 mflo $9 move $25, $1 jalr $9 + jraddiusp 20 |