summaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips2
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2016-11-16 11:04:49 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2016-11-16 11:04:49 +0000
commitbc5962ad363b8e4d63fb5c53b7530a0e9117870d (patch)
tree85726e3c9dfd945447f52a9ca7740b8455d328d9 /test/MC/Mips/mips2
parenta33f3dffefb4dc931b8591c7d01048f3aa9fe059 (diff)
[mips] not instruction alias
This patch adds the single operand form of the not alias to microMIPS and MIPS along with additional tests. This partially resolves PR/30381. Thanks to Sean Bruno for reporting the issue! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/mips2')
-rw-r--r--test/MC/Mips/mips2/valid.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/Mips/mips2/valid.s b/test/MC/Mips/mips2/valid.s
index 3a5fd1cb28f5..c6d4205a8599 100644
--- a/test/MC/Mips/mips2/valid.s
+++ b/test/MC/Mips/mips2/valid.s
@@ -107,6 +107,8 @@ a:
neg.s $f1,$f15
nop
nor $a3,$zero,$a3
+ not $3, $4 # CHECK: not $3, $4 # encoding: [0x00,0x80,0x18,0x27]
+ not $3 # CHECK: not $3, $3 # encoding: [0x00,0x60,0x18,0x27]
or $12,$s0,$sp
or $2, 4 # CHECK: ori $2, $2, 4 # encoding: [0x34,0x42,0x00,0x04]
round.w.d $f6,$f4