diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-02 22:03:58 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-02 22:12:02 +0100 |
commit | be10a6b1321f250b1034c7d9d0a8ef18b296eef1 (patch) | |
tree | 9249025cbfbfbee4cc430d62b27f75301dd4dfde /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99378.patch | |
parent | 93b28937ac67ba46d65f55637e42552e224aa7e2 (diff) | |
download | meta-openembedded-be10a6b1321f250b1034c7d9d0a8ef18b296eef1.tar.gz |
angstrom-layers: meta-openembedded: replace poky gcc 4.5 sources with OE ones
This needs further investigation, but for now we can get the tested sources into the poky gcc harness
Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99378.patch')
-rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99378.patch | 159 |
1 files changed, 159 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99378.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99378.patch new file mode 100644 index 0000000000..aacf19b7c9 --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99378.patch | |||
@@ -0,0 +1,159 @@ | |||
1 | 2010-08-27 Paul Brook <paul@codesourcery.com> | ||
2 | |||
3 | gcc/ | ||
4 | * config/arm/thumb2.md (thumb_andsi_not_shiftsi_si, | ||
5 | thumb2_notsi_shiftsi, thumb2_notsi_shiftsi_compare0, | ||
6 | thumb2_not_shiftsi_compare0_scratch, thumb2_cmpsi_shiftsi, | ||
7 | thumb2_cmpsi_shiftsi_swp, thumb2_cmpsi_neg_shiftsi, | ||
8 | thumb2_arith_shiftsi, thumb2_arith_shiftsi_compare0, | ||
9 | thumb2_arith_shiftsi_compare0_scratch, thumb2_sub_shiftsi, | ||
10 | thumb2_sub_shiftsi_compare0, thumb2_sub_shiftsi_compare0_scratch): | ||
11 | Use const_shift_count predicate for "M" constraints. | ||
12 | * config/arm/predicates.md (const_shift_operand): Remove. | ||
13 | (const_shift_count): New. | ||
14 | |||
15 | gcc/testsuite/ | ||
16 | * gcc.dg/long-long-shift-1.c: New test. | ||
17 | |||
18 | 2010-08-26 Paul Brook <paul@codesourcery.com> | ||
19 | |||
20 | Merge from Sourcery G++ 4.3/4.4: | ||
21 | |||
22 | === modified file 'gcc/config/arm/predicates.md' | ||
23 | --- old/gcc/config/arm/predicates.md 2010-08-12 13:35:39 +0000 | ||
24 | +++ new/gcc/config/arm/predicates.md 2010-08-31 09:40:16 +0000 | ||
25 | @@ -318,10 +318,9 @@ | ||
26 | (and (match_code "reg,subreg,mem") | ||
27 | (match_operand 0 "nonimmediate_soft_df_operand")))) | ||
28 | |||
29 | -(define_predicate "const_shift_operand" | ||
30 | +(define_predicate "const_shift_count" | ||
31 | (and (match_code "const_int") | ||
32 | - (ior (match_operand 0 "power_of_two_operand") | ||
33 | - (match_test "((unsigned HOST_WIDE_INT) INTVAL (op)) < 32")))) | ||
34 | + (match_test "((unsigned HOST_WIDE_INT) INTVAL (op)) < 32"))) | ||
35 | |||
36 | |||
37 | (define_special_predicate "load_multiple_operation" | ||
38 | |||
39 | === modified file 'gcc/config/arm/thumb2.md' | ||
40 | --- old/gcc/config/arm/thumb2.md 2010-08-13 16:00:58 +0000 | ||
41 | +++ new/gcc/config/arm/thumb2.md 2010-08-31 09:40:16 +0000 | ||
42 | @@ -55,7 +55,7 @@ | ||
43 | [(set (match_operand:SI 0 "s_register_operand" "=r") | ||
44 | (and:SI (not:SI (match_operator:SI 4 "shift_operator" | ||
45 | [(match_operand:SI 2 "s_register_operand" "r") | ||
46 | - (match_operand:SI 3 "const_int_operand" "M")])) | ||
47 | + (match_operand:SI 3 "const_shift_count" "M")])) | ||
48 | (match_operand:SI 1 "s_register_operand" "r")))] | ||
49 | "TARGET_THUMB2" | ||
50 | "bic%?\\t%0, %1, %2%S4" | ||
51 | @@ -124,7 +124,7 @@ | ||
52 | [(set (match_operand:SI 0 "s_register_operand" "=r") | ||
53 | (not:SI (match_operator:SI 3 "shift_operator" | ||
54 | [(match_operand:SI 1 "s_register_operand" "r") | ||
55 | - (match_operand:SI 2 "const_int_operand" "M")])))] | ||
56 | + (match_operand:SI 2 "const_shift_count" "M")])))] | ||
57 | "TARGET_THUMB2" | ||
58 | "mvn%?\\t%0, %1%S3" | ||
59 | [(set_attr "predicable" "yes") | ||
60 | @@ -136,7 +136,7 @@ | ||
61 | [(set (reg:CC_NOOV CC_REGNUM) | ||
62 | (compare:CC_NOOV (not:SI (match_operator:SI 3 "shift_operator" | ||
63 | [(match_operand:SI 1 "s_register_operand" "r") | ||
64 | - (match_operand:SI 2 "const_int_operand" "M")])) | ||
65 | + (match_operand:SI 2 "const_shift_count" "M")])) | ||
66 | (const_int 0))) | ||
67 | (set (match_operand:SI 0 "s_register_operand" "=r") | ||
68 | (not:SI (match_op_dup 3 [(match_dup 1) (match_dup 2)])))] | ||
69 | @@ -151,7 +151,7 @@ | ||
70 | [(set (reg:CC_NOOV CC_REGNUM) | ||
71 | (compare:CC_NOOV (not:SI (match_operator:SI 3 "shift_operator" | ||
72 | [(match_operand:SI 1 "s_register_operand" "r") | ||
73 | - (match_operand:SI 2 "const_int_operand" "M")])) | ||
74 | + (match_operand:SI 2 "const_shift_count" "M")])) | ||
75 | (const_int 0))) | ||
76 | (clobber (match_scratch:SI 0 "=r"))] | ||
77 | "TARGET_THUMB2" | ||
78 | @@ -328,7 +328,7 @@ | ||
79 | (compare:CC (match_operand:SI 0 "s_register_operand" "r") | ||
80 | (match_operator:SI 3 "shift_operator" | ||
81 | [(match_operand:SI 1 "s_register_operand" "r") | ||
82 | - (match_operand:SI 2 "const_int_operand" "M")])))] | ||
83 | + (match_operand:SI 2 "const_shift_count" "M")])))] | ||
84 | "TARGET_THUMB2" | ||
85 | "cmp%?\\t%0, %1%S3" | ||
86 | [(set_attr "conds" "set") | ||
87 | @@ -340,7 +340,7 @@ | ||
88 | [(set (reg:CC_SWP CC_REGNUM) | ||
89 | (compare:CC_SWP (match_operator:SI 3 "shift_operator" | ||
90 | [(match_operand:SI 1 "s_register_operand" "r") | ||
91 | - (match_operand:SI 2 "const_int_operand" "M")]) | ||
92 | + (match_operand:SI 2 "const_shift_count" "M")]) | ||
93 | (match_operand:SI 0 "s_register_operand" "r")))] | ||
94 | "TARGET_THUMB2" | ||
95 | "cmp%?\\t%0, %1%S3" | ||
96 | @@ -354,7 +354,7 @@ | ||
97 | (compare:CC (match_operand:SI 0 "s_register_operand" "r") | ||
98 | (neg:SI (match_operator:SI 3 "shift_operator" | ||
99 | [(match_operand:SI 1 "s_register_operand" "r") | ||
100 | - (match_operand:SI 2 "const_int_operand" "M")]))))] | ||
101 | + (match_operand:SI 2 "const_shift_count" "M")]))))] | ||
102 | "TARGET_THUMB2" | ||
103 | "cmn%?\\t%0, %1%S3" | ||
104 | [(set_attr "conds" "set") | ||
105 | @@ -466,7 +466,7 @@ | ||
106 | (match_operator:SI 1 "shiftable_operator" | ||
107 | [(match_operator:SI 3 "shift_operator" | ||
108 | [(match_operand:SI 4 "s_register_operand" "r") | ||
109 | - (match_operand:SI 5 "const_int_operand" "M")]) | ||
110 | + (match_operand:SI 5 "const_shift_count" "M")]) | ||
111 | (match_operand:SI 2 "s_register_operand" "r")]))] | ||
112 | "TARGET_THUMB2" | ||
113 | "%i1%?\\t%0, %2, %4%S3" | ||
114 | @@ -499,7 +499,7 @@ | ||
115 | (compare:CC_NOOV (match_operator:SI 1 "shiftable_operator" | ||
116 | [(match_operator:SI 3 "shift_operator" | ||
117 | [(match_operand:SI 4 "s_register_operand" "r") | ||
118 | - (match_operand:SI 5 "const_int_operand" "M")]) | ||
119 | + (match_operand:SI 5 "const_shift_count" "M")]) | ||
120 | (match_operand:SI 2 "s_register_operand" "r")]) | ||
121 | (const_int 0))) | ||
122 | (set (match_operand:SI 0 "s_register_operand" "=r") | ||
123 | @@ -517,7 +517,7 @@ | ||
124 | (compare:CC_NOOV (match_operator:SI 1 "shiftable_operator" | ||
125 | [(match_operator:SI 3 "shift_operator" | ||
126 | [(match_operand:SI 4 "s_register_operand" "r") | ||
127 | - (match_operand:SI 5 "const_int_operand" "M")]) | ||
128 | + (match_operand:SI 5 "const_shift_count" "M")]) | ||
129 | (match_operand:SI 2 "s_register_operand" "r")]) | ||
130 | (const_int 0))) | ||
131 | (clobber (match_scratch:SI 0 "=r"))] | ||
132 | @@ -533,7 +533,7 @@ | ||
133 | (minus:SI (match_operand:SI 1 "s_register_operand" "r") | ||
134 | (match_operator:SI 2 "shift_operator" | ||
135 | [(match_operand:SI 3 "s_register_operand" "r") | ||
136 | - (match_operand:SI 4 "const_int_operand" "M")])))] | ||
137 | + (match_operand:SI 4 "const_shift_count" "M")])))] | ||
138 | "TARGET_THUMB2" | ||
139 | "sub%?\\t%0, %1, %3%S2" | ||
140 | [(set_attr "predicable" "yes") | ||
141 | @@ -547,7 +547,7 @@ | ||
142 | (minus:SI (match_operand:SI 1 "s_register_operand" "r") | ||
143 | (match_operator:SI 2 "shift_operator" | ||
144 | [(match_operand:SI 3 "s_register_operand" "r") | ||
145 | - (match_operand:SI 4 "const_int_operand" "M")])) | ||
146 | + (match_operand:SI 4 "const_shift_count" "M")])) | ||
147 | (const_int 0))) | ||
148 | (set (match_operand:SI 0 "s_register_operand" "=r") | ||
149 | (minus:SI (match_dup 1) (match_op_dup 2 [(match_dup 3) | ||
150 | @@ -565,7 +565,7 @@ | ||
151 | (minus:SI (match_operand:SI 1 "s_register_operand" "r") | ||
152 | (match_operator:SI 2 "shift_operator" | ||
153 | [(match_operand:SI 3 "s_register_operand" "r") | ||
154 | - (match_operand:SI 4 "const_int_operand" "M")])) | ||
155 | + (match_operand:SI 4 "const_shift_count" "M")])) | ||
156 | (const_int 0))) | ||
157 | (clobber (match_scratch:SI 0 "=r"))] | ||
158 | "TARGET_THUMB2" | ||
159 | |||