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] SPARC psABI fix, callee returns struct checking.


From: Carlos O'Donell <carlos@codesourcery.com>
Date: Wed, 8 Mar 2006 17:38:04 -0500

> GCC assumes that the caller would always allocate this save area and
> does not implement the requirements on the callee side.  For the sake of
> interoperability, gcc must implement the callee side checking. GCC must
> make sure the callee looks for an unimp insn, and that the size encoded
> therein matches the size of the return. Only after the checks can the
> callee use the pointer to the save area.

Please don't enable this new check by default.

On processors having independant instruction and data TLB's (basically
all UltraSPARC chips), this is going to cause performance problems.


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