This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
creating low gimple code for gimplify_omp_atomic_pipeline
- From: Razya Ladelsky <RAZYA at il dot ibm dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 1 Aug 2007 15:07:42 +0300
- Subject: creating low gimple code for gimplify_omp_atomic_pipeline
Hi,
In order to generate code for omp_atomic, I use force_gimple_operand which
calls gimplify_omp_atomic;
in some cases it calls gimplify_omp_atomic_pipeline, which expands the
atomic operation to a
cycle (implementing it using atomic compare-and-swap primitive).
However, the cond_expr that is generated is structured, and needs to be
lowered.
Any suggestions on how to create low gimple code for
gimplify_omp_atomic_pipeline
cases?
Thanks,
Razya