mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-26 14:29:49 +08:00
74452ac323
* 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 |
||
---|---|---|
gcc |