libffi for ARM

David Daney ddaney@avtrex.com
Tue Jul 3 16:56:00 GMT 2007


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?

David Daney



More information about the Java-patches mailing list