[AArch64] Fix parameters to vcvtx_high
authorJames Greenhalgh <james.greenhalgh@arm.com>
Mon, 16 Sep 2013 09:45:43 +0000 (09:45 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Mon, 16 Sep 2013 09:45:43 +0000 (09:45 +0000)
* config/aarch64/arm_neon.h
(vcvtx_high_f32_f64): Fix parameters.

From-SVN: r202623

gcc/ChangeLog
gcc/config/aarch64/arm_neon.h

index b0d43498a38ba5cb0f474b373f838c3b841fb32b..9f25d92e6fe223d25a683f0c340c951ddb254e44 100644 (file)
@@ -1,3 +1,8 @@
+2013-09-16  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * config/aarch64/arm_neon.h
+       (vcvtx_high_f32_f64): Fix parameters.
+
 2013-09-16  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
 
        * config/alpha.c: Include tree-ssa.h.
index c7e882a3d23fb5914b209cc024cd7699eb9c97d2..23b111679133fa10b19f55e38837da680c13c531 100644 (file)
@@ -5756,12 +5756,12 @@ vcvtx_f32_f64 (float64x2_t a)
 }
 
 __extension__ static __inline float32x4_t __attribute__ ((__always_inline__))
-vcvtx_high_f32_f64 (float64x2_t a)
+vcvtx_high_f32_f64 (float32x2_t a, float64x2_t b)
 {
   float32x4_t result;
   __asm__ ("fcvtxn2 %0.4s,%1.2d"
            : "=w"(result)
-           : "w"(a)
+           : "w" (b), "0"(a)
            : /* No clobbers */);
   return result;
 }