aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-09-12 18:38:14 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-09-12 18:38:14 -0400
commite7e5df70c8596075dc327addb1ebb10b36c58bab (patch)
tree165b2e3f76a18f323a4029d32b1ae5b957ac8b73 /gcc
parent849a528da80f7177dda4e4b391e3ca4b01e3e111 (diff)
downloadgcc-e7e5df70c8596075dc327addb1ebb10b36c58bab.zip
gcc-e7e5df70c8596075dc327addb1ebb10b36c58bab.tar.gz
gcc-e7e5df70c8596075dc327addb1ebb10b36c58bab.tar.bz2
(power subdi3 pattern): Fix pattern to have 5 alternatives, and
correct 4th alternative to match reality. From-SVN: r10343
Diffstat (limited to 'gcc')
-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 a0b56fb..31c6a39 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")])