Commit d67c1cb7 by Alan Modra Committed by Alan Modra

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
parent 510a8dd5
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> 2006-01-25 Andreas Tobler <a.tobler@schweiz.ch>
* darwin_stop_world.c: Change inline asm instruction to ld as ldz * darwin_stop_world.c: Change inline asm instruction to ld as ldz
......
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
# define GC_TEST_AND_SET_DEFINED # define GC_TEST_AND_SET_DEFINED
# endif # endif
# if defined(POWERPC) # 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) { inline static int GC_test_and_set(volatile unsigned int *addr) {
unsigned long oldval; unsigned long oldval;
unsigned long temp = 1; /* locked value */ unsigned long temp = 1; /* locked value */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment