diff options
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99310.patch')
-rw-r--r-- | toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99310.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99310.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99310.patch new file mode 100644 index 0000000000..da95fba790 --- /dev/null +++ b/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99310.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | Backport from mainline (originally from Sourcery G++ 4.4): | ||
2 | |||
3 | gcc/ | ||
4 | 2010-07-07 Jie Zhang <jie@codesourcery.com> | ||
5 | * genautomata.c (output_automata_list_min_issue_delay_code): | ||
6 | Correctly decompress min_issue_delay. | ||
7 | |||
8 | 2010-07-15 Jie Zhang <jie@codesourcery.com> | ||
9 | |||
10 | Issue #8980 | ||
11 | |||
12 | Backport from mainline (originally from Sourcery G++ 4.4): | ||
13 | |||
14 | === modified file 'gcc/genautomata.c' | ||
15 | --- old/gcc/genautomata.c 2009-11-25 10:55:54 +0000 | ||
16 | +++ new/gcc/genautomata.c 2010-07-30 14:21:58 +0000 | ||
17 | @@ -7865,12 +7865,15 @@ | ||
18 | { | ||
19 | fprintf (output_file, ") / %d];\n", | ||
20 | automaton->min_issue_delay_table_compression_factor); | ||
21 | - fprintf (output_file, " %s = (%s >> (8 - (", | ||
22 | + fprintf (output_file, " %s = (%s >> (8 - ((", | ||
23 | TEMPORARY_VARIABLE_NAME, TEMPORARY_VARIABLE_NAME); | ||
24 | output_translate_vect_name (output_file, automaton); | ||
25 | + fprintf (output_file, " [%s] + ", INTERNAL_INSN_CODE_NAME); | ||
26 | + fprintf (output_file, "%s->", CHIP_PARAMETER_NAME); | ||
27 | + output_chip_member_name (output_file, automaton); | ||
28 | + fprintf (output_file, " * %d)", automaton->insn_equiv_classes_num); | ||
29 | fprintf | ||
30 | - (output_file, " [%s] %% %d + 1) * %d)) & %d;\n", | ||
31 | - INTERNAL_INSN_CODE_NAME, | ||
32 | + (output_file, " %% %d + 1) * %d)) & %d;\n", | ||
33 | automaton->min_issue_delay_table_compression_factor, | ||
34 | 8 / automaton->min_issue_delay_table_compression_factor, | ||
35 | (1 << (8 / automaton->min_issue_delay_table_compression_factor)) | ||
36 | |||