This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] ppc64: move crt3.o makefile fragments, 64-bit call patterns



On Apr 13, 2006, at 12:12 PM, Dale Johannesen wrote:



On Apr 13, 2006, at 12:03 PM, Stuart Hastings wrote:


A mechanical patch to build the Darwin-specific "crt3.o" with - mlongcall ("far" calls for Darwin/ppc).

Alas, that broke the bootstrap. This necessitated some 64-bit CALL patterns for Darwin/ppc. Inside rs6000.md, renamed the existing "call_*_nonlocal_sysv" to "call_*_nonlocal_sysv32" and added "call_*_nonlocal_sysv64" in the obvious way; the "64" versions have DI operands under their memrefs.

Bootstrapped and DejaGnu-ed on Darwin/ppc, no regressions.

2006-04-13 Stuart Hastings <stuart@apple.com>

* config/t-darwin (crt3.o): Moved from here...
* config/i386/t-darwin (crt3.o): ...to here...
* config/rs6000/t-darwin (crt3.o): ...and here, adding - mlongcall.
* config/rs6000/rs6000.md (call_indirect_nonlocal_sysv,
call_nonlocal_sysv, call_value_indirect_nonlocal_sysv,
call_value_nonlocal_sysv): Appended "32" to names.
(call_indirect_nonlocal_sysv64, call_nonlocal_sysv64,
call_value_indirect_nonlocal_sysv64, call_value_nonlocal_sysv64):
New.

I don't think you need new patterns. Looks like a good spot for mode_macro P.

You're right.


On Darwin/ppc: Bootstrapped, DejaGnu, no regressions.

2006-04-14 Stuart Hastings <stuart@apple.com>

* config/t-darwin (crt3.o): Moved from here...
* config/i386/t-darwin (crt3.o): ...to here...
* config/rs6000/t-darwin (crt3.o): ...and here, adding - mlongcall.
* config/rs6000/rs6000.md (call_indirect_nonlocal_sysv,
call_nonlocal_sysv, call_value_indirect_nonlocal_sysv,
call_value_nonlocal_sysv): Revised for 32/64 with "P" macro.


Attachment: gcc.fsf.crt4.diffs.txt
Description: Text document


O.K. for trunk?


stuart hastings
Apple Computer




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]