[PATCH][AArch64]Implemented vcopy_lane patterns using scalar dup
Jiangning Liu
liujiangning1 at gmail.com
Wed Nov 27 18:51:32 PST 2013
@@ -1,6 +1,3 @@
-//===-- AArch64InstrNEON.td - NEON support for AArch64 -----*- tablegen
-*-===//
-//
-// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
We should not remove this file head, should we?
+// CHECK_AARCH64: test_vcopy_laneq_f64
+float64x1_t test_vcopy_laneq_f64(float64x1_t a, float64x1_t c) {
+ return vcopy_laneq_f64(a, 0, c, 0);
+// CHECK: fmov {{d[0-9]+}}, {{d[0-9]+}}
+// CHECK-NOT: dup {{d[0-9]+}}, {{v[0-9]+}}.d[0]
+}
vcopy_laneq_f64 should have prototype as below.
float64x1_t vcopy_laneq_f64(float64x1_t a, const int lane1,
float64x2_t b, const int lane2)
And sorry, one more is missing in the list I previously gave you,
float64x2_t vcopyq_laneq_f64(float64x2_t a, const int lane1,
float64x2_t b, const int lane2)
All others LGTM!
Thanks,
-Jiangning
2013/11/28 Ana Pazos <apazos at codeaurora.org>
> Hi Jiangning and reviewers,
>
>
>
> Here is the patch with the vcopy_lane* intrinsics that use scalar dup
> instructions.
>
>
>
> Send me your review/ok sign, and I will commit them.
>
>
>
> Thanks,
>
> Ana.
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
--
Thanks,
-Jiangning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131128/f57985a1/attachment.html>
More information about the cfe-commits
mailing list