From: Carl Love Date: Wed, 31 Jul 2024 20:40:34 +0000 (-0400) Subject: rs6000, remove built-ins __builtin_vsx_vperm_8hi and __builtin_vsx_vperm_8hi_uns X-Git-Tag: basepoints/gcc-16~2552 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=38e862a6aa1b8ed209100a28f754f53cb10207de;p=thirdparty%2Fgcc.git rs6000, remove built-ins __builtin_vsx_vperm_8hi and __builtin_vsx_vperm_8hi_uns The two built-ins __builtin_vsx_vperm_8hi and __builtin_vsx_vperm_8hi_uns are redundant. The are covered by the overloaded vec_perm built-in. The built-ins are not documented and do not have test cases. The removal of these built-ins was missed in commit gcc r15-1923 on 7/9/2024. This patch removes the redundant built-ins. gcc/ChangeLog: * config/rs6000/rs6000-builtins.def (__builtin_vsx_vperm_8hi, __builtin_vsx_vperm_8hi_uns): Remove built-in definitions. --- diff --git a/gcc/config/rs6000/rs6000-builtins.def b/gcc/config/rs6000/rs6000-builtins.def index 3ca63739d31..6c455b91e14 100644 --- a/gcc/config/rs6000/rs6000-builtins.def +++ b/gcc/config/rs6000/rs6000-builtins.def @@ -1472,12 +1472,6 @@ const vf __builtin_vsx_uns_floato_v2di (vsll); UNS_FLOATO_V2DI unsfloatov2di {} - const vss __builtin_vsx_vperm_8hi (vss, vss, vuc); - VPERM_8HI_X altivec_vperm_v8hi {} - - const vus __builtin_vsx_vperm_8hi_uns (vus, vus, vuc); - VPERM_8HI_UNS_X altivec_vperm_v8hi_uns {} - const vsll __builtin_vsx_vsigned_v2df (vd); VEC_VSIGNED_V2DF vsx_xvcvdpsxds {}