diff options
| author | Jozef Kolek <jozef.kolek@imgtec.com> | 2015-01-12 12:03:34 +0000 |
|---|---|---|
| committer | Jozef Kolek <jozef.kolek@imgtec.com> | 2015-01-12 12:03:34 +0000 |
| commit | 9761e96b011f0ef7ca380a25c96d3c04fed84b2d (patch) | |
| tree | 50213d30dbb27612f4d03aae6cc0dddaadad6119 /llvm/test/MC/Mips/micromips-16-bit-instructions.s | |
| parent | b70f83eb10c498850b8d099e68b4e3fc13501b17 (diff) | |
| download | bcm5719-llvm-9761e96b011f0ef7ca380a25c96d3c04fed84b2d.tar.gz bcm5719-llvm-9761e96b011f0ef7ca380a25c96d3c04fed84b2d.zip | |
[mips][microMIPS] Implement BEQZ16 and BNEZ16 instructions
Differential Revision: http://reviews.llvm.org/D5271
llvm-svn: 225627
Diffstat (limited to 'llvm/test/MC/Mips/micromips-16-bit-instructions.s')
| -rw-r--r-- | llvm/test/MC/Mips/micromips-16-bit-instructions.s | 10 |
1 files changed, 10 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 7a9e84baa3d..8fd6d450ac9 100644 --- a/llvm/test/MC/Mips/micromips-16-bit-instructions.s +++ b/llvm/test/MC/Mips/micromips-16-bit-instructions.s @@ -49,6 +49,10 @@ # CHECK-EL: nop # encoding: [0x00,0x0c] # CHECK-EL: jr16 $9 # encoding: [0x89,0x45] # CHECK-EL: nop # encoding: [0x00,0x00,0x00,0x00] +# CHECK-EL: beqz16 $6, 20 # encoding: [0x0a,0x8f] +# CHECK-EL: nop # encoding: [0x00,0x00,0x00,0x00] +# CHECK-EL: bnez16 $6, 20 # encoding: [0x0a,0xaf] +# CHECK-EL: nop # encoding: [0x00,0x00,0x00,0x00] # CHECK-EL: break16 8 # encoding: [0x88,0x46] # CHECK-EL: sdbbp16 14 # encoding: [0xce,0x46] #------------------------------------------------------------------------------ @@ -94,6 +98,10 @@ # CHECK-EB: nop # encoding: [0x0c,0x00] # CHECK-EB: jr16 $9 # encoding: [0x45,0x89] # CHECK-EB: nop # encoding: [0x00,0x00,0x00,0x00] +# CHECK-EB: beqz16 $6, 20 # encoding: [0x8f,0x0a] +# CHECK-EB: nop # encoding: [0x00,0x00,0x00,0x00] +# CHECK-EB: bnez16 $6, 20 # encoding: [0xaf,0x0a] +# CHECK-EB: nop # encoding: [0x00,0x00,0x00,0x00] # CHECK-EB: break16 8 # encoding: [0x46,0x88] # CHECK-EB: sdbbp16 14 # encoding: [0x46,0xce] @@ -135,5 +143,7 @@ jraddiusp 20 jalrs16 $9 jr16 $9 + beqz16 $6, 20 + bnez16 $6, 20 break16 8 sdbbp16 14 |

