Re: creating low gimple code for gimplify_omp_atomic_pipeline

2007-08-01 Thread Diego Novillo
On 8/1/07 8:07 AM, Razya Ladelsky wrote: > Any suggestions on how to create low gimple code for > gimplify_omp_atomic_pipeline > cases? Interesting. I think it's the first time we run into this problem. I don't see force_gimple_operand trying to emit low GIMPLE. But we always use it from the

creating low gimple code for gimplify_omp_atomic_pipeline

2007-08-01 Thread Razya Ladelsky
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