libffi for ARM

Andrew Haley aph-gcc@littlepinkcloud.COM
Tue Jul 3 17:04:00 GMT 2007


David Daney writes:
 > 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.

Yeah, I just looked at the preceding three lines.  Shoulda done that
before replying...

Andrew.



More information about the Java-patches mailing list