Minor tweak to SPARC back-end
Eric Botcazou
ebotcazou@libertysurf.fr
Sun Jul 4 21:52:00 GMT 2004
The patch renames SIBCALL_SLOT_EMPTY_P into LEAF_SIBCALL_SLOT_RESERVED_P
(modulo a negation) and tweaks output_restore to let it accept a PATTERN
instead of the whole INSN.
Bootstrapped/regtested on sparc64-sun-solaris2.9 and sparc-sun-solaris2.8.
I also verified that there is no change in the gcc.c-torture/compile
testsuite at -O2.
Applied to mainline.
2004-07-04 Eric Botcazou <ebotcazou@libertysurf.fr>
* config/sparc/sparc.c (SIBCALL_SLOT_EMPTY_P): Rename
into LEAF_SIBCALL_SLOT_RESERVED_P after negation.
(eligible_for_sibcall_delay): Adjust use of SIBCALL_SLOT_EMPTY_P.
(output_restore): Change parameter from 'insn' to 'pat'.
(output_return): Adjust call to output_restore.
(output_sibcall): Adjust use of SIBCALL_SLOT_EMPTY_P.
Adjust call to output_restore.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparc_tweak-1.diff
Type: text/x-diff
Size: 3972 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040704/5ecdd358/attachment.bin>
More information about the Gcc-patches
mailing list