rs6000: Rewrite sync patterns for atomic; expand early.
authorRichard Henderson <rth@redhat.com>
Mon, 14 Nov 2011 22:59:02 +0000 (14:59 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 14 Nov 2011 22:59:02 +0000 (14:59 -0800)
commit2747a04662929c37d3bcc96c36adc861a4611710
tree61b67f6c9c5cdb2532017d38c67327e51d93fe99
parent674a3581477f9d0c8f802e242eed89aa53b95032
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.

From-SVN: r181370
gcc/ChangeLog
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md
gcc/config/rs6000/sync.md