OSDN Git Service

Use __sync_bool_compare_and_swap in x86 locks.h.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 2011 11:53:34 +0000 (11:53 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 2011 11:53:34 +0000 (11:53 +0000)
commit89bc37de25347d573e78c20a74feb2d5457efaaf
treea7e67035fdec4a3fe4aa5320fcddb6ecacc5b568
parent678b2f5ba3ebf9aafda79be0ff836b269e353f3b
Use __sync_bool_compare_and_swap in x86 locks.h.

2011-05-31  H.J. Lu  <hongjiu.lu@intel.com>

PR libgcj/49193
* configure.host (sysdeps_dir): Set to i386 for x86_64.

* sysdep/i386/locks.h (compare_and_swap): Call
__sync_bool_compare_and_swap.
(release_set): Call write_barrier ().

* sysdep/x86-64/locks.h: Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174471 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/configure.host
libjava/sysdep/i386/locks.h
libjava/sysdep/x86-64/locks.h [deleted file]