re PR target/77670 (PowerPC64 Spec 2006 fails on 453.povray using -mcpu=power9 -mpowe...
authorMichael Meissner <meissner@gcc.gnu.org>
Wed, 21 Sep 2016 22:11:42 +0000 (22:11 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Wed, 21 Sep 2016 22:11:42 +0000 (22:11 +0000)
commit72d1c8dd8301cd68bf8b5f9e8971336a211adda4
tree684907a78493a19e56352445b2e65b1494d73154
parent4a2bb7fcb0c8507b958afb3d22ddfeeba494148a
re PR target/77670 (PowerPC64 Spec 2006 fails on 453.povray using -mcpu=power9 -mpower9-minmax)

2016-09-21  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/77670
* config/rs6000/predicates.md (invert_fpmask_comparison_operator):
New predicate that matches the ISA 3.0 XSCMP{EQ,GT,GE}DP
instructions when you want to invert the test.
* config/rs6000/rs6000.md (fpmask<mode>): Use the arguments in the
correct order for XXSEL.
(mov<SFDF:mode><SFDF2:mode>cc_invert_p9): Define the inverted test
for using XSCMP{EQ,GT,GE}DP.

From-SVN: r240335
gcc/config/rs6000/predicates.md
gcc/config/rs6000/rs6000.md