libffi for ARM

David Daney ddaney@avtrex.com
Tue Jul 3 17:03:00 GMT 2007


David Daney wrote:
> Andrew Haley wrote:
> 
>> +   __asm __volatile ("swi 0x9f0002        @ sys_cacheflush"    \
>> +                   : "=r" (_beg)                \
>> +                   : "0" (_beg), "r" (_end), "r" (_flg));    \
>> + })
> 
> Can that be correct?  Both _end and _flg have the generic "r" register 
> constraint.  Shouldn't they be forced into specific registers?
> 
Never mind.  I didn't fully read the code.

Sorry for the noise,
David Daney



More information about the Gcc-patches mailing list