diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-05-12 15:12:45 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-05-12 15:12:45 +0000 |
commit | d76eeb1bceafac52f0e2d031f6d2ed51b4e66fd8 (patch) | |
tree | 88741c4d76ddae8ee4b2df1ddee2372308c7b99e /test/MC/Mips/mips32r6/valid.s | |
parent | 64d3ae0c39a5ab00134d910959e4082da72e7aaa (diff) |
[mips][mips64r6] Added mul/mulu/muh/muhu
Summary: The 'mul' line of the test is temporarily commented out because it currently matches the MIPS32 mul instead of the MIPS32r6 mul. This line will be uncommented when we disable the MIPS32 mul on MIPS32r6.
Reviewers: jkolek, zoran.jovanovic, vmedic
Reviewed By: vmedic
Differential Revision: http://reviews.llvm.org/D3668
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208576 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/mips32r6/valid.s')
-rw-r--r-- | test/MC/Mips/mips32r6/valid.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/Mips/mips32r6/valid.s b/test/MC/Mips/mips32r6/valid.s new file mode 100644 index 00000000000..ad4d322ff3c --- /dev/null +++ b/test/MC/Mips/mips32r6/valid.s @@ -0,0 +1,10 @@ +# Instructions that are valid +# +# RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 | FileCheck %s + + .set noat + # FIXME: Add the instructions carried forward from older ISA's +# mul $2,$3,$4 # CHECK-TODO: mul $2, $3, $4 # encoding: [0x00,0x64,0x10,0x98] + muh $2,$3,$4 # CHECK: muh $2, $3, $4 # encoding: [0x00,0x64,0x10,0xd8] + mulu $2,$3,$4 # CHECK: mulu $2, $3, $4 # encoding: [0x00,0x64,0x10,0x99] + muhu $2,$3,$4 # CHECK: muhu $2, $3, $4 # encoding: [0x00,0x64,0x10,0xd9] |