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: -fuse-caller-save - Enable for MIPS


On 28-04-14 12:47, Tom de Vries wrote:
Hmm, is that just because -fcaller-saves is -O2 and above?

For -O1, after adding -fcaller-saves the optimization triggers, and the test-cases passes.

For -O0, adding -fcaller-saves doesn't make a difference, the optimization doesn't trigger.

If so,
should -fuse-caller-save imply -fcaller-saves?

I don't think it's strictly necessary, but I can make a patch if required.

Thanks,
- Tom


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