[arm-embedded] Backport r174965 from trunk to ARM/embedded-4_6-branch

Joey Ye joey.ye@arm.com
Tue Sep 6 04:09:00 GMT 2011


> -----Original Message-----
> From: Terry Guo
> Sent: Monday, September 05, 2011 17:18
> To: Joey Ye; gcc-patches@gcc.gnu.org
> Subject: [arm-embedded] Backport r174965 from trunk to ARM/embedded-
> 4_6-branch
> 
> Hi,
> 
> The checkin at r174965 in trunk fixed vect-27.c failure for ARM EABI
> target.
> Detailed information please refer to
> http://gcc.gnu.org/ml/gcc-patches/2011-06/msg00927.html.
> 
> Performed regression test on arm QEMU and no regression.
> 
> OK to ARM/embedded-4_6-branch?
OK

> 
> BR,
> Terry
> 
> 2011-09-05  Terry Guo  <terry.guo@arm.com>
> 
> 	Backport r174965 from trunk.
> 
> 	2011-06-12  Ira Rosen  <ira.rosen@linaro.org>
> 
> 		* tree-vect-data-refs.c
> (vect_peeling_hash_get_most_frequent):
> 		Take number of iterations to peel into account for equally
> frequent
> 		misalignment values.
> 
> Index: gcc/tree-vect-data-refs.c
> ===================================================================
> --- gcc/tree-vect-data-refs.c	(revision 178517)
> +++ gcc/tree-vect-data-refs.c	(working copy)
> @@ -1250,7 +1250,9 @@
>    vect_peel_info elem = (vect_peel_info) *slot;
>    vect_peel_extended_info max = (vect_peel_extended_info) data;
> 
> -  if (elem->count > max->peel_info.count)
> +  if (elem->count > max->peel_info.count
> +      || (elem->count == max->peel_info.count
> +          && max->peel_info.npeel > elem->npeel))
>      {
>        max->peel_info.npeel = elem->npeel;
>        max->peel_info.count = elem->count;
> 





More information about the Gcc-patches mailing list