]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix xxeval predicates (PR 99921).
authorMichael Meissner <meissner@linux.ibm.com>
Fri, 13 Aug 2021 23:43:27 +0000 (19:43 -0400)
committerMichael Meissner <meissner@linux.ibm.com>
Fri, 13 Aug 2021 23:43:27 +0000 (19:43 -0400)
commit58eec9908c01e2f5a6eb9cd76bbf037bbe2cf5e6
tree30a6586ae3da885024646b148c5400ac1fa6adc0
parent2cc65fcbd470de8240f64317629a60fab879dfc5
Fix xxeval predicates (PR 99921).

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.

2021-08-13  Michael Meissner  <meissner@linux.ibm.com>

gcc/
PR target/99921
* config/rs6000/altivec.md (xxeval): Use register_predicate
instead of altivec_register_predicate.
gcc/config/rs6000/altivec.md