Implement omp atomic load and store.
authorRichard Henderson <rth@redhat.com>
Fri, 11 Nov 2011 17:52:11 +0000 (09:52 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 11 Nov 2011 17:52:11 +0000 (09:52 -0800)
commit0540978881f0e0de7d84c470628a1897b01b6831
tree1269946d9053f55f9328174653105f6943967e41
parentf05eec4a0d41f9b9b5ef0131407581c5edb6f79c
Implement omp atomic load and store.

* gimple-pretty-print.c (dump_gimple_omp_atomic_load): Dump needed.
(dump_gimple_omp_atomic_store): Likewise.
* optabs.c (can_atomic_exchange_p): New.
* optabs.h (can_atomic_exchange_p): Declare.
* omp-low.c (expand_omp_atomic_load): Implement.
(expand_omp_atomic_store): Likewise.
(expand_omp_atomic): Update for new arguments to load/store.

From-SVN: r181296
gcc/ChangeLog
gcc/gimple-pretty-print.c
gcc/omp-low.c
gcc/optabs.c
gcc/optabs.h