[PATCH] Reduction support for parloop, OMP_ATOMIC Changes
Razya Ladelsky
RAZYA@il.ibm.com
Mon Sep 24 16:20:00 GMT 2007
Now the testsuite zipped file was corrupted...
This is the final patch and testsuite directory :)
Thanks,
Razya
Razya Ladelsky/Haifa/IBM wrote on 23/09/2007 21:36:14:
> Forgot the testsuite. Here's the patch again....
> __________________
>
> Hi,
>
> This is a follow-up patch to
> http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00891.html
> The prior patch failed for a few testcases of libgomp.
> This patch passes successfully.
> The main problem was lowering the OMP_ATOMIC.
> Although it should be a simple statement, sometimes implicit
> conversions make the OMP_ATOMIC expression more complex, so it does not
> fit the gimple form well.
> To overcome this problem, OMP_ATOMIC was split into two codes:
> OMP_ATOMIC_LOAD and OMP_ATOMIC_ATORE.
>
> the sequence will now be :
>
> OMP_LOAD (tmp, mem)
> val = some computations involving tmp;
> OMP_STORE (val)
>
> (these two new codes are described in tree.def)
>
> The reduction code was also adapted to use these codes,
> and I added a new testsuite directory autopar including a few
> reduction tests.
> I also moved the parallelization test that Zdenek provided with
> the autopar patch from tree-ssa directory to autopar.
>
> Thanks to Zdenek who provided the bulk part of the omp_atomic
> gimplify/expand code.
>
> Bootstrapped & regtested on x86.
> O.K. for mainline?
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autopar.tgz
Type: application/octet-stream
Size: 3014 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070924/b9e44ea8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: auto_reductions.diff
Type: application/octet-stream
Size: 77501 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070924/b9e44ea8/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog_23_09
Type: application/octet-stream
Size: 3743 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070924/b9e44ea8/attachment-0002.obj>
More information about the Gcc-patches
mailing list