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 Deigo, This patch tuplifies tree-ssa-math-opts.c and re-enables the 3 passes there. It breaks no existing passing tests and fixes 11 tests. -Doug 2008-04-04 Doug Kwan <dougkwan@google.com> * tree-ssa-math-opts.c (struct occurrence): Change field type of recip_def_stmt to gimple. (is_division_by): Tuplify. (insert_reciprocals): Tuplify. (replace_reciprocals): Tuplify. (execute_cse_reciprocals_1): Tuplify. (execute_cse_reciprocals): Tuplify. (maybe_record_sincos): Use vector of gimples instead of vector of trees. (execute_cse_sincos_1): Tuplify. When adjusting recorded old call sites, generate new gimple assign staetments and remove old gimple call statements. (execute_cse_sincos): Tuplify. (execute_convert_to_rsqrt): Tuplify. * passes.c (init_optimization_passes): Enable pass_cse_sincos, pass_cse_reciprocals and pass_convert_to_rsqrt.
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |