diff options
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106882.patch')
-rw-r--r-- | toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106882.patch | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106882.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106882.patch deleted file mode 100644 index 7ac7645b91..0000000000 --- a/toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106882.patch +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | 2012-03-26 Ulrich Weigand <ulrich.weigand@linaro.org> | ||
2 | |||
3 | LP 960283 | ||
4 | LP 960274 | ||
5 | LP 960817 | ||
6 | |||
7 | Backport from mainline: | ||
8 | |||
9 | gcc/ | ||
10 | PR tree-optimization/52686 | ||
11 | * tree-vect-data-refs.c (vect_get_smallest_scalar_type): Handle | ||
12 | WIDEN_LSHIFT_EXPR. | ||
13 | |||
14 | gcc/testsuite/ | ||
15 | PR tree-optimization/52686 | ||
16 | * gcc.target/arm/pr52686.c: New test. | ||
17 | |||
18 | === added file 'gcc/testsuite/gcc.target/arm/pr52686.c' | ||
19 | --- old/gcc/testsuite/gcc.target/arm/pr52686.c 1970-01-01 00:00:00 +0000 | ||
20 | +++ new/gcc/testsuite/gcc.target/arm/pr52686.c 2012-03-23 16:26:22 +0000 | ||
21 | @@ -0,0 +1,19 @@ | ||
22 | +/* PR target/52375 */ | ||
23 | +/* { dg-do compile } */ | ||
24 | +/* { dg-require-effective-target arm_neon_ok } */ | ||
25 | +/* { dg-options "-march=armv7-a -mfloat-abi=softfp -mfpu=neon -O -ftree-vectorize" } */ | ||
26 | + | ||
27 | +unsigned int output[4]; | ||
28 | + | ||
29 | +void test (unsigned short *p) | ||
30 | +{ | ||
31 | + unsigned int x = *p; | ||
32 | + if (x) | ||
33 | + { | ||
34 | + output[0] = x << 1; | ||
35 | + output[1] = x << 1; | ||
36 | + output[2] = x << 1; | ||
37 | + output[3] = x << 1; | ||
38 | + } | ||
39 | +} | ||
40 | + | ||
41 | |||
42 | === modified file 'gcc/tree-vect-data-refs.c' | ||
43 | --- old/gcc/tree-vect-data-refs.c 2012-01-05 15:35:39 +0000 | ||
44 | +++ new/gcc/tree-vect-data-refs.c 2012-03-23 16:26:22 +0000 | ||
45 | @@ -111,6 +111,7 @@ | ||
46 | if (is_gimple_assign (stmt) | ||
47 | && (gimple_assign_cast_p (stmt) | ||
48 | || gimple_assign_rhs_code (stmt) == WIDEN_MULT_EXPR | ||
49 | + || gimple_assign_rhs_code (stmt) == WIDEN_LSHIFT_EXPR | ||
50 | || gimple_assign_rhs_code (stmt) == FLOAT_EXPR)) | ||
51 | { | ||
52 | tree rhs_type = TREE_TYPE (gimple_assign_rhs1 (stmt)); | ||
53 | |||