From: David Sherwood Date: Mon, 15 Sep 2014 09:57:46 +0000 (+0000) Subject: [AArch64] Fix force_simd macro in vdup_lane_2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89fc051f16b0a20da214e74252732973845d3b7a;p=gcc.git [AArch64] Fix force_simd macro in vdup_lane_2 gcc/ * gcc.target/aarch64/vdup_lane_2.c (force_simd): Emit simd mov. From-SVN: r215260 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1e9aefb54ee..5f3c8db9bb0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-09-14 David Sherwood + + * gcc.target/aarch64/vdup_lane_2.c (force_simd): Emit simd mov. + 2014-09-14 James Clarke PR target/61407 diff --git a/gcc/testsuite/gcc.target/aarch64/vdup_lane_2.c b/gcc/testsuite/gcc.target/aarch64/vdup_lane_2.c index c4183ce1a32..43ff5cc3717 100644 --- a/gcc/testsuite/gcc.target/aarch64/vdup_lane_2.c +++ b/gcc/testsuite/gcc.target/aarch64/vdup_lane_2.c @@ -4,10 +4,10 @@ #include -#define force_simd(V1) asm volatile ("" \ - : "=w"(V1) \ - : "w"(V1) \ - : /* No clobbers */) +#define force_simd(V1) asm volatile ("mov %d0, %1.d[0]" \ + : "=w"(V1) \ + : "w"(V1) \ + : /* No clobbers */) extern void abort (void);