[PATCH] rs6000: Fix typo in mmintrin.h
Segher Boessenkool
segher@kernel.crashing.org
Fri Mar 22 02:17:00 GMT 2019
On Thu, Mar 21, 2019 at 04:15:09PM -0500, Bill Schmidt wrote:
> It was recently pointed out that there's a pasto in mmintrin.h for the
> _mm_sub_pi32 function, so that it performs an addition rather than a
> subtraction. This won't do.
>
> This patch corrects the problem, and adds a test case to verify it.
> Installed and tested on powerpc64le-unknown-linux-gnu with no regressions.
> Is this ok for trunk, and backport to GCC 8?
Yes, okay for all. Thanks!
Segher
> 2019-03-21 Bill Schmidt <wschmidt@linux.ibm.com>
>
> * config/rs6000/mmintrin.h (_mm_sub_pi32): Fix typo.
>
> [gcc/testsuite]
>
> 2019-03-21 Bill Schmidt <wschmidt@linux.ibm.com>
>
> * gcc.target/powerpc/mmx-psubd-2.c: Test _m_psubd.
More information about the Gcc-patches
mailing list