Matthias Klose
840a82bab8
gc_locks.h: For __ARM_EABI__ define GC_test_and_set GC_clear to use the atomic builtins.
...
2009-12-09 Matthias Klose <doko@ubuntu.com>
* include/private/gc_locks.h: For __ARM_EABI__ define
GC_test_and_set GC_clear to use the atomic builtins.
From-SVN: r155198
2009-12-13 22:44:27 +00:00
Michael Meissner
a72c65c754
Commit patch #3 of 4 for Power7 VSX support
...
Co-Authored-By: Pat Haugen <pthaugen@us.ibm.com>
Co-Authored-By: Revital Eres <eres@il.ibm.com>
From-SVN: r150018
2009-07-23 16:05:37 +00:00
Alan Modra
d67c1cb766
gc_locks.h (GC_test_and_set <POWERPC>): Don't use broken 64-bit version.
...
* include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
use broken 64-bit version.
From-SVN: r110571
2006-02-04 10:45:08 +10:30
Bryce McKinlay
54f28c21ee
Import Boehm GC version 6.6.
...
From-SVN: r110204
2006-01-25 03:03:14 +00:00
Kazu Hirata
df3d9c37f9
gc_locks.h (GC_test_and_set): Change the constraint of the first operand to '0'.
...
* include/private/gc_locks.h (GC_test_and_set): Change the
constraint of the first operand to '0'.
From-SVN: r104329
2005-09-15 22:35:52 +00:00
Hans-Peter Nilsson
2586bf38d8
os_dep.c, gc_locks.h: Import CRIS port by Simon Posnjak from gc6.4.
...
* os_dep.c, include/private/gc_locks.h: Import CRIS port by
Simon Posnjak from gc6.4.
* include/private/gcconfig.h: Ditto. Add M32R note from gc6.4.
From-SVN: r98414
2005-04-19 16:01:38 +00:00
Jeff Sturm
30c3de1ffb
Import GC 6.3alpha1.
...
* BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
* ChangeLog: Likewise.
* Makefile.am: Likewise.
* Makefile.direct: Likewise.
* Makefile.dj: Likewise.
* allchblk.c: Likewise.
* alloc.c: Likewise.
* backgraph.c: Likewise.
* configure.host: Likewise.
* configure.in: Likewise.
* dbg_mlc.c: Likewise.
* dyn_load.c: Likewise.
* finalize.c: Likewise.
* gc_cpp.cc: Likewise.
* gc_dlopen.c: Likewise.
* gcj_mlc.c: Likewise.
* if_mach.c: Likewise.
* mach_dep.c: Likewise.
* malloc.c: Likewise.
* mallocx.c: Likewise.
* mark.c: Likewise.
* mark_rts.c: Likewise.
* misc.c: Likewise.
* os_dep.c: Likewise.
* ptr_chck.c: Likewise.
* reclaim.c: Likewise.
* solaris_pthreads.c: Likewise.
* solaris_threads.c: Likewise.
* sparc_mach_dep.S: Likewise.
* threadlibs.c: Likewise.
* typd_mlc.c: Likewise.
* version.h: Likewise.
* win32_threads.c: Likewise.
* Mac_files/MacOS_Test_config.h: Likewise.
* Mac_files/MacOS_config.h: Likewise.
* cord/cordbscs.c: Likewise.
* cord/cordprnt.c: Likewise.
* cord/de_win.c: Likewise.
* doc/README: Likewise.
* doc/README.MacOSX: Likewise.
* doc/README.changes: Likewise.
* doc/README.environment: Likewise.
* doc/README.ews4800: Likewise.
* doc/README.linux: Likewise.
* doc/README.macros: Likewise.
* doc/README.win32: Likewise.
* doc/debugging.html: Likewise.
* doc/gcdescr.html: Likewise.
* doc/tree.html: Likewise.
* include/Makefile.in: Likewise.
* include/gc.h: Likewise.
* include/gc_cpp.h: Likewise.
* include/gc_local_alloc.h: Likewise.
* include/gc_mark.h: Likewise.
* include/gc_pthread_redirects.h: Likewise.
* include/gc_typed.h: Likewise.
* include/new_gc_alloc.h: Likewise.
* include/private/dbg_mlc.h: Likewise.
* include/private/gc_hdrs.h: Likewise.
* include/private/gc_locks.h: Likewise.
* include/private/gc_pmark.h: Likewise.
* include/private/gc_priv.h: Likewise.
* include/private/gcconfig.h: Likewise.
* include/private/solaris_threads.h: Likewise.
* include/private/specific.h: Likewise.
* tests/test.c: Likewise.
* tests/test_cpp.cc: Likewise.
* configure: Rebuild.
* Makefile.in: Rebuild.
* mips_sgi_mach_dep.s: Add.
* alpha_mach_dep.s: Remove.
* irix_threads.c: Remove.
* linux_threads.c: Remove.
* mips_sgi_mach_dep.S: Remove.
* missing: Remove.
* powerpc_macosx_mach_dep.s: Remove.
* doc/Makefile.am: Remove.
* doc/Makefile.in: Remove.
From-SVN: r69880
2003-07-28 04:18:23 +00:00
Richard Henderson
2298018014
gc_locks.h [IA64]: Include ia64intrin.h.
...
* include/private/gc_locks.h [IA64]: Include ia64intrin.h.
(GC_test_and_set): Use __sync_lock_test_and_set.
(GC_clear): Use volatile assignment.
(GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
(GC_memory_write_barrier): Use __sync_synchronize.
From-SVN: r64736
2003-03-22 17:36:22 -08:00
Ulrich Weigand
10a197ee7c
gcconfig: Add machine type S390.
...
* include/private/gcconfig: Add machine type S390. Add s390x support.
* include/private/gc_locks.h (GC_test_and_set): Implement for s390.
(GC_compare_and_exchange): Likewise.
From-SVN: r57592
2002-09-27 20:40:06 +00:00
H.J. Lu
f3e83dc224
gc_locks.h (GC_test_and_set): Support Linux/mips.
...
* include/private/gc_locks.h (GC_test_and_set): Support
Linux/mips.
(GC_TEST_AND_SET_DEFINED): Likewise.
* include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
Linux/mips.
(DATAEND): Likewise.
(LINUX_STACKBOTTOM): Likewise.
(STACKBOTTOM): Removed for Linux/mips.
From-SVN: r54444
2002-06-10 17:10:21 +00:00
Mark Mitchell
61039cd09e
irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
...
* irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
(GC_pthread_create): Fix typo.
(GC_TRY_LOCK): Likewise.
* include/private/gc_locks.h (GC_test_and_set): Only take one
one argument.
(LOCK): Adjust appropriately.
* include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
_SIGRTMIN is unavailable.
From-SVN: r53636
2002-05-19 17:36:14 +00:00
Bryce McKinlay
4c7726b172
Makefile.am, [...]: Imported GC 6.1 Alpha 1 and merged local changes.
...
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1
and merged local changes.
From-SVN: r46283
2001-10-16 10:01:40 +01:00
Tom Tromey
5a2586cf8f
Makefile.am, [...]: Imported GC 6.0 and merged local changes.
...
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
merged local changes.
From-SVN: r44994
2001-08-18 01:04:43 +00:00
Bryce McKinlay
f54d42879f
Initial revision
...
From-SVN: r42370
2001-05-21 07:39:23 +01:00