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][m68k] PR target/36134 Prefer LEA over ADD.L


Andrew Stubbs wrote:
The attached patch attempts to resolve pr36134 by preferring the 4-byte LEA instruction over the longer 6-byte ADD.L instruction, where appropriate.

This patch differs somewhat from the original patch posted by Gunnar von Boehm in that it only prefers LEA when it would not use an extra register. It also takes the split condition and scheduling attributes into account, and adds a test-case.

I've run a full test with no regressions.

OK?

Andrew Stubbs
This is fine. Please install.

Thanks,
Jeff


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