]> granicus.if.org Git - gc/commitdiff
* include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Feb 2006 00:15:08 +0000 (00:15 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 06:54:27 +0000 (10:54 +0400)
use broken 64-bit version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110571 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
include/private/gc_locks.h

index b1801026d58a948b8b4c30d9d915a2e41c709184..61bc00e85214dc99bbde4fdfa39d4a50392725b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
+       use broken 64-bit version.
+
 2006-01-25  Andreas Tobler  <a.tobler@schweiz.ch>
 
        * darwin_stop_world.c: Change inline asm instruction to ld as ldz
index 1faf2d3d2091fdff2f3e48d82509ac16ef6e3791..4e2b641b78bccc4b0e858cbae1b9608898cbfd6d 100644 (file)
 #      define GC_TEST_AND_SET_DEFINED
 #    endif
 #    if defined(POWERPC)
-#     if CPP_WORDSZ == 64
+#     if 0 /* CPP_WORDSZ == 64  totally broken to use int locks with ldarx */
         inline static int GC_test_and_set(volatile unsigned int *addr) {
           unsigned long oldval;
           unsigned long temp = 1; /* locked value */