[PATCH] Fix xxeval predicates (PR 99921).

David Edelsohn dje.gcc@gmail.com
Fri Aug 13 14:00:25 GMT 2021

On Fri, Aug 13, 2021 at 12:14 AM Michael Meissner
<meissner@linux.ibm.com> wrote:
> Fix xxeval predicates (PR 99921).
> I originally posted this patch in May and in June.  I'm reposting it now.
> I noticed that the xxeval built-in function used the altivec_register_operand
> predicate.  Since it takes vsx registers, this might force the register
> allocate to issue a move when it could use a traditional floating point
> register.  This patch fixes that.
> I have done builds on little endian power9, little endian power10, and big
> endian power8 systems, and this patch caused no regressions.  Can I check it
> into the master branch?
> 2021-08-12  Michael Meissner  <meissner@linux.ibm.com>
> gcc/
>         PR target/99921
>         * config/rs6000/altivec.md (xxeval): Use register_predicate
>         instead of altivec_register_predicate.


Thanks, David

More information about the Gcc-patches mailing list