]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000, remove built-ins __builtin_vsx_vperm_8hi and __builtin_vsx_vperm_8hi_uns
authorCarl Love <cel@linux.ibm.com>
Wed, 31 Jul 2024 20:40:34 +0000 (16:40 -0400)
committerCarl Love <cel@linux.ibm.com>
Fri, 17 Jan 2025 15:57:45 +0000 (09:57 -0600)
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.

gcc/config/rs6000/rs6000-builtins.def

index 3ca63739d3173a486bb6bc0e5b4cb3ff711e93ed..6c455b91e147f4c8b101ac9b6b7d255013491947 100644 (file)
   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 {}