summaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/dsp-r1.ll
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-09-27 02:15:57 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-09-27 02:15:57 +0000
commit01f7089bca51744226306e09db4954e3df02b3be (patch)
treeb393bb78e8c07f5454d917c464d7f422e5635598 /test/CodeGen/Mips/dsp-r1.ll
parent2df483efb3a3d99dd82eb88e13490ae464bf0e43 (diff)
downloadllvm-01f7089bca51744226306e09db4954e3df02b3be.tar.gz
llvm-01f7089bca51744226306e09db4954e3df02b3be.tar.bz2
llvm-01f7089bca51744226306e09db4954e3df02b3be.tar.xz
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/Mips/dsp-r1.ll')
-rw-r--r--test/CodeGen/Mips/dsp-r1.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/dsp-r1.ll b/test/CodeGen/Mips/dsp-r1.ll
index 0b2ac1a7ad..d283872427 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