diff options
author | Jeff Law <law@gcc.gnu.org> | 1997-04-08 12:41:49 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-04-08 12:41:49 -0600 |
commit | 74452ac3234316852e4f63d48f62db44991649b2 (patch) | |
tree | 198d4057d7fd056023eb939e423b4fc19553dfba /gcc/config/sh | |
parent | 90e6057ba592752ace2fcfdc9043da12cf133932 (diff) | |
download | gcc-74452ac3234316852e4f63d48f62db44991649b2.zip gcc-74452ac3234316852e4f63d48f62db44991649b2.tar.gz gcc-74452ac3234316852e4f63d48f62db44991649b2.tar.bz2 |
mn10300.h (RETURN_ADDR_RTX): Define.
* mn10300.h (RETURN_ADDR_RTX): Define.
* mn10300.c (count_tst_insns): New function.
(expand_prologue): Load zero into data and/or address registers
if any are free and the function has optimizable tst insns.
(output_tst): If a suitable register is known to have the
value zero, use it instead of searching for a suitable register.
* mn10300.h (zero_dreg, zero_areg): Declare.
(FRAME_POINTER_NEEDED): Frame pointers are not needed if the
outgoing argument size is zero.
* mn10300.md (movXX): Optimize loading zero i register if possible. Optimize loading a DF/DI mode value
into an address register from a constant memory address.
(addsi3): Provide alternative which doesn't require a matching
inout operand.
(return): Optimize consecutive return instructions.
From-SVN: r13845
Diffstat (limited to 'gcc/config/sh')
0 files changed, 0 insertions, 0 deletions