Re: [PATCH, rs6000] Clean up implementation of built-in functions

2018-06-05 Thread Segher Boessenkool
Hi Kelvin, On Fri, Jun 01, 2018 at 01:22:09PM -0500, Kelvin Nilsen wrote: > 2018-06-01 Kelvin Nilsen > > * config/rs6000/rs6000-builtin.def (VSX_BUILTIN_VEC_LD, > VSX_BUILTIN_VEC_ST): Add comment to explain non-traditional uses. > * config/rs6000/rs6000-c.c (altivec_overloade

[PATCH, rs6000] Clean up implementation of built-in functions

2018-06-01 Thread Kelvin Nilsen
This patch improves maintainability of the rs6000 built-in functions by adding a comment to describe the non-traditional implementation of the __builtin_vec_vsx_ld and __builtin_vec_vsx_st functions, and by removing eight redundant entries from the altivec_overloaded_builtins array. Note, in th