summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-12-21 23:13:59 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-12-21 23:13:59 +0000
commit189225369446136f82e080dbdcab3a0fa63c71ac (patch)
tree945dd562299aba98065ab5d386472db8e4de2c60 /test
parent6a8309e62afd88fbea4f1c39121de6dc4dc0d899 (diff)
downloadllvm-189225369446136f82e080dbdcab3a0fa63c71ac.tar.gz
llvm-189225369446136f82e080dbdcab3a0fa63c71ac.tar.bz2
llvm-189225369446136f82e080dbdcab3a0fa63c71ac.tar.xz
[mips] Fix encoding of BAL instruction. Also, fix assembler test case which
was not catching the error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/Mips/mips-jump-instructions.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/MC/Mips/mips-jump-instructions.s b/test/MC/Mips/mips-jump-instructions.s
index 998be418d2..58250f306e 100644
--- a/test/MC/Mips/mips-jump-instructions.s
+++ b/test/MC/Mips/mips-jump-instructions.s
@@ -23,7 +23,7 @@
# CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
# CHECK: bne $9, $6, 1332 # encoding: [0x34,0x05,0x26,0x15]
# CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
-# CHECK: bal 1332 # encoding: [0x34,0x05,0x00,0x04]
+# CHECK: bal 1332 # encoding: [0x34,0x05,0x11,0x04]
# CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
b 1332
nop