mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 11:24:05 +08:00
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
This commit is contained in:
parent
510a8dd51d
commit
d67c1cb766
@ -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
|
||||
|
@ -139,7 +139,7 @@
|
||||
# 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 */
|
||||
|
Loading…
Reference in New Issue
Block a user