Commit b1e35f49 by Steven Munroe

Had a small thinko in the implementation of mmintrin.h _mm_add_pi32 that only…

Had a small thinko in the implementation of mmintrin.h _mm_add_pi32 that only shows when compiling for power9.

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
parent 1e39313a
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
......@@ -463,8 +463,8 @@ _mm_add_pi32 (__m64 __m1, __m64 __m2)
#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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment