Thumb2 code size improvements

Andrew Stubbs ams at codesourcery.com
Tue Sep 7 13:09:52 BST 2010


On 07/09/10 13:01, Yao Qi wrote:
>> * Investigate reduced alignment constraints?
>
> Any details on this?

No, I just know that some targets like to align functions to 
cache-lines. This is a useful speed optimization, but does lead to lots 
of "blank" gaps in the code. I have no real idea if ARM does this kind 
of thing, or if the ABI has anything to say about it.

I just suggest that we should check it out - or at least ask an ARM 
expert if I'm talking nonsense. :)

Andrew



More information about the linaro-toolchain mailing list