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 | 01f7089bca51744226306e09db4954e3df02b3be (patch) | |
tree | b393bb78e8c07f5454d917c464d7f422e5635598 /test/CodeGen | |
parent | 2df483efb3a3d99dd82eb88e13490ae464bf0e43 (diff) | |
download | external_llvm-01f7089bca51744226306e09db4954e3df02b3be.zip external_llvm-01f7089bca51744226306e09db4954e3df02b3be.tar.gz external_llvm-01f7089bca51744226306e09db4954e3df02b3be.tar.bz2 |
MIPS DSP: Branch on Greater Than or Equal To Value 32 in DSPControl Pos Field instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/Mips/dsp-r1.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/dsp-r1.ll b/test/CodeGen/Mips/dsp-r1.ll index 0b2ac1a..d283872 100644 --- a/test/CodeGen/Mips/dsp-r1.ll +++ b/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 |