+2018-02-11 Steven Munroe <munroesj@gcc.gnu.org>
+
+ PR target/84266
+ * config/rs6000/mmintrin.h (_mm_cmpeq_pi32 [_ARCH_PWR9]):
+ Cast vec_cmpeq result to correct type.
+ * config/rs6000/mmintrin.h (_mm_cmpgt_pi32 [_ARCH_PWR9]):
+ Cast vec_cmpgt result to correct type.
+
2018-02-11 Alexandre Oliva <aoliva@redhat.com>
* final.c (final_scan_insn_1): Renamed from...
a = (__vector signed int)vec_splats (__m1);
b = (__vector signed int)vec_splats (__m2);
- c = (__vector signed short)vec_cmpeq (a, b);
+ c = (__vector signed int)vec_cmpeq (a, b);
return (__builtin_unpack_vector_int128 ((__vector __int128_t)c, 0));
#else
__m64_union m1, m2, res;
a = (__vector signed int)vec_splats (__m1);
b = (__vector signed int)vec_splats (__m2);
- c = (__vector signed short)vec_cmpgt (a, b);
+ c = (__vector signed int)vec_cmpgt (a, b);
return (__builtin_unpack_vector_int128 ((__vector __int128_t)c, 0));
#else
__m64_union m1, m2, res;