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] |
Hi, This patch cleans up the reduction code : I removed the creation of "reduction_initial" variable, and stored the (user's) initialization value in the reduction field of the shared struct. At the join of the threads, the loaded value is already correct. (I removed the stmt that joins reduction_initial to the loaded value. 2007-11-13 Razya Ladelsky <razya@il.ibm.com> * tree-parloops.c (reduiction_info): Change documentation of reduction_initial field. (initialize_reductions): Remove creation of reduction_initial variable. (create_loads_for_reductions): don't join reduction_initial to the loaded value. Tested on autopar tescases. Doing a full bootstrap + regression now. Ok to commit once passes testing? Thanks, Razya
Attachment:
diff_cleanup.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |