diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2013-08-20 20:46:51 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-08-20 20:46:51 +0000 |
commit | 93877b3cbcefc0f281b744b135d609d35c3f119c (patch) | |
tree | c32ddfa828efe688c954ad3ea8c886d38bdddf31 /test | |
parent | 8b262e5ab8cbeb8f6f61d92b20d886675966fe34 (diff) | |
download | external_llvm-93877b3cbcefc0f281b744b135d609d35c3f119c.zip external_llvm-93877b3cbcefc0f281b744b135d609d35c3f119c.tar.gz external_llvm-93877b3cbcefc0f281b744b135d609d35c3f119c.tar.bz2 |
[mips] Guard micromips instructions with predicate InMicroMips. Also, fix
assembler predicate HasStdEnd so that it is false when the target is micromips.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/Mips/micromips-alu-instructions.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/MC/Mips/micromips-alu-instructions.s b/test/MC/Mips/micromips-alu-instructions.s index 3f6079c..426ab8b 100644 --- a/test/MC/Mips/micromips-alu-instructions.s +++ b/test/MC/Mips/micromips-alu-instructions.s @@ -32,7 +32,7 @@ # CHECK-EL: xori $9, $6, 17767 # encoding: [0x26,0x71,0x67,0x45] # CHECK-EL: xori $9, $6, 17767 # encoding: [0x26,0x71,0x67,0x45] # CHECK-EL: nor $9, $6, $7 # encoding: [0xe6,0x00,0xd0,0x4a] -# CHECK-EL: not $7, $8 # encoding: [0x08,0x00,0xd0,0x3a] +# CHECK-EL: nor $7, $8, $zero # encoding: [0x08,0x00,0xd0,0x3a] # CHECK-EL: mul $9, $6, $7 # encoding: [0xe6,0x00,0x10,0x4a] # CHECK-EL: mult $9, $7 # encoding: [0xe9,0x00,0x3c,0x8b] # CHECK-EL: multu $9, $7 # encoding: [0xe9,0x00,0x3c,0x9b] @@ -64,7 +64,7 @@ # CHECK-EB: xori $9, $6, 17767 # encoding: [0x71,0x26,0x45,0x67] # CHECK-EB: xori $9, $6, 17767 # encoding: [0x71,0x26,0x45,0x67] # CHECK-EB: nor $9, $6, $7 # encoding: [0x00,0xe6,0x4a,0xd0] -# CHECK-EB: not $7, $8 # encoding: [0x00,0x08,0x3a,0xd0] +# CHECK-EB: nor $7, $8, $zero # encoding: [0x00,0x08,0x3a,0xd0] # CHECK-EB: mul $9, $6, $7 # encoding: [0x00,0xe6,0x4a,0x10] # CHECK-EB: mult $9, $7 # encoding: [0x00,0xe9,0x8b,0x3c] # CHECK-EB: multu $9, $7 # encoding: [0x00,0xe9,0x9b,0x3c] |