summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorJozef Kolek <jozef.kolek@imgtec.com>2014-11-27 18:18:42 +0000
committerJozef Kolek <jozef.kolek@imgtec.com>2014-11-27 18:18:42 +0000
commit56a6a7d3bde9c4e38eb3f50a15f2ebc598dc03bc (patch)
treea9abe52aa4459f17a4c83b5f49fbf01dcd8dc0c4 /llvm/test
parentb4484d62ade413d59024b7b8d192d4b68b55ca03 (diff)
downloadbcm5719-llvm-56a6a7d3bde9c4e38eb3f50a15f2ebc598dc03bc.tar.gz
bcm5719-llvm-56a6a7d3bde9c4e38eb3f50a15f2ebc598dc03bc.zip
[mips][microMIPS] Implement BREAK16 and SDBBP16 instructions
Patch by Radovan Obradovic. Differential Revision: http://reviews.llvm.org/D5048 llvm-svn: 222900
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/Mips/micromips-16-bit-instructions.s6
1 files changed, 6 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 2dfec7938d4..8529350c642 100644
--- a/llvm/test/MC/Mips/micromips-16-bit-instructions.s
+++ b/llvm/test/MC/Mips/micromips-16-bit-instructions.s
@@ -43,6 +43,8 @@
# CHECK-EL: move $zero, $zero # encoding: [0x00,0x0c]
# CHECK-EL: jr16 $9 # encoding: [0x89,0x45]
# CHECK-EL: nop # encoding: [0x00,0x00,0x00,0x00]
+# CHECK-EL: break16 8 # encoding: [0x88,0x46]
+# CHECK-EL: sdbbp16 14 # encoding: [0xce,0x46]
#------------------------------------------------------------------------------
# Big endian
#------------------------------------------------------------------------------
@@ -80,6 +82,8 @@
# CHECK-EB: move $zero, $zero # encoding: [0x0c,0x00]
# CHECK-EB: jr16 $9 # encoding: [0x45,0x89]
# CHECK-EB: nop # encoding: [0x00,0x00,0x00,0x00]
+# CHECK-EB: break16 8 # encoding: [0x46,0x88]
+# CHECK-EB: sdbbp16 14 # encoding: [0x46,0xce]
addu16 $6, $17, $4
subu16 $5, $16, $3
@@ -113,3 +117,5 @@
jraddiusp 20
jalrs16 $9
jr16 $9
+ break16 8
+ sdbbp16 14
OpenPOWER on IntegriCloud