]>
Commit | Line | Data |
---|---|---|
52fceb44 SN |
1 | 2013-07-18 Sofiane Naci <sofiane.naci@arm.com> |
2 | ||
3 | * config/arm/arm.md (attribute "insn"): Delete values "mrs", "msr", | |
4 | "xtab" and "sat". Move value "clz" from here to ... | |
5 | (attriubte "type"): ... here. | |
6 | (satsi_<SAT:code>): Delete "insn" attribute. | |
7 | (satsi_<SAT:code>_shift): Likewise. | |
8 | (arm_zero_extendqisi2addsi): Likewise. | |
9 | (arm_extendqisi2addsi): Likewise. | |
10 | (clzsi2): Update for attribute changes. | |
11 | (rbitsi2): Likewise. | |
12 | * config/arm/arm-fixed.md (arm_ssatsihi_shift): Delete "insn" attribute. | |
13 | (arm_usatsihi): Likewise. | |
14 | * config/arm/cortex-a8.md (cortex_a8_alu): Update for attribute change. | |
15 | ||
006bd006 SN |
16 | 2013-07-18 Sofiane Naci <sofiane.naci@arm.com> |
17 | ||
18 | * config/arm/arm.md (attribute "type"): Rename "simple_alu_imm" to | |
19 | "arlo_imm". Rename "alu_reg" to "arlo_reg". Rename "simple_alu_shift" to | |
20 | "extend". Split "alu_shift" into "shift" and "arlo_shift". Split | |
21 | "alu_shift_reg" into "shift_reg" and "arlo_shift_reg". List types | |
22 | in alphabetical order. | |
23 | (attribute "core_cycles"): Update for attribute changes. | |
24 | (arm_addsi3): Likewise. | |
25 | (addsi3_compare0): Likewise. | |
26 | (addsi3_compare0_scratch): Likewise. | |
27 | (addsi3_compare_op1): Likewise. | |
28 | (addsi3_compare_op2): Likewise. | |
29 | (compare_addsi2_op0): Likewise. | |
30 | (compare_addsi2_op1): Likewise. | |
31 | (addsi3_carryin_shift_<optab>): Likewise. | |
32 | (subsi3_carryin_shift): Likewise. | |
33 | (rsbsi3_carryin_shift): Likewise. | |
34 | (arm_subsi3_insn): Likewise. | |
35 | (subsi3_compare0): Likewise. | |
36 | (subsi3_compare): Likewise. | |
37 | (arm_andsi3_insn): Likewise. | |
38 | (thumb1_andsi3_insn): Likewise. | |
39 | (andsi3_compare0): Likewise. | |
40 | (andsi3_compare0_scratch): Likewise. | |
41 | (zeroextractsi_compare0_scratch | |
42 | (andsi_not_shiftsi_si): Likewise. | |
43 | (iorsi3_insn): Likewise. | |
44 | (iorsi3_compare0): Likewise. | |
45 | (iorsi3_compare0_scratch): Likewise. | |
46 | (arm_xorsi3): Likewise. | |
47 | (thumb1_xorsi3_insn): Likewise. | |
48 | (xorsi3_compare0): Likewise. | |
49 | (xorsi3_compare0_scratch): Likewise. | |
50 | (satsi_<SAT:code>_shift): Likewise. | |
51 | (rrx): Likewise. | |
52 | (arm_shiftsi3): Likewise. | |
53 | (shiftsi3_compare0): Likewise. | |
54 | (not_shiftsi): Likewise. | |
55 | (not_shiftsi_compare0): Likewise. | |
56 | (not_shiftsi_compare0_scratch): Likewise. | |
57 | (arm_one_cmplsi2): Likewise. | |
58 | (thumb_one_complsi2): Likewise. | |
59 | (notsi_compare0): Likewise. | |
60 | (notsi_compare0_scratch): Likewise. | |
61 | (thumb1_zero_extendhisi2): Likewise. | |
62 | (arm_zero_extendhisi2): Likewise. | |
63 | (arm_zero_extendhisi2_v6): Likewise. | |
64 | (arm_zero_extendhisi2addsi): Likewise. | |
65 | (thumb1_zero_extendqisi2): Likewise. | |
66 | (thumb1_zero_extendqisi2_v6): Likewise. | |
67 | (arm_zero_extendqisi2): Likewise. | |
68 | (arm_zero_extendqisi2_v6): Likewise. | |
69 | (arm_zero_extendqisi2addsi): Likewise. | |
70 | (thumb1_extendhisi2): Likewise. | |
71 | (arm_extendhisi2): Likewise. | |
72 | (arm_extendhisi2_v6): Likewise. | |
73 | (arm_extendqisi): Likewise. | |
74 | (arm_extendqisi_v6): Likewise. | |
75 | (arm_extendqisi2addsi): Likewise. | |
76 | (thumb1_extendqisi2): Likewise. | |
77 | (thumb1_movdi_insn): Likewise. | |
78 | (arm_movsi_insn): Likewise. | |
79 | (movsi_compare0): Likewise. | |
80 | (movhi_insn_arch4): Likewise. | |
81 | (movhi_bytes): Likewise. | |
82 | (arm_movqi_insn): Likewise. | |
83 | (thumb1_movqi_insn): Likewise. | |
84 | (arm32_movhf): Likewise. | |
85 | (thumb1_movhf): Likewise. | |
86 | (arm_movsf_soft_insn): Likewise. | |
87 | (thumb1_movsf_insn): Likewise. | |
88 | (movdf_soft_insn): Likewise. | |
89 | (thumb_movdf_insn): Likewise. | |
90 | (arm_cmpsi_insn): Likewise. | |
91 | (cmpsi_shiftsi): Likewise. | |
92 | (cmpsi_shiftsi_swp): Likewise. | |
93 | (arm_cmpsi_negshiftsi_si): Likewise. | |
94 | (movsicc_insn): Likewise. | |
95 | (movsfcc_soft_insn): Likewise. | |
96 | (arith_shiftsi): Likewise. | |
97 | (arith_shiftsi_compare0 | |
98 | (arith_shiftsi_compare0_scratch | |
99 | (sub_shiftsi): Likewise. | |
100 | (sub_shiftsi_compare0 | |
101 | (sub_shiftsi_compare0_scratch | |
102 | (and_scc): Likewise. | |
103 | (cond_move): Likewise. | |
104 | (if_plus_move): Likewise. | |
105 | (if_move_plus): Likewise. | |
106 | (if_move_not): Likewise. | |
107 | (if_not_move): Likewise. | |
108 | (if_shift_move): Likewise. | |
109 | (if_move_shift): Likewise. | |
110 | (if_shift_shift): Likewise. | |
111 | (if_not_arith): Likewise. | |
112 | (if_arith_not): Likewise. | |
113 | (cond_move_not): Likewise. | |
114 | (thumb1_ashlsi3): Set type attribute. | |
115 | (thumb1_ashrsi3): Likewise. | |
116 | (thumb1_lshrsi3): Likewise. | |
117 | (thumb1_rotrsi3): Likewise. | |
118 | (shiftsi3_compare0_scratch): Likewise. | |
119 | * config/arm/neon.md (neon_mov<mode>): Update for attribute changes. | |
120 | (neon_mov<mode>): Likewise. | |
121 | * config/arm/thumb2.md (thumb_andsi_not_shiftsi_si): Update for attribute | |
122 | changes. | |
123 | (thumb2_movsi_insn): Likewise. | |
124 | (thumb2_cmpsi_neg_shiftsi): Likewise. | |
125 | (thumb2_extendqisi_v6): Likewise. | |
126 | (thumb2_zero_extendhisi2_v6): Likewise. | |
127 | (thumb2_zero_extendqisi2_v6): Likewise. | |
128 | (thumb2_shiftsi3_short): Likewise. | |
129 | (thumb2_addsi3_compare0_scratch): Likewise. | |
130 | (orsi_not_shiftsi_si): Likewise. | |
131 | * config/arm/vfp.md (arm_movsi_vfp): Update for attribute changes. | |
132 | * config/arm/arm-fixed.md (arm_ssatsihi_shift): Update for attribute | |
133 | changes. | |
134 | * config/arm/arm1020e.md (1020alu_op): Update for attribute changes. | |
135 | (1020alu_shift_op): Likewise. | |
136 | (1020alu_shift_reg_op): Likewise. | |
137 | * config/arm/arm1026ejs.md (alu_op): Update for attribute changes. | |
138 | (alu_shift_op): Likewise. | |
139 | (alu_shift_reg_op): Likewise. | |
140 | * config/arm/arm1136jfs.md (11_alu_op): Update for attribute changes. | |
141 | (11_alu_shift_op): Likewise. | |
142 | (11_alu_shift_reg_op): Likewise. | |
143 | * config/arm/arm926ejs.md (9_alu_op): Update for attribute changes. | |
144 | (9_alu_shift_reg_op): Likewise. | |
145 | * config/arm/cortex-a15.md (cortex_a15_alu): Update for attribute changes. | |
146 | (cortex_a15_alu_shift): Likewise. | |
147 | (cortex_a15_alu_shift_reg): Likewise. | |
148 | * config/arm/cortex-a5.md (cortex_a5_alu): Update for attribute changes. | |
149 | (cortex_a5_alu_shift): Likewise. | |
150 | * config/arm/cortex-a53.md (cortex_a53_alu) : Update for attribute | |
151 | changes. | |
152 | (cortex_a53_alu_shift): Likewise. | |
153 | * config/arm/cortex-a7.md (cortex_a7_alu_imm): Update for attribute | |
154 | changes. | |
155 | (cortex_a7_alu_reg): Likewise. | |
156 | (cortex_a7_alu_shift): Likewise. | |
157 | * config/arm/cortex-a8.md (cortex_a8_alu): Update for attribute changes. | |
158 | (cortex_a8_alu_shift): Likewise. | |
159 | (cortex_a8_alu_shift_reg): Likewise. | |
160 | (cortex_a8_mov): Likewise. | |
161 | * config/arm/cortex-a9.md (cortex_a9_dp): Update for attribute changes. | |
162 | (cortex_a9_dp_shift): Likewise. | |
163 | * config/arm/cortex-m4.md (cortex_m4_alu): Update for attribute changes. | |
164 | * config/arm/cortex-r4.md (cortex_r4_alu): Update for attribute changes. | |
165 | (cortex_r4_mov): Likewise. | |
166 | (cortex_r4_alu_shift): Likewise. | |
167 | (cortex_r4_alu_shift_reg): Likewise. | |
168 | * config/arm/fa526.md (526_alu_op): Update for attribute changes. | |
169 | (526_alu_shift_op): Likewise. | |
170 | * config/arm/fa606te.md (606te_alu_op): Update for attribute changes. | |
171 | * config/arm/fa626te.md (626te_alu_op): Update for attribute changes. | |
172 | (626te_alu_shift_op): Likewise. | |
173 | * config/arm/fa726te.md (726te_shift_op): Update for attribute changes. | |
174 | (726te_alu_op): Likewise. | |
175 | (726te_alu_shift_op): Likewise. | |
176 | (726te_alu_shift_reg_op): Likewise. | |
177 | * config/arm/fmp626.md (mp626_alu_op): Update for attribute changes. | |
178 | (mp626_alu_shift_op): Likewise. | |
179 | * config/arm/marvell-pj4.md (pj4_alu_e1): Update for attribute changes. | |
180 | (pj4_alu_e1_conds): Likewise. | |
181 | (pj4_alu): Likewise. | |
182 | (pj4_alu_conds): Likewise. | |
183 | (pj4_shift): Likewise. | |
184 | (pj4_shift_conds): Likewise. | |
185 | (pj4_alu_shift): Likewise. | |
186 | (pj4_alu_shift_conds): Likewise. | |
187 | * config/arm/arm.c (xscale_sched_adjust_cost): Update for attribute changes. | |
188 | (cortexa7_older_only): Likewise. | |
189 | (cortexa7_younger): Likewise. | |
190 | ||
651df1b2 DM |
191 | 2013-07-18 David Malcolm <dmalcolm@redhat.com> |
192 | ||
193 | * ipa-pure-const.c (generate_summary): Rename to... | |
194 | (pure_const_generate_summary): ... this. | |
195 | ||
ea717bd7 IS |
196 | 2013-07-17 Iain Sandoe <iain@codesourcery.com> |
197 | ||
198 | * config/rs6000/darwin.h (REGISTER_NAMES): Add HTM registers. | |
199 | ||
a1259a13 YR |
200 | 2013-07-17 Yvan Roux <yvan.roux@linaro.org> |
201 | ||
202 | PR target/57909 | |
203 | * config/arm/arm.c (gen_movmem_ldrd_strd): Fix unaligned load/store | |
204 | usage in HI mode. | |
205 | ||
167f68ed AK |
206 | 2013-07-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
207 | ||
208 | * config/s390/s390.c: (s390_expand_builtin): Allow -mhtm to be | |
209 | enabled without -march=zEC12. | |
210 | * config/s390/s390.h (TARGET_HTM): Do not require EC12 machine | |
211 | flags to be set. | |
212 | ||
f900a982 MR |
213 | 2013-07-16 Maciej W. Rozycki <macro@codesourcery.com> |
214 | ||
215 | * config/mips/mips.h (ISA_HAS_FP4): Correct formatting. | |
216 | (ISA_HAS_FP_MADD4_MSUB4): Also enable for ISA_MIPS32R2. | |
217 | (ISA_HAS_NMADD4_NMSUB4): Remove the MODE argument; rewrite in | |
218 | terms of ISA_HAS_FP4, and also enable for ISA_MIPS32R2. | |
219 | (ISA_HAS_NMADD3_NMSUB3): Remove the MODE argument. | |
220 | * config/mips/mips.c (mips_rtx_costs) <PLUS>: Check for | |
221 | ISA_HAS_FP_MADD4_MSUB4 || ISA_HAS_FP_MADD3_MSUB3 rather than | |
222 | ISA_HAS_FP4. | |
223 | <MINUS, NEG>: Update according to changes to ISA_HAS_NMADD4_NMSUB4 | |
224 | and ISA_HAS_NMADD3_NMSUB3. | |
225 | * config/mips/mips.md (nmadd4<mode>, nmadd3<mode>): Likewise. | |
226 | (nmadd4<mode>_fastmath, nmadd3<mode>_fastmath): Likewise. | |
227 | (nmsub4<mode>, nmsub3<mode>): Likewise. | |
228 | (nmsub4<mode>_fastmath, nmsub3<mode>_fastmath): Likewise. | |
229 | ||
d4ed27eb MR |
230 | 2013-07-16 Maciej W. Rozycki <macro@codesourcery.com> |
231 | ||
232 | * config/mips/mips.h (ISA_HAS_NMADD4_NMSUB4): Remove | |
233 | TARGET_MIPS5400 checking. | |
234 | ||
7a5add18 PB |
235 | 2013-07-16 Jakub Jelinek <jakub@redhat.com> |
236 | Peter Bergner <bergner@vnet.ibm.com> | |
237 | ||
238 | * config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTERS): Mention HTM | |
239 | registers in the comment. | |
240 | (DWARF_FRAME_REGISTERS): Subtract also the 3 HTM registers. | |
241 | (DWARF_REG_TO_UNWIND_COLUMN): Use DWARF_FRAME_REGISTERS | |
242 | rather than FIRST_PSEUDO_REGISTERS. | |
243 | ||
244 | 2013-07-16 Peter Bergner <bergner@vnet.ibm.com> | |
c694dc01 PB |
245 | |
246 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Do not | |
247 | enable extra ISA flags with TARGET_HTM. | |
248 | ||
d2ab0929 MR |
249 | 2013-07-16 Maciej W. Rozycki <macro@codesourcery.com> |
250 | ||
251 | * config/mips/mips.h (ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC): | |
252 | Fix comment typos. | |
253 | ||
839c74bc CH |
254 | 2013-07-15 Cong Hou <congh@google.com> |
255 | ||
256 | * tree-vect-data-refs.c (dr_group_sort_cmp): Do not use hash function | |
257 | in compare function for sorting. | |
258 | ||
7a5add18 | 259 | 2013-07-15 Peter Bergner <bergner@vnet.ibm.com> |
0258b6e4 PB |
260 | |
261 | * config.gcc (powerpc*-*-*): Install htmintrin.h and htmxlintrin.h. | |
262 | * config/rs6000/t-rs6000 (MD_INCLUDES): Add htm.md. | |
263 | * config/rs6000/rs6000.opt: Add -mhtm option. | |
264 | * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add OPTION_MASK_HTM. | |
265 | (ISA_2_7_MASKS_SERVER): Add OPTION_MASK_HTM. | |
266 | * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define | |
267 | __HTM__ if the HTM instructions are available. | |
268 | * config/rs6000/predicates.md (u3bit_cint_operand, u10bit_cint_operand, | |
269 | htm_spr_reg_operand): New define_predicates. | |
270 | * config/rs6000/rs6000.md (define_attr "type"): Add htm. | |
271 | (TFHAR_REGNO, TFIAR_REGNO, TEXASR_REGNO): New define_constants. | |
272 | Include htm.md. | |
273 | * config/rs6000/rs6000-builtin.def (BU_HTM_0, BU_HTM_1, BU_HTM_2, | |
274 | BU_HTM_3, BU_HTM_SPR0, BU_HTM_SPR1): Add support macros for defining | |
275 | HTM builtin functions. | |
276 | * config/rs6000/rs6000.c (RS6000_BUILTIN_H): New macro. | |
277 | (rs6000_reg_names, alt_reg_names): Add HTM SPR register names. | |
278 | (rs6000_init_hard_regno_mode_ok): Add support for HTM instructions. | |
279 | (rs6000_builtin_mask_calculate): Likewise. | |
280 | (rs6000_option_override_internal): Likewise. | |
281 | (bdesc_htm): Add new HTM builtin support. | |
282 | (htm_spr_num): New function. | |
283 | (htm_spr_regno): Likewise. | |
284 | (rs6000_htm_spr_icode): Likewise. | |
285 | (htm_expand_builtin): Likewise. | |
286 | (htm_init_builtins): Likewise. | |
287 | (rs6000_expand_builtin): Add support for HTM builtin functions. | |
288 | (rs6000_init_builtins): Likewise. | |
289 | (rs6000_invalid_builtin, rs6000_opt_mask): Add support for -mhtm option. | |
290 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mhtm. | |
291 | (TARGET_HTM, MASK_HTM): Define macros. | |
292 | (FIRST_PSEUDO_REGISTER): Adjust for new HTM SPR registers. | |
293 | (FIXED_REGISTERS): Likewise. | |
294 | (CALL_USED_REGISTERS): Likewise. | |
295 | (CALL_REALLY_USED_REGISTERS): Likewise. | |
296 | (REG_ALLOC_ORDER): Likewise. | |
297 | (enum reg_class): Likewise. | |
298 | (REG_CLASS_NAMES): Likewise. | |
299 | (REG_CLASS_CONTENTS): Likewise. | |
300 | (REGISTER_NAMES): Likewise. | |
301 | (ADDITIONAL_REGISTER_NAMES): Likewise. | |
302 | (RS6000_BTC_SPR, RS6000_BTC_VOID, RS6000_BTC_32BIT, RS6000_BTC_64BIT, | |
303 | RS6000_BTC_MISC_MASK, RS6000_BTM_HTM): New macros. | |
304 | (RS6000_BTM_COMMON): Add RS6000_BTM_HTM. | |
305 | * config/rs6000/htm.md: New file. | |
306 | * config/rs6000/htmintrin.h: New file. | |
307 | * config/rs6000/htmxlintrin.h: New file. | |
308 | ||
87dd8ab0 MS |
309 | 2013-07-15 Marcus Shawcroft <marcus.shawcroft@arm.com> |
310 | ||
311 | * config/aarch64/aarch64-protos.h (aarch64_symbol_type): | |
312 | Define SYMBOL_TINY_GOT, update comment. | |
313 | * config/aarch64/aarch64.c | |
314 | (aarch64_load_symref_appropriately): Handle SYMBOL_TINY_GOT. | |
315 | (aarch64_expand_mov_immediate): Likewise. | |
316 | (aarch64_print_operand): Likewise. | |
317 | (aarch64_classify_symbol): Likewise. | |
318 | * config/aarch64/aarch64.md (UNSPEC_GOTTINYPIC): Define. | |
319 | (ldr_got_tiny): Define. | |
320 | ||
52d676b6 TG |
321 | 2013-07-13 Tobias Grosser <tobias@grosser.es> |
322 | ||
323 | PR tree-optimization/54094 | |
324 | * graphite-clast-to-gimple.c (translate_clast_for_loop): Derive the | |
325 | scheduling dimension for the parallelism check from the polyhedral | |
326 | information in the AST. | |
327 | * graphite-dependences.c (carries_deps): Do not assume the schedule is | |
328 | in 2D + 1 form. | |
329 | ||
286e8fc1 JM |
330 | 2013-07-13 Jason Merrill <jason@redhat.com> |
331 | ||
332 | * print-tree.c (debug_vec_tree): Use debug_raw. | |
333 | (debug_raw (vec<tree, va_gc> &)): New. | |
334 | (debug_raw (vec<tree, va_gc> *)): New. | |
335 | * tree.h: Declare them. | |
336 | ||
e43257e8 BC |
337 | 2013-07-13 Bin Cheng <bin.cheng@arm.com> |
338 | ||
339 | * ifcvt.c (ifcvt_after_combine): New static variable. | |
340 | (cheap_bb_rtx_cost_p): Set scale to REG_BR_PROB_BASE when optimizing | |
341 | for size. | |
342 | (if_convert): New parameter after_combine. Set ifcvt_after_combine. | |
343 | (rest_of_handle_if_conversion, rest_of_handle_if_after_combine, | |
344 | rest_of_handle_if_after_reload): Pass new argument for if_convert. | |
345 | ||
da582d46 MR |
346 | 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com> |
347 | ||
348 | * config/mips/mips.c (mips_expand_call): Remove empty statement. | |
349 | ||
18b0ea8f MM |
350 | 2013-07-12 Michael Matz <matz@suse.de> |
351 | ||
352 | PR middle-end/55771 | |
353 | * convert.c (convert_to_real): Reject non-float inner types. | |
354 | ||
e4f0f84d TB |
355 | 2013-07-12 Tejas Belagod <tejas.belagod@arm.com> |
356 | ||
357 | * config/aarch64/aarch64-protos.h | |
358 | (aarch64_simd_immediate_valid_for_move): Remove. | |
359 | * config/aarch64/aarch64.c (simd_immediate_info): New member. | |
360 | (aarch64_simd_valid_immediate): Recognize idioms for shifting ones | |
361 | cases. | |
362 | (aarch64_output_simd_mov_immediate): Print the correct shift specifier. | |
363 | ||
76500022 SE |
364 | 2013-07-11 Steve Ellcey <sellcey@mips.com> |
365 | ||
366 | * config/mips/mips.c (mips_conditional_register_usage): Do not | |
367 | use t[0-7] registers in MIPS16 mode when optimizing for size. | |
368 | ||
78039734 ST |
369 | 2013-07-11 Sriraman Tallam <tmsriram@google.com> |
370 | ||
371 | * config/i386/i386.c (dispatch_function_versions): Fix array | |
372 | indexing of function_version_info to match actual_versions. | |
373 | ||
7b24b675 TJ |
374 | 2013-07-11 Teresa Johnson <tejohnson@google.com> |
375 | ||
376 | * vec.h (struct va_gc): Move release out-of-line. | |
377 | (va_gc::release): Call ggc_free on released vec. | |
378 | ||
85d4cbb8 UW |
379 | 2013-07-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
380 | ||
381 | * config/rs6000/rs6000.md (""*tls_gd_low<TLSmode:tls_abi_suffix>"): | |
382 | Require GOT register as additional operand in UNSPEC. | |
383 | ("*tls_ld_low<TLSmode:tls_abi_suffix>"): Likewise. | |
384 | ("*tls_got_dtprel_low<TLSmode:tls_abi_suffix>"): Likewise. | |
385 | ("*tls_got_tprel_low<TLSmode:tls_abi_suffix>"): Likewise. | |
386 | ("*tls_gd<TLSmode:tls_abi_suffix>"): Update splitter. | |
387 | ("*tls_ld<TLSmode:tls_abi_suffix>"): Likewise. | |
388 | ("tls_got_dtprel_<TLSmode:tls_abi_suffix>"): Likewise. | |
389 | ("tls_got_tprel_<TLSmode:tls_abi_suffix>"): Likewise. | |
390 | ||
52b3f9e2 GJL |
391 | 2013-07-11 Georg-Johann Lay <avr@gjlay.de> |
392 | ||
393 | PR target/57631 | |
394 | * config/avr/avr.c (avr_set_current_function): Sanity-check signal | |
395 | name seen by assembler/linker rather if available. | |
396 | ||
3f3e266e AS |
397 | 2013-07-11 Andreas Schwab <schwab@suse.de> |
398 | ||
399 | * config/aarch64/aarch64-linux.h (CPP_SPEC): Define. | |
400 | ||
21231ca6 VM |
401 | 2013-07-10 Vladimir Makarov <vmakarov@redhat.com> |
402 | ||
403 | * lra-constraints.c (curr_insn_transform): Switch off optional | |
404 | reloads. | |
405 | ||
d331d374 JM |
406 | 2013-07-10 Joseph Myers <joseph@codesourcery.com> |
407 | ||
673c2f63 JM |
408 | * doc/tm.texi.in: Move hook documentation to .... |
409 | * target.def: ... here. | |
410 | ||
d331d374 JM |
411 | * doc/tm.texi.in (TARGET_CANONICALIZE_COMPARISON): Remove stray |
412 | text on @hook line. | |
413 | * doc/tm.texi: Regenerate. | |
414 | ||
dfeadaa0 PC |
415 | 2013-07-10 Paolo Carlini <paolo.carlini@oracle.com> |
416 | ||
417 | PR c++/57869 | |
418 | * doc/invoke.texi: Document -Wconditionally-supported. | |
419 | ||
bb6f2bac GJL |
420 | 2013-07-10 Georg-Johann Lay <avr@gjlay.de> |
421 | ||
422 | PR target/57844 | |
423 | * config/avr/avr.c (avr_prologue_setup_frame): Trunk -size to mode | |
424 | of my_fp. | |
425 | ||
5219b232 GJL |
426 | 2013-07-10 Georg-Johann Lay <avr@gjlay.de> |
427 | ||
428 | PR target/57506 | |
429 | * config/avr/avr-mcus.def (atmega16hva, atmega16hva2, atmega16hvb) | |
430 | (atmega16m1, atmega16u4, atmega32a, atmega32c1, atmega32hvb) | |
431 | (atmega32m1, atmega32u4, atmega32u6, atmega64c1, atmega64m1): | |
432 | Remove duplicate devices. | |
433 | * config/avr/gen-avr-mmcu-texi.c (print_mcus): Fail on duplicate MCUs. | |
434 | * config/avr/t-multilib: Regenerate. | |
435 | * config/avr/avr-tables.opt: Regenerate. | |
436 | * doc/avr-mmcu.texi: Regenerate. | |
437 | ||
283045c0 GJL |
438 | 2013-07-10 Georg-Johann Lay <avr@gjlay.de> |
439 | ||
440 | PR target/56987 | |
441 | * config/avr/avr.opt (Waddr-space-convert): Fix typo. | |
442 | ||
ceb2d59f | 443 | 2013-07-10 Graham Stott <graham.stott@btinternet.com> |
6a2fa4b2 | 444 | |
ceb2d59f GS |
445 | * config/mips/mips.c (mips_rtx_costs): Very slightly increase |
446 | the cost of MULT when optimizing for size. | |
447 | ||
055e0a99 JBG |
448 | 2013-07-10 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
449 | ||
450 | * config/cr16/cr16-protos.h: Don't include target.h. | |
451 | ||
ef43e868 JM |
452 | 2013-07-09 Joseph Myers <joseph@codesourcery.com> |
453 | ||
454 | * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Only | |
455 | adjust register size for TDmode and TFmode for VSX registers. | |
456 | ||
4a283fdf KT |
457 | 2013-07-08 Kai Tietz <ktietz@redhat.com> |
458 | ||
459 | PR target/56892 | |
460 | * config/i386/i386.c (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): Define as | |
461 | hook_bool_const_tree_true. | |
462 | ||
2cf4c39e AK |
463 | 2013-07-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
464 | ||
465 | * config/s390/s390.c: Replace F*_REGNUM with FPR*_REGNUM. | |
466 | * config/s390/s390.h: Remove F*_REGNUM macro definitions. | |
467 | * config/s390/s390.md: Define FPR*_REGNUM constants. | |
468 | Fix FPR2_REGNUM constant (18 -> 17). | |
469 | ("*trunc<BFP:mode><DFP_ALL:mode>2") | |
470 | ("*trunc<DFP_ALL:mode><BFP:mode>2") | |
471 | ("trunc<BFP:mode><DFP_ALL:mode>2") | |
472 | ("trunc<DFP_ALL:mode><BFP:mode>2") | |
473 | ("*extend<BFP:mode><DFP_ALL:mode>2") | |
474 | ("*extend<DFP_ALL:mode><BFP:mode>2") | |
475 | ("extend<BFP:mode><DFP_ALL:mode>2") | |
476 | ("extend<DFP_ALL:mode><BFP:mode>2"): Replace FPR2_REGNUM with | |
477 | FPR4_REGNUM. | |
478 | ||
e6ac0270 | 479 | 2013-07-08 Graham Stott <graham.stott@btinternet.com> |
e6ac0270 | 480 | |
6a2fa4b2 | 481 | * Makefile.in: (c-family-warn): Define to $(STRICT_WARN) |
64a92610 | 482 | |
b89b22fc AK |
483 | 2013-07-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
484 | ||
485 | * config/s390/s390.c: Rename cfun_set_fpr_bit to cfun_set_fpr_save | |
486 | and cfun_fpr_bit_p to cfun_fpr_save_p. | |
487 | (s390_frame_area, s390_register_info, s390_frame_info) | |
488 | (s390_emit_prologue, s390_emit_epilogue) | |
489 | (s390_conditional_register_usage): Use the *_REGNUM macros for FPR | |
490 | register numbers. | |
491 | * config/s390/s390.h: Define *_REGNUM macros for floating point | |
492 | register numbers. | |
493 | ||
07f398aa EB |
494 | 2013-07-08 Eric Botcazou <ebotcazou@adacore.com> |
495 | ||
496 | * Makefile.in (tree-ssa-reassoc.o): Add dependency on $(PARAMS_H). | |
497 | ||
75fefa91 PCC |
498 | 2013-07-08 Po-Chun Chang <pchang9@cs.wisc.edu> |
499 | ||
500 | PR rtl-optimization/57786 | |
501 | * combine.c (distribute_notes) <case REG_DEAD>: Change all_used to bool | |
502 | and break out of the loop when it is set to false. | |
503 | ||
046f1eee JJ |
504 | 2013-07-08 Jakub Jelinek <jakub@redhat.com> |
505 | ||
8140c065 JJ |
506 | PR target/57819 |
507 | * simplify-rtx.c (simplify_unary_operation_1) <case ZERO_EXTEND>: | |
508 | Simplify (zero_extend:SI (subreg:QI (and:SI (reg:SI) | |
509 | (const_int 63)) 0)). | |
510 | * combine.c (make_extraction): Create ZERO_EXTEND or SIGN_EXTEND | |
511 | using simplify_gen_unary instead of gen_rtx_*_EXTEND. | |
512 | * config/i386/i386.md (*jcc_bt<mode>_1): New define_insn_and_split. | |
513 | ||
046f1eee JJ |
514 | PR rtl-optimization/57829 |
515 | * simplify-rtx.c (simplify_binary_operation_1) <case IOR>: Ensure that | |
516 | mask bits outside of mode are just sign-extension from mode to HWI. | |
517 | ||
930b700b MZ |
518 | 2013-07-08 Michael Zolotukhin <michael.v.zolotukhin@gmail.com> |
519 | ||
520 | * config/i386/i386-opts.h (enum stringop_alg): Add vector_loop. | |
521 | * config/i386/i386.c (expand_set_or_movmem_via_loop): Use | |
522 | adjust_address instead of change_address to keep info about alignment. | |
523 | (emit_strmov): Remove. | |
524 | (emit_memmov): New function. | |
525 | (expand_movmem_epilogue): Refactor to properly handle bigger sizes. | |
526 | (expand_movmem_epilogue): Likewise and return updated rtx for | |
527 | destination. | |
528 | (expand_constant_movmem_prologue): Likewise and return updated rtx for | |
529 | destination and source. | |
530 | (decide_alignment): Refactor, handle vector_loop. | |
531 | (ix86_expand_movmem): Likewise. | |
532 | (ix86_expand_setmem): Likewise. | |
533 | * config/i386/i386.opt (Enum): Add vector_loop to option stringop_alg. | |
534 | ||
7b9d1bd8 UB |
535 | 2013-07-07 Uros Bizjak <ubizjak@gmail.com> |
536 | ||
537 | * config/i386/driver-i386.c (host_detect_local_cpu): Do not check | |
538 | signature_TM2_ebx, it interferes with signature_INTEL_ebx. | |
539 | ||
eabb5f48 UB |
540 | 2013-07-06 Uros Bizjak <ubizjak@gmail.com> |
541 | ||
542 | * config/i386/sse.md (sse_movlhps): Change alternative 3 | |
543 | of operand 2 to "m". | |
544 | ||
545 | 2013-07-06 Uros Bizjak <ubizjak@gmail.com> | |
546 | ||
547 | PR target/57807 | |
548 | * config/i386/sse.md (iptr): New mode attribute. | |
549 | (sse2_movq128): Add pointer size overrides for Intel asm dialect. | |
550 | (<sse>_vm<plusminus_insn><mode>3): Ditto. | |
551 | (<sse>_vmmul<mode>3): Ditto. | |
552 | (<sse>_vmdiv<mode>3): Ditto. | |
553 | (sse_vmrcpv4sf2): Ditto. | |
554 | (<sse>_vmsqrt<mode>2): Ditto. | |
555 | (sse_vmrsqrtv4sf2): Ditto. | |
556 | (<sse>_vm<code><mode>3): Ditto. | |
557 | (avx_vmcmp<mode>3): Ditto. | |
558 | (<sse>_vmmaskcmp<mode>3): Ditto. | |
559 | (<sse>_comi): Ditto. | |
560 | (<sse>_ucomi): Ditto. | |
561 | (*xop_vmfrcz_<mode>): Ditto. | |
562 | (*fmai_fmadd_<mode>): Ditto. | |
563 | (*fmai_fmsub_<mode>): Ditto. | |
564 | (*fmai_fnmadd_<mode>): Ditto. | |
565 | (*fmai_fnmsub_<mode>): Ditto. | |
566 | (*fma4i_vmfmadd_<mode>): Ditto. | |
567 | (*fma4i_vmfmsub_<mode>): Ditto. | |
568 | (*fma4i_vmfnmadd_<mode>): Ditto. | |
569 | (*fma4i_vmfnmsub_<mode>): Ditto. | |
570 | (*xop_vmfrcz_<mode>): Ditto. | |
571 | (sse_cvtps2pi): Ditto. | |
572 | (sse_cvttps2pi): Ditto. | |
573 | (sse_cvtss2si): Ditto. | |
574 | (sse_cvtss2si_2): Ditto. | |
575 | (sse_cvtss2siq_2): Ditto. | |
576 | (sse_cvttss2si): Ditto. | |
577 | (sse_cvttss2siq): Ditto. | |
578 | (sse_cvtsd2si): Ditto. | |
579 | (sse_cvtsd2si_2): Ditto. | |
580 | (sse_cvtsd2siq_2): Ditto. | |
581 | (sse_cvttsd2si): Ditto. | |
582 | (sse_cvttsd2siq): Ditto. | |
583 | (sse_cvtsd2ss): Ditto. | |
584 | (sse_cvtss2sd): Ditto. | |
585 | (avx2_pbroadcast<mode>): Ditto. | |
586 | (avx2_pbroadcast<mode>_1): Ditto. | |
587 | (*avx_vperm_broadcast_v4sf): Ditto. | |
588 | ||
589 | (sse_movhlps): Ditto for movlp[sd]/movhp[sd] alternatives. | |
590 | (sse_movlhps): Ditto. | |
591 | (sse_storehps): Ditto. | |
592 | (sse_loadhps): Ditto. | |
593 | (sse_storelps): Ditto. | |
594 | (sse_loadlps): Ditto. | |
595 | (*vec_concatv4sf): Ditto. | |
596 | (*vec_interleave_highv2df): Ditto. | |
597 | (*vec_interleave_lowv2df): Ditto. | |
598 | (*vec_extractv2df_1_sse): Ditto. | |
599 | (*vec_extractv2df_0_sse): Ditto. | |
600 | (sse2_storelpd): Ditto. | |
601 | (sse2_loadlpd): Ditto. | |
602 | (sse2_movsd): Ditto. | |
603 | (*vec_concatv4si): Ditto. | |
604 | (vec_concatv2di): Ditto. | |
605 | ||
606 | * config/i386/mmx.md (mmx_punpcklbw): Add pointer size overrides | |
607 | for Intel asm dialect. | |
608 | (mmx_punpcklwd): Ditto. | |
609 | (mmx_punpckldq): Ditto. | |
610 | ||
611 | * config/i386/i386.c (ix86_print_operand) ['H']: Output 'qword ptr' | |
612 | for intel assembler dialect. | |
613 | ||
1f6eac90 JJ |
614 | 2013-07-06 Jakub Jelinek <jakub@redhat.com> |
615 | ||
616 | PR target/29776 | |
617 | * fold-const.c (tree_call_nonnegative_warnv_p): Return true | |
618 | for BUILT_IN_C{LZ,LRSB}*. | |
619 | * tree.h (CASE_INT_FN): Add FN##IMAX case. | |
620 | * tree-vrp.c (extract_range_basic): Handle | |
621 | BUILT_IN_{FFS,PARITY,POPCOUNT,C{LZ,TZ,LRSB}}*. For | |
622 | BUILT_IN_CONSTANT_P if argument isn't (D) of PARM_DECL, | |
623 | fall thru to code calling set_value*. | |
624 | * builtins.c (expand_builtin): Remove *IMAX cases. | |
625 | (fold_builtin_bitop): For BUILT_IN_CLRSB* return NULL_TREE | |
626 | if width is bigger than 2*HWI. | |
627 | ||
2b778c9d VM |
628 | 2013-07-05 Vladimir Makarov <vmakarov@redhat.com> |
629 | ||
630 | PR rtl-optimization/55342 | |
631 | * lra-int.h (lra_subreg_reload_pseudos): New. | |
632 | * lra.c: Add undoing optional reloads to the block diagram. | |
633 | (lra_subreg_reload_pseudos): New. | |
634 | (lra_optional_reload_pseudos): Change comments. | |
635 | (lra): Init and clear lra_subreg_reload_pseudos. Clear | |
636 | lra_optional_reload_pseudos after undo transformations. | |
637 | * lra-assigns.c (pseudo_prefix_title): New. | |
638 | (lra_setup_reg_renumber): Use it. | |
639 | (spill_for): Ditto. Check subreg reload pseudos too. | |
640 | (assign_by_spills): Consider subreg reload pseudos too. | |
641 | * lra-constraints.c (simplify_operand_subreg): Use | |
642 | lra_subreg_reload_pseudos instead of lra_optional_reload_pseudos. | |
643 | (curr_insn_transform): Recognize and do optional reloads. | |
644 | (undo_optional_reloads): New. | |
645 | (lra_undo_inheritance): Call undo_optional_reloads. | |
646 | ||
207156e4 TQ |
647 | 2013-07-05 Thomas Quinot <quinot@adacore.com> |
648 | ||
649 | * tree-complex.c (expand_complex_operations_1): Fix typo. | |
650 | ||
8990e73a TB |
651 | 2013-07-04 Tejas Belagod <tejas.belagod@arm.com> |
652 | ||
653 | * config/aarch64/aarch64-protos.h (cpu_vector_cost): New. | |
654 | (tune_params): New member 'const vec_costs'. | |
655 | * config/aarch64/aarch64.c (generic_vector_cost): New. | |
656 | (generic_tunings): New member 'generic_vector_cost'. | |
657 | (aarch64_builtin_vectorization_cost): New. | |
658 | (aarch64_add_stmt_cost): New. | |
659 | (TARGET_VECTORIZE_ADD_STMT_COST): New. | |
660 | (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): New. | |
661 | ||
f7bc421d JJ |
662 | 2013-07-03 Jakub Jelinek <jakub@redhat.com> |
663 | ||
664 | PR target/57777 | |
665 | * config/i386/predicates.md (vsib_address_operand): Disallow | |
666 | SYMBOL_REF or LABEL_REF in parts.disp if TARGET_64BIT && flag_pic. | |
667 | ||
e90d1568 HPN |
668 | 2013-07-03 Hans-Peter Nilsson <hp@bitrange.com> |
669 | ||
670 | PR middle-end/55030 | |
671 | * stmt.c (expand_nl_goto_receiver): Remove almost-copy of | |
672 | expand_builtin_setjmp_receiver. | |
673 | (expand_label): Adjust, call expand_builtin_setjmp_receiver | |
674 | with NULL for the label parameter. | |
675 | * builtins.c (expand_builtin_setjmp_receiver): Don't clobber | |
676 | the frame-pointer. Adjust comments. | |
677 | [HAVE_builtin_setjmp_receiver]: Emit builtin_setjmp_receiver | |
678 | only if LABEL is non-NULL. | |
679 | ||
cbd7413b YZ |
680 | 2013-07-03 Yufeng Zhang <yufeng.zhang@arm.com> |
681 | ||
682 | * config/aarch64/aarch64.h (enum arm_abi_type): Remove. | |
683 | (ARM_ABI_AAPCS64): Ditto. | |
684 | (arm_abi): Ditto. | |
685 | (ARM_DEFAULT_ABI): Ditto. | |
686 | ||
dec11868 JG |
687 | 2013-07-03 James Greenhalgh <james.greenhalgh@arm.com> |
688 | ||
689 | * config/aarch64/aarch64-builtins.c | |
690 | (aarch64_simd_expand_builtin): Handle AARCH64_SIMD_STORE1. | |
691 | * config/aarch64/aarch64-simd-builtins.def (ld1): New. | |
692 | (st1): Likewise. | |
693 | * config/aarch64/aarch64-simd.md | |
694 | (aarch64_ld1<VALL:mode>): New. | |
695 | (aarch64_st1<VALL:mode>): Likewise. | |
696 | * config/aarch64/arm_neon.h | |
697 | (vld1<q>_<fpsu><8, 16, 32, 64>): Convert to RTL builtins. | |
698 | ||
786fb9b6 ST |
699 | 2013-07-02 Sriraman Tallam <tmsriram@google.com> |
700 | ||
0ba6aff3 UB |
701 | * config/i386/i386.c (gate_insert_vzeroupper): Check if |
702 | target ISA is AVX. | |
786fb9b6 ST |
703 | (ix86_option_override_internal):Turn on all -mavx target flags by |
704 | default as they are dependent on AVX anyway. | |
705 | ||
4b043553 CC |
706 | 2013-07-02 Cary Coutant <ccoutant@google.com> |
707 | ||
708 | * dwarf2out.c (loc_checksum): Call hash_loc_operands for a | |
709 | deterministic hash. | |
710 | (loc_checksum_ordered): Likewise. | |
711 | (hash_loc_operands): Remove inline keyword. | |
712 | ||
c4e87a13 JJ |
713 | 2013-07-02 Jakub Jelinek <jakub@redhat.com> |
714 | ||
715 | PR tree-optimization/57741 | |
716 | * tree-vect-loop.c (vect_is_simple_iv_evolution): Disallow | |
717 | non-INTEGRAL_TYPE_P non-SCALAR_FLOAT_TYPE_P SSA_NAME step_exprs, | |
718 | or SCALAR_FLOAT_TYPE_P SSA_NAMEs if !flag_associative_math. | |
719 | Allow REAL_CST step_exprs if flag_associative_math. | |
720 | (get_initial_def_for_induction): Handle SCALAR_FLOAT_TYPE_P step_expr. | |
721 | ||
26366d28 IB |
722 | 2013-07-02 Ian Bolton <ian.bolton@arm.com> |
723 | ||
0ba6aff3 | 724 | * config/aarch64/aarch64-simd.md (absdi2): Support abs for DI mode. |
26366d28 | 725 | |
2879bb2b IB |
726 | 2013-07-02 Ian Bolton <ian.bolton@arm.com> |
727 | ||
728 | * config/aarch64/aarch64.md (*extr_insv_reg<mode>): New pattern. | |
729 | ||
afc5e8a6 KT |
730 | 2013-07-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
731 | ||
732 | * config/arm/arm.md (arm_andsi3_insn): Add alternatives for 16-bit | |
733 | encoding. | |
734 | (iorsi3_insn): Likewise. | |
735 | (arm_xorsi3): Likewise. | |
736 | ||
31f8442b SN |
737 | 2013-07-01 Sofiane Naci <sofiane.naci@arm.com> |
738 | ||
739 | * arm.md (attribute "wtype"): Delete. Move attribute values from here | |
740 | to ... | |
741 | (attribute "type"): ... here, and prefix with "wmmx_". | |
742 | (attribute "core_cycles"): Update for attribute changes. | |
743 | * iwmmxt.md (tbcstv8qi): Update for attribute changes. | |
744 | (tbcstv4hi): Likewise. | |
745 | (tbcstv2si): Likewise. | |
746 | (iwmmxt_iordi3): Likewise. | |
747 | (iwmmxt_xordi3): Likewise. | |
748 | (iwmmxt_anddi3): Likewise. | |
749 | (iwmmxt_nanddi3): Likewise. | |
750 | (iwmmxt_arm_movdi): Likewise. | |
751 | (iwmmxt_movsi_insn): Likewise. | |
752 | (mov<mode>_internal): Likewise. | |
753 | (and<mode>3_iwmmxt): Likewise. | |
754 | (ior<mode>3_iwmmxt): Likewise. | |
755 | (xor<mode>3_iwmmxt): Likewise. | |
756 | (add<mode>3_iwmmxt): Likewise. | |
757 | (ssaddv8qi3): Likewise. | |
758 | (ssaddv4hi3): Likewise. | |
759 | (ssaddv2si3): Likewise. | |
760 | (usaddv8qi3): Likewise. | |
761 | (usaddv4hi3): Likewise. | |
762 | (usaddv2si3): Likewise. | |
763 | (sub<mode>3_iwmmxt): Likewise. | |
764 | (sssubv8qi3): Likewise. | |
765 | (sssubv4hi3): Likewise. | |
766 | (sssubv2si3): Likewise. | |
767 | (ussubv8qi3): Likewise. | |
768 | (ussubv4hi3): Likewise. | |
769 | (ussubv2si3): Likewise. | |
770 | (mulv4hi3_iwmmxt): Likewise. | |
771 | (smulv4hi3_highpart): Likewise. | |
772 | (umulv4hi3_highpart): Likewise. | |
773 | (iwmmxt_wmacs): Likewise. | |
774 | (iwmmxt_wmacsz): Likewise. | |
775 | (iwmmxt_wmacu): Likewise. | |
776 | (iwmmxt_wmacuz): Likewise. | |
777 | (iwmmxt_clrdi): Likewise. | |
778 | (iwmmxt_clrv8qi): Likewise. | |
779 | (iwmmxt_clr4hi): Likewise. | |
780 | (iwmmxt_clr2si): Likewise. | |
781 | (iwmmxt_uavgrndv8qi3): Likewise. | |
782 | (iwmmxt_uavgrndv4hi3): Likewise. | |
783 | (iwmmxt_uavgv8qi3): Likewise. | |
784 | (iwmmxt_uavgv4hi3): Likewise. | |
785 | (iwmmxt_tinsrb): Likewise. | |
786 | (iwmmxt_tinsrh): Likewise. | |
787 | (iwmmxt_tinsrw): Likewise. | |
788 | (iwmmxt_textrmub): Likewise. | |
789 | (iwmmxt_textrmsb): Likewise. | |
790 | (iwmmxt_textrmuh): Likewise. | |
791 | (iwmmxt_textrmsh): Likewise. | |
792 | (iwmmxt_textrmw): Likewise. | |
793 | (iwmxxt_wshufh): Likewise. | |
794 | (eqv8qi3): Likewise. | |
795 | (eqv4hi3): Likewise. | |
796 | (eqv2si3): Likewise. | |
797 | (gtuv8qi3): Likewise. | |
798 | (gtuv4hi3): Likewise. | |
799 | (gtuv2si3): Likewise. | |
800 | (gtv8qi3): Likewise. | |
801 | (gtv4hi3): Likewise. | |
802 | (gtv2si3): Likewise. | |
803 | (smax<mode>3_iwmmxt): Likewise. | |
804 | (umax<mode>3_iwmmxt): Likewise. | |
805 | (smin<mode>3_iwmmxt): Likewise. | |
806 | (umin<mode>3_iwmmxt): Likewise. | |
807 | (iwmmxt_wpackhss): Likewise. | |
808 | (iwmmxt_wpackwss): Likewise. | |
809 | (iwmmxt_wpackdss): Likewise. | |
810 | (iwmmxt_wpackhus): Likewise. | |
811 | (iwmmxt_wpackwus): Likewise. | |
812 | (iwmmxt_wpackdus): Likewise. | |
813 | (iwmmxt_wunpckihb): Likewise. | |
814 | (iwmmxt_wunpckihh): Likewise. | |
815 | (iwmmxt_wunpckihw): Likewise. | |
816 | (iwmmxt_wunpckilb): Likewise. | |
817 | (iwmmxt_wunpckilh): Likewise. | |
818 | (iwmmxt_wunpckilw): Likewise. | |
819 | (iwmmxt_wunpckehub): Likewise. | |
820 | (iwmmxt_wunpckehuh): Likewise. | |
821 | (iwmmxt_wunpckehuw): Likewise. | |
822 | (iwmmxt_wunpckehsb): Likewise. | |
823 | (iwmmxt_wunpckehsh): Likewise. | |
824 | (iwmmxt_wunpckehsw): Likewise. | |
825 | (iwmmxt_wunpckelub): Likewise. | |
826 | (iwmmxt_wunpckeluh): Likewise. | |
827 | (iwmmxt_wunpckeluw): Likewise. | |
828 | (iwmmxt_wunpckelsb): Likewise. | |
829 | (iwmmxt_wunpckelsh): Likewise. | |
830 | (iwmmxt_wunpckelsw): Likewise. | |
831 | (ror<mode>3): Likewise. | |
832 | (ashr<mode>3_iwmmxt): Likewise. | |
833 | (lshr<mode>3_iwmmxt): Likewise. | |
834 | (ashl<mode>3_iwmmxt): Likewise. | |
835 | (ror<mode>3_di): Likewise. | |
836 | (ashr<mode>3_di): Likewise. | |
837 | (lshr<mode>3_di): Likewise. | |
838 | (ashl<mode>3_di): Likewise. | |
839 | (iwmmxt_wmadds): Likewise. | |
840 | (iwmmxt_wmaddu): Likewise. | |
841 | (iwmmxt_tmia): Likewise. | |
842 | (iwmmxt_tmiaph): Likewise. | |
843 | (iwmmxt_tmiabb): Likewise. | |
844 | (iwmmxt_tmiatb): Likewise. | |
845 | (iwmmxt_tmiabt): Likewise. | |
846 | (iwmmxt_tmiatt): Likewise. | |
847 | (iwmmxt_tmovmskb): Likewise. | |
848 | (iwmmxt_tmovmskh): Likewise. | |
849 | (iwmmxt_tmovmskw): Likewise. | |
850 | (iwmmxt_waccb): Likewise. | |
851 | (iwmmxt_wacch): Likewise. | |
852 | (iwmmxt_waccw): Likewise. | |
853 | (iwmmxt_waligni): Likewise. | |
854 | (iwmmxt_walignr): Likewise. | |
855 | (iwmmxt_walignr0): Likewise. | |
856 | (iwmmxt_walignr1): Likewise. | |
857 | (iwmmxt_walignr2): Likewise. | |
858 | (iwmmxt_walignr3): Likewise. | |
859 | (iwmmxt_wsadb): Likewise. | |
860 | (iwmmxt_wsadh): Likewise. | |
861 | (iwmmxt_wsadbz): Likewise. | |
862 | (iwmmxt_wsadhz): Likewise. | |
863 | * iwmmxt2.md (iwmmxt_wabs<mode>3): Update for attribute changes. | |
864 | (iwmmxt_wabsdiffb): Likewise. | |
865 | (iwmmxt_wabsdiffh): Likewise. | |
866 | (iwmmxt_wabsdiffw): Likewise. | |
867 | (iwmmxt_waddsubhx): Likewise | |
868 | (iwmmxt_wsubaddhx): Likewise. | |
869 | (addc<mode>3): Likewise. | |
870 | (iwmmxt_avg4): Likewise. | |
871 | (iwmmxt_avg4r): Likewise. | |
872 | (iwmmxt_wmaddsx): Likewise. | |
873 | (iwmmxt_wmaddux): Likewise. | |
874 | (iwmmxt_wmaddsn): Likewise. | |
875 | (iwmmxt_wmaddun): Likewise. | |
876 | (iwmmxt_wmulwsm): Likewise. | |
877 | (iwmmxt_wmulwum): Likewise. | |
878 | (iwmmxt_wmulsmr): Likewise. | |
879 | (iwmmxt_wmulumr): Likewise. | |
880 | (iwmmxt_wmulwsmr): Likewise. | |
881 | (iwmmxt_wmulwumr): Likewise. | |
882 | (iwmmxt_wmulwl): Likewise. | |
883 | (iwmmxt_wqmulm): Likewise. | |
884 | (iwmmxt_wqmulwm): Likewise. | |
885 | (iwmmxt_wqmulmr): Likewise. | |
886 | (iwmmxt_wqmulwmr): Likewise. | |
887 | (iwmmxt_waddbhusm): Likewise. | |
888 | (iwmmxt_waddbhusl): Likewise. | |
889 | (iwmmxt_wqmiabb): Likewise. | |
890 | (iwmmxt_wqmiabt): Likewise. | |
891 | (iwmmxt_wqmiatb): Likewise. | |
892 | (iwmmxt_wqmiatt): Likewise. | |
893 | (iwmmxt_wqmiabbn): Likewise. | |
894 | (iwmmxt_wqmiabtn): Likewise. | |
895 | (iwmmxt_wqmiatbn): Likewise. | |
896 | (iwmmxt_wqmiattn): Likewise. | |
897 | (iwmmxt_wmiabb): Likewise. | |
898 | (iwmmxt_wmiabt): Likewise. | |
899 | (iwmmxt_wmiatb): Likewise. | |
900 | (iwmmxt_wmiatt): Likewise. | |
901 | (iwmmxt_wmiabbn): Likewise. | |
902 | (iwmmxt_wmiabtn): Likewise. | |
903 | (iwmmxt_wmiatbn): Likewise. | |
904 | (iwmmxt_wmiattn): Likewise. | |
905 | (iwmmxt_wmiawbb): Likewise. | |
906 | (iwmmxt_wmiawbt): Likewise. | |
907 | (iwmmxt_wmiawtb): Likewise. | |
908 | (iwmmxt_wmiawtt): Likewise. | |
909 | (iwmmxt_wmiawbbn): Likewise. | |
910 | (iwmmxt_wmiawbtn): Likewise. | |
911 | (iwmmxt_wmiawtbn): Likewise. | |
912 | (iwmmxt_wmiawttn): Likewise. | |
913 | (iwmmxt_wmerge): Likewise. | |
914 | (iwmmxt_tandc<mode>3): Likewise. | |
915 | (iwmmxt_torc<mode>3): Likewise. | |
916 | (iwmmxt_torvsc<mode>3): Likewise. | |
917 | (iwmmxt_textrc<mode>3): Likewise. | |
918 | * marvell-f-iwmmxt.md (wmmxt_shift): Update for attribute changes. | |
919 | (wmmxt_pack): Likewise. | |
920 | (wmmxt_mult_c1): Likewise. | |
921 | (wmmxt_mult_c2): Likewise. | |
922 | (wmmxt_alu_c1): Likewise. | |
923 | (wmmxt_alu_c2): Likewise. | |
924 | (wmmxt_alu_c3): Likewise. | |
925 | (wmmxt_transfer_c1): Likewise. | |
926 | (wmmxt_transfer_c2): Likewise. | |
927 | (wmmxt_transfer_c3): Likewise. | |
928 | (marvell_f_iwmmxt_wstr): Likewise. | |
929 | (marvell_f_iwmmxt_wldr): Likewise. | |
930 | ||
bdb7bf8a YZ |
931 | 2013-06-29 Yufeng Zhang <yufeng.zhang@arm.com> |
932 | ||
0ba6aff3 | 933 | * config/aarch64/aarch64.c: Remove junk from the beginning of the file. |
bdb7bf8a | 934 | |
e6631d38 VM |
935 | 2013-06-28 Vladimir Makarov <vmakarov@redhat.com> |
936 | ||
937 | Revert: | |
938 | 2013-06-28 Vladimir Makarov <vmakarov@redhat.com> | |
939 | * lra-constraints.c (need_for_split_p): Check call used hard regs | |
940 | living through calls. | |
941 | ||
942 | * lra-constraints.c (inherit_in_ebb): Reset live_hard_regs for | |
943 | call used regs for call insn. | |
944 | ||
53c1275b JJ |
945 | 2013-06-28 Jakub Jelinek <jakub@redhat.com> |
946 | ||
947 | PR target/57736 | |
0ba6aff3 UB |
948 | * config/i386/i386.c (ix86_expand_builtin): If target == NULL and |
949 | mode is VOIDmode, don't create a VOIDmode pseudo to copy result into. | |
53c1275b | 950 | |
1141ed3f BI |
951 | 2013-06-28 Balaji V. Iyer <balaji.v.iyer@intel.com> |
952 | ||
953 | * builtins.def: Fixed the function type of CILKPLUS_BUILTIN. | |
e6631d38 | 954 | |
e32e4c4a VM |
955 | 2013-06-28 Vladimir Makarov <vmakarov@redhat.com> |
956 | ||
957 | * lra-constraints.c (need_for_split_p): Check call used hard regs | |
958 | living through calls. | |
959 | ||
f161bfd3 MM |
960 | 2013-06-28 Michael Meissner <meissner@linux.vnet.ibm.com> |
961 | ||
962 | PR target/57744 | |
963 | * config/rs6000/rs6000.h (MODES_TIEABLE_P): Do not allow PTImode | |
964 | to tie with any other modes. Eliminate Altivec vector mode tests, | |
965 | since these are a subset of ALTIVEC or VSX vector modes. Simplify | |
966 | code, to return 0 if testing MODE2 for a condition, if we've | |
967 | already tested MODE1 for the same condition. | |
968 | ||
7eda14e1 MS |
969 | 2013-06-28 Marcus Shawcroft <marcus.shawcroft@arm.com> |
970 | ||
971 | * config/aarch64/aarch64.c (aarch64_cannot_force_const_mem): Adjust | |
972 | layout. | |
973 | ||
c822f852 MS |
974 | 2013-06-28 Marcus Shawcroft <marcus.shawcroft@arm.com> |
975 | ||
976 | * config/aarch64/aarch64-protos.h (aarch64_symbol_type): | |
977 | Update comment w.r.t SYMBOL_TINY_ABSOLUTE. | |
978 | ||
da4f13a4 MS |
979 | 2013-06-28 Marcus Shawcroft <marcus.shawcroft@arm.com> |
980 | ||
0ba6aff3 UB |
981 | * config/aarch64/aarch64-protos.h (aarch64_classify_symbol_expression): |
982 | Define. | |
da4f13a4 MS |
983 | (aarch64_symbolic_constant_p): Remove. |
984 | * config/aarch64/aarch64.c (aarch64_classify_symbol_expression): Remove | |
985 | static. Fix line length and white space. | |
986 | (aarch64_symbolic_constant_p): Remove. | |
987 | * config/aarch64/predicates.md (aarch64_valid_symref): | |
988 | Use aarch64_classify_symbol_expression. | |
989 | ||
956a95a5 KT |
990 | 2013-06-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
991 | ||
992 | * config/arm/constraints.md (Ts): New constraint. | |
993 | * config/arm/arm.md (arm_movqi_insn): Add alternatives for | |
994 | 16-bit encodings. | |
995 | (compare_scc): Use "Ts" constraint for operand 0. | |
996 | (ior_scc_scc): Likewise. | |
997 | (and_scc_scc): Likewise. | |
998 | (and_scc_scc_nodom): Likewise. | |
999 | (ior_scc_scc_cmp): Likewise for operand 7. | |
1000 | (and_scc_scc_cmp): Likewise. | |
1001 | * config/arm/thumb2.md (thumb2_movsi_insn): | |
1002 | Add alternatives for 16-bit encodings. | |
1003 | (thumb2_movhi_insn): Likewise. | |
1004 | (thumb2_movsicc_insn): Likewise. | |
1005 | (thumb2_and_scc): Take 'and' outside cond_exec. Use "Ts" constraint. | |
1006 | (thumb2_negscc): Use "Ts" constraint. | |
1007 | Move mvn instruction outside cond_exec block. | |
1008 | * config/arm/vfp.md (thumb2_movsi_vfp): Add alternatives | |
1009 | for 16-bit encodings. | |
1010 | ||
31dfce10 KT |
1011 | 2013-06-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1012 | ||
1013 | * config/arm/arm.md (arm_mulsi3_v6): Add alternative for 16-bit | |
1014 | encoding. | |
1015 | (mulsi3addsi_v6): Disable predicable variant for arm_restrict_it. | |
1016 | (mulsi3subsi): Likewise. | |
1017 | (mulsidi3adddi): Likewise. | |
1018 | (mulsidi3_v6): Likewise. | |
1019 | (umulsidi3_v6): Likewise. | |
1020 | (umulsidi3adddi_v6): Likewise. | |
1021 | (smulsi3_highpart_v6): Likewise. | |
1022 | (umulsi3_highpart_v6): Likewise. | |
1023 | (mulhisi3tb): Likewise. | |
1024 | (mulhisi3bt): Likewise. | |
1025 | (mulhisi3tt): Likewise. | |
1026 | (maddhisi4): Likewise. | |
1027 | (maddhisi4tb): Likewise. | |
1028 | (maddhisi4tt): Likewise. | |
1029 | (maddhidi4): Likewise. | |
1030 | (maddhidi4tb): Likewise. | |
1031 | (maddhidi4tt): Likewise. | |
1032 | (zeroextractsi_compare0_scratch): Likewise. | |
1033 | (insv_zero): Likewise. | |
1034 | (insv_t2): Likewise. | |
1035 | (anddi_notzesidi_di): Likewise. | |
1036 | (anddi_notsesidi_di): Likewise. | |
1037 | (andsi_notsi_si): Likewise. | |
1038 | (iordi_zesidi_di): Likewise. | |
1039 | (xordi_zesidi_di): Likewise. | |
1040 | (andsi_iorsi3_notsi): Likewise. | |
1041 | (smax_0): Likewise. | |
1042 | (smax_m1): Likewise. | |
1043 | (smin_0): Likewise. | |
1044 | (not_shiftsi): Likewise. | |
1045 | (unaligned_loadsi): Likewise. | |
1046 | (unaligned_loadhis): Likewise. | |
1047 | (unaligned_loadhiu): Likewise. | |
1048 | (unaligned_storesi): Likewise. | |
1049 | (unaligned_storehi): Likewise. | |
1050 | (extv_reg): Likewise. | |
1051 | (extzv_t2): Likewise. | |
1052 | (divsi3): Likewise. | |
1053 | (udivsi3): Likewise. | |
1054 | (arm_zero_extendhisi2addsi): Likewise. | |
1055 | (arm_zero_extendqisi2addsi): Likewise. | |
1056 | (compareqi_eq0): Likewise. | |
1057 | (arm_extendhisi2_v6): Likewise. | |
1058 | (arm_extendqisi2addsi): Likewise. | |
1059 | (arm_movt): Likewise. | |
1060 | (thumb2_ldrd): Likewise. | |
1061 | (thumb2_ldrd_base): Likewise. | |
1062 | (thumb2_ldrd_base_neg): Likewise. | |
1063 | (thumb2_strd): Likewise. | |
1064 | (thumb2_strd_base): Likewise. | |
1065 | (thumb2_strd_base_neg): Likewise. | |
1066 | (arm_negsi2): Add alternative for 16-bit encoding. | |
1067 | (arm_one_cmplsi2): Likewise. | |
1068 | ||
1572e697 KT |
1069 | 2013-06-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1070 | ||
1071 | * config/arm/predicates.md (arm_cond_move_operator): New predicate. | |
1072 | * config/arm/arm.md (movsfcc): Use arm_cond_move_operator predicate. | |
1073 | (movdfcc): Likewise. | |
1074 | * config/arm/vfp.md (*thumb2_movsf_vfp): | |
1075 | Disable predication for arm_restrict_it. | |
1076 | (*thumb2_movsfcc_vfp): Disable for arm_restrict_it. | |
1077 | (*thumb2_movdfcc_vfp): Likewise. | |
1078 | (*abssf2_vfp, *absdf2_vfp, *negsf2_vfp, *negdf2_vfp,*addsf3_vfp, | |
1079 | *adddf3_vfp, *subsf3_vfp, *subdf3_vfpc, *divsf3_vfp,*divdf3_vfp, | |
1080 | *mulsf3_vfp, *muldf3_vfp, *mulsf3negsf_vfp, *muldf3negdf_vfp, | |
1081 | *mulsf3addsf_vfp, *muldf3adddf_vfp, *mulsf3subsf_vfp, | |
1082 | *muldf3subdf_vfp, *mulsf3negsfaddsf_vfp, *fmuldf3negdfadddf_vfp, | |
1083 | *mulsf3negsfsubsf_vfp, *muldf3negdfsubdf_vfp, *fma<SDF:mode>4, | |
1084 | *fmsub<SDF:mode>4, *fnmsub<SDF:mode>4, *fnmadd<SDF:mode>4, | |
1085 | *extendsfdf2_vfp, *truncdfsf2_vfp, *extendhfsf2, *truncsfhf2, | |
1086 | *truncsisf2_vfp, *truncsidf2_vfp, fixuns_truncsfsi2, fixuns_truncdfsi2, | |
1087 | *floatsisf2_vfp, *floatsidf2_vfp, floatunssisf2, floatunssidf2, | |
1088 | *sqrtsf2_vfp, *sqrtdf2_vfp, *cmpsf_vfp, *cmpsf_trap_vfp, *cmpdf_vfp, | |
1089 | *cmpdf_trap_vfp, <vrint_pattern><SDF:mode>2): | |
1090 | Disable predication for arm_restrict_it. | |
1091 | ||
ebf8f0ea KY |
1092 | 2013-06-28 Kirill Yukhin <kirill.yukhin@intel.com> |
1093 | ||
1094 | * config/i386/bmiintrin.h (_bextr_u32): New. | |
1095 | (_bextr_u64): Ditto. | |
1096 | ||
a290fcda RS |
1097 | 2013-06-27 Richard Sandiford <rdsandiford@googlemail.com> |
1098 | ||
1099 | * config.gcc (mips*-mti-elf*, mips*-sde-elf*, mips64r5900-*-elf*) | |
1100 | (mips64r5900el-*-elf*): Include mips/n32-elf.h. | |
1101 | * config/mips/sde.h (LOCAL_LABEL_PREFIX, NO_DOLLAR_IN_LABEL) | |
1102 | (LONG_DOUBLE_TYPE_SIZE, LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move to... | |
1103 | * config/mips/n32-elf.h: ...this new file. | |
1104 | ||
ea169996 MG |
1105 | 2013-06-27 Marc Glisse <marc.glisse@inria.fr> |
1106 | ||
1107 | PR target/57224 | |
1108 | * config/i386/i386.c (enum ix86_builtins, bdesc_args): Remove | |
1109 | IX86_BUILTIN_CMPNGTSS and IX86_BUILTIN_CMPNGESS. | |
1110 | ||
8e932114 CM |
1111 | 2013-06-27 Catherine Moore <clm@codesourcery.com> |
1112 | ||
1113 | * config/mips/mips-tables.opt: Regenerate. | |
1114 | * config/mips/mips-cpus.def: Add m14ke and m14kec. | |
0ba6aff3 | 1115 | * config/mips/mips.h (BASE_DRIVER_SELF_SPECS): m14ke* implies -mdspr2. |
8e932114 | 1116 | * doc/invoke.texi: Add -m14kc. |
ebf8f0ea | 1117 | |
2444244e JJ |
1118 | 2013-06-27 Jakub Jelinek <jakub@redhat.com> |
1119 | ||
cd06d2a2 JJ |
1120 | PR target/57623 |
1121 | * config/i386/i386.md (bmi_bextr_<mode>): Swap predicates and | |
1122 | constraints of operand 1 and 2. | |
1123 | ||
2444244e JJ |
1124 | PR target/57623 |
1125 | * config/i386/i386.md (bmi2_bzhi_<mode>3): Swap AND arguments | |
1126 | to match RTL canonicalization. Swap predicates and | |
1127 | constraints of operand 1 and 2. | |
1128 | ||
2f259720 VM |
1129 | 2013-06-27 Vladimir Makarov <vmakarov@redhat.com> |
1130 | ||
0ba6aff3 UB |
1131 | * lra-constraints.c (inherit_in_ebb): Process static hard regs too. |
1132 | Process OP_INOUT regs for splitting too. | |
2f259720 | 1133 | |
fef4d2b3 JJ |
1134 | 2013-06-27 Jakub Jelinek <jakub@redhat.com> |
1135 | ||
1136 | * tree-vect-stmts.c (vectorizable_store): Move ptr_incr var | |
1137 | decl before the loop, initialize to NULL. | |
1138 | (vectorizable_load): Initialize ptr_incr to NULL. | |
1139 | ||
79ee9826 MJ |
1140 | 2013-06-27 Martin Jambor <mjambor@suse.cz> |
1141 | ||
1142 | PR lto/57208 | |
1143 | * ipa-ref.h (ipa_maybe_record_reference): Declare. | |
1144 | * ipa-ref.c (ipa_maybe_record_reference): New function. | |
1145 | * cgraphclones.c (cgraph_create_virtual_clone): Use it. | |
1146 | * ipa-cp.c (create_specialized_node): Record potential references from | |
1147 | aggvals. | |
1148 | * Makefile.in (ipa-ref.o): Add IPA_REF_H to dependencies. | |
1149 | ||
e18b4a81 YZ |
1150 | 2013-06-27 Yufeng Zhang <yufeng.zhang@arm.com> |
1151 | ||
1152 | * config/aarch64/aarch64.c (aarch64_force_temporary): Add an extra | |
1153 | parameter 'mode' of type 'enum machine_mode mode'; change to pass | |
1154 | 'mode' to force_reg. | |
1155 | (aarch64_add_offset): Update calls to aarch64_force_temporary. | |
1156 | (aarch64_expand_mov_immediate): Likewise. | |
1157 | ||
9c023bf0 YZ |
1158 | 2013-06-27 Yufeng Zhang <yufeng.zhang@arm.com> |
1159 | ||
1160 | * config/aarch64/aarch64.c (aarch64_add_offset): Change to pass | |
1161 | 'mode' to aarch64_plus_immediate and gen_rtx_PLUS. | |
1162 | ||
5a3fe9b6 AK |
1163 | 2013-06-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1164 | ||
1165 | * config/s390/s390.c: Rename UNSPEC_CCU_TO_INT to | |
1166 | UNSPEC_STRCMPCC_TO_INT and UNSPEC_CCZ_TO_INT to UNSPEC_CC_TO_INT. | |
1167 | (struct machine_function): Add tbegin_p. | |
1168 | (s390_canonicalize_comparison): Fold CC mode compares to | |
1169 | conditional jump if possible. | |
1170 | (s390_emit_jump): Return the emitted jump. | |
1171 | (s390_branch_condition_mask, s390_branch_condition_mnemonic): | |
1172 | Handle CCRAWmode compares. | |
1173 | (s390_option_override): Default to -mhtm if available. | |
1174 | (s390_reg_clobbered_rtx): Handle floating point regs as well. | |
1175 | (s390_regs_ever_clobbered): Use s390_regs_ever_clobbered also for | |
1176 | FPRs instead of df_regs_ever_live_p. | |
1177 | (s390_optimize_nonescaping_tx): New function. | |
1178 | (s390_init_frame_layout): Extend clobbered_regs array to cover | |
1179 | FPRs as well. | |
1180 | (s390_emit_prologue): Call s390_optimize_nonescaping_tx. | |
1181 | (s390_expand_tbegin): New function. | |
1182 | (enum s390_builtin): New enum definition. | |
1183 | (code_for_builtin): New array definition. | |
1184 | (s390_init_builtins): New function. | |
1185 | (s390_expand_builtin): New function. | |
1186 | (TARGET_INIT_BUILTINS): Define. | |
1187 | (TARGET_EXPAND_BUILTIN): Define. | |
0ba6aff3 | 1188 | * common/config/s390/s390-common.c (processor_flags_table): Add PF_TX. |
5a3fe9b6 AK |
1189 | * config/s390/predicates.md (s390_comparison): Handle CCRAWmode. |
1190 | (s390_alc_comparison): Likewise. | |
1191 | * config/s390/s390-modes.def: Add CCRAWmode. | |
1192 | * config/s390/s390.h (processor_flags): Add PF_TX. | |
1193 | (TARGET_CPU_HTM): Define macro. | |
1194 | (TARGET_HTM): Define macro. | |
1195 | (TARGET_CPU_CPP_BUILTINS): Define __HTM__ for htm. | |
1196 | * config/s390/s390.md: Rename UNSPEC_CCU_TO_INT to | |
1197 | UNSPEC_STRCMPCC_TO_INT and UNSPEC_CCZ_TO_INT to UNSPEC_CC_TO_INT. | |
1198 | (UNSPECV_TBEGIN, UNSPECV_TBEGINC, UNSPECV_TEND, UNSPECV_TABORT) | |
0ba6aff3 | 1199 | (UNSPECV_ETND, UNSPECV_NTSTG, UNSPECV_PPA): New unspecv enum values. |
5a3fe9b6 AK |
1200 | (TBEGIN_MASK, TBEGINC_MASK): New constants. |
1201 | ("*cc_to_int"): Move up. | |
1202 | ("*mov<mode>cc", "*cjump_64", "*cjump_31"): Accept integer | |
1203 | constants other than 0. | |
1204 | ("*ccraw_to_int"): New insn and splitter definition. | |
1205 | ("tbegin", "tbegin_nofloat", "tbegin_retry") | |
1206 | ("tbegin_retry_nofloat", "tbeginc", "tend", "tabort") | |
1207 | ("tx_assist"): New expander. | |
1208 | ("tbegin_1", "tbegin_nofloat_1", "*tbeginc_1", "*tend_1") | |
1209 | ("*tabort_1", "etnd", "ntstg", "*ppa"): New insn definition. | |
1210 | * config/s390/s390.opt: Add -mhtm option. | |
1211 | * config/s390/s390-protos.h (s390_emit_jump): Add return type. | |
1212 | * config/s390/htmxlintrin.h: New file. | |
1213 | * config/s390/htmintrin.h: New file. | |
1214 | * config/s390/s390intrin.h: New file. | |
1215 | * doc/extend.texi: Document htm builtins. | |
1216 | * config.gcc: Add the new header files to extra_headers. | |
1217 | ||
9e216629 TS |
1218 | 2013-06-26 Thomas Schwinge <thomas@codesourcery.com> |
1219 | ||
1220 | * config/i386/gnu.h [TARGET_LIBC_PROVIDES_SSP] | |
0ba6aff3 | 1221 | (TARGET_CAN_SPLIT_STACK, TARGET_THREAD_SPLIT_STACK_OFFSET): Undefine. |
9e216629 | 1222 | |
fd8c65e7 MM |
1223 | 2013-06-26 Michael Meissner <meissner@linux.vnet.ibm.com> |
1224 | Pat Haugen <pthaugen@us.ibm.com> | |
1225 | Peter Bergner <bergner@vnet.ibm.com> | |
1226 | ||
1227 | * config/rs6000/power8.md: New. | |
1228 | * config/rs6000/rs6000-cpus.def (RS6000_CPU table): Adjust processor | |
1229 | setting for power8 entry. | |
1230 | * config/rs6000/t-rs6000 (MD_INCLUDES): Add power8.md. | |
1231 | * config/rs6000/rs6000.c (is_microcoded_insn, is_cracked_insn): Adjust | |
1232 | test for Power4/Power5 only. | |
1233 | (insn_must_be_first_in_group, insn_must_be_last_in_group): Add Power8 | |
1234 | support. | |
1235 | (force_new_group): Adjust comment. | |
1236 | * config/rs6000/rs6000.md: Include power8.md. | |
1237 | ||
b24a2ce5 GY |
1238 | 2013-06-26 Greta Yorsh <Greta.Yorsh@arm.com> |
1239 | ||
1240 | * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Define macro. | |
1241 | * config/arm/arm-protos.h (arm_max_conditional_execute): New | |
1242 | declaration. | |
1243 | (tune_params): Update comment. | |
1244 | * config/arm/arm.c (arm_cortex_a15_tune): Set max_cond_insns to 2. | |
1245 | (arm_max_conditional_execute): New function. | |
1246 | (thumb2_final_prescan_insn): Use max_insn_skipped and | |
1247 | MAX_INSN_PER_IT_BLOCK to compute maximum instructions in a block. | |
1248 | ||
f6fdeb62 JJ |
1249 | 2013-06-25 Jakub Jelinek <jakub@redhat.com> |
1250 | ||
1251 | PR tree-optimization/57705 | |
1252 | * tree-vect-loop.c (vect_is_simple_iv_evolution): Allow | |
1253 | SSA_NAME step, provided that it is not defined inside the loop. | |
0ba6aff3 | 1254 | (vect_analyze_scalar_cycles_1): Disallow SSA_NAME step in nested loop. |
f6fdeb62 JJ |
1255 | (get_initial_def_for_induction): Handle SSA_NAME IV step. |
1256 | ||
c13bc3d9 MJ |
1257 | 2013-06-25 Martin Jambor <mjambor@suse.cz> |
1258 | ||
1259 | PR middle-end/57670 | |
1260 | * cgraph.h (cgraph_indirect_call_info): New flag member_ptr. | |
1261 | * ipa-prop.c (ipa_print_node_jump_functions): Mark member pointer | |
1262 | calls in the dump. | |
1263 | (ipa_note_param_call): Initialize member_ptr flag. | |
1264 | (ipa_analyze_indirect_call_uses): Set member_ptr flag. | |
1265 | (ipa_make_edge_direct_to_target): Bail out if member_ptr is set. | |
1266 | (ipa_write_indirect_edge_info): Stream member_ptr flag. | |
1267 | (ipa_read_indirect_edge_info): Likewise. | |
1268 | ||
8a845901 RB |
1269 | 2013-06-25 Richard Biener <rguenther@suse.de> |
1270 | ||
1271 | PR middle-end/56977 | |
1272 | * passes.c (init_optimization_passes): Move pass_fold_builtins | |
1273 | and pass_dce earlier with -Og. | |
1274 | ||
33be0bec EB |
1275 | 2013-06-25 Eric Botcazou <ebotcazou@adacore.com> |
1276 | ||
1277 | * expr.c (expand_expr_real_1) <ARRAY_REF>: Fix formatting glitches. | |
1278 | <BIT_FIELD_REF>: Remove trailing TAB. | |
1279 | * varasm.c (output_constructor_bitfield): Fix formatting glitch and | |
1280 | remove blank line. | |
1281 | ||
5fe8e757 MJ |
1282 | 2013-06-24 Martin Jambor <mjambor@suse.cz> |
1283 | ||
1284 | PR tree-optimization/57358 | |
1285 | * ipa-prop.c (ipa_func_spec_opts_forbid_analysis_p): New function. | |
1286 | (ipa_compute_jump_functions_for_edge): Bail out if it returns true. | |
1287 | (ipa_analyze_params_uses): Generate pessimistic info when true. | |
1288 | ||
44a60244 MJ |
1289 | 2013-06-24 Martin Jambor <mjambor@suse.cz> |
1290 | ||
1291 | PR tree-optimization/57539 | |
1292 | * cgraphclones.c (cgraph_clone_node): Add parameter new_inlined_to, set | |
1293 | global.inlined_to of the new node to it. All callers changed. | |
1294 | * ipa-inline-transform.c (clone_inlined_nodes): New variable | |
1295 | inlining_into, pass it to cgraph_clone_node. | |
1296 | * ipa-prop.c (ipa_propagate_indirect_call_infos): Do not call | |
1297 | ipa_free_edge_args_substructures. | |
1298 | (ipa_edge_duplication_hook): Only add edges from inlined nodes to | |
1299 | rdesc linked list. Do not assert rdesc edges have inlined caller. | |
1300 | Assert we have found an rdesc in the rdesc list. | |
1301 | ||
7c5848b8 RB |
1302 | 2013-06-24 Richard Biener <rguenther@suse.de> |
1303 | ||
0ba6aff3 | 1304 | * pointer-set.h (struct pointer_set_t): Move here from pointer-set.c. |
7c5848b8 RB |
1305 | (pointer_set_lookup): Declare. |
1306 | (class pointer_map): New template class implementing a | |
1307 | generic pointer to T map. | |
1308 | (pointer_map<T>::pointer_map, pointer_map<T>::~pointer_map, | |
1309 | pointer_map<T>::contains, pointer_map<T>::insert, | |
1310 | pointer_map<T>::traverse): New functions. | |
1311 | * pointer-set.c (struct pointer_set_t): Moved to pointer-set.h. | |
1312 | (pointer_set_lookup): New function. | |
1313 | (pointer_set_contains): Use pointer_set_lookup. | |
1314 | (pointer_set_insert): Likewise. | |
1315 | (insert_aux): Remove. | |
1316 | (struct pointer_map_t): Embed a pointer_set_t. | |
1317 | (pointer_map_create): Adjust. | |
1318 | (pointer_map_destroy): Likewise. | |
1319 | (pointer_map_contains): Likewise. | |
1320 | (pointer_map_insert): Likewise. | |
1321 | (pointer_map_traverse): Likewise. | |
1322 | * tree-streamer.h (struct streamer_tree_cache_d): Use a | |
1323 | pointer_map<unsigned> instead of a pointer_map_t. | |
1324 | * tree-streamer.c (streamer_tree_cache_insert_1): Adjust. | |
1325 | (streamer_tree_cache_lookup): Likewise. | |
1326 | (streamer_tree_cache_create): Likewise. | |
1327 | (streamer_tree_cache_delete): Likewise. | |
1328 | * lto-streamer.h (struct lto_tree_ref_encoder): Use a | |
1329 | pointer_map<unsigned> instead of a pointer_map_t. | |
1330 | (lto_init_tree_ref_encoder): Adjust. | |
1331 | (lto_destroy_tree_ref_encoder): Likewise. | |
1332 | * lto-section-out.c (lto_output_decl_index): Likewise. | |
1333 | (lto_record_function_out_decl_state): Likewise. | |
1334 | * dominance.c (iterate_fix_dominators): Use pointer_map<int>. | |
1335 | ||
3dbc97a9 RB |
1336 | 2013-06-24 Richard Biener <rguenther@suse.de> |
1337 | ||
1338 | PR tree-optimization/57488 | |
1339 | * tree-ssa-pre.c (insert): Clear NEW sets before each iteration. | |
1340 | ||
8345965a AM |
1341 | 2013-06-24 Alan Modra <amodra@gmail.com> |
1342 | ||
1343 | * config/rs6000/rs6000.c (vspltis_constant): Correct for little-endian. | |
1344 | (gen_easy_altivec_constant): Likewise. | |
1345 | * config/rs6000/predicates.md (easy_vector_constant_add_self, | |
1346 | easy_vector_constant_msb): Likewise. | |
1347 | ||
b7df379f JJ |
1348 | 2013-06-23 Jakub Jelinek <jakub@redhat.com> |
1349 | ||
1350 | PR target/57688 | |
1351 | * common/config/i386/i386-common.c (ix86_handle_option): For OPT_mlzcnt | |
1352 | add missing return true. | |
1353 | ||
0bcf9a09 OE |
1354 | 2013-06-23 Oleg Endo <olegendo@gcc.gnu.org> |
1355 | ||
1356 | PR target/52483 | |
1357 | * config/sh/predicates.md (general_extend_operand): Invoke | |
1358 | general_movsrc_operand for memory operands. | |
1359 | (general_movsrc_operand): Allow reg+reg addressing, do not use | |
1360 | general_operand for memory operands. | |
1361 | ||
97db2bf7 ST |
1362 | 2013-06-23 Sriraman Tallam <tmsriram@google.com> |
1363 | ||
1364 | * config/i386/i386.c (ix86_pragma_target_parse): Restore target | |
1365 | when current target options does not apply. | |
1366 | * config/i386/i386-protos.h (ix86_reset_previous_fndecl): New function. | |
1367 | * config/i386/i386.c (ix86_reset_previous_fndecl): Ditto. | |
0ba6aff3 UB |
1368 | * config/i386/bmiintrin.h: Pass appropriate target |
1369 | attributes to header. | |
97db2bf7 ST |
1370 | * config/i386/mmintrin.h: Ditto. |
1371 | * config/i386/nmmintrin.h: Ditto. | |
1372 | * config/i386/avx2intrin.h: Ditto. | |
1373 | * config/i386/fxsrintrin.h: Ditto. | |
1374 | * config/i386/tbmintrin.h: Ditto. | |
1375 | * config/i386/xsaveintrin.h: Ditto. | |
1376 | * config/i386/f16cintrin.h: Ditto. | |
1377 | * config/i386/xtestintrin.h: Ditto. | |
1378 | * config/i386/xsaveoptintrin.h: Ditto. | |
1379 | * config/i386/bmi2intrin.h: Ditto. | |
1380 | * config/i386/lzcntintrin.h: Ditto. | |
1381 | * config/i386/smmintrin.h: Ditto. | |
1382 | * config/i386/wmmintrin.h: Ditto. | |
1383 | * config/i386/x86intrin.h: Remove all header include guards. | |
1384 | * config/i386/prfchwintrin.h: Ditto. | |
1385 | * config/i386/pmmintrin.h: Ditto. | |
1386 | * config/i386/tmmintrin.h: Ditto. | |
1387 | * config/i386/xmmintrin.h: Ditto. | |
1388 | * config/i386/popcntintrin.h: Ditto. | |
1389 | * config/i386/rdseedintrin.h: Ditto. | |
1390 | * config/i386/ammintrin.h: Ditto. | |
1391 | * config/i386/emmintrin.h: Ditto. | |
1392 | * config/i386/immintrin.h: Remove all header include guards. | |
1393 | * config/i386/fma4intrin.h: Ditto. | |
1394 | * config/i386/lwpintrin.h: Ditto. | |
1395 | * config/i386/xopintrin.h: Ditto. | |
1396 | * config/i386/ia32intrin.h: Ditto. | |
1397 | * config/i386/avxintrin.h: Ditto. | |
1398 | * config/i386/rtmintrin.h: Ditto. | |
1399 | * config/i386/fmaintrin.h: Ditto. | |
1400 | * config/i386/mm3dnow.h: Ditto. | |
1401 | ||
495e6879 ST |
1402 | 2013-06-22 Sriraman Tallam <tmsriram@google.com> |
1403 | ||
1404 | * common/config/i386/i386-common.c: Handle LZCNT. | |
1405 | ||
11e8f687 AK |
1406 | 2013-06-22 Andi Kleen <ak@linux.intel.com> |
1407 | ||
1408 | * doc/extend.texi: Use __atomic_store_n instead of | |
1409 | __atomic_store in HLE example. | |
1410 | ||
664dd721 OE |
1411 | 2013-06-22 Oleg Endo <olegendo@gcc.gnu.org> |
1412 | ||
1413 | * config/sh/sh.c: Remove <cstdlib> workaround. | |
1414 | ||
927f908b AK |
1415 | 2013-06-21 Andi Kleen <ak@linux.intel.com> |
1416 | ||
0ba6aff3 | 1417 | * doc/extend.texi: Dont use __atomic_clear in HLE example. Fix typo. |
927f908b | 1418 | |
cca410b6 AK |
1419 | 2013-06-21 Andi Kleen <ak@linux.intel.com> |
1420 | ||
1421 | * doc/extend.texi: Document that __atomic_clear and | |
1422 | __atomic_test_and_set should only be used with bool. | |
1423 | ||
d84db1ed JH |
1424 | 2013-06-20 Jan Hubicka <jh@suse.cz> |
1425 | ||
1426 | * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Use | |
1427 | types_same_for_odr. | |
1428 | * tree.c (decls_same_for_odr): New function. | |
1429 | (same_for_edr): New function. | |
1430 | (types_same_for_odr): New function. | |
1431 | (get_binfo_at_offset): Use it. | |
1432 | * tree.h (types_same_for_odr): Declare. | |
1433 | ||
664dd721 | 1434 | 2013-06-20 Oleg Endo <olegendo@gcc.gnu.org> |
469a31a9 OE |
1435 | Jason Merrill <jason@redhat.com> |
1436 | ||
1437 | * system.h: Include <cstdlib> as well as <stdlib.h>. | |
1438 | ||
49b4ff63 UB |
1439 | 2013-06-20 Uros Bizjak <ubizjak@gmail.com> |
1440 | ||
1441 | PR target/57655 | |
1442 | * config/i386/i386.c (construct_container): Report error if | |
1443 | long double is used with disabled x87 float returns. | |
1444 | ||
7a89ad00 JH |
1445 | 2013-06-20 Jan Hubicka <jh@suse.cz> |
1446 | ||
1447 | * lto-cgraph.c (input_symtab): Do not set cgraph state. | |
1448 | ||
bd280792 JR |
1449 | 2013-06-20 Joern Rennecke <joern.rennecke@embecosm.com> |
1450 | ||
1451 | PR rtl-optimization/57425 | |
1452 | PR rtl-optimization/57569 | |
1453 | * alias.c (write_dependence_p): Remove parameters mem_mode and | |
1454 | canon_mem_addr. Add parameters x_mode, x_addr and x_canonicalized. | |
1455 | Changed all callers. | |
1456 | (canon_anti_dependence): Get comments and semantics in sync. | |
1457 | Add parameter mem_canonicalized. Changed all callers. | |
1458 | * rtl.h (canon_anti_dependence): Update prototype. | |
1459 | ||
d16e9a99 RB |
1460 | 2013-06-20 Richard Biener <rguenther@suse.de> |
1461 | ||
1462 | * data-streamer-in.c (streamer_read_uhwi): Optimize single | |
1463 | byte case, inline streamer_read_uchar and defer section | |
1464 | overrun check. | |
1465 | ||
c3a9b91b RB |
1466 | 2013-06-20 Richard Biener <rguenther@suse.de> |
1467 | ||
1468 | PR tree-optimization/57584 | |
1469 | * tree-ssa-loop-niter.c (expand_simple_operations): Avoid including | |
1470 | SSA names into the expanded expression that take part in | |
1471 | abnormal coalescing. | |
1472 | ||
fc8a650e SS |
1473 | 2013-06-19 <singhai@google.com> |
1474 | ||
1475 | * gcov.c (print_usage): Handle new option. | |
1476 | (process_args): Ditto. | |
1477 | (get_gcov_intermediate_filename): New function. | |
1478 | (output_intermediate_file): New function. | |
1479 | (output_gcov_file): New function | |
1480 | (generate_results): Handle new option. | |
1481 | (release_function): Relase demangled name. | |
1482 | (read_graph_file): Handle demangled name. | |
1483 | (output_lines): Ditto. | |
1484 | * doc/gcov.texi: Document gcov intermediate format. | |
1485 | ||
11f5b71a VM |
1486 | 2013-06-19 Vladimir Makarov <vmakarov@redhat.com> |
1487 | ||
1488 | PR bootstrap/57604 | |
1489 | * lra.c (emit_add3_insn, emit_add2_insn): New functions. | |
1490 | (lra_emit_add): Use the functions. Add comment about Y as an | |
1491 | address segment. | |
1492 | ||
e1f9340b DE |
1493 | 2013-06-19 David Edelsohn <dje.gcc@gmail.com> |
1494 | ||
1495 | PR driver/57652 | |
1496 | * collect2.c (collect_atexit): New. | |
1497 | (collect_exit): Delete. | |
1498 | (main): Register collect_atexit with atexit. | |
1499 | (collect_wait): Change collect_exit to exit. | |
1500 | (do_wait): Same. | |
1501 | * collect2.h (collect_exit): Delete. | |
1502 | * tlink.c (do_tlink): Rename exit to ret. Change collect_exit to exit. | |
1503 | ||
e3f9e0ac WM |
1504 | 2013-06-19 Wei Mi <wmi@google.com> |
1505 | ||
1506 | PR rtl-optimization/57518 | |
1507 | * ira.c (set_paradoxical_subreg): Set pdx_subregs[regno] | |
1508 | if regno is used in paradoxical subreg. | |
1509 | (update_equiv_regs): Check pdx_subregs[regno] before | |
1510 | set a reg to be equivalent with a mem. | |
1511 | ||
a09f1a76 MK |
1512 | 2013-06-19 Matthias Klose <doko@ubuntu.com> |
1513 | ||
1514 | PR driver/57651 | |
1515 | * file-find.h (find_a_file): Add a mode parameter. | |
1516 | * file-find.c (find_a_file): Likewise. | |
1517 | * gcc-ar.c (main): Call find_a_file with R_OK for the plugin, | |
1518 | with X_OK for the executables. | |
1519 | * collect2.c (main): Call find_a_file with X_OK. | |
1520 | ||
7d18b0ad SE |
1521 | 2013-06-19 Steve Ellcey <sellcey@mips.com> |
1522 | ||
1523 | PR target/56942 | |
1524 | * config/mips/mips.md (casesi_internal_mips16_<mode>): | |
1525 | Use NEXT_INSN instead of next_real_insn. | |
1526 | ||
6a6dac52 JH |
1527 | 2013-06-19 Jan Hubicka <jh@suse.cz> |
1528 | ||
1529 | * cgraph.h (const_value_known_p): Replace by ... | |
1530 | (ctor_for_folding): .. this one. | |
1531 | * cgraphunit.c (process_function_and_variable_attributes): Use it. | |
1532 | * lto-cgraph.c (compute_ltrans_boundary): Use ctor_for_folding. | |
1533 | * expr.c (expand_expr_real_1): Likewise. | |
1534 | (string_constant): Likewise. | |
1535 | * tree-ssa-loop-ivcanon.c (constant_after_peeling): Likewise. | |
1536 | * ipa.c (process_references): Likewise. | |
1537 | (symtab_remove_unreachable_nodes): Likewise. | |
1538 | * ipa-inline-analysis.c (param_change_prob): Likewise. | |
1539 | * gimple-fold.c (canonicalize_constructor_val): Likewise. | |
1540 | (get_base_constructor): Likwise. | |
1541 | * varpool.c (varpool_remove_node): Likewise. | |
1542 | (varpool_remove_initializer): LIkewise. | |
1543 | (dump_varpool_node): LIkwise. | |
1544 | (const_value_known_p): Rewrite to ... | |
1545 | (ctor_for_folding): ... this one. | |
1546 | ||
216c12ab JJ |
1547 | 2013-06-19 Jakub Jelinek <jakub@redhat.com> |
1548 | ||
1549 | PR driver/57651 | |
1550 | * gcc-ar.c (main): If not CROSS_DIRECTORY_STRUCTURE, look for | |
1551 | PERSONALITY in $PATH derived prefixes. | |
1552 | ||
d53e2f99 JL |
1553 | 2013-06-19 Jeff Law <law@redhat.com> |
1554 | ||
ecdbf306 JL |
1555 | * tree-ssa-forwprop.c (simplify_bitwise_binary_boolean): Fix typo |
1556 | in comment. | |
1557 | ||
d53e2f99 JL |
1558 | * tree-ssa-forwprop.c (simplify_bitwise_binary_boolean): New function. |
1559 | (simplify_bitwise_binary): Use it to simpify certain binary ops on | |
1560 | booleans. | |
1561 | ||
89e7fc04 SN |
1562 | 2013-06-19 Sofiane Naci <sofiane.naci@arm.com> |
1563 | ||
1564 | * config/arm/vfp.md: Move VFP instruction classification documentation | |
1565 | to ... | |
1566 | * config/arm/arm.md: ... here. Update instruction classification | |
1567 | documentation. | |
1568 | ||
5e7f6aaa RE |
1569 | 2013-06-19 Richard Earnshaw <rearnsha@arm.com> |
1570 | ||
1571 | arm.md (split for eq(reg, 0)): Add variants for ARMv5 and Thumb2. | |
1572 | (peepholes for eq(reg, not-0)): Ensure condition register is dead after | |
1573 | pattern. Use more efficient sequences on ARMv5 and Thumb2. | |
1574 | ||
5fdc1e5d SB |
1575 | 2013-06-19 Steven Bosscher <steven@gcc.gnu.org> |
1576 | ||
1577 | PR target/57609 | |
1578 | * config/s390/s390.c (s390_chunkify_start): Replace next_real_insn | |
1579 | with NEXT_INSN. Use tablejump_p to check for jump table data | |
1580 | insns. | |
1581 | ||
e952afba PC |
1582 | 2013-06-19 Paolo Carlini <paolo.carlini@oracle.com> |
1583 | ||
1584 | PR c++/56544 | |
1585 | * doc/cpp.texi [Standard Predefined Macros, __cplusplus]: Document | |
1586 | that now in C++ the value is correct per the C++ standards. | |
1587 | ||
3fd0303a RB |
1588 | 2013-06-19 Richard Biener <rguenther@suse.de> |
1589 | ||
1590 | * expr.c (expand_expr_real_1): Use SCOPE_FILE_SCOPE_P to check | |
1591 | for global context. | |
1592 | ||
b04e4b08 AK |
1593 | 2013-06-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1594 | ||
1595 | Revert: | |
1596 | 2013-06-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | |
1597 | ||
1598 | PR target/57609 | |
1599 | * config/s390/s390.c (s390_chunkify_start): Replace next_real_insn | |
1600 | with next_active_insn. | |
1601 | ||
bef8491a ST |
1602 | 2013-06-18 Sriraman Tallam <tmsriram@google.com> |
1603 | ||
1604 | * ipa-inline.c (inline_always_inline_functions): Pretend always_inline | |
1605 | functions are inlined during failures to flag an error. | |
1606 | * tree-inline.c (expand_call_inline): Allow the error to be flagged | |
1607 | in early inline pass. | |
22fc7d3d | 1608 | |
c21b257d L |
1609 | 2013-06-18 H.J. Lu <hongjiu.lu@intel.com> |
1610 | ||
1611 | * config/i386/i386.c (initial_ix86_tune_features): Fix a typo | |
1612 | in comments. | |
1613 | ||
33255ae3 JB |
1614 | 2013-06-18 Julian Brown <julian@codesourcery.com> |
1615 | ||
1616 | * config/arm/arm.c (neon_vector_mem_operand): Add strict argument. | |
1617 | Permit virtual register pre-reload if !strict. | |
1618 | (coproc_secondary_reload_class): Adjust for neon_vector_mem_operand | |
1619 | change. | |
1620 | * config/arm/arm-protos.h (neon_vector_mem_operand): Adjust | |
1621 | prototype. | |
1622 | * config/arm/neon.md (movmisalign<mode>): Use | |
1623 | neon_perm_struct_or_reg_operand instead of | |
1624 | neon_struct_or_register_operand. | |
1625 | (*movmisalign<mode>_neon_load, *movmisalign<mode>_neon_store): Use | |
1626 | neon_permissive_struct_operand instead of neon_struct_operand. | |
1627 | * config/arm/constraints.md (Un, Um, Us): Adjust calls to | |
1628 | neon_vector_mem_operand. | |
1629 | * config/arm/predicates.md (neon_struct_operand): Adjust call to | |
1630 | neon_vector_mem_operand. | |
1631 | (neon_permissive_struct_operand): New. | |
1632 | (neon_struct_or_register_operand): Rename to... | |
1633 | (neon_perm_struct_or_reg_operand): This. Adjust call to | |
1634 | neon_vector_mem_operand. | |
1635 | ||
d579fcda RB |
1636 | 2013-06-18 Richard Biener <rguenther@suse.de> |
1637 | ||
1638 | * Makefile.in (LTO_STREAMER_H): Add pointer-set.h dependency. | |
1639 | * lto-streamer.h: Include pointer-set.h. | |
1640 | (struct lto_decl_slot): Remove. | |
1641 | (struct lto_tree_ref_encoder): Make tree_hash_table a pointer-map. | |
1642 | Remove next_index entry. | |
1643 | (lto_hash_decl_slot_node, lto_eq_decl_slot_node, | |
1644 | lto_hash_type_slot_node, lto_eq_type_slot_node): Remove. | |
1645 | (lto_init_tree_ref_encoder): Adjust. | |
1646 | (lto_destroy_tree_ref_encoder): Likewise. | |
1647 | * lto-section-out.c (lto_hash_decl_slot_node, lto_eq_decl_slot_node, | |
1648 | lto_hash_type_slot_node, lto_eq_type_slot_node): Remove. | |
1649 | (lto_output_decl_index): Adjust. | |
1650 | (lto_new_out_decl_state): Likewise. | |
1651 | (lto_record_function_out_decl_state): Likewise. | |
1652 | * lto-streamer-out.c (copy_function): Likewise. | |
1653 | ||
31ee20ba RB |
1654 | 2013-06-18 Richard Biener <rguenther@suse.de> |
1655 | ||
1656 | * Makefile.in (cgraphunit.o): Add $(CFGLOOP_H) dependency. | |
1657 | * cgraphunit.c: Include cfgloop.h. | |
1658 | (init_lowered_empty_function): Initialize the loop tree. | |
1659 | (assemble_thunk): Insert new BBs into loops. | |
1660 | ||
ac0511f2 RB |
1661 | 2013-06-18 Richard Biener <rguenther@suse.de> |
1662 | ||
1663 | * tree-streamer.h (streamer_tree_cache_create): Adjust prototype. | |
1664 | * tree-streamer.c (streamer_tree_cache_create): Make maintaining | |
1665 | the map from cache entry to cache index optional. | |
1666 | (streamer_tree_cache_replace_tree): Adjust accordingly. | |
1667 | (streamer_tree_cache_append): Likewise. | |
1668 | (streamer_tree_cache_delete): Likewise. | |
1669 | * lto-streamer-in.c (lto_data_in_create): Do not maintain the | |
1670 | streamer cache map from cache entry to cache index. | |
1671 | * lto-streamer-out.c (create_output_block): Adjust. | |
1672 | ||
09485a08 SN |
1673 | 2013-06-18 Sofiane Naci <sofiane.naci@arm.com> |
1674 | ||
22fc7d3d UB |
1675 | * config/arm/arm.md (attribute "insn"): Move multiplication and |
1676 | division attributes to... | |
09485a08 SN |
1677 | (attribute "type"): ... here. Remove mult. |
1678 | (attribute "mul32"): New attribute. | |
1679 | (attribute "mul64"): Add umaal. | |
1680 | (*arm_mulsi3): Update attributes. | |
1681 | (*arm_mulsi3_v6): Likewise. | |
1682 | (*thumb_mulsi3): Likewise. | |
1683 | (*thumb_mulsi3_v6): Likewise. | |
1684 | (*mulsi3_compare0): Likewise. | |
1685 | (*mulsi3_compare0_v6): Likewise. | |
1686 | (*mulsi_compare0_scratch): Likewise. | |
1687 | (*mulsi_compare0_scratch_v6): Likewise. | |
1688 | (*mulsi3addsi): Likewise. | |
1689 | (*mulsi3addsi_v6): Likewise. | |
1690 | (*mulsi3addsi_compare0): Likewise. | |
1691 | (*mulsi3addsi_compare0_v6): Likewise. | |
1692 | (*mulsi3addsi_compare0_scratch): Likewise. | |
1693 | (*mulsi3addsi_compare0_scratch_v6): Likewise. | |
1694 | (*mulsi3subsi): Likewise. | |
1695 | (*mulsidi3adddi): Likewise. | |
1696 | (*mulsi3addsi_v6): Likewise. | |
1697 | (*mulsidi3adddi_v6): Likewise. | |
1698 | (*mulsidi3_nov6): Likewise. | |
1699 | (*mulsidi3_v6): Likewise. | |
1700 | (*umulsidi3_nov6): Likewise. | |
1701 | (*umulsidi3_v6): Likewise. | |
1702 | (*umulsidi3adddi): Likewise. | |
1703 | (*umulsidi3adddi_v6): Likewise. | |
1704 | (*smulsi3_highpart_nov6): Likewise. | |
1705 | (*smulsi3_highpart_v6): Likewise. | |
1706 | (*umulsi3_highpart_nov6): Likewise. | |
1707 | (*umulsi3_highpart_v6): Likewise. | |
1708 | (mulhisi3): Likewise. | |
1709 | (*mulhisi3tb): Likewise. | |
1710 | (*mulhisi3bt): Likewise. | |
1711 | (*mulhisi3tt): Likewise. | |
1712 | (maddhisi4): Likewise. | |
1713 | (*maddhisi4tb): Likewise. | |
1714 | (*maddhisi4tt): Likewise. | |
1715 | (maddhidi4): Likewise. | |
1716 | (*maddhidi4tb): Likewise. | |
1717 | (*maddhidi4tt): Likewise. | |
1718 | (divsi3): Likewise. | |
1719 | (udivsi3): Likewise. | |
1720 | * config/arm/thumb2.md (thumb2_mulsi_short): Update attributes. | |
1721 | (thumb2_mulsi_short_compare0): Likewise. | |
1722 | (thumb2_mulsi_short_compare0_scratch): Likewise. | |
1723 | * config/arm/arm1020e.md (1020mult1): Update attribute change. | |
1724 | (1020mult2): Likewise. | |
1725 | (1020mult3): Likewise. | |
1726 | (1020mult4): Likewise. | |
1727 | (1020mult5): Likewise. | |
1728 | (1020mult6): Likewise. | |
22fc7d3d UB |
1729 | * config/arm/cortex-a15.md (cortex_a15_mult32): Update attribute |
1730 | change. | |
09485a08 SN |
1731 | (cortex_a15_mult64): Likewise. |
1732 | (cortex_a15_sdiv): Likewise. | |
1733 | (cortex_a15_udiv): Likewise. | |
1734 | * config/arm/arm1026ejs.md (mult1): Update attribute change. | |
1735 | (mult2): Likewise. | |
1736 | (mult3): Likewise. | |
1737 | (mult4): Likewise. | |
1738 | (mult5): Likewise. | |
1739 | (mult6): Likewise. | |
1740 | * config/arm/marvell-pj4.md (pj4_ir_mul): Update attribute change. | |
1741 | (pj4_ir_div): Likewise. | |
1742 | * config/arm/arm1136jfs.md (11_mult1): Update attribute change. | |
1743 | (11_mult2): Likewise. | |
1744 | (11_mult3): Likewise. | |
1745 | (11_mult4): Likewise. | |
1746 | (11_mult5): Likewise. | |
1747 | (11_mult6): Likewise. | |
1748 | (11_mult7): Likewise. | |
1749 | * config/arm/cortex-a8.md (cortex_a8_mul): Update attribute change. | |
1750 | (cortex_a8_mla): Likewise. | |
1751 | (cortex_a8_mull): Likewise. | |
1752 | (cortex_a8_smulwy): Likewise. | |
1753 | (cortex_a8_smlald): Likewise. | |
1754 | * config/arm/cortex-m4.md (cortex_m4_alu): Update attribute change. | |
1755 | * config/arm/cortex-r4.md (cortex_r4_mul_4): Update attribute change. | |
1756 | (cortex_r4_mul_3): Likewise. | |
1757 | (cortex_r4_mla_4): Likewise. | |
1758 | (cortex_r4_mla_3): Likewise. | |
1759 | (cortex_r4_smlald): Likewise. | |
1760 | (cortex_r4_mull): Likewise. | |
1761 | (cortex_r4_sdiv): Likewise. | |
1762 | (cortex_r4_udiv): Likewise. | |
1763 | * config/arm/cortex-a7.md (cortex_a7_mul): Update attribute change. | |
1764 | (cortex_a7_idiv): Likewise. | |
1765 | * config/arm/arm926ejs.md (9_mult1): Update attribute change. | |
1766 | (9_mult2): Likewise. | |
1767 | (9_mult3): Likewise. | |
1768 | (9_mult4): Likewise. | |
1769 | (9_mult5): Likewise. | |
1770 | (9_mult6): Likewise. | |
1771 | * config/arm/cortex-a53.md (cortex_a53_mul): Update attribute change. | |
1772 | (cortex_a53_sdiv): Likewise. | |
1773 | (cortex_a53_udiv): Likewise. | |
1774 | * config/arm/fa726te.md (726te_mult_op): Update attribute change. | |
1775 | * config/arm/fmp626.md (mp626_mult1): Update attribute change. | |
1776 | (mp626_mult2): Likewise. | |
1777 | (mp626_mult3): Likewise. | |
1778 | (mp626_mult4): Likewise. | |
1779 | * config/arm/fa526.md (526_mult1): Update attribute change. | |
1780 | (526_mult2): Likewise. | |
1781 | * config/arm/arm-generic.md (mult): Update attribute change. | |
1782 | (mult_ldsched_strongarm): Likewise. | |
1783 | (mult_ldsched): Likewise. | |
1784 | (multi_cycle): Likewise. | |
1785 | * config/arm/cortex-a5.md (cortex_a5_mul): Update attribute change. | |
1786 | * config/arm/fa606te.md (606te_mult1): Update attribute change. | |
1787 | (606te_mult2): Likewise. | |
1788 | (606te_mult3): Likewise. | |
1789 | (606te_mult4): Likewise. | |
1790 | * config/arm/cortex-a9.md (cortex_a9_mult16): Update attribute change. | |
1791 | (cortex_a9_mac16): Likewise. | |
1792 | (cortex_a9_multiply): Likewise. | |
1793 | (cortex_a9_mac): Likewise. | |
1794 | (cortex_a9_multiply_long): Likewise. | |
1795 | * config/arm/fa626te.md (626te_mult1): Update attribute change. | |
1796 | (626te_mult2): Likewise. | |
1797 | (626te_mult3): Likewise. | |
1798 | (626te_mult4): Likewise. | |
1799 | ||
8951f345 RB |
1800 | 2013-06-18 Richard Biener <rguenther@suse.de> |
1801 | ||
1802 | PR lto/57334 | |
1803 | * lto-symtab.c (lto_symtab_merge_decls): Process nodes properly. | |
1804 | ||
d8101d05 AK |
1805 | 2013-06-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1806 | ||
1807 | PR target/57609 | |
1808 | * config/s390/s390.c (s390_chunkify_start): Replace next_real_insn | |
1809 | with next_active_insn. | |
1810 | ||
69eff9da AM |
1811 | 2013-06-18 Alan Modra <amodra@gmail.com> |
1812 | ||
1813 | * config/rs6000/rs6000.h (enum data_align): New. | |
1814 | (LOCAL_ALIGNMENT, DATA_ALIGNMENT): Use rs6000_data_alignment. | |
1815 | (DATA_ABI_ALIGNMENT): Define. | |
1816 | (CONSTANT_ALIGNMENT): Correct comment. | |
1817 | * config/rs6000/rs6000-protos.h (rs6000_data_alignment): Declare. | |
1818 | * config/rs6000/rs6000.c (rs6000_data_alignment): New function. | |
1819 | ||
8ed00d76 DM |
1820 | 2013-06-17 David Malcolm <dmalcolm@redhat.com> |
1821 | ||
1822 | * ggc-page.c (ggc_pch_write_object) <d>: Remove erroneous | |
1823 | ATTRIBUTE_UNUSED marking. | |
1824 | ||
3d33d06b SN |
1825 | 2013-06-17 Sofiane Naci <sofiane.naci@arm.com> |
1826 | ||
1827 | * config/aarch64/aarch64-simd.md (aarch64_dup_lane<mode>): Add r<-w | |
1828 | alternative and update. | |
1829 | (aarch64_dup_lanedi): Delete. | |
1830 | * config/aarch64/arm_neon.h (vdup<bhsd>_lane_*): Update. | |
1831 | * config/aarch64/aarch64-simd-builtins.def: Update. | |
1832 | ||
ee03e71d RB |
1833 | 2013-06-17 Richard Biener <rguenther@suse.de> |
1834 | ||
1835 | * lto-streamer.h (enum LTO_tags): Add LTO_tree_scc. | |
1836 | (lto_input_scc): Declare. | |
1837 | (lto_input_tree_1): Likewise. | |
1838 | (struct lto_stats_d): Add num_tree_bodies_output and | |
1839 | num_pickle_refs_output. | |
1840 | * lto-streamer-in.c (lto_read_body): Use streamer_tree_cache_get_tree. | |
1841 | (lto_read_tree_1): Split out from ... | |
1842 | (lto_read_tree): ... this. | |
1843 | (lto_input_scc): New function. | |
1844 | (lto_input_tree_1): Split out from ... | |
1845 | (lto_input_tree): ... this. Handle LTO_tree_scc. | |
1846 | (lto_data_in_create): Create the streamer cache without hashes. | |
1847 | * lto-streamer-out.c (create_output_block): Create the streamer | |
1848 | cache with hashes when not doing WPA. | |
1849 | (lto_write_tree_1): Split out from ... | |
1850 | (lto_write_tree): ... this. | |
1851 | (get_symbol_initial_value): New function. | |
1852 | (lto_output_tree_1): Split out from ... | |
1853 | (lto_output_tree): ... this. Write trees as series of SCCs | |
1854 | using a DFS walk via DFS_write_tree. | |
1855 | (struct sccs, struct scc_entry): New types. | |
1856 | (next_dfs_num, sccstack, sccstate, sccstate_obstack): New globals. | |
1857 | (DFS_write_tree_body): New function. | |
1858 | (DFS_write_tree): Likewise. | |
1859 | (hash_tree): Likewise. | |
1860 | (scc_entry_compare): Likewise. | |
1861 | (hash_scc): Likewise. | |
1862 | (tree_is_indexable): DEBUG_EXPR_DECLs are local entities. | |
1863 | * tree-streamer-in.c (lto_input_ts_list_tree_pointers): Stream | |
1864 | TREE_CHAIN as regular reference. | |
1865 | (streamer_read_integer_cst): Remove. | |
1866 | (streamer_get_pickled_tree): Adjust. | |
1867 | * tree-streamer-out.c (streamer_write_chain): Disable streaming | |
1868 | of DECL_EXTERNALs in BLOCK_VARS for now. | |
1869 | (write_ts_list_tree_pointers): Stream TREE_CHAIN as regular | |
1870 | reference. | |
1871 | * tree-streamer.c (streamer_tree_cache_add_to_node_array): | |
1872 | Add hash value argument and record that if hashes are recorded | |
1873 | in the cache. | |
1874 | (streamer_tree_cache_insert_1): Adjust. | |
1875 | (streamer_tree_cache_insert): Likewise. | |
1876 | (streamer_tree_cache_insert_at): Rename to ... | |
1877 | (streamer_tree_cache_replace_tree): ... this and adjust. | |
1878 | (streamer_tree_cache_append): Adjust. | |
1879 | (record_common_node): Likewise. | |
1880 | (streamer_tree_cache_create): Add argument whether to | |
1881 | record hash values together with trees. | |
1882 | (streamer_tree_cache_delete): Adjust. | |
1883 | * tree-streamer.h (struct streamer_tree_cache_d): Add | |
1884 | vector of hashes. | |
1885 | (streamer_read_integer_cst): Remove. | |
1886 | (streamer_tree_cache_insert): Adjust. | |
1887 | (streamer_tree_cache_append): Likewise. | |
1888 | (streamer_tree_cache_insert_at): Rename to ... | |
1889 | (streamer_tree_cache_replace_tree): ... this and adjust. | |
1890 | (streamer_tree_cache_create): Add argument whether to record hashes. | |
1891 | (streamer_tree_cache_get): Rename to ... | |
1892 | (streamer_tree_cache_get_tree): ... this. | |
1893 | (streamer_tree_cache_get_hash): New function. | |
1894 | * tree.c (cache_integer_cst): New function. | |
1895 | * tree.h (cache_integer_cst): Declare. | |
1896 | (ANON_AGGRNAME_FORMAT, ANON_AGGRNAME_P): Move here from cp/cp-tree.h. | |
1897 | * lto-symtab.c (lto_varpool_replace_node): Only release | |
1898 | DECL_INITIAL of non-prevailing decls. | |
1899 | * varpool.c (varpool_remove_initializer): Do not release | |
1900 | DECL_INITIAL when we are still in CGRAPH_LTO_STREAMING. | |
1901 | ||
0de86a92 JU |
1902 | 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de> |
1903 | ||
1904 | * config/mips/mips.h (ISA_HAS_MUL3): Include TARGET_MIPS5900. | |
1905 | (ISA_HAS_MULT, ISA_HAS_DMULT, ISA_HAS_DIV, ISA_HAS_DDIV): New macros. | |
1906 | * config/mips/mips.md (mul<mode>3, mul<mode>3_internal) | |
1907 | (mul<mode>3_r4000): Require ISA_HAS_<D>MULT. | |
1908 | (mul<mode>3_mul3): Handle TARGET_MIPS5900. | |
1909 | (mulsidi3_64bit_dmul): Remove redundant TARGET_64BIT test. | |
1910 | (<su>muldi3_highpart, <su>muldi3_highpart_internal, <u>mulditi3) | |
1911 | (<u>mulditi3_internal, <u>mulditi3_r4000): Require ISA_HAS_DMULT | |
1912 | instead of TARGET_64BIT. | |
1913 | (divmod<mode>4, udivmod<mode>4, <u>divmod<GPR:mode>4_hilo_<HILO:mode>): | |
1914 | Require ISA_HAS_<D>DIV. | |
1915 | ||
74240413 RS |
1916 | 2013-06-16 Richard Sandiford <rdsandiford@googlemail.com> |
1917 | ||
1918 | * config.gcc (mips*-mti-linux*, mips64*-*-linux*, mipsisa64*-*-linux*) | |
1919 | (mips*-*-linux*): Move default with_llsc setting to where other | |
1920 | defaults are set. | |
1921 | (mips*-*-vxworks*): Move with_arch default from with_cpu block to | |
1922 | with_arch block. | |
1923 | (mips64r5900-*-*, mips64r5900el-*-*, mipsr5900-*-*, mipsr5900el-*-*): | |
1924 | Likewise. Remove default with_tune setting. Move default float | |
1925 | setting to its own block. Handle with_llsc in the same block as above. | |
1926 | ||
393f9fed JR |
1927 | 2013-06-16 Joern Rennecke <joern.rennecke@embecosm.com> |
1928 | ||
1929 | PR rtl-optimization/57425 | |
1930 | PR rtl-optimization/57569 | |
299a5f6a | 1931 | * alias.c (write_dependence_p): Add new parameters mem_mode, |
393f9fed JR |
1932 | canon_mem_addr and mem_canonicalized. Change type of writep to bool. |
1933 | Changed all callers. | |
1934 | (canon_anti_dependence): New function. | |
1935 | * cse.c (check_dependence): Use canon_anti_dependence. | |
1936 | * cselib.c (cselib_invalidate_mem): Likewise. | |
1937 | * rtl.h (canon_anti_dependence): Declare. | |
1938 | ||
b259d352 JU |
1939 | 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de> |
1940 | ||
1941 | * config/mips/mips.h (ISA_HAS_LL_SC): Exclude TARGET_MIPS5900. | |
1942 | * config/mips/mips.c (mips_start_ll_sc_sync_block): Output | |
1943 | ".set mips3" for 64-bit targets. | |
1944 | ||
4de09b85 DC |
1945 | 2013-06-15 Dehao Chen <dehao@google.com> |
1946 | ||
1947 | * tree-flow.h (gimple_check_call_matching_types): Add new argument. | |
1948 | * gimple-low.c (gimple_check_call_matching_types): Likewise. | |
1949 | (gimple_check_call_args): Likewise. | |
1950 | * value-prof.c (check_ic_target): Likewise. | |
1951 | * ipa-inline.c (early_inliner): Likewise. | |
1952 | * ipa-prop.c (update_indirect_edges_after_inlining): Likewise. | |
1953 | * cgraph.c (cgraph_create_edge_1): Likewise. | |
1954 | (cgraph_make_edge_direct): Likewise. | |
1955 | ||
d1aa4a76 MM |
1956 | 2013-06-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
1957 | ||
1958 | PR target/57615 | |
1959 | * config/rs6000/rs6000.md (mov<mode>_ppc64): Call | |
1960 | rs6000_output_move_128bit to handle emitting quad memory | |
1961 | operations. Set attribute length to 8 bytes. | |
1962 | ||
24244e4d VP |
1963 | 2013-06-14 Vidya Praveen <vidyapraveen@arm.com> |
1964 | ||
1965 | * config/aarch64/aarch64-simd.md (aarch64_<su>mlal_lo<mode>): | |
1966 | New pattern. | |
1967 | (aarch64_<su>mlal_hi<mode>, aarch64_<su>mlsl_lo<mode>): Likewise. | |
1968 | (aarch64_<su>mlsl_hi<mode>, aarch64_<su>mlal<mode>): Likewise. | |
1969 | (aarch64_<su>mlsl<mode>): Likewise. | |
1970 | ||
f5273574 MS |
1971 | 2013-06-14 Mike Stump <mikestump@comcast.net> |
1972 | ||
1973 | * Makefile.in (TARGET_H): Add insn-codes.h. | |
1974 | ||
ef7e7ab2 AM |
1975 | 2013-06-14 Alan Modra <amodra@gmail.com> |
1976 | ||
1977 | PR middle-end/57134 | |
1978 | PR middle-end/57586 | |
1979 | * expr.c (expand_expr_real_1 <normal_inner_ref>): Pass | |
1980 | EXPAND_MEMORY and EXPAND_WRITE to recursive call. Don't use | |
1981 | bitfield expansion when EXPAND_MEMORY. | |
1982 | (expand_expr_real_1 <VIEW_CONVERT_EXPR>): Pass modifier likewise. | |
1983 | ||
135faab6 MM |
1984 | 2013-06-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
1985 | ||
1986 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Move | |
1987 | test for clearing quad memory on 32-bit later. | |
1988 | ||
948a1fd9 MG |
1989 | 2013-06-13 Marc Glisse <marc.glisse@inria.fr> |
1990 | ||
1991 | * fold-const.c (negate_expr_p): Handle VECTOR_CST. | |
1992 | (fold_negate_expr): Likewise. | |
1993 | (fold_real_zero_addition_p): Handle vectors. | |
1994 | (fold_binary_loc) <PLUS_EXPR, MINUS_EXPR>: Likewise. | |
1995 | ||
0597fb9c AM |
1996 | 2013-06-14 Alan Modra <amodra@gmail.com> |
1997 | ||
1998 | * varasm.c (force_const_mem): Revert 2013-06-07 change. | |
1999 | ||
e5b962d0 JH |
2000 | 2013-06-13 Jan Hubicka <jh@suse.cz> |
2001 | ||
2002 | * ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): | |
2003 | Local comdats are not externally visible. | |
2004 | * symtab.c (dump_symtab_base): Dump externally visible. | |
2005 | (verify_symtab_base): Verify back links in the symtab hash. | |
2006 | ||
a8355e51 BC |
2007 | 2013-06-13 Bin Cheng <bin.cheng@arm.com> |
2008 | ||
2009 | * fold-const.c (operand_equal_p): Consider NOP_EXPR and | |
2010 | CONVERT_EXPR as equal nodes. | |
2011 | ||
8f7e6e33 BC |
2012 | 2013-06-13 Bin Cheng <bin.cheng@arm.com> |
2013 | ||
22fc7d3d | 2014 | * rtlanal.c (noop_move_p): Check the code to be executed for COND_EXEC. |
8f7e6e33 | 2015 | |
5d418483 MG |
2016 | 2013-06-13 Marc Glisse <marc.glisse@inria.fr> |
2017 | ||
2018 | * tree-ssa-forwprop.c (simplify_bitwise_binary, associate_plusminus): | |
2019 | Generalize to complex and vector. | |
2020 | * tree.c (build_all_ones_cst): New function. | |
2021 | * tree.h (build_all_ones_cst): Declare it. | |
2022 | ||
50751417 AM |
2023 | 2013-06-13 Alan Modra <amodra@gmail.com> |
2024 | ||
2025 | * config/rs6000/rs6000.h (LONG_DOUBLE_LARGE_FIRST): Define. | |
2026 | * config/rs6000/rs6000.md (signbittf2): New insn. | |
2027 | (extenddftf2_internal): Use LONG_DOUBLE_LARGE_FIRST. | |
2028 | (abstf2_internal, cmptf_internal2): Likewise. | |
2029 | * config/rs6000/spe.md (spe_abstf2_cmp, spe_abstf2_tst): Likewise. | |
2030 | ||
4b02c962 MM |
2031 | 2013-06-12 Michael Meissner <meissner@linux.vnet.ibm.com> |
2032 | Pat Haugen <pthaugen@us.ibm.com> | |
2033 | Peter Bergner <bergner@vnet.ibm.com> | |
2034 | ||
2035 | * config/rs6000/rs6000.c (emit_load_locked): Add support for | |
2036 | power8 byte, half-word, and quad-word atomic instructions. | |
2037 | (emit_store_conditional): Likewise. | |
2038 | (rs6000_expand_atomic_compare_and_swap): Likewise. | |
2039 | (rs6000_expand_atomic_op): Likewise. | |
2040 | ||
2041 | * config/rs6000/sync.md (larx): Add new modes for power8. | |
2042 | (stcx): Likewise. | |
2043 | (AINT): New mode iterator to include TImode as well as normal | |
2044 | integer modes on power8. | |
2045 | (fetchop_pred): Use int_reg_operand instead of gpc_reg_operand so | |
2046 | that VSX registers are not considered. Use AINT mode iterator | |
2047 | instead of INT1 to allow inclusion of quad word atomic operations | |
2048 | on power8. | |
2049 | (load_locked<mode>): Likewise. | |
2050 | (store_conditional<mode>): Likewise. | |
2051 | (atomic_compare_and_swap<mode>): Likewise. | |
2052 | (atomic_exchange<mode>): Likewise. | |
2053 | (atomic_nand<mode>): Likewise. | |
2054 | (atomic_fetch_<fetchop_name><mode>): Likewise. | |
2055 | (atomic_nand_fetch<mode>): Likewise. | |
2056 | (mem_thread_fence): Use gen_loadsync_<mode> instead of enumerating | |
2057 | each type. | |
2058 | (ATOMIC): On power8, add QImode, HImode modes. | |
2059 | (load_locked<QHI:mode>_si): Varients of load_locked for QI/HI | |
2060 | modes that promote to SImode. | |
2061 | (load_lockedti): Convert TImode arguments to PTImode, so that we | |
2062 | get a guaranteed even/odd register pair. | |
2063 | (load_lockedpti): Likewise. | |
2064 | (store_conditionalti): Likewise. | |
2065 | (store_conditionalpti): Likewise. | |
2066 | ||
2067 | * config/rs6000/rs6000.md (QHI): New mode iterator for power8 | |
2068 | atomic load/store instructions. | |
2069 | (HSI): Likewise. | |
2070 | ||
710b6cc1 RS |
2071 | 2013-06-12 Richard Sandiford <rdsandiford@googlemail.com> |
2072 | ||
2073 | * config/mips/mips.md (extended_mips16): Include GOT and constant-pool | |
2074 | loads. | |
2075 | (insn_count): New attribute, with most cases extracted from... | |
2076 | (length): ...here. Redefine most cases in terms of insn_count. | |
2077 | (single_insn): Delete. | |
2078 | (can_delay): Use insn_count to check for single instructions. | |
2079 | (*mul<mode>3_r4300, mul<mode>3_r4000, *mul_acc_si, *mul_acc_si_r3900) | |
2080 | (*msac_using_macc, *mul_sub_si, <u>mulsidi3_32bit_r4000) | |
2081 | (<u>mulsidi3_64bit_r4000, <su>muldi3_highpart_internal) | |
2082 | (<su>mulsi3_highpart_split, <su>muldi3_highpart_internal) | |
2083 | (<u>mulditi3_r4000, *div<mode>3, *recip<mode>3, divmod<mode>4) | |
2084 | (udivmod<mode>4, sqrt<mode>2, *rsqrt<mode>a, *rsqrt<mode>b) | |
2085 | (fix_truncdfsi2_macro, fix_truncsfsi2_macro, *lea_high64) | |
2086 | (*lea64, cprestore_<mode>, clear_hazard_<mode>, <unnamed insn>) | |
2087 | (casesi_internal_mips16_<mode>, *tls_get_tp_<mode>_split) | |
2088 | (tls_get_tp_mips16, *tls_get_tp_mips16_call_<mode>): Use "insn_count" | |
2089 | rather than "length". | |
2090 | (tls_get_tp_<mode>): Likewise. Remove redundant "no_delay" attribute. | |
2091 | * config/mips/mips-ps-3d.md (mips_c_cond_4s, mips_cabs_cond_4s): | |
2092 | Use "insn_count" rather than "length". | |
2093 | * config/mips/mips-dsp.md | |
2094 | (mips_l<SHORT:size><u>x_ext<GPR:mode>_<P:mode>) | |
2095 | (mips_l<GPR:size>x_<P:mode>, *mips_lw<u>x_<P:mode>_ext): Remove | |
2096 | length attributes. | |
2097 | ||
1951f101 MG |
2098 | 2013-06-12 Marc Glisse <marc.glisse@inria.fr> |
2099 | ||
2100 | PR tree-optimization/57361 | |
2101 | * tree-ssa-dse.c (dse_possible_dead_store_p): Handle self-assignment. | |
2102 | ||
8b033a8a SN |
2103 | 2013-06-12 Sofiane Naci <sofiane.naci@arm.com> |
2104 | ||
22fc7d3d UB |
2105 | * config/aarch64/aarch64-simd.md (aarch64_combine<mode>): Convert |
2106 | to split. | |
8b033a8a SN |
2107 | (aarch64_simd_combine<mode>): New instruction expansion. |
2108 | * config/aarch64/aarch64-protos.h (aarch64_split_simd_combine): New | |
2109 | function prototype. | |
2110 | * config/aarch64/aarch64.c (aarch64_split_combine): New function. | |
2111 | * config/aarch64/iterators.md (Vdbl): Add entry for DF. | |
2112 | ||
ca0f62a8 JH |
2113 | 2013-06-12 Jan Hubicka <jh@suse.cz> |
2114 | ||
2115 | * cgraph.c (verify_edge_corresponds_to_fndecl): Be lax about | |
2116 | decl has when in streaming stage. | |
2117 | * lto-symtab.c (lto_symtab_merge_symbols): Likewise. | |
2118 | * cgraph.h (cgraph_state): Add CGRAPH_LTO_STREAMING. | |
2119 | ||
cddd69eb RS |
2120 | 2013-06-12 Roland Stigge <stigge@antcom.de> |
2121 | ||
2122 | PR target/57578 | |
2123 | * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix SPE version detection. | |
2124 | ||
bfdeda2c JJ |
2125 | 2013-06-12 Jakub Jelinek <jakub@redhat.com> |
2126 | ||
2127 | PR tree-optimization/57537 | |
2128 | * tree-vect-patterns.c (vect_recog_widen_mult_pattern): If | |
2129 | vect_handle_widen_op_by_const, convert oprnd1 to half_type1. | |
2130 | ||
a4fa02d1 RB |
2131 | 2013-06-12 Richard Biener <rguenther@suse.de> |
2132 | ||
2133 | * data-streamer.h (streamer_write_char_stream): CSE | |
2134 | obs->current_pointer. | |
2135 | * data-streamer-out.c (streamer_write_uhwi_stream): Inline | |
2136 | streamer_write_char_stream manually and optimize the resulting loop. | |
2137 | (streamer_write_hwi_stream): Likewise. | |
2138 | ||
bbf9ad07 JH |
2139 | 2013-06-12 Jan Hubicka <jh@suse.cz> |
2140 | ||
2141 | * lto-symtab.c (lto_symtab_merge_symbols): Populate symtab hashtable. | |
2142 | * cgraph.h (varpool_create_empty_node): Declare. | |
2143 | * lto-cgraph.c (input_node, input_varpool_node): Forcingly create | |
2144 | duplicated nodes. | |
2145 | * symtab.c (symtab_unregister_node): Be lax about missin entries | |
2146 | in node hash. | |
2147 | (symtab_get_node): Update comment. | |
2148 | * varpool.c (varpool_create_empty_node): Break out from ... | |
2149 | (varpool_node_for_decl): ... here. | |
2150 | * lto-streamer.h (lto_file_decl_data): Add RESOLUTION_MAP. | |
2151 | ||
a53f90ad EB |
2152 | 2013-06-12 Eric Botcazou <ebotcazou@adacore.com> |
2153 | ||
2154 | * expr.c (expand_expr_real_1) <TARGET_MEM_REF>: Use straight-line flow. | |
2155 | <MEM_REF>: Use 'type' instead of TREE_TYPE (exp) and tidy up the first | |
2156 | part. Use straight-line flow at the end. | |
2157 | <COMPONENT_REF>: Remove superfluous else. | |
2158 | <VIEW_CONVERT_EXPR>: Use 'type' instead of TREE_TYPE (exp). | |
2159 | ||
946f9306 JJ |
2160 | 2013-06-12 Jakub Jelinek <jakub@redhat.com> |
2161 | ||
2162 | PR target/56564 | |
2163 | * varasm.c (decl_binds_to_current_def_p): Call binds_local_p | |
2164 | target hook even for !TREE_PUBLIC decls. If no resolution info | |
2165 | is available, return false for common and external decls. | |
2166 | ||
a7fca6f0 KP |
2167 | 2013-06-12 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
2168 | ||
2169 | * config/rl78/constraints.md (U): New constraint. | |
2170 | * config/rl78/rl78.md (*mulqi3_rl78,*mulhi3_rl78,*mulhi3_g13): Add | |
2171 | valloc attribute. | |
2172 | ||
c7d8f446 MM |
2173 | 2013-06-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
2174 | ||
2175 | PR target/57589 | |
2176 | * config/rs6000/driver-rs6000.c (elf_platform): Make buffer static | |
2177 | to allow returning address to AT_PLATFORM name. | |
2178 | ||
08346abd JH |
2179 | 2013-06-11 Jan Hubicka <jh@suse.cz> |
2180 | ||
2181 | * cgraph.c (cgraph_create_function_alias): Set weakref flag. | |
2182 | * cgraph.h (symtab_node_base): Add weakref flag. | |
2183 | * cgraphunit.c (cgraph_reset_node): Clear weakref flag. | |
2184 | (handle_alias_pairs): Set weakref flag, do not set DECL_EXTERNAL. | |
2185 | (output_weakrefs): Use weakref flag. | |
2186 | * fold-const.c (simple_operand_p): Handle WEAK. | |
2187 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Drop weakref. | |
2188 | * ipa.c (varpool_externally_visible_p): Drop weakref. | |
2189 | (function_and_variable_visibility): Update comment; fix weakref | |
2190 | sanity checks; do not clear DECL_WEAK on them. | |
2191 | * lto-cgraph.c (lto_output_node): update. | |
2192 | (lto_output_varpool_node): Update. | |
2193 | (input_overwrite_node): Update. | |
2194 | (input_node): Update. | |
2195 | (input_varpool_node): Update. | |
2196 | * lto-symtab.c (lto_symtab_symbol_p): Do not special case weakrefs. | |
2197 | (lto_symtab_merge_symbols): Add sanity check. | |
2198 | (lto_symtab_prevailing_decl): Do not special case weakrefs. | |
2199 | * passes.c (rest_of_decl_compilation): Set static flag, too. | |
2200 | * symtab.c (dump_symtab_base): Dump weakref. | |
2201 | (verify_symtab_base): Sanity check weakrefs. | |
2202 | (symtab_make_decl_local): Remove duplicated code. | |
2203 | (symtab_alias_ultimate_target): Simplify. | |
2204 | * varpool.c (varpool_create_variable_alias): Set weakref flag. | |
c7d8f446 | 2205 | |
d9af3652 DD |
2206 | 2013-06-11 DJ Delorie <dj@redhat.com> |
2207 | ||
2208 | * config/rl78/rl78.c (TARGET_UNWIND_WORD_MODE): Define. | |
2209 | (rl78_unwind_word_mode): New. | |
2210 | ||
ffa66012 DM |
2211 | 2013-06-11 David Malcolm <dmalcolm@redhat.com> |
2212 | ||
2213 | * final.c (debug_prefix_maps): Make static. | |
2214 | ||
783f2d35 DM |
2215 | 2013-06-11 David Malcolm <dmalcolm@redhat.com> |
2216 | ||
2217 | * function.c (initial_trampoline): Remove stray copy. | |
2218 | ||
7af26def SN |
2219 | 2013-06-11 Sofiane Naci <sofiane.naci@arm.com> |
2220 | ||
2221 | * config/aarch64/aarch64-simd.md (move_lo_quad_<mode>): Update. | |
2222 | ||
97756c0e MJ |
2223 | 2013-06-11 Martin Jambor <mjambor@suse.cz> |
2224 | ||
2225 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that param_index is | |
2226 | within bounds at the beginning of the function. | |
2227 | ||
2c7b8bf6 AM |
2228 | 2013-06-11 Alan Modra <amodra@gmail.com> |
2229 | ||
2230 | * varasm.c (get_section): Don't die on !DECL_P decl. Tidy error | |
2231 | reporting. | |
2232 | (get_named_section): Don't NULL !DECL_P decl. | |
2233 | ||
77cea46e IZ |
2234 | 2013-06-11 Igor Zamyatin <igor.zamyatin@intel.com> |
2235 | ||
2236 | * doc/invoke.texi (core-avx2): Document. | |
2237 | (slm): Likewise. | |
2238 | (atom): Updated with MOVBE. | |
2239 | ||
888f0920 RB |
2240 | 2013-06-11 Richard Biener <rguenther@suse.de> |
2241 | ||
22fc7d3d | 2242 | * collect2.c (main): Do not redirect ld stdout/stderr when debugging. |
888f0920 | 2243 | |
6b438d58 AB |
2244 | 2013-06-11 Anton Blanchard <anton@samba.org> |
2245 | ||
2246 | * config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Calculate | |
2247 | correct shift value in little-endian mode. | |
2248 | ||
3bc66938 JJ |
2249 | 2013-06-11 Jakub Jelinek <jakub@redhat.com> |
2250 | ||
2251 | PR target/56564 | |
2252 | * varasm.c (get_variable_align): Move #endif to the right place. | |
2253 | ||
a5dc7f88 CC |
2254 | 2013-06-10 Cary Coutant <ccoutant@google.com> |
2255 | ||
2256 | * dwarf2out.c (hash_external_ref): Use die_symbol or signature | |
2257 | for hash so that hash table traversal order is deterministic. | |
2258 | ||
19be72ab MM |
2259 | 2013-06-10 Michael Meissner <meissner@linux.vnet.ibm.com> |
2260 | Pat Haugen <pthaugen@us.ibm.com> | |
2261 | Peter Bergner <bergner@vnet.ibm.com> | |
2262 | ||
2263 | * config/rs6000/vector.md (GPR move splitter): Do not split moves | |
2264 | of vectors in GPRS if they are direct moves or quad word load or | |
2265 | store moves. | |
2266 | ||
2267 | * config/rs6000/rs6000-protos.h (rs6000_output_move_128bit): Add | |
2268 | declaration. | |
2269 | (direct_move_p): Likewise. | |
2270 | (quad_load_store_p): Likewise. | |
2271 | ||
2272 | * config/rs6000/rs6000.c (enum rs6000_reg_type): Simplify register | |
2273 | classes into bins based on the physical register type. | |
2274 | (reg_class_to_reg_type): Likewise. | |
2275 | (IS_STD_REG_TYPE): Likewise. | |
2276 | (IS_FP_VECT_REG_TYPE): Likewise. | |
2277 | (reload_fpr_gpr): Arrays to determine what insn to use if we can | |
2278 | use direct move instructions. | |
2279 | (reload_gpr_vsx): Likewise. | |
2280 | (reload_vsx_gpr): Likewise. | |
2281 | (rs6000_init_hard_regno_mode_ok): Precalculate the register type | |
2282 | information that is a simplification of register classes. Also | |
2283 | precalculate direct move reload helpers. | |
2284 | (direct_move_p): New function to return true if the operation can | |
2285 | be done as a direct move instruciton. | |
2286 | (quad_load_store_p): New function to return true if the operation | |
2287 | is a quad memory operation. | |
2288 | (rs6000_legitimize_address): If quad memory, only allow register | |
2289 | indirect for TImode addresses. | |
2290 | (rs6000_legitimate_address_p): Likewise. | |
2291 | (enum reload_reg_type): Delete, replace with rs6000_reg_type. | |
2292 | (rs6000_reload_register_type): Likewise. | |
2293 | (register_to_reg_type): Return register type. | |
2294 | (rs6000_secondary_reload_simple_move): New helper function for | |
2295 | secondary reload and secondary memory needed to identify anything | |
2296 | that is a simple move, and does not need reloading. | |
2297 | (rs6000_secondary_reload_direct_move): New helper function for | |
2298 | secondary reload to identify cases that can be done with several | |
2299 | instructions via the direct move instructions. | |
2300 | (rs6000_secondary_reload_move): New helper function for secondary | |
2301 | reload to identify moves between register types that can be done. | |
2302 | (rs6000_secondary_reload): Add support for quad memory operations | |
2303 | and for direct move. | |
2304 | (rs6000_secondary_memory_needed): Likewise. | |
2305 | (rs6000_debug_secondary_memory_needed): Change argument names. | |
2306 | (rs6000_output_move_128bit): New function to return the move to | |
2307 | use for 128-bit moves, including knowing about the various | |
2308 | limitations of quad memory operations. | |
2309 | ||
2310 | * config/rs6000/vsx.md (vsx_mov<mode>): Add support for quad | |
2311 | memory operations. call rs6000_output_move_128bit for the actual | |
2312 | instruciton(s) to generate. | |
2313 | (vsx_movti_64bit): Likewise. | |
2314 | ||
2315 | * config/rs6000/rs6000.md (UNSPEC_P8V_FMRGOW): New unspec values. | |
2316 | (UNSPEC_P8V_MTVSRWZ): Likewise. | |
2317 | (UNSPEC_P8V_RELOAD_FROM_GPR): Likewise. | |
2318 | (UNSPEC_P8V_MTVSRD): Likewise. | |
2319 | (UNSPEC_P8V_XXPERMDI): Likewise. | |
2320 | (UNSPEC_P8V_RELOAD_FROM_VSX): Likewise. | |
2321 | (UNSPEC_FUSION_GPR): Likewise. | |
2322 | (FMOVE128_GPR): New iterator for direct move. | |
22fc7d3d | 2323 | (f32_lv): New mode attribute for load/store of SFmode/SDmode values. |
19be72ab MM |
2324 | (f32_sv): Likewise. |
2325 | (f32_dm): Likewise. | |
2326 | (zero_extend<mode>di2_internal1): Add support for power8 32-bit | |
2327 | loads and direct move instructions. | |
2328 | (zero_extendsidi2_lfiwzx): Likewise. | |
2329 | (extendsidi2_lfiwax): Likewise. | |
2330 | (extendsidi2_nocell): Likewise. | |
2331 | (floatsi<mode>2_lfiwax): Likewise. | |
2332 | (lfiwax): Likewise. | |
2333 | (floatunssi<mode>2_lfiwzx): Likewise. | |
2334 | (lfiwzx): Likewise. | |
2335 | (fix_trunc<mode>_stfiwx): Likewise. | |
2336 | (fixuns_trunc<mode>_stfiwx): Likewise. | |
2337 | (mov<mode>_hardfloat, 32-bit floating point): Likewise. | |
2338 | (mov<move>_hardfloat64, 64-bit floating point): Likewise. | |
2339 | (parity<mode>2_cmpb): Set length/type attr. | |
2340 | (unnamed shift right patterns, mov<mode>_internal2): Change type attr | |
2341 | for 'mr.' to fast_compare. | |
2342 | (bpermd_<mode>): Change type attr to popcnt. | |
2343 | (p8_fmrgow_<mode>): New insns for power8 direct move support. | |
2344 | (p8_mtvsrwz_1): Likewise. | |
2345 | (p8_mtvsrwz_2): Likewise. | |
2346 | (reload_fpr_from_gpr<mode>): Likewise. | |
2347 | (p8_mtvsrd_1): Likewise. | |
2348 | (p8_mtvsrd_2): Likewise. | |
2349 | (p8_xxpermdi_<mode>): Likewise. | |
2350 | (reload_vsx_from_gpr<mode>): Likewise. | |
2351 | (reload_vsx_from_gprsf): Likewise. | |
2352 | (p8_mfvsrd_3_<mode>): LIkewise. | |
2353 | (reload_gpr_from_vsx<mode>): Likewise. | |
2354 | (reload_gpr_from_vsxsf): Likewise. | |
2355 | (p8_mfvsrd_4_disf): Likewise. | |
2356 | (multi-word GPR splits): Do not split direct moves or quad memory | |
2357 | operations. | |
2358 | ||
16876bdc DM |
2359 | 2013-06-10 David Malcolm <dmalcolm@redhat.com> |
2360 | ||
2361 | * tree-into-ssa.c (interesting_blocks): Make static. | |
2362 | ||
df8a1d28 JJ |
2363 | 2013-06-10 Jakub Jelinek <jakub@redhat.com> |
2364 | ||
2365 | PR target/56564 | |
2366 | * varasm.c (align_variable): Don't use DATA_ALIGNMENT or | |
2367 | CONSTANT_ALIGNMENT if !decl_binds_to_current_def_p (decl). | |
2368 | Use DATA_ABI_ALIGNMENT for that case instead if defined. | |
2369 | (get_variable_align): New function. | |
2370 | (get_variable_section, emit_bss, emit_common, | |
2371 | assemble_variable_contents, place_block_symbol): Use | |
2372 | get_variable_align instead of DECL_ALIGN. | |
2373 | (assemble_noswitch_variable): Add align argument, use it | |
2374 | instead of DECL_ALIGN. | |
2375 | (assemble_variable): Adjust caller. Use get_variable_align | |
2376 | instead of DECL_ALIGN. | |
2377 | * config/i386/i386.h (DATA_ALIGNMENT): Adjust x86_data_alignment | |
2378 | caller. | |
2379 | (DATA_ABI_ALIGNMENT): Define. | |
2380 | * config/i386/i386-protos.h (x86_data_alignment): Adjust prototype. | |
2381 | * config/i386/i386.c (x86_data_alignment): Add opt argument. If | |
2382 | opt is false, only return the psABI mandated alignment increase. | |
2383 | * config/c6x/c6x.h (DATA_ALIGNMENT): Renamed to... | |
2384 | (DATA_ABI_ALIGNMENT): ... this. | |
2385 | * config/mmix/mmix.h (DATA_ALIGNMENT): Renamed to... | |
2386 | (DATA_ABI_ALIGNMENT): ... this. | |
2387 | * config/mmix/mmix.c (mmix_data_alignment): Adjust function comment. | |
2388 | * config/s390/s390.h (DATA_ALIGNMENT): Renamed to... | |
2389 | (DATA_ABI_ALIGNMENT): ... this. | |
2390 | * doc/tm.texi.in (DATA_ABI_ALIGNMENT): Document. | |
2391 | * doc/tm.texi: Regenerated. | |
2392 | ||
57b29ca6 UB |
2393 | 2013-06-10 Uros Bizjak <ubizjak@gmail.com> |
2394 | ||
2395 | * config/alpha/alpha.c (alpha_emit_xfloating_compare): Also use | |
2396 | cmp_code to construct REG_EQUAL note. | |
2397 | ||
3e56ed50 JJ |
2398 | 2013-06-09 Jakub Jelinek <jakub@redhat.com> |
2399 | ||
2400 | PR target/57568 | |
2401 | * config/i386/i386.md (TARGET_READ_MODIFY_WRITE peepholes): Ensure | |
2402 | that operands[2] doesn't overlap with operands[0]. | |
2403 | ||
74fe2a1d DE |
2404 | 2013-06-09 David Edelsohn <dje.gcc@gmail.com> |
2405 | Jan Hubicka <jh@suse.cz> | |
2406 | ||
2407 | * config/rs6000/rs6000.c (print_operand, 'z'): Remove historical | |
2408 | hack to mark symbols as used. | |
2409 | ||
ed52a84e VM |
2410 | 2013-06-08 Vladimir Makarov <vmakarov@redhat.com> |
2411 | ||
2412 | PR rtl-optimization/57559 | |
2413 | * lra-constraints.c (process_alt_operands): Don't discourage | |
2414 | memory with known offset for offsetable memory constraint. | |
2415 | * lra.c (lra_emit_add): Exchange y and z for 2-op add insn. | |
2416 | ||
299316ed EB |
2417 | 2013-06-08 Eric Botcazou <ebotcazou@adacore.com> |
2418 | ||
2419 | * varasm.c (struct oc_local_state): Reorder fields. | |
2420 | (output_constructor_bitfield): Replace OUTER parameter with BIT_OFFSET | |
2421 | and adjust accordingly. | |
2422 | (output_constructor): Reorder initialization code and adjust call to | |
2423 | output_constructor_bitfield. | |
2424 | ||
88ac60d3 JH |
2425 | 2013-06-07 Jan Hubicka <jh@suse.cz> |
2426 | ||
2427 | * symtab.c (symtab_resolve_alias): Do not remove alias attribute. | |
2428 | ||
4cdce1a8 DM |
2429 | 2013-06-07 David Malcolm <dmalcolm@redhat.com> |
2430 | ||
2431 | * tree-object-size.c (unknown): Make const. | |
2432 | ||
b5e0425c AK |
2433 | 2013-06-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2434 | ||
2435 | * config/s390/s390.md (cpu_facility): Add cpu_zarch. | |
2436 | ("*movmem_short", "*clrmem_short", "*cmpmem_short): Use cpu_zarch | |
2437 | for last alternative in the cpu_facility attribute. | |
2438 | ||
79678d04 KT |
2439 | 2013-06-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2440 | ||
2441 | PR target/56315 | |
2442 | * config/arm/arm.md (*xordi3_insn): Change to insn_and_split. | |
2443 | (xordi3): Change operand 2 constraint to arm_xordi_operand. | |
2444 | * config/arm/arm.c (const_ok_for_dimode_op): Handle XOR. | |
2445 | * config/arm/constraints.md (Dg): New constraint. | |
2446 | * config/arm/neon.md (xordi3_neon): Remove. | |
2447 | (neon_veor<mode>): Generate xordi3 instead of xordi3_neon. | |
2448 | * config/arm/predicates.md (arm_xordi_operand): New predicate. | |
2449 | ||
b31ddbdb KT |
2450 | 2013-06-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2451 | ||
2452 | * config/arm/arm.md (anddi3_insn): Remove duplicate alternatives. | |
2453 | Clean up alternatives. | |
2454 | ||
8f90b7d4 AM |
2455 | 2013-06-07 Alan Modra <amodra@gmail.com> |
2456 | ||
2457 | * config/rs6000/rs6000.c (setup_incoming_varargs): Round up | |
2458 | va_list_gpr_size. | |
2459 | ||
961ce119 AM |
2460 | 2013-06-07 Alan Modra <amodra@gmail.com> |
2461 | ||
2462 | * varasm.c (force_const_mem): Assert mode is not VOID or BLK. | |
2463 | ||
33e49835 KT |
2464 | 2013-06-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2465 | ||
2466 | * config/arm/constraints.md (Df): New constraint. | |
2467 | * config/arm/arm.md (iordi3_insn): Use Df constraint instead of De. | |
2468 | Correct length attribute for last two alternatives. | |
2469 | ||
acd17ae6 AM |
2470 | 2013-06-07 Alan Modra <amodra@gmail.com> |
2471 | ||
2472 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
2473 | override user -mfp-in-toc. | |
2474 | (offsettable_ok_by_alignment): Consider just the current access | |
2475 | rather than the whole object, unless BLKmode. Handle | |
2476 | CONSTANT_POOL_ADDRESS_P constants that lack a decl too. | |
2477 | (use_toc_relative_ref): Allow CONSTANT_POOL_ADDRESS_P constants | |
2478 | for -mcmodel=medium. | |
2479 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Don't | |
2480 | override user -mfp-in-toc or -msum-in-toc. Default to | |
2481 | -mno-fp-in-toc for -mcmodel=medium. | |
2482 | ||
73310b0e DD |
2483 | 2013-06-06 DJ Delorie <dj@redhat.com> |
2484 | ||
2485 | * config/rl78/rl78.c (rl78_valid_pointer_mode): New, implements | |
2486 | TARGET_VALID_POINTER_MODE. | |
2487 | ||
0bd62dca MM |
2488 | 2013-06-06 Michael Meissner <meissner@linux.vnet.ibm.com> |
2489 | Pat Haugen <pthaugen@us.ibm.com> | |
2490 | Peter Bergner <bergner@vnet.ibm.com> | |
2491 | ||
2492 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
2493 | Document new power8 builtins. | |
2494 | ||
2495 | * config/rs6000/vector.md (and<mode>3): Add a clobber/scratch of a | |
2496 | condition code register, to allow 128-bit logical operations to be | |
2497 | done in the VSX or GPR registers. | |
2498 | (nor<mode>3): Use the canonical form for nor. | |
2499 | (eqv<mode>3): Add expanders for power8 xxleqv, xxlnand, xxlorc, | |
2500 | vclz*, and vpopcnt* vector instructions. | |
2501 | (nand<mode>3): Likewise. | |
2502 | (orc<mode>3): Likewise. | |
2503 | (clz<mode>2): LIkewise. | |
2504 | (popcount<mode>2): Likewise. | |
2505 | ||
2506 | * config/rs6000/predicates.md (int_reg_operand): Rework tests so | |
2507 | that only the GPRs are recognized. | |
2508 | ||
2509 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
2510 | support for new power8 builtins. | |
2511 | ||
2512 | * config/rs6000/rs6000-builtin.def (xscvspdpn): Add new power8 | |
2513 | builtin functions. | |
2514 | (xscvdpspn): Likewise. | |
2515 | (vclz): Likewise. | |
2516 | (vclzb): Likewise. | |
2517 | (vclzh): Likewise. | |
2518 | (vclzw): Likewise. | |
2519 | (vclzd): Likewise. | |
2520 | (vpopcnt): Likewise. | |
2521 | (vpopcntb): Likewise. | |
2522 | (vpopcnth): Likewise. | |
2523 | (vpopcntw): Likewise. | |
2524 | (vpopcntd): Likewise. | |
2525 | (vgbbd): Likewise. | |
2526 | (vmrgew): Likewise. | |
2527 | (vmrgow): Likewise. | |
2528 | (eqv): Likewise. | |
2529 | (eqv_v16qi3): Likewise. | |
2530 | (eqv_v8hi3): Likewise. | |
2531 | (eqv_v4si3): Likewise. | |
2532 | (eqv_v2di3): Likewise. | |
2533 | (eqv_v4sf3): Likewise. | |
2534 | (eqv_v2df3): Likewise. | |
2535 | (nand): Likewise. | |
2536 | (nand_v16qi3): Likewise. | |
2537 | (nand_v8hi3): Likewise. | |
2538 | (nand_v4si3): Likewise. | |
2539 | (nand_v2di3): Likewise. | |
2540 | (nand_v4sf3): Likewise. | |
2541 | (nand_v2df3): Likewise. | |
2542 | (orc): Likewise. | |
2543 | (orc_v16qi3): Likewise. | |
2544 | (orc_v8hi3): Likewise. | |
2545 | (orc_v4si3): Likewise. | |
2546 | (orc_v2di3): Likewise. | |
2547 | (orc_v4sf3): Likewise. | |
2548 | (orc_v2df3): Likewise. | |
2549 | ||
2550 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Only | |
2551 | allow power8 quad mode in 64-bit. | |
2552 | (rs6000_builtin_vectorized_function): Add support to vectorize | |
2553 | ISA 2.07 count leading zeros, population count builtins. | |
2554 | (rs6000_expand_vector_init): On ISA 2.07 use xscvdpspn to form | |
2555 | V4SF vectors instead of xscvdpsp to avoid IEEE related traps. | |
2556 | (builtin_function_type): Add vgbbd builtin function which takes an | |
2557 | unsigned argument. | |
2558 | (altivec_expand_vec_perm_const): Add support for new power8 merge | |
2559 | instructions. | |
2560 | ||
2561 | * config/rs6000/vsx.md (VSX_L2): New iterator for 128-bit types, | |
2562 | that does not include TImdoe for use with 32-bit. | |
2563 | (UNSPEC_VSX_CVSPDPN): Support for power8 xscvdpspn and xscvspdpn | |
2564 | instructions. | |
2565 | (UNSPEC_VSX_CVDPSPN): Likewise. | |
2566 | (vsx_xscvdpspn): Likewise. | |
2567 | (vsx_xscvspdpn): Likewise. | |
2568 | (vsx_xscvdpspn_scalar): Likewise. | |
2569 | (vsx_xscvspdpn_directmove): Likewise. | |
2570 | (vsx_and<mode>3): Split logical operations into 32-bit and | |
2571 | 64-bit. Add support to do logical operations on TImode as well as | |
2572 | VSX vector types. Allow logical operations to be done in either | |
2573 | VSX registers or in general purpose registers in 64-bit mode. Add | |
2574 | splitters if GPRs were used. For AND, add clobber of CCmode to | |
2575 | allow use of ANDI on GPRs. Rewrite nor to use the canonical RTL | |
2576 | encoding. | |
2577 | (vsx_and<mode>3_32bit): Likewise. | |
2578 | (vsx_and<mode>3_64bit): Likewise. | |
2579 | (vsx_ior<mode>3): Likewise. | |
2580 | (vsx_ior<mode>3_32bit): Likewise. | |
2581 | (vsx_ior<mode>3_64bit): Likewise. | |
2582 | (vsx_xor<mode>3): Likewise. | |
2583 | (vsx_xor<mode>3_32bit): Likewise. | |
2584 | (vsx_xor<mode>3_64bit): Likewise. | |
2585 | (vsx_one_cmpl<mode>2): Likewise. | |
2586 | (vsx_one_cmpl<mode>2_32bit): Likewise. | |
2587 | (vsx_one_cmpl<mode>2_64bit): Likewise. | |
2588 | (vsx_nor<mode>3): Likewise. | |
2589 | (vsx_nor<mode>3_32bit): Likewise. | |
2590 | (vsx_nor<mode>3_64bit): Likewise. | |
2591 | (vsx_andc<mode>3): Likewise. | |
2592 | (vsx_andc<mode>3_32bit): Likewise. | |
2593 | (vsx_andc<mode>3_64bit): Likewise. | |
2594 | (vsx_eqv<mode>3_32bit): Add support for power8 xxleqv, xxlnand, | |
2595 | and xxlorc instructions. | |
2596 | (vsx_eqv<mode>3_64bit): Likewise. | |
2597 | (vsx_nand<mode>3_32bit): Likewise. | |
2598 | (vsx_nand<mode>3_64bit): Likewise. | |
2599 | (vsx_orc<mode>3_32bit): Likewise. | |
2600 | (vsx_orc<mode>3_64bit): Likewise. | |
2601 | ||
2602 | * config/rs6000/rs6000.h (VLOGICAL_REGNO_P): Update comment. | |
2603 | ||
2604 | * config/rs6000/altivec.md (UNSPEC_VGBBD): Add power8 vgbbd | |
2605 | instruction. | |
2606 | (p8_vmrgew): Add power8 vmrgew and vmrgow instructions. | |
2607 | (p8_vmrgow): Likewise. | |
2608 | (altivec_and<mode>3): Add clobber of CCmode to allow AND using | |
2609 | GPRs to be split under VSX. | |
2610 | (p8v_clz<mode>2): Add power8 count leading zero support. | |
2611 | (p8v_popcount<mode>2): Add power8 population count support. | |
2612 | (p8v_vgbbd): Add power8 gather bits by bytes by doubleword | |
2613 | support. | |
2614 | ||
2615 | * config/rs6000/rs6000.md (eqv<mode>3): Add support for powerp eqv | |
2616 | instruction. | |
2617 | ||
2618 | * config/rs6000/altivec.h (vec_eqv): Add defines to export power8 | |
2619 | builtin functions. | |
2620 | (vec_nand): Likewise. | |
2621 | (vec_vclz): Likewise. | |
2622 | (vec_vclzb): Likewise. | |
2623 | (vec_vclzd): Likewise. | |
2624 | (vec_vclzh): Likewise. | |
2625 | (vec_vclzw): Likewise. | |
2626 | (vec_vgbbd): Likewise. | |
2627 | (vec_vmrgew): Likewise. | |
2628 | (vec_vmrgow): Likewise. | |
2629 | (vec_vpopcnt): Likewise. | |
2630 | (vec_vpopcntb): Likewise. | |
2631 | (vec_vpopcntd): Likewise. | |
2632 | (vec_vpopcnth): Likewise. | |
2633 | (vec_vpopcntw): Likewise. | |
2634 | ||
37684c46 VM |
2635 | 2013-06-06 Vladimir Makarov <vmakarov@redhat.com> |
2636 | ||
2637 | PR rtl-optimization/57468 | |
2638 | * config/i386/i386.c (inline_secondary_memory_needed): Ignore | |
2639 | spilled pseudos. | |
2640 | ||
d89ae27c VM |
2641 | 2013-06-06 Vladimir Makarov <vmakarov@redhat.com> |
2642 | ||
2643 | PR rtl-optimization/57459 | |
2644 | * lra-constraints.c (update_ebb_live_info): Fix typo for operand | |
2645 | type when setting live regs. | |
2646 | ||
3597e113 VM |
2647 | 2013-06-06 Vladimir Makarov <vmakarov@redhat.com> |
2648 | ||
2649 | * config/s390/s390.opt (mlra): New option. | |
2650 | * config/s390/s390.c (s390_decompose_address): Check displacement | |
2651 | for all registers for LRA. | |
2652 | (s390_secondary_reload): Don't used secondary reloads for LRA. | |
2653 | (s390_lra_p): New function. | |
2654 | (TARGET_LRA_P): Define. | |
2655 | * config/s390/s390.md (*movmem_short, *clrmem_short): Change value | |
2656 | of attribute cpu_facility to zarch for the last alternative. | |
2657 | (*cmpmem_short): Ditto. | |
2658 | ||
01037aeb EB |
2659 | 2013-06-06 Eric Botcazou <ebotcazou@adacore.com> |
2660 | ||
2661 | * config/arm/arm.c (arm_r3_live_at_start_p): New predicate. | |
2662 | (arm_compute_static_chain_stack_bytes): Use it. Tidy up. | |
2663 | (arm_expand_prologue): Likewise. | |
2664 | ||
3371a64f TJ |
2665 | 2013-06-06 Teresa Johnson <tejohnson@google.com> |
2666 | ||
2667 | PR c++/53743 | |
2668 | * ifcvt.c (find_if_case_1): Replace BB_COPY_PARTITION with assert | |
2669 | as this is now done by redirect_edge_and_branch_force. | |
2670 | * function.c (thread_prologue_and_epilogue_insns): Insert new bb after | |
2671 | barriers, and fix interaction with splitting. | |
2672 | * emit-rtl.c (try_split): Copy REG_CROSSING_JUMP notes. | |
2673 | * cfgcleanup.c (try_forward_edges): Fix early return value to properly | |
2674 | reflect changes made in the routine. | |
2675 | * bb-reorder.c (emit_barrier_after_bb): Move to cfgrtl.c. | |
2676 | (fix_up_fall_thru_edges): Remove incorrect check for bb layout order | |
2677 | since this is called in cfglayout mode, and replace partition fixup | |
2678 | with assert as that is now done by force_nonfallthru_and_redirect. | |
2679 | (add_reg_crossing_jump_notes): Handle the fact that some jumps may | |
2680 | already be marked with region crossing note. | |
2681 | (insert_section_boundary_note): Make non-static, gate on flag | |
2682 | has_bb_partition, rewrite to also check for multiple partitions. | |
2683 | (rest_of_handle_reorder_blocks): Remove call to | |
2684 | insert_section_boundary_note, now done later during free_cfg. | |
2685 | (duplicate_computed_gotos): Don't duplicate partition crossing edge. | |
2686 | * bb-reorder.h (insert_section_boundary_note): Declare. | |
2687 | * Makefile.in (cfgrtl.o): Depend on bb-reorder.h | |
2688 | * cfgrtl.c (rest_of_pass_free_cfg): If partitions exist | |
2689 | invoke insert_section_boundary_note. | |
2690 | (try_redirect_by_replacing_jump): Remove unnecessary | |
2691 | check for region crossing note. | |
2692 | (fixup_partition_crossing): New function. | |
2693 | (rtl_redirect_edge_and_branch): Fixup partition boundaries. | |
2694 | (emit_barrier_after_bb): Move here from bb-reorder.c, handle insertion | |
2695 | in non-cfglayout mode. | |
2696 | (force_nonfallthru_and_redirect): Fixup partition boundaries, | |
2697 | remove old code that tried to do this. Emit barrier correctly | |
2698 | when we are in cfglayout mode. | |
2699 | (last_bb_in_partition): New function. | |
2700 | (rtl_split_edge): Correctly fixup partition boundaries. | |
2701 | (commit_one_edge_insertion): Remove old code that tried to | |
2702 | fixup region crossing edge since this is now handled in | |
2703 | split_block, and set up insertion point correctly since | |
2704 | block may now end in a jump. | |
2705 | (verify_hot_cold_block_grouping): Guard against checking when not in | |
2706 | linearized RTL mode. | |
2707 | (rtl_verify_edges): Add checks for incorrect/missing REG_CROSSING_JUMP | |
2708 | notes. | |
2709 | (rtl_verify_flow_info_1): Move verify_hot_cold_block_grouping to | |
2710 | rtl_verify_flow_info, so not called in cfglayout mode. | |
2711 | (rtl_verify_flow_info): Move verify_hot_cold_block_grouping here. | |
2712 | (fixup_reorder_chain): Remove old code that attempted to fixup region | |
2713 | crossing note as this is now handled in force_nonfallthru_and_redirect. | |
2714 | (duplicate_insn_chain): Don't duplicate switch section notes. | |
2715 | (rtl_can_remove_branch_p): Remove unnecessary check for region crossing | |
2716 | note. | |
2717 | * basic-block.h (emit_barrier_after_bb): Declare. | |
2718 | ||
66071e10 KT |
2719 | 2013-06-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2720 | ||
2721 | * config/arm/arm-fixed.md (add<mode>3,usadd<mode>3,ssadd<mode>3, | |
2722 | sub<mode>3, ussub<mode>3, sssub<mode>3, arm_ssatsihi_shift, | |
2723 | arm_usatsihi): Adjust alternatives for arm_restrict_it. | |
2724 | ||
0e26bf3d KT |
2725 | 2013-06-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2726 | ||
2727 | * config/arm/arm-ldmstm.ml: Set "predicable_short_it" to "no" | |
2728 | where appropriate. | |
2729 | * config/arm/ldmstm.md: Regenerate. | |
2730 | ||
12b4e7ef KT |
2731 | 2013-06-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2732 | ||
2733 | * config/arm/sync.md (atomic_loaddi_1): | |
2734 | Disable predication for arm_restrict_it. | |
2735 | (arm_load_exclusive<mode>): Likewise. | |
2736 | (arm_load_exclusivesi): Likewise. | |
2737 | (arm_load_exclusivedi): Likewise. | |
2738 | (arm_load_acquire_exclusive<mode>): Likewise. | |
2739 | (arm_load_acquire_exclusivesi): Likewise. | |
2740 | (arm_load_acquire_exclusivedi): Likewise. | |
2741 | (arm_store_exclusive<mode>): Likewise. | |
2742 | (arm_store_exclusive<mode>): Likewise. | |
2743 | (arm_store_release_exclusivedi): Likewise. | |
2744 | (arm_store_release_exclusive<mode>): Likewise. | |
2745 | ||
15d16c8a RB |
2746 | 2013-06-06 Richard Biener <rguenther@suse.de> |
2747 | ||
2748 | * lto-streamer.h (enum LTO_tags): Move LTO_tree_pickle_reference | |
2749 | after LTO_null. | |
2750 | (lto_tag_is_tree_code_p): Adjust. | |
2751 | (lto_tag_is_gimple_code_p): Likewise. | |
2752 | (lto_gimple_code_to_tag): Likewise. | |
2753 | (lto_tag_to_gimple_code): Likewise. | |
2754 | (lto_tree_code_to_tag): Likewise. | |
2755 | (lto_tag_to_tree_code): Likewise. | |
2756 | * data-streamer.h (streamer_write_hwi_in_range): Use | |
2757 | uhwi streaming to stream the normalized range. | |
2758 | (streamer_read_hwi_in_range): Likewise. | |
2759 | ||
17a7fc37 KT |
2760 | 2013-06-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2761 | ||
2762 | * config/arm/arm.md (enabled_for_depr_it): New attribute. | |
2763 | (predicable_short_it): Likewise. | |
2764 | (predicated): Likewise. | |
2765 | (enabled): Handle above. | |
2766 | (define_cond_exec): Set predicated attribute to yes. | |
2767 | ||
b57ca59b MS |
2768 | 2013-06-05 Mike Stump <mikestump@comcast.net> |
2769 | ||
2770 | * gdbinit.in (__FUNCTION__): Add. | |
2771 | ||
c1e183a9 UB |
2772 | 2013-06-05 Uros Bizjak <ubizjak@gmail.com> |
2773 | ||
2774 | * config/alpha/alpha.c (alpha_emit_conditional_move): Swap all | |
2775 | GE, GT, GEU and GTU compares, modulo DImode compares with zero. | |
2776 | ||
0378bddb JH |
2777 | 2013-06-05 Jan Hubicka <jh@suse.cz> |
2778 | ||
2779 | * varasm.c (mark_decl_referenced): Revert the removal until targets | |
2780 | are fixed. | |
2781 | ||
8f8a2057 DE |
2782 | 2013-06-05 David Edelsohn <dje.gcc@gmail.com> |
2783 | ||
2784 | * config/rs6000/rs6000.c (print_operand, 'z'): Use DECL_PRESERVE_P | |
2785 | instead of mark_decl_referenced. | |
2786 | ||
edb983b2 JH |
2787 | 2013-06-05 Jan Hubicka <jh@suse.cz> |
2788 | ||
2789 | * cgraph.c (cgraph_remove_node): Clear forced_by_abi. | |
2790 | (cgraph_node_cannot_be_local_p_1): Honnor symbol.forced_by_abi | |
2791 | and symtab_used_from_object_file_p. | |
2792 | (cgraph_make_node_local_1): Clear forced_by_abi. | |
2793 | (cgraph_can_remove_if_no_direct_calls_and): Use forced_by_abi | |
2794 | * cgraph.h (symtab_node_base): Add forced_by_abi. | |
2795 | (decide_is_variable_needed): Remove. | |
2796 | (varpool_can_remove_if_no_refs): Honnor symbol.forced_by_abi. | |
2797 | * cgraphunit.c (cgraph_decide_is_function_needed): Rename to .. | |
2798 | (decide_is_symbol_needed): ... this one; handle symbols in general; | |
2799 | always analyze virtuals; honnor forced_by_abi. | |
2800 | (cgraph_finalize_function): Update. | |
2801 | (varpool_finalize_decl): Update. | |
2802 | (symbol_defined_and_needed): Remove. | |
2803 | (analyze_functions): Update. | |
2804 | * lto-cgraph.c (lto_output_node, lto_output_varpool_node, | |
2805 | output_refs, input_overwrite_node): Handle forced_by_abi. | |
2806 | * ipa.c (cgraph_address_taken_from_non_vtable_p): Rename to ... | |
2807 | (address_taken_from_non_vtable_p): ... this one. | |
2808 | (comdat_can_be_unshared_p_1): New function. | |
2809 | (cgraph_comdat_can_be_unshared_p): Rename to ... | |
2810 | (comdat_can_be_unshared_p): ... this one; handle symbols in general. | |
2811 | (varpool_externally_visible_p): Use comdat_can_be_unshared_p. | |
2812 | (function_and_variable_visibility): Clear forced_by_abi as needed. | |
2813 | * trans-mem.c (ipa_tm_mark_forced_by_abi_node): New functoin. | |
2814 | (ipa_tm_create_version_alias, ipa_tm_create_version): Update. | |
edb983b2 JH |
2815 | * symtab.c (dump_symtab_base): Dump forced_by_abi. |
2816 | * varpool.c (decide_is_variable_needed): Remove. | |
2817 | ||
9912dbe5 KT |
2818 | 2013-06-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2819 | ||
2820 | * config/arm/arm.c (MAX_INSN_PER_IT_BLOCK): New macro. | |
2821 | (arm_option_override): Override arm_restrict_it where appropriate. | |
2822 | (thumb2_final_prescan_insn): Use MAX_INSN_PER_IT_BLOCK. | |
2823 | * config/arm/arm.opt (mrestrict-it): New command-line option. | |
2824 | * doc/invoke.texi: Document -mrestrict-it. | |
2825 | ||
34c136b6 DM |
2826 | 2013-06-05 David Malcolm <dmalcolm@redhat.com> |
2827 | ||
2828 | * tsan.c (tsan_atomic_table): Make const. | |
2829 | ||
a367df53 RB |
2830 | 2013-06-05 Richard Biener <rguenther@suse.de> |
2831 | ||
2832 | * tree-streamer.c (streamer_tree_cache_insert_1): Update the | |
2833 | index associated with the tree we are supposed to replace. | |
2834 | * tree-streamer-out.c (pack_ts_base_value_fields): Output | |
2835 | TREE_ASM_WRITTEN as zero for everything but SSA names. | |
2836 | ||
70d51a19 DM |
2837 | 2013-06-05 David Malcolm <dmalcolm@redhat.com> |
2838 | ||
2839 | * tree-ssa-structalias.c (call_stmt_vars): Make static. | |
2840 | ||
b9bd2075 JH |
2841 | 2013-06-04 Jan Hubicka <jh@suse.cz> |
2842 | ||
2843 | * lto-cgraph.c (get_alias_symbol): Remove weakref sanity check. | |
2844 | (input_node, input_varpool_node): Handle correctly external same | |
2845 | body aliases. | |
2846 | * ipa.c (symtab_remove_unreachable_nodes): Do not remove external | |
2847 | nodes at ltrans stage. | |
2848 | ||
aaae719d JH |
2849 | 2013-06-04 Jan Hubicka <jh@suse.cz> |
2850 | ||
2851 | * ipa-inline.c (update_caller_keys): Fix availability test. | |
2852 | (update_callee_keys): Likewise. | |
2853 | * symtab.c (symtab_alias_ultimate_target): Make availaiblity logic | |
2854 | to follow ELF standard. | |
2855 | ||
107eea2c JU |
2856 | 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de> |
2857 | ||
2858 | * config.gcc (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*) | |
2859 | (mips64r5900el-*-elf*): New configurations. | |
2860 | * config/mips/mips-cpus.def (r5900): New processor. | |
2861 | * config/mips/mips-tables.opt: Regenerate. | |
2862 | * config/mips/mips.c (mips_rtx_cost_data): Add an R5900 entry. | |
2863 | (mips_issue_rate): Handle PROCESSOR_R5900. | |
2864 | (mips_reorg_process_insns): Force reorder mode for the R5900. | |
2865 | * config/mips/mips.h (TARGET_MIPS5900): Define. | |
2866 | (ISA_HAS_CONDMOVE, ISA_HAS_PREFETCH, ISA_HAS_HILO_INTERLOCKS): Include | |
2867 | TARGET_MIPS5900. | |
2868 | (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY, ISA_HAS_FCMP_DELAY): Exclude | |
2869 | TARGET_MIPS5900. | |
2870 | * config/mips/mips.md (processor): Add r5900. | |
2871 | (MOVECC): Disallow CCmode conditions for TARGET_MIPS5900. | |
2872 | ||
b7342d25 IB |
2873 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
2874 | ||
2875 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Call | |
2876 | into function to generate MOVI instruction. | |
c1e183a9 | 2877 | * config/aarch64/aarch64.c (aarch64_simd_container_mode): New function. |
b7342d25 IB |
2878 | (aarch64_preferred_simd_mode): Turn into wrapper. |
2879 | (aarch64_output_scalar_simd_mov_immediate): New function. | |
2880 | * config/aarch64/aarch64-protos.h: Add prototype for above. | |
2881 | ||
81c2dfb9 IB |
2882 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
2883 | ||
2884 | * config/aarch64/aarch64.c (simd_immediate_info): Remove | |
2885 | element_char member. | |
2886 | (sizetochar): Return signed char. | |
2887 | (aarch64_simd_valid_immediate): Remove elchar and other | |
2888 | unnecessary variables. | |
2889 | (aarch64_output_simd_mov_immediate): Take rtx instead of &rtx. | |
2890 | Calculate element_char as required. | |
2891 | * config/aarch64/aarch64-protos.h: Update and move prototype | |
2892 | for aarch64_output_simd_mov_immediate. | |
2893 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): | |
2894 | Update arguments. | |
2895 | ||
48063b9d IB |
2896 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
2897 | ||
2898 | * config/aarch64/aarch64.c (simd_immediate_info): Struct to hold | |
2899 | information completed by aarch64_simd_valid_immediate. | |
2900 | (aarch64_legitimate_constant_p): Update arguments. | |
2901 | (aarch64_simd_valid_immediate): Work with struct rather than many | |
2902 | pointers. | |
2903 | (aarch64_simd_scalar_immediate_valid_for_move): Update arguments. | |
2904 | (aarch64_simd_make_constant): Update arguments. | |
2905 | (aarch64_output_simd_mov_immediate): Work with struct rather than | |
2906 | many pointers. Output immediate directly rather than as operand. | |
2907 | * config/aarch64/aarch64-protos.h (aarch64_simd_valid_immediate): | |
2908 | Update prototype. | |
2909 | * config/aarch64/constraints.md (Dn): Update arguments. | |
2910 | ||
3ea63f60 IB |
2911 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
2912 | ||
2913 | * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): No | |
2914 | longer static. | |
2915 | (aarch64_simd_immediate_valid_for_move): Remove. | |
2916 | (aarch64_simd_scalar_immediate_valid_for_move): Update call. | |
2917 | (aarch64_simd_make_constant): Update call. | |
2918 | (aarch64_output_simd_mov_immediate): Update call. | |
2919 | * config/aarch64/aarch64-protos.h (aarch64_simd_valid_immediate): | |
2920 | Add prototype. | |
2921 | * config/aarch64/constraints.md (Dn): Update call. | |
2922 | ||
d8edd899 IB |
2923 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
2924 | ||
2925 | * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Change | |
2926 | return type to bool for prototype. | |
2927 | (aarch64_legitimate_constant_p): Check for true instead of not -1. | |
2928 | (aarch64_simd_valid_immediate): Fix up each return to return a bool. | |
2929 | (aarch64_simd_immediate_valid_for_move): Update retval for bool. | |
2930 | ||
44b20bb8 CM |
2931 | 2013-06-04 Catherine Moore <clm@codesourcery.com> |
2932 | ||
2933 | * config/mips/mips.opt (meva): New. | |
c1e183a9 | 2934 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_eva. |
44b20bb8 CM |
2935 | (ASM_SPEC): Handle -meva. |
2936 | * doc/invoke.texi (meva): Document. | |
2937 | ||
52befbd8 AM |
2938 | 2013-06-04 Alan Modra <amodra@gmail.com> |
2939 | ||
2940 | * config/rs6000/rs6000.c (output_toc): Correct little-endian float | |
2941 | constant output. | |
2942 | ||
aadaf24e KT |
2943 | 2013-06-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2944 | ||
2945 | * rtl.def: Add extra fourth optional field to define_cond_exec. | |
2946 | * gensupport.c (process_one_cond_exec): Process attributes from | |
2947 | define_cond_exec. | |
2948 | * doc/md.texi: Document fourth field in define_cond_exec. | |
2949 | ||
0cd9e9ee EB |
2950 | 2013-06-04 Eric Botcazou <ebotcazou@adacore.com> |
2951 | ||
2952 | * expmed.c (extract_bit_field_1): In the larger-than-a-word case, factor | |
2953 | out the processing order as in store_bit_field_1. | |
2954 | ||
cb0f665d JH |
2955 | 2013-06-04 Jan Hubicka <jh@suse.cz> |
2956 | ||
2957 | PR middle-end/57500 | |
2958 | * cgraphunit.c (cgraph_process_same_body_aliases): Create | |
2959 | non-VAR_DECL node if it does not exist yet. | |
2960 | ||
53984b9b RS |
2961 | 2013-06-03 Richard Sandiford <rdsandiford@googlemail.com> |
2962 | ||
2963 | * config.gcc (mipsisa64sr71k-*-elf*, mipsisa64sb1-*-elf*) | |
2964 | (mipsisa64sb1el-*-elf*, mips64-*-elf*, mips64el-*-elf*) | |
2965 | (mips64orion-*-elf*, mips64orionel-*-elf*): Remove | |
2966 | target_cpu_default setting. | |
2967 | ||
5d318fd4 TJ |
2968 | 2013-06-03 Teresa Johnson <tejohnson@google.com> |
2969 | ||
2970 | * dumpfile.c (opt_info_switch_p): Change -fopt-info | |
2971 | default to -fopt-info=optimized instead of all. | |
2972 | * doc/invoke.texi: Ditto. | |
2973 | * tree-vectorizer.c (vectorize_loops): Emit loop vectorization | |
2974 | success under MSG_OPTIMIZED_LOCATIONS, and use dump_printf_loc. | |
2975 | (execute_vect_slp): Emit BB vectorization success under | |
2976 | MSG_OPTIMIZED_LOCATIONS. | |
2977 | * tree-vect-slp.c (vect_slp_transform_bb): Change | |
2978 | MSG_OPTIMIZED_LOCATIONS to MSG_NOTE. | |
2979 | * tree-vect-loop.c (vect_transform_loop): Ditto. | |
2980 | ||
ec3af349 JM |
2981 | 2013-06-03 Jason Merrill <jason@redhat.com> |
2982 | ||
2983 | PR c++/57415 | |
2984 | * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): | |
2985 | Use TARGET_EXPR for C++. | |
2986 | ||
1baf9159 JJ |
2987 | 2013-06-03 Jakub Jelinek <jakub@redhat.com> |
2988 | ||
2989 | PR rtl-optimization/57268 | |
0cd9e9ee | 2990 | * sched-deps.c (sched_analyze_2): Don't flush_pending_lists |
1baf9159 JJ |
2991 | if DEBUG_INSN_P (insn). |
2992 | ||
2993 | Reapply | |
2994 | 2013-05-31 Dinar Temirbulatov <dinar@kugelworks.com> | |
2995 | ||
2996 | PR rtl-optimization/57268 | |
2997 | * sched-deps.c (sched_analyze_2): Flush dependence lists if | |
2998 | the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH. | |
2999 | ||
0f1d3965 YR |
3000 | 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com> |
3001 | ||
3002 | * config/i386/i386.c (ix86_lea_outperforms): Fix formatting. | |
3003 | (ix86_avoid_lea_for_addr): Likewise. | |
3004 | (exact_dependency_1): Likewise. | |
3005 | (ix86_adjust_cost): Likewise. | |
3006 | (swap_top_of_ready_list): Fix formatting and !reload_completed check | |
3007 | removed. | |
3008 | (do_reorder_for_imul): Fix typo, formatting and | |
3009 | !reload_completed check removed. | |
3010 | (ix86_sched_reorder): Fix typo and formatting. | |
3011 | (fold_builtin_cpu): Move M_INTEL_SLM at the end of processor types | |
3012 | list. | |
3013 | ||
3bc30db4 SN |
3014 | 2013-06-03 Sofiane Naci <sofiane.naci@arm.com> |
3015 | ||
3016 | * config/aarch64/aarch64.md (*movdi_aarch64): Define "simd" attribute. | |
3017 | ||
19cc6fac EB |
3018 | 2013-06-03 Eric Botcazou <ebotcazou@adacore.com> |
3019 | ||
3020 | * varasm.c (output_constant) <CONSTRUCTOR>: Minor formatting tweak. | |
3021 | <STRING_CST>: Likewise. | |
3022 | <VECTOR_CST>: Likewise. | |
3023 | ||
c68a6e08 JW |
3024 | 2013-06-01 Janus Weil <janus@gcc.gnu.org> |
3025 | Mikael Morin <mikael@gcc.gnu.org> | |
3026 | ||
3027 | * configure.ac: Add AC_HEADER_TIOCGWINSZ macro. | |
3028 | * config.in: Regenerated. | |
3029 | * configure: Regenerated. | |
3030 | ||
38e55e5c JH |
3031 | 2013-06-01 Jan Hubicka <jh@suse.cz> |
3032 | ||
3033 | PR middle-end/57366 | |
3034 | * cgraphunit.c (compile): When weakref is not supported, | |
3035 | set up transparent aliases before final output pass. | |
3036 | * varasm.c (assemble_alias): Do not try to do it here. | |
3037 | ||
eb51d2ff JH |
3038 | 2013-06-01 Jan Hubicka <jh@suse.cz> |
3039 | ||
3040 | PR middle-end/57467 | |
3041 | * passes.c (for_per_function): Skip unanalyzed functions. | |
3042 | ||
40a7fe1e JH |
3043 | 2013-06-01 Jan Hubicka <jh@suse.cz> |
3044 | ||
3045 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Rename to ... | |
3046 | (lto_symtab_merge_symbols_1): ... this one. | |
3047 | (lto_symtab_merge_cgraph_nodes): Rename to ... | |
3048 | (lto_symtab_merge_symbols): ... this one; simplify. | |
3049 | * cgraph.c (same_body_aliases_done): Rename to ... | |
3050 | (cpp_implicit_aliases_done): ... this one. | |
3051 | (cgraph_create_function_alias): Update. | |
3052 | (cgraph_same_body_alias): Update. | |
c1e183a9 | 3053 | (dump_cgraph_node): Remove alias dumping; simplify thunk dumping. |
40a7fe1e | 3054 | (verify_edge_corresponds_to_fndecl): Simplify. |
c1e183a9 | 3055 | * cgraph.h (symtab_node_base): Add cpp_implicit_alias, alias_target. |
40a7fe1e JH |
3056 | (cgraph_node): Remove same_body_alias. |
3057 | (varpool_node): Remove alias_of and extra_name_alias. | |
3058 | (same_body_aliases_done): Rename to .. | |
3059 | (cpp_implicit_aliases_done): ... this one. | |
3060 | (symtab_alias_ultimate_target): Add default parameter. | |
3061 | (symtab_resolve_alias): New function. | |
3062 | (fixup_same_cpp_alias_visibility): Declare. | |
3063 | (cgraph_function_node): Add default parameter. | |
3064 | (cgraph_node_asm_name): Likewise. | |
3065 | (cgraph_function_or_thunk_node): Add default parameter; do | |
3066 | not ICE when it is NULL. | |
3067 | (varpool_variable_node): Likewise. | |
3068 | * tree-emutls.c (create_emultls_var): Update. | |
3069 | (ipa_lower_emutls): Update. | |
3070 | * cgraphunit.c (cgraph_decide_is_function_needed): Update. | |
3071 | (cgraph_reset_node): Reset alias info. | |
3072 | (cgraph_finalize_function): Update. | |
3073 | (fixup_same_cpp_alias_visibility): Move to symtab.c. | |
3074 | (analyze_function): Simplify. | |
3075 | (cgraph_process_same_body_aliases): Simplify. | |
3076 | (analyze_functions): Fixup same body aliases. | |
3077 | (handle_alias_pairs): Simplify. | |
3078 | (assemble_thunk): Update. | |
3079 | (assemble_thunks_and_aliases): Update. | |
3080 | (output_weakrefs): Rewrite. | |
3081 | * lto-cgraph.c (lto_output_node): Rewrite alias handling. | |
3082 | (lto_output_varpool_node): Likewise. | |
3083 | (compute_ltrans_boundary): Remve assert. | |
3084 | (get_alias_symbol): New functoin. | |
3085 | (input_node): Rewrite alias handling. | |
3086 | (input_varpool_node): Likewise. | |
3087 | * ipa-pure-const.c (propagate_pure_const): Fix formating. | |
3088 | * ipa.c (process_references): Handle weakrefs correctly. | |
3089 | (symtab_remove_unreachable_nodes): Likewise. | |
3090 | * trans-mem.c (get_cg_data): Update. | |
3091 | (ipa_tm_create_version_alias): Update. | |
3092 | (ipa_tm_execute): Update. | |
3093 | * symtab.c (dump_symtab_base): Dump aliases. | |
3094 | (verify_symtab_base): Verify aliases. | |
3095 | (symtab_node_availability): New function. | |
3096 | (symtab_alias_ultimate_target): Simplify. | |
3097 | (fixup_same_cpp_alias_visibility): Move here from cgraphunit.c; | |
3098 | handle all the fixup cases. | |
3099 | (symtab_resolve_alias): New function. | |
3100 | * passes.c (ipa_write_summaries): Handle weakrefs. | |
3101 | * varpool.c (varpool_analyze_node): Simplify. | |
3102 | (assemble_aliases): Update. | |
3103 | (varpool_create_variable_alias): Simplify. | |
3104 | (varpool_extra_name_alias): Simplify. | |
3105 | * lto-streamer.h (lto_symtab_merge_cgraph_nodes): Rename to... | |
3106 | (lto_symtab_merge_symbols): ... this one. | |
3107 | ||
21759881 DT |
3108 | 2013-06-01 Dinar Temirbulatov <dinar@kugelworks.com> |
3109 | ||
3110 | Revert | |
3111 | PR rtl-optimization/57268 | |
3112 | * sched-deps.c (sched_analyze_2): Flush dependence lists if | |
3113 | the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH. | |
3114 | ||
daf4e940 TB |
3115 | 2013-06-01 Tobias Burnus <burnus@net-b.de> |
3116 | ||
3117 | Partially reverted: | |
3118 | 2013-05-31 Tobias Burnus <burnus@net-b.de> | |
3119 | ||
3120 | PR middle-end/57073 | |
3121 | * tree-ssa-math-opts.c (execute_cse_sincos): Move check | |
3122 | further up. | |
3123 | ||
c359d8d0 DT |
3124 | 2013-05-31 Dinar Temirbulatov <dinar@kugelworks.com> |
3125 | ||
3126 | PR rtl-optimization/57268 | |
3127 | * sched-deps.c (sched_analyze_2): Flush dependence lists if | |
3128 | the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH. | |
3129 | ||
4172215d EB |
3130 | 2013-05-31 Eric Botcazou <ebotcazou@adacore.com> |
3131 | ||
3132 | * config/rs6000/predicates.md (rs6000_cbranch_operator): Accept some | |
3133 | unordered comparison operators when -fno-trapping-math is in effect | |
3134 | on the e500. | |
3135 | * config/rs6000/rs6000.c (rs6000_generate_compare): Remove dead code | |
3136 | and implement unordered comparison operators properly on the e500. | |
3137 | ||
a8c50132 EB |
3138 | 2013-05-31 Eric Botcazou <ebotcazou@adacore.com> |
3139 | ||
3140 | * simplify-rtx.c (simplify_byte_swapping_operation): Use proper macro | |
3141 | for constant scalar integers. | |
3142 | (simplify_relational_operation_1): Likewise. | |
3143 | ||
44626634 SB |
3144 | 2013-05-31 Segher Boessenkool <segher@kernel.crashing.org> |
3145 | ||
3146 | * config/rs6000/rs6000-opts.h (enum processor_type): Reorder. | |
3147 | * config/rs6000/rs6000.md (cpu): Reorder. Split long line. | |
3148 | Fix comment. | |
3149 | ||
55805e54 YR |
3150 | 2013-05-31 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com> |
3151 | Igor Zamyatin <igor.zamyatin@intel.com> | |
3152 | ||
3153 | Silvermont (SLM) architecture performance tuning. | |
3154 | * config/i386/i386.h (enum ix86_tune_indices): Add | |
3155 | X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS. | |
3156 | (TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS): New define. | |
3157 | ||
3158 | * config/i386/i386.c (initial_ix86_tune_features) | |
3159 | <X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS>: Initialize. | |
3160 | (ix86_lea_outperforms): Handle Silvermont tuning. | |
3161 | (ix86_avoid_lea_for_add): Add new argument to ix86_lea_outperforms | |
3162 | call. | |
3163 | (ix86_use_lea_for_mov): Likewise. | |
3164 | (ix86_avoid_lea_for_addr): Likewise. | |
3165 | (ix86_lea_for_add_ok): Likewise. | |
3166 | (exact_dependency_1): New function. | |
3167 | (exact_store_load_dependency): Likewise. | |
3168 | (ix86_adjust_cost): Handle Silvermont tuning. | |
3169 | (do_reoder_for_imul): Likewise. | |
3170 | (swap_top_of_ready_list): New function. | |
3171 | (ix86_sched_reorder): Changed to handle Silvermont tuning. | |
3172 | ||
3173 | * config/i386/i386.md (peepholes that split memory operand in fp | |
3174 | converts): New. | |
3175 | ||
e19c9de2 MS |
3176 | 2013-05-31 Marcus Shawcroft <marcus.shawcroft@arm.com> |
3177 | ||
3178 | * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): | |
3179 | Remove un-necessary braces. | |
3180 | ||
38e6c9a6 MS |
3181 | 2013-05-31 Marcus Shawcroft <marcus.shawcroft@arm.com> |
3182 | ||
3183 | * config/aarch64/aarch64.c (aarch64_classify_symbol): | |
3184 | Use SYMBOL_TINY_ABSOLUTE for AARCH64_CMODEL_TINY_PIC. | |
3185 | ||
e3530904 TB |
3186 | 2013-05-31 Tobias Burnus <burnus@net-b.de> |
3187 | ||
3188 | PR middle-end/57073 | |
c1e183a9 | 3189 | * tree-ssa-math-opts.c (execute_cse_sincos): Move check further up. |
e3530904 | 3190 | |
b6af05a9 KT |
3191 | 2013-05-31 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3192 | ||
3193 | PR target/56315 | |
3194 | * config/arm/arm.c (const_ok_for_dimode_op): Handle IOR. | |
3195 | * config/arm/arm.md (*iordi3_insn): Change to insn_and_split. | |
3196 | * config/arm/neon.md (iordi3_neon): Remove. | |
3197 | (neon_vorr<mode>): Generate iordi3 instead of iordi3_neon. | |
3198 | * config/arm/predicates.md (imm_for_neon_logic_operand): | |
3199 | Move to earlier in the file. | |
3200 | (neon_logic_op2): Likewise. | |
3201 | (arm_iordi_operand_neon): New predicate. | |
3202 | ||
f800c166 RB |
3203 | 2013-05-31 Richard Biener <rguenther@suse.de> |
3204 | ||
3205 | PR tree-optimization/57478 | |
3206 | PR tree-optimization/57453 | |
3207 | * tree-vect-slp.c (vect_bb_slp_scalar_cost): Uses in PHI nodes | |
3208 | are life as well. | |
3209 | ||
e571fa59 KP |
3210 | 2013-05-31 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
3211 | ||
3212 | * config/rl78/rl78.md (mulqi3,mulhi3): New define_expands. | |
3213 | (*mulqi3_rl78,*mulhi3_rl78,*mulhi3_g13): New define_insns. | |
3214 | ||
0fa6e0ef TB |
3215 | 2013-05-30 Tobias Burnus <burnus@net-b.de> |
3216 | Thomas Koenig <tkoenig@gcc.gnu.org> | |
3217 | ||
3218 | PR middle-end/57073 | |
3219 | * tree-ssa-math-opts.c (execute_cse_sincos): Optimize | |
3220 | powi (-1.0, k) to (k & 1) ? -1.0 : 1.0. | |
3221 | ||
4688ddf5 SB |
3222 | 2013-05-30 Steven Bosscher <steven@gcc.gnu.org> |
3223 | ||
0fa6e0ef | 3224 | * rtlanal.c (tablejump_p): Expect table and label to be adjacent. |
4688ddf5 | 3225 | |
3b9ceb4b VM |
3226 | 2013-05-30 Vladimir Makarov <vmakarov@redhat.com> |
3227 | ||
3228 | * target.def (register_usage_leveling_p): New hook. | |
3229 | * targhooks.c (default_register_usage_leveling_p): New. | |
3230 | * targhooks.h (default_register_usage_leveling_p): New prototype. | |
3231 | * lra-assigns.c (register_usage_leveling_p): Use the hook. | |
3232 | * doc/tm.texi.in (TARGET_REGISTER_USAGE_LEVELING_P): New hook. | |
3233 | * doc/tm.texi: Update. | |
3234 | * config/i386/i386.c (TARGET_REGISTER_USAGE_LEVELING_P): Define. | |
3235 | ||
65f9e789 IB |
3236 | 2013-05-30 Ian Bolton <ian.bolton@arm.com> |
3237 | ||
3238 | * config/aarch64/aarch64.md (insv<mode>): New define_expand. | |
3239 | (*insv_reg<mode>): New define_insn. | |
3240 | ||
ca035367 JR |
3241 | 2013-05-30 Joern Rennecke <joern.rennecke@embecosm.com> |
3242 | ||
3243 | PR rtl-optimization/57439 | |
3244 | * postreload.c (move2add_valid_value_p): Check that we have | |
3245 | a zero subreg_regno_offset when accessing the register in | |
3246 | the requested mode. | |
3247 | ||
0b871ccf YR |
3248 | 2013-05-30 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com> |
3249 | Igor Zamyatin <igor.zamyatin@intel.com> | |
3250 | ||
3251 | Silvermont (SLM) architecture pipeline model, tuning and | |
3252 | insn selection. | |
3253 | * config.gcc: Add slm config options and target. | |
3254 | ||
3255 | * config/i386/slm.md: New. | |
3256 | ||
3257 | * config/i386/driver-i386.c (host_detect_local_cpu): Check movbe. | |
3258 | ||
3259 | * gcc/config/i386/i386-c.c (ix86_target_macros_internal): New case | |
3260 | PROCESSOR_SLM. | |
3261 | (ix86_target_macros_internal): Likewise. | |
3262 | ||
3263 | * gcc/config/i386/i386.c (slm_cost): New cost. | |
3264 | (m_SLM): New macro flag. | |
3265 | (initial_ix86_tune_features): Set m_SLM. | |
3266 | (x86_accumulate_outgoing_args): Likewise. | |
3267 | (x86_arch_always_fancy_math_387): Likewise. | |
3268 | (processor_target_table): Add slm cost. | |
3269 | (cpu_names): Add slm cpu name. | |
3270 | (x86_option_override_internal): Set SLM ISA. | |
3271 | (ix86_issue_rate): New case PROCESSOR_SLM. | |
3272 | (ia32_multipass_dfa_lookahead): Likewise. | |
3273 | (fold_builtin_cpu): Add slm. | |
3274 | ||
3275 | * config/i386/i386.h (TARGET_SLM): New target macro. | |
3276 | (target_cpu_default): Add TARGET_CPU_DEFAULT_slm. | |
3277 | (processor_type): Add PROCESSOR_SLM. | |
3278 | ||
3279 | * config/i386/i386.md (cpu): Add new value "slm". | |
3280 | (slm.md): Include slm.md. | |
3281 | ||
24d5b097 XG |
3282 | 2013-05-30 Bernd Schmidt <bernds@codesourcery.com> |
3283 | Zhenqiang Chen <zhenqiang.chen@linaro.org> | |
3284 | ||
3285 | * config/arm/arm-protos.h: Add and update function protos. | |
3286 | * config/arm/arm.c (use_simple_return_p): New added. | |
3287 | (thumb2_expand_return): Check simple_return flag. | |
3288 | * config/arm/arm.md: Add simple_return and conditional simple_return. | |
3289 | * config/arm/iterators.md: Add iterator for return and simple_return. | |
3290 | ||
c1cccc15 ZC |
3291 | 2013-05-30 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
3292 | ||
3293 | * config/arm/arm.c (arm_add_cfa_adjust_cfa_note): New added. | |
3294 | (arm_emit_multi_reg_pop): Add REG_CFA_ADJUST_CFA notes. | |
3295 | (arm_emit_vfp_multi_reg_pop): Likewise. | |
3296 | (thumb2_emit_ldrd_pop): Likewise. | |
3297 | (arm_expand_epilogue): Add misc REG_CFA notes. | |
3298 | (arm_unwind_emit): Skip REG_CFA_ADJUST_CFA and REG_CFA_RESTORE. | |
3299 | ||
3a4f280b LC |
3300 | 2013-05-29 Lawrence Crowl <crowl@google.com> |
3301 | ||
3302 | * config/arm/t-arm: Update for below. | |
3303 | ||
3304 | * config/arm/arm.c (arm_libcall_uses_aapcs_base::libcall_htab): | |
3305 | Change type to hash_table. Update dependent calls and types. | |
3306 | ||
3307 | * config/i386/t-cygming: Update for below. | |
3308 | ||
3309 | * config/i386/t-interix: Update for below. | |
3310 | ||
3311 | * config/i386/winnt.c (i386_pe_section_type_flags::htab): | |
3312 | Change type to hash_table. Update dependent calls and types. | |
3313 | (i386_find_on_wrapper_list::wrappers): Likewise. | |
3314 | ||
3315 | * config/ia64/t-ia64: Update for below. | |
3316 | ||
3317 | * config/ia64/ia64.c (bundle_state_table): | |
3318 | Change type to hash_table. Update dependent calls and types. | |
3319 | ||
3320 | * config/mips/mips.c (mips_reorg_process_insns::htab): | |
3321 | Change type to hash_table. Update dependent calls and types. | |
3322 | ||
3323 | * config/sol2.c (solaris_comdat_htab): | |
3324 | Change type to hash_table. Update dependent calls and types. | |
3325 | ||
3326 | * config/t-sol2: Update for above. | |
3327 | ||
1388a0e3 TJ |
3328 | 2013-05-29 Teresa Johnson <tejohnson@google.com> |
3329 | ||
3330 | * passes.c (dump_passes): Use FOR_EACH_FUNCTION since | |
3331 | functions are not yet marked as defined. | |
3332 | ||
a5965b52 MM |
3333 | 2013-05-29 Michael Meissner <meissner@linux.vnet.ibm.com> |
3334 | Pat Haugen <pthaugen@us.ibm.com> | |
3335 | Peter Bergner <bergner@vnet.ibm.com> | |
3336 | ||
3337 | * config/rs6000/vector.md (VEC_I): Add support for new power8 V2DI | |
3338 | instructions. | |
3339 | (VEC_A): Likewise. | |
3340 | (VEC_C): Likewise. | |
3341 | (vrotl<mode>3): Likewise. | |
3342 | (vashl<mode>3): Likewise. | |
3343 | (vlshr<mode>3): Likewise. | |
3344 | (vashr<mode>3): Likewise. | |
3345 | ||
3346 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
3347 | support for power8 V2DI builtins. | |
3348 | ||
3349 | * config/rs6000/rs6000-builtin.def (abs_v2di): Add support for | |
3350 | power8 V2DI builtins. | |
3351 | (vupkhsw): Likewise. | |
3352 | (vupklsw): Likewise. | |
3353 | (vaddudm): Likewise. | |
3354 | (vminsd): Likewise. | |
3355 | (vmaxsd): Likewise. | |
3356 | (vminud): Likewise. | |
3357 | (vmaxud): Likewise. | |
3358 | (vpkudum): Likewise. | |
3359 | (vpksdss): Likewise. | |
3360 | (vpkudus): Likewise. | |
3361 | (vpksdus): Likewise. | |
3362 | (vrld): Likewise. | |
3363 | (vsld): Likewise. | |
3364 | (vsrd): Likewise. | |
3365 | (vsrad): Likewise. | |
3366 | (vsubudm): Likewise. | |
3367 | (vcmpequd): Likewise. | |
3368 | (vcmpgtsd): Likewise. | |
3369 | (vcmpgtud): Likewise. | |
3370 | (vcmpequd_p): Likewise. | |
3371 | (vcmpgtsd_p): Likewise. | |
3372 | (vcmpgtud_p): Likewise. | |
3373 | (vupkhsw): Likewise. | |
3374 | (vupklsw): Likewise. | |
3375 | (vaddudm): Likewise. | |
3376 | (vmaxsd): Likewise. | |
3377 | (vmaxud): Likewise. | |
3378 | (vminsd): Likewise. | |
3379 | (vminud): Likewise. | |
3380 | (vpksdss): Likewise. | |
3381 | (vpksdus): Likewise. | |
3382 | (vpkudum): Likewise. | |
3383 | (vpkudus): Likewise. | |
3384 | (vrld): Likewise. | |
3385 | (vsld): Likewise. | |
3386 | (vsrad): Likewise. | |
3387 | (vsrd): Likewise. | |
3388 | (vsubudm): Likewise. | |
3389 | ||
3390 | * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Add | |
3391 | support for power8 V2DI instructions. | |
3392 | ||
3393 | * config/rs6000/altivec.md (UNSPEC_VPKUHUM): Add support for | |
3394 | power8 V2DI instructions. Combine pack and unpack insns to use an | |
3395 | iterator for each mode. Check whether a particular mode supports | |
3396 | Altivec instructions instead of just checking TARGET_ALTIVEC. | |
3397 | (UNSPEC_VPKUWUM): Likewise. | |
3398 | (UNSPEC_VPKSHSS): Likewise. | |
3399 | (UNSPEC_VPKSWSS): Likewise. | |
3400 | (UNSPEC_VPKUHUS): Likewise. | |
3401 | (UNSPEC_VPKSHUS): Likewise. | |
3402 | (UNSPEC_VPKUWUS): Likewise. | |
3403 | (UNSPEC_VPKSWUS): Likewise. | |
3404 | (UNSPEC_VPACK_SIGN_SIGN_SAT): Likewise. | |
3405 | (UNSPEC_VPACK_SIGN_UNS_SAT): Likewise. | |
3406 | (UNSPEC_VPACK_UNS_UNS_SAT): Likewise. | |
3407 | (UNSPEC_VPACK_UNS_UNS_MOD): Likewise. | |
3408 | (UNSPEC_VUPKHSB): Likewise. | |
3409 | (UNSPEC_VUNPACK_HI_SIGN): Likewise. | |
3410 | (UNSPEC_VUNPACK_LO_SIGN): Likewise. | |
3411 | (UNSPEC_VUPKHSH): Likewise. | |
3412 | (UNSPEC_VUPKLSB): Likewise. | |
3413 | (UNSPEC_VUPKLSH): Likewise. | |
3414 | (VI2): Likewise. | |
3415 | (VI_char): Likewise. | |
3416 | (VI_scalar): Likewise. | |
3417 | (VI_unit): Likewise. | |
3418 | (VP): Likewise. | |
3419 | (VP_small): Likewise. | |
3420 | (VP_small_lc): Likewise. | |
3421 | (VU_char): Likewise. | |
3422 | (add<mode>3): Likewise. | |
3423 | (altivec_vaddcuw): Likewise. | |
3424 | (altivec_vaddu<VI_char>s): Likewise. | |
3425 | (altivec_vadds<VI_char>s): Likewise. | |
3426 | (sub<mode>3): Likewise. | |
3427 | (altivec_vsubcuw): Likewise. | |
3428 | (altivec_vsubu<VI_char>s): Likewise. | |
3429 | (altivec_vsubs<VI_char>s): Likewise. | |
3430 | (altivec_vavgs<VI_char>): Likewise. | |
3431 | (altivec_vcmpbfp): Likewise. | |
3432 | (altivec_eq<mode>): Likewise. | |
3433 | (altivec_gt<mode>): Likewise. | |
3434 | (altivec_gtu<mode>): Likewise. | |
3435 | (umax<mode>3): Likewise. | |
3436 | (smax<mode>3): Likewise. | |
3437 | (umin<mode>3): Likewise. | |
3438 | (smin<mode>3): Likewise. | |
3439 | (altivec_vpkuhum): Likewise. | |
3440 | (altivec_vpkuwum): Likewise. | |
3441 | (altivec_vpkshss): Likewise. | |
3442 | (altivec_vpkswss): Likewise. | |
3443 | (altivec_vpkuhus): Likewise. | |
3444 | (altivec_vpkshus): Likewise. | |
3445 | (altivec_vpkuwus): Likewise. | |
3446 | (altivec_vpkswus): Likewise. | |
3447 | (altivec_vpks<VI_char>ss): Likewise. | |
3448 | (altivec_vpks<VI_char>us): Likewise. | |
3449 | (altivec_vpku<VI_char>us): Likewise. | |
3450 | (altivec_vpku<VI_char>um): Likewise. | |
3451 | (altivec_vrl<VI_char>): Likewise. | |
3452 | (altivec_vsl<VI_char>): Likewise. | |
3453 | (altivec_vsr<VI_char>): Likewise. | |
3454 | (altivec_vsra<VI_char>): Likewise. | |
3455 | (altivec_vsldoi_<mode>): Likewise. | |
3456 | (altivec_vupkhsb): Likewise. | |
3457 | (altivec_vupkhs<VU_char>): Likewise. | |
3458 | (altivec_vupkls<VU_char>): Likewise. | |
3459 | (altivec_vupkhsh): Likewise. | |
3460 | (altivec_vupklsb): Likewise. | |
3461 | (altivec_vupklsh): Likewise. | |
3462 | (altivec_vcmpequ<VI_char>_p): Likewise. | |
3463 | (altivec_vcmpgts<VI_char>_p): Likewise. | |
3464 | (altivec_vcmpgtu<VI_char>_p): Likewise. | |
3465 | (abs<mode>2): Likewise. | |
3466 | (vec_unpacks_hi_v16qi): Likewise. | |
3467 | (vec_unpacks_hi_v8hi): Likewise. | |
3468 | (vec_unpacks_lo_v16qi): Likewise. | |
3469 | (vec_unpacks_hi_<VP_small_lc>): Likewise. | |
3470 | (vec_unpacks_lo_v8hi): Likewise. | |
3471 | (vec_unpacks_lo_<VP_small_lc>): Likewise. | |
3472 | (vec_pack_trunc_v8h): Likewise. | |
3473 | (vec_pack_trunc_v4si): Likewise. | |
3474 | (vec_pack_trunc_<mode>): Likewise. | |
3475 | ||
3476 | * config/rs6000/altivec.h (vec_vaddudm): Add defines for power8 | |
3477 | V2DI builtins. | |
3478 | (vec_vmaxsd): Likewise. | |
3479 | (vec_vmaxud): Likewise. | |
3480 | (vec_vminsd): Likewise. | |
3481 | (vec_vminud): Likewise. | |
3482 | (vec_vpksdss): Likewise. | |
3483 | (vec_vpksdus): Likewise. | |
3484 | (vec_vpkudum): Likewise. | |
3485 | (vec_vpkudus): Likewise. | |
3486 | (vec_vrld): Likewise. | |
3487 | (vec_vsld): Likewise. | |
3488 | (vec_vsrad): Likewise. | |
3489 | (vec_vsrd): Likewise. | |
3490 | (vec_vsubudm): Likewise. | |
3491 | (vec_vupkhsw): Likewise. | |
3492 | (vec_vupklsw): Likewise. | |
3493 | ||
e70670cf JH |
3494 | 2013-05-29 Jan Hubicka <jh@suse.cz> |
3495 | ||
3496 | * cgraph.h (symtab_node_base): Add definition, alias and analyzed | |
3497 | flags; reorder rest of fields in more consistent way. | |
3498 | (varpool_node): Remove analyzed, finalized and alias. | |
3499 | (cgraph_ndoe): Likewise. | |
3500 | (symtab_alias_ultimate_target): New function. | |
3501 | (cgraph_function_node): Move offline. | |
3502 | (cgraph_reset_node): Declare. | |
3503 | (cgraph_comdat_can_be_unshared_p): Remove. | |
3504 | (varpool_remove_initializer): Declare. | |
3505 | (varpool_first_defined_variable, varpool_next_defined_variable | |
3506 | cgraph_first_defined_function, cgraph_next_defined_function): Update. | |
3507 | (cgraph_function_with_gimple_body_p): Update. | |
3508 | (varpool_all_refs_explicit_p): Update. | |
3509 | (symtab_alias_target): New function. | |
3510 | (cgraph_alias_aliased_node, varpool_alias_aliased_node): Rename to ... | |
3511 | (cgraph_alias_target, varpool_alias_target): .. this one; simplify. | |
c1e183a9 UB |
3512 | (cgraph_function_or_thunk_node): Simplify using |
3513 | symtab_alias_ultimate_target. | |
e70670cf JH |
3514 | (varpool_variable_node): Likewise. |
3515 | * cgraph.c (cgraph_create_function_alias): Update. | |
3516 | (cgraph_add_thunk): Update. | |
3517 | (cgraph_remove_node): Update. | |
3518 | (dump_cgraph_node): Do not dump removed flags. | |
3519 | (cgraph_function_body_availability): Update. | |
3520 | (cgraph_propagate_frequency): Update. | |
3521 | (verify_cgraph_node): Check sanity of local flag. | |
3522 | (cgraph_function_node): Move here from cgraph.h; revamp for | |
3523 | cgraph_function_or_thunk_node. | |
3524 | * lto-symtab.c (lto_varpool_replace_node): Update. | |
3525 | (lto_symtab_resolve_can_prevail_p): Update. | |
3526 | (lto_symtab_merge_cgraph_nodes): Update. | |
3527 | * ipa-cp.c (determine_versionability, initialize_node_lattices, | |
3528 | propagate_constants_accross_call, devirtualization_time_bonus, | |
3529 | ipcp_propagate_stage): Update. | |
3530 | * tree-emutls.c (create_emultls_var, ipa_lower_emutls): Update. | |
c1e183a9 UB |
3531 | * ipa-inline-transform.c (clone_inlined_nodes, |
3532 | preserve_function_body_p): Update. | |
e70670cf JH |
3533 | * ipa-reference.c (propagate): Update. |
3534 | (write_node_summary_p): Update. | |
3535 | * toplev.c (wrapup_global_declaration_2): Update. | |
3536 | * cgraphunit.c (cgraph_analyze_function): Rename to ... | |
3537 | (analyze_function) ... this one. | |
3538 | (cgraph_process_new_functions): Update. | |
3539 | (cgraph_reset_node): Export. | |
3540 | (cgraph_finalize_function): Update. | |
3541 | (cgraph_add_new_function): Update. | |
3542 | (process_function_and_variable_attributes): Update. | |
3543 | (varpool_finalize_decl): Update. | |
3544 | (symbol_finalized): Remove. | |
3545 | (symbol_finalized_and_needed): Rename to ... | |
3546 | (symbol_defined_and_needed): ... update. | |
3547 | (cgraph_analyze_functions): Update. | |
3548 | (handle_alias_pairs): Update. | |
3549 | (mark_functions_to_output): Update. | |
3550 | (assemble_thunk): Update. | |
3551 | (output_in_order): Update. | |
3552 | (output_weakrefs): Update. | |
3553 | (finalize_compilation_unit): Update. | |
3554 | * lto-cgraph.c (reachable_from_other_partition_p, lto_output_node, | |
3555 | lto_output_varpool_node, compute_ltrans_boundary, input_overwrite_node, | |
3556 | input_node, input_varpool_node): Update. | |
3557 | * dbxout.c (dbxout_expand_expr): Update. | |
3558 | * cgraphclones.c (cgraph_clone_node): Update. | |
3559 | (cgraph_copy_node_for_versioning): Update. | |
3560 | (cgraph_materialize_clone): Update. | |
3561 | (cgraph_materialize_all_clones): Update. | |
3562 | * ipa-pure-const.c (analyze_function, pure_const_write_summary, | |
3563 | propagate_pure_const, propagate_nothrow): Update. | |
3564 | * lto-streamer-out.c (lto_output, write_symbol): Update. | |
3565 | * ipa-utils.c (ipa_reverse_postorder): Update. | |
3566 | * ipa-inline.c (can_inline_edge_p): Update. | |
3567 | (update_caller_keys, ipa_inline): Update. | |
3568 | * dwarf2out.c (reference_to_unused, | |
3569 | premark_types_used_by_global_vars_helper): Update. | |
3570 | * tree-eh.c (tree_could_trap_p): Update. | |
3571 | * ipa-split.c (consider_split, execute_split_functions): Update. | |
3572 | * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p, | |
c1e183a9 UB |
3573 | has_addr_references_p): Update; move ahead in file for better |
3574 | readability. | |
e70670cf JH |
3575 | (process_references): Simplify. |
3576 | (symtab_remove_unreachable_nodes): Update; cleanup way function/var | |
3577 | bodies are removed. | |
3578 | (cgraph_comdat_can_be_unshared_p): Make static. | |
3579 | (cgraph_externally_visible_p): Update. | |
3580 | (varpool_externally_visible_p): Update. | |
3581 | (function_and_variable_visibility): Update. | |
3582 | * trans-mem.c (get_cg_data, ipa_tm_mayenterirr_function, | |
3583 | ipa_tm_mark_force_output_node): Update. | |
3584 | * ipa-inline-analysis.c (dump_inline_summary, initialize_inline_failed, | |
3585 | estimate_edge_devirt_benefit, inline_generate_summary, | |
3586 | inline_write_summary): Update. | |
3587 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Update. | |
3588 | * ipa-prop.c (ipa_compute_jump_functions): Update. | |
c1e183a9 UB |
3589 | (ipa_print_node_params, ipa_prop_read_section, |
3590 | ipa_update_after_lto_read, read_replacements_section): Update. | |
e70670cf JH |
3591 | * varasm.c (mark_decl_referenced): Update. |
3592 | (assemble_alias, dump_tm_clone_pairs): Update. | |
3593 | * tree-inline.c (copy_bb): Update. | |
3594 | (estimate_num_insns, optimize_inline_calls, tree_function_versioning): | |
3595 | Update. | |
3596 | * symtab.c (dump_symtab_base): Print new flags. | |
3597 | (verify_symtab_base): Verify new flags. | |
3598 | (symtab_alias_ultimate_target): New function. | |
3599 | * tree-ssa-structalias.c (get_constraint_for_ssa_var, | |
3600 | create_variable_info_for, associate_varinfo_to_alias, ipa_pta_execute): | |
3601 | Update. | |
c1e183a9 UB |
3602 | * passes.c (ipa_write_summaries, ipa_write_optimization_summaries): |
3603 | Update. | |
e70670cf JH |
3604 | * i386.c (ix86_get_function_versions_dispatcher, |
3605 | ix86_generate_version_dispatcher_body): Update. | |
3606 | (fold_builtin_cpu): Use varpool_add_new_variable. | |
3607 | * varpool.c (varpool_remove_initializer): Break out from ... | |
3608 | (varpool_remove_node): ... this one. | |
3609 | (dump_varpool_node, varpool_node_for_asm, | |
3610 | cgraph_variable_initializer_availability, varpool_analyze_node, | |
3611 | varpool_assemble_decl, varpool_remove_unreferenced_decls, | |
c1e183a9 UB |
3612 | varpool_finalize_named_section_flags, varpool_create_variable_alias): |
3613 | Update. | |
e70670cf | 3614 | |
182802ad JH |
3615 | 2013-05-29 Jan Hubicka <jh@suse.cz> |
3616 | ||
3617 | * passes.c (init_optimization_passes): Move OMP expansion into lowering. | |
3618 | ||
8190b609 ER |
3619 | 2013-05-29 Easwaran Raman <eraman@google.com> |
3620 | ||
3621 | PR tree-optimization/57442 | |
3622 | * tree-ssa-reassoc.c (appears_later_in_bb): Return correct value | |
3623 | when control exits the main loop. | |
3624 | ||
69f5aa9b SKS |
3625 | 2013-05-29 Sandeep Kumar Singh <Sandeep.Singh2@kpitcummins.com> |
3626 | ||
3627 | * rx/rx.h (TARGET_CPU_CPP_BUILTINS): Add macros for RX100, RX200, | |
3628 | and RX600. | |
c1e183a9 | 3629 | * rx/rx.opt: Add macro for rx100 with string rx100 and value RX100. |
69f5aa9b SKS |
3630 | * rx/rx-opts.h (rx_cpu_types): Add new cpu type rx100. |
3631 | * rx/t-rx: Add rx100 under multi library matches option for nofpu | |
3632 | option. | |
3633 | ||
4b847da9 BS |
3634 | 2013-05-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3635 | ||
3636 | PR tree-optimization/57441 | |
3637 | * gimple-ssa-strength-reduction.c (analyze_candidates_and_replace): | |
3638 | Don't limit size of incr_vec to number of candidates. | |
3639 | ||
4fc43c39 SE |
3640 | 2013-05-29 Steve Ellcey <sellcey@imgtec.com> |
3641 | ||
3642 | * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Add micromips | |
3643 | and mips16 directories. | |
c1e183a9 | 3644 | * config/mips/t-mti-linux (MULTILIB_OPTIONS): Add micromips and mips16. |
4fc43c39 SE |
3645 | (MULTILIB_DIRNAMES): Ditto. |
3646 | (MULTILIB_EXCEPTIONS): Add new exceptions. | |
3647 | * config/mips/t-mti-elf (MULTILIB_OPTIONS): Add micromips. | |
3648 | (MULTILIB_DIRNAMES): Ditto. | |
3649 | (MULTILIB_EXCEPTIONS): Add new exceptions. | |
3650 | ||
a5350ddc CSS |
3651 | 2012-05-29 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> |
3652 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
3653 | ||
3654 | * config/aarch64/aarch64-protos.h (aarch64_symbol_type): Define | |
3655 | SYMBOL_TINY_ABSOLUTE. | |
3656 | * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Handle | |
3657 | SYMBOL_TINY_ABSOLUTE. | |
3658 | (aarch64_expand_mov_immediate): Likewise. | |
3659 | (aarch64_classify_symbol): Likewise. | |
3660 | (aarch64_mov_operand_p): Remove ATTRIBUTE_UNUSED. | |
3661 | Permit SYMBOL_TINY_ABSOLUTE. | |
3662 | * config/aarch64/predicates.md (aarch64_mov_operand): Permit CONST. | |
3663 | ||
17f4d4bf CSS |
3664 | 2013-05-29 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> |
3665 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
3666 | ||
3667 | * config/aarch64/aarch64.c (aarch64_classify_symbol): Remove comment. | |
3668 | Refactor if/switch. Replace gcc_assert with if. | |
3669 | ||
c0186656 GG |
3670 | 2013-05-29 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> |
3671 | ||
3672 | * config/i386/i386.c (initial_ix86_tune_features): Enable | |
3673 | FP Reassociation for AMD bdver1 and bdver2. | |
3674 | ||
d20188f3 MJ |
3675 | 2013-05-29 Martin Jambor <mjambor@suse.cz> |
3676 | ||
3677 | * tree-cfg.c (verify_expr): Verify that BIT_FIELD_REF, REALPART_EXPR | |
3678 | and IMAGPART_EXPR do not occur within other handled_components. | |
3679 | ||
292cba13 RB |
3680 | 2013-05-29 Richard Biener <rguenther@suse.de> |
3681 | ||
3682 | * tree-vect-slp.c (vect_bb_slp_scalar_cost): Guard vinfo | |
3683 | access on whether the use is in the BB we currently try to | |
3684 | vectorize. | |
3685 | (vect_bb_vectorization_profitable_p): Pass the BB we currently | |
3686 | vectorize to vect_bb_slp_scalar_cost. | |
3687 | ||
6eddf228 RB |
3688 | 2013-05-29 Richard Biener <rguenther@suse.de> |
3689 | ||
3690 | * tree-vect-slp.c (vect_bb_slp_scalar_cost): New function | |
3691 | computing scalar cost offsetted by stmts that are kept live | |
3692 | by scalar uses. | |
3693 | (vect_bb_vectorization_profitable_p): Use vect_bb_slp_scalar_cost | |
3694 | for computation of scalar cost. | |
3695 | ||
7df36117 SE |
3696 | 2013-05-28 Steve Ellcey <sellcey@mips.com> |
3697 | ||
3698 | * config/mips/mips-cpus.def (mips32r2): Change processor type. | |
3699 | ||
36536d79 BI |
3700 | 2013-05-28 Balaji V. Iyer <balaji.v.iyer@intel.com> |
3701 | ||
3702 | * doc/extend.texi (C Extensions): Added documentation about Cilk Plus | |
3703 | array notation built-in reduction functions. | |
3704 | * doc/passes.texi (Passes): Added documentation about changes done | |
3705 | for Cilk Plus. | |
3706 | * doc/invoke.texi (C Dialect Options): Added documentation about | |
3707 | the -fcilkplus flag. | |
3708 | * Makefile.in (C_COMMON_OBJS): Added c-family/array-notation-common.o. | |
3709 | (BUILTINS_DEF): Depend on cilkplus.def. | |
3710 | * builtins.def: Include cilkplus.def. Define DEF_CILKPLUS_BUILTIN. | |
3711 | * builtin-types.def: Define BT_FN_INT_PTR_PTR_PTR. | |
3712 | * cilkplus.def: New file. | |
3713 | ||
b49eefa5 JR |
3714 | 2013-05-28 Joern Rennecke <joern.rennecke@embecosm.com> |
3715 | ||
3716 | PR rtl-optimization/57439 | |
3717 | * postreload.c (move2add_use_add2_insn): Use gen_lowpart_common. | |
3718 | ||
9daf6dbb ER |
3719 | 2013-05-28 Easwaran Raman <eraman@google.com> |
3720 | ||
3721 | PR tree-optimization/57337 | |
3722 | * tree-ssa-reassoc.c (appears_later_in_bb): New function. | |
3723 | (find_insert_point): Correctly identify the insertion point | |
3724 | when two statements with the same UID is compared. | |
3725 | ||
fbd7e877 RB |
3726 | 2013-05-28 Richard Biener <rguenther@suse.de> |
3727 | ||
3728 | PR tree-optimization/56787 | |
3729 | * tree-vect-data-refs.c (vect_analyze_data_refs): Drop clobbers | |
3730 | from the list of data references. | |
3731 | * tree-vect-loop.c (vect_determine_vectorization_factor): Skip | |
3732 | clobbers. | |
3733 | (vect_analyze_loop_operations): Likewise. | |
3734 | (vect_transform_loop): Remove clobbers. | |
3735 | ||
bbba1117 MJ |
3736 | 2013-05-28 Martin Jambor <mjambor@suse.cz> |
3737 | ||
3738 | * tree-cfg.c (verify_expr): Verify that BIT_FIELD_REFs, IMAGPART_EXPRs | |
3739 | and REALPART_EXPRs have scalar type. | |
3740 | ||
bd388c2a RB |
3741 | 2013-05-28 Richard Biener <rguenther@suse.de> |
3742 | ||
3743 | PR tree-optimization/57411 | |
3744 | * tree-ssa-copy.c (may_propagate_copy): Cannot propagate | |
3745 | virtual operands. | |
3746 | * tree-ssa-dom.c (eliminate_const_or_copy): Special-case | |
3747 | virtual operand propagation. | |
3748 | ||
2f56a311 EB |
3749 | 2013-05-28 Eric Botcazou <ebotcazou@adacore.com> |
3750 | ||
3751 | * config/sparc/sparc.c (sparc_expand_vec_perm_bmask): Use %g0 as | |
3752 | destination register for bmasksi_vis. | |
3753 | (vector_init_bshuffle): Likewise. | |
3754 | * config/sparc/sparc.md (vec_perm_constv8qi): Likewise. | |
3755 | ||
5c3eacbb EB |
3756 | 2013-05-28 Eric Botcazou <ebotcazou@adacore.com> |
3757 | ||
3758 | * doc/invoke.texi (SPARC Options): Document -mfix-ut699. | |
3759 | * builtins.c (expand_builtin_mathfn) <BUILT_IN_SQRT>: Try to widen the | |
3760 | mode if the instruction isn't available in the original mode. | |
3761 | * config/sparc/sparc.opt (mfix-ut699): New option. | |
3762 | * config/sparc/sparc.md (muldf3_extend): Disable if -mfix-ut699. | |
3763 | (divdf3): Turn into expander. | |
3764 | (divdf3_nofix): New insn. | |
3765 | (divdf3_fix): Likewise. | |
3766 | (divsf3): Disable if -mfix-ut699. | |
3767 | (sqrtdf2): Turn into expander. | |
3768 | (sqrtdf2_nofix): New insn. | |
3769 | (sqrtdf2_fix): Likewise. | |
3770 | (sqrtsf2): Disable if -mfix-ut699. | |
3771 | ||
a1756c0a RB |
3772 | 2013-05-27 Richard Biener <rguenther@suse.de> |
3773 | ||
3774 | PR middle-end/57412 | |
3775 | * omp-low.c (expand_omp_atomic_pipeline): Use the correct latch | |
3776 | block for the new loop. | |
3777 | ||
5a892248 RB |
3778 | 2013-05-27 Richard Biener <rguenther@suse.de> |
3779 | ||
3780 | PR tree-optimization/57343 | |
3781 | * tree-ssa-loop-niter.c (number_of_iterations_ne_max): Do not | |
3782 | use multiple_of_p if not TYPE_OVERFLOW_UNDEFINED. | |
3783 | (number_of_iterations_cond): Do not build the folded tree. | |
3784 | ||
d1de852b RB |
3785 | 2013-05-27 Richard Biener <rguenther@suse.de> |
3786 | ||
3787 | Revert | |
3788 | PR middle-end/57381 | |
3789 | * fold-const.c (operand_equal_p): Compare FIELD_DECLs with | |
3790 | OEP_CONSTANT_ADDRESS_OF retained. | |
3791 | ||
3792 | PR tree-optimization/57417 | |
3793 | * tree-ssa-sccvn.c (vn_reference_fold_indirect): Fix test | |
3794 | for unchanged base. | |
3795 | (set_ssa_val_to): Compare addresses using | |
3796 | get_addr_base_and_unit_offset. | |
3797 | ||
7894bc6b JR |
3798 | 2013-05-27 Joern Rennecke <joern.rennecke@embecosm.com> |
3799 | ||
3800 | PR rtl-optimization/56833 | |
3801 | * postreload.c (move2add_record_mode): New function. | |
3802 | (move2add_record_sym_value, move2add_valid_value_p): Likewise. | |
3803 | (move2add_use_add2_insn): Use move2add_record_sym_value. | |
3804 | (move2add_use_add3_insn): Likewise. | |
3805 | (reload_cse_move2add): Use move2add_valid_value_p and | |
3806 | move2add_record_mode. Invalidate call-clobbered and REG_INC | |
3807 | affected regs by setting reg_mode to VOIDmode. | |
3808 | (move2add_note_store): Don't pretend the inside of a SUBREG is | |
3809 | the actual destination. Invalidate single/leading registers by | |
3810 | setting reg_mode to VOIDmode. | |
3811 | Use move2add_record_sym_value, move2add_valid_value_p and | |
3812 | move2add_record_mode. | |
3813 | ||
b03be25f RB |
3814 | 2013-05-27 Richard Biener <rguenther@suse.de> |
3815 | ||
3816 | PR tree-optimization/57396 | |
3817 | * tree-affine.c (double_int_constant_multiple_p): Properly | |
3818 | return false for val == 0 and div != 0. | |
3819 | ||
44e88db2 RS |
3820 | 2013-05-25 Richard Sandiford <rdsandiford@googlemail.com> |
3821 | ||
3822 | * config/mips/mips.h: Use #elif in preprocessor conditions. | |
3823 | ||
3b859704 RS |
3824 | 2013-05-25 Richard Sandiford <rdsandiford@googlemail.com> |
3825 | ||
3826 | PR target/53916 | |
3827 | * config/mips/constraints.md (kl): New constraint. | |
3828 | * config/mips/mips.md (divmod<mode>4, udivmod<mode>4): Delete. | |
3829 | (divmod<mode>4_internal): Rename to divmod<mode>4. Use "kl" as the | |
3830 | constraint for operand 0. Split after CSE for MIPS16. Emit a move | |
3831 | from LO for MIPS16. | |
3832 | (udivmod<mode>4_internal): Likewise udivmod<mode>4. | |
3833 | ||
c979d5f5 RS |
3834 | 2013-05-25 Richard Sandiford <rdsandiford@googlemail.com> |
3835 | ||
3836 | PR target/55777 | |
3837 | * config/mips/mips.c (mips_can_inline_p): New function. | |
3838 | (TARGET_CAN_INLINE_P): Define. | |
3839 | ||
8e90de43 SB |
3840 | 2013-05-25 Steven Bosscher <steven@gcc.gnu.org> |
3841 | ||
3842 | * sched-int.h (ds_t, dw_t): Make unsigned int. | |
3843 | Fix documentation that describes how all the ds_t bits are used. | |
3844 | Reserve the last bit for delayed-branch scheduling. | |
3845 | (BITS_PER_DEP_STATUS): Move to ds_t typedef. | |
3846 | (BITS_PER_DEP_WEAK): Fix definition and documentation. | |
3847 | (gen_dep_weak_1): Remove prototype. | |
3848 | * sched-deps.c (get_dep_weak_1): Make static. | |
3849 | * target.def (speculate_insn, needs_block_p, gen_spec_check, | |
3850 | get_insn_spec_ds, get_insn_checked_ds): Adjust hook prototypes. | |
3851 | * doc/tm.texi: Regenerate. | |
3852 | * config/ia64/ia64.c (ia64_needs_block_p): Update prototype. | |
3853 | ||
cb5cb194 SB |
3854 | 2013-05-24 Steven Bosscher <steven@gcc.gnu.org> |
3855 | ||
3856 | PR debug/56950 | |
3857 | * haifa-sched.c (sched_extend_bb): Ignore DEBUG_INSNs. | |
3858 | ||
5bd93ff6 NS |
3859 | 2013-05-24 Nathan Sidwell <nathan@codesourcery.com> |
3860 | Sandra Loosemore <sandra@codesourcery.com> | |
3861 | ||
3862 | * config.gcc (powerpc-*): Allow native for with-cpu. | |
3863 | ||
2343af65 JL |
3864 | 2013-05-24 Jeff Law <law@redhat.com> |
3865 | ||
3866 | PR tree-optimization/57124 | |
3867 | * tree-vrp.c (simplify_cond_using_ranges): Only simplify a | |
3868 | conversion feeding a condition if the range has an overflow | |
3869 | if -fstrict-overflow. Add warnings for when we do make the | |
3870 | transformation. | |
3871 | ||
3ad695b9 DC |
3872 | 2013-05-24 Dehao Chen <dehao@google.com> |
3873 | ||
04960246 | 3874 | * tree-cfg.c (locus_discrim_map): Fix the typo. |
3ad695b9 DC |
3875 | (locus_discrim_hasher): Likewise. |
3876 | (locus_discrim_hasher::hash): Likewise. | |
3877 | (locus_discrim_hasher::equal): Likewise. | |
3878 | ||
82338059 MJ |
3879 | 2013-05-24 Martin Jambor <mjambor@suse.cz> |
3880 | ||
3881 | PR tree-optimization/57294 | |
3882 | * cgraph.h (ipa_record_stmt_references): Declare. | |
3883 | * cgraphbuild.c (ipa_record_stmt_references): New function. | |
3884 | (build_cgraph_edges): Use ipa_record_stmt_references. | |
3885 | (rebuild_cgraph_edges): Likewise. | |
3886 | (cgraph_rebuild_references): Likewise. | |
3887 | * ipa-prop.c (ipa_modify_call_arguments): Discard references | |
3888 | associated with the old statement and build references from the | |
3889 | newly built statements. | |
3890 | * ipa-ref.c (ipa_remove_stmt_references): New function. | |
3891 | * ipa-ref.h (ipa_remove_stmt_references): Declare. | |
3892 | ||
1ccd4874 VM |
3893 | 2013-05-24 Vladimir Makarov <vmakarov@redhat.com> |
3894 | ||
55805e54 | 3895 | * lra-constraints.c (emit_spill_move): Use smaller mode for |
1ccd4874 | 3896 | mem-mem moves. |
55805e54 | 3897 | (check_and_process_move): Consider mem-reg moves for secondary |
1ccd4874 | 3898 | too. |
55805e54 | 3899 | (curr_insn_transform): Don't lose insns emitted before for |
1ccd4874 VM |
3900 | secondary memory moves. |
3901 | (inherit_in_ebb): Mark defined reg. Add usage only if it is not a | |
3902 | reg set up in the current insn. | |
3903 | ||
25e25c73 DC |
3904 | 2013-05-24 Dehao Chen <dehao@google.com> |
3905 | ||
04960246 | 3906 | * tree-cfg.c (locus_descrim_hasher::hash): Change discriminator |
25e25c73 DC |
3907 | hash function. |
3908 | (locus_descrim_hasher::equal): Likewise. | |
04960246 | 3909 | (build_gimple_cfg): New discriminator assignment algorithm. |
25e25c73 DC |
3910 | (make_edges): Likewise. |
3911 | (next_discriminator_for_locus): Likewise. | |
3912 | (same_line_p): Likewise. | |
3913 | (assign_discriminators): Likewise. | |
3914 | (make_cond_expr_edges): Likewise. | |
3915 | (make_gimple_switch_edges): Likewise. | |
3916 | (make_goto_expr_edges): Likewise. | |
3917 | (make_gimple_asm_edges): Likewise. | |
3918 | ||
50d38551 IB |
3919 | 2013-05-24 Ian Bolton <ian.bolton@arm.com> |
3920 | ||
3921 | * config/aarch64/aarch64.c (aarch64_print_operand): Change the | |
3922 | X format specifier to only display bottom 16 bits. | |
3923 | * config/aarch64/aarch64.md (insv_imm<mode>): Allow any size of | |
3924 | immediate to match for operand 2, since it will be masked. | |
3925 | ||
aea0101d RB |
3926 | 2013-05-24 Richard Biener <rguenther@suse.de> |
3927 | ||
3928 | PR tree-optimization/57287 | |
3929 | * tree-ssa-uninit.c (compute_uninit_opnds_pos): Disregard | |
3930 | all SSA names that occur in abnormal PHIs. | |
3931 | ||
634e03d3 AI |
3932 | 2013-05-24 Alexander Ivchenko <alexander.ivchenko@intel.com> |
3933 | ||
3934 | PR tree-ssa/57385 | |
3935 | * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Check | |
3936 | that index is not negative. | |
3937 | ||
b17c024f EB |
3938 | 2013-05-24 Eric Botcazou <ebotcazou@adacore.com> |
3939 | ||
3940 | PR rtl-optimization/55177 | |
3941 | * simplify-rtx.c (simplify_unary_operation_1) <NOT>: Deal with BSWAP. | |
3942 | (simplify_byte_swapping_operation): New. | |
3943 | (simplify_binary_operation_1): Call it for AND, IOR and XOR. | |
3944 | (simplify_relational_operation_1): Deal with BSWAP. | |
3945 | ||
46aeac1b RH |
3946 | 2013-05-23 Richard Henderson <rth@redhat.com> |
3947 | ||
3948 | PR target/56742 | |
3949 | * config/i386/i386.c (ix86_seh_fixup_eh_fallthru): New. | |
3950 | (ix86_reorg): Call it. | |
3951 | ||
70cc1536 UB |
3952 | 2013-05-23 Uros Bizjak <ubizjak@gmail.com> |
3953 | ||
3954 | PR target/57379 | |
3955 | * config/alpha/alpha.md (unspec): Add UNSPEC_XFLT_COMPARE. | |
3956 | * config/alpha/alpha.c (alpha_emit_xfloating_compare): Construct | |
3957 | REG_EQUAL note as UNSPEC_XFLT_COMPARE unspec. | |
3958 | ||
b3851501 CB |
3959 | 2013-05-23 Christian Bruel <christian.bruel@st.com> |
3960 | ||
3961 | PR debug/57351 | |
3962 | * config/arm/arm.c (arm_dwarf_register_span): Do not use dbx number. | |
3963 | ||
4e194912 CSS |
3964 | 2013-05-23 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> |
3965 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
3966 | ||
3967 | * config/aarch64/aarch64.md (*movdi_aarch64): Replace Usa with S. | |
3968 | * config/aarch64/constraints.md (Usa): Remove. | |
3969 | * doc/md.texi (AArch64 Usa): Remove. | |
3970 | ||
83f8c414 CSS |
3971 | 2013-05-23 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> |
3972 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
3973 | ||
3974 | * config/aarch64/aarch64-protos.h (aarch64_mov_operand_p): Define. | |
3975 | * config/aarch64/aarch64.c (aarch64_mov_operand_p): Define. | |
3976 | * config/aarch64/predicates.md (aarch64_const_address): Remove. | |
3977 | (aarch64_mov_operand): Use aarch64_mov_operand_p. | |
3978 | ||
b5574232 VP |
3979 | 2013-05-23 Vidya Praveen <vidyapraveen@arm.com> |
3980 | ||
3981 | * config/aarch64/aarch64-simd.md (clzv4si2): Support for CLZ | |
3982 | instruction (AdvSIMD). | |
3983 | * config/aarch64/aarch64-builtins.c | |
3984 | (aarch64_builtin_vectorized_function): Handler for BUILT_IN_CLZ. | |
3985 | * config/aarch64/aarch-simd-builtins.def: Entry for CLZ. | |
3986 | ||
76c36cb1 | 3987 | 2013-05-23 Martin Jambor <mjambor@suse.cz> |
7d2fb524 MJ |
3988 | |
3989 | PR middle-end/57347 | |
3990 | * tree.h (contains_bitfld_component_ref_p): Declare. | |
3991 | * tree-sra.c (contains_bitfld_comp_ref_p): Move... | |
70cc1536 UB |
3992 | * tree.c (contains_bitfld_component_ref_p): ...here. Adjust its |
3993 | caller. | |
7d2fb524 MJ |
3994 | * ipa-prop.c (determine_known_aggregate_parts): Check that LHS does |
3995 | not access a bit-field. Assert all final offsets are byte-aligned. | |
3996 | ||
ce521ae6 RB |
3997 | 2013-05-23 Richard Biener <rguenther@suse.de> |
3998 | ||
3999 | PR tree-optimization/57380 | |
4000 | * tree-ssa-phiprop.c (propagate_with_phi): Do not require at | |
4001 | least one invariant or re-used load. | |
4002 | * passes.c (init_optimization_passes): Move pass_phiprop before | |
4003 | pass_forwprop. | |
4004 | ||
75c7257f JG |
4005 | 2013-05-23 James Greenhalgh <james.greenhalgh@arm.com> |
4006 | ||
4007 | * config/aarch64/aarch64-simd.md | |
4008 | (aarch64_cm<optab>di): Add clobber of CC_REGNUM to unsplit pattern. | |
4009 | ||
af6d44b5 RB |
4010 | 2013-05-23 Richard Biener <rguenther@suse.de> |
4011 | ||
4012 | PR middle-end/57381 | |
4013 | * fold-const.c (operand_equal_p): Compare FIELD_DECLs with | |
4014 | OEP_CONSTANT_ADDRESS_OF retained. | |
4015 | ||
bd3647bf JJ |
4016 | 2013-05-23 Jakub Jelinek <jakub@redhat.com> |
4017 | ||
4018 | PR middle-end/57344 | |
70cc1536 UB |
4019 | * expmed.c (store_split_bit_field): If op0 is a REG or SUBREG of a REG, |
4020 | don't lower unit. Handle unit not being always BITS_PER_WORD. | |
bd3647bf | 4021 | |
a55757ea RB |
4022 | 2013-05-23 Richard Biener <rguenther@suse.de> |
4023 | ||
4024 | PR rtl-optimization/57341 | |
4025 | * ira.c (validate_equiv_mem_from_store): Use anti_dependence | |
4026 | instead of true_dependence. | |
4027 | ||
cfb00b41 DM |
4028 | 2013-05-22 David Malcolm <dmalcolm@redhat.com> |
4029 | ||
dd1c676f DM |
4030 | * bb-reorder.c (branch_threshold): Make const. |
4031 | (exec_threshold): Ditto. | |
cfb00b41 | 4032 | |
f62511da MM |
4033 | 2013-05-22 Michael Meissner <meissner@linux.vnet.ibm.com> |
4034 | Pat Haugen <pthaugen@us.ibm.com> | |
4035 | Peter Bergner <bergner@vnet.ibm.com> | |
4036 | ||
4037 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): Add | |
4038 | documentation for the power8 crypto builtins. | |
4039 | ||
4040 | * config/rs6000/t-rs6000 (MD_INCLUDES): Add crypto.md. | |
4041 | ||
4042 | * config/rs6000/rs6000-builtin.def (BU_P8V_AV_1): Add support | |
4043 | macros for defining power8 builtin functions. | |
4044 | (BU_P8V_AV_2): Likewise. | |
4045 | (BU_P8V_AV_P): Likewise. | |
4046 | (BU_P8V_VSX_1): Likewise. | |
4047 | (BU_P8V_OVERLOAD_1): Likewise. | |
4048 | (BU_P8V_OVERLOAD_2): Likewise. | |
4049 | (BU_CRYPTO_1): Likewise. | |
4050 | (BU_CRYPTO_2): Likewise. | |
4051 | (BU_CRYPTO_3): Likewise. | |
4052 | (BU_CRYPTO_OVERLOAD_1): Likewise. | |
4053 | (BU_CRYPTO_OVERLOAD_2): Likewise. | |
4054 | (XSCVSPDP): Fix typo, point to the correct instruction. | |
4055 | (VCIPHER): Add power8 crypto builtins. | |
4056 | (VCIPHERLAST): Likewise. | |
4057 | (VNCIPHER): Likewise. | |
4058 | (VNCIPHERLAST): Likewise. | |
4059 | (VPMSUMB): Likewise. | |
4060 | (VPMSUMH): Likewise. | |
4061 | (VPMSUMW): Likewise. | |
4062 | (VPERMXOR_V2DI): Likewise. | |
4063 | (VPERMXOR_V4SI: Likewise. | |
4064 | (VPERMXOR_V8HI: Likewise. | |
4065 | (VPERMXOR_V16QI: Likewise. | |
4066 | (VSHASIGMAW): Likewise. | |
4067 | (VSHASIGMAD): Likewise. | |
4068 | (VPMSUM): Likewise. | |
4069 | (VPERMXOR): Likewise. | |
4070 | (VSHASIGMA): Likewise. | |
4071 | ||
4072 | * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define | |
4073 | __CRYPTO__ if the crypto instructions are available. | |
4074 | (altivec_overloaded_builtins): Add support for overloaded power8 | |
4075 | builtins. | |
4076 | ||
4077 | * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Add | |
4078 | support for power8 crypto builtins. | |
4079 | (builtin_function_type): Likewise. | |
4080 | (altivec_init_builtins): Add support for builtins that take vector | |
4081 | long long (V2DI) arguments. | |
4082 | ||
4083 | * config/rs6000/crypto.md: New file, define power8 crypto | |
4084 | instructions. | |
4085 | ||
4086 | 2013-05-22 Michael Meissner <meissner@linux.vnet.ibm.com> | |
4087 | Pat Haugen <pthaugen@us.ibm.com> | |
4088 | Peter Bergner <bergner@vnet.ibm.com> | |
4089 | ||
4090 | * doc/invoke.texi (Option Summary): Add power8 options. | |
4091 | (RS/6000 and PowerPC Options): Likewise. | |
4092 | ||
4093 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Update to use | |
4094 | constraints.md instead of rs6000.h. Reorder w* constraints. Add | |
4095 | wm, wn, wr documentation. | |
4096 | ||
4097 | * gcc/config/rs6000/constraints.md (wm): New constraint for VSX | |
4098 | registers if direct move instructions are enabled. | |
4099 | (wn): New constraint for no registers. | |
4100 | (wq): New constraint for quad word even GPR registers. | |
4101 | (wr): New constraint if 64-bit instructions are enabled. | |
4102 | (wv): New constraint if power8 vector instructions are enabled. | |
4103 | (wQ): New constraint for quad word memory locations. | |
4104 | ||
4105 | * gcc/config/rs6000/predicates.md (const_0_to_15_operand): New | |
4106 | constraint for 0..15 for crypto instructions. | |
4107 | (gpc_reg_operand): If VSX allow registers in VSX registers as well | |
4108 | as GPR and floating point registers. | |
4109 | (int_reg_operand): New predicate to match only GPR registers. | |
4110 | (base_reg_operand): New predicate to match base registers. | |
4111 | (quad_int_reg_operand): New predicate to match even GPR registers | |
4112 | for quad memory operations. | |
4113 | (vsx_reg_or_cint_operand): New predicate to allow vector logical | |
4114 | operations in both GPR and VSX registers. | |
4115 | (quad_memory_operand): New predicate for quad memory operations. | |
4116 | (reg_or_indexed_operand): New predicate for direct move support. | |
4117 | ||
4118 | * gcc/config/rs6000/rs6000-cpus.def (ISA_2_5_MASKS_EMBEDDED): | |
4119 | Inherit from ISA_2_4_MASKS, not ISA_2_2_MASKS. | |
4120 | (ISA_2_7_MASKS_SERVER): New mask for ISA 2.07 (i.e. power8). | |
4121 | (POWERPC_MASKS): Add power8 options. | |
4122 | (power8 cpu): Use ISA_2_7_MASKS_SERVER instead of specifying the | |
4123 | various options. | |
4124 | ||
4125 | * gcc/config/rs6000/rs6000-c.c (rs6000_target_modify_macros): | |
4126 | Define _ARCH_PWR8 and __POWER8_VECTOR__ for power8. | |
4127 | ||
4128 | * gcc/config/rs6000/rs6000.opt (-mvsx-timode): Add documentation. | |
4129 | (-mpower8-fusion): New power8 options. | |
4130 | (-mpower8-fusion-sign): Likewise. | |
4131 | (-mpower8-vector): Likewise. | |
4132 | (-mcrypto): Likewise. | |
4133 | (-mdirect-move): Likewise. | |
4134 | (-mquad-memory): Likewise. | |
4135 | ||
4136 | * gcc/config/rs6000/rs6000.c (power8_cost): Initial definition for | |
4137 | power8. | |
4138 | (rs6000_hard_regno_mode_ok): Make PTImode only match even GPR | |
4139 | registers. | |
70cc1536 | 4140 | (rs6000_debug_reg_print): Print the base register class if -mdebug=reg. |
f62511da MM |
4141 | (rs6000_debug_vector_unit): Add p8_vector. |
4142 | (rs6000_debug_reg_global): If -mdebug=reg, print power8 constraint | |
4143 | definitions. Also print fusion state. | |
4144 | (rs6000_init_hard_regno_mode_ok): Set up power8 constraints. | |
4145 | (rs6000_builtin_mask_calculate): Add power8 builtin support. | |
4146 | (rs6000_option_override_internal): Add support for power8. | |
4147 | (rs6000_common_init_builtins): Add debugging for skipped builtins | |
4148 | if -mdebug=builtin. | |
4149 | (rs6000_adjust_cost): Add power8 support. | |
4150 | (rs6000_issue_rate): Likewise. | |
4151 | (insn_must_be_first_in_group): Likewise. | |
4152 | (insn_must_be_last_in_group): Likewise. | |
4153 | (force_new_group): Likewise. | |
4154 | (rs6000_register_move_cost): Likewise. | |
4155 | (rs6000_opt_masks): Likewise. | |
4156 | ||
4157 | * config/rs6000/rs6000.h (ASM_CPU_POWER8_SPEC): If we don't have a | |
4158 | power8 capable assembler, default to power7 options. | |
4159 | (TARGET_DIRECT_MOVE): Likewise. | |
4160 | (TARGET_CRYPTO): Likewise. | |
4161 | (TARGET_P8_VECTOR): Likewise. | |
4162 | (VECTOR_UNIT_P8_VECTOR_P): Define power8 vector support. | |
4163 | (VECTOR_UNIT_VSX_OR_P8_VECTOR_P): Likewise. | |
4164 | (VECTOR_MEM_P8_VECTOR_P): Likewise. | |
4165 | (VECTOR_MEM_VSX_OR_P8_VECTOR_P): Likewise. | |
4166 | (VECTOR_MEM_ALTIVEC_OR_VSX_P): Likewise. | |
4167 | (TARGET_XSCVDPSPN): Likewise. | |
4168 | (TARGET_XSCVSPDPN): Likewsie. | |
4169 | (TARGET_SYNC_HI_QI): Likewise. | |
4170 | (TARGET_SYNC_TI): Likewise. | |
4171 | (MASK_CRYPTO): Likewise. | |
4172 | (MASK_DIRECT_MOVE): Likewise. | |
4173 | (MASK_P8_FUSION): Likewise. | |
4174 | (MASK_P8_VECTOR): Likewise. | |
70cc1536 UB |
4175 | (REG_ALLOC_ORDER): Move fr13 to be lower in priority so that the TFmode |
4176 | temporary used by some of the direct move instructions to get two FP | |
4177 | temporary registers does not force creation of a stack frame. | |
f62511da MM |
4178 | (VLOGICAL_REGNO_P): Allow vector logical operations in GPRs. |
4179 | (MODES_TIEABLE_P): Move the VSX tests above the Altivec tests so | |
4180 | that any VSX registers are tieable, even if they are also an | |
4181 | Altivec vector mode. | |
4182 | (r6000_reg_class_enum): Add wm, wr, wv constraints. | |
4183 | (RS6000_BTM_P8_VECTOR): Power8 builtin support. | |
4184 | (RS6000_BTM_CRYPTO): Likewise. | |
4185 | (RS6000_BTM_COMMON): Likewise. | |
4186 | ||
4187 | * config/rs6000/rs6000.md (cpu attribute): Add power8. | |
4188 | * config/rs6000/rs6000-opts.h (PROCESSOR_POWER8): Likewise. | |
4189 | (enum rs6000_vector): Add power8 vector support. | |
4190 | ||
73a1a707 RR |
4191 | 2013-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
4192 | ||
4193 | PR target/19599 | |
4194 | PR target/57340 | |
4195 | * config/arm/arm.c (any_sibcall_uses_r3): Rename to .. | |
4196 | (any_sibcall_could_use_r3): this and handle indirect calls. | |
4197 | (arm_get_frame_offsets): Rename use of any_sibcall_uses_r3. | |
4198 | ||
d28073d4 BS |
4199 | 2013-05-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4200 | ||
4201 | * config/rs6000/rs6000.h (MALLOC_ABI_ALIGNMENT): New #define. | |
4202 | ||
bee0b10c RB |
4203 | 2013-05-22 Richard Biener <rguenther@suse.de> |
4204 | ||
4205 | PR middle-end/57349 | |
4206 | * profile.c (branch_prob): Do not split blocks that are | |
4207 | abnormally receiving from ECF_RETURNS_TWICE functions. | |
4208 | ||
98409b51 RS |
4209 | 2013-05-22 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
4210 | ||
4211 | * recog.c (offsettable_address_addr_space_p): Fix calculation of | |
4212 | address mode. Move pointer mode initialization to the same place. | |
4213 | ||
c0602ab8 MZ |
4214 | 2013-05-22 Michael Zolotukhin <michael.v.zolotukhin@intel.com> |
4215 | ||
4216 | * read-rtl.c (copy_rtx_for_iterators): Continue applying iterators | |
4217 | while it has any effect. | |
4218 | ||
4f7a634e ER |
4219 | 2013-05-21 Easwaran Raman <eraman@google.com> |
4220 | ||
4221 | PR tree-optimization/57322 | |
9daf6dbb ER |
4222 | * tree-ssa-reassoc.c (build_and_add_sum): If a BB is empty, set the |
4223 | UID of the statement added to the BB to be 1. | |
4f7a634e | 4224 | |
a4ce1258 JJ |
4225 | 2013-05-21 Jakub Jelinek <jakub@redhat.com> |
4226 | ||
4227 | PR tree-optimization/57331 | |
70cc1536 UB |
4228 | * tree-vrp.c (simplify_cond_using_ranges): Don't optimize comparison |
4229 | of conversion from pointer type to integral type with integer. | |
a4ce1258 | 4230 | |
1b14621a MJ |
4231 | 2013-05-21 Martin Jambor <mjambor@suse.cz> |
4232 | ||
4233 | PR lto/57289 | |
4234 | * ipa-prop.c (ipa_read_node_info): Process param_used and | |
4235 | controlled_uses in the same order as when writing. | |
4236 | ||
e60661f0 MG |
4237 | 2013-05-21 Magnus Granberg <baldrick@free.fr> |
4238 | ||
4239 | PR plugins/56754 | |
ee49aa34 | 4240 | * Makefile.in (PLUGIN_HEADERS): Add $(TARGET_H). |
e60661f0 | 4241 | |
4a61be9a RB |
4242 | 2013-05-21 Richard Biener <rguenther@suse.de> |
4243 | ||
4244 | PR tree-optimization/57318 | |
4245 | * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Do not | |
4246 | estimate stmts with side-effects as likely eliminated. | |
4247 | ||
c52da5f7 RB |
4248 | 2013-05-21 Richard Biener <rguenther@suse.de> |
4249 | ||
4250 | PR tree-optimization/57330 | |
4251 | * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Properly | |
4252 | preserve the call stmts fntype. | |
4253 | ||
7ec67e2a RB |
4254 | 2013-05-21 Richard Biener <rguenther@suse.de> |
4255 | ||
4256 | PR tree-optimization/57303 | |
4257 | * tree-ssa-sink.c (statement_sink_location): Improve killing | |
4258 | stmt detection and properly handle self-assignments. | |
4259 | ||
b112d513 CB |
4260 | 2013-05-21 Christian Bruel <christian.bruel@st.com> |
4261 | ||
55805e54 YR |
4262 | * dwarf2out.c (multiple_reg_loc_descriptor): Use dbx_reg_number for |
4263 | spanning registers. LEAF_REG_REMAP is supported only for contiguous | |
b112d513 CB |
4264 | registers. Set register size out of the PARALLEL loop. |
4265 | ||
14c2ec26 OE |
4266 | 2013-05-20 Oleg Endo <olegendo@gcc.gnu.org> |
4267 | ||
4268 | PR target/56547 | |
4269 | * config/sh/sh.md (fmasf4): Remove empty constraints strings. | |
4270 | (*fmasf4, *fmasf4_media): New insns. | |
4271 | ||
da734fa1 RS |
4272 | 2013-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
4273 | ||
4274 | * config/mips/mips.h (BASE_INSN_LENGTH, NOP_INSN_LENGTH): New macros. | |
4275 | * config/mips/mips.c (mips_symbol_insns, mips_address_insns) | |
4276 | (mips_const_insns, mips_split_const_insns, mips_load_store_insns) | |
4277 | (mips_idiv_insns): Update the comments to say that the returned | |
4278 | instruction counts are in units of BASE_INSN_LENGTH. | |
4279 | (mips_adjust_insn_length): Multiply the mips_load_label_num_insns | |
4280 | by BASE_INSN_LENGTH rather than 4. Add the jump separately, | |
4281 | using 2 rather than 4 as the length of indirect MIPS16 and | |
4282 | microMIPS jumps. Use NOP_INSN_LENGTH rather than 4 as the | |
4283 | length of a NOP. Don't divide MIPS16 lengths by 2. | |
4284 | (mips16_split_long_branches): Assume a branch is long if the | |
4285 | length is greater than 4 rather than 8. | |
4286 | * config/mips/mips.md (length): Give MIPS16 lengths directly, | |
4287 | rather than multiplying them by 2. Multiply instruction counts | |
4288 | by BASE_INSN_LENGTH rather than 4. | |
4289 | (*jump_mips16, tls_get_tp_mips16_<mode>) | |
4290 | (*tls_get_tp_mips16_call_<mode>): Divide lengths by 2. | |
4291 | ||
13719e8b RS |
4292 | 2013-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
4293 | ||
4294 | * config/mips/mips.md (extended_mips16): Remove branch case. | |
4295 | (length): Remove duplicated extended_mips16 test. | |
4296 | ||
c3850d14 RS |
4297 | 2013-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
4298 | ||
4299 | * config/mips/t-sde: Don't build 64-bit microMIPS multilibs. | |
4300 | ||
8da2e059 RS |
4301 | 2013-05-18 Richard Sandiford <rdsandiford@googlemail.com> |
4302 | ||
4303 | * recog.h (Recog_data): Rename to... | |
4304 | (recog_data_d): ...this. | |
4305 | (recog_data): Update accordingly. | |
4306 | * recog.c (recog_data): Likewise. | |
4307 | * reload.c (save_recog_data): Likewise. | |
4308 | * config/picochip/picochip.c (picochip_saved_recog_data): Likewise. | |
4309 | (picochip_save_recog_data, picochip_restore_recog_data): Likewise. | |
4310 | ||
2df013f3 JB |
4311 | 2013-05-17 Julian Brown <julian@codesourcery.com> |
4312 | ||
4313 | * gcse.c (compute_ld_motion_mems): If a non-simple MEM is | |
4314 | found in a REG_EQUAL note, invalidate it. | |
4315 | ||
933f507d ER |
4316 | 2013-05-17 Easwaran Raman <eraman@google.com> |
4317 | ||
4318 | * tree-ssa-reassoc.c (find_insert_point): New function. | |
4319 | (insert_stmt_after): Likewise. | |
4320 | (get_def_stmt): Likewise. | |
4321 | (ensure_ops_are_available): Likewise. | |
4322 | (not_dominated_by): Likewise. | |
4323 | (rewrite_expr_tree): Do not move statements beyond what is | |
4324 | necessary. Remove call to swap_ops_for_binary_stmt... | |
4325 | (reassociate_bb): ... and move it here. | |
4326 | (build_and_add_sum): Assign UIDs for new statements. | |
4327 | (linearize_expr): Likewise. | |
4328 | (do_reassoc): Renumber gimple statement UIDs. | |
4329 | ||
e01c7cca JH |
4330 | 2013-05-17 Jan Hubicka <jh@suse.cz> |
4331 | ||
4332 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes): Resolve cross module | |
4333 | weakrefs. | |
4334 | * cgraph.c (dump_cgraph_node): Do not ice on unresolved alias. | |
e2420687 UB |
4335 | * cgraphunit.c (handle_alias_pairs): Store target of unresolved |
4336 | weakrefs. | |
e01c7cca JH |
4337 | (output_weakrefs): Update. |
4338 | ||
c3272a92 PCC |
4339 | 2013-05-17 Po-Chun Chang <pchang9@cs.wisc.edu> |
4340 | Martin Jambor <mjambor@suse.cz> | |
4341 | ||
4342 | PR middle-end/57276 | |
4343 | * ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Break when a | |
4344 | value that corresponds to the given aggval is found in values vector. | |
4345 | ||
11c2aa39 UB |
4346 | 2013-05-17 Uros Bizjak <ubizjak@gmail.com> |
4347 | ||
4348 | * config/i386/driver-i386.c (host_detect_local_cpu): Pass mmx, 3dnow, | |
4349 | sse, sse2, sse3, ssse3 and sse4a flags to options. | |
4350 | ||
abecc8c6 DM |
4351 | 2013-05-17 David Malcolm <dmalcolm@redhat.com> |
4352 | ||
4353 | * gengtype-state.c: (s_expr_writer): New class, to handle | |
4354 | prettifying of output layout of s-expressions. | |
4355 | (state_writer): New class, to write out gtype.state. | |
4356 | (state_written_type_count): Move this variable into member data of | |
4357 | state_writer. | |
4358 | (s_expr_writer::s_expr_writer): New code: constructor for new class | |
4359 | (state_writer::state_writer(): ditto | |
4360 | (s_expr_writer::write_new_line): New function | |
4361 | (s_expr_writer::write_any_indent): ditto | |
4362 | (s_expr_writer::begin_s_expr): ditto | |
4363 | (s_expr_writer::end_s_expr): ditto | |
4364 | (write_state_fileloc): convert to method of state_writer... | |
4365 | (state_writer:: write_state_fileloc): ...and use methods of | |
4366 | s_expr_writer to write indentation into the gtype.state output file | |
4367 | to visually represent the hierarchical structure of the list | |
4368 | structures | |
4369 | (write_state_fields): ditto, renaming to... | |
4370 | (state_writer::write_state_fields) | |
4371 | (write_state_a_string): ditto, renaming to... | |
4372 | (state_writer::write_state_a_string) | |
4373 | (write_state_string_option): ditto, renaming to... | |
4374 | (state_writer::write_state_string_option) | |
4375 | (write_state_type_option): ditto, renaming to... | |
4376 | (state_writer::write_state_type_option) | |
4377 | (write_state_nested_option): ditto, renaming to... | |
4378 | (state_writer::write_state_nested_option) | |
4379 | (write_state_option): ditto, renaming to... | |
4380 | (state_writer::write_state_option) | |
4381 | (write_state_options): ditto, renaming to... | |
4382 | (state_writer::write_state_options) | |
4383 | (write_state_lang_bitmap): ditto, renaming to... | |
4384 | (state_writer::write_state_lang_bitmap) | |
4385 | (write_state_version): ditto, renaming to... | |
4386 | (state_writer::write_state_version) | |
4387 | (write_state_scalar_type): ditto, renaming to... | |
4388 | (state_writer::write_state_scalar_type) | |
4389 | (write_state_string_type): ditto, renaming to... | |
4390 | (state_writer::write_state_string_type) | |
4391 | (write_state_undefined_type): ditto, renaming to... | |
4392 | (state_writer::write_state_undefined_type) | |
4393 | (write_state_struct_union_type): ditto, renaming to... | |
4394 | (state_writer::write_state_struct_union_type) | |
4395 | (write_state_struct_type): ditto, renaming to... | |
4396 | (state_writer::write_state_struct_type) | |
4397 | (write_state_user_struct_type): ditto, renaming to... | |
4398 | (state_writer::write_state_user_struct_type) | |
4399 | (write_state_lang_struct_type): ditto, renaming to... | |
4400 | (state_writer::write_state_lang_struct_type) | |
4401 | (write_state_param_struct_type): ditto, renaming to... | |
4402 | (state_writer::write_state_param_struct_type) | |
4403 | (write_state_pointer_type): ditto, renaming to... | |
4404 | (state_writer::write_state_pointer_type) | |
4405 | (write_state_array_type): ditto, renaming to... | |
4406 | (state_writer::write_state_array_type) | |
4407 | (write_state_gc_used): ditto, renaming to... | |
4408 | (state_writer::write_state_gc_used) | |
4409 | (write_state_common_type_content): ditto, renaming to... | |
4410 | (state_writer::write_state_common_type_content) | |
4411 | (write_state_type): ditto, renaming to... | |
4412 | (state_writer::write_state_type) | |
4413 | (write_state_pair_list): ditto, renaming to... | |
4414 | (state_writer::write_state_pair_list) | |
4415 | (write_state_pair): ditto, renaming to... | |
4416 | (state_writer::write_state_pair) | |
4417 | (write_state_typedefs): ditto, renaming to... | |
4418 | (state_writer::write_state_typedefs) | |
4419 | (write_state_structures): ditto, renaming to... | |
4420 | (state_writer::write_state_structures) | |
4421 | (write_state_param_structs): ditto, renaming to... | |
4422 | (state_writer::write_state_param_structs) | |
4423 | (write_state_variables): ditto, renaming to... | |
4424 | (state_writer::write_state_variables) | |
4425 | (write_state_srcdir): ditto, renaming to... | |
4426 | (state_writer::write_state_srcdir) | |
4427 | (write_state_files_list): ditto, renaming to... | |
4428 | (state_writer::write_state_files_list) | |
4429 | (write_state_languages): ditto, renaming to... | |
4430 | (state_writer::write_state_languages) | |
4431 | (write_state): create a state_writer instance and use it when | |
4432 | writing out the state file | |
4433 | ||
d6545f29 MS |
4434 | 2013-05-17 Mike Stump <mikestump@comcast.net> |
4435 | ||
816a3f73 | 4436 | PR rtl-optimization/57304 |
d6545f29 MS |
4437 | * web.c (union_match_dups): Ensure that DF_REF_LOC exists before |
4438 | accessing DF_REF_REAL_LOC. | |
4439 | ||
38c821cf JJ |
4440 | 2013-05-17 Jakub Jelinek <jakub@redhat.com> |
4441 | ||
4442 | PR rtl-optimization/57281 | |
4443 | PR rtl-optimization/57300 | |
4444 | * config/i386/i386.md (extendsidi2_1 dead reg splitter): Remove. | |
4445 | (extendsidi2_1 peephole2s): Add instead 2 new peephole2s, that undo | |
4446 | what the other splitter did if the registers are dead. | |
4447 | ||
2a293391 RB |
4448 | 2013-05-17 Richard Biener <rguenther@suse.de> |
4449 | ||
4450 | * tree-ssa-alias.c (stmt_kills_ref_p_1): Properly compare | |
4451 | MEM_REF offsets. | |
4452 | ||
17042d2b JJ |
4453 | 2013-05-17 Jakub Jelinek <jakub@redhat.com> |
4454 | ||
4455 | * gcc.c (SANITIZER_SPEC): Reject -fsanitize=address -fsanitize=thread | |
4456 | linking. | |
4457 | ||
5b115c1f MP |
4458 | 2013-05-17 Marek Polacek <polacek@redhat.com> |
4459 | ||
11c2aa39 UB |
4460 | * tree-ssa-strlen.c (handle_char_store): Don't invalidate cached |
4461 | length when doing non-zero store of storing '\0' to '\0'. | |
5b115c1f | 4462 | |
52d84413 JJ |
4463 | 2013-05-17 Jakub Jelinek <jakub@redhat.com> |
4464 | ||
68119618 JJ |
4465 | * tree-vect-patterns.c (vect_recog_rotate_pattern): For |
4466 | vect_external_def oprnd1 with loop_vinfo, try to emit | |
4467 | optional cast, negation and and stmts on the loop preheader | |
4468 | edge instead of into the pattern def seq. | |
4469 | ||
52d84413 JJ |
4470 | PR tree-optimization/57051 |
4471 | * fold-const.c (const_binop) <case VEC_LSHIFT_EXPR, | |
4472 | case VEC_RSHIFT_EXPR>: Fix BYTES_BIG_ENDIAN handling. | |
4473 | ||
17b962bd NC |
4474 | 2013-05-16 Nick Clifton <nickc@redhat.com> |
4475 | ||
4476 | * config/rl78/rl78.c (rl78_attribute_table): Add naked. | |
4477 | (rl78_is_naked_func): New function. | |
56aefbf7 UB |
4478 | (rl78_expand_prologue): Skip prologue generation for naked functions. |
4479 | (rl78_expand_epilogue): Skip epilogue generation for naked functions. | |
17b962bd NC |
4480 | * doc/extend.texi (naked): Add RL78 to the list of processors |
4481 | that supports this attribute. | |
4482 | ||
b1a0f84e JL |
4483 | 2013-05-16 Jeff Law <law@redhat.com> |
4484 | ||
4485 | * Makefile.in (tree-switch-conversion.o): Depend on $(OPTABS_H). | |
4486 | ||
af0e415b UB |
4487 | 2013-05-16 Uros Bizjak <ubizjak@gmail.com> |
4488 | ||
4489 | * config/i386/driver-i386.c (host_detect_local_cpu): Determine | |
4490 | cache parameters using detect_caches_amd also for CYRIX, | |
4491 | NSC and TM2 signatures. | |
4492 | ||
19db293a UB |
4493 | 2013-05-16 Uros Bizjak <ubizjak@gmail.com> |
4494 | Dzianis Kahanovich <mahatma@eu.by> | |
4495 | ||
4496 | PR target/45359 | |
4497 | PR target/46396 | |
4498 | * config/i386/driver-i386.c (host_detect_local_cpu): Detect | |
4499 | VIA/Centaur processors and determine their cache parameters | |
4500 | using detect_caches_amd. | |
4501 | ||
251a41b9 TJ |
4502 | 2013-05-16 Teresa Johnson <tejohnson@google.com> |
4503 | ||
4504 | * cfgrtl.c (verify_hot_cold_block_grouping): Return err. | |
4505 | (rtl_verify_edges): New function. | |
4506 | (rtl_verify_bb_insns): Ditto. | |
4507 | (rtl_verify_bb_pointers): Ditto. | |
4508 | (rtl_verify_bb_insn_chain): Ditto. | |
4509 | (rtl_verify_fallthru): Ditto. | |
4510 | (rtl_verify_bb_layout): Ditto. | |
4511 | (rtl_verify_flow_info_1): Outline checks into new functions. | |
4512 | (rtl_verify_flow_info): Ditto. | |
4513 | ||
f14540b6 SE |
4514 | 2013-05-16 Steve Ellcey <sellcey@imgtec.com> |
4515 | ||
4516 | * cfghooks.c (copy_bbs): Add update_dominance argument. | |
4517 | * cfghooks.h (copy_bbs): Update prototype. | |
4518 | * tree-cfg.c (gimple_duplicate_sese_region): | |
4519 | Add update_dominance argument. | |
4520 | * tree-flow.h (gimple_duplicate_sese_region): Update prototype. | |
4521 | * tree-ssa-loop-ch.c (copy_loop_headers): Update | |
4522 | gimple_duplicate_sese_region call. | |
4523 | * tree-vect-loop-manip.c (slpeel_tree_duplicate_loop_to_edge_cfg): | |
4524 | Update copy_bbs call. | |
4525 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Ditto. | |
4526 | * trans-mem.c (ipa_uninstrument_transaction): Ditto. | |
4527 | ||
7e9a3abb JJ |
4528 | 2013-05-16 Jakub Jelinek <jakub@redhat.com> |
4529 | ||
4530 | * tree-vectorizer.h (NUM_PATTERNS): Increment. | |
4531 | * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Add | |
4532 | vect_recog_rotate_pattern. | |
4533 | (vect_recog_rotate_pattern): New function. | |
4534 | ||
427b248d JM |
4535 | 2013-05-16 Jason Merrill <jason@redhat.com> |
4536 | ||
4537 | * Makefile.in (LLINKER): New variable. | |
4538 | (mostlyclean): Remove link mutex. | |
4539 | * configure.ac: Handle --enable-link-mutex. | |
4540 | * lock-and-run.sh: New script. | |
4541 | ||
b871e3d2 RR |
4542 | 2013-05-16 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
4543 | ||
4544 | PR target/19599 | |
4545 | * config/arm/arm.c (arm_function_ok_for_sibcall): Add check | |
4546 | for NULL decl. | |
4547 | ||
ce858126 RO |
4548 | 2013-05-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4549 | ||
4550 | * reorg.c (link_cc0_insns): Wrap in #ifdef HAVE_cc0. | |
4551 | ||
798d3d04 GY |
4552 | 2013-05-16 Greta Yorsh <Greta.Yorsh@arm.com> |
4553 | ||
4554 | * config/arm/arm-protos.h (gen_movmem_ldrd_strd): New declaration. | |
4555 | * config/arm/arm.c (next_consecutive_mem): New function. | |
4556 | (gen_movmem_ldrd_strd): Likewise. | |
4557 | * config/arm/arm.md (movmemqi): Update condition and code. | |
4558 | (unaligned_loaddi, unaligned_storedi): New patterns. | |
4559 | ||
0baddc45 RO |
4560 | 2013-05-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4561 | ||
4562 | * config.gcc: Obsolete *-*-solaris2.9*. | |
4563 | * doc/install.texi (Specific, *-*-solaris2*): Document it. | |
4564 | ||
aa9d5bcf RB |
4565 | 2013-05-16 Richard Biener <rguenther@suse.de> |
4566 | ||
4567 | * passes.c (init_optimization_passes): Move pass_parallelize_loops | |
4568 | earlier, after GRAPHITE transforms and IV canonicalization. | |
4569 | ||
5a0f4dd3 JJ |
4570 | 2013-05-16 Jakub Jelinek <jakub@redhat.com> |
4571 | ||
4572 | * omp-low.c (extract_omp_for_data): For collapsed loops, | |
4573 | if at least one of the loops is known at compile time to | |
4574 | iterate zero times, set count to 0. | |
4575 | (expand_omp_regimplify_p): New function. | |
4576 | (expand_omp_for_generic): For collapsed loops, if at least | |
4577 | one of the loops isn't known to iterate at least once, | |
4578 | add runtime check with setting count to 0. | |
4579 | (expand_omp_for_static_nochunk, expand_omp_for_static_chunk): | |
4580 | For unsigned types if it isn't known at compile time that | |
4581 | the loop will iterate at least once, add runtime check to bypass | |
4582 | the whole loop if initial condition isn't true. | |
4583 | ||
e3753785 NS |
4584 | 2013-05-16 Nathan Sidwell <nathan@codesourcery.com> |
4585 | ||
4586 | * varasm.c (default_use_anchors_for_symbol_p): Use decl_replaceable_p. | |
4587 | ||
43bb4dd1 MG |
4588 | 2013-05-16 Marc Glisse <marc.glisse@inria.fr> |
4589 | ||
4590 | PR middle-end/57286 | |
4591 | * fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Disable some | |
4592 | transformations to avoid an infinite loop. | |
4593 | ||
3571dde6 MP |
4594 | 2013-05-16 Marek Polacek <polacek@redhat.com> |
4595 | ||
4596 | * tree-scalar-evolution.c (scev_const_prop): Add more dumps. | |
4597 | ||
b8b3f0ca LE |
4598 | 2013-05-15 Leif Ekblad <leif@rdos.net> |
4599 | ||
4600 | * config/i386/i386.c (ix86_decompose_address): Use | |
4601 | DEFAULT_TLS_SEG_REG to access TLS segment register. | |
4602 | * config/i386/i386.h (DEFAULT_TLS_SEG_REG): New define. | |
4603 | * config/i386/rdos.h (DEFAULT_TLS_SEG_REG): Ditto. | |
4604 | (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Ditto. | |
4605 | ||
e299a383 RS |
4606 | 2013-05-15 Richard Sandiford <rdsandiford@googlemail.com> |
4607 | ||
4608 | PR target/57260 | |
4609 | * config/mips/mips.c (mips_function_ok_for_sibcall): Don't allow | |
4610 | sibling calls to functions that would normally be lazily bound, | |
4611 | unless $gp is call-clobbered. | |
4612 | ||
e7208ea3 UB |
4613 | 2013-05-15 Uros Bizjak <ubizjak@gmail.com> |
4614 | ||
19db293a | 4615 | * config/i386/i386.c (ix86_option_override_internal): Update |
e7208ea3 | 4616 | processor_alias_table for missing PTA_PRFCHW and PTA_FXSR flags. Add |
5d280e2b UB |
4617 | PTA_POPCNT to corei7 entry. Do not enable SSE prefetch on |
4618 | non-SSE 3dNow! targets. Enable TARGET_PRFCHW for TARGET_3DNOW targets. | |
e7208ea3 UB |
4619 | * config/i386/i386.md (prefetch): Enable for TARGET_PRFCHW instead |
4620 | of TARGET_3DNOW. | |
4621 | (*prefetch_3dnow): Enable for TARGET_PRFCHW only. | |
4622 | ||
e7413f3d AS |
4623 | 2013-05-15 Andreas Schwab <schwab@suse.de> |
4624 | ||
4625 | * config/m68k/m68k.md (*rotlhi3_lowpart, *rotlqi3_lowpart): Name | |
4626 | for rotlhi3+1 and rotlqi3+1, resp. Fix reference to non-existing | |
4627 | third operand. | |
4628 | ||
ad4db775 TJ |
4629 | 2013-05-15 Teresa Johnson <tejohnson@google.com> |
4630 | ||
4631 | * loop-unroll.c (report_unroll_peel): Check decision before | |
4632 | emitting unroll/peel message. | |
4633 | ||
af205f67 TJ |
4634 | 2013-05-15 Teresa Johnson <tejohnson@google.com> |
4635 | ||
4636 | * function.h (has_bb_partition): New rtl_data flag. | |
4637 | (bb_reorder_complete): Ditto. | |
4638 | * cfgcleanup.c (try_crossjump_to_edge): Check for has_bb_partition | |
4639 | instead of flag_reorder_blocks_and_partition. | |
4640 | * cfgrtl.c (verify_hot_cold_block_grouping): Moved from bb-reorder.c, | |
4641 | with some enhancements. | |
4642 | (rtl_verify_flow_info_1): Call verify_hot_cold_block_grouping. | |
4643 | * bb-reorder.c (connect_traces): Check for has_bb_partition | |
4644 | instead of flag_reorder_blocks_and_partition. | |
4645 | (verify_hot_cold_block_grouping): Moved to cfgrtl.c. | |
4646 | (reorder_basic_blocks): Set bb_reorder_complete flag, remove call to | |
4647 | verify_hot_cold_block_grouping. | |
4648 | (partition_hot_cold_basic_blocks): Set has_bb_partition. | |
4649 | ||
9adcfa3c RR |
4650 | 2013-05-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
4651 | ||
4652 | PR target/19599 | |
4653 | * config/arm/predicates.md (call_insn_operand): New predicate. | |
4654 | * config/arm/constraints.md ("Cs", "Ss"): New constraints. | |
4655 | * config/arm/arm.md (*call_insn, *call_value_insn): Match only | |
4656 | if insn is not a tail call. | |
4657 | (*sibcall_insn, *sibcall_value_insn): Adjust for tailcalling through | |
4658 | registers. | |
4659 | * config/arm/arm.h (enum reg_class): New caller save register class. | |
4660 | (REG_CLASS_NAMES): Likewise. | |
4661 | (REG_CLASS_CONTENTS): Likewise. | |
4662 | * config/arm/arm.c (arm_function_ok_for_sibcall): Allow tailcalling | |
4663 | without decls. | |
4664 | ||
ccb3ad87 RB |
4665 | 2013-05-15 Richard Biener <rguenther@suse.de> |
4666 | ||
4667 | * tree-vect-loop.c (vect_transform_loop): Use MSG_NOTE instead | |
4668 | of MSG_OPTIMIZED_LOCATIONS. | |
4669 | * tree-vect-slp.c (vect_make_slp_decision): Likewise. | |
4670 | (vect_slp_transform_bb): Indicate location in MSG_OPTIMIZED_LOCATIONS | |
4671 | message. | |
4672 | * tree-vectorizer.c (vectorize_loops): Use MSG_NOTE instead | |
4673 | of MSG_OPTIMIZED_LOCATIONS. | |
4674 | (execute_vect_slp): Likewise. | |
4675 | * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Likewise. | |
4676 | (vect_create_cond_for_alias_checks): Likewise. | |
4677 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Likewise. | |
4678 | (vect_recog_widen_mult_pattern): Likewise. | |
4679 | (vect_recog_widen_sum_pattern): Likewise. | |
4680 | (vect_recog_over_widening_pattern): Likewise. | |
4681 | (vect_recog_widen_shift_pattern): Likewise. | |
4682 | (vect_recog_vector_vector_shift_pattern): Likewise. | |
4683 | (vect_recog_divmod_pattern): Likewise. | |
4684 | (vect_recog_mixed_size_cond_pattern): Likewise. | |
4685 | (vect_recog_bool_pattern): Likewise. | |
4686 | (vect_pattern_recog_1): Likewise. | |
4687 | ||
48b1474e MJ |
4688 | 2013-05-15 Martin Jambor <mjambor@suse.cz> |
4689 | ||
4690 | * ipa-prop.c (ipa_make_edge_direct_to_target): Redirect calls to | |
4691 | non-functions to builtin_unreachable. | |
4692 | * ipa-inline-transform.c (inline_call): Do not assert estimates were | |
4693 | correct when new direct edges were discovered. | |
4694 | ||
9de04252 MJ |
4695 | 2013-05-15 Martin Jambor <mjambor@suse.cz> |
4696 | ||
4697 | * ipa-prop.c (ipa_print_node_jump_functions): Print symbol order in | |
4698 | header, print symbol order instead of node uid, print more information | |
4699 | about indirect edge targets. | |
4700 | (ipa_make_edge_direct_to_target): Print symbol order instead of node | |
4701 | uids. | |
4702 | (ipa_make_edge_direct_to_target): Likewise. | |
4703 | (remove_described_reference): Likewise. | |
4704 | (propagate_controlled_uses): Likewise. | |
4705 | (ipa_print_node_params): Also print symbol order. | |
4706 | (ipcp_transform_function): Print symbol order instead of node uids. | |
4707 | * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Likewise. | |
4708 | (cgraph_get_create_real_symbol_node): Likewise. | |
4709 | * ipa-cp.c (print_lattice): Likewise. | |
4710 | (print_all_lattices): Likewise. | |
4711 | (determine_versionability): Likewise. | |
4712 | (initialize_node_lattices): Likewise. | |
4713 | (estimate_local_effects): Likewise. | |
4714 | (update_profiling_info): Likewise. | |
4715 | (create_specialized_node): Likewise. | |
4716 | (perhaps_add_new_callers): Likewise. | |
4717 | (decide_about_value): Likewise. | |
4718 | (decide_whether_version_node): Likewise. | |
4719 | (identify_dead_nodes): Likewise. | |
4720 | * ipa-inline-analysis.c (dump_inline_edge_summary): Likewise. | |
4721 | (dump_inline_summary): Likewise. | |
4722 | (estimate_node_size_and_time): Likewise. | |
4723 | (inline_analyze_function): Likewise. | |
4724 | * ipa-inline.c (report_inline_failed_reason): Likewise. | |
4725 | (want_early_inline_function_p): Likewise. | |
4726 | (edge_badness): Likewise. | |
4727 | (update_edge_key): Likewise. | |
4728 | (inline_small_functions): Likewise. Add dumping of order to two other | |
4729 | dumps. | |
4730 | * ipa-pure-const.c (pure_const_read_summary): Print symbol order | |
4731 | instead of node uids. | |
4732 | (propagate_pure_const): Likewise. | |
4733 | (propagate_pure_const): Likewise. | |
4734 | * ipa-utils.c (dump_cgraph_node_set): Likewise. | |
4735 | * lto-cgraph.c (input_node): Explicitly specify we dump uid. | |
4736 | * lto-symtab.c (lto_cgraph_replace_node): Print symbol order instead | |
4737 | of node uids. | |
4738 | * tree-pretty-print.c (dump_function_header): Likewise. | |
4739 | * tree-sra.c (convert_callers_for_node): Dump in traditional format. | |
4740 | Print symbol order instead of node uids. | |
4741 | ||
1dd03b91 AK |
4742 | 2013-05-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4743 | ||
4744 | * config/s390/s390.c (s390_register_move_cost): Don't impose the | |
4745 | FPR<->GPR move cost penalty if ldgr/lgdr can be used. | |
4746 | ||
fdf6a7b9 RB |
4747 | 2013-05-15 Richard Biener <rguenther@suse.de> |
4748 | ||
4749 | PR tree-optimization/57275 | |
4750 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Fix | |
4751 | return value for fail to do runtime alias checks for gather loads. | |
4752 | ||
2d6e4603 JH |
4753 | 2013-05-15 Jan Hubicka <jh@suse.cz> |
4754 | ||
4755 | PR lto/57038 | |
4756 | PR lto/47375 | |
e7208ea3 UB |
4757 | * lto-symtab.c (lto_symtab_symbol_p): Add external symbol; |
4758 | weakrefs are not external. | |
4759 | (lto_symtab_merge_decls): Fix thinko when dealing with | |
4760 | non-lto_symtab decls. | |
2d6e4603 JH |
4761 | (lto_symtab_merge_cgraph_nodes): Use lto_symtab_symbol_p. |
4762 | (lto_symtab_prevailing_decl): Get int sync with lto_symtab_symbol_p. | |
4763 | * varpool.c (dump_varpool_node): Dump more flags. | |
4764 | ||
83f44b39 GG |
4765 | 2013-05-15 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> |
4766 | ||
4767 | * config/i386/i386.c (processor_alias_table): Add instruction | |
4768 | FSGSBASE for AMD bdver3 architecture. | |
4769 | ||
2e55d062 JJ |
4770 | 2013-05-14 Jakub Jelinek <jakub@redhat.com> |
4771 | ||
4772 | * tree.c (warn_deprecated_use): Print file:line using locus color. | |
4773 | * diagnostic.c (diagnostic_report_current_module): Print file:line | |
4774 | and file:line:column using locus color. | |
4775 | ||
0bfdb81e MS |
4776 | 2013-05-14 Mike Stump <mikestump@comcast.net> |
4777 | ||
4778 | * gdbinit.in: Add __null. | |
4779 | ||
a508ef22 MS |
4780 | 2013-05-14 Mike Stump <mikestump@comcast.net> |
4781 | ||
4782 | * recog.h: Rename struct recog_data to Recog_data. | |
4783 | * recog.c: Likewise. | |
4784 | * reload.c (can_reload_into): Likewise. | |
4785 | * config/picochip/picochip.c: Likewise. | |
4786 | ||
e7180acb MS |
4787 | 2013-05-14 Mike Stump <mikestump@comcast.net> |
4788 | ||
4789 | * web.c (union_match_dups): Also check DF_REF_REAL_LOC. | |
4790 | ||
61216c26 SB |
4791 | 2013-05-14 Steven Bosscher <steven@gcc.gnu.org> |
4792 | ||
fd6beed4 SB |
4793 | * resource.h (struct resources): Remove unch_memory member. |
4794 | (CLEAR_RESOURCE): Don't clear unch_memory. | |
4795 | * resource.c (mark_referenced_resources): Don't set it. | |
4796 | (mark_set_resources): Likewise. | |
4797 | (mark_target_live_regs): Don't clear it. | |
4798 | (init_resource_info): Likewise. | |
4799 | * reorg.c (resource_conflicts_p): Don't compare it. | |
4800 | (redundant_insn): Don't set it. | |
4801 | ||
61216c26 SB |
4802 | * rtl.h (next_label, skip_consecutive_labels, link_cc0_insns): |
4803 | Remove prototypes. | |
4804 | * emit-rtl.c (next_label): Remove unused function. | |
4805 | (skip_consecutive_labels, link_cc0_insns): Move to ... | |
4806 | * reorg.c (skip_consecutive_labels, link_cc0_insns): ... here, the | |
4807 | only place where these functions are used, and make them static. | |
4808 | ||
418d1b87 MG |
4809 | 2013-05-14 Marc Glisse <marc.glisse@inria.fr> |
4810 | ||
4811 | * fold-const.c (fold_negate_expr): Handle vectors. | |
4812 | (fold_truth_not_expr): Make it static. | |
4813 | (fold_invert_truthvalue): New static function. | |
4814 | (invert_truthvalue_loc): Handle vectors. Do not call | |
4815 | fold_truth_not_expr directly. | |
4816 | (fold_unary_loc) <BIT_NOT_EXPR>: Handle comparisons. | |
4817 | <TRUTH_NOT_EXPR>: Do not cast to boolean. | |
4818 | (fold_comparison): Handle vector constants. | |
4819 | (fold_binary_loc) <TRUTH_XOR_EXPR>: Remove redundant code. | |
4820 | (fold_ternary_loc) <VEC_COND_EXPR>: Adapt more COND_EXPR optimizations. | |
4821 | * tree.h (fold_truth_not_expr): Remove declaration. | |
4822 | ||
fc21784d JG |
4823 | 2013-05-14 James Greenhalgh <james.greenhalgh@arm.com> |
4824 | ||
4825 | * config/aarch64/aarch64-simd.md | |
4826 | (aarch64_vcond_internal<mode>): Rename to... | |
4827 | (aarch64_vcond_internal<mode><mode>): ...This, for integer modes. | |
4828 | (aarch64_vcond_internal<VDQF_COND:mode><VDQF:mode>): ...This for | |
4829 | float modes. Clarify all iterator modes. | |
4830 | (vcond<mode><mode>): Use new name for vcond expanders. | |
4831 | (vcond<v_cmp_result><mode>): Likewise. | |
4832 | (vcondu<mode><mode>: Likewise. | |
4833 | * config/aarch64/iterators.md (VDQF_COND): New. | |
4834 | ||
d4c52634 MG |
4835 | 2013-05-14 Marc Glisse <marc.glisse@inria.fr> |
4836 | ||
4837 | PR bootstrap/57266 | |
4838 | * fold-const.c (fold_binary_loc) <shift>: Use an unsigned | |
4839 | variable for the shift amount. Check that we shift by non-negative | |
4840 | amounts. | |
4841 | ||
2b261262 CLT |
4842 | 2013-05-14 Chung-Lin Tang <cltang@codesourcery.com> |
4843 | ||
4844 | PR target/42017 | |
4845 | * config/arm/arm.h (EPILOGUE_USES): Only return true | |
4846 | for LR_REGNUM after epilogue_completed. | |
4847 | ||
6e022d7b JR |
4848 | 2013-05-14 Joern Rennecke <joern.rennecke@embecosm.com> |
4849 | ||
4850 | * config/avr/avr.c (avr_encode_section_info): Bail out if the type | |
e7208ea3 | 4851 | is error_mark_node. |
6e022d7b | 4852 | |
56cf7859 RO |
4853 | 2013-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4854 | ||
4855 | PR target/57261 | |
4856 | * configure.ac (gcc_cv_ld_as_needed): Disable before Solaris 11 | |
4857 | and Solaris 11+/x86 with gld. | |
4858 | * configure: Regenerate. | |
4859 | ||
75776c6d JJ |
4860 | 2013-05-14 Jakub Jelinek <jakub@redhat.com> |
4861 | ||
4862 | * expmed.c (expand_shift_1): Canonicalize rotates by | |
4863 | constant bitsize / 2 to bitsize - 1. | |
7f998021 | 4864 | * simplify-rtx.c (simplify_binary_operation_1) <case ROTATE, |
75776c6d JJ |
4865 | case ROTATERT>: Likewise. |
4866 | ||
4867 | Revert: | |
4868 | 2013-05-10 Jakub Jelinek <jakub@redhat.com> | |
4869 | ||
4870 | * config/i386/i386.md (rotateinv): New code attr. | |
4871 | (*<rotate_insn><mode>3_1, *<rotate_insn>si3_1_zext, | |
4872 | *<rotate_insn>qi3_1_slp): Emit rorl %eax instead of | |
4873 | roll $31, %eax, etc. | |
4874 | ||
df35498a RB |
4875 | 2013-05-14 Richard Biener <rguenther@suse.de> |
4876 | ||
4877 | PR middle-end/57235 | |
4878 | * tree-eh.c (sink_clobbers): Give up for successors with | |
4879 | multiple predecessors and no virtual uses. | |
4880 | ||
cc6e7ece EB |
4881 | 2013-05-14 Eric Botcazou <ebotcazou@adacore.com> |
4882 | ||
4883 | * config/sparc/sp64-elf.h (CPP_SUBTARGET_SPEC): Delete. | |
4884 | * config/sparc/openbsd64.h (CPP_SUBTARGET_SPEC): Likewise. | |
4885 | ||
f778dd4d JJ |
4886 | 2013-05-14 Jakub Jelinek <jakub@redhat.com> |
4887 | ||
4888 | PR middle-end/57251 | |
4889 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Handle | |
4890 | the case when both op0 and op1 have VOIDmode. | |
4891 | ||
bad4df9b KP |
4892 | 2013-05-14 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
4893 | ||
4894 | * config/rl78/rl78.md(mulsi3_g13): Add additional 'nop' required | |
4895 | in multiply-accumulate mode. | |
4896 | ||
56f3e9ac GW |
4897 | 2013-05-13 Guozhi Wei <carrot@google.com> |
4898 | ||
4899 | * dwarf2asm.c (dw2_output_indirect_constant_1): Mark new decl STATIC. | |
4900 | ||
a3d7ab92 KT |
4901 | 2013-05-13 Kai Tietz <ktietz@redhat.com> |
4902 | ||
4903 | PR target/56975 | |
4904 | * config/i386/cygming.h (TARGET_PECOFF): Define as true. | |
e7208ea3 | 4905 | * config/i386/i386.h (TARGET_PECOFF): Define by default as false. |
a3d7ab92 | 4906 | (PIC_OFFSET_TABLE_REGNUM): Use TARGET_PECOFF. |
e7208ea3 | 4907 | * config/i386/i386.c (ix86_option_override_internal): Likewise. |
a3d7ab92 KT |
4908 | (ix86_expand_prologue): Likewise. |
4909 | (ix86_expand_split_stack_prologue): Likewise. | |
4910 | (legitimate_pic_address_disp_p): Likewise. | |
4911 | (legitimize_pic_address): Likewise. | |
4912 | (legitimize_tls_address): Likewise. | |
4913 | (legitimize_pe_coff_symbol): Likewise. | |
4914 | (output_pic_addr_const): Likewise. | |
4915 | (construct_plt_address): Likewise. | |
4916 | (ix86_expand_call): Likewise. | |
4917 | (x86_output_mi_thunk): Likewise. | |
4918 | (x86_function_profiler): Likewise. | |
4919 | ||
c59b7e28 SN |
4920 | 2013-05-13 Sofiane Naci <sofiane.naci@arm.com> |
4921 | ||
4922 | * config/aarch64/aarch64-simd.md (aarch64_simd_mov<mode>): Group | |
4923 | similar switch cases. | |
4924 | (aarch64_simd_mov): Rename to aarch64_split_simd_mov. Update. | |
4925 | (aarch64_simd_mov_to_<mode>low): Delete. | |
4926 | (aarch64_simd_mov_to_<mode>high): Delete. | |
4927 | (move_lo_quad_<mode>): Add w<-r alternative. | |
4928 | (aarch64_simd_move_hi_quad_<mode>): Likewise. | |
4929 | (aarch64_simd_mov_from_*): Update type attribute. | |
4930 | * config/aarch64/aarch64.c (aarch64_split_simd_move): Refacror switch | |
4931 | statement. | |
4932 | ||
5f28524a JH |
4933 | 2013-05-13 Jan Hubicka <jh@suse.cz> |
4934 | ||
4935 | * mode-switching.c (optimize_mode_switching): Set correct RTL profile. | |
4936 | * config/i386/i386.c (ix86_compute_frame_layout, | |
e7208ea3 UB |
4937 | ix86_expand_epilogue, emit_i387_cw_initialization, |
4938 | ix86_expand_vector_move_misalign, ix86_fp_comparison_strategy, | |
4939 | ix86_local_alignment): Fix use of size/speed predicates. | |
5f28524a | 4940 | |
ae6fa899 JJ |
4941 | 2013-05-13 Jakub Jelinek <jakub@redhat.com> |
4942 | ||
4943 | PR tree-optimization/45216 | |
4944 | PR tree-optimization/57157 | |
4945 | * tree-ssa-forwprop.c (simplify_rotate): Only recognize | |
4946 | the (-Y) & (B - 1) variant if OP is |. | |
4947 | * expmed.c (expand_shift_1): For rotations by const0_rtx just | |
4948 | return shifted. Use (-op1) & (prec - 1) as other_amount | |
4949 | instead of prec - op1. | |
4950 | ||
4502fe8d MJ |
4951 | 2013-05-13 Martin Jambor <mjambor@suse.cz> |
4952 | ||
4953 | PR middle-end/42371 | |
4954 | * ipa-prop.h (IPA_UNDESCRIBED_USE): New macro. | |
4955 | (ipa_constant_data): New type. | |
4956 | (ipa_jump_func): Use ipa_constant_data to hold information about | |
4957 | constant jump functions. | |
4958 | (ipa_get_jf_constant): Adjust to jump function type changes. | |
4959 | (ipa_get_jf_constant_rdesc): New function. | |
4960 | (ipa_param_descriptor): New field controlled_uses. | |
4961 | (ipa_get_controlled_uses): New function. | |
4962 | (ipa_set_controlled_uses): Likewise. | |
4963 | * ipa-ref.h (ipa_find_reference): Declare. | |
4964 | * ipa-prop.c (ipa_cst_ref_desc): New type. | |
4965 | (ipa_print_node_jump_functions_for_edge): Adjust for jump function type | |
4966 | changes. | |
4967 | (ipa_set_jf_constant): Likewise. Also create reference descriptions. | |
4968 | New parameter cs. Adjust all callers. | |
4969 | (ipa_analyze_params_uses): Detect uncontrolled and controlled uses. | |
4970 | (remove_described_reference): New function. | |
4971 | (jfunc_rdesc_usable): Likewise. | |
4972 | (try_make_edge_direct_simple_call): Decrement controlled use count, | |
4973 | attempt to remove reference if it hits zero. | |
4974 | (combine_controlled_uses_counters): New function. | |
4975 | (propagate_controlled_uses): Likewise. | |
4976 | (ipa_propagate_indirect_call_infos): Call propagate_controlled_uses. | |
4977 | (ipa_edge_duplication_hook): Duplicate reference descriptions. | |
4978 | (ipa_print_node_params): Print described use counter. | |
4979 | (ipa_write_jump_function): Adjust to jump function type changes. | |
4980 | (ipa_read_jump_function): New parameter CS, pass it to | |
4981 | ipa_set_jf_constant. Adjust caller. | |
4982 | (ipa_write_node_info): Stream controlled use count | |
4983 | (ipa_read_node_info): Likewise. | |
4984 | * cgraph.c (cgraph_mark_address_taken_node): Bail out instead of | |
4985 | asserting. | |
4986 | * ipa-cp.c (ipcp_discover_new_direct_edges): Decrement controlled use | |
4987 | count. Remove cloning-added reference if it reaches zero. | |
4988 | * ipa-ref.c (ipa_find_reference): New function. | |
4989 | ||
0864bfc2 GG |
4990 | 2013-05-13 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> |
4991 | ||
e7208ea3 | 4992 | * config/i386/i386.c (processor_target_table): Modified default |
0864bfc2 GG |
4993 | alignment values for AMD BD and BT architectures. |
4994 | ||
640bfeb2 MG |
4995 | 2013-05-13 Marc Glisse <marc.glisse@inria.fr> |
4996 | ||
4997 | * tree-vect-generic.c (uniform_vector_p): Move ... | |
4998 | * tree.c (uniform_vector_p): ... here. | |
4999 | * tree.h (uniform_vector_p): Declare it. | |
5000 | * fold-const.c (fold_binary_loc) <shift>: Turn the second argument | |
5001 | into a scalar. | |
5002 | ||
3a60f32b JJ |
5003 | 2013-05-13 Jakub Jelinek <jakub@redhat.com> |
5004 | ||
198fe1bf JJ |
5005 | PR tree-optimization/57230 |
5006 | * tree-ssa-strlen.c (handle_char_store): Record length for | |
5007 | array store from STRING_CST. | |
5008 | ||
3a60f32b JJ |
5009 | PR tree-optimization/57230 |
5010 | * tree-ssa-strlen.c (handle_char_store): Add missing integer_zerop | |
5011 | check. | |
5012 | ||
566be57c JR |
5013 | 2013-05-12 Joern Rennecke <joern.rennecke@embecosm.com> |
5014 | ||
5015 | * config/epiphany/epiphany.c (epiphany_init): Check size of | |
5016 | NUM_MODES_FOR_MODE_SWITCHING. | |
5017 | (epiphany_expand_prologue): | |
5018 | Remove CONFIG_REGNUM initial value handling code. | |
5019 | (epiphany_optimize_mode_switching): Handle EPIPHANY_MSW_ENTITY_CONFIG. | |
5020 | (epiphany_mode_needed, epiphany_mode_entry_exit): Likewise. | |
2710a27a | 5021 | (emit_set_fp_mode, epiphany_mode_after): Likewise. |
566be57c JR |
5022 | (epiphany_mode_needed) <Handle EPIPHANY_MSW_ENTITY_AND>: |
5023 | Don't return 1 for FP_MODE_NONE. | |
5024 | * config/epiphany/epiphany.h (NUM_MODES_FOR_MODE_SWITCHING): | |
5025 | Add value for EPIPHANY_MSW_ENTITY_CONFIG. | |
5026 | (EPIPHANY_MSW_ENTITY_CONFIG, EPIPHANY_MSW_ENTITY_NUM): Define. | |
5027 | * config/epiphany/epiphany.md (save_config): New pattern. | |
5028 | ||
0f2c2331 UB |
5029 | 2013-05-12 Uros Bizjak <ubizjak@gmail.com> |
5030 | ||
5031 | * config/i386/i386.md (*zero_extendsidi2): Add *x->?r alternative. | |
5032 | ||
5b3f93c7 UB |
5033 | 2013-05-10 Uros Bizjak <ubizjak@gmail.com> |
5034 | ||
5035 | * config/i386/i386.md (memory): Handle sseishft1. | |
5036 | * config/i386/sse.md (*vec_extractv4si): Remove memory attribute. | |
5037 | (*vec_extractv2di_1): Ditto. | |
5038 | ||
1f873f0e VM |
5039 | 2013-05-10 Vladimir Makarov <vmakarov@redhat.com> |
5040 | ||
5041 | * lra-assigns.c (find_hard_regno_for): Add 1 to the cost of call | |
5042 | saved registers. | |
5043 | ||
341427fa | 5044 | 2013-05-10 Sebastian Huber <sebastian.huber@embedded-brains.de> |
d7de6455 SH |
5045 | |
5046 | * config/arm/t-rtems-eabi: Remove mthumb/march=armv7 multilib. | |
5047 | Add mthumb/march=armv7-a multilib. | |
5048 | Add mthumb/march=armv7-r multilib. | |
5049 | Add mthumb/march=armv7-a/mfpu=neon/mfloat-abi=hard multilib. | |
5050 | ||
9e69bdde RC |
5051 | 2013-05-10 Ralf Corsépius <ralf.corsepius@rtems.org> |
5052 | ||
5053 | * config/v850/t-rtems: Add more multilibs. | |
5054 | ||
9ff09a22 RB |
5055 | 2013-05-10 Richard Biener <rguenther@suse.de> |
5056 | ||
5057 | PR tree-optimization/57214 | |
5058 | * tree-ssa-loop-ivcanon.c (propagate_constants_for_unrolling): Do | |
5059 | not propagate from SSA names that occur in abnormal PHI nodes. | |
5060 | ||
a5e0cd1d MG |
5061 | 2013-05-10 Marc Glisse <marc.glisse@inria.fr> |
5062 | ||
5063 | * stor-layout.c (element_precision): New function. | |
5064 | * machmode.h (element_precision): Declare it. | |
5065 | * tree.c (build_minus_one_cst): New function. | |
5066 | (element_precision): Likewise. | |
5067 | * tree.h (build_minus_one_cst): Declare new function. | |
5068 | (element_precision): Likewise. | |
5069 | * fold-const.c (operand_equal_p): Use element_precision. | |
5070 | (fold_binary_loc): Handle vector types. | |
5071 | * convert.c (convert_to_integer): Use element_precision. | |
5072 | * gimple.c (iterative_hash_canonical_type): Handle complex and vectors | |
5073 | separately. | |
5074 | ||
cb2558bc RS |
5075 | 2013-05-10 Richard Sandiford <rdsandiford@googlemail.com> |
5076 | ||
5077 | * config/mips/mips-protos.h (m16_uimm3_b, m16_simm4_1, m16_nsimm4_1) | |
5078 | (m16_simm5_1, m16_nsimm5_1, m16_uimm5_4, m16_nuimm5_4, m16_simm8_1) | |
5079 | (m16_nsimm8_1, m16_uimm8_1, m16_nuimm8_1, m16_uimm8_m1_1, m16_uimm8_4) | |
5080 | (m16_nuimm8_4, m16_simm8_8, m16_nsimm8_8): Delete. | |
5081 | * config/mips/mips.c (m16_check_op, m16_uimm3_b, m16_simm4_1) | |
5082 | (m16_nsimm4_1, m16_simm5_1, m16_nsimm5_1, m16_uimm5_4, m16_nuimm5_4) | |
5083 | (m16_simm8_1, m16_nsimm8_1, m16_uimm8_1, m16_nuimm8_1, m16_uimm8_m1_1) | |
5084 | (m16_uimm8_4, m16_nuimm8_4, m16_simm8_8, m16_nsimm8_8): Delete. | |
5085 | * config/mips/constraints.md (Udb8, Usb5, Usb8, Usd8, Uub8, Uuw5) | |
5086 | (Uuw8): New constraints. | |
5087 | (Usb4): Move into alphabetical order. | |
5088 | * config/mips/predicates.md (db8_operand, sb5_operand, sb8_operand) | |
5089 | (sd8_operand, ub8_operand, uw8_operand): New predicates. | |
5090 | * config/mips/mips.md (*xor<mode>3, *xor<mode>3_mips16): Name | |
5091 | previously unnamed patterns. | |
5092 | (*add<mode>3_mips16, *xor<mode>3_mips16, *<optab>si3_mips16) | |
5093 | (*ashldi3_mips16, *ashrdi3_mips16, *lshrdi3_mips16) | |
5094 | (*slt<u>_<GPR:mode><GPR2:mode>_mips16) | |
5095 | (*sle<u>_<GPR:mode><GPR2:mode>_mips16): Use constraints instead | |
5096 | of set_attr_alternative/if_then_else. Use extended_mips16 instead | |
5097 | of specific lengths. | |
5098 | ||
cb3b8d33 JJ |
5099 | 2013-05-10 Jakub Jelinek <jakub@redhat.com> |
5100 | ||
6f93c008 JJ |
5101 | * config/i386/i386.md (rotateinv): New code attr. |
5102 | (*<rotate_insn><mode>3_1, *<rotate_insn>si3_1_zext, | |
5103 | *<rotate_insn>qi3_1_slp): Emit rorl %eax instead of | |
5104 | roll $31, %eax, etc. | |
5105 | ||
cb3b8d33 JJ |
5106 | PR tree-optimization/45216 |
5107 | PR tree-optimization/57157 | |
5108 | * tree-ssa-forwprop.c (simplify_rotate): New function. | |
5109 | (ssa_forward_propagate_and_combine): Call it. | |
5110 | ||
afb119be RB |
5111 | 2013-05-10 Richard Biener <rguenther@suse.de> |
5112 | ||
5113 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do not | |
5114 | disable peeling when we version for aliasing. | |
5115 | (vector_alignment_reachable_p): Honor explicit user alignment. | |
5116 | (vect_supportable_dr_alignment): Likewise. | |
5117 | * tree-vect-loop-manip.c (vect_can_advance_ivs_p): Use | |
5118 | STMT_VINFO_LOOP_PHI_EVOLUTION_PART instead of recomputing it. | |
5119 | * tree-vect-loop.c (vect_transform_loop): First apply versioning, | |
5120 | then peeling to arrange for the cost-model check to come first. | |
5121 | ||
01ae4861 AM |
5122 | 2013-05-10 Alan Modra <amodra@gmail.com> |
5123 | ||
5124 | * configure.ac (HAVE_AS_TLS): Swap powerpc64 and powerpc cases. | |
5125 | (HAVE_LD_LARGE_TOC): Don't mention AIX in help text. | |
5126 | * configure: Regenerate. | |
5127 | ||
ebc9a431 AM |
5128 | 2013-05-10 Alan Modra <amodra@gmail.com> |
5129 | ||
5130 | PR target/55033 | |
5131 | * varasm.c (default_elf_select_section): Move !DECL_P check.. | |
5132 | (get_named_section): ..to here before calling get_section_name. | |
5133 | Adjust assertion. | |
5134 | (default_section_type_flags): Add DECL_P check. | |
5135 | * config/i386/winnt.c (i386_pe_section_type_flags): Likewise. | |
5136 | * config/rs6000/rs6000.c (rs6000_xcoff_section_type_flags): Likewise. | |
5137 | ||
d4bca93c JR |
5138 | 2013-05-09 Joern Rennecke <joern.rennecke@embecosm.com> |
5139 | ||
5140 | * config/epiphany/epiphany.c (epiphany_expand_prologue): | |
5141 | When using gen_stack_adjust_str with a register offset, add a | |
5142 | REG_FRAME_RELATED_EXPR note. | |
5143 | ||
60ca9a65 UB |
5144 | 2013-05-09 Uros Bizjak <ubizjak@gmail.com> |
5145 | ||
5146 | * config/i386/sse.md (*vec_extractv4si_0_zext): New pattern. | |
5147 | (*vec_extractv4si_zext_mem): Ditto. | |
5148 | (*vec_extractv2di): Add 0->x and x->x alternatives. | |
5149 | * config/i386/mmx.md (*vec_extractv2si_zext_mem): New pattern. | |
5150 | * config/i386/i386.md (*zero_extendsidi2): Add *Yj->?r alternative. | |
5151 | ||
a3409c02 JM |
5152 | 2013-05-09 Jason Merrill <jason@redhat.com> |
5153 | ||
0138d6b2 JM |
5154 | N3639 C++1y VLA support |
5155 | * gimplify.c (gimplify_vla_decl): Don't touch an existing | |
5156 | DECL_VALUE_EXPR. | |
5157 | ||
a3409c02 JM |
5158 | * tree.c (build_constructor_va): New. |
5159 | * tree.h: Declare it. | |
5160 | ||
66e6b990 MJ |
5161 | 2013-05-09 Martin Jambor <mjambor@suse.cz> |
5162 | ||
5163 | PR lto/57084 | |
5164 | * gimple-fold.c (canonicalize_constructor_val): Call | |
5165 | cgraph_get_create_real_symbol_node instead of cgraph_get_create_node. | |
5166 | ||
64cfa6c0 JH |
5167 | 2013-05-09 Jan Hubicka <jh@suse.cz> |
5168 | Richard Biener <rguenther@suse.de> | |
5169 | ||
5170 | PR lto/54095 | |
5171 | * symtab.c (symtab_make_decl_local): Do not add private names. | |
5172 | ||
c3167b00 JH |
5173 | 2013-05-09 Jan Hubicka <jh@suse.cz> |
5174 | ||
5175 | PR lto/54095 | |
5176 | * symtab.c (insert_to_assembler_name_hash): Handle clones. | |
5177 | (unlink_from_assembler_name_hash): Likewise. | |
5178 | (symtab_prevail_in_asm_name_hash, symtab_register_node, | |
5179 | symtab_unregister_node, symtab_initialize_asm_name_hash, | |
5180 | change_decl_assembler_name): Update. | |
5181 | ||
12dc6974 SN |
5182 | 2013-05-09 Sofiane Naci <sofiane.naci@arm.com> |
5183 | ||
5184 | * config/aarch64/aarch64.md: New movtf split. | |
5185 | (*movtf_aarch64): Update. | |
5186 | (aarch64_movdi_tilow): Handle TF modes and rename to | |
5187 | aarch64_movdi_<mode>low. | |
5188 | (aarch64_movdi_tihigh): Handle TF modes and rename to | |
5189 | aarch64_movdi_<mode>high | |
5190 | (aarch64_movtihigh_di): Handle TF modes and rename to | |
5191 | aarch64_mov<mode>high_di | |
5192 | (aarch64_movtilow_di): Handle TF modes and rename to | |
5193 | aarch64_mov<mode>low_di | |
5194 | (aarch64_movtilow_tilow): Remove spurious whitespace. | |
5195 | * config/aarch64/aarch64.c (aarch64_split_128bit_move): Handle TFmode | |
5196 | splits. | |
5197 | (aarch64_print_operand): Update. | |
5198 | ||
227eb343 AM |
5199 | 2013-05-09 Alan Modra <amodra@gmail.com> |
5200 | ||
5201 | * configure.ac (HAVE_AS_TLS): Enable tests for powerpcle and | |
5202 | powerpc64le. | |
5203 | * configure: Regenerate. | |
5204 | ||
0b013847 UB |
5205 | 2013-05-08 Uros Bizjak <ubizjak@gmail.com> |
5206 | ||
5207 | * config/i386/mmx.md (*vec_extract* splitters): Simplify post-reload | |
5208 | splitter preparation statements. | |
5209 | * config/i386/sse.md (*vec_extract* splitters): Ditto. | |
5210 | (*avx_vperm_broadcast_<mode>): Use adjust_address instead of | |
5211 | adjust_address_nv. | |
5212 | ||
1dc3d6e9 BS |
5213 | 2013-05-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5214 | ||
5215 | * gimple-ssa-strength-reduction.c (count_candidates): Change | |
5216 | return value to int. | |
5217 | (analyze_candidates_and_replace): Change type of length to int. | |
5218 | ||
e61e7d28 UB |
5219 | 2013-05-08 Uros Bizjak <ubizjak@gmail.com> |
5220 | ||
5221 | * config/i386/sse.md (PEXTR_MODE, PEXTR_MODEx): Remove. | |
5222 | (*vec_extract<mode>): Use VI12_128 mode iterator. | |
5223 | (*vec_extract<mode>_mem): Ditto. | |
5224 | (*vec_extract*_mem splitters): Merge splitters using VI_128 mode | |
5225 | attribute. | |
5226 | ||
4fbfcf44 DN |
5227 | 2013-05-08 Diego Novillo <dnovillo@google.com> |
5228 | ||
5229 | PR bootstrap/54659 | |
5230 | ||
5231 | Revert: | |
4fbfcf44 DN |
5232 | 2012-08-17 Diego Novillo <dnovillo@google.com> |
5233 | ||
e61e7d28 UB |
5234 | PR bootstrap/54281 |
5235 | * configure.ac: Add libintl.h to AC_CHECK_HEADERS list. | |
5236 | * config.in: Regenerate. | |
5237 | * configure: Regenerate. | |
5238 | * intl.h: Always include libintl.h if HAVE_LIBINTL_H is set. | |
4fbfcf44 | 5239 | |
702d8703 JH |
5240 | 2013-05-08 Jan Hubicka <jh@suse.cz> |
5241 | ||
5242 | PR lto/54095 | |
5243 | * cgraph.c (cgraph_make_node_local_1): Se unique_name. | |
5244 | * cgraph.h (symtab_node_base): Add unique_name. | |
5245 | * lto-cgraph.c (lto_output_node, lto_output_varpool_node, | |
5246 | input_overwrite_node, input_varpool_node): Stream unique_name. | |
5247 | * cgraphclones.c (cgraph_create_virtual_clone, | |
5248 | cgraph_function_versioning): Set unique_name. | |
5249 | * ipa.c (function_and_variable_visibility): Set unique_name. | |
5250 | ||
8b28cf47 BS |
5251 | 2013-05-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5252 | ||
5253 | * gimple-ssa-strength-reduction.c (find_phi_def): Revert former "fix." | |
5254 | (alloc_cand_and_find_basis): Restrict conditional candidate | |
5255 | processing to CAND_MULTs. | |
5256 | ||
e86074fd JH |
5257 | 2013-05-08 Jan Hubicka <jh@suse.cz> |
5258 | ||
5259 | PR lto/54095 | |
5260 | lto-symtab.c (lto_symtab_symbol_p): New function. | |
5261 | (lto_symtab_resolve_can_prevail_p, lto_symtab_resolve_symbols, | |
5262 | lto_symtab_resolve_symbols, lto_symtab_merge_decls_2, | |
5263 | lto_symtab_merge_decls_1, lto_symtab_merge_cgraph_nodes_1): | |
5264 | Skip static symbols. | |
5265 | ||
44398cbe PC |
5266 | 2013-05-08 Paolo Carlini <paolo.carlini@oracle.com> |
5267 | ||
5268 | PR tree-optimization/57200 | |
5269 | * tree-ssa-loop-niter.c (do_warn_aggressive_loop_optimizations): | |
5270 | Only call inform if the preceding warning_at returns true. | |
5271 | ||
f6bc1c4a HS |
5272 | 2013-05-07 Han Shen <shenhan@google.com> |
5273 | ||
5274 | * cfgexpand.c (record_or_union_type_has_array_p): New function. | |
5275 | (expand_used_vars): Add logic handling '-fstack-protector-strong'. | |
5276 | * common.opt (fstack-protector-strong): New option. | |
5277 | * doc/cpp.texi (__SSP_STRONG__): New builtin "__SSP_STRONG__". | |
5278 | * doc/invoke.texi (Optimization Options): Document | |
5279 | "-fstack-protector-strong". | |
5280 | * gcc.c (LINK_SSP_SPEC): Add 'fstack-protector-strong'. | |
5281 | ||
4ffecb1f SB |
5282 | 2013-05-06 Steven Bosscher <steven@gcc.gnu.org> |
5283 | ||
5284 | * config/mips/mips.c (mips_machine_reorg2): Return 0. | |
5285 | ||
5a107a0f VM |
5286 | 2013-05-07 Vladimir Makarov <vmakarov@redhat.com> |
5287 | ||
5288 | * ira.c (update_equiv_regs): Add insn having equiv memory even if | |
5289 | it is not lhs of the insn. | |
5290 | (setup_reg_equiv): Remove insn having equiv memory which it is not | |
5291 | lhs of the insn. | |
5292 | * lra-constraints.c (process_address): Try to improve generation | |
5293 | code for address base + disp. | |
5294 | (lra_constraints): Make correct the code for checking insn setting | |
5295 | up backward equivalence. Remove insn only if it is in the init | |
5296 | insn list. | |
5297 | * lra-eliminations.c (update_reg_eliminate): Change return value. | |
5298 | (lra_eliminate): Use the result. | |
5299 | ||
3f5783ea UB |
5300 | 2013-05-07 Uros Bizjak <ubizjak@gmail.com> |
5301 | ||
5302 | * config/i386/sse.md (ssescalarnummask): New mode attribute. | |
5303 | (PEXTR_MODE, PEXTR_MODEx): New mode iterators. | |
5304 | (*vec_extract<mode>): Merge from *sse4_1_pextrb_memory and | |
5305 | *sse4_1_pextrw_memory using PEXTR_MODE mode iterator. Handle | |
5306 | register target operands. | |
5307 | (*vec_extractv8hi_sse2): New pattern. | |
5308 | (*vec_extractv16qi_zext): Rename from *sse4_1_pextrb_<mode>. | |
5309 | (*vec_extractv8hi_zext): Rename from *sse2_pextrw_<mode>. | |
5310 | (*vec_extract<mode>_mem): New insn and split pattern. | |
5311 | ||
8a5800b8 CL |
5312 | 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org> |
5313 | ||
5314 | * config/arm/arm.c (arm_asan_shadow_offset): New function. | |
5315 | (TARGET_ASAN_SHADOW_OFFSET): Define. | |
5316 | * config/arm/linux-eabi.h (ASAN_CC1_SPEC): Define. | |
5317 | (LINUX_OR_ANDROID_CC): Add ASAN_CC1_SPEC. | |
5318 | ||
7bf55a70 BS |
5319 | 2013-05-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5320 | ||
5321 | * gimple-ssa-strength-reduction.c (MAX_INCR_VEC_LEN): New constant. | |
5322 | (incr_vec_index): Return -1 if increment not found. | |
5323 | (create_add_on_incoming_edge): Assert if increment not found. | |
5324 | (record_increment): Limit number of increments recorded. | |
5325 | (all_phi_incrs_profitable): Return false if an increment not found. | |
5326 | (replace_profitable_candidates): Don't process increments that were | |
5327 | not recorded. | |
5328 | (analyze_candidates_and_replace): Limit size of incr_vec. | |
5329 | ||
3f8825c0 RB |
5330 | 2013-05-07 Richard Biener <rguenther@suse.de> |
5331 | ||
5332 | * calls.c (special_function_p): setjmp-like functions are leaf. | |
5333 | * builtins.def (BUILT_IN_SETJMP): setjmp is leaf. | |
5334 | * tree-inline.c (update_ssa_across_abnormal_edges): Remove assert. | |
5335 | ||
fd4842cd SN |
5336 | 2013-05-07 Sofiane Naci <sofiane.naci@arm.com> |
5337 | ||
5338 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): call splitter. | |
5339 | (aarch64_simd_mov<mode>): New expander. | |
5340 | (aarch64_simd_mov_to_<mode>low): New instruction pattern. | |
5341 | (aarch64_simd_mov_to_<mode>high): Likewise. | |
5342 | (aarch64_simd_mov_from_<mode>low): Likewise. | |
5343 | (aarch64_simd_mov_from_<mode>high): Likewise. | |
5344 | (aarch64_dup_lane<mode>): Update. | |
5345 | (aarch64_dup_lanedi): New instruction pattern. | |
5346 | * config/aarch64/aarch64-protos.h (aarch64_split_simd_move): New prototype. | |
5347 | * config/aarch64/aarch64.c (aarch64_split_simd_move): New function. | |
5348 | ||
a7a7d10e BS |
5349 | 2013-05-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5350 | ||
5351 | * gimple-ssa-strength-reduction.c (lazy_create_slsr_reg): Remove. | |
5352 | (replace_mult_candidate): Remove unnecessary argument; remove | |
5353 | unnecessary parameter from call to introduce_cast_before_cand. | |
5354 | (replace_unconditional_candidate): Remove unnecessary parameter | |
5355 | from call to replace_mult_candidate. | |
5356 | (replace_conditional_candidate): Likewise. | |
5357 | (insert_initializers): Use make_temp_ssa_name. | |
5358 | (introduce_cast_before_cand): Remove unnecessary argument; use | |
5359 | make_temp_ssa_name. | |
5360 | (replace_one_candidate): Remove unnecessary argument; remove | |
5361 | unnecessary parameter from calls to introduce_cast_before_cand. | |
5362 | (replace_profitable_candidates): Remove unnecessary parameters | |
5363 | from calls to replace_one_candidate. | |
5364 | ||
29105868 BS |
5365 | 2013-05-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5366 | ||
5367 | * gimple-ssa-strength-reduction.c (find_phi_def): Don't record a | |
5368 | phi def as possibly hiding a basis for a CAND_ADD whose operands | |
5369 | have been commuted in the analysis. | |
5370 | (alloc_cand_and_find_basis): Add parms to call to find_phi_def. | |
5371 | ||
4095f9fa N |
5372 | 2013-05-07 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
5373 | ||
5374 | * config/aarch64/aarch64.md | |
5375 | (cmp_swp_<optab><ALLX:mode>_shft_<GPI:mode>): Restrict the | |
5376 | shift value between 0-4. | |
5377 | ||
39e843e8 RB |
5378 | 2013-05-07 Richard Biener <rguenther@suse.de> |
5379 | ||
5380 | * double-int.h (rshift): New overload. | |
5381 | * double-int.c (rshift): New function. | |
5382 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Optimize. | |
5383 | (create_reference_ops_from_ref): Remove. | |
5384 | (vn_reference_insert): Use shared ops for constructing the | |
5385 | reference and copy it. | |
5386 | ||
0a1a83cb RB |
5387 | 2013-05-07 Richard Biener <rguenther@suse.de> |
5388 | ||
5389 | PR middle-end/57190 | |
5390 | * tree-eh.c (sink_clobbers): Properly propagate | |
5391 | SSA_NAME_OCCURS_IN_ABNORMAL_PHI. | |
5392 | ||
43303d6f JJ |
5393 | 2013-05-07 Jakub Jelinek <jakub@redhat.com> |
5394 | ||
ba7e83f8 JJ |
5395 | PR tree-optimization/57149 |
5396 | * tree-ssa-uninit.c (uninit_undefined_value_p): New inline. | |
5397 | (can_skip_redundant_opnd, compute_uninit_opnds_pos, | |
5398 | collect_phi_def_edges, execute_late_warn_uninitialized): Use | |
5399 | uninit_undefined_value_p instead of ssa_undefined_value_p. | |
5400 | ||
43303d6f JJ |
5401 | PR debug/57184 |
5402 | * expr.c (expand_expr_addr_expr_1): Handle COMPOUND_LITERAL_EXPR | |
5403 | for modifier == EXPAND_INITIALIZER. | |
5404 | ||
14523c25 AB |
5405 | 2013-05-07 Anton Blanchard <anton@samba.org> |
5406 | ||
5407 | * configure.ac (HAVE_LD_LARGE_TOC): Use correct linker emulation | |
5408 | for powerpc64 little endian. | |
5409 | * configure: Regenerate. | |
5410 | ||
cb7c8be9 GS |
5411 | 2013-05-06 Graham Stott <grahams@btinternet.com> |
5412 | ||
5413 | * expmed.c (init_expmed_rtl): Remove unused fields reg_fld, plus_fld, | |
5414 | mult_fld, sdiv_fld1, udiv_fld1, sdiv_32_fld1, smod_32_fld1, | |
5415 | wide_mult_fld1, wide_lshr_fld1, shift_fld1, shift_mult_fld1, | |
5416 | shift_add_fld1, shift_sub0_fld1, shift_sub1_fld1. | |
5417 | ||
5418 | 2013-05-06 Graham Stott <grahams@btinternet.com> | |
a8fd4225 GS |
5419 | |
5420 | * gensupport.c (add_predicate_code): Also exclude SCRATCH from rtx | |
5421 | codes which allow non-lvalues. | |
5422 | ||
9a0ee7b0 MG |
5423 | 2013-05-06 Marc Glisse <marc.glisse@inria.fr> |
5424 | ||
5425 | * tree.c (integer_all_onesp) <COMPLEX_CST>: Test that both | |
5426 | components are all 1s. | |
5427 | (integer_minus_onep): New function. | |
5428 | * tree.h (integer_minus_onep): Declare it. | |
5429 | * fold-const.c (fold_binary_loc) <MULT_EXPR>: Test | |
5430 | integer_minus_onep instead of integer_all_onesp. | |
5431 | ||
f2c17ea9 OE |
5432 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
5433 | ||
5434 | PR target/52933 | |
5435 | * config/sh/sh.md (*cmp_div0s_0, *cmp_div0s_1, *movsicc_div0s): Add | |
5436 | variations of these patterns. | |
5437 | ||
f75e6a51 UB |
5438 | 2013-05-06 Uros Bizjak <ubizjak@gmail.com> |
5439 | ||
5440 | * config/i386/i386.md (isa): Add x64_sse4 member. | |
5441 | (enabled): Handle x64_sse4. | |
5442 | (*movdi_internal): Add *x->?r alternative to emit pextrq $0,%xmm,%reg | |
5443 | instruction for 64bit SSE4_1 targets. Update insn attributes. | |
5444 | (*movsi_internal): Add *x->?r alternative to emit pextrd $0,%xmm,%reg | |
5445 | instruction for SSE4_1 targets. Update insn attributes. | |
5446 | * config/i386/sse.md (*vec_extract<ssevecmodelower>_0): Merge | |
5447 | with *sse4_1_pextrd and *sse4_1_pextrq having const_0 selector. | |
5448 | (*vec_extractv2di_1): Merge with *sse4_1_pextrq having | |
5449 | const_1 selector. | |
5450 | (*vec_extractv4si): Rename from *sse4_1_pextrd. | |
5451 | (*vec_extractv4si_zext): Rename from *sse4_1_pextrd_zext. | |
5452 | (*vec_extract<ssevecmodelower>_0 splitters): Merge splitters together. | |
5453 | ||
a986d468 OE |
5454 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
5455 | ||
5456 | PR target/57108 | |
5457 | * config/sh/sh.md (tstsi_t_zero_extract_eq): Use QIHISIDI mode iterator. | |
5458 | ||
382522cb MK |
5459 | 2013-05-06 Maxim Kuznetsov <maks.kuznetsov@gmail.com> |
5460 | ||
5461 | * final.c (do_assembler_dialects): Don't handle curly braces and | |
5462 | vertical bar escaped by % as dialect delimiters. | |
5463 | (output_asm_insn): Print curly braces and vertical bar if escaped | |
5464 | by % and ASSEMBLER_DIALECT defined. | |
5465 | * doc/tm.texi.in (ASSEMBLER_DIALECT): Document new standard escapes. | |
5466 | * doc/tm.texi: Regenerated. | |
5467 | ||
fb0d5c60 SB |
5468 | 2013-05-06 Steven Bosscher <steven@gcc.gnu.org> |
5469 | ||
fb0d5c60 SB |
5470 | * config/mips/mips.c: Include tree-pass.h. |
5471 | (mips_reorg): Split in pre- and post-dbr_schedule parts. | |
5472 | (mips_machine_reorg2): Move mips_reorg post-dbr_schedule parts here. | |
5473 | (pass_mips_machine_reorg2): New machine specific pass. | |
5474 | (insert_pass_mips_machine_reorg2): New pass plugin definition. | |
5475 | (mips_option_override): Register the new pass. | |
5476 | * rtl.h (cleanup_barriers): Remove prototype. | |
5477 | (dbr_schedule): Likewise. | |
5478 | * jump.c (cleanup_barriers): Make static. | |
5479 | * reorg.c (dbr_schedule): Likewise. | |
5480 | ||
aa06a978 RB |
5481 | 2013-05-06 Richard Biener <rguenther@suse.de> |
5482 | ||
5483 | PR tree-optimization/57185 | |
5484 | * tree-parloops.c (add_field_for_reduction): Handle anonymous | |
5485 | SSA names properly. | |
5486 | ||
0b953bec UB |
5487 | 2013-05-06 Uros Bizjak <ubizjak@gmail.com> |
5488 | ||
5489 | PR target/57106 | |
5490 | * config/i386/i386.c (add_parameter_dependencies): Add dependence | |
5491 | between "first_arg" and "insn", not "last" and "insn". | |
5492 | ||
28708525 WS |
5493 | 2013-05-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5494 | ||
5495 | * gimple-ssa-strength-reduction.c (slsr_process_phi): Re-enable. | |
5496 | (find_candidates_in_block): Re-enable slsr_process_phi. | |
5497 | (create_phi_basis): Fix double counting of candidate adjustment. | |
5498 | ||
0107dca2 RB |
5499 | 2013-05-06 Richard Biener <rguenther@suse.de> |
5500 | ||
5501 | PR middle-end/57147 | |
5502 | * tree-cfg.c (gimple_purge_dead_abnormal_call_edges): If | |
5503 | the edge is also fallthru, preserve it and just clear the | |
5504 | abnormal flag. | |
5505 | * tree-cfgcleanup.c (remove_fallthru_edge): If the edge is | |
5506 | also complex, preserve that and just clear the fallthru flag. | |
5507 | * tree-inline.c (update_ssa_across_abnormal_edges): Also | |
5508 | update virtual operands. | |
5509 | ||
470d4d13 AM |
5510 | 2013-05-06 Alan Modra <amodra@gmail.com> |
5511 | ||
5512 | * config/rs6000/linux.h (DEFAULT_ASM_ENDIAN): Define. | |
5513 | (LINK_OS_LINUX_EMUL): Use ENDIAN_SELECT. | |
5514 | * config/rs6000/linux64.h (DEFAULT_ASM_ENDIAN): Define. | |
5515 | * config/rs6000/sysv4le.h (DEFAULT_ASM_ENDIAN): Define. | |
5516 | (LINK_TARGET_SPEC): Use ENDIAN_SELECT. | |
5517 | * config/rs6000/sysv4.h (DEFAULT_ASM_ENDIAN): Define as -mbig. | |
5518 | ||
8f1dbf8d AM |
5519 | 2013-05-06 Alan Modra <amodra@gmail.com> |
5520 | ||
5521 | * config/rs6000/sysv4.h (ENDIAN_SELECT): Define, extracted from | |
5522 | (ASM_SPEC): ..here. Emit DEFAULT_ASM_ENDIAN too. | |
5523 | (DEFAULT_ASM_ENDIAN): Define. | |
5524 | (CC1_SPEC, LINK_TARGET_SPEC): Use ENDIAN_SELECT. | |
5525 | * config/rs6000/linux64.h (ASM_SPEC32): Remove endian options. | |
5526 | Update -K PIC clause from sysv4.h. | |
5527 | (ASM_SPEC_COMMON): Use ENDIAN_SELECT. | |
5528 | (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Likewise. | |
5529 | ||
54890767 AM |
5530 | 2013-05-06 Alan Modra <amodra@gmail.com> |
5531 | ||
5532 | * config/rs6000/rs6000.md (bswapdi 2nd splitter): Don't swap words | |
5533 | twice for little-endian. | |
5534 | (ashrdi3_no_power, ashrdi3): Support little-endian. | |
5535 | ||
2353515d OE |
5536 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
5537 | ||
5538 | PR target/55303 | |
5539 | * config/sh/sh.c (sh_rtx_costs): Handle SMIN and SMAX cases. | |
5540 | * config/sh/sh.md (*clips, uminsi3, *clipu, clipu_one): New insns and | |
5541 | related expanders. | |
5542 | * config/sh/iterators.md (SMIN_SMAX): New code iterator. | |
5543 | * config/sh/predicates.md (arith_reg_or_0_or_1_operand, | |
5544 | clips_min_const_int, clips_max_const_int, clipu_max_const_int): | |
5545 | New predicates. | |
5546 | ||
33e67557 SB |
5547 | 2013-05-05 Steven Bosscher <steven@gcc.gnu.org> |
5548 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
5549 | ||
5550 | * config.gcc (hppa*-*-*): Remove MASK_BIG_SWITCH from CPU default. | |
5551 | * config/pa/pa.opt: Make mbig-switch a no-op. | |
5552 | * config/pa/pa.h (TARGET_DEFAULT): Remove MASK_BIG_SWITCH. | |
5553 | (CASE_VECTOR_MODE): Always return SImode. | |
5554 | (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove code | |
5555 | for the !TARGET_BIG_SWITCH case. | |
5556 | * config/pa/pa-linux.h: Likewise. | |
5557 | * config/pa/pa-openbsd.h: Likewise. | |
5558 | * config/pa/pa-hpux.h: Define TARGET_DEFAULT to 0. | |
5559 | * config/pa/pa.md (short_jump): Remove define_insn. | |
5560 | (casesi): Remove code for the !TARGET_BIG_SWITCH case. | |
5561 | (casesi0): Remove define_insn. | |
5562 | (type): Remove btable_branch. | |
5563 | (pa_combine_type): Likewise. | |
5564 | (in_nullified_branch_delay): Likewise. | |
5565 | (in_call_delay): Likewise. | |
5566 | (define_delay): Likewise. | |
5567 | (define_insn_reservation "Z3"): Likewise. | |
5568 | (define_insn_reservation "Z4"): Likewise. | |
5569 | * config/pa/pa.c (pa_reorg): Remove code for !TARGET_BIG_SWITCH. | |
5570 | (pa_adjust_insn_length): Remove adjustment for btable branches. | |
5571 | * doc/invoke.texi (HPPA Options): Delete documentation for mbig-switch | |
5572 | and mno-big-switch | |
5573 | ||
3095685e UB |
5574 | 2013-05-05 Uros Bizjak <ubizjak@gmail.com> |
5575 | ||
5576 | * config/i386/sse.md (*vec_extract<ssevecmodelower>_0): Merge | |
5577 | from sse2_stored and *sse2_storeq_rex64 using SWI48 mode iterator. | |
5578 | Add m->r,x alternatives. | |
5579 | (*vec_extract<ssevecmodelower>_0 splitters): Merge V2DI and V4SI | |
5580 | splitters using SWI48x mode iterator. | |
5581 | (*vec_extract_v2di_0_sse): Rename from *sse2_storeq. Disable for | |
5582 | TARGET_64BIT. Add m->x alternative. | |
5583 | (*vec_extractv4si_mem): Rename from *vec_ext_v4si_mem. | |
5584 | Add o->x alternative. Enable for TARGET_SSE. | |
5585 | (sse_storeq): Remove expander. | |
5586 | (*vec_extractv2di_1): Enable for TARGET_SSE. Split alternatives | |
5587 | with memory input operand. | |
5588 | (*vec_extractv2di_1 splitter): New. | |
5589 | (*vec_extractv4sf_mem): Rename from *vec_extract_v4sf_mem. | |
5590 | * config/i386/i386.md (ssevecmodelower): New mode attribute. | |
5591 | ||
4b36ae28 SB |
5592 | 2013-05-04 Segher Boessenkool <segher@kernel.crashing.org> |
5593 | ||
5594 | * config/rs6000/rs6000.c (INT_P): Reformat. Delete obsolete comment. | |
5595 | (INT_LOWPART): Delete. | |
5596 | (extract_MB): Adjust. | |
5597 | (extract_ME): Adjust. | |
5598 | (print_operand): Adjust. | |
5599 | ||
da226db2 SB |
5600 | 2013-05-04 Segher Boessenkool <segher@kernel.crashing.org> |
5601 | ||
5602 | * config/rs6000/predicates.md (reg_or_add_cint_operand, | |
5603 | reg_or_sub_cint_operand): Delete "HOST_BITS_PER_WIDE_INT == 32" case. | |
5604 | (reg_or_logical_cint_operand, easy_fp_constant, | |
5605 | logical_const_operand): Delete "CONST_DOUBLE" case. | |
5606 | * config/rs6000/rs6000.c (num_insns_constant_wide): Delete | |
5607 | "HOST_BITS_PER_WIDE_INT == 64" test. | |
3095685e | 5608 | (num_insns_constant): Ditto. Delete CONST_DOUBLE DImode/VOIDmode case. |
da226db2 SB |
5609 | (build_mask64_2_operands): Delete "HOST_BITS_PER_WIDE_INT >= 64" test. |
5610 | (rs6000_emit_set_const): Delete CONST_DOUBLE case. | |
5611 | (rs6000_emit_set_long_const): Delete "HOST_BITS_PER_WIDE_INT >= 64" | |
5612 | test. | |
5613 | (includes_rldic_lshift_p, includes_rldicr_lshift_p): Delete | |
5614 | CONST_DOUBLE DImode/VOIDmode case. | |
5615 | (INT_P, INT_LOWPART): Delete CONST_DOUBLE case. | |
5616 | (print_operand): Delete "HOST_BITS_PER_WIDE_INT == 32" case. Delete | |
5617 | CONST_DOUBLE VOIDmode case. | |
5618 | (output_toc): Delete "HOST_BITS_PER_WIDE_INT == 32" case. | |
5619 | (rs6000_rtx_costs): Delete CONST_DOUBLE DImode/VOIDmode case. | |
5620 | * config/rs6000/rs6000.md (iordi3, xordi3, splitter for these): | |
5621 | Delete CONST_DOUBLE case. | |
5622 | (splitters for mov FMOVE64 const_double): Delete | |
5623 | "HOST_BITS_PER_WIDE_INT == 32" case. Delete | |
5624 | "HOST_BITS_PER_WIDE_INT >= 64" test. | |
5625 | (splitter for mov DI const_int): Delete "HOST_BITS_PER_WIDE_INT == 32" | |
5626 | case. | |
5627 | (mov DI const_double): Delete. | |
5628 | ||
40de22d6 JJ |
5629 | 2013-05-04 Jakub Jelinek <jakub@redhat.com> |
5630 | ||
5631 | * combine.c (combine_simplify_rtx) <case SUBREG>: If nonzero_bits | |
5632 | on op shows all bits zero in mode of a lowpart subreg, return zero. | |
5633 | ||
5ec6aff2 MM |
5634 | 2013-05-03 Michael Meissner <meissner@linux.vnet.ibm.com> |
5635 | ||
5636 | PR target/57150 | |
5637 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Use DFmode | |
5638 | to save TFmode registers and DImode to save TImode registers for | |
5639 | caller save operations. | |
5640 | (HARD_REGNO_CALL_PART_CLOBBERED): TFmode and TDmode do not need to | |
5641 | mark being partially clobbered since they only use the first | |
5642 | double word. | |
5643 | ||
5644 | * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): TFmode | |
5645 | and TDmode only use the upper 64-bits of each VSX register. | |
5646 | ||
2cefad90 BS |
5647 | 2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5648 | ||
5649 | * gimple-ssa-strength-reduction.c (slsr_process_phi): Disable. | |
5650 | (find_candidates_in_block): Disable slsr_process_phi. | |
5651 | ||
d6d7eee1 GW |
5652 | 2013-05-03 Guozhi Wei <carrot@google.com> |
5653 | ||
5654 | * coverage.c (coverage_obj_init): Move the construction of gcov | |
3095685e UB |
5655 | constructor to ... |
5656 | (build_init_ctor): ... here. | |
d6d7eee1 | 5657 | |
9b92d12b BS |
5658 | 2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5659 | ||
5660 | * gimple-ssa-strength-reduction.c (cand_kind): Add CAND_PHI. | |
5661 | (slsr_cand_d): Redefine def_phi. | |
5662 | (stride_status, phi_adjust_status, count_phis_status): New enums. | |
5663 | (find_phi_def): New. | |
5664 | (find_basis_for_base_expr): New. | |
5665 | (find_basis_for_candidate): Handle hidden bases. | |
5666 | (alloc_cand_and_find_basis): Handle phi candidates. | |
5667 | (slsr_process_phi): New. | |
5668 | (create_mul_ssa_cand): Exclude phi base candidates; use integer_onep. | |
5669 | (create_mul_imm_cand): Likewise. | |
5670 | (create_add_ssa_cand): Exclude phi base candidates. | |
5671 | (create_add_imm_cand): Likewise. | |
5672 | (slsr_process_cast): Likewise. | |
5673 | (slsr_process_copy): Likewise. | |
5674 | (find_candidates_in_block): Handle phi candidates. | |
5675 | (dump_candidate): Likewise. | |
5676 | (unconditional_cands): Delete. | |
5677 | (unconditional_cands_with_known_stride_p): Delete. | |
5678 | (phi_dependent_cand_p): New. | |
5679 | (cand_increment): Handle phi-dependent candidates. | |
5680 | (replace_dependent): Delete. | |
5681 | (replace_mult_candidate): New. | |
5682 | (replace_unconditional_candidate): New. | |
5683 | (incr_vec_index): Move to avoid forward reference. | |
5684 | (create_add_on_incoming_edge): New. | |
5685 | (create_phi_basis): New. | |
5686 | (replace_dependents): Delete. | |
5687 | (replace_conditional_candidate): New. | |
5688 | (phi_add_costs): New. | |
5689 | (replace_uncond_cands_and_profitable_phis): New. | |
5690 | (record_increment): Handle phi adjustments. | |
5691 | (record_phi_increments): New. | |
5692 | (record_increments): Handle phi adjustments. | |
5693 | (phi_incr_cost): New. | |
5694 | (lowest_cost_path): Handle phis. | |
5695 | (total_savings): Likewise. | |
5696 | (analyze_increments): Likewise. | |
5697 | (ncd_with_phi): New. | |
5698 | (ncd_of_cand_and_phis): New. | |
5699 | (nearest_common_dominator_for_cands): Handle phi increments. | |
5700 | (all_phi_incrs_profitable): New. | |
5701 | (replace_profitable_candidates): Handle phi-dependent candidates. | |
5702 | (analyze_candidates_and_replace): Likewise. | |
5703 | ||
68f073d4 TJ |
5704 | 2013-05-03 Teresa Johnson <tejohnson@google.com> |
5705 | ||
5706 | PR bootstrap/57154 | |
5707 | * sched-rgn.c (compute_dom_prob_ps): Ensure accumulated probabilities | |
5708 | do not exceed REG_BR_PROB_BASE. | |
5709 | ||
a4ee7cb9 JL |
5710 | 2013-05-03 Jeff Law <law@redhat.com> |
5711 | ||
ade67f70 | 5712 | PR tree-optimization/57144 |
a4ee7cb9 JL |
5713 | * tree-vrp.c (simplify_cond_using_ranges): Verify the constant |
5714 | operand of the condition will bit into the new type when eliminating | |
5715 | a cast feeding a condition. | |
5716 | ||
47954c4e JJ |
5717 | 2013-05-03 Jakub Jelinek <jakub@redhat.com> |
5718 | ||
5719 | PR rtl-optimization/57130 | |
3095685e UB |
5720 | * combine.c (make_compound_operation) <case SUBREG>: Pass SET instead |
5721 | of COMPARE as in_code to the recursive call if needed. | |
47954c4e | 5722 | |
3c21604f UB |
5723 | 2013-05-03 Uros Bizjak <ubizjak@gmail.com> |
5724 | ||
5725 | * config/i386/i386.md (isa): Add x64_sse4_noavx and x64_avx members. | |
5726 | (enabled): Handle new members. | |
5727 | * config/i386/sse.md (*vec_concatv2si): Merge from | |
5728 | *vec_concatv2si_sse2 and vec_concatv2si_sse. | |
5729 | (vec_concatv2di): Merge with *vec_concatv2di_rex64. | |
5730 | ||
95c03b36 JR |
5731 | 2013-05-03 Joern Rennecke <joern.rennecke@embecosm.com> |
5732 | ||
5733 | PR tree-optimization/57027 | |
5734 | * tree-ssa-math-opts.c (convert_mult_to_fma): When checking | |
5735 | for fnms opportunity, check we got the prerequisite kind | |
5736 | of tree / gimple before using accessor functions. | |
5737 | ||
07bfc9ec RB |
5738 | 2013-05-03 Richard Biener <rguenther@suse.de> |
5739 | ||
5740 | * double-int.h (lshift): New overload without precision | |
5741 | and arith argument. | |
5742 | (operator *=, operator +=, operator -=): Move ... | |
5743 | * double-int.c (operator *=, operator +=, operator -=): ... here | |
5744 | and implement more efficiently. | |
5745 | (mul_double_with_sign): Remove. | |
5746 | (lshift_double): Adjust to take unsinged shift argument, push | |
5747 | dispatching code to callers. | |
5748 | (mul_double_wide_with_sign): Add early out for callers that | |
5749 | are not interested in high parts or overflow. | |
5750 | (lshift): New function. | |
5751 | (lshift, rshift, alshift, arshift, llshift, lrshift): Add | |
5752 | dispatch code here. | |
5753 | (lrotate, rrotate): Use logical shifts. | |
5754 | * expr.c (get_inner_reference): Use lshift. | |
5755 | * fixed-value.c (do_fixed_divide): Likewise. | |
5756 | * tree-dfa.c (get_ref_base_and_extent): Likewise. | |
5757 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise. | |
5758 | (indirect_refs_may_alias_p): Likewise. | |
5759 | (stmt_kills_ref_p_1): Likewise. | |
5760 | ||
7769bb64 VP |
5761 | 2013-05-03 Vidya Praveen <vidyapraveen@arm.com> |
5762 | ||
5763 | * config/aarch64/aarch64-simd.md (simd_fabd): Correct the description. | |
5764 | ||
1d0c8e5c VP |
5765 | 2013-05-03 Vidya Praveen <vidyapraveen@arm.com> |
5766 | ||
5767 | * config/aarch64/aarch64-simd.md (*fabd_scalar<mode>3): Support | |
5768 | scalar form of FABD instruction. | |
5769 | ||
f15feaf9 VM |
5770 | 2013-05-02 Vladimir Makarov <vmakarov@redhat.com> |
5771 | ||
5772 | * lra-constraints.c (process_alt_operands): Add checking alt | |
5773 | number to choose the best alternative. | |
5774 | ||
d90e76d4 RB |
5775 | 2013-05-02 Richard Biener <rguenther@suse.de> |
5776 | ||
5777 | * tree-eh.c (cleanup_empty_eh_merge_phis): Remove rename_virts | |
5778 | bitmap and its handling. | |
5779 | (pass_cleanup_eh): Set todo_flags_finish to TODO_verify_ssa. | |
5780 | ||
9f8e7a96 RB |
5781 | 2013-05-02 Richard Biener <rguenther@suse.de> |
5782 | ||
5783 | PR middle-end/57140 | |
5784 | * tree-inline.c (copy_loops): Properly handle removed loops. | |
5785 | (copy_cfg_body): Mark destination loops for fixup if source | |
5786 | loops needed fixup. | |
5787 | ||
f3a81b39 GY |
5788 | 2013-05-02 Greta Yorsh <Greta.Yorsh@arm.com> |
5789 | ||
5790 | PR target/56732 | |
5791 | * config/arm/arm.c (arm_expand_epilogue): Check really_return before | |
5792 | generating simple_return for naked functions. | |
5793 | ||
7b920a9a MJ |
5794 | 2013-05-02 Martin Jambor <mjambor@suse.cz> |
5795 | ||
5796 | PR middle-end/56988 | |
5797 | * ipa-prop.h (ipa_agg_replacement_value): New flag by_ref. | |
5798 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Also check that by_ref | |
5799 | flags match. | |
5800 | (find_aggregate_values_for_callers_subset): Fill in the by_ref flag of | |
5801 | ipa_agg_replacement_value structures. | |
5802 | (known_aggs_to_agg_replacement_list): Likewise. | |
5803 | * ipa-prop.c (write_agg_replacement_chain): Stream by_ref flag. | |
5804 | (read_agg_replacement_chain): Likewise. | |
5805 | (ipcp_transform_function): Also check that by_ref flags match. | |
5806 | ||
2c41c19d RB |
5807 | 2013-05-02 Richard Biener <rguenther@suse.de> |
5808 | ||
5809 | * graphds.h (struct graph): Add obstack member. | |
5810 | * graphds.c (new_graph): Initialize obstack and allocate | |
5811 | vertices from it. | |
5812 | (add_edge): Allocate edge from the obstack. | |
3c21604f | 5813 | (free_graph): Free the obstack instead of all edges and vertices. |
2c41c19d | 5814 | |
8b47039c TJ |
5815 | 2013-05-02 Teresa Johnson <tejohnson@google.com> |
5816 | ||
5817 | * loop-unswitch.c (unswitch_loop): Use helper routines with rounding | |
5818 | divides. | |
5819 | * cfg.c (update_bb_profile_for_threading): Ditto. | |
5820 | * tree-inline.c (copy_bb): Ditto. | |
5821 | (copy_edges_for_bb): Ditto. | |
5822 | (initialize_cfun): Ditto. | |
5823 | (copy_cfg_body): Ditto. | |
5824 | (expand_call_inline): Ditto. | |
5825 | * ipa-inline-analysis.c (estimate_edge_size_and_time): Ditto. | |
5826 | (estimate_node_size_and_time): Ditto. | |
5827 | (inline_merge_summary): Ditto. | |
5828 | * cgraphclones.c (cgraph_clone_edge): Ditto. | |
5829 | (cgraph_clone_node): Ditto. | |
5830 | * sched-rgn.c (compute_dom_prob_ps): Ditto. | |
5831 | (compute_trg_info): Ditto. | |
5832 | ||
da65928c IB |
5833 | 2013-05-02 Ian Bolton <ian.bolton@arm.com> |
5834 | ||
5835 | * config/aarch64/aarch64.md (movsi_aarch64): Only allow to/from | |
5836 | S reg when fp attribute set. | |
5837 | (movdi_aarch64): Only allow to/from D reg when fp attribute set. | |
5838 | ||
add3c965 IB |
5839 | 2013-05-02 Ian Bolton <ian.bolton@arm.com> |
5840 | ||
5841 | * config/aarch64/aarch64.md (*and_one_cmpl<mode>3_compare0): | |
5842 | New pattern. | |
5843 | (*and_one_cmplsi3_compare0_uxtw): Likewise. | |
5844 | (*and_one_cmpl_<SHIFT:optab><mode>3_compare0): Likewise. | |
5845 | (*and_one_cmpl_<SHIFT:optab>si3_compare0_uxtw): Likewise. | |
5846 | ||
fdd43ac4 RB |
5847 | 2013-05-02 Richard Biener <rguenther@suse.de> |
5848 | ||
5849 | * tree-scalar-evolution.c (scev_info_hasher): Remove. | |
5850 | (struct instantiate_cache_entry): New type. | |
5851 | (struct instantiate_cache_entry_hasher): New hashtable descriptor. | |
5852 | (struct instantiate_cache_type): New type. | |
5853 | (set_instantiated_value, get_instantiated_value): Remove. | |
5854 | (get_instantiated_value_entry): New function. | |
5855 | (instantiate_scev_name): Use the new cache and adjust. | |
5856 | (instantiate_scev_poly): Adjust. | |
5857 | (instantiate_scev_binary): Likewise. | |
5858 | (instantiate_array_ref): Likewise. | |
5859 | (instantiate_scev_convert): Likewise. | |
5860 | (instantiate_scev_not): Likewise. | |
5861 | (instantiate_scev_3): Likewise. | |
5862 | (instantiate_scev_2): Likewise. | |
5863 | (instantiate_scev_r): Likewise. | |
5864 | (instantiate_scev): Likewise. | |
5865 | (resolve_mixers): Likewise. | |
5866 | ||
36ff9dfb VM |
5867 | 2013-05-01 Vladimir Makarov <vmakarov@redhat.com> |
5868 | ||
5869 | PR target/57091 | |
5870 | * lra-constraints.c (best_small_class_operands_num): Remove. | |
5871 | (process_alt_operands): Remove small_class_operands_num. Take | |
5872 | small classes operands into losers and only if the operand is not | |
5873 | matched. Modify debugging output. | |
5874 | (curr_insn_transform): Remove best_small_class_operands_num. | |
5875 | Print insn name. | |
5876 | ||
36054fab JG |
5877 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
5878 | ||
5879 | * config/aarch64/aarch64-builtins.c | |
5880 | (aarch64_gimple_fold_builtin.c): Fold more modes for reduc_splus_. | |
5881 | * config/aarch64/aarch64-simd-builtins.def | |
5882 | (reduc_splus_): Add new modes. | |
5883 | (reduc_uplus_): New. | |
5884 | * config/aarch64/aarch64-simd.md (aarch64_addvv4sf): Remove. | |
5885 | (reduc_uplus_v4sf): Likewise. | |
5886 | (reduc_splus_v4sf): Likewise. | |
5887 | (aarch64_addv<mode>): Likewise. | |
5888 | (reduc_uplus_<mode>): Likewise. | |
5889 | (reduc_splus_<mode>): Likewise. | |
5890 | (aarch64_addvv2di): Likewise. | |
5891 | (reduc_uplus_v2di): Likewise. | |
5892 | (reduc_splus_v2di): Likewise. | |
5893 | (aarch64_addvv2si): Likewise. | |
5894 | (reduc_uplus_v2si): Likewise. | |
5895 | (reduc_splus_v2si): Likewise. | |
5896 | (reduc_<sur>plus_<mode>): New. | |
5897 | (reduc_<sur>plus_v2di): Likewise. | |
5898 | (reduc_<sur>plus_v2si): Likewise. | |
5899 | (reduc_<sur>plus_v4sf): Likewise. | |
5900 | (aarch64_addpv4sf): Likewise. | |
5901 | * config/aarch64/arm_neon.h | |
5902 | (vaddv<q>_<s,u,f><8, 16, 32, 64): Rewrite using builtins. | |
5903 | * config/aarch64/iterators.md (unspec): Remove UNSPEC_ADDV, | |
5904 | add UNSPEC_SADDV, UNSPEC_UADDV. | |
5905 | (SUADDV): New. | |
5906 | (sur): Add UNSPEC_SADDV, UNSPEC_UADDV. | |
5907 | ||
6dce23a8 JG |
5908 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
5909 | ||
5910 | * config/aarch64/arm_neon.h | |
5911 | (v<max,min><nm><q><v>_<sfu><8, 16, 32, 64>): Rewrite using builtins. | |
5912 | ||
1598945b JG |
5913 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
5914 | ||
5915 | * config/aarch64/aarch64-builtins | |
5916 | (aarch64_gimple_fold_builtin): Fold reduc_<su><maxmin>_ builtins. | |
5917 | ||
998eaf97 JG |
5918 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
5919 | ||
5920 | * config/aarch64/aarch64-simd-builtins.def | |
5921 | (reduc_smax_): New. | |
5922 | (reduc_smin_): Likewise. | |
5923 | (reduc_umax_): Likewise. | |
5924 | (reduc_umin_): Likewise. | |
5925 | (reduc_smax_nan_): Likewise. | |
5926 | (reduc_smin_nan_): Likewise. | |
5927 | (fmax): Remove. | |
5928 | (fmin): Likewise. | |
5929 | (smax): Update for V2SF, V4SF and V2DF modes. | |
5930 | (smin): Likewise. | |
5931 | (smax_nan): New. | |
5932 | (smin_nan): Likewise. | |
5933 | * config/aarch64/aarch64-simd.md (<maxmin><mode>3): Rename to... | |
5934 | (<su><maxmin><mode>3): ...This, refactor. | |
5935 | (s<maxmin><mode>3): New. | |
5936 | (<maxmin_uns><mode>3): Likewise. | |
5937 | (reduc_<maxmin_uns>_<mode>): Refactor. | |
5938 | (reduc_<maxmin_uns>_v4sf): Likewise. | |
5939 | (reduc_<maxmin_uns>_v2si): Likewise. | |
5940 | (aarch64_<fmaxmin><mode>: Remove. | |
5941 | * config/aarch64/arm_neon.h (vmax<q>_f<32,64>): Rewrite to use | |
5942 | new builtin names. | |
5943 | (vmin<q>_f<32,64>): Likewise. | |
5944 | * config/iterators.md (unspec): Add UNSPEC_FMAXNMV, UNSPEC_FMINNMV. | |
5945 | (FMAXMIN): New. | |
5946 | (su): Add mappings for smax, smin, umax, umin. | |
5947 | (maxmin): New. | |
5948 | (FMAXMINV): Add UNSPEC_FMAXNMV, UNSPEC_FMINNMV. | |
5949 | (FMAXMIN): Rename as... | |
5950 | (FMAXMIN_UNS): ...This. | |
5951 | (maxminv): Remove. | |
5952 | (fmaxminv): Likewise. | |
5953 | (fmaxmin): Likewise. | |
5954 | (maxmin_uns): New. | |
5955 | (maxmin_uns_op): Likewise. | |
5956 | ||
bd11644e JG |
5957 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
5958 | ||
5959 | * config/aarch64/arm_neon.h | |
5960 | (vac<ge, gt><sd>_f<32, 64>): Rename to... | |
5961 | (vca<ge, gt><sd>_f<32, 64>): ...this, reimpliment in C. | |
5962 | (vca<ge, gt, lt, le><q>_f<32, 64>): Reimpliment in C. | |
5963 | ||
75dd5ace JG |
5964 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
5965 | ||
5966 | * config/aarch64/aarch64-simd.md (*aarch64_fac<optab><mode>): New. | |
5967 | * config/aarch64/iterators.md (FAC_COMPARISONS): New. | |
5968 | ||
7c19979f JG |
5969 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
5970 | ||
5971 | * config/aarch64/aarch64-simd.md | |
5972 | (vcond<mode>_internal): Handle special cases for constant masks. | |
5973 | (vcond<mode><mode>): Allow nonmemory_operands for outcome vectors. | |
5974 | (vcondu<mode><mode>): Likewise. | |
5975 | (vcond<v_cmp_result><mode>): New. | |
5976 | ||
bb60efd9 JG |
5977 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
5978 | ||
5979 | * config/aarch64/aarch64-builtins.c (BUILTIN_VALLDI): Define. | |
5980 | (aarch64_fold_builtin): Add folding for cm<eq,ge,gt,tst>. | |
5981 | * config/aarch64/aarch64-simd-builtins.def | |
5982 | (cmeq): Update to BUILTIN_VALLDI. | |
5983 | (cmgt): Likewise. | |
5984 | (cmge): Likewise. | |
5985 | (cmle): Likewise. | |
5986 | (cmlt): Likewise. | |
5987 | * config/aarch64/arm_neon.h | |
5988 | (vc<eq, lt, le, gt, ge, tst><z><qsd>_<fpsu><8,16,32,64>): Remap | |
5989 | to builtins or C as appropriate. | |
5990 | ||
889b9412 JG |
5991 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
5992 | ||
5993 | * config/aarch64/aarch64-simd-builtins.def (cmhs): Rename to... | |
5994 | (cmgeu): ...This. | |
5995 | (cmhi): Rename to... | |
5996 | (cmgtu): ...This. | |
5997 | * config/aarch64/aarch64-simd.md | |
5998 | (simd_mode): Add SF. | |
5999 | (aarch64_vcond_internal): Use new names for unsigned comparison insns. | |
6000 | (aarch64_cm<optab><mode>): Rewrite to not use UNSPECs. | |
6001 | * config/aarch64/aarch64.md (*cstore<mode>_neg): Rename to... | |
6002 | (cstore<mode>_neg): ...This. | |
6003 | * config/aarch64/iterators.md | |
6004 | (VALLF): new. | |
6005 | (unspec): Remove UNSPEC_CM<EQ, LE, LT, GE, GT, HS, HI, TST>. | |
6006 | (COMPARISONS): New. | |
6007 | (UCOMPARISONS): Likewise. | |
6008 | (optab): Add missing comparisons. | |
6009 | (n_optab): New. | |
6010 | (cmp_1): Likewise. | |
6011 | (cmp_2): Likewise. | |
6012 | (CMP): Likewise. | |
6013 | (cmp): Remove. | |
6014 | (VCMP_S): Likewise. | |
6015 | (VCMP_U): Likewise. | |
6016 | (V_cmp_result): Add DF, SF modes. | |
6017 | (v_cmp_result): Likewise. | |
6018 | (v): Likewise. | |
6019 | (vmtype): Likewise. | |
6020 | * config/aarch64/predicates.md (aarch64_reg_or_fp_zero): New. | |
6021 | ||
0a7dbb76 GY |
6022 | 2013-05-01 Greta Yorsh <Greta.Yorsh@arm.com> |
6023 | ||
6024 | * config/arm/thumb2.md (thumb2_smaxsi3,thumb2_sminsi3): Convert | |
6025 | define_insn to define_insn_and_split. | |
6026 | (thumb32_umaxsi3,thumb2_uminsi3): Likewise. | |
6027 | (thumb2_negdi2,thumb2_abssi2,thumb2_neg_abssi2): Likewise. | |
6028 | (thumb2_mov_scc,thumb2_mov_negscc,thumb2_mov_notscc): Likewise. | |
6029 | (thumb2_movsicc_insn,thumb2_and_scc,thumb2_ior_scc): Likewise. | |
6030 | (thumb2_negscc): Likewise. | |
6031 | ||
fb614ca6 GY |
6032 | 2013-04-30 Greta Yorsh <Greta.Yorsh@arm.com> |
6033 | ||
6034 | * config/arm/thumb2.md (thumb2_incscc, thumb2_decscc): Delete. | |
6035 | ||
9e64a0bf GY |
6036 | 2013-04-30 Greta Yorsh <Greta.Yorsh@arm.com> |
6037 | ||
6038 | * config/arm/thumb2.md: Remove trailing whitespaces. | |
6039 | ||
d6b28156 RS |
6040 | 2013-04-30 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
6041 | ||
6042 | * explow.c (plus_constant): Pass "mode" to immed_double_int_const. | |
6043 | Use gen_int_mode rather than GEN_INT. | |
6044 | ||
f91674c3 L |
6045 | 2013-04-30 H.J. Lu <hongjiu.lu@intel.com> |
6046 | ||
b0dec607 | 6047 | * value-prof.c (stream_in_histogram_value): Remove the strayed |
f91674c3 L |
6048 | debug_gimple_stmt. |
6049 | ||
3551257c RB |
6050 | 2013-04-30 Richard Biener <rguenther@suse.de> |
6051 | ||
6052 | PR middle-end/57122 | |
3c21604f | 6053 | * cfghooks.c (split_edge): Properly check for the loop latch edge. |
3551257c | 6054 | |
4c1aff1c RB |
6055 | 2013-04-30 Richard Biener <rguenther@suse.de> |
6056 | ||
6057 | PR middle-end/57107 | |
6058 | * tree-eh.c (sink_clobbers): Preserve virtual SSA form. | |
6059 | ||
54b8379a AB |
6060 | 2013-04-30 Andrey Belevantsev <abel@ispras.ru> |
6061 | ||
6062 | PR rtl-optimization/56957 | |
6063 | PR rtl-optimization/57105 | |
54b8379a AB |
6064 | * sel-sched.c (move_op_orig_expr_found): Remove insn_emitted |
6065 | variable. Use just INSN_UID for determining whether an insn | |
6066 | should be only disconnected from the insn stream. | |
6067 | * sel-sched-ir.h (EXPR_WAS_CHANGED): Remove. | |
6068 | ||
abc27962 JJ |
6069 | 2013-04-30 Jakub Jelinek <jakub@redhat.com> |
6070 | ||
6071 | PR tree-optimization/57104 | |
6072 | * tsan.c (instrument_expr): Don't instrument accesses to | |
6073 | DECL_HARD_REGISTER VAR_DECLs. | |
6074 | ||
0fc822d0 RB |
6075 | 2013-04-30 Richard Biener <rguenther@suse.de> |
6076 | ||
6077 | * function.h (loops_for_fn): New inline function. | |
6078 | (set_loops_for_fn): Likewise. | |
6079 | * cfgloop.h (place_new_loop): Add struct function parameter. | |
6080 | (get_loop): Likewise. | |
6081 | (get_loops): Likewise. | |
6082 | (number_of_loops): Likewise. | |
6083 | (fel_next): Adjust. | |
6084 | (fel_init): Likewise. | |
6085 | * cfg.c (get_loop_copy): Adjust. | |
6086 | * cfgloop.c (flow_loops_dump): Likewise. | |
6087 | (record_loop_exits): Likewise. | |
6088 | (verify_loop_structure): Likewise. | |
6089 | * cfgloopanal.c (mark_irreducible_loops): Likewise. | |
6090 | (estimate_reg_pressure_cost): Likewise. | |
6091 | (mark_loop_exit_edges): Likewise. | |
6092 | * cfgloopmanip.c (place_new_loop): Likewise. | |
6093 | (add_loop): Likewise. | |
6094 | (duplicate_loop): Likewise. | |
6095 | * graph.c (draw_cfg_nodes): Likewise. | |
6096 | * graphite-clast-to-gimple.c (translate_clast_user): Likewise. | |
6097 | * graphite-sese-to-poly.c (build_scop_scattering): Likewise. | |
6098 | (extract_affine_chrec): Likewise. | |
6099 | (build_scop_iteration_domain): Likewise. | |
6100 | * graphite.c (graphite_initialize): Likewise. | |
6101 | * ira-build.c (create_loop_tree_nodes): Likewise. | |
6102 | (more_one_region_p): Likewise. | |
6103 | (rebuild_regno_allocno_maps): Likewise. | |
6104 | (mark_loops_for_removal): Likewise. | |
6105 | (mark_all_loops_for_removal): Likewise. | |
6106 | (remove_unnecessary_regions): Likewise. | |
6107 | (ira_build): Likewise. | |
6108 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
6109 | * loop-init.c (fix_loop_structure): Likewise. | |
6110 | (gate_rtl_move_loop_invariants): Likewise. | |
6111 | (gate_rtl_unswitch): Likewise. | |
6112 | (gate_rtl_unroll_and_peel_loops): Likewise. | |
6113 | (rtl_doloop): Likewise. | |
6114 | * lto-streamer-in.c (input_cfg): Likewise. | |
6115 | * lto-streamer-out.c (output_cfg): Likewise. | |
6116 | * modulo-sched.c (sms_schedule): Likewise. | |
6117 | * predict.c (tree_estimate_probability): Likewise. | |
6118 | (tree_estimate_probability_driver): Likewise. | |
6119 | (estimate_loops): Likewise. | |
6120 | * tree-cfg.c (fixup_loop_arrays_after_move): Likewise. | |
6121 | (move_sese_region_to_fn): Likewise. | |
6122 | (debug_loop_num): Likewise. | |
6123 | * tree-chrec.c (chrec_evaluate): Likewise. | |
6124 | (hide_evolution_in_other_loops_than_loop): Likewise. | |
6125 | (chrec_component_in_loop_num): Likewise. | |
6126 | (reset_evolution_in_loop): Likewise. | |
6127 | (evolution_function_is_invariant_rec_p): Likewise. | |
6128 | * tree-if-conv.c (main_tree_if_conversion): Likewise. | |
6129 | * tree-inline.c (copy_loops): Likewise. | |
6130 | (copy_cfg_body): Likewise. | |
6131 | (tree_function_versioning): Likewise. | |
6132 | * tree-loop-distribution.c (rdg_flag_loop_exits): Likewise. | |
6133 | * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop): | |
6134 | Likewise. | |
6135 | (add_to_evolution_1): Likewise. | |
6136 | (scev_const_prop): Likewise. | |
6137 | * tree-scalar-evolution.h (get_chrec_loop): Likewise. | |
6138 | * tree-ssa-loop-ch.c (copy_loop_headers): Likewise. | |
6139 | * tree-ssa-loop-im.c (analyze_memory_references): Likewise. | |
6140 | (tree_ssa_lim_initialize): Likewise. | |
6141 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Likewise. | |
6142 | (verify_loop_closed_ssa): Likewise. | |
6143 | * tree-ssa-loop.c (tree_ssa_loop_init): Likewise. | |
6144 | (tree_ssa_loop_im): Likewise. | |
6145 | (tree_ssa_loop_unswitch): Likewise. | |
6146 | (tree_vectorize): Likewise. | |
6147 | (check_data_deps): Likewise. | |
6148 | (tree_ssa_loop_ivcanon): Likewise. | |
6149 | (tree_ssa_loop_bounds): Likewise. | |
6150 | (tree_complete_unroll): Likewise. | |
6151 | (tree_complete_unroll_inner): Likewise. | |
6152 | (tree_parallelize_loops): Likewise. | |
6153 | (tree_ssa_loop_prefetch): Likewise. | |
6154 | (tree_ssa_loop_ivopts): Likewise. | |
6155 | * tree-ssa.c (execute_update_addresses_taken): Liekwise. | |
6156 | * tree-vectorizer.c (vectorize_loops): Likewise. | |
6157 | ||
37953bd3 MF |
6158 | 2013-04-29 Mike Frysinger <vapier@gentoo.org> |
6159 | ||
6160 | * config/arm/bpabi.h (EABI_LINK_SPEC): Define. | |
6161 | (BPABI_LINK_SPEC): Use new EABI_LINK_SPEC. | |
6162 | * config/arm/linux-eabi.h (LINK_SPEC): Replace BE8_LINK_SPEC | |
6163 | with EABI_LINK_SPEC. | |
6164 | ||
f9ed28db UB |
6165 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
6166 | ||
6167 | PR target/44578 | |
6168 | * config/i386/i386.md (*zero_extendsidi2): Add "!" to m->?*y | |
6169 | alternative. | |
6170 | ||
deca73f5 VM |
6171 | 2013-04-29 Vladimir Makarov <vmakarov@redhat.com> |
6172 | ||
6173 | PR target/57097 | |
37953bd3 | 6174 | * lra-constraints.c (process_alt_operands): Discourage a bit more |
deca73f5 VM |
6175 | using memory for pseudos. Print cost dump for alternatives. |
6176 | Modify cost values for conflicts with early clobbers. | |
6177 | (curr_insn_transform): Spill pseudos reassigned to NO_REGS. | |
6178 | ||
fdca7d03 UB |
6179 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
6180 | ||
6181 | PR target/57098 | |
6182 | * config/i386/i386.c (ix86_expand_vec_perm): Validize constant memory. | |
6183 | ||
0b064172 IB |
6184 | 2013-04-29 Ian Bolton <ian.bolton@arm.com> |
6185 | ||
6186 | * config/aarch64/aarch64.md (movsi_aarch64): Support LDR/STR | |
6187 | from/to S register. | |
6188 | (movdi_aarch64): Support LDR/STR from/to D register. | |
6189 | ||
473cec55 IB |
6190 | 2013-04-29 Ian Bolton <ian.bolton@arm.com> |
6191 | ||
6192 | * common/config/aarch64/aarch64-common.c: Enable REE pass at O2 | |
6193 | or higher by default. | |
6194 | ||
a6f30e66 RB |
6195 | 2013-04-29 Richard Biener <rguenther@suse.de> |
6196 | ||
6197 | PR middle-end/57075 | |
6198 | * tree-inline.c (copy_edges_for_bb): Still split the bbs, | |
6199 | even if not adding abnormal edges for calls that can make | |
6200 | abnormal gotos. | |
6201 | ||
0c2b2040 RB |
6202 | 2013-04-29 Richard Biener <rguenther@suse.de> |
6203 | ||
6204 | PR middle-end/57103 | |
6205 | * tree-cfg.c (move_stmt_op): Fix condition under which to update | |
6206 | TREE_BLOCK. | |
6207 | (move_stmt_r): Remove redundant checking. | |
6208 | ||
f41f80f9 TJ |
6209 | 2013-04-29 Teresa Johnson <tejohnson@google.com> |
6210 | ||
6211 | PR bootstrap/57077 | |
6212 | * basic-block.h (apply_scale): New function. | |
6213 | (apply_probability): Use apply_scale. | |
6214 | * gimple-streamer-in.c (input_bb): Ditto. | |
6215 | * lto-streamer-in.c (input_cfg): Ditto. | |
6216 | * lto-cgraph.c (merge_profile_summaries): Ditto. | |
6217 | * tree-optimize.c (execute_fixup_cfg): Ditto. | |
fdca7d03 | 6218 | * tree-inline.c (copy_bb): Update comment to use apply_scale. |
f41f80f9 TJ |
6219 | (copy_edges_for_bb): Ditto. |
6220 | (copy_cfg_body): Ditto. | |
6221 | ||
315bbd2e TV |
6222 | 2013-04-29 Tom de Vries <tom@codesourcery.com> |
6223 | ||
6224 | * tree-ssa-tail-merge.c (find_same_succ_bb): Skip loop latch bbs. | |
6225 | (replace_block_by): Don't set LOOPS_NEED_FIXUP. | |
6226 | (tail_merge_optimize): Handle current_loops == NULL. | |
6227 | ||
ebbd90d8 JL |
6228 | 2013-04-26 Jeff Law <law@redhat.com> |
6229 | ||
6230 | * tree-vrp.c (range_fits_type_p): Move to earlier point in file. | |
6231 | (simplify_cond_using_ranges): Generalize code to simplify | |
6232 | COND_EXPRs where one argument is a constant and the other | |
6233 | is an SSA_NAME created by an integral type conversion. | |
6234 | ||
8b9b57eb KT |
6235 | 2013-04-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
6236 | ||
6237 | * config/arm/arm.md (store_minmaxsi): Use only when | |
6238 | optimize_insn_for_size_p. | |
6239 | ||
9498e5dc CB |
6240 | 2013-04-29 Christian Bruel <christian.bruel@st.com> |
6241 | ||
6242 | PR target/57108 | |
6243 | * sh.md (tstsi_t_zero_extract_eq): Set mode for operand 0. | |
6244 | ||
6093bc06 RB |
6245 | 2013-04-29 Richard Biener <rguenther@suse.de> |
6246 | ||
6247 | PR middle-end/57089 | |
fdca7d03 UB |
6248 | * omp-low.c (expand_omp_taskreg): If the parent function had a broken |
6249 | loop tree make sure to schedule a fixup for the child as well. | |
6093bc06 RB |
6250 | (expand_omp_for_generic): Properly add loops. |
6251 | (expand_omp_for_static_nochunk): Likewise. | |
6252 | (expand_omp_for_static_chunk): Likewise. | |
6253 | (expand_omp_for): For the degenerate case fixup loops. | |
6254 | (expand_omp_sections): Fix default bb placement in loops. | |
6255 | (expand_omp_atomic_pipeline): Properly add loops. | |
6256 | ||
84aacbfd KT |
6257 | 2013-04-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
6258 | ||
6259 | * predict.c: Fix typo in comment above #define PROB_VERY_UNLIKELY. | |
6260 | ||
8dee4479 TV |
6261 | 2013-04-29 Tom de Vries <tom@codesourcery.com> |
6262 | ||
6263 | * tree-ssa-tail-merge.c: Update header comment. | |
6264 | ||
47934dc4 JG |
6265 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
6266 | ||
6267 | * config/aarch64/arm_neon.h | |
6268 | (vcvt<sd>_f<32,64>_s<32,64>): Rewrite in C. | |
6269 | (vcvt<q>_f<32,64>_s<32,64>): Rewrite using builtins. | |
6270 | (vcvt_<high_>_f<32,64>_f<32,64>): Likewise. | |
6271 | (vcvt<qsd>_<su><32,64>_f<32,64>): Likewise. | |
6272 | (vcvta<qsd>_<su><32,64>_f<32,64>): Likewise. | |
6273 | (vcvtm<qsd>_<su><32,64>_f<32,64>): Likewise. | |
6274 | (vcvtn<qsd>_<su><32,64>_f<32,64>): Likewise. | |
6275 | (vcvtp<qsd>_<su><32,64>_f<32,64>): Likewise. | |
6276 | ||
384be29f JG |
6277 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
6278 | ||
6279 | * config/aarch64/aarch64-simd.md | |
6280 | (<optab><VDQF:mode><fcvt_target>2): New, maps to fix, fixuns. | |
6281 | (<fix_trunc_optab><VDQF:mode><fcvt_target>2): New, maps to | |
6282 | fix_trunc, fixuns_trunc. | |
6283 | (ftrunc<VDQF:mode>2): New. | |
6284 | * config/aarch64/iterators.md (optab): Add fix, fixuns. | |
6285 | (fix_trunc_optab): New. | |
6286 | ||
0386b123 JG |
6287 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
6288 | ||
6289 | * config/aarch64/aarch64-builtins.c | |
6290 | (aarch64_builtin_vectorized_function): Vectorize over ifloorf, | |
6291 | iceilf, lround, iroundf. | |
6292 | ||
00fcb892 UB |
6293 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
6294 | ||
6295 | PR target/54349 | |
6296 | * config/i386/i386.h (enum ix86_tune_indices) | |
6297 | <X86_TUNE_INTER_UNIT_MOVES_TO_VEC, X86_TUNE_INTER_UNIT_MOVES_FROM_VEC>: | |
6298 | New, split from X86_TUNE_INTER_UNIT_MOVES. | |
6299 | <X86_TUNE_INTER_UNIT_MOVES>: Remove. | |
6300 | (TARGET_INTER_UNIT_MOVES_TO_VEC): New define. | |
6301 | (TARGET_INTER_UNIT_MOVES_FROM_VEC): Ditto. | |
6302 | (TARGET_INTER_UNIT_MOVES): Remove. | |
6303 | * config/i386/i386.c (initial_ix86_tune_features): Update. | |
6304 | Disable X86_TUNE_INTER_UNIT_MOVES_FROM_VEC for m_ATHLON_K8 only. | |
6305 | (ix86_expand_convert_uns_didf_sse): Use | |
6306 | TARGET_INTER_UNIT_MOVES_TO_VEC instead of TARGET_INTER_UNIT_MOVES. | |
6307 | (ix86_expand_vector_init_one_nonzero): Ditto. | |
6308 | (ix86_expand_vector_init_interleave): Ditto. | |
6309 | (inline_secondary_memory_needed): Return true for moves from SSE class | |
6310 | registers for !TARGET_INTER_UNIT_MOVES_FROM_VEC targets and for moves | |
6311 | to SSE class registers for !TARGET_INTER_UNIT_MOVES_TO_VEC targets. | |
6312 | * config/i386/constraints.md (Yi, Ym): Depend on | |
6313 | TARGET_INTER_UNIT_MOVES_TO_VEC. | |
6314 | (Yj, Yn): New constraints. | |
6315 | * config/i386/i386.md (*movdi_internal): Change constraints of | |
6316 | operand 1 from Yi to Yj and from Ym to Yn. | |
6317 | (*movsi_internal): Ditto. | |
6318 | (*movdf_internal): Ditto. | |
6319 | (*movsf_internal): Ditto. | |
6320 | (*float<SWI48x:mode><X87MODEF:mode>2_1): Use | |
6321 | TARGET_INTER_UNIT_MOVES_TO_VEC instead of TARGET_INTER_UNIT_MOVES. | |
6322 | (*float<SWI48x:mode><X87MODEF:mode>2_1 splitters): Ditto. | |
6323 | (floatdi<X87MODEF:mode>2_i387_with_xmm): Ditto. | |
6324 | (floatdi<X87MODEF:mode>2_i387_with_xmm splitters): Ditto. | |
6325 | * config/i386/sse.md (movdi_to_sse): Ditto. | |
6326 | (sse2_stored): Change constraint of operand 1 from Yi to Yj. | |
6327 | Use TARGET_INTER_UNIT_MOVES_FROM_VEC instead of | |
6328 | TARGET_INTER_UNIT_MOVES. | |
6329 | (sse_storeq_rex64): Change constraint of operand 1 from Yi to Yj. | |
6330 | (sse_storeq_rex64 splitter): Use TARGET_INTER_UNIT_MOVES_FROM_VEC | |
6331 | instead of TARGET_INTER_UNIT_MOVES. | |
6332 | * config/i386/mmx.md (*mov<mode>_internal): Change constraint of | |
6333 | operand 1 from Yi to Yj and from Ym to Yn. | |
6334 | ||
4c871069 JG |
6335 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
6336 | ||
6337 | * config/aarch64/aarch64-simd-builtins.def (vec_unpacks_hi_): New. | |
6338 | (float_truncate_hi_): Likewise. | |
6339 | (float_extend_lo_): Likewise. | |
6340 | (float_truncate_lo_): Likewise. | |
6341 | * config/aarch64/aarch64-simd.md (vec_unpacks_lo_v4sf): New. | |
6342 | (aarch64_float_extend_lo_v2df): Likewise. | |
6343 | (vec_unpacks_hi_v4sf): Likewise. | |
6344 | (aarch64_float_truncate_lo_v2sf): Likewise. | |
6345 | (aarch64_float_truncate_hi_v4sf): Likewise. | |
6346 | (vec_pack_trunc_v2df): Likewise. | |
6347 | (vec_pack_trunc_df): Likewise. | |
6348 | ||
1709ff9b JG |
6349 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
6350 | ||
6351 | * config/aarch64/aarch64-builtins.c | |
6352 | (aarch64_fold_builtin): Fold float conversions. | |
6353 | * config/aarch64/aarch64-simd-builtins.def | |
6354 | (floatv2si, floatv4si, floatv2di): New. | |
6355 | (floatunsv2si, floatunsv4si, floatunsv2di): Likewise. | |
6356 | * config/aarch64/aarch64-simd.md | |
6357 | (<optab><fcvt_target><VDQF:mode>2): New, expands to float and floatuns. | |
6358 | * config/aarch64/iterators.md (FLOATUORS): New. | |
6359 | (optab): Add float, floatuns. | |
6360 | (su_optab): Likewise. | |
6361 | ||
ce966824 JG |
6362 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
6363 | ||
6364 | * config/aarch64/aarch64-builtins.c | |
6365 | (aarch64_builtin_vectorized_function): Use new names for | |
6366 | fcvt builtins. | |
6367 | * config/aarch64/aarch64-simd-builtins.def (fcvtzs): Split as... | |
6368 | (lbtruncv2sf, lbtruncv4sf, lbtruncv2df): ...This. | |
6369 | (fcvtzu): Split as... | |
6370 | (lbtruncuv2sf, lbtruncuv4sf, lbtruncuv2df): ...This. | |
6371 | (fcvtas): Split as... | |
6372 | (lroundv2sf, lroundv4sf, lroundv2df, lroundsf, lrounddf): ...This. | |
6373 | (fcvtau): Split as... | |
6374 | (lrounduv2sf, lrounduv4sf, lrounduv2df, lroundusf, lroundudf): ...This. | |
6375 | (fcvtps): Split as... | |
6376 | (lceilv2sf, lceilv4sf, lceilv2df): ...This. | |
6377 | (fcvtpu): Split as... | |
6378 | (lceiluv2sf, lceiluv4sf, lceiluv2df, lceilusf, lceiludf): ...This. | |
6379 | (fcvtms): Split as... | |
6380 | (lfloorv2sf, lfloorv4sf, lfloorv2df): ...This. | |
6381 | (fcvtmu): Split as... | |
6382 | (lflooruv2sf, lflooruv4sf, lflooruv2df, lfloorusf, lfloorudf): ...This. | |
6383 | (lfrintnv2sf, lfrintnv4sf, lfrintnv2df, lfrintnsf, lfrintndf): New. | |
6384 | (lfrintnuv2sf, lfrintnuv4sf, lfrintnuv2df): Likewise. | |
6385 | (lfrintnusf, lfrintnudf): Likewise. | |
6386 | * config/aarch64/aarch64-simd.md | |
6387 | (l<fcvt_pattern><su_optab><fcvt_target><VDQF:mode>2): Convert to | |
6388 | define_insn. | |
6389 | (aarch64_fcvt<frint_suffix><su><mode>): Remove. | |
6390 | * config/aarch64/iterators.md (FCVT): Include UNSPEC_FRINTN. | |
6391 | (fcvt_pattern): Likewise. | |
6392 | ||
b9de24fe JG |
6393 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
6394 | ||
6395 | * config/aarch64/aarch64-simd.md | |
6396 | (l<fcvt_pattern><su_optab><fcvt_target><VDQF:mode>2): Rename to... | |
6397 | (l<fcvt_pattern><su_optab><VDQF:mode><fcvt_target>2): ... This. | |
6398 | ||
77a205be JG |
6399 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
6400 | ||
6401 | * config/aarch64/arm_neon.h (vrndq<a,m,n,p>_f<32, 64>): Rename to... | |
6402 | (vrnd<a,m,n,p>q_f<32, 64>): ...This, implement using builtin. | |
6403 | (vrnd<a,m,n,p>_f32): Implement using builtins. | |
6404 | (vrnd<i,x><q>_f<32, 64>): New. | |
6405 | ||
0659ce6f JG |
6406 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
6407 | ||
6408 | * config/aarch64/aarch64-builtins.c | |
6409 | (aarch64_builtin_vectorized_function): Fold to standard pattern names. | |
6410 | * config/aarch64/aarch64-simd-builtins.def (frintn): New. | |
6411 | (frintz): Rename to... | |
6412 | (btrunc): ...this. | |
6413 | (frintp): Rename to... | |
6414 | (ceil): ...this. | |
6415 | (frintm): Rename to... | |
6416 | (floor): ...this. | |
6417 | (frinti): Rename to... | |
6418 | (nearbyint): ...this. | |
6419 | (frintx): Rename to... | |
6420 | (rint): ...this. | |
6421 | (frinta): Rename to... | |
6422 | (round): ...this. | |
6423 | * config/aarch64/aarch64-simd.md | |
6424 | (aarch64_frint<frint_suffix><mode>): Delete. | |
6425 | (<frint_pattern><mode>2): Convert to insn. | |
6426 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_FRINTN. | |
6427 | * config/aarch64/iterators.md (FRINT): Add UNSPEC_FRINTN. | |
6428 | (frint_pattern): Likewise. | |
6429 | (frint_suffix): Likewise. | |
6430 | ||
ea78906a RB |
6431 | 2013-04-29 Richard Biener <rguenther@suse.de> |
6432 | ||
6433 | PR tree-optimization/57081 | |
6434 | * loop-init.c: Include tree-flow.h. | |
6435 | (loop_optimizer_finalize): Free number of iteration estimates. | |
6436 | * Makefile.in (loop-init.o): Add $(TREE_FLOW_H) dependency. | |
6437 | ||
baee1763 JJ |
6438 | 2013-04-29 Jakub Jelinek <jakub@redhat.com> |
6439 | ||
94dc5332 JJ |
6440 | PR tree-optimization/57083 |
6441 | * tree-vrp.c (extract_range_from_binary_expr_1): For LSHIFT_EXPR with | |
6442 | non-singleton shift count range, zero extend low_bound for uns case. | |
6443 | ||
baee1763 JJ |
6444 | * config/i386/predicates.md (general_vector_operand): New predicate. |
6445 | * config/i386/i386.c (const_vector_equal_evenodd_p): New function. | |
6446 | (ix86_expand_mul_widen_evenodd): Force op1 resp. op2 into register | |
6447 | if they aren't nonimmediate operands. If their original values | |
6448 | satisfy const_vector_equal_evenodd_p, don't shift them. | |
6449 | * config/i386/sse.md (mul<mode>3): Use general_vector_operand | |
6450 | predicates. For the SSE4.1 case force operands[{1,2}] into registers | |
6451 | if not nonimmediate_operand. | |
6452 | (vec_widen_smult_even_v4si): Use nonimmediate_operand predicates | |
6453 | instead of register_operand. | |
6454 | (vec_widen_<s>mult_odd_<mode>): Use general_vector_operand predicates. | |
6455 | ||
a9073727 | 6456 | 2013-04-28 Eric Botcazou <ebotcazou@adacore.com> |
22ad5e0a EB |
6457 | |
6458 | * stor-layout.c (finalize_size_functions): Allocate a structure and | |
6459 | reset cfun before dumping the functions. | |
6460 | ||
ba8011e6 JJ |
6461 | 2013-04-27 Jakub Jelinek <jakub@redhat.com> |
6462 | ||
d6fde69e JJ |
6463 | * config/i386/i386.c (ix86_expand_call): Make cregs_size unsigned. |
6464 | ||
ba8011e6 JJ |
6465 | PR target/56866 |
6466 | * config/i386/i386.c (ix86_expand_mul_widen_evenodd): Don't | |
6467 | use xop_pmacsdqh if uns_p. | |
6468 | * config/i386/sse.md (xop_rotr<mode>3): Fix up computation of | |
6469 | the immediate rotate count. | |
6470 | ||
2c62cbaa VM |
6471 | 2013-04-26 Vladimir Makarov <vmakarov@redhat.com> |
6472 | ||
6473 | * rtl.h (struct rtx_def): Add comment for field jump. | |
6474 | (LRA_SUBREG_P): New macro. | |
6475 | * recog.c (register_operand): Check LRA_SUBREG_P. | |
6476 | * lra.c (lra): Add note at the end of RTL code. Align non-empty | |
6477 | stack frame. | |
6478 | * lra-spills.c (lra_spill): Align stack after spilling pseudos. | |
6479 | (lra_final_code_change): Skip subreg change for operators. | |
6480 | * lra-eliminations.c (eliminate_regs_in_insn): Make return earlier | |
6481 | if there are no operand changes. | |
6482 | * lra-constraints.c (curr_insn_set): New. | |
6483 | (match_reload): Set LRA_SUBREG_P. | |
6484 | (emit_spill_move): Ditto. | |
6485 | (check_and_process_move): Use curr_insn_set. Process only single | |
6486 | set insns. Don't initialize sec_mem_p and change_p. | |
6487 | (simplify_operand_subreg): Use LRA_SUBREG_P. | |
6488 | (reg_in_class_p): New function. | |
6489 | (process_alt_operands): Use it. Use #if HAVE_ATTR_enabled instead | |
6490 | of #ifdef. Add code to remove cycling. | |
6491 | (process_address): Check EXTRA_CONSTRAINT_STR. Process even if | |
6492 | non-null disp. Reload inner instead of disp when base and index | |
6493 | are null. Try to put lo_sum into register. | |
6494 | (EBB_PROBABILITY_CUTOFF): Redefine probability in percents. | |
6495 | (check_and_process_move): Move code for move cost check to | |
6496 | simple_move_p. Remove equiv_substitution. | |
6497 | (simple_move_p): New function. | |
6498 | (curr_insn_transform): Initialize sec_mem_p and change_p. Set up | |
6499 | curr_insn_set. Call check_and_process_move only for single set | |
6500 | insns. Use the new function. Move call of check_and_process_move | |
6501 | after operand equiv substitution and address process. | |
6502 | ||
e7d764f3 JJ |
6503 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
6504 | ||
6505 | PR go/57045 | |
6506 | * tree-ssa-uninit.c (compute_uninit_opnds_pos): In functions | |
6507 | with nonlocal goto receivers or returns twice calls, ignore | |
6508 | unininitialized values from abnormal edges to nl goto receiver | |
6509 | or returns twice call. | |
6510 | ||
41e10689 JJ |
6511 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
6512 | ||
6513 | PR tree-optimization/57051 | |
6514 | * fold-const.c (const_binop): Handle VEC_LSHIFT_EXPR | |
6515 | and VEC_RSHIFT_EXPR if shift count is a multiple of element | |
6516 | bitsize. | |
6517 | ||
d7ed20db RB |
6518 | 2013-04-26 Richard Biener <rguenther@suse.de> |
6519 | ||
6520 | * omp-low.c (finalize_task_copyfn): Do not drop PROP_loops. | |
6521 | (expand_omp_taskreg): Likewise. Mark loops for fixup. | |
6522 | * tree-cfg.c (move_block_to_fn): Remap loop fathers. | |
6523 | (fixup_loop_arrays_after_move): New function. | |
6524 | (move_sese_region_to_fn): Properly outline the loop tree parts | |
6525 | of the SESE region. | |
6526 | ||
df93505e UB |
6527 | 2013-04-26 Uros Bizjak <ubizjak@gmail.com> |
6528 | ||
6529 | * config/i386/i386.md (type, unit): Fix long lines. | |
6530 | ||
dd366ec3 RB |
6531 | 2013-04-26 Richard Biener <rguenther@suse.de> |
6532 | ||
6533 | * Makefile.in (lto-streamer-in.o): Add $(CFGLOOP_H) dependency. | |
6534 | (lto-streamer-out.o): Likewise. | |
6535 | * cfgloop.c (init_loops_structure): Export, add struct function | |
6536 | argument and adjust. | |
6537 | (flow_loops_find): Adjust. | |
6538 | * cfgloop.h (enum loop_estimation): Add EST_LAST. | |
6539 | (init_loops_structure): Declare. | |
6540 | * lto-streamer-in.c: Include cfgloop.h. | |
6541 | (input_cfg): Input the loop tree. | |
6542 | * lto-streamer-out.c: Include cfgloop.h. | |
6543 | (output_cfg): Output the loop tree. | |
6544 | (output_struct_function_base): Do not drop PROP_loops. | |
6545 | ||
a9e0d843 RB |
6546 | 2013-03-26 Richard Biener <rguenther@suse.de> |
6547 | ||
6548 | * tree-cfg.c (execute_build_cfg): Build the loop tree. | |
6549 | (pass_build_cfg): Provide PROP_loops. | |
6550 | (move_sese_region_to_fn): Remove loops that are outlined into fn | |
6551 | for now. | |
6552 | * tree-inline.c: Include cfgloop.h. | |
6553 | (initialize_cfun): Do not drop PROP_loops. | |
6554 | (copy_loops): New function. | |
6555 | (copy_cfg_body): Copy loop structure. | |
6556 | (tree_function_versioning): Initialize destination loop tree. | |
6557 | * tree-ssa-loop.c (pass_tree_loop_init): Do not provide PROP_loops. | |
6558 | (pass_parallelize_loops): Do IL verification. | |
6559 | * loop-init.c (loop_optimizer_init): Fixup loops if required. | |
6560 | * tree-optimize.c (execute_fixup_cfg): If we need to cleanup | |
6561 | the CFG make sure we fixup loops as well. | |
6562 | * tree-ssa-tail-merge.c: Include cfgloop.h. | |
6563 | (replace_block_by): When merging loop latches mark loops for fixup. | |
6564 | * lto-streamer-out.c (output_struct_function_base): Drop | |
6565 | PROP_loops for now. | |
6566 | * tree-ssa-phiopt.c: Include tree-scalar-evolution.h. | |
6567 | (tree_ssa_cs_elim): Initialize the loop optimizer and SCEV. | |
6568 | * ipa-split.c: Include cfgloop.h. | |
6569 | (split_function): Add the new return block to the loop tree root. | |
6570 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Return | |
6571 | whether we have removed the forwarder block. | |
6572 | (merge_phi_nodes): If we removed a forwarder mark loops for fixup. | |
6573 | * cfgloop.h (place_new_loop): Declare. | |
6574 | * cfgloopmanip.c (place_new_loop): Export. | |
6575 | * Makefile.in (asan.o): Add $(CFGLOOP_H) dependency. | |
6576 | (tree-switch-conversion.o): Likewise. | |
6577 | (tree-complex.o): Likewise. | |
6578 | (tree-inline.o): Likewise. | |
6579 | (tree-ssa-tailmerge.o): Likewise. | |
6580 | (ipa-split.o): Likewise. | |
6581 | (tree-ssa-phiopt.o): Add $(SCEV_H) dependency. | |
6582 | (tree-ssa-copy.o): Likewise. | |
6583 | * tree-switch-conversion.c: Include cfgloop.h | |
6584 | (process_switch): If we emit a bit-test cascade, schedule loops | |
6585 | for fixup. | |
6586 | * tree-complex.c: Include cfgloop.h. | |
6587 | (expand_complex_div_wide): Properly add new basic-blocks to loops. | |
6588 | * asan.c: Include cfgloop.h. | |
6589 | (create_cond_insert_point): Properly add new basic-blocks to | |
6590 | loops, schedule loop fixup. | |
6591 | * cfgloop.c (verify_loop_structure): Check that looks are not | |
6592 | marked for fixup. | |
6593 | * omp-low.c (expand_parallel_call): Properly add new basic-blocks | |
6594 | to loops. | |
6595 | (expand_omp_for_generic): Likewise. | |
6596 | (expand_omp_sections): Likewise. | |
6597 | (expand_omp_atomic_pipeline): Schedule loops for fixup. | |
6598 | * tree-ssa-copy.c: Include tree-scalar-evolution.h. | |
6599 | (fini_copy_prop): Disable DCE in substitute_and_fold if SCEV | |
6600 | is initialized, not when loops are present. | |
6601 | * tree-parloops.c (parallelize_loops): Remove checking here. | |
6602 | * passes.c (init_optimization_passes): Schedule a copy-propagation | |
6603 | pass before complete unrolling of inner loops. | |
6604 | ||
e78e8a0b JJ |
6605 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
6606 | ||
a2e836b2 JJ |
6607 | * Makefile.in (toplev.o): Depend on diagnostic-color.h. |
6608 | * diagnostic-color.c (should_colorize): Remove _WIN32 version. | |
6609 | (colorize_init): Add argument to _WIN32 version. | |
6610 | * toplev.c: Include diagnostic-color.h. | |
6611 | (process_options): Default to -fdiagnostics-color=auto if | |
6612 | GCC_COLORS env var is in the environment. | |
6613 | * common.opt (fdiagnostics-color=): Add Var and Init. | |
df93505e UB |
6614 | * doc/invoke.texi (-fdiagnostics-color=): Document that if GCC_COLORS |
6615 | env var is in the environment, the default is auto rather than never. | |
a2e836b2 | 6616 | |
e78e8a0b JJ |
6617 | * diagnostic.h (file_name_as_prefix): Add context argument. |
6618 | * diagnostic.c (file_name_as_prefix): Likewise. Colorize | |
6619 | the string as locus. | |
6620 | * langhooks.c (lhd_print_error_function): Adjust caller. | |
6621 | ||
013e5ef9 LC |
6622 | 2013-04-25 Lawrence Crowl <crowl@google.com> |
6623 | ||
6624 | * var-tracking.c (shared_hash_def::htab): | |
6625 | Change type to hash_table. Update dependent calls and types. | |
6626 | ||
4a8fb1a1 LC |
6627 | 2013-04-25 Lawrence Crowl <crowl@google.com> |
6628 | ||
6629 | * Makefile.in: Update as needed below. | |
6630 | ||
6631 | * alloc-pool.c (static hash_table <alloc_pool_hasher> alloc_pool_hash): | |
6632 | Move declaration to after the type's method definitons. | |
6633 | ||
6634 | * attribs.c (htab_t scoped_attributes::attribute_hash): | |
6635 | Change type to hash_table. Update dependent calls and types. | |
6636 | ||
6637 | * bitmap.c (htab_t bitmap_desc_hash): | |
6638 | Change type to hash_table. Update dependent calls and types. | |
6639 | ||
6640 | * cselib.c (htab_t cselib_hash_table): | |
6641 | Change type to hash_table. Update dependent calls and types. | |
6642 | ||
6643 | * data-streamer.h (struct string_slot): Move to lto-streamer.h. | |
6644 | (hash_string_slot_node): Move implementation into lto-streamer.h | |
6645 | struct string_slot_hasher. | |
6646 | (eq_string_slot_node): Likewise. | |
6647 | ||
6648 | * data-streamer-out.c: Update output_block::string_hash_table | |
6649 | dependent calls and types. | |
6650 | ||
6651 | * dwarf2cfi.c (htab_t trace_index): | |
6652 | Change type to hash_table. Update dependent calls and types. | |
6653 | ||
6654 | * dwarf2out.c (htab_t break_out_includes::cu_hash_table): | |
6655 | Change type to hash_table. Update dependent calls and types. | |
6656 | (htab_t copy_decls_for_unworthy_types::decl_table): Likewise. | |
6657 | (htab_t optimize_external_refs::map): Likewise. | |
6658 | (htab_t output_comp_unit::extern_map): Likewise. | |
6659 | (htab_t output_comdat_type_unit::extern_map): Likewise. | |
6660 | (htab_t output_macinfo::macinfo_htab): Likewise. | |
6661 | (htab_t optimize_location_lists::htab): Likewise. | |
6662 | (htab_t dwarf2out_finish::comdat_type_table): Likewise. | |
6663 | ||
6664 | * except.c (htab_t ehspec_hash_type): | |
6665 | Change type to hash_table. Update dependent calls and types. | |
6666 | (assign_filter_values::ttypes): Likewise. | |
6667 | (assign_filter_values::ehspec): Likewise. | |
6668 | (sjlj_assign_call_site_values::ar_hash): Likewise. | |
6669 | (convert_to_eh_region_ranges::ar_hash): Likewise. | |
6670 | ||
6671 | * gcse.c (htab_t pre_ldst_table): | |
6672 | Change type to hash_table. Update dependent calls and types. | |
6673 | ||
6674 | * ggc-common.c (htab_t saving_htab): | |
6675 | Change type to hash_table. Update dependent calls and types. | |
6676 | (htab_t loc_hash): Likewise. | |
6677 | (htab_t ptr_hash): Likewise. | |
6678 | (call_count): Rename ggc_call_count. | |
6679 | (call_alloc): Rename ggc_call_alloc. | |
6680 | (loc_descriptor): Rename make_loc_descriptor. | |
6681 | (add_statistics): Rename ggc_add_statistics. | |
6682 | ||
6683 | * ggc-common.c (saving_htab): | |
6684 | Change type to hash_table. Update dependent calls and types. | |
6685 | ||
6686 | * gimple.h (struct gimplify_ctx): Move to gimplify-ctx.h. | |
6687 | (push_gimplify_context): Likewise. | |
6688 | (pop_gimplify_context): Likewise. | |
6689 | (struct gimple_temp_hash_elt): Added. | |
6690 | (struct gimplify_hasher): Likewise. | |
6691 | (struct gimplify_ctx.temp_htab): | |
6692 | Change type to hash_table. Update dependent calls and types. | |
6693 | ||
6694 | * gimple-fold.c: Include gimplify-ctx.h. | |
6695 | ||
6696 | * gimple-ssa-strength-reduction.c (htab_t base_cand_map): | |
6697 | Change type to hash_table. Update dependent calls and types. | |
6698 | (base_cand_dump_callback): Rename to ssa_base_cand_dump_callback to | |
6699 | avoid potential global name collision. | |
6700 | ||
6701 | * gimplify.c: Include gimplify-ctx.h. | |
6702 | (struct gimple_temp_hash_elt): Move to gimplify-ctx.h. | |
6703 | (htab_t gimplify_ctx::temp_htab): | |
6704 | Update dependent calls and types for new type hash_table. | |
6705 | (gimple_tree_hash): Move into gimplify_hasher in gimplify-ctx.h. | |
6706 | (gimple_tree_eq): Move into gimplify_hasher in gimplify-ctx.h. | |
6707 | ||
6708 | * gimplify-ctx.h: New. | |
6709 | (struct gimple_temp_hash_elt): Move from gimplify.c. | |
6710 | (class gimplify_hasher): New. | |
6711 | (struct gimplify_ctx): Move from gimple.h. | |
6712 | (htab_t gimplify_ctx::temp_htab): | |
6713 | Change type to hash_table. Update dependent calls and types. | |
6714 | ||
6715 | * graphite-clast-to-gimple.c: Include graphite-htab.h. | |
6716 | (htab_t ivs_params::newivs_index): | |
6717 | Change type to hash_table. Update dependent calls and types. | |
6718 | (htab_t ivs_params::params_index): Likewise. | |
6719 | (htab_t print_generated_program::params_index): Likewise. | |
6720 | (htab_t gloog::newivs_index): Likewise. | |
6721 | (htab_t gloog::params_index): Likewise. | |
6722 | ||
6723 | * graphite.c: Include graphite-htab.h. | |
6724 | 4htab_t graphite_transform_loops::bb_pbb_mapping): | |
6725 | Change type to hash_table. Update dependent calls and types. | |
6726 | ||
6727 | * graphite-clast-to-gimple.h: (extern gloog) Move to graphite-htab.h. | |
6728 | (bb_pbb_map_hash): Fold into bb_pbb_htab_type in graphite-htab.h. | |
6729 | (eq_bb_pbb_map): Fold into bb_pbb_htab_type in graphite-htab.h. | |
6730 | ||
6731 | * graphite-dependences.c: Include graphite-htab.h. | |
6732 | (loop_is_parallel_p): Change hash table type of parameter. | |
6733 | ||
6734 | * graphite-htab.h: New. | |
6735 | (typedef hash_table <bb_pbb_hasher> bb_pbb_htab_type): New. | |
6736 | (extern find_pbb_via_hash): Move from graphite-poly.h. | |
6737 | (extern loop_is_parallel_p): Move from graphite-poly.h. | |
6738 | (extern get_loop_body_pbbs): Move from graphite-poly.h. | |
6739 | ||
6740 | * graphite-poly.h (extern find_pbb_via_hash): Move to graphite-htab.h. | |
6741 | (extern loop_is_parallel_p): Move to graphite-htab.h. | |
6742 | (extern get_loop_body_pbbs): Move to graphite-htab.h. | |
6743 | ||
6744 | * haifa-sched.c (htab_t delay_htab): | |
6745 | Change type to hash_table. Update dependent calls and types. | |
6746 | (htab_t delay_htab_i2): Likewise. | |
6747 | ||
6748 | * ira-color.c (htab_t allocno_hard_regs_htab): | |
6749 | Change type to hash_table. Update dependent calls and types. | |
6750 | ||
6751 | * ira-costs.c (htab_t cost_classes_htab): | |
6752 | Change type to hash_table. Update dependent calls and types. | |
6753 | ||
6754 | * loop-invariant.c (htab_t merge_identical_invariants::eq): | |
6755 | Change type to hash_table. Update dependent calls and types. | |
6756 | ||
6757 | * loop-iv.c (htab_t bivs): | |
6758 | Change type to hash_table. Update dependent calls and types. | |
6759 | ||
6760 | * loop-unroll.c (htab_t opt_info::insns_to_split): | |
6761 | Change type to hash_table. Update dependent calls and types. | |
6762 | (htab_t opt_info::insns_with_var_to_expand): Likewise. | |
6763 | ||
6764 | * lto-streamer.h (struct string_slot): Move from data-streamer.h | |
6765 | (struct string_slot_hasher): New. | |
6766 | (htab_t output_block::string_hash_table): | |
6767 | Change type to hash_table. Update dependent calls and types. | |
6768 | ||
6769 | * lto-streamer-in.c (freeing_string_slot_hasher): New. | |
6770 | (htab_t file_name_hash_table): | |
6771 | Change type to hash_table. Update dependent calls and types. | |
6772 | ||
6773 | * lto-streamer-out.c: Update output_block::string_hash_table dependent | |
6774 | calls and types. | |
6775 | ||
6776 | * lto-streamer.c (htab_t tree_htab): | |
6777 | Change type to hash_table. Update dependent calls and types. | |
6778 | ||
6779 | * omp-low.c: Include gimplify-ctx.h. | |
6780 | ||
6781 | * passes.c (htab_t name_to_pass_map): | |
6782 | Change type to hash_table. Update dependent calls and types. | |
6783 | (pass_traverse): Rename to passes_pass_traverse. | |
6784 | ||
6785 | * plugin.c (htab_t event_tab): | |
6786 | Change type to hash_table. Update dependent calls and types. | |
6787 | ||
6788 | * postreload-gcse.c (htab_t expr_table): | |
6789 | Change type to hash_table. Update dependent calls and types. | |
6790 | (dump_hash_table_entry): Rename dump_expr_hash_table_entry. | |
6791 | ||
6792 | * sese.c (debug_rename_map_1): Make extern. | |
6793 | (htab_t copy_bb_and_scalar_dependences::rename_map): | |
6794 | Change type to hash_table. Update dependent calls and types. | |
6795 | ||
6796 | * sese.h (extern debug_rename_map): Move to .c file. | |
6797 | ||
6798 | * store-motion.c (htab_t store_motion_mems_table): | |
6799 | Change type to hash_table. Update dependent calls and types. | |
6800 | ||
6801 | * trans-mem.c (htab_t tm_new_mem_hash): | |
6802 | Change type to hash_table. Update dependent calls and types. | |
6803 | ||
6804 | * tree-browser.c (htab_t TB_up_ht): | |
6805 | Change type to hash_table. Update dependent calls and types. | |
6806 | ||
6807 | * tree-cfg.c (htab_t discriminator_per_locus): | |
6808 | Change type to hash_table. Update dependent calls and types. | |
6809 | ||
6810 | * tree-complex.c: Include tree-hasher.h | |
6811 | (htab_t complex_variable_components): | |
6812 | Change type to hash_table. Update dependent calls and types. | |
6813 | ||
6814 | * tree-eh.c (htab_t finally_tree): | |
6815 | Change type to hash_table. Update dependent calls and types. | |
6816 | ||
6817 | * tree-flow.h (extern int_tree_map_hash): Moved into tree-hasher | |
6818 | struct int_tree_hasher. | |
6819 | (extern int_tree_map_eq): Likewise. | |
6820 | (uid_decl_map_hash): Removed. | |
6821 | (extern decl_tree_map_eq): Likewise. | |
6822 | ||
6823 | * tree-hasher.h: New. | |
6824 | (struct int_tree_hasher): New. | |
6825 | (typedef int_tree_htab_type): New. | |
6826 | ||
6827 | * tree-inline.c: Include gimplify-ctx.h. | |
6828 | ||
6829 | * tree-mudflap.c: Include gimplify-ctx.h. | |
6830 | ||
6831 | * tree-parloops.c: Include tree-hasher.h. | |
6832 | (htab_t eliminate_local_variables_stmt::decl_address): | |
6833 | Change type to hash_table. Update dependent calls and types. | |
6834 | (htab_t separate_decls_in_region::decl_copies): Likewise. | |
6835 | ||
6836 | * tree-scalar-evolution.c (htab_t resolve_mixers::cache): | |
6837 | Change type to hash_table. Update dependent calls and types. | |
6838 | ||
6839 | * tree-sra.c (candidates): | |
6840 | Change type to hash_table. Update dependent calls and types. | |
6841 | ||
6842 | * tree-ssa.c (int_tree_map_eq): Moved into struct int_tree_hasher | |
6843 | in tree-flow.h. | |
6844 | (int_tree_map_hash): Likewise. | |
6845 | ||
6846 | * tree-ssa-dom.c (htab_t avail_exprs): | |
6847 | Change type to hash_table. Update dependent calls and types. | |
6848 | ||
6849 | * tree-ssa-live.c (var_map_base_init::tree_to_index): | |
6850 | Change type to hash_table. Update dependent calls and types. | |
6851 | ||
6852 | * tree-ssa-loop-ivopts.c (struct ivopts_data.inv_expr_tab): | |
6853 | Change type to hash_table. Update dependent calls and types. | |
6854 | ||
6855 | * tree-ssa-phiopt.c (seen_ssa_names): | |
6856 | Change type to hash_table. Update dependent calls and types. | |
6857 | ||
6858 | * tree-ssa-strlen.c (decl_to_stridxlist_htab): | |
6859 | Change type to hash_table. Update dependent calls and types. | |
6860 | ||
6861 | * tree-ssa-uncprop.c (equiv): | |
6862 | Change type to hash_table. Update dependent calls and types. | |
6863 | ||
c5a44004 JJ |
6864 | 2013-04-25 Jakub Jelinek <jakub@redhat.com> |
6865 | ||
6866 | PR rtl-optimization/57003 | |
6867 | * regcprop.c (copyprop_hardreg_forward_1): If ksvd.ignore_set_reg, | |
6868 | call note_stores with kill_clobbered_value callback again after | |
6869 | killing regs_invalidated_by_call. | |
6870 | ||
09962a4a JG |
6871 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
6872 | ||
6873 | * config/aarch64/aarch64-simd.md | |
6874 | (aarch64_simd_bsl<mode>_internal): Rewrite RTL to not use UNSPEC_BSL. | |
6875 | (aarch64_simd_bsl<mode>): Likewise. | |
6876 | * config/aarch64/iterators.md (unspec): Remove UNSPEC_BSL. | |
6877 | ||
ea28bb0b MP |
6878 | 2013-04-25 Marek Polacek <polacek@redhat.com> |
6879 | ||
6880 | PR tree-optimization/57066 | |
3c21604f | 6881 | * builtins.c (fold_builtin_logb): Return +Inf for -Inf. |
ea28bb0b | 6882 | |
96659611 JG |
6883 | 2013-04-25 James Greenhalgh <jame.greenhalgh@arm.com> |
6884 | ||
6885 | * config/aarch64/aarch64-simd.md (neg<mode>2): Use VDQ iterator. | |
6886 | ||
9697e620 JG |
6887 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
6888 | ||
6889 | * config/aarch64/aarch64-builtins.c | |
6890 | (aarch64_fold_builtin): New. | |
6891 | * config/aarch64/aarch64-protos.h (aarch64_fold_builtin): New. | |
6892 | * config/aarch64/aarch64.c (TARGET_FOLD_BUILTIN): Define. | |
6893 | * config/aarch64/aarch64-simd-builtins.def (abs): New. | |
6894 | * config/aarch64/arm_neon.h | |
6895 | (vabs<q>_<f32, 64>): Implement using __builtin_aarch64_fabs. | |
6896 | ||
0ac198d3 JG |
6897 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
6898 | Tejas Belagod <tejas.belagod@arm.com> | |
6899 | ||
6900 | * config/aarch64/aarch64-builtins.c | |
6901 | (aarch64_gimple_fold_builtin): New. | |
6902 | * config/aarch64/aarch64-protos.h (aarch64_gimple_fold_builtin): New. | |
6903 | * config/aarch64/aarch64-simd-builtins.def (addv): New. | |
6904 | * config/aarch64/aarch64-simd.md (addpv4sf): New. | |
6905 | (addvv4sf): Update. | |
6906 | * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Define. | |
6907 | ||
58cff58c N |
6908 | 2013-04-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
6909 | ||
df93505e | 6910 | * config/aarch64/aarch64.md |
58cff58c N |
6911 | (*cmp_swp_<optab><ALLX:mode>_shft_<GPI:mode>): New pattern. |
6912 | ||
7e0228bf N |
6913 | 2013-04-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
6914 | ||
6915 | * config/aarch64/aarch64.md (*ngc<mode>): New pattern. | |
6916 | (*ngcsi_uxtw): New pattern. | |
6917 | ||
5819f96f | 6918 | 2013-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3c21604f | 6919 | Julian Brown <julian@codesourcery.com> |
5819f96f KT |
6920 | |
6921 | * config/arm/arm.c (neon_builtin_type_mode): Add T_V4HF. | |
6922 | (TB_DREG): Add T_V4HF. | |
6923 | (v4hf_UP): New macro. | |
6924 | (neon_itype): Add NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. | |
df93505e | 6925 | (arm_init_neon_builtins): Handle NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. |
5819f96f KT |
6926 | Handle initialisation of V4HF. Adjust initialisation of reinterpret |
6927 | built-ins. | |
df93505e | 6928 | (arm_expand_neon_builtin): Handle NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. |
5819f96f KT |
6929 | (arm_vector_mode_supported_p): Handle V4HF. |
6930 | (arm_mangle_map): Handle V4HFmode. | |
6931 | * config/arm/arm.h (VALID_NEON_DREG_MODE): Add V4HF. | |
6932 | * config/arm/arm_neon_builtins.def: Add entries for | |
6933 | vcvtv4hfv4sf, vcvtv4sfv4hf. | |
6934 | * config/arm/neon.md (neon_vcvtv4sfv4hf): New pattern. | |
6935 | (neon_vcvtv4hfv4sf): Likewise. | |
6936 | * config/arm/neon-gen.ml: Handle half-precision floating point | |
6937 | features. | |
6938 | * config/arm/neon-testgen.ml: Handle Requires_FP_bit feature. | |
6939 | * config/arm/arm_neon.h: Regenerate. | |
6940 | * config/arm/neon.ml (type elts): Add F16. | |
6941 | (type vectype): Add T_float16x4, T_floatHF. | |
6942 | (type vecmode): Add V4HF. | |
6943 | (type features): Add Requires_FP_bit feature. | |
6944 | (elt_width): Handle F16. | |
6945 | (elt_class): Likewise. | |
6946 | (elt_of_class_width): Likewise. | |
6947 | (mode_of_elt): Refactor. | |
6948 | (type_for_elt): Handle F16, fix error messages. | |
6949 | (vectype_size): Handle T_float16x4. | |
6950 | (vcvt_sh): New function. | |
6951 | (ops): Add entries for vcvt_f16_f32, vcvt_f32_f16. | |
6952 | (string_of_vectype): Handle T_floatHF, T_float16, T_float16x4. | |
6953 | (string_of_mode): Handle V4HF. | |
6954 | * doc/arm-neon-intrinsics.texi: Regenerate. | |
6955 | ||
1ef395e4 JG |
6956 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
6957 | ||
6958 | * config/aarch64/aarch64.c (aarch64_print_operand): Fix asm_fprintf | |
6959 | format specifier in 'X' case. | |
6960 | ||
41c34e94 AM |
6961 | 2013-04-25 Alan Modra <amodra@gmail.com> |
6962 | ||
6963 | PR target/57052 | |
6964 | * config/rs6000/rs6000.md (rotlsi3_internal7): Rename to | |
6965 | rotlsi3_internal7le and condition on !BYTES_BIG_ENDIAN. | |
6966 | (rotlsi3_internal8be): New BYTES_BIG_ENDIAN insn. | |
6967 | Repeat for many other rotate/shift and mask patterns using subregs. | |
6968 | Name lshiftrt insns. | |
6969 | (ashrdisi3_noppc64): Rename to ashrdisi3_noppc64be and condition | |
6970 | on WORDS_BIG_ENDIAN. | |
6971 | ||
b9a7eb5d AM |
6972 | 2013-04-25 Alan Modra <amodra@gmail.com> |
6973 | ||
6974 | * config.gcc: Support little-endian powerpc-linux targets. | |
6975 | * config/rs6000/linux.h (LINK_OS_LINUX_EMUL): Define. | |
6976 | (LINK_OS_LINUX_SPEC): Define. | |
6977 | * config/rs6000/linuxspe.h (TARGET_DEFAULT): | |
6978 | Preserve MASK_LITTLE_ENDIAN. | |
6979 | * config/rs6000/default64.h (TARGET_DEFAULT): Likewise. | |
6980 | * config/rs6000/linuxaltivec.h (TARGET_DEFAULT): Likewise. | |
6981 | * config/rs6000/linux64.h (OPTION_LITTLE_ENDIAN): Don't zero. | |
6982 | (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Define. | |
6983 | (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Use above. | |
6984 | * config/rs6000/rs6000.c (output_toc): Don't use .tc for TARGET_ELF. | |
6985 | Correct fp word order for little-endian. Don't shift toc entries | |
6986 | smaller than a word for little-endian. | |
6987 | * config/rs6000/rs6000.md (bswaphi2, bswapsi2 split): Comment. | |
6988 | (bswapdi2 splits): Correct low-part subreg for little-endian. | |
6989 | Remove wrong BYTES_BIG_ENDIAN tests, and rename vars to remove | |
6990 | low/high where such is correct only for be. | |
6991 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Allow | |
6992 | little-endian for -mcall-aixdesc. | |
6993 | ||
87f73374 AM |
6994 | 2013-04-25 Alan Modra <amodra@gmail.com> |
6995 | ||
6996 | * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use | |
6997 | replace_equiv_address_nv. | |
6998 | ||
cabf91cd AM |
6999 | 2013-04-25 Alan Modra <amodra@gmail.com> |
7000 | ||
7001 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Tidy. | |
7002 | ||
0ae24cc8 VM |
7003 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
7004 | ||
7005 | Revert: | |
7006 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> | |
7007 | * rtl.h (struct rtx_def): ... | |
cabf91cd | 7008 | |
77bce07c VM |
7009 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
7010 | ||
7011 | PR rtl-optimizations/57046 | |
7012 | * lra-constraints (split_reg): Set up lra_risky_transformations_p | |
7013 | for multi-reg splits. | |
7014 | ||
0db63e7f L |
7015 | 2013-04-24 H.J. Lu <hongjiu.lu@intel.com> |
7016 | ||
7017 | * config/i386/x86-64.h (ASM_SPEC): Support -mx32. | |
7018 | ||
3362b6b6 SA |
7019 | 2013-04-24 Sterling Augustine <saugustine@google.com> |
7020 | ||
7021 | * dwarf2out.c (skeleton_debug_str_hash, add_skeleton_AT_string) | |
7022 | (comp_dir_string, debug_str_dwo_section): New. | |
7023 | (DEBUG_STR_DWO_SECTION): Rename to ... | |
7024 | (DEBUG_DWO_STR_SECTION): ... this. | |
7025 | (DEBUG_NORM_STR_SECTION): Delete. | |
7026 | (DEBUG_STR_SECTION, DEBUG_STR_SECTION_FLAGS): Edit definitions. | |
7027 | (DEBUG_STR_DWO_SECTION_FLAGS): New. | |
7028 | (find_AT_string): Move most logic to ... | |
7029 | (find_AT_string_in_table): ... here. New. | |
7030 | (add_top_level_skeleton_die_attrs): Call comp_dir_string and | |
7031 | add_skeleton_AT_string. Delete logic. | |
7032 | (output_skeleton_debug_sections): Remove call to | |
7033 | add_top_level_skeleton_die_attrs. | |
7034 | (add_comp_dir_attribute): Move logic to comp_dir_string. | |
7035 | (dwarf2out_init): Initialize debug_str_dwo_section. | |
7036 | (output_indirect_string): Call find_string_form. | |
7037 | (output_indirect_strings): Rewrite. | |
7038 | (prune_unused_types): Empty skeleton_debug_str_hash. | |
7039 | Call get_skeleton_type_unit and add_top_level_skeleton_die_attrs. | |
7040 | (dwarf2out_finish): Call output_indirect_strings. | |
7041 | ||
e93e18e9 PC |
7042 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
7043 | ||
7044 | * doc/cpp.texi: Remove __GXX_EXPERIMENTAL_CXX1Y__. | |
7045 | ||
f6ce35ac VM |
7046 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
7047 | ||
cabf91cd | 7048 | * rtl.h (struct rtx_def): Add comment for field jump. |
f6ce35ac VM |
7049 | (LRA_SUBREG_P): New macro. |
7050 | * recog.c (register_operand): Check LRA_SUBREG_P. | |
7051 | * lra.c (lra): Add note at the end of RTL code. Align non-empty | |
7052 | stack frame. | |
7053 | * lra-spills.c (lra_spill): Align stack after spilling pseudos. | |
7054 | (lra_final_code_change): Skip subreg change for operators. | |
7055 | * lra-eliminations.c (eliminate_regs_in_insn): Make return earlier | |
7056 | if there are no operand changes. | |
7057 | * lra-constraints.c (curr_insn_set): New. | |
7058 | (match_reload): Set LRA_SUBREG_P. | |
7059 | (emit_spill_move): Ditto. | |
7060 | (check_and_process_move): Use curr_insn_set. Process only single | |
7061 | set insns. Don't initialize sec_mem_p and change_p. | |
7062 | (simplify_operand_subreg): Use LRA_SUBREG_P. | |
7063 | (reg_in_class_p): New function. | |
7064 | (process_alt_operands): Use it. Use #if HAVE_ATTR_enabled instead | |
7065 | of #ifdef. Add code to remove cycling. | |
7066 | (process_address): Check EXTRA_CONSTRAINT_STR. Process even if | |
7067 | non-null disp. Reload inner instead of disp when base and index | |
7068 | are null. Try to put lo_sum into register. | |
7069 | (EBB_PROBABILITY_CUTOFF): Redefine probability in percents. | |
cabf91cd | 7070 | (check_and_process_move): Move code for move cost check to |
f6ce35ac | 7071 | simple_move_p. Remove equiv_substitution. |
cabf91cd | 7072 | (simple_move_p): New function. |
f6ce35ac VM |
7073 | (curr_insn_transform): Initialize sec_mem_p and change_p. Set up |
7074 | curr_insn_set. Call check_and_process_move only for single set | |
7075 | insns. Use the new function. Move call of check_and_process_move | |
7076 | after operand equiv substitution and address process. | |
7077 | ||
38047d90 JG |
7078 | 2013-04-24 James Greenhalgh <james.greenhalgh@arm.com> |
7079 | ||
7080 | * config/aarch64/arm_neon.h (vld1<q>_lane*): Fix constraints. | |
7081 | (vld1<q>_dup_<sufp><8, 16, 32, 64>): Likewise. | |
7082 | (vld1<q>_<sufp><8, 16, 32, 64>): Likewise. | |
7083 | ||
13f39b2e PC |
7084 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
7085 | ||
7086 | * doc/cpp.texi: Document __GXX_EXPERIMENTAL_CXX1Y__. | |
7087 | ||
97c116dc MP |
7088 | 2013-04-24 Marek Polacek <polacek@redhat.com> |
7089 | ||
7090 | * tree-scalar-evolution.h (analyze_scalar_evolution): Remove. | |
7091 | * tree-scalar-evolution.c (get_exit_conditions_rec): Likewise. | |
7092 | (select_loops_exit_conditions): Likewise. | |
7093 | (number_of_iterations_for_all_loops): Likewise. | |
7094 | (analyze_scalar_evolution_for_all_loop_phi_nodes): Likewise. | |
7095 | (scev_analysis): Likewise. | |
7096 | ||
83082391 CM |
7097 | 2013-04-02 Catherine Moore <clm@codesourcery.com> |
7098 | Chao-ying Fu <fu@mips.com> | |
7099 | ||
cabf91cd AM |
7100 | * config/mips/micromips.md (jraddiusp): New pattern. |
7101 | * config/mips/mips.c (mips_expand_epilogue): Use the JRADDIUSP | |
7102 | instruction if possible. | |
83082391 | 7103 | |
19e34aa2 AM |
7104 | 2013-04-24 Alan Modra <amodra@gmail.com> |
7105 | ||
7106 | * config/rs6000/driver-rs6000.c (elf_dcachebsize): Fix comment pasto. | |
7107 | ||
fdb6603c JB |
7108 | 2013-04-24 Julian Brown <julian@codesourcery.com> |
7109 | Chung-Lin Tang <cltang@codesourcery.com> | |
7110 | ||
7111 | * dwarf2out.c (gen_enumeration_type_die): Fix HOST_BITS_PER_WIDE_INT | |
df93505e UB |
7112 | dependency behavior in enumeration type DIE generation. Add TODO note |
7113 | to comments about future DW_FORM_sdata/udata re-work of related code. | |
fdb6603c | 7114 | |
bf190e8d LC |
7115 | 2013-04-23 Lawrence Crowl <crowl@google.com> |
7116 | ||
7117 | * Makefile.in: Update as needed below. | |
7118 | ||
7119 | * hash-table.h (class hash_table): | |
7120 | Correct many methods with parameter types compare_type to the correct | |
7121 | value_type. (Correct code was unlikely to notice the change.) | |
7122 | (hash_table::elements_with_deleted) New. | |
7123 | (class hashtable::iterator): New. | |
7124 | (hashtable::begin()): New. | |
7125 | (hashtable::end()): New. | |
7126 | (FOR_EACH_HASH_TABLE_ELEMENT): New. | |
7127 | ||
7128 | * statistics.c (statistics_hashes): | |
7129 | Change type to hash_table. Update dependent calls and types. | |
7130 | ||
7131 | * tree-into-ssa.c (var_infos): | |
7132 | Change type to hash_table. Update dependent calls and types. | |
7133 | ||
7134 | * tree-ssa-coalesce.c (struct coalesce_list_d.list): | |
7135 | Change type to hash_table. Update dependent calls and types. | |
7136 | ||
7137 | * tree-ssa-loop-im.c (struct mem_ref.refs): | |
7138 | Change type to hash_table. Update dependent calls and types. | |
7139 | ||
7140 | * tree-ssa-reassoc.c (undistribute_ops_list::ctable): | |
7141 | Change type to hash_table. Update dependent calls and types. | |
7142 | ||
7143 | * tree-ssa-sccvn.c (vn_tables_s::nary): | |
7144 | Change type to hash_table. Update dependent calls and types. | |
7145 | (vn_tables_s::phis): Likewise. | |
7146 | (vn_tables_s::references): Likewise. | |
7147 | ||
7148 | * tree-ssa-sccvn.h (vn_nary_op_eq): Update parameter and return types. | |
7149 | (vn_reference_eq): Update parameter and return types. | |
7150 | ||
7151 | * tree-ssa-structalias.c (pointer_equiv_class_table): | |
7152 | Change type to hash_table. Update dependent calls and types. | |
7153 | (location_equiv_class_table): Likewise. | |
7154 | ||
7155 | * tree-vect-data-refs.c: Consequential changes for making | |
7156 | peeling a hash_table. | |
7157 | ||
7158 | * tree-vect-loop.c (new_loop_vec_info): Dependent hash_table update. | |
7159 | (destroy_loop_vec_info): Dependent hash_table update. | |
7160 | ||
7161 | * tree-vectorizer.h (peeling_htab): | |
7162 | Change type to hash_table. Update dependent calls and types. | |
7163 | ||
d70a81dd SC |
7164 | 2013-04-23 Shiva Chen <shiva0217@gmail.com> |
7165 | ||
cabf91cd AM |
7166 | * lra-assigns.c (find_hard_regno_for): Use lra_reg_val_equal_p |
7167 | to check the register content is equal or not. | |
7168 | * lra-constraints.c (match_reload): Use lra_assign_reg_val | |
7169 | to assign register content record. | |
7170 | * lra-eliminations.c (update_reg_eliminate): Use | |
d70a81dd | 7171 | lra_update_reg_val_offset to update register content offset. |
cabf91cd AM |
7172 | * lra-int.h (struct lra_reg): Add offset member. |
7173 | (lra_reg_val_equal_p): New static inline function. | |
7174 | (lra_update_reg_val_offset): New static inline function. | |
7175 | (lra_assign_reg_val): New static inline function. | |
7176 | * lra.c (lra_create_new_reg): Use lra_assign_reg_val | |
7177 | to assign register content record. | |
7178 | (initialize_lra_reg_info_element): Initial offset to zero. | |
d70a81dd | 7179 | |
b894a1f3 CM |
7180 | 2013-04-23 Catherine Moore <clm@codesourcery.com> |
7181 | ||
7182 | * config/mips/mips.md (*movhi_internal, *movqi_internal): New | |
7183 | operands. Record compression. | |
7184 | ||
ecd14de9 XDL |
7185 | 2013-04-23 Xinliang David Li <davidxl@google.com> |
7186 | ||
7187 | * cfghhooks.c (dump_bb_for_graph): Support 'slim' graph dump. | |
7188 | ||
92e776e9 RB |
7189 | 2013-04-23 Richard Biener <rguenther@suse.de> |
7190 | ||
7191 | PR middle-end/57036 | |
7192 | * tree-inline.c (copy_edges_for_bb): Add can_make_abnormal_goto | |
7193 | parameter, only add abnormal goto edges from the copied body | |
7194 | if the call could perform abnormal gotos. | |
7195 | (copy_cfg_body): Adjust. | |
7196 | ||
a15ee567 SN |
7197 | 2013-04-23 Sofiane Naci <sofiane.naci@arm.com> |
7198 | ||
7199 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add simd attribute. | |
7200 | ||
08c52234 AS |
7201 | 2013-04-23 Andreas Schwab <schwab@linux-m68k.org> |
7202 | ||
7203 | * coretypes.h (gimple_stmt_iterator): Add struct to make | |
7204 | compatible with C. | |
7205 | ||
999c1171 RB |
7206 | 2013-04-23 Richard Biener <rguenther@suse.de> |
7207 | ||
7208 | PR tree-optimization/57026 | |
7209 | * tree-vrp.c (simplify_conversion_using_ranges): Do not propagate | |
7210 | from SSA names occuring in abnormal PHI nodes. | |
7211 | ||
53669259 AK |
7212 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
7213 | ||
7214 | * lto/lto.c (print_lto_report_1): Fix LTO report names. | |
7215 | ||
1a0ad150 AK |
7216 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
7217 | ||
7218 | * lto/lto.c (print_lto_report_1): Declare early. | |
7219 | (read_cgraph_and_symbols): Call print_lto_report_1 early. | |
7220 | ||
057f8f20 AK |
7221 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
7222 | ||
7223 | * common.opt (-flto-report-wpa): Add. | |
7224 | * doc/invoke.texi (-flto-report-wpa): Add. | |
7225 | * lto/lto.c (do_whole_program_analysis): Check for lto-report-wpa. | |
7226 | (lto_main): dito. | |
7227 | ||
473b1e05 XDL |
7228 | 2013-04-22 Xinliang David Li <davidxl@google.com> |
7229 | ||
7230 | * graph.c (draw_cfg_node_succ_edges): Add branch probility as label. | |
7231 | * cfghhooks.c (dump_bb_for_graph): Dump profile count and frquency. | |
7232 | * Makefile.in: New dependency | |
7233 | ||
cabf91cd | 7234 | David Daney <ddaney.cavm@gmail.com> |
b1485a33 | 7235 | |
cabf91cd AM |
7236 | * configure.ac (gcc_cv_as_micromips_support): Use the |
7237 | --fatal-warnings option. | |
7238 | * configure: Regenerate. | |
b1485a33 | 7239 | |
829d0168 MP |
7240 | 2013-04-22 Marek Polacek <polacek@redhat.com> |
7241 | ||
7242 | PR sanitizer/56990 | |
7243 | * tsan.c (instrument_expr): Don't instrument expression | |
7244 | in case its size is zero. | |
7245 | ||
6d9b7208 UB |
7246 | 2013-04-22 Uros Bizjak <ubizjak@gmail.com> |
7247 | ||
7248 | PR target/57032 | |
7249 | Revert: | |
7250 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> | |
7251 | ||
7252 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
7253 | ||
ea679d55 JG |
7254 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
7255 | ||
7256 | * coretypes.h (gimple_stmt_iterator_d): Forward declare. | |
7257 | (gimple_stmt_iterator): New typedef. | |
7258 | * gimple.h (gimple_stmt_iterator): Rename to... | |
7259 | (gimple_stmt_iterator_d): ... This. | |
7260 | * doc/tm.texi.in (TARGET_FOLD_BUILTIN): Detail restriction that | |
7261 | trees be valid for GIMPLE and GENERIC. | |
7262 | (TARGET_GIMPLE_FOLD_BUILTIN): New. | |
7263 | * gimple-fold.c (gimple_fold_call): Call target hook | |
7264 | gimple_fold_builtin. | |
7265 | * hooks.c (hook_bool_gsiptr_false): New. | |
7266 | * hooks.h (hook_bool_gsiptr_false): New. | |
7267 | * target.def (fold_stmt): New. | |
7268 | * doc/tm.texi: Regenerate. | |
7269 | ||
88a581da VM |
7270 | 2013-04-22 Vladimir Makarov <vmakarov@redhat.com> |
7271 | ||
7272 | PR target/57018 | |
7273 | * lra-eliminations.c (mark_not_eliminable): Prevent elimination of | |
7274 | a set sp if no stack realignment. | |
7275 | ||
92be22dc NC |
7276 | 2013-04-22 Nick Clifton <nickc@redhat.com> |
7277 | ||
7278 | * config.gcc (tilegx-linux): Extend extra_objs rather than | |
7279 | overwriting it. | |
7280 | (tilepro-linux): Likewise. | |
7281 | ||
0ddec79f JG |
7282 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
7283 | ||
7284 | * config/aarch64/aarch64-builtins.c | |
7285 | (CF): Remove. | |
7286 | (CF0, CF1, CF2, CF3, CF4, CF10): New. | |
7287 | (VAR<1-12>): Add MAP parameter. | |
7288 | (BUILTIN_*): Likewise. | |
7289 | * config/aarch64/aarch64-simd-builtins.def: Set MAP parameter. | |
7290 | * config/aarch64/aarch64-simd.md (aarch64_sshl_n<mode>): Remove. | |
7291 | (aarch64_ushl_n<mode>): Likewise. | |
7292 | (aarch64_sshr_n<mode>): Likewise. | |
7293 | (aarch64_ushr_n<mode>): Likewise. | |
7294 | (aarch64_<maxmin><mode>): Likewise. | |
7295 | (aarch64_sqrt<mode>): Likewise. | |
7296 | * config/aarch64/arm_neon.h (vshl<q>_n_*): Use new builtin names. | |
7297 | (vshr<q>_n_*): Likewise. | |
7298 | ||
0050faf8 JG |
7299 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
7300 | ||
7301 | * config/aarch64/aarch64-builtins.c | |
7302 | (aarch64_simd_builtin_type_mode): Handle SF types. | |
7303 | (sf_UP): Define. | |
7304 | (BUILTIN_GPF): Define. | |
7305 | (aarch64_init_simd_builtins): Handle SF types. | |
7306 | * config/aarch64/aarch64-simd-builtins.def (frecpe): Add support. | |
7307 | (frecps): Likewise. | |
7308 | (frecpx): Likewise. | |
7309 | * config/aarch64/aarch64-simd.md | |
7310 | (simd_types): Update simd_frcp<esx> to simd_frecp<esx>. | |
7311 | (aarch64_frecpe<mode>): New. | |
7312 | (aarch64_frecps<mode>): Likewise. | |
7313 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_FRECP<ESX>. | |
7314 | (v8type): Add frecp<esx>. | |
7315 | (aarch64_frecp<FRECP:frecp_suffix><mode>): New. | |
7316 | (aarch64_frecps<mode>): Likewise. | |
7317 | * config/aarch64/iterators.md (FRECP): New. | |
7318 | (frecp_suffix): Likewise. | |
7319 | * config/aarch64/arm_neon.h | |
7320 | (vrecp<esx><qsd>_<fd><32, 64>): Convert to using builtins. | |
7321 | ||
0fad3dbc | 7322 | 2013-04-22 Christian Bruel <christian.bruel@st.com> |
1818d01c CB |
7323 | |
7324 | PR target/56995 | |
7325 | * config/sh/sh.h (enum reg_class): Remove DF_HI_REGS. | |
7326 | (REG_CLASS_NAMES): Idem. | |
7327 | (REG_CLASS_CONTENTS): Idem. | |
7328 | (REGCLASS_HAS_FP_REG): Idem. | |
7329 | * config/sh/sh.c (sh_cannot_change_mode_class): Idem. | |
7330 | (sh_conditional_register_usage): Idem. | |
7331 | ||
3e8a33f9 JL |
7332 | 2013-04-21 Jeff Law <law@redhat.com> |
7333 | ||
7334 | * tree-ssa-forwprop.c (simplify_conversion_from_bitmask): New function. | |
7335 | (ssa_forward_propagate_and_combine): Use it. | |
7336 | ||
f38e1b0a VM |
7337 | 2013-04-19 Vladimir Makarov <vmakarov@redhat.com> |
7338 | ||
7339 | * lra.c: Update the flow chart diagram. | |
7340 | ||
682303da VM |
7341 | 2013-04-19 Vladimir Makarov <vmakarov@redhat.com> |
7342 | ||
7343 | PR rtl-optimization/56847 | |
7344 | * lra-constraints.c (process_alt_operands): Discourage alternative | |
7345 | with non-matche doffsettable memory constraint fro memory with | |
7346 | known offset. | |
7347 | ||
f6b64c35 RB |
7348 | 2013-04-19 Richard Biener <rguenther@suse.de> |
7349 | ||
7350 | PR tree-optimization/56982 | |
7351 | * builtins.def (BUILT_IN_LONGJMP): longjmp is not a leaf | |
7352 | function. | |
7353 | * gimplify.c (gimplify_call_expr): Notice special calls. | |
7354 | (gimplify_modify_expr): Likewise. | |
7355 | * tree-cfg.c (make_abnormal_goto_edges): Handle setjmp-like | |
7356 | abnormal control flow receivers. | |
7357 | (call_can_make_abnormal_goto): Handle cfun->calls_setjmp | |
7358 | in the same way as cfun->has_nonlocal_labels. | |
7359 | (gimple_purge_dead_abnormal_call_edges): Likewise. | |
7360 | (stmt_starts_bb_p): Make setjmp-like abnormal control flow | |
7361 | receivers start a basic-block. | |
7362 | ||
01d8bf07 RB |
7363 | 2013-04-19 Richard Biener <rguenther@suse.de> |
7364 | ||
7365 | * tree-vectorizer.h (struct _slp_instance): Move load_permutation | |
7366 | member ... | |
7367 | (struct _slp_tree): ... here. Make it a vector of unsigned ints. | |
7368 | (SLP_INSTANCE_LOAD_PERMUTATION): Remove. | |
7369 | (SLP_TREE_LOAD_PERMUTATION): Add. | |
7370 | (vect_transform_slp_perm_load): Adjust prototype. | |
7371 | * tree-vect-slp.c (vect_free_slp_tree): Adjust. | |
7372 | (vect_free_slp_instance): Likewise. | |
7373 | (vect_create_new_slp_node): Likewise. | |
7374 | (vect_supported_slp_permutation_p): Remove. | |
7375 | (vect_slp_rearrange_stmts): Adjust. | |
7376 | (vect_supported_load_permutation_p): Likewise. Inline | |
7377 | vect_supported_slp_permutation_p here. | |
7378 | (vect_analyze_slp_instance): Compute load permutations per | |
7379 | slp node instead of per instance. | |
7380 | (vect_get_slp_defs): Adjust. | |
7381 | (vect_transform_slp_perm_load): Likewise. | |
7382 | (vect_schedule_slp_instance): Remove redundant code. | |
7383 | (vect_schedule_slp): Remove hack for PR56270, add it ... | |
7384 | * tree-vect-stmts.c (vectorizable_load): ... here, do not | |
7385 | CSE loads for SLP. Adjust. | |
7386 | ||
ede22fc3 GY |
7387 | 2013-04-19 Greta Yorsh <Greta.Yorsh@arm.com> |
7388 | ||
7389 | * config/arm/arm.c (load_multiple_sequence, ldm_stm_operation_p): Fix | |
7390 | spelling in two comments. | |
7391 | ||
67bc84fb GY |
7392 | 2013-04-19 Greta Yorsh <Greta.Yorsh@arm.com> |
7393 | ||
7394 | PR target/56797 | |
7395 | * config/arm/arm.c (load_multiple_sequence): Require SP | |
7396 | as base register for loads if SP is in the register list. | |
7397 | ||
e248d83f MJ |
7398 | 2013-04-19 Martin Jambor <mjambor@suse.cz> |
7399 | ||
7400 | PR tree-optimization/56718 | |
7401 | * ipa-cp.c (ipa_value_from_known_type_jfunc): Moved... | |
7402 | * ipa-prop.c (ipa_binfo_from_known_type_jfunc): ...here, renamed | |
7403 | and made public. Adjusted all callers. | |
7404 | (ipa_intraprocedural_devirtualization): New function. | |
7405 | * ipa-prop.h (ipa_binfo_from_known_type_jfunc): Declare. | |
7406 | (ipa_intraprocedural_devirtualization): Likewise. | |
7407 | * Makefile.in (tree-ssa-pre.o): Add ipa-prop.h to dependencies. | |
7408 | ||
4891e8f8 RB |
7409 | 2013-04-19 Richard Biener <rguenther@suse.de> |
7410 | ||
7411 | PR tree-optimization/57000 | |
7412 | * tree-ssa-reassoc.c (pass_reassoc): Add TODO_update_ssa_only_virtuals. | |
7413 | ||
dad89f7c TG |
7414 | 2013-04-19 Terry Guo <terry.guo@arm.com> |
7415 | ||
7416 | * config/arm/cortex-m4-fpu.md (cortex_m4_v): Delete cpu unit. | |
7417 | Replace with ... | |
7418 | (cortex_m4_v_a, cortex_m4_v_b): ... new cpu units. | |
7419 | (cortex_m4_v, cortex_m4_exa_va, cortex_m4_exb_vb): New reservations. | |
7420 | (cortex_m4_fmacs): Use new reservations. | |
7421 | (cortex_m4_f_load, cortex_m4_f_store): Likewise. | |
7422 | ||
72ea0d47 VM |
7423 | 2013-04-18 Vladimir Makarov <vmakarov@redhat.com> |
7424 | ||
f1e6512c | 7425 | PR rtl-optimization/56999 |
72ea0d47 VM |
7426 | * lra-coalesce.c (coalescable_pseudo_p): Remove 2nd parameter and |
7427 | related code. | |
7428 | (lra_coalesce): Remove split_origin_bitmap and related code. | |
7429 | * lra.c (lra): Coalesce after undoing inheritance. Recreate live | |
7430 | ranges if necessary. | |
7431 | ||
780a5b71 UB |
7432 | 2013-04-18 Uros Bizjak <ubizjak@gmail.com> |
7433 | ||
7434 | * config/i386/i386.c (x86_64_ms_sysv_extra_clobbered_registers): | |
7435 | New array. | |
7436 | (ix86_expand_call): Remove clobbered_registers array and use | |
7437 | x86_64_ms_sysv_extra_clobbered_registers instead. | |
7438 | * config/i386/i386.h (x86_64_ms_sysv_extra_clobbered_registers): | |
7439 | Declare here. | |
7440 | * config/i386/predicates.md (call_rex64_ms_sysv_operation): New | |
7441 | predicate. | |
7442 | * config/i386/i386.md (*call_rex64_ms_sysv): Use | |
7443 | call_rex64_ms_sysv_operation predicate. Remove explicit clobbers. | |
7444 | (*call_value_rex64_ms_sysv): Ditto. | |
7445 | ||
6f5a366a CC |
7446 | 2013-04-18 Cary Coutant <ccoutant@google.com> |
7447 | ||
7448 | * dwarf2out.c (output_pubnames): Check die_perennial_p of | |
7449 | parent instead of die_mark. | |
7450 | ||
475b8f37 DN |
7451 | 2013-04-18 Diego Novillo <dnovillo@google.com> |
7452 | ||
7453 | * gimple.c (create_gimple_tmp): New. | |
7454 | (get_expr_type): New. | |
7455 | (build_assign): New. | |
7456 | (build_type_cast): New. | |
7457 | * gimple.h (enum ssa_mode): Define. | |
7458 | (gimple_seq_set_location): New. | |
7459 | * asan.c (build_check_stmt): Change some gimple_build_* calls | |
780a5b71 | 7460 | to use build_assign and build_type_cast. |
475b8f37 | 7461 | |
08940f33 RB |
7462 | 2013-04-18 Richard Biener <rguenther@suse.de> |
7463 | ||
7464 | * tree-vect-data-refs.c (vect_analyze_group_access): Properly | |
7465 | handle negative step. Remove redundant checks. | |
7466 | (vect_create_data_ref_ptr): Avoid ICEs with non-constant steps. | |
7467 | * tree-vect-stmts.c (vectorizable_load): Instead of asserting | |
7468 | for negative step and grouped loads fail to vectorize. | |
7469 | ||
0e0f87d4 SB |
7470 | 2013-04-18 Steven Bosscher <steven@gcc.gnu.org> |
7471 | ||
7472 | * emit-rtl.c (reset_insn_used_flags): New function. | |
7473 | (reset_all_used_flags): Use it. | |
7474 | (verify_insn_sharing): New function. | |
7475 | (verify_rtl_sharing): Fix verification for SEQUENCEs. | |
7476 | ||
4c445590 JJ |
7477 | 2013-04-18 Jakub Jelinek <jakub@redhat.com> |
7478 | ||
7479 | PR tree-optimization/56984 | |
7480 | * tree-vrp.c (register_edge_assert_for_2): For (x >> M) < N | |
7481 | and (x >> M) >= N don't register any assertion if N << M is the | |
7482 | minimum value. | |
7483 | ||
6873ecab SB |
7484 | 2013-04-18 Steven Bosscher <steven@gcc.gnu.org> |
7485 | ||
7486 | * lower-subreg.c (resolve_simple_move): If called self-recursive, | |
7487 | do not delete_insn insns that have not yet been emitted, only | |
7488 | unlink them with remove_insn. | |
7489 | * df-scan.c (df_insn_delete): Revert r197492. | |
7490 | ||
3ccb989e SB |
7491 | 2013-04-17 Steven Bosscher <steven@gcc.gnu.org> |
7492 | ||
7493 | * emit-rtl.c (link_insn_into_chain): Handle chaining of SEQUENCEs. | |
7494 | * reorg.c (emit_delay_sequence): Simplify with emit-rtl API. | |
7495 | ||
7496 | 2013-04-17 Greta Yorsh <Greta.Yorsh@arm.com> | |
0480fff0 GY |
7497 | |
7498 | * config/arm/arm.md (movsicc_insn): Convert define_insn into | |
7499 | define_insn_and_split. | |
7500 | (and_scc,ior_scc,negscc): Likewise. | |
7501 | (cmpsi2_addneg, subsi3_compare): Convert to named patterns. | |
7502 | ||
3ccb989e | 7503 | 2013-04-17 Greta Yorsh <Greta.Yorsh@arm.com> |
367075fe GY |
7504 | |
7505 | * config/arm/arm.c (use_return_insn): Return 0 for targets that | |
7506 | can benefit from using a sequence of LDRD instructions in epilogue | |
7507 | instead of a single LDM instruction. | |
7508 | ||
6d10a203 MLI |
7509 | 2013-04-17 Manuel López-Ibáñez <manu@gcc.gnu.org> |
7510 | ||
7511 | PR 45688 | |
7512 | * doc/extend.texi: Fix typo. | |
7513 | ||
6983e6b5 RB |
7514 | 2013-04-17 Richard Biener <rguenther@suse.de> |
7515 | ||
7516 | * tree-vect-slp.c (vect_build_slp_tree_1): Split out from ... | |
7517 | (vect_build_slp_tree): ... here. | |
7518 | (vect_build_slp_tree_1): Compute which stmts of the SLP group | |
7519 | match. Remove special-casing of mismatched complex loads. | |
7520 | (vect_build_slp_tree): Based on the result from vect_build_slp_tree_1 | |
7521 | re-try the match with swapped commutative operands. | |
7522 | (vect_supported_load_permutation_p): Remove special-casing of | |
7523 | mismatched complex loads. | |
7524 | (vect_analyze_slp_instance): Adjust. | |
7525 | ||
ef23e6a2 RB |
7526 | 2013-04-17 Richard Biener <rguenther@suse.de> |
7527 | ||
7528 | PR rtl-optimization/56921 | |
7529 | * cfgloop.h (struct loop): Add simple_loop_desc member. | |
7530 | (struct niter_desc): Mark with GTY(()). | |
7531 | (simple_loop_desc): Do not use aux field but simple_loop_desc. | |
7532 | * loop-iv.c (get_simple_loop_desc): Likewise. | |
7533 | (free_simple_loop_desc): Likewise. | |
7534 | ||
7535 | Revert | |
7536 | 2013-04-16 Richard Biener <rguenther@suse.de> | |
7537 | ||
7538 | PR rtl-optimization/56921 | |
7539 | * loop-init.c (pass_rtl_move_loop_invariants): Add | |
7540 | TODO_do_not_ggc_collect to todo_flags_finish. | |
7541 | (pass_rtl_unswitch): Same. | |
7542 | (pass_rtl_unroll_and_peel_loops): Same. | |
7543 | (pass_rtl_doloop): Same. | |
7544 | ||
fc6f94f5 EB |
7545 | 2013-04-17 Eric Botcazou <ebotcazou@adacore.com> |
7546 | ||
7547 | * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p): New. | |
7548 | (decl_refs_may_alias_p): Add REF1 and REF2 parameters. | |
7549 | Use nonoverlapping_component_refs_of_decl_p to disambiguate component | |
7550 | references. | |
7551 | (refs_may_alias_p_1): Adjust call to decl_refs_may_alias_p. | |
7552 | * tree-streamer.c (record_common_node): Adjust reference in comment. | |
7553 | ||
10a88311 TG |
7554 | 2013-04-17 Terry Guo <terry.guo@arm.com> |
7555 | ||
7556 | * config/arm/cortex-m4.md: Add a new bypass. | |
7557 | ||
6d9b7208 | 7558 | 2013-04-16 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
f3d096b0 N |
7559 | |
7560 | * config/aarch64/aarch64.md (*adds_<optab><mode>_multp2): | |
7561 | New pattern. | |
7562 | (*subs_<optab><mode>_multp2): New pattern. | |
7563 | (*adds_<optab><ALLX:mode>_<GPI:mode>): New pattern. | |
7564 | (*subs_<optab><ALLX:mode>_<GPI:mode>): New pattern. | |
7565 | ||
6d9b7208 | 7566 | 2013-04-16 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
860ad33f N |
7567 | |
7568 | * config/aarch64/aarch64.md (*adds_mul_imm_<mode>): New pattern. | |
7569 | (*subs_mul_imm_<mode>): New pattern. | |
7570 | ||
18a6701e DE |
7571 | 2013-04-16 David Edelsohn <dje.gcc@gmail.com> |
7572 | ||
7573 | PR target/56948 | |
7574 | * config/rs6000/vsx.md (vsx_mov<mode>): Add j->r alternative. | |
7575 | (vsx_movti_64bit): Change j->wa to O->wa. Add n->r alternative. | |
7576 | (vsx_movti_32bit): Change j->wa to O->wa. | |
7577 | ||
07c37b2f RB |
7578 | 2013-04-16 Richard Biener <rguenther@suse.de> |
7579 | ||
7580 | PR rtl-optimization/56921 | |
7581 | * loop-init.c (pass_rtl_move_loop_invariants): Add | |
7582 | TODO_do_not_ggc_collect to todo_flags_finish. | |
7583 | (pass_rtl_unswitch): Same. | |
7584 | (pass_rtl_unroll_and_peel_loops): Same. | |
7585 | (pass_rtl_doloop): Same. | |
7586 | ||
0e0f87d4 | 7587 | 2013-04-16 Greta Yorsh <Greta.Yorsh@arm.com> |
974ba22d GY |
7588 | |
7589 | * config/arm/arm.c (emit_multi_reg_push): New declaration | |
7590 | for an existing function. | |
7591 | (arm_emit_strd_push): New function. | |
7592 | (arm_expand_prologue): Used here. | |
7593 | (arm_emit_ldrd_pop): New function. | |
7594 | (arm_expand_epilogue): Used here. | |
7595 | (arm_get_frame_offsets): Update condition. | |
7596 | (arm_emit_multi_reg_pop): Add a special case for load of a single | |
7597 | register with writeback. | |
7598 | ||
5e8e2af4 UB |
7599 | 2013-04-16 Uros Bizjak <ubizjak@gmail.com> |
7600 | ||
7601 | * doc/invoke.texi (i386 Option): Reword -mstack-protector-guard | |
7602 | description. | |
7603 | ||
9fd9ccf7 RB |
7604 | 2013-04-16 Richard Biener <rguenther@suse.de> |
7605 | ||
7606 | PR tree-optimization/56756 | |
7607 | * tree-ssa-loop-im.c (struct first_mem_ref_loc_1): New functor. | |
7608 | (first_mem_ref_loc): New. | |
7609 | (execute_sm): Place the load temporarily before a previous | |
7610 | access instead of in the latch edge to ensure its SSA dependencies | |
7611 | are defined at points dominating the load. | |
7612 | ||
96fba521 SB |
7613 | 2013-04-16 Steven Bosscher <steven@gcc.gnu.org> |
7614 | ||
4c8af858 SB |
7615 | * cfgrtl.c (cfg_layout_merge_blocks): Revert r184005, implement |
7616 | correct fix by moving header and footer insn to the footer of | |
7617 | the merged basic block. Clear BB_END of the merged-away block. | |
7618 | ||
96fba521 SB |
7619 | PR middle-end/43631 |
7620 | * emit-rtl.c (make_note_raw): New function. | |
7621 | (link_insn_into_chain): New static inline function. | |
7622 | (add_insn): Use it. | |
7623 | (add_insn_before, add_insn_after): Factor insn chain linking code... | |
7624 | (add_insn_before_nobb, add_insn_after_nobb): ...here, new functions | |
7625 | using link_insn_into_chain. | |
7626 | (note_outside_basic_block_p): New helper function for emit_note_after | |
7627 | and emit_note_before. | |
7628 | (emit_note_after): Use nobb variant of add_insn_after if the note | |
7629 | should not be contained in a basic block. | |
7630 | (emit_note_before): Use nobb variant of add_insn_before if the note | |
7631 | should not be contained in a basic block. | |
7632 | (emit_note_copy): Use make_note_raw. | |
7633 | (emit_note): Likewise. | |
7634 | * bb-reorder.c (insert_section_boundary_note): Remove hack to set | |
7635 | BLOCK_FOR_INSN to NULL manually for NOTE_INSN_SWITCH_TEXT_SECTIONS. | |
7636 | * jump.c (cleanup_barriers): Use reorder_insns_nobb to avoid making | |
7637 | the moved barrier the tail of the basic block it follows. | |
7638 | * var-tracking.c (pass_variable_tracking): Add TODO_verify_flow. | |
7639 | ||
7b8265ba JJ |
7640 | 2013-04-15 Jakub Jelinek <jakub@redhat.com> |
7641 | ||
7642 | PR tree-optimization/56962 | |
7643 | * gimple-ssa-strength-reduction.c (record_increment): Only set | |
7644 | initializer if gimple_assign_rhs_code is {,POINTER_}PLUS_EXPR and | |
7645 | either rhs1 or rhs2 is equal to c->base_expr. | |
7646 | ||
5185d248 RB |
7647 | 2013-04-15 Richard Biener <rguenther@suse.de> |
7648 | ||
7649 | PR tree-optimization/56933 | |
7650 | * tree-vectorizer.h (struct _stmt_vec_info): Remove read_write_dep | |
7651 | member. | |
7652 | (GROUP_READ_WRITE_DEPENDENCE): Remove. | |
7653 | (STMT_VINFO_GROUP_READ_WRITE_DEPENDENCE): Likewise. | |
7654 | * tree-vect-data-refs.c (vect_analyze_group_access): Move | |
7655 | dependence check ... | |
7656 | vect_analyze_data_ref_dependence (vect_analyze_data_ref_dependence): | |
7657 | ... here. | |
7658 | * tree-vect-stmts.c (new_stmt_vec_info): Do not initialize | |
7659 | GROUP_READ_WRITE_DEPENDENCE. | |
7660 | ||
a24243a0 AK |
7661 | 2013-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
7662 | ||
7663 | * emit-rtl.c (reset_all_used_flags): New function. | |
7664 | (verify_rtl_sharing): Call reset_all_used_flags before and after | |
7665 | performing the checks. | |
7666 | ||
1c50eada KT |
7667 | 2013-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
7668 | ||
7669 | * config/arm/arm.c (const_ok_for_dimode_op): Handle AND case. | |
7670 | * config/arm/arm.md (*anddi3_insn): Change to insn_and_split. | |
7671 | * config/arm/constraints.md (De): New constraint. | |
7672 | * config/arm/neon.md (anddi3_neon): Delete. | |
7673 | (neon_vand<mode>): Expand to standard anddi3 pattern. | |
7674 | * config/arm/predicates.md (imm_for_neon_inv_logic_operand): | |
7675 | Move earlier in the file. | |
7676 | (neon_inv_logic_op2): Likewise. | |
7677 | (arm_anddi_operand_neon): New predicate. | |
7678 | ||
e927b6ad RO |
7679 | 2013-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7680 | ||
7681 | * configure.ac (gcc_cv_ld_as_needed): Set | |
7682 | gcc_cv_ld_as_needed_option, gcc_cv_no_as_needed_option. | |
7683 | Use -z ignore, -z record on *-*-solaris2*. | |
7684 | (HAVE_LD_AS_NEEDED): Update comment. | |
7685 | (LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION): Define. | |
7686 | * configure: Regenerate. | |
7687 | * config.in: Regenerate. | |
7688 | * gcc.c (init_gcc_specs) [USE_LD_AS_NEEDED]: Use | |
7689 | LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION. | |
7690 | * config/sol2.h [HAVE_LD_AS_NEEDED] (USE_LD_AS_NEEDED): Define. | |
7691 | * doc/tm.texi.in (USE_LD_AS_NEEDED): Allow for --as-needed | |
7692 | equivalents. Fix markup. | |
7693 | * doc/tm.texi: Regenerate. | |
7694 | ||
e0ea8797 AH |
7695 | 2013-04-15 Andrew Hsieh <andrewhsieh.google.com> |
7696 | ||
7697 | * config/i386/i386.opt: New option mstack-protector-guard=. | |
7698 | * config/i386/i386-opts.h: Add enum stack_protector_guard. | |
7699 | * config/i386/i386.h: Define TARGET_SSP_GLOBAL_GUARD and | |
7700 | TARGET_SSP_TLS_GUARD. | |
7701 | * config/i386/i386.c (ix86_option_override_internal): Set | |
7702 | ix86_stack_protector_guard. | |
7703 | * config/i386/i386.md (stack_protect_set): Enable for | |
7704 | TARGET_SSP_TLS_GUARD only. | |
7705 | (stack_protect_set_<mode>): Ditto. | |
7706 | (stack_protect_test): Ditto. | |
7707 | (stack_protect_test_<mode>): Ditto. | |
7708 | * doc/invoke.texi (i386 Option): Document. | |
7709 | ||
811b72f9 EB |
7710 | 2013-04-15 Eric Botcazou <ebotcazou@adacore.com> |
7711 | ||
7712 | PR target/56890 | |
7713 | * config/sparc/sparc.c (enum sparc_mode_class): Add H_MODE value. | |
7714 | (S_MODES): Set H_MODE bit. | |
7715 | (SF_MODES): Set only S_MODE and SF_MODE bits. | |
7716 | (DF_MODES): Set SF_MODES and only D_MODE and DF_MODE bits. | |
7717 | (sparc_init_modes) <MODE_INT>: Set H_MODE bit for sub-word modes. | |
7718 | <MODE_VECTOR_INT>: Do not set SF_MODE for sub-word modes. | |
7719 | <MODE_FLOAT>: Likewise. | |
7720 | ||
5529fdd6 JY |
7721 | 2013-04-15 Joey Ye <joey.ye@arm.com> |
7722 | ||
7723 | * config/arm/arm.c (thumb_far_jump_used_p): Fix typo in comments. | |
7724 | ||
517b1da2 JY |
7725 | 2013-04-15 Joey Ye <joey.ye@arm.com> |
7726 | ||
7727 | * config/arm/arm.c (thumb1_final_prescan_insn): Assert lr save | |
7728 | for real far jump. | |
7729 | (thumb_far_jump_used_p): Count instruction size and set | |
7730 | far_jump_used. | |
7731 | ||
01007ae0 EB |
7732 | 2013-04-14 Eric Botcazou <ebotcazou@adacore.com> |
7733 | ||
7734 | * reorg.c (fill_simple_delay_slots): Reindent block of code. | |
7735 | * resource.c (mark_target_live_regs): Reformat conditional block. | |
7736 | ||
c46f6580 SB |
7737 | 2013-04-13 Steven Bosscher <steven@gcc.gnu.org> |
7738 | ||
7739 | * sched-deps.c (deps_analyze_insn): Do not check for EH_REGION insn | |
7740 | notes, they are emitted only just before final. | |
7741 | * sched-int.h: Include insn-attr.h before checking INSN_SCHEDULING. | |
7742 | ||
1f397f45 SB |
7743 | 2013-04-13 Steven Bosscher <steven@gcc.gnu.org> |
7744 | ||
7745 | * emit-rtl.c (remove_insn): Do not call df_insn_delete here. | |
7746 | * cfgrtl.c (delete_insn): Call it here instead. | |
7747 | * lra-spills.c (lra_final_code_change): Use delete_insn. | |
7748 | * haifa-sched.c (sched_remove_insn): Likewise. | |
7749 | * sel-sched-ir.c (return_nop_to_pool): Clear INSN_DELETED_P for nops | |
7750 | returning to the nop pool. | |
7751 | (sel_remove_insn): Simplify the only_disconnect case via remove_insn, | |
7752 | use delete_insn for definitive removal. Clear BLOCK_FOR_INSN. | |
7753 | ||
58a51369 SB |
7754 | 2013-04-12 Steven Bosscher <steven@gcc.gnu.org> |
7755 | ||
7756 | * doc/tm.texi.in (LOOP_ALIGN): Remove loop note references. | |
7757 | * doc/tm.texi: Regenerated. | |
7758 | ||
33159866 UB |
7759 | 2013-04-12 Uros Bizjak <ubizjak@gmail.com> |
7760 | ||
7761 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Use ANY_QI_REGNO_P in | |
7762 | QImode checks. | |
7763 | ||
226e378f SB |
7764 | 2013-04-12 Steven Bosscher <steven@gcc.gnu.org> |
7765 | ||
7766 | * df-core.c (df_find_def): Compare register numbers. | |
7767 | (df_find_use): Likewise. | |
7768 | ||
fafb9b18 VM |
7769 | 2013-04-12 Vladimir Makarov <vmakarov@redhat.com> |
7770 | ||
7771 | PR target/56903 | |
7772 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Add | |
7773 | lra_in_progress for return. | |
7774 | ||
9a946fd6 GY |
7775 | 2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> |
7776 | ||
7777 | * config/arm/arm.md (mov_scc,mov_negscc,mov_notscc): Convert | |
7778 | define_insn into define_insn_and_split and emit movsicc patterns. | |
7779 | ||
41b83758 GY |
7780 | 2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> |
7781 | ||
7782 | * config/arm/arm.c (gen_operands_ldrd_strd): Initialize "base". | |
7783 | ||
d3afd9aa RB |
7784 | 2013-04-12 Richard Biener <rguenther@suse.de> |
7785 | ||
7786 | * tree-pass.h (TODO_do_not_ggc_collect): New. | |
7787 | * passes.c (execute_one_ipa_transform_pass): Honor | |
7788 | TODO_do_not_ggc_collect. | |
7789 | (execute_one_pass): Likewise. | |
7790 | ||
7791 | Revert | |
7792 | 2013-04-10 Richard Biener <rguenther@suse.de> | |
7793 | ||
7794 | * passes.c (init_optimization_passes): Remove reload pass. | |
7795 | * ira.c (do_reload): Merge into ... | |
7796 | (ira): ... this. | |
7797 | (rest_of_handle_reload): Remove. | |
7798 | (pass_reload): Likewise. | |
7799 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
7800 | of reload for vzeroupper pass placement. | |
7801 | ||
06f9b387 JJ |
7802 | 2013-04-12 Jakub Jelinek <jakub@redhat.com> |
7803 | ||
7804 | PR tree-optimization/56918 | |
7805 | PR tree-optimization/56920 | |
7806 | * fold-const.c (int_const_binop_1): Use op1.mul_with_sign (op2, ...) | |
7807 | instead of op1 - op2. Pass 2 * TYPE_PRECISION (type) as second | |
7808 | argument to rshift method. For 2 * HOST_BITS_PER_WIDE_INT precision | |
7809 | use wide_mul_with_sign method. | |
7810 | ||
953094d2 RB |
7811 | 2013-04-12 Richard Biener <rguenther@suse.de> |
7812 | ||
7813 | * gimple.c (is_gimple_constant): Vector CONSTRUCTORs should | |
7814 | not be considered a gimple constant. | |
7815 | ||
bb506982 MG |
7816 | 2013-04-12 Marc Glisse <marc.glisse@inria.fr> |
7817 | ||
7818 | * fold-const.c (const_binop): Handle vector shifts by a scalar. | |
7819 | (fold_binary_loc): Call const_binop also for mixed vector-scalar | |
7820 | operations. | |
7821 | ||
4b84d650 JJ |
7822 | 2013-04-12 Manuel López-Ibáñez <manu@gcc.gnu.org> |
7823 | Jakub Jelinek <jakub@redhat.com> | |
7824 | ||
7825 | * opts.c: Include diagnostic-color.h. | |
7826 | (common_handle_option): Handle OPT_fdiagnostics_color_. | |
7827 | * Makefile.in (OBJS-libcommon): Add diagnostic-color.o. | |
7828 | (diagnostic.o, opts.o, pretty-print.o): Depend on diagnostic-color.h. | |
7829 | (diagnostic-color.o): New. | |
7830 | * common.opt (fdiagnostics-color, fdiagnostics-color=): New options. | |
7831 | (diagnostic_color_rule): New enum. | |
7832 | * dwarf2out.c (gen_producer_string): Don't print -fdiagnostics-color*. | |
7833 | * langhooks.c (lhd_print_error_function): Add %r "locus" and %R around | |
7834 | the location string. | |
7835 | * diagnostic.def: Add 3rd argument to DEFINE_DIAGNOSTIC_KIND macros, | |
7836 | either NULL, or color kind. | |
7837 | * diagnostic-color.c: New file. | |
7838 | * diagnostic-color.h: New file. | |
7839 | * diagnostic-core.h (DEFINE_DIAGNOSTIC_KIND): Adjust macro for 3 | |
7840 | arguments. | |
7841 | * doc/invoke.texi (-fdiagnostics-color): Document. | |
7842 | * pretty-print.h (pp_show_color): Define. | |
7843 | (struct pretty_print_info): Add show_color field. | |
7844 | * diagnostic.c: Include diagnostic-color.h. | |
7845 | (diagnostic_build_prefix): Adjust for 3 argument DEFINE_DIAGNOSTIC_KIND | |
7846 | macros. Colorize error:, warning: etc. strings and also the location | |
7847 | string. | |
7848 | (diagnostic_show_locus): Colorize the caret line. | |
7849 | * pretty-print.c: Include diagnostic-color.h. | |
7850 | (pp_base_format): Handle %r and %R format specifiers. Colorize strings | |
7851 | inside of %< %> quotes or quoted through q format modifier. | |
7852 | ||
067a1e71 AK |
7853 | 2013-04-12 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
7854 | ||
33159866 | 7855 | * ifcvt.c (end_ifcvt_sequence): Mark a and b for unsharing as well. |
067a1e71 | 7856 | |
33159866 | 7857 | 2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
b056c910 N |
7858 | |
7859 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Allow NEG | |
7860 | code in CC_NZ mode. | |
7861 | * config/aarch64/aarch64.md (*neg_<shift><mode>3_compare0): New | |
7862 | pattern. | |
7863 | ||
7b55f98f MP |
7864 | 2013-04-11 Marek Polacek <polacek@redhat.com> |
7865 | ||
7866 | PR tree-optimization/48184 | |
33159866 | 7867 | * params.def (PARAM_ALIGN_THRESHOLD): Increase the minimum value to 1. |
7b55f98f | 7868 | |
966b587e EB |
7869 | 2013-04-11 Eric Botcazou <ebotcazou@adacore.com> |
7870 | ||
7871 | * stor-layout.c (skip_simple_constant_arithmetic): Move to... | |
7872 | * tree.c (skip_simple_constant_arithmetic): ...here and make public. | |
7873 | (skip_simple_arithmetic): Tidy up. | |
7874 | * tree.h (skip_simple_constant_arithmetic): Declare. | |
7875 | ||
33159866 | 7876 | 2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
f8bf91ab N |
7877 | |
7878 | * config/aarch64/aarch64.h (REVERSIBLE_CC_MODE): Define. | |
7879 | ||
1d42c1ec RB |
7880 | 2013-04-11 Richard Biener <rguenther@suse.de> |
7881 | ||
7882 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
7883 | generate vector constants. | |
7884 | ||
4ba5ea11 RB |
7885 | 2013-04-11 Richard Biener <rguenther@suse.de> |
7886 | ||
7887 | PR tree-optimization/56878 | |
7888 | * tree-flow.h (outermost_invariant_loop_for_expr): Declare. | |
7889 | * tree-ssa-loop-ivopts.c (outermost_invariant_loop_for_expr): | |
7890 | New function. | |
7891 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): | |
7892 | Prefer to align the DR with the most invariant base address. | |
7893 | ||
f0defe58 SKS |
7894 | 2013-04-11 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
7895 | ||
7896 | * opts.c (common_handle_option): Fix formatting and add FALLTHRU | |
7897 | comment. | |
7898 | ||
d07458be JG |
7899 | 2013-04-11 James Greenhalgh <james.greenhalgh@arm.com> |
7900 | ||
7901 | * config/aarch64/aarch64-simd.md (aarch64_vcond_internal): Fix | |
7902 | floating-point vector comparisons against 0. | |
7903 | ||
146b8692 JJ |
7904 | 2013-04-11 Jakub Jelinek <jakub@redhat.com> |
7905 | ||
7906 | PR tree-optimization/56899 | |
7907 | * fold-const.c (extract_muldiv_1): Apply distributive law | |
7908 | only if TYPE_OVERFLOW_WRAPS (ctype). | |
7909 | ||
b8578ff7 BC |
7910 | 2013-04-11 Bin Cheng <bin.cheng@arm.com> |
7911 | ||
7912 | PR target/56124 | |
7913 | * ira-costs.c (scan_one_insn): Check whether the source rtx of | |
7914 | loading has side effect. | |
7915 | ||
0ea8a6f9 SB |
7916 | 2013-04-10 Steven Bosscher <steven@gcc.gnu.org> |
7917 | ||
7918 | * config/sparc/sparc.c: Include tree-pass.h. | |
7919 | (TARGET_MACHINE_DEPENDENT_REORG): Do not redefine. | |
7920 | (sparc_reorg): Rename to sparc_do_work_around_errata. Move to | |
7921 | head of file. Change return type. Split off gate function. | |
7922 | (sparc_gate_work_around_errata): New function. | |
7923 | (pass_work_around_errata): New pass definition. | |
7924 | (insert_pass_work_around_errata) New pass insert definition to | |
7925 | insert pass_work_around_errata just after delayed-branch scheduling. | |
7926 | (sparc_option_override): Insert the pass. | |
7927 | * config/sparc/t-sparc (sparc.o): Add TREE_PASS_H dependence. | |
7928 | ||
42e37616 DM |
7929 | 2013-04-10 David S. Miller <davem@davemloft.net> |
7930 | ||
89deeb3b DM |
7931 | * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=supersparc |
7932 | or -mcpu=hypersparc. | |
7933 | ||
42e37616 DM |
7934 | * target.def (cstore_mode): New hook. |
7935 | * target.h: Include insn-codes.h | |
7936 | * targhooks.c: Likewise. | |
7937 | (default_cstore_mode): New function. | |
7938 | * targhooks.h: Declare it. | |
7939 | * doc/tm.texi.in: New hook slot for TARGET_CSTORE_MODE. | |
7940 | * doc/tm.texi: Rebuild. | |
7941 | * expmed.c (emit_cstore): Obtain cstore boolean result mode using | |
7942 | target hook, rather than inspecting the insn_data. | |
7943 | * config/sparc/sparc.c (sparc_cstore_mode): New function. | |
7944 | (TARGET_CSTORE_MODE): Redefine. | |
7945 | (emit_scc_insn): When TARGET_ARCH64, emit new 64-bit boolean | |
7946 | result patterns. | |
7947 | * config/sparc/predicates.md (cstore_result_operand): New special | |
7948 | predicate. | |
7949 | * config/sparc/sparc.md (cstoresi4, cstoredi4, cstore<F:mode>4): | |
7950 | Use it for operand 0. | |
7951 | (*seqsi_special): Rewrite using 'P' mode iterator on operand 0. | |
7952 | (*snesi_special): Likewise. | |
7953 | (*snesi_zero): Likewise. | |
7954 | (*seqsi_zero): Likewise. | |
7955 | (*sltu_insn): Likewise. | |
7956 | (*sgeu_insn): Likewise. | |
7957 | (*seqdi_special): Make operand 0 and comparison operation be of | |
7958 | DImode. | |
7959 | (*snedi_special): Likewise. | |
7960 | (*snedi_special_vis3): Likewise. | |
7961 | (*neg_snesi_zero): Rename to *neg_snesisi_zero. | |
7962 | (*neg_snesi_sign_extend): Rename to *neg_snesidi_zero. | |
7963 | (*snesi_zero_extend): Delete, covered by 'P' mode iterator. | |
7964 | (*neg_seqsi_zero): Rename to *neg_seqsisi_zero. | |
7965 | (*neg_seqsi_sign_extend): Rename to *neg_seqsidi_zero. | |
7966 | (*seqsi_zero_extend): Delete, covered by 'P' mode iterator. | |
7967 | (*sltu_extend_sp64): Likewise. | |
7968 | (*neg_sltu_insn): Rename to *neg_sltusi_insn. | |
7969 | (*neg_sltu_extend_sp64): Rename to *neg_sltudi_insn. | |
7970 | (*sgeu_extend_sp64): Delete, covered by 'P' mode iterator. | |
7971 | (*neg_sgeu_insn): Rename to *neg_sgeusi_insn. | |
7972 | (*neg_sgeu_extend_sp64): Rename to *neg_sgeudi_insn. | |
7973 | ||
95ca411e YZ |
7974 | 2013-04-10 Yufeng Zhang <yufeng.zhang@arm.com> |
7975 | ||
7976 | * config/aarch64/aarch64.c (aarch64_print_extension): New function. | |
7977 | (aarch64_start_file): Use the new function. | |
7978 | ||
6782438d | 7979 | 2013-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
33159866 | 7980 | Jason Merrill <jason@redhat.com> |
6782438d SKS |
7981 | |
7982 | * common.opt: Add -gdwarf. | |
7983 | * opts.c (common_handle_option): Handle it. | |
7984 | * gcc.c (ASM_DEBUG_SPEC): Don't expect "-2" for DWARF. | |
7985 | ||
bb313b93 RB |
7986 | 2013-04-10 Richard Biener <rguenther@suse.de> |
7987 | ||
7988 | * passes.c (execute_todo): Do not call ggc_collect conditional here. | |
7989 | (execute_one_ipa_transform_pass): But unconditionally here. | |
7990 | (execute_one_pass): And here. | |
7991 | (init_optimization_passes): Remove reload pass. | |
7992 | * tree-pass.h (TODO_ggc_collect): Remove. | |
7993 | (pass_reload): Likewise. | |
7994 | * ira.c (do_reload): Merge into ... | |
7995 | (ira): ... this. | |
7996 | (rest_of_handle_reload): Remove. | |
7997 | (pass_reload): Likewise. | |
7998 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
7999 | of reload for vzeroupper pass placement. | |
8000 | * <everywhere>: Remove TODO_ggc_collect from todo_flags_start | |
8001 | and todo_flags_finish of all passes. | |
8002 | ||
793d9a16 RB |
8003 | 2013-04-10 Richard Biener <rguenther@suse.de> |
8004 | ||
8005 | * tree-vectorizer.h (struct _slp_oprnd_info): Remove | |
8006 | first_const_oprnd field, rename first_def_type to first_op_type. | |
8007 | * tree-vect-slp.c (vect_create_oprnd_info): Adjust. | |
8008 | (vect_get_and_check_slp_defs): Always use the type of the | |
8009 | operand. Allow mixed vect_external_def, vect_constant_def types. | |
8010 | (vect_get_constant_vectors): Handle mixed vect_external_def, | |
8011 | vect_constant_def types. | |
8012 | ||
ee8a9b7b JR |
8013 | 2013-04-10 Joern Rennecke <joern.rennecke@embecosm.com> |
8014 | ||
8015 | PR tree-optimization/55524 | |
8016 | * tree-ssa-math-opts.c | |
8017 | (convert_mult_to_fma): Don't use an fms construct | |
8018 | when we don't have an fms operation, but fnma, and it looks | |
8019 | likely that we'll be able to use the latter. | |
8020 | ||
6957a6f6 ZZ |
8021 | 2013-04-10 Zhouyi Zhou <yizhouzhou@ict.ac.cn> |
8022 | ||
8023 | * cif-code.def (OVERWRITABLE): Correct the comment for overwritable | |
8024 | function. | |
8025 | * ipa-inline.c (can_inline_edge_p): Let dump mechanism report the | |
8026 | inline fail caused by overwritable functions. | |
8027 | ||
34ab4a5b CJW |
8028 | 2013-04-10 Chung-Ju Wu <jasonwucj@gmail.com> |
8029 | ||
8030 | * combine.c (simplify_compare_const): Use GET_MODE_MASK to filter out | |
8031 | unnecessary bits in the constant power of two case. | |
8032 | ||
abf9bfbc RB |
8033 | 2013-04-10 Richard Biener <rguenther@suse.de> |
8034 | ||
8035 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove | |
8036 | broken code swapping operands. | |
8037 | (vect_build_slp_tree): Do not compute load permutations here. | |
8038 | (vect_analyze_slp_instance): Compute load permutations here, | |
8039 | after building the SLP tree. | |
8040 | ||
f408477e CB |
8041 | 2013-04-09 Christian Bruel <christian.bruel@st.com> |
8042 | ||
8043 | * config/sh/sh.md (barrier_align): Use next/prev_active_insn instead | |
8044 | of next/prev_real_insn. | |
8045 | ||
5ac42672 JH |
8046 | 2013-04-09 Jan Hubicka <jh@suse.cz> |
8047 | ||
abf9bfbc RB |
8048 | * ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): |
8049 | Drop aliased parameter. | |
5ac42672 JH |
8050 | (function_and_variable_visibility): Do not handle alias pairs. |
8051 | * cgraph.c (varpool_externally_visible_p): Update prototype. | |
8052 | * varpool.c (varpool_add_new_variable): Update. | |
8053 | ||
5017f1d2 KT |
8054 | 2013-04-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
8055 | ||
8056 | * config/arm/arm.md (minmax_arithsi_non_canon): New pattern. | |
8057 | ||
48eecbee SB |
8058 | 2013-04-09 Steven Bosscher <steven@gcc.gnu.org> |
8059 | ||
a949cf1c SB |
8060 | * sched-vis.c (print_pattern): Print SEQUENCE of insns as insns. |
8061 | ||
48eecbee SB |
8062 | * config/sparc/sparc.md: Use define_c_enum for "unspec" and "unspecv". |
8063 | ||
75ef8e3d MP |
8064 | 2013-04-09 Marek Polacek <polacek@redhat.com> |
8065 | ||
8066 | PR tree-optimization/48762 | |
33159866 | 8067 | * params.def (PARAM_MAX_CSE_INSNS): Increase the minimum value to 1. |
75ef8e3d | 8068 | |
23847df4 RB |
8069 | 2013-04-09 Richard Biener <rguenther@suse.de> |
8070 | ||
8071 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove code | |
8072 | dealing with cost. | |
8073 | (vect_build_slp_tree): Likewise. | |
8074 | (vect_analyze_slp_cost_1, vect_analyze_slp_cost): New functions | |
8075 | calculating the cost of a SLP instance. | |
8076 | (vect_analyze_slp_instance): Use it from here, after building | |
8077 | the SLP tree. | |
8078 | ||
ea3a0fde JJ |
8079 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
8080 | ||
8081 | PR middle-end/56883 | |
8082 | * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk, | |
8083 | expand_omp_for_static_chunk): Use simple_p = true in | |
8084 | force_gimple_operand_gsi calls when assigning to addressable decls. | |
8085 | ||
a32dfe9d JL |
8086 | 2013-04-09 Jeff Law <law@redhat.com> |
8087 | ||
8088 | * tree-vrp.c (simplify_cond_using_ranges): Simplify test of boolean | |
8089 | when the boolean was created by converting a wider object which | |
8090 | had a boolean range. | |
8091 | ||
d755c7ef RB |
8092 | 2013-04-09 Richard Biener <rguenther@suse.de> |
8093 | ||
8094 | * tree-vectorizer.h (slp_void_p): Remove. | |
8095 | (slp_tree): Typedef before _slp_tree declaration. | |
8096 | (struct _slp_tree): Use a vector of slp_tree as children. | |
8097 | (vect_get_place_in_interleaving_chain): Remove. | |
8098 | * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain): | |
8099 | Move ... | |
8100 | * tree-vect-slp.c (vect_get_place_in_interleaving_chain): ... here | |
8101 | and make static. | |
8102 | (vect_free_slp_tree, vect_print_slp_tree, vect_mark_slp_stmts, | |
8103 | vect_mark_slp_stmts_relevant, vect_slp_rearrange_stmts, | |
8104 | vect_detect_hybrid_slp_stmts, vect_slp_analyze_node_operations, | |
8105 | vect_schedule_slp_instance, vect_remove_slp_scalar_calls): | |
8106 | Use slp_node instead of slp_void_p and adjust. | |
8107 | ||
3d741091 RB |
8108 | 2013-04-09 Richard Biener <rguenther@suse.de> |
8109 | ||
8110 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Avoid | |
8111 | work that is not necessary. | |
8112 | ||
39307ba7 JJ |
8113 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
8114 | ||
8115 | PR tree-optimization/56854 | |
8116 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't | |
8117 | forward into clobber stmts if it would change MEM_REF lhs into | |
8118 | non-MEM_REF. | |
8119 | ||
343881fd MK |
8120 | 2013-04-09 Maxim Kuvyrkov <maxim@kugelworks.com> |
8121 | ||
8122 | * tree.c (type_hash_lookup, type_hash_add): Make static. | |
8123 | * tree.h (type_hash_lookup, type_hash_add): Remove global declarations. | |
8124 | ||
3922658a RB |
8125 | 2013-04-09 Richard Biener <rguenther@suse.de> |
8126 | ||
8127 | * tree.h (unsave_expr_now): Remove. | |
8128 | * tree-inline.c (mark_local_for_remap_r): Remove. | |
8129 | (unsave_expr_1): Likewise. | |
8130 | (unsave_r): Likewise. | |
8131 | (unsave_expr_now): Likewise. | |
8132 | * tree-ssa-copy.c (replace_exp_1): Use unshare_expr. | |
8133 | (propagate_tree_value): Likewise. | |
8134 | ||
9fb6b620 SB |
8135 | 2013-04-08 Steven Bosscher <steven@gcc.gnu.org> |
8136 | ||
8137 | * doc/rtl.texi (sequence): Rewrite documentation to match the | |
8138 | current use of SEQUENCE rtl objects. | |
8139 | * rtl.def (SEQUENCE): Likewise. | |
8140 | ||
8141 | * doc/rtl.texi (NOTE_INSN_EH_REGION_BEG, NOTE_INSN_EH_REGION_END): | |
8142 | Update documentation. | |
8143 | (NOTE_INSN_LOOP_BEG, NOTE_INSN_LOOP_END, NOTE_INSN_LOOP_CONT, | |
8144 | NOTE_INSN_LOOP_VTOP): Remove documentation for non-existing notes. | |
8145 | ||
8146 | * reg-notes.def (REG_EH_CONTEXT): Remove unused note. | |
8147 | ||
8ddb5a29 TJ |
8148 | 2013-04-08 Teresa Johnson <tejohnson@google.com> |
8149 | ||
8150 | * basic-block.h (GCOV_COMPUTE_SCALE): Define. | |
8151 | * ipa-inline-analysis.c (param_change_prob): Use helper rounding divide | |
33159866 | 8152 | methods. |
8ddb5a29 TJ |
8153 | (estimate_edge_size_and_time): Add comment to suggest using rounding |
8154 | methods. | |
8155 | (estimate_node_size_and_time): Ditto. | |
8156 | (remap_edge_change_prob): Use helper rounding divide methods. | |
8157 | * value-prof.c (gimple_divmod_fixed_value_transform): Ditto. | |
8158 | (gimple_mod_pow2_value_transform): Ditto. | |
8159 | (gimple_mod_subtract_transform): Ditto. | |
8160 | (gimple_ic_transform): Ditto. | |
8161 | (gimple_stringops_transform): Ditto. | |
8162 | * stmt.c (conditional_probability): Ditto. | |
8163 | (emit_case_dispatch_table): Ditto. | |
8164 | * lto-cgraph.c (merge_profile_summaries): Ditto. | |
8165 | * tree-optimize.c (execute_fixup_cfg): Ditto. | |
8166 | * cfgcleanup.c (try_forward_edges): Ditto. | |
8167 | * cfgloopmanip.c (scale_loop_profile): Ditto. | |
8168 | (loopify): Ditto. | |
8169 | (duplicate_loop_to_header_edge): Ditto. | |
8170 | (lv_adjust_loop_entry_edge): Ditto. | |
8171 | * tree-vect-loop.c (vect_transform_loop): Ditto. | |
8172 | * profile.c (compute_branch_probabilities): Ditto. | |
8173 | * cfgbuild.c (compute_outgoing_frequencies): Ditto. | |
8174 | * lto-streamer-in.c (input_cfg): Ditto. | |
8175 | * gimple-streamer-in.c (input_bb): Ditto. | |
8176 | * ipa-cp.c (update_profiling_info): Ditto. | |
8177 | (update_specialized_profile): Ditto. | |
8178 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Ditto. | |
8179 | * cfg.c (update_bb_profile_for_threading): Add comment to suggest using | |
33159866 | 8180 | rounding methods. |
8ddb5a29 TJ |
8181 | * sched-rgn.c (compute_dom_prob_ps): Ditto. |
8182 | (compute_trg_info): Ditto. | |
8183 | * cfgrtl.c (force_nonfallthru_and_redirect): Ditto. | |
8184 | (purge_dead_edges): Ditto. | |
8185 | * loop-unswitch.c (unswitch_loop): Ditto. | |
8186 | * cgraphclones.c (cgraph_clone_edge): Ditto. | |
8187 | (cgraph_clone_node): Ditto. | |
8188 | * tree-inline.c (copy_bb): Ditto. | |
8189 | (copy_edges_for_bb): Ditto. | |
8190 | (initialize_cfun): Ditto. | |
8191 | (copy_cfg_body): Ditto. | |
8192 | (expand_call_inline): Ditto. | |
8193 | ||
661e6bd7 KT |
8194 | 2013-04-08 Kai Tietz <ktietz@redhat.com> |
8195 | ||
8196 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Replaced | |
8197 | TARGET_CYGWIN64 by TARGET_64BIT. | |
8198 | ||
105766f3 JR |
8199 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
8200 | ||
8201 | * config/epiphany/epiphany.md (GPR_1): New constant. | |
8202 | (define_expand "mov<mode>cc): FAIL if gen_compare_reg returned 0. | |
8203 | * config/epiphany/epiphany.c (gen_compare_reg): | |
8204 | For flag_finite_math_only, avoid swapping operands when r0 and/or r1 | |
8205 | is already in place. | |
8206 | Use GPR_0 / GPR_1 instead of 0/1 for r0/r1 register numbers. | |
8207 | Don't require being called during rtl expansion; If y operlaps r0, | |
8208 | return 0. | |
8209 | (epiphany_compute_frame_size, epiphany_expand_prologue): Use GPR_1. | |
8210 | (epiphany_expand_epilogue): Likewise. | |
8211 | ||
8afab237 JR |
8212 | * config/epiphany/epiphany.c (epiphany_select_cc_mode): |
8213 | Don't use CC_FPmode for ORDERED / UNORDERED. | |
33159866 | 8214 | * config/epiphany/epiphany.md (cmpsf_ord): Make pattern unconditional. |
8afab237 | 8215 | |
fa7707d6 JR |
8216 | * config/epiphany/constraints.md (CnL): New constraint. |
8217 | * config/epiphany/epiphany.md (addsi3_i): Add r/r/CnL alternative. | |
8218 | * config/epiphany/predicates.md (add_operand): Allow 1024. | |
8219 | ||
5138e18d JR |
8220 | * config/epiphany/epiphany.md (logical_op): New code iterator. |
8221 | (op_mnc): New code attribute. | |
8222 | (<op_mnc>_f, mov_f, cstoresi4): New patterns. | |
8223 | (mov_f+1, mov_f+2): New peephole2 patterns. | |
8224 | ||
2ccc703d JR |
8225 | * config/epiphany/epiphany.md (mov_f+2): New peephole2 pattern. |
8226 | (cstoresi4): Also allow re-use of zero result when doing a NE | |
8227 | comparison to a non-zero operand. | |
aefb0819 | 8228 | Use (clobber (scratch)) for first insn if the gpr output is not needed. |
2ccc703d | 8229 | |
093ac0a5 JR |
8230 | * config/epiphany/epiphany.md (<insn_opname>v2si3): |
8231 | Use gen_addsi3_i / gen_subsi3_i. | |
8232 | ||
f223bb13 JJ |
8233 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
8234 | ||
8235 | PR c++/34949 | |
8236 | PR c++/50243 | |
8237 | * tree-eh.c (optimize_clobbers): Only remove clobbers if bb doesn't | |
8238 | contain anything but clobbers, at most one __builtin_stack_restore, | |
8239 | optionally debug stmts and final resx, and if it has at least one | |
8240 | incoming EH edge. Don't check for SSA_NAME on LHS of a clobber. | |
8241 | (sink_clobbers): Don't check for SSA_NAME on LHS of a clobber. | |
8242 | Instead of moving clobbers with MEM_REF LHS with SSA_NAME address | |
8243 | which isn't defaut definition, remove them. | |
8244 | (unsplit_eh, cleanup_empty_eh): Use single_{pred,succ}_{p,edge} | |
8245 | instead of EDGE_COUNT comparisons or EDGE_{PRED,SUCC}. | |
8246 | * tree-ssa-ccp.c (execute_fold_all_builtins): Remove clobbers | |
8247 | with MEM_REF LHS with SSA_NAME address. | |
8248 | ||
4481581f JL |
8249 | 2013-04-08 Jeff Law <law@redhat.com> |
8250 | ||
8251 | * gimple.c (canonicalize_cond_expr_cond): Rewrite x ^ y into x != y. | |
a32dfe9d | 8252 | |
451dabda RB |
8253 | 2013-04-08 Richard Biener <rguenther@suse.de> |
8254 | ||
8255 | * gimple-pretty-print.c (debug_gimple_stmt): Do not print | |
8256 | extra newline. | |
8257 | * tree-vect-loop.c (vect_determine_vectorization_factor): Dump | |
8258 | determined vector type. | |
8259 | (vect_analyze_data_refs): Likewise. | |
8260 | (vect_get_new_vect_var): Adjust. | |
8261 | (vect_create_destination_var): Preserve SSA name versions. | |
8262 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Do | |
8263 | not dump anything here. | |
8264 | ||
3b088b47 JR |
8265 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
8266 | ||
8267 | * config/epiphany/epiphany.h (struct GTY (()) machine_function): | |
8268 | Add member lr_slot_known. | |
8269 | * config/epiphany/epiphany.md (reload_insi_ra): Compute lr_slot_offs | |
8270 | if necessary. | |
8271 | * config/epiphany/epiphany.c (epiphany_compute_frame_size): | |
8272 | Remove code that sets lr_slot_offset according to what a previous | |
8273 | version of epiphany_emit_save_restore used to do. | |
8274 | (epiphany_emit_save_restore): When doing an lr save or restore, | |
8275 | set/verify lr_slot_known and lr_slot_offset. | |
8276 | ||
d8484d41 XQ |
8277 | 2013-04-08 Xinyu Qi <xyqi@marvell.com> |
8278 | ||
33159866 UB |
8279 | PR target/54338 |
8280 | * config/arm/arm.h (REG_CLASS_CONTENTS): Include IWMMXT_GR_REGS | |
d8484d41 XQ |
8281 | in ALL_REGS. |
8282 | ||
481be1c4 RB |
8283 | 2013-04-08 Richard Biener <rguenther@suse.de> |
8284 | ||
8285 | * alias.c (find_base_term): Fix thinko in previous change. | |
8286 | ||
401f3a81 JJ |
8287 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
8288 | ||
8289 | * tree-loop-distribution.c (const_with_all_bytes_same): New function. | |
8290 | (generate_memset_builtin): Only handle integer_all_onesp as -1 val if | |
8291 | TYPE_PRECISION is equal to mode bitsize. Use const_with_all_bytes_same | |
8292 | if possible to compute val. | |
8293 | (classify_partition): Verify CONSTRUCTOR doesn't have any elts. | |
8294 | For QImode integers don't require anything about precision. Use | |
8295 | const_with_all_bytes_same to find out if the constant doesn't have | |
8296 | repeated bytes in it. | |
8297 | ||
03ed99a8 AK |
8298 | 2013-04-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8299 | ||
8300 | * config/s390/s390.c (s390_expand_insv): Only accept insertions | |
8301 | within mode size. | |
8302 | ||
781b2e62 MP |
8303 | 2013-04-08 Marek Polacek <polacek@redhat.com> |
8304 | ||
8305 | PR rtl-optimization/48182 | |
8306 | * params.def (PARAM_MIN_CROSSJUMP_INSNS): Increase the minimum | |
8307 | value to 1. | |
8308 | ||
27e430a2 JDA |
8309 | 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8310 | ||
8311 | PR target/55487 | |
8312 | * config/pa/pa.c (legitimize_pic_address): Before incrementing label | |
8313 | nuses, make sure we have a label. | |
8314 | ||
4902aa64 BS |
8315 | 2013-04-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
8316 | ||
8317 | PR target/56843 | |
8318 | * config/rs6000/rs6000.c (rs6000_emit_swdiv_high_precision): Remove. | |
8319 | (rs6000_emit_swdiv_low_precision): Remove. | |
8320 | (rs6000_emit_swdiv): Rewrite to handle between one and four | |
8321 | iterations of Newton-Raphson generally; modify required number of | |
8322 | iterations for some cases. | |
8323 | * config/rs6000/rs6000.h (RS6000_RECIP_HIGH_PRECISION_P): Remove. | |
8324 | ||
7bca81dc SB |
8325 | 2013-04-05 Steven Bosscher <steven@gcc.gnu.org> |
8326 | ||
8327 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove a | |
8328 | set-but-unused variable. | |
8329 | ||
8330 | * cgraph.c (cgraph_release_function_body): Clear cfun->cfg to make | |
8331 | basic blocks of released function bodies garbage-collectable. | |
8332 | ||
8333 | * ree.c (find_and_remove_re): Do not call df_finish_pass here. | |
8334 | (struct rtl_opt_pass): Add TODO_df_finish. | |
8335 | ||
8336 | * rtl.def (DEFINE_SUBST, DEFINE_SUBST_ATTR): Add documentation. | |
8337 | ||
4542a38a GY |
8338 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
8339 | ||
8340 | * config/arm/constraints.md (q): New constraint. | |
8341 | * config/arm/ldrdstrd.md: New file. | |
8342 | * config/arm/arm.md (ldrdstrd.md) New include. | |
8343 | (arm_movdi): Use "q" instead of "r" constraint | |
8344 | for double-word memory access. | |
8345 | (movdf_soft_insn): Likewise. | |
8346 | * config/arm/vfp.md (movdi_vfp): Likewise. | |
8347 | * config/arm/t-arm (MD_INCLUDES): Add ldrdstrd.md. | |
33159866 | 8348 | * config/arm/arm-protos.h (gen_operands_ldrd_strd): New declaration. |
4542a38a GY |
8349 | * config/arm/arm.c (gen_operands_ldrd_strd): New function. |
8350 | (mem_ok_for_ldrd_strd): Likewise. | |
8351 | (output_move_double): Update assertion. | |
8352 | ||
2385b218 GY |
8353 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
8354 | ||
8355 | * config/arm/arm.md: Comment on splitting Thumb1 patterns. | |
8356 | ||
75fe1cb5 GY |
8357 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
8358 | ||
8359 | * config/arm/arm.md (arm_smax_insn): Convert define_insn into | |
8360 | define_insn_and_split. | |
8361 | (arm_smin_insn,arm_umaxsi3,arm_uminsi3): Likewise. | |
8362 | ||
dd660e8e GY |
8363 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
8364 | ||
8365 | * config/arm/arm.md (arm_ashldi3_1bit): Convert define_insn into | |
8366 | define_insn_and_split. | |
33159866 | 8367 | (arm_ashrdi3_1bit,arm_lshrdi3_1bit): Likewise. |
dd660e8e GY |
8368 | (shiftsi3_compare): New pattern. |
8369 | (rrx): New pattern. | |
8370 | * config/arm/unspecs.md (UNSPEC_RRX): New. | |
8371 | ||
045e472c GY |
8372 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
8373 | ||
8374 | * config/arm/arm.md (negdi_extendsidi): New pattern. | |
8375 | (negdi_zero_extendsidi): Likewise. | |
8376 | ||
3f3bf1a8 GY |
8377 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
8378 | ||
8379 | * config/arm/arm.md (andsi_iorsi3_notsi): Convert define_insn into | |
8380 | define_insn_and_split. | |
8381 | (arm_negdi2,arm_abssi2,arm_neg_abssi2): Likewise. | |
8382 | (arm_cmpdi_insn,arm_cmpdi_unsigned): Likewise. | |
8383 | ||
b0b49556 GY |
8384 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
8385 | ||
8386 | * config/arm/arm.md (arm_subdi3): Convert define_insn into | |
8387 | define_insn_and_split. | |
8388 | (subdi_di_zesidi,subdi_di_sesidi): Likewise. | |
8389 | (subdi_zesidi_di,subdi_sesidi_di,subdi_zesidi_zesidi): Likewise. | |
8390 | ||
d633dd84 GY |
8391 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
8392 | ||
8393 | * config/arm/arm.md (subsi3_carryin): New pattern. | |
8394 | (subsi3_carryin_const): Likewise. | |
8395 | (subsi3_carryin_compare,subsi3_carryin_compare_const): Likewise. | |
8396 | (subsi3_carryin_shift,rsbsi3_carryin_shift): Likewise. | |
8397 | ||
f4499066 GY |
8398 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
8399 | ||
8400 | * config/arm/arm.md (incscc,arm_incscc,decscc,arm_decscc): Delete. | |
8401 | ||
ceef6fd9 GY |
8402 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
8403 | ||
8404 | * config/arm/arm.md (addsi3_carryin_<optab>): Set attribute predicable. | |
d633dd84 | 8405 | (addsi3_carryin_alt2_<optab>,addsi3_carryin_shift_<optab>): Likewise. |
ceef6fd9 | 8406 | |
ddbdd8a7 KT |
8407 | 2013-04-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
8408 | ||
8409 | * config/arm/arm.c (arm_expand_builtin): Change fcode | |
8410 | type to unsigned int. | |
8411 | ||
8456d78a RR |
8412 | 2013-04-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
8413 | ||
8414 | * doc/invoke.texi (ARM Options): Document cortex-a53 support. | |
8415 | ||
526c230f ILT |
8416 | 2013-04-04 Ian Lance Taylor <iant@google.com> |
8417 | ||
33159866 UB |
8418 | * doc/standards.texi (Standards): The Go frontend supports the Go 1 |
8419 | language standard. | |
526c230f | 8420 | |
3cfbe04d SB |
8421 | 2013-04-04 Steven Bosscher <steven@gcc.gnu.org> |
8422 | ||
8423 | PR middle-end/56729 | |
8424 | * df-scan.c (df_insn_delete): Disable failing assert. | |
8425 | ||
dfa3f8d0 KT |
8426 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
8427 | ||
8428 | * config/arm/arm-protos.h (arm_builtin_vectorized_function): | |
8429 | New function prototype. | |
8430 | * config/arm/arm.c (TARGET_VECTORIZE_BUILTINS): Define. | |
8431 | (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Likewise. | |
8432 | (arm_builtin_vectorized_function): New function. | |
8433 | ||
f7837758 KT |
8434 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
8435 | ||
8436 | * config/arm/arm_neon_builtins.def: New file. | |
8437 | * config/arm/arm.c (neon_builtin_data): Move contents to | |
8438 | arm_neon_builtins.def. | |
8439 | (enum arm_builtins): Include neon builtin definitions. | |
8440 | (ARM_BUILTIN_NEON_BASE): Move from enum to macro. | |
33159866 | 8441 | * config/arm/t-arm (arm.o): Add dependency on arm_neon_builtins.def. |
f7837758 | 8442 | |
39c1b6db MP |
8443 | 2013-04-04 Marek Polacek <polacek@redhat.com> |
8444 | ||
8445 | PR tree-optimization/48186 | |
8446 | * predict.c (maybe_hot_frequency_p): Return false if | |
8447 | HOT_BB_FREQUENCY_FRACTION is 0. | |
8448 | (cgraph_maybe_hot_edge_p): Likewise. | |
8449 | ||
314f64eb RB |
8450 | 2013-04-04 Richard Biener <rguenther@suse.de> |
8451 | ||
8452 | PR tree-optimization/56826 | |
8453 | * tree-vect-slp.c (vect_build_slp_tree): Compute ncopies | |
8454 | more accurately. | |
8455 | ||
51a905b2 RB |
8456 | 2013-04-04 Richard Biener <rguenther@suse.de> |
8457 | ||
8458 | PR tree-optimization/56213 | |
8459 | * tree-vect-data-refs.c (vect_check_strided_load): Remove. | |
33159866 | 8460 | (vect_analyze_data_refs): Allow all non-nested loads as strided loads. |
51a905b2 | 8461 | |
f1bf4f3a RB |
8462 | 2013-04-04 Richard Biener <rguenther@suse.de> |
8463 | ||
8464 | PR tree-optimization/56837 | |
8465 | * tree-loop-distribution.c (classify_partition): For non-zero | |
8466 | values require that the value has the same precision as its | |
8467 | mode to be useful as memset value. | |
8468 | ||
0bca7ded NC |
8469 | 2013-04-03 Nick Clifton <nickc@redhat.com> |
8470 | ||
33159866 | 8471 | * config/v850/v850e3v5.md (fmasf4): Use fmaf.s on E3V5 architectures. |
0bca7ded NC |
8472 | (fmssf4): Use fmsf.s on E3V5 architectures. |
8473 | (fnmasf4): Use fnmaf.s on E3V5 architectures. | |
8474 | (fnmssf4): Use fnmsf.s on E3V5 architectures. | |
8475 | ||
b4019227 JL |
8476 | 2013-04-03 Jeff Law <law@redhat.com> |
8477 | ||
8478 | * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H). | |
8479 | (lra-eliminations.o): Likewise. | |
8480 | ||
f57ddb5b TJ |
8481 | 2013-04-03 Teresa Johnson <tejohnson@google.com> |
8482 | ||
8483 | * gcov-io.c (compute_working_sets): Moved most of body of old | |
33159866 | 8484 | compute_working_sets here from profile.c. |
f57ddb5b | 8485 | * gcov-io.h (NUM_GCOV_WORKING_SETS): Moved here from profile.c. |
33159866 UB |
8486 | (gcov_working_set_t): Moved typedef here from basic-block.h |
8487 | (compute_working_set): Declare. | |
f57ddb5b TJ |
8488 | * profile.c (NUM_GCOV_WORKING_SETS): Moved to gcov-io.h. |
8489 | (get_working_sets): Renamed from compute_working_set, | |
33159866 | 8490 | replace most of body with call to new compute_working_sets. |
f57ddb5b | 8491 | (get_exec_counts): Replace call to compute_working_sets |
33159866 UB |
8492 | to get_working_sets. |
8493 | * profile.h (get_working_sets): Renamed from compute_working_set. | |
f57ddb5b | 8494 | * lto-cgraph.c (input_symtab): Replace call to compute_working_sets |
33159866 | 8495 | to get_working_sets. |
f57ddb5b TJ |
8496 | * basic-block.h (gcov_working_set_t): Moved to gcov-io.h. |
8497 | * gcov-dump.c (dump_working_sets): New function. | |
8498 | ||
5e0919f1 KZ |
8499 | 2013-04-03 Kenneth Zadeck <zadeck@naturalbridge.com> |
8500 | ||
8501 | * hwint.c (sext_hwi, zext_hwi): New functions. | |
8502 | * hwint.h (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT, | |
8503 | HOST_HALF_WIDE_INT_PRINT, HOST_HALF_WIDE_INT_PRINT_C, | |
8504 | HOST_HALF_WIDE_INT_PRINT_DEC, HOST_HALF_WIDE_INT_PRINT_DEC_C, | |
8505 | HOST_HALF_WIDE_INT_PRINT_UNSIGNED, HOST_HALF_WIDE_INT_PRINT_HEX, | |
8506 | HOST_HALF_WIDE_INT_PRINT_HEX_PURE): New symbols. | |
8507 | (sext_hwi, zext_hwi): New functions. | |
0bca7ded | 8508 | |
be672e08 JL |
8509 | 2013-04-03 Jeff Law <law@redhat.com> |
8510 | ||
8511 | PR tree-optimization/56799 | |
33159866 UB |
8512 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Bring |
8513 | back test for widening conversion erroneously dropped in prior change. | |
be672e08 | 8514 | |
9d821fa5 KT |
8515 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
8516 | ||
8517 | PR target/56809 | |
8518 | * config/aarch64/aarch64.c (is_jump_table): Use next_active_insn | |
8519 | instead of next_real_insn. | |
8520 | ||
71c581e7 MP |
8521 | 2013-04-03 Marek Polacek <polacek@redhat.com> |
8522 | ||
8523 | PR sanitizer/55702 | |
33159866 | 8524 | * tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN functions. |
71c581e7 | 8525 | |
4a32ef80 KT |
8526 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
8527 | ||
8528 | PR target/56809 | |
8529 | * config/arm/arm.c (is_jump_table): Use next_active_insn instead of | |
8530 | next_real_insn. | |
8531 | (thumb1_output_casesi): Likewise. | |
8532 | (thumb2_output_casesi): Likewise. | |
8533 | ||
1b2253d4 RB |
8534 | 2013-04-03 Richard Biener <rguenther@suse.de> |
8535 | ||
8536 | PR tree-optimization/56817 | |
8537 | * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): | |
8538 | Split out ... | |
8539 | (tree_unroll_loops_completely_1): ... new function to manually | |
8540 | walk the loop tree, properly defering outer loops of unrolled | |
8541 | loops to later iterations. | |
8542 | ||
38000232 MG |
8543 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
8544 | ||
8545 | * tree-vect-stmts.c (vectorizable_store): Accept BIT_FIELD_REF. | |
8546 | (vectorizable_load): Likewise. | |
8547 | * tree-vect-slp.c (vect_build_slp_tree): Likewise. | |
8548 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Handle VECTOR_TYPE. | |
8549 | ||
3fa35298 MG |
8550 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
8551 | ||
8552 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle | |
8553 | BIT_FIELD_REF. | |
8554 | ||
b3d45ff0 UW |
8555 | 2013-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
8556 | ||
8557 | * config/spu/spu.c (emit_nop_for_insn): Handle JUMP_TABLE_DATA. | |
8558 | ||
ec9202a8 BC |
8559 | 2013-04-03 Bin Cheng <bin.cheng@arm.com> |
8560 | ||
8561 | * rtl.h (AUTO_INC_DEC): Fix typo of HAVE_POST_MODIFY_DISP. | |
8562 | ||
6805bd36 MG |
8563 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
8564 | ||
8565 | PR tree-optimization/56790 | |
33159866 UB |
8566 | * fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Add constant |
8567 | folding. | |
6805bd36 | 8568 | |
da694a77 MG |
8569 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
8570 | ||
8571 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>: | |
8572 | Handle VEC_MERGE. | |
8573 | (simplify_ternary_operation) <VEC_MERGE>: Use unsigned HOST_WIDE_INT | |
8574 | for masks. Test for side effects. Handle nested VEC_MERGE. Handle | |
8575 | equal arguments. | |
8576 | ||
4e7d7b3d JJ |
8577 | 2013-04-03 Jakub Jelinek <jakub@redhat.com> |
8578 | ||
8579 | PR c/19449 | |
8580 | * tree.h (force_folding_builtin_constant_p): New decl. | |
8581 | * builtins.c (force_folding_builtin_constant_p): New variable. | |
8582 | (fold_builtin_constant_p): Fold immediately also if | |
8583 | force_folding_builtin_constant_p. | |
8584 | ||
e6c9d234 RB |
8585 | 2013-04-03 Richard Biener <rguenther@suse.de> |
8586 | ||
8587 | PR tree-optimization/56812 | |
8588 | * tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependence): | |
8589 | DRs of the same interleaving chain are independent. | |
8590 | ||
984d07dd JM |
8591 | 2013-04-02 Jason Merrill <jason@redhat.com> |
8592 | ||
8593 | * gdbinit.in (pbb): Use debug fn. | |
8594 | ||
622849c9 LC |
8595 | 2013-04-02 Lawrence Crowl <crowl@google.com> |
8596 | ||
8597 | * sese.h (struct ivtype_map_elt_s): Remove unused. | |
8598 | (extern debug_ivtype_map): Remove unused. | |
8599 | (extern eq_ivtype_map_elts): Remove unused. | |
8600 | * sese.c (debug_ivtype_map): Removed unused. | |
8601 | (debug_ivtype_map_1): Removed unused. | |
8602 | (debug_ivtype_elt): Remove unused. | |
8603 | (eq_ivtype_map_elts): Remove unused. | |
8604 | ||
8605 | ||
82c0e1a0 KT |
8606 | 2013-04-02 Kai Tietz <ktietz@redhat.com> |
8607 | ||
8608 | PR target/52790 | |
8609 | * config/i386/cygming.h (SUB_TARGET_RECORD_STUB): New sub-target macro. | |
8610 | * config/i386/i386-protos.h (i386_pe_record_stub): Add new prototype. | |
33159866 UB |
8611 | * config/i386/i386.c (legitimize_pe_coff_extern_decl): New static |
8612 | function. | |
82c0e1a0 KT |
8613 | (legitimize_pe_coff_symbol): Likewise. |
8614 | (is_imported_p): New helper-function. | |
8615 | (ix86_option_override_internal): Make MEDIUM_PIC the default code-model | |
8616 | for Windows x64 targets. | |
8617 | (ix86_expand_prologue): Optimize for pe-coff targets. | |
8618 | (ix86_expand_split_stack_prologue): Adjust for pe-coff targets. | |
8619 | (legitimate_pic_address_disp_p): Adjust for x64 pe-coff to support | |
8620 | medium/large code-model. | |
8621 | (legitimize_pic_address): Likewise. | |
8622 | (legitimize_tls_address): Likewise. | |
8623 | (ix86_expand_call): Likewise. | |
8624 | (x86_output_mi_thunk): Likewise. | |
8625 | (get_dllimport_decl): Add new beimport argument. | |
8626 | (construct_plt_address): Don't assert for x64 pe-coff targets. | |
8627 | * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Adjust for x64 pe-coff | |
8628 | targets. | |
8629 | (SYMBOL_FLAG_STUBVAR): New macro. | |
8630 | (SYMBOL_REF_STUBVAR_P): Likewise. | |
8631 | * config/i386/winnt.c (stub_list): New structure. | |
8632 | (stub_head): New local variable. | |
8633 | (i386_pe_record_stub): New function. | |
8634 | (i386_pe_file_end): Emit refptr-stubs. | |
8635 | ||
5d751b0c JJ |
8636 | 2013-04-02 Jakub Jelinek <jakub@redhat.com> |
8637 | ||
09bb4c99 JJ |
8638 | PR rtl-optimization/56745 |
8639 | * ifcvt.c (cond_exec_find_if_block): Don't try to optimize | |
8640 | if then_bb has no successors and else_bb is EXIT_BLOCK_PTR. | |
8641 | ||
a1d8947a JJ |
8642 | PR c++/34949 |
8643 | * tree-ssa-alias.c (stmt_kills_ref_p_1): If base != ref->base | |
8644 | and both of them are MEM_REFs, just compare first argument for | |
8645 | equality and attempt to deal even with differing offsets. | |
8646 | ||
5d751b0c JJ |
8647 | PR c++/34949 |
8648 | * tree-cfg.c (verify_gimple_assign_single): Allow lhs | |
8649 | of gimple_clobber_p to be MEM_REF. | |
8650 | * gimplify.c (gimplify_modify_expr): Gimplify *to_p of | |
8651 | an assignment from TREE_CLOBBER_P. Allow it to be MEM_REF | |
8652 | after gimplification. | |
8653 | * asan.c (get_mem_ref_of_assignment): Don't instrument | |
8654 | gimple_clobber_p stmts. | |
8655 | * tree-ssa-dse.c (dse_optimize_stmt): Allow DSE of | |
8656 | gimple_clobber_p stmt if they have MEM_REF lhs and | |
8657 | are dead because of another gimple_clobber_p stmt. | |
8658 | * tree-ssa-live.c (clear_unused_block_pointer): Treat | |
8659 | gimple_clobber_p stmts like debug stmts. | |
8660 | (remove_unused_locals): Remove clobbers with MEM_REF lhs | |
8661 | that refer to unused VAR_DECLs or uninitialized values. | |
8662 | * tree-sra.c (sra_ipa_reset_debug_stmts): Also remove | |
8663 | gimple_clobber_p stmts if they refer to removed parameters. | |
8664 | (get_repl_default_def_ssa_name, sra_ipa_modify_expr): Fix up | |
8665 | formatting. | |
8666 | ||
e594716a UB |
8667 | 2013-04-02 Uros Bizjak <ubizjak@gmail.com> |
8668 | ||
8669 | * config/i386/i386.md (*testqi_ext_3): Merge with *testqi_ext_3_rex64 | |
8670 | using SWI48 mode attribute. | |
8671 | ||
7a80735b WM |
8672 | 2013-04-02 Wei Mi <wmi@google.com> |
8673 | ||
8674 | * config/i386/i386.c (ix86_rtx_costs): Set proper rtx cost for | |
8675 | ashl<mode>3_mask, *<shift_insn><mode>3_mask and | |
8676 | *<rotate_insn><mode>3_mask in i386.md. | |
8677 | ||
f423a9e4 AI |
8678 | 2013-04-02 Alexander Ivchenko <alexander.ivchenko@intel.com> |
8679 | ||
8680 | * config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android. | |
8681 | ||
90eb75f2 RB |
8682 | 2013-04-02 Richard Biener <rguenther@suse.de> |
8683 | ||
8684 | PR tree-optimization/56778 | |
8685 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): | |
8686 | Runtime alias tests are not supported for gather loads. | |
8687 | * tree-vect-loop-manip.c (vect_loop_versioning): Insert | |
8688 | stmts referenced from SSA operands before updating SSA form. | |
8689 | ||
d8c69a92 IC |
8690 | 2013-04-02 Ian Caulfield <ian.caulfield@arm.com> |
8691 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
8692 | ||
8693 | * config/arm/arm-arches.def (armv8-a): Default to cortex-a53. | |
e594716a UB |
8694 | * config/arm/t-arm (MD_INCLUDES): Depend on cortex-a53.md. |
8695 | * config/arm/cortex-a53.md: New file. | |
8696 | * config/arm/bpabi.h (BE8_LINK_SPEC): Handle cortex-a53. | |
8697 | * config/arm/arm.md (generic_sched, generic_vfp): Handle cortex-a53. | |
8698 | * config/arm/arm.c (arm_issue_rate): Likewise. | |
8699 | * config/arm/arm-tune.md: Regenerate | |
8700 | * config/arm/arm-tables.opt: Regenerate. | |
8701 | * config/arm/arm-cores.def: Add cortex-a53. | |
d8c69a92 | 8702 | |
239eb04c ZC |
8703 | 2013-04-02 Zhenqiang Chen <zhenqiang.chen@arm.com> |
8704 | ||
8705 | * config/arm/uclinux-elf.h: Add %L to LINK_GCC_C_SEQUENCE_SPEC for | |
8706 | non-static link. | |
8707 | ||
c902d3c8 SN |
8708 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
8709 | ||
d8c69a92 IC |
8710 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add variants for |
8711 | scalar load/store operations using B/H registers. | |
c902d3c8 SN |
8712 | (*zero_extend<SHORT:mode><GPI:mode>2_aarch64): Likewise. |
8713 | ||
051d0e2f SN |
8714 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
8715 | ||
8716 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add alternatives for | |
8717 | scalar move. | |
8718 | * config/aarch64/aarch64.c | |
8719 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
8720 | * config/aarch64/aarch64-protos.h | |
8721 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
8722 | * config/aarch64/constraints.md (Dh, Dq): New. | |
8723 | * config/aarch64/iterators.md (hq): New. | |
8724 | ||
0ee1e3d9 EB |
8725 | 2013-04-02 Eric Botcazou <ebotcazou@adacore.com> |
8726 | ||
8727 | * reorg.c (get_branch_condition): Deal with conditional returns. | |
8728 | (fill_simple_delay_slots): Remove dead code dealing with jumps. | |
8729 | ||
136fb3f7 WM |
8730 | 2013-04-01 Wei Mi <wmi@google.com> |
8731 | ||
8732 | * config/i386/i386.md (*ashl<mode>3_mask): Rewrite as define_insn. | |
8733 | Truncate operand 2 using %b asm operand modifier. | |
8734 | (*<shift_insn><mode>3_mask): Ditto. | |
8735 | (*<rotate_insn><mode>3_mask): Ditto. | |
8736 | ||
6388c738 SB |
8737 | 2013-04-01 Steven Bosscher <steven@gcc.gnu.org> |
8738 | ||
8739 | PR middle-end/56798 | |
8740 | * cfgbuild.c (inside_basic_block_p): Restore check broken at r197234. | |
8741 | ||
f7a4d826 KK |
8742 | 2013-03-31 Kaz Kojima <kkojima@gcc.gnu.org> |
8743 | ||
8744 | * config/sh/sh.md (casesi_worker_1): Use next_active_insn instead | |
8745 | of next_real_insn. | |
8746 | (casesi_worker_2, casesi_shift_media, casesi_load_media): Likewise. | |
8747 | ||
4b943a49 LC |
8748 | 2013-03-30 Lawrence Crowl <crowl@google.com> |
8749 | ||
8750 | * dse.c (clear_alias_sets): Remove never set. | |
8751 | (disqualified_clear_alias_sets): Remove never set. | |
8752 | (clear_alias_mode_pool): Remove never set. | |
8753 | (dse_step0): Remove condition that is never true. | |
8754 | (canon_address): Remove condition that is never true. | |
8755 | (dse_step7): Remove condition that is never true. | |
8756 | (rest_of_handle_dse): Remove condition that is never true. | |
8757 | (rest_of_handle_dse::did_global): Remove never read from above. | |
8758 | (dse_step2_spill): Remove never called from above. | |
8759 | (dse_step5_spill): Remove never called from above. | |
8760 | ||
39718607 SB |
8761 | 2013-03-30 Steven Bosscher <steven@gcc.gnu.org> |
8762 | ||
da5c6bde SB |
8763 | * doc/md.texi (Standard Names) <casesi>: Update documentation for |
8764 | JUMP_TABLE_DATA changes. | |
8765 | * doc/tm.texi.in (Dispatch Tables) <ASM_OUTPUT_CASE_LABEL>: Likewise. | |
8766 | * doc/rtl.texi (Flags) <INSN_DELETED_P, SCHED_GROUP_P>: Likewise. | |
8767 | (Insns) <jump_table_data>: New entry. | |
8768 | * doc/tm.texi: Regenerate. | |
8769 | ||
39718607 SB |
8770 | * cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. |
8771 | ||
8772 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Correct test | |
8773 | for table jump at the end of a basic block using tablejump_p. | |
8774 | * targhooks.c (default_invalid_within_doloop): Likewise. | |
8775 | * config/rs6000/rs6000.c (TARGET_INVALID_WITHIN_DOLOOP): Remove | |
8776 | target hook implementation that is identical to the default hook. | |
8777 | (rs6000_invalid_within_doloop): Remove. | |
8778 | ||
8779 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove set but | |
8780 | unused variable from tablejump_p call. | |
8781 | ||
8782 | * rtl.def (JUMP_TABLE_DATA): New RTX_INSN object. | |
8783 | * rtl.h (RTX_PREV, RTX_NEXT): Adjust for new JUMP_TABLE_DATA. | |
8784 | (INSN_DELETED_P): Likewise. | |
8785 | (emit_jump_table_data): New prototype. | |
8786 | * gengtype.c (adjust_field_rtx_def): Handle JUMP_TABLE_DATA fields | |
8787 | after 4th as unused. | |
8788 | * print-rtl.c (print_rtl): Handle JUMP_TABLE_DATA. | |
8789 | * sched-vis.c (print_insn): Likewise. | |
8790 | * emit-rtl.c (active_insn_p): Consider JUMP_TABLE_DATA an active | |
8791 | insn for compatibility with back ends that use next_active_insn to | |
8792 | identify jump table data. | |
8793 | (set_insn_deleted): Remove no longer useful JUMP_TABLE_DATA_P check. | |
8794 | (remove_insn): Likewise. | |
8795 | (emit_insn): Do not accept JUMP_TABLE_DATA objects in insn chains | |
8796 | to be emitted. | |
8797 | (emit_debug_insn, emit_jump_insn, emit_call_insn, emit_label): Idem. | |
8798 | (emit_jump_table_data): New function. | |
8799 | ||
8800 | * cfgbuild.c (inside_basic_block_p): A JUMP_INSN is always inside a | |
8801 | basic block, a JUMP_TABLE_DATA never is. | |
8802 | (control_flow_insn_p): JUMP_TABLE_DATA is not a control flow insn. | |
8803 | * cfgrtl.c (duplicate_insn_chain): Split handling of JUMP_TABLE_DATA | |
8804 | off from code handling real insns. | |
8805 | * final.c (get_attr_length_1): Simplify for JUMP_INSNs. | |
8806 | * function.c (instantiate_virtual_regs): Remove JUMP_TABLE_DATA_P | |
8807 | test, now redundant because JUMP_TABLE_DATA is not an INSN_P insn. | |
8808 | * gcse.c (insert_insn_end_basic_block): Likewise, JUMP_TABLE_DATA_P | |
8809 | is not a NONDEBUG_INSN_P. | |
8810 | * ira-costs.c (scan_one_insn): Likewise. | |
8811 | * jump.c (mark_all_labels): Likewise. | |
8812 | (mark_jump_label_1): Likewise. | |
8813 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
8814 | * lra.c (get_insn_freq): Expect all insns reaching here to be in | |
8815 | a basic block. | |
8816 | (check_rtl): Remove JUMP_TABLE_DATA_P test, not a NONDEBUG_INSN_P insn. | |
8817 | * predict.c (expensive_function_p): Use FOR_BB_INSNS. | |
8818 | * reload1.c (calculate_needs_all_insns): Call set_label_offsets for | |
8819 | JUMP_TABLE_DATA_P insns. | |
8820 | (calculate_elim_costs_all_insns): Likewise. | |
8821 | (set_label_offsets): Recurse on the PATTERN of JUMP_TABLE_DATA insns. | |
8822 | (elimination_costs_in_insn): Remove redundant JUMP_TABLE_DATA_P test. | |
8823 | (delete_output_reload): Code style fixups. | |
8824 | * reorg.c (dbr_schedule): Move JUMP_TABLE_DATA_P up to avoid setting | |
8825 | insn flags on this non-insn. | |
8826 | * sched-rgn.c (add_branch_dependences): Treat JUMP_TABLE_DATA insns | |
8827 | as scheduling barriers, for pre-change compatibility. | |
8828 | * stmt.c (emit_case_dispatch_table): Emit jump table data not as | |
8829 | JUMP_INSN objects but instead as JUMP_TABLE_DATA objects. | |
8830 | ||
8831 | * config/alpha/alpha.c (alpha_does_function_need_gp): Remove | |
8832 | redundant JUMP_TABLE_DATA_P test. | |
8833 | * config/arm/arm.c (thumb_far_jump_used_p): Likewise. | |
8834 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
8835 | (frv_for_each_packet): Likewise. | |
8836 | * config/i386/i386.c (min_insn_size): Likewise. | |
8837 | (ix86_avoid_jump_mispredicts): Likewise. | |
8838 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
8839 | * config/mep/mep.c (mep_reorg_erepeat): Likewise. | |
8840 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
8841 | (mips16_insn_length): Robustify. | |
8842 | (mips_has_long_branch_p): Remove redundant JUMP_TABLE_DATA_P test. | |
8843 | (mips16_split_long_branches): Likewise. | |
8844 | * config/pa/pa.c (pa_combine_instructions): Likewise. | |
8845 | * config/rs6000/rs6000.c (get_next_active_insn): Treat | |
8846 | JUMP_TABLE_DATA objects as active insns, like in active_insn_p. | |
8847 | * config/s390/s390.c (s390_chunkify_start): Treat JUMP_TABLE_DATA | |
8848 | as contributing to pool range lengths. | |
8849 | * config/sh/sh.c (find_barrier): Restore check for ADDR_DIFF_VEC. | |
8850 | Remove redundant JUMP_TABLE_DATA_P test. | |
8851 | (sh_loop_align): Likewise. | |
8852 | (split_branches): Likewise. | |
8853 | (sh_insn_length_adjustment): Likewise. | |
8854 | * config/spu/spu.c (get_branch_target): Likewise. | |
8855 | ||
0208f7da JH |
8856 | 2013-03-29 Jan Hubicka <jh@suse.cz> |
8857 | ||
8858 | * lto-cgraph.c (output_profile_summary, input_profile_summary): Use | |
8859 | gcov streaming; stream hot bb threshold to ltrans. | |
8860 | * predict.c (get_hot_bb_threshold): Break out from .... | |
8861 | (maybe_hot_count_p): ... here. | |
8862 | (set_hot_bb_threshold): New function. | |
8863 | * lto-section-in.c (lto_section_name): Add profile. | |
8864 | * profile.h (get_hot_bb_threshold, set_hot_bb_threshold): Declare. | |
8865 | * ipa.c: Include hash-table.h, tree-inline.h, profile.h, lto-streamer.h | |
8866 | and data-streamer.h | |
8867 | (histogram_entry): New structure. | |
8868 | (histogram, histogram_pool): New global vars. | |
8869 | (histogram_hash): New structure. | |
8870 | (histogram_hash::hash): New method. | |
8871 | (histogram_hash::equal): Likewise. | |
8872 | (account_time_size): New function. | |
8873 | (cmp_counts): New function. | |
8874 | (dump_histogram): New function. | |
8875 | (ipa_profile_generate_summary): New function. | |
8876 | (ipa_profile_write_summary): New function. | |
8877 | (ipa_profile_read_summary): New function. | |
8878 | (ipa_profile): Decide on threshold. | |
e594716a UB |
8879 | (pass_ipa_profile): Add ipa_profile_write_summary and |
8880 | ipa_profile_read_summary. | |
0208f7da JH |
8881 | * Makefile.in (ipa.o): Update dependencies. |
8882 | * lto-streamer.h (LTO_section_ipa_profile): New section. | |
8883 | ||
5a6ccc94 GDR |
8884 | 2013-03-29 Gabriel Dos Reis <gdr@integrable-solutions.net> |
8885 | ||
8886 | * tree.h (VAR_P): New. | |
8887 | ||
39385fa6 PC |
8888 | 2013-03-29 Paolo Carlini <paolo.carlini@oracle.com> |
8889 | ||
8890 | PR lto/56777 | |
8891 | * doc/invoke.texi ([-fwhole-program]): Fix typo. | |
8892 | ||
34f0d87a SB |
8893 | 2013-03-29 Steven Bosscher <steven@gcc.gnu.org> |
8894 | ||
8895 | * cfgbuild.c (inside_basic_block_p): Use JUMP_TABLE_DATA_P in lieu | |
8896 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
8897 | (control_flow_insn_p): Likewise. | |
8898 | * cfgrtl.c (duplicate_insn_chain): Likewise. | |
8899 | * final.c (get_attr_length_1): Likewise. | |
8900 | (shorten_branches): Likewise. | |
8901 | (final_scan_insn): Likewise. | |
8902 | * function.c (instantiate_virtual_regs): Likewise. | |
8903 | * gcse.c (insert_insn_end_basic_block): Likewise. | |
8904 | * ira-costs.c (scan_one_insn): Likewise. | |
8905 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
8906 | * lra.c (check_rtl): Likewise. | |
8907 | * reload1.c (elimination_costs_in_insn): Likewise. | |
8908 | * reorg.c (follow_jumps): Likewise. | |
8909 | ||
8910 | * config/arm/arm.c (is_jump_table): Use JUMP_TABLE_DATA_P in lieu | |
8911 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
8912 | (thumb_far_jump_used_p): Likewise. | |
8913 | * config/bfin/bfin.c (workaround_rts_anomaly): Likewise. | |
8914 | (workaround_speculation): Likewise. | |
8915 | (add_sched_insns_for_speculation): Likewise. | |
8916 | * config/c6x/c6x.c (reorg_emit_nops): Likewise. | |
8917 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
8918 | (frv_for_each_packet): Likewise. | |
8919 | * config/i386/i386.c (ix86_avoid_jump_mispredicts): Likewise. | |
8920 | * config/ia64/ia64.c (emit_all_insn_group_barriers): Likewise. | |
8921 | (final_emit_insn_group_barriers): Likewise. | |
8922 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
8923 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
8924 | (mips16_insn_length): Likewise. | |
8925 | * config/pa/pa.c (pa_reorg): Likewise. | |
8926 | (pa_combine_instructions): Likewise. | |
8927 | * config/rs6000/rs6000.c (rs6000_invalid_within_doloop): Likewise. | |
8928 | * config/sh/sh.c (fixup_addr_diff_vecs): Likewise. | |
8929 | (sh_reorg): Likewise. | |
8930 | (split_branches): Likewise. | |
8931 | * config/spu/spu.c (get_branch_target): Likewise. | |
8932 | ||
8933 | * config/s390/s390.c (s390_chunkify_start): Simplify logic using | |
8934 | JUMP_TABLE_DATA_P. | |
8935 | ||
4ac761b0 KY |
8936 | 2013-03-29 Kirill Yukhin <kirill.yukhin@intel.com> |
8937 | ||
39385fa6 | 8938 | * config/i386/avx2intrin.h (_mm256_broadcastsi128_si256): |
4ac761b0 KY |
8939 | Fix declaration name. |
8940 | ||
58a49189 LC |
8941 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
8942 | ||
8943 | * graphds.h (struct graph.indicies): Remove unused. | |
8944 | * graphite-poly.h (struct graph.original_pddrs): Remove unused. | |
8945 | (SCOP_ORIGINAL_PDDRS): Remove unused. | |
8946 | * sese.h (extern insert_loop_close_phis): Removed unused. | |
8947 | (extern insert_guard_phis): Removed unused. | |
8948 | (extern ivtype_map_elt_info): Removed unused. | |
8949 | (new_ivtype_map_elt): Removed unused. | |
8950 | * sese.c (ivtype_map_elt_info): Removed unused. | |
8951 | ||
7b3b6ae4 LC |
8952 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
8953 | ||
8954 | * Makefile.in: Add several missing include dependences. | |
8955 | (DUMPFILE_H): New. | |
8956 | (test-dump.o): New. This object is not added to any executable, | |
8957 | but is present for ad-hoc testing. | |
8958 | * bitmap.c | |
8959 | (debug (const bitmap_head_def &)): New. | |
8960 | (debug (const bitmap_head_def *)): New. | |
8961 | * bitmap.h | |
8962 | (extern debug (const bitmap_head_def &)): New. | |
8963 | (extern debug (const bitmap_head_def *)): New. | |
8964 | * cfg.c | |
8965 | (debug (edge_def &)): New. | |
8966 | (debug (edge_def *)): New. | |
8967 | * cfghooks.c | |
8968 | (debug (basic_block_def &)): New. | |
8969 | (debug (basic_block_def *)): New. | |
8970 | * dumpfile.h | |
8971 | (dump_node (const_tree, int, FILE *)): Correct source file. | |
8972 | * dwarf2out.c | |
8973 | (debug (die_struct &)): New. | |
8974 | (debug (die_struct *)): New. | |
8975 | * dwarf2out.h | |
8976 | (extern debug (die_struct &)): New. | |
8977 | (extern debug (die_struct *)): New. | |
8978 | * gimple-pretty-print.c | |
8979 | (debug (gimple_statement_d &)): New. | |
8980 | (debug (gimple_statement_d *)): New. | |
8981 | * gimple-pretty-print.h | |
8982 | (extern debug (gimple_statement_d &)): New. | |
8983 | (extern debug (gimple_statement_d *)): New. | |
8984 | * ira-build.c | |
8985 | (debug (ira_allocno_copy &)): New. | |
8986 | (debug (ira_allocno_copy *)): New. | |
8987 | (debug (ira_allocno &)): New. | |
8988 | (debug (ira_allocno *)): New. | |
8989 | * ira-int.h | |
8990 | (extern debug (ira_allocno_copy &)): New. | |
8991 | (extern debug (ira_allocno_copy *)): New. | |
8992 | (extern debug (ira_allocno &)): New. | |
8993 | (extern debug (ira_allocno *)): New. | |
8994 | * ira-lives.c | |
8995 | (debug (live_range &)): New. | |
8996 | (debug (live_range *)): New. | |
8997 | * lra-int.h | |
8998 | (debug (lra_live_range &)): New. | |
8999 | (debug (lra_live_range *)): New. | |
9000 | * lra-lives.c | |
9001 | (debug (lra_live_range &)): New. | |
9002 | (debug (lra_live_range *)): New. | |
9003 | * omega.c | |
9004 | (debug (omega_pb_d &)): New. | |
9005 | (debug (omega_pb_d *)): New. | |
9006 | * omega.h | |
9007 | (extern debug (omega_pb_d &)): New. | |
9008 | (extern debug (omega_pb_d *)): New. | |
9009 | * print-rtl.c | |
9010 | (debug (const rtx_def &)): New. | |
9011 | (debug (const rtx_def *)): New. | |
9012 | * print-tree.c | |
9013 | (debug_tree (tree): Move within file. | |
9014 | (debug_raw (const tree_node &)): New. | |
9015 | (debug_raw (const tree_node *)): New. | |
9016 | (dump_tree_via_hooks (const tree_node *, int)): New. | |
9017 | (debug (const tree_node &)): New. | |
9018 | (debug (const tree_node *)): New. | |
9019 | (debug_verbose (const tree_node &)): New. | |
9020 | (debug_verbose (const tree_node *)): New. | |
9021 | (debug_head (const tree_node &)): New. | |
9022 | (debug_head (const tree_node *)): New. | |
9023 | (debug_body (const tree_node &)): New. | |
9024 | (debug_body (const tree_node *)): New. | |
9025 | (debug_vec_tree (tree): Move and reimplement in terms of dump. | |
9026 | (debug (vec<tree, va_gc> &)): New. | |
9027 | (debug (vec<tree, va_gc> *)): New. | |
9028 | * rtl.h | |
9029 | (extern debug (const rtx_def &)): New. | |
9030 | (extern debug (const rtx_def *)): New. | |
9031 | * sbitmap.c | |
9032 | (debug_raw (simple_bitmap_def &)): New. | |
9033 | (debug_raw (simple_bitmap_def *)): New. | |
9034 | (debug (simple_bitmap_def &)): New. | |
9035 | (debug (simple_bitmap_def *)): New. | |
9036 | * sbitmap.h | |
9037 | (extern debug (simple_bitmap_def &)): New. | |
9038 | (extern debug (simple_bitmap_def *)): New. | |
9039 | (extern debug_raw (simple_bitmap_def &)): New. | |
9040 | (extern debug_raw (simple_bitmap_def *)): New. | |
9041 | * sel-sched-dump.c | |
9042 | (debug (vinsn_def &)): New. | |
9043 | (debug (vinsn_def *)): New. | |
9044 | (debug_verbose (vinsn_def &)): New. | |
9045 | (debug_verbose (vinsn_def *)): New. | |
9046 | (debug (expr_def &)): New. | |
9047 | (debug (expr_def *)): New. | |
9048 | (debug_verbose (expr_def &)): New. | |
9049 | (debug_verbose (expr_def *)): New. | |
9050 | (debug (vec<rtx> &)): New. | |
9051 | (debug (vec<rtx> *)): New. | |
9052 | * sel-sched-dump.h | |
9053 | (extern debug (vinsn_def &)): New. | |
9054 | (extern debug (vinsn_def *)): New. | |
9055 | (extern debug_verbose (vinsn_def &)): New. | |
9056 | (extern debug_verbose (vinsn_def *)): New. | |
9057 | (extern debug (expr_def &)): New. | |
9058 | (extern debug (expr_def *)): New. | |
9059 | (extern debug_verbose (expr_def &)): New. | |
9060 | (extern debug_verbose (expr_def *)): New. | |
9061 | (extern debug (vec<rtx> &)): New. | |
9062 | (extern debug (vec<rtx> *)): New. | |
9063 | * sel-sched-ir.h | |
9064 | (_list_iter_cond_expr): Make inline instead of static. | |
9065 | * sreal.c | |
9066 | (debug (sreal &)): New. | |
9067 | (debug (sreal *)): New. | |
9068 | * sreal.h | |
9069 | (extern debug (sreal &)): New. | |
9070 | (extern debug (sreal *)): New. | |
9071 | * tree.h | |
9072 | (extern debug_raw (const tree_node &)): New. | |
9073 | (extern debug_raw (const tree_node *)): New. | |
9074 | (extern debug (const tree_node &)): New. | |
9075 | (extern debug (const tree_node *)): New. | |
9076 | (extern debug_verbose (const tree_node &)): New. | |
9077 | (extern debug_verbose (const tree_node *)): New. | |
9078 | (extern debug_head (const tree_node &)): New. | |
9079 | (extern debug_head (const tree_node *)): New. | |
9080 | (extern debug_body (const tree_node &)): New. | |
9081 | (extern debug_body (const tree_node *)): New. | |
9082 | (extern debug (vec<tree, va_gc> &)): New. | |
9083 | (extern debug (vec<tree, va_gc> *)): New. | |
9084 | * tree-cfg.c | |
9085 | (debug (struct loop &)): New. | |
9086 | (debug (struct loop *)): New. | |
9087 | (debug_verbose (struct loop &)): New. | |
9088 | (debug_verbose (struct loop *)): New. | |
9089 | * tree-dump.c: Add header dependence. | |
9090 | * tree-flow.h | |
9091 | (extern debug (struct loop &)): New. | |
9092 | (extern debug (struct loop *)): New. | |
9093 | (extern debug_verbose (struct loop &)): New. | |
9094 | (extern debug_verbose (struct loop *)): New. | |
9095 | * tree-data-ref.c | |
9096 | (debug (data_reference &)): New. | |
9097 | (debug (data_reference *)): New. | |
9098 | (debug (vec<data_reference_p> &)): New. | |
9099 | (debug (vec<data_reference_p> *)): New. | |
9100 | (debug (vec<ddr_p> &)): New. | |
9101 | (debug (vec<ddr_p> *)): New. | |
9102 | * tree-data-ref.h | |
9103 | (extern debug (data_reference &)): New. | |
9104 | (extern debug (data_reference *)): New. | |
9105 | (extern debug (vec<data_reference_p> &)): New. | |
9106 | (extern debug (vec<data_reference_p> *)): New. | |
9107 | (extern debug (vec<ddr_p> &)): New. | |
9108 | (extern debug (vec<ddr_p> *)): New. | |
9109 | * tree-ssa-alias.c | |
9110 | (debug (pt_solution &)): New. | |
9111 | (debug (pt_solution *)): New. | |
9112 | * tree-ssa-alias.h | |
9113 | (extern debug (pt_solution &)): New. | |
9114 | (extern debug (pt_solution *)): New. | |
9115 | * tree-ssa-alias.c | |
9116 | (debug (_var_map &)): New. | |
9117 | (debug (_var_map *)): New. | |
9118 | (debug (tree_live_info_d &)): New. | |
9119 | (debug (tree_live_info_d *)): New. | |
9120 | * tree-ssa-alias.h | |
9121 | (extern debug (_var_map &)): New. | |
9122 | (extern debug (_var_map *)): New. | |
9123 | (extern debug (tree_live_info_d &)): New. | |
9124 | (extern debug (tree_live_info_d *)): New. | |
9125 | ||
be77e1e5 JH |
9126 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
9127 | ||
9128 | * lto-cgraph.c (merge_profile_summaries): Fix overflows. | |
9129 | ||
777e6976 IB |
9130 | 2013-03-28 Ian Bolton <ian.bolton@arm.com> |
9131 | ||
9132 | * config/aarch64/aarch64.md (aarch64_can_eliminate): Keep frame | |
9133 | record only when desired or required. | |
9134 | ||
9cd347ae UB |
9135 | 2013-03-28 Uros Bizjak <ubizjak@gmail.com> |
9136 | ||
9137 | * config/i386/i386.md (*vec_extract2vdi_1): Merge with | |
9138 | *vec_extractv2di_1_rex64. Use x64 isa attribute. | |
9139 | ||
33159866 | 9140 | 2013-03-28 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
2a1d1991 N |
9141 | |
9142 | * config/aarch64/aarch64.md (*and<mode>3_compare0): New pattern. | |
9143 | (*andsi3_compare0_uxtw): New pattern. | |
9144 | (*and_<SHIFT:optab><mode>3_compare0): New pattern. | |
9145 | (*and_<SHIFT:optab>si3_compare0_uxtw): New pattern. | |
9146 | ||
89ab31c1 JH |
9147 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
9148 | ||
9149 | * data-streamer-in.c (streamer_read_gcov_count): New function. | |
9150 | * gimple-streamer-out.c: Include value-prof.h. | |
9151 | (output_gimple_stmt): Output histogram. | |
9152 | (output_bb): Use streamer_write_gcov_count. | |
9153 | * value-prof.c: Include data-streamer.h | |
9154 | (dump_histogram_value): Add HIST_TYPE_MAX. | |
9155 | (stream_out_histogram_value): New function. | |
9156 | (stream_in_histogram_value): New function. | |
9157 | * value-prof.h (enum hist_type): Add HIST_TYPE_MAX. | |
9158 | (stream_out_histogram_value, stream_in_histogram_value): Declare. | |
9159 | * data-streamer-out.c (streamer_write_gcov_count): New function. | |
9160 | (streamer_write_gcov_count_stream): New function. | |
9161 | * lto-cgraph.c (lto_output_edge): Update counter streaming. | |
9162 | (lto_output_node): Likewise. | |
9163 | (input_node, input_edge): Likewise. | |
9164 | * lto-streamer-out.c (output_cfg): Update streaming. | |
9165 | * lto-streamer-in.c (input_cfg): Likewise. | |
9166 | * data-streamer.h (streamer_write_gcov_count, | |
9167 | streamer_write_gcov_count_stream, streamer_read_gcov_count): Declare. | |
9168 | * gimple-streamer-in.c: Include value-prof.h | |
9169 | (input_gimple_stmt): Input histograms. | |
9170 | (input_bb): Update profile streaming. | |
9171 | ||
e594716a | 9172 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
b4c73eed | 9173 | |
33159866 | 9174 | * genmodes.c (emit_max_int): New function. |
8697be17 | 9175 | (emit_insn_modes_h): Added call to emit_max_function. |
39385fa6 PC |
9176 | * doc/rtl.texi (MAX_BITSIZE_MODE_ANY_INT, MAX_BITSIZE_MODE_ANY_MODE): |
9177 | Added doc. | |
8697be17 | 9178 | * machmode.def: Fixed comment. |
89ab31c1 | 9179 | |
e594716a | 9180 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
8697be17 KZ |
9181 | |
9182 | * combine.c (try_combine): Removed useless assert. | |
b4c73eed KZ |
9183 | * cselib.c (rtx_equal_for_cselib_1): Removed unnecessary parens. |
9184 | ||
74946978 MP |
9185 | 2013-03-28 Marek Polacek <polacek@redhat.com> |
9186 | Richard Biener <rguenther@suse.de> | |
9187 | ||
9188 | PR tree-optimization/56695 | |
9189 | * tree-vect-stmts.c (vectorizable_condition): Unconditionally | |
9190 | build signed result of a vector comparison. | |
9191 | * tree-cfg.c (verify_gimple_comparison): Check that a result | |
9192 | of a vector comparison has signed type. | |
9193 | ||
a64b9c26 RB |
9194 | 2013-03-28 Richard Biener <rguenther@suse.de> |
9195 | ||
9196 | PR tree-optimization/37021 | |
9197 | * tree-vect-slp.c (vect_build_slp_tree): When not unrolling | |
9198 | do not restrict gaps between groups. | |
9199 | * tree-vect-stmts.c (vectorizable_load): Properly account for | |
9200 | a gap between groups. | |
9201 | ||
a9dc2a2f EB |
9202 | 2013-03-28 Eric Botcazou <ebotcazou@adacore.com> |
9203 | ||
9204 | * toplev.c (process_options): Do not disable -fomit-frame-pointer on a | |
9205 | general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS | |
9206 | is not enabled. | |
9207 | ||
53cb97f9 GP |
9208 | 2013-03-27 Gerald Pfeifer <gerald@pfeifer.com> |
9209 | ||
9210 | * doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual. | |
9211 | * doc/extend.texi (Named Address Spaces): Ditto. | |
9212 | (Variable Attributes): Ditto. | |
9213 | ||
b802ae5c KT |
9214 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
9215 | ||
eddae10a KT |
9216 | * config.build: Add support for cygwin x64 target. |
9217 | * config.gcc: Likewise. | |
9218 | * config.host: Likewise. | |
9219 | * configure.ac: Likewise | |
9220 | * configure: Regenerated. | |
b802ae5c | 9221 | |
8269de54 KT |
9222 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
9223 | ||
9224 | * config/i386/cygwin-stdint.h: Add support for cygwin x64 target. | |
9225 | * config/i386/t-cygwin-w64: New file. | |
9226 | * config/i386/cygwin-w64.h: New file. | |
9227 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Extend | |
9228 | and add support for x64-cygwin target. | |
9229 | (CPP_SPEC): Likewise. | |
9230 | (CXX_WRAP_SPEC_LIST): Undefine before define. | |
9231 | (LIBGCJ_SONAME): Use 15 as version. | |
9232 | ||
f49b33cb RB |
9233 | 2013-03-27 Richard Biener <rguenther@suse.de> |
9234 | ||
9235 | PR tree-optimization/56716 | |
9236 | * tree-ssa-structalias.c (perform_var_substitution): Adjust | |
9237 | dumping for ref nodes. | |
9238 | ||
b37a6ce5 MJ |
9239 | 2013-03-27 Martin Jambor <mjambor@suse.cz> |
9240 | ||
9241 | PR tree-optimization/55334 | |
9242 | * ipa-cp.c (initialize_node_lattices): Allow IPA-CP through and to | |
9243 | restricted pointers to arrays. | |
9244 | ||
9469b9b2 GDR |
9245 | 2013-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
9246 | ||
9247 | * Makefile.in (.SUFFIXES): Add .cc. | |
9248 | (.c.o): Apply same recipe for implicit rule .cc.o. | |
9249 | ||
7d24f650 RB |
9250 | 2013-03-27 Richard Biener <rguenther@suse.de> |
9251 | ||
9252 | PR tree-optimization/37021 | |
9253 | * tree-vect-data-refs.c (vect_check_strided_load): Allow | |
9254 | REALPART/IMAGPART_EXPRs around the supported refs. | |
9255 | * tree-ssa-structalias.c (find_func_aliases): Assume that | |
9256 | floating-point values are not used to transfer pointers. | |
9257 | ||
2f251a05 AI |
9258 | 2013-03-27 Alexander Ivchenko <alexander.ivchenko@intel.com> |
9259 | ||
39385fa6 PC |
9260 | * target.def (TARGET_HAS_IFUNC_P): New target hook. |
9261 | * doc/tm.texi.in (TARGET_HAS_IFUNC_P): New. | |
9262 | * doc/tm.texi: Regenerate. | |
9263 | * targhooks.h (default_has_ifunc_p): New. | |
9264 | * targhooks.c (default_has_ifunc_p): Ditto. | |
9265 | * config/linux-protos.h: New file. | |
9266 | * config/linux-android.h (TARGET_HAS_IFUNC_P): Using version of | |
2f251a05 AI |
9267 | this hook for linux which disables support of indirect functions in |
9268 | android. | |
39385fa6 PC |
9269 | * config/linux-android.c: New file. |
9270 | * config/t-linux-android.c: Ditto. | |
9271 | * config.gcc: Added new object file linux-android.o. | |
9272 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): | |
2f251a05 | 9273 | Using TARGET_HAS_IFUNC hook instead of HAVE_GNU_INDIRECT_FUNCTION. |
39385fa6 | 9274 | * varasm.c (do_assemble_alias): Likewise. |
2f251a05 AI |
9275 | * configure.ac: Define HAVE_GNU_INDIRECT_FUNCTION as zero if the target |
9276 | doesn't support indirect functions. | |
9277 | * configure: Regenerate. | |
9278 | ||
78b4e425 BC |
9279 | 2013-03-27 Bin Cheng <bin.cheng@arm.com> |
9280 | ||
9281 | PR target/56102 | |
9282 | * config/arm/arm.c (thumb1_rtx_costs, thumb1_size_rtx_costs): Fix | |
9283 | rtx costs for SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT patterns with | |
9284 | mult-word mode. | |
9285 | ||
a5ba7b92 AK |
9286 | 2013-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9287 | ||
9288 | * config/s390/s390.h (TARGET_FLT_EVAL_METHOD): Define. | |
9289 | ||
be624986 TG |
9290 | 2013-03-27 Terry Guo <terry.guo@arm.com> |
9291 | ||
9292 | * config/arm/arm-cores.def: Added core cortex-r7. | |
9293 | * config/arm/arm-tune.md: Regenerated. | |
9294 | * config/arm/arm-tables.opt: Regenerated. | |
9295 | * doc/invoke.texi: Added entry for core cortex-r7. | |
9296 | ||
0a514f47 WL |
9297 | 2013-03-27 Walter Lee <walt@tilera.com> |
9298 | ||
9299 | * config/tilegx/tilegx.c (tilegx_expand_prologue): Avoid | |
9300 | double-decrement of next_scratch_regno. | |
9301 | ||
9332b0d2 WL |
9302 | 2013-03-27 Walter Lee <walt@tilera.com> |
9303 | ||
801d9b2a | 9304 | * config/tilegx/tilegx.md (insn_v1mulu): Fix predicates on |
9332b0d2 WL |
9305 | input operands. |
9306 | (insn_v1mulus): Ditto. | |
9307 | (insn_v2muls): Ditto. | |
9308 | ||
f54ea5dd WL |
9309 | 2013-03-27 Walter Lee <walt@tilera.com> |
9310 | ||
e594716a | 9311 | * config/tilegx/tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete extra tab. |
f54ea5dd WL |
9312 | (ASM_OUTPUT_ADDR_DIFF_ELT): Ditto. |
9313 | ||
bf60f4ca WL |
9314 | 2013-03-27 Walter Lee <walt@tilera.com> |
9315 | ||
e594716a | 9316 | * config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute for jr. |
bf60f4ca WL |
9317 | (*sibcall_value): Ditto. |
9318 | ||
e3b51eeb WL |
9319 | 2013-03-27 Walter Lee <walt@tilera.com> |
9320 | ||
9321 | * config/tilegx/tilegx.md (insn_mnz_<mode>): Replaced by ... | |
9322 | (insn_mnz_v8qi): ... this ... | |
9323 | (insn_mnz_v4hi): ... and this. Replace (const_int 0) with the | |
9324 | vector equivalent. | |
9325 | (insn_v<n>mnz): Replaced by ... | |
9326 | (insn_v1mnz): ... this ... | |
9327 | (insn_v2mnz): ... and this. Replace (const_int 0) with the vector | |
9328 | equivalent. | |
9329 | (insn_mz_<mode>): Replaced by ... | |
9330 | (insn_mz_v8qi): ... this ... | |
9331 | (insn_mz_v4hi): ... and this. Replace (const_int 0) with the | |
9332 | vector equivalent. | |
9333 | (insn_v<n>mz): Replaced by ... | |
9334 | (insn_v1mz): ... this ... | |
9335 | (insn_v2mz): ... and this. Replace (const_int 0) with the vector | |
9336 | equivalent. | |
9337 | ||
4fc7b145 EB |
9338 | 2013-03-26 Eric Botcazou <ebotcazou@adacore.com> |
9339 | ||
9340 | * doc/invoke.texi (SPARC options): Remove -mlittle-endian. | |
9341 | ||
6f33817e RM |
9342 | 2013-03-26 Roland McGrath <mcgrathr@google.com> |
9343 | ||
9344 | * config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather | |
9345 | than fprintf with a non-constant, non-format string. | |
9346 | ||
93a4145b UB |
9347 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
9348 | ||
9349 | * config/i386/i386.md (*cmpqi_ext_1): Merge with *cmpqi_ext_1_rex64 | |
9350 | using nox64 isa attribute. Use nonimmediate_x86nomem_operand as | |
9351 | operand 0 predicate. | |
9352 | (*cmpqi_ext_3): Merge with *cmpqi_ext_3_rex64 using nox64 isa | |
9353 | attribute. Use general_x64nomem_operand as operand 1 predicate. | |
9354 | (*movqi_extv_1): Merge with *movqi_extv_1_rex64 using nox64 isa | |
9355 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
9356 | (*movqi_extzv_2): Merge with *movqi_extzv_2_rex64 using nox64 isa | |
9357 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
9358 | (mov<mode>_insv_1): Remove expander. Merge insn with | |
9359 | movsi_insv_1 using SWI48 mode iterator and nox64 isa attribute. | |
9360 | Use general_x64nomem_operand as operand 1 predicate. | |
9361 | (addqi_ext_1): Merge with *addqi_ext_1_rex64 using nox64 isa attribute. | |
9362 | (*testqi_ext_1): Merge with *testqi_ext_1_rex64 using nox64 isa | |
9363 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
9364 | (*andqi_ext_1): Merge with *andqi_ext_1_rex64 using nox64 isa | |
9365 | attribute. Use nonimmediate_x64nomem_operand as operand 2 predicate. | |
9366 | (*<code>qi_ext_1): Merge with *<code>qi_ext_1_rex64 using nox64 isa | |
9367 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
9368 | (*xorqi_cc_ext_1): Merge with *xorqi_cc_ext_1_rex64 using nox64 | |
9369 | isa attribute. Use general_x64nomem_operand as operand 2 predicate. | |
9370 | * config/i386/predicates.md (nonimmediate_x64nomem_operand): New. | |
9371 | (general_x64nomem_operand): Ditto. | |
9372 | ||
c6a9ed5a | 9373 | 2013-03-26 Sebastian Huber <sebastian.huber@embedded-brains.de> |
df599020 SH |
9374 | |
9375 | * config/rtems.opt: Add -pthread option. | |
9376 | ||
31b0a960 RB |
9377 | 2013-03-26 Richard Biener <rguenther@suse.de> |
9378 | ||
93a4145b UB |
9379 | * alias.c (find_base_term): Avoid redundant and not used recursion. |
9380 | (base_alias_check): Get the initial base term from the caller. | |
31b0a960 RB |
9381 | (true_dependence_1): Compute and pass base terms to base_alias_check. |
9382 | (write_dependence_p): Likewise. | |
9383 | (may_alias_p): Likewise. | |
9384 | ||
79517551 SN |
9385 | 2013-03-26 Sofiane Naci <sofiane.naci@arm.com> |
9386 | ||
9387 | * config/aarch64/aarch64.c (aarch64_classify_address): Support | |
9388 | PC-relative load in SI modes and above only. | |
9389 | ||
a76213b9 XQ |
9390 | 2013-03-26 Xinyu Qi <xyqi@marvell.com> |
9391 | ||
9392 | * config/arm/arm.h (FIRST_IWMMXT_GR_REGNUM): Add comment. | |
33159866 UB |
9393 | * config/arm/iwmmxt.md (WCGR0): Update. |
9394 | (WCGR1, WCGR2, WCGR3): Likewise. | |
a76213b9 | 9395 | |
37ff9355 UB |
9396 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
9397 | ||
9398 | * config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64. | |
9399 | Use x64 and nox64 isa attributes. | |
9400 | ||
30b0317c RB |
9401 | 2013-03-26 Richard Biener <rguenther@suse.de> |
9402 | ||
9403 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove | |
9404 | alignment computations and rely on get_object_alignment_1 | |
9405 | for the !TYPE_P case. | |
9406 | Commonize DECL/COMPONENT_REF handling in the ARRAY_REF path. | |
9407 | ||
cbcdb140 WL |
9408 | 2013-03-26 Walter Lee <walt@tilera.com> |
9409 | ||
9410 | * config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define. | |
9411 | * config/tilegx/tilepro.h (PROFILE_BEFORE_PROLOGUE): Define. | |
9412 | ||
dd884525 | 9413 | 2013-03-25 Jeff Law <law@redhat.com> |
be672e08 | 9414 | |
33159866 UB |
9415 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing |
9416 | check for INTEGRAL_TYPE_P that was missing due to checking in | |
dd884525 JL |
9417 | wrong version of prior patch. |
9418 | ||
0051d3ec WL |
9419 | 2013-03-25 Walter Lee <walt@tilera.com> |
9420 | ||
9421 | * config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add | |
9422 | TILEGX_INSN_SHUFFLEBYTES1. | |
9423 | * config/tilegx/tilegx.c (tilegx_builtin_info): Add entry for | |
9424 | shufflebytes1. | |
9425 | (tilegx_builtins): Ditto. | |
9426 | * config/tilegx/tilegx.md (insn_shufflebytes1): New pattern. | |
9427 | ||
065a3605 WL |
9428 | 2013-03-25 Walter Lee <walt@tilera.com> |
9429 | ||
9430 | * config/tilegx/tilegx.md (floatsisf2): New pattern. | |
0051d3ec WL |
9431 | (floatunssisf2): New pattern. |
9432 | (floatsidf2): New pattern. | |
9433 | (floatunssidf2): New pattern. | |
065a3605 | 9434 | |
5b2a3c82 WL |
9435 | 2013-03-25 Walter Lee <walt@tilera.com> |
9436 | ||
9437 | * config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline | |
9438 | tests for constraint J, K, N, P. | |
9439 | ||
192ea533 WL |
9440 | 2013-03-25 Walter Lee <walt@tilera.com> |
9441 | ||
9442 | * config/tilegx/tilegx.c (tilegx_asm_preferred_eh_data_format): | |
9443 | Use indirect/pcrel encoding. | |
9444 | * config/tilepro/tilepro.c (tilepro_asm_preferred_eh_data_format): | |
9445 | Ditto. | |
9446 | ||
855e0d0b SE |
9447 | 2013-03-25 Steve Ellcey <sellcey@mips.com> |
9448 | ||
9449 | * config/mips/mmips-cpus.def (74kc, 74kf2_1, 74kf, 74kf, 74kf1_1, | |
9450 | 74kfx, 74kx, 74kf3_2): Add PTF_AVOID_IMADD. | |
9451 | * config/mips/mips.c (mips_option_override): Set IMADD default. | |
9452 | * config/mips/mips.h (PTF_AVOID_IMADD): New. | |
9453 | (ISA_HAS_MADD_MSUB): Remove MIPS16 check. | |
9454 | (GENERATE_MADD_MSUB): Remove TUNE_74K check, add MIPS16 check. | |
9455 | * config/mips/mips.md (mimadd): New flag for integer madd/msub. | |
9456 | * doc/invoke.texi (-mimadd/-mno-imadd): New. | |
9457 | ||
39e45653 JL |
9458 | 2013-03-25 Jeff Law <law@redhat.com> |
9459 | ||
9460 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Rework | |
9461 | slightly to avoid creating and folding useless trees. Simplify | |
9462 | slightly by restricting to INTEGER_CSTs and using int_fits_type_p. | |
9463 | ||
7482c470 UB |
9464 | 2013-03-25 Uros Bizjak <ubizjak@gmail.com> |
9465 | ||
9466 | * config/i386/i386.md (*zero_extendsidi2): Merge with | |
9467 | *zero_extendsidi2_rex64. Use x64 and nox64 isa attributes. | |
9468 | * config/i386/predicates.md (x86_64_zext_operand): Rename from | |
9469 | x86_64_zext_general_operand. Use nonimmediate_operand on 32bit | |
9470 | targets. Clarify comment. | |
9471 | ||
4a53743e MJ |
9472 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
9473 | ||
9474 | * ipa-prop.c (ipa_write_jump_function): Stream simple and aritmetic | |
9475 | pass-through jump functions differently. | |
9476 | (ipa_read_jump_function): Likewise. Also use setter functions to set | |
9477 | up jump functions. | |
9478 | ||
162712de MJ |
9479 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
9480 | ||
9481 | * ipa-cp.c (ipa_get_indirect_edge_target): Renamed to | |
9482 | ipa_get_indirect_edge_target_1, added parameter agg_reps and ability to | |
9483 | process it. | |
9484 | (ipa_get_indirect_edge_target): New function. | |
9485 | (devirtualization_time_bonus): New parameter known_aggs, pass it to | |
9486 | ipa_get_indirect_edge_target. Update all callers. | |
9487 | (ipcp_discover_new_direct_edges): New parameter aggvals. Pass it to | |
9488 | ipa_get_indirect_edge_target_1 instead of calling | |
9489 | ipa_get_indirect_edge_target. | |
9490 | (create_specialized_node): Pass aggvlas to | |
9491 | ipcp_discover_new_direct_edges. | |
9492 | ||
a5a4c20a KT |
9493 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
9494 | ||
9495 | * config/arm/arm.md (f_sels, f_seld): New types. | |
9496 | (*cmov<mode>): New pattern. | |
9497 | * config/arm/predicates.md (arm_vsel_comparison_operator): New | |
9498 | predicate. | |
9499 | ||
f992b9fc KT |
9500 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
9501 | ||
9502 | * config/i386/xm-mingw32.h (__USE_MINGW_ANSI_STDIO): Enable | |
9503 | POSIX-printf for mingw-hosted builds. | |
9504 | ||
c16fd676 RB |
9505 | 2013-03-25 Richard Biener <rguenther@suse.de> |
9506 | ||
9507 | PR middle-end/56694 | |
9508 | * tree-eh.c (lower_eh_must_not_throw): Strip BLOCKs from the | |
9509 | must-not-throw stmt location. | |
9510 | ||
5ad29f12 KT |
9511 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
9512 | ||
9513 | * config/arm/arm.c (arm_emit_load_exclusive): Add acq parameter. | |
9514 | Emit load-acquire versions when acq is true. | |
9515 | (arm_emit_store_exclusive): Add rel parameter. | |
9516 | Emit store-release versions when rel is true. | |
9517 | (arm_split_compare_and_swap): Use acquire-release instructions | |
9518 | instead. | |
9519 | of barriers when appropriate. | |
9520 | (arm_split_atomic_op): Likewise. | |
9521 | * config/arm/arm.h (TARGET_HAVE_LDACQ): New macro. | |
9522 | * config/arm/unspecs.md (VUNSPEC_LAX): New unspec. | |
9523 | (VUNSPEC_SLX): Likewise. | |
9524 | (VUNSPEC_LDA): Likewise. | |
9525 | (VUNSPEC_STL): Likewise. | |
9526 | * config/arm/sync.md (atomic_load<mode>): New pattern. | |
9527 | (atomic_store<mode>): Likewise. | |
9528 | (arm_load_acquire_exclusive<mode>): Likewise. | |
9529 | (arm_load_acquire_exclusivesi): Likewise. | |
9530 | (arm_load_acquire_exclusivedi): Likewise. | |
9531 | (arm_store_release_exclusive<mode>): Likewise. | |
9532 | ||
03a7dddb CM |
9533 | 2013-03-25 Catherine Moore <clm@codesourcery.com> |
9534 | ||
9535 | * config/mips/constraints.md (u, Udb7 Uead, Uean, Uesp, Uib3, | |
9536 | Uuw6, Usb4, ZS, ZT, ZU, ZV, ZW): New constraints. | |
9537 | * config/mip/predicates.md (lwsp_swsp_operand, | |
9538 | lw16_sw16_operand, lhu16_sh16_operand, lbu16_operand, | |
9539 | sb16_operand, db4_operand, db7_operand, ib3_operand, | |
9540 | sb4_operand, ub4_operand, uh4_operand, uw4_operand, | |
9541 | uw5_operand, uw6_operand, addiur2_operand, addiusp_operand, | |
9542 | andi16_operand): New predicates. | |
9543 | * config/mips/mips.md (compression): New attribute. | |
9544 | (enabled): New attribute. | |
9545 | (length): Consider compression in computing length. | |
9546 | (shift_compression): New code attribute. | |
9547 | (*add<mode>3): New operands. Record compression. | |
9548 | (sub<mode>3): Likewise. | |
9549 | (one_cmpl<mode>2): Likewise. | |
9550 | (*and<mode>3): Likewise. | |
9551 | (*ior<mode>3): Likewise. | |
9552 | (unnamed pattern for xor): Likewise. | |
9553 | (*zero_extend<SHORT:mode><GPR:mode>2): Likewise. | |
9554 | (*<optab><mode>3): Likewise. | |
9555 | (*mov<mode>_internal: Likewise. | |
9556 | * config/mips/mips-protos.h (mips_signed_immediate_p): New. | |
9557 | (mips_unsigned_immediate_p): New. | |
9558 | (umips_lwsp_swsp_address_p): New. | |
9559 | (m16_based_address_p): New. | |
9560 | * config/mips/mips-protos.h (mips_signed_immediate_p): New prototype. | |
9561 | (mips_unsigned_immediate_p): New prototype. | |
9562 | (lwsp_swsp_address_p): New prototype. | |
9563 | (m16_based_address_p): New prototype. | |
9564 | * config/mips/mips.c (mips_unsigned_immediate_p): New function. | |
9565 | (mips_signed_immediate_p): New function. | |
9566 | (m16_based_address_p): New function. | |
9567 | (lwsp_swsp_address_p): New function. | |
9568 | (mips_print_operand_punctuation): Recognize short delay slot insns | |
9569 | for microMIPS.add<mode>3" | |
9570 | ||
f35c297f | 9571 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
a5784ce6 | 9572 | |
f35c297f KT |
9573 | PR target/56720 |
9574 | * config/arm/iterators.md (v_cmp_result): New mode attribute. | |
9575 | * config/arm/neon.md (vcond<mode><mode>): Handle unordered cases. | |
9576 | ||
051b9446 RB |
9577 | 2013-03-25 Richard Biener <rguenther@suse.de> |
9578 | ||
9579 | PR tree-optimization/56689 | |
9580 | * tree-vrp.c (execute_vrp): Mark loops for fixup if we removed | |
9581 | any edge. | |
9582 | ||
374001cb RB |
9583 | 2013-03-25 Richard Biener <rguenther@suse.de> |
9584 | ||
9585 | * tree-ssa-loop-im.c (struct mem_ref): Use bitmap_head instead | |
9586 | of bitmap. | |
9587 | (memory_references): Likewise. | |
9588 | (outermost_indep_loop, mem_ref_alloc, mark_ref_stored, | |
9589 | gather_mem_refs_stmt, record_dep_loop, ref_indep_loop_p_1, | |
9590 | ref_indep_loop_p_2, find_refs_for_sm): Adjust. | |
9591 | (gather_mem_refs_in_loops): Fold into ... | |
9592 | (analyze_memory_references): ... this. Move initialization | |
9593 | to tree_ssa_lim_initialize. | |
9594 | (fill_always_executed_in): Rename to ... | |
9595 | (fill_always_executed_in_1): ... this. | |
9596 | (fill_always_executed_in): Move contains_call computation to | |
9597 | this new function from ... | |
9598 | (tree_ssa_lim_initialize): ... here. | |
9599 | (tree_ssa_lim): Call fill_always_executed_in. | |
9600 | ||
57895947 EB |
9601 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
9602 | ||
9603 | * postreload.c (reload_combine): Fix code detecting returns. | |
9604 | ||
1e1b18c1 EB |
9605 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
9606 | ||
9607 | * function.c (emit_use_return_register_into_block): On cc0 targets, | |
9608 | do not emit the sequence between cc0 setter and user. | |
9609 | ||
9216baf1 KT |
9610 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
9611 | ||
1e1b18c1 EB |
9612 | * config/i386/predicates.md (local_symbolic_operand): Interpret |
9613 | dll-imported symbols as none-local. | |
9216baf1 | 9614 | |
76421b44 RB |
9615 | 2013-03-25 Richard Biener <rguenther@suse.de> |
9616 | ||
9617 | * tree-ssa-loop-im.c (struct depend): Remove. | |
9618 | (struct lim_aux_data): Make depends a vec of gimples. | |
9619 | (free_lim_aux_data): Adjust. | |
9620 | (add_dependency): Likewise. | |
9621 | (set_level): Likewise. | |
9622 | ||
d154bfa2 RB |
9623 | 2013-03-25 Richard Biener <rguenther@suse.de> |
9624 | ||
9625 | PR middle-end/56434 | |
9626 | * calls.c (expand_call): Use MALLOC_ABI_ALIGNMENT to annotate | |
9627 | the pointer returned by calls with ECF_MALLOC set. | |
9628 | ||
2cd9804e UB |
9629 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> |
9630 | ||
acef5fe0 UB |
9631 | * config/i386/mmx.md (mov<mode>): Add ?!Ym,r and r,?!Ym alternatives. |
9632 | ||
9633 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> | |
9634 | ||
9635 | * config/i386/mmx.md (mov<mode>): Merge with movv2sf expander | |
2cd9804e UB |
9636 | using MMXMODE mode iterator. |
9637 | (*move<mode>_internal): Merge with *movv2sf_internal and | |
9638 | *movv2sf_internal_rex64 using MMXMODE mode iterator. | |
9639 | ||
225ccc68 SB |
9640 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
9641 | ||
85c0f02d SB |
9642 | * gcse.c (oprs_unchanged_p): Respect flag_gcse_lm. |
9643 | (record_last_mem_set_info): Likewise. | |
9644 | ||
225ccc68 SB |
9645 | * df-core.c (rest_of_handle_df_initialize): Use XCNEWVEC instead |
9646 | of XNEWVEC followed by memset. | |
9647 | (df_worklist_dataflow): Use XNEWVEC instead of xmalloc with a cast. | |
9648 | ||
b64925dc SB |
9649 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
9650 | ||
9651 | * config/avr/avr.c, config/bfin/bfin.c, config/c6x/c6x.c, | |
9652 | config/epiphany/epiphany.c, config/frv/frv.c, config/ia64/ia64.c, | |
9653 | config/iq2000/iq2000.c, config/mcore/mcore.c, config/mep/mep.c, | |
9654 | config/mmix/mmix.c, config/pa/pa.c, config/rs6000/rs6000.c, | |
9655 | config/s390/s390.c, config/sparc/sparc.c, config/spu/spu.c, | |
9656 | config/stormy16/stormy16.c, config/v850/v850.c, config/xtensa/xtensa.c, | |
9657 | dwarf2out.c, hw-doloop.c, resource.c, rtl.h : Where applicable, use | |
9658 | the predicates NOTE_P, NONJUMP_INSN_P, JUMP_P, CALL_P, LABEL_P, and | |
9659 | BARRIER_P instead of GET_CODE. | |
9660 | ||
b9aaf52e EB |
9661 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
9662 | ||
9663 | * config/sparc/sparc.c (sparc_emit_probe_stack_range): Fix small | |
9664 | inaccuracy in the probing code. | |
9665 | ||
9666 | * config/sparc/sparc.md (ctrapsi4): Add predicate for operand #3. | |
9667 | (ctrapdi4): Likewise. | |
9668 | ||
66de4d7c EB |
9669 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
9670 | ||
9671 | * calls.c (expand_call): Add missing guard to code handling return | |
9672 | of non-BLKmode structures in MSB. | |
9673 | * function.c (expand_function_end): Likewise. | |
9674 | ||
4f25c8fb EB |
9675 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
9676 | ||
9677 | * combine.c (try_combine): Adjust comment. Do not add the set of | |
9678 | insn #0 if the destination indirectly is set or dies in insn #2. | |
9679 | Tidy up code to distribute a new note. | |
9680 | ||
23b7850d UB |
9681 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
9682 | ||
9683 | * config/i386/i386.md (*movdi_internal): Set prefix_rex attribute | |
9684 | also for alternatives 16 and 17. | |
9685 | ||
bed852cf UB |
9686 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
9687 | ||
9688 | * config/i386/sse.md (*mov<mode>_internal): Merge with | |
9689 | *mov<mode>_internal_rex64. Use x64 and nox64 isa attributes. | |
9690 | Emit insn template depending on type attribute. Use | |
9691 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
9692 | movd instead of movq mnemonic for interunit moves. Rewrite mode | |
9693 | attribute calculation. Remove unit attribute calculation. | |
9694 | Set prefix attribute to maybe_vex for sselog1 and ssemov types. | |
9695 | Set prefix_data16 attribute for DImode ssemov types. | |
9696 | Use Ym instead of y for SSE-MMX conversion alternatives. | |
9697 | Reorder operand constraints. | |
9698 | ||
1e8a7937 SB |
9699 | 2013-03-22 Steven Bosscher <steven@gcc.gnu.org> |
9700 | ||
9701 | * df.h (df_insn_delete): Adjust prototype. | |
9702 | * emit-rtl.c (remove_insn): Pass a basic block to df_insn_delete | |
9703 | and let it decide whether mark the basic block dirty. | |
9704 | (set_insn_deleted): Only pass INSN_P insns to df_insn_delete. | |
9705 | * df-scan.c (df_insn_info_delete): New helper function, split | |
9706 | off from df_insn_delete. | |
9707 | (df_scan_free_bb_info): Use it. | |
9708 | (df_insn_rescan, df_insn_rescan_all, df_process_deferred_rescans): | |
9709 | Likewise. | |
9710 | (df_insn_delete): Likewise. Take insn rtx as argument. Verify | |
9711 | that the insn is actually an insn and it has a non-NULL basic block. | |
9712 | Do not mark basic block dirty if only deleting a DEBUG_INSN. | |
9713 | ||
e14d094c RB |
9714 | 2013-03-22 Richard Biener <rguenther@suse.de> |
9715 | ||
9716 | * tree-ssa-loop-im.c (struct mem_ref): Remove indep_ref and | |
9717 | dep_ref members. | |
9718 | (mem_ref_alloc): Do not allocate them. | |
9719 | (refs_independent_p): Do not query or maintain a cache. | |
9720 | ||
e9cf7316 RB |
9721 | 2013-03-22 Richard Biener <rguenther@suse.de> |
9722 | ||
9723 | * tree-ssa-loop-im.c (memory_references): Drop all_refs_in_loop. | |
9724 | (gather_mem_refs_in_loops): Do not compute it. | |
9725 | (analyze_memory_references): Do not allocate it. | |
9726 | (tree_ssa_lim_finalize): Do not free it. | |
9727 | (for_all_locs_in_loop): Do not query all_refs_in_loop. | |
9728 | ||
f046e81b RB |
9729 | 2013-03-22 Richard Biener <rguenther@suse.de> |
9730 | ||
9731 | * is-a.h (as_a): Use gcc_checking_assert. | |
bed852cf | 9732 | |
a05c0ddf IB |
9733 | 2013-03-22 Ian Bolton <ian.bolton@arm.com> |
9734 | ||
9735 | * config/aarch64/aarch64.c (aarch64_print_operand): New | |
9736 | format specifier for printing a constant in hex. | |
9737 | * config/aarch64/aarch64.md (insv_imm<mode>): Use the X | |
9738 | format specifier for printing second operand. | |
9739 | ||
c00217fc RB |
9740 | 2013-03-22 Richard Biener <rguenther@suse.de> |
9741 | ||
9742 | * tree-ssa-loop-im.c (memory_references): Add refs_stored_in_loop | |
9743 | bitmaps. | |
9744 | (gather_mem_refs_in_loops): Perform store accumulation here. | |
9745 | (create_vop_ref_mapping_loop): Remove. | |
9746 | (create_vop_ref_mapping): Likewise. | |
9747 | (analyze_memory_references): Initialize refs_stored_in_loop. | |
bed852cf | 9748 | (LOOP_DEP_BIT): New define to map to bits in (in)dep_loop bitmaps. |
c00217fc RB |
9749 | (record_indep_loop): Remove. |
9750 | (record_dep_loop): New function. | |
9751 | (ref_indep_loop_p_1): Adjust to only walk over references | |
9752 | in the loop, not its subloops. | |
9753 | (ref_indep_loop_p): Rename to ... | |
9754 | (ref_indep_loop_p_2): ... this and recurse over the loop tree, | |
9755 | maintaining a more fine-grained cache. | |
9756 | (ref_indep_loop_p): Wrap ref_indep_loop_p_2. | |
9757 | (tree_ssa_lim_finalize): Free refs_stored_in_loop. | |
9758 | ||
15d19bf8 RB |
9759 | 2013-03-22 Richard Biener <rguenther@suse.de> |
9760 | ||
9761 | * tree-ssa-loop-im.c (struct mem_ref_locs): Remove. | |
9762 | (struct mem_ref): Make accesses_in_loop a vec of a vec of | |
9763 | aggregate mem_ref_loc. | |
9764 | (free_mem_ref_locs): Inline into ... | |
9765 | (memref_free): ... this and adjust. | |
9766 | (mem_ref_alloc): Adjust. | |
9767 | (mem_ref_locs_alloc): Remove. | |
9768 | (record_mem_ref_loc): Adjust. | |
9769 | (get_all_locs_in_loop): Rewrite into ... | |
9770 | (for_all_locs_in_loop): ... this iterator. | |
9771 | (rewrite_mem_ref_loc): New functor. | |
9772 | (rewrite_mem_refs): Use for_all_locs_in_loop. | |
9773 | (sm_set_flag_if_changed): New functor. | |
9774 | (execute_sm_if_changed_flag_set): Use for_all_locs_in_loop. | |
9775 | (ref_always_accessed): New functor. | |
9776 | (ref_always_accessed_p): Use for_all_locs_in_loop. | |
9777 | ||
6f37411d MG |
9778 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
9779 | ||
9780 | * tree-pass.h (PROP_gimple_lvec): New. | |
9781 | * passes.c (dump_properties): Handle PROP_gimple_lvec. | |
9782 | (init_optimization_passes): Move pass_lower_vector. | |
9783 | * tree-vect-generic.c (gate_expand_vector_operations_ssa): Test | |
9784 | PROP_gimple_lvec. | |
9785 | (pass_lower_vector): Provide PROP_gimple_lvec. | |
9786 | (pass_lower_vector_ssa): Likewise. | |
9787 | * cfgexpand.c (pass_expand): Require PROP_gimple_lvec. | |
9788 | ||
511ef689 MW |
9789 | 2013-03-21 Mark Wielaard <mjw@redhat.com> |
9790 | ||
9791 | * dwarf2out.c (size_of_aranges): Skip DECL_IGNORED_P functions. | |
9792 | ||
cc1df30b UB |
9793 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
9794 | ||
9795 | * config/i386/i386.md (*movdi_internal): Disparage slightly | |
9796 | all MMX moves to/from memory. Use Yi instead of x for SSE-MMX | |
9797 | conversion alternatives. | |
9798 | ||
c845cfe1 JJ |
9799 | 2013-03-21 Jakub Jelinek <jakub@redhat.com> |
9800 | ||
37e99116 JJ |
9801 | PR middle-end/48087 |
9802 | * diagnostic.def (DK_WERROR): New kind. | |
9803 | * diagnostic.h (werrorcount): Define. | |
9804 | * diagnostic.c (diagnostic_report_diagnostic): For DK_WARNING | |
9805 | promoted to DK_ERROR, increment DK_WERROR counter instead of | |
9806 | DK_ERROR counter. | |
9807 | * toplev.c (toplev_main): Call print_ignored_options even if | |
9808 | just werrorcount is non-zero. Exit with FATAL_EXIT_CODE | |
9809 | even if just werrorcount is non-zero. | |
9810 | ||
c845cfe1 JJ |
9811 | PR debug/55608 |
9812 | * dwarf2out.c (tree_add_const_value_attribute): Call ggc_free (array) | |
9813 | on failure. | |
9814 | (resolve_one_addr): Fail if referenced STRING_CST hasn't been written. | |
9815 | (string_cst_pool_decl): New function. | |
9816 | (optimize_one_addr_into_implicit_ptr): New function. | |
9817 | (resolve_addr_in_expr): Optimize DWARF location expression | |
9818 | DW_OP_addr DW_OP_stack_value where DW_OP_addr refers to some variable | |
9819 | which doesn't live in memory, but has DW_AT_location or | |
9820 | DW_AT_const_value, or refers to a string literal, into | |
9821 | DW_OP_GNU_implicit_pointer. | |
9822 | (optimize_location_into_implicit_ptr): New function. | |
9823 | (resolve_addr): If removing DW_AT_location of a variable because | |
9824 | it was DW_OP_addr of address of the variable, but the variable doesn't | |
9825 | live in memory, try to emit const value attribute for the initializer. | |
9826 | ||
08e0cda6 MG |
9827 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
9828 | ||
9829 | * tree.h (VECTOR_TYPE_P): New macro. | |
9830 | (VECTOR_INTEGER_TYPE_P, VECTOR_FLOAT_TYPE_P, FLOAT_TYPE_P, | |
9831 | TYPE_MODE): Use it. | |
9832 | * fold-const.c (fold_cond_expr_with_comparison): Use build_zero_cst. | |
9833 | VEC_COND_EXPR cannot be lvalues. | |
9834 | (fold_ternary_loc) <VEC_COND_EXPR>: Merge with the COND_EXPR case. | |
9835 | ||
d08633b4 MG |
9836 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
9837 | ||
9838 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_CONCAT>: | |
9839 | Restrict the transformation to equal modes. | |
9840 | ||
e6647190 RB |
9841 | 2013-03-21 Richard Biener <rguenther@suse.de> |
9842 | ||
9843 | PR tree-optimization/39326 | |
9844 | * tree-ssa-loop-im.c (UNANALYZABLE_MEM_ID): New define. | |
9845 | (MEM_ANALYZABLE): Adjust. | |
9846 | (record_mem_ref_loc): Move bitmap ops ... | |
9847 | (gather_mem_refs_stmt): ... here. Use the shared mem-ref for | |
9848 | unanalyzable refs, do not record locations for it. | |
9849 | (analyze_memory_references): Allocate ref zero as shared | |
9850 | unanalyzable ref. | |
9851 | (refs_independent_p): Do not test for unanalyzed mems here. | |
9852 | (ref_indep_loop_p_1): Special-case disambiguation against | |
9853 | the unanalyzed ref. | |
cc1df30b | 9854 | (ref_indep_loop_p): Assert we are not queried for the unanalyzed mem. |
e6647190 | 9855 | |
65074f54 CL |
9856 | 2013-03-21 Christophe Lyon <christophe.lyon@linaro.org> |
9857 | ||
9858 | * config/arm/arm-protos.h (tune_params): Add | |
9859 | prefer_neon_for_64bits field. | |
9860 | * config/arm/arm.c (prefer_neon_for_64bits): New variable. | |
9861 | (arm_slowmul_tune): Default prefer_neon_for_64bits to false. | |
9862 | (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto. | |
9863 | (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto. | |
9864 | (arm_cortex_a15_tune, arm_cortex_a5_tune): Ditto. | |
9865 | (arm_cortex_a9_tune, arm_v6m_tune, arm_fa726te_tune): Ditto. | |
9866 | (arm_option_override): Handle -mneon-for-64bits new option. | |
9867 | * config/arm/arm.h (TARGET_PREFER_NEON_64BITS): New macro. | |
9868 | (prefer_neon_for_64bits): Declare new variable. | |
9869 | * config/arm/arm.md (arch): Rename neon_onlya8 and neon_nota8 to | |
cc1df30b | 9870 | avoid_neon_for_64bits and neon_for_64bits. Remove onlya8 and nota8. |
65074f54 CL |
9871 | (arch_enabled): Handle new arch types. Remove support for onlya8 |
9872 | and nota8. | |
9873 | (one_cmpldi2): Use new arch names. | |
bc5faa5b | 9874 | (zero_extend<mode>di2, extend<mode>di2): Ditto. |
65074f54 CL |
9875 | * config/arm/arm.opt (mneon-for-64bits): Add option. |
9876 | * config/arm/neon.md (adddi3_neon, subdi3_neon, iordi3_neon) | |
9877 | (anddi3_neon, xordi3_neon, ashldi3_neon, <shift>di3_neon): Use | |
9878 | neon_for_64bits instead of nota8 and avoid_neon_for_64bits instead | |
9879 | of onlya8. | |
9880 | * doc/invoke.texi (-mneon-for-64bits): Document. | |
9881 | ||
5a2d2a79 RB |
9882 | 2013-03-21 Richard Biener <rguenther@suse.de> |
9883 | ||
9884 | PR tree-optimization/39326 | |
9885 | * tree-ssa-loop-im.c (bb_loop_postorder): New global static. | |
9886 | (sort_bbs_in_loop_postorder_cmp): New function. | |
cc1df30b | 9887 | (gather_mem_refs_in_loops): Assign mem-ref IDs in loop postorder. |
5a2d2a79 | 9888 | |
5abe1e05 RB |
9889 | 2013-03-21 Richard Biener <rguenther@suse.de> |
9890 | ||
9891 | * tree-vect-data-refs.c (vect_update_interleaving_chain): Remove. | |
9892 | (vect_insert_into_interleaving_chain): Likewise. | |
9893 | (vect_drs_dependent_in_basic_block): Inline ... | |
9894 | (vect_slp_analyze_data_ref_dependence): ... here. New function, | |
9895 | split out from ... | |
9896 | (vect_analyze_data_ref_dependence): ... here. Simplify. | |
9897 | (vect_check_interleaving): Simplify. | |
9898 | (vect_analyze_data_ref_dependences): Likewise. Split out ... | |
9899 | (vect_slp_analyze_data_ref_dependences): ... this new function. | |
9900 | (dr_group_sort_cmp): New function. | |
9901 | (vect_analyze_data_ref_accesses): Compute data-reference groups | |
9902 | here instead of in vect_analyze_data_ref_dependence. Use | |
9903 | a more efficient algorithm. | |
9904 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Use | |
9905 | vect_slp_analyze_data_ref_dependences. Call | |
9906 | vect_analyze_data_ref_accesses earlier. | |
9907 | * tree-vect-loop.c (vect_analyze_loop_2): Likewise. | |
9908 | * tree-vectorizer.h (vect_analyze_data_ref_dependences): Adjust. | |
9909 | (vect_slp_analyze_data_ref_dependences): New prototype. | |
9910 | ||
cad1735b RB |
9911 | 2013-03-21 Richard Biener <rguenther@suse.de> |
9912 | ||
9913 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not test whether | |
9914 | ref is stored in the loop. | |
9915 | (find_refs_for_sm): Walk only over all stores. | |
9916 | (store_motion_loop): Allocate from lim_bitmap_obstack. | |
9917 | (store_motion): Likewise. | |
9918 | ||
141310ef RB |
9919 | 2013-03-21 Richard Biener <rguenther@suse.de> |
9920 | ||
9921 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): | |
9922 | Update virtual SSA form. | |
9923 | ||
5022315a RO |
9924 | 2013-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9925 | ||
9926 | * configure.ac (gcc_cv_ld_eh_frame_ciev3): New test. | |
9927 | * configure: Regenerate. | |
9928 | * config.in: Regenerate. | |
9929 | * config/sol2.c (solaris_override_options): Only enforce DWARF 2 | |
9930 | if !HAVE_LD_EH_FRAME_CIEV3. | |
9931 | ||
50d4421c RB |
9932 | 2013-03-21 Richard Biener <rguenther@suse.de> |
9933 | ||
9934 | * tree-cfg.c (verify_expr_no_block): New function. | |
9935 | (verify_expr_location_1): Verify that neither DECL_DEBUG_EXPR | |
9936 | nor DECL_VALUE_EXPR have locations with associated blocks. | |
9937 | * tree-ssa-live.c (clear_unused_block_pointer_1): Remove. | |
9938 | (clear_unused_block_pointer): Remove code dealing with | |
9939 | blocks in DECL_DEBUG_EXPR locations. | |
9940 | ||
839b422f RB |
9941 | 2013-03-21 Richard Biener <rguenther@suse.de> |
9942 | ||
9943 | * tree.h (DECL_DEBUG_EXPR_IS_FROM): Rename to ... | |
9944 | (DECL_HAS_DEBUG_EXPR_P): ... this. Guard properly. | |
9945 | * tree.c (copy_node_stat): Do not copy DECL_HAS_DEBUG_EXPR_P. | |
9946 | * dwarf2out.c (add_var_loc_to_decl): Use DECL_HAS_DEBUG_EXPR_P | |
9947 | instead of DECL_DEBUG_EXPR_IS_FROM. | |
9948 | * gimplify.c (gimplify_modify_expr): Likewise. | |
9949 | * tree-cfg.c (verify_expr_location_1): Likewise. | |
9950 | * tree-complex.c (create_one_component_var): Likewise. | |
9951 | * tree-sra.c (create_access_replacement): Likewise. | |
9952 | * tree-ssa-live.c (clear_unused_block_pointer_1): Likewise. | |
9953 | (clear_unused_block_pointer): Likewise. | |
9954 | * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise. | |
9955 | * tree-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. | |
9956 | * var-tracking.c (var_debug_decl): Likewise. | |
9957 | (track_expr_p): Likewise. | |
9958 | * tree-inline.c (add_local_variables): Likewise. Set | |
9959 | DECL_HAS_DEBUG_EXPR_P after copying it. | |
9960 | * tree-diagnostic.c (default_tree_printer): Use DECL_HAS_DEBUG_EXPR_P | |
9961 | instead of DECL_DEBUG_EXPR_IS_FROM. Guard properly. | |
9962 | ||
fe04878d UB |
9963 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
9964 | ||
9965 | PR bootstrap/56656 | |
9966 | * configure.ac (HAVE_AS_IX86_INTERUNIT_MOVQ): New test. | |
9967 | * configure: Regenerate. | |
9968 | * config.in: Regenerate. | |
9969 | * config/i386/i386.md (*movdf_internal): Use | |
9970 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
9971 | movd instead of movq mnemonic for interunit moves. | |
9972 | (*movdi_internal): Ditto. | |
9973 | ||
bd059b26 | 9974 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
fa2e9a58 N |
9975 | |
9976 | * config/aarch64/aarch64-simd.md (simd_fabd): New Attribute. | |
9977 | (abd<mode>_3): New pattern. | |
9978 | (aba<mode>_3): New pattern. | |
9979 | (fabd<mode>_3): New pattern. | |
9980 | ||
bd059b26 | 9981 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
50ce6f88 N |
9982 | |
9983 | * config/aarch64/aarch64-elf.h (REGISTER_PREFIX): Remove. | |
9984 | * config/aarch64/aarch64.c (aarch64_print_operand): Remove all | |
9985 | occurrence of REGISTER_PREFIX as its empty string. | |
9986 | ||
4f1f78b9 JL |
9987 | 2013-03-20 Jeff Law <law@redhat.com> |
9988 | ||
9989 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Record | |
9990 | addititional equivalences for equality comparisons between an SSA_NAME | |
9991 | and a constant where the SSA_NAME was set from a widening conversion. | |
9992 | ||
327a1118 WL |
9993 | 2013-03-20 Walter Lee <walt@tilera.com> |
9994 | ||
9995 | * config/tilegx/sync.md (atomic_test_and_set): New pattern. | |
9996 | ||
813e0036 UB |
9997 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
9998 | ||
9999 | * config/i386/i386.md (*movoi_internal_avx): Emit insn template | |
10000 | depending on type attribute. | |
10001 | (*movti_internal): Ditto. | |
10002 | (*movtf_internal): Ditto. | |
10003 | (*movxf_internal): Ditto. | |
10004 | (*movdf_internal): Ditto. | |
10005 | (*movsf_internal): Ditto. | |
10006 | ||
7cf34aae UB |
10007 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
10008 | ||
10009 | * config/i386/i386.md (*movti_internal): Set prefix attribute to | |
10010 | maybe_vex for sselog1 and ssemov types. | |
10011 | (*movdi_internal): Reorder operand constraints. | |
10012 | (*movsi_internal): Ditto. Set prefix attribute to | |
10013 | maybe_vex for sselog1 and ssemov types. | |
10014 | (*movtf_internal): Set prefix attribute to maybe_vex | |
10015 | for sselog1 and ssemov types. | |
10016 | (*movdf_internal): Ditto. Set prefix_data16 attribute for | |
10017 | DImode ssemov types. Reorder operand constraints. | |
10018 | (*movsf_internal): Set type of alternatives 3,4 to imov. Set prefix | |
10019 | attribute to maybe_vex for sselog1 and ssemov types. Set prefix_data16 | |
10020 | attribute for SImode ssemov types. Reorder operand constraints. | |
10021 | ||
19321415 MJ |
10022 | 2013-03-20 Martin Jambor <mjambor@suse.cz> |
10023 | ||
10024 | * params.def (PARAM_IPA_CP_ARRAY_INDEX_HINT_BONUS): New parameter. | |
10025 | * ipa-cp.c (hint_time_bonus): Add abonus for known array indices. | |
10026 | ||
c6d5ff83 MM |
10027 | 2013-03-20 Pat Haugen <pthaugen@us.ibm.com> |
10028 | ||
10029 | * config/rs6000/predicates.md (indexed_address, update_address_mem | |
10030 | update_indexed_address_mem): New predicates. | |
10031 | * config/rs6000/vsx.md (vsx_extract_<mode>_zero): Set correct "type" | |
10032 | attribute for load/store instructions. | |
10033 | * config/rs6000/dfp.md (movsd_store): Likewise. | |
10034 | (movsd_load): Likewise. | |
10035 | * config/rs6000/rs6000.md (zero_extend<mode>di2_internal1): Likewise. | |
10036 | (unnamed HI->DI extend define_insn): Likewise. | |
10037 | (unnamed SI->DI extend define_insn): Likewise. | |
10038 | (unnamed QI->SI extend define_insn): Likewise. | |
10039 | (unnamed QI->HI extend define_insn): Likewise. | |
10040 | (unnamed HI->SI extend define_insn): Likewise. | |
10041 | (unnamed HI->SI extend define_insn): Likewise. | |
10042 | (extendsfdf2_fpr): Likewise. | |
10043 | (movsi_internal1): Likewise. | |
10044 | (movsi_internal1_single): Likewise. | |
10045 | (movhi_internal): Likewise. | |
10046 | (movqi_internal): Likewise. | |
10047 | (movcc_internal1): Correct mnemonic for stw insn. Set correct "type" | |
10048 | attribute for load/store instructions. | |
10049 | (mov<mode>_hardfloat): Set correct "type" attribute for load/store | |
10050 | instructions. | |
10051 | (mov<mode>_softfloat): Likewise. | |
10052 | (mov<mode>_hardfloat32): Likewise. | |
10053 | (mov<mode>_hardfloat64): Likewise. | |
10054 | (mov<mode>_softfloat64): Likewise. | |
10055 | (movdi_internal32): Likewise. | |
10056 | (movdi_internal64): Likewise. | |
10057 | (probe_stack_<mode>): Likewise. | |
10058 | ||
10059 | 2013-03-20 Michael Meissner <meissner@linux.vnet.ibm.com> | |
10060 | ||
10061 | * config/rs6000/vector.md (VEC_R): Add 32-bit integer, binary | |
10062 | floating point, and decimal floating point to reload iterator. | |
10063 | ||
10064 | * config/rs6000/constraints.md (wl constraint): New constraints to | |
10065 | return FLOAT_REGS if certain options are used to reduce the number | |
10066 | of separate patterns that exist in the file. | |
10067 | (wx constraint): Likewise. | |
10068 | (wz constraint): Likewise. | |
10069 | ||
10070 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
10071 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
10072 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
10073 | Initialize the reload functions for 64-bit binary/decimal floating | |
10074 | point types. | |
10075 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
10076 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
10077 | create the buffer on the stack to overcome not having a 32-bit | |
10078 | load and store. | |
10079 | (rs6000_emit_move): Likewise. | |
10080 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
10081 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
10082 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
10083 | via xxlxor, just like DFmode 0.0. | |
10084 | ||
10085 | * config/rs6000/rs6000.h (TARGET_NO_SDMODE_STACK): New macro, | |
10086 | define as 1 if we are running on a power7 or newer. | |
10087 | (enum r6000_reg_class_enum): Add new constraints. | |
10088 | ||
10089 | * config/rs6000/dfp.md (movsd): Delete, combine with binary | |
10090 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
10091 | with other moves by using conditional constraits (wg). Use LFIWZX | |
bd059b26 | 10092 | and STFIWX for loading SDmode on power7. Use xxlxor to create 0.0f. |
c6d5ff83 MM |
10093 | (movsd splitter): Likewise. |
10094 | (movsd_hardfloat): Likewise. | |
10095 | (movsd_softfloat): Likewise. | |
10096 | ||
10097 | * config/rs6000/rs6000.md (FMOVE32): New iterators to combine | |
10098 | binary and decimal floating point moves. | |
10099 | (fmove_ok): New attributes to combine binary and decimal floating | |
10100 | point moves, and to combine power6x (mfpgpr) moves along normal | |
10101 | floating moves. | |
10102 | (real_value_to_target): Likewise. | |
10103 | (f32_lr): Likewise. | |
10104 | (f32_lm): Likewise. | |
10105 | (f32_li): Likewise. | |
10106 | (f32_sr): Likewise. | |
10107 | (f32_sm): Likewise. | |
10108 | (f32_si): Likewise. | |
10109 | (movsf): Combine binary and decimal floating point moves. Combine | |
10110 | power6x (mfpgpr) moves with other moves by using conditional | |
bd059b26 | 10111 | constraits (wg). Use LFIWZX and STFIWX for loading SDmode on power7. |
c6d5ff83 MM |
10112 | (mov<mode> for SFmode/SDmode); Likewise. |
10113 | (SFmode/SDmode splitters): Likewise. | |
10114 | (movsf_hardfloat): Likewise. | |
10115 | (mov<mode>_hardfloat for SFmode/SDmode): Likewise. | |
10116 | (movsf_softfloat): Likewise. | |
10117 | (mov<mode>_softfloat for SFmode/SDmode): Likewise. | |
10118 | ||
10119 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wl, | |
10120 | wx and wz constraints. | |
10121 | ||
10122 | * config/rs6000/constraints.md (wg constraint): New constraint to | |
10123 | return FLOAT_REGS if -mmfpgpr (power6x) was used. | |
10124 | ||
10125 | * config/rs6000/rs6000.h (enum r6000_reg_class_enum): Add wg | |
10126 | constraint. | |
10127 | ||
10128 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
10129 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
10130 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
10131 | Initialize the reload functions for 64-bit binary/decimal floating | |
10132 | point types. | |
10133 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
10134 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
10135 | create the buffer on the stack to overcome not having a 32-bit | |
10136 | load and store. | |
10137 | (rs6000_emit_move): Likewise. | |
10138 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
10139 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
10140 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
10141 | via xxlxor, just like DFmode 0.0. | |
10142 | ||
c6d5ff83 MM |
10143 | * config/rs6000/dfp.md (movdd): Delete, combine with binary |
10144 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
10145 | with other moves by using conditional constraits (wg). Use LFIWZX | |
10146 | and STFIWX for loading SDmode on power7. | |
10147 | (movdd splitters): Likewise. | |
10148 | (movdd_hardfloat32): Likewise. | |
10149 | (movdd_softfloat32): Likewise. | |
10150 | (movdd_hardfloat64_mfpgpr): Likewise. | |
10151 | (movdd_hardfloat64): Likewise. | |
10152 | (movdd_softfloat64): Likewise. | |
10153 | ||
10154 | * config/rs6000/rs6000.md (FMOVE64): New iterators to combine | |
10155 | 64-bit binary and decimal floating point moves. | |
10156 | (FMOVE64X): Likewise. | |
10157 | (movdf): Combine 64-bit binary and decimal floating point moves. | |
10158 | Combine power6x (mfpgpr) moves with other moves by using | |
10159 | conditional constraits (wg). | |
10160 | (mov<mode> for DFmode/DDmode): Likewise. | |
10161 | (DFmode/DDmode splitters): Likewise. | |
10162 | (movdf_hardfloat32): Likewise. | |
10163 | (mov<mode>_hardfloat32 for DFmode/DDmode): Likewise. | |
10164 | (movdf_softfloat32): Likewise. | |
10165 | (movdf_hardfloat64_mfpgpr): Likewise. | |
10166 | (movdf_hardfloat64): Likewise. | |
10167 | (mov<mode>_hardfloat64 for DFmode/DDmode): Likewise. | |
10168 | (movdf_softfloat64): Likewise. | |
10169 | (mov<mode>_softfloat64 for DFmode/DDmode): Likewise. | |
10170 | (reload_<mode>_load): Move to later in the file so they aren't in | |
10171 | the middle of the floating point move insns. | |
10172 | (reload_<mode>_store): Likewise. | |
10173 | ||
10174 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wg | |
10175 | constraint. | |
10176 | ||
10177 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print out wg | |
10178 | constraint if -mdebug=reg. | |
bd059b26 UB |
10179 | (rs6000_initi_hard_regno_mode_ok): Enable wg constraint if -mfpgpr. |
10180 | Enable using dd reload support if needed. | |
c6d5ff83 MM |
10181 | |
10182 | * config/rs6000/dfp.md (movtd): Delete, combine with 128-bit | |
10183 | binary and decimal floating point moves in rs6000.md. | |
10184 | (movtd_internal): Likewise. | |
10185 | ||
10186 | * config/rs6000/rs6000.md (FMOVE128): Combine 128-bit binary and | |
10187 | decimal floating point moves. | |
10188 | (movtf): Likewise. | |
10189 | (movtf_internal): Likewise. | |
10190 | (mov<mode>_internal, TDmode/TFmode): Likewise. | |
10191 | (movtf_softfloat): Likewise. | |
10192 | (mov<mode>_softfloat, TDmode/TFmode): Likewise. | |
10193 | ||
10194 | * config/rs6000/rs6000.md (movdi_mfpgpr): Delete, combine with | |
10195 | movdi_internal64, using wg constraint for move direct operations. | |
10196 | (movdi_internal64): Likewise. | |
10197 | ||
10198 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print | |
10199 | MODES_TIEABLE_P for selected modes. Print the numerical value of | |
10200 | the various virtual registers. Use GPR/FPR first/last values, | |
10201 | instead of hard coding the register numbers. Print which modes | |
10202 | have reload functions registered. | |
bd059b26 UB |
10203 | (rs6000_option_override_internal): If -mdebug=reg, trace the options |
10204 | settings before/after setting cpu, target and subtarget settings. | |
10205 | (rs6000_secondary_reload_trace): Improve the RTL dump for -mdebug=addr | |
10206 | and for secondary reload failures in rs6000_secondary_reload_inner. | |
c6d5ff83 MM |
10207 | (rs6000_secondary_reload_fail): Likewise. |
10208 | (rs6000_secondary_reload_inner): Likewise. | |
10209 | ||
10210 | * config/rs6000/rs6000.md (FIRST_GPR_REGNO): Add convenience | |
10211 | macros for first/last GPR and FPR registers. | |
10212 | (LAST_GPR_REGNO): Likewise. | |
10213 | (FIRST_FPR_REGNO): Likewise. | |
10214 | (LAST_FPR_REGNO): Likewise. | |
10215 | ||
10216 | * config/rs6000/vector.md (mul<mode>3): Use the combined macro | |
10217 | VECTOR_UNIT_ALTIVEC_OR_VSX_P instead of separate calls to | |
10218 | VECTOR_UNIT_ALTIVEC_P and VECTOR_UNIT_VSX_P. | |
10219 | (vcond<mode><mode>): Likewise. | |
10220 | (vcondu<mode><mode>): Likewise. | |
10221 | (vector_gtu<mode>): Likewise. | |
10222 | (vector_gte<mode>): Likewise. | |
10223 | (xor<mode>3): Don't allow logical operations on TImode in 32-bit | |
bd059b26 | 10224 | to prevent the compiler from converting DImode operations to TImode. |
c6d5ff83 MM |
10225 | (ior<mode>3): Likewise. |
10226 | (and<mode>3): Likewise. | |
10227 | (one_cmpl<mode>2): Likewise. | |
10228 | (nor<mode>3): Likewise. | |
10229 | (andc<mode>3): Likewise. | |
10230 | ||
10231 | * config/rs6000/constraints.md (wt constraint): New constraint | |
10232 | that returns VSX_REGS if TImode is allowed in VSX registers. | |
10233 | ||
10234 | * config/rs6000/predicates.md (easy_fp_constant): 0.0f is an easy | |
10235 | constant under VSX. | |
10236 | ||
10237 | * config/rs6000/rs6000-modes.def (PTImode): Define, PTImode is | |
10238 | similar to TImode, but it is restricted to being in the GPRs. | |
10239 | ||
10240 | * config/rs6000/rs6000.opt (-mvsx-timode): New switch to allow | |
10241 | TImode to occupy a single VSX register. | |
10242 | ||
10243 | * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Default to | |
10244 | -mvsx-timode for power7/power8. | |
10245 | (power7 cpu): Likewise. | |
10246 | (power8 cpu): Likewise. | |
10247 | ||
10248 | * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Make | |
10249 | sure that TFmode/TDmode take up two registers if they are ever | |
10250 | allowed in the upper VSX registers. | |
10251 | (rs6000_hard_regno_mode_ok): If -mvsx-timode, allow TImode in VSX | |
10252 | registers. | |
10253 | (rs6000_init_hard_regno_mode_ok): Likewise. | |
10254 | (rs6000_debug_reg_global): Add debugging for PTImode and wt | |
10255 | constraint. Print if LRA is turned on. | |
10256 | (rs6000_option_override_internal): Give an error if -mvsx-timode | |
10257 | and VSX is not enabled. | |
10258 | (invalid_e500_subreg): Handle PTImode, restricting it to GPRs. If | |
10259 | -mvsx-timode, restrict TImode to reg+reg addressing, and PTImode | |
10260 | to reg+offset addressing. Use PTImode when checking offset | |
10261 | addresses for validity. | |
10262 | (reg_offset_addressing_ok_p): Likewise. | |
10263 | (rs6000_legitimate_offset_address_p): Likewise. | |
10264 | (rs6000_legitimize_address): Likewise. | |
10265 | (rs6000_legitimize_reload_address): Likewise. | |
10266 | (rs6000_legitimate_address_p): Likewise. | |
10267 | (rs6000_eliminate_indexed_memrefs): Likewise. | |
10268 | (rs6000_emit_move): Likewise. | |
10269 | (rs6000_secondary_reload): Likewise. | |
10270 | (rs6000_secondary_reload_inner): Handle PTImode. Allow 64-bit | |
10271 | reloads to fpr registers to continue to use reg+offset addressing, | |
10272 | but 64-bit reloads to altivec registers need reg+reg addressing. | |
10273 | Drop test for PRE_MODIFY, since VSX loads/stores no longer support | |
10274 | it. Treat LO_SUM like a PLUS operation. | |
10275 | (rs6000_secondary_reload_class): If type is 64-bit, prefer to use | |
bd059b26 | 10276 | FLOAT_REGS instead of VSX_RGS to allow use of reg+offset addressing. |
c6d5ff83 MM |
10277 | (rs6000_cannot_change_mode_class): Do not allow TImode in VSX |
10278 | registers to share a register with a smaller sized type, since VSX | |
10279 | puts scalars in the upper 64-bits. | |
10280 | (print_operand): Add support for PTImode. | |
10281 | (rs6000_register_move_cost): Use VECTOR_MEM_VSX_P instead of | |
10282 | VECTOR_UNIT_VSX_P to catch types that can be loaded in VSX | |
10283 | registers, but don't have arithmetic support. | |
10284 | (rs6000_memory_move_cost): Add test for VSX. | |
10285 | (rs6000_opt_masks): Add -mvsx-timode. | |
10286 | ||
10287 | * config/rs6000/vsx.md (VSm): Change to use 64-bit aligned moves | |
10288 | for TImode. | |
10289 | (VSs): Likewise. | |
10290 | (VSr): Use wt constraint for TImode. | |
10291 | (VSv): Drop TImode support. | |
10292 | (vsx_movti): Delete, replace with versions for 32-bit and 64-bit. | |
10293 | (vsx_movti_64bit): Likewise. | |
10294 | (vsx_movti_32bit): Likewise. | |
10295 | (vec_store_<mode>): Use VSX iterator instead of vector iterator. | |
10296 | (vsx_and<mode>3): Delete use of '?' constraint on inputs, just put | |
10297 | one '?' on the appropriate output constraint. Do not allow TImode | |
10298 | logical operations on 32-bit systems. | |
10299 | (vsx_ior<mode>3): Likewise. | |
10300 | (vsx_xor<mode>3): Likewise. | |
10301 | (vsx_one_cmpl<mode>2): Likewise. | |
10302 | (vsx_nor<mode>3): Likewise. | |
10303 | (vsx_andc<mode>3): Likewise. | |
10304 | (vsx_concat_<mode>): Likewise. | |
10305 | (vsx_xxpermdi_<mode>): Fix thinko for non V2DF/V2DI modes. | |
10306 | ||
10307 | * config/rs6000/rs6000.h (MASK_VSX_TIMODE): Map from | |
10308 | OPTION_MASK_VSX_TIMODE. | |
10309 | (enum rs6000_reg_class_enum): Add RS6000_CONSTRAINT_wt. | |
10310 | (STACK_SAVEAREA_MODE): Use PTImode instead of TImode. | |
10311 | ||
10312 | * config/rs6000/rs6000.md (INT mode attribute): Add PTImode. | |
10313 | (TI2 iterator): New iterator for TImode, PTImode. | |
10314 | (wd mode attribute): Add values for vector types. | |
bd059b26 UB |
10315 | (movti_string): Replace TI move operations with operations for TImode |
10316 | and PTImode. Add support for TImode being allowed in VSX registers. | |
c6d5ff83 MM |
10317 | (mov<mode>_string, TImode/PTImode): Likewise. |
10318 | (movti_ppc64): Likewise. | |
10319 | (mov<mode>_ppc64, TImode/PTImode): Likewise. | |
10320 | (TI mode splitters): Likewise. | |
10321 | ||
10322 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wt | |
10323 | constraint. | |
10324 | ||
1fc5eced MG |
10325 | 2013-03-20 Marc Glisse <marc.glisse@inria.fr> |
10326 | ||
10327 | PR tree-optimization/56355 | |
10328 | * fold-const.c (tree_binary_nonnegative_warnv_p) <MULT_EXPR>: | |
10329 | Also handle integers with undefined overflow. | |
10330 | ||
22c4c869 CM |
10331 | 2013-03-20 Catherine Moore <clm@codesourcery.com> |
10332 | Maciej W. Rozycki <macro@codesourcery.com> | |
10333 | Tom de Vries <tom@codesourcery.com> | |
10334 | Nathan Sidwell <nathan@codesourcery.com> | |
10335 | Iain Sandoe <iain@codesourcery.com> | |
10336 | Nathan Froyd <froydnj@codesourcery.com> | |
10337 | Chao-ying Fu <fu@mips.com> | |
10338 | ||
10339 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
7cf34aae | 10340 | Document new function attributes. |
22c4c869 CM |
10341 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
10342 | m14k, m14ke, m14kec): Document new options. | |
10343 | (minterlink-mips16): Update documentation. | |
10344 | * doc/md.texi (ZC, ZD): Document new constraints. | |
10345 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
10346 | supports the .set micromips directive. | |
10347 | * configure: Regenerate. | |
10348 | * config.in: Regenerate. | |
10349 | * config/mips/mips-tables.opt: Regenerate. | |
10350 | * config/mips/micromips.md: New file. | |
10351 | * constraints.md (ZC, ZD): New constraints. | |
10352 | * config/mips/predicates.md (movep_src_register): New predicate. | |
10353 | (movep_src_operand): New predicate. | |
10354 | (non_volatile_mem_operand): New predicate. | |
10355 | * config/mips/mips.md (multimem): New type. | |
10356 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
10357 | (MOVEP1, MOVEP2): New mode iterator. | |
33159866 | 10358 | (mov_<load>l): Use ZC constraint. |
22c4c869 CM |
10359 | (mov_<load>r): Likewise. |
10360 | (mov_<store>l): Likewise. | |
10361 | (mov_<store>r): Likewise. | |
10362 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
10363 | (*branch_equality<mode>): Likewise. | |
10364 | (*jump_absolute): Likewise. | |
10365 | (indirect_jump_<mode>): Likewise. | |
10366 | (tablejump_<mode>): Likewise. | |
10367 | (<optab>_internal): Likewise. | |
10368 | (sibcall_internal): Likewise. | |
10369 | (sibcall_value_internal): Likewise. | |
10370 | (prefetch): Use constraint ZD. | |
10371 | * config/mips/mips.opt (minterlink-compressed): New option. | |
10372 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
10373 | (mmicromips): New option. | |
10374 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
10375 | (compare_and_swap_12): Likewise. | |
10376 | (sync_add<mode>): Likewise. | |
10377 | (sync_<optab>_12): Likewise. | |
10378 | (sync_old_<optab>_12): Likewise. | |
10379 | (sync_new_<optab>_12): Likewise. | |
10380 | (sync_nand_12): Likewise. | |
10381 | (sync_old_nand_12): Likewise. | |
10382 | (sync_new_nand_12): Likewise. | |
10383 | (sync_sub<mode>): Likewise. | |
10384 | (sync_old_add<mode>): Likewise. | |
10385 | (sync_old_sub<mode>): Likewise. | |
10386 | (sync_new_add<mode>): Likewise. | |
10387 | (sync_new_sub<mode>): Likewise. | |
10388 | (sync_<optab><mode>): Likewise. | |
10389 | (sync_old_<optab><mode>): Likewise. | |
10390 | (sync_new_<optab><mode>): Likewise. | |
10391 | (sync_nand<mode>): Likewise. | |
10392 | (sync_old_nand<mode>): Likewise. | |
10393 | (sync_new_nand<mode>): Likewise. | |
10394 | (sync_lock_test_and_set<mode>): Likewise. | |
10395 | (test_and_set_12): Likewise. | |
10396 | (atomic_compare_and_swap<mode>): Likewise. | |
10397 | (atomic_exchange<mode>_llsc): Likewise. | |
10398 | (atomic_fetch_add<mode>_llsc): Likewise. | |
10399 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
10400 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
10401 | (umips_save_restore_pattern_p): Likewise. | |
10402 | (umips_load_store_pair_p): Likewise. | |
10403 | (umips_output_load_store_pair): Likewise. | |
10404 | (umips_movep_target_p): Likewise. | |
10405 | (umips_12bit_offset_address_p): Likewise. | |
10406 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
10407 | (mips_base_mips16): Rename this... | |
10408 | (mips_base_compression_flags): ...to this. Update all uses. | |
10409 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
10410 | (mips_mips16_decl_p): Delete. | |
10411 | (mips_nomips16_decl_p): Delete. | |
33159866 | 10412 | (mips_get_compress_on_flags): New function. |
22c4c869 CM |
10413 | (mips_get_compress_off_flags): New function. |
10414 | (mips_get_compress_mode): New function. | |
10415 | (mips_get_compress_on_name): New function. | |
10416 | (mips_get_compress_off_name): New function. | |
10417 | (mips_insert_attributes): Support multiple compression types. | |
10418 | (mips_merge_decl_attributes): Likewise. | |
10419 | (umips_12bit_offset_address_p): New function. | |
10420 | (mips_start_function_definition): Emit .set micromips directive. | |
10421 | (mips_call_may_need_jalx_p): New function. | |
10422 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
10423 | (mips_print_operand_punctuation): Support short delay slots and | |
10424 | compact jumps. | |
10425 | (umips_swm_mask, umips_swm_encoding): New. | |
10426 | (umips_build_save_restore): New function. | |
10427 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
10428 | (was_mips16_p): Remove. | |
10429 | (old_compression_mode): New. | |
10430 | (mips_set_compression_mode): New function. | |
10431 | (mips_set_current_function): Add microMIPS support. | |
10432 | (mips_option_override): Likewise. | |
10433 | (umips_save_restore_pattern_p): New function. | |
10434 | (umips_output_save_restore): New function. | |
10435 | (umips_load_store_pair_p_1): New function. | |
10436 | (umips_load_store_pair_p): New function. | |
10437 | (umips_output_load_store_pair_1): New function. | |
10438 | (umips_output_load_store_pair): New function. | |
10439 | (umips_movep_target_p) New function. | |
10440 | (mips_prepare_pch_save): Add microMIPS support. | |
10441 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
10442 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
10443 | to use new compression flags and to support microMIPS. | |
10444 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
10445 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
10446 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
10447 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
10448 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
10449 | (M16STORE_REG_P): New macro. | |
10450 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
10451 | (MICROMIPS_J): New macro. | |
10452 | (mips_base_mips16): Rename this... | |
10453 | (mips_base_compression_flags): ...to this. | |
10454 | (UMIPS_12BIT_OFFSET_P): New macro. | |
10455 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
10456 | (MULTILIB_DIRNAMES): Likewise. | |
92a8d7a7 RB |
10457 | 2013-03-20 Richard Biener <rguenther@suse.de> |
10458 | ||
10459 | PR tree-optimization/56661 | |
10460 | * tree-ssa-sccvn.c (visit_use): Only value-number calls if | |
10461 | the result does not have to be distinct. | |
10462 | ||
54714c68 RB |
10463 | 2013-03-20 Richard Biener <rguenther@suse.de> |
10464 | ||
10465 | * tree-inline.c (copy_tree_body_r): Sync MEM_REF code with | |
10466 | remap_gimple_op_r. | |
10467 | ||
cca1130d BS |
10468 | 2013-03-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
10469 | Steven Bosscher <steven@gcc.gnu.org> | |
10470 | ||
10471 | PR rtl-optimization/56605 | |
10472 | * loop-iv.c (implies_p): Handle equal RTXs and subregs. | |
10473 | ||
2a930377 UB |
10474 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
10475 | ||
10476 | PR bootstrap/56656 | |
10477 | * config/i386/i386.md (*movdi_internal): Handle broken assemblers | |
10478 | that require movd instead of movq. | |
10479 | ||
d6d305fe RB |
10480 | 2013-03-20 Richard Biener <rguenther@suse.de> |
10481 | ||
10482 | * tree-ssa-structalias.c (struct variable_info): Add pointer | |
10483 | to the first field of an aggregate with sub-vars. Make | |
10484 | this and the pointer to the next subfield its ID. | |
10485 | (vi_next): New function. | |
10486 | (nothing_id, anything_id, readonly_id, escaped_id, nonlocal_id, | |
10487 | storedanything_id, integer_id): Increment by one. | |
10488 | (new_var_info, get_call_vi, lookup_call_clobber_vi, | |
10489 | get_call_clobber_vi): Adjust. | |
10490 | (solution_set_expand): Simplify and speedup. | |
10491 | (solution_set_add): Inline into ... | |
10492 | (set_union_with_increment): ... this. Adjust accordingly. | |
10493 | (do_sd_constraint): Likewise. | |
10494 | (do_ds_constraint): Likewise. | |
10495 | (do_complex_constraint): Simplify. | |
10496 | (build_pred_graph): Adjust. | |
10497 | (solve_graph): Likewise. Simplify and speedup. | |
10498 | (get_constraint_for_ssa_var, get_constraint_for_ptr_offset, | |
10499 | get_constraint_for_component_ref, get_constraint_for_1, | |
10500 | first_vi_for_offset, first_or_preceding_vi_for_offset, | |
10501 | create_function_info_for, create_variable_info_for_1, | |
10502 | create_variable_info_for, intra_create_variable_infos): Adjust. | |
10503 | (init_base_vars): Push NULL for ID zero. | |
10504 | (compute_points_to_sets): Adjust. | |
10505 | ||
a271b42d RB |
10506 | 2013-03-20 Richard Biener <rguenther@suse.de> |
10507 | ||
10508 | * cfgloop.c (verify_loop_structure): Streamline and avoid | |
10509 | ICEing on corrupt loop tree. | |
10510 | * graph.c (draw_cfg_nodes_for_loop): Avoid ICEing on corrupt | |
10511 | loop tree. | |
10512 | ||
ebd65954 RB |
10513 | 2013-03-20 Richard Biener <rguenther@suse.de> |
10514 | ||
10515 | * tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not | |
10516 | check whether an SSA update is needed. | |
10517 | ||
4547b7ee RS |
10518 | 2013-03-20 Richard Sandiford <rdsandiford@googlemail.com> |
10519 | ||
10520 | * config/mips/constraints.md (T): Rename to... | |
10521 | (Yf): ...this. | |
10522 | (U): Rename to... | |
10523 | (Yd): ...this. | |
10524 | * config/mips/mips.md (*movdi_64bit, *movdi_64bit_mips16) | |
10525 | (*mov<mode>_internal, *mov<mode>_mips16): Update accordingly. | |
10526 | ||
0b8cdc58 IB |
10527 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
10528 | ||
10529 | * config/aarch64/aarch64.md (*sub<mode>3_carryin): New pattern. | |
10530 | (*subsi3_carryin_uxtw): Likewise. | |
10531 | ||
5977a10d IB |
10532 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
10533 | ||
10534 | * config/aarch64/aarch64.md (*ror<mode>3_insn): New pattern. | |
10535 | (*rorsi3_insn_uxtw): Likewise. | |
10536 | ||
bd83ff2c IB |
10537 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
10538 | ||
10539 | * config/aarch64/aarch64.md (*extr<mode>5_insn): New pattern. | |
10540 | (*extrsi5_insn_uxtw): Likewise. | |
10541 | ||
ba65123c RB |
10542 | 2013-03-19 Richard Biener <rguenther@suse.de> |
10543 | ||
10544 | PR tree-optimization/56273 | |
10545 | * passes.c (init_optimization_passes): Move second VRP after DOM. | |
10546 | ||
2eac0476 UB |
10547 | 2013-03-19 Uros Bizjak <ubizjak@gmail.com> |
10548 | ||
10549 | * config/i386/i386.md (*movti_internal): Merge from | |
10550 | *movti_internal_rex64 and *movti_internal_sse. Use x64 isa attribute. | |
10551 | (*movdi_internal): Merge with *movdi_internal_rex64. Use x64 and | |
10552 | nox64 isa attributes. | |
10553 | ||
6e55eda7 RB |
10554 | 2013-03-18 Richard Biener <rguenther@suse.de> |
10555 | ||
10556 | * tree-ssa-structalias.c (find): Use gcc_checking_assert. | |
10557 | (unite): Likewise. | |
10558 | (merge_node_constraints): Likewise. | |
10559 | (build_succ_graph): Likewise. | |
10560 | (valid_graph_edge): Inline into single caller. | |
10561 | (unify_nodes): Likewise. Use bitmap_set_bit return value | |
10562 | and cache varinfo. | |
10563 | (scc_visit): Fix formatting and variable use. | |
10564 | (do_sd_constraint): Use gcc_checking_assert. | |
10565 | (do_ds_constraint): Likewise. | |
10566 | (do_complex_constraint): Likewise. | |
10567 | (condense_visit): Likewise. Cleanup. | |
10568 | (dump_pred_graph): New function. | |
10569 | (perform_var_substitution): Dump the pred-graph before | |
10570 | variable substitution. | |
10571 | (find_equivalent_node): Use gcc_checking_assert. | |
10572 | (rewrite_constraints): Guard checking loop with ENABLE_CHECKING. | |
10573 | ||
4bdd44c4 RB |
10574 | 2013-03-18 Richard Biener <rguenther@suse.de> |
10575 | ||
10576 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): | |
10577 | Remove cond_expr_stmt_list argument and do not gimplify the | |
10578 | built expression. | |
10579 | (vect_loop_versioning): Adjust. | |
10580 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
10581 | Cleanup to use less temporaries. | |
10582 | (vect_create_data_ref_ptr): Cleanup. | |
10583 | ||
38c56a5b JJ |
10584 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
10585 | ||
10586 | PR tree-optimization/56635 | |
10587 | * fold-const.c (operand_equal_p): For MEM_REF and TARGET_MEM_REF, | |
10588 | require types_compatible_p types. | |
10589 | ||
20b2e6a0 NC |
10590 | 2013-03-18 Nick Clifton <nickc@redhat.com> |
10591 | ||
a6178a25 NC |
10592 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): Remove |
10593 | spurious backslash. | |
10594 | ||
20b2e6a0 NC |
10595 | * config/mn10300/mn10300.c (mn10300_get_live_callee_saved_regs): |
10596 | Add missing line to comment describing function. | |
10597 | ||
92608d0e RB |
10598 | 2013-03-18 Richard Biener <rguenther@suse.de> |
10599 | ||
10600 | PR tree-optimization/56210 | |
10601 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
10602 | Handle string / character search functions. | |
10603 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
10604 | ||
31348d52 RB |
10605 | 2013-03-18 Richard Biener <rguenther@suse.de> |
10606 | ||
10607 | PR middle-end/56483 | |
10608 | * cfgexpand.c (expand_gimple_cond): Inline gimple_cond_single_var_p | |
10609 | and implement properly. | |
10610 | * gimple.h (gimple_cond_single_var_p): Remove. | |
10611 | ||
fcac74a1 RB |
10612 | 2013-03-18 Richard Biener <rguenther@suse.de> |
10613 | ||
10614 | * tree-data-ref.h (find_data_references_in_loop): Declare. | |
10615 | * tree-data-ref.c (get_references_in_stmt): Use a stack | |
10616 | vector pre-allocated in the callers. | |
10617 | (find_data_references_in_stmt): Adjust. | |
10618 | (graphite_find_data_references_in_stmt): Likewise. | |
10619 | (create_rdg_vertices): Likewise. | |
10620 | (find_data_references_in_loop): Export. | |
10621 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependences): | |
10622 | Compute dependences here... | |
10623 | (vect_analyze_data_refs): ...not here. When we encounter | |
10624 | a non-vectorizable data reference in basic-block vectorization | |
10625 | truncate the data reference vector. Do not bother to | |
10626 | fixup data-dependence information for gather loads. | |
10627 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Check the number | |
10628 | of data references, as reported. | |
10629 | ||
0d5a1b56 RB |
10630 | 2013-03-18 Richard Biener <rguenther@suse.de> |
10631 | ||
10632 | PR tree-optimization/3713 | |
10633 | * tree-ssa-sccvn.c (visit_copy): Simplify. Always propagate | |
10634 | has_constants and expr. | |
10635 | (stmt_has_constants): Properly valueize SSA names when deciding | |
10636 | whether the stmt has constants. | |
10637 | ||
789c34e3 RB |
10638 | 2013-03-18 Richard Biener <rguenther@suse.de> |
10639 | ||
10640 | * tree-ssa-loop-manip.c (find_uses_to_rename): Do not scan the | |
10641 | whole function when there is nothing to do. | |
10642 | * tree-ssa-loop.c (pass_vectorize): Remove TODO_update_ssa. | |
10643 | * tree-vectorizer.c (vectorize_loops): Update virtual and | |
10644 | loop-closed SSA once. | |
10645 | * tree-vect-loop.c (vect_transform_loop): Do not update SSA here. | |
10646 | ||
076b4605 RB |
10647 | 2013-03-18 Richard Biener <rguenther@suse.de> |
10648 | ||
10649 | PR middle-end/56113 | |
10650 | * domwalk.c (bb_postorder): New global static. | |
10651 | (cmp_bb_postorder): New function. | |
10652 | (walk_dominator_tree): Replace scheme imposing an order for | |
10653 | visiting dominator sons by one sorting them at the time they | |
10654 | are pushed on the stack. | |
10655 | ||
bdb01696 RB |
10656 | 2013-03-18 Richard Biener <rguenther@suse.de> |
10657 | ||
10658 | PR tree-optimization/39326 | |
10659 | * tree-ssa-loop-im.c (refs_independent_p): Exploit symmetry. | |
10660 | (struct mem_ref): Replace mem member with ao_ref typed member. | |
10661 | (MEM_ANALYZABLE): Adjust. | |
10662 | (memref_eq): Likewise. | |
10663 | (mem_ref_alloc): Likewise. | |
10664 | (gather_mem_refs_stmt): Likewise. | |
10665 | (mem_refs_may_alias_p): Use the ao_ref to query the alias oracle. | |
10666 | (execute_sm_if_changed_flag_set): Adjust. | |
10667 | (execute_sm): Likewise. | |
10668 | (ref_always_accessed_p): Likewise. | |
10669 | (refs_independent_p): Likewise. | |
10670 | (can_sm_ref_p): Likewise. | |
10671 | ||
12d2dc5e JJ |
10672 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
10673 | ||
10674 | PR c/56566 | |
10675 | * tree.c (tree_int_cst_min_precision): For integer_zerop (value) | |
10676 | return 1 even for !unsignedp. | |
10677 | ||
286fb677 UB |
10678 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
10679 | ||
10680 | * config/i386/i386.md (isa): Add x64 and nox64. | |
10681 | (enabled): Define x64 for TARGET_64BIT and nox64 for !TARGET_64BIT. | |
10682 | (*pushtf): Enable *roF alternative for x64 isa only. | |
10683 | (*pushxf): Merge with *pushxf_nointeger. Use Yx*r constraint. Set | |
10684 | mode attribute of integer alternatives to DImode for TARGET_64BIT. | |
10685 | (*pushdf): Merge with *pushdf_rex64. Use x64 and nox64 isa attributes. | |
10686 | (*movtf_internal): Merge from *movtf_internal_rex64 and | |
10687 | *movtf_internal_sse. Use x64 and nox64 isa attributes. | |
10688 | (*movxf_internal): Merge with *movxf_internal_rex64. Use x64 and | |
10689 | nox64 isa attributes. | |
10690 | (*movdf_internal): Merge with *movdf_internal_rex64. Use x64 and | |
10691 | nox64 isa attributes. | |
10692 | * config/i386/constraints.md (Yd): Do not set for TARGET_64BIT. | |
10693 | ||
88b97037 UB |
10694 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
10695 | ||
10696 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
10697 | ||
9f4f1735 JJ |
10698 | 2013-03-17 Jakub Jelinek <jakub@redhat.com> |
10699 | ||
10700 | PR target/56640 | |
10701 | * config/arm/arm.h (REG_CLASS_NAMES): Add "SFP_REG" and "AFP_REG" | |
10702 | class names. Remove trailing comma after "ALL_REGS". | |
10703 | ||
48f4a6fa JH |
10704 | 2013-03-16 Jan Hubicka <jh@suse.cz> |
10705 | ||
10706 | * cgraph.h (cgraph_get_create_real_symbol_node): Declare. | |
10707 | * cgraph.c (cgraph_get_create_real_symbol_node): New function. | |
10708 | * cgrpahbuild.c: Use cgraph_get_create_real_symbol_node instead | |
10709 | of cgraph_get_create_node. | |
10710 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
10711 | ||
98e81123 JM |
10712 | 2013-03-16 Jason Merrill <jason@redhat.com> |
10713 | ||
10714 | PR debug/49090 | |
10715 | * dwarf2out.c (gen_generic_params_dies): Indicate default arguments | |
10716 | with DW_AT_default_value. | |
10717 | ||
8a298c04 JJ |
10718 | 2013-03-16 Jakub Jelinek <jakub@redhat.com> |
10719 | ||
10720 | * BASE-VER: Set to 4.9.0. | |
10721 | ||
4323afa0 AK |
10722 | 2013-03-14 Andi Kleen <ak@linux.intel.com> |
10723 | ||
10724 | PR target/56619 | |
10725 | * doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE, | |
10726 | __ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs. | |
10727 | Document _x* TSX intrinsics. | |
10728 | ||
b3c0d469 JJ |
10729 | 2013-03-14 Edgar E. Iglesias <edgar.iglesias@xilinx.com> |
10730 | David Holsgrove <david.holsgrove@xilinx.com> | |
8cc9a5a5 EI |
10731 | |
10732 | * configure.ac: Add MicroBlaze TLS support detection. | |
10733 | * configure: Regenerate. | |
88b97037 UB |
10734 | * config/microblaze/microblaze-protos.h |
10735 | (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p, | |
10736 | symbol_mentioned_p, label_mentioned_p): Add prototypes. | |
10737 | * config/microblaze/microblaze.c (microblaze_address_type): Add | |
10738 | ADDRESS_TLS and tls_reloc address types. | |
8cc9a5a5 EI |
10739 | (microblaze_address_info): Add tls_reloc. |
10740 | (TARGET_HAVE_TLS): Define. | |
10741 | (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1, | |
10742 | microblaze_tls_referenced_p, microblaze_cannot_force_const_mem, | |
88b97037 UB |
10743 | symbol_mentioned_p, label_mentioned_p, tls_mentioned_p, |
10744 | load_tls_operand, microblaze_call_tls_get_addr, | |
10745 | microblaze_legitimize_tls_address): New functions. | |
8cc9a5a5 EI |
10746 | (microblaze_classify_unspec): Handle UNSPEC_TLS. |
10747 | (get_base_reg): Use microblaze_tls_symbol_p. | |
10748 | (microblaze_classify_address): Handle TLS. | |
88b97037 UB |
10749 | (microblaze_legitimate_pic_operand): Use symbol_mentioned_p, |
10750 | label_mentioned_p and microblaze_tls_referenced_p. | |
8cc9a5a5 EI |
10751 | (microblaze_legitimize_address): Handle TLS. |
10752 | (microblaze_address_insns): Handle ADDRESS_TLS. | |
10753 | (pic_address_needs_scratch): Handle TLS. | |
10754 | (print_operand_address): Handle TLS. | |
10755 | (microblaze_expand_prologue): Check TLS_NEEDS_GOT. | |
10756 | (microblaze_expand_move): Handle TLS. | |
88b97037 UB |
10757 | (microblaze_legitimate_constant_p): Check |
10758 | microblaze_cannot_force_const_mem and microblaze_tls_symbol_p. | |
8cc9a5a5 EI |
10759 | (TARGET_CANNOT_FORCE_CONST_MEM): Define. |
10760 | * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define | |
10761 | (PIC_OFFSET_TABLE_REGNUM): Set. | |
10762 | * config/microblaze/linux.h (TLS_NEEDS_GOT): Define. | |
10763 | * config/microblaze/microblaze.md (UNSPEC_TLS): Define. | |
10764 | (addsi3, movsi_internal2, movdf_internal): Update constraints | |
10765 | * config/microblaze/predicates.md (arith_plus_operand): Define | |
88b97037 UB |
10766 | (move_operand): Redefine as move_src_operand, |
10767 | check microblaze_tls_referenced_p. | |
8cc9a5a5 | 10768 | |
d803a491 IB |
10769 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
10770 | ||
10771 | * config/aarch64/aarch64.md: (*and<mode>3nr_compare0): Use CC_NZ. | |
10772 | (*and_<SHIFT:optab><mode>3nr_compare0): Likewise. | |
10773 | ||
a8504f22 IB |
10774 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
10775 | ||
10776 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct | |
10777 | CC mode for AND. | |
10778 | ||
df2dfaea JJ |
10779 | 2013-03-14 Jakub Jelinek <jakub@redhat.com> |
10780 | ||
fbd28bc3 JJ |
10781 | PR tree-optimization/53265 |
10782 | * common.opt (Waggressive-loop-optimizations): New option. | |
10783 | * tree-ssa-loop-niter.c: Include tree-pass.h. | |
10784 | (do_warn_aggressive_loop_optimizations): New function. | |
10785 | (record_estimate): Call it. Don't add !is_exit bounds to loop->bounds | |
10786 | if number_of_latch_executions returned constant. | |
10787 | (estimate_numbers_of_iterations_loop): Call number_of_latch_executions | |
10788 | early. If number_of_latch_executions returned constant, set | |
10789 | nb_iterations_upper_bound back to it. | |
10790 | * cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations | |
10791 | field. | |
10792 | * Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H). | |
10793 | * doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document. | |
10794 | ||
df2dfaea JJ |
10795 | * config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove. |
10796 | (MULTILIB_OSDIRNAMES): Set. | |
10797 | * genmultilib: If defaultosdirname doesn't start with :: , set | |
10798 | defaultosdirname2 instead, clear it and emit two . multilib_raw | |
10799 | entries instead of just one. | |
10800 | ||
ee0d2b68 KK |
10801 | 2013-03-14 Kaz Kojima <kkojima@gcc.gnu.org> |
10802 | ||
10803 | * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
10804 | (SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default. | |
10805 | * config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
10806 | (SUBTARGET_OVERRIDE_OPTIONS): New. | |
10807 | ||
decc676e OE |
10808 | 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org> |
10809 | ||
10810 | PR target/49880 | |
10811 | * config/sh/sh.opt (FPU_SINGLE_ONLY): New mask. | |
10812 | (musermode): Convert to Var(TARGET_USERMODE). | |
10813 | * config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY, | |
10814 | MASK_ARCH): Add MASK_FPU_SINGLE_ONLY. | |
10815 | * config/sh/sh.c (sh_option_override): Use | |
10816 | TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case. | |
10817 | * config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4 | |
10818 | condition. | |
10819 | (udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of | |
10820 | TARGET_SH4. | |
10821 | (udivsi3_i4_single, divsi3_i4_single): Use | |
10822 | TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4. | |
10823 | ||
f4b719c7 DK |
10824 | 2013-03-13 Dave Korn <dave.korn.cygwin@....> |
10825 | ||
10826 | * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): Make shared libgcc the | |
10827 | default setting. | |
10828 | ||
c40eced0 RB |
10829 | 2013-03-13 Richard Biener <rguenther@suse.de> |
10830 | ||
10831 | PR tree-optimization/56608 | |
10832 | * tree-vect-slp.c (vect_schedule_slp): Do not remove scalar | |
10833 | calls when vectorizing basic-blocks. | |
10834 | ||
1bfa5973 JJ |
10835 | 2013-03-13 Jakub Jelinek <jakub@redhat.com> |
10836 | ||
10837 | PR plugins/45078 | |
10838 | * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to | |
10839 | tm_file. | |
10840 | ||
6fcf5434 JJ |
10841 | 2013-03-12 Jakub Jelinek <jakub@redhat.com> |
10842 | ||
10843 | * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier. | |
10844 | ||
4f38fa8c JH |
10845 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
10846 | ||
10847 | PR lto/56557 | |
10848 | * lto-streamer-out.c (output_symbol_p): Skip references from | |
10849 | constructors of external variables. | |
10850 | ||
c5c5ba89 JH |
10851 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
10852 | ||
10853 | PR middle-end/56571 | |
10854 | * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating | |
10855 | from pseudos. | |
10856 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
10857 | (copy_insn_1): Likewise. | |
10858 | * rtl.c (copy_rtx): Likewise. | |
10859 | ||
c2a939b1 GJL |
10860 | 2013-03-11 Georg-Johann Lay <avr@gjlay.de> |
10861 | ||
10862 | PR target/56591 | |
10863 | * config/avr/avr.c (avr_print_operand): Add space after '%c' in | |
10864 | output_operand_lossage message. | |
88b97037 | 10865 | |
3c3279fb RE |
10866 | 2013-03-11 Richard Earnshaw <rearnsha@arm.com> |
10867 | ||
10868 | PR target/56470 | |
10869 | * arm.c (shift_op): Validate RTL pattern on the fly. | |
10870 | (arm_print_operand, case 'S'): Don't use shift_operator to validate | |
10871 | the RTL. | |
10872 | ||
aef5ef9d JDA |
10873 | 2013-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
10874 | ||
10875 | PR target/56347 | |
10876 | * config/pa/pa.md (call_value): Check for calls to powf and direct to | |
10877 | new call patterns that clobber %fr12. | |
10878 | (call_val_powf, call_val_powf_pic, call_val_powf_64bit): New insn, | |
10879 | split and postreload patterns. | |
10880 | * config/pa/pa.c (pa_conditional_register_usage): Revert marking | |
10881 | registers %fr12 and %fr12R as call used. | |
10882 | ||
456610d3 SB |
10883 | 2013-03-09 Steven Bosscher <steven@gcc.gnu.org> |
10884 | ||
10885 | * dse.c (delete_dead_store_insn): Respect TDF_DETAILS. | |
10886 | (canon_address, record_store, replace_read, check_mem_read_rtx, | |
10887 | scan_insn, dse_step1, dse_step2_init, dse_step2_spill, | |
10888 | dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6, | |
10889 | rest_of_handle_dse): Likewise. | |
10890 | ||
4b1baac8 RS |
10891 | 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com> |
10892 | ||
10893 | PR middle-end/56524 | |
10894 | * tree.h (tree_optimization_option): Rename target_optabs to optabs. | |
10895 | Add base_optabs. | |
10896 | (TREE_OPTIMIZATION_OPTABS): Update after previous field change. | |
10897 | (TREE_OPTIMIZATION_BASE_OPTABS): New macro. | |
10898 | (save_optabs_if_changed): Replace with... | |
10899 | (init_tree_optimization_optabs): ...this. | |
10900 | * optabs.c (save_optabs_if_changed): Rename to... | |
10901 | (init_tree_optimization_optabs): ...this. Take the optimization node | |
10902 | as argument. Do nothing if the base optabs are already correct. | |
10903 | Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need | |
10904 | to recompute optabs. | |
10905 | * function.h (function): Remove optabs field. | |
10906 | * function.c (invoke_set_current_function_hook): Call | |
10907 | init_tree_optimization_optabs. Use the result to initialize | |
10908 | this_fn_optabs. | |
10909 | ||
b7a78683 AH |
10910 | 2013-02-27 Aldy Hernandez <aldyh@redhat.com> |
10911 | ||
10912 | * trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE | |
10913 | if GTMA_HAS_NO_INSTRUMENTATION. | |
10914 | (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit. | |
10915 | (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION. | |
10916 | * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define. | |
10917 | * gimple-pretty-print.c (dump_gimple_transaction): Handle | |
10918 | GTMA_HAS_NO_INSTRUMENTATION. | |
10919 | ||
6384c29b JJ |
10920 | 2013-03-08 Jakub Jelinek <jakub@redhat.com> |
10921 | ||
10922 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against | |
10923 | libasan_preinit.o. | |
10924 | ||
ecd4f20a MP |
10925 | 2013-03-08 Marek Polacek <polacek@redhat.com> |
10926 | Jakub Jelinek <jakub@redhat.com> | |
10927 | ||
10928 | PR tree-optimization/56478 | |
10929 | * predict.c (is_comparison_with_loop_invariant_p): Change the | |
10930 | type of loop_step to tree. | |
10931 | (predict_loops): Adjust. | |
10932 | (predict_iv_comparison): Perform the computations on double_ints. | |
10933 | ||
64366d35 RB |
10934 | 2013-03-08 Richard Biener <rguenther@suse.de> |
10935 | ||
10936 | PR tree-optimization/56570 | |
10937 | * tree-cfg.c (verify_expr_location_1): Verify locations for | |
10938 | DECL_DEBUG_EXPR. | |
10939 | * tree-sra.c (create_access_replacement): Strip locations | |
10940 | from DECL_DEBUG_EXPRs. | |
10941 | ||
a9d5a059 RB |
10942 | 2013-03-08 Richard Biener <rguenther@suse.de> |
10943 | ||
10944 | * tree-inline.c (expand_call_inline): Do not associate | |
10945 | a BLOCK with the location in BLOCK_SOURCE_LOCATION. | |
10946 | * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION. | |
10947 | ||
b7aa4e9a RB |
10948 | 2013-03-08 Richard Biener <rguenther@suse.de> |
10949 | ||
10950 | * tree-ssa-ter.c (is_replaceable_p): Do not TER across location | |
10951 | or block changes with -Og. Fix for location / block encoding | |
10952 | changes and PHI arguments with locations. | |
10953 | ||
c4c2f9fa SB |
10954 | 2013-03-07 Steven Bosscher <steven@gcc.gnu.org> |
10955 | ||
10956 | * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT | |
10957 | for all counters. | |
10958 | (struct output_info): Likewise. | |
10959 | (register_overhead): Remove bad gcc_assert. | |
10960 | (bitmap_find_bit): If there is only a single bitmap element, do not | |
10961 | count a miss as a search. | |
10962 | (print_statistics): Update for counter type changes. | |
10963 | (dump_bitmap_statistics): Likewise. Print headers such that they | |
10964 | are properly lined up with the printed counters. | |
10965 | ||
5bf6606a JJ |
10966 | 2013-03-07 Jakub Jelinek <jakub@redhat.com> |
10967 | ||
10968 | PR tree-optimization/56559 | |
10969 | * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2, | |
10970 | check that it has only a single use. | |
10971 | ||
2c653d46 RB |
10972 | 2013-03-07 Richard Biener <rguenther@suse.de> |
10973 | ||
10974 | * doc/invoke.texi (fwhole-program): Discourage use in combination | |
10975 | with -flto. | |
10976 | ||
a72d8780 JJ |
10977 | 2013-03-06 Jakub Jelinek <jakub@redhat.com> |
10978 | ||
01a454df JJ |
10979 | * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def. |
10980 | ||
c1781047 JJ |
10981 | PR tree-optimization/56539 |
10982 | * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT | |
10983 | instead of GSI_CONTINUE_LINKING as last argument to | |
10984 | force_gimple_operand_gsi. Adjust function comment. | |
10985 | ||
9772c47a JJ |
10986 | * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Add |
10987 | aarch64-cores.def. | |
10988 | ||
a72d8780 JJ |
10989 | PR middle-end/56548 |
10990 | * expr.c (expand_cond_expr_using_cmove): When expanding cmove in | |
10991 | promoted mode, convert the result back to the original mode. | |
10992 | ||
fa5556de RB |
10993 | 2013-03-06 Richard Biener <rguenther@suse.de> |
10994 | ||
10995 | PR middle-end/56294 | |
10996 | * tree-into-ssa.c (insert_phi_nodes_for): Add dumping. | |
10997 | (insert_updated_phi_nodes_compare_uids): New function. | |
10998 | (update_ssa): Sort symbols_to_rename after UID before | |
10999 | traversing it to insert PHI nodes. | |
11000 | ||
010403d1 RB |
11001 | 2013-03-06 Richard Biener <rguenther@suse.de> |
11002 | ||
11003 | PR middle-end/50494 | |
11004 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): | |
11005 | Do not adjust alignment of DECL_IN_CONSTANT_POOL decls. | |
11006 | ||
11007 | Revert | |
11008 | 2013-02-13 Richard Biener <rguenther@suse.de> | |
11009 | ||
11010 | PR lto/50494 | |
11011 | * varasm.c (output_constant_def_1): Get the decl representing | |
11012 | the constant as argument. | |
11013 | (output_constant_def): Wrap output_constant_def_1. | |
11014 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
11015 | representing the constant. | |
11016 | (build_constant_desc): Optionally re-use a decl already | |
11017 | representing the constant. | |
11018 | (tree_output_constant_def): Adjust. | |
11019 | ||
3c27ce4c JY |
11020 | 2013-03-06 Joey Ye <joey.ye@arm.com> |
11021 | ||
11022 | PR lto/50293 | |
11023 | * gcc.c (convert_white_space): New function. | |
11024 | (main): Handles white space in function name. | |
11025 | ||
8f6d1c86 OE |
11026 | 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org> |
11027 | ||
11028 | PR target/56529 | |
11029 | * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT | |
11030 | instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy | |
11031 | to SH_DIV_CALL_TABLE for TARGET_SH2. | |
11032 | * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib | |
11033 | list. | |
11034 | * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp, | |
11035 | call-table options. | |
11036 | ||
798a209f SA |
11037 | 2013-03-05 Sterling Augustine <saugustine@google.com> |
11038 | Cary Coutant <ccoutant@google.com> | |
11039 | ||
11040 | PR debug/55364 | |
11041 | * dwarf2out.c (resolve_addr): Don't call | |
11042 | remove_loc_list_addr_table_entries a second time for the same | |
11043 | expression. | |
11044 | ||
6cfa417f | 11045 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
ee61ea38 | 11046 | |
6cfa417f JJ |
11047 | PR debug/56510 |
11048 | * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming. | |
11049 | (avoid_complex_debug_insns): New function. | |
11050 | (expand_debug_locations): Call it. | |
11051 | ||
11052 | PR rtl-optimization/56484 | |
11053 | * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending | |
11054 | lifetimes of hard registers on small register class machines. | |
11055 | ||
11056 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> | |
11057 | ||
11058 | * config/microblaze/microblaze-protos.h: Rename | |
ee61ea38 | 11059 | microblaze_is_interrupt_handler to microblaze_is_interrupt_variant. |
6cfa417f | 11060 | * config/microblaze/microblaze.c (microblaze_attribute_table): Add |
ee61ea38 DH |
11061 | fast_interrupt. |
11062 | (microblaze_fast_interrupt_function_p): New function. | |
11063 | (microblaze_is_interrupt_handler): Rename to | |
11064 | microblaze_is_interrupt_variant and add fast_interrupt check. | |
11065 | (microblaze_must_save_register): Use microblaze_is_interrupt_variant. | |
11066 | (save_restore_insns): Likewise. | |
11067 | (compute_frame_size): Likewise. | |
11068 | (microblaze_function_prologue): Add FAST_INTERRUPT_NAME. | |
11069 | (microblaze_globalize_label): Likewise. | |
6cfa417f JJ |
11070 | * config/microblaze/microblaze.h: Define FAST_INTERRUPT_NAME. |
11071 | * config/microblaze/microblaze.md: Use wrapper | |
ee61ea38 DH |
11072 | microblaze_is_interrupt_variant. |
11073 | ||
731aefac KT |
11074 | 2013-03-05 Kai Tietz <ktietz@redhat.com> |
11075 | ||
11076 | * sdbout.c (sdbout_one_type): Switch to current function's section | |
11077 | supporting cold/hot. | |
11078 | ||
a72d8780 | 11079 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> |
e34fd5a7 DH |
11080 | |
11081 | * doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian, | |
11082 | -mxl-reorder. | |
11083 | ||
334e71e8 JJ |
11084 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
11085 | ||
0b50e654 JJ |
11086 | PR middle-end/56461 |
11087 | * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING, | |
11088 | if VALGRIND_GET_VBITS is defined, temporarily make object | |
11089 | memory all defined, and restore previous valgrind addressability | |
11090 | and definability afterwards. Free this_object at the end. | |
11091 | ||
4ccf8f43 JJ |
11092 | PR middle-end/56461 |
11093 | * lra.c (lra): Call lra_clear_live_ranges if live_p, | |
11094 | right before calling lra_create_live_ranges, also call it | |
11095 | when clearing live_p. Only call lra_clear_live_ranges | |
11096 | at the end if live_p. | |
11097 | ||
334e71e8 JJ |
11098 | PR middle-end/56461 |
11099 | * sched-deps.c (delete_dep_node): Free DEP_REPLACE. | |
11100 | ||
9ca966ca RB |
11101 | 2013-03-05 Richard Biener <rguenther@suse.de> |
11102 | ||
11103 | PR tree-optimization/56521 | |
11104 | * tree-ssa-sccvn.c (set_value_id_for_result): Always initialize | |
11105 | value-id. | |
11106 | ||
d273b176 SB |
11107 | 2013-03-05 Steven Bosscher <steven@gcc.gnu.org> |
11108 | ||
11109 | PR c++/55135 | |
11110 | * except.h (remove_unreachable_eh_regions): New prototype. | |
11111 | * except.c (remove_eh_handler_splicer): New function, split out | |
11112 | of remove_eh_handler. | |
11113 | (remove_eh_handler): Use remove_eh_handler_splicer. Add comment | |
11114 | warning about running it on many EH regions one at a time. | |
11115 | (remove_unreachable_eh_regions_worker): New function, walk the | |
11116 | EH tree in depth-first order and remove non-marked regions. | |
11117 | (remove_unreachable_eh_regions): New function. | |
11118 | * tree-eh.c (mark_reachable_handlers): New function, split out | |
11119 | from remove_unreachable_handlers. | |
11120 | (remove_unreachable_handlers): Use mark_reachable_handlers and | |
11121 | remove_unreachable_eh_regions. | |
11122 | (remove_unreachable_handlers_no_lp): Use mark_reachable_handlers | |
11123 | and remove_unreachable_eh_regions. | |
11124 | ||
5e7f1aef RB |
11125 | 2013-03-05 Richard Biener <rguenther@suse.de> |
11126 | ||
11127 | PR middle-end/56525 | |
11128 | * loop-init.c (fix_loop_structure): Remove loops in two stages, | |
11129 | not freeing them until the end. | |
11130 | ||
f276b762 AK |
11131 | 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11132 | ||
11133 | * config/s390/s390.h: Define DWARF2_ASM_LINE_DEBUG_INFO. | |
11134 | ||
12a43ab8 RB |
11135 | 2013-03-05 Richard Biener <rguenther@suse.de> |
11136 | ||
11137 | PR tree-optimization/56270 | |
11138 | * tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts | |
11139 | of loads after scheduling an SLP instance. | |
11140 | ||
93675444 JJ |
11141 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
11142 | ||
db4138e3 JJ |
11143 | * Makefile.in (dg_target_exps): Add aarch64.exp, epiphany.exp and |
11144 | tic6x.exp. | |
11145 | (check_gcc_parallelize): Run guality.exp as a separate job from | |
11146 | vect.exp with unsorted.exp and $(dg_target_exps) separately from | |
11147 | struct-layout-1.exp with stackalign.exp. | |
11148 | ||
dd3d1ec0 JJ |
11149 | * alias.c (init_alias_analysis): Clear reg_known_equiv_p bitmap. |
11150 | ||
b8d381a3 JJ |
11151 | PR middle-end/56461 |
11152 | * tree-vect-slp.c (vect_supported_load_permutation_p): Free | |
11153 | load_index sbitmap even if some bit in it isn't set. | |
11154 | ||
b4f9786b JJ |
11155 | PR middle-end/56461 |
11156 | * tree-ssa-loop-niter.c (bb_queue): Remove typedef. | |
11157 | (discover_iteration_bound_by_body_walk): Change queues to | |
11158 | vec<vec<basic_block> > and queue to vec<basic_block>. Fix up | |
11159 | spelling in comment. Call safe_push on queues[bound_index] directly. | |
11160 | Release queues[queue_index] in every iteration unconditionally. | |
11161 | Release bounds vector. | |
11162 | ||
93675444 JJ |
11163 | PR middle-end/56461 |
11164 | * tree-vect-stmts.c (free_stmt_vec_info_vec): Call | |
11165 | free_stmt_vec_info on any left-over stmt_vec_info in the vector. | |
11166 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Release | |
11167 | inner_phis vector. | |
11168 | ||
3e492e9c RB |
11169 | 2013-03-05 Richard Biener <rguenther@suse.de> |
11170 | ||
11171 | PR lto/56515 | |
11172 | * tree-inline.c (remap_blocks_to_null): New function. | |
11173 | (expand_call_inline): When expanding a call stmt without | |
11174 | an associated block inline remap all callee blocks to NULL. | |
11175 | ||
a5d1569a JJ |
11176 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
11177 | ||
86efb5cd JJ |
11178 | PR rtl-optimization/56494 |
11179 | * simplify-rtx.c (simplify_truncation): If C is narrower than A, | |
11180 | optimize (truncate:A (subreg:B (truncate:C X) 0)) into | |
11181 | (subreg:A (truncate:C X) 0) instead of (truncate:A X). | |
11182 | ||
85f5dbea JJ |
11183 | PR middle-end/56461 |
11184 | * sel-sched-ir.c (free_sched_pools): Release | |
11185 | succs_info_pool.stack[succs_info_pool.max_top] vectors too | |
11186 | if succs_info_pool.max_top isn't -1. | |
11187 | ||
a5d1569a JJ |
11188 | PR bootstrap/56509 |
11189 | * opts.c (opts_obstack, opts_concat): Moved to... | |
11190 | * opts-common.c (opts_obstack, opts_concat): ... here. | |
11191 | ||
4432aa6c JJ |
11192 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
11193 | ||
11194 | PR middle-end/56461 | |
11195 | * diagnostic.c (diagnostic_append_note): Save and restore old prefix. | |
11196 | ||
f3a1fb91 MJ |
11197 | 2013-03-04 Martin Jambor <mjambor@suse.cz> |
11198 | ||
11199 | * tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in | |
11200 | all appropriate places. | |
11201 | ||
22110e6c EB |
11202 | 2013-01-04 Eric Botcazou <ebotcazou@adacore.com> |
11203 | ||
11204 | PR tree-optimization/56424 | |
11205 | * ipa-split.c (split_function): Do not set the RSO flag if result is | |
11206 | not by reference and its type is a register type. | |
11207 | ||
a72d8780 | 11208 | 2013-03-04 David Holsgrove <david.holsgrove@xilinx.com> |
91c4e421 | 11209 | |
88b97037 | 11210 | * config/microblaze/microblaze.c (microblaze_valid_pic_const): New |
91c4e421 | 11211 | (microblaze_legitimate_pic_operand): Likewise |
88b97037 | 11212 | * config/microblaze/microblaze.h (LEGITIMATE_PIC_OPERAND_P): calls |
91c4e421 DH |
11213 | new function microblaze_legitimate_pic_operand |
11214 | * config/microblaze/microblaze-protos.h | |
11215 | (microblaze_legitimate_pic_operand): Declare. | |
11216 | ||
a72d8780 | 11217 | 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
82f8f53a | 11218 | |
a72d8780 | 11219 | * config/microblaze/predicates.md (call_insn_simple_operand): |
82f8f53a | 11220 | New predicate for supported rtx code types. |
a72d8780 | 11221 | * config/microblaze/microblaze.md (call_internal1): Use |
82f8f53a EI |
11222 | call_insn_simple_operand predicate. |
11223 | ||
541d9ac8 JJ |
11224 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
11225 | ||
5eb010bc JJ |
11226 | PR middle-end/56461 |
11227 | * tree-loop-distribution.c (ldist_gen): Call partition_free after each | |
11228 | partitions.ordered_remove. | |
11229 | ||
30862efc JJ |
11230 | PR middle-end/56461 |
11231 | * tree-vect-stmts.c (vectorizable_conversion): Don't call | |
11232 | vec_oprnds0.create (1) for modifier == NONE. | |
11233 | ||
8930f723 JJ |
11234 | PR middle-end/56461 |
11235 | * tree-vect-stmts.c (vectorizable_shift): Don't call create methods | |
11236 | on vec_oprnds0 or vec_oprnds1 before loop, only call it on | |
11237 | vec_oprnds1 right before pushing anything to it for | |
11238 | scalar_shift_arg. | |
11239 | ||
541d9ac8 JJ |
11240 | PR middle-end/56461 |
11241 | * tree-vect-loop.c (destroy_loop_vec_info): For !clean_stmts, just | |
11242 | set nbbs to 0 instead of having separate code path. | |
11243 | (vect_analyze_loop_form): Call destroy_loop_vec_info with true | |
11244 | instead of false as last argument if returning NULL. | |
11245 | ||
7aa7f2e3 SL |
11246 | 2013-03-03 Sandra Loosemore <sandra@codesourcery.com> |
11247 | ||
11248 | * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments; | |
11249 | the attribute is now called "target" instead of "option". | |
11250 | (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma. | |
11251 | * doc/tm.texi.in (Target Attributes): Likewise document the correct | |
11252 | attribute/pragma name for TARGET_OPTION_VALID_P and | |
11253 | TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup. | |
11254 | * doc/tm.texi: Regenerated. | |
11255 | ||
8930f723 | 11256 | 2013-03-02 David Holsgrove <david.holsgrove@xilinx.com> |
cb8a1637 | 11257 | |
8930f723 | 11258 | * config/microblaze/microblaze.c: |
cb8a1637 | 11259 | Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met. |
8930f723 JJ |
11260 | * config/microblaze/microblaze.h: Add -mxl-reorder to |
11261 | DRIVER_SELF_SPECS. | |
11262 | * config/microblaze/microblaze.md: New bswapsi2 and bswaphi2. | |
11263 | instructions emitted if TARGET_REORDER. | |
88b97037 UB |
11264 | * config/microblaze/microblaze.opt: New option -mxl-reorder set to 1 |
11265 | or 0 for -m/-mno case, but initialises as 2 to detect default use case | |
8930f723 | 11266 | separately. |
cb8a1637 | 11267 | |
4dc1d68c XDL |
11268 | 2013-03-01 Xinliang David Li <davidxl@google.com> |
11269 | ||
11270 | * tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom | |
11271 | walk length. | |
11272 | ||
689eaba3 JJ |
11273 | 2013-03-01 Jakub Jelinek <jakub@redhat.com> |
11274 | ||
9d676bf6 JJ |
11275 | PR middle-end/56461 |
11276 | * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Release path | |
11277 | vector even when returning true. Fix up function comment formatting. | |
11278 | ||
caff7edf JJ |
11279 | PR middle-end/56461 |
11280 | * ira-build.c (ira_loop_nodes_count): New variable. | |
11281 | (create_loop_tree_nodes): Initialize it. | |
11282 | (finish_loop_tree_nodes): Use it instead of looking at current_loops. | |
11283 | ||
b6b9227d JJ |
11284 | PR middle-end/56461 |
11285 | * tree-vect-data-refs.c (vect_permute_store_chain): Avoid using copy | |
11286 | method on dr_chain and result_chain. | |
11287 | * tree-vect-stmts.c (vectorizable_store): Only call | |
11288 | result_chain.create if j == 0. | |
11289 | ||
689eaba3 JJ |
11290 | PR middle-end/56461 |
11291 | * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call | |
11292 | vec_oprnds0->release (); rather than vec_oprnds0->truncate (0) | |
11293 | before overwriting it. | |
11294 | ||
40bf31ed TB |
11295 | 2013-03-01 Tobias Burnus <burnus@net-b.de> |
11296 | ||
11297 | * doc/extended.texi (C Extensions): Change order in @menu | |
11298 | to match @node. | |
11299 | (Other MIPS Built-in Functions): Move last MIPS entry before | |
11300 | "picoChip Built-in Functions". | |
11301 | (SH Built-in Functions): Move after RX Built-in Functions. | |
11302 | * doc/gcc.texi (Introduction): Change order in @menu | |
11303 | to match @node. | |
11304 | * doc/md.texi (Constraints): Ditto. | |
11305 | * gty.texi (Type Information): Ditto. | |
11306 | (User-provided marking routines for template types): Make | |
11307 | subsection. | |
11308 | * doc/invoke.texi (AArch64 Options): Move before | |
11309 | "Adapteva Epiphany Options". | |
11310 | ||
e664c61c KS |
11311 | 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com> |
11312 | Jakub Jelinek <jakub@redhat.com> | |
11313 | ||
11314 | PR sanitizer/56454 | |
11315 | * asan.c (gate_asan): Lookup no_sanitize_address instead of | |
11316 | no_address_safety_analysis attribute. | |
11317 | * doc/extend.texi (no_address_safety_attribute): Rename to | |
11318 | no_sanitize_address attribute, mention no_address_safety_analysis | |
11319 | attribute as deprecated alias. | |
11320 | ||
37b5ec8f JJ |
11321 | 2013-02-28 Jakub Jelinek <jakub@redhat.com> |
11322 | ||
11323 | PR middle-end/56461 | |
11324 | * tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument | |
11325 | type to vec<vec<tree> > *. | |
11326 | * tree-vect-slp.c (vect_get_slp_defs): Likewise. Change vec_defs | |
11327 | to be vec<tree> instead of vec<tree> *, set vec_defs | |
11328 | to vNULL and call vec_defs.create (number_of_vects), adjust other | |
11329 | uses of vec_defs. | |
11330 | * tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call, | |
11331 | vectorizable_condition): Adjust vect_get_slp_defs callers. | |
11332 | ||
ba96cdfb JG |
11333 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
11334 | ||
11335 | * config/aarch64/aarch64.c | |
11336 | (aarch64_float_const_representable): Remove unused variable. | |
11337 | ||
6f549691 JG |
11338 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
11339 | ||
11340 | * config/aarch64/aarch64.c (aarch64_mangle_type): Make static. | |
11341 | ||
af55e82d JG |
11342 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
11343 | ||
11344 | * config/aarch64/aarch64-builtins.c | |
11345 | (aarch64_init_simd_builtins): Make static. | |
11346 | ||
1df3f464 JG |
11347 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
11348 | ||
11349 | * config/aarch64/aarch64.c | |
11350 | (aarch64_simd_make_constant): Make static. | |
11351 | ||
f8f42513 MJ |
11352 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
11353 | ||
11354 | * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements | |
11355 | with no initialization to the RHS of debug statements. | |
11356 | ||
b48b3fc4 MJ |
11357 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
11358 | ||
11359 | PR tree-optimization/56294 | |
11360 | * tree-sra.c (analyze_access_subtree): Create replacement declarations. | |
11361 | Adjust dumping. | |
11362 | (get_access_replacement): Do not call create_access_replacement. | |
11363 | Assert a replacement exists. | |
11364 | (get_repl_default_def_ssa_name): Create the replacement declaration | |
11365 | itself. | |
11366 | ||
c3ae224c RR |
11367 | 2013-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
11368 | ||
11369 | * config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and | |
11370 | final_end_function. | |
11371 | ||
45fa0eef MP |
11372 | 2013-02-28 Marek Polacek <polacek@redhat.com> |
11373 | ||
11374 | PR rtl-optimization/56466 | |
11375 | * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure | |
11376 | if we're changing a loop. | |
11377 | (peel_loops_completely): Likewise. | |
11378 | ||
502c067d PC |
11379 | 2013-02-28 Paolo Carlini <paolo.carlini@oracle.com> |
11380 | ||
11381 | PR c++/55813 | |
11382 | * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete. | |
11383 | ||
ff24afc8 GJL |
11384 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
11385 | ||
11386 | PR target/56445 | |
11387 | * config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty | |
11388 | macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX, | |
11389 | INTX_FTYPE_FX, FX_FTYPE_INTX. | |
11390 | * config/avr/builtins.def: Adjust respective DEF_BUILTIN. | |
11391 | ||
c7b1fc1b GJL |
11392 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
11393 | ||
11394 | * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285) | |
11395 | (ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795) | |
11396 | (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb) | |
11397 | (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a) | |
11398 | (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1) | |
11399 | (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p) | |
11400 | (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb) | |
11401 | (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161) | |
11402 | (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e) | |
11403 | (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4) | |
11404 | (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3) | |
11405 | (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1) | |
11406 | (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva) | |
11407 | (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3) | |
11408 | (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU. | |
11409 | (avrxmega6): Increase max flash segments from 5 to 6. | |
11410 | * config/avr/t-multilib: Regenerate. | |
11411 | * config/avr/avr-tables.opt: Regenerate. | |
11412 | * doc/avr-mmcu.texi: Regenerate. | |
11413 | ||
4a0e3cfe GJL |
11414 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
11415 | ||
11416 | * config/avr/avr.h (device_to_arch): Rename to device_to_ld. | |
11417 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
11418 | (avr_device_to_as): New prototype. | |
11419 | (EXTRA_SPEC_FUNCTIONS): Add device_to_as. | |
11420 | (ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=. | |
11421 | * config/avr/driver-avr.c (avr_device_to_as): New. | |
11422 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
11423 | ||
97785e52 JJ |
11424 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
11425 | ||
3f292312 JJ |
11426 | PR middle-end/56461 |
11427 | * tree-vect-data-refs.c (vect_permute_load_chain): Avoid using copy | |
11428 | method on dr_chain and result_chain. | |
11429 | ||
a344216b JJ |
11430 | PR middle-end/56461 |
11431 | * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Call | |
11432 | pointer_set_destroy on not_executed_last_iteration. | |
11433 | ||
f121ad02 | 11434 | PR middle-end/56461 |
88b97037 | 11435 | * tree-vect-loop.c (vectorizable_reduction): Release vect_defs vector. |
f121ad02 | 11436 | |
307f83a3 JJ |
11437 | PR middle-end/56461 |
11438 | * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of | |
11439 | FOR_EACH_DEFINED_FUNCTION when freeing state. | |
11440 | ||
e19624ee JJ |
11441 | PR middle-end/56461 |
11442 | * df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before | |
11443 | pool_free. | |
11444 | (df_insn_rescan_debug_internal): Use df_scan_free_mws_vec before | |
11445 | overwriting it. | |
11446 | ||
90e709fd JJ |
11447 | PR middle-end/56461 |
11448 | * ipa-cp.c (decide_whether_version_node): Call vec_free on | |
11449 | known_aggs[i].items and release known_aggs vector. | |
11450 | ||
97785e52 JJ |
11451 | PR middle-end/56461 |
11452 | * ipa-reference.c (propagate): Free node_info even for alias nodes. | |
11453 | ||
11454 | 2013-02-27 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
bbb3a9e2 | 11455 | |
97785e52 JJ |
11456 | * config/microblaze/microblaze.c (microblaze_emit_compare): |
11457 | Use xor for EQ/NE comparisions. | |
11458 | * config/microblaze/microblaze.md (cstoresf4): Add constraints | |
11459 | (cbranchsf4): Adjust operator to comparison_operator. | |
bbb3a9e2 | 11460 | |
6fa5e0ed JJ |
11461 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
11462 | ||
11463 | PR middle-end/56461 | |
11464 | * tree-flow.h (edge_var_map_vector): Change into va_heap, vl_embed | |
11465 | vector. | |
11466 | * tree-ssa.c (redirect_edge_var_map_add): Use vec_safe_reserve and | |
11467 | vec_safe_push, always update *slot. | |
11468 | (redirect_edge_var_map_clear): Use vec_free. | |
11469 | (redirect_edge_var_map_dup): Use vec_safe_copy and vec_safe_reserve. | |
11470 | (free_var_map_entry): Use vec_free. | |
11471 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Use | |
11472 | FOR_EACH_VEC_SAFE_ELT instead of FOR_EACH_VEC_ELT. | |
11473 | ||
436a956a AB |
11474 | 2013-02-27 Andrey Belevantsev <abel@ispras.ru> |
11475 | ||
11476 | PR middle-end/45472 | |
436a956a AB |
11477 | * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr |
11478 | when the may_trap_p bit of the exprs being merged differs. | |
436a956a AB |
11479 | Reorder tests for speculativeness in the logical and operator. |
11480 | ||
f5c2caca JJ |
11481 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
11482 | ||
0fcb564b JJ |
11483 | * incpath.c (add_standard_paths): Use reconcat instead of concat |
11484 | where appropriate and avoid leaking memory. | |
11485 | ||
dc357798 JJ |
11486 | * opts.h: Include obstack.h. |
11487 | (opts_concat): New prototype. | |
11488 | (opts_obstack): New declaration. | |
11489 | * opts.c (opts_concat): New function. | |
11490 | (opts_obstack): New variable. | |
11491 | (init_options_struct): Call gcc_init_obstack on opts_obstack. | |
11492 | (finish_options): Use opts_concat instead of concat | |
11493 | and XOBNEWVEC instead of XNEWVEC. | |
11494 | * opts-common.c (generate_canonical_option, decode_cmdline_option, | |
11495 | generate_option): Likewise. | |
11496 | * Makefile.in (OPTS_H): Depend on $(OBSTACK_H). | |
11497 | * lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack. | |
11498 | ||
f5c2caca JJ |
11499 | PR target/56455 |
11500 | * stmt.c (expand_switch_as_decision_tree_p): If flag_pic | |
11501 | and ASM_OUTPUT_ADDR_DIFF_ELT isn't defined, return true. | |
11502 | ||
d0163673 JJ |
11503 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
11504 | ||
11505 | PR middle-end/56461 | |
11506 | * lra-spills.c (lra_spill): Free spill_hard_reg at the end. | |
11507 | ||
b5ad2b8e JR |
11508 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
11509 | ||
11510 | * config/arm/arm.c (const_ok_for_dimode_op): Back out last change. | |
11511 | (arm_block_move_unaligned_straight): Likewise. | |
11512 | (arm_adjust_block_mem): Likewise. | |
11513 | ||
9b639e2c JR |
11514 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
11515 | ||
11516 | PR target/48901 | |
11517 | * config/lm32/lm32.c (gen_int_relational): Remove unused variables | |
11518 | temp, cond and label. | |
11519 | * config/lm32/lm32.md (ashlsi3): Remove unused variable one. | |
11520 | ||
e13a0ccb JR |
11521 | PR target/52500 |
11522 | * config/c6x/c6x.c (dbx_register_map): Change to unsigned. | |
11523 | * config/c6x/c6x.h (dbx_register_map): Update declaration. | |
11524 | ||
fbe4f171 JR |
11525 | PR target/52501 |
11526 | * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end | |
11527 | of prologue/epilogue functions. | |
11528 | ||
ae006543 JR |
11529 | PR target/52550 |
11530 | * config/tilegx/tilegx.c (tilegx_expand_prologue): | |
11531 | Remove unused variable cfa_offset. | |
11532 | * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise. | |
11533 | ||
c81369fa JR |
11534 | PR target/54639 |
11535 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset | |
11536 | type promotion to unsigned. | |
11537 | ||
f8a8fea7 JR |
11538 | PR target/54640 |
11539 | * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent | |
11540 | for HOST_WIDE_INT of 32 bit / same size as int. | |
11541 | (arm_block_move_unaligned_straight): Likewise. | |
11542 | (arm_adjust_block_mem): Likewise. | |
11543 | ||
f8be5169 JR |
11544 | PR target/54662 |
11545 | * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of | |
11546 | ALL_CFLAGS. | |
11547 | ||
f1ad3354 MP |
11548 | 2013-02-26 Marek Polacek <polacek@redhat.com> |
11549 | ||
11550 | PR tree-optimization/56426 | |
88b97037 | 11551 | * tree-ssa-loop.c (tree_ssa_loop_init): Always call scev_initialize. |
f1ad3354 | 11552 | |
a6af0f42 RB |
11553 | 2013-02-26 Richard Biener <rguenther@suse.de> |
11554 | ||
11555 | PR target/56444 | |
11556 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove | |
11557 | unused variable loops. | |
11558 | ||
aca43c6c JJ |
11559 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
11560 | ||
cecbe5d9 JJ |
11561 | PR tree-optimization/56448 |
11562 | * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at | |
11563 | TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF. | |
11564 | Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or | |
11565 | later operands of the references, or even first operand for | |
11566 | INDIRECT_REF, TARGET_MEM_REF or MEM_REF. | |
11567 | ||
aca43c6c JJ |
11568 | PR tree-optimization/56443 |
11569 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For | |
11570 | overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument | |
11571 | to type_for_mode langhook. | |
11572 | ||
53e2e141 MT |
11573 | 2013-02-25 Matt Turner <mattst88@gmail.com> |
11574 | ||
11575 | * doc/invoke.texi: Document r4700. | |
11576 | ||
259ee451 RB |
11577 | 2013-02-25 Richard Biener <rguenther@suse.de> |
11578 | ||
11579 | PR tree-optimization/56175 | |
11580 | * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate, | |
11581 | split out from ... | |
11582 | (simplify_bitwise_binary): ... here. Also guard the conversion | |
11583 | of (type) X op CST to (type) (X op ((type-x) CST)) with it. | |
11584 | ||
6d65e8f1 CM |
11585 | 2013-02-25 Catherine Moore <clm@codesourcery.com> |
11586 | ||
11587 | Revert: | |
11588 | 2013-02-24 Catherine Moore <clm@codesourcery.com> | |
11589 | Maciej W. Rozycki <macro@codesourcery.com> | |
11590 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 11591 | Nathan Sidwell <nathan@codesourcery.com> |
6d65e8f1 CM |
11592 | Iain Sandoe <iain@codesourcery.com> |
11593 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 11594 | Chao-ying Fu <fu@mips.com> |
88b97037 | 11595 | |
6d65e8f1 | 11596 | * doc/extend.texi: (micromips, nomicromips, nocompression): |
88b97037 | 11597 | Document new function attributes. |
6d65e8f1 CM |
11598 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
11599 | m14k, m14ke, m14kec): Document new options. | |
11600 | (minterlink-mips16): Update documentation. | |
11601 | * doc/md.texi (ZC, ZD): Document new constraints. | |
11602 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
11603 | supports the .set micromips directive. | |
11604 | * configure: Regenerate. | |
11605 | * config.in: Regenerate. | |
11606 | * config/mips/mips-tables.opt: Regenerate. | |
11607 | * config/mips/micromips.md: New file. | |
11608 | * constraints.md (ZC, AD): New constraints. | |
11609 | * config/mips/predicates.md (movep_src_register): New predicate. | |
11610 | (movep_src_operand): New predicate. | |
11611 | (non_volatile_mem_operand): New predicate. | |
11612 | * config/mips/mips.md (multimem): New type. | |
11613 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
11614 | (MOVEP1, MOVEP2): New mode iterator. | |
11615 | (mov_<load>l): Use ZC constraint. | |
11616 | (mov_<load>r): Likewise. | |
11617 | (mov_<store>l): Likewise. | |
11618 | (mov_<store>r): Likewise. | |
11619 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
11620 | (*branch_equality<mode>): Likewise. | |
11621 | (*jump_absolute): Likewise. | |
11622 | (indirect_jump_<mode>): Likewise. | |
11623 | (tablejump_<mode>): Likewise. | |
11624 | (<optab>_internal): Likewise. | |
11625 | (sibcall_internal): Likewise. | |
11626 | (sibcall_value_internal): Likewise. | |
11627 | (prefetch): Use constraint ZD. | |
11628 | * config/mips/mips.opt (minterlink-compressed): New option. | |
11629 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
11630 | (mmicromips): New option. | |
11631 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
11632 | (compare_and_swap_12): Likewise. | |
11633 | (sync_add<mode>): Likewise. | |
11634 | (sync_<optab>_12): Likewise. | |
11635 | (sync_old_<optab>_12): Likewise. | |
11636 | (sync_new_<optab>_12): Likewise. | |
11637 | (sync_nand_12): Likewise. | |
11638 | (sync_old_nand_12): Likewise. | |
11639 | (sync_new_nand_12): Likewise. | |
11640 | (sync_sub<mode>): Likewise. | |
11641 | (sync_old_add<mode>): Likewise. | |
11642 | (sync_old_sub<mode>): Likewise. | |
11643 | (sync_new_add<mode>): Likewise. | |
11644 | (sync_new_sub<mode>): Likewise. | |
11645 | (sync_<optab><mode>): Likewise. | |
11646 | (sync_old_<optab><mode>): Likewise. | |
11647 | (sync_new_<optab><mode>): Likewise. | |
11648 | (sync_nand<mode>): Likewise. | |
11649 | (sync_old_nand<mode>): Likewise. | |
11650 | (sync_new_nand<mode>): Likewise. | |
11651 | (sync_lock_test_and_set<mode>): Likewise. | |
11652 | (test_and_set_12): Likewise. | |
11653 | (atomic_compare_and_swap<mode>): Likewise. | |
11654 | (atomic_exchange<mode>_llsc): Likewise. | |
11655 | (atomic_fetch_add<mode>_llsc): Likewise. | |
11656 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
11657 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
11658 | (umips_save_restore_pattern_p): Likewise. | |
11659 | (umips_load_store_pair_p): Likewise. | |
11660 | (umips_output_load_store_pair): Likewise. | |
11661 | (umips_movep_target_p): Likewise. | |
11662 | (umips_12bit_offset_address_p): Likewise. | |
11663 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
11664 | (mips_base_mips16): Rename this... | |
11665 | (mips_base_compression_flags): ...to this. Update all uses. | |
11666 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
11667 | (mips_mips16_decl_p): Delete. | |
11668 | (mips_nomips16_decl_p): Delete. | |
11669 | (mips_get_compress_on_flags): New function. | |
11670 | (mips_get_compress_off_flags): New function. | |
11671 | (mips_get_compress_mode): New function. | |
11672 | (mips_get_compress_on_name): New function. | |
11673 | (mips_get_compress_off_name): New function. | |
11674 | (mips_insert_attributes): Support multiple compression types. | |
11675 | (mips_merge_decl_attributes): Likewise. | |
11676 | (umips_12bit_offset_address_p): New function. | |
11677 | (mips_start_function_definition): Emit .set micromips directive. | |
11678 | (mips_call_may_need_jalx_p): New function. | |
11679 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
11680 | (mips_print_operand_punctuation): Support short delay slots and | |
11681 | compact jumps. | |
11682 | (umips_swm_mask, umips_swm_encoding): New. | |
11683 | (umips_build_save_restore): New function. | |
11684 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
11685 | (was_mips16_p): Remove. | |
11686 | (old_compression_mode): New. | |
11687 | (mips_set_compression_mode): New function. | |
11688 | (mips_set_current_function): Add microMIPS support. | |
11689 | (mips_option_override): Likewise. | |
11690 | (umips_save_restore_pattern_p): New function. | |
11691 | (umips_output_save_restore): New function. | |
11692 | (umips_load_store_pair_p_1): New function. | |
11693 | (umips_load_store_pair_p): New function. | |
11694 | (umips_output_load_store_pair_1): New function. | |
11695 | (umips_output_load_store_pair): New function. | |
11696 | (umips_movep_target_p) New function. | |
11697 | (mips_prepare_pch_save): Add microMIPS support. | |
11698 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
11699 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
11700 | to use new compression flags and to support microMIPS. | |
11701 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
11702 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
11703 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
11704 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
11705 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
11706 | (M16STORE_REG_P): New macro. | |
11707 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
11708 | (MICROMIPS_J): New macro. | |
11709 | (mips_base_mips16): Rename this... | |
11710 | (mips_base_compression_flags): ...to this. | |
11711 | (UMIPS_12BIT_OFFSET_P): New macro. | |
11712 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
11713 | (MULTILIB_DIRNAMES): Likewise. | |
11714 | ||
5e5df392 TV |
11715 | 2013-02-25 Tom de Vries <tom@codesourcery.com> |
11716 | ||
11717 | PR rtl-optimization/56131 | |
11718 | * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment. | |
11719 | * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and | |
11720 | NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL. | |
11721 | ||
3fdb53c1 TB |
11722 | 2013-02-25 Tobias Burnus <burnus@net-b.de> |
11723 | ||
11724 | * doc/invoke.texi (-fsanitize=): Move from optimization | |
11725 | to debugging options. | |
11726 | ||
ed358aea AB |
11727 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
11728 | ||
11729 | * sched-deps.c (sched_analyze_insn): Fix typo in comment. | |
11730 | ||
f45e9053 AB |
11731 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
11732 | Alexander Monakov <amonakov@ispras.ru> | |
11733 | ||
11734 | PR middle-end/56077 | |
11735 | * sched-deps.c (sched_analyze_insn): When reg_pending_barrier, | |
11736 | flush pending lists also on non-jumps. Adjust comment. | |
11737 | ||
6941b508 CM |
11738 | 2013-02-24 Catherine Moore <clm@codesourcery.com> |
11739 | Maciej W. Rozycki <macro@codesourcery.com> | |
11740 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 11741 | Nathan Sidwell <nathan@codesourcery.com> |
6941b508 CM |
11742 | Iain Sandoe <iain@codesourcery.com> |
11743 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 11744 | Chao-ying Fu <fu@mips.com> |
6941b508 CM |
11745 | |
11746 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
88b97037 | 11747 | Document new function attributes. |
6941b508 CM |
11748 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
11749 | m14k, m14ke, m14kec): Document new options. | |
11750 | (minterlink-mips16): Update documentation. | |
11751 | * doc/md.texi (ZC, ZD): Document new constraints. | |
11752 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
11753 | supports the .set micromips directive. | |
11754 | * configure: Regenerate. | |
11755 | * config.in: Regenerate. | |
11756 | * config/mips/mips-tables.opt: Regenerate. | |
11757 | * config/mips/micromips.md: New file. | |
11758 | * constraints.md (ZC, AD): New constraints. | |
11759 | * config/mips/predicates.md (movep_src_register): New predicate. | |
11760 | (movep_src_operand): New predicate. | |
11761 | (non_volatile_mem_operand): New predicate. | |
11762 | * config/mips/mips.md (multimem): New type. | |
11763 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
11764 | (MOVEP1, MOVEP2): New mode iterator. | |
3fdb53c1 | 11765 | (mov_<load>l): Use ZC constraint. |
6941b508 CM |
11766 | (mov_<load>r): Likewise. |
11767 | (mov_<store>l): Likewise. | |
11768 | (mov_<store>r): Likewise. | |
11769 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
11770 | (*branch_equality<mode>): Likewise. | |
11771 | (*jump_absolute): Likewise. | |
11772 | (indirect_jump_<mode>): Likewise. | |
11773 | (tablejump_<mode>): Likewise. | |
11774 | (<optab>_internal): Likewise. | |
11775 | (sibcall_internal): Likewise. | |
11776 | (sibcall_value_internal): Likewise. | |
11777 | (prefetch): Use constraint ZD. | |
11778 | * config/mips/mips.opt (minterlink-compressed): New option. | |
11779 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
11780 | (mmicromips): New option. | |
11781 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
11782 | (compare_and_swap_12): Likewise. | |
11783 | (sync_add<mode>): Likewise. | |
11784 | (sync_<optab>_12): Likewise. | |
11785 | (sync_old_<optab>_12): Likewise. | |
11786 | (sync_new_<optab>_12): Likewise. | |
11787 | (sync_nand_12): Likewise. | |
11788 | (sync_old_nand_12): Likewise. | |
11789 | (sync_new_nand_12): Likewise. | |
11790 | (sync_sub<mode>): Likewise. | |
11791 | (sync_old_add<mode>): Likewise. | |
11792 | (sync_old_sub<mode>): Likewise. | |
11793 | (sync_new_add<mode>): Likewise. | |
11794 | (sync_new_sub<mode>): Likewise. | |
11795 | (sync_<optab><mode>): Likewise. | |
11796 | (sync_old_<optab><mode>): Likewise. | |
11797 | (sync_new_<optab><mode>): Likewise. | |
11798 | (sync_nand<mode>): Likewise. | |
11799 | (sync_old_nand<mode>): Likewise. | |
11800 | (sync_new_nand<mode>): Likewise. | |
11801 | (sync_lock_test_and_set<mode>): Likewise. | |
11802 | (test_and_set_12): Likewise. | |
11803 | (atomic_compare_and_swap<mode>): Likewise. | |
11804 | (atomic_exchange<mode>_llsc): Likewise. | |
11805 | (atomic_fetch_add<mode>_llsc): Likewise. | |
11806 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
11807 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
11808 | (umips_save_restore_pattern_p): Likewise. | |
11809 | (umips_load_store_pair_p): Likewise. | |
11810 | (umips_output_load_store_pair): Likewise. | |
11811 | (umips_movep_target_p): Likewise. | |
11812 | (umips_12bit_offset_address_p): Likewise. | |
11813 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
11814 | (mips_base_mips16): Rename this... | |
11815 | (mips_base_compression_flags): ...to this. Update all uses. | |
11816 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
11817 | (mips_mips16_decl_p): Delete. | |
11818 | (mips_nomips16_decl_p): Delete. | |
3fdb53c1 | 11819 | (mips_get_compress_on_flags): New function. |
6941b508 CM |
11820 | (mips_get_compress_off_flags): New function. |
11821 | (mips_get_compress_mode): New function. | |
11822 | (mips_get_compress_on_name): New function. | |
11823 | (mips_get_compress_off_name): New function. | |
11824 | (mips_insert_attributes): Support multiple compression types. | |
11825 | (mips_merge_decl_attributes): Likewise. | |
11826 | (umips_12bit_offset_address_p): New function. | |
11827 | (mips_start_function_definition): Emit .set micromips directive. | |
11828 | (mips_call_may_need_jalx_p): New function. | |
11829 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
11830 | (mips_print_operand_punctuation): Support short delay slots and | |
11831 | compact jumps. | |
11832 | (umips_swm_mask, umips_swm_encoding): New. | |
11833 | (umips_build_save_restore): New function. | |
11834 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
11835 | (was_mips16_p): Remove. | |
11836 | (old_compression_mode): New. | |
11837 | (mips_set_compression_mode): New function. | |
11838 | (mips_set_current_function): Add microMIPS support. | |
11839 | (mips_option_override): Likewise. | |
11840 | (umips_save_restore_pattern_p): New function. | |
11841 | (umips_output_save_restore): New function. | |
11842 | (umips_load_store_pair_p_1): New function. | |
11843 | (umips_load_store_pair_p): New function. | |
11844 | (umips_output_load_store_pair_1): New function. | |
11845 | (umips_output_load_store_pair): New function. | |
11846 | (umips_movep_target_p) New function. | |
11847 | (mips_prepare_pch_save): Add microMIPS support. | |
11848 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
11849 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
11850 | to use new compression flags and to support microMIPS. | |
11851 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
11852 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
11853 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
11854 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
11855 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
11856 | (M16STORE_REG_P): New macro. | |
11857 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
11858 | (MICROMIPS_J): New macro. | |
11859 | (mips_base_mips16): Rename this... | |
11860 | (mips_base_compression_flags): ...to this. | |
11861 | (UMIPS_12BIT_OFFSET_P): New macro. | |
11862 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
11863 | (MULTILIB_DIRNAMES): Likewise. | |
11864 | ||
cdebbc6d JJ |
11865 | 2013-02-24 Jakub Jelinek <jakub@redhat.com> |
11866 | ||
11867 | PR target/52555 | |
11868 | * target-globals.c (save_target_globals): For init_reg_sets and | |
11869 | target_reinit remporarily set this_fn_optabs to this_target_optabs. | |
11870 | ||
18c63565 JG |
11871 | 2013-02-22 James Grennahlgh <james.greenhalgh@arm.com> |
11872 | ||
11873 | * config/aarch64/aarch64-simd-builtins.def: Add copyright header. | |
11874 | * config/aarch64/t-aarch64 | |
11875 | (aarch64-builtins.o): Depend on aarch64-simd-builtins.def. | |
11876 | ||
2194f7a2 VM |
11877 | 2013-02-22 Vladimir Makarov <vmakarov@redhat.com> |
11878 | ||
11879 | PR inline-asm/56148 | |
11880 | * lra-constraints.c (process_alt_operands): Reload operand | |
11881 | conflicting with earlier clobber only if no more other conflicting | |
11882 | operands. | |
11883 | ||
7d613735 JJ |
11884 | 2013-02-22 Jakub Jelinek <jakub@redhat.com> |
11885 | ||
11886 | PR sanitizer/56393 | |
11887 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o | |
11888 | if not linking a shared library. | |
11889 | ||
ac8d93a7 SL |
11890 | 2013-02-22 Seth LaForge <sethml@google.com> |
11891 | ||
11892 | * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian. | |
11893 | ||
e0237780 GY |
11894 | 2013-02-22 Greta Yorsh <Greta.Yorsh@arm.com> |
11895 | ||
3fdb53c1 TB |
11896 | * config/arm/arm.md (split for extendsidi): Update condition. |
11897 | (zero_extend<mode>di2,extend<mode>di2): Add an alternative. | |
11898 | * config/arm/iterators.md (qhs_extenddi_cstr): Likewise. | |
11899 | (qhs_zextenddi_cstr): Likewise. | |
e0237780 | 11900 | |
d7fde18c JJ |
11901 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
11902 | ||
be63b77d JJ |
11903 | PR middle-end/56420 |
11904 | * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to | |
11905 | avoid signed wrapping. | |
11906 | (expand_mult): Handle properly multiplication by | |
11907 | ((dword_type) -1) << (BITS_PER_WORD - 1). Improve multiplication by | |
11908 | ((dword_type) 1) << (BITS_PER_WORD - 1). Avoid undefined behavior | |
11909 | in the compiler if coeff is HOST_WIDE_INT_MIN. | |
11910 | (expand_divmod): Don't make ext_op1 static, change it's type to | |
11911 | uhwi. Avoid undefined behavior in -INTVAL (op1). | |
11912 | ||
d7fde18c JJ |
11913 | PR rtl-optimization/50339 |
11914 | * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt | |
11915 | field. | |
11916 | * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT. | |
11917 | (compute_costs): Call compute_splitting_shift also for ASHIFTRT | |
11918 | into splitting_ashiftrt field. | |
11919 | (find_decomposable_shift_zext, resolve_shift_zext): Handle also | |
11920 | ASHIFTRT. | |
11921 | (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT | |
11922 | choices. | |
11923 | ||
6aad4455 AH |
11924 | 2013-02-20 Aldy Hernandez <aldyh@redhat.com> |
11925 | ||
11926 | PR middle-end/56108 | |
11927 | * trans-mem.c (execute_tm_mark): Do not expand transactions that | |
11928 | are sure to go irrevocable. | |
11929 | ||
38fe784d HPN |
11930 | 2013-02-21 Hans-Peter Nilsson <hp@axis.com> |
11931 | ||
11932 | * doc/rtl.texi (vec_concat, vec_duplicate): Mention that | |
11933 | scalars are valid operands. | |
11934 | ||
0fd44da3 MJ |
11935 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
11936 | ||
11937 | PR tree-optimization/56310 | |
11938 | * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy | |
11939 | only matching indices and non-negative final offsets. | |
11940 | (intersect_aggregates_with_edge): Pass src_idx to | |
11941 | agg_replacements_to_vector. Pass src_idx insstead of index to | |
11942 | intersect_with_agg_replacements. | |
11943 | ||
7a92038b MJ |
11944 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
11945 | ||
11946 | * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold | |
11947 | instead of hard-wired defaults. | |
11948 | ||
c0da9c37 MR |
11949 | 2013-02-21 Maciej W. Rozycki <macro@codesourcery.com> |
11950 | ||
11951 | * doc/invoke.texi (MIPS Options): Update documentation of the | |
11952 | floating-point multiply-accumulate instruction restrictions. | |
11953 | ||
d247ea0c | 11954 | 2013-02-21 Kostya Serebryany <kcc@google.com> |
7df59255 KS |
11955 | |
11956 | * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as | |
11957 | asan_shadow_offset on x86_64 linux. | |
11958 | ||
22deefcb RB |
11959 | 2013-02-21 Richard Biener <rguenther@suse.de> |
11960 | ||
11961 | PR tree-optimization/56415 | |
11962 | Revert | |
11963 | 2013-02-11 Richard Biener <rguenther@suse.de> | |
11964 | ||
11965 | PR tree-optimization/56273 | |
11966 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
11967 | first VRP run. | |
11968 | ||
7bcc6e75 JJ |
11969 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
11970 | ||
a0ad148f JJ |
11971 | PR bootstrap/56258 |
11972 | * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item | |
11973 | instead of @itemx. | |
11974 | ||
7bcc6e75 JJ |
11975 | PR inline-asm/56405 |
11976 | * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't | |
11977 | use movmisalign or extract_bit_field for EXPAND_MEMORY modifier. | |
11978 | ||
a0a7b611 JH |
11979 | 2013-02-20 Jan Hubicka <jh@suse.cz> |
11980 | ||
11981 | PR tree-optimization/56265 | |
88b97037 UB |
11982 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph |
11983 | when target is referenced for first time. | |
a0a7b611 | 11984 | |
c0e50f72 RB |
11985 | 2013-02-20 Richard Biener <rguenther@suse.de> |
11986 | ||
11987 | * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. | |
11988 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise. | |
11989 | * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise. | |
11990 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do | |
11991 | not return anything. | |
11992 | (rename_ssa_copies): Do not remove unused locals. | |
11993 | * tree-ssa-ccp.c (do_ssa_ccp): Likewise. | |
88b97037 | 11994 | * tree-ssanames.c (pass_release_ssa_names): Remove unused locals first. |
c0e50f72 RB |
11995 | * passes.c (execute_function_todo): Do not schedule unused locals |
11996 | removal if cleanup_tree_cfg did something. | |
11997 | * tree-ssa-live.c (remove_unused_locals): Dump statistics | |
11998 | about the number of removed locals. | |
11999 | ||
a52ca739 RB |
12000 | 2013-02-20 Richard Biener <rguenther@suse.de> |
12001 | ||
12002 | PR tree-optimization/56398 | |
88b97037 | 12003 | * tree-vect-loop-manip.c (adjust_debug_stmts): Skip SSA default defs. |
a52ca739 | 12004 | |
ec9c9d1b MJ |
12005 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
12006 | ||
12007 | PR tree-optimization/55334 | |
12008 | * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to | |
12009 | restricted pointers to arrays. | |
12010 | ||
e91c8ed6 | 12011 | 2013-02-20 Richard Biener <rguenther@suse.de> |
88b97037 | 12012 | Jakub Jelinek <jakub@redhat.com> |
e91c8ed6 RB |
12013 | |
12014 | PR tree-optimization/56396 | |
12015 | * tree-ssa-ccp.c (n_const_val): New static variable. | |
12016 | (get_value): Return NULL for SSA names we don't have a lattice | |
12017 | entry for. | |
12018 | (ccp_initialize): Initialize n_const_val. | |
12019 | * tree-ssa-copy.c (n_copy_of): New static variable. | |
12020 | (init_copy_prop): Initialize n_copy_of. | |
12021 | (get_value): Return NULL_TREE for SSA names we don't have a | |
12022 | lattice entry for. | |
12023 | ||
3d916479 MJ |
12024 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
12025 | ||
12026 | * ipa-cp.c (initialize_node_lattices): Fix dumping condition. | |
12027 | ||
71a86758 RB |
12028 | 2013-02-20 Richard Biener <rguenther@suse.de> |
12029 | ||
12030 | * genpreds.c (write_lookup_constraint): Do not compare first | |
12031 | letter of the constraint again. | |
12032 | ||
79836a12 RB |
12033 | 2013-02-20 Richard Biener <rguenther@suse.de> |
12034 | ||
12035 | * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits | |
12036 | and ceil_log2. | |
12037 | (get_use_iv_cost): Terminate hashtable walk when coming across | |
12038 | an empty entry. | |
12039 | ||
bbe4fb2c IZ |
12040 | 2013-02-20 Igor Zamyatin <igor.zamyatin@intel.com> |
12041 | ||
12042 | * config/i386/i386.c (initial_ix86_tune_features): Turn on fp | |
12043 | reassociation for avx2 targets. | |
12044 | ||
a72d8780 | 12045 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
79836a12 | 12046 | |
c77f83d5 EI |
12047 | * config/microblaze/microblaze.c: microblaze_has_clz = 0 |
12048 | Add version check for v8.10.a to enable microblaze_has_clz | |
88b97037 | 12049 | * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined |
c77f83d5 EI |
12050 | version and TARGET_PATTERN_COMPARE check |
12051 | * config/microblaze/microblaze.md: New clzsi2 instruction | |
3fdb53c1 | 12052 | |
a72d8780 | 12053 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
959434e6 | 12054 | |
a72d8780 | 12055 | * config/microblaze/microblaze.md (call_value_intern): Check symbol is |
959434e6 EI |
12056 | function before branching. |
12057 | ||
242387fa AB |
12058 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
12059 | ||
12060 | * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set | |
12061 | DUMP_INSN_RTX_UID. | |
12062 | (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim. | |
12063 | ||
b4979ab9 AB |
12064 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
12065 | ||
12066 | PR middle-end/55889 | |
b4979ab9 AB |
12067 | * sel-sched.c: Include ira.h. |
12068 | (implicit_clobber_conflict_p): New function. | |
12069 | (moveup_expr): Use it. | |
88b97037 | 12070 | * Makefile.in (sel-sched.o): Depend on ira.h. |
b4979ab9 | 12071 | |
24d63016 RB |
12072 | 2013-02-19 Richard Biener <rguenther@suse.de> |
12073 | ||
12074 | PR tree-optimization/56384 | |
12075 | * tree-ssa-sccvn.h (struct vn_phi_s): Add type member. | |
12076 | (vn_hash_type): Split out from ... | |
12077 | (vn_hash_constant_with_type): ... here. | |
12078 | * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type. | |
12079 | (vn_phi_eq): Compare types from vn_phi_s structure. | |
12080 | (vn_phi_lookup): Populate vn_phi_s type. | |
12081 | (vn_phi_insert): Likewise. | |
12082 | ||
a475fd3d JJ |
12083 | 2013-02-19 Jakub Jelinek <jakub@redhat.com> |
12084 | ||
47cc28f5 JJ |
12085 | PR tree-optimization/56350 |
12086 | * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false | |
12087 | if haven't found reduction or nested cycle operand, rather than | |
12088 | asserting we must find it. | |
12089 | ||
a475fd3d JJ |
12090 | PR tree-optimization/56381 |
12091 | * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument | |
12092 | to fold_build3. | |
12093 | ||
12094 | 2013-02-18 Aldy Hernandez <aldyh@redhat.com> | |
135204dd AH |
12095 | Jakub Jelinek <jakub@redhat.com> |
12096 | ||
12097 | PR target/52555 | |
12098 | * genopinit.c (raw_optab_handler): Use this_fn_optabs. | |
12099 | (swap_optab_enable): Same. | |
12100 | (init_all_optabs): Use argument instead of global. | |
88b97037 | 12101 | * tree.h (struct tree_optimization_option): New field target_optabs. |
135204dd AH |
12102 | * expr.h (init_all_optabs): Add argument to prototype. |
12103 | (TREE_OPTIMIZATION_OPTABS): New. | |
12104 | (save_optabs_if_changed): Protoize. | |
12105 | * optabs.h: Declare this_fn_optabs. | |
12106 | * optabs.c (save_optabs_if_changed): New. | |
12107 | Declare this_fn_optabs. | |
12108 | (init_optabs): Add argument to init_all_optabs() call. | |
12109 | * function.c (invoke_set_current_function_hook): Handle per | |
12110 | function optabs. | |
12111 | * function.h (struct function): New field optabs. | |
12112 | * config/mips/mips.c (mips_set_mips16_mode): Handle when | |
12113 | optimization_current_node has changed. | |
12114 | * target-globals.h (save_target_globals_default_opts): Protoize. | |
12115 | * target-globals.c (save_target_globals_default_opts): New. | |
12116 | ||
3f587ca3 JDA |
12117 | 2013-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12118 | ||
12119 | PR target/56347 | |
12120 | * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark | |
12121 | registers %fr12 and %fr12R as call used. | |
ceaca33e JDA |
12122 | |
12123 | PR target/56214 | |
12124 | * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode | |
88b97037 UB |
12125 | and HImode, require all displacements to be an integer multiple of |
12126 | their mode size. | |
ceaca33e JDA |
12127 | * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses, |
12128 | only allow QImode and HImode when reload is in progress and strict is | |
12129 | true. Likewise for symbolic addresses. Use base14_operand to check | |
12130 | displacements in REG+BASE addresses. | |
12131 | ||
fe0b4796 RB |
12132 | 2013-02-18 Richard Biener <rguenther@suse.de> |
12133 | ||
12134 | PR tree-optimization/56366 | |
12135 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
12136 | handle sign-conversion of outer-loop initial induction value. | |
12137 | ||
6aaf596b RB |
12138 | 2013-02-18 Richard Biener <rguenther@suse.de> |
12139 | ||
73db8ff1 | 12140 | PR middle-end/56349 |
6aaf596b RB |
12141 | * cfghooks.c (merge_blocks): If we merge a latch into another |
12142 | block adjust references to it. | |
12143 | * cfgloop.c (flow_loops_find): Reset latch before recomputing it. | |
12144 | (verify_loop_structure): Verify that a recorded latch is in fact | |
12145 | a latch. | |
12146 | ||
5e97dfb6 RB |
12147 | 2013-02-18 Richard Biener <rguenther@suse.de> |
12148 | ||
12149 | PR tree-optimization/56321 | |
12150 | * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly | |
12151 | order SSA name release and virtual operand unlinking. | |
12152 | ||
825527e8 EI |
12153 | 2013-02-17 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
12154 | ||
12155 | * config/microblaze/microblaze.md (save_stack_block): Define. | |
12156 | (restore_stack_block): Likewise. | |
12157 | ||
debd11d9 EI |
12158 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
12159 | ||
12160 | * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1. | |
12161 | * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1. | |
12162 | * config/microblaze/microblaze.c (microblaze_option_override): | |
12163 | Bail out early for PIC modes when target does not support PIC. | |
12164 | ||
8ec77be0 EI |
12165 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
12166 | ||
88b97037 | 12167 | * config/microblaze/microblaze.c (microblaze_asm_trampoline_template): |
8ec77be0 EI |
12168 | Replace with a microblaze version. |
12169 | (microblaze_trampoline_init): Adapt for microblaze. | |
a752b80f | 12170 | * config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for |
8ec77be0 EI |
12171 | microblaze. |
12172 | ||
b41288b3 JJ |
12173 | 2013-02-16 Jakub Jelinek <jakub@redhat.com> |
12174 | Dodji Seketeli <dodji@redhat.com> | |
12175 | ||
12176 | PR asan/56330 | |
88b97037 | 12177 | * asan.c (get_mem_refs_of_builtin_call): White space and style cleanup. |
b41288b3 JJ |
12178 | (instrument_mem_region_access): Do not forget to always put |
12179 | instrumentation of the of 'base' and 'base + len' in a "if (len != | |
12180 | 0) statement, even for cases where either 'base' or 'base + len' | |
12181 | are not instrumented -- because they have been previously | |
12182 | instrumented. Simplify the logic by putting all the statements | |
12183 | instrument 'base + len' inside a sequence, and then insert that | |
12184 | sequence right before the current insertion point. Then, to | |
12185 | instrument 'base + len', just get an iterator on that statement. | |
12186 | And do not forget to update the pointer to iterator the function | |
12187 | received as argument. | |
12188 | ||
47918951 VM |
12189 | 2013-02-15 Vladimir Makarov <vmakarov@redhat.com> |
12190 | ||
12191 | PR rtl-optimization/56348 | |
12192 | * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos. | |
12193 | ||
3fb7c699 SB |
12194 | 2013-02-15 Steven Bosscher <steven@gcc.gnu.org> |
12195 | ||
12196 | * graph.c (start_graph_dump): Print dumpfile base as digraph label. | |
12197 | (clean_graph_dump_file): Pass base to start_graph_dump. | |
12198 | ||
576fe41a RH |
12199 | 2013-02-14 Richard Henderson <rth@redhat.com> |
12200 | ||
12201 | PR target/55941 | |
12202 | * lower-subreg.c (simple_move): Check dest mode instead of src mode. | |
12203 | ||
bb3accfa SB |
12204 | 2013-02-14 Steven Bosscher <steven@gcc.gnu.org> |
12205 | ||
12206 | * collect2-aix.h: Define F_LOADONLY. | |
12207 | ||
03143140 RB |
12208 | 2013-02-14 Richard Biener <rguenther@suse.de> |
12209 | ||
12210 | PR lto/50494 | |
12211 | * varasm.c (output_constant_def_1): Get the decl representing | |
12212 | the constant as argument. | |
12213 | (output_constant_def): Wrap output_constant_def_1. | |
12214 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
12215 | representing the constant. | |
12216 | (build_constant_desc): Optionally re-use a decl already | |
12217 | representing the constant. | |
12218 | (tree_output_constant_def): Adjust. | |
12219 | ||
8fb06726 DS |
12220 | 2013-02-14 Dodji Seketeli <dodji@redhat.com> |
12221 | ||
12222 | Fix an asan crash | |
12223 | * asan.c (instrument_builtin_call): Really put the length of the | |
12224 | second source argument into src1_len. | |
12225 | ||
c4bfe8bf JJ |
12226 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
12227 | ||
12228 | * asan.c (create_cond_insert_point): Add create_then_fallthru_edge | |
12229 | argument. If it is false, don't create edge from then_bb to | |
12230 | fallthru_bb. | |
12231 | (insert_if_then_before_iter): Pass true to it. | |
12232 | (build_check_stmt): Pass false to it. | |
12233 | (transform_statements): Flush hash table only on extended basic | |
12234 | block boundaries, rather than at the beginning of every bb. | |
12235 | Don't flush hash table on nonfreeing_call_p calls. | |
12236 | * tree-flow.h (nonfreeing_call_p): New prototype. | |
12237 | * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static. | |
12238 | ||
7afe2801 DM |
12239 | 2013-02-13 David S. Miller <davem@davemloft.net> |
12240 | ||
12241 | * expmed.c (expand_shift_1): Only strip scalar integer subregs. | |
12242 | ||
70cc3288 VM |
12243 | 2013-02-13 Vladimir Makarov <vmakarov@redhat.com> |
12244 | ||
12245 | PR target/56184 | |
12246 | * ira.c (max_regno_before_ira): Move from ... | |
12247 | (ira): ... here. | |
12248 | (fix_reg_equiv_init): Use max_regno_before_ira instead of | |
12249 | vec_safe_length. | |
12250 | ||
6422242b JJ |
12251 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
12252 | ||
12253 | * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change. | |
12254 | ||
976a81ee RB |
12255 | 2013-02-13 Richard Biener <rguenther@suse.de> |
12256 | ||
12257 | PR lto/56295 | |
12258 | * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping | |
12259 | globals in MEM_REFs. | |
12260 | ||
c1874a87 RB |
12261 | 2013-02-13 Richard Biener <rguenther@suse.de> |
12262 | ||
12263 | * loop-init.c (loop_optimizer_init): Clear loop state when | |
12264 | re-initializing preserved loops. | |
12265 | * loop-unswitch.c (unswitch_single_loop): Return whether | |
12266 | we unswitched the loop. Do not verify loop state here. | |
88b97037 | 12267 | (unswitch_loops): When we unswitched a loop discover new loops. |
c1874a87 | 12268 | |
b4ab7d34 KS |
12269 | 2013-02-13 Kostya Serebryany <kcc@google.com> |
12270 | ||
88b97037 UB |
12271 | * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset |
12272 | on x86_64 linux. | |
b4ab7d34 KS |
12273 | * sanitizer.def: Rename __asan_init to __asan_init_v1. |
12274 | ||
bdcbe80c DS |
12275 | 2013-02-12 Dodji Seketeli <dodji@redhat.com> |
12276 | ||
12277 | Avoid instrumenting duplicated memory access in the same basic block | |
12278 | * Makefile.in (asan.o): Add new dependency on hash-table.h | |
12279 | * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types. | |
12280 | (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table) | |
12281 | (has_stmt_been_instrumented_p, empty_mem_ref_hash_table) | |
12282 | (free_mem_ref_resources, has_mem_ref_been_instrumented) | |
12283 | (has_stmt_been_instrumented_p, update_mem_ref_hash_table) | |
12284 | (get_mem_ref_of_assignment): New functions. | |
12285 | (get_mem_refs_of_builtin_call): Extract from | |
12286 | instrument_builtin_call and tweak a little bit to make it fit with | |
12287 | the new signature. | |
12288 | (instrument_builtin_call): Use the new | |
12289 | get_mem_refs_of_builtin_call. Use gimple_call_builtin_p instead | |
12290 | of is_gimple_builtin_call. | |
12291 | (instrument_derefs, instrument_mem_region_access): Insert the | |
12292 | instrumented memory reference into the hash table. | |
12293 | (maybe_instrument_assignment): Renamed instrument_assignment into | |
12294 | this, and change it to advance the iterator when instrumentation | |
12295 | actually happened and return true in that case. This makes it | |
12296 | homogeneous with maybe_instrument_assignment, and thus give a | |
12297 | chance to callers to be more 'regular'. | |
12298 | (transform_statements): Clear the memory reference hash table | |
12299 | whenever we enter a new BB, when we cross a function call, or when | |
12300 | we are done transforming statements. Use | |
12301 | maybe_instrument_assignment instead of instrumentation. No more | |
12302 | need to special case maybe_instrument_assignment and advance the | |
12303 | iterator after calling it; it's now handled just like | |
12304 | maybe_instrument_call. Update comment. | |
12305 | ||
4861a1f7 RB |
12306 | 2013-02-13 Richard Biener <rguenther@suse.de> |
12307 | ||
12308 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): | |
12309 | Fix loop discovery code. | |
12310 | ||
1c86bd80 VM |
12311 | 2013-02-12 Vladimir Makarov <vmakarov@redhat.com> |
12312 | ||
12313 | PR inline-asm/56148 | |
12314 | * lra-constraints.c (process_alt_operands): Match early clobber | |
70cc3288 | 12315 | operand with itself. Check conflicts with earlyclobber only if |
1c86bd80 VM |
12316 | the operand is not reloaded. Prefer to reload conflicting operand |
12317 | if earlyclobber and matching operands are the same. | |
12318 | ||
7cbda518 RB |
12319 | 2013-02-12 Richard Biener <rguenther@suse.de> |
12320 | ||
12321 | PR lto/56297 | |
12322 | * lto-streamer-out.c (write_symbol): Do not output symbols | |
12323 | for hard register variables. | |
12324 | ||
e68a4ef6 GJL |
12325 | 2013-02-12 Georg-Johann Lay <avr@gjlay.de> |
12326 | ||
12327 | PR target/54222 | |
12328 | * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders. | |
12329 | (umulsidi3_insn, mulsidi3_insn): New insns. | |
12330 | ||
a72d8780 | 12331 | 2013-02-12 Christophe Lyon <christophe.lyon@linaro.org> |
2597da22 CL |
12332 | |
12333 | * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type. | |
12334 | (struct tune_params): Add vec_costs field. | |
12335 | * config/arm/arm.c (arm_builtin_vectorization_cost) | |
12336 | (arm_add_stmt_cost): New functions. | |
12337 | (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST) | |
12338 | (TARGET_VECTORIZE_ADD_STMT_COST): Define. | |
12339 | (arm_default_vec_cost): New struct of type cpu_vec_costs. | |
12340 | (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune) | |
12341 | (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune) | |
12342 | (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune) | |
12343 | (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field. | |
12344 | ||
43320568 RB |
12345 | 2013-02-12 Richard Biener <rguenther@suse.de> |
12346 | ||
12347 | PR lto/56295 | |
12348 | * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off | |
12349 | decls again if possible. | |
12350 | ||
a011aa39 RB |
12351 | 2013-02-12 Richard Biener <rguenther@suse.de> |
12352 | ||
12353 | PR middle-end/56288 | |
12354 | * tree-ssa.c (verify_ssa_name): Fix check, move | |
12355 | SSA_NAME_IN_FREE_LIST check up. | |
12356 | ||
6da26889 JJ |
12357 | 2013-02-12 Jakub Jelinek <jakub@redhat.com> |
12358 | Steven Bosscher <steven@gcc.gnu.org> | |
12359 | ||
12360 | PR rtl-optimization/56151 | |
12361 | * optabs.c (add_equal_note): Don't return 0 if target is a MEM, | |
12362 | equal to op0 or op1, and last_insn pattern is CODE operation | |
12363 | with MEM dest and one of the operands matches that MEM. | |
12364 | ||
f80e0faf ST |
12365 | 2013-02-11 Sriraman Tallam <tmsriramgoogle.com> |
12366 | ||
12367 | * doc/extend.texi: Document Function Multiversioning and "default" | |
12368 | parameter string to target attribute. | |
12369 | * config/i386/i386.c (get_builtin_code_for_version): Return 0 if | |
12370 | target attribute parameter is "default". | |
12371 | (ix86_compare_version_priority): Remove checks for target attribute. | |
12372 | (ix86_mangle_function_version_assembler_name): Change error to sorry. | |
12373 | Remove check for target attribute equal to NULL. Add assert. | |
12374 | (ix86_generate_version_dispatcher_body): Change error to sorry. | |
12375 | ||
6c59ffd1 IS |
12376 | 2013-02-11 Iain Sandoe <iain@codesourcery.com> |
12377 | Jack Howarth <howarth@bromo.med.uc.edu> | |
12378 | Patrick Marlier <patrick.marlier@gmail.com> | |
12379 | ||
12380 | PR libitm/55693 | |
12381 | * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and | |
12382 | define ENDFILE_SPEC as TM_DESTRUCTOR. | |
12383 | * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR. | |
12384 | ||
a72d8780 | 12385 | 2013-02-11 Alexander Potapenko <glider@google.com> |
6a52ccb3 AP |
12386 | Jack Howarth <howarth@bromo.med.uc.edu> |
12387 | Jakub Jelinek <jakub@redhat.com> | |
12388 | ||
12389 | PR sanitizer/55617 | |
12390 | * config/darwin.c (cdtor_record): Rename ctor_record. | |
12391 | (sort_cdtor_records): Rename sort_ctor_records. | |
12392 | (finalize_dtors): New routine to sort destructors by | |
12393 | priority before use in assemble_integer. | |
12394 | (machopic_asm_out_destructor): Use finalize_dtors if needed. | |
12395 | ||
b63fe007 UB |
12396 | 2013-02-11 Uros Bizjak <ubizjak@gmail.com> |
12397 | ||
12398 | PR rtl-optimization/56275 | |
12399 | * simplify-rtx.c (avoid_constant_pool_reference): Check that | |
12400 | offset is non-negative and less than cmode size before | |
12401 | calling simplify_subreg. | |
12402 | ||
8e89b5b5 RB |
12403 | 2013-02-11 Richard Biener <rguenther@suse.de> |
12404 | ||
12405 | PR tree-optimization/56264 | |
12406 | * cfgloop.h (fix_loop_structure): Adjust prototype. | |
12407 | * loop-init.c (fix_loop_structure): Return the number of | |
12408 | newly discovered loops. | |
12409 | * tree-cfgcleanup.c (repair_loop_structures): When new loops | |
12410 | are discovered, do a full loop-closed SSA rewrite. | |
12411 | ||
b4a4b56d RB |
12412 | 2013-02-11 Richard Biener <rguenther@suse.de> |
12413 | ||
12414 | PR tree-optimization/56273 | |
12415 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
12416 | first VRP run. | |
12417 | (check_array_ref): Fix missing newline in dumps. | |
12418 | (search_for_addr_array): Likewise. | |
12419 | ||
0c885229 DE |
12420 | 2013-02-09 David Edelsohn <dje.gcc@gmail.com> |
12421 | ||
12422 | * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine. | |
12423 | ||
59ac9a55 JJ |
12424 | 2013-02-09 Jakub Jelinek <jakub@redhat.com> |
12425 | ||
12426 | PR target/56256 | |
12427 | * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define. | |
12428 | ||
25bb0bb5 VM |
12429 | 2013-02-08 Vladimir Makarov <vmakarov@redhat.com> |
12430 | ||
12431 | PR rtl-optimization/56246 | |
0c885229 | 12432 | * lra-constraints.c (simplify_operand_subreg): Try to reuse |
25bb0bb5 VM |
12433 | reload pseudo. |
12434 | * lra.c (lra): Clear lra_optional_reload_pseudos only when all | |
12435 | constraints are satisfied. | |
12436 | ||
a698cc03 JL |
12437 | 2013-02-08 Jeff Law <law@redhat.com> |
12438 | ||
12439 | PR debug/53948 | |
12440 | * emit-rtl.c (reg_is_parm_p): New function. | |
12441 | * regs.h (reg_is_parm_p): New prototype. | |
12442 | * ira-conflicts.c (ira_build_conflicts): Allow parameters in | |
12443 | callee-clobbered registers. | |
12444 | ||
e1122ddd MM |
12445 | 2013-02-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
12446 | ||
12447 | PR target/56043 | |
12448 | * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass): | |
12449 | If there is no implicit builtin declaration, just return NULL. | |
12450 | ||
19c5f6e6 UB |
12451 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
12452 | ||
12453 | * config/i386/sse.md (FMAMODEM): New mode iterator. | |
12454 | (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM | |
12455 | mode iterator. Do not use TARGET_SSE_MATH in insn constraint. | |
12456 | ||
2480f2ca | 12457 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
76ef61fb | 12458 | |
2480f2ca UB |
12459 | * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only |
12460 | when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set. | |
12461 | * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto. | |
12462 | ||
12463 | 2013-02-08 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
12464 | ||
12465 | * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT. | |
12466 | (microblaze*-*-elf): Likewise. | |
12467 | * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to | |
12468 | LINK_SPEC. | |
12469 | * config/microblaze/microblaze-c.c: Add builtin defines for | |
12470 | _LITTLE_ENDIAN and _BIG_ENDIAN. | |
12471 | * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and | |
12472 | add to TARGET_DEFAULT flags. | |
76ef61fb | 12473 | Expand ASM_SPEC and LINK_SPEC. |
2480f2ca UB |
12474 | Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN. |
12475 | * config/microblaze/microblaze.md: Update extendsidi2 and | |
12476 | movdi_internal instructions to use low-order / high-order reg | |
12477 | print_operands. | |
12478 | * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian | |
12479 | options and inversemask / mask of LITTLE_ENDIAN. | |
12480 | * config/microblaze/t-microblaze: Expand multilib options to | |
12481 | include mlittle-endian (le) and update exceptions patterns. | |
12482 | ||
600a5961 JJ |
12483 | 2013-02-08 Jakub Jelinek <jakub@redhat.com> |
12484 | ||
5df81313 JJ |
12485 | PR rtl-optimization/56195 |
12486 | * lra-constraints.c (get_reload_reg): Don't reuse regs | |
12487 | if they have smaller mode than requested, if they have | |
12488 | wider mode than requested, try to return a SUBREG. | |
12489 | ||
600a5961 JJ |
12490 | PR tree-optimization/56250 |
12491 | * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize | |
12492 | if type is unsigned and code isn't MULT_EXPR. | |
12493 | ||
ff544649 GJL |
12494 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
12495 | ||
12496 | PR tree-optimization/56064 | |
12497 | * fixed-value.c (fixed_from_double_int): Sign/zero extend payload | |
12498 | bits according to mode. | |
12499 | * fixed-value.h (fixed_from_double_int) | |
12500 | (const_fixed_from_double_int): Adjust comments. | |
12501 | ||
e45cde98 RB |
12502 | 2013-02-08 Richard Biener <rguenther@suse.de> |
12503 | ||
12504 | PR lto/56231 | |
12505 | * lto-streamer.h (struct data_in): Remove current_file, current_line | |
12506 | and current_col members. | |
12507 | * lto-streamer-out.c (lto_output_location): Stream changed bits | |
12508 | en-block for efficiency. | |
12509 | * lto-streamer-in.c (clear_line_info): Remove. | |
12510 | (lto_input_location): Cache current file, line and column | |
12511 | globally via local statics. Read changed bits en-block. | |
12512 | (input_function): Do not call clear_line_info. | |
12513 | (lto_read_body): Likewise. | |
12514 | (lto_input_toplevel_asms): Likewise. | |
12515 | ||
c1ca73d8 MM |
12516 | 2013-02-08 Michael Matz <matz@suse.de> |
12517 | ||
12518 | PR tree-optimization/52448 | |
12519 | * tree-ssa-phiopt.c (struct name_to_bb): Add phase member. | |
12520 | (nt_call_phase): New static. | |
12521 | (add_or_mark_expr): Only mark accesses with newer phase than any | |
12522 | call seen. | |
12523 | (nonfreeing_call_p): New. | |
12524 | (nt_init_block): Update nt_call_phase, mark blocks as visited. | |
12525 | (nt_fini_block): Keep blocks marked as visited. | |
12526 | (get_non_trapping): Initialize nt_call_phase, and reset aux pointer. | |
12527 | ||
57548aa2 RB |
12528 | 2013-02-08 Richard Biener <rguenther@suse.de> |
12529 | ||
12530 | * ira.c (ira): Free broken dominator information. | |
12531 | ||
8e10366f UB |
12532 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
12533 | ||
12534 | * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro. | |
12535 | ||
f64fb0fa MP |
12536 | 2013-02-08 Marek Polacek <polacek@redhat.com> |
12537 | ||
8e10366f | 12538 | * cfgloop.c (verify_loop_structure): Add more checking of headers. |
f64fb0fa | 12539 | |
0375167b RB |
12540 | 2013-02-08 Richard Biener <rguenther@suse.de> |
12541 | ||
12542 | PR middle-end/56181 | |
12543 | * cfgloop.h (flow_loops_find): Adjust. | |
12544 | (bb_loop_header_p): Declare. | |
12545 | * cfgloop.c (bb_loop_header_p): New function split out from ... | |
12546 | (flow_loops_find): ... here. Adjust function signature, | |
12547 | support incremental loop structure update. | |
12548 | (verify_loop_structure): Cleanup. Verify a loop is a loop. | |
12549 | * cfgloopmanip.c (fix_loop_structure): Move ... | |
12550 | * loop-init.c (fix_loop_structure): ... here. | |
12551 | (apply_loop_flags): Split out from ... | |
12552 | (loop_optimizer_init): ... here. | |
12553 | (fix_loop_structure): Use apply_loop_flags. Use flow_loops_find | |
12554 | in incremental mode, only remove dead loops here. | |
12555 | ||
85d768f3 GJL |
12556 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
12557 | ||
12558 | PR target/54222 | |
12559 | * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add. | |
12560 | * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators. | |
12561 | (round<mode>3, round<mode>3_const): New expanders for fixed-mode. | |
12562 | (*round<mode>3.libgcc): New insns for fixed-modes. | |
12563 | * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME. | |
12564 | (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs. | |
12565 | (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs. | |
12566 | * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline | |
12567 | implementations. Define to __builtin_avr_absFX, | |
12568 | __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively. | |
12569 | (roundFX, countlsFX): Define to __builtin_avr_roundFX, | |
12570 | __builtin_avr_countlsFX, respectively. | |
12571 | * config/avr/avr-c.c (target.h): Include it. | |
12572 | (enum avr_builtin_id): New enum. | |
12573 | (avr_resolve_overloaded_builtin): New static function. | |
12574 | (avr_register_target_pragmas): Use it to set | |
12575 | targetm.resolve_overloaded_builtin. | |
12576 | * config/avr/avr.c (avr_init_builtins): Supply myriads of local | |
12577 | tree nodes used by DEF_BUILTIN. | |
12578 | (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them. | |
12579 | (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR. | |
12580 | <AVR_BUILTIN_xxBITS>: Same. | |
12581 | ||
661bc682 RB |
12582 | 2013-02-08 Richard Biener <rguenther@suse.de> |
12583 | ||
12584 | * cfgloop.c (verify_loop_structure): Properly handle | |
12585 | a loop exiting to another loop header. | |
12586 | * ira-int.h (ira_loops): Remove. | |
12587 | * ira.c (ira_loops): Remove. | |
12588 | (ira): Use loop_optimizer_init and loop_optimizer_finalize. | |
12589 | (do_reload): Use loop_optimizer_finalize. | |
12590 | * ira-build.c (create_loop_tree_nodes): Use get_loops and | |
12591 | number_of_loops to access the loop tree. | |
12592 | (more_one_region_p): Likewise. | |
12593 | (finish_loop_tree_nodes): Likewise. | |
12594 | (rebuild_regno_allocno_maps): Likewise. | |
12595 | (mark_loops_for_removal): Likewise. | |
12596 | (mark_all_loops_for_removal): Likewise. | |
12597 | (remove_unnecessary_regions): Likewise. | |
12598 | (ira_build): Likewise. | |
12599 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
12600 | ||
0d5049b2 RB |
12601 | 2013-02-08 Richard Biener <rguenther@suse.de> |
12602 | ||
12603 | * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency. | |
12604 | * ipa-pure-const.c (analyze_function): Avoid calling | |
12605 | mark_irreducible_loops twice. | |
8e10366f | 12606 | * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup. |
0d5049b2 | 12607 | |
499f32e8 DM |
12608 | 2013-02-07 David S. Miller <davem@davemloft.net> |
12609 | ||
12610 | * dwarf2out.c (based_loc_descr): Perform leaf register remapping | |
12611 | on 'reg'. | |
12612 | * var-tracking.c (vt_add_function_parameter): Test the presence of | |
12613 | HAVE_window_save properly and do not remap argument registers when | |
12614 | we have a leaf function. | |
12615 | ||
6edc3e32 UB |
12616 | 2013-02-07 Uros Bizjak <ubizjak@gmail.com> |
12617 | ||
12618 | PR bootstrap/56227 | |
12619 | * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT | |
12620 | instead of "ll". | |
12621 | * config/i386/i386.c (ix86_print_operand): Ditto. | |
12622 | ||
5306401f VM |
12623 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
12624 | ||
6edc3e32 | 12625 | * lra-constraints.c (process_alt_operands): Fix recently added comment. |
5306401f | 12626 | |
027ece11 VM |
12627 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
12628 | ||
12629 | PR rtl-optimization/56225 | |
12630 | * lra-constraints.c (process_alt_operands): Check that reload hard | |
12631 | reg can hold value for strict_low_part. | |
12632 | ||
f980dfdb JJ |
12633 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
12634 | ||
12635 | PR debug/56154 | |
12636 | * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to | |
12637 | dwarf2out_end_function. | |
12638 | (in_first_function_p, maybe_at_text_label_p, | |
12639 | first_loclabel_num_not_at_text_label): New variables. | |
12640 | (dwarf2out_var_location): In the first function find out | |
6edc3e32 | 12641 | lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0. |
f980dfdb JJ |
12642 | (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New |
12643 | functions. | |
12644 | ||
73dd3123 EB |
12645 | 2013-02-07 Eric Botcazou <ebotcazou@adacore.com> |
12646 | ||
12647 | PR rtl-optimization/56178 | |
12648 | * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a | |
12649 | SUBREG of a register. Tidy up related block of code. | |
12650 | * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL | |
12651 | note if the source is a register or a SUBREG of a register. | |
12652 | ||
e3936f47 JJ |
12653 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
12654 | ||
12655 | PR target/56228 | |
12656 | * config/rs6000/rs6000.md (ptrm): New mode attr. | |
12657 | (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11, | |
12658 | call_value_indirect_aix<pttrsize>, | |
12659 | call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of | |
12660 | m in constraints. | |
12661 | ||
d96d674b MH |
12662 | 2013-02-07 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
12663 | ||
12664 | * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable | |
12665 | if -bnortl. Convert to strcmp and strncmp. | |
12666 | ||
921f2dee AM |
12667 | 2013-02-07 Alan Modra <amodra@gmail.com> |
12668 | ||
12669 | PR target/54009 | |
12670 | * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM | |
12671 | addresses won't wrap when offsetting. | |
12672 | (rs6000_secondary_reload): Provide secondary reloads needed for | |
12673 | wrapping LO_SUM addresses. | |
12674 | ||
d09c7dba TS |
12675 | 2013-02-06 Thomas Schwinge <thomas@codesourcery.com> |
12676 | ||
12677 | * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define | |
12678 | MACH, just __MACH__. | |
12679 | ||
a44bbd48 RB |
12680 | 2013-02-06 Richard Biener <rguenther@suse.de> |
12681 | ||
12682 | * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP | |
12683 | instead of calling fix_loop_structure. | |
12684 | ||
6d840d99 JJ |
12685 | 2013-02-06 Jakub Jelinek <jakub@redhat.com> |
12686 | ||
12687 | PR middle-end/56217 | |
12688 | * omp-low.c (use_pointer_for_field): Return false if | |
12689 | lower_send_shared_vars doesn't generate any copy-out code. | |
12690 | ||
0f33baa9 TV |
12691 | 2013-02-06 Tom de Vries <tom@codesourcery.com> |
12692 | ||
12693 | PR rtl-optimization/56131 | |
12694 | * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN | |
12695 | to get the bb of a NOTE_INSN_BASIC_BLOCK. Handle the case that the bb | |
12696 | of the label is NULL. Add comment. | |
12697 | ||
11f1e3ab JJ |
12698 | 2013-02-05 Jakub Jelinek <jakub@redhat.com> |
12699 | ||
31502f9f JJ |
12700 | * tree.h (struct tree_decl_with_vis): Remove thread_local field. |
12701 | ||
a74db9bd JJ |
12702 | PR sanitizer/55374 |
12703 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define. | |
12704 | (STATIC_LIBTSAN_LIBS): Likewise. | |
12705 | * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define. | |
12706 | (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC | |
12707 | is defined, don't add anything else beyond that. | |
12708 | (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define. | |
12709 | (LINK_COMMAND_SPEC): Use them. | |
12710 | ||
11f1e3ab JJ |
12711 | PR tree-optimization/56205 |
12712 | * tree-stdarg.c (check_all_va_list_escapes): Return true if | |
12713 | there are any PHI nodes that set non-va_list_escape_vars SSA_NAME | |
12714 | and some va_list_escape_vars SSA_NAME appears in some PHI argument. | |
12715 | ||
14ac6aa2 RB |
12716 | 2013-02-05 Richard Biener <rguenther@suse.de> |
12717 | ||
12718 | PR tree-optimization/53342 | |
12719 | PR tree-optimization/53185 | |
12720 | * tree-vectorizer.h (vect_check_strided_load): Remove. | |
12721 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do | |
12722 | not disallow peeling for vectorized strided loads. | |
12723 | (vect_check_strided_load): Make static and simplify. | |
12724 | (vect_analyze_data_refs): Adjust. | |
12725 | * tree-vect-stmts.c (vectorizable_load): Handle peeled loops | |
12726 | correctly when vectorizing strided loads. | |
12727 | ||
6f22445a RB |
12728 | 2013-02-05 Richard Biener <rguenther@suse.de> |
12729 | ||
12730 | * doc/install.texi: Refer to ISL, not PPL. | |
12731 | ||
39f9719e JH |
12732 | 2013-02-05 Jan Hubicka <jh@suse.cz> |
12733 | ||
ec4224ac JH |
12734 | PR tree-optimization/55789 |
12735 | * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1. | |
12736 | ||
12737 | 2013-02-05 Jan Hubicka <jh@suse.cz> | |
12738 | ||
12739 | PR tree-optimization/55789 | |
39f9719e JH |
12740 | * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove |
12741 | the dead call anyway. | |
12742 | ||
956d3b33 EB |
12743 | 2013-02-05 Eric Botcazou <ebotcazou@adacore.com> |
12744 | ||
12745 | PR sanitizer/55374 | |
12746 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard. | |
12747 | ||
12748 | 2013-02-04 Alexander Potapenko <glider@google.com> | |
12749 | Jack Howarth <howarth@bromo.med.uc.edu> | |
ae526fe5 AP |
12750 | Jakub Jelinek <jakub@redhat.com> |
12751 | ||
12752 | PR sanitizer/55617 | |
12753 | * config/darwin.c (sort_ctor_records): Stabilized qsort | |
12754 | on constructor priority by using original position. | |
12755 | (finalize_ctors): New routine to sort constructors by | |
12756 | priority before use in assemble_integer. | |
12757 | (machopic_asm_out_constructor): Use finalize_ctors if needed. | |
12758 | ||
7ac3af38 JJ |
12759 | 2013-02-04 Jakub Jelinek <jakub@redhat.com> |
12760 | ||
12761 | PR libstdc++/54314 | |
12762 | * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn | |
12763 | about visibility on artificial decls. | |
12764 | * config/sol2.c (solaris_assemble_visibility): Likewise. | |
12765 | ||
152689dc KT |
12766 | 2013-02-04 Kai Tietz <ktietz@redhat.com> |
12767 | ||
12768 | PR target/56186 | |
12769 | * config/i386/i386.c (function_value_ms_64): Add additional valtype | |
12770 | argument and improve checking of return-argument types for 16-byte | |
12771 | modes. | |
12772 | (ix86_function_value_1): Add additional valtype argument on call | |
12773 | of function_value_64. | |
12774 | (return_in_memory_ms_64): Sync 16-byte sized mode handling with | |
12775 | handling infunction_value_64 function. | |
12776 | ||
2b5987b5 MGD |
12777 | 2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
12778 | ||
7ac3af38 | 12779 | * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue. |
2b5987b5 | 12780 | |
14597080 RB |
12781 | 2013-02-04 Richard Biener <rguenther@suse.de> |
12782 | ||
12783 | PR tree-optimization/56188 | |
12784 | * tree-ssa-structalias.c (label_visit): Consider case with | |
12785 | initially non-empty points-to set. | |
12786 | (perform_var_substitution): Dump node mapping and clean up. | |
12787 | ||
ed73881e RG |
12788 | 2013-02-04 Richard Guenther <rguenther@suse.de> |
12789 | ||
12790 | PR lto/56168 | |
12791 | * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin | |
12792 | node prevail as last resort. | |
12793 | (lto_symtab_merge_decls): Remove guard on LTRANS here. | |
6edc3e32 | 12794 | (lto_symtab_prevailing_decl): Builtins are their own prevailing decl. |
ed73881e | 12795 | |
139a0707 RB |
12796 | 2013-02-04 Richard Biener <rguenther@suse.de> |
12797 | ||
12798 | PR tree-optimization/56113 | |
12799 | * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add): | |
12800 | Merge into ... | |
12801 | (equiv_class_lookup_or_add): ... this. | |
12802 | (label_visit): Adjust and fix error in previous patch. | |
12803 | (perform_var_substitution): Adjust. | |
12804 | ||
50fe8924 OE |
12805 | 2013-02-03 Oleg Endo <olegendo@gcc.gnu.org> |
12806 | ||
12807 | * config/sh/divtab.c: Fix formatting and comments throughout the file. | |
12808 | * config/sh/sh4-300.md: Likewise. | |
12809 | * config/sh/sh4a.md: Likewise. | |
12810 | * config/sh/constraints.md: Likewise. | |
12811 | * config/sh/sh.md: Likewise. | |
12812 | * config/sh/netbsd-elf.h: Likewise. | |
12813 | * config/sh/predicates.md: Likewise. | |
12814 | * config/sh/sh-protos.h: Likewise. | |
12815 | * config/sh/ushmedia.h: Likewise. | |
12816 | * config/sh/linux.h: Likewise. | |
12817 | * config/sh/sh.c: Likewise. | |
12818 | * config/sh/superh.h: Likewise. | |
12819 | * config/sh/elf.h: Likewise. | |
12820 | * config/sh/sh4.md: Likewise. | |
12821 | * config/sh/sh.h: Likewise. | |
12822 | ||
1a04ac2b JDA |
12823 | 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12824 | ||
12825 | * config/pa/constraints.md: Adjust unused letters. Change "T" | |
12826 | constraint to match_test floating_point_store_memory_operand(). | |
12827 | * config/pa/predicates.md (reg_plus_base_memory_operand): New. | |
12828 | (base14_operand): New. | |
12829 | (floating_point_store_memory_operand): New. | |
12830 | (integer_store_memory_operand): Revise to use base14_operand and | |
12831 | reg_plus_base_memory_operand. | |
12832 | (move_dest_operand): Allow symbolic_memory_operands. | |
12833 | (symbolic_memory_operand): Check for LO_SOM. | |
12834 | (symbolic_operand): Change default case to break. | |
12835 | * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force | |
12836 | CONST_DOUBLE values to be reloaded by putting them into memory when | |
12837 | the destination is a floating point register. | |
12838 | (movdf): Remove code to handle CONST_DOUBLE. | |
12839 | (movsf): Likewise. | |
12840 | (reload_indf_r1): New. | |
12841 | (reload_insf_r1): New. | |
12842 | Consistently use "Q" and "T" constraints with integer and floating | |
12843 | point move instructions, respectively. | |
12844 | (movdi): Remove FAIL. | |
12845 | Change predicate for source operand unamed DImode move from | |
12846 | general_operand to move_src_operand. | |
12847 | (umulsidi3): Change predicate for destination operand to | |
12848 | register_operand. | |
12849 | Likewise for similar unamed patterns. | |
12850 | * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare. | |
12851 | * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis. | |
12852 | (hppa_legitimize_address): Simplify mask calculation. | |
12853 | (pa_emit_move_sequence): Revised handling of secondary reloads from | |
12854 | REG+D addresses for floating point loads and stores. Directly handle | |
12855 | loading CONST0_RTX (mode) to a floating point register. | |
12856 | (pa_secondary_reload): Handle reloading DF and SFmode constant values | |
12857 | to floating point registers. Don't restrict secondary reloads to | |
12858 | floating point registers to integer modes. Revise some comments and | |
12859 | cleanup some code. | |
12860 | (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
12861 | (pa_legitimate_address_p): New. | |
12862 | (pa_legitimize_reload_address): New. | |
12863 | * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New. | |
12864 | (STRICT_REG_OK_FOR_BASE_P): New. | |
12865 | (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments. | |
12866 | (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address. | |
12867 | ||
3bf65591 DE |
12868 | 2013-02-03 David Edelsohn <dje.gcc@gmail.com> |
12869 | Andrew Dixie <andrewd@gentrack.com> | |
12870 | ||
12871 | * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY | |
12872 | flag set. | |
12873 | ||
c0a8a3e6 RS |
12874 | 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> |
12875 | ||
12876 | * expmed.c (extract_bit_field_1): Pass the full width of the | |
12877 | structure to get_best_reg_extraction_insn. | |
12878 | ||
99113dff DE |
12879 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
12880 | ||
12881 | PR target/54601 | |
12882 | * configure.ac (use_cxa_atexit): Add AIX. | |
12883 | * configure: Regenerate. | |
12884 | ||
12885 | * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o. | |
12886 | ||
ddd84654 JJ |
12887 | 2013-02-01 Jakub Jelinek <jakub@redhat.com> |
12888 | ||
12889 | PR debug/54793 | |
12890 | * final.c (need_profile_function): New variable. | |
12891 | (final_start_function): Drop ATTRIBUTE_UNUSED from first argument. | |
12892 | If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG | |
12893 | is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED | |
12894 | notes, targetm.asm_out.function_prologue doesn't emit anything, | |
12895 | HAVE_prologue and profiler should be emitted before prologue, | |
12896 | set need_profile_function instead of emitting it. | |
12897 | (final_scan_insn): If need_profile_function, emit | |
12898 | profile_function on the first NOTE_INSN_BASIC_BLOCK or | |
12899 | NOTE_INSN_FUNCTION_BEG note. | |
12900 | ||
12901 | 2013-02-01 Richard Henderson <rth@redhat.com> | |
749af8ee RH |
12902 | |
12903 | * config/rs6000/rs6000.md (smulditi3): New. | |
12904 | (umulditi3): New. | |
12905 | ||
ff2a9d88 RH |
12906 | * config/alpha/alpha.md (umulditi3): New. |
12907 | ||
14d52b90 DE |
12908 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
12909 | ||
12910 | * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2. | |
12911 | (ASM_OUTPUT_ALIGNED_LOCAL): New. | |
12912 | ||
8c7ca45c RB |
12913 | 2013-02-01 Richard Biener <rguenther@suse.de> |
12914 | ||
12915 | PR tree-optimization/56113 | |
12916 | * tree-ssa-structalias.c (label_visit): Reduce work for | |
12917 | single-predecessor nodes. | |
12918 | ||
9f419393 EB |
12919 | 2013-02-01 Eric Botcazou <ebotcazou@adacore.com> |
12920 | ||
12921 | * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the | |
12922 | range isn't testing for zero. | |
12923 | ||
c5f4be84 SB |
12924 | 2013-01-31 Steven Bosscher <steven@gcc.gnu.org> |
12925 | ||
12926 | PR middle-end/56113 | |
12927 | * fwprop.c (fwprop_init): Set up loops without CFG modifications. | |
12928 | ||
dbdbd982 NC |
12929 | 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com> |
12930 | Nick Clifton <nickc@redhat.com> | |
12931 | ||
12932 | * config/v850/constraints.md (Q): Define as a memory constraint. | |
12933 | * config/v850/predicates.md (label_ref_operand): New predicate. | |
12934 | (e3v5_shift_operand): New predicate. | |
12935 | (ior_operator): New predicate. | |
12936 | * config/v850/t-v850: Add e3v5 multilib. | |
12937 | * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype. | |
12938 | (v850_gen_movdi): Prototype. | |
12939 | * config/v850/v850.c: Add support for e3v5 architecture. | |
12940 | Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to | |
12941 | TARGET_V850E_UP. | |
12942 | (construct_save_jarl): Add e3v5 long JARL support. | |
12943 | (v850_adjust_insn_length): New function. Adjust length of call | |
12944 | insns when using e3v5 instructions. | |
12945 | (v850_gen_movdi): New function: Generate instructions to move a | |
12946 | DImode value. | |
12947 | * config/v850/v850.h (TARGET_CPU_v850e3v5): Define. | |
12948 | (CPP_SPEC): Define __v850e3v5__ as appropriate. | |
12949 | (TARGET_USE_FPU): Enable for e3v5. | |
12950 | (CONST_OK_FOR_W): New macro. | |
12951 | (ADJUST_INSN_LENGTH): Define. | |
12952 | * config/v850/v850.md (UNSPEC_LOOP): Define. | |
12953 | (attr cpu): Add v850e3v5. | |
12954 | Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP. | |
12955 | (movdi): New pattern. | |
12956 | (movdi_internal): New pattern. | |
12957 | (cbranchsf4): Conditionalize on TARGET_USE_FPU. | |
12958 | (cbranchdf4): Conditionalize on TARGET_USE_FPU. | |
12959 | (cstoresf4): Likewise. | |
12960 | (cstoredf4): Likewise. | |
12961 | (insv): New pattern. | |
12962 | (rotlso3_a): New pattern. | |
12963 | (rotlsi3_b): New pattern | |
12964 | (rotlsi3_v850e3v5): New pattern. | |
12965 | (doloop_begin): New pattern. | |
12966 | (fix_loop_counter): New pattern. | |
12967 | (doloop_end): New pattern. | |
12968 | (branch_normal): Add e3v5 long branch support. | |
12969 | (branch_invert): Likewise. | |
12970 | (branch_z_normal): Likewise. | |
12971 | (branch_z_invert): Likewise. | |
12972 | (branch_nz_normal): Likewise. | |
12973 | (branch_nz_invert): Likewise. | |
12974 | (call_internal_short): Add e3v5 register-indirect JARL support. | |
12975 | (call_internal_long): Likewise. | |
12976 | (call_value_internal_short): Likewise. | |
12977 | (call_value_internal_long): Likewise. | |
12978 | * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options. | |
12979 | (mloop): New option. | |
12980 | * config.gcc: Add support for configuring v840e3v5 target. | |
6edc3e32 | 12981 | * doc/invoke.texi: Document new v850 specific command line options. |
dbdbd982 | 12982 | |
73861a41 PK |
12983 | 2013-01-31 Paul Koning <ni1d@arrl.net> |
12984 | ||
12985 | PR debug/55059 | |
12986 | PR debug/54508 | |
12987 | * dwarf2out.c (prune_unused_types_mark): Mark all of parent's | |
12988 | children if parent is a class. | |
12989 | (prune_unused_types_prune): Don't add DW_AT_declaration. | |
12990 | ||
e44978dc RB |
12991 | 2013-01-31 Richard Biener <rguenther@suse.de> |
12992 | ||
12993 | PR tree-optimization/56157 | |
12994 | * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to | |
12995 | match up operand with SLP child. | |
12996 | ||
90b10dec JM |
12997 | 2013-01-31 Jason Merrill <jason@redhat.com> |
12998 | ||
04d2dadd | 12999 | PR debug/54410 |
90b10dec JM |
13000 | * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template |
13001 | parameters the first time. | |
13002 | (gen_scheduled_generic_parms_dies): Check completeness here. | |
13003 | ||
6e616110 RB |
13004 | 2013-01-31 Richard Biener <rguenther@suse.de> |
13005 | ||
13006 | PR middle-end/53073 | |
13007 | * common.opt (faggressive-loop-optimizations): New flag, | |
13008 | enabled by default. | |
13009 | * doc/invoke.texi (faggressive-loop-optimizations): Document. | |
13010 | * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard | |
13011 | infer_loop_bounds_from_undefined by it. | |
13012 | ||
636f59cf RB |
13013 | 2013-01-31 Richard Biener <rguenther@suse.de> |
13014 | ||
13015 | PR tree-optimization/56150 | |
13016 | * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not | |
13017 | visit virtual operands. | |
13018 | (find_uses_to_rename_bb): Likewise. | |
13019 | ||
13020 | 2013-01-31 Richard Biener <rguenther@suse.de> | |
fcfa87ac RB |
13021 | |
13022 | PR tree-optimization/56150 | |
13023 | * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle | |
13024 | mixed store non-store stmts. | |
13025 | ||
32887460 JJ |
13026 | 2013-01-30 Jakub Jelinek <jakub@redhat.com> |
13027 | ||
e60e09a0 JJ |
13028 | PR sanitizer/55374 |
13029 | * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if | |
13030 | LIBASAN_EARLY_SPEC is defined. | |
13031 | (LIBASAN_EARLY_SPEC): Define to empty string if not already defined. | |
13032 | (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address, | |
13033 | before %o. | |
13034 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define. | |
13035 | ||
32887460 JJ |
13036 | PR c++/55742 |
13037 | * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose | |
13038 | invalid args instead of ICEing on it. | |
13039 | (ix86_valid_target_attribute_tree): Return error_mark_node if | |
13040 | ix86_valid_target_attribute_inner_p failed. | |
13041 | (ix86_valid_target_attribute_p): Return false only if | |
13042 | ix86_valid_target_attribute_tree returned error_mark_node. Allow | |
13043 | target("default") attribute. | |
13044 | (sorted_attr_string): Change argument from const char * to tree, | |
13045 | merge in all target attribute arguments rather than just one. | |
13046 | Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC | |
13047 | instead of free. Avoid using strcat. | |
13048 | (ix86_mangle_function_version_assembler_name): Mangle | |
13049 | target("default") as if no target attribute is present. Adjust | |
13050 | sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC | |
13051 | instead of xmalloc and XDELETEVEC instead of free. | |
13052 | (ix86_function_versions): Don't return true if one of the decls | |
13053 | doesn't have target attribute. If they don't and one of the decls | |
13054 | is DECL_FUNCTION_VERSIONED, report an error. Adjust | |
13055 | sorted_attr_string caller. Use XDELETEVEC instead of free. | |
13056 | (ix86_supports_function_versions): Remove. | |
13057 | (make_name): Fix up formatting. | |
13058 | (make_dispatcher_decl): Remove resolver_name and its initialization. | |
13059 | Avoid leaking memory. | |
13060 | (is_function_default_version): Return true if there is | |
13061 | target("default") attribute rather than no target attribute at all. | |
13062 | (make_resolver_func): Avoid leaking memory. | |
13063 | (ix86_generate_version_dispatcher_body): Likewise. | |
13064 | (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove. | |
13065 | * target.def (supports_function_versions): Remove. | |
13066 | * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove. | |
13067 | * doc/tm.texi: Regenerated. | |
13068 | ||
73cca0cc VM |
13069 | 2013-01-30 Vladimir Makarov <vmakarov@redhat.com> |
13070 | ||
13071 | PR rtl-optimization/56144 | |
13072 | * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo | |
13073 | for values with side effects. | |
13074 | ||
11452e7b RB |
13075 | 2013-01-30 Richard Biener <rguenther@suse.de> |
13076 | ||
13077 | * sparseset.h (sparseset_bit_p): Use gcc_checking_assert. | |
13078 | (sparseset_pop): Likewise. | |
13079 | * cfganal.c (compute_idf): Likewise. Increase work-stack size | |
13080 | to be able to use quick_push in the worker loop. | |
13081 | ||
01cb1ef5 MP |
13082 | 2013-01-30 Marek Polacek <polacek@redhat.com> |
13083 | ||
13084 | * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs. | |
13085 | ||
e892936e RB |
13086 | 2013-01-30 Richard Biener <rguenther@suse.de> |
13087 | ||
13088 | PR lto/56147 | |
6edc3e32 | 13089 | * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check. |
e892936e | 13090 | |
cc06c01d GJL |
13091 | 2013-01-30 Georg-Johann Lay <avr@gjlay.de> |
13092 | ||
13093 | PR tree-optimization/56064 | |
13094 | * fixed-value.c (fixed_from_double_int): New function. | |
13095 | * fixed-value.h (fixed_from_double_int): New prototype. | |
13096 | (const_fixed_from_double_int): New static inline function. | |
13097 | * fold-const.c (native_interpret_fixed): New static function. | |
13098 | (native_interpret_expr) <FIXED_POINT_TYPE>: Use it. | |
13099 | (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true. | |
13100 | (native_encode_fixed): New static function. | |
13101 | (native_encode_expr) <FIXED_CST>: Use it. | |
13102 | (native_interpret_int): Move double_int worker code to... | |
13103 | * double-int.c (double_int::from_buffer): ...this new static method. | |
13104 | * double-int.h (double_int::from_buffer): Prototype it. | |
13105 | ||
d394a308 RB |
13106 | 2013-01-30 Richard Biener <rguenther@suse.de> |
13107 | ||
13108 | * tree-ssa-structalias.c (final_solutions, final_solutions_obstack): | |
13109 | New pointer-map and obstack. | |
13110 | (init_alias_vars): Allocate pointer-map and obstack. | |
13111 | (delete_points_to_sets): Free them. | |
13112 | (find_what_var_points_to): Cache result. | |
13113 | (find_what_p_points_to): Adjust for changed interface of | |
13114 | find_what_var_points_to. | |
13115 | (compute_points_to_sets): Likewise. | |
13116 | (ipa_pta_execute): Likewise. | |
13117 | ||
20804d96 RO |
13118 | 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13119 | ||
13120 | * configure.ac (HAVE_AS_SPARC_NOBITS): New test. | |
13121 | * configure: Regenerate. | |
13122 | * config.in: Regenerate. | |
13123 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit | |
13124 | #nobits/#progbits if supported. | |
13125 | ||
a7ad88a2 OE |
13126 | 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org> |
13127 | ||
13128 | PR target/56121 | |
13129 | * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a, | |
13130 | bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a, | |
13131 | bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition. | |
13132 | ||
7af79f92 GY |
13133 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
13134 | ||
91bfca59 OE |
13135 | * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove. |
13136 | (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all. | |
7af79f92 | 13137 | |
753bcf7b GY |
13138 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
13139 | ||
91bfca59 OE |
13140 | * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL. |
13141 | * config/arm/cortex-a7.md (cortex_a7_call): Update required units. | |
753bcf7b | 13142 | |
8cbc2ea8 GY |
13143 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
13144 | ||
91bfca59 OE |
13145 | * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New |
13146 | declaration. | |
13147 | * config/arm/arm.c (arm_mac_accumulator_is_result): New function. | |
13148 | * config/arm/cortex-a7.md: New bypasses using | |
13149 | arm_mac_accumulator_is_result. | |
8cbc2ea8 | 13150 | |
697a3325 GY |
13151 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
13152 | ||
91bfca59 | 13153 | * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation. |
697a3325 | 13154 | (cortex_a7_neon_mla): Likewise. |
91bfca59 OE |
13155 | (cortex_a7_fpfmad): New reservation. |
13156 | (cortex_a7_fpmacs): Use ffmas and update required units. | |
13157 | (cortex_a7_fpmuld): Update required units and latency. | |
13158 | (cortex_a7_fpmacd): Likewise. | |
13159 | (cortex_a7_fdivs, cortex_a7_fdivd): Likewise. | |
13160 | (cortex_a7_neon). Likewise. | |
13161 | (bypass) Update participating units. | |
697a3325 | 13162 | |
29637783 GY |
13163 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
13164 | ||
91bfca59 OE |
13165 | * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute. |
13166 | * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type | |
13167 | from fmac to ffma. | |
13168 | * config/arm/vfp11.md (vfp_farith): Use ffmas. | |
13169 | (vfp_fmul): Use ffmad. | |
13170 | * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas. | |
13171 | (cortex_r4_fmacd): Use ffmad. | |
13172 | * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas. | |
13173 | * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas. | |
13174 | (cortex_a9_fmacd): Use ffmad. | |
13175 | * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas. | |
13176 | (cortex_a8_vfp_macd): Use ffmad. | |
13177 | * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas. | |
13178 | (cortex_a5_fpmacd): Use ffmad. | |
13179 | * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas. | |
13180 | (cortex_a15_vfp_macd): Use ffmad. | |
13181 | * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad. | |
29637783 | 13182 | |
2ee8a2d5 JM |
13183 | 2013-01-29 Jason Merrill <jason@redhat.com> |
13184 | ||
13185 | PR libstdc++/54314 | |
13186 | * varasm.c (default_assemble_visibility): Don't warn about | |
13187 | visibility on artificial decls. | |
13188 | ||
78d087bc RB |
13189 | 2013-01-29 Richard Biener <rguenther@suse.de> |
13190 | ||
13191 | PR tree-optimization/56113 | |
13192 | * tree-ssa-structalias.c (equiv_class_lookup): Also return | |
13193 | the bitmap leader. | |
13194 | (label_visit): Free duplicate bitmaps and record the leader instead. | |
13195 | (perform_var_substitution): Adjust. | |
13196 | ||
83ba4d6f RB |
13197 | 2013-01-29 Richard Biener <rguenther@suse.de> |
13198 | ||
13199 | PR tree-optimization/55270 | |
13200 | * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed | |
13201 | the CFG, schedule loops for fixup. | |
13202 | ||
66dfe13f NC |
13203 | 2013-01-29 Nick Clifton <nickc@redhat.com> |
13204 | ||
13205 | * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow | |
13206 | SP_REG. | |
13207 | ||
5a579c3b LE |
13208 | 2013-01-28 Leif Ekblad <leif@rdos.net> |
13209 | ||
13210 | * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets. | |
13211 | * config/i386/i386.h (TARGET_RDOS): New macro. | |
13212 | (DEFAULT_LARGE_SECTION_THRESHOLD): New macro. | |
13213 | * config/i386/i386.c (ix86_option_override_internal): For 64bit | |
13214 | TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1. | |
13215 | * config/i386/i386.opt (mlarge-data-threshold): Initialize to | |
13216 | DEFAULT_LARGE_SECTION_THRESHOLD. | |
13217 | * config/i386/i386.md (R14_REG, R15_REG): New constants. | |
13218 | * config/i386/rdos.h: New file. | |
13219 | * config/i386/rdos64.h: New file. | |
13220 | ||
51e44392 BS |
13221 | 2013-01-28 Bernd Schmidt <bernds@codesourcery.com> |
13222 | ||
13223 | PR other/54814 | |
13224 | * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of | |
13225 | TEST_HARD_REG_BIT. | |
13226 | ||
db1fb332 JJ |
13227 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
13228 | ||
13229 | PR rtl-optimization/56117 | |
13230 | * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib | |
13231 | call cselib_lookup_from_insn on the MEM before calling | |
13232 | add_insn_mem_dependence. | |
13233 | ||
16917761 RB |
13234 | 2013-01-28 Richard Biener <rguenther@suse.de> |
13235 | ||
13236 | * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK | |
13237 | to a stmt that didn't have one. | |
13238 | (copy_phis_for_bb): Likewise for PHI arguments. | |
13239 | (copy_debug_stmt): Likewise for debug stmts. | |
13240 | ||
b9fc0497 RB |
13241 | 2013-01-28 Richard Biener <rguenther@suse.de> |
13242 | ||
13243 | PR tree-optimization/56034 | |
6edc3e32 | 13244 | * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION. |
b9fc0497 RB |
13245 | (partition_builtin_p): Adjust. |
13246 | (generate_code_for_partition): Handle PKIND_REDUCTION. Assert | |
13247 | it is the last partition. | |
13248 | (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking | |
13249 | up the vertex for the definition. | |
13250 | (classify_partition): Classify whether a partition is a | |
13251 | PKIND_REDUCTION, thus has uses outside of the loop. | |
13252 | (ldist_gen): Inherit PKIND_REDUCTION when merging partitions. | |
13253 | Merge all PKIND_REDUCTION partitions into the last partition. | |
13254 | (tree_loop_distribution): Seed partitions from reductions as well. | |
13255 | ||
aa710d25 JJ |
13256 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
13257 | ||
0bfbca58 JJ |
13258 | PR tree-optimization/56125 |
13259 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize | |
13260 | pow(x,c) into sqrt(x) * powi(x, n/2) or | |
13261 | 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when | |
13262 | optimizing for size. | |
13263 | Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or | |
13264 | 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an | |
13265 | integer. | |
13266 | ||
aa710d25 JJ |
13267 | PR tree-optimization/56094 |
13268 | * gimplify.c (force_gimple_operand_1): Temporarily set input_location | |
13269 | to UNKNOWN_LOCATION while gimplifying expr. | |
13270 | ||
77dc5297 UB |
13271 | 2013-01-27 Uros Bizjak <ubizjak@gmail.com> |
13272 | ||
13273 | PR target/56114 | |
13274 | * config/i386/i386.md (*movabs<mode>_1): Add square brackets around | |
13275 | operand 0 in movabs insn template for -masm=intel asm alternative. | |
13276 | (*movabs<mode>_2): Ditto for operand 1. | |
13277 | ||
0bfbca58 | 13278 | 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com> |
fbf0cf90 DH |
13279 | |
13280 | PR target/54663 | |
13281 | * config.gcc (microblaze*-linux*): Add tmake_file to allow building | |
13282 | of microblaze-c.o | |
13283 | ||
0bfbca58 | 13284 | 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
6f14eef2 EI |
13285 | |
13286 | * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update | |
13287 | tm_file. | |
13288 | ||
0bfbca58 | 13289 | 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
706b2314 N |
13290 | |
13291 | * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS): | |
13292 | Undef to avoid warning. | |
13293 | ||
478f60f9 MH |
13294 | 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
13295 | ||
13296 | * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. | |
13297 | * configure: Regenerate. | |
13298 | ||
d7fa6ee2 JJ |
13299 | 2013-01-25 Jakub Jelinek <jakub@redhat.com> |
13300 | ||
13301 | PR tree-optimization/56098 | |
13302 | * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr | |
13303 | for stmts with volatile ops. | |
13304 | (cond_store_replacement): Don't optimize if assign has volatile ops. | |
13305 | (cond_if_else_store_replacement_1): Don't optimize if either | |
13306 | then_assign or else_assign have volatile ops. | |
13307 | (hoist_adjacent_loads): Don't optimize if either def1 or def2 have | |
13308 | volatile ops. | |
13309 | ||
f8fe87bd GJL |
13310 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
13311 | ||
13312 | * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__. | |
13313 | ||
28398d0d GJL |
13314 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
13315 | ||
13316 | * doc/extend.texi (Example of asm with clobbered asm reg): Fix | |
13317 | missing ':' in asm example. | |
13318 | ||
b7d7d917 TB |
13319 | 2013-01-25 Tejas Belagod <tejas.belagod@arm.com> |
13320 | ||
13321 | * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane | |
13322 | entries into lane and laneq entries. | |
77dc5297 UB |
13323 | * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>): |
13324 | Remove AdvSIMD scalar modes. | |
b7d7d917 TB |
13325 | (aarch64_sq<r>dmulh_laneq<mode>): New. |
13326 | (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD | |
13327 | modes. | |
13328 | * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics' | |
13329 | builtin implementations to relfect changes in RTL in aarch64-simd.md. | |
13330 | * config/aarch64/iterators.md (VCOND): New. | |
13331 | (VCONQ): New. | |
13332 | ||
556f9906 GJL |
13333 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
13334 | ||
13335 | PR target/54222 | |
13336 | * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument. | |
13337 | Add NULL LIBNAME argument to existing definitions. | |
13338 | (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New. | |
13339 | * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument. | |
13340 | * config/avr/avr.c (DEF_BUILTIN): Same. | |
13341 | (avr_init_builtins): Pass down LIBNAME to add_builtin_function. | |
13342 | (avr_expand_builtin): Expand to a vanilla call if a libgcc | |
13343 | implementation is available (DECL_ASSEMBLER_NAME is set). | |
13344 | (avr_fold_absfx): New static function. | |
13345 | (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR, | |
13346 | AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR, | |
13347 | AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK, | |
13348 | AVR_BUILTIN_ABSLLK. | |
13349 | * config/avr/stdfix.h (abshr, absr, abslr, absllr) | |
13350 | (abshk, absk, abslk, absllk): Provide as static inline functions. | |
13351 | ||
1f546bbb MP |
13352 | 2013-01-25 Marek Polacek <polacek@redhat.com> |
13353 | ||
13354 | PR tree-optimization/56035 | |
13355 | * cfgloopmanip.c (fix_loop_structure): Remove redundant condition. | |
13356 | ||
7e184bd7 UB |
13357 | 2012-01-24 Uros Bizjak <ubizjak@gmail.com> |
13358 | ||
13359 | * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative. | |
13360 | (*movtf_internal_rex64): Add (!o,C) alternative | |
13361 | (*movxf_internal_rex64): Ditto. | |
13362 | (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives. | |
13363 | ||
f5ba49ac SM |
13364 | 2013-01-24 Shenghou Ma <minux.ma@gmail.com> |
13365 | ||
13366 | * doc/invoke.texi: fix typo. | |
13367 | * doc/objc.texi: fix typo. | |
13368 | ||
a6343728 RS |
13369 | 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
13370 | ||
13371 | * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint | |
13372 | for the first two alternatives. | |
13373 | ||
cd030c07 DN |
13374 | 2013-01-24 Diego Novillo <dnovillo@google.com> |
13375 | ||
77dc5297 | 13376 | * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o. |
cd030c07 DN |
13377 | (ggc-zone.o): Remove. |
13378 | * configure.ac: Remove option --with-gc. | |
13379 | * configure: Re-generate. | |
13380 | * doc/install.texi: Remove documentation for --with-gc. | |
13381 | * gengtype.c (write_enum_defn): Remove. Update all users. | |
13382 | (write_Types_process_field): Remove generation of gt_e_* argument. | |
13383 | (output_type_enum): Remove. Update all users. | |
13384 | (write_enum_defn): Remove. Update all users. | |
13385 | (enum alloc_zone): Remove. Update all users. | |
77dc5297 | 13386 | (write_splay_tree_allocator_def): Remove generation of gt_e_* argument. |
cd030c07 DN |
13387 | * ggc-common.c (ggc_splay_alloc): Remove first argument. |
13388 | Update all callers. | |
13389 | (struct ptr_data): Remove field TYPE. Update all users. | |
77dc5297 | 13390 | (gt_pch_note_object): Remove argument TYPE. Update all users. |
cd030c07 DN |
13391 | * ggc-internal.h (ggc_pch_alloc_object): Remove last argument. |
13392 | Update all users. | |
aaf1e810 | 13393 | * ggc-none.c (ggc_alloc_typed_stat): Remove. |
cd030c07 DN |
13394 | (struct alloc_zone): Remove. |
13395 | (ggc_internal_alloc_zone_stat): Remove. | |
13396 | (ggc_internal_cleared_alloc_zone_stat): Remove. | |
13397 | * ggc-page.c (ggc_alloc_typed_stat): Remove. | |
77dc5297 UB |
13398 | (ggc_pch_count_object): Remove last argument. Update all users. |
13399 | (ggc_pch_alloc_object): Remove last argument. Update all users. | |
cd030c07 DN |
13400 | (struct alloc_zone): Remove. |
13401 | * ggc-zone.c: Remove. | |
77dc5297 | 13402 | * ggc.h (gt_pch_note_object): Remove last argument. Update all users. |
cd030c07 DN |
13403 | (struct alloc_zone): Remove. |
13404 | (ggc_alloc_typed_stat): Remove. | |
13405 | (ggc_alloc_typed): Remove. | |
13406 | (ggc_splay_alloc): Remove first argument. | |
13407 | (rtl_zone): Remove. Update all users. | |
13408 | (tree_zone): Remove. Update all users. | |
13409 | (tree_id_zone): Remove. Update all users. | |
13410 | (ggc_internal_zone_alloc_stat): Remove. Update all users. | |
77dc5297 | 13411 | (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users. |
cd030c07 | 13412 | (ggc_internal_zone_vec_alloc_stat): Remove. Update all users. |
77dc5297 | 13413 | * tree-ssanames.c: Remove references to zone allocator in comments. |
cd030c07 | 13414 | |
a861ffa4 GJL |
13415 | 2013-01-24 Georg-Johann Lay <avr@gjlay.de> |
13416 | ||
13417 | * config/avr/avr.c (avr_out_fract): Make register numbers that | |
13418 | might be outside of source operand signed. | |
13419 | ||
593c0ddd UB |
13420 | 2013-01-24 Uros Bizjak <ubizjak@gmail.com> |
13421 | ||
13422 | * config/i386/constraints.md (Yf): New constraint. | |
13423 | * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead | |
13424 | of f constraint to conditionaly disable x87 register preferences. | |
13425 | (*movdf_internal): Ditto. | |
13426 | (*movsf_internal): Ditto. | |
13427 | ||
e86c0101 SB |
13428 | 2013-01-24 Steven Bosscher <steven@gcc.gnu.org> |
13429 | ||
13430 | PR inline-asm/55934 | |
13431 | * lra-assigns.c (assign_by_spills): Throw away the pattern of asms | |
13432 | that have operands with impossible constraints. | |
13433 | Add a FIXME for a speed-up opportunity. | |
13434 | * lra-constraints.c (process_alt_operands): Verify that a class | |
13435 | selected from constraints on asms is valid for the operand mode. | |
13436 | (curr_insn_transform): Remove incorrect comment. | |
13437 | ||
f6fee35f DE |
13438 | 2013-01-23 David Edelsohn <dje.gcc@gmail.com> |
13439 | ||
13440 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that | |
13441 | TOC operand is a valid symbol ref in the constant pool. | |
13442 | ||
13443 | 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
c7729184 | 13444 | |
aaf1e810 | 13445 | * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS |
c7729184 | 13446 | |
dc62d7d1 GJL |
13447 | 2013-01-23 Georg-Johann Lay <avr@gjlay.de> |
13448 | ||
13449 | PR target/54222 | |
13450 | * config/avr/stdfix.h: New file. | |
13451 | * t-avr (stdfix-gcc.h): New rule to build it. | |
13452 | (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h. | |
13453 | ||
2660d12d KS |
13454 | 2013-01-23 Kostya Serebryany <kcc@google.com> |
13455 | ||
77dc5297 UB |
13456 | * config/darwin.h: remove dependency on |
13457 | CoreFoundation (asan on Mac OS). | |
2660d12d | 13458 | |
a70418fc JJ |
13459 | 2013-01-23 Jakub Jelinek <jakub@redhat.com> |
13460 | ||
13461 | PR target/49069 | |
13462 | * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand | |
13463 | instead of cmpdi_operand for first comparison operand. | |
13464 | Don't assert that comparison operands aren't both constants. | |
13465 | ||
47876a2a JW |
13466 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> |
13467 | ||
13468 | * doc/install.texi (Downloading the Source): Update references to | |
13469 | downloading separate components. | |
13470 | ||
13471 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> | |
4ebd56a5 JW |
13472 | |
13473 | * doc/extend.texi (__int128): Improve grammar. | |
13474 | ||
47876a2a | 13475 | 2013-01-22 Uros Bizjak <ubizjak@gmail.com> |
32fc5b8a UB |
13476 | |
13477 | PR target/56028 | |
13478 | * config/i386/i386.md (*movti_internal_rex64): Change (o,riF) | |
13479 | alternative to (o,r). | |
13480 | (*movdi_internal_rex64): Remove (!o,n) alternative. | |
13481 | (DImode immediate->memory splitter): Remove. | |
13482 | (DImode immediate->memory peephole2): Remove. | |
13483 | (movtf): Enable for TARGET_64BIT || TARGET_SSE. | |
13484 | (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r) | |
13485 | alternative to (!o,*r). | |
13486 | (*movtf_internal_sse): New pattern. | |
13487 | (*movxf_internal_rex64): New pattern. | |
13488 | (*movxf_internal): Disable for TARGET_64BIT. | |
13489 | (*movdf_internal_rex64): Remove (!o,F) alternative. | |
13490 | ||
3a984f10 JJ |
13491 | 2013-01-22 Jakub Jelinek <jakub@redhat.com> |
13492 | ||
502498d5 JJ |
13493 | PR middle-end/56074 |
13494 | * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc) | |
13495 | isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION. | |
13496 | * tree-vect-loop-manip.c (find_loop_location): Also ignore | |
13497 | stmt locations where LOCATION_LOCUS of the stmt location is | |
13498 | UNKNOWN_LOCATION or BUILTINS_LOCATION. | |
13499 | ||
3a984f10 JJ |
13500 | PR target/55686 |
13501 | * config/i386/i386.md (UNSPEC_STOS): New. | |
13502 | (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1, | |
13503 | *strsetqi_1): Add UNSPEC_STOS. | |
13504 | ||
fa817f7f PC |
13505 | 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com> |
13506 | ||
13507 | PR c++/56067 | |
13508 | * doc/invoke.texi: Remove left over -Wsynth example. | |
13509 | ||
8f498c1b JJ |
13510 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
13511 | ||
13512 | PR tree-optimization/56051 | |
13513 | * fold-const.c (fold_binary_loc): Don't fold | |
13514 | X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either | |
13515 | a narrowing conversion, or widening conversion from signed | |
13516 | to unsigned. | |
13517 | ||
47876a2a | 13518 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
35d59da7 UB |
13519 | |
13520 | PR rtl-optimization/56023 | |
13521 | * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions, | |
13522 | dependent on debug instruction. | |
13523 | ||
5b9db1bc MJ |
13524 | 2013-01-21 Martin Jambor <mjambor@suse.cz> |
13525 | ||
13526 | PR middle-end/56022 | |
13527 | * function.c (allocate_struct_function): Call | |
13528 | invoke_set_current_function_hook earlier. | |
13529 | ||
e8bb7d68 JJ |
13530 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
13531 | ||
13532 | * reload1.c (init_reload): Only initialize reload_obstack | |
13533 | during the first call. | |
13534 | ||
616a4e32 MP |
13535 | 2013-01-21 Marek Polacek <polacek@redhat.com> |
13536 | ||
13537 | * cfgloop.c (verify_loop_structure): Fix up grammar. | |
13538 | ||
4401981b YHH |
13539 | 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com> |
13540 | ||
13541 | * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift, | |
13542 | pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift. | |
13543 | ||
8e87740b RR |
13544 | 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
13545 | ||
13546 | PR target/56058 | |
13547 | * config/arm/marvell-pj4.md: Update copyright year. | |
13548 | Fix up use of alu to alu_reg and simple_alu_imm. | |
13549 | ||
47876a2a | 13550 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
1f6bc337 UB |
13551 | |
13552 | * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA. | |
13553 | ||
89d56d79 VM |
13554 | 2013-01-20 Vladimir Makarov <vmakarov@redhat.com> |
13555 | ||
13556 | PR target/55433 | |
13557 | * lra-constraints.c (curr_insn_transform): Don't reuse original | |
1f6bc337 | 13558 | insn for secondary memory move when memory mode should be different. |
89d56d79 | 13559 | |
fe603553 JDA |
13560 | 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
13561 | ||
13562 | * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi, | |
13563 | atomic_storedi_1): New patterns. | |
13564 | ||
01284895 VK |
13565 | 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
13566 | ||
13567 | btver2 pipeline descriptions. | |
13568 | * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline | |
13569 | descriptions. | |
13570 | * config/i386/i386.md (btver2_decode): New type attributes. | |
1f6bc337 | 13571 | * config/i386/sse.md (btver2_decode, btver2_sse_attr): New |
01284895 VK |
13572 | type attributes. |
13573 | * config/i386/btver2.md: New file describing btver2 pipelines. | |
13574 | ||
5630e3e1 JL |
13575 | 2013-01-19 Andrew Pinski <apinski@cavium.com> |
13576 | ||
13577 | PR tree-optimization/52631 | |
13578 | * tree-ssa-sccvn (visit_use): Before looking up the original | |
13579 | statement, try looking up the simplified expression. | |
13580 | ||
650ae806 AG |
13581 | 2013-01-19 Anthony Green <green@moxielogic.com> |
13582 | ||
13583 | * config/moxie/moxie.c (moxie_expand_prologue): Set | |
13584 | current_function_static_stack_size. | |
13585 | ||
e300ec2d JJ |
13586 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
13587 | ||
13588 | PR tree-optimization/56029 | |
13589 | * tree-phinodes.c (reserve_phi_args_for_new_edge): Set | |
13590 | gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION. | |
13591 | ||
a3d7af04 SS |
13592 | 2013-01-18 Sharad Singhai <singhai@google.com> |
13593 | ||
13594 | PR tree-optimization/55995 | |
13595 | * dumpfile.c (dump_loc): Print location only if available. | |
13596 | * tree-vectorizer.c (increase_alignment): Intialize vect_location. | |
13597 | ||
66aa7879 VM |
13598 | 2013-01-18 Vladimir Makarov <vmakarov@redhat.com> |
13599 | ||
13600 | PR target/55433 | |
13601 | * lra-constraints.c (curr_insn_transform): Reuse original insn for | |
13602 | secondary memory move. | |
13603 | (inherit_reload_reg): Use rclass instead of cl for | |
13604 | check_secondary_memory_needed_p. | |
13605 | ||
3f0fee7b JJ |
13606 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
13607 | ||
13608 | PR middle-end/56015 | |
13609 | * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle | |
1f6bc337 | 13610 | the case where writing real complex part of target modifies op1. |
3f0fee7b | 13611 | |
70c67693 JG |
13612 | 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com> |
13613 | ||
13614 | * config/aarch64/aarch64-simd.md | |
13615 | (aarch64_vcond_internal<mode>): Handle unordered cases. | |
13616 | * config/aarch64/iterators.md (v_cmp_result): New. | |
13617 | ||
df8de9b3 YHH |
13618 | 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com> |
13619 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
13620 | ||
13621 | * config/arm/marvell-pj4.md: New file. | |
13622 | * config/arm/arm.c (arm_issue_rate): Add marvell_pj4. | |
13623 | * config/arm/arm.md (generic_sched): Add marvell_pj4. | |
13624 | (generic_vfp): Likewise. | |
13625 | * config/arm/arm-cores.def: Add marvell-pj4. | |
13626 | * config/arm/arm-tune.md: Regenerate. | |
13627 | * config/arm/arm-tables.opt: Regenerate. | |
13628 | * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4. | |
13629 | * doc/invoke.texi: Document marvell-pj4. | |
13630 | ||
be30c356 TB |
13631 | 2013-01-18 Tejas Belagod <tejas.belagod@arm.com> |
13632 | ||
13633 | * config/aarch64/arm_neon.h: Map scalar types to standard types. | |
13634 | ||
0bfbca58 | 13635 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
af6236c1 AO |
13636 | |
13637 | PR debug/54114 | |
13638 | PR debug/54402 | |
13639 | PR debug/49888 | |
13640 | * var-tracking.c (negative_power_of_two_p): New. | |
13641 | (global_get_addr_cache, local_get_addr_cache): New. | |
13642 | (get_addr_from_global_cache, get_addr_from_local_cache): New. | |
13643 | (vt_canonicalize_addr): Rewrite using the above. Adjust the | |
13644 | heading comment. | |
13645 | (vt_stack_offset_p): Remove. | |
13646 | (vt_canon_true_dep): Always canonicalize loc's address. | |
13647 | (clobber_overlapping_mems): Make sure we have a MEM. | |
13648 | (local_get_addr_clear_given_value): New. | |
13649 | (val_reset): Clear local cached entries. | |
13650 | (compute_bb_dataflow): Create and release the local cache. | |
13651 | Disable duplicate MEMs clobbering. | |
13652 | (emit_notes_in_bb): Clobber MEMs likewise. | |
13653 | (vt_emit_notes): Create and release the local cache. | |
13654 | (vt_initialize, vt_finalize): Create and release the global | |
13655 | cache, respectively. | |
1f6bc337 | 13656 | * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs. |
af6236c1 | 13657 | |
0bfbca58 | 13658 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
7ff37ffa AO |
13659 | |
13660 | PR libmudflap/53359 | |
13661 | * tree-mudflap.c (mudflap_finish_file): Skip deferred decls | |
13662 | not found in the symtab. | |
13663 | ||
0bfbca58 | 13664 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
3aa03517 | 13665 | |
c350ba53 | 13666 | PR debug/56006 |
3aa03517 AO |
13667 | PR rtl-optimization/55547 |
13668 | PR rtl-optimization/53827 | |
13669 | PR debug/53671 | |
13670 | PR debug/49888 | |
13671 | * alias.c (offset_overlap_p): New, factored out of... | |
13672 | (memrefs_conflict_p): ... this. Use absolute sizes. Retain | |
13673 | the conservative special case for symbolic constants. Don't | |
13674 | adjust zero sizes on alignment. | |
13675 | ||
c664546f JL |
13676 | 2013-01-18 Bernd Schmidt <bernds@codesourcery.com> |
13677 | ||
13678 | PR rtl-optimization/52573 | |
13679 | * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a | |
13680 | REG_UNUSED for the same register. | |
13681 | ||
1bd3f750 MP |
13682 | 2013-01-17 Richard Biener <rguenther@suse.de> |
13683 | Marek Polacek <polacek@redhat.com> | |
13684 | ||
13685 | PR rtl-optimization/55833 | |
13686 | * loop-unswitch.c (unswitch_loops): Move loop verification... | |
13687 | (unswitch_single_loop): ...here. Call mark_irreducible_loops. | |
13688 | * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter. | |
13689 | Set it to true when we're removing a loop from hierarchy tree in | |
13690 | an irreducible region. | |
13691 | (fix_bb_placements): Adjust caller. | |
13692 | (fix_loop_placements): Likewise. | |
13693 | ||
e52a8b71 GJL |
13694 | 2013-01-17 Georg-Johann Lay <avr@gjlay.de> |
13695 | ||
13696 | * config/avr/builtins.def (DEF_BUILTIN): Factor out | |
13697 | "__builtin_avr_" from NAME, turn NAME to an uppercase identifier. | |
13698 | Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'. | |
13699 | Remove ID. Adjust comments. | |
13700 | * config/avr/avr-c.c (avr_builtin_name): Remove. | |
13701 | (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop. | |
13702 | * config/avr/avr.c (avr_tolower): New static function. | |
13703 | (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'. | |
13704 | Stringify NAME, prefix it with "__builtin_avr_" and lowercase it. | |
13705 | (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for | |
13706 | default expansion. | |
13707 | ||
8386a7ea JH |
13708 | 2013-01-17 Jan Hubicka <jh@suse.cz> |
13709 | ||
610fb637 | 13710 | PR tree-optimization/55273 |
8386a7ea JH |
13711 | * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. |
13712 | ||
47876a2a | 13713 | 2013-01-17 Uros Bizjak <ubizjak@gmail.com> |
8abaebcd UB |
13714 | |
13715 | PR target/55981 | |
13716 | * config/i386/sync.md (atomic_store<mode>): Always generate SWImode | |
13717 | store through atomic_store<mode>_1. | |
13718 | (atomic_store<mode>_1): Macroize insn using SWI mode iterator. | |
13719 | ||
8222c37e MJ |
13720 | 2013-01-17 Martin Jambor <mjambor@suse.cz> |
13721 | ||
13722 | PR tree-optimizations/55264 | |
13723 | * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true | |
13724 | for virtual methods. | |
13725 | * ipa.c (symtab_remove_unreachable_nodes): Never return true for | |
13726 | virtual methods before inlining is over. | |
13727 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for | |
13728 | virtual functions. | |
13729 | * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as | |
13730 | non-virtual. | |
13731 | ||
79f01c76 VM |
13732 | 2013-01-16 Vladimir Makarov <vmakarov@redhat.com> |
13733 | ||
13734 | PR rtl-optimization/56005 | |
13735 | * sched-deps.c (sched_analyze_2): Check deps->readonly for adding | |
13736 | pending reads for prefetch. | |
13737 | ||
d0b6bb1b IB |
13738 | 2013-01-16 Ian Bolton <ian.bolton@arm.com> |
13739 | ||
aaf1e810 | 13740 | * config/aarch64/aarch64.md |
d0b6bb1b IB |
13741 | (*cstoresi_neg_uxtw): New pattern. |
13742 | (*cmovsi_insn_uxtw): New pattern. | |
13743 | (*<optab>si3_uxtw): New pattern. | |
13744 | (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern. | |
13745 | (*<optab>si3_insn_uxtw): New pattern. | |
13746 | (*bswapsi2_uxtw): New pattern. | |
13747 | ||
cb9cf03b RB |
13748 | 2013-01-16 Richard Biener <rguenther@suse.de> |
13749 | ||
13750 | * tree-inline.c (tree_function_versioning): Remove set but | |
13751 | never used variable. | |
13752 | ||
2cfc56b9 RB |
13753 | 2013-01-16 Richard Biener <rguenther@suse.de> |
13754 | ||
13755 | PR tree-optimization/55964 | |
13756 | * tree-flow.h (rename_variables_in_loop): Remove. | |
13757 | (rename_variables_in_bb): Likewise. | |
13758 | * tree-loop-distribution.c (update_phis_for_loop_copy): Remove. | |
13759 | (copy_loop_before): Adjust and delete update-ssa status. | |
13760 | * tree-vect-loop-manip.c (rename_variables_in_bb): Make static. | |
8abaebcd | 13761 | (rename_variables_in_bb): Likewise. Properly walk over predecessors. |
2cfc56b9 RB |
13762 | (rename_variables_in_loop): Remove. |
13763 | (slpeel_update_phis_for_duplicate_loop): Likewise. | |
13764 | (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops, | |
13765 | use available cfg machinery instead of duplicating it. | |
13766 | Update PHI nodes and perform poor-mans SSA update here. | |
13767 | (slpeel_tree_peel_loop_to_edge): Adjust. | |
13768 | ||
c25a0c60 RB |
13769 | 2013-01-16 Richard Biener <rguenther@suse.de> |
13770 | ||
13771 | PR tree-optimization/54767 | |
13772 | PR tree-optimization/53465 | |
13773 | * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465. | |
13774 | (vrp_visit_phi_node): For PHI arguments coming via backedges | |
13775 | drop all symbolical range information. | |
13776 | (execute_vrp): Compute backedges. | |
13777 | ||
04b535af RB |
13778 | 2013-01-16 Richard Biener <rguenther@suse.de> |
13779 | ||
13780 | * doc/install.texi: Update CLooG and ISL requirements to | |
13781 | 0.18.0 and 0.11.1. | |
13782 | ||
8b0a1e0b CB |
13783 | 2013-01-16 Christian Bruel <christian.bruel@st.com> |
13784 | ||
13785 | PR target/55301 | |
13786 | * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol. | |
13787 | (broken_move): Handle UNSPECV_SP_SWITCH_B. | |
13788 | * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG). | |
13789 | ||
13790 | 2013-01-16 DJ Delorie <dj@redhat.com> | |
13791 | ||
13792 | * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New. | |
13793 | (UNSPECV_SP_SWITCH_E): New. | |
13794 | (sp_switch_1): Change to an unspec. | |
13795 | (sp_switch_2): Change to an unspec. Don't use post-inc when we | |
13796 | replace $r15. | |
13797 | ||
13798 | 2013-01-16 Uros Bizjak <ubizjak@gmail.com> | |
88e784e6 UB |
13799 | |
13800 | * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument | |
13801 | with MEMMODEL_MASK before comparing with MEMMODEL_* memory types. | |
13802 | * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto. | |
13803 | (expand_mem_thread_fence): Ditto. | |
13804 | (expand_mem_signal_fence): Ditto. | |
13805 | (expand_atomic_load): Ditto. | |
13806 | (expand_atomic_store): Ditto. | |
13807 | ||
0bfbca58 | 13808 | 2013-01-16 Alexandre Oliva <aoliva@redhat.com> |
5147bf6a AO |
13809 | |
13810 | PR rtl-optimization/55547 | |
13811 | PR rtl-optimization/53827 | |
13812 | PR debug/53671 | |
13813 | PR debug/49888 | |
13814 | * alias.c (memrefs_conflict_p): Set sizes to negative after | |
13815 | AND adjustments. | |
13816 | ||
305e3ac1 JJ |
13817 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
13818 | ||
13819 | PR target/55940 | |
13820 | * function.c (thread_prologue_and_epilogue_insns): Always | |
13821 | add crtl->drap_reg to set_up_by_prologue.set, even if | |
13822 | stack_realign_drap is false. | |
13823 | ||
f78ac4f2 JBG |
13824 | 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
13825 | ||
13826 | * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3, | |
13827 | and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3, | |
13828 | *call): Fix indention. | |
13829 | ||
a78a8cc4 TV |
13830 | 2013-01-15 Tom de Vries <tom@codesourcery.com> |
13831 | ||
13832 | PR target/55876 | |
13833 | * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG. | |
13834 | Update comment. | |
13835 | ||
0e80383f VM |
13836 | 2013-01-15 Vladimir Makarov <vmakarov@redhat.com> |
13837 | ||
305e3ac1 | 13838 | PR rtl-optimization/55153 |
0e80383f VM |
13839 | * sched-deps.c (sched_analyze_2): Add pending reads for prefetch. |
13840 | ||
207b5956 MJ |
13841 | 2013-01-15 Martin Jambor <mjambor@suse.cz> |
13842 | ||
13843 | PR tree-optimization/55920 | |
13844 | * tree-sra.c (analyze_access_subtree): Do not mark non-removable | |
13845 | accesses as grp_to_be_debug_replaced. | |
13846 | ||
a7818b54 JJ |
13847 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
13848 | ||
13849 | PR tree-optimization/55920 | |
13850 | * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced | |
13851 | there is non-useless type conversion needed from debug rhs to lhs, | |
13852 | use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR. | |
13853 | ||
b0fe107e JM |
13854 | 2013-01-15 Joseph Myers <joseph@codesourcery.com> |
13855 | Mikael Pettersson <mikpe@it.uu.se> | |
13856 | ||
13857 | PR target/43961 | |
13858 | * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for | |
13859 | Thumb. | |
13860 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
13861 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty. | |
13862 | * final.c (shorten_branches): Update alignment of labels before | |
13863 | jump tables if CASE_VECTOR_SHORTEN_MODE. | |
13864 | ||
34ab62ee RB |
13865 | 2013-01-15 Richard Biener <rguenther@suse.de> |
13866 | ||
13867 | PR bootstrap/55961 | |
13868 | * system.h: Do not include gmp.h for building host tools. | |
13869 | ||
783a3a05 RB |
13870 | 2013-01-15 Richard Biener <rguenther@suse.de> |
13871 | ||
13872 | PR middle-end/55882 | |
13873 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly | |
13874 | account for bitpos when computing alignment. | |
13875 | ||
3a579e09 VY |
13876 | 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com> |
13877 | ||
13878 | * config/i386/i386-c.c (ix86_target_macros_internal): New case. | |
13879 | (ix86_target_macros_internal): Likewise. | |
13880 | ||
13881 | * config/i386/i386.c (m_CORE2I7): Removed. | |
13882 | (m_CORE_HASWELL): New macro. | |
13883 | (m_CORE_ALL): Likewise. | |
13884 | (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL. | |
13885 | (initial_ix86_arch_features): Likewise. | |
13886 | (processor_target_table): Initializations for Core avx2. | |
13887 | (cpu_names): New names "core-avx2". | |
13888 | (ix86_option_override_internal): Changed PROCESSOR_COREI7 by | |
13889 | PROCESSOR_CORE_HASWELL. | |
13890 | (ix86_issue_rate): New case. | |
13891 | (ia32_multipass_dfa_lookahead): Likewise. | |
13892 | (ix86_sched_init_global): Likewise. | |
13893 | ||
13894 | * config/i386/i386.h (TARGET_HASWELL): New macro. | |
13895 | (target_cpu_default): New TARGET_CPU_DEFAULT_haswell. | |
13896 | (processor_type): New PROCESSOR_HASWELL. | |
13897 | ||
955f5a07 JJ |
13898 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
13899 | ||
ff784829 JJ |
13900 | PR tree-optimization/55955 |
13901 | * tree-vect-loop.c (vectorizable_reduction): Give up early on | |
13902 | *SHIFT_EXPR and *ROTATE_EXPR codes. | |
13903 | ||
955f5a07 JJ |
13904 | PR tree-optimization/48766 |
13905 | * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for | |
13906 | -ftrapv disable -fwrapv. | |
13907 | ||
aeb8b4e9 GJL |
13908 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
13909 | ||
13910 | PR target/55974 | |
13911 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH | |
13912 | etc. to 1 and not to __flash. | |
13913 | Use LL suffix for __INT24_MAX__ with -mint8. | |
13914 | Use ULL suffix for __UINT24_MAX__ with -mint8. | |
13915 | ||
1c494c6a GJL |
13916 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
13917 | ||
13918 | * config/avr/avr-arch.h | |
13919 | (struct base_arch_s): Use typedef avr_arch_t instead. | |
13920 | (struct arch_info_s): Use typedef avr_arch_info_t instead. | |
13921 | (struct mcu_type_s): Use typedef avr_mcu_t instead. | |
13922 | * config/avr/avr.c: Same. | |
13923 | * config/avr/avr-devices.c: Same. | |
13924 | * config/avr/driver-avr.c: Same. | |
13925 | * config/avr/gen-avr-mmcu-texi.c: Same. | |
13926 | * config/avr/avr-mcus.def: Adjust comment. | |
13927 | ||
a50344cb TB |
13928 | 2013-01-14 Tejas Belagod <tejas.belagod@arm.com> |
13929 | ||
88e784e6 UB |
13930 | * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New. |
13931 | * config/aarch64/iterators.md (VALLDI): New. | |
a50344cb | 13932 | |
47876a2a | 13933 | 2013-01-14 Uros Bizjak <ubizjak@gmail.com> |
e6f0e052 UB |
13934 | Andi Kleen <ak@linux.intel.com> |
13935 | ||
13936 | PR target/55948 | |
13937 | * config/i386/sync.md (atomic_store<mode>_1): New pattern. | |
13938 | (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE | |
13939 | memmodel flag. | |
13940 | ||
00892272 GJL |
13941 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
13942 | ||
13943 | * config/avr/avr-stdint.h: Remove trailing blanks. | |
13944 | * config/avr/avr-log.h: Same. | |
13945 | * config/avr/avr-arch.h: Same. | |
13946 | * config/avr/avr-devices.c: Same. | |
13947 | * config/avr/avr-dimode.md: Same. | |
13948 | * config/avr/predicates.md: Same. | |
13949 | * config/avr/avr-c.c: Same. And fix typo. | |
e6f0e052 | 13950 | |
00892272 GJL |
13951 | * config/avr/avr-protos.h: Same. And: |
13952 | (function_arg_regno_p): Rename to avr_function_arg_regno_p. | |
13953 | (init_cumulative_args): Rename to avr_init_cumulative_args. | |
13954 | (expand_prologue): Rename to avr_expand_prologue. | |
13955 | (expand_epilogue): Rename to avr_expand_epilogue. | |
13956 | (adjust_insn_length): Rename to avr_adjust_insn_length. | |
13957 | (notice_update_cc): Rename to avr_notice_update_cc. | |
13958 | (final_prescan_insn): Rename to avr_final_prescan_insn. | |
13959 | * config/avr/avr.c: Same. | |
13960 | * config/avr/avr.h: Same. | |
13961 | * config/avr/avr.md: Remove trailing blanks. | |
13962 | (prologue): Use avr_expand_prologue. | |
13963 | (epilogue, sibcall_epilogue): Use avr_expand_epilogue. | |
13964 | ||
7bb01996 RB |
13965 | 2013-01-14 Richard Biener <rguenther@suse.de> |
13966 | ||
13967 | * tree-cfg.c (verify_expr_location, verify_expr_location_1, | |
13968 | verify_location, collect_subblocks): New functions. | |
13969 | (verify_gimple_in_cfg): Verify that locations only reference | |
13970 | BLOCKs in the functions BLOCK tree. | |
13971 | ||
2724573f RB |
13972 | 2013-01-14 Richard Biener <rguenther@suse.de> |
13973 | ||
13974 | * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated | |
13975 | PHI argument. | |
13976 | * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly | |
13977 | unshare reference. | |
13978 | (insert_out_of_ssa_copy_on_edge): Likewise. | |
13979 | (rewrite_close_phi_out_of_ssa): Likewise. | |
13980 | * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare | |
13981 | debug expressions. | |
13982 | * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare | |
13983 | propagated constants. | |
13984 | * tree-cfg.c (tree_node_can_be_shared): Handled component-refs | |
13985 | can not be shared. | |
13986 | ||
9a0bbab6 GJL |
13987 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
13988 | ||
13989 | * config/avr/avr-modes.def: Add GPL copyright notice. | |
13990 | ||
45805f17 UB |
13991 | 2013-01-13 Uros Bizjak <ubizjak@gmail.com> |
13992 | ||
13993 | * config/i386/sync.md (mem_thread_fence): Mask operands[0] with | |
13994 | MEMMODEL_MASK to determine memory model. | |
13995 | (atomic_store<mode>): Ditto from operands[2]. | |
13996 | * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool. | |
13997 | ||
9d60be38 JJ |
13998 | 2013-01-13 Jakub Jelinek <jakub@redhat.com> |
13999 | ||
14000 | PR fortran/55935 | |
45805f17 | 14001 | * gimple-fold.c (get_symbol_constant_value): Call unshare_expr. |
9d60be38 JJ |
14002 | (fold_gimple_assign): Don't call unshare_expr here. |
14003 | (fold_ctor_reference): Call unshare_expr. | |
14004 | ||
e7f49d92 TG |
14005 | 2013-01-13 Terry Guo <terry.guo@arm.com> |
14006 | ||
aaf1e810 EB |
14007 | * Makefile.in (s-mlib): New argument MULTILIB_REUSE. |
14008 | * doc/fragments.texi: Document MULTILIB_REUSE. | |
14009 | * gcc.c (multilib_reuse): New internal spec. | |
e7f49d92 | 14010 | (set_multilib_dir): Also search multilib from multilib_reuse. |
aaf1e810 | 14011 | * genmultilib (tmpmultilib3): Refactor code. |
e7f49d92 TG |
14012 | (tmpmultilib4): Ditto. |
14013 | (multilib_reuse): New multilib argument. | |
14014 | ||
fbd03a27 RS |
14015 | 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com> |
14016 | ||
14017 | * Makefile.in: Update copyright. | |
14018 | ||
b3681f13 TV |
14019 | 2013-01-12 Tom de Vries <tom@codesourcery.com> |
14020 | ||
14021 | PR middle-end/55890 | |
14022 | * calls.c (expand_call): Check if arg_nr is valid. | |
14023 | ||
3f287e4b MM |
14024 | 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
14025 | ||
14026 | * doc/extend.texi (X86 Built-in Functions): Add whitespace in | |
14027 | __builtin_ia32_paddb256 and __builtin_ia32_pavgb256 | |
5bc35113 MM |
14028 | documentation. Add missing '__' in front of |
14029 | __builtin_ia32_packssdw256. | |
3f287e4b | 14030 | |
1abcd5eb AK |
14031 | 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
14032 | ||
14033 | PR target/55719 | |
14034 | * config/s390/s390.c (s390_preferred_reload_class): Do not return | |
14035 | NO_REGS for larl operands. | |
14036 | (s390_reload_larl_operand): Use s390_load_address instead of | |
14037 | emit_move_insn. | |
14038 | ||
980d0812 RB |
14039 | 2013-01-11 Richard Biener <rguenther@suse.de> |
14040 | ||
14041 | * tree-cfg.c (verify_node_sharing_1): Split out from ... | |
14042 | (verify_node_sharing): ... here. | |
14043 | (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree. | |
14044 | ||
7cb9fd07 EB |
14045 | 2013-01-11 Eric Botcazou <ebotcazou@adacore.com> |
14046 | ||
14047 | * configure.ac (Tree checking): Set TREECHECKING to yes if enabled. | |
14048 | Substitute TREECHECKING. | |
14049 | * configure: Regenerate. | |
14050 | * Makefile.in (TREECHECKING): New. | |
14051 | ||
47876a2a | 14052 | 2013-01-11 Richard Guenther <rguenther@suse.de> |
c7ab2530 RG |
14053 | |
14054 | PR tree-optimization/44061 | |
14055 | * tree-vrp.c (extract_range_basic): Compute zero as | |
14056 | value-range for __builtin_constant_p of function parameters. | |
14057 | ||
d1e082c2 RS |
14058 | 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com> |
14059 | ||
45805f17 | 14060 | Update copyright years. |
d1e082c2 | 14061 | |
f85021b0 VM |
14062 | 2013-01-10 Vladimir Makarov <vmakarov@redhat.com> |
14063 | ||
9d60be38 | 14064 | PR rtl-optimization/55672 |
0160442c VM |
14065 | * lra-eliminations.c (mark_not_eliminable): Permit addition with |
14066 | const to be eliminable. | |
f85021b0 | 14067 | |
7a8b1ec4 DE |
14068 | 2013-01-10 David Edelsohn <dje.gcc@gmail.com> |
14069 | ||
14070 | * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix. | |
14071 | * configure: Regenerate. | |
14072 | ||
ad2e5b71 RB |
14073 | 2013-01-10 Richard Biener <rguenther@suse.de> |
14074 | ||
ddf9322d | 14075 | * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes. |
ad2e5b71 | 14076 | |
ffc5b2bb RB |
14077 | 2013-01-10 Richard Biener <rguenther@suse.de> |
14078 | ||
14079 | PR bootstrap/55792 | |
14080 | * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set | |
14081 | locations for virtual PHI arguments. | |
14082 | (rewrite_update_phi_arguments): Likewise. | |
14083 | ||
e1f674e4 JS |
14084 | 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com> |
14085 | ||
14086 | * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi | |
14087 | on to assembler. | |
14088 | ||
a57fc743 JJ |
14089 | 2013-01-10 Jakub Jelinek <jakub@redhat.com> |
14090 | ||
14091 | PR tree-optimization/55921 | |
14092 | * tree-complex.c (expand_complex_asm): New function. | |
14093 | (expand_complex_operations_1): Call it for GIMPLE_ASM. | |
14094 | ||
0ff4390d AK |
14095 | 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
14096 | ||
14097 | PR target/55718 | |
14098 | * config/s390/s390.c (s390_symref_operand_p) | |
14099 | (s390_loadrelative_operand_p): Merge the two functions. | |
14100 | (s390_check_qrst_address, print_operand_address): Add parameters | |
14101 | to s390_loadrelative_operand_p invokation. | |
14102 | (s390_check_symref_alignment): Use s390_loadrelative_operand_p. | |
14103 | (s390_reload_larl_operand, s390_secondary_reload): Use | |
14104 | s390_loadrelative_operand_p instead of s390_symref_operand_p. | |
14105 | (legitimize_pic_address): Handle @GOTENT and @PLT + addend. | |
14106 | ||
6f557e0e MS |
14107 | 2013-01-09 Mike Stump <mikestump@comcast.net> |
14108 | ||
14109 | * dse.c (record_store): Remove unnecessary assert. | |
14110 | ||
7770c9e9 JH |
14111 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
14112 | ||
14113 | PR tree-optimization/55569 | |
14114 | * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type. | |
14115 | * cfgloop.h (scale_loop_profile): Likewise. | |
14116 | ||
a19b1432 JH |
14117 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
14118 | ||
14119 | PR lto/45375 | |
ddf9322d UB |
14120 | * ipa-inline.c (ipa_inline): Remove extern inlines and virtual |
14121 | functions. | |
a19b1432 JH |
14122 | * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data. |
14123 | ||
9a002da8 RS |
14124 | 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com> |
14125 | ||
14126 | PR middle-end/55114 | |
14127 | * expr.h (maybe_emit_group_store): Declare. | |
14128 | * expr.c (maybe_emit_group_store): New function. | |
14129 | * builtins.c (expand_builtin_int_roundingfn): Call it. | |
14130 | (expand_builtin_int_roundingfn_2): Likewise. | |
14131 | ||
511dcace VM |
14132 | 2013-01-09 Vladimir Makarov <vmakarov@redhat.com> |
14133 | ||
e1f2b729 | 14134 | PR rtl-optimization/55829 |
511dcace VM |
14135 | * lra-constraints.c (match_reload): Add code for absent output. |
14136 | (curr_insn_transform): Add code for reloads of matched inputs | |
14137 | without output. | |
14138 | ||
7b0fe4f4 UB |
14139 | 2013-01-09 Uros Bizjak <ubizjak@gmail.com> |
14140 | ||
14141 | * config/i386/sse.md (*vec_interleave_highv2df): Change mode | |
14142 | attribute of movddup insn to DF. | |
14143 | (*vec_interleave_lowv2df): Ditto. | |
14144 | (vec_dupv2df): Ditto. | |
14145 | ||
870ca331 JH |
14146 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
14147 | ||
14148 | PR tree-optimiation/55875 | |
14149 | * tree-ssa-loop-niter.c (number_of_iterations_cond): Add | |
14150 | EVERY_ITERATION parameter. | |
7b0fe4f4 | 14151 | (number_of_iterations_exit): Check if exit is executed every iteration. |
870ca331 JH |
14152 | (idx_infer_loop_bounds): Similarly here. |
14153 | (n_of_executions_at_most): Simplify | |
14154 | to only test for cases where statement is dominated by the | |
7b0fe4f4 | 14155 | particular bound; handle correctly the "postdominance" test. |
870ca331 JH |
14156 | (scev_probably_wraps_p): Use max loop iterations info |
14157 | as a global bound first. | |
14158 | ||
6f575fe4 | 14159 | 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com> |
3cd232b5 NDD |
14160 | Nick Clifton <nickc@redhat.com> |
14161 | ||
14162 | * config/v850/v850.md (cbranchsf4): New pattern. | |
14163 | (cstoresf4): New pattern. | |
14164 | (cbranchdf4): New pattern. | |
14165 | (cstoredf4): New pattern. | |
14166 | (movsicc): Disallow floating point comparisons. | |
14167 | (cmpsf_le_insn): Fix order of operators. | |
14168 | (cmpsf_lt_insn): Likewise. | |
14169 | (cmpsf_eq_insn): Likewise. | |
14170 | (cmpdf_le_insn): Likewise. | |
14171 | (cmpdf_lt_insn): Likewise. | |
14172 | (cmpdf_eq_insn): Likewise. | |
14173 | (cmpsf_ge_insn): Use LE comparison. | |
14174 | (cmpdf_ge_insn): Likewise. | |
14175 | (cmpsf_gt_insn): Use LT comparison. | |
14176 | (cmpdf_gt_insn): Likewise. | |
14177 | (cmpsf_ne_insn): Delete pattern. | |
14178 | (cmpdf_ne_insn): Delete pattern. | |
14179 | * config/v850/v850.c (v850_gen_float_compare): Use | |
14180 | gen_cmpdf_eq_insn for NE comparison. | |
14181 | (v850_float_z_comparison_operator) | |
14182 | (v850_float_nz_comparison_operator): Move from here ... | |
14183 | * config/v850/predicates.md: ... to here. Move GT and GE | |
14184 | comparisons into v850_float_z_comparison_operator. | |
14185 | * config/v850/v850-protos.h (v850_float_z_comparison_operator): | |
14186 | Delete prototype. | |
14187 | (v850_float_nz_comparison_operator): Likewise. | |
14188 | ||
f0d54148 JDA |
14189 | 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14190 | ||
14191 | * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv | |
14192 | with calls to gen_insvsi/gen_insvdi. | |
14193 | ||
8f01beca VK |
14194 | 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
14195 | ||
14196 | * config/i386/i386.c (initial_ix86_tune_features): Set up | |
14197 | X86_TUNE_AVX128_OPTIMAL for m_BTVER2. | |
14198 | ||
2aa579ad JJ |
14199 | 2013-01-09 Steven Bosscher <steven@gcc.gnu.org> |
14200 | Jakub Jelinek <jakub@redhat.com> | |
14201 | ||
14202 | PR tree-optimization/48189 | |
14203 | * predict.c (predict_loops): If max is 0, don't call compare_tree_int. | |
14204 | If nitercst is 0, don't predict the exit edge. | |
14205 | ||
6edc3e32 | 14206 | 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
01a3a324 N |
14207 | |
14208 | * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r | |
14209 | in asm_fprintf with reg_names. | |
14210 | (aarch64_print_operand_address): Likewise. | |
14211 | (aarch64_return_addr): Likewise. | |
14212 | * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove. | |
14213 | ||
f6f94d94 JDA |
14214 | 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14215 | ||
14216 | * config/pa/pa.h (VAL_U6_BITS_P): Define. | |
14217 | (INT_U6_BITS): Likewise. | |
14218 | * config/pa/predicates.md (uint6_operand): New predicate. | |
14219 | (shift5_operand, shift6_operand): Likewise. | |
14220 | * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of | |
14221 | arith32_operand. | |
14222 | (lshrdi3): Use shift6_operand. | |
14223 | (shrpsi4, shrpdi4): New insn patterns. | |
14224 | (extzv): Delete expander. | |
14225 | (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand | |
14226 | predicates in unamed zero extract patterns. Tighten common constraint. | |
14227 | (extv): Delete expander. | |
14228 | (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand | |
14229 | predicates in unamed sign extract patterns. Tighten common constraint. | |
14230 | (insv): Delete expander. | |
14231 | (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand | |
14232 | predicates in unamed insert patterns. Tighten common constraint. | |
14233 | Change uint32_operand predicate to uint6_operand predicate in unamed | |
14234 | DImode pattern to insert constant values of type 1...1xxxx. | |
14235 | ||
36b72910 JH |
14236 | 2013-01-04 Jan Hubicka <jh@suse.cz> |
14237 | ||
14238 | PR tree-optimization/55823 | |
7b0fe4f4 UB |
14239 | * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering |
14240 | issue. | |
36b72910 | 14241 | |
47876a2a | 14242 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
c6d851b9 JJ |
14243 | Uros Bizjak <ubizjak@gmail.com> |
14244 | ||
14245 | PR rtl-optimization/55845 | |
14246 | * df-problems.c (can_move_insns_across): Stop scanning at | |
14247 | volatile_insn_p source instruction or give up if | |
14248 | across_from .. across_to range contains any volatile_insn_p | |
14249 | instructions. | |
14250 | ||
4369c11e TB |
14251 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
14252 | ||
7b0fe4f4 UB |
14253 | * config/aarch64/aarch64-simd.md (vec_init<mode>): New. |
14254 | * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init): | |
14255 | Declare. | |
4369c11e | 14256 | * config/aarch64/aarch64.c (aarch64_simd_dup_constant, |
7b0fe4f4 | 14257 | aarch64_simd_make_constant, aarch64_expand_vector_init): New. |
4369c11e | 14258 | |
aeb7e7c1 JJ |
14259 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
14260 | ||
14261 | PR fortran/55341 | |
14262 | * asan.c (asan_clear_shadow): New function. | |
14263 | (asan_emit_stack_protection): Use it. | |
14264 | ||
a02ad1aa TB |
14265 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
14266 | ||
14267 | * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>, | |
14268 | aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand | |
14269 | with tab instead of space. | |
14270 | ||
f90d87f5 NC |
14271 | 2013-01-08 Nick Clifton <nickc@redhat.com> |
14272 | ||
14273 | * config/rl78/rl78.c (rl78_expand_prologue): Always select | |
14274 | register bank 0 at the start of an interrupt handler. | |
83ffd964 NC |
14275 | * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and |
14276 | MDBH registers. | |
f90d87f5 | 14277 | |
385eb93d JG |
14278 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
14279 | ||
14280 | * config/aarch64/aarch64-simd.md | |
14281 | (aarch64_simd_bsl<mode>_internal): Add floating-point modes. | |
14282 | (aarch64_simd_bsl): Likewise. | |
14283 | (aarch64_vcond_internal<mode>): Likewise. | |
14284 | (vcond<mode><mode>): Likewise. | |
14285 | (aarch64_cm<cmp><mode>): Fix constraints, add new modes. | |
14286 | * config/aarch64/iterators.md (V_cmp_result): Add V2DF. | |
14287 | ||
4dcd1054 JG |
14288 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
14289 | ||
14290 | * config/aarch64/aarch64-builtins.c | |
14291 | (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf. | |
14292 | ||
4267a4a6 MJ |
14293 | 2013-01-08 Martin Jambor <mjambor@suse.cz> |
14294 | ||
14295 | PR debug/55579 | |
14296 | * tree-sra.c (analyze_access_subtree): Return true also after | |
14297 | potentially creating a debug-only replacement. | |
14298 | ||
5f4e6de3 JJ |
14299 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
14300 | ||
3138f224 JJ |
14301 | PR middle-end/55890 |
14302 | * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p. | |
14303 | ||
5f4e6de3 JJ |
14304 | PR tree-optimization/54120 |
14305 | * tree-vrp.c (range_fits_type_p): Don't allow | |
14306 | src_precision < precision from signed vr to unsigned_p | |
14307 | if vr->min or vr->max is negative. | |
14308 | (simplify_float_conversion_using_ranges): Test can_float_p | |
14309 | against CODE_FOR_nothing. | |
14310 | ||
f3ef18ff JJ |
14311 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
14312 | Richard Biener <rguenther@suse.de> | |
14313 | ||
14314 | PR middle-end/55851 | |
14315 | * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P | |
14316 | types instead of just INTEGER_TYPE types. | |
14317 | ||
25c210f9 MK |
14318 | 2013-01-07 Mark Kettenis <kettenis@openbsd.org> |
14319 | ||
14320 | * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, | |
14321 | TF_SIZE): Define. | |
f90d87f5 | 14322 | |
81826a7b SE |
14323 | 2013-01-07 Steve Ellcey <sellcey@mips.com> |
14324 | ||
14325 | PR target/42661 | |
14326 | * config/mips/mips.opt: Change mad to mmad to match documentation. | |
14327 | ||
35678514 GJL |
14328 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
14329 | ||
14330 | PR target/55897 | |
14331 | * doc/extend.texi (AVR Named Address Spaces): __memx goes into | |
14332 | .progmemx.data now. | |
14333 | ||
e5669488 GJL |
14334 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
14335 | ||
14336 | PR target/55897 | |
14337 | * config/avr/avr.h (ADDR_SPACE_COUNT): New enum. | |
14338 | (avr_addrspace_t): Add .section_name field. | |
14339 | * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as | |
14340 | array size. | |
14341 | (avr_addrspace): Same. Initialize .section_name. Remove last | |
14342 | NULL entry. Put __memx into .progmemx.data. | |
14343 | (progmem_section_prefix): Remove. | |
14344 | (avr_asm_init_sections): No need to initialize progmem_section. | |
14345 | (avr_asm_named_section): Use avr_addrspace[].section_name to get | |
14346 | section name prefix. | |
14347 | (avr_asm_select_section): Ditto. And use get_unnamed_section to | |
14348 | retrieve the progmem section. | |
14349 | * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop | |
14350 | boundary to run over avr_addrspace[]. | |
14351 | (avr_register_target_pragmas): Ditto. | |
14352 | ||
656e6f37 JJ |
14353 | 2013-01-06 Jakub Jelinek <jakub@redhat.com> |
14354 | ||
14355 | * varasm.c (output_constant_def_contents): For asan_protect_global | |
14356 | protected strings, adjust DECL_ALIGN if needed, before testing for | |
14357 | anchored symbols. | |
14358 | (place_block_symbol): Adjust size for asan protected STRING_CSTs if | |
14359 | TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected | |
14360 | normal decls. | |
14361 | (output_object_block): For asan protected decls, emit asan padding | |
14362 | after their contents. | |
14363 | * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here. | |
14364 | (asan_finish_file): Test it here instead. | |
14365 | ||
6edc3e32 UB |
14366 | 2013-01-07 Nick Clifton <nickc@redhat.com> |
14367 | Matthias Klose <doko@debian.org> | |
14368 | Doug Kwan <dougkwan@google.com> | |
14369 | H.J. Lu <hongjiu.lu@intel.com> | |
b352afba NC |
14370 | |
14371 | PR driver/55470 | |
14372 | * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold. | |
14373 | ||
14374 | * common.opt: Add fuse-ld=bfd and fuse-ld=gold. | |
14375 | ||
14376 | * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2. | |
14377 | ||
7b0fe4f4 | 14378 | * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold. |
b352afba NC |
14379 | |
14380 | * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold. | |
14381 | ||
2a095093 GJL |
14382 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
14383 | ||
f3b503f4 | 14384 | PR target/54461 |
2a095093 GJL |
14385 | * doc/install.texi (Cross-Compiler-Specific Options): Document |
14386 | --with-avrlibc. | |
14387 | ||
383f9b34 TB |
14388 | 2013-01-07 Tejas Belagod <tejas.belagod@arm.com> |
14389 | ||
14390 | * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32, | |
14391 | vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64, | |
14392 | vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16, | |
14393 | vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32, | |
14394 | vqmovun_high_s64): Fix source operand number and update copyright. | |
14395 | ||
3626621a RB |
14396 | 2013-01-07 Richard Biener <rguenther@suse.de> |
14397 | ||
14398 | PR middle-end/55890 | |
14399 | * gimple.h (gimple_call_builtin_p): New overload. | |
14400 | * gimple.c (validate_call): New function. | |
14401 | (gimple_call_builtin_p): Likewise. | |
14402 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
14403 | Use gimple_call_builtin_p. | |
14404 | (find_func_clobbers): Likewise. | |
14405 | * tree-ssa-strlen.c (adjust_last_stmt): Likewise. | |
14406 | (strlen_optimize_stmt): Likewise. | |
14407 | ||
8b2ea410 JG |
14408 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
14409 | ||
14410 | * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const. | |
14411 | (vld1q_dup_*): Likewise. | |
14412 | (vld1_*): Likewise. | |
14413 | (vld1q_*): Likewise. | |
14414 | (vld1_lane_*): Likewise. | |
14415 | (vld1q_lane_*): Likewise. | |
14416 | ||
9713d329 RB |
14417 | 2013-01-07 Richard Biener <rguenther@suse.de> |
14418 | ||
14419 | * lto-streamer.h (LTO_minor_version): Bump to 2. | |
14420 | ||
3520f7cc JG |
14421 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
14422 | ||
14423 | * config/aarch64/aarch64-protos.h | |
14424 | (aarch64_const_double_zero_rtx_p): Rename to... | |
14425 | (aarch64_float_const_zero_rtx_p): ...this. | |
14426 | (aarch64_float_const_representable_p): New. | |
14427 | (aarch64_output_simd_mov_immediate): Likewise. | |
14428 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor | |
14429 | move immediate case. | |
14430 | * config/aarch64/aarch64.c | |
14431 | (aarch64_const_double_zero_rtx_p): Rename to... | |
14432 | (aarch64_float_const_zero_rtx_p): ...this. | |
14433 | (aarch64_print_operand): Allow printing of new constants. | |
14434 | (aarch64_valid_floating_const): New. | |
14435 | (aarch64_legitimate_constant_p): Check for valid floating-point | |
14436 | constants. | |
14437 | (aarch64_simd_valid_immediate): Likewise. | |
14438 | (aarch64_vect_float_const_representable_p): New. | |
14439 | (aarch64_float_const_representable_p): Likewise. | |
14440 | (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0. | |
14441 | (aarch64_output_simd_mov_immediate): New. | |
14442 | * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative. | |
14443 | (*movdf_aarch64): Likewise. | |
14444 | * config/aarch64/constraints.md (Ufc): New. | |
14445 | (Y): call aarch64_float_const_zero_rtx. | |
14446 | * config/aarch64/predicates.md (aarch64_fp_compare_operand): New. | |
14447 | ||
e167c04d RB |
14448 | 2013-01-07 Richard Biener <rguenther@suse.de> |
14449 | ||
14450 | PR tree-optimization/55888 | |
14451 | PR tree-optimization/55862 | |
14452 | * tree-ssa-pre.c (phi_translate_1): Revert previous change. | |
14453 | (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT, | |
14454 | not if it is contained therein. | |
14455 | ||
0139aaab GJL |
14456 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
14457 | ||
14458 | * config/avr/t-avr: Typo. | |
14459 | ||
4a176b23 GJL |
14460 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
14461 | ||
14462 | PR55243 | |
14463 | * config/avr/t-avr: Don't automatically rebuild | |
14464 | $(srcdir)/config/avr/t-multilib | |
14465 | $(srcdir)/config/avr/avr-tables.opt | |
14466 | $(srcdir)/doc/avr-mmcu.texi | |
14467 | (avr-mcus): New phony target to build them on request. | |
14468 | (s-avr-mlib, s-avr-mmcu-texi): Remove. | |
14469 | * avr/avr-mcus.def: Adjust comments. | |
14470 | ||
c7afdc98 UB |
14471 | 2013-01-07 Uros Bizjak <ubizjak@gmail.com> |
14472 | ||
14473 | * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove. | |
14474 | ||
1ab05c31 RS |
14475 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
14476 | ||
14477 | * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder. | |
14478 | ||
488e3acc RS |
14479 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
14480 | ||
14481 | * config/tilepro/gen-mul-tables.cc: Put copyright on one line. | |
14482 | ||
a89599d2 DE |
14483 | 2013-01-05 David Edelsohn <dje.gcc@gmail.com> |
14484 | ||
14485 | * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling | |
14486 | to generate profiling. | |
14487 | * config/rs6000/aix64.h (LIB_SPEC): Same. | |
14488 | ||
70f09188 AP |
14489 | 2013-01-04 Andrew Pinski <apinski@cavium.com> |
14490 | ||
14491 | * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs): | |
14492 | New function. | |
14493 | (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
14494 | ||
918d445f UB |
14495 | 2013-01-04 Uros Bizjak <ubizjak@gmail.com> |
14496 | ||
14497 | * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode | |
14498 | unconditionally. | |
14499 | (ix86_expand_move): Ditto. | |
14500 | (ix86_zero_extend_to_Pmode): Ditto. | |
14501 | (ix86_expand_call): Ditto. | |
14502 | (ix86_expand_special_args_builtin): Ditto. | |
14503 | (ix86_expand_builtin): Ditto. | |
14504 | ||
361618ec RB |
14505 | 2013-01-04 Richard Biener <rguenther@suse.de> |
14506 | ||
14507 | PR tree-optimization/55862 | |
14508 | * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after | |
14509 | translating them through PHI nodes. | |
14510 | ||
87eab554 MJ |
14511 | 2013-01-04 Martin Jambor <mjambor@suse.cz> |
14512 | ||
14513 | PR tree-optimization/55755 | |
14514 | * tree-sra.c (sra_modify_assign): Do not check that an access has no | |
14515 | children when trying to avoid producing a VIEW_CONVERT_EXPR. | |
14516 | ||
33879b9f MP |
14517 | 2013-01-04 Marek Polacek <polacek@redhat.com> |
14518 | ||
14519 | PR middle-end/55859 | |
14520 | * opts.c (default_options_optimization): Clarify error message. | |
14521 | ||
3068819a RB |
14522 | 2013-01-04 Richard Biener <rguenther@suse.de> |
14523 | ||
14524 | PR middle-end/55863 | |
14525 | * fold-const.c (split_tree): Undo -X - 1 to ~X folding for | |
14526 | reassociation. | |
14527 | ||
0e4ae794 JDA |
14528 | 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14529 | ||
14530 | PR target/53789 | |
14531 | * config/pa/pa.md (movsi): Revert previous change. | |
e58d2e48 JDA |
14532 | * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol |
14533 | references. | |
0e4ae794 | 14534 | |
65c88cef RH |
14535 | 2013-01-03 Richard Henderson <rth@redhat.com> |
14536 | ||
14537 | * config/i386/i386.c (ix86_expand_move): Always assign to op1 | |
14538 | after eliminating TLS symbols. | |
14539 | ||
8ac16127 MG |
14540 | 2013-01-03 Marc Glisse <marc.glisse@inria.fr> |
14541 | ||
14542 | PR bootstrap/50167 | |
14543 | * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf. | |
14544 | * graphite-poly.c (debug_gmp_value): Likewise. | |
14545 | ||
bb664f09 UB |
14546 | 2013-01-03 Uros Bizjak <ubizjak@gmail.com> |
14547 | ||
14548 | PR target/55712 | |
14549 | * config/i386/i386-c.c (ix86_target_macros_internal): Depending on | |
14550 | selected code model, define __code_mode_small__, __code_model_medium__, | |
14551 | __code_model_large__, __code_model_32__ or __code_model_kernel__. | |
14552 | * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix | |
14553 | xchg temporary register with %k. Declare temporary register as | |
14554 | early clobbered. | |
14555 | [__x86_64__]: For medium and large code models, preserve %rbx register. | |
14556 | ||
bcf1ef00 RB |
14557 | 2013-01-03 Richard Biener <rguenther@suse.de> |
14558 | ||
0506634a | 14559 | * tree-data-ref.c (dump_conflict_function): Use less vertical spacing. |
bcf1ef00 RB |
14560 | (dump_subscript): Adjust. |
14561 | (finalize_ddr_dependent): Do not dump redundant info. | |
14562 | (analyze_siv_subscript): Adjust. | |
14563 | (subscript_dependence_tester): Likewise. | |
14564 | (compute_affine_dependence): Likewise. | |
14565 | ||
59fd17e3 RB |
14566 | 2013-01-03 Richard Biener <rguenther@suse.de> |
14567 | ||
14568 | Revert | |
14569 | 2013-01-03 Richard Biener <rguenther@suse.de> | |
14570 | ||
14571 | PR tree-optimization/55857 | |
14572 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
14573 | re-alignment for invariant loads. | |
14574 | ||
14575 | 2013-01-02 Richard Biener <rguenther@suse.de> | |
14576 | ||
14577 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 14578 | invariant load do not generate a vector load from the scalar location. |
59fd17e3 | 14579 | |
595c2679 RB |
14580 | 2013-01-03 Richard Biener <rguenther@suse.de> |
14581 | ||
14582 | * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason | |
14583 | for not vectorizing. | |
14584 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do | |
14585 | not build INDIRECT_REFs, call get_name once only. | |
14586 | (vect_create_data_ref_ptr): Likewise. Dump base object kind | |
14587 | based on DR_BASE_OBJECT, not DR_BASE_ADDRESS. | |
14588 | ||
90bb7d7a RB |
14589 | 2013-01-03 Richard Biener <rguenther@suse.de> |
14590 | ||
14591 | PR tree-optimization/55857 | |
14592 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
14593 | re-alignment for invariant loads. | |
14594 | ||
f09b77ca RB |
14595 | 2013-01-03 Richard Biener <rguenther@suse.de> |
14596 | ||
14597 | PR lto/55848 | |
14598 | * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always | |
14599 | prefer a built-in decl. | |
14600 | ||
3461a16e JJ |
14601 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
14602 | ||
df8e2b4f JJ |
14603 | * gcc.c (process_command): Update copyright notice dates. |
14604 | * gcov.c (print_version): Likewise. | |
14605 | * gcov-dump.c (print_version): Likewise. | |
14606 | ||
3461a16e JJ |
14607 | PR rtl-optimization/55838 |
14608 | * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on | |
14609 | iv0.step, iv1.step and step. | |
14610 | ||
8b5546d6 JJ |
14611 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
14612 | Marc Glisse <marc.glisse@inria.fr> | |
14613 | ||
14614 | PR tree-optimization/55832 | |
14615 | * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and | |
14616 | ABS_EXPR<x> < 0 folding use constant_boolean_node instead of | |
14617 | integer_{one,zero}_node. | |
14618 | ||
8ab1d2e9 JJ |
14619 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
14620 | ||
14621 | PR debug/54402 | |
14622 | * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param. | |
14623 | * var-tracking.c (reverse_op): Don't add reverse ops to | |
14624 | VALUEs that have already | |
0506634a | 14625 | PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list. |
8ab1d2e9 | 14626 | |
5b9ad1d4 GP |
14627 | 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com> |
14628 | ||
14629 | * doc/contrib.texi: Note years as release manager for Mark Mitchell. | |
14630 | ||
e25a6711 TJ |
14631 | 2013-01-02 Teresa Johnson <tejohnson@google.com> |
14632 | ||
14633 | * dumpfile.c (dump_loc): Print filename with location. | |
14634 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use | |
14635 | new location_t parameter to emit complete unroll message with | |
14636 | new dump framework. | |
14637 | (canonicalize_loop_induction_variables): Compute loops location | |
14638 | and pass to try_unroll_loop_completely. | |
14639 | * loop-unroll.c (report_unroll_peel): New function. | |
14640 | (peel_loops_completely): Use new dump format with location | |
14641 | for main dumpfile message, and invoke report_unroll_peel on success. | |
14642 | (decide_unrolling_and_peeling): Ditto. | |
14643 | (decide_peel_once_rolling): Remove old dumpfile message subsumed | |
14644 | by report_unroll_peel. | |
14645 | (decide_peel_completely): Ditto. | |
14646 | (decide_unroll_constant_iterations): Ditto. | |
14647 | (decide_unroll_runtime_iterations): Ditto. | |
14648 | (decide_peel_simple): Ditto. | |
14649 | (decide_unroll_stupid): Ditto. | |
14650 | * cfgloop.c (get_loop_location): New function. | |
14651 | * cfgloop.h (get_loop_location): Declare. | |
14652 | ||
77878621 ST |
14653 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
14654 | ||
14655 | * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for | |
14656 | NULL. | |
14657 | ||
9e65d03e JDA |
14658 | 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14659 | ||
14660 | PR middle-end/55198 | |
14661 | * expr.c (expand_expr_real_1): Don't use bitfield extraction for non | |
14662 | BLKmode objects when EXPAND_MEMORY is specified. | |
14663 | ||
6a7da30f ST |
14664 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
14665 | ||
14666 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug | |
14667 | in loop predicate. | |
14668 | (fold_builtin_cpu): Do not share cpu model decls across statements. | |
14669 | ||
e78167f2 JM |
14670 | 2013-01-02 Jason Merrill <jason@redhat.com> |
14671 | ||
14672 | PR c++/55804 | |
14673 | * tree.c (build_array_type_1): Revert earlier change. | |
14674 | ||
8c075fb4 YZ |
14675 | 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com> |
14676 | ||
14677 | * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and | |
14678 | "cortex-a57". | |
14679 | * config/aarch64/aarch64-tune.md: Re-generate. | |
14680 | ||
0682ed3e RB |
14681 | 2013-01-02 Richard Biener <rguenther@suse.de> |
14682 | ||
14683 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 14684 | invariant load do not generate a vector load from the scalar location. |
0682ed3e | 14685 | |
b8f6a302 RB |
14686 | 2013-01-02 Richard Biener <rguenther@suse.de> |
14687 | ||
14688 | PR bootstrap/55784 | |
14689 | * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS. | |
14690 | * configure: Regenerate. | |
14691 | ||
04b80dbb RS |
14692 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
14693 | ||
14694 | * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2) | |
14695 | (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3) | |
14696 | (expand_builtin_int_roundingfn_2): Keep the original target around | |
14697 | for the fallback case. | |
14698 | ||
635b0b0c RS |
14699 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
14700 | ||
14701 | * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int | |
14702 | to be clear for sign changes. | |
14703 | ||
42d57399 JH |
14704 | 2013-01-01 Jan Hubicka <jh@suse.cz> |
14705 | ||
14706 | * ipa-inline-analysis.c: Fix formatting. | |
14707 | ||
5bb6669d JJ |
14708 | 2013-01-01 Jakub Jelinek <jakub@redhat.com> |
14709 | ||
14710 | PR tree-optimization/55831 | |
14711 | * tree-vect-loop.c (get_initial_def_for_induction): Use | |
14712 | gsi_after_labels instead of gsi_start_bb. | |
ad41bd84 | 14713 | \f |
86a2db33 | 14714 | Copyright (C) 2013 Free Software Foundation, Inc. |
ad41bd84 JM |
14715 | |
14716 | Copying and distribution of this file, with or without modification, | |
14717 | are permitted in any medium without royalty provided the copyright | |
14718 | notice and this notice are preserved. |