diff options
| author | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-03 20:01:11 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-03 20:01:11 +0000 |
| commit | a279d9bd6adc5af63b751ca99f4e8adc04baf6a4 (patch) | |
| tree | 3ed4322f4200eca20626c65423319172d0644709 /llvm/test/CodeGen/Mips/mips64instrs.ll | |
| parent | cdcc74563cef83a81c55b45c404aa98fdcfb4968 (diff) | |
| download | bcm5719-llvm-a279d9bd6adc5af63b751ca99f4e8adc04baf6a4.tar.gz bcm5719-llvm-a279d9bd6adc5af63b751ca99f4e8adc04baf6a4.zip | |
Add support for 64-bit integer multiply instructions.
llvm-svn: 141017
Diffstat (limited to 'llvm/test/CodeGen/Mips/mips64instrs.ll')
| -rw-r--r-- | llvm/test/CodeGen/Mips/mips64instrs.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Mips/mips64instrs.ll b/llvm/test/CodeGen/Mips/mips64instrs.ll index 67776aae41d..98aff526de2 100644 --- a/llvm/test/CodeGen/Mips/mips64instrs.ll +++ b/llvm/test/CodeGen/Mips/mips64instrs.ll @@ -70,3 +70,16 @@ entry: ret i64 %xor } +define i64 @f12(i64 %a, i64 %b) nounwind readnone { +entry: +; CHECK: mult + %mul = mul nsw i64 %b, %a + ret i64 %mul +} + +define i64 @f13(i64 %a, i64 %b) nounwind readnone { +entry: +; CHECK: mult + %mul = mul i64 %b, %a + ret i64 %mul +} |

