Re: [PATCH, rs6000] Use explicit casts for vec_sel argument 3 in intrinsic headers

2018-10-22 Thread Segher Boessenkool
Hi Bill, On Mon, Oct 22, 2018 at 01:29:15PM -0500, Bill Schmidt wrote: > The vec_sel intrinsic is overloaded for multiple types. There are a > couple of cases in our intrinsic compatibility headers where the types > used don't match any allowable type signature. GCC is able to correctly > infer

[PATCH, rs6000] Use explicit casts for vec_sel argument 3 in intrinsic headers

2018-10-22 Thread Bill Schmidt
Hi, The vec_sel intrinsic is overloaded for multiple types. There are a couple of cases in our intrinsic compatibility headers where the types used don't match any allowable type signature. GCC is able to correctly infer which matching built-in function is meant, but not all compilers can. For