loop hoisting fails

Paulo J. Matos pocmatos@gmail.com
Thu Feb 10 10:59:00 GMT 2011


On 09/02/11 15:57, Ian Lance Taylor wrote:
> For your processor it sounds like you should make a constant more
> expensive than a register for an outer code of SET.  You're right that
> the cost should really depend on the destination of the set but
> unfortunately I don't know if you will see that.
>
> I agree that costs are unfortunately not very well documented and the
> middle-end does not use them in the most effective manner.  It's still
> normally the right mechanism to use to control what combine does.
>

Thanks for the help.
Is there any bug open or anyone working to improve handling of costs?



More information about the Gcc mailing list