On 7 January 2011 13:52, andrzej zaborowski <bal...@zabor.org> wrote:
> On 6 January 2011 22:54, Aurelien Jarno <aurel...@aurel32.net> wrote:
>> Improve constant loading in two ways:
>> - On all ARM versions, it's possible to load 0xffffff00 = -0x100 using
>>  the mvn rd, #0. Fix the conditions.
>> - On <= ARMv6 versions, where movw and movt are not available, load the
>>  constants using mov and orr with rotations depending on the constant
>>  to load. This is very useful for example to load constants where the
>>  low byte is 0. This reduce the generated code size by about 7%.
>
> That's a nice improvement.  For some instructions using MVN and AND

Oops, I mean for some *values*.

Reply via email to