diff options
author | David Sherwood <david.sherwood@arm.com> | 2014-09-15 09:57:46 +0000 |
---|---|---|
committer | James Greenhalgh <jgreenhalgh@gcc.gnu.org> | 2014-09-15 09:57:46 +0000 |
commit | 89fc051f16b0a20da214e74252732973845d3b7a (patch) | |
tree | 2f1e68c68d537b5cedaa223cc76c5b797357114f | |
parent | 6a92920539a181d9c5095a36f67c64f74d0690bb (diff) | |
download | gcc-89fc051f16b0a20da214e74252732973845d3b7a.zip gcc-89fc051f16b0a20da214e74252732973845d3b7a.tar.gz gcc-89fc051f16b0a20da214e74252732973845d3b7a.tar.bz2 |
[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
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/vdup_lane_2.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1e9aefb..5f3c8db 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-09-14 David Sherwood <david.sherwood@arm.com> + + * gcc.target/aarch64/vdup_lane_2.c (force_simd): Emit simd mov. + 2014-09-14 James Clarke <jrtc27@jrtc27.com> 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 c4183ce..43ff5cc 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 <arm_neon.h> -#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); |