diff options
Diffstat (limited to 'test/MC/Mips/micromips-jump-instructions.s')
-rw-r--r-- | test/MC/Mips/micromips-jump-instructions.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/Mips/micromips-jump-instructions.s b/test/MC/Mips/micromips-jump-instructions.s index a6c7676f8093..76f85abafe79 100644 --- a/test/MC/Mips/micromips-jump-instructions.s +++ b/test/MC/Mips/micromips-jump-instructions.s @@ -19,6 +19,10 @@ # CHECK-EL: nop # encoding: [0x00,0x00,0x00,0x00] # CHECK-EL: jr $7 # encoding: [0x07,0x00,0x3c,0x0f] # CHECK-EL: nop # encoding: [0x00,0x00,0x00,0x00] +# CHECK-EL: jals 1328 # encoding: [0x00,0x74,0x98,0x02] +# CHECK-EL: nop # encoding: [0x00,0x0c] +# CHECK-EL: jalrs $ra, $6 # encoding: [0xe6,0x03,0x3c,0x4f] +# CHECK-EL: nop # encoding: [0x00,0x0c] #------------------------------------------------------------------------------ # Big endian #------------------------------------------------------------------------------ @@ -32,9 +36,15 @@ # CHECK-EB: nop # encoding: [0x00,0x00,0x00,0x00] # CHECK-EB: jr $7 # encoding: [0x00,0x07,0x0f,0x3c] # CHECK-EB: nop # encoding: [0x00,0x00,0x00,0x00] +# CHECK-EB: jals 1328 # encoding: [0x74,0x00,0x02,0x98] +# CHECK-EB: nop # encoding: [0x0c,0x00] +# CHECK-EB: jalrs $ra, $6 # encoding: [0x03,0xe6,0x4f,0x3c] +# CHECK-EB: nop # encoding: [0x0c,0x00] j 1328 jal 1328 jalr $ra, $6 jr $7 j $7 + jals 1328 + jalrs $ra, $6 |