Hi Bill,

On Tue, Mar 27, 2018 at 04:10:00PM -0500, Bill Schmidt wrote:
> The xmmintrin.h compatibility header embeds altivec.h to use the Power
> vector intrinsics.  However, it needs to be careful not to use the "bool"
> keyword with vectors so the headers don't cause potential problems in C++ 
> and C11 code when using strict-ANSI.  I noticed a few cases where this was
> happening.  They haven't caused trouble yet, but it's just a matter of time.
> This patch cleans those up.
> 
> Bootstrapped and tested on powerpc64le-unknown-linux-gnu.  Is this okay
> for trunk?

Yes please.  Thanks!


Segher


> 2018-03-27  Bill Schmidt  <wschm...@linux.vnet.ibm.com>
> 
>       * config/rs6000/xmmintrin.h (_mm_max_pi16): Use __vector __bool
>       instead of __vector bool.
>       (_mm_max_pu8): Likewise.
>       (_mm_min_pi16): Likewise.

Reply via email to