s390.c (s390_expand_atomic): New function.
authorAdrian Straetling <straetling@de.ibm.com>
Wed, 7 Dec 2005 20:01:30 +0000 (20:01 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 7 Dec 2005 20:01:30 +0000 (20:01 +0000)
commit45d18331f6fef4363e14fd19871ef765d1203472
tree37f5267f112834ab802c16d730d210dd4de74128
parent3093f076e124d0d02ef4460e7c47289fdd567c31
s390.c (s390_expand_atomic): New function.

2005-12-07  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.c (s390_expand_atomic): New function.
Adjust comment of helper functions.
* config/s390/s390-protos.h (s390_expand_atomic): Declare.
* config/s390/s390.md ("ATOMIC"): New code macro.
("atomic"): Corresponding new code attribute.
("sync_lock_test_and_set[hq]i",
"sync_{new_,old_,}{and,ior,xor,add,sub,nand}[hq]i"): New pattern.

From-SVN: r108180
gcc/ChangeLog
gcc/config/s390/s390-protos.h
gcc/config/s390/s390.c
gcc/config/s390/s390.md