GCC maintainers:
The following is an updated patch series to remove duplicate built-ins.
There are patches to extend an existing overloaded built-in to cover additional
input types.
A new patch, 0005-rs6000-Remove-redundant-float-double-type-conversion.patch,
was added to remove built-ins that were inadvertently missing in the last
version.
Patch 12 patch in the previous series was dropped as the built-in
__builtin_vsx_xvcmpeqsp is not a duplicate of the overloaded vec_cmpeq
built-in. Specifically, the return values are different. The goal in this
series is to remove built-ins that are functionally equivalent. Patch 12 from
the previous series will be reworked and submitted later.
Some of the patches in the previous series were approved, but everything is
being reposted for completeness. The following gives the mapping of the
patches from the previous version to the current version of the series with
notes on the patches.
Version 2 Version 3 Notes
patch 1 patch 1 Approved, no changes
patch 2 patch 2 Responded to comments,
no changes to the patch
patch 3 patch 3 Updated changelog, no
functional changes
patch 4 patch 4 Updated patch
patch 5 New patch to removed
built-ins missed in the
series.
patch 5 patch 6 Updated patch
patch 6 patch 7 Updated patch
patch 7 patch 8 Updated patch
patch 8 patch 9 Approved, no changes to
this patch
patch 9 patch 10 Approved, no changes to
this patch
patch 10 patch 11 Updated, added test
file.
patch 11 patch 12 Updated
patch 12 Patch from previous
series removed
patch 13 patch 13 Comments said built-ins
__builtin_vec_set_v1ti
__builtin_vec_set_v2di,
__builtin_vec_set_v2df
can also get removed
with equivalent gimple codes.
This is somewhat more
involved than a simple
removal of redundant
built-ins. The built-ins
will be removed in a
separate future patch.
The patch series has been tested on Power 10 LE, Power 9 BE with no regression
failures.
in additional patch
The patches have all been tested on Power 10 LE. The last patch was also
tested on Power 8 BE.
No regression tests were seen.
Please let me know if the patches are acceptable for mainline. Thanks.
Carl