[PATCH] AArch32 v8 NEON intrinsics for numeric max/min and directed rounding to integral
James Molloy
james at jamesmolloy.co.uk
Fri Sep 5 05:35:17 PDT 2014
Hi Graham,
Thanks for working on this. The implementation looks fine to me, but in
your testcase:
+float32x2_t test_vrndx_f32(float32x2_t a) {
+ // CHECK-LABEL: test_vrndx_f32
+ // CHECK-LABEL: call <2 x float> @llvm.arm.neon.vrintx.v2f32(<2 x float>
%a)
+ return vrndx_f32(a);
+}
Only the first should be a CHECK-LABEL. The other should be a CHECK.
CHECK-LABELs are only hints to FileCheck, used to help isolate individual
testcases and prevent accidental crosstalk (matching one CHECK: line in
another function accidentally).
With those changed, LGTM.
Do you need help committing?
Cheers,
James
On 5 September 2014 12:12, Graham Hunter <Graham.Hunter at arm.com> wrote:
> Hi,
>
> This patch adds support for the 32bit numeric max/min and directed
> round-to-integral NEON intrinsics that were added as part of v8, along
> with unit tests.
>
> -Graham
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140905/73e61c71/attachment.html>
More information about the cfe-commits
mailing list