[patch] more vectorizer costmodel fixes/improvements + spu costs (needs review)

Andrew Pinski pinskia@gmail.com
Thu Jul 5 20:00:00 GMT 2007


On 7/5/07, Dorit Nuzman <DORIT@il.ibm.com> wrote:
>
> This patch brings over the following patches from autovect-branch:
> http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01981.html
> http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00225.html
>
> I need approval for the bits outside the vectorizer (target.h,
> target-def.h), and for the changes in the spu port.


>         * config/spu/spu.c (spu_builtin_vectorization_cost): New.
>         (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Implement.
>         * config/spu/spu.h (TARG_COND_BRANCH_COST, TARG_SCALAR_STMT_COST):
>         (TARG_SCALAR_LOAD_COST, TARG_SCALAR_STORE_COST,
> TARG_VEC_STMT_COST):
>         (TARG_VEC_TO_SCALAR_COST, TARG_SCALAR_TO_VEC, TARG_VEC_LOAD_COST):
>         (TARG_VEC_UNALIGNED_LOAD_COST, TARG_VEC_STORE_COST): Define.
>

These parts are ok.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list