h8300.md (pushqi1_h8300hs): Optimize by pushing 2 bytes and then subtract 2 from the stack pointer.

* config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
	2 bytes and then subtract 2 from the stack pointer.
	(pushhi1_h8300hs): Likewise.

From-SVN: r69042
This commit is contained in:
Kazu Hirata 2003-07-07 15:46:02 +00:00 committed by Kazu Hirata
parent 6b3517eaf5
commit fb7d7712f6
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
2 bytes and then subtract 2 from the stack pointer.
(pushhi1_h8300hs): Likewise.
2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
* configure.in (enable_coverage): Remove -DSELF_COVERAGE, add

View File

@ -126,7 +126,7 @@
(match_operand:QI 0 "register_operand" "r"))])]
"(TARGET_H8300H || TARGET_H8300S)
&& REGNO (operands[0]) != SP_REG"
"mov.l\\t%S0,@-er7"
"mov.w\\t%f0,@-er7\;subs\\t#2,er7"
[(set_attr "length" "4")
(set_attr "cc" "clobber")])
@ -218,7 +218,7 @@
(match_operand:HI 0 "register_operand" "r"))])]
"(TARGET_H8300H || TARGET_H8300S)
&& REGNO (operands[0]) != SP_REG"
"mov.l\\t%S0,@-er7"
"mov.w\\t%f0,@-er7\;subs\\t#2,er7"
[(set_attr "length" "4")
(set_attr "cc" "clobber")])