Lijuan Hai <hailij...@gmail.com> 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? Is it on purpose or TODO work?

As written, this question would be better suited for the
gcc-h...@gcc.gnu.org mailing list rather than the gcc@gcc.gnu.org
mailing list.

You neglected to mention which builtin you were using.  As the gcc
documentation describes, the builtins are only open coded on processors
which support them.  The i386 does not support many atomic operations.
Try using -march=i686 or some other -march option.

Ian

Reply via email to