]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000, remove __builtin_vsx_xvnegdp and __builtin_vsx_xvnegsp built-ins
authorCarl Love <cel@linux.ibm.com>
Tue, 9 Jul 2024 17:32:02 +0000 (13:32 -0400)
committerCarl Love <cel@linux.ibm.com>
Tue, 9 Jul 2024 17:35:00 +0000 (13:35 -0400)
The undocumented __builtin_vsx_xvnegdp and __builtin_vsx_xvnegsp are
redundant.  The overloaded vec_neg built-in provides the same
functionality.  The two built-ins are not documented nor are there any
test cases for them.

Remove the definitions so users will use the overloaded vec_neg built-in
which is documented in the PVIPR.

gcc/ChangeLog:
* config/rs6000/rs6000-builtins.def (__builtin_vsx_xvnegdp,
__builtin_vsx_xvnegsp): Remove built-in definitions.

gcc/config/rs6000/rs6000-builtins.def

index 4b1f5522cf5557fcc763cdeb13a00e2c86dc8e9d..f1351cb3505e6e37c406ac11016136bc32333af3 100644 (file)
   const vf __builtin_vsx_xvnabssp (vf);
     XVNABSSP vsx_nabsv4sf2 {}
 
-  const vd __builtin_vsx_xvnegdp (vd);
-    XVNEGDP negv2df2 {}
-
-  const vf __builtin_vsx_xvnegsp (vf);
-    XVNEGSP negv4sf2 {}
-
   const vd __builtin_vsx_xvnmadddp (vd, vd, vd);
     XVNMADDDP nfmav2df4 {}