h8300.md (pushqi_h8300): Don't push the stack pointer.

* config/h8300/h8300.md (pushqi_h8300): Don't push the stack
	pointer.
	(pushqi_h8300hs): Likewise.
	(pushhi_h8300): Likewise.
	(pushhi_h8300hs): Likewise.

From-SVN: r60343
This commit is contained in:
Kazu Hirata 2002-12-20 00:08:06 +00:00 committed by Kazu Hirata
parent 3ab68120e2
commit 191ff85279
2 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (pushqi_h8300): Don't push the stack
pointer.
(pushqi_h8300hs): Likewise.
(pushhi_h8300): Likewise.
(pushhi_h8300hs): Likewise.
Thu Dec 19 23:44:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
* sched-rgn.c (init_regions): Update comment.

View File

@ -117,7 +117,8 @@
(plus:HI (reg:HI SP_REG) (const_int -2)))
(set (mem:QI (plus:HI (reg:HI SP_REG) (const_int -1)))
(match_operand:QI 0 "register_operand" "r"))])]
"TARGET_H8300"
"TARGET_H8300
&& REGNO (operands[0]) != SP_REG"
"mov.w\\t%T0,@-r7"
[(set_attr "length" "2")
(set_attr "cc" "clobber")])
@ -127,7 +128,8 @@
(plus:SI (reg:SI SP_REG) (const_int -4)))
(set (mem:QI (plus:SI (reg:SI SP_REG) (const_int -3)))
(match_operand:QI 0 "register_operand" "r"))])]
"TARGET_H8300H || TARGET_H8300S"
"(TARGET_H8300H || TARGET_H8300S)
&& REGNO (operands[0]) != SP_REG"
"mov.l\\t%S0,@-er7"
[(set_attr "length" "4")
(set_attr "cc" "clobber")])
@ -209,7 +211,8 @@
(define_expand "pushhi1_h8300"
[(set (mem:HI (pre_dec:HI (reg:HI SP_REG)))
(match_operand:HI 0 "register_operand" ""))]
"TARGET_H8300"
"TARGET_H8300
&& REGNO (operands[0]) != SP_REG"
"")
(define_insn "pushhi1_h8300hs"
@ -217,7 +220,8 @@
(plus:SI (reg:SI SP_REG) (const_int -4)))
(set (mem:HI (plus:SI (reg:SI SP_REG) (const_int -2)))
(match_operand:HI 0 "register_operand" "r"))])]
"TARGET_H8300H || TARGET_H8300S"
"(TARGET_H8300H || TARGET_H8300S)
&& REGNO (operands[0]) != SP_REG"
"mov.l\\t%S0,@-er7"
[(set_attr "length" "4")
(set_attr "cc" "clobber")])