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] fix target/44606, reload bug on SPE


On 10/01/2010 11:38 PM, Eric Botcazou wrote:
>> I don't see a good way to tighten the above condition.  Deleting the
>> cleverness is an option, though. ;)
> 
> How about adding a check that the modes have the same size when this is for an 
> output reload?

That's just papering over the real problem. I think the intent is
clearly that if we find an equivalence, the move insn being reloaded is
removed (as it serves no purpose if we already have the value in a
register) and only the output reload remains.
For the release branches it's conceivable to disable this optimization,
it shouldn't trigger that often anyway.


Bernd


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