diff options
author | Matheus Almeida <matheus.almeida@imgtec.com> | 2014-06-18 13:55:18 +0000 |
---|---|---|
committer | Matheus Almeida <matheus.almeida@imgtec.com> | 2014-06-18 13:55:18 +0000 |
commit | 20887ffc80ef65deef446f702b903a7f1cab7d69 (patch) | |
tree | e8301ae9f6b908943a28b7027083ddccf06f6795 /test/MC/Mips/mips2 | |
parent | 86f9d299d7a93df88c2c2509c20f0f6191683876 (diff) |
[mips] Update MipsAsmParser so that it's possible to handle immediates that start with the binary operator NOT (~).
Reviewers: dsanders
Reviewed By: dsanders
Differential Revision: http://reviews.llvm.org/D4158
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211163 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/mips2')
-rw-r--r-- | test/MC/Mips/mips2/valid.s | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/MC/Mips/mips2/valid.s b/test/MC/Mips/mips2/valid.s index 109752551de4..d4f48ec8d64d 100644 --- a/test/MC/Mips/mips2/valid.s +++ b/test/MC/Mips/mips2/valid.s @@ -9,6 +9,7 @@ add.d $f1,$f7,$f29 add.s $f8,$f21,$f24 addi $13,$9,26322 + addi $8,$8,~1 # CHECK: addi $8, $8, -2 # encoding: [0x21,0x08,0xff,0xfe] addu $9,$a0,$a2 and $s7,$v0,$12 and $2,4 # CHECK: andi $2, $2, 4 # encoding: [0x30,0x42,0x00,0x04] |