[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
This commit is contained in:
David Sherwood 2014-09-15 09:57:46 +00:00 committed by James Greenhalgh
parent 6a92920539
commit 89fc051f16
2 changed files with 8 additions and 4 deletions

View File

@ -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> 2014-09-14 James Clarke <jrtc27@jrtc27.com>
PR target/61407 PR target/61407

View File

@ -4,10 +4,10 @@
#include <arm_neon.h> #include <arm_neon.h>
#define force_simd(V1) asm volatile ("" \ #define force_simd(V1) asm volatile ("mov %d0, %1.d[0]" \
: "=w"(V1) \ : "=w"(V1) \
: "w"(V1) \ : "w"(V1) \
: /* No clobbers */) : /* No clobbers */)
extern void abort (void); extern void abort (void);