]> granicus.if.org Git - libatomic_ops/commit
2009-08-12 Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
authorhboehm <hboehm>
Wed, 12 Aug 2009 22:33:52 +0000 (22:33 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 25 Jul 2011 12:03:24 +0000 (16:03 +0400)
commit929954ab7257736bf233613fb0896da78a375ea9
treee181a4c3f99b2e0060188158a5e6054aeedee21b
parent79a0a398fb7306ffabce68f5bcd6d3055ec5489e
2009-08-12 Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
(diff107_cvs)

* src/atomic_ops/sysdeps/sunc/x86.h: New file.
        * src/atomic_ops/sysdeps/sunc/x86_64.h: Ditto.
        * src/atomic_ops.h (AO_INLINE): Support inlining for DigitalMars,
        Watcom, Sun C.
        * src/atomic_ops.h (AO_compiler_barrier): Use intrinsic-based
        implementation for VC++ v8+ (include <intrin.h> before it unless
        WinCE target); use asm-based barrier implementation for Borland,
        DigitalMars and Watcom.
        * src/atomic_ops.h: Fix comment (for x86_64).
        * src/atomic_ops.h: Include specialized x86.h and x86_64.h arch
        headers for Sun C (if not AO_USE_PTHREAD_DEFS).
        * src/atomic_ops.h: Include VC-specific arch headers for Borland,
        DigitalMars and Watcom (Win32 target only).
ChangeLog
src/atomic_ops.h
src/atomic_ops/sysdeps/sunc/x86.h [new file with mode: 0644]
src/atomic_ops/sysdeps/sunc/x86_64.h [new file with mode: 0644]