This was patch 9 in the previous series. It was previously approved.
Reposting for completeness.
Carl
-----------------------------------------------------
rs6000, remove __builtin_vsx_xvnegdp and __builtin_vsx_xvnegsp built-ins
The undocumented __builtin_vsx_xvnegdp and __builtin_vsx_xvnegsp are
redundant. The overloaded vec_neg built-in provides the same
functionality. The two buit-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 | 6 ------
1 file changed, 6 deletions(-)
diff --git a/gcc/config/rs6000/rs6000-builtins.def
b/gcc/config/rs6000/rs6000-builtins.def
index f02a8c4de45..64690b9b9b5 100644
--- a/gcc/config/rs6000/rs6000-builtins.def
+++ b/gcc/config/rs6000/rs6000-builtins.def
@@ -1736,12 +1736,6 @@
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 {}
--
2.45.0