http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49443

--- Comment #7 from Ulrich Weigand <uweigand at gcc dot gnu.org> 2012-08-10 
13:26:51 UTC ---
Author: uweigand
Date: Fri Aug 10 13:26:44 2012
New Revision: 190296

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190296
Log:
ChangeLog:

    Backport from mainline
    2012-07-30  Ulrich Weigand  <ulrich.weig...@linaro.org>
            Richard Earnshaw  <rearn...@arm.com>

    * target.def (vector_alignment): New target hook.
    * doc/tm.texi.in (TARGET_VECTOR_ALIGNMENT): Document new hook.
    * doc/tm.texi: Regenerate.
    * targhooks.c (default_vector_alignment): New function.
    * targhooks.h (default_vector_alignment): Add prototype.
    * stor-layout.c (layout_type): Use targetm.vector_alignment.
    * config/arm/arm.c (arm_vector_alignment): New function.
    (TARGET_VECTOR_ALIGNMENT): Define.

    * tree-vect-data-refs.c (vect_update_misalignment_for_peel): Use
    vector type alignment instead of size.
    * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Use
    element type size directly instead of computing it from alignment.
    Fix variable naming and comment.


testsuite/ChangeLog:

    Backport from mainline
    2012-07-30  Ulrich Weigand  <ulrich.weig...@linaro.org>

    * lib/target-supports.exp
    (check_effective_target_vect_natural_alignment): New function.
    * gcc.dg/align-2.c: Only run on targets with natural alignment
    of vector types.
    * gcc.dg/vect/slp-25.c: Adjust tests for targets without natural
    alignment of vector types.

    2011-12-21  Michael Zolotukhin  <michael.v.zolotuk...@intel.com>

    * gcc.dg/vect/vect-peel-1.c: Adjust test diag-scans to fix fail on AVX.
    * gcc.dg/vect/vect-peel-2.c: Ditto.

    2011-06-21  Ira Rosen  <ira.ro...@linaro.org>

    PR testsuite/49443
    * gcc.dg/vect/vect-peel-3.c: Expect to fail on vect_no_align
    targets.
    * gcc.dg/vect/vect-peel-4.c: Likewise.

    2011-06-14  Ira Rosen  <ira.ro...@linaro.org>

    * gcc.dg/vect/vect-peel-3.c: Adjust misalignment values
    for double-word vectors.
    * gcc.dg/vect/vect-peel-4.c: Likewise.

Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/config/arm/arm.c
    branches/gcc-4_6-branch/gcc/doc/tm.texi
    branches/gcc-4_6-branch/gcc/doc/tm.texi.in
    branches/gcc-4_6-branch/gcc/stor-layout.c
    branches/gcc-4_6-branch/gcc/target.def
    branches/gcc-4_6-branch/gcc/targhooks.c
    branches/gcc-4_6-branch/gcc/targhooks.h
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/align-2.c
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/vect/slp-25.c
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/vect/vect-peel-1.c
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/vect/vect-peel-2.c
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/vect/vect-peel-3.c
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/vect/vect-peel-4.c
    branches/gcc-4_6-branch/gcc/testsuite/lib/target-supports.exp
    branches/gcc-4_6-branch/gcc/tree-vect-data-refs.c
    branches/gcc-4_6-branch/gcc/tree-vect-loop-manip.c

Reply via email to