This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Reduction support for parloop, OMP_ATOMIC Changes


On Mon, Sep 24, 2007 at 05:10:39PM +0200, Razya Ladelsky wrote:
> Now the testsuite zipped file was corrupted...
> This is the final patch and testsuite directory :)

Can you please explain why exactly you want to avoid lowering
OMP_ATOMIC early?  This OMP_ATOMIC_LOAD/OMP_ATOMIC_STORE
separation looks terribly fragile to me.  What's wrong with just
emitting __sync etc. immediately when autoparallelizing?
You could either create OMP_ATOMIC and gimplify that there,
or you could perhaps tweak the OMP_ATOMIC gimplifiers so that
they are usable from both OMP_ATOMIC gimplification and the autopar
code.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]