OSDN Git Service

rs6000: Rewrite sync patterns for atomic; expand early.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Nov 2011 22:59:02 +0000 (22:59 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Nov 2011 22:59:02 +0000 (22:59 +0000)
commitb4db606f55afb0ea70603a6c7c668815699a1c28
tree61b67f6c9c5cdb2532017d38c67327e51d93fe99
parent8a0a66644745251ae82e774c6cd4aec0c35339c9
rs6000: Rewrite sync patterns for atomic; expand early.

The conversion of the __sync post-reload splitters was half
complete.  Since there are nearly no restrictions on what may
appear between LL and SC, expand all the patterns immediatly.
This allows significantly easier code generation for subword
atomic operations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181370 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md
gcc/config/rs6000/sync.md