diff options
author | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2013-09-06 13:08:00 +0000 |
---|---|---|
committer | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2013-09-06 13:08:00 +0000 |
commit | 638382e6f169649eb86fa47a6ea25dd932f07689 (patch) | |
tree | 07526bd2d49ea0ecd7b91d5a3398d478280da78c /test/MC/Disassembler/Mips | |
parent | 3aaa3e31aa35164fa54474bcf3a2c2df5ab8b375 (diff) | |
download | external_llvm-638382e6f169649eb86fa47a6ea25dd932f07689.zip external_llvm-638382e6f169649eb86fa47a6ea25dd932f07689.tar.gz external_llvm-638382e6f169649eb86fa47a6ea25dd932f07689.tar.bz2 |
This patch adds support for microMIPS Multiply and Add/Sub instructions. Test cases are included in patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190154 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler/Mips')
-rw-r--r-- | test/MC/Disassembler/Mips/micromips.txt | 12 | ||||
-rw-r--r-- | test/MC/Disassembler/Mips/micromips_le.txt | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/test/MC/Disassembler/Mips/micromips.txt b/test/MC/Disassembler/Mips/micromips.txt index 6979c79..6f70d97 100644 --- a/test/MC/Disassembler/Mips/micromips.txt +++ b/test/MC/Disassembler/Mips/micromips.txt @@ -171,3 +171,15 @@ # CHECK: mflo $6 0x00 0x06 0x1d 0x7c + +# CHECK: madd $4, $5 +0x00 0xa4 0xcb 0x3c + +# CHECK: maddu $4, $5 +0x00 0xa4 0xdb 0x3c + +# CHECK: msub $4, $5 +0x00 0xa4 0xeb 0x3c + +# CHECK: msubu $4, $5 +0x00 0xa4 0xfb 0x3c diff --git a/test/MC/Disassembler/Mips/micromips_le.txt b/test/MC/Disassembler/Mips/micromips_le.txt index 8c32af6..9630c17 100644 --- a/test/MC/Disassembler/Mips/micromips_le.txt +++ b/test/MC/Disassembler/Mips/micromips_le.txt @@ -171,3 +171,15 @@ # CHECK: mflo $6 0x06 0x00 0x7c 0x1d + +# CHECK: madd $4, $5 +0xa4 0x00 0x3c 0xcb + +# CHECK: maddu $4, $5 +0xa4 0x00 0x3c 0xdb + +# CHECK: msub $4, $5 +0xa4 0x00 0x3c 0xeb + +# CHECK: msubu $4, $5 +0xa4 0x00 0x3c 0xfb |