This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Interesting changes for newppc branch.
- To: gcc-patches at gcc dot gnu dot org
- Subject: Interesting changes for newppc branch.
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: Tue, 4 Jan 2000 14:51:10 -0800
I just did this:
2000-01-04 Geoff Keating <geoffk@cygnus.com>
* rs6000.c: Correct comment, the `minimal' TOCs are actually
one per translation unit, not one per function.
(output_toc): Also do duplicate constant elimination
for per-translation-unit TOCs.
* rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
a comment explaining _exactly_ when this pattern gets used.
(builtin_setjmp_receiver): New pattern for better clarity.
(init_v4_pic): Move it into a section dealing with TOC registers.
The first reduces the amount of TOC space used under -mminimal-toc on
AIX, and under -fPIC on ELF.
The second was suggested by Richard, and is interesting because it
shows exactly when nonlocal_goto_receiver and builtin_setjmp_receiver
should be used.
--
- Geoffrey Keating <geoffk@cygnus.com>