This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libffi for ARM


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]