diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-10-09 20:20:54 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-10-09 20:20:54 +0000 |
commit | 83815aeb29fbc642cb5f84347d2bccd1faa1d45a (patch) | |
tree | 817d505af4e81be7628355f79fab2ad29856bdc2 /test/CodeGen/ARM/vcgt.ll | |
parent | 91e69c37153eb7d8cd149d9c2484c3115027b90f (diff) | |
download | llvm-83815aeb29fbc642cb5f84347d2bccd1faa1d45a.tar.gz llvm-83815aeb29fbc642cb5f84347d2bccd1faa1d45a.tar.bz2 llvm-83815aeb29fbc642cb5f84347d2bccd1faa1d45a.tar.xz |
Merge a bunch of NEON tests into larger files so they run faster.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/vcgt.ll')
-rw-r--r-- | test/CodeGen/ARM/vcgt.ll | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/vcgt.ll b/test/CodeGen/ARM/vcgt.ll index eae29b2a19..6b11ba5ce6 100644 --- a/test/CodeGen/ARM/vcgt.ll +++ b/test/CodeGen/ARM/vcgt.ll @@ -139,3 +139,24 @@ define <4 x i32> @vcgtQf32(<4 x float>* %A, <4 x float>* %B) nounwind { %tmp4 = sext <4 x i1> %tmp3 to <4 x i32> ret <4 x i32> %tmp4 } + +define <2 x i32> @vacgtf32(<2 x float>* %A, <2 x float>* %B) nounwind { +;CHECK: vacgtf32: +;CHECK: vacgt.f32 + %tmp1 = load <2 x float>* %A + %tmp2 = load <2 x float>* %B + %tmp3 = call <2 x i32> @llvm.arm.neon.vacgtd(<2 x float> %tmp1, <2 x float> %tmp2) + ret <2 x i32> %tmp3 +} + +define <4 x i32> @vacgtQf32(<4 x float>* %A, <4 x float>* %B) nounwind { +;CHECK: vacgtQf32: +;CHECK: vacgt.f32 + %tmp1 = load <4 x float>* %A + %tmp2 = load <4 x float>* %B + %tmp3 = call <4 x i32> @llvm.arm.neon.vacgtq(<4 x float> %tmp1, <4 x float> %tmp2) + ret <4 x i32> %tmp3 +} + +declare <2 x i32> @llvm.arm.neon.vacgtd(<2 x float>, <2 x float>) nounwind readnone +declare <4 x i32> @llvm.arm.neon.vacgtq(<4 x float>, <4 x float>) nounwind readnone |