From 3597e354c6b9d19ef3f3f03ff413f8ffdddff7e1 Mon Sep 17 00:00:00 2001 From: dje Date: Sun, 25 May 2003 04:18:06 +0000 Subject: [PATCH] * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add length attribute. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67160 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/config/rs6000/rs6000.md | 44 +++++++++++++++++++++++--------------------- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 88e49bd..808a2d7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-05-24 David Edelsohn + + * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add length attribute. + 2003-05-24 Nathanael Nerode * config/rs6000/440.md, config/stormy16/stormy16protos.h, diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 1a1116c..eb259c7 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -14439,31 +14439,33 @@ [(set_attr "type" "mfcr")]) (define_insn "*stmw" - [(match_parallel 0 "stmw_operation" - [(set (match_operand:SI 1 "memory_operand" "=m") - (match_operand:SI 2 "gpc_reg_operand" "r"))])] - "TARGET_MULTIPLE" - "{stm|stmw} %2,%1") + [(match_parallel 0 "stmw_operation" + [(set (match_operand:SI 1 "memory_operand" "=m") + (match_operand:SI 2 "gpc_reg_operand" "r"))])] + "TARGET_MULTIPLE" + "{stm|stmw} %2,%1") (define_insn "*save_fpregs_si" - [(match_parallel 0 "any_operand" - [(clobber (match_operand:SI 1 "register_operand" "=l")) - (use (match_operand:SI 2 "call_operand" "s")) - (set (match_operand:DF 3 "memory_operand" "=m") - (match_operand:DF 4 "gpc_reg_operand" "f"))])] - "TARGET_32BIT" - "bl %z2" - [(set_attr "type" "branch")]) + [(match_parallel 0 "any_operand" + [(clobber (match_operand:SI 1 "register_operand" "=l")) + (use (match_operand:SI 2 "call_operand" "s")) + (set (match_operand:DF 3 "memory_operand" "=m") + (match_operand:DF 4 "gpc_reg_operand" "f"))])] + "TARGET_32BIT" + "bl %z2" + [(set_attr "type" "branch") + (set_attr "length" "4")]) (define_insn "*save_fpregs_di" - [(match_parallel 0 "any_operand" - [(clobber (match_operand:DI 1 "register_operand" "=l")) - (use (match_operand:DI 2 "call_operand" "s")) - (set (match_operand:DF 3 "memory_operand" "=m") - (match_operand:DF 4 "gpc_reg_operand" "f"))])] - "TARGET_64BIT" - "bl %z2" - [(set_attr "type" "branch")]) + [(match_parallel 0 "any_operand" + [(clobber (match_operand:DI 1 "register_operand" "=l")) + (use (match_operand:DI 2 "call_operand" "s")) + (set (match_operand:DF 3 "memory_operand" "=m") + (match_operand:DF 4 "gpc_reg_operand" "f"))])] + "TARGET_64BIT" + "bl %z2" + [(set_attr "type" "branch") + (set_attr "length" "4")]) ; These are to explain that changes to the stack pointer should ; not be moved over stores to stack memory. -- 2.7.4