This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [patch] Vectorizer cost model implementation
- From: "Jagasia, Harsha" <harsha dot jagasia at amd dot com>
- To: "Dorit Nuzman" <DORIT at il dot ibm dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>, "Meissner, Michael" <michael dot meissner at amd dot com>, "Linthicum, Tony" <tony dot linthicum at amd dot com>
- Date: Wed, 25 Apr 2007 10:08:48 -0500
- Subject: 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