Had a small thinko in the implementation of mmintrin.h _mm_add_pi32 that only shows
when compiling for power9. A trivial and obvious 2 line patch to fix it.
From-SVN: r254848
+2017-11-16 Steven Munroe <munroesj@gcc.gnu.org>
+
+ * config/rs6000/mmintrin.h (_mm_add_pi32[_ARCH_PWR]): Correct
+ parameter list for vec_splats.
+
2017-11-16 Joseph Myers <joseph@codesourcery.com>
* doc/invoke.texi (-std=c17): Refer to 2018 expected publication
#if _ARCH_PWR9
__vector signed int a, b, c;
- a = (__vector signed int)vec_splats (__m1, __m1);
- b = (__vector signed int)vec_splats (__m2, __m2);
+ a = (__vector signed int)vec_splats (__m1);
+ b = (__vector signed int)vec_splats (__m2);
c = vec_add (a, b);
return (__builtin_unpack_vector_int128 ((__vector __int128_t)c, 0));
#else