diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2017-12-13 16:58:34 -0800 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2018-01-12 15:47:59 -0800 |
commit | 7935ef724cd7359ed97e6ae3d90ebc8f07dd7e1f (patch) | |
tree | 7c6faff836ccec34825a97fa7b7c49936e2bc4e2 /meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0005-Testsuite-explicitly-add-fivopts-for-tests-that-depe.patch | |
parent | fb15f2e401ed07f774ea89e0c91ecd927bf09235 (diff) | |
download | meta-xilinx-rocko.tar.gz |
gcc-source: Add all Xilinx MicroBlaze GCC 7.2 patchesrocko
Add all the Xilinx patches for MicroBlaze, this includes a number of
bug fixes, testsuite fixes, feature improvements and additional feature
support.
Important changes:
* v10.0 - CPU support
* v10.0 - Bit-field instruction support
* v10.0 - 8-stage pipeline aka 'frequency' optimized
* Size optimized implementations for shift instructions
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0005-Testsuite-explicitly-add-fivopts-for-tests-that-depe.patch')
-rw-r--r-- | meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0005-Testsuite-explicitly-add-fivopts-for-tests-that-depe.patch | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0005-Testsuite-explicitly-add-fivopts-for-tests-that-depe.patch b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0005-Testsuite-explicitly-add-fivopts-for-tests-that-depe.patch new file mode 100644 index 00000000..b428d121 --- /dev/null +++ b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0005-Testsuite-explicitly-add-fivopts-for-tests-that-depe.patch | |||
@@ -0,0 +1,118 @@ | |||
1 | From 7f0a129701ce9809d79ea4618f3293062bd24bbf Mon Sep 17 00:00:00 2001 | ||
2 | From: Mahesh Bodapati <mbodapat@xilinx.com> | ||
3 | Date: Sat, 26 Aug 2017 19:21:18 -0700 | ||
4 | Subject: [PATCH] Testsuite - explicitly add -fivopts for tests that depend on | ||
5 | it | ||
6 | |||
7 | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> | ||
8 | Signed-off-by: Mahesh Bodapati <mbodapat@xilinx.com> | ||
9 | Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | ||
10 | Upstream-Status: Pending | ||
11 | --- | ||
12 | gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C | 2 +- | ||
13 | gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C | 2 +- | ||
14 | gcc/testsuite/gcc.dg/tree-ssa/loop-2.c | 2 +- | ||
15 | gcc/testsuite/gcc.dg/tree-ssa/loop-4.c | 2 +- | ||
16 | gcc/testsuite/gcc.dg/tree-ssa/loop-5.c | 2 +- | ||
17 | gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c | 2 +- | ||
18 | gcc/testsuite/gcc.dg/tree-ssa/pr19590.c | 2 +- | ||
19 | gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c | 2 +- | ||
20 | 8 files changed, 8 insertions(+), 8 deletions(-) | ||
21 | |||
22 | diff --git a/gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C b/gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C | ||
23 | index 438db88204..ede883eb28 100644 | ||
24 | --- a/gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C | ||
25 | +++ b/gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C | ||
26 | @@ -1,5 +1,5 @@ | ||
27 | /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */ | ||
28 | -/* { dg-options "-O2 -fdump-tree-ivopts-details" } */ | ||
29 | +/* { dg-options "-O2 -fivopts -fdump-tree-ivopts-details" } */ | ||
30 | |||
31 | void test (int *b, int *e, int stride) | ||
32 | { | ||
33 | diff --git a/gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C b/gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C | ||
34 | index eb72581390..02f3ea4a7d 100644 | ||
35 | --- a/gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C | ||
36 | +++ b/gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C | ||
37 | @@ -1,5 +1,5 @@ | ||
38 | // { dg-do compile } | ||
39 | -// { dg-options "-O2 -fdump-tree-ivopts-details" } | ||
40 | +// { dg-options "-O2 -fivopts -fdump-tree-ivopts-details" } | ||
41 | |||
42 | class MinimalVec3 | ||
43 | { | ||
44 | diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c | ||
45 | index bda2516735..22c8a5dcff 100644 | ||
46 | --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c | ||
47 | +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c | ||
48 | @@ -1,7 +1,7 @@ | ||
49 | /* A test for strength reduction and induction variable elimination. */ | ||
50 | |||
51 | /* { dg-do compile } */ | ||
52 | -/* { dg-options "-O1 -fdump-tree-optimized" } */ | ||
53 | +/* { dg-options "-O1 -fivopts -fdump-tree-optimized" } */ | ||
54 | /* { dg-require-effective-target size32plus } */ | ||
55 | |||
56 | /* Size of this structure should be sufficiently weird so that no memory | ||
57 | diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c | ||
58 | index f0770abdbb..65d74c8e62 100644 | ||
59 | --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c | ||
60 | +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c | ||
61 | @@ -1,7 +1,7 @@ | ||
62 | /* A test for strength reduction and induction variable elimination. */ | ||
63 | |||
64 | /* { dg-do compile } */ | ||
65 | -/* { dg-options "-O1 -fdump-tree-optimized" } */ | ||
66 | +/* { dg-options "-O1 -fivopts -fdump-tree-optimized" } */ | ||
67 | /* { dg-require-effective-target size32plus } */ | ||
68 | |||
69 | /* Size of this structure should be sufficiently weird so that no memory | ||
70 | diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-5.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-5.c | ||
71 | index 5f42857fe1..9bc86ee0d2 100644 | ||
72 | --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-5.c | ||
73 | +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-5.c | ||
74 | @@ -1,7 +1,7 @@ | ||
75 | /* A test for induction variable merging. */ | ||
76 | |||
77 | /* { dg-do compile } */ | ||
78 | -/* { dg-options "-O1 -fdump-tree-optimized" } */ | ||
79 | +/* { dg-options "-O1 -fivopts -fdump-tree-optimized" } */ | ||
80 | |||
81 | void foo(long); | ||
82 | |||
83 | diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c b/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c | ||
84 | index 3c8ee06016..db192a657f 100644 | ||
85 | --- a/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c | ||
86 | +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c | ||
87 | @@ -1,5 +1,5 @@ | ||
88 | /* { dg-do compile } */ | ||
89 | -/* { dg-options "-O2 -Wunsafe-loop-optimizations" } */ | ||
90 | +/* { dg-options "-O2 -fivopts -Wunsafe-loop-optimizations" } */ | ||
91 | extern void g(void); | ||
92 | |||
93 | void | ||
94 | diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr19590.c b/gcc/testsuite/gcc.dg/tree-ssa/pr19590.c | ||
95 | index 2c6cfc6f83..648e6e67e8 100644 | ||
96 | --- a/gcc/testsuite/gcc.dg/tree-ssa/pr19590.c | ||
97 | +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr19590.c | ||
98 | @@ -1,5 +1,5 @@ | ||
99 | /* { dg-do compile } */ | ||
100 | -/* { dg-options "-O2 -fdump-tree-ivopts" } */ | ||
101 | +/* { dg-options "-O2 -fivopts -fdump-tree-ivopts" } */ | ||
102 | |||
103 | void vnum_test8(int *data) | ||
104 | { | ||
105 | diff --git a/gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c b/gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c | ||
106 | index e911bfcd52..5d3e7e0801 100644 | ||
107 | --- a/gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c | ||
108 | +++ b/gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c | ||
109 | @@ -1,5 +1,5 @@ | ||
110 | /* { dg-do compile } */ | ||
111 | -/* { dg-options "-Os -fdump-tree-optimized" } */ | ||
112 | +/* { dg-options "-Os -fivopts -fdump-tree-optimized" } */ | ||
113 | |||
114 | /* Slightly changed testcase from PR middle-end/40815. */ | ||
115 | void bar(char*, char*, int); | ||
116 | -- | ||
117 | 2.14.2 | ||
118 | |||