OSDN Git Service

Implement omp atomic load and store.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Nov 2011 17:52:11 +0000 (17:52 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Nov 2011 17:52:11 +0000 (17:52 +0000)
commit3ec11c499027aff2ba4041409c7ad18a372d767c
tree1269946d9053f55f9328174653105f6943967e41
parent916caf364f2972db357207e621931ad8a61f651c
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181296 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-pretty-print.c
gcc/omp-low.c
gcc/optabs.c
gcc/optabs.h