diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-09-27 02:15:57 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-09-27 02:15:57 +0000 |
commit | e4bd054f982d95c08714c6d24bffeaf7a3be9c29 (patch) | |
tree | 02147c0ffe949624220f048c00fa1679c8253631 /llvm/test | |
parent | 9061a46443c6c2d67e91cfaf32a93940fb7808cb (diff) | |
download | bcm5719-llvm-e4bd054f982d95c08714c6d24bffeaf7a3be9c29.tar.gz bcm5719-llvm-e4bd054f982d95c08714c6d24bffeaf7a3be9c29.zip |
MIPS DSP: Branch on Greater Than or Equal To Value 32 in DSPControl Pos Field instruction.
llvm-svn: 164751
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/CodeGen/Mips/dsp-r1.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Mips/dsp-r1.ll b/llvm/test/CodeGen/Mips/dsp-r1.ll index 0b2ac1a7ad2..d2838724276 100644 --- a/llvm/test/CodeGen/Mips/dsp-r1.ll +++ b/llvm/test/CodeGen/Mips/dsp-r1.ll @@ -288,6 +288,16 @@ entry: declare i64 @llvm.mips.mthlip(i64, i32) nounwind +define i32 @test__builtin_mips_bposge321(i32 %i0) nounwind readonly { +entry: +; CHECK: bposge32 + + %0 = tail call i32 @llvm.mips.bposge32() + ret i32 %0 +} + +declare i32 @llvm.mips.bposge32() nounwind readonly + define i64 @test__builtin_mips_madd1(i32 %i0, i32, i64 %a0, i32 %a1, i32 %a2) nounwind readnone { entry: ; CHECK: madd |