creating low gimple code for gimplify_omp_atomic_pipeline

Razya Ladelsky RAZYA@il.ibm.com
Wed Aug 1 12:09:00 GMT 2007


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 



More information about the Gcc mailing list