On 03/11/2011 03:48 PM, Robert Lougher wrote: > > This is how I define MBARRIER for ARM in JamVM: > > #ifdef __ARM_ARCH_7A__ > #define MBARRIER() __asm__ __volatile__ ("dmb" ::: "memory") > #else > #define MBARRIER() __asm__ __volatile__ ("" ::: "memory") > #endif But that's wrong for GNU/Linux binaries, surely. Andrew.