summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips/mips4
diff options
context:
space:
mode:
authorMatheus Almeida <matheus.almeida@imgtec.com>2014-06-18 13:55:18 +0000
committerMatheus Almeida <matheus.almeida@imgtec.com>2014-06-18 13:55:18 +0000
commitee73cc58946914717dddc5b5b8bf4957b23284d9 (patch)
tree0d962faf4d287593b2f3f8e19b36b477d0aae19c /llvm/test/MC/Mips/mips4
parent2c27df9a33117c7d6ceee3e630663ea5e8374126 (diff)
downloadbcm5719-llvm-ee73cc58946914717dddc5b5b8bf4957b23284d9.tar.gz
bcm5719-llvm-ee73cc58946914717dddc5b5b8bf4957b23284d9.zip
[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 llvm-svn: 211163
Diffstat (limited to 'llvm/test/MC/Mips/mips4')
-rw-r--r--llvm/test/MC/Mips/mips4/valid.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/mips4/valid.s b/llvm/test/MC/Mips/mips4/valid.s
index 23f2fec5b25..2086a12602a 100644
--- a/llvm/test/MC/Mips/mips4/valid.s
+++ b/llvm/test/MC/Mips/mips4/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]
OpenPOWER on IntegriCloud