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] |
Thanks. The following was just commited. dorit * tree-vectorizer.c: New file. Implements loop vectorization pass. * tree-vectorizer.h: New file. * Makefile.in: (tree-vectorizer.c,tree-vectorizer.h): New files. * tree-dump.c: (dump_files): New dump file for the new vectorization pass. * tree.h: (TDI_vect): New dump index for the new vectorization pass. * timevar.def (TV_TREE_VECTORIZATION): Support new vectorization pass. * opts.c: (flag_tree_vetorize): New flag to enable/disable the new vectorization pass. * flags.h: Same. * toplev.c: Same. * common.opt: (ftree-vectorize): Same. * doc/invoke.texi: Document above new options. * tree-optimize.c: (optimize_function_tree): Invoke the new vetorization pass. * tree-flow.h: (struct stmt_ann_d): New field (aux) to allow recording information per stmt. * tree-data-ref.c (vec_analyze_array): New function, exposing API to the vectorizer. (vec_array_base_name_differ_p): New function, exposing API to the vectorizer. * tree-data-ref.h: Same. * defaults.h: (UNITS_PER_SIMD_WORD): Define. * config/rs6000/rs6000.h: (UNITS_PER_SIMD_WORD): Same. * target-def.h (TARGET_VECTYPE_FOR_SCALAR_TYPE): Declare a new target hook for vectorization. * target.h (vectype_for_scalar_type): Same. * config/rs6000/rs6000.c: (rs6000_vectype_for_scalar_type): Implement the above new target hook. (See attached file: tree-vectorizer_h)(See attached file: tree-vectorizer_c)(See attached file: out_diff) Andreas Jaeger <aj@suse.de> To: Dorit Naishlos/Haifa/IBM@IBMIL cc: gcc-patches@gcc.gnu.org, Pop Sébastian <pop@gauvain.u-strasbg.fr> 01/01/2004 20:47 Subject: Re: [tree-ssa-lno] vectorizer patch. Dorit Naishlos <DORIT@il.ibm.com> writes: Just some stylistic nits: > * tree-vectorizer.c: new file. Implements loop vectorization pass. Please use full sentences starting with a capital letter, e.g. New file. > * tree-vectorizer.h: new file. > * Makefile.in: new files tree-vectorizer.c,h And close with a point: Add new files tree-vectorizer.c,h. > * tree-dump.c: (dump_files): new dump file for the new > vectorization pass. > * tree.h: (TDI_vect): Same. Where does same apply to? You might want to move it *after* timevar.def if that comment applies. > * timevar.def (TV_TREE_VECTORIZATION): support new > vectorization pass. > * opts.c: (flag_tree_vetorize): new flag to enable/disable the > new vectorization pass. > * flags.h: Same. > * toplev.c: Same. > * common.opt: (ftree-vectorize): Same. > * docs/invoke.texi: Document above new options. > * tree-optimize.c: (optimize_function_tree): Invoke the new > vetorization pass. > * tree-flow.h: (struct stmt_ann_d): New field (aux) to allow > recording information per stmt. > * tree-data-ref.c (vec_analyze_array): New function, exposing > API to the vectorizer. > (vec_array_base_name_differ_p): New function, exposing API to > the vectorizer. > * tree-data-ref.h: Same. > * defaults.h: (UNITS_PER_SIMD_WORD): Define. > * config/rs6000/rs6000.h: Same. If it's the same, you need to add (UNITS_PER_SIMD_WORD). > * target-def.h (TARGET_VECTYPE_FOR_SCALAR_TYPE): Declare a new > target hook for vectorization. > * target.h (vectype_for_scalar_type): Same. > * config/rs6000/rs6000.c: (rs6000_vectype_for_scalar_type): > implement the above new target hook. Cheers, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 #### C.DTF has been removed from this note on January 01, 2004 by Dorit Naishlos
Attachment:
tree-vectorizer_h
Description: Binary data
Attachment:
tree-vectorizer_c
Description: Binary data
Attachment:
out_diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |