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/mips64r6 | |
| 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/mips64r6')
| -rw-r--r-- | llvm/test/MC/Mips/mips64r6/valid.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/mips64r6/valid.s b/llvm/test/MC/Mips/mips64r6/valid.s index 90b066b84af..0ed51f5a546 100644 --- a/llvm/test/MC/Mips/mips64r6/valid.s +++ b/llvm/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 |

