On 03/18/2013 05:48 AM, David Holsgrove wrote: > * gcc/config/microblaze/sync.md: New file. > * gcc/config/microblaze/microblaze.md: Add UNSPEC_SYNC_CAS, > UNSPEC_SYNC_XCHG and include sync.md. > * gcc/config/microblaze/microblaze.c: Add print_operand 'y'. > * gcc/config/microblaze/constraints.md: Add memory_contraint > 'Q' which is a single register.
Do not add new __sync implementations. Use the __atomic builtins. r~