summaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips64r6
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/mips64r6
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/mips64r6')
-rw-r--r--test/MC/Mips/mips64r6/valid.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/Mips/mips64r6/valid.s b/test/MC/Mips/mips64r6/valid.s
index 90b066b84afc..0ed51f5a546c 100644
--- a/test/MC/Mips/mips64r6/valid.s
+++ b/test/MC/Mips/mips64r6/valid.s
@@ -190,6 +190,8 @@ a:
neg $2, $3 # CHECK: neg $2, $3 # encoding: [0x00,0x03,0x10,0x22]
negu $2 # CHECK: negu $2, $2 # encoding: [0x00,0x02,0x10,0x23]
negu $2,$3 # CHECK: negu $2, $3 # encoding: [0x00,0x03,0x10,0x23]
+ not $3, $4 # CHECK: not $3, $4 # encoding: [0x00,0x80,0x18,0x27]
+ not $3 # CHECK: not $3, $3 # encoding: [0x00,0x60,0x18,0x27]
or $2, 4 # CHECK: ori $2, $2, 4 # encoding: [0x34,0x42,0x00,0x04]
pref 1, 8($5) # CHECK: pref 1, 8($5) # encoding: [0x7c,0xa1,0x04,0x35]
# FIXME: Use the code generator in order to print the .set directives