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]

RE: [patch] Vectorizer cost model implementation


>you mean to do the following, right?:
>
>      if (!LOOP_VINFO_NITERS_KNOWN_P (loop_vinfo)
>          || LOOP_VINFO_INT_NITERS (loop_vinfo) % vectorization_factor
!= 0
>)
>        vec_outside_cost += 2*TARG_COND_BRANCH_COST;

Yes.

Thanks,
Harsha



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]