diff options
| author | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-10-10 14:37:30 +0000 |
|---|---|---|
| committer | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-10-10 14:37:30 +0000 |
| commit | 98bd58ca33b433c5cb3744891e25bbfd1b15d845 (patch) | |
| tree | 1fa1030263ecbb2693454252fb430ad2055984ed /llvm/test/MC/Mips/micromips-16-bit-instructions.s | |
| parent | 341a15a64b555737a2ea0a091bf38f2a2cecb5ac (diff) | |
| download | bcm5719-llvm-98bd58ca33b433c5cb3744891e25bbfd1b15d845.tar.gz bcm5719-llvm-98bd58ca33b433c5cb3744891e25bbfd1b15d845.zip | |
[mips][microMIPS] Implement ADDIUSP instruction
Differential Revision: http://reviews.llvm.org/D5084
llvm-svn: 219500
Diffstat (limited to 'llvm/test/MC/Mips/micromips-16-bit-instructions.s')
| -rw-r--r-- | llvm/test/MC/Mips/micromips-16-bit-instructions.s | 3 |
1 files changed, 3 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 25582df2dd9..964008c7073 100644 --- a/llvm/test/MC/Mips/micromips-16-bit-instructions.s +++ b/llvm/test/MC/Mips/micromips-16-bit-instructions.s @@ -10,6 +10,7 @@ # Little endian #------------------------------------------------------------------------------ # CHECK-EL: addius5 $7, -2 # encoding: [0xfc,0x4c] +# CHECK-EL: addiusp -16 # encoding: [0xf9,0x4f] # CHECK-EL: mfhi $9 # encoding: [0x09,0x46] # CHECK-EL: mflo $9 # encoding: [0x49,0x46] # CHECK-EL: move $25, $1 # encoding: [0x21,0x0f] @@ -25,6 +26,7 @@ # Big endian #------------------------------------------------------------------------------ # CHECK-EB: addius5 $7, -2 # encoding: [0x4c,0xfc] +# CHECK-EB: addiusp -16 # encoding: [0x4f,0xf9] # CHECK-EB: mfhi $9 # encoding: [0x46,0x09] # CHECK-EB: mflo $9 # encoding: [0x46,0x49] # CHECK-EB: move $25, $1 # encoding: [0x0f,0x21] @@ -38,6 +40,7 @@ # CHECK-EB: nop # encoding: [0x00,0x00,0x00,0x00] addius5 $7, -2 + addiusp -16 mfhi $9 mflo $9 move $25, $1 |

