On Thu, Jun 3, 2010 at 1:14 PM, Ira Rosen <i...@il.ibm.com> wrote: > > > Richard Guenther <richard.guent...@gmail.com> wrote on 03/06/2010 02:00:00 > PM: > >> >> tree-vectorizer.h:#ifndef TARG_COND_TAKEN_BRANCH_COST >> >> tree-vectorizer.h:#ifndef TARG_COND_NOT_TAKEN_BRANCH_COST >> >> tree-vectorizer.h:#ifndef TARG_SCALAR_STMT_COST >> >> tree-vectorizer.h:#ifndef TARG_SCALAR_LOAD_COST >> >> tree-vectorizer.h:#ifndef TARG_SCALAR_STORE_COST >> >> tree-vectorizer.h:#ifndef TARG_VEC_STMT_COST >> >> tree-vectorizer.h:#ifndef TARG_VEC_TO_SCALAR_COST >> >> tree-vectorizer.h:#ifndef TARG_SCALAR_TO_VEC_COST >> >> tree-vectorizer.h:#ifndef TARG_VEC_LOAD_COST >> >> tree-vectorizer.h:#ifndef TARG_VEC_UNALIGNED_LOAD_COST >> >> tree-vectorizer.h:#ifndef TARG_VEC_STORE_COST >> >> tree-vectorizer.h:#ifndef TARG_VEC_PERMUTE_COST >> >> >> >> Could the vectorizer folks please turn these into target hooks? >> >> Btw, a single cost target hook with an enum argument would be >> preferred here. > > Where is the best place to define such enum?
target.h already has some of them, so that would be the appropriate place. Richard. > Thanks, > Ira > >> >> Richard. >> >> > OK, I'll do that. >> > >> > Ira >> > >> >> >> >> Ciao! >> >> Steven >> > >> > > >