This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 TODO work?

# gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: /import/iropt5/lijuan/plain-gcc/gcc-git/configure
--prefix=/import/dr3/i386/gcc-4.4.0 --enable-shared --disable-static
--disable-libtool-lock --disable-libada --enable-libssp
--enable-languages=c,c++,objc,fortran --enable-threads=posix
--enable-tls=yes --with-system-zlib --without-gnu-ld
--with-ld=/usr/ccs/bin/ld --with-as=/usr/sfw/bin/gas --enable-c99
--enable-nls --enable-wchar_t --enable-libstdcxx-allocator=mt
--with-pic --disable-bootstrap
Thread model: posix
gcc version 4.4.0 20090421 (prerelease) (GCC)

Thanks,
-- Lijuan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]