mangler and runtime updates for gcc 4 on ia64
authorred5_2@hotmail.com <unknown>
Sun, 18 Mar 2007 03:31:32 +0000 (03:31 +0000)
committerred5_2@hotmail.com <unknown>
Sun, 18 Mar 2007 03:31:32 +0000 (03:31 +0000)
commit79adecdb64e642f507e5113757ca69bc64df6bdc
tree2a7c3a259800428358036ffec4b19d8b94b731ec
parent123ed1219094d530629f94528742b091f4e823a8
mangler and runtime updates for gcc 4 on ia64

Gcc 4 is doing more clever optimizations than earlier gccs.
These changes let ghc compile and run on ia64 with gcc 4.0.3.

Register stack frames are enlarged so that all functions use the
same size stack frame.
The code to mangle tail calls has been cleaned up and made more
general.
Additional floating-point and special-purpose registers used by
GCC are saved upon entering the STG runtime.
More general handling of NOP instructions.
Handling of functions with multiple epilogues or no epilogue.
driver/mangler/ghc-asm.lprl
rts/StgCRun.c