Commit Graph

3 Commits

Author SHA1 Message Date
Kaz Kojima
bed3fc4127 Update sysdep/sh/locks.h with atomic builtins
Update sysdep/sh/locks.h with atomic builtins
	* sysdep/sh/locks.h (__cas_lock): Remove.
	(__cas_start_atomic, __cas_end_atomic): Likewise.
	(compare_and_swap): Call __sync_bool_compare_and_swap.

From-SVN: r188640
2012-06-14 22:58:05 +00:00
Kaz Kojima
228e6ac245 locks.h (read_barrier): New.
* sysdep/sh/locks.h (read_barrier): New.
	(write_barrier): Likewise.

From-SVN: r120735
2007-01-12 22:27:49 +00:00
Kaz Kojima
d8278e27fe configure.host: Add SH support.
* configure.host: Add SH support.
        * sysdep/sh/locks.h: New file.

From-SVN: r55922
2002-08-01 05:34:54 +00:00