On Tue, Apr 10, 2012 at 06:12:08PM +0400, Kirill Yukhin wrote: > Attached patch implements HLE support for __atomic_compare_exchange_n.
The target hook is definitely not appropriate, just define it in ix86_target_macros in i386-c.c instead or so. Jakub