aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-09-12 22:38:14 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-09-12 22:38:14 +0000
commit0e9765acc4ba56d6778e6ab3aaa9f7563742386c (patch)
tree165b2e3f76a18f323a4029d32b1ae5b957ac8b73
parenteda5912faec7c312ae511b87ce11ec5a1d7e5fe3 (diff)
(power subdi3 pattern): Fix pattern to have 5 alternatives, and
correct 4th alternative to match reality. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@10343 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/config/rs6000/rs6000.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index a0b56fb433b..31c6a3919ca 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -3565,14 +3565,15 @@
}")
(define_insn ""
- [(set (match_operand:DI 0 "gpc_reg_operand" "=&r,&r,r,r")
- (minus:DI (match_operand:DI 1 "reg_or_short_operand" "r,I,0,r")
- (match_operand:DI 2 "gpc_reg_operand" "r,r,r,0")))]
+ [(set (match_operand:DI 0 "gpc_reg_operand" "=&r,&r,r,r,r")
+ (minus:DI (match_operand:DI 1 "reg_or_short_operand" "r,I,0,r,I")
+ (match_operand:DI 2 "gpc_reg_operand" "r,r,r,0,0")))]
"TARGET_POWER && ! TARGET_POWERPC64"
"@
{sf|subfc} %L0,%L2,%L1\;{sfe|subfe} %0,%2,%1
{sfi|subfic} %L0,%L2,%1\;{sf%G1e|subf%G1e} %0,%2
{sf|subfc} %L0,%L2,%L1\;{sfe|subfe} %0,%2,%1
+ {sf|subfc} %L0,%L2,%L1\;{sfe|subfe} %0,%2,%1
{sfi|subfic} %L0,%L2,%1\;{sf%G1e|subf%G1e} %0,%2"
[(set_attr "length" "8")])