RFA: [PATCH]: MIPS enhancements to libgcj...
David Daney
ddaney@avtrex.com
Tue Oct 21 19:52:00 GMT 2003
Jeff Sturm wrote:
>I'm certainly no MIPS expert, so others might comment on the llsc stuff.
>However:
>
>+inline static void
>+release_set(volatile obj_addr_t *addr, obj_addr_t new_val)
>+{
>+ __asm__ __volatile__("sync" : :);
>+ *(addr) = new_val;
>+}
>
>Probably want a memory clobber here...
>
>
Perhaps, can anyone verify that?
Or if "sync" is even needed?
Or if "sync" is available on most/all CPUs?
>
>
More information about the Java-patches
mailing list