rs6000: Disparage CTR and LR in movcc_internal1

LRA likes to use CTR and LR to store CCmode values.  Not such a good
idea.  All other similar patterns disparage using CTR and LR; do so
here, too.


	* config/rs6000/rs6000.md (movcc_internal1): Disparage using CTR or LR.

From-SVN: r240515
This commit is contained in:
Segher Boessenkool 2016-09-27 02:37:07 +02:00 committed by Segher Boessenkool
parent 0c7d89ee1e
commit 963da59930
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2016-09-27 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.md (movcc_internal1): Disparage using CTR or LR.
2016-09-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/i386/i386.c (ix86_print_operand)

View File

@ -6653,8 +6653,10 @@
"")
(define_insn "*movcc_internal1"
[(set (match_operand:CC 0 "nonimmediate_operand" "=y,x,?y,y,r,r,r,r,r,cl,r,m")
(match_operand:CC 1 "general_operand" "y,r,r,O,x,y,r,I,h,r,m,r"))]
[(set (match_operand:CC 0 "nonimmediate_operand"
"=y,x,?y,y,r,r,r,r,r,*c*l,r,m")
(match_operand:CC 1 "general_operand"
" y,r, r,O,x,y,r,I,h, r,m,r"))]
"register_operand (operands[0], CCmode)
|| register_operand (operands[1], CCmode)"
"@