Re: gcc for i386-solaris doesn't expand builtin functions for atomic memory access

2009-06-16 Thread Ian Lance Taylor
Lijuan Hai writes: > As we see from gcc doc, the builtins are intended to be compatible > with those described in the Intel Itanium Processor-specific > Application Binary Interface, section 7.4. Why did gcc for x86 miss > expanding such built-ins, just generating a call to an external > function

gcc for i386-solaris doesn't expand builtin functions for atomic memory access

2009-06-16 Thread Lijuan Hai
Hi all, As we see from gcc doc, the builtins are intended to be compatible with those described in the Intel Itanium Processor-specific Application Binary Interface, section 7.4. Why did gcc for x86 miss expanding such built-ins, just generating a call to an external function? Is it on purpose or