Hi Carl, 在 2024/10/1 23:27, Carl Love 写道: > > > GCC maintainers: > > Version 2: Fixed the wording in the changelog per the feedback. With this > change the patch was approved by Kewen. > > The patch removed the built-in __builtin_vsx_xvcvuxwdp as it is covered by > the overloaded vec_doubleo built-in. > > The patch has been tested on Power 10 LE and BE with no regressions. > > Please let me know if it is acceptable for mainline. Thanks. > > Carl > > > ---------------------------------------------------------------------------------------- > rs6000, Remove redundant built-in __builtin_vsx_xvcvuxwdp > > The built-in __builtin_vsx_xvcvuxwdp can be covered with PVIPR > function vec_doubleo on LE and vec_doublee on BE. There are no test > cases or documentation for __builtin_vsx_xvcvuxwdp. This patch > removes the redundant built-in.
OK for trunk, thanks! BR, Kewen > > gcc/ChangeLog: > * config/rs6000/rs6000-builtins.def (__builtin_vsx_xvcvuxwdp): > Remove built-in definition. > --- > gcc/config/rs6000/rs6000-builtins.def | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/gcc/config/rs6000/rs6000-builtins.def > b/gcc/config/rs6000/rs6000-builtins.def > index adb4fe761f3..7350b913d03 100644 > --- a/gcc/config/rs6000/rs6000-builtins.def > +++ b/gcc/config/rs6000/rs6000-builtins.def > @@ -1616,9 +1616,6 @@ > const vf __builtin_vsx_xvcvuxdsp (vull); > XVCVUXDSP vsx_xvcvuxdsp {} > > - const vd __builtin_vsx_xvcvuxwdp (vsi); > - XVCVUXWDP vsx_xvcvuxwdp {} > - > const vf __builtin_vsx_xvcvuxwsp (vsi); > XVCVUXWSP vsx_floatunsv4siv4sf2 {} >