diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2016-11-16 11:04:49 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2016-11-16 11:04:49 +0000 |
commit | 7b7cb8d9ddc095c5f1fc9159bd487b3754c03ec5 (patch) | |
tree | fc851504e8fc52a541d1509fffc1188a45d8df5e /llvm/test/MC/Mips/mips4 | |
parent | 8cb1cd9b7bb96e311e75b5427113f920ec0b6289 (diff) | |
download | bcm5719-llvm-7b7cb8d9ddc095c5f1fc9159bd487b3754c03ec5.tar.gz bcm5719-llvm-7b7cb8d9ddc095c5f1fc9159bd487b3754c03ec5.zip |
[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!
llvm-svn: 287097
Diffstat (limited to 'llvm/test/MC/Mips/mips4')
-rw-r--r-- | llvm/test/MC/Mips/mips4/valid.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/mips4/valid.s b/llvm/test/MC/Mips/mips4/valid.s index c8fb99bd9de..62cd3905d4e 100644 --- a/llvm/test/MC/Mips/mips4/valid.s +++ b/llvm/test/MC/Mips/mips4/valid.s @@ -193,6 +193,8 @@ a: nmsub.s $f0, $f24, $f20, $f4 # encoding: [0x4f,0x04,0xa0,0x38] 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] pref 1, 8($5) # CHECK: pref 1, 8($5) # encoding: [0xcc,0xa1,0x00,0x08] |