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/0007-Update-MicroBlaze-strings-test-for-new-scan-assembly.patch | |
parent | fb15f2e401ed07f774ea89e0c91ecd927bf09235 (diff) | |
download | meta-xilinx-7935ef724cd7359ed97e6ae3d90ebc8f07dd7e1f.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/0007-Update-MicroBlaze-strings-test-for-new-scan-assembly.patch')
-rw-r--r-- | meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0007-Update-MicroBlaze-strings-test-for-new-scan-assembly.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0007-Update-MicroBlaze-strings-test-for-new-scan-assembly.patch b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0007-Update-MicroBlaze-strings-test-for-new-scan-assembly.patch new file mode 100644 index 00000000..069329fc --- /dev/null +++ b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0007-Update-MicroBlaze-strings-test-for-new-scan-assembly.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | From 4622988b62335af6ef17d58bf10940419fd0f99f Mon Sep 17 00:00:00 2001 | ||
2 | From: Mahesh Bodapati <mbodapat@xilinx.com> | ||
3 | Date: Sat, 26 Aug 2017 19:21:21 -0700 | ||
4 | Subject: [PATCH] Update MicroBlaze strings test for new scan-assembly output | ||
5 | resulting in use of $LC label | ||
6 | |||
7 | ChangeLog/testsuite | ||
8 | |||
9 | 2014-02-14 David Holsgrove <david.holsgrove@xilinx.com> | ||
10 | |||
11 | * gcc/testsuite/gcc.target/microblaze/others/strings1.c: Update | ||
12 | to include $LC label. | ||
13 | |||
14 | Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> | ||
15 | Signed-off-by: Mahesh Bodapati <mbodapat@xilinx.com> | ||
16 | Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | ||
17 | Upstream-Status: Pending | ||
18 | --- | ||
19 | gcc/testsuite/gcc.target/microblaze/others/strings1.c | 6 ++++-- | ||
20 | 1 file changed, 4 insertions(+), 2 deletions(-) | ||
21 | |||
22 | diff --git a/gcc/testsuite/gcc.target/microblaze/others/strings1.c b/gcc/testsuite/gcc.target/microblaze/others/strings1.c | ||
23 | index 7a63faf79f..0403b7bdca 100644 | ||
24 | --- a/gcc/testsuite/gcc.target/microblaze/others/strings1.c | ||
25 | +++ b/gcc/testsuite/gcc.target/microblaze/others/strings1.c | ||
26 | @@ -1,13 +1,15 @@ | ||
27 | /* { dg-options "-O3" } */ | ||
28 | |||
29 | +/* { dg-final { scan-assembler "\.rodata*" } } */ | ||
30 | +/* { dg-final { scan-assembler "addik\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),\\\$LC.*" } } */ | ||
31 | +/* { dg-final { scan-assembler "\lwi\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),*" } } */ | ||
32 | + | ||
33 | #include <string.h> | ||
34 | |||
35 | -/* { dg-final { scan-assembler "\.rodata*" } } */ | ||
36 | extern void somefunc (char *); | ||
37 | int testfunc () | ||
38 | { | ||
39 | char string2[80]; | ||
40 | -/* { dg-final { scan-assembler "\lwi\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r0,.LC*" } } */ | ||
41 | strcpy (string2, "hello"); | ||
42 | somefunc (string2); | ||
43 | } | ||
44 | -- | ||
45 | 2.14.2 | ||
46 | |||