[PATCH] rs6000, vec_popcntd is improperly defined in altivec.h
Segher Boessenkool
segher@kernel.crashing.org
Mon Aug 31 16:17:05 GMT 2020
Hi!
On Fri, Aug 28, 2020 at 08:08:05AM -0700, Carl Love wrote:
> The defines for vec_popcnt, bvec_popcnth, vec_popcntw, vec_popcntd in
> gcc/config/rs6000/altivec.h are not listed in the Power 64-Bi ELF V2
> ABI specification revision 1.4, May 10, 2017. They are not used by any
> of the regression tests.
(s/Bi/Bit/, in addition to what Will found)
There is vec_vpopcntb etc. (note the "v"), maybe that confused things?
> They also do not work as reported in:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85830
>
> The following patch removes the unsupported defines for the builtin
> functions.
Okay for trunk, and okay for any backports you think is good. Thanks!
Segher
More information about the Gcc-patches
mailing list