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: [darwin] Always turn on FP_SAVE_INLINE at -O3



On May 5, 2004, at 18:08, Caroline Tice wrote:



The following is a small optimization in the Apple compiler we would like to put into mainline.
It is Darwin-specific. By always making FP_SAVE_INLINE be true at -O3 or higher we
gain a small performance improvement.


This has been tested on an Apple G4 running apple-darwin. It bootstraps and passes
DejaGnu. Is this okay to commit to mainline?

No because it is already enabled by default at every level of optimization.


#define FP_SAVE_INLINE(FIRST_REG) ((FIRST_REG) < 64)

What it is saving to inline when the FIRST_REG is less than 64 which is every fp
hard register.


Thanks,
Andrew Pinski


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