Re: [PATCH, rs6000] xmmintrin.h needs to use __vector __bool everywhere

2018-03-27 Thread Segher Boessenkool
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++ >

[PATCH, rs6000] xmmintrin.h needs to use __vector __bool everywhere

2018-03-27 Thread Bill Schmidt
Hi, 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