]>
Commit | Line | Data |
---|---|---|
f75e6a51 UB |
1 | 2013-05-06 Uros Bizjak <ubizjak@gmail.com> |
2 | ||
3 | * config/i386/i386.md (isa): Add x64_sse4 member. | |
4 | (enabled): Handle x64_sse4. | |
5 | (*movdi_internal): Add *x->?r alternative to emit pextrq $0,%xmm,%reg | |
6 | instruction for 64bit SSE4_1 targets. Update insn attributes. | |
7 | (*movsi_internal): Add *x->?r alternative to emit pextrd $0,%xmm,%reg | |
8 | instruction for SSE4_1 targets. Update insn attributes. | |
9 | * config/i386/sse.md (*vec_extract<ssevecmodelower>_0): Merge | |
10 | with *sse4_1_pextrd and *sse4_1_pextrq having const_0 selector. | |
11 | (*vec_extractv2di_1): Merge with *sse4_1_pextrq having | |
12 | const_1 selector. | |
13 | (*vec_extractv4si): Rename from *sse4_1_pextrd. | |
14 | (*vec_extractv4si_zext): Rename from *sse4_1_pextrd_zext. | |
15 | (*vec_extract<ssevecmodelower>_0 splitters): Merge splitters together. | |
16 | ||
a986d468 OE |
17 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
18 | ||
19 | PR target/57108 | |
20 | * config/sh/sh.md (tstsi_t_zero_extract_eq): Use QIHISIDI mode iterator. | |
21 | ||
382522cb MK |
22 | 2013-05-06 Maxim Kuznetsov <maks.kuznetsov@gmail.com> |
23 | ||
24 | * final.c (do_assembler_dialects): Don't handle curly braces and | |
25 | vertical bar escaped by % as dialect delimiters. | |
26 | (output_asm_insn): Print curly braces and vertical bar if escaped | |
27 | by % and ASSEMBLER_DIALECT defined. | |
28 | * doc/tm.texi.in (ASSEMBLER_DIALECT): Document new standard escapes. | |
29 | * doc/tm.texi: Regenerated. | |
30 | ||
fb0d5c60 SB |
31 | 2013-05-06 Steven Bosscher <steven@gcc.gnu.org> |
32 | ||
fb0d5c60 SB |
33 | * config/mips/mips.c: Include tree-pass.h. |
34 | (mips_reorg): Split in pre- and post-dbr_schedule parts. | |
35 | (mips_machine_reorg2): Move mips_reorg post-dbr_schedule parts here. | |
36 | (pass_mips_machine_reorg2): New machine specific pass. | |
37 | (insert_pass_mips_machine_reorg2): New pass plugin definition. | |
38 | (mips_option_override): Register the new pass. | |
39 | * rtl.h (cleanup_barriers): Remove prototype. | |
40 | (dbr_schedule): Likewise. | |
41 | * jump.c (cleanup_barriers): Make static. | |
42 | * reorg.c (dbr_schedule): Likewise. | |
43 | ||
aa06a978 RB |
44 | 2013-05-06 Richard Biener <rguenther@suse.de> |
45 | ||
46 | PR tree-optimization/57185 | |
47 | * tree-parloops.c (add_field_for_reduction): Handle anonymous | |
48 | SSA names properly. | |
49 | ||
0b953bec UB |
50 | 2013-05-06 Uros Bizjak <ubizjak@gmail.com> |
51 | ||
52 | PR target/57106 | |
53 | * config/i386/i386.c (add_parameter_dependencies): Add dependence | |
54 | between "first_arg" and "insn", not "last" and "insn". | |
55 | ||
28708525 WS |
56 | 2013-05-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
57 | ||
58 | * gimple-ssa-strength-reduction.c (slsr_process_phi): Re-enable. | |
59 | (find_candidates_in_block): Re-enable slsr_process_phi. | |
60 | (create_phi_basis): Fix double counting of candidate adjustment. | |
61 | ||
0107dca2 RB |
62 | 2013-05-06 Richard Biener <rguenther@suse.de> |
63 | ||
64 | PR middle-end/57147 | |
65 | * tree-cfg.c (gimple_purge_dead_abnormal_call_edges): If | |
66 | the edge is also fallthru, preserve it and just clear the | |
67 | abnormal flag. | |
68 | * tree-cfgcleanup.c (remove_fallthru_edge): If the edge is | |
69 | also complex, preserve that and just clear the fallthru flag. | |
70 | * tree-inline.c (update_ssa_across_abnormal_edges): Also | |
71 | update virtual operands. | |
72 | ||
470d4d13 AM |
73 | 2013-05-06 Alan Modra <amodra@gmail.com> |
74 | ||
75 | * config/rs6000/linux.h (DEFAULT_ASM_ENDIAN): Define. | |
76 | (LINK_OS_LINUX_EMUL): Use ENDIAN_SELECT. | |
77 | * config/rs6000/linux64.h (DEFAULT_ASM_ENDIAN): Define. | |
78 | * config/rs6000/sysv4le.h (DEFAULT_ASM_ENDIAN): Define. | |
79 | (LINK_TARGET_SPEC): Use ENDIAN_SELECT. | |
80 | * config/rs6000/sysv4.h (DEFAULT_ASM_ENDIAN): Define as -mbig. | |
81 | ||
8f1dbf8d AM |
82 | 2013-05-06 Alan Modra <amodra@gmail.com> |
83 | ||
84 | * config/rs6000/sysv4.h (ENDIAN_SELECT): Define, extracted from | |
85 | (ASM_SPEC): ..here. Emit DEFAULT_ASM_ENDIAN too. | |
86 | (DEFAULT_ASM_ENDIAN): Define. | |
87 | (CC1_SPEC, LINK_TARGET_SPEC): Use ENDIAN_SELECT. | |
88 | * config/rs6000/linux64.h (ASM_SPEC32): Remove endian options. | |
89 | Update -K PIC clause from sysv4.h. | |
90 | (ASM_SPEC_COMMON): Use ENDIAN_SELECT. | |
91 | (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Likewise. | |
92 | ||
54890767 AM |
93 | 2013-05-06 Alan Modra <amodra@gmail.com> |
94 | ||
95 | * config/rs6000/rs6000.md (bswapdi 2nd splitter): Don't swap words | |
96 | twice for little-endian. | |
97 | (ashrdi3_no_power, ashrdi3): Support little-endian. | |
98 | ||
2353515d OE |
99 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
100 | ||
101 | PR target/55303 | |
102 | * config/sh/sh.c (sh_rtx_costs): Handle SMIN and SMAX cases. | |
103 | * config/sh/sh.md (*clips, uminsi3, *clipu, clipu_one): New insns and | |
104 | related expanders. | |
105 | * config/sh/iterators.md (SMIN_SMAX): New code iterator. | |
106 | * config/sh/predicates.md (arith_reg_or_0_or_1_operand, | |
107 | clips_min_const_int, clips_max_const_int, clipu_max_const_int): | |
108 | New predicates. | |
109 | ||
33e67557 SB |
110 | 2013-05-05 Steven Bosscher <steven@gcc.gnu.org> |
111 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
112 | ||
113 | * config.gcc (hppa*-*-*): Remove MASK_BIG_SWITCH from CPU default. | |
114 | * config/pa/pa.opt: Make mbig-switch a no-op. | |
115 | * config/pa/pa.h (TARGET_DEFAULT): Remove MASK_BIG_SWITCH. | |
116 | (CASE_VECTOR_MODE): Always return SImode. | |
117 | (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove code | |
118 | for the !TARGET_BIG_SWITCH case. | |
119 | * config/pa/pa-linux.h: Likewise. | |
120 | * config/pa/pa-openbsd.h: Likewise. | |
121 | * config/pa/pa-hpux.h: Define TARGET_DEFAULT to 0. | |
122 | * config/pa/pa.md (short_jump): Remove define_insn. | |
123 | (casesi): Remove code for the !TARGET_BIG_SWITCH case. | |
124 | (casesi0): Remove define_insn. | |
125 | (type): Remove btable_branch. | |
126 | (pa_combine_type): Likewise. | |
127 | (in_nullified_branch_delay): Likewise. | |
128 | (in_call_delay): Likewise. | |
129 | (define_delay): Likewise. | |
130 | (define_insn_reservation "Z3"): Likewise. | |
131 | (define_insn_reservation "Z4"): Likewise. | |
132 | * config/pa/pa.c (pa_reorg): Remove code for !TARGET_BIG_SWITCH. | |
133 | (pa_adjust_insn_length): Remove adjustment for btable branches. | |
134 | * doc/invoke.texi (HPPA Options): Delete documentation for mbig-switch | |
135 | and mno-big-switch | |
136 | ||
3095685e UB |
137 | 2013-05-05 Uros Bizjak <ubizjak@gmail.com> |
138 | ||
139 | * config/i386/sse.md (*vec_extract<ssevecmodelower>_0): Merge | |
140 | from sse2_stored and *sse2_storeq_rex64 using SWI48 mode iterator. | |
141 | Add m->r,x alternatives. | |
142 | (*vec_extract<ssevecmodelower>_0 splitters): Merge V2DI and V4SI | |
143 | splitters using SWI48x mode iterator. | |
144 | (*vec_extract_v2di_0_sse): Rename from *sse2_storeq. Disable for | |
145 | TARGET_64BIT. Add m->x alternative. | |
146 | (*vec_extractv4si_mem): Rename from *vec_ext_v4si_mem. | |
147 | Add o->x alternative. Enable for TARGET_SSE. | |
148 | (sse_storeq): Remove expander. | |
149 | (*vec_extractv2di_1): Enable for TARGET_SSE. Split alternatives | |
150 | with memory input operand. | |
151 | (*vec_extractv2di_1 splitter): New. | |
152 | (*vec_extractv4sf_mem): Rename from *vec_extract_v4sf_mem. | |
153 | * config/i386/i386.md (ssevecmodelower): New mode attribute. | |
154 | ||
4b36ae28 SB |
155 | 2013-05-04 Segher Boessenkool <segher@kernel.crashing.org> |
156 | ||
157 | * config/rs6000/rs6000.c (INT_P): Reformat. Delete obsolete comment. | |
158 | (INT_LOWPART): Delete. | |
159 | (extract_MB): Adjust. | |
160 | (extract_ME): Adjust. | |
161 | (print_operand): Adjust. | |
162 | ||
da226db2 SB |
163 | 2013-05-04 Segher Boessenkool <segher@kernel.crashing.org> |
164 | ||
165 | * config/rs6000/predicates.md (reg_or_add_cint_operand, | |
166 | reg_or_sub_cint_operand): Delete "HOST_BITS_PER_WIDE_INT == 32" case. | |
167 | (reg_or_logical_cint_operand, easy_fp_constant, | |
168 | logical_const_operand): Delete "CONST_DOUBLE" case. | |
169 | * config/rs6000/rs6000.c (num_insns_constant_wide): Delete | |
170 | "HOST_BITS_PER_WIDE_INT == 64" test. | |
3095685e | 171 | (num_insns_constant): Ditto. Delete CONST_DOUBLE DImode/VOIDmode case. |
da226db2 SB |
172 | (build_mask64_2_operands): Delete "HOST_BITS_PER_WIDE_INT >= 64" test. |
173 | (rs6000_emit_set_const): Delete CONST_DOUBLE case. | |
174 | (rs6000_emit_set_long_const): Delete "HOST_BITS_PER_WIDE_INT >= 64" | |
175 | test. | |
176 | (includes_rldic_lshift_p, includes_rldicr_lshift_p): Delete | |
177 | CONST_DOUBLE DImode/VOIDmode case. | |
178 | (INT_P, INT_LOWPART): Delete CONST_DOUBLE case. | |
179 | (print_operand): Delete "HOST_BITS_PER_WIDE_INT == 32" case. Delete | |
180 | CONST_DOUBLE VOIDmode case. | |
181 | (output_toc): Delete "HOST_BITS_PER_WIDE_INT == 32" case. | |
182 | (rs6000_rtx_costs): Delete CONST_DOUBLE DImode/VOIDmode case. | |
183 | * config/rs6000/rs6000.md (iordi3, xordi3, splitter for these): | |
184 | Delete CONST_DOUBLE case. | |
185 | (splitters for mov FMOVE64 const_double): Delete | |
186 | "HOST_BITS_PER_WIDE_INT == 32" case. Delete | |
187 | "HOST_BITS_PER_WIDE_INT >= 64" test. | |
188 | (splitter for mov DI const_int): Delete "HOST_BITS_PER_WIDE_INT == 32" | |
189 | case. | |
190 | (mov DI const_double): Delete. | |
191 | ||
40de22d6 JJ |
192 | 2013-05-04 Jakub Jelinek <jakub@redhat.com> |
193 | ||
194 | * combine.c (combine_simplify_rtx) <case SUBREG>: If nonzero_bits | |
195 | on op shows all bits zero in mode of a lowpart subreg, return zero. | |
196 | ||
5ec6aff2 MM |
197 | 2013-05-03 Michael Meissner <meissner@linux.vnet.ibm.com> |
198 | ||
199 | PR target/57150 | |
200 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Use DFmode | |
201 | to save TFmode registers and DImode to save TImode registers for | |
202 | caller save operations. | |
203 | (HARD_REGNO_CALL_PART_CLOBBERED): TFmode and TDmode do not need to | |
204 | mark being partially clobbered since they only use the first | |
205 | double word. | |
206 | ||
207 | * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): TFmode | |
208 | and TDmode only use the upper 64-bits of each VSX register. | |
209 | ||
2cefad90 BS |
210 | 2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
211 | ||
212 | * gimple-ssa-strength-reduction.c (slsr_process_phi): Disable. | |
213 | (find_candidates_in_block): Disable slsr_process_phi. | |
214 | ||
d6d7eee1 GW |
215 | 2013-05-03 Guozhi Wei <carrot@google.com> |
216 | ||
217 | * coverage.c (coverage_obj_init): Move the construction of gcov | |
3095685e UB |
218 | constructor to ... |
219 | (build_init_ctor): ... here. | |
d6d7eee1 | 220 | |
9b92d12b BS |
221 | 2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
222 | ||
223 | * gimple-ssa-strength-reduction.c (cand_kind): Add CAND_PHI. | |
224 | (slsr_cand_d): Redefine def_phi. | |
225 | (stride_status, phi_adjust_status, count_phis_status): New enums. | |
226 | (find_phi_def): New. | |
227 | (find_basis_for_base_expr): New. | |
228 | (find_basis_for_candidate): Handle hidden bases. | |
229 | (alloc_cand_and_find_basis): Handle phi candidates. | |
230 | (slsr_process_phi): New. | |
231 | (create_mul_ssa_cand): Exclude phi base candidates; use integer_onep. | |
232 | (create_mul_imm_cand): Likewise. | |
233 | (create_add_ssa_cand): Exclude phi base candidates. | |
234 | (create_add_imm_cand): Likewise. | |
235 | (slsr_process_cast): Likewise. | |
236 | (slsr_process_copy): Likewise. | |
237 | (find_candidates_in_block): Handle phi candidates. | |
238 | (dump_candidate): Likewise. | |
239 | (unconditional_cands): Delete. | |
240 | (unconditional_cands_with_known_stride_p): Delete. | |
241 | (phi_dependent_cand_p): New. | |
242 | (cand_increment): Handle phi-dependent candidates. | |
243 | (replace_dependent): Delete. | |
244 | (replace_mult_candidate): New. | |
245 | (replace_unconditional_candidate): New. | |
246 | (incr_vec_index): Move to avoid forward reference. | |
247 | (create_add_on_incoming_edge): New. | |
248 | (create_phi_basis): New. | |
249 | (replace_dependents): Delete. | |
250 | (replace_conditional_candidate): New. | |
251 | (phi_add_costs): New. | |
252 | (replace_uncond_cands_and_profitable_phis): New. | |
253 | (record_increment): Handle phi adjustments. | |
254 | (record_phi_increments): New. | |
255 | (record_increments): Handle phi adjustments. | |
256 | (phi_incr_cost): New. | |
257 | (lowest_cost_path): Handle phis. | |
258 | (total_savings): Likewise. | |
259 | (analyze_increments): Likewise. | |
260 | (ncd_with_phi): New. | |
261 | (ncd_of_cand_and_phis): New. | |
262 | (nearest_common_dominator_for_cands): Handle phi increments. | |
263 | (all_phi_incrs_profitable): New. | |
264 | (replace_profitable_candidates): Handle phi-dependent candidates. | |
265 | (analyze_candidates_and_replace): Likewise. | |
266 | ||
68f073d4 TJ |
267 | 2013-05-03 Teresa Johnson <tejohnson@google.com> |
268 | ||
269 | PR bootstrap/57154 | |
270 | * sched-rgn.c (compute_dom_prob_ps): Ensure accumulated probabilities | |
271 | do not exceed REG_BR_PROB_BASE. | |
272 | ||
a4ee7cb9 JL |
273 | 2013-05-03 Jeff Law <law@redhat.com> |
274 | ||
ade67f70 | 275 | PR tree-optimization/57144 |
a4ee7cb9 JL |
276 | * tree-vrp.c (simplify_cond_using_ranges): Verify the constant |
277 | operand of the condition will bit into the new type when eliminating | |
278 | a cast feeding a condition. | |
279 | ||
47954c4e JJ |
280 | 2013-05-03 Jakub Jelinek <jakub@redhat.com> |
281 | ||
282 | PR rtl-optimization/57130 | |
3095685e UB |
283 | * combine.c (make_compound_operation) <case SUBREG>: Pass SET instead |
284 | of COMPARE as in_code to the recursive call if needed. | |
47954c4e | 285 | |
3c21604f UB |
286 | 2013-05-03 Uros Bizjak <ubizjak@gmail.com> |
287 | ||
288 | * config/i386/i386.md (isa): Add x64_sse4_noavx and x64_avx members. | |
289 | (enabled): Handle new members. | |
290 | * config/i386/sse.md (*vec_concatv2si): Merge from | |
291 | *vec_concatv2si_sse2 and vec_concatv2si_sse. | |
292 | (vec_concatv2di): Merge with *vec_concatv2di_rex64. | |
293 | ||
95c03b36 JR |
294 | 2013-05-03 Joern Rennecke <joern.rennecke@embecosm.com> |
295 | ||
296 | PR tree-optimization/57027 | |
297 | * tree-ssa-math-opts.c (convert_mult_to_fma): When checking | |
298 | for fnms opportunity, check we got the prerequisite kind | |
299 | of tree / gimple before using accessor functions. | |
300 | ||
07bfc9ec RB |
301 | 2013-05-03 Richard Biener <rguenther@suse.de> |
302 | ||
303 | * double-int.h (lshift): New overload without precision | |
304 | and arith argument. | |
305 | (operator *=, operator +=, operator -=): Move ... | |
306 | * double-int.c (operator *=, operator +=, operator -=): ... here | |
307 | and implement more efficiently. | |
308 | (mul_double_with_sign): Remove. | |
309 | (lshift_double): Adjust to take unsinged shift argument, push | |
310 | dispatching code to callers. | |
311 | (mul_double_wide_with_sign): Add early out for callers that | |
312 | are not interested in high parts or overflow. | |
313 | (lshift): New function. | |
314 | (lshift, rshift, alshift, arshift, llshift, lrshift): Add | |
315 | dispatch code here. | |
316 | (lrotate, rrotate): Use logical shifts. | |
317 | * expr.c (get_inner_reference): Use lshift. | |
318 | * fixed-value.c (do_fixed_divide): Likewise. | |
319 | * tree-dfa.c (get_ref_base_and_extent): Likewise. | |
320 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise. | |
321 | (indirect_refs_may_alias_p): Likewise. | |
322 | (stmt_kills_ref_p_1): Likewise. | |
323 | ||
7769bb64 VP |
324 | 2013-05-03 Vidya Praveen <vidyapraveen@arm.com> |
325 | ||
326 | * config/aarch64/aarch64-simd.md (simd_fabd): Correct the description. | |
327 | ||
1d0c8e5c VP |
328 | 2013-05-03 Vidya Praveen <vidyapraveen@arm.com> |
329 | ||
330 | * config/aarch64/aarch64-simd.md (*fabd_scalar<mode>3): Support | |
331 | scalar form of FABD instruction. | |
332 | ||
f15feaf9 VM |
333 | 2013-05-02 Vladimir Makarov <vmakarov@redhat.com> |
334 | ||
335 | * lra-constraints.c (process_alt_operands): Add checking alt | |
336 | number to choose the best alternative. | |
337 | ||
d90e76d4 RB |
338 | 2013-05-02 Richard Biener <rguenther@suse.de> |
339 | ||
340 | * tree-eh.c (cleanup_empty_eh_merge_phis): Remove rename_virts | |
341 | bitmap and its handling. | |
342 | (pass_cleanup_eh): Set todo_flags_finish to TODO_verify_ssa. | |
343 | ||
9f8e7a96 RB |
344 | 2013-05-02 Richard Biener <rguenther@suse.de> |
345 | ||
346 | PR middle-end/57140 | |
347 | * tree-inline.c (copy_loops): Properly handle removed loops. | |
348 | (copy_cfg_body): Mark destination loops for fixup if source | |
349 | loops needed fixup. | |
350 | ||
f3a81b39 GY |
351 | 2013-05-02 Greta Yorsh <Greta.Yorsh@arm.com> |
352 | ||
353 | PR target/56732 | |
354 | * config/arm/arm.c (arm_expand_epilogue): Check really_return before | |
355 | generating simple_return for naked functions. | |
356 | ||
7b920a9a MJ |
357 | 2013-05-02 Martin Jambor <mjambor@suse.cz> |
358 | ||
359 | PR middle-end/56988 | |
360 | * ipa-prop.h (ipa_agg_replacement_value): New flag by_ref. | |
361 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Also check that by_ref | |
362 | flags match. | |
363 | (find_aggregate_values_for_callers_subset): Fill in the by_ref flag of | |
364 | ipa_agg_replacement_value structures. | |
365 | (known_aggs_to_agg_replacement_list): Likewise. | |
366 | * ipa-prop.c (write_agg_replacement_chain): Stream by_ref flag. | |
367 | (read_agg_replacement_chain): Likewise. | |
368 | (ipcp_transform_function): Also check that by_ref flags match. | |
369 | ||
2c41c19d RB |
370 | 2013-05-02 Richard Biener <rguenther@suse.de> |
371 | ||
372 | * graphds.h (struct graph): Add obstack member. | |
373 | * graphds.c (new_graph): Initialize obstack and allocate | |
374 | vertices from it. | |
375 | (add_edge): Allocate edge from the obstack. | |
3c21604f | 376 | (free_graph): Free the obstack instead of all edges and vertices. |
2c41c19d | 377 | |
8b47039c TJ |
378 | 2013-05-02 Teresa Johnson <tejohnson@google.com> |
379 | ||
380 | * loop-unswitch.c (unswitch_loop): Use helper routines with rounding | |
381 | divides. | |
382 | * cfg.c (update_bb_profile_for_threading): Ditto. | |
383 | * tree-inline.c (copy_bb): Ditto. | |
384 | (copy_edges_for_bb): Ditto. | |
385 | (initialize_cfun): Ditto. | |
386 | (copy_cfg_body): Ditto. | |
387 | (expand_call_inline): Ditto. | |
388 | * ipa-inline-analysis.c (estimate_edge_size_and_time): Ditto. | |
389 | (estimate_node_size_and_time): Ditto. | |
390 | (inline_merge_summary): Ditto. | |
391 | * cgraphclones.c (cgraph_clone_edge): Ditto. | |
392 | (cgraph_clone_node): Ditto. | |
393 | * sched-rgn.c (compute_dom_prob_ps): Ditto. | |
394 | (compute_trg_info): Ditto. | |
395 | ||
da65928c IB |
396 | 2013-05-02 Ian Bolton <ian.bolton@arm.com> |
397 | ||
398 | * config/aarch64/aarch64.md (movsi_aarch64): Only allow to/from | |
399 | S reg when fp attribute set. | |
400 | (movdi_aarch64): Only allow to/from D reg when fp attribute set. | |
401 | ||
add3c965 IB |
402 | 2013-05-02 Ian Bolton <ian.bolton@arm.com> |
403 | ||
404 | * config/aarch64/aarch64.md (*and_one_cmpl<mode>3_compare0): | |
405 | New pattern. | |
406 | (*and_one_cmplsi3_compare0_uxtw): Likewise. | |
407 | (*and_one_cmpl_<SHIFT:optab><mode>3_compare0): Likewise. | |
408 | (*and_one_cmpl_<SHIFT:optab>si3_compare0_uxtw): Likewise. | |
409 | ||
fdd43ac4 RB |
410 | 2013-05-02 Richard Biener <rguenther@suse.de> |
411 | ||
412 | * tree-scalar-evolution.c (scev_info_hasher): Remove. | |
413 | (struct instantiate_cache_entry): New type. | |
414 | (struct instantiate_cache_entry_hasher): New hashtable descriptor. | |
415 | (struct instantiate_cache_type): New type. | |
416 | (set_instantiated_value, get_instantiated_value): Remove. | |
417 | (get_instantiated_value_entry): New function. | |
418 | (instantiate_scev_name): Use the new cache and adjust. | |
419 | (instantiate_scev_poly): Adjust. | |
420 | (instantiate_scev_binary): Likewise. | |
421 | (instantiate_array_ref): Likewise. | |
422 | (instantiate_scev_convert): Likewise. | |
423 | (instantiate_scev_not): Likewise. | |
424 | (instantiate_scev_3): Likewise. | |
425 | (instantiate_scev_2): Likewise. | |
426 | (instantiate_scev_r): Likewise. | |
427 | (instantiate_scev): Likewise. | |
428 | (resolve_mixers): Likewise. | |
429 | ||
36ff9dfb VM |
430 | 2013-05-01 Vladimir Makarov <vmakarov@redhat.com> |
431 | ||
432 | PR target/57091 | |
433 | * lra-constraints.c (best_small_class_operands_num): Remove. | |
434 | (process_alt_operands): Remove small_class_operands_num. Take | |
435 | small classes operands into losers and only if the operand is not | |
436 | matched. Modify debugging output. | |
437 | (curr_insn_transform): Remove best_small_class_operands_num. | |
438 | Print insn name. | |
439 | ||
36054fab JG |
440 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
441 | ||
442 | * config/aarch64/aarch64-builtins.c | |
443 | (aarch64_gimple_fold_builtin.c): Fold more modes for reduc_splus_. | |
444 | * config/aarch64/aarch64-simd-builtins.def | |
445 | (reduc_splus_): Add new modes. | |
446 | (reduc_uplus_): New. | |
447 | * config/aarch64/aarch64-simd.md (aarch64_addvv4sf): Remove. | |
448 | (reduc_uplus_v4sf): Likewise. | |
449 | (reduc_splus_v4sf): Likewise. | |
450 | (aarch64_addv<mode>): Likewise. | |
451 | (reduc_uplus_<mode>): Likewise. | |
452 | (reduc_splus_<mode>): Likewise. | |
453 | (aarch64_addvv2di): Likewise. | |
454 | (reduc_uplus_v2di): Likewise. | |
455 | (reduc_splus_v2di): Likewise. | |
456 | (aarch64_addvv2si): Likewise. | |
457 | (reduc_uplus_v2si): Likewise. | |
458 | (reduc_splus_v2si): Likewise. | |
459 | (reduc_<sur>plus_<mode>): New. | |
460 | (reduc_<sur>plus_v2di): Likewise. | |
461 | (reduc_<sur>plus_v2si): Likewise. | |
462 | (reduc_<sur>plus_v4sf): Likewise. | |
463 | (aarch64_addpv4sf): Likewise. | |
464 | * config/aarch64/arm_neon.h | |
465 | (vaddv<q>_<s,u,f><8, 16, 32, 64): Rewrite using builtins. | |
466 | * config/aarch64/iterators.md (unspec): Remove UNSPEC_ADDV, | |
467 | add UNSPEC_SADDV, UNSPEC_UADDV. | |
468 | (SUADDV): New. | |
469 | (sur): Add UNSPEC_SADDV, UNSPEC_UADDV. | |
470 | ||
6dce23a8 JG |
471 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
472 | ||
473 | * config/aarch64/arm_neon.h | |
474 | (v<max,min><nm><q><v>_<sfu><8, 16, 32, 64>): Rewrite using builtins. | |
475 | ||
1598945b JG |
476 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
477 | ||
478 | * config/aarch64/aarch64-builtins | |
479 | (aarch64_gimple_fold_builtin): Fold reduc_<su><maxmin>_ builtins. | |
480 | ||
998eaf97 JG |
481 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
482 | ||
483 | * config/aarch64/aarch64-simd-builtins.def | |
484 | (reduc_smax_): New. | |
485 | (reduc_smin_): Likewise. | |
486 | (reduc_umax_): Likewise. | |
487 | (reduc_umin_): Likewise. | |
488 | (reduc_smax_nan_): Likewise. | |
489 | (reduc_smin_nan_): Likewise. | |
490 | (fmax): Remove. | |
491 | (fmin): Likewise. | |
492 | (smax): Update for V2SF, V4SF and V2DF modes. | |
493 | (smin): Likewise. | |
494 | (smax_nan): New. | |
495 | (smin_nan): Likewise. | |
496 | * config/aarch64/aarch64-simd.md (<maxmin><mode>3): Rename to... | |
497 | (<su><maxmin><mode>3): ...This, refactor. | |
498 | (s<maxmin><mode>3): New. | |
499 | (<maxmin_uns><mode>3): Likewise. | |
500 | (reduc_<maxmin_uns>_<mode>): Refactor. | |
501 | (reduc_<maxmin_uns>_v4sf): Likewise. | |
502 | (reduc_<maxmin_uns>_v2si): Likewise. | |
503 | (aarch64_<fmaxmin><mode>: Remove. | |
504 | * config/aarch64/arm_neon.h (vmax<q>_f<32,64>): Rewrite to use | |
505 | new builtin names. | |
506 | (vmin<q>_f<32,64>): Likewise. | |
507 | * config/iterators.md (unspec): Add UNSPEC_FMAXNMV, UNSPEC_FMINNMV. | |
508 | (FMAXMIN): New. | |
509 | (su): Add mappings for smax, smin, umax, umin. | |
510 | (maxmin): New. | |
511 | (FMAXMINV): Add UNSPEC_FMAXNMV, UNSPEC_FMINNMV. | |
512 | (FMAXMIN): Rename as... | |
513 | (FMAXMIN_UNS): ...This. | |
514 | (maxminv): Remove. | |
515 | (fmaxminv): Likewise. | |
516 | (fmaxmin): Likewise. | |
517 | (maxmin_uns): New. | |
518 | (maxmin_uns_op): Likewise. | |
519 | ||
bd11644e JG |
520 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
521 | ||
522 | * config/aarch64/arm_neon.h | |
523 | (vac<ge, gt><sd>_f<32, 64>): Rename to... | |
524 | (vca<ge, gt><sd>_f<32, 64>): ...this, reimpliment in C. | |
525 | (vca<ge, gt, lt, le><q>_f<32, 64>): Reimpliment in C. | |
526 | ||
75dd5ace JG |
527 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
528 | ||
529 | * config/aarch64/aarch64-simd.md (*aarch64_fac<optab><mode>): New. | |
530 | * config/aarch64/iterators.md (FAC_COMPARISONS): New. | |
531 | ||
7c19979f JG |
532 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
533 | ||
534 | * config/aarch64/aarch64-simd.md | |
535 | (vcond<mode>_internal): Handle special cases for constant masks. | |
536 | (vcond<mode><mode>): Allow nonmemory_operands for outcome vectors. | |
537 | (vcondu<mode><mode>): Likewise. | |
538 | (vcond<v_cmp_result><mode>): New. | |
539 | ||
bb60efd9 JG |
540 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
541 | ||
542 | * config/aarch64/aarch64-builtins.c (BUILTIN_VALLDI): Define. | |
543 | (aarch64_fold_builtin): Add folding for cm<eq,ge,gt,tst>. | |
544 | * config/aarch64/aarch64-simd-builtins.def | |
545 | (cmeq): Update to BUILTIN_VALLDI. | |
546 | (cmgt): Likewise. | |
547 | (cmge): Likewise. | |
548 | (cmle): Likewise. | |
549 | (cmlt): Likewise. | |
550 | * config/aarch64/arm_neon.h | |
551 | (vc<eq, lt, le, gt, ge, tst><z><qsd>_<fpsu><8,16,32,64>): Remap | |
552 | to builtins or C as appropriate. | |
553 | ||
889b9412 JG |
554 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
555 | ||
556 | * config/aarch64/aarch64-simd-builtins.def (cmhs): Rename to... | |
557 | (cmgeu): ...This. | |
558 | (cmhi): Rename to... | |
559 | (cmgtu): ...This. | |
560 | * config/aarch64/aarch64-simd.md | |
561 | (simd_mode): Add SF. | |
562 | (aarch64_vcond_internal): Use new names for unsigned comparison insns. | |
563 | (aarch64_cm<optab><mode>): Rewrite to not use UNSPECs. | |
564 | * config/aarch64/aarch64.md (*cstore<mode>_neg): Rename to... | |
565 | (cstore<mode>_neg): ...This. | |
566 | * config/aarch64/iterators.md | |
567 | (VALLF): new. | |
568 | (unspec): Remove UNSPEC_CM<EQ, LE, LT, GE, GT, HS, HI, TST>. | |
569 | (COMPARISONS): New. | |
570 | (UCOMPARISONS): Likewise. | |
571 | (optab): Add missing comparisons. | |
572 | (n_optab): New. | |
573 | (cmp_1): Likewise. | |
574 | (cmp_2): Likewise. | |
575 | (CMP): Likewise. | |
576 | (cmp): Remove. | |
577 | (VCMP_S): Likewise. | |
578 | (VCMP_U): Likewise. | |
579 | (V_cmp_result): Add DF, SF modes. | |
580 | (v_cmp_result): Likewise. | |
581 | (v): Likewise. | |
582 | (vmtype): Likewise. | |
583 | * config/aarch64/predicates.md (aarch64_reg_or_fp_zero): New. | |
584 | ||
0a7dbb76 GY |
585 | 2013-05-01 Greta Yorsh <Greta.Yorsh@arm.com> |
586 | ||
587 | * config/arm/thumb2.md (thumb2_smaxsi3,thumb2_sminsi3): Convert | |
588 | define_insn to define_insn_and_split. | |
589 | (thumb32_umaxsi3,thumb2_uminsi3): Likewise. | |
590 | (thumb2_negdi2,thumb2_abssi2,thumb2_neg_abssi2): Likewise. | |
591 | (thumb2_mov_scc,thumb2_mov_negscc,thumb2_mov_notscc): Likewise. | |
592 | (thumb2_movsicc_insn,thumb2_and_scc,thumb2_ior_scc): Likewise. | |
593 | (thumb2_negscc): Likewise. | |
594 | ||
fb614ca6 GY |
595 | 2013-04-30 Greta Yorsh <Greta.Yorsh@arm.com> |
596 | ||
597 | * config/arm/thumb2.md (thumb2_incscc, thumb2_decscc): Delete. | |
598 | ||
9e64a0bf GY |
599 | 2013-04-30 Greta Yorsh <Greta.Yorsh@arm.com> |
600 | ||
601 | * config/arm/thumb2.md: Remove trailing whitespaces. | |
602 | ||
d6b28156 RS |
603 | 2013-04-30 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
604 | ||
605 | * explow.c (plus_constant): Pass "mode" to immed_double_int_const. | |
606 | Use gen_int_mode rather than GEN_INT. | |
607 | ||
f91674c3 L |
608 | 2013-04-30 H.J. Lu <hongjiu.lu@intel.com> |
609 | ||
b0dec607 | 610 | * value-prof.c (stream_in_histogram_value): Remove the strayed |
f91674c3 L |
611 | debug_gimple_stmt. |
612 | ||
3551257c RB |
613 | 2013-04-30 Richard Biener <rguenther@suse.de> |
614 | ||
615 | PR middle-end/57122 | |
3c21604f | 616 | * cfghooks.c (split_edge): Properly check for the loop latch edge. |
3551257c | 617 | |
4c1aff1c RB |
618 | 2013-04-30 Richard Biener <rguenther@suse.de> |
619 | ||
620 | PR middle-end/57107 | |
621 | * tree-eh.c (sink_clobbers): Preserve virtual SSA form. | |
622 | ||
54b8379a AB |
623 | 2013-04-30 Andrey Belevantsev <abel@ispras.ru> |
624 | ||
625 | PR rtl-optimization/56957 | |
626 | PR rtl-optimization/57105 | |
54b8379a AB |
627 | * sel-sched.c (move_op_orig_expr_found): Remove insn_emitted |
628 | variable. Use just INSN_UID for determining whether an insn | |
629 | should be only disconnected from the insn stream. | |
630 | * sel-sched-ir.h (EXPR_WAS_CHANGED): Remove. | |
631 | ||
abc27962 JJ |
632 | 2013-04-30 Jakub Jelinek <jakub@redhat.com> |
633 | ||
634 | PR tree-optimization/57104 | |
635 | * tsan.c (instrument_expr): Don't instrument accesses to | |
636 | DECL_HARD_REGISTER VAR_DECLs. | |
637 | ||
0fc822d0 RB |
638 | 2013-04-30 Richard Biener <rguenther@suse.de> |
639 | ||
640 | * function.h (loops_for_fn): New inline function. | |
641 | (set_loops_for_fn): Likewise. | |
642 | * cfgloop.h (place_new_loop): Add struct function parameter. | |
643 | (get_loop): Likewise. | |
644 | (get_loops): Likewise. | |
645 | (number_of_loops): Likewise. | |
646 | (fel_next): Adjust. | |
647 | (fel_init): Likewise. | |
648 | * cfg.c (get_loop_copy): Adjust. | |
649 | * cfgloop.c (flow_loops_dump): Likewise. | |
650 | (record_loop_exits): Likewise. | |
651 | (verify_loop_structure): Likewise. | |
652 | * cfgloopanal.c (mark_irreducible_loops): Likewise. | |
653 | (estimate_reg_pressure_cost): Likewise. | |
654 | (mark_loop_exit_edges): Likewise. | |
655 | * cfgloopmanip.c (place_new_loop): Likewise. | |
656 | (add_loop): Likewise. | |
657 | (duplicate_loop): Likewise. | |
658 | * graph.c (draw_cfg_nodes): Likewise. | |
659 | * graphite-clast-to-gimple.c (translate_clast_user): Likewise. | |
660 | * graphite-sese-to-poly.c (build_scop_scattering): Likewise. | |
661 | (extract_affine_chrec): Likewise. | |
662 | (build_scop_iteration_domain): Likewise. | |
663 | * graphite.c (graphite_initialize): Likewise. | |
664 | * ira-build.c (create_loop_tree_nodes): Likewise. | |
665 | (more_one_region_p): Likewise. | |
666 | (rebuild_regno_allocno_maps): Likewise. | |
667 | (mark_loops_for_removal): Likewise. | |
668 | (mark_all_loops_for_removal): Likewise. | |
669 | (remove_unnecessary_regions): Likewise. | |
670 | (ira_build): Likewise. | |
671 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
672 | * loop-init.c (fix_loop_structure): Likewise. | |
673 | (gate_rtl_move_loop_invariants): Likewise. | |
674 | (gate_rtl_unswitch): Likewise. | |
675 | (gate_rtl_unroll_and_peel_loops): Likewise. | |
676 | (rtl_doloop): Likewise. | |
677 | * lto-streamer-in.c (input_cfg): Likewise. | |
678 | * lto-streamer-out.c (output_cfg): Likewise. | |
679 | * modulo-sched.c (sms_schedule): Likewise. | |
680 | * predict.c (tree_estimate_probability): Likewise. | |
681 | (tree_estimate_probability_driver): Likewise. | |
682 | (estimate_loops): Likewise. | |
683 | * tree-cfg.c (fixup_loop_arrays_after_move): Likewise. | |
684 | (move_sese_region_to_fn): Likewise. | |
685 | (debug_loop_num): Likewise. | |
686 | * tree-chrec.c (chrec_evaluate): Likewise. | |
687 | (hide_evolution_in_other_loops_than_loop): Likewise. | |
688 | (chrec_component_in_loop_num): Likewise. | |
689 | (reset_evolution_in_loop): Likewise. | |
690 | (evolution_function_is_invariant_rec_p): Likewise. | |
691 | * tree-if-conv.c (main_tree_if_conversion): Likewise. | |
692 | * tree-inline.c (copy_loops): Likewise. | |
693 | (copy_cfg_body): Likewise. | |
694 | (tree_function_versioning): Likewise. | |
695 | * tree-loop-distribution.c (rdg_flag_loop_exits): Likewise. | |
696 | * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop): | |
697 | Likewise. | |
698 | (add_to_evolution_1): Likewise. | |
699 | (scev_const_prop): Likewise. | |
700 | * tree-scalar-evolution.h (get_chrec_loop): Likewise. | |
701 | * tree-ssa-loop-ch.c (copy_loop_headers): Likewise. | |
702 | * tree-ssa-loop-im.c (analyze_memory_references): Likewise. | |
703 | (tree_ssa_lim_initialize): Likewise. | |
704 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Likewise. | |
705 | (verify_loop_closed_ssa): Likewise. | |
706 | * tree-ssa-loop.c (tree_ssa_loop_init): Likewise. | |
707 | (tree_ssa_loop_im): Likewise. | |
708 | (tree_ssa_loop_unswitch): Likewise. | |
709 | (tree_vectorize): Likewise. | |
710 | (check_data_deps): Likewise. | |
711 | (tree_ssa_loop_ivcanon): Likewise. | |
712 | (tree_ssa_loop_bounds): Likewise. | |
713 | (tree_complete_unroll): Likewise. | |
714 | (tree_complete_unroll_inner): Likewise. | |
715 | (tree_parallelize_loops): Likewise. | |
716 | (tree_ssa_loop_prefetch): Likewise. | |
717 | (tree_ssa_loop_ivopts): Likewise. | |
718 | * tree-ssa.c (execute_update_addresses_taken): Liekwise. | |
719 | * tree-vectorizer.c (vectorize_loops): Likewise. | |
720 | ||
37953bd3 MF |
721 | 2013-04-29 Mike Frysinger <vapier@gentoo.org> |
722 | ||
723 | * config/arm/bpabi.h (EABI_LINK_SPEC): Define. | |
724 | (BPABI_LINK_SPEC): Use new EABI_LINK_SPEC. | |
725 | * config/arm/linux-eabi.h (LINK_SPEC): Replace BE8_LINK_SPEC | |
726 | with EABI_LINK_SPEC. | |
727 | ||
f9ed28db UB |
728 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
729 | ||
730 | PR target/44578 | |
731 | * config/i386/i386.md (*zero_extendsidi2): Add "!" to m->?*y | |
732 | alternative. | |
733 | ||
deca73f5 VM |
734 | 2013-04-29 Vladimir Makarov <vmakarov@redhat.com> |
735 | ||
736 | PR target/57097 | |
37953bd3 | 737 | * lra-constraints.c (process_alt_operands): Discourage a bit more |
deca73f5 VM |
738 | using memory for pseudos. Print cost dump for alternatives. |
739 | Modify cost values for conflicts with early clobbers. | |
740 | (curr_insn_transform): Spill pseudos reassigned to NO_REGS. | |
741 | ||
fdca7d03 UB |
742 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
743 | ||
744 | PR target/57098 | |
745 | * config/i386/i386.c (ix86_expand_vec_perm): Validize constant memory. | |
746 | ||
0b064172 IB |
747 | 2013-04-29 Ian Bolton <ian.bolton@arm.com> |
748 | ||
749 | * config/aarch64/aarch64.md (movsi_aarch64): Support LDR/STR | |
750 | from/to S register. | |
751 | (movdi_aarch64): Support LDR/STR from/to D register. | |
752 | ||
473cec55 IB |
753 | 2013-04-29 Ian Bolton <ian.bolton@arm.com> |
754 | ||
755 | * common/config/aarch64/aarch64-common.c: Enable REE pass at O2 | |
756 | or higher by default. | |
757 | ||
a6f30e66 RB |
758 | 2013-04-29 Richard Biener <rguenther@suse.de> |
759 | ||
760 | PR middle-end/57075 | |
761 | * tree-inline.c (copy_edges_for_bb): Still split the bbs, | |
762 | even if not adding abnormal edges for calls that can make | |
763 | abnormal gotos. | |
764 | ||
0c2b2040 RB |
765 | 2013-04-29 Richard Biener <rguenther@suse.de> |
766 | ||
767 | PR middle-end/57103 | |
768 | * tree-cfg.c (move_stmt_op): Fix condition under which to update | |
769 | TREE_BLOCK. | |
770 | (move_stmt_r): Remove redundant checking. | |
771 | ||
f41f80f9 TJ |
772 | 2013-04-29 Teresa Johnson <tejohnson@google.com> |
773 | ||
774 | PR bootstrap/57077 | |
775 | * basic-block.h (apply_scale): New function. | |
776 | (apply_probability): Use apply_scale. | |
777 | * gimple-streamer-in.c (input_bb): Ditto. | |
778 | * lto-streamer-in.c (input_cfg): Ditto. | |
779 | * lto-cgraph.c (merge_profile_summaries): Ditto. | |
780 | * tree-optimize.c (execute_fixup_cfg): Ditto. | |
fdca7d03 | 781 | * tree-inline.c (copy_bb): Update comment to use apply_scale. |
f41f80f9 TJ |
782 | (copy_edges_for_bb): Ditto. |
783 | (copy_cfg_body): Ditto. | |
784 | ||
315bbd2e TV |
785 | 2013-04-29 Tom de Vries <tom@codesourcery.com> |
786 | ||
787 | * tree-ssa-tail-merge.c (find_same_succ_bb): Skip loop latch bbs. | |
788 | (replace_block_by): Don't set LOOPS_NEED_FIXUP. | |
789 | (tail_merge_optimize): Handle current_loops == NULL. | |
790 | ||
ebbd90d8 JL |
791 | 2013-04-26 Jeff Law <law@redhat.com> |
792 | ||
793 | * tree-vrp.c (range_fits_type_p): Move to earlier point in file. | |
794 | (simplify_cond_using_ranges): Generalize code to simplify | |
795 | COND_EXPRs where one argument is a constant and the other | |
796 | is an SSA_NAME created by an integral type conversion. | |
797 | ||
8b9b57eb KT |
798 | 2013-04-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
799 | ||
800 | * config/arm/arm.md (store_minmaxsi): Use only when | |
801 | optimize_insn_for_size_p. | |
802 | ||
9498e5dc CB |
803 | 2013-04-29 Christian Bruel <christian.bruel@st.com> |
804 | ||
805 | PR target/57108 | |
806 | * sh.md (tstsi_t_zero_extract_eq): Set mode for operand 0. | |
807 | ||
6093bc06 RB |
808 | 2013-04-29 Richard Biener <rguenther@suse.de> |
809 | ||
810 | PR middle-end/57089 | |
fdca7d03 UB |
811 | * omp-low.c (expand_omp_taskreg): If the parent function had a broken |
812 | loop tree make sure to schedule a fixup for the child as well. | |
6093bc06 RB |
813 | (expand_omp_for_generic): Properly add loops. |
814 | (expand_omp_for_static_nochunk): Likewise. | |
815 | (expand_omp_for_static_chunk): Likewise. | |
816 | (expand_omp_for): For the degenerate case fixup loops. | |
817 | (expand_omp_sections): Fix default bb placement in loops. | |
818 | (expand_omp_atomic_pipeline): Properly add loops. | |
819 | ||
84aacbfd KT |
820 | 2013-04-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
821 | ||
822 | * predict.c: Fix typo in comment above #define PROB_VERY_UNLIKELY. | |
823 | ||
8dee4479 TV |
824 | 2013-04-29 Tom de Vries <tom@codesourcery.com> |
825 | ||
826 | * tree-ssa-tail-merge.c: Update header comment. | |
827 | ||
47934dc4 JG |
828 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
829 | ||
830 | * config/aarch64/arm_neon.h | |
831 | (vcvt<sd>_f<32,64>_s<32,64>): Rewrite in C. | |
832 | (vcvt<q>_f<32,64>_s<32,64>): Rewrite using builtins. | |
833 | (vcvt_<high_>_f<32,64>_f<32,64>): Likewise. | |
834 | (vcvt<qsd>_<su><32,64>_f<32,64>): Likewise. | |
835 | (vcvta<qsd>_<su><32,64>_f<32,64>): Likewise. | |
836 | (vcvtm<qsd>_<su><32,64>_f<32,64>): Likewise. | |
837 | (vcvtn<qsd>_<su><32,64>_f<32,64>): Likewise. | |
838 | (vcvtp<qsd>_<su><32,64>_f<32,64>): Likewise. | |
839 | ||
384be29f JG |
840 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
841 | ||
842 | * config/aarch64/aarch64-simd.md | |
843 | (<optab><VDQF:mode><fcvt_target>2): New, maps to fix, fixuns. | |
844 | (<fix_trunc_optab><VDQF:mode><fcvt_target>2): New, maps to | |
845 | fix_trunc, fixuns_trunc. | |
846 | (ftrunc<VDQF:mode>2): New. | |
847 | * config/aarch64/iterators.md (optab): Add fix, fixuns. | |
848 | (fix_trunc_optab): New. | |
849 | ||
0386b123 JG |
850 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
851 | ||
852 | * config/aarch64/aarch64-builtins.c | |
853 | (aarch64_builtin_vectorized_function): Vectorize over ifloorf, | |
854 | iceilf, lround, iroundf. | |
855 | ||
00fcb892 UB |
856 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
857 | ||
858 | PR target/54349 | |
859 | * config/i386/i386.h (enum ix86_tune_indices) | |
860 | <X86_TUNE_INTER_UNIT_MOVES_TO_VEC, X86_TUNE_INTER_UNIT_MOVES_FROM_VEC>: | |
861 | New, split from X86_TUNE_INTER_UNIT_MOVES. | |
862 | <X86_TUNE_INTER_UNIT_MOVES>: Remove. | |
863 | (TARGET_INTER_UNIT_MOVES_TO_VEC): New define. | |
864 | (TARGET_INTER_UNIT_MOVES_FROM_VEC): Ditto. | |
865 | (TARGET_INTER_UNIT_MOVES): Remove. | |
866 | * config/i386/i386.c (initial_ix86_tune_features): Update. | |
867 | Disable X86_TUNE_INTER_UNIT_MOVES_FROM_VEC for m_ATHLON_K8 only. | |
868 | (ix86_expand_convert_uns_didf_sse): Use | |
869 | TARGET_INTER_UNIT_MOVES_TO_VEC instead of TARGET_INTER_UNIT_MOVES. | |
870 | (ix86_expand_vector_init_one_nonzero): Ditto. | |
871 | (ix86_expand_vector_init_interleave): Ditto. | |
872 | (inline_secondary_memory_needed): Return true for moves from SSE class | |
873 | registers for !TARGET_INTER_UNIT_MOVES_FROM_VEC targets and for moves | |
874 | to SSE class registers for !TARGET_INTER_UNIT_MOVES_TO_VEC targets. | |
875 | * config/i386/constraints.md (Yi, Ym): Depend on | |
876 | TARGET_INTER_UNIT_MOVES_TO_VEC. | |
877 | (Yj, Yn): New constraints. | |
878 | * config/i386/i386.md (*movdi_internal): Change constraints of | |
879 | operand 1 from Yi to Yj and from Ym to Yn. | |
880 | (*movsi_internal): Ditto. | |
881 | (*movdf_internal): Ditto. | |
882 | (*movsf_internal): Ditto. | |
883 | (*float<SWI48x:mode><X87MODEF:mode>2_1): Use | |
884 | TARGET_INTER_UNIT_MOVES_TO_VEC instead of TARGET_INTER_UNIT_MOVES. | |
885 | (*float<SWI48x:mode><X87MODEF:mode>2_1 splitters): Ditto. | |
886 | (floatdi<X87MODEF:mode>2_i387_with_xmm): Ditto. | |
887 | (floatdi<X87MODEF:mode>2_i387_with_xmm splitters): Ditto. | |
888 | * config/i386/sse.md (movdi_to_sse): Ditto. | |
889 | (sse2_stored): Change constraint of operand 1 from Yi to Yj. | |
890 | Use TARGET_INTER_UNIT_MOVES_FROM_VEC instead of | |
891 | TARGET_INTER_UNIT_MOVES. | |
892 | (sse_storeq_rex64): Change constraint of operand 1 from Yi to Yj. | |
893 | (sse_storeq_rex64 splitter): Use TARGET_INTER_UNIT_MOVES_FROM_VEC | |
894 | instead of TARGET_INTER_UNIT_MOVES. | |
895 | * config/i386/mmx.md (*mov<mode>_internal): Change constraint of | |
896 | operand 1 from Yi to Yj and from Ym to Yn. | |
897 | ||
4c871069 JG |
898 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
899 | ||
900 | * config/aarch64/aarch64-simd-builtins.def (vec_unpacks_hi_): New. | |
901 | (float_truncate_hi_): Likewise. | |
902 | (float_extend_lo_): Likewise. | |
903 | (float_truncate_lo_): Likewise. | |
904 | * config/aarch64/aarch64-simd.md (vec_unpacks_lo_v4sf): New. | |
905 | (aarch64_float_extend_lo_v2df): Likewise. | |
906 | (vec_unpacks_hi_v4sf): Likewise. | |
907 | (aarch64_float_truncate_lo_v2sf): Likewise. | |
908 | (aarch64_float_truncate_hi_v4sf): Likewise. | |
909 | (vec_pack_trunc_v2df): Likewise. | |
910 | (vec_pack_trunc_df): Likewise. | |
911 | ||
1709ff9b JG |
912 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
913 | ||
914 | * config/aarch64/aarch64-builtins.c | |
915 | (aarch64_fold_builtin): Fold float conversions. | |
916 | * config/aarch64/aarch64-simd-builtins.def | |
917 | (floatv2si, floatv4si, floatv2di): New. | |
918 | (floatunsv2si, floatunsv4si, floatunsv2di): Likewise. | |
919 | * config/aarch64/aarch64-simd.md | |
920 | (<optab><fcvt_target><VDQF:mode>2): New, expands to float and floatuns. | |
921 | * config/aarch64/iterators.md (FLOATUORS): New. | |
922 | (optab): Add float, floatuns. | |
923 | (su_optab): Likewise. | |
924 | ||
ce966824 JG |
925 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
926 | ||
927 | * config/aarch64/aarch64-builtins.c | |
928 | (aarch64_builtin_vectorized_function): Use new names for | |
929 | fcvt builtins. | |
930 | * config/aarch64/aarch64-simd-builtins.def (fcvtzs): Split as... | |
931 | (lbtruncv2sf, lbtruncv4sf, lbtruncv2df): ...This. | |
932 | (fcvtzu): Split as... | |
933 | (lbtruncuv2sf, lbtruncuv4sf, lbtruncuv2df): ...This. | |
934 | (fcvtas): Split as... | |
935 | (lroundv2sf, lroundv4sf, lroundv2df, lroundsf, lrounddf): ...This. | |
936 | (fcvtau): Split as... | |
937 | (lrounduv2sf, lrounduv4sf, lrounduv2df, lroundusf, lroundudf): ...This. | |
938 | (fcvtps): Split as... | |
939 | (lceilv2sf, lceilv4sf, lceilv2df): ...This. | |
940 | (fcvtpu): Split as... | |
941 | (lceiluv2sf, lceiluv4sf, lceiluv2df, lceilusf, lceiludf): ...This. | |
942 | (fcvtms): Split as... | |
943 | (lfloorv2sf, lfloorv4sf, lfloorv2df): ...This. | |
944 | (fcvtmu): Split as... | |
945 | (lflooruv2sf, lflooruv4sf, lflooruv2df, lfloorusf, lfloorudf): ...This. | |
946 | (lfrintnv2sf, lfrintnv4sf, lfrintnv2df, lfrintnsf, lfrintndf): New. | |
947 | (lfrintnuv2sf, lfrintnuv4sf, lfrintnuv2df): Likewise. | |
948 | (lfrintnusf, lfrintnudf): Likewise. | |
949 | * config/aarch64/aarch64-simd.md | |
950 | (l<fcvt_pattern><su_optab><fcvt_target><VDQF:mode>2): Convert to | |
951 | define_insn. | |
952 | (aarch64_fcvt<frint_suffix><su><mode>): Remove. | |
953 | * config/aarch64/iterators.md (FCVT): Include UNSPEC_FRINTN. | |
954 | (fcvt_pattern): Likewise. | |
955 | ||
b9de24fe JG |
956 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
957 | ||
958 | * config/aarch64/aarch64-simd.md | |
959 | (l<fcvt_pattern><su_optab><fcvt_target><VDQF:mode>2): Rename to... | |
960 | (l<fcvt_pattern><su_optab><VDQF:mode><fcvt_target>2): ... This. | |
961 | ||
77a205be JG |
962 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
963 | ||
964 | * config/aarch64/arm_neon.h (vrndq<a,m,n,p>_f<32, 64>): Rename to... | |
965 | (vrnd<a,m,n,p>q_f<32, 64>): ...This, implement using builtin. | |
966 | (vrnd<a,m,n,p>_f32): Implement using builtins. | |
967 | (vrnd<i,x><q>_f<32, 64>): New. | |
968 | ||
0659ce6f JG |
969 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
970 | ||
971 | * config/aarch64/aarch64-builtins.c | |
972 | (aarch64_builtin_vectorized_function): Fold to standard pattern names. | |
973 | * config/aarch64/aarch64-simd-builtins.def (frintn): New. | |
974 | (frintz): Rename to... | |
975 | (btrunc): ...this. | |
976 | (frintp): Rename to... | |
977 | (ceil): ...this. | |
978 | (frintm): Rename to... | |
979 | (floor): ...this. | |
980 | (frinti): Rename to... | |
981 | (nearbyint): ...this. | |
982 | (frintx): Rename to... | |
983 | (rint): ...this. | |
984 | (frinta): Rename to... | |
985 | (round): ...this. | |
986 | * config/aarch64/aarch64-simd.md | |
987 | (aarch64_frint<frint_suffix><mode>): Delete. | |
988 | (<frint_pattern><mode>2): Convert to insn. | |
989 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_FRINTN. | |
990 | * config/aarch64/iterators.md (FRINT): Add UNSPEC_FRINTN. | |
991 | (frint_pattern): Likewise. | |
992 | (frint_suffix): Likewise. | |
993 | ||
ea78906a RB |
994 | 2013-04-29 Richard Biener <rguenther@suse.de> |
995 | ||
996 | PR tree-optimization/57081 | |
997 | * loop-init.c: Include tree-flow.h. | |
998 | (loop_optimizer_finalize): Free number of iteration estimates. | |
999 | * Makefile.in (loop-init.o): Add $(TREE_FLOW_H) dependency. | |
1000 | ||
baee1763 JJ |
1001 | 2013-04-29 Jakub Jelinek <jakub@redhat.com> |
1002 | ||
94dc5332 JJ |
1003 | PR tree-optimization/57083 |
1004 | * tree-vrp.c (extract_range_from_binary_expr_1): For LSHIFT_EXPR with | |
1005 | non-singleton shift count range, zero extend low_bound for uns case. | |
1006 | ||
baee1763 JJ |
1007 | * config/i386/predicates.md (general_vector_operand): New predicate. |
1008 | * config/i386/i386.c (const_vector_equal_evenodd_p): New function. | |
1009 | (ix86_expand_mul_widen_evenodd): Force op1 resp. op2 into register | |
1010 | if they aren't nonimmediate operands. If their original values | |
1011 | satisfy const_vector_equal_evenodd_p, don't shift them. | |
1012 | * config/i386/sse.md (mul<mode>3): Use general_vector_operand | |
1013 | predicates. For the SSE4.1 case force operands[{1,2}] into registers | |
1014 | if not nonimmediate_operand. | |
1015 | (vec_widen_smult_even_v4si): Use nonimmediate_operand predicates | |
1016 | instead of register_operand. | |
1017 | (vec_widen_<s>mult_odd_<mode>): Use general_vector_operand predicates. | |
1018 | ||
22ad5e0a EB |
1019 | 2013-04-28 Eric Botcazou <ebotcazou@gcc.gnu.org> |
1020 | ||
1021 | * stor-layout.c (finalize_size_functions): Allocate a structure and | |
1022 | reset cfun before dumping the functions. | |
1023 | ||
ba8011e6 JJ |
1024 | 2013-04-27 Jakub Jelinek <jakub@redhat.com> |
1025 | ||
d6fde69e JJ |
1026 | * config/i386/i386.c (ix86_expand_call): Make cregs_size unsigned. |
1027 | ||
ba8011e6 JJ |
1028 | PR target/56866 |
1029 | * config/i386/i386.c (ix86_expand_mul_widen_evenodd): Don't | |
1030 | use xop_pmacsdqh if uns_p. | |
1031 | * config/i386/sse.md (xop_rotr<mode>3): Fix up computation of | |
1032 | the immediate rotate count. | |
1033 | ||
2c62cbaa VM |
1034 | 2013-04-26 Vladimir Makarov <vmakarov@redhat.com> |
1035 | ||
1036 | * rtl.h (struct rtx_def): Add comment for field jump. | |
1037 | (LRA_SUBREG_P): New macro. | |
1038 | * recog.c (register_operand): Check LRA_SUBREG_P. | |
1039 | * lra.c (lra): Add note at the end of RTL code. Align non-empty | |
1040 | stack frame. | |
1041 | * lra-spills.c (lra_spill): Align stack after spilling pseudos. | |
1042 | (lra_final_code_change): Skip subreg change for operators. | |
1043 | * lra-eliminations.c (eliminate_regs_in_insn): Make return earlier | |
1044 | if there are no operand changes. | |
1045 | * lra-constraints.c (curr_insn_set): New. | |
1046 | (match_reload): Set LRA_SUBREG_P. | |
1047 | (emit_spill_move): Ditto. | |
1048 | (check_and_process_move): Use curr_insn_set. Process only single | |
1049 | set insns. Don't initialize sec_mem_p and change_p. | |
1050 | (simplify_operand_subreg): Use LRA_SUBREG_P. | |
1051 | (reg_in_class_p): New function. | |
1052 | (process_alt_operands): Use it. Use #if HAVE_ATTR_enabled instead | |
1053 | of #ifdef. Add code to remove cycling. | |
1054 | (process_address): Check EXTRA_CONSTRAINT_STR. Process even if | |
1055 | non-null disp. Reload inner instead of disp when base and index | |
1056 | are null. Try to put lo_sum into register. | |
1057 | (EBB_PROBABILITY_CUTOFF): Redefine probability in percents. | |
1058 | (check_and_process_move): Move code for move cost check to | |
1059 | simple_move_p. Remove equiv_substitution. | |
1060 | (simple_move_p): New function. | |
1061 | (curr_insn_transform): Initialize sec_mem_p and change_p. Set up | |
1062 | curr_insn_set. Call check_and_process_move only for single set | |
1063 | insns. Use the new function. Move call of check_and_process_move | |
1064 | after operand equiv substitution and address process. | |
1065 | ||
e7d764f3 JJ |
1066 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
1067 | ||
1068 | PR go/57045 | |
1069 | * tree-ssa-uninit.c (compute_uninit_opnds_pos): In functions | |
1070 | with nonlocal goto receivers or returns twice calls, ignore | |
1071 | unininitialized values from abnormal edges to nl goto receiver | |
1072 | or returns twice call. | |
1073 | ||
41e10689 JJ |
1074 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
1075 | ||
1076 | PR tree-optimization/57051 | |
1077 | * fold-const.c (const_binop): Handle VEC_LSHIFT_EXPR | |
1078 | and VEC_RSHIFT_EXPR if shift count is a multiple of element | |
1079 | bitsize. | |
1080 | ||
d7ed20db RB |
1081 | 2013-04-26 Richard Biener <rguenther@suse.de> |
1082 | ||
1083 | * omp-low.c (finalize_task_copyfn): Do not drop PROP_loops. | |
1084 | (expand_omp_taskreg): Likewise. Mark loops for fixup. | |
1085 | * tree-cfg.c (move_block_to_fn): Remap loop fathers. | |
1086 | (fixup_loop_arrays_after_move): New function. | |
1087 | (move_sese_region_to_fn): Properly outline the loop tree parts | |
1088 | of the SESE region. | |
1089 | ||
df93505e UB |
1090 | 2013-04-26 Uros Bizjak <ubizjak@gmail.com> |
1091 | ||
1092 | * config/i386/i386.md (type, unit): Fix long lines. | |
1093 | ||
dd366ec3 RB |
1094 | 2013-04-26 Richard Biener <rguenther@suse.de> |
1095 | ||
1096 | * Makefile.in (lto-streamer-in.o): Add $(CFGLOOP_H) dependency. | |
1097 | (lto-streamer-out.o): Likewise. | |
1098 | * cfgloop.c (init_loops_structure): Export, add struct function | |
1099 | argument and adjust. | |
1100 | (flow_loops_find): Adjust. | |
1101 | * cfgloop.h (enum loop_estimation): Add EST_LAST. | |
1102 | (init_loops_structure): Declare. | |
1103 | * lto-streamer-in.c: Include cfgloop.h. | |
1104 | (input_cfg): Input the loop tree. | |
1105 | * lto-streamer-out.c: Include cfgloop.h. | |
1106 | (output_cfg): Output the loop tree. | |
1107 | (output_struct_function_base): Do not drop PROP_loops. | |
1108 | ||
a9e0d843 RB |
1109 | 2013-03-26 Richard Biener <rguenther@suse.de> |
1110 | ||
1111 | * tree-cfg.c (execute_build_cfg): Build the loop tree. | |
1112 | (pass_build_cfg): Provide PROP_loops. | |
1113 | (move_sese_region_to_fn): Remove loops that are outlined into fn | |
1114 | for now. | |
1115 | * tree-inline.c: Include cfgloop.h. | |
1116 | (initialize_cfun): Do not drop PROP_loops. | |
1117 | (copy_loops): New function. | |
1118 | (copy_cfg_body): Copy loop structure. | |
1119 | (tree_function_versioning): Initialize destination loop tree. | |
1120 | * tree-ssa-loop.c (pass_tree_loop_init): Do not provide PROP_loops. | |
1121 | (pass_parallelize_loops): Do IL verification. | |
1122 | * loop-init.c (loop_optimizer_init): Fixup loops if required. | |
1123 | * tree-optimize.c (execute_fixup_cfg): If we need to cleanup | |
1124 | the CFG make sure we fixup loops as well. | |
1125 | * tree-ssa-tail-merge.c: Include cfgloop.h. | |
1126 | (replace_block_by): When merging loop latches mark loops for fixup. | |
1127 | * lto-streamer-out.c (output_struct_function_base): Drop | |
1128 | PROP_loops for now. | |
1129 | * tree-ssa-phiopt.c: Include tree-scalar-evolution.h. | |
1130 | (tree_ssa_cs_elim): Initialize the loop optimizer and SCEV. | |
1131 | * ipa-split.c: Include cfgloop.h. | |
1132 | (split_function): Add the new return block to the loop tree root. | |
1133 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Return | |
1134 | whether we have removed the forwarder block. | |
1135 | (merge_phi_nodes): If we removed a forwarder mark loops for fixup. | |
1136 | * cfgloop.h (place_new_loop): Declare. | |
1137 | * cfgloopmanip.c (place_new_loop): Export. | |
1138 | * Makefile.in (asan.o): Add $(CFGLOOP_H) dependency. | |
1139 | (tree-switch-conversion.o): Likewise. | |
1140 | (tree-complex.o): Likewise. | |
1141 | (tree-inline.o): Likewise. | |
1142 | (tree-ssa-tailmerge.o): Likewise. | |
1143 | (ipa-split.o): Likewise. | |
1144 | (tree-ssa-phiopt.o): Add $(SCEV_H) dependency. | |
1145 | (tree-ssa-copy.o): Likewise. | |
1146 | * tree-switch-conversion.c: Include cfgloop.h | |
1147 | (process_switch): If we emit a bit-test cascade, schedule loops | |
1148 | for fixup. | |
1149 | * tree-complex.c: Include cfgloop.h. | |
1150 | (expand_complex_div_wide): Properly add new basic-blocks to loops. | |
1151 | * asan.c: Include cfgloop.h. | |
1152 | (create_cond_insert_point): Properly add new basic-blocks to | |
1153 | loops, schedule loop fixup. | |
1154 | * cfgloop.c (verify_loop_structure): Check that looks are not | |
1155 | marked for fixup. | |
1156 | * omp-low.c (expand_parallel_call): Properly add new basic-blocks | |
1157 | to loops. | |
1158 | (expand_omp_for_generic): Likewise. | |
1159 | (expand_omp_sections): Likewise. | |
1160 | (expand_omp_atomic_pipeline): Schedule loops for fixup. | |
1161 | * tree-ssa-copy.c: Include tree-scalar-evolution.h. | |
1162 | (fini_copy_prop): Disable DCE in substitute_and_fold if SCEV | |
1163 | is initialized, not when loops are present. | |
1164 | * tree-parloops.c (parallelize_loops): Remove checking here. | |
1165 | * passes.c (init_optimization_passes): Schedule a copy-propagation | |
1166 | pass before complete unrolling of inner loops. | |
1167 | ||
e78e8a0b JJ |
1168 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
1169 | ||
a2e836b2 JJ |
1170 | * Makefile.in (toplev.o): Depend on diagnostic-color.h. |
1171 | * diagnostic-color.c (should_colorize): Remove _WIN32 version. | |
1172 | (colorize_init): Add argument to _WIN32 version. | |
1173 | * toplev.c: Include diagnostic-color.h. | |
1174 | (process_options): Default to -fdiagnostics-color=auto if | |
1175 | GCC_COLORS env var is in the environment. | |
1176 | * common.opt (fdiagnostics-color=): Add Var and Init. | |
df93505e UB |
1177 | * doc/invoke.texi (-fdiagnostics-color=): Document that if GCC_COLORS |
1178 | env var is in the environment, the default is auto rather than never. | |
a2e836b2 | 1179 | |
e78e8a0b JJ |
1180 | * diagnostic.h (file_name_as_prefix): Add context argument. |
1181 | * diagnostic.c (file_name_as_prefix): Likewise. Colorize | |
1182 | the string as locus. | |
1183 | * langhooks.c (lhd_print_error_function): Adjust caller. | |
1184 | ||
013e5ef9 LC |
1185 | 2013-04-25 Lawrence Crowl <crowl@google.com> |
1186 | ||
1187 | * var-tracking.c (shared_hash_def::htab): | |
1188 | Change type to hash_table. Update dependent calls and types. | |
1189 | ||
4a8fb1a1 LC |
1190 | 2013-04-25 Lawrence Crowl <crowl@google.com> |
1191 | ||
1192 | * Makefile.in: Update as needed below. | |
1193 | ||
1194 | * alloc-pool.c (static hash_table <alloc_pool_hasher> alloc_pool_hash): | |
1195 | Move declaration to after the type's method definitons. | |
1196 | ||
1197 | * attribs.c (htab_t scoped_attributes::attribute_hash): | |
1198 | Change type to hash_table. Update dependent calls and types. | |
1199 | ||
1200 | * bitmap.c (htab_t bitmap_desc_hash): | |
1201 | Change type to hash_table. Update dependent calls and types. | |
1202 | ||
1203 | * cselib.c (htab_t cselib_hash_table): | |
1204 | Change type to hash_table. Update dependent calls and types. | |
1205 | ||
1206 | * data-streamer.h (struct string_slot): Move to lto-streamer.h. | |
1207 | (hash_string_slot_node): Move implementation into lto-streamer.h | |
1208 | struct string_slot_hasher. | |
1209 | (eq_string_slot_node): Likewise. | |
1210 | ||
1211 | * data-streamer-out.c: Update output_block::string_hash_table | |
1212 | dependent calls and types. | |
1213 | ||
1214 | * dwarf2cfi.c (htab_t trace_index): | |
1215 | Change type to hash_table. Update dependent calls and types. | |
1216 | ||
1217 | * dwarf2out.c (htab_t break_out_includes::cu_hash_table): | |
1218 | Change type to hash_table. Update dependent calls and types. | |
1219 | (htab_t copy_decls_for_unworthy_types::decl_table): Likewise. | |
1220 | (htab_t optimize_external_refs::map): Likewise. | |
1221 | (htab_t output_comp_unit::extern_map): Likewise. | |
1222 | (htab_t output_comdat_type_unit::extern_map): Likewise. | |
1223 | (htab_t output_macinfo::macinfo_htab): Likewise. | |
1224 | (htab_t optimize_location_lists::htab): Likewise. | |
1225 | (htab_t dwarf2out_finish::comdat_type_table): Likewise. | |
1226 | ||
1227 | * except.c (htab_t ehspec_hash_type): | |
1228 | Change type to hash_table. Update dependent calls and types. | |
1229 | (assign_filter_values::ttypes): Likewise. | |
1230 | (assign_filter_values::ehspec): Likewise. | |
1231 | (sjlj_assign_call_site_values::ar_hash): Likewise. | |
1232 | (convert_to_eh_region_ranges::ar_hash): Likewise. | |
1233 | ||
1234 | * gcse.c (htab_t pre_ldst_table): | |
1235 | Change type to hash_table. Update dependent calls and types. | |
1236 | ||
1237 | * ggc-common.c (htab_t saving_htab): | |
1238 | Change type to hash_table. Update dependent calls and types. | |
1239 | (htab_t loc_hash): Likewise. | |
1240 | (htab_t ptr_hash): Likewise. | |
1241 | (call_count): Rename ggc_call_count. | |
1242 | (call_alloc): Rename ggc_call_alloc. | |
1243 | (loc_descriptor): Rename make_loc_descriptor. | |
1244 | (add_statistics): Rename ggc_add_statistics. | |
1245 | ||
1246 | * ggc-common.c (saving_htab): | |
1247 | Change type to hash_table. Update dependent calls and types. | |
1248 | ||
1249 | * gimple.h (struct gimplify_ctx): Move to gimplify-ctx.h. | |
1250 | (push_gimplify_context): Likewise. | |
1251 | (pop_gimplify_context): Likewise. | |
1252 | (struct gimple_temp_hash_elt): Added. | |
1253 | (struct gimplify_hasher): Likewise. | |
1254 | (struct gimplify_ctx.temp_htab): | |
1255 | Change type to hash_table. Update dependent calls and types. | |
1256 | ||
1257 | * gimple-fold.c: Include gimplify-ctx.h. | |
1258 | ||
1259 | * gimple-ssa-strength-reduction.c (htab_t base_cand_map): | |
1260 | Change type to hash_table. Update dependent calls and types. | |
1261 | (base_cand_dump_callback): Rename to ssa_base_cand_dump_callback to | |
1262 | avoid potential global name collision. | |
1263 | ||
1264 | * gimplify.c: Include gimplify-ctx.h. | |
1265 | (struct gimple_temp_hash_elt): Move to gimplify-ctx.h. | |
1266 | (htab_t gimplify_ctx::temp_htab): | |
1267 | Update dependent calls and types for new type hash_table. | |
1268 | (gimple_tree_hash): Move into gimplify_hasher in gimplify-ctx.h. | |
1269 | (gimple_tree_eq): Move into gimplify_hasher in gimplify-ctx.h. | |
1270 | ||
1271 | * gimplify-ctx.h: New. | |
1272 | (struct gimple_temp_hash_elt): Move from gimplify.c. | |
1273 | (class gimplify_hasher): New. | |
1274 | (struct gimplify_ctx): Move from gimple.h. | |
1275 | (htab_t gimplify_ctx::temp_htab): | |
1276 | Change type to hash_table. Update dependent calls and types. | |
1277 | ||
1278 | * graphite-clast-to-gimple.c: Include graphite-htab.h. | |
1279 | (htab_t ivs_params::newivs_index): | |
1280 | Change type to hash_table. Update dependent calls and types. | |
1281 | (htab_t ivs_params::params_index): Likewise. | |
1282 | (htab_t print_generated_program::params_index): Likewise. | |
1283 | (htab_t gloog::newivs_index): Likewise. | |
1284 | (htab_t gloog::params_index): Likewise. | |
1285 | ||
1286 | * graphite.c: Include graphite-htab.h. | |
1287 | 4htab_t graphite_transform_loops::bb_pbb_mapping): | |
1288 | Change type to hash_table. Update dependent calls and types. | |
1289 | ||
1290 | * graphite-clast-to-gimple.h: (extern gloog) Move to graphite-htab.h. | |
1291 | (bb_pbb_map_hash): Fold into bb_pbb_htab_type in graphite-htab.h. | |
1292 | (eq_bb_pbb_map): Fold into bb_pbb_htab_type in graphite-htab.h. | |
1293 | ||
1294 | * graphite-dependences.c: Include graphite-htab.h. | |
1295 | (loop_is_parallel_p): Change hash table type of parameter. | |
1296 | ||
1297 | * graphite-htab.h: New. | |
1298 | (typedef hash_table <bb_pbb_hasher> bb_pbb_htab_type): New. | |
1299 | (extern find_pbb_via_hash): Move from graphite-poly.h. | |
1300 | (extern loop_is_parallel_p): Move from graphite-poly.h. | |
1301 | (extern get_loop_body_pbbs): Move from graphite-poly.h. | |
1302 | ||
1303 | * graphite-poly.h (extern find_pbb_via_hash): Move to graphite-htab.h. | |
1304 | (extern loop_is_parallel_p): Move to graphite-htab.h. | |
1305 | (extern get_loop_body_pbbs): Move to graphite-htab.h. | |
1306 | ||
1307 | * haifa-sched.c (htab_t delay_htab): | |
1308 | Change type to hash_table. Update dependent calls and types. | |
1309 | (htab_t delay_htab_i2): Likewise. | |
1310 | ||
1311 | * ira-color.c (htab_t allocno_hard_regs_htab): | |
1312 | Change type to hash_table. Update dependent calls and types. | |
1313 | ||
1314 | * ira-costs.c (htab_t cost_classes_htab): | |
1315 | Change type to hash_table. Update dependent calls and types. | |
1316 | ||
1317 | * loop-invariant.c (htab_t merge_identical_invariants::eq): | |
1318 | Change type to hash_table. Update dependent calls and types. | |
1319 | ||
1320 | * loop-iv.c (htab_t bivs): | |
1321 | Change type to hash_table. Update dependent calls and types. | |
1322 | ||
1323 | * loop-unroll.c (htab_t opt_info::insns_to_split): | |
1324 | Change type to hash_table. Update dependent calls and types. | |
1325 | (htab_t opt_info::insns_with_var_to_expand): Likewise. | |
1326 | ||
1327 | * lto-streamer.h (struct string_slot): Move from data-streamer.h | |
1328 | (struct string_slot_hasher): New. | |
1329 | (htab_t output_block::string_hash_table): | |
1330 | Change type to hash_table. Update dependent calls and types. | |
1331 | ||
1332 | * lto-streamer-in.c (freeing_string_slot_hasher): New. | |
1333 | (htab_t file_name_hash_table): | |
1334 | Change type to hash_table. Update dependent calls and types. | |
1335 | ||
1336 | * lto-streamer-out.c: Update output_block::string_hash_table dependent | |
1337 | calls and types. | |
1338 | ||
1339 | * lto-streamer.c (htab_t tree_htab): | |
1340 | Change type to hash_table. Update dependent calls and types. | |
1341 | ||
1342 | * omp-low.c: Include gimplify-ctx.h. | |
1343 | ||
1344 | * passes.c (htab_t name_to_pass_map): | |
1345 | Change type to hash_table. Update dependent calls and types. | |
1346 | (pass_traverse): Rename to passes_pass_traverse. | |
1347 | ||
1348 | * plugin.c (htab_t event_tab): | |
1349 | Change type to hash_table. Update dependent calls and types. | |
1350 | ||
1351 | * postreload-gcse.c (htab_t expr_table): | |
1352 | Change type to hash_table. Update dependent calls and types. | |
1353 | (dump_hash_table_entry): Rename dump_expr_hash_table_entry. | |
1354 | ||
1355 | * sese.c (debug_rename_map_1): Make extern. | |
1356 | (htab_t copy_bb_and_scalar_dependences::rename_map): | |
1357 | Change type to hash_table. Update dependent calls and types. | |
1358 | ||
1359 | * sese.h (extern debug_rename_map): Move to .c file. | |
1360 | ||
1361 | * store-motion.c (htab_t store_motion_mems_table): | |
1362 | Change type to hash_table. Update dependent calls and types. | |
1363 | ||
1364 | * trans-mem.c (htab_t tm_new_mem_hash): | |
1365 | Change type to hash_table. Update dependent calls and types. | |
1366 | ||
1367 | * tree-browser.c (htab_t TB_up_ht): | |
1368 | Change type to hash_table. Update dependent calls and types. | |
1369 | ||
1370 | * tree-cfg.c (htab_t discriminator_per_locus): | |
1371 | Change type to hash_table. Update dependent calls and types. | |
1372 | ||
1373 | * tree-complex.c: Include tree-hasher.h | |
1374 | (htab_t complex_variable_components): | |
1375 | Change type to hash_table. Update dependent calls and types. | |
1376 | ||
1377 | * tree-eh.c (htab_t finally_tree): | |
1378 | Change type to hash_table. Update dependent calls and types. | |
1379 | ||
1380 | * tree-flow.h (extern int_tree_map_hash): Moved into tree-hasher | |
1381 | struct int_tree_hasher. | |
1382 | (extern int_tree_map_eq): Likewise. | |
1383 | (uid_decl_map_hash): Removed. | |
1384 | (extern decl_tree_map_eq): Likewise. | |
1385 | ||
1386 | * tree-hasher.h: New. | |
1387 | (struct int_tree_hasher): New. | |
1388 | (typedef int_tree_htab_type): New. | |
1389 | ||
1390 | * tree-inline.c: Include gimplify-ctx.h. | |
1391 | ||
1392 | * tree-mudflap.c: Include gimplify-ctx.h. | |
1393 | ||
1394 | * tree-parloops.c: Include tree-hasher.h. | |
1395 | (htab_t eliminate_local_variables_stmt::decl_address): | |
1396 | Change type to hash_table. Update dependent calls and types. | |
1397 | (htab_t separate_decls_in_region::decl_copies): Likewise. | |
1398 | ||
1399 | * tree-scalar-evolution.c (htab_t resolve_mixers::cache): | |
1400 | Change type to hash_table. Update dependent calls and types. | |
1401 | ||
1402 | * tree-sra.c (candidates): | |
1403 | Change type to hash_table. Update dependent calls and types. | |
1404 | ||
1405 | * tree-ssa.c (int_tree_map_eq): Moved into struct int_tree_hasher | |
1406 | in tree-flow.h. | |
1407 | (int_tree_map_hash): Likewise. | |
1408 | ||
1409 | * tree-ssa-dom.c (htab_t avail_exprs): | |
1410 | Change type to hash_table. Update dependent calls and types. | |
1411 | ||
1412 | * tree-ssa-live.c (var_map_base_init::tree_to_index): | |
1413 | Change type to hash_table. Update dependent calls and types. | |
1414 | ||
1415 | * tree-ssa-loop-ivopts.c (struct ivopts_data.inv_expr_tab): | |
1416 | Change type to hash_table. Update dependent calls and types. | |
1417 | ||
1418 | * tree-ssa-phiopt.c (seen_ssa_names): | |
1419 | Change type to hash_table. Update dependent calls and types. | |
1420 | ||
1421 | * tree-ssa-strlen.c (decl_to_stridxlist_htab): | |
1422 | Change type to hash_table. Update dependent calls and types. | |
1423 | ||
1424 | * tree-ssa-uncprop.c (equiv): | |
1425 | Change type to hash_table. Update dependent calls and types. | |
1426 | ||
c5a44004 JJ |
1427 | 2013-04-25 Jakub Jelinek <jakub@redhat.com> |
1428 | ||
1429 | PR rtl-optimization/57003 | |
1430 | * regcprop.c (copyprop_hardreg_forward_1): If ksvd.ignore_set_reg, | |
1431 | call note_stores with kill_clobbered_value callback again after | |
1432 | killing regs_invalidated_by_call. | |
1433 | ||
09962a4a JG |
1434 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
1435 | ||
1436 | * config/aarch64/aarch64-simd.md | |
1437 | (aarch64_simd_bsl<mode>_internal): Rewrite RTL to not use UNSPEC_BSL. | |
1438 | (aarch64_simd_bsl<mode>): Likewise. | |
1439 | * config/aarch64/iterators.md (unspec): Remove UNSPEC_BSL. | |
1440 | ||
ea28bb0b MP |
1441 | 2013-04-25 Marek Polacek <polacek@redhat.com> |
1442 | ||
1443 | PR tree-optimization/57066 | |
3c21604f | 1444 | * builtins.c (fold_builtin_logb): Return +Inf for -Inf. |
ea28bb0b | 1445 | |
96659611 JG |
1446 | 2013-04-25 James Greenhalgh <jame.greenhalgh@arm.com> |
1447 | ||
1448 | * config/aarch64/aarch64-simd.md (neg<mode>2): Use VDQ iterator. | |
1449 | ||
9697e620 JG |
1450 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
1451 | ||
1452 | * config/aarch64/aarch64-builtins.c | |
1453 | (aarch64_fold_builtin): New. | |
1454 | * config/aarch64/aarch64-protos.h (aarch64_fold_builtin): New. | |
1455 | * config/aarch64/aarch64.c (TARGET_FOLD_BUILTIN): Define. | |
1456 | * config/aarch64/aarch64-simd-builtins.def (abs): New. | |
1457 | * config/aarch64/arm_neon.h | |
1458 | (vabs<q>_<f32, 64>): Implement using __builtin_aarch64_fabs. | |
1459 | ||
0ac198d3 JG |
1460 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
1461 | Tejas Belagod <tejas.belagod@arm.com> | |
1462 | ||
1463 | * config/aarch64/aarch64-builtins.c | |
1464 | (aarch64_gimple_fold_builtin): New. | |
1465 | * config/aarch64/aarch64-protos.h (aarch64_gimple_fold_builtin): New. | |
1466 | * config/aarch64/aarch64-simd-builtins.def (addv): New. | |
1467 | * config/aarch64/aarch64-simd.md (addpv4sf): New. | |
1468 | (addvv4sf): Update. | |
1469 | * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Define. | |
1470 | ||
58cff58c N |
1471 | 2013-04-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
1472 | ||
df93505e | 1473 | * config/aarch64/aarch64.md |
58cff58c N |
1474 | (*cmp_swp_<optab><ALLX:mode>_shft_<GPI:mode>): New pattern. |
1475 | ||
7e0228bf N |
1476 | 2013-04-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
1477 | ||
1478 | * config/aarch64/aarch64.md (*ngc<mode>): New pattern. | |
1479 | (*ngcsi_uxtw): New pattern. | |
1480 | ||
5819f96f | 1481 | 2013-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3c21604f | 1482 | Julian Brown <julian@codesourcery.com> |
5819f96f KT |
1483 | |
1484 | * config/arm/arm.c (neon_builtin_type_mode): Add T_V4HF. | |
1485 | (TB_DREG): Add T_V4HF. | |
1486 | (v4hf_UP): New macro. | |
1487 | (neon_itype): Add NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. | |
df93505e | 1488 | (arm_init_neon_builtins): Handle NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. |
5819f96f KT |
1489 | Handle initialisation of V4HF. Adjust initialisation of reinterpret |
1490 | built-ins. | |
df93505e | 1491 | (arm_expand_neon_builtin): Handle NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. |
5819f96f KT |
1492 | (arm_vector_mode_supported_p): Handle V4HF. |
1493 | (arm_mangle_map): Handle V4HFmode. | |
1494 | * config/arm/arm.h (VALID_NEON_DREG_MODE): Add V4HF. | |
1495 | * config/arm/arm_neon_builtins.def: Add entries for | |
1496 | vcvtv4hfv4sf, vcvtv4sfv4hf. | |
1497 | * config/arm/neon.md (neon_vcvtv4sfv4hf): New pattern. | |
1498 | (neon_vcvtv4hfv4sf): Likewise. | |
1499 | * config/arm/neon-gen.ml: Handle half-precision floating point | |
1500 | features. | |
1501 | * config/arm/neon-testgen.ml: Handle Requires_FP_bit feature. | |
1502 | * config/arm/arm_neon.h: Regenerate. | |
1503 | * config/arm/neon.ml (type elts): Add F16. | |
1504 | (type vectype): Add T_float16x4, T_floatHF. | |
1505 | (type vecmode): Add V4HF. | |
1506 | (type features): Add Requires_FP_bit feature. | |
1507 | (elt_width): Handle F16. | |
1508 | (elt_class): Likewise. | |
1509 | (elt_of_class_width): Likewise. | |
1510 | (mode_of_elt): Refactor. | |
1511 | (type_for_elt): Handle F16, fix error messages. | |
1512 | (vectype_size): Handle T_float16x4. | |
1513 | (vcvt_sh): New function. | |
1514 | (ops): Add entries for vcvt_f16_f32, vcvt_f32_f16. | |
1515 | (string_of_vectype): Handle T_floatHF, T_float16, T_float16x4. | |
1516 | (string_of_mode): Handle V4HF. | |
1517 | * doc/arm-neon-intrinsics.texi: Regenerate. | |
1518 | ||
1ef395e4 JG |
1519 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
1520 | ||
1521 | * config/aarch64/aarch64.c (aarch64_print_operand): Fix asm_fprintf | |
1522 | format specifier in 'X' case. | |
1523 | ||
41c34e94 AM |
1524 | 2013-04-25 Alan Modra <amodra@gmail.com> |
1525 | ||
1526 | PR target/57052 | |
1527 | * config/rs6000/rs6000.md (rotlsi3_internal7): Rename to | |
1528 | rotlsi3_internal7le and condition on !BYTES_BIG_ENDIAN. | |
1529 | (rotlsi3_internal8be): New BYTES_BIG_ENDIAN insn. | |
1530 | Repeat for many other rotate/shift and mask patterns using subregs. | |
1531 | Name lshiftrt insns. | |
1532 | (ashrdisi3_noppc64): Rename to ashrdisi3_noppc64be and condition | |
1533 | on WORDS_BIG_ENDIAN. | |
1534 | ||
b9a7eb5d AM |
1535 | 2013-04-25 Alan Modra <amodra@gmail.com> |
1536 | ||
1537 | * config.gcc: Support little-endian powerpc-linux targets. | |
1538 | * config/rs6000/linux.h (LINK_OS_LINUX_EMUL): Define. | |
1539 | (LINK_OS_LINUX_SPEC): Define. | |
1540 | * config/rs6000/linuxspe.h (TARGET_DEFAULT): | |
1541 | Preserve MASK_LITTLE_ENDIAN. | |
1542 | * config/rs6000/default64.h (TARGET_DEFAULT): Likewise. | |
1543 | * config/rs6000/linuxaltivec.h (TARGET_DEFAULT): Likewise. | |
1544 | * config/rs6000/linux64.h (OPTION_LITTLE_ENDIAN): Don't zero. | |
1545 | (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Define. | |
1546 | (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Use above. | |
1547 | * config/rs6000/rs6000.c (output_toc): Don't use .tc for TARGET_ELF. | |
1548 | Correct fp word order for little-endian. Don't shift toc entries | |
1549 | smaller than a word for little-endian. | |
1550 | * config/rs6000/rs6000.md (bswaphi2, bswapsi2 split): Comment. | |
1551 | (bswapdi2 splits): Correct low-part subreg for little-endian. | |
1552 | Remove wrong BYTES_BIG_ENDIAN tests, and rename vars to remove | |
1553 | low/high where such is correct only for be. | |
1554 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Allow | |
1555 | little-endian for -mcall-aixdesc. | |
1556 | ||
87f73374 AM |
1557 | 2013-04-25 Alan Modra <amodra@gmail.com> |
1558 | ||
1559 | * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use | |
1560 | replace_equiv_address_nv. | |
1561 | ||
cabf91cd AM |
1562 | 2013-04-25 Alan Modra <amodra@gmail.com> |
1563 | ||
1564 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Tidy. | |
1565 | ||
0ae24cc8 VM |
1566 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
1567 | ||
1568 | Revert: | |
1569 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> | |
1570 | * rtl.h (struct rtx_def): ... | |
cabf91cd | 1571 | |
77bce07c VM |
1572 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
1573 | ||
1574 | PR rtl-optimizations/57046 | |
1575 | * lra-constraints (split_reg): Set up lra_risky_transformations_p | |
1576 | for multi-reg splits. | |
1577 | ||
0db63e7f L |
1578 | 2013-04-24 H.J. Lu <hongjiu.lu@intel.com> |
1579 | ||
1580 | * config/i386/x86-64.h (ASM_SPEC): Support -mx32. | |
1581 | ||
3362b6b6 SA |
1582 | 2013-04-24 Sterling Augustine <saugustine@google.com> |
1583 | ||
1584 | * dwarf2out.c (skeleton_debug_str_hash, add_skeleton_AT_string) | |
1585 | (comp_dir_string, debug_str_dwo_section): New. | |
1586 | (DEBUG_STR_DWO_SECTION): Rename to ... | |
1587 | (DEBUG_DWO_STR_SECTION): ... this. | |
1588 | (DEBUG_NORM_STR_SECTION): Delete. | |
1589 | (DEBUG_STR_SECTION, DEBUG_STR_SECTION_FLAGS): Edit definitions. | |
1590 | (DEBUG_STR_DWO_SECTION_FLAGS): New. | |
1591 | (find_AT_string): Move most logic to ... | |
1592 | (find_AT_string_in_table): ... here. New. | |
1593 | (add_top_level_skeleton_die_attrs): Call comp_dir_string and | |
1594 | add_skeleton_AT_string. Delete logic. | |
1595 | (output_skeleton_debug_sections): Remove call to | |
1596 | add_top_level_skeleton_die_attrs. | |
1597 | (add_comp_dir_attribute): Move logic to comp_dir_string. | |
1598 | (dwarf2out_init): Initialize debug_str_dwo_section. | |
1599 | (output_indirect_string): Call find_string_form. | |
1600 | (output_indirect_strings): Rewrite. | |
1601 | (prune_unused_types): Empty skeleton_debug_str_hash. | |
1602 | Call get_skeleton_type_unit and add_top_level_skeleton_die_attrs. | |
1603 | (dwarf2out_finish): Call output_indirect_strings. | |
1604 | ||
e93e18e9 PC |
1605 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
1606 | ||
1607 | * doc/cpp.texi: Remove __GXX_EXPERIMENTAL_CXX1Y__. | |
1608 | ||
f6ce35ac VM |
1609 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
1610 | ||
cabf91cd | 1611 | * rtl.h (struct rtx_def): Add comment for field jump. |
f6ce35ac VM |
1612 | (LRA_SUBREG_P): New macro. |
1613 | * recog.c (register_operand): Check LRA_SUBREG_P. | |
1614 | * lra.c (lra): Add note at the end of RTL code. Align non-empty | |
1615 | stack frame. | |
1616 | * lra-spills.c (lra_spill): Align stack after spilling pseudos. | |
1617 | (lra_final_code_change): Skip subreg change for operators. | |
1618 | * lra-eliminations.c (eliminate_regs_in_insn): Make return earlier | |
1619 | if there are no operand changes. | |
1620 | * lra-constraints.c (curr_insn_set): New. | |
1621 | (match_reload): Set LRA_SUBREG_P. | |
1622 | (emit_spill_move): Ditto. | |
1623 | (check_and_process_move): Use curr_insn_set. Process only single | |
1624 | set insns. Don't initialize sec_mem_p and change_p. | |
1625 | (simplify_operand_subreg): Use LRA_SUBREG_P. | |
1626 | (reg_in_class_p): New function. | |
1627 | (process_alt_operands): Use it. Use #if HAVE_ATTR_enabled instead | |
1628 | of #ifdef. Add code to remove cycling. | |
1629 | (process_address): Check EXTRA_CONSTRAINT_STR. Process even if | |
1630 | non-null disp. Reload inner instead of disp when base and index | |
1631 | are null. Try to put lo_sum into register. | |
1632 | (EBB_PROBABILITY_CUTOFF): Redefine probability in percents. | |
cabf91cd | 1633 | (check_and_process_move): Move code for move cost check to |
f6ce35ac | 1634 | simple_move_p. Remove equiv_substitution. |
cabf91cd | 1635 | (simple_move_p): New function. |
f6ce35ac VM |
1636 | (curr_insn_transform): Initialize sec_mem_p and change_p. Set up |
1637 | curr_insn_set. Call check_and_process_move only for single set | |
1638 | insns. Use the new function. Move call of check_and_process_move | |
1639 | after operand equiv substitution and address process. | |
1640 | ||
38047d90 JG |
1641 | 2013-04-24 James Greenhalgh <james.greenhalgh@arm.com> |
1642 | ||
1643 | * config/aarch64/arm_neon.h (vld1<q>_lane*): Fix constraints. | |
1644 | (vld1<q>_dup_<sufp><8, 16, 32, 64>): Likewise. | |
1645 | (vld1<q>_<sufp><8, 16, 32, 64>): Likewise. | |
1646 | ||
13f39b2e PC |
1647 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
1648 | ||
1649 | * doc/cpp.texi: Document __GXX_EXPERIMENTAL_CXX1Y__. | |
1650 | ||
97c116dc MP |
1651 | 2013-04-24 Marek Polacek <polacek@redhat.com> |
1652 | ||
1653 | * tree-scalar-evolution.h (analyze_scalar_evolution): Remove. | |
1654 | * tree-scalar-evolution.c (get_exit_conditions_rec): Likewise. | |
1655 | (select_loops_exit_conditions): Likewise. | |
1656 | (number_of_iterations_for_all_loops): Likewise. | |
1657 | (analyze_scalar_evolution_for_all_loop_phi_nodes): Likewise. | |
1658 | (scev_analysis): Likewise. | |
1659 | ||
83082391 CM |
1660 | 2013-04-02 Catherine Moore <clm@codesourcery.com> |
1661 | Chao-ying Fu <fu@mips.com> | |
1662 | ||
cabf91cd AM |
1663 | * config/mips/micromips.md (jraddiusp): New pattern. |
1664 | * config/mips/mips.c (mips_expand_epilogue): Use the JRADDIUSP | |
1665 | instruction if possible. | |
83082391 | 1666 | |
19e34aa2 AM |
1667 | 2013-04-24 Alan Modra <amodra@gmail.com> |
1668 | ||
1669 | * config/rs6000/driver-rs6000.c (elf_dcachebsize): Fix comment pasto. | |
1670 | ||
fdb6603c JB |
1671 | 2013-04-24 Julian Brown <julian@codesourcery.com> |
1672 | Chung-Lin Tang <cltang@codesourcery.com> | |
1673 | ||
1674 | * dwarf2out.c (gen_enumeration_type_die): Fix HOST_BITS_PER_WIDE_INT | |
df93505e UB |
1675 | dependency behavior in enumeration type DIE generation. Add TODO note |
1676 | to comments about future DW_FORM_sdata/udata re-work of related code. | |
fdb6603c | 1677 | |
bf190e8d LC |
1678 | 2013-04-23 Lawrence Crowl <crowl@google.com> |
1679 | ||
1680 | * Makefile.in: Update as needed below. | |
1681 | ||
1682 | * hash-table.h (class hash_table): | |
1683 | Correct many methods with parameter types compare_type to the correct | |
1684 | value_type. (Correct code was unlikely to notice the change.) | |
1685 | (hash_table::elements_with_deleted) New. | |
1686 | (class hashtable::iterator): New. | |
1687 | (hashtable::begin()): New. | |
1688 | (hashtable::end()): New. | |
1689 | (FOR_EACH_HASH_TABLE_ELEMENT): New. | |
1690 | ||
1691 | * statistics.c (statistics_hashes): | |
1692 | Change type to hash_table. Update dependent calls and types. | |
1693 | ||
1694 | * tree-into-ssa.c (var_infos): | |
1695 | Change type to hash_table. Update dependent calls and types. | |
1696 | ||
1697 | * tree-ssa-coalesce.c (struct coalesce_list_d.list): | |
1698 | Change type to hash_table. Update dependent calls and types. | |
1699 | ||
1700 | * tree-ssa-loop-im.c (struct mem_ref.refs): | |
1701 | Change type to hash_table. Update dependent calls and types. | |
1702 | ||
1703 | * tree-ssa-reassoc.c (undistribute_ops_list::ctable): | |
1704 | Change type to hash_table. Update dependent calls and types. | |
1705 | ||
1706 | * tree-ssa-sccvn.c (vn_tables_s::nary): | |
1707 | Change type to hash_table. Update dependent calls and types. | |
1708 | (vn_tables_s::phis): Likewise. | |
1709 | (vn_tables_s::references): Likewise. | |
1710 | ||
1711 | * tree-ssa-sccvn.h (vn_nary_op_eq): Update parameter and return types. | |
1712 | (vn_reference_eq): Update parameter and return types. | |
1713 | ||
1714 | * tree-ssa-structalias.c (pointer_equiv_class_table): | |
1715 | Change type to hash_table. Update dependent calls and types. | |
1716 | (location_equiv_class_table): Likewise. | |
1717 | ||
1718 | * tree-vect-data-refs.c: Consequential changes for making | |
1719 | peeling a hash_table. | |
1720 | ||
1721 | * tree-vect-loop.c (new_loop_vec_info): Dependent hash_table update. | |
1722 | (destroy_loop_vec_info): Dependent hash_table update. | |
1723 | ||
1724 | * tree-vectorizer.h (peeling_htab): | |
1725 | Change type to hash_table. Update dependent calls and types. | |
1726 | ||
d70a81dd SC |
1727 | 2013-04-23 Shiva Chen <shiva0217@gmail.com> |
1728 | ||
cabf91cd AM |
1729 | * lra-assigns.c (find_hard_regno_for): Use lra_reg_val_equal_p |
1730 | to check the register content is equal or not. | |
1731 | * lra-constraints.c (match_reload): Use lra_assign_reg_val | |
1732 | to assign register content record. | |
1733 | * lra-eliminations.c (update_reg_eliminate): Use | |
d70a81dd | 1734 | lra_update_reg_val_offset to update register content offset. |
cabf91cd AM |
1735 | * lra-int.h (struct lra_reg): Add offset member. |
1736 | (lra_reg_val_equal_p): New static inline function. | |
1737 | (lra_update_reg_val_offset): New static inline function. | |
1738 | (lra_assign_reg_val): New static inline function. | |
1739 | * lra.c (lra_create_new_reg): Use lra_assign_reg_val | |
1740 | to assign register content record. | |
1741 | (initialize_lra_reg_info_element): Initial offset to zero. | |
d70a81dd | 1742 | |
b894a1f3 CM |
1743 | 2013-04-23 Catherine Moore <clm@codesourcery.com> |
1744 | ||
1745 | * config/mips/mips.md (*movhi_internal, *movqi_internal): New | |
1746 | operands. Record compression. | |
1747 | ||
ecd14de9 XDL |
1748 | 2013-04-23 Xinliang David Li <davidxl@google.com> |
1749 | ||
1750 | * cfghhooks.c (dump_bb_for_graph): Support 'slim' graph dump. | |
1751 | ||
92e776e9 RB |
1752 | 2013-04-23 Richard Biener <rguenther@suse.de> |
1753 | ||
1754 | PR middle-end/57036 | |
1755 | * tree-inline.c (copy_edges_for_bb): Add can_make_abnormal_goto | |
1756 | parameter, only add abnormal goto edges from the copied body | |
1757 | if the call could perform abnormal gotos. | |
1758 | (copy_cfg_body): Adjust. | |
1759 | ||
a15ee567 SN |
1760 | 2013-04-23 Sofiane Naci <sofiane.naci@arm.com> |
1761 | ||
1762 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add simd attribute. | |
1763 | ||
08c52234 AS |
1764 | 2013-04-23 Andreas Schwab <schwab@linux-m68k.org> |
1765 | ||
1766 | * coretypes.h (gimple_stmt_iterator): Add struct to make | |
1767 | compatible with C. | |
1768 | ||
999c1171 RB |
1769 | 2013-04-23 Richard Biener <rguenther@suse.de> |
1770 | ||
1771 | PR tree-optimization/57026 | |
1772 | * tree-vrp.c (simplify_conversion_using_ranges): Do not propagate | |
1773 | from SSA names occuring in abnormal PHI nodes. | |
1774 | ||
53669259 AK |
1775 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
1776 | ||
1777 | * lto/lto.c (print_lto_report_1): Fix LTO report names. | |
1778 | ||
1a0ad150 AK |
1779 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
1780 | ||
1781 | * lto/lto.c (print_lto_report_1): Declare early. | |
1782 | (read_cgraph_and_symbols): Call print_lto_report_1 early. | |
1783 | ||
057f8f20 AK |
1784 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
1785 | ||
1786 | * common.opt (-flto-report-wpa): Add. | |
1787 | * doc/invoke.texi (-flto-report-wpa): Add. | |
1788 | * lto/lto.c (do_whole_program_analysis): Check for lto-report-wpa. | |
1789 | (lto_main): dito. | |
1790 | ||
473b1e05 XDL |
1791 | 2013-04-22 Xinliang David Li <davidxl@google.com> |
1792 | ||
1793 | * graph.c (draw_cfg_node_succ_edges): Add branch probility as label. | |
1794 | * cfghhooks.c (dump_bb_for_graph): Dump profile count and frquency. | |
1795 | * Makefile.in: New dependency | |
1796 | ||
cabf91cd | 1797 | David Daney <ddaney.cavm@gmail.com> |
b1485a33 | 1798 | |
cabf91cd AM |
1799 | * configure.ac (gcc_cv_as_micromips_support): Use the |
1800 | --fatal-warnings option. | |
1801 | * configure: Regenerate. | |
b1485a33 | 1802 | |
829d0168 MP |
1803 | 2013-04-22 Marek Polacek <polacek@redhat.com> |
1804 | ||
1805 | PR sanitizer/56990 | |
1806 | * tsan.c (instrument_expr): Don't instrument expression | |
1807 | in case its size is zero. | |
1808 | ||
6d9b7208 UB |
1809 | 2013-04-22 Uros Bizjak <ubizjak@gmail.com> |
1810 | ||
1811 | PR target/57032 | |
1812 | Revert: | |
1813 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> | |
1814 | ||
1815 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
1816 | ||
ea679d55 JG |
1817 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
1818 | ||
1819 | * coretypes.h (gimple_stmt_iterator_d): Forward declare. | |
1820 | (gimple_stmt_iterator): New typedef. | |
1821 | * gimple.h (gimple_stmt_iterator): Rename to... | |
1822 | (gimple_stmt_iterator_d): ... This. | |
1823 | * doc/tm.texi.in (TARGET_FOLD_BUILTIN): Detail restriction that | |
1824 | trees be valid for GIMPLE and GENERIC. | |
1825 | (TARGET_GIMPLE_FOLD_BUILTIN): New. | |
1826 | * gimple-fold.c (gimple_fold_call): Call target hook | |
1827 | gimple_fold_builtin. | |
1828 | * hooks.c (hook_bool_gsiptr_false): New. | |
1829 | * hooks.h (hook_bool_gsiptr_false): New. | |
1830 | * target.def (fold_stmt): New. | |
1831 | * doc/tm.texi: Regenerate. | |
1832 | ||
88a581da VM |
1833 | 2013-04-22 Vladimir Makarov <vmakarov@redhat.com> |
1834 | ||
1835 | PR target/57018 | |
1836 | * lra-eliminations.c (mark_not_eliminable): Prevent elimination of | |
1837 | a set sp if no stack realignment. | |
1838 | ||
92be22dc NC |
1839 | 2013-04-22 Nick Clifton <nickc@redhat.com> |
1840 | ||
1841 | * config.gcc (tilegx-linux): Extend extra_objs rather than | |
1842 | overwriting it. | |
1843 | (tilepro-linux): Likewise. | |
1844 | ||
0ddec79f JG |
1845 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
1846 | ||
1847 | * config/aarch64/aarch64-builtins.c | |
1848 | (CF): Remove. | |
1849 | (CF0, CF1, CF2, CF3, CF4, CF10): New. | |
1850 | (VAR<1-12>): Add MAP parameter. | |
1851 | (BUILTIN_*): Likewise. | |
1852 | * config/aarch64/aarch64-simd-builtins.def: Set MAP parameter. | |
1853 | * config/aarch64/aarch64-simd.md (aarch64_sshl_n<mode>): Remove. | |
1854 | (aarch64_ushl_n<mode>): Likewise. | |
1855 | (aarch64_sshr_n<mode>): Likewise. | |
1856 | (aarch64_ushr_n<mode>): Likewise. | |
1857 | (aarch64_<maxmin><mode>): Likewise. | |
1858 | (aarch64_sqrt<mode>): Likewise. | |
1859 | * config/aarch64/arm_neon.h (vshl<q>_n_*): Use new builtin names. | |
1860 | (vshr<q>_n_*): Likewise. | |
1861 | ||
0050faf8 JG |
1862 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
1863 | ||
1864 | * config/aarch64/aarch64-builtins.c | |
1865 | (aarch64_simd_builtin_type_mode): Handle SF types. | |
1866 | (sf_UP): Define. | |
1867 | (BUILTIN_GPF): Define. | |
1868 | (aarch64_init_simd_builtins): Handle SF types. | |
1869 | * config/aarch64/aarch64-simd-builtins.def (frecpe): Add support. | |
1870 | (frecps): Likewise. | |
1871 | (frecpx): Likewise. | |
1872 | * config/aarch64/aarch64-simd.md | |
1873 | (simd_types): Update simd_frcp<esx> to simd_frecp<esx>. | |
1874 | (aarch64_frecpe<mode>): New. | |
1875 | (aarch64_frecps<mode>): Likewise. | |
1876 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_FRECP<ESX>. | |
1877 | (v8type): Add frecp<esx>. | |
1878 | (aarch64_frecp<FRECP:frecp_suffix><mode>): New. | |
1879 | (aarch64_frecps<mode>): Likewise. | |
1880 | * config/aarch64/iterators.md (FRECP): New. | |
1881 | (frecp_suffix): Likewise. | |
1882 | * config/aarch64/arm_neon.h | |
1883 | (vrecp<esx><qsd>_<fd><32, 64>): Convert to using builtins. | |
1884 | ||
0fad3dbc | 1885 | 2013-04-22 Christian Bruel <christian.bruel@st.com> |
1818d01c CB |
1886 | |
1887 | PR target/56995 | |
1888 | * config/sh/sh.h (enum reg_class): Remove DF_HI_REGS. | |
1889 | (REG_CLASS_NAMES): Idem. | |
1890 | (REG_CLASS_CONTENTS): Idem. | |
1891 | (REGCLASS_HAS_FP_REG): Idem. | |
1892 | * config/sh/sh.c (sh_cannot_change_mode_class): Idem. | |
1893 | (sh_conditional_register_usage): Idem. | |
1894 | ||
3e8a33f9 JL |
1895 | 2013-04-21 Jeff Law <law@redhat.com> |
1896 | ||
1897 | * tree-ssa-forwprop.c (simplify_conversion_from_bitmask): New function. | |
1898 | (ssa_forward_propagate_and_combine): Use it. | |
1899 | ||
f38e1b0a VM |
1900 | 2013-04-19 Vladimir Makarov <vmakarov@redhat.com> |
1901 | ||
1902 | * lra.c: Update the flow chart diagram. | |
1903 | ||
682303da VM |
1904 | 2013-04-19 Vladimir Makarov <vmakarov@redhat.com> |
1905 | ||
1906 | PR rtl-optimization/56847 | |
1907 | * lra-constraints.c (process_alt_operands): Discourage alternative | |
1908 | with non-matche doffsettable memory constraint fro memory with | |
1909 | known offset. | |
1910 | ||
f6b64c35 RB |
1911 | 2013-04-19 Richard Biener <rguenther@suse.de> |
1912 | ||
1913 | PR tree-optimization/56982 | |
1914 | * builtins.def (BUILT_IN_LONGJMP): longjmp is not a leaf | |
1915 | function. | |
1916 | * gimplify.c (gimplify_call_expr): Notice special calls. | |
1917 | (gimplify_modify_expr): Likewise. | |
1918 | * tree-cfg.c (make_abnormal_goto_edges): Handle setjmp-like | |
1919 | abnormal control flow receivers. | |
1920 | (call_can_make_abnormal_goto): Handle cfun->calls_setjmp | |
1921 | in the same way as cfun->has_nonlocal_labels. | |
1922 | (gimple_purge_dead_abnormal_call_edges): Likewise. | |
1923 | (stmt_starts_bb_p): Make setjmp-like abnormal control flow | |
1924 | receivers start a basic-block. | |
1925 | ||
01d8bf07 RB |
1926 | 2013-04-19 Richard Biener <rguenther@suse.de> |
1927 | ||
1928 | * tree-vectorizer.h (struct _slp_instance): Move load_permutation | |
1929 | member ... | |
1930 | (struct _slp_tree): ... here. Make it a vector of unsigned ints. | |
1931 | (SLP_INSTANCE_LOAD_PERMUTATION): Remove. | |
1932 | (SLP_TREE_LOAD_PERMUTATION): Add. | |
1933 | (vect_transform_slp_perm_load): Adjust prototype. | |
1934 | * tree-vect-slp.c (vect_free_slp_tree): Adjust. | |
1935 | (vect_free_slp_instance): Likewise. | |
1936 | (vect_create_new_slp_node): Likewise. | |
1937 | (vect_supported_slp_permutation_p): Remove. | |
1938 | (vect_slp_rearrange_stmts): Adjust. | |
1939 | (vect_supported_load_permutation_p): Likewise. Inline | |
1940 | vect_supported_slp_permutation_p here. | |
1941 | (vect_analyze_slp_instance): Compute load permutations per | |
1942 | slp node instead of per instance. | |
1943 | (vect_get_slp_defs): Adjust. | |
1944 | (vect_transform_slp_perm_load): Likewise. | |
1945 | (vect_schedule_slp_instance): Remove redundant code. | |
1946 | (vect_schedule_slp): Remove hack for PR56270, add it ... | |
1947 | * tree-vect-stmts.c (vectorizable_load): ... here, do not | |
1948 | CSE loads for SLP. Adjust. | |
1949 | ||
ede22fc3 GY |
1950 | 2013-04-19 Greta Yorsh <Greta.Yorsh@arm.com> |
1951 | ||
1952 | * config/arm/arm.c (load_multiple_sequence, ldm_stm_operation_p): Fix | |
1953 | spelling in two comments. | |
1954 | ||
67bc84fb GY |
1955 | 2013-04-19 Greta Yorsh <Greta.Yorsh@arm.com> |
1956 | ||
1957 | PR target/56797 | |
1958 | * config/arm/arm.c (load_multiple_sequence): Require SP | |
1959 | as base register for loads if SP is in the register list. | |
1960 | ||
e248d83f MJ |
1961 | 2013-04-19 Martin Jambor <mjambor@suse.cz> |
1962 | ||
1963 | PR tree-optimization/56718 | |
1964 | * ipa-cp.c (ipa_value_from_known_type_jfunc): Moved... | |
1965 | * ipa-prop.c (ipa_binfo_from_known_type_jfunc): ...here, renamed | |
1966 | and made public. Adjusted all callers. | |
1967 | (ipa_intraprocedural_devirtualization): New function. | |
1968 | * ipa-prop.h (ipa_binfo_from_known_type_jfunc): Declare. | |
1969 | (ipa_intraprocedural_devirtualization): Likewise. | |
1970 | * Makefile.in (tree-ssa-pre.o): Add ipa-prop.h to dependencies. | |
1971 | ||
4891e8f8 RB |
1972 | 2013-04-19 Richard Biener <rguenther@suse.de> |
1973 | ||
1974 | PR tree-optimization/57000 | |
1975 | * tree-ssa-reassoc.c (pass_reassoc): Add TODO_update_ssa_only_virtuals. | |
1976 | ||
dad89f7c TG |
1977 | 2013-04-19 Terry Guo <terry.guo@arm.com> |
1978 | ||
1979 | * config/arm/cortex-m4-fpu.md (cortex_m4_v): Delete cpu unit. | |
1980 | Replace with ... | |
1981 | (cortex_m4_v_a, cortex_m4_v_b): ... new cpu units. | |
1982 | (cortex_m4_v, cortex_m4_exa_va, cortex_m4_exb_vb): New reservations. | |
1983 | (cortex_m4_fmacs): Use new reservations. | |
1984 | (cortex_m4_f_load, cortex_m4_f_store): Likewise. | |
1985 | ||
72ea0d47 VM |
1986 | 2013-04-18 Vladimir Makarov <vmakarov@redhat.com> |
1987 | ||
f1e6512c | 1988 | PR rtl-optimization/56999 |
72ea0d47 VM |
1989 | * lra-coalesce.c (coalescable_pseudo_p): Remove 2nd parameter and |
1990 | related code. | |
1991 | (lra_coalesce): Remove split_origin_bitmap and related code. | |
1992 | * lra.c (lra): Coalesce after undoing inheritance. Recreate live | |
1993 | ranges if necessary. | |
1994 | ||
780a5b71 UB |
1995 | 2013-04-18 Uros Bizjak <ubizjak@gmail.com> |
1996 | ||
1997 | * config/i386/i386.c (x86_64_ms_sysv_extra_clobbered_registers): | |
1998 | New array. | |
1999 | (ix86_expand_call): Remove clobbered_registers array and use | |
2000 | x86_64_ms_sysv_extra_clobbered_registers instead. | |
2001 | * config/i386/i386.h (x86_64_ms_sysv_extra_clobbered_registers): | |
2002 | Declare here. | |
2003 | * config/i386/predicates.md (call_rex64_ms_sysv_operation): New | |
2004 | predicate. | |
2005 | * config/i386/i386.md (*call_rex64_ms_sysv): Use | |
2006 | call_rex64_ms_sysv_operation predicate. Remove explicit clobbers. | |
2007 | (*call_value_rex64_ms_sysv): Ditto. | |
2008 | ||
6f5a366a CC |
2009 | 2013-04-18 Cary Coutant <ccoutant@google.com> |
2010 | ||
2011 | * dwarf2out.c (output_pubnames): Check die_perennial_p of | |
2012 | parent instead of die_mark. | |
2013 | ||
475b8f37 DN |
2014 | 2013-04-18 Diego Novillo <dnovillo@google.com> |
2015 | ||
2016 | * gimple.c (create_gimple_tmp): New. | |
2017 | (get_expr_type): New. | |
2018 | (build_assign): New. | |
2019 | (build_type_cast): New. | |
2020 | * gimple.h (enum ssa_mode): Define. | |
2021 | (gimple_seq_set_location): New. | |
2022 | * asan.c (build_check_stmt): Change some gimple_build_* calls | |
780a5b71 | 2023 | to use build_assign and build_type_cast. |
475b8f37 | 2024 | |
08940f33 RB |
2025 | 2013-04-18 Richard Biener <rguenther@suse.de> |
2026 | ||
2027 | * tree-vect-data-refs.c (vect_analyze_group_access): Properly | |
2028 | handle negative step. Remove redundant checks. | |
2029 | (vect_create_data_ref_ptr): Avoid ICEs with non-constant steps. | |
2030 | * tree-vect-stmts.c (vectorizable_load): Instead of asserting | |
2031 | for negative step and grouped loads fail to vectorize. | |
2032 | ||
0e0f87d4 SB |
2033 | 2013-04-18 Steven Bosscher <steven@gcc.gnu.org> |
2034 | ||
2035 | * emit-rtl.c (reset_insn_used_flags): New function. | |
2036 | (reset_all_used_flags): Use it. | |
2037 | (verify_insn_sharing): New function. | |
2038 | (verify_rtl_sharing): Fix verification for SEQUENCEs. | |
2039 | ||
4c445590 JJ |
2040 | 2013-04-18 Jakub Jelinek <jakub@redhat.com> |
2041 | ||
2042 | PR tree-optimization/56984 | |
2043 | * tree-vrp.c (register_edge_assert_for_2): For (x >> M) < N | |
2044 | and (x >> M) >= N don't register any assertion if N << M is the | |
2045 | minimum value. | |
2046 | ||
6873ecab SB |
2047 | 2013-04-18 Steven Bosscher <steven@gcc.gnu.org> |
2048 | ||
2049 | * lower-subreg.c (resolve_simple_move): If called self-recursive, | |
2050 | do not delete_insn insns that have not yet been emitted, only | |
2051 | unlink them with remove_insn. | |
2052 | * df-scan.c (df_insn_delete): Revert r197492. | |
2053 | ||
3ccb989e SB |
2054 | 2013-04-17 Steven Bosscher <steven@gcc.gnu.org> |
2055 | ||
2056 | * emit-rtl.c (link_insn_into_chain): Handle chaining of SEQUENCEs. | |
2057 | * reorg.c (emit_delay_sequence): Simplify with emit-rtl API. | |
2058 | ||
2059 | 2013-04-17 Greta Yorsh <Greta.Yorsh@arm.com> | |
0480fff0 GY |
2060 | |
2061 | * config/arm/arm.md (movsicc_insn): Convert define_insn into | |
2062 | define_insn_and_split. | |
2063 | (and_scc,ior_scc,negscc): Likewise. | |
2064 | (cmpsi2_addneg, subsi3_compare): Convert to named patterns. | |
2065 | ||
3ccb989e | 2066 | 2013-04-17 Greta Yorsh <Greta.Yorsh@arm.com> |
367075fe GY |
2067 | |
2068 | * config/arm/arm.c (use_return_insn): Return 0 for targets that | |
2069 | can benefit from using a sequence of LDRD instructions in epilogue | |
2070 | instead of a single LDM instruction. | |
2071 | ||
6d10a203 MLI |
2072 | 2013-04-17 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2073 | ||
2074 | PR 45688 | |
2075 | * doc/extend.texi: Fix typo. | |
2076 | ||
6983e6b5 RB |
2077 | 2013-04-17 Richard Biener <rguenther@suse.de> |
2078 | ||
2079 | * tree-vect-slp.c (vect_build_slp_tree_1): Split out from ... | |
2080 | (vect_build_slp_tree): ... here. | |
2081 | (vect_build_slp_tree_1): Compute which stmts of the SLP group | |
2082 | match. Remove special-casing of mismatched complex loads. | |
2083 | (vect_build_slp_tree): Based on the result from vect_build_slp_tree_1 | |
2084 | re-try the match with swapped commutative operands. | |
2085 | (vect_supported_load_permutation_p): Remove special-casing of | |
2086 | mismatched complex loads. | |
2087 | (vect_analyze_slp_instance): Adjust. | |
2088 | ||
ef23e6a2 RB |
2089 | 2013-04-17 Richard Biener <rguenther@suse.de> |
2090 | ||
2091 | PR rtl-optimization/56921 | |
2092 | * cfgloop.h (struct loop): Add simple_loop_desc member. | |
2093 | (struct niter_desc): Mark with GTY(()). | |
2094 | (simple_loop_desc): Do not use aux field but simple_loop_desc. | |
2095 | * loop-iv.c (get_simple_loop_desc): Likewise. | |
2096 | (free_simple_loop_desc): Likewise. | |
2097 | ||
2098 | Revert | |
2099 | 2013-04-16 Richard Biener <rguenther@suse.de> | |
2100 | ||
2101 | PR rtl-optimization/56921 | |
2102 | * loop-init.c (pass_rtl_move_loop_invariants): Add | |
2103 | TODO_do_not_ggc_collect to todo_flags_finish. | |
2104 | (pass_rtl_unswitch): Same. | |
2105 | (pass_rtl_unroll_and_peel_loops): Same. | |
2106 | (pass_rtl_doloop): Same. | |
2107 | ||
fc6f94f5 EB |
2108 | 2013-04-17 Eric Botcazou <ebotcazou@adacore.com> |
2109 | ||
2110 | * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p): New. | |
2111 | (decl_refs_may_alias_p): Add REF1 and REF2 parameters. | |
2112 | Use nonoverlapping_component_refs_of_decl_p to disambiguate component | |
2113 | references. | |
2114 | (refs_may_alias_p_1): Adjust call to decl_refs_may_alias_p. | |
2115 | * tree-streamer.c (record_common_node): Adjust reference in comment. | |
2116 | ||
10a88311 TG |
2117 | 2013-04-17 Terry Guo <terry.guo@arm.com> |
2118 | ||
2119 | * config/arm/cortex-m4.md: Add a new bypass. | |
2120 | ||
6d9b7208 | 2121 | 2013-04-16 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
f3d096b0 N |
2122 | |
2123 | * config/aarch64/aarch64.md (*adds_<optab><mode>_multp2): | |
2124 | New pattern. | |
2125 | (*subs_<optab><mode>_multp2): New pattern. | |
2126 | (*adds_<optab><ALLX:mode>_<GPI:mode>): New pattern. | |
2127 | (*subs_<optab><ALLX:mode>_<GPI:mode>): New pattern. | |
2128 | ||
6d9b7208 | 2129 | 2013-04-16 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
860ad33f N |
2130 | |
2131 | * config/aarch64/aarch64.md (*adds_mul_imm_<mode>): New pattern. | |
2132 | (*subs_mul_imm_<mode>): New pattern. | |
2133 | ||
18a6701e DE |
2134 | 2013-04-16 David Edelsohn <dje.gcc@gmail.com> |
2135 | ||
2136 | PR target/56948 | |
2137 | * config/rs6000/vsx.md (vsx_mov<mode>): Add j->r alternative. | |
2138 | (vsx_movti_64bit): Change j->wa to O->wa. Add n->r alternative. | |
2139 | (vsx_movti_32bit): Change j->wa to O->wa. | |
2140 | ||
07c37b2f RB |
2141 | 2013-04-16 Richard Biener <rguenther@suse.de> |
2142 | ||
2143 | PR rtl-optimization/56921 | |
2144 | * loop-init.c (pass_rtl_move_loop_invariants): Add | |
2145 | TODO_do_not_ggc_collect to todo_flags_finish. | |
2146 | (pass_rtl_unswitch): Same. | |
2147 | (pass_rtl_unroll_and_peel_loops): Same. | |
2148 | (pass_rtl_doloop): Same. | |
2149 | ||
0e0f87d4 | 2150 | 2013-04-16 Greta Yorsh <Greta.Yorsh@arm.com> |
974ba22d GY |
2151 | |
2152 | * config/arm/arm.c (emit_multi_reg_push): New declaration | |
2153 | for an existing function. | |
2154 | (arm_emit_strd_push): New function. | |
2155 | (arm_expand_prologue): Used here. | |
2156 | (arm_emit_ldrd_pop): New function. | |
2157 | (arm_expand_epilogue): Used here. | |
2158 | (arm_get_frame_offsets): Update condition. | |
2159 | (arm_emit_multi_reg_pop): Add a special case for load of a single | |
2160 | register with writeback. | |
2161 | ||
5e8e2af4 UB |
2162 | 2013-04-16 Uros Bizjak <ubizjak@gmail.com> |
2163 | ||
2164 | * doc/invoke.texi (i386 Option): Reword -mstack-protector-guard | |
2165 | description. | |
2166 | ||
9fd9ccf7 RB |
2167 | 2013-04-16 Richard Biener <rguenther@suse.de> |
2168 | ||
2169 | PR tree-optimization/56756 | |
2170 | * tree-ssa-loop-im.c (struct first_mem_ref_loc_1): New functor. | |
2171 | (first_mem_ref_loc): New. | |
2172 | (execute_sm): Place the load temporarily before a previous | |
2173 | access instead of in the latch edge to ensure its SSA dependencies | |
2174 | are defined at points dominating the load. | |
2175 | ||
96fba521 SB |
2176 | 2013-04-16 Steven Bosscher <steven@gcc.gnu.org> |
2177 | ||
4c8af858 SB |
2178 | * cfgrtl.c (cfg_layout_merge_blocks): Revert r184005, implement |
2179 | correct fix by moving header and footer insn to the footer of | |
2180 | the merged basic block. Clear BB_END of the merged-away block. | |
2181 | ||
96fba521 SB |
2182 | PR middle-end/43631 |
2183 | * emit-rtl.c (make_note_raw): New function. | |
2184 | (link_insn_into_chain): New static inline function. | |
2185 | (add_insn): Use it. | |
2186 | (add_insn_before, add_insn_after): Factor insn chain linking code... | |
2187 | (add_insn_before_nobb, add_insn_after_nobb): ...here, new functions | |
2188 | using link_insn_into_chain. | |
2189 | (note_outside_basic_block_p): New helper function for emit_note_after | |
2190 | and emit_note_before. | |
2191 | (emit_note_after): Use nobb variant of add_insn_after if the note | |
2192 | should not be contained in a basic block. | |
2193 | (emit_note_before): Use nobb variant of add_insn_before if the note | |
2194 | should not be contained in a basic block. | |
2195 | (emit_note_copy): Use make_note_raw. | |
2196 | (emit_note): Likewise. | |
2197 | * bb-reorder.c (insert_section_boundary_note): Remove hack to set | |
2198 | BLOCK_FOR_INSN to NULL manually for NOTE_INSN_SWITCH_TEXT_SECTIONS. | |
2199 | * jump.c (cleanup_barriers): Use reorder_insns_nobb to avoid making | |
2200 | the moved barrier the tail of the basic block it follows. | |
2201 | * var-tracking.c (pass_variable_tracking): Add TODO_verify_flow. | |
2202 | ||
7b8265ba JJ |
2203 | 2013-04-15 Jakub Jelinek <jakub@redhat.com> |
2204 | ||
2205 | PR tree-optimization/56962 | |
2206 | * gimple-ssa-strength-reduction.c (record_increment): Only set | |
2207 | initializer if gimple_assign_rhs_code is {,POINTER_}PLUS_EXPR and | |
2208 | either rhs1 or rhs2 is equal to c->base_expr. | |
2209 | ||
5185d248 RB |
2210 | 2013-04-15 Richard Biener <rguenther@suse.de> |
2211 | ||
2212 | PR tree-optimization/56933 | |
2213 | * tree-vectorizer.h (struct _stmt_vec_info): Remove read_write_dep | |
2214 | member. | |
2215 | (GROUP_READ_WRITE_DEPENDENCE): Remove. | |
2216 | (STMT_VINFO_GROUP_READ_WRITE_DEPENDENCE): Likewise. | |
2217 | * tree-vect-data-refs.c (vect_analyze_group_access): Move | |
2218 | dependence check ... | |
2219 | vect_analyze_data_ref_dependence (vect_analyze_data_ref_dependence): | |
2220 | ... here. | |
2221 | * tree-vect-stmts.c (new_stmt_vec_info): Do not initialize | |
2222 | GROUP_READ_WRITE_DEPENDENCE. | |
2223 | ||
a24243a0 AK |
2224 | 2013-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2225 | ||
2226 | * emit-rtl.c (reset_all_used_flags): New function. | |
2227 | (verify_rtl_sharing): Call reset_all_used_flags before and after | |
2228 | performing the checks. | |
2229 | ||
1c50eada KT |
2230 | 2013-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2231 | ||
2232 | * config/arm/arm.c (const_ok_for_dimode_op): Handle AND case. | |
2233 | * config/arm/arm.md (*anddi3_insn): Change to insn_and_split. | |
2234 | * config/arm/constraints.md (De): New constraint. | |
2235 | * config/arm/neon.md (anddi3_neon): Delete. | |
2236 | (neon_vand<mode>): Expand to standard anddi3 pattern. | |
2237 | * config/arm/predicates.md (imm_for_neon_inv_logic_operand): | |
2238 | Move earlier in the file. | |
2239 | (neon_inv_logic_op2): Likewise. | |
2240 | (arm_anddi_operand_neon): New predicate. | |
2241 | ||
e927b6ad RO |
2242 | 2013-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2243 | ||
2244 | * configure.ac (gcc_cv_ld_as_needed): Set | |
2245 | gcc_cv_ld_as_needed_option, gcc_cv_no_as_needed_option. | |
2246 | Use -z ignore, -z record on *-*-solaris2*. | |
2247 | (HAVE_LD_AS_NEEDED): Update comment. | |
2248 | (LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION): Define. | |
2249 | * configure: Regenerate. | |
2250 | * config.in: Regenerate. | |
2251 | * gcc.c (init_gcc_specs) [USE_LD_AS_NEEDED]: Use | |
2252 | LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION. | |
2253 | * config/sol2.h [HAVE_LD_AS_NEEDED] (USE_LD_AS_NEEDED): Define. | |
2254 | * doc/tm.texi.in (USE_LD_AS_NEEDED): Allow for --as-needed | |
2255 | equivalents. Fix markup. | |
2256 | * doc/tm.texi: Regenerate. | |
2257 | ||
e0ea8797 AH |
2258 | 2013-04-15 Andrew Hsieh <andrewhsieh.google.com> |
2259 | ||
2260 | * config/i386/i386.opt: New option mstack-protector-guard=. | |
2261 | * config/i386/i386-opts.h: Add enum stack_protector_guard. | |
2262 | * config/i386/i386.h: Define TARGET_SSP_GLOBAL_GUARD and | |
2263 | TARGET_SSP_TLS_GUARD. | |
2264 | * config/i386/i386.c (ix86_option_override_internal): Set | |
2265 | ix86_stack_protector_guard. | |
2266 | * config/i386/i386.md (stack_protect_set): Enable for | |
2267 | TARGET_SSP_TLS_GUARD only. | |
2268 | (stack_protect_set_<mode>): Ditto. | |
2269 | (stack_protect_test): Ditto. | |
2270 | (stack_protect_test_<mode>): Ditto. | |
2271 | * doc/invoke.texi (i386 Option): Document. | |
2272 | ||
811b72f9 EB |
2273 | 2013-04-15 Eric Botcazou <ebotcazou@adacore.com> |
2274 | ||
2275 | PR target/56890 | |
2276 | * config/sparc/sparc.c (enum sparc_mode_class): Add H_MODE value. | |
2277 | (S_MODES): Set H_MODE bit. | |
2278 | (SF_MODES): Set only S_MODE and SF_MODE bits. | |
2279 | (DF_MODES): Set SF_MODES and only D_MODE and DF_MODE bits. | |
2280 | (sparc_init_modes) <MODE_INT>: Set H_MODE bit for sub-word modes. | |
2281 | <MODE_VECTOR_INT>: Do not set SF_MODE for sub-word modes. | |
2282 | <MODE_FLOAT>: Likewise. | |
2283 | ||
5529fdd6 JY |
2284 | 2013-04-15 Joey Ye <joey.ye@arm.com> |
2285 | ||
2286 | * config/arm/arm.c (thumb_far_jump_used_p): Fix typo in comments. | |
2287 | ||
517b1da2 JY |
2288 | 2013-04-15 Joey Ye <joey.ye@arm.com> |
2289 | ||
2290 | * config/arm/arm.c (thumb1_final_prescan_insn): Assert lr save | |
2291 | for real far jump. | |
2292 | (thumb_far_jump_used_p): Count instruction size and set | |
2293 | far_jump_used. | |
2294 | ||
01007ae0 EB |
2295 | 2013-04-14 Eric Botcazou <ebotcazou@adacore.com> |
2296 | ||
2297 | * reorg.c (fill_simple_delay_slots): Reindent block of code. | |
2298 | * resource.c (mark_target_live_regs): Reformat conditional block. | |
2299 | ||
c46f6580 SB |
2300 | 2013-04-13 Steven Bosscher <steven@gcc.gnu.org> |
2301 | ||
2302 | * sched-deps.c (deps_analyze_insn): Do not check for EH_REGION insn | |
2303 | notes, they are emitted only just before final. | |
2304 | * sched-int.h: Include insn-attr.h before checking INSN_SCHEDULING. | |
2305 | ||
1f397f45 SB |
2306 | 2013-04-13 Steven Bosscher <steven@gcc.gnu.org> |
2307 | ||
2308 | * emit-rtl.c (remove_insn): Do not call df_insn_delete here. | |
2309 | * cfgrtl.c (delete_insn): Call it here instead. | |
2310 | * lra-spills.c (lra_final_code_change): Use delete_insn. | |
2311 | * haifa-sched.c (sched_remove_insn): Likewise. | |
2312 | * sel-sched-ir.c (return_nop_to_pool): Clear INSN_DELETED_P for nops | |
2313 | returning to the nop pool. | |
2314 | (sel_remove_insn): Simplify the only_disconnect case via remove_insn, | |
2315 | use delete_insn for definitive removal. Clear BLOCK_FOR_INSN. | |
2316 | ||
58a51369 SB |
2317 | 2013-04-12 Steven Bosscher <steven@gcc.gnu.org> |
2318 | ||
2319 | * doc/tm.texi.in (LOOP_ALIGN): Remove loop note references. | |
2320 | * doc/tm.texi: Regenerated. | |
2321 | ||
33159866 UB |
2322 | 2013-04-12 Uros Bizjak <ubizjak@gmail.com> |
2323 | ||
2324 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Use ANY_QI_REGNO_P in | |
2325 | QImode checks. | |
2326 | ||
226e378f SB |
2327 | 2013-04-12 Steven Bosscher <steven@gcc.gnu.org> |
2328 | ||
2329 | * df-core.c (df_find_def): Compare register numbers. | |
2330 | (df_find_use): Likewise. | |
2331 | ||
fafb9b18 VM |
2332 | 2013-04-12 Vladimir Makarov <vmakarov@redhat.com> |
2333 | ||
2334 | PR target/56903 | |
2335 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Add | |
2336 | lra_in_progress for return. | |
2337 | ||
9a946fd6 GY |
2338 | 2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> |
2339 | ||
2340 | * config/arm/arm.md (mov_scc,mov_negscc,mov_notscc): Convert | |
2341 | define_insn into define_insn_and_split and emit movsicc patterns. | |
2342 | ||
41b83758 GY |
2343 | 2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> |
2344 | ||
2345 | * config/arm/arm.c (gen_operands_ldrd_strd): Initialize "base". | |
2346 | ||
d3afd9aa RB |
2347 | 2013-04-12 Richard Biener <rguenther@suse.de> |
2348 | ||
2349 | * tree-pass.h (TODO_do_not_ggc_collect): New. | |
2350 | * passes.c (execute_one_ipa_transform_pass): Honor | |
2351 | TODO_do_not_ggc_collect. | |
2352 | (execute_one_pass): Likewise. | |
2353 | ||
2354 | Revert | |
2355 | 2013-04-10 Richard Biener <rguenther@suse.de> | |
2356 | ||
2357 | * passes.c (init_optimization_passes): Remove reload pass. | |
2358 | * ira.c (do_reload): Merge into ... | |
2359 | (ira): ... this. | |
2360 | (rest_of_handle_reload): Remove. | |
2361 | (pass_reload): Likewise. | |
2362 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
2363 | of reload for vzeroupper pass placement. | |
2364 | ||
06f9b387 JJ |
2365 | 2013-04-12 Jakub Jelinek <jakub@redhat.com> |
2366 | ||
2367 | PR tree-optimization/56918 | |
2368 | PR tree-optimization/56920 | |
2369 | * fold-const.c (int_const_binop_1): Use op1.mul_with_sign (op2, ...) | |
2370 | instead of op1 - op2. Pass 2 * TYPE_PRECISION (type) as second | |
2371 | argument to rshift method. For 2 * HOST_BITS_PER_WIDE_INT precision | |
2372 | use wide_mul_with_sign method. | |
2373 | ||
953094d2 RB |
2374 | 2013-04-12 Richard Biener <rguenther@suse.de> |
2375 | ||
2376 | * gimple.c (is_gimple_constant): Vector CONSTRUCTORs should | |
2377 | not be considered a gimple constant. | |
2378 | ||
bb506982 MG |
2379 | 2013-04-12 Marc Glisse <marc.glisse@inria.fr> |
2380 | ||
2381 | * fold-const.c (const_binop): Handle vector shifts by a scalar. | |
2382 | (fold_binary_loc): Call const_binop also for mixed vector-scalar | |
2383 | operations. | |
2384 | ||
4b84d650 JJ |
2385 | 2013-04-12 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2386 | Jakub Jelinek <jakub@redhat.com> | |
2387 | ||
2388 | * opts.c: Include diagnostic-color.h. | |
2389 | (common_handle_option): Handle OPT_fdiagnostics_color_. | |
2390 | * Makefile.in (OBJS-libcommon): Add diagnostic-color.o. | |
2391 | (diagnostic.o, opts.o, pretty-print.o): Depend on diagnostic-color.h. | |
2392 | (diagnostic-color.o): New. | |
2393 | * common.opt (fdiagnostics-color, fdiagnostics-color=): New options. | |
2394 | (diagnostic_color_rule): New enum. | |
2395 | * dwarf2out.c (gen_producer_string): Don't print -fdiagnostics-color*. | |
2396 | * langhooks.c (lhd_print_error_function): Add %r "locus" and %R around | |
2397 | the location string. | |
2398 | * diagnostic.def: Add 3rd argument to DEFINE_DIAGNOSTIC_KIND macros, | |
2399 | either NULL, or color kind. | |
2400 | * diagnostic-color.c: New file. | |
2401 | * diagnostic-color.h: New file. | |
2402 | * diagnostic-core.h (DEFINE_DIAGNOSTIC_KIND): Adjust macro for 3 | |
2403 | arguments. | |
2404 | * doc/invoke.texi (-fdiagnostics-color): Document. | |
2405 | * pretty-print.h (pp_show_color): Define. | |
2406 | (struct pretty_print_info): Add show_color field. | |
2407 | * diagnostic.c: Include diagnostic-color.h. | |
2408 | (diagnostic_build_prefix): Adjust for 3 argument DEFINE_DIAGNOSTIC_KIND | |
2409 | macros. Colorize error:, warning: etc. strings and also the location | |
2410 | string. | |
2411 | (diagnostic_show_locus): Colorize the caret line. | |
2412 | * pretty-print.c: Include diagnostic-color.h. | |
2413 | (pp_base_format): Handle %r and %R format specifiers. Colorize strings | |
2414 | inside of %< %> quotes or quoted through q format modifier. | |
2415 | ||
067a1e71 AK |
2416 | 2013-04-12 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2417 | ||
33159866 | 2418 | * ifcvt.c (end_ifcvt_sequence): Mark a and b for unsharing as well. |
067a1e71 | 2419 | |
33159866 | 2420 | 2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
b056c910 N |
2421 | |
2422 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Allow NEG | |
2423 | code in CC_NZ mode. | |
2424 | * config/aarch64/aarch64.md (*neg_<shift><mode>3_compare0): New | |
2425 | pattern. | |
2426 | ||
7b55f98f MP |
2427 | 2013-04-11 Marek Polacek <polacek@redhat.com> |
2428 | ||
2429 | PR tree-optimization/48184 | |
33159866 | 2430 | * params.def (PARAM_ALIGN_THRESHOLD): Increase the minimum value to 1. |
7b55f98f | 2431 | |
966b587e EB |
2432 | 2013-04-11 Eric Botcazou <ebotcazou@adacore.com> |
2433 | ||
2434 | * stor-layout.c (skip_simple_constant_arithmetic): Move to... | |
2435 | * tree.c (skip_simple_constant_arithmetic): ...here and make public. | |
2436 | (skip_simple_arithmetic): Tidy up. | |
2437 | * tree.h (skip_simple_constant_arithmetic): Declare. | |
2438 | ||
33159866 | 2439 | 2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
f8bf91ab N |
2440 | |
2441 | * config/aarch64/aarch64.h (REVERSIBLE_CC_MODE): Define. | |
2442 | ||
1d42c1ec RB |
2443 | 2013-04-11 Richard Biener <rguenther@suse.de> |
2444 | ||
2445 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
2446 | generate vector constants. | |
2447 | ||
4ba5ea11 RB |
2448 | 2013-04-11 Richard Biener <rguenther@suse.de> |
2449 | ||
2450 | PR tree-optimization/56878 | |
2451 | * tree-flow.h (outermost_invariant_loop_for_expr): Declare. | |
2452 | * tree-ssa-loop-ivopts.c (outermost_invariant_loop_for_expr): | |
2453 | New function. | |
2454 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): | |
2455 | Prefer to align the DR with the most invariant base address. | |
2456 | ||
f0defe58 SKS |
2457 | 2013-04-11 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
2458 | ||
2459 | * opts.c (common_handle_option): Fix formatting and add FALLTHRU | |
2460 | comment. | |
2461 | ||
d07458be JG |
2462 | 2013-04-11 James Greenhalgh <james.greenhalgh@arm.com> |
2463 | ||
2464 | * config/aarch64/aarch64-simd.md (aarch64_vcond_internal): Fix | |
2465 | floating-point vector comparisons against 0. | |
2466 | ||
146b8692 JJ |
2467 | 2013-04-11 Jakub Jelinek <jakub@redhat.com> |
2468 | ||
2469 | PR tree-optimization/56899 | |
2470 | * fold-const.c (extract_muldiv_1): Apply distributive law | |
2471 | only if TYPE_OVERFLOW_WRAPS (ctype). | |
2472 | ||
b8578ff7 BC |
2473 | 2013-04-11 Bin Cheng <bin.cheng@arm.com> |
2474 | ||
2475 | PR target/56124 | |
2476 | * ira-costs.c (scan_one_insn): Check whether the source rtx of | |
2477 | loading has side effect. | |
2478 | ||
0ea8a6f9 SB |
2479 | 2013-04-10 Steven Bosscher <steven@gcc.gnu.org> |
2480 | ||
2481 | * config/sparc/sparc.c: Include tree-pass.h. | |
2482 | (TARGET_MACHINE_DEPENDENT_REORG): Do not redefine. | |
2483 | (sparc_reorg): Rename to sparc_do_work_around_errata. Move to | |
2484 | head of file. Change return type. Split off gate function. | |
2485 | (sparc_gate_work_around_errata): New function. | |
2486 | (pass_work_around_errata): New pass definition. | |
2487 | (insert_pass_work_around_errata) New pass insert definition to | |
2488 | insert pass_work_around_errata just after delayed-branch scheduling. | |
2489 | (sparc_option_override): Insert the pass. | |
2490 | * config/sparc/t-sparc (sparc.o): Add TREE_PASS_H dependence. | |
2491 | ||
42e37616 DM |
2492 | 2013-04-10 David S. Miller <davem@davemloft.net> |
2493 | ||
89deeb3b DM |
2494 | * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=supersparc |
2495 | or -mcpu=hypersparc. | |
2496 | ||
42e37616 DM |
2497 | * target.def (cstore_mode): New hook. |
2498 | * target.h: Include insn-codes.h | |
2499 | * targhooks.c: Likewise. | |
2500 | (default_cstore_mode): New function. | |
2501 | * targhooks.h: Declare it. | |
2502 | * doc/tm.texi.in: New hook slot for TARGET_CSTORE_MODE. | |
2503 | * doc/tm.texi: Rebuild. | |
2504 | * expmed.c (emit_cstore): Obtain cstore boolean result mode using | |
2505 | target hook, rather than inspecting the insn_data. | |
2506 | * config/sparc/sparc.c (sparc_cstore_mode): New function. | |
2507 | (TARGET_CSTORE_MODE): Redefine. | |
2508 | (emit_scc_insn): When TARGET_ARCH64, emit new 64-bit boolean | |
2509 | result patterns. | |
2510 | * config/sparc/predicates.md (cstore_result_operand): New special | |
2511 | predicate. | |
2512 | * config/sparc/sparc.md (cstoresi4, cstoredi4, cstore<F:mode>4): | |
2513 | Use it for operand 0. | |
2514 | (*seqsi_special): Rewrite using 'P' mode iterator on operand 0. | |
2515 | (*snesi_special): Likewise. | |
2516 | (*snesi_zero): Likewise. | |
2517 | (*seqsi_zero): Likewise. | |
2518 | (*sltu_insn): Likewise. | |
2519 | (*sgeu_insn): Likewise. | |
2520 | (*seqdi_special): Make operand 0 and comparison operation be of | |
2521 | DImode. | |
2522 | (*snedi_special): Likewise. | |
2523 | (*snedi_special_vis3): Likewise. | |
2524 | (*neg_snesi_zero): Rename to *neg_snesisi_zero. | |
2525 | (*neg_snesi_sign_extend): Rename to *neg_snesidi_zero. | |
2526 | (*snesi_zero_extend): Delete, covered by 'P' mode iterator. | |
2527 | (*neg_seqsi_zero): Rename to *neg_seqsisi_zero. | |
2528 | (*neg_seqsi_sign_extend): Rename to *neg_seqsidi_zero. | |
2529 | (*seqsi_zero_extend): Delete, covered by 'P' mode iterator. | |
2530 | (*sltu_extend_sp64): Likewise. | |
2531 | (*neg_sltu_insn): Rename to *neg_sltusi_insn. | |
2532 | (*neg_sltu_extend_sp64): Rename to *neg_sltudi_insn. | |
2533 | (*sgeu_extend_sp64): Delete, covered by 'P' mode iterator. | |
2534 | (*neg_sgeu_insn): Rename to *neg_sgeusi_insn. | |
2535 | (*neg_sgeu_extend_sp64): Rename to *neg_sgeudi_insn. | |
2536 | ||
95ca411e YZ |
2537 | 2013-04-10 Yufeng Zhang <yufeng.zhang@arm.com> |
2538 | ||
2539 | * config/aarch64/aarch64.c (aarch64_print_extension): New function. | |
2540 | (aarch64_start_file): Use the new function. | |
2541 | ||
6782438d | 2542 | 2013-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
33159866 | 2543 | Jason Merrill <jason@redhat.com> |
6782438d SKS |
2544 | |
2545 | * common.opt: Add -gdwarf. | |
2546 | * opts.c (common_handle_option): Handle it. | |
2547 | * gcc.c (ASM_DEBUG_SPEC): Don't expect "-2" for DWARF. | |
2548 | ||
bb313b93 RB |
2549 | 2013-04-10 Richard Biener <rguenther@suse.de> |
2550 | ||
2551 | * passes.c (execute_todo): Do not call ggc_collect conditional here. | |
2552 | (execute_one_ipa_transform_pass): But unconditionally here. | |
2553 | (execute_one_pass): And here. | |
2554 | (init_optimization_passes): Remove reload pass. | |
2555 | * tree-pass.h (TODO_ggc_collect): Remove. | |
2556 | (pass_reload): Likewise. | |
2557 | * ira.c (do_reload): Merge into ... | |
2558 | (ira): ... this. | |
2559 | (rest_of_handle_reload): Remove. | |
2560 | (pass_reload): Likewise. | |
2561 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
2562 | of reload for vzeroupper pass placement. | |
2563 | * <everywhere>: Remove TODO_ggc_collect from todo_flags_start | |
2564 | and todo_flags_finish of all passes. | |
2565 | ||
793d9a16 RB |
2566 | 2013-04-10 Richard Biener <rguenther@suse.de> |
2567 | ||
2568 | * tree-vectorizer.h (struct _slp_oprnd_info): Remove | |
2569 | first_const_oprnd field, rename first_def_type to first_op_type. | |
2570 | * tree-vect-slp.c (vect_create_oprnd_info): Adjust. | |
2571 | (vect_get_and_check_slp_defs): Always use the type of the | |
2572 | operand. Allow mixed vect_external_def, vect_constant_def types. | |
2573 | (vect_get_constant_vectors): Handle mixed vect_external_def, | |
2574 | vect_constant_def types. | |
2575 | ||
ee8a9b7b JR |
2576 | 2013-04-10 Joern Rennecke <joern.rennecke@embecosm.com> |
2577 | ||
2578 | PR tree-optimization/55524 | |
2579 | * tree-ssa-math-opts.c | |
2580 | (convert_mult_to_fma): Don't use an fms construct | |
2581 | when we don't have an fms operation, but fnma, and it looks | |
2582 | likely that we'll be able to use the latter. | |
2583 | ||
6957a6f6 ZZ |
2584 | 2013-04-10 Zhouyi Zhou <yizhouzhou@ict.ac.cn> |
2585 | ||
2586 | * cif-code.def (OVERWRITABLE): Correct the comment for overwritable | |
2587 | function. | |
2588 | * ipa-inline.c (can_inline_edge_p): Let dump mechanism report the | |
2589 | inline fail caused by overwritable functions. | |
2590 | ||
34ab4a5b CJW |
2591 | 2013-04-10 Chung-Ju Wu <jasonwucj@gmail.com> |
2592 | ||
2593 | * combine.c (simplify_compare_const): Use GET_MODE_MASK to filter out | |
2594 | unnecessary bits in the constant power of two case. | |
2595 | ||
abf9bfbc RB |
2596 | 2013-04-10 Richard Biener <rguenther@suse.de> |
2597 | ||
2598 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove | |
2599 | broken code swapping operands. | |
2600 | (vect_build_slp_tree): Do not compute load permutations here. | |
2601 | (vect_analyze_slp_instance): Compute load permutations here, | |
2602 | after building the SLP tree. | |
2603 | ||
f408477e CB |
2604 | 2013-04-09 Christian Bruel <christian.bruel@st.com> |
2605 | ||
2606 | * config/sh/sh.md (barrier_align): Use next/prev_active_insn instead | |
2607 | of next/prev_real_insn. | |
2608 | ||
5ac42672 JH |
2609 | 2013-04-09 Jan Hubicka <jh@suse.cz> |
2610 | ||
abf9bfbc RB |
2611 | * ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): |
2612 | Drop aliased parameter. | |
5ac42672 JH |
2613 | (function_and_variable_visibility): Do not handle alias pairs. |
2614 | * cgraph.c (varpool_externally_visible_p): Update prototype. | |
2615 | * varpool.c (varpool_add_new_variable): Update. | |
2616 | ||
5017f1d2 KT |
2617 | 2013-04-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2618 | ||
2619 | * config/arm/arm.md (minmax_arithsi_non_canon): New pattern. | |
2620 | ||
48eecbee SB |
2621 | 2013-04-09 Steven Bosscher <steven@gcc.gnu.org> |
2622 | ||
a949cf1c SB |
2623 | * sched-vis.c (print_pattern): Print SEQUENCE of insns as insns. |
2624 | ||
48eecbee SB |
2625 | * config/sparc/sparc.md: Use define_c_enum for "unspec" and "unspecv". |
2626 | ||
75ef8e3d MP |
2627 | 2013-04-09 Marek Polacek <polacek@redhat.com> |
2628 | ||
2629 | PR tree-optimization/48762 | |
33159866 | 2630 | * params.def (PARAM_MAX_CSE_INSNS): Increase the minimum value to 1. |
75ef8e3d | 2631 | |
23847df4 RB |
2632 | 2013-04-09 Richard Biener <rguenther@suse.de> |
2633 | ||
2634 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove code | |
2635 | dealing with cost. | |
2636 | (vect_build_slp_tree): Likewise. | |
2637 | (vect_analyze_slp_cost_1, vect_analyze_slp_cost): New functions | |
2638 | calculating the cost of a SLP instance. | |
2639 | (vect_analyze_slp_instance): Use it from here, after building | |
2640 | the SLP tree. | |
2641 | ||
ea3a0fde JJ |
2642 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
2643 | ||
2644 | PR middle-end/56883 | |
2645 | * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk, | |
2646 | expand_omp_for_static_chunk): Use simple_p = true in | |
2647 | force_gimple_operand_gsi calls when assigning to addressable decls. | |
2648 | ||
a32dfe9d JL |
2649 | 2013-04-09 Jeff Law <law@redhat.com> |
2650 | ||
2651 | * tree-vrp.c (simplify_cond_using_ranges): Simplify test of boolean | |
2652 | when the boolean was created by converting a wider object which | |
2653 | had a boolean range. | |
2654 | ||
d755c7ef RB |
2655 | 2013-04-09 Richard Biener <rguenther@suse.de> |
2656 | ||
2657 | * tree-vectorizer.h (slp_void_p): Remove. | |
2658 | (slp_tree): Typedef before _slp_tree declaration. | |
2659 | (struct _slp_tree): Use a vector of slp_tree as children. | |
2660 | (vect_get_place_in_interleaving_chain): Remove. | |
2661 | * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain): | |
2662 | Move ... | |
2663 | * tree-vect-slp.c (vect_get_place_in_interleaving_chain): ... here | |
2664 | and make static. | |
2665 | (vect_free_slp_tree, vect_print_slp_tree, vect_mark_slp_stmts, | |
2666 | vect_mark_slp_stmts_relevant, vect_slp_rearrange_stmts, | |
2667 | vect_detect_hybrid_slp_stmts, vect_slp_analyze_node_operations, | |
2668 | vect_schedule_slp_instance, vect_remove_slp_scalar_calls): | |
2669 | Use slp_node instead of slp_void_p and adjust. | |
2670 | ||
3d741091 RB |
2671 | 2013-04-09 Richard Biener <rguenther@suse.de> |
2672 | ||
2673 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Avoid | |
2674 | work that is not necessary. | |
2675 | ||
39307ba7 JJ |
2676 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
2677 | ||
2678 | PR tree-optimization/56854 | |
2679 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't | |
2680 | forward into clobber stmts if it would change MEM_REF lhs into | |
2681 | non-MEM_REF. | |
2682 | ||
343881fd MK |
2683 | 2013-04-09 Maxim Kuvyrkov <maxim@kugelworks.com> |
2684 | ||
2685 | * tree.c (type_hash_lookup, type_hash_add): Make static. | |
2686 | * tree.h (type_hash_lookup, type_hash_add): Remove global declarations. | |
2687 | ||
3922658a RB |
2688 | 2013-04-09 Richard Biener <rguenther@suse.de> |
2689 | ||
2690 | * tree.h (unsave_expr_now): Remove. | |
2691 | * tree-inline.c (mark_local_for_remap_r): Remove. | |
2692 | (unsave_expr_1): Likewise. | |
2693 | (unsave_r): Likewise. | |
2694 | (unsave_expr_now): Likewise. | |
2695 | * tree-ssa-copy.c (replace_exp_1): Use unshare_expr. | |
2696 | (propagate_tree_value): Likewise. | |
2697 | ||
9fb6b620 SB |
2698 | 2013-04-08 Steven Bosscher <steven@gcc.gnu.org> |
2699 | ||
2700 | * doc/rtl.texi (sequence): Rewrite documentation to match the | |
2701 | current use of SEQUENCE rtl objects. | |
2702 | * rtl.def (SEQUENCE): Likewise. | |
2703 | ||
2704 | * doc/rtl.texi (NOTE_INSN_EH_REGION_BEG, NOTE_INSN_EH_REGION_END): | |
2705 | Update documentation. | |
2706 | (NOTE_INSN_LOOP_BEG, NOTE_INSN_LOOP_END, NOTE_INSN_LOOP_CONT, | |
2707 | NOTE_INSN_LOOP_VTOP): Remove documentation for non-existing notes. | |
2708 | ||
2709 | * reg-notes.def (REG_EH_CONTEXT): Remove unused note. | |
2710 | ||
8ddb5a29 TJ |
2711 | 2013-04-08 Teresa Johnson <tejohnson@google.com> |
2712 | ||
2713 | * basic-block.h (GCOV_COMPUTE_SCALE): Define. | |
2714 | * ipa-inline-analysis.c (param_change_prob): Use helper rounding divide | |
33159866 | 2715 | methods. |
8ddb5a29 TJ |
2716 | (estimate_edge_size_and_time): Add comment to suggest using rounding |
2717 | methods. | |
2718 | (estimate_node_size_and_time): Ditto. | |
2719 | (remap_edge_change_prob): Use helper rounding divide methods. | |
2720 | * value-prof.c (gimple_divmod_fixed_value_transform): Ditto. | |
2721 | (gimple_mod_pow2_value_transform): Ditto. | |
2722 | (gimple_mod_subtract_transform): Ditto. | |
2723 | (gimple_ic_transform): Ditto. | |
2724 | (gimple_stringops_transform): Ditto. | |
2725 | * stmt.c (conditional_probability): Ditto. | |
2726 | (emit_case_dispatch_table): Ditto. | |
2727 | * lto-cgraph.c (merge_profile_summaries): Ditto. | |
2728 | * tree-optimize.c (execute_fixup_cfg): Ditto. | |
2729 | * cfgcleanup.c (try_forward_edges): Ditto. | |
2730 | * cfgloopmanip.c (scale_loop_profile): Ditto. | |
2731 | (loopify): Ditto. | |
2732 | (duplicate_loop_to_header_edge): Ditto. | |
2733 | (lv_adjust_loop_entry_edge): Ditto. | |
2734 | * tree-vect-loop.c (vect_transform_loop): Ditto. | |
2735 | * profile.c (compute_branch_probabilities): Ditto. | |
2736 | * cfgbuild.c (compute_outgoing_frequencies): Ditto. | |
2737 | * lto-streamer-in.c (input_cfg): Ditto. | |
2738 | * gimple-streamer-in.c (input_bb): Ditto. | |
2739 | * ipa-cp.c (update_profiling_info): Ditto. | |
2740 | (update_specialized_profile): Ditto. | |
2741 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Ditto. | |
2742 | * cfg.c (update_bb_profile_for_threading): Add comment to suggest using | |
33159866 | 2743 | rounding methods. |
8ddb5a29 TJ |
2744 | * sched-rgn.c (compute_dom_prob_ps): Ditto. |
2745 | (compute_trg_info): Ditto. | |
2746 | * cfgrtl.c (force_nonfallthru_and_redirect): Ditto. | |
2747 | (purge_dead_edges): Ditto. | |
2748 | * loop-unswitch.c (unswitch_loop): Ditto. | |
2749 | * cgraphclones.c (cgraph_clone_edge): Ditto. | |
2750 | (cgraph_clone_node): Ditto. | |
2751 | * tree-inline.c (copy_bb): Ditto. | |
2752 | (copy_edges_for_bb): Ditto. | |
2753 | (initialize_cfun): Ditto. | |
2754 | (copy_cfg_body): Ditto. | |
2755 | (expand_call_inline): Ditto. | |
2756 | ||
661e6bd7 KT |
2757 | 2013-04-08 Kai Tietz <ktietz@redhat.com> |
2758 | ||
2759 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Replaced | |
2760 | TARGET_CYGWIN64 by TARGET_64BIT. | |
2761 | ||
105766f3 JR |
2762 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
2763 | ||
2764 | * config/epiphany/epiphany.md (GPR_1): New constant. | |
2765 | (define_expand "mov<mode>cc): FAIL if gen_compare_reg returned 0. | |
2766 | * config/epiphany/epiphany.c (gen_compare_reg): | |
2767 | For flag_finite_math_only, avoid swapping operands when r0 and/or r1 | |
2768 | is already in place. | |
2769 | Use GPR_0 / GPR_1 instead of 0/1 for r0/r1 register numbers. | |
2770 | Don't require being called during rtl expansion; If y operlaps r0, | |
2771 | return 0. | |
2772 | (epiphany_compute_frame_size, epiphany_expand_prologue): Use GPR_1. | |
2773 | (epiphany_expand_epilogue): Likewise. | |
2774 | ||
8afab237 JR |
2775 | * config/epiphany/epiphany.c (epiphany_select_cc_mode): |
2776 | Don't use CC_FPmode for ORDERED / UNORDERED. | |
33159866 | 2777 | * config/epiphany/epiphany.md (cmpsf_ord): Make pattern unconditional. |
8afab237 | 2778 | |
fa7707d6 JR |
2779 | * config/epiphany/constraints.md (CnL): New constraint. |
2780 | * config/epiphany/epiphany.md (addsi3_i): Add r/r/CnL alternative. | |
2781 | * config/epiphany/predicates.md (add_operand): Allow 1024. | |
2782 | ||
5138e18d JR |
2783 | * config/epiphany/epiphany.md (logical_op): New code iterator. |
2784 | (op_mnc): New code attribute. | |
2785 | (<op_mnc>_f, mov_f, cstoresi4): New patterns. | |
2786 | (mov_f+1, mov_f+2): New peephole2 patterns. | |
2787 | ||
2ccc703d JR |
2788 | * config/epiphany/epiphany.md (mov_f+2): New peephole2 pattern. |
2789 | (cstoresi4): Also allow re-use of zero result when doing a NE | |
2790 | comparison to a non-zero operand. | |
aefb0819 | 2791 | Use (clobber (scratch)) for first insn if the gpr output is not needed. |
2ccc703d | 2792 | |
093ac0a5 JR |
2793 | * config/epiphany/epiphany.md (<insn_opname>v2si3): |
2794 | Use gen_addsi3_i / gen_subsi3_i. | |
2795 | ||
f223bb13 JJ |
2796 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
2797 | ||
2798 | PR c++/34949 | |
2799 | PR c++/50243 | |
2800 | * tree-eh.c (optimize_clobbers): Only remove clobbers if bb doesn't | |
2801 | contain anything but clobbers, at most one __builtin_stack_restore, | |
2802 | optionally debug stmts and final resx, and if it has at least one | |
2803 | incoming EH edge. Don't check for SSA_NAME on LHS of a clobber. | |
2804 | (sink_clobbers): Don't check for SSA_NAME on LHS of a clobber. | |
2805 | Instead of moving clobbers with MEM_REF LHS with SSA_NAME address | |
2806 | which isn't defaut definition, remove them. | |
2807 | (unsplit_eh, cleanup_empty_eh): Use single_{pred,succ}_{p,edge} | |
2808 | instead of EDGE_COUNT comparisons or EDGE_{PRED,SUCC}. | |
2809 | * tree-ssa-ccp.c (execute_fold_all_builtins): Remove clobbers | |
2810 | with MEM_REF LHS with SSA_NAME address. | |
2811 | ||
4481581f JL |
2812 | 2013-04-08 Jeff Law <law@redhat.com> |
2813 | ||
2814 | * gimple.c (canonicalize_cond_expr_cond): Rewrite x ^ y into x != y. | |
a32dfe9d | 2815 | |
451dabda RB |
2816 | 2013-04-08 Richard Biener <rguenther@suse.de> |
2817 | ||
2818 | * gimple-pretty-print.c (debug_gimple_stmt): Do not print | |
2819 | extra newline. | |
2820 | * tree-vect-loop.c (vect_determine_vectorization_factor): Dump | |
2821 | determined vector type. | |
2822 | (vect_analyze_data_refs): Likewise. | |
2823 | (vect_get_new_vect_var): Adjust. | |
2824 | (vect_create_destination_var): Preserve SSA name versions. | |
2825 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Do | |
2826 | not dump anything here. | |
2827 | ||
3b088b47 JR |
2828 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
2829 | ||
2830 | * config/epiphany/epiphany.h (struct GTY (()) machine_function): | |
2831 | Add member lr_slot_known. | |
2832 | * config/epiphany/epiphany.md (reload_insi_ra): Compute lr_slot_offs | |
2833 | if necessary. | |
2834 | * config/epiphany/epiphany.c (epiphany_compute_frame_size): | |
2835 | Remove code that sets lr_slot_offset according to what a previous | |
2836 | version of epiphany_emit_save_restore used to do. | |
2837 | (epiphany_emit_save_restore): When doing an lr save or restore, | |
2838 | set/verify lr_slot_known and lr_slot_offset. | |
2839 | ||
d8484d41 XQ |
2840 | 2013-04-08 Xinyu Qi <xyqi@marvell.com> |
2841 | ||
33159866 UB |
2842 | PR target/54338 |
2843 | * config/arm/arm.h (REG_CLASS_CONTENTS): Include IWMMXT_GR_REGS | |
d8484d41 XQ |
2844 | in ALL_REGS. |
2845 | ||
481be1c4 RB |
2846 | 2013-04-08 Richard Biener <rguenther@suse.de> |
2847 | ||
2848 | * alias.c (find_base_term): Fix thinko in previous change. | |
2849 | ||
401f3a81 JJ |
2850 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
2851 | ||
2852 | * tree-loop-distribution.c (const_with_all_bytes_same): New function. | |
2853 | (generate_memset_builtin): Only handle integer_all_onesp as -1 val if | |
2854 | TYPE_PRECISION is equal to mode bitsize. Use const_with_all_bytes_same | |
2855 | if possible to compute val. | |
2856 | (classify_partition): Verify CONSTRUCTOR doesn't have any elts. | |
2857 | For QImode integers don't require anything about precision. Use | |
2858 | const_with_all_bytes_same to find out if the constant doesn't have | |
2859 | repeated bytes in it. | |
2860 | ||
03ed99a8 AK |
2861 | 2013-04-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2862 | ||
2863 | * config/s390/s390.c (s390_expand_insv): Only accept insertions | |
2864 | within mode size. | |
2865 | ||
781b2e62 MP |
2866 | 2013-04-08 Marek Polacek <polacek@redhat.com> |
2867 | ||
2868 | PR rtl-optimization/48182 | |
2869 | * params.def (PARAM_MIN_CROSSJUMP_INSNS): Increase the minimum | |
2870 | value to 1. | |
2871 | ||
27e430a2 JDA |
2872 | 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2873 | ||
2874 | PR target/55487 | |
2875 | * config/pa/pa.c (legitimize_pic_address): Before incrementing label | |
2876 | nuses, make sure we have a label. | |
2877 | ||
4902aa64 BS |
2878 | 2013-04-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
2879 | ||
2880 | PR target/56843 | |
2881 | * config/rs6000/rs6000.c (rs6000_emit_swdiv_high_precision): Remove. | |
2882 | (rs6000_emit_swdiv_low_precision): Remove. | |
2883 | (rs6000_emit_swdiv): Rewrite to handle between one and four | |
2884 | iterations of Newton-Raphson generally; modify required number of | |
2885 | iterations for some cases. | |
2886 | * config/rs6000/rs6000.h (RS6000_RECIP_HIGH_PRECISION_P): Remove. | |
2887 | ||
7bca81dc SB |
2888 | 2013-04-05 Steven Bosscher <steven@gcc.gnu.org> |
2889 | ||
2890 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove a | |
2891 | set-but-unused variable. | |
2892 | ||
2893 | * cgraph.c (cgraph_release_function_body): Clear cfun->cfg to make | |
2894 | basic blocks of released function bodies garbage-collectable. | |
2895 | ||
2896 | * ree.c (find_and_remove_re): Do not call df_finish_pass here. | |
2897 | (struct rtl_opt_pass): Add TODO_df_finish. | |
2898 | ||
2899 | * rtl.def (DEFINE_SUBST, DEFINE_SUBST_ATTR): Add documentation. | |
2900 | ||
4542a38a GY |
2901 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
2902 | ||
2903 | * config/arm/constraints.md (q): New constraint. | |
2904 | * config/arm/ldrdstrd.md: New file. | |
2905 | * config/arm/arm.md (ldrdstrd.md) New include. | |
2906 | (arm_movdi): Use "q" instead of "r" constraint | |
2907 | for double-word memory access. | |
2908 | (movdf_soft_insn): Likewise. | |
2909 | * config/arm/vfp.md (movdi_vfp): Likewise. | |
2910 | * config/arm/t-arm (MD_INCLUDES): Add ldrdstrd.md. | |
33159866 | 2911 | * config/arm/arm-protos.h (gen_operands_ldrd_strd): New declaration. |
4542a38a GY |
2912 | * config/arm/arm.c (gen_operands_ldrd_strd): New function. |
2913 | (mem_ok_for_ldrd_strd): Likewise. | |
2914 | (output_move_double): Update assertion. | |
2915 | ||
2385b218 GY |
2916 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
2917 | ||
2918 | * config/arm/arm.md: Comment on splitting Thumb1 patterns. | |
2919 | ||
75fe1cb5 GY |
2920 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
2921 | ||
2922 | * config/arm/arm.md (arm_smax_insn): Convert define_insn into | |
2923 | define_insn_and_split. | |
2924 | (arm_smin_insn,arm_umaxsi3,arm_uminsi3): Likewise. | |
2925 | ||
dd660e8e GY |
2926 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
2927 | ||
2928 | * config/arm/arm.md (arm_ashldi3_1bit): Convert define_insn into | |
2929 | define_insn_and_split. | |
33159866 | 2930 | (arm_ashrdi3_1bit,arm_lshrdi3_1bit): Likewise. |
dd660e8e GY |
2931 | (shiftsi3_compare): New pattern. |
2932 | (rrx): New pattern. | |
2933 | * config/arm/unspecs.md (UNSPEC_RRX): New. | |
2934 | ||
045e472c GY |
2935 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
2936 | ||
2937 | * config/arm/arm.md (negdi_extendsidi): New pattern. | |
2938 | (negdi_zero_extendsidi): Likewise. | |
2939 | ||
3f3bf1a8 GY |
2940 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
2941 | ||
2942 | * config/arm/arm.md (andsi_iorsi3_notsi): Convert define_insn into | |
2943 | define_insn_and_split. | |
2944 | (arm_negdi2,arm_abssi2,arm_neg_abssi2): Likewise. | |
2945 | (arm_cmpdi_insn,arm_cmpdi_unsigned): Likewise. | |
2946 | ||
b0b49556 GY |
2947 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
2948 | ||
2949 | * config/arm/arm.md (arm_subdi3): Convert define_insn into | |
2950 | define_insn_and_split. | |
2951 | (subdi_di_zesidi,subdi_di_sesidi): Likewise. | |
2952 | (subdi_zesidi_di,subdi_sesidi_di,subdi_zesidi_zesidi): Likewise. | |
2953 | ||
d633dd84 GY |
2954 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
2955 | ||
2956 | * config/arm/arm.md (subsi3_carryin): New pattern. | |
2957 | (subsi3_carryin_const): Likewise. | |
2958 | (subsi3_carryin_compare,subsi3_carryin_compare_const): Likewise. | |
2959 | (subsi3_carryin_shift,rsbsi3_carryin_shift): Likewise. | |
2960 | ||
f4499066 GY |
2961 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
2962 | ||
2963 | * config/arm/arm.md (incscc,arm_incscc,decscc,arm_decscc): Delete. | |
2964 | ||
ceef6fd9 GY |
2965 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
2966 | ||
2967 | * config/arm/arm.md (addsi3_carryin_<optab>): Set attribute predicable. | |
d633dd84 | 2968 | (addsi3_carryin_alt2_<optab>,addsi3_carryin_shift_<optab>): Likewise. |
ceef6fd9 | 2969 | |
ddbdd8a7 KT |
2970 | 2013-04-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2971 | ||
2972 | * config/arm/arm.c (arm_expand_builtin): Change fcode | |
2973 | type to unsigned int. | |
2974 | ||
8456d78a RR |
2975 | 2013-04-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
2976 | ||
2977 | * doc/invoke.texi (ARM Options): Document cortex-a53 support. | |
2978 | ||
526c230f ILT |
2979 | 2013-04-04 Ian Lance Taylor <iant@google.com> |
2980 | ||
33159866 UB |
2981 | * doc/standards.texi (Standards): The Go frontend supports the Go 1 |
2982 | language standard. | |
526c230f | 2983 | |
3cfbe04d SB |
2984 | 2013-04-04 Steven Bosscher <steven@gcc.gnu.org> |
2985 | ||
2986 | PR middle-end/56729 | |
2987 | * df-scan.c (df_insn_delete): Disable failing assert. | |
2988 | ||
dfa3f8d0 KT |
2989 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2990 | ||
2991 | * config/arm/arm-protos.h (arm_builtin_vectorized_function): | |
2992 | New function prototype. | |
2993 | * config/arm/arm.c (TARGET_VECTORIZE_BUILTINS): Define. | |
2994 | (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Likewise. | |
2995 | (arm_builtin_vectorized_function): New function. | |
2996 | ||
f7837758 KT |
2997 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2998 | ||
2999 | * config/arm/arm_neon_builtins.def: New file. | |
3000 | * config/arm/arm.c (neon_builtin_data): Move contents to | |
3001 | arm_neon_builtins.def. | |
3002 | (enum arm_builtins): Include neon builtin definitions. | |
3003 | (ARM_BUILTIN_NEON_BASE): Move from enum to macro. | |
33159866 | 3004 | * config/arm/t-arm (arm.o): Add dependency on arm_neon_builtins.def. |
f7837758 | 3005 | |
39c1b6db MP |
3006 | 2013-04-04 Marek Polacek <polacek@redhat.com> |
3007 | ||
3008 | PR tree-optimization/48186 | |
3009 | * predict.c (maybe_hot_frequency_p): Return false if | |
3010 | HOT_BB_FREQUENCY_FRACTION is 0. | |
3011 | (cgraph_maybe_hot_edge_p): Likewise. | |
3012 | ||
314f64eb RB |
3013 | 2013-04-04 Richard Biener <rguenther@suse.de> |
3014 | ||
3015 | PR tree-optimization/56826 | |
3016 | * tree-vect-slp.c (vect_build_slp_tree): Compute ncopies | |
3017 | more accurately. | |
3018 | ||
51a905b2 RB |
3019 | 2013-04-04 Richard Biener <rguenther@suse.de> |
3020 | ||
3021 | PR tree-optimization/56213 | |
3022 | * tree-vect-data-refs.c (vect_check_strided_load): Remove. | |
33159866 | 3023 | (vect_analyze_data_refs): Allow all non-nested loads as strided loads. |
51a905b2 | 3024 | |
f1bf4f3a RB |
3025 | 2013-04-04 Richard Biener <rguenther@suse.de> |
3026 | ||
3027 | PR tree-optimization/56837 | |
3028 | * tree-loop-distribution.c (classify_partition): For non-zero | |
3029 | values require that the value has the same precision as its | |
3030 | mode to be useful as memset value. | |
3031 | ||
0bca7ded NC |
3032 | 2013-04-03 Nick Clifton <nickc@redhat.com> |
3033 | ||
33159866 | 3034 | * config/v850/v850e3v5.md (fmasf4): Use fmaf.s on E3V5 architectures. |
0bca7ded NC |
3035 | (fmssf4): Use fmsf.s on E3V5 architectures. |
3036 | (fnmasf4): Use fnmaf.s on E3V5 architectures. | |
3037 | (fnmssf4): Use fnmsf.s on E3V5 architectures. | |
3038 | ||
b4019227 JL |
3039 | 2013-04-03 Jeff Law <law@redhat.com> |
3040 | ||
3041 | * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H). | |
3042 | (lra-eliminations.o): Likewise. | |
3043 | ||
f57ddb5b TJ |
3044 | 2013-04-03 Teresa Johnson <tejohnson@google.com> |
3045 | ||
3046 | * gcov-io.c (compute_working_sets): Moved most of body of old | |
33159866 | 3047 | compute_working_sets here from profile.c. |
f57ddb5b | 3048 | * gcov-io.h (NUM_GCOV_WORKING_SETS): Moved here from profile.c. |
33159866 UB |
3049 | (gcov_working_set_t): Moved typedef here from basic-block.h |
3050 | (compute_working_set): Declare. | |
f57ddb5b TJ |
3051 | * profile.c (NUM_GCOV_WORKING_SETS): Moved to gcov-io.h. |
3052 | (get_working_sets): Renamed from compute_working_set, | |
33159866 | 3053 | replace most of body with call to new compute_working_sets. |
f57ddb5b | 3054 | (get_exec_counts): Replace call to compute_working_sets |
33159866 UB |
3055 | to get_working_sets. |
3056 | * profile.h (get_working_sets): Renamed from compute_working_set. | |
f57ddb5b | 3057 | * lto-cgraph.c (input_symtab): Replace call to compute_working_sets |
33159866 | 3058 | to get_working_sets. |
f57ddb5b TJ |
3059 | * basic-block.h (gcov_working_set_t): Moved to gcov-io.h. |
3060 | * gcov-dump.c (dump_working_sets): New function. | |
3061 | ||
5e0919f1 KZ |
3062 | 2013-04-03 Kenneth Zadeck <zadeck@naturalbridge.com> |
3063 | ||
3064 | * hwint.c (sext_hwi, zext_hwi): New functions. | |
3065 | * hwint.h (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT, | |
3066 | HOST_HALF_WIDE_INT_PRINT, HOST_HALF_WIDE_INT_PRINT_C, | |
3067 | HOST_HALF_WIDE_INT_PRINT_DEC, HOST_HALF_WIDE_INT_PRINT_DEC_C, | |
3068 | HOST_HALF_WIDE_INT_PRINT_UNSIGNED, HOST_HALF_WIDE_INT_PRINT_HEX, | |
3069 | HOST_HALF_WIDE_INT_PRINT_HEX_PURE): New symbols. | |
3070 | (sext_hwi, zext_hwi): New functions. | |
0bca7ded | 3071 | |
be672e08 JL |
3072 | 2013-04-03 Jeff Law <law@redhat.com> |
3073 | ||
3074 | PR tree-optimization/56799 | |
33159866 UB |
3075 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Bring |
3076 | back test for widening conversion erroneously dropped in prior change. | |
be672e08 | 3077 | |
9d821fa5 KT |
3078 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3079 | ||
3080 | PR target/56809 | |
3081 | * config/aarch64/aarch64.c (is_jump_table): Use next_active_insn | |
3082 | instead of next_real_insn. | |
3083 | ||
71c581e7 MP |
3084 | 2013-04-03 Marek Polacek <polacek@redhat.com> |
3085 | ||
3086 | PR sanitizer/55702 | |
33159866 | 3087 | * tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN functions. |
71c581e7 | 3088 | |
4a32ef80 KT |
3089 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3090 | ||
3091 | PR target/56809 | |
3092 | * config/arm/arm.c (is_jump_table): Use next_active_insn instead of | |
3093 | next_real_insn. | |
3094 | (thumb1_output_casesi): Likewise. | |
3095 | (thumb2_output_casesi): Likewise. | |
3096 | ||
1b2253d4 RB |
3097 | 2013-04-03 Richard Biener <rguenther@suse.de> |
3098 | ||
3099 | PR tree-optimization/56817 | |
3100 | * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): | |
3101 | Split out ... | |
3102 | (tree_unroll_loops_completely_1): ... new function to manually | |
3103 | walk the loop tree, properly defering outer loops of unrolled | |
3104 | loops to later iterations. | |
3105 | ||
38000232 MG |
3106 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
3107 | ||
3108 | * tree-vect-stmts.c (vectorizable_store): Accept BIT_FIELD_REF. | |
3109 | (vectorizable_load): Likewise. | |
3110 | * tree-vect-slp.c (vect_build_slp_tree): Likewise. | |
3111 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Handle VECTOR_TYPE. | |
3112 | ||
3fa35298 MG |
3113 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
3114 | ||
3115 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle | |
3116 | BIT_FIELD_REF. | |
3117 | ||
b3d45ff0 UW |
3118 | 2013-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3119 | ||
3120 | * config/spu/spu.c (emit_nop_for_insn): Handle JUMP_TABLE_DATA. | |
3121 | ||
ec9202a8 BC |
3122 | 2013-04-03 Bin Cheng <bin.cheng@arm.com> |
3123 | ||
3124 | * rtl.h (AUTO_INC_DEC): Fix typo of HAVE_POST_MODIFY_DISP. | |
3125 | ||
6805bd36 MG |
3126 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
3127 | ||
3128 | PR tree-optimization/56790 | |
33159866 UB |
3129 | * fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Add constant |
3130 | folding. | |
6805bd36 | 3131 | |
da694a77 MG |
3132 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
3133 | ||
3134 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>: | |
3135 | Handle VEC_MERGE. | |
3136 | (simplify_ternary_operation) <VEC_MERGE>: Use unsigned HOST_WIDE_INT | |
3137 | for masks. Test for side effects. Handle nested VEC_MERGE. Handle | |
3138 | equal arguments. | |
3139 | ||
4e7d7b3d JJ |
3140 | 2013-04-03 Jakub Jelinek <jakub@redhat.com> |
3141 | ||
3142 | PR c/19449 | |
3143 | * tree.h (force_folding_builtin_constant_p): New decl. | |
3144 | * builtins.c (force_folding_builtin_constant_p): New variable. | |
3145 | (fold_builtin_constant_p): Fold immediately also if | |
3146 | force_folding_builtin_constant_p. | |
3147 | ||
e6c9d234 RB |
3148 | 2013-04-03 Richard Biener <rguenther@suse.de> |
3149 | ||
3150 | PR tree-optimization/56812 | |
3151 | * tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependence): | |
3152 | DRs of the same interleaving chain are independent. | |
3153 | ||
984d07dd JM |
3154 | 2013-04-02 Jason Merrill <jason@redhat.com> |
3155 | ||
3156 | * gdbinit.in (pbb): Use debug fn. | |
3157 | ||
622849c9 LC |
3158 | 2013-04-02 Lawrence Crowl <crowl@google.com> |
3159 | ||
3160 | * sese.h (struct ivtype_map_elt_s): Remove unused. | |
3161 | (extern debug_ivtype_map): Remove unused. | |
3162 | (extern eq_ivtype_map_elts): Remove unused. | |
3163 | * sese.c (debug_ivtype_map): Removed unused. | |
3164 | (debug_ivtype_map_1): Removed unused. | |
3165 | (debug_ivtype_elt): Remove unused. | |
3166 | (eq_ivtype_map_elts): Remove unused. | |
3167 | ||
3168 | ||
82c0e1a0 KT |
3169 | 2013-04-02 Kai Tietz <ktietz@redhat.com> |
3170 | ||
3171 | PR target/52790 | |
3172 | * config/i386/cygming.h (SUB_TARGET_RECORD_STUB): New sub-target macro. | |
3173 | * config/i386/i386-protos.h (i386_pe_record_stub): Add new prototype. | |
33159866 UB |
3174 | * config/i386/i386.c (legitimize_pe_coff_extern_decl): New static |
3175 | function. | |
82c0e1a0 KT |
3176 | (legitimize_pe_coff_symbol): Likewise. |
3177 | (is_imported_p): New helper-function. | |
3178 | (ix86_option_override_internal): Make MEDIUM_PIC the default code-model | |
3179 | for Windows x64 targets. | |
3180 | (ix86_expand_prologue): Optimize for pe-coff targets. | |
3181 | (ix86_expand_split_stack_prologue): Adjust for pe-coff targets. | |
3182 | (legitimate_pic_address_disp_p): Adjust for x64 pe-coff to support | |
3183 | medium/large code-model. | |
3184 | (legitimize_pic_address): Likewise. | |
3185 | (legitimize_tls_address): Likewise. | |
3186 | (ix86_expand_call): Likewise. | |
3187 | (x86_output_mi_thunk): Likewise. | |
3188 | (get_dllimport_decl): Add new beimport argument. | |
3189 | (construct_plt_address): Don't assert for x64 pe-coff targets. | |
3190 | * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Adjust for x64 pe-coff | |
3191 | targets. | |
3192 | (SYMBOL_FLAG_STUBVAR): New macro. | |
3193 | (SYMBOL_REF_STUBVAR_P): Likewise. | |
3194 | * config/i386/winnt.c (stub_list): New structure. | |
3195 | (stub_head): New local variable. | |
3196 | (i386_pe_record_stub): New function. | |
3197 | (i386_pe_file_end): Emit refptr-stubs. | |
3198 | ||
5d751b0c JJ |
3199 | 2013-04-02 Jakub Jelinek <jakub@redhat.com> |
3200 | ||
09bb4c99 JJ |
3201 | PR rtl-optimization/56745 |
3202 | * ifcvt.c (cond_exec_find_if_block): Don't try to optimize | |
3203 | if then_bb has no successors and else_bb is EXIT_BLOCK_PTR. | |
3204 | ||
a1d8947a JJ |
3205 | PR c++/34949 |
3206 | * tree-ssa-alias.c (stmt_kills_ref_p_1): If base != ref->base | |
3207 | and both of them are MEM_REFs, just compare first argument for | |
3208 | equality and attempt to deal even with differing offsets. | |
3209 | ||
5d751b0c JJ |
3210 | PR c++/34949 |
3211 | * tree-cfg.c (verify_gimple_assign_single): Allow lhs | |
3212 | of gimple_clobber_p to be MEM_REF. | |
3213 | * gimplify.c (gimplify_modify_expr): Gimplify *to_p of | |
3214 | an assignment from TREE_CLOBBER_P. Allow it to be MEM_REF | |
3215 | after gimplification. | |
3216 | * asan.c (get_mem_ref_of_assignment): Don't instrument | |
3217 | gimple_clobber_p stmts. | |
3218 | * tree-ssa-dse.c (dse_optimize_stmt): Allow DSE of | |
3219 | gimple_clobber_p stmt if they have MEM_REF lhs and | |
3220 | are dead because of another gimple_clobber_p stmt. | |
3221 | * tree-ssa-live.c (clear_unused_block_pointer): Treat | |
3222 | gimple_clobber_p stmts like debug stmts. | |
3223 | (remove_unused_locals): Remove clobbers with MEM_REF lhs | |
3224 | that refer to unused VAR_DECLs or uninitialized values. | |
3225 | * tree-sra.c (sra_ipa_reset_debug_stmts): Also remove | |
3226 | gimple_clobber_p stmts if they refer to removed parameters. | |
3227 | (get_repl_default_def_ssa_name, sra_ipa_modify_expr): Fix up | |
3228 | formatting. | |
3229 | ||
e594716a UB |
3230 | 2013-04-02 Uros Bizjak <ubizjak@gmail.com> |
3231 | ||
3232 | * config/i386/i386.md (*testqi_ext_3): Merge with *testqi_ext_3_rex64 | |
3233 | using SWI48 mode attribute. | |
3234 | ||
7a80735b WM |
3235 | 2013-04-02 Wei Mi <wmi@google.com> |
3236 | ||
3237 | * config/i386/i386.c (ix86_rtx_costs): Set proper rtx cost for | |
3238 | ashl<mode>3_mask, *<shift_insn><mode>3_mask and | |
3239 | *<rotate_insn><mode>3_mask in i386.md. | |
3240 | ||
f423a9e4 AI |
3241 | 2013-04-02 Alexander Ivchenko <alexander.ivchenko@intel.com> |
3242 | ||
3243 | * config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android. | |
3244 | ||
90eb75f2 RB |
3245 | 2013-04-02 Richard Biener <rguenther@suse.de> |
3246 | ||
3247 | PR tree-optimization/56778 | |
3248 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): | |
3249 | Runtime alias tests are not supported for gather loads. | |
3250 | * tree-vect-loop-manip.c (vect_loop_versioning): Insert | |
3251 | stmts referenced from SSA operands before updating SSA form. | |
3252 | ||
d8c69a92 IC |
3253 | 2013-04-02 Ian Caulfield <ian.caulfield@arm.com> |
3254 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
3255 | ||
3256 | * config/arm/arm-arches.def (armv8-a): Default to cortex-a53. | |
e594716a UB |
3257 | * config/arm/t-arm (MD_INCLUDES): Depend on cortex-a53.md. |
3258 | * config/arm/cortex-a53.md: New file. | |
3259 | * config/arm/bpabi.h (BE8_LINK_SPEC): Handle cortex-a53. | |
3260 | * config/arm/arm.md (generic_sched, generic_vfp): Handle cortex-a53. | |
3261 | * config/arm/arm.c (arm_issue_rate): Likewise. | |
3262 | * config/arm/arm-tune.md: Regenerate | |
3263 | * config/arm/arm-tables.opt: Regenerate. | |
3264 | * config/arm/arm-cores.def: Add cortex-a53. | |
d8c69a92 | 3265 | |
239eb04c ZC |
3266 | 2013-04-02 Zhenqiang Chen <zhenqiang.chen@arm.com> |
3267 | ||
3268 | * config/arm/uclinux-elf.h: Add %L to LINK_GCC_C_SEQUENCE_SPEC for | |
3269 | non-static link. | |
3270 | ||
c902d3c8 SN |
3271 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
3272 | ||
d8c69a92 IC |
3273 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add variants for |
3274 | scalar load/store operations using B/H registers. | |
c902d3c8 SN |
3275 | (*zero_extend<SHORT:mode><GPI:mode>2_aarch64): Likewise. |
3276 | ||
051d0e2f SN |
3277 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
3278 | ||
3279 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add alternatives for | |
3280 | scalar move. | |
3281 | * config/aarch64/aarch64.c | |
3282 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
3283 | * config/aarch64/aarch64-protos.h | |
3284 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
3285 | * config/aarch64/constraints.md (Dh, Dq): New. | |
3286 | * config/aarch64/iterators.md (hq): New. | |
3287 | ||
0ee1e3d9 EB |
3288 | 2013-04-02 Eric Botcazou <ebotcazou@adacore.com> |
3289 | ||
3290 | * reorg.c (get_branch_condition): Deal with conditional returns. | |
3291 | (fill_simple_delay_slots): Remove dead code dealing with jumps. | |
3292 | ||
136fb3f7 WM |
3293 | 2013-04-01 Wei Mi <wmi@google.com> |
3294 | ||
3295 | * config/i386/i386.md (*ashl<mode>3_mask): Rewrite as define_insn. | |
3296 | Truncate operand 2 using %b asm operand modifier. | |
3297 | (*<shift_insn><mode>3_mask): Ditto. | |
3298 | (*<rotate_insn><mode>3_mask): Ditto. | |
3299 | ||
6388c738 SB |
3300 | 2013-04-01 Steven Bosscher <steven@gcc.gnu.org> |
3301 | ||
3302 | PR middle-end/56798 | |
3303 | * cfgbuild.c (inside_basic_block_p): Restore check broken at r197234. | |
3304 | ||
f7a4d826 KK |
3305 | 2013-03-31 Kaz Kojima <kkojima@gcc.gnu.org> |
3306 | ||
3307 | * config/sh/sh.md (casesi_worker_1): Use next_active_insn instead | |
3308 | of next_real_insn. | |
3309 | (casesi_worker_2, casesi_shift_media, casesi_load_media): Likewise. | |
3310 | ||
4b943a49 LC |
3311 | 2013-03-30 Lawrence Crowl <crowl@google.com> |
3312 | ||
3313 | * dse.c (clear_alias_sets): Remove never set. | |
3314 | (disqualified_clear_alias_sets): Remove never set. | |
3315 | (clear_alias_mode_pool): Remove never set. | |
3316 | (dse_step0): Remove condition that is never true. | |
3317 | (canon_address): Remove condition that is never true. | |
3318 | (dse_step7): Remove condition that is never true. | |
3319 | (rest_of_handle_dse): Remove condition that is never true. | |
3320 | (rest_of_handle_dse::did_global): Remove never read from above. | |
3321 | (dse_step2_spill): Remove never called from above. | |
3322 | (dse_step5_spill): Remove never called from above. | |
3323 | ||
39718607 SB |
3324 | 2013-03-30 Steven Bosscher <steven@gcc.gnu.org> |
3325 | ||
da5c6bde SB |
3326 | * doc/md.texi (Standard Names) <casesi>: Update documentation for |
3327 | JUMP_TABLE_DATA changes. | |
3328 | * doc/tm.texi.in (Dispatch Tables) <ASM_OUTPUT_CASE_LABEL>: Likewise. | |
3329 | * doc/rtl.texi (Flags) <INSN_DELETED_P, SCHED_GROUP_P>: Likewise. | |
3330 | (Insns) <jump_table_data>: New entry. | |
3331 | * doc/tm.texi: Regenerate. | |
3332 | ||
39718607 SB |
3333 | * cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. |
3334 | ||
3335 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Correct test | |
3336 | for table jump at the end of a basic block using tablejump_p. | |
3337 | * targhooks.c (default_invalid_within_doloop): Likewise. | |
3338 | * config/rs6000/rs6000.c (TARGET_INVALID_WITHIN_DOLOOP): Remove | |
3339 | target hook implementation that is identical to the default hook. | |
3340 | (rs6000_invalid_within_doloop): Remove. | |
3341 | ||
3342 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove set but | |
3343 | unused variable from tablejump_p call. | |
3344 | ||
3345 | * rtl.def (JUMP_TABLE_DATA): New RTX_INSN object. | |
3346 | * rtl.h (RTX_PREV, RTX_NEXT): Adjust for new JUMP_TABLE_DATA. | |
3347 | (INSN_DELETED_P): Likewise. | |
3348 | (emit_jump_table_data): New prototype. | |
3349 | * gengtype.c (adjust_field_rtx_def): Handle JUMP_TABLE_DATA fields | |
3350 | after 4th as unused. | |
3351 | * print-rtl.c (print_rtl): Handle JUMP_TABLE_DATA. | |
3352 | * sched-vis.c (print_insn): Likewise. | |
3353 | * emit-rtl.c (active_insn_p): Consider JUMP_TABLE_DATA an active | |
3354 | insn for compatibility with back ends that use next_active_insn to | |
3355 | identify jump table data. | |
3356 | (set_insn_deleted): Remove no longer useful JUMP_TABLE_DATA_P check. | |
3357 | (remove_insn): Likewise. | |
3358 | (emit_insn): Do not accept JUMP_TABLE_DATA objects in insn chains | |
3359 | to be emitted. | |
3360 | (emit_debug_insn, emit_jump_insn, emit_call_insn, emit_label): Idem. | |
3361 | (emit_jump_table_data): New function. | |
3362 | ||
3363 | * cfgbuild.c (inside_basic_block_p): A JUMP_INSN is always inside a | |
3364 | basic block, a JUMP_TABLE_DATA never is. | |
3365 | (control_flow_insn_p): JUMP_TABLE_DATA is not a control flow insn. | |
3366 | * cfgrtl.c (duplicate_insn_chain): Split handling of JUMP_TABLE_DATA | |
3367 | off from code handling real insns. | |
3368 | * final.c (get_attr_length_1): Simplify for JUMP_INSNs. | |
3369 | * function.c (instantiate_virtual_regs): Remove JUMP_TABLE_DATA_P | |
3370 | test, now redundant because JUMP_TABLE_DATA is not an INSN_P insn. | |
3371 | * gcse.c (insert_insn_end_basic_block): Likewise, JUMP_TABLE_DATA_P | |
3372 | is not a NONDEBUG_INSN_P. | |
3373 | * ira-costs.c (scan_one_insn): Likewise. | |
3374 | * jump.c (mark_all_labels): Likewise. | |
3375 | (mark_jump_label_1): Likewise. | |
3376 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
3377 | * lra.c (get_insn_freq): Expect all insns reaching here to be in | |
3378 | a basic block. | |
3379 | (check_rtl): Remove JUMP_TABLE_DATA_P test, not a NONDEBUG_INSN_P insn. | |
3380 | * predict.c (expensive_function_p): Use FOR_BB_INSNS. | |
3381 | * reload1.c (calculate_needs_all_insns): Call set_label_offsets for | |
3382 | JUMP_TABLE_DATA_P insns. | |
3383 | (calculate_elim_costs_all_insns): Likewise. | |
3384 | (set_label_offsets): Recurse on the PATTERN of JUMP_TABLE_DATA insns. | |
3385 | (elimination_costs_in_insn): Remove redundant JUMP_TABLE_DATA_P test. | |
3386 | (delete_output_reload): Code style fixups. | |
3387 | * reorg.c (dbr_schedule): Move JUMP_TABLE_DATA_P up to avoid setting | |
3388 | insn flags on this non-insn. | |
3389 | * sched-rgn.c (add_branch_dependences): Treat JUMP_TABLE_DATA insns | |
3390 | as scheduling barriers, for pre-change compatibility. | |
3391 | * stmt.c (emit_case_dispatch_table): Emit jump table data not as | |
3392 | JUMP_INSN objects but instead as JUMP_TABLE_DATA objects. | |
3393 | ||
3394 | * config/alpha/alpha.c (alpha_does_function_need_gp): Remove | |
3395 | redundant JUMP_TABLE_DATA_P test. | |
3396 | * config/arm/arm.c (thumb_far_jump_used_p): Likewise. | |
3397 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
3398 | (frv_for_each_packet): Likewise. | |
3399 | * config/i386/i386.c (min_insn_size): Likewise. | |
3400 | (ix86_avoid_jump_mispredicts): Likewise. | |
3401 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
3402 | * config/mep/mep.c (mep_reorg_erepeat): Likewise. | |
3403 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
3404 | (mips16_insn_length): Robustify. | |
3405 | (mips_has_long_branch_p): Remove redundant JUMP_TABLE_DATA_P test. | |
3406 | (mips16_split_long_branches): Likewise. | |
3407 | * config/pa/pa.c (pa_combine_instructions): Likewise. | |
3408 | * config/rs6000/rs6000.c (get_next_active_insn): Treat | |
3409 | JUMP_TABLE_DATA objects as active insns, like in active_insn_p. | |
3410 | * config/s390/s390.c (s390_chunkify_start): Treat JUMP_TABLE_DATA | |
3411 | as contributing to pool range lengths. | |
3412 | * config/sh/sh.c (find_barrier): Restore check for ADDR_DIFF_VEC. | |
3413 | Remove redundant JUMP_TABLE_DATA_P test. | |
3414 | (sh_loop_align): Likewise. | |
3415 | (split_branches): Likewise. | |
3416 | (sh_insn_length_adjustment): Likewise. | |
3417 | * config/spu/spu.c (get_branch_target): Likewise. | |
3418 | ||
0208f7da JH |
3419 | 2013-03-29 Jan Hubicka <jh@suse.cz> |
3420 | ||
3421 | * lto-cgraph.c (output_profile_summary, input_profile_summary): Use | |
3422 | gcov streaming; stream hot bb threshold to ltrans. | |
3423 | * predict.c (get_hot_bb_threshold): Break out from .... | |
3424 | (maybe_hot_count_p): ... here. | |
3425 | (set_hot_bb_threshold): New function. | |
3426 | * lto-section-in.c (lto_section_name): Add profile. | |
3427 | * profile.h (get_hot_bb_threshold, set_hot_bb_threshold): Declare. | |
3428 | * ipa.c: Include hash-table.h, tree-inline.h, profile.h, lto-streamer.h | |
3429 | and data-streamer.h | |
3430 | (histogram_entry): New structure. | |
3431 | (histogram, histogram_pool): New global vars. | |
3432 | (histogram_hash): New structure. | |
3433 | (histogram_hash::hash): New method. | |
3434 | (histogram_hash::equal): Likewise. | |
3435 | (account_time_size): New function. | |
3436 | (cmp_counts): New function. | |
3437 | (dump_histogram): New function. | |
3438 | (ipa_profile_generate_summary): New function. | |
3439 | (ipa_profile_write_summary): New function. | |
3440 | (ipa_profile_read_summary): New function. | |
3441 | (ipa_profile): Decide on threshold. | |
e594716a UB |
3442 | (pass_ipa_profile): Add ipa_profile_write_summary and |
3443 | ipa_profile_read_summary. | |
0208f7da JH |
3444 | * Makefile.in (ipa.o): Update dependencies. |
3445 | * lto-streamer.h (LTO_section_ipa_profile): New section. | |
3446 | ||
5a6ccc94 GDR |
3447 | 2013-03-29 Gabriel Dos Reis <gdr@integrable-solutions.net> |
3448 | ||
3449 | * tree.h (VAR_P): New. | |
3450 | ||
39385fa6 PC |
3451 | 2013-03-29 Paolo Carlini <paolo.carlini@oracle.com> |
3452 | ||
3453 | PR lto/56777 | |
3454 | * doc/invoke.texi ([-fwhole-program]): Fix typo. | |
3455 | ||
34f0d87a SB |
3456 | 2013-03-29 Steven Bosscher <steven@gcc.gnu.org> |
3457 | ||
3458 | * cfgbuild.c (inside_basic_block_p): Use JUMP_TABLE_DATA_P in lieu | |
3459 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
3460 | (control_flow_insn_p): Likewise. | |
3461 | * cfgrtl.c (duplicate_insn_chain): Likewise. | |
3462 | * final.c (get_attr_length_1): Likewise. | |
3463 | (shorten_branches): Likewise. | |
3464 | (final_scan_insn): Likewise. | |
3465 | * function.c (instantiate_virtual_regs): Likewise. | |
3466 | * gcse.c (insert_insn_end_basic_block): Likewise. | |
3467 | * ira-costs.c (scan_one_insn): Likewise. | |
3468 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
3469 | * lra.c (check_rtl): Likewise. | |
3470 | * reload1.c (elimination_costs_in_insn): Likewise. | |
3471 | * reorg.c (follow_jumps): Likewise. | |
3472 | ||
3473 | * config/arm/arm.c (is_jump_table): Use JUMP_TABLE_DATA_P in lieu | |
3474 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
3475 | (thumb_far_jump_used_p): Likewise. | |
3476 | * config/bfin/bfin.c (workaround_rts_anomaly): Likewise. | |
3477 | (workaround_speculation): Likewise. | |
3478 | (add_sched_insns_for_speculation): Likewise. | |
3479 | * config/c6x/c6x.c (reorg_emit_nops): Likewise. | |
3480 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
3481 | (frv_for_each_packet): Likewise. | |
3482 | * config/i386/i386.c (ix86_avoid_jump_mispredicts): Likewise. | |
3483 | * config/ia64/ia64.c (emit_all_insn_group_barriers): Likewise. | |
3484 | (final_emit_insn_group_barriers): Likewise. | |
3485 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
3486 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
3487 | (mips16_insn_length): Likewise. | |
3488 | * config/pa/pa.c (pa_reorg): Likewise. | |
3489 | (pa_combine_instructions): Likewise. | |
3490 | * config/rs6000/rs6000.c (rs6000_invalid_within_doloop): Likewise. | |
3491 | * config/sh/sh.c (fixup_addr_diff_vecs): Likewise. | |
3492 | (sh_reorg): Likewise. | |
3493 | (split_branches): Likewise. | |
3494 | * config/spu/spu.c (get_branch_target): Likewise. | |
3495 | ||
3496 | * config/s390/s390.c (s390_chunkify_start): Simplify logic using | |
3497 | JUMP_TABLE_DATA_P. | |
3498 | ||
4ac761b0 KY |
3499 | 2013-03-29 Kirill Yukhin <kirill.yukhin@intel.com> |
3500 | ||
39385fa6 | 3501 | * config/i386/avx2intrin.h (_mm256_broadcastsi128_si256): |
4ac761b0 KY |
3502 | Fix declaration name. |
3503 | ||
58a49189 LC |
3504 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
3505 | ||
3506 | * graphds.h (struct graph.indicies): Remove unused. | |
3507 | * graphite-poly.h (struct graph.original_pddrs): Remove unused. | |
3508 | (SCOP_ORIGINAL_PDDRS): Remove unused. | |
3509 | * sese.h (extern insert_loop_close_phis): Removed unused. | |
3510 | (extern insert_guard_phis): Removed unused. | |
3511 | (extern ivtype_map_elt_info): Removed unused. | |
3512 | (new_ivtype_map_elt): Removed unused. | |
3513 | * sese.c (ivtype_map_elt_info): Removed unused. | |
3514 | ||
7b3b6ae4 LC |
3515 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
3516 | ||
3517 | * Makefile.in: Add several missing include dependences. | |
3518 | (DUMPFILE_H): New. | |
3519 | (test-dump.o): New. This object is not added to any executable, | |
3520 | but is present for ad-hoc testing. | |
3521 | * bitmap.c | |
3522 | (debug (const bitmap_head_def &)): New. | |
3523 | (debug (const bitmap_head_def *)): New. | |
3524 | * bitmap.h | |
3525 | (extern debug (const bitmap_head_def &)): New. | |
3526 | (extern debug (const bitmap_head_def *)): New. | |
3527 | * cfg.c | |
3528 | (debug (edge_def &)): New. | |
3529 | (debug (edge_def *)): New. | |
3530 | * cfghooks.c | |
3531 | (debug (basic_block_def &)): New. | |
3532 | (debug (basic_block_def *)): New. | |
3533 | * dumpfile.h | |
3534 | (dump_node (const_tree, int, FILE *)): Correct source file. | |
3535 | * dwarf2out.c | |
3536 | (debug (die_struct &)): New. | |
3537 | (debug (die_struct *)): New. | |
3538 | * dwarf2out.h | |
3539 | (extern debug (die_struct &)): New. | |
3540 | (extern debug (die_struct *)): New. | |
3541 | * gimple-pretty-print.c | |
3542 | (debug (gimple_statement_d &)): New. | |
3543 | (debug (gimple_statement_d *)): New. | |
3544 | * gimple-pretty-print.h | |
3545 | (extern debug (gimple_statement_d &)): New. | |
3546 | (extern debug (gimple_statement_d *)): New. | |
3547 | * ira-build.c | |
3548 | (debug (ira_allocno_copy &)): New. | |
3549 | (debug (ira_allocno_copy *)): New. | |
3550 | (debug (ira_allocno &)): New. | |
3551 | (debug (ira_allocno *)): New. | |
3552 | * ira-int.h | |
3553 | (extern debug (ira_allocno_copy &)): New. | |
3554 | (extern debug (ira_allocno_copy *)): New. | |
3555 | (extern debug (ira_allocno &)): New. | |
3556 | (extern debug (ira_allocno *)): New. | |
3557 | * ira-lives.c | |
3558 | (debug (live_range &)): New. | |
3559 | (debug (live_range *)): New. | |
3560 | * lra-int.h | |
3561 | (debug (lra_live_range &)): New. | |
3562 | (debug (lra_live_range *)): New. | |
3563 | * lra-lives.c | |
3564 | (debug (lra_live_range &)): New. | |
3565 | (debug (lra_live_range *)): New. | |
3566 | * omega.c | |
3567 | (debug (omega_pb_d &)): New. | |
3568 | (debug (omega_pb_d *)): New. | |
3569 | * omega.h | |
3570 | (extern debug (omega_pb_d &)): New. | |
3571 | (extern debug (omega_pb_d *)): New. | |
3572 | * print-rtl.c | |
3573 | (debug (const rtx_def &)): New. | |
3574 | (debug (const rtx_def *)): New. | |
3575 | * print-tree.c | |
3576 | (debug_tree (tree): Move within file. | |
3577 | (debug_raw (const tree_node &)): New. | |
3578 | (debug_raw (const tree_node *)): New. | |
3579 | (dump_tree_via_hooks (const tree_node *, int)): New. | |
3580 | (debug (const tree_node &)): New. | |
3581 | (debug (const tree_node *)): New. | |
3582 | (debug_verbose (const tree_node &)): New. | |
3583 | (debug_verbose (const tree_node *)): New. | |
3584 | (debug_head (const tree_node &)): New. | |
3585 | (debug_head (const tree_node *)): New. | |
3586 | (debug_body (const tree_node &)): New. | |
3587 | (debug_body (const tree_node *)): New. | |
3588 | (debug_vec_tree (tree): Move and reimplement in terms of dump. | |
3589 | (debug (vec<tree, va_gc> &)): New. | |
3590 | (debug (vec<tree, va_gc> *)): New. | |
3591 | * rtl.h | |
3592 | (extern debug (const rtx_def &)): New. | |
3593 | (extern debug (const rtx_def *)): New. | |
3594 | * sbitmap.c | |
3595 | (debug_raw (simple_bitmap_def &)): New. | |
3596 | (debug_raw (simple_bitmap_def *)): New. | |
3597 | (debug (simple_bitmap_def &)): New. | |
3598 | (debug (simple_bitmap_def *)): New. | |
3599 | * sbitmap.h | |
3600 | (extern debug (simple_bitmap_def &)): New. | |
3601 | (extern debug (simple_bitmap_def *)): New. | |
3602 | (extern debug_raw (simple_bitmap_def &)): New. | |
3603 | (extern debug_raw (simple_bitmap_def *)): New. | |
3604 | * sel-sched-dump.c | |
3605 | (debug (vinsn_def &)): New. | |
3606 | (debug (vinsn_def *)): New. | |
3607 | (debug_verbose (vinsn_def &)): New. | |
3608 | (debug_verbose (vinsn_def *)): New. | |
3609 | (debug (expr_def &)): New. | |
3610 | (debug (expr_def *)): New. | |
3611 | (debug_verbose (expr_def &)): New. | |
3612 | (debug_verbose (expr_def *)): New. | |
3613 | (debug (vec<rtx> &)): New. | |
3614 | (debug (vec<rtx> *)): New. | |
3615 | * sel-sched-dump.h | |
3616 | (extern debug (vinsn_def &)): New. | |
3617 | (extern debug (vinsn_def *)): New. | |
3618 | (extern debug_verbose (vinsn_def &)): New. | |
3619 | (extern debug_verbose (vinsn_def *)): New. | |
3620 | (extern debug (expr_def &)): New. | |
3621 | (extern debug (expr_def *)): New. | |
3622 | (extern debug_verbose (expr_def &)): New. | |
3623 | (extern debug_verbose (expr_def *)): New. | |
3624 | (extern debug (vec<rtx> &)): New. | |
3625 | (extern debug (vec<rtx> *)): New. | |
3626 | * sel-sched-ir.h | |
3627 | (_list_iter_cond_expr): Make inline instead of static. | |
3628 | * sreal.c | |
3629 | (debug (sreal &)): New. | |
3630 | (debug (sreal *)): New. | |
3631 | * sreal.h | |
3632 | (extern debug (sreal &)): New. | |
3633 | (extern debug (sreal *)): New. | |
3634 | * tree.h | |
3635 | (extern debug_raw (const tree_node &)): New. | |
3636 | (extern debug_raw (const tree_node *)): New. | |
3637 | (extern debug (const tree_node &)): New. | |
3638 | (extern debug (const tree_node *)): New. | |
3639 | (extern debug_verbose (const tree_node &)): New. | |
3640 | (extern debug_verbose (const tree_node *)): New. | |
3641 | (extern debug_head (const tree_node &)): New. | |
3642 | (extern debug_head (const tree_node *)): New. | |
3643 | (extern debug_body (const tree_node &)): New. | |
3644 | (extern debug_body (const tree_node *)): New. | |
3645 | (extern debug (vec<tree, va_gc> &)): New. | |
3646 | (extern debug (vec<tree, va_gc> *)): New. | |
3647 | * tree-cfg.c | |
3648 | (debug (struct loop &)): New. | |
3649 | (debug (struct loop *)): New. | |
3650 | (debug_verbose (struct loop &)): New. | |
3651 | (debug_verbose (struct loop *)): New. | |
3652 | * tree-dump.c: Add header dependence. | |
3653 | * tree-flow.h | |
3654 | (extern debug (struct loop &)): New. | |
3655 | (extern debug (struct loop *)): New. | |
3656 | (extern debug_verbose (struct loop &)): New. | |
3657 | (extern debug_verbose (struct loop *)): New. | |
3658 | * tree-data-ref.c | |
3659 | (debug (data_reference &)): New. | |
3660 | (debug (data_reference *)): New. | |
3661 | (debug (vec<data_reference_p> &)): New. | |
3662 | (debug (vec<data_reference_p> *)): New. | |
3663 | (debug (vec<ddr_p> &)): New. | |
3664 | (debug (vec<ddr_p> *)): New. | |
3665 | * tree-data-ref.h | |
3666 | (extern debug (data_reference &)): New. | |
3667 | (extern debug (data_reference *)): New. | |
3668 | (extern debug (vec<data_reference_p> &)): New. | |
3669 | (extern debug (vec<data_reference_p> *)): New. | |
3670 | (extern debug (vec<ddr_p> &)): New. | |
3671 | (extern debug (vec<ddr_p> *)): New. | |
3672 | * tree-ssa-alias.c | |
3673 | (debug (pt_solution &)): New. | |
3674 | (debug (pt_solution *)): New. | |
3675 | * tree-ssa-alias.h | |
3676 | (extern debug (pt_solution &)): New. | |
3677 | (extern debug (pt_solution *)): New. | |
3678 | * tree-ssa-alias.c | |
3679 | (debug (_var_map &)): New. | |
3680 | (debug (_var_map *)): New. | |
3681 | (debug (tree_live_info_d &)): New. | |
3682 | (debug (tree_live_info_d *)): New. | |
3683 | * tree-ssa-alias.h | |
3684 | (extern debug (_var_map &)): New. | |
3685 | (extern debug (_var_map *)): New. | |
3686 | (extern debug (tree_live_info_d &)): New. | |
3687 | (extern debug (tree_live_info_d *)): New. | |
3688 | ||
be77e1e5 JH |
3689 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
3690 | ||
3691 | * lto-cgraph.c (merge_profile_summaries): Fix overflows. | |
3692 | ||
777e6976 IB |
3693 | 2013-03-28 Ian Bolton <ian.bolton@arm.com> |
3694 | ||
3695 | * config/aarch64/aarch64.md (aarch64_can_eliminate): Keep frame | |
3696 | record only when desired or required. | |
3697 | ||
9cd347ae UB |
3698 | 2013-03-28 Uros Bizjak <ubizjak@gmail.com> |
3699 | ||
3700 | * config/i386/i386.md (*vec_extract2vdi_1): Merge with | |
3701 | *vec_extractv2di_1_rex64. Use x64 isa attribute. | |
3702 | ||
33159866 | 3703 | 2013-03-28 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
2a1d1991 N |
3704 | |
3705 | * config/aarch64/aarch64.md (*and<mode>3_compare0): New pattern. | |
3706 | (*andsi3_compare0_uxtw): New pattern. | |
3707 | (*and_<SHIFT:optab><mode>3_compare0): New pattern. | |
3708 | (*and_<SHIFT:optab>si3_compare0_uxtw): New pattern. | |
3709 | ||
89ab31c1 JH |
3710 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
3711 | ||
3712 | * data-streamer-in.c (streamer_read_gcov_count): New function. | |
3713 | * gimple-streamer-out.c: Include value-prof.h. | |
3714 | (output_gimple_stmt): Output histogram. | |
3715 | (output_bb): Use streamer_write_gcov_count. | |
3716 | * value-prof.c: Include data-streamer.h | |
3717 | (dump_histogram_value): Add HIST_TYPE_MAX. | |
3718 | (stream_out_histogram_value): New function. | |
3719 | (stream_in_histogram_value): New function. | |
3720 | * value-prof.h (enum hist_type): Add HIST_TYPE_MAX. | |
3721 | (stream_out_histogram_value, stream_in_histogram_value): Declare. | |
3722 | * data-streamer-out.c (streamer_write_gcov_count): New function. | |
3723 | (streamer_write_gcov_count_stream): New function. | |
3724 | * lto-cgraph.c (lto_output_edge): Update counter streaming. | |
3725 | (lto_output_node): Likewise. | |
3726 | (input_node, input_edge): Likewise. | |
3727 | * lto-streamer-out.c (output_cfg): Update streaming. | |
3728 | * lto-streamer-in.c (input_cfg): Likewise. | |
3729 | * data-streamer.h (streamer_write_gcov_count, | |
3730 | streamer_write_gcov_count_stream, streamer_read_gcov_count): Declare. | |
3731 | * gimple-streamer-in.c: Include value-prof.h | |
3732 | (input_gimple_stmt): Input histograms. | |
3733 | (input_bb): Update profile streaming. | |
3734 | ||
e594716a | 3735 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
b4c73eed | 3736 | |
33159866 | 3737 | * genmodes.c (emit_max_int): New function. |
8697be17 | 3738 | (emit_insn_modes_h): Added call to emit_max_function. |
39385fa6 PC |
3739 | * doc/rtl.texi (MAX_BITSIZE_MODE_ANY_INT, MAX_BITSIZE_MODE_ANY_MODE): |
3740 | Added doc. | |
8697be17 | 3741 | * machmode.def: Fixed comment. |
89ab31c1 | 3742 | |
e594716a | 3743 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
8697be17 KZ |
3744 | |
3745 | * combine.c (try_combine): Removed useless assert. | |
b4c73eed KZ |
3746 | * cselib.c (rtx_equal_for_cselib_1): Removed unnecessary parens. |
3747 | ||
74946978 MP |
3748 | 2013-03-28 Marek Polacek <polacek@redhat.com> |
3749 | Richard Biener <rguenther@suse.de> | |
3750 | ||
3751 | PR tree-optimization/56695 | |
3752 | * tree-vect-stmts.c (vectorizable_condition): Unconditionally | |
3753 | build signed result of a vector comparison. | |
3754 | * tree-cfg.c (verify_gimple_comparison): Check that a result | |
3755 | of a vector comparison has signed type. | |
3756 | ||
a64b9c26 RB |
3757 | 2013-03-28 Richard Biener <rguenther@suse.de> |
3758 | ||
3759 | PR tree-optimization/37021 | |
3760 | * tree-vect-slp.c (vect_build_slp_tree): When not unrolling | |
3761 | do not restrict gaps between groups. | |
3762 | * tree-vect-stmts.c (vectorizable_load): Properly account for | |
3763 | a gap between groups. | |
3764 | ||
a9dc2a2f EB |
3765 | 2013-03-28 Eric Botcazou <ebotcazou@adacore.com> |
3766 | ||
3767 | * toplev.c (process_options): Do not disable -fomit-frame-pointer on a | |
3768 | general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS | |
3769 | is not enabled. | |
3770 | ||
53cb97f9 GP |
3771 | 2013-03-27 Gerald Pfeifer <gerald@pfeifer.com> |
3772 | ||
3773 | * doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual. | |
3774 | * doc/extend.texi (Named Address Spaces): Ditto. | |
3775 | (Variable Attributes): Ditto. | |
3776 | ||
b802ae5c KT |
3777 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
3778 | ||
eddae10a KT |
3779 | * config.build: Add support for cygwin x64 target. |
3780 | * config.gcc: Likewise. | |
3781 | * config.host: Likewise. | |
3782 | * configure.ac: Likewise | |
3783 | * configure: Regenerated. | |
b802ae5c | 3784 | |
8269de54 KT |
3785 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
3786 | ||
3787 | * config/i386/cygwin-stdint.h: Add support for cygwin x64 target. | |
3788 | * config/i386/t-cygwin-w64: New file. | |
3789 | * config/i386/cygwin-w64.h: New file. | |
3790 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Extend | |
3791 | and add support for x64-cygwin target. | |
3792 | (CPP_SPEC): Likewise. | |
3793 | (CXX_WRAP_SPEC_LIST): Undefine before define. | |
3794 | (LIBGCJ_SONAME): Use 15 as version. | |
3795 | ||
f49b33cb RB |
3796 | 2013-03-27 Richard Biener <rguenther@suse.de> |
3797 | ||
3798 | PR tree-optimization/56716 | |
3799 | * tree-ssa-structalias.c (perform_var_substitution): Adjust | |
3800 | dumping for ref nodes. | |
3801 | ||
b37a6ce5 MJ |
3802 | 2013-03-27 Martin Jambor <mjambor@suse.cz> |
3803 | ||
3804 | PR tree-optimization/55334 | |
3805 | * ipa-cp.c (initialize_node_lattices): Allow IPA-CP through and to | |
3806 | restricted pointers to arrays. | |
3807 | ||
9469b9b2 GDR |
3808 | 2013-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
3809 | ||
3810 | * Makefile.in (.SUFFIXES): Add .cc. | |
3811 | (.c.o): Apply same recipe for implicit rule .cc.o. | |
3812 | ||
7d24f650 RB |
3813 | 2013-03-27 Richard Biener <rguenther@suse.de> |
3814 | ||
3815 | PR tree-optimization/37021 | |
3816 | * tree-vect-data-refs.c (vect_check_strided_load): Allow | |
3817 | REALPART/IMAGPART_EXPRs around the supported refs. | |
3818 | * tree-ssa-structalias.c (find_func_aliases): Assume that | |
3819 | floating-point values are not used to transfer pointers. | |
3820 | ||
2f251a05 AI |
3821 | 2013-03-27 Alexander Ivchenko <alexander.ivchenko@intel.com> |
3822 | ||
39385fa6 PC |
3823 | * target.def (TARGET_HAS_IFUNC_P): New target hook. |
3824 | * doc/tm.texi.in (TARGET_HAS_IFUNC_P): New. | |
3825 | * doc/tm.texi: Regenerate. | |
3826 | * targhooks.h (default_has_ifunc_p): New. | |
3827 | * targhooks.c (default_has_ifunc_p): Ditto. | |
3828 | * config/linux-protos.h: New file. | |
3829 | * config/linux-android.h (TARGET_HAS_IFUNC_P): Using version of | |
2f251a05 AI |
3830 | this hook for linux which disables support of indirect functions in |
3831 | android. | |
39385fa6 PC |
3832 | * config/linux-android.c: New file. |
3833 | * config/t-linux-android.c: Ditto. | |
3834 | * config.gcc: Added new object file linux-android.o. | |
3835 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): | |
2f251a05 | 3836 | Using TARGET_HAS_IFUNC hook instead of HAVE_GNU_INDIRECT_FUNCTION. |
39385fa6 | 3837 | * varasm.c (do_assemble_alias): Likewise. |
2f251a05 AI |
3838 | * configure.ac: Define HAVE_GNU_INDIRECT_FUNCTION as zero if the target |
3839 | doesn't support indirect functions. | |
3840 | * configure: Regenerate. | |
3841 | ||
78b4e425 BC |
3842 | 2013-03-27 Bin Cheng <bin.cheng@arm.com> |
3843 | ||
3844 | PR target/56102 | |
3845 | * config/arm/arm.c (thumb1_rtx_costs, thumb1_size_rtx_costs): Fix | |
3846 | rtx costs for SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT patterns with | |
3847 | mult-word mode. | |
3848 | ||
a5ba7b92 AK |
3849 | 2013-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3850 | ||
3851 | * config/s390/s390.h (TARGET_FLT_EVAL_METHOD): Define. | |
3852 | ||
be624986 TG |
3853 | 2013-03-27 Terry Guo <terry.guo@arm.com> |
3854 | ||
3855 | * config/arm/arm-cores.def: Added core cortex-r7. | |
3856 | * config/arm/arm-tune.md: Regenerated. | |
3857 | * config/arm/arm-tables.opt: Regenerated. | |
3858 | * doc/invoke.texi: Added entry for core cortex-r7. | |
3859 | ||
0a514f47 WL |
3860 | 2013-03-27 Walter Lee <walt@tilera.com> |
3861 | ||
3862 | * config/tilegx/tilegx.c (tilegx_expand_prologue): Avoid | |
3863 | double-decrement of next_scratch_regno. | |
3864 | ||
9332b0d2 WL |
3865 | 2013-03-27 Walter Lee <walt@tilera.com> |
3866 | ||
801d9b2a | 3867 | * config/tilegx/tilegx.md (insn_v1mulu): Fix predicates on |
9332b0d2 WL |
3868 | input operands. |
3869 | (insn_v1mulus): Ditto. | |
3870 | (insn_v2muls): Ditto. | |
3871 | ||
f54ea5dd WL |
3872 | 2013-03-27 Walter Lee <walt@tilera.com> |
3873 | ||
e594716a | 3874 | * config/tilegx/tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete extra tab. |
f54ea5dd WL |
3875 | (ASM_OUTPUT_ADDR_DIFF_ELT): Ditto. |
3876 | ||
bf60f4ca WL |
3877 | 2013-03-27 Walter Lee <walt@tilera.com> |
3878 | ||
e594716a | 3879 | * config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute for jr. |
bf60f4ca WL |
3880 | (*sibcall_value): Ditto. |
3881 | ||
e3b51eeb WL |
3882 | 2013-03-27 Walter Lee <walt@tilera.com> |
3883 | ||
3884 | * config/tilegx/tilegx.md (insn_mnz_<mode>): Replaced by ... | |
3885 | (insn_mnz_v8qi): ... this ... | |
3886 | (insn_mnz_v4hi): ... and this. Replace (const_int 0) with the | |
3887 | vector equivalent. | |
3888 | (insn_v<n>mnz): Replaced by ... | |
3889 | (insn_v1mnz): ... this ... | |
3890 | (insn_v2mnz): ... and this. Replace (const_int 0) with the vector | |
3891 | equivalent. | |
3892 | (insn_mz_<mode>): Replaced by ... | |
3893 | (insn_mz_v8qi): ... this ... | |
3894 | (insn_mz_v4hi): ... and this. Replace (const_int 0) with the | |
3895 | vector equivalent. | |
3896 | (insn_v<n>mz): Replaced by ... | |
3897 | (insn_v1mz): ... this ... | |
3898 | (insn_v2mz): ... and this. Replace (const_int 0) with the vector | |
3899 | equivalent. | |
3900 | ||
4fc7b145 EB |
3901 | 2013-03-26 Eric Botcazou <ebotcazou@adacore.com> |
3902 | ||
3903 | * doc/invoke.texi (SPARC options): Remove -mlittle-endian. | |
3904 | ||
6f33817e RM |
3905 | 2013-03-26 Roland McGrath <mcgrathr@google.com> |
3906 | ||
3907 | * config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather | |
3908 | than fprintf with a non-constant, non-format string. | |
3909 | ||
93a4145b UB |
3910 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
3911 | ||
3912 | * config/i386/i386.md (*cmpqi_ext_1): Merge with *cmpqi_ext_1_rex64 | |
3913 | using nox64 isa attribute. Use nonimmediate_x86nomem_operand as | |
3914 | operand 0 predicate. | |
3915 | (*cmpqi_ext_3): Merge with *cmpqi_ext_3_rex64 using nox64 isa | |
3916 | attribute. Use general_x64nomem_operand as operand 1 predicate. | |
3917 | (*movqi_extv_1): Merge with *movqi_extv_1_rex64 using nox64 isa | |
3918 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
3919 | (*movqi_extzv_2): Merge with *movqi_extzv_2_rex64 using nox64 isa | |
3920 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
3921 | (mov<mode>_insv_1): Remove expander. Merge insn with | |
3922 | movsi_insv_1 using SWI48 mode iterator and nox64 isa attribute. | |
3923 | Use general_x64nomem_operand as operand 1 predicate. | |
3924 | (addqi_ext_1): Merge with *addqi_ext_1_rex64 using nox64 isa attribute. | |
3925 | (*testqi_ext_1): Merge with *testqi_ext_1_rex64 using nox64 isa | |
3926 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
3927 | (*andqi_ext_1): Merge with *andqi_ext_1_rex64 using nox64 isa | |
3928 | attribute. Use nonimmediate_x64nomem_operand as operand 2 predicate. | |
3929 | (*<code>qi_ext_1): Merge with *<code>qi_ext_1_rex64 using nox64 isa | |
3930 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
3931 | (*xorqi_cc_ext_1): Merge with *xorqi_cc_ext_1_rex64 using nox64 | |
3932 | isa attribute. Use general_x64nomem_operand as operand 2 predicate. | |
3933 | * config/i386/predicates.md (nonimmediate_x64nomem_operand): New. | |
3934 | (general_x64nomem_operand): Ditto. | |
3935 | ||
c6a9ed5a | 3936 | 2013-03-26 Sebastian Huber <sebastian.huber@embedded-brains.de> |
df599020 SH |
3937 | |
3938 | * config/rtems.opt: Add -pthread option. | |
3939 | ||
31b0a960 RB |
3940 | 2013-03-26 Richard Biener <rguenther@suse.de> |
3941 | ||
93a4145b UB |
3942 | * alias.c (find_base_term): Avoid redundant and not used recursion. |
3943 | (base_alias_check): Get the initial base term from the caller. | |
31b0a960 RB |
3944 | (true_dependence_1): Compute and pass base terms to base_alias_check. |
3945 | (write_dependence_p): Likewise. | |
3946 | (may_alias_p): Likewise. | |
3947 | ||
79517551 SN |
3948 | 2013-03-26 Sofiane Naci <sofiane.naci@arm.com> |
3949 | ||
3950 | * config/aarch64/aarch64.c (aarch64_classify_address): Support | |
3951 | PC-relative load in SI modes and above only. | |
3952 | ||
a76213b9 XQ |
3953 | 2013-03-26 Xinyu Qi <xyqi@marvell.com> |
3954 | ||
3955 | * config/arm/arm.h (FIRST_IWMMXT_GR_REGNUM): Add comment. | |
33159866 UB |
3956 | * config/arm/iwmmxt.md (WCGR0): Update. |
3957 | (WCGR1, WCGR2, WCGR3): Likewise. | |
a76213b9 | 3958 | |
37ff9355 UB |
3959 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
3960 | ||
3961 | * config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64. | |
3962 | Use x64 and nox64 isa attributes. | |
3963 | ||
30b0317c RB |
3964 | 2013-03-26 Richard Biener <rguenther@suse.de> |
3965 | ||
3966 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove | |
3967 | alignment computations and rely on get_object_alignment_1 | |
3968 | for the !TYPE_P case. | |
3969 | Commonize DECL/COMPONENT_REF handling in the ARRAY_REF path. | |
3970 | ||
cbcdb140 WL |
3971 | 2013-03-26 Walter Lee <walt@tilera.com> |
3972 | ||
3973 | * config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define. | |
3974 | * config/tilegx/tilepro.h (PROFILE_BEFORE_PROLOGUE): Define. | |
3975 | ||
dd884525 | 3976 | 2013-03-25 Jeff Law <law@redhat.com> |
be672e08 | 3977 | |
33159866 UB |
3978 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing |
3979 | check for INTEGRAL_TYPE_P that was missing due to checking in | |
dd884525 JL |
3980 | wrong version of prior patch. |
3981 | ||
0051d3ec WL |
3982 | 2013-03-25 Walter Lee <walt@tilera.com> |
3983 | ||
3984 | * config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add | |
3985 | TILEGX_INSN_SHUFFLEBYTES1. | |
3986 | * config/tilegx/tilegx.c (tilegx_builtin_info): Add entry for | |
3987 | shufflebytes1. | |
3988 | (tilegx_builtins): Ditto. | |
3989 | * config/tilegx/tilegx.md (insn_shufflebytes1): New pattern. | |
3990 | ||
065a3605 WL |
3991 | 2013-03-25 Walter Lee <walt@tilera.com> |
3992 | ||
3993 | * config/tilegx/tilegx.md (floatsisf2): New pattern. | |
0051d3ec WL |
3994 | (floatunssisf2): New pattern. |
3995 | (floatsidf2): New pattern. | |
3996 | (floatunssidf2): New pattern. | |
065a3605 | 3997 | |
5b2a3c82 WL |
3998 | 2013-03-25 Walter Lee <walt@tilera.com> |
3999 | ||
4000 | * config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline | |
4001 | tests for constraint J, K, N, P. | |
4002 | ||
192ea533 WL |
4003 | 2013-03-25 Walter Lee <walt@tilera.com> |
4004 | ||
4005 | * config/tilegx/tilegx.c (tilegx_asm_preferred_eh_data_format): | |
4006 | Use indirect/pcrel encoding. | |
4007 | * config/tilepro/tilepro.c (tilepro_asm_preferred_eh_data_format): | |
4008 | Ditto. | |
4009 | ||
855e0d0b SE |
4010 | 2013-03-25 Steve Ellcey <sellcey@mips.com> |
4011 | ||
4012 | * config/mips/mmips-cpus.def (74kc, 74kf2_1, 74kf, 74kf, 74kf1_1, | |
4013 | 74kfx, 74kx, 74kf3_2): Add PTF_AVOID_IMADD. | |
4014 | * config/mips/mips.c (mips_option_override): Set IMADD default. | |
4015 | * config/mips/mips.h (PTF_AVOID_IMADD): New. | |
4016 | (ISA_HAS_MADD_MSUB): Remove MIPS16 check. | |
4017 | (GENERATE_MADD_MSUB): Remove TUNE_74K check, add MIPS16 check. | |
4018 | * config/mips/mips.md (mimadd): New flag for integer madd/msub. | |
4019 | * doc/invoke.texi (-mimadd/-mno-imadd): New. | |
4020 | ||
39e45653 JL |
4021 | 2013-03-25 Jeff Law <law@redhat.com> |
4022 | ||
4023 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Rework | |
4024 | slightly to avoid creating and folding useless trees. Simplify | |
4025 | slightly by restricting to INTEGER_CSTs and using int_fits_type_p. | |
4026 | ||
7482c470 UB |
4027 | 2013-03-25 Uros Bizjak <ubizjak@gmail.com> |
4028 | ||
4029 | * config/i386/i386.md (*zero_extendsidi2): Merge with | |
4030 | *zero_extendsidi2_rex64. Use x64 and nox64 isa attributes. | |
4031 | * config/i386/predicates.md (x86_64_zext_operand): Rename from | |
4032 | x86_64_zext_general_operand. Use nonimmediate_operand on 32bit | |
4033 | targets. Clarify comment. | |
4034 | ||
4a53743e MJ |
4035 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
4036 | ||
4037 | * ipa-prop.c (ipa_write_jump_function): Stream simple and aritmetic | |
4038 | pass-through jump functions differently. | |
4039 | (ipa_read_jump_function): Likewise. Also use setter functions to set | |
4040 | up jump functions. | |
4041 | ||
162712de MJ |
4042 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
4043 | ||
4044 | * ipa-cp.c (ipa_get_indirect_edge_target): Renamed to | |
4045 | ipa_get_indirect_edge_target_1, added parameter agg_reps and ability to | |
4046 | process it. | |
4047 | (ipa_get_indirect_edge_target): New function. | |
4048 | (devirtualization_time_bonus): New parameter known_aggs, pass it to | |
4049 | ipa_get_indirect_edge_target. Update all callers. | |
4050 | (ipcp_discover_new_direct_edges): New parameter aggvals. Pass it to | |
4051 | ipa_get_indirect_edge_target_1 instead of calling | |
4052 | ipa_get_indirect_edge_target. | |
4053 | (create_specialized_node): Pass aggvlas to | |
4054 | ipcp_discover_new_direct_edges. | |
4055 | ||
a5a4c20a KT |
4056 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
4057 | ||
4058 | * config/arm/arm.md (f_sels, f_seld): New types. | |
4059 | (*cmov<mode>): New pattern. | |
4060 | * config/arm/predicates.md (arm_vsel_comparison_operator): New | |
4061 | predicate. | |
4062 | ||
f992b9fc KT |
4063 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
4064 | ||
4065 | * config/i386/xm-mingw32.h (__USE_MINGW_ANSI_STDIO): Enable | |
4066 | POSIX-printf for mingw-hosted builds. | |
4067 | ||
c16fd676 RB |
4068 | 2013-03-25 Richard Biener <rguenther@suse.de> |
4069 | ||
4070 | PR middle-end/56694 | |
4071 | * tree-eh.c (lower_eh_must_not_throw): Strip BLOCKs from the | |
4072 | must-not-throw stmt location. | |
4073 | ||
5ad29f12 KT |
4074 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
4075 | ||
4076 | * config/arm/arm.c (arm_emit_load_exclusive): Add acq parameter. | |
4077 | Emit load-acquire versions when acq is true. | |
4078 | (arm_emit_store_exclusive): Add rel parameter. | |
4079 | Emit store-release versions when rel is true. | |
4080 | (arm_split_compare_and_swap): Use acquire-release instructions | |
4081 | instead. | |
4082 | of barriers when appropriate. | |
4083 | (arm_split_atomic_op): Likewise. | |
4084 | * config/arm/arm.h (TARGET_HAVE_LDACQ): New macro. | |
4085 | * config/arm/unspecs.md (VUNSPEC_LAX): New unspec. | |
4086 | (VUNSPEC_SLX): Likewise. | |
4087 | (VUNSPEC_LDA): Likewise. | |
4088 | (VUNSPEC_STL): Likewise. | |
4089 | * config/arm/sync.md (atomic_load<mode>): New pattern. | |
4090 | (atomic_store<mode>): Likewise. | |
4091 | (arm_load_acquire_exclusive<mode>): Likewise. | |
4092 | (arm_load_acquire_exclusivesi): Likewise. | |
4093 | (arm_load_acquire_exclusivedi): Likewise. | |
4094 | (arm_store_release_exclusive<mode>): Likewise. | |
4095 | ||
03a7dddb CM |
4096 | 2013-03-25 Catherine Moore <clm@codesourcery.com> |
4097 | ||
4098 | * config/mips/constraints.md (u, Udb7 Uead, Uean, Uesp, Uib3, | |
4099 | Uuw6, Usb4, ZS, ZT, ZU, ZV, ZW): New constraints. | |
4100 | * config/mip/predicates.md (lwsp_swsp_operand, | |
4101 | lw16_sw16_operand, lhu16_sh16_operand, lbu16_operand, | |
4102 | sb16_operand, db4_operand, db7_operand, ib3_operand, | |
4103 | sb4_operand, ub4_operand, uh4_operand, uw4_operand, | |
4104 | uw5_operand, uw6_operand, addiur2_operand, addiusp_operand, | |
4105 | andi16_operand): New predicates. | |
4106 | * config/mips/mips.md (compression): New attribute. | |
4107 | (enabled): New attribute. | |
4108 | (length): Consider compression in computing length. | |
4109 | (shift_compression): New code attribute. | |
4110 | (*add<mode>3): New operands. Record compression. | |
4111 | (sub<mode>3): Likewise. | |
4112 | (one_cmpl<mode>2): Likewise. | |
4113 | (*and<mode>3): Likewise. | |
4114 | (*ior<mode>3): Likewise. | |
4115 | (unnamed pattern for xor): Likewise. | |
4116 | (*zero_extend<SHORT:mode><GPR:mode>2): Likewise. | |
4117 | (*<optab><mode>3): Likewise. | |
4118 | (*mov<mode>_internal: Likewise. | |
4119 | * config/mips/mips-protos.h (mips_signed_immediate_p): New. | |
4120 | (mips_unsigned_immediate_p): New. | |
4121 | (umips_lwsp_swsp_address_p): New. | |
4122 | (m16_based_address_p): New. | |
4123 | * config/mips/mips-protos.h (mips_signed_immediate_p): New prototype. | |
4124 | (mips_unsigned_immediate_p): New prototype. | |
4125 | (lwsp_swsp_address_p): New prototype. | |
4126 | (m16_based_address_p): New prototype. | |
4127 | * config/mips/mips.c (mips_unsigned_immediate_p): New function. | |
4128 | (mips_signed_immediate_p): New function. | |
4129 | (m16_based_address_p): New function. | |
4130 | (lwsp_swsp_address_p): New function. | |
4131 | (mips_print_operand_punctuation): Recognize short delay slot insns | |
4132 | for microMIPS.add<mode>3" | |
4133 | ||
f35c297f | 4134 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
a5784ce6 | 4135 | |
f35c297f KT |
4136 | PR target/56720 |
4137 | * config/arm/iterators.md (v_cmp_result): New mode attribute. | |
4138 | * config/arm/neon.md (vcond<mode><mode>): Handle unordered cases. | |
4139 | ||
051b9446 RB |
4140 | 2013-03-25 Richard Biener <rguenther@suse.de> |
4141 | ||
4142 | PR tree-optimization/56689 | |
4143 | * tree-vrp.c (execute_vrp): Mark loops for fixup if we removed | |
4144 | any edge. | |
4145 | ||
374001cb RB |
4146 | 2013-03-25 Richard Biener <rguenther@suse.de> |
4147 | ||
4148 | * tree-ssa-loop-im.c (struct mem_ref): Use bitmap_head instead | |
4149 | of bitmap. | |
4150 | (memory_references): Likewise. | |
4151 | (outermost_indep_loop, mem_ref_alloc, mark_ref_stored, | |
4152 | gather_mem_refs_stmt, record_dep_loop, ref_indep_loop_p_1, | |
4153 | ref_indep_loop_p_2, find_refs_for_sm): Adjust. | |
4154 | (gather_mem_refs_in_loops): Fold into ... | |
4155 | (analyze_memory_references): ... this. Move initialization | |
4156 | to tree_ssa_lim_initialize. | |
4157 | (fill_always_executed_in): Rename to ... | |
4158 | (fill_always_executed_in_1): ... this. | |
4159 | (fill_always_executed_in): Move contains_call computation to | |
4160 | this new function from ... | |
4161 | (tree_ssa_lim_initialize): ... here. | |
4162 | (tree_ssa_lim): Call fill_always_executed_in. | |
4163 | ||
57895947 EB |
4164 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
4165 | ||
4166 | * postreload.c (reload_combine): Fix code detecting returns. | |
4167 | ||
1e1b18c1 EB |
4168 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
4169 | ||
4170 | * function.c (emit_use_return_register_into_block): On cc0 targets, | |
4171 | do not emit the sequence between cc0 setter and user. | |
4172 | ||
9216baf1 KT |
4173 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
4174 | ||
1e1b18c1 EB |
4175 | * config/i386/predicates.md (local_symbolic_operand): Interpret |
4176 | dll-imported symbols as none-local. | |
9216baf1 | 4177 | |
76421b44 RB |
4178 | 2013-03-25 Richard Biener <rguenther@suse.de> |
4179 | ||
4180 | * tree-ssa-loop-im.c (struct depend): Remove. | |
4181 | (struct lim_aux_data): Make depends a vec of gimples. | |
4182 | (free_lim_aux_data): Adjust. | |
4183 | (add_dependency): Likewise. | |
4184 | (set_level): Likewise. | |
4185 | ||
d154bfa2 RB |
4186 | 2013-03-25 Richard Biener <rguenther@suse.de> |
4187 | ||
4188 | PR middle-end/56434 | |
4189 | * calls.c (expand_call): Use MALLOC_ABI_ALIGNMENT to annotate | |
4190 | the pointer returned by calls with ECF_MALLOC set. | |
4191 | ||
2cd9804e UB |
4192 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> |
4193 | ||
acef5fe0 UB |
4194 | * config/i386/mmx.md (mov<mode>): Add ?!Ym,r and r,?!Ym alternatives. |
4195 | ||
4196 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> | |
4197 | ||
4198 | * config/i386/mmx.md (mov<mode>): Merge with movv2sf expander | |
2cd9804e UB |
4199 | using MMXMODE mode iterator. |
4200 | (*move<mode>_internal): Merge with *movv2sf_internal and | |
4201 | *movv2sf_internal_rex64 using MMXMODE mode iterator. | |
4202 | ||
225ccc68 SB |
4203 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
4204 | ||
85c0f02d SB |
4205 | * gcse.c (oprs_unchanged_p): Respect flag_gcse_lm. |
4206 | (record_last_mem_set_info): Likewise. | |
4207 | ||
225ccc68 SB |
4208 | * df-core.c (rest_of_handle_df_initialize): Use XCNEWVEC instead |
4209 | of XNEWVEC followed by memset. | |
4210 | (df_worklist_dataflow): Use XNEWVEC instead of xmalloc with a cast. | |
4211 | ||
b64925dc SB |
4212 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
4213 | ||
4214 | * config/avr/avr.c, config/bfin/bfin.c, config/c6x/c6x.c, | |
4215 | config/epiphany/epiphany.c, config/frv/frv.c, config/ia64/ia64.c, | |
4216 | config/iq2000/iq2000.c, config/mcore/mcore.c, config/mep/mep.c, | |
4217 | config/mmix/mmix.c, config/pa/pa.c, config/rs6000/rs6000.c, | |
4218 | config/s390/s390.c, config/sparc/sparc.c, config/spu/spu.c, | |
4219 | config/stormy16/stormy16.c, config/v850/v850.c, config/xtensa/xtensa.c, | |
4220 | dwarf2out.c, hw-doloop.c, resource.c, rtl.h : Where applicable, use | |
4221 | the predicates NOTE_P, NONJUMP_INSN_P, JUMP_P, CALL_P, LABEL_P, and | |
4222 | BARRIER_P instead of GET_CODE. | |
4223 | ||
b9aaf52e EB |
4224 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
4225 | ||
4226 | * config/sparc/sparc.c (sparc_emit_probe_stack_range): Fix small | |
4227 | inaccuracy in the probing code. | |
4228 | ||
4229 | * config/sparc/sparc.md (ctrapsi4): Add predicate for operand #3. | |
4230 | (ctrapdi4): Likewise. | |
4231 | ||
66de4d7c EB |
4232 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
4233 | ||
4234 | * calls.c (expand_call): Add missing guard to code handling return | |
4235 | of non-BLKmode structures in MSB. | |
4236 | * function.c (expand_function_end): Likewise. | |
4237 | ||
4f25c8fb EB |
4238 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
4239 | ||
4240 | * combine.c (try_combine): Adjust comment. Do not add the set of | |
4241 | insn #0 if the destination indirectly is set or dies in insn #2. | |
4242 | Tidy up code to distribute a new note. | |
4243 | ||
23b7850d UB |
4244 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
4245 | ||
4246 | * config/i386/i386.md (*movdi_internal): Set prefix_rex attribute | |
4247 | also for alternatives 16 and 17. | |
4248 | ||
bed852cf UB |
4249 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
4250 | ||
4251 | * config/i386/sse.md (*mov<mode>_internal): Merge with | |
4252 | *mov<mode>_internal_rex64. Use x64 and nox64 isa attributes. | |
4253 | Emit insn template depending on type attribute. Use | |
4254 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
4255 | movd instead of movq mnemonic for interunit moves. Rewrite mode | |
4256 | attribute calculation. Remove unit attribute calculation. | |
4257 | Set prefix attribute to maybe_vex for sselog1 and ssemov types. | |
4258 | Set prefix_data16 attribute for DImode ssemov types. | |
4259 | Use Ym instead of y for SSE-MMX conversion alternatives. | |
4260 | Reorder operand constraints. | |
4261 | ||
1e8a7937 SB |
4262 | 2013-03-22 Steven Bosscher <steven@gcc.gnu.org> |
4263 | ||
4264 | * df.h (df_insn_delete): Adjust prototype. | |
4265 | * emit-rtl.c (remove_insn): Pass a basic block to df_insn_delete | |
4266 | and let it decide whether mark the basic block dirty. | |
4267 | (set_insn_deleted): Only pass INSN_P insns to df_insn_delete. | |
4268 | * df-scan.c (df_insn_info_delete): New helper function, split | |
4269 | off from df_insn_delete. | |
4270 | (df_scan_free_bb_info): Use it. | |
4271 | (df_insn_rescan, df_insn_rescan_all, df_process_deferred_rescans): | |
4272 | Likewise. | |
4273 | (df_insn_delete): Likewise. Take insn rtx as argument. Verify | |
4274 | that the insn is actually an insn and it has a non-NULL basic block. | |
4275 | Do not mark basic block dirty if only deleting a DEBUG_INSN. | |
4276 | ||
e14d094c RB |
4277 | 2013-03-22 Richard Biener <rguenther@suse.de> |
4278 | ||
4279 | * tree-ssa-loop-im.c (struct mem_ref): Remove indep_ref and | |
4280 | dep_ref members. | |
4281 | (mem_ref_alloc): Do not allocate them. | |
4282 | (refs_independent_p): Do not query or maintain a cache. | |
4283 | ||
e9cf7316 RB |
4284 | 2013-03-22 Richard Biener <rguenther@suse.de> |
4285 | ||
4286 | * tree-ssa-loop-im.c (memory_references): Drop all_refs_in_loop. | |
4287 | (gather_mem_refs_in_loops): Do not compute it. | |
4288 | (analyze_memory_references): Do not allocate it. | |
4289 | (tree_ssa_lim_finalize): Do not free it. | |
4290 | (for_all_locs_in_loop): Do not query all_refs_in_loop. | |
4291 | ||
f046e81b RB |
4292 | 2013-03-22 Richard Biener <rguenther@suse.de> |
4293 | ||
4294 | * is-a.h (as_a): Use gcc_checking_assert. | |
bed852cf | 4295 | |
a05c0ddf IB |
4296 | 2013-03-22 Ian Bolton <ian.bolton@arm.com> |
4297 | ||
4298 | * config/aarch64/aarch64.c (aarch64_print_operand): New | |
4299 | format specifier for printing a constant in hex. | |
4300 | * config/aarch64/aarch64.md (insv_imm<mode>): Use the X | |
4301 | format specifier for printing second operand. | |
4302 | ||
c00217fc RB |
4303 | 2013-03-22 Richard Biener <rguenther@suse.de> |
4304 | ||
4305 | * tree-ssa-loop-im.c (memory_references): Add refs_stored_in_loop | |
4306 | bitmaps. | |
4307 | (gather_mem_refs_in_loops): Perform store accumulation here. | |
4308 | (create_vop_ref_mapping_loop): Remove. | |
4309 | (create_vop_ref_mapping): Likewise. | |
4310 | (analyze_memory_references): Initialize refs_stored_in_loop. | |
bed852cf | 4311 | (LOOP_DEP_BIT): New define to map to bits in (in)dep_loop bitmaps. |
c00217fc RB |
4312 | (record_indep_loop): Remove. |
4313 | (record_dep_loop): New function. | |
4314 | (ref_indep_loop_p_1): Adjust to only walk over references | |
4315 | in the loop, not its subloops. | |
4316 | (ref_indep_loop_p): Rename to ... | |
4317 | (ref_indep_loop_p_2): ... this and recurse over the loop tree, | |
4318 | maintaining a more fine-grained cache. | |
4319 | (ref_indep_loop_p): Wrap ref_indep_loop_p_2. | |
4320 | (tree_ssa_lim_finalize): Free refs_stored_in_loop. | |
4321 | ||
15d19bf8 RB |
4322 | 2013-03-22 Richard Biener <rguenther@suse.de> |
4323 | ||
4324 | * tree-ssa-loop-im.c (struct mem_ref_locs): Remove. | |
4325 | (struct mem_ref): Make accesses_in_loop a vec of a vec of | |
4326 | aggregate mem_ref_loc. | |
4327 | (free_mem_ref_locs): Inline into ... | |
4328 | (memref_free): ... this and adjust. | |
4329 | (mem_ref_alloc): Adjust. | |
4330 | (mem_ref_locs_alloc): Remove. | |
4331 | (record_mem_ref_loc): Adjust. | |
4332 | (get_all_locs_in_loop): Rewrite into ... | |
4333 | (for_all_locs_in_loop): ... this iterator. | |
4334 | (rewrite_mem_ref_loc): New functor. | |
4335 | (rewrite_mem_refs): Use for_all_locs_in_loop. | |
4336 | (sm_set_flag_if_changed): New functor. | |
4337 | (execute_sm_if_changed_flag_set): Use for_all_locs_in_loop. | |
4338 | (ref_always_accessed): New functor. | |
4339 | (ref_always_accessed_p): Use for_all_locs_in_loop. | |
4340 | ||
6f37411d MG |
4341 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
4342 | ||
4343 | * tree-pass.h (PROP_gimple_lvec): New. | |
4344 | * passes.c (dump_properties): Handle PROP_gimple_lvec. | |
4345 | (init_optimization_passes): Move pass_lower_vector. | |
4346 | * tree-vect-generic.c (gate_expand_vector_operations_ssa): Test | |
4347 | PROP_gimple_lvec. | |
4348 | (pass_lower_vector): Provide PROP_gimple_lvec. | |
4349 | (pass_lower_vector_ssa): Likewise. | |
4350 | * cfgexpand.c (pass_expand): Require PROP_gimple_lvec. | |
4351 | ||
511ef689 MW |
4352 | 2013-03-21 Mark Wielaard <mjw@redhat.com> |
4353 | ||
4354 | * dwarf2out.c (size_of_aranges): Skip DECL_IGNORED_P functions. | |
4355 | ||
cc1df30b UB |
4356 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
4357 | ||
4358 | * config/i386/i386.md (*movdi_internal): Disparage slightly | |
4359 | all MMX moves to/from memory. Use Yi instead of x for SSE-MMX | |
4360 | conversion alternatives. | |
4361 | ||
c845cfe1 JJ |
4362 | 2013-03-21 Jakub Jelinek <jakub@redhat.com> |
4363 | ||
37e99116 JJ |
4364 | PR middle-end/48087 |
4365 | * diagnostic.def (DK_WERROR): New kind. | |
4366 | * diagnostic.h (werrorcount): Define. | |
4367 | * diagnostic.c (diagnostic_report_diagnostic): For DK_WARNING | |
4368 | promoted to DK_ERROR, increment DK_WERROR counter instead of | |
4369 | DK_ERROR counter. | |
4370 | * toplev.c (toplev_main): Call print_ignored_options even if | |
4371 | just werrorcount is non-zero. Exit with FATAL_EXIT_CODE | |
4372 | even if just werrorcount is non-zero. | |
4373 | ||
c845cfe1 JJ |
4374 | PR debug/55608 |
4375 | * dwarf2out.c (tree_add_const_value_attribute): Call ggc_free (array) | |
4376 | on failure. | |
4377 | (resolve_one_addr): Fail if referenced STRING_CST hasn't been written. | |
4378 | (string_cst_pool_decl): New function. | |
4379 | (optimize_one_addr_into_implicit_ptr): New function. | |
4380 | (resolve_addr_in_expr): Optimize DWARF location expression | |
4381 | DW_OP_addr DW_OP_stack_value where DW_OP_addr refers to some variable | |
4382 | which doesn't live in memory, but has DW_AT_location or | |
4383 | DW_AT_const_value, or refers to a string literal, into | |
4384 | DW_OP_GNU_implicit_pointer. | |
4385 | (optimize_location_into_implicit_ptr): New function. | |
4386 | (resolve_addr): If removing DW_AT_location of a variable because | |
4387 | it was DW_OP_addr of address of the variable, but the variable doesn't | |
4388 | live in memory, try to emit const value attribute for the initializer. | |
4389 | ||
08e0cda6 MG |
4390 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
4391 | ||
4392 | * tree.h (VECTOR_TYPE_P): New macro. | |
4393 | (VECTOR_INTEGER_TYPE_P, VECTOR_FLOAT_TYPE_P, FLOAT_TYPE_P, | |
4394 | TYPE_MODE): Use it. | |
4395 | * fold-const.c (fold_cond_expr_with_comparison): Use build_zero_cst. | |
4396 | VEC_COND_EXPR cannot be lvalues. | |
4397 | (fold_ternary_loc) <VEC_COND_EXPR>: Merge with the COND_EXPR case. | |
4398 | ||
d08633b4 MG |
4399 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
4400 | ||
4401 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_CONCAT>: | |
4402 | Restrict the transformation to equal modes. | |
4403 | ||
e6647190 RB |
4404 | 2013-03-21 Richard Biener <rguenther@suse.de> |
4405 | ||
4406 | PR tree-optimization/39326 | |
4407 | * tree-ssa-loop-im.c (UNANALYZABLE_MEM_ID): New define. | |
4408 | (MEM_ANALYZABLE): Adjust. | |
4409 | (record_mem_ref_loc): Move bitmap ops ... | |
4410 | (gather_mem_refs_stmt): ... here. Use the shared mem-ref for | |
4411 | unanalyzable refs, do not record locations for it. | |
4412 | (analyze_memory_references): Allocate ref zero as shared | |
4413 | unanalyzable ref. | |
4414 | (refs_independent_p): Do not test for unanalyzed mems here. | |
4415 | (ref_indep_loop_p_1): Special-case disambiguation against | |
4416 | the unanalyzed ref. | |
cc1df30b | 4417 | (ref_indep_loop_p): Assert we are not queried for the unanalyzed mem. |
e6647190 | 4418 | |
65074f54 CL |
4419 | 2013-03-21 Christophe Lyon <christophe.lyon@linaro.org> |
4420 | ||
4421 | * config/arm/arm-protos.h (tune_params): Add | |
4422 | prefer_neon_for_64bits field. | |
4423 | * config/arm/arm.c (prefer_neon_for_64bits): New variable. | |
4424 | (arm_slowmul_tune): Default prefer_neon_for_64bits to false. | |
4425 | (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto. | |
4426 | (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto. | |
4427 | (arm_cortex_a15_tune, arm_cortex_a5_tune): Ditto. | |
4428 | (arm_cortex_a9_tune, arm_v6m_tune, arm_fa726te_tune): Ditto. | |
4429 | (arm_option_override): Handle -mneon-for-64bits new option. | |
4430 | * config/arm/arm.h (TARGET_PREFER_NEON_64BITS): New macro. | |
4431 | (prefer_neon_for_64bits): Declare new variable. | |
4432 | * config/arm/arm.md (arch): Rename neon_onlya8 and neon_nota8 to | |
cc1df30b | 4433 | avoid_neon_for_64bits and neon_for_64bits. Remove onlya8 and nota8. |
65074f54 CL |
4434 | (arch_enabled): Handle new arch types. Remove support for onlya8 |
4435 | and nota8. | |
4436 | (one_cmpldi2): Use new arch names. | |
bc5faa5b | 4437 | (zero_extend<mode>di2, extend<mode>di2): Ditto. |
65074f54 CL |
4438 | * config/arm/arm.opt (mneon-for-64bits): Add option. |
4439 | * config/arm/neon.md (adddi3_neon, subdi3_neon, iordi3_neon) | |
4440 | (anddi3_neon, xordi3_neon, ashldi3_neon, <shift>di3_neon): Use | |
4441 | neon_for_64bits instead of nota8 and avoid_neon_for_64bits instead | |
4442 | of onlya8. | |
4443 | * doc/invoke.texi (-mneon-for-64bits): Document. | |
4444 | ||
5a2d2a79 RB |
4445 | 2013-03-21 Richard Biener <rguenther@suse.de> |
4446 | ||
4447 | PR tree-optimization/39326 | |
4448 | * tree-ssa-loop-im.c (bb_loop_postorder): New global static. | |
4449 | (sort_bbs_in_loop_postorder_cmp): New function. | |
cc1df30b | 4450 | (gather_mem_refs_in_loops): Assign mem-ref IDs in loop postorder. |
5a2d2a79 | 4451 | |
5abe1e05 RB |
4452 | 2013-03-21 Richard Biener <rguenther@suse.de> |
4453 | ||
4454 | * tree-vect-data-refs.c (vect_update_interleaving_chain): Remove. | |
4455 | (vect_insert_into_interleaving_chain): Likewise. | |
4456 | (vect_drs_dependent_in_basic_block): Inline ... | |
4457 | (vect_slp_analyze_data_ref_dependence): ... here. New function, | |
4458 | split out from ... | |
4459 | (vect_analyze_data_ref_dependence): ... here. Simplify. | |
4460 | (vect_check_interleaving): Simplify. | |
4461 | (vect_analyze_data_ref_dependences): Likewise. Split out ... | |
4462 | (vect_slp_analyze_data_ref_dependences): ... this new function. | |
4463 | (dr_group_sort_cmp): New function. | |
4464 | (vect_analyze_data_ref_accesses): Compute data-reference groups | |
4465 | here instead of in vect_analyze_data_ref_dependence. Use | |
4466 | a more efficient algorithm. | |
4467 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Use | |
4468 | vect_slp_analyze_data_ref_dependences. Call | |
4469 | vect_analyze_data_ref_accesses earlier. | |
4470 | * tree-vect-loop.c (vect_analyze_loop_2): Likewise. | |
4471 | * tree-vectorizer.h (vect_analyze_data_ref_dependences): Adjust. | |
4472 | (vect_slp_analyze_data_ref_dependences): New prototype. | |
4473 | ||
cad1735b RB |
4474 | 2013-03-21 Richard Biener <rguenther@suse.de> |
4475 | ||
4476 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not test whether | |
4477 | ref is stored in the loop. | |
4478 | (find_refs_for_sm): Walk only over all stores. | |
4479 | (store_motion_loop): Allocate from lim_bitmap_obstack. | |
4480 | (store_motion): Likewise. | |
4481 | ||
141310ef RB |
4482 | 2013-03-21 Richard Biener <rguenther@suse.de> |
4483 | ||
4484 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): | |
4485 | Update virtual SSA form. | |
4486 | ||
5022315a RO |
4487 | 2013-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4488 | ||
4489 | * configure.ac (gcc_cv_ld_eh_frame_ciev3): New test. | |
4490 | * configure: Regenerate. | |
4491 | * config.in: Regenerate. | |
4492 | * config/sol2.c (solaris_override_options): Only enforce DWARF 2 | |
4493 | if !HAVE_LD_EH_FRAME_CIEV3. | |
4494 | ||
50d4421c RB |
4495 | 2013-03-21 Richard Biener <rguenther@suse.de> |
4496 | ||
4497 | * tree-cfg.c (verify_expr_no_block): New function. | |
4498 | (verify_expr_location_1): Verify that neither DECL_DEBUG_EXPR | |
4499 | nor DECL_VALUE_EXPR have locations with associated blocks. | |
4500 | * tree-ssa-live.c (clear_unused_block_pointer_1): Remove. | |
4501 | (clear_unused_block_pointer): Remove code dealing with | |
4502 | blocks in DECL_DEBUG_EXPR locations. | |
4503 | ||
839b422f RB |
4504 | 2013-03-21 Richard Biener <rguenther@suse.de> |
4505 | ||
4506 | * tree.h (DECL_DEBUG_EXPR_IS_FROM): Rename to ... | |
4507 | (DECL_HAS_DEBUG_EXPR_P): ... this. Guard properly. | |
4508 | * tree.c (copy_node_stat): Do not copy DECL_HAS_DEBUG_EXPR_P. | |
4509 | * dwarf2out.c (add_var_loc_to_decl): Use DECL_HAS_DEBUG_EXPR_P | |
4510 | instead of DECL_DEBUG_EXPR_IS_FROM. | |
4511 | * gimplify.c (gimplify_modify_expr): Likewise. | |
4512 | * tree-cfg.c (verify_expr_location_1): Likewise. | |
4513 | * tree-complex.c (create_one_component_var): Likewise. | |
4514 | * tree-sra.c (create_access_replacement): Likewise. | |
4515 | * tree-ssa-live.c (clear_unused_block_pointer_1): Likewise. | |
4516 | (clear_unused_block_pointer): Likewise. | |
4517 | * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise. | |
4518 | * tree-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. | |
4519 | * var-tracking.c (var_debug_decl): Likewise. | |
4520 | (track_expr_p): Likewise. | |
4521 | * tree-inline.c (add_local_variables): Likewise. Set | |
4522 | DECL_HAS_DEBUG_EXPR_P after copying it. | |
4523 | * tree-diagnostic.c (default_tree_printer): Use DECL_HAS_DEBUG_EXPR_P | |
4524 | instead of DECL_DEBUG_EXPR_IS_FROM. Guard properly. | |
4525 | ||
fe04878d UB |
4526 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
4527 | ||
4528 | PR bootstrap/56656 | |
4529 | * configure.ac (HAVE_AS_IX86_INTERUNIT_MOVQ): New test. | |
4530 | * configure: Regenerate. | |
4531 | * config.in: Regenerate. | |
4532 | * config/i386/i386.md (*movdf_internal): Use | |
4533 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
4534 | movd instead of movq mnemonic for interunit moves. | |
4535 | (*movdi_internal): Ditto. | |
4536 | ||
bd059b26 | 4537 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
fa2e9a58 N |
4538 | |
4539 | * config/aarch64/aarch64-simd.md (simd_fabd): New Attribute. | |
4540 | (abd<mode>_3): New pattern. | |
4541 | (aba<mode>_3): New pattern. | |
4542 | (fabd<mode>_3): New pattern. | |
4543 | ||
bd059b26 | 4544 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
50ce6f88 N |
4545 | |
4546 | * config/aarch64/aarch64-elf.h (REGISTER_PREFIX): Remove. | |
4547 | * config/aarch64/aarch64.c (aarch64_print_operand): Remove all | |
4548 | occurrence of REGISTER_PREFIX as its empty string. | |
4549 | ||
4f1f78b9 JL |
4550 | 2013-03-20 Jeff Law <law@redhat.com> |
4551 | ||
4552 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Record | |
4553 | addititional equivalences for equality comparisons between an SSA_NAME | |
4554 | and a constant where the SSA_NAME was set from a widening conversion. | |
4555 | ||
327a1118 WL |
4556 | 2013-03-20 Walter Lee <walt@tilera.com> |
4557 | ||
4558 | * config/tilegx/sync.md (atomic_test_and_set): New pattern. | |
4559 | ||
813e0036 UB |
4560 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
4561 | ||
4562 | * config/i386/i386.md (*movoi_internal_avx): Emit insn template | |
4563 | depending on type attribute. | |
4564 | (*movti_internal): Ditto. | |
4565 | (*movtf_internal): Ditto. | |
4566 | (*movxf_internal): Ditto. | |
4567 | (*movdf_internal): Ditto. | |
4568 | (*movsf_internal): Ditto. | |
4569 | ||
7cf34aae UB |
4570 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
4571 | ||
4572 | * config/i386/i386.md (*movti_internal): Set prefix attribute to | |
4573 | maybe_vex for sselog1 and ssemov types. | |
4574 | (*movdi_internal): Reorder operand constraints. | |
4575 | (*movsi_internal): Ditto. Set prefix attribute to | |
4576 | maybe_vex for sselog1 and ssemov types. | |
4577 | (*movtf_internal): Set prefix attribute to maybe_vex | |
4578 | for sselog1 and ssemov types. | |
4579 | (*movdf_internal): Ditto. Set prefix_data16 attribute for | |
4580 | DImode ssemov types. Reorder operand constraints. | |
4581 | (*movsf_internal): Set type of alternatives 3,4 to imov. Set prefix | |
4582 | attribute to maybe_vex for sselog1 and ssemov types. Set prefix_data16 | |
4583 | attribute for SImode ssemov types. Reorder operand constraints. | |
4584 | ||
19321415 MJ |
4585 | 2013-03-20 Martin Jambor <mjambor@suse.cz> |
4586 | ||
4587 | * params.def (PARAM_IPA_CP_ARRAY_INDEX_HINT_BONUS): New parameter. | |
4588 | * ipa-cp.c (hint_time_bonus): Add abonus for known array indices. | |
4589 | ||
c6d5ff83 MM |
4590 | 2013-03-20 Pat Haugen <pthaugen@us.ibm.com> |
4591 | ||
4592 | * config/rs6000/predicates.md (indexed_address, update_address_mem | |
4593 | update_indexed_address_mem): New predicates. | |
4594 | * config/rs6000/vsx.md (vsx_extract_<mode>_zero): Set correct "type" | |
4595 | attribute for load/store instructions. | |
4596 | * config/rs6000/dfp.md (movsd_store): Likewise. | |
4597 | (movsd_load): Likewise. | |
4598 | * config/rs6000/rs6000.md (zero_extend<mode>di2_internal1): Likewise. | |
4599 | (unnamed HI->DI extend define_insn): Likewise. | |
4600 | (unnamed SI->DI extend define_insn): Likewise. | |
4601 | (unnamed QI->SI extend define_insn): Likewise. | |
4602 | (unnamed QI->HI extend define_insn): Likewise. | |
4603 | (unnamed HI->SI extend define_insn): Likewise. | |
4604 | (unnamed HI->SI extend define_insn): Likewise. | |
4605 | (extendsfdf2_fpr): Likewise. | |
4606 | (movsi_internal1): Likewise. | |
4607 | (movsi_internal1_single): Likewise. | |
4608 | (movhi_internal): Likewise. | |
4609 | (movqi_internal): Likewise. | |
4610 | (movcc_internal1): Correct mnemonic for stw insn. Set correct "type" | |
4611 | attribute for load/store instructions. | |
4612 | (mov<mode>_hardfloat): Set correct "type" attribute for load/store | |
4613 | instructions. | |
4614 | (mov<mode>_softfloat): Likewise. | |
4615 | (mov<mode>_hardfloat32): Likewise. | |
4616 | (mov<mode>_hardfloat64): Likewise. | |
4617 | (mov<mode>_softfloat64): Likewise. | |
4618 | (movdi_internal32): Likewise. | |
4619 | (movdi_internal64): Likewise. | |
4620 | (probe_stack_<mode>): Likewise. | |
4621 | ||
4622 | 2013-03-20 Michael Meissner <meissner@linux.vnet.ibm.com> | |
4623 | ||
4624 | * config/rs6000/vector.md (VEC_R): Add 32-bit integer, binary | |
4625 | floating point, and decimal floating point to reload iterator. | |
4626 | ||
4627 | * config/rs6000/constraints.md (wl constraint): New constraints to | |
4628 | return FLOAT_REGS if certain options are used to reduce the number | |
4629 | of separate patterns that exist in the file. | |
4630 | (wx constraint): Likewise. | |
4631 | (wz constraint): Likewise. | |
4632 | ||
4633 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
4634 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
4635 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
4636 | Initialize the reload functions for 64-bit binary/decimal floating | |
4637 | point types. | |
4638 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
4639 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
4640 | create the buffer on the stack to overcome not having a 32-bit | |
4641 | load and store. | |
4642 | (rs6000_emit_move): Likewise. | |
4643 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
4644 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
4645 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
4646 | via xxlxor, just like DFmode 0.0. | |
4647 | ||
4648 | * config/rs6000/rs6000.h (TARGET_NO_SDMODE_STACK): New macro, | |
4649 | define as 1 if we are running on a power7 or newer. | |
4650 | (enum r6000_reg_class_enum): Add new constraints. | |
4651 | ||
4652 | * config/rs6000/dfp.md (movsd): Delete, combine with binary | |
4653 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
4654 | with other moves by using conditional constraits (wg). Use LFIWZX | |
bd059b26 | 4655 | and STFIWX for loading SDmode on power7. Use xxlxor to create 0.0f. |
c6d5ff83 MM |
4656 | (movsd splitter): Likewise. |
4657 | (movsd_hardfloat): Likewise. | |
4658 | (movsd_softfloat): Likewise. | |
4659 | ||
4660 | * config/rs6000/rs6000.md (FMOVE32): New iterators to combine | |
4661 | binary and decimal floating point moves. | |
4662 | (fmove_ok): New attributes to combine binary and decimal floating | |
4663 | point moves, and to combine power6x (mfpgpr) moves along normal | |
4664 | floating moves. | |
4665 | (real_value_to_target): Likewise. | |
4666 | (f32_lr): Likewise. | |
4667 | (f32_lm): Likewise. | |
4668 | (f32_li): Likewise. | |
4669 | (f32_sr): Likewise. | |
4670 | (f32_sm): Likewise. | |
4671 | (f32_si): Likewise. | |
4672 | (movsf): Combine binary and decimal floating point moves. Combine | |
4673 | power6x (mfpgpr) moves with other moves by using conditional | |
bd059b26 | 4674 | constraits (wg). Use LFIWZX and STFIWX for loading SDmode on power7. |
c6d5ff83 MM |
4675 | (mov<mode> for SFmode/SDmode); Likewise. |
4676 | (SFmode/SDmode splitters): Likewise. | |
4677 | (movsf_hardfloat): Likewise. | |
4678 | (mov<mode>_hardfloat for SFmode/SDmode): Likewise. | |
4679 | (movsf_softfloat): Likewise. | |
4680 | (mov<mode>_softfloat for SFmode/SDmode): Likewise. | |
4681 | ||
4682 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wl, | |
4683 | wx and wz constraints. | |
4684 | ||
4685 | * config/rs6000/constraints.md (wg constraint): New constraint to | |
4686 | return FLOAT_REGS if -mmfpgpr (power6x) was used. | |
4687 | ||
4688 | * config/rs6000/rs6000.h (enum r6000_reg_class_enum): Add wg | |
4689 | constraint. | |
4690 | ||
4691 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
4692 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
4693 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
4694 | Initialize the reload functions for 64-bit binary/decimal floating | |
4695 | point types. | |
4696 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
4697 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
4698 | create the buffer on the stack to overcome not having a 32-bit | |
4699 | load and store. | |
4700 | (rs6000_emit_move): Likewise. | |
4701 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
4702 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
4703 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
4704 | via xxlxor, just like DFmode 0.0. | |
4705 | ||
c6d5ff83 MM |
4706 | * config/rs6000/dfp.md (movdd): Delete, combine with binary |
4707 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
4708 | with other moves by using conditional constraits (wg). Use LFIWZX | |
4709 | and STFIWX for loading SDmode on power7. | |
4710 | (movdd splitters): Likewise. | |
4711 | (movdd_hardfloat32): Likewise. | |
4712 | (movdd_softfloat32): Likewise. | |
4713 | (movdd_hardfloat64_mfpgpr): Likewise. | |
4714 | (movdd_hardfloat64): Likewise. | |
4715 | (movdd_softfloat64): Likewise. | |
4716 | ||
4717 | * config/rs6000/rs6000.md (FMOVE64): New iterators to combine | |
4718 | 64-bit binary and decimal floating point moves. | |
4719 | (FMOVE64X): Likewise. | |
4720 | (movdf): Combine 64-bit binary and decimal floating point moves. | |
4721 | Combine power6x (mfpgpr) moves with other moves by using | |
4722 | conditional constraits (wg). | |
4723 | (mov<mode> for DFmode/DDmode): Likewise. | |
4724 | (DFmode/DDmode splitters): Likewise. | |
4725 | (movdf_hardfloat32): Likewise. | |
4726 | (mov<mode>_hardfloat32 for DFmode/DDmode): Likewise. | |
4727 | (movdf_softfloat32): Likewise. | |
4728 | (movdf_hardfloat64_mfpgpr): Likewise. | |
4729 | (movdf_hardfloat64): Likewise. | |
4730 | (mov<mode>_hardfloat64 for DFmode/DDmode): Likewise. | |
4731 | (movdf_softfloat64): Likewise. | |
4732 | (mov<mode>_softfloat64 for DFmode/DDmode): Likewise. | |
4733 | (reload_<mode>_load): Move to later in the file so they aren't in | |
4734 | the middle of the floating point move insns. | |
4735 | (reload_<mode>_store): Likewise. | |
4736 | ||
4737 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wg | |
4738 | constraint. | |
4739 | ||
4740 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print out wg | |
4741 | constraint if -mdebug=reg. | |
bd059b26 UB |
4742 | (rs6000_initi_hard_regno_mode_ok): Enable wg constraint if -mfpgpr. |
4743 | Enable using dd reload support if needed. | |
c6d5ff83 MM |
4744 | |
4745 | * config/rs6000/dfp.md (movtd): Delete, combine with 128-bit | |
4746 | binary and decimal floating point moves in rs6000.md. | |
4747 | (movtd_internal): Likewise. | |
4748 | ||
4749 | * config/rs6000/rs6000.md (FMOVE128): Combine 128-bit binary and | |
4750 | decimal floating point moves. | |
4751 | (movtf): Likewise. | |
4752 | (movtf_internal): Likewise. | |
4753 | (mov<mode>_internal, TDmode/TFmode): Likewise. | |
4754 | (movtf_softfloat): Likewise. | |
4755 | (mov<mode>_softfloat, TDmode/TFmode): Likewise. | |
4756 | ||
4757 | * config/rs6000/rs6000.md (movdi_mfpgpr): Delete, combine with | |
4758 | movdi_internal64, using wg constraint for move direct operations. | |
4759 | (movdi_internal64): Likewise. | |
4760 | ||
4761 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print | |
4762 | MODES_TIEABLE_P for selected modes. Print the numerical value of | |
4763 | the various virtual registers. Use GPR/FPR first/last values, | |
4764 | instead of hard coding the register numbers. Print which modes | |
4765 | have reload functions registered. | |
bd059b26 UB |
4766 | (rs6000_option_override_internal): If -mdebug=reg, trace the options |
4767 | settings before/after setting cpu, target and subtarget settings. | |
4768 | (rs6000_secondary_reload_trace): Improve the RTL dump for -mdebug=addr | |
4769 | and for secondary reload failures in rs6000_secondary_reload_inner. | |
c6d5ff83 MM |
4770 | (rs6000_secondary_reload_fail): Likewise. |
4771 | (rs6000_secondary_reload_inner): Likewise. | |
4772 | ||
4773 | * config/rs6000/rs6000.md (FIRST_GPR_REGNO): Add convenience | |
4774 | macros for first/last GPR and FPR registers. | |
4775 | (LAST_GPR_REGNO): Likewise. | |
4776 | (FIRST_FPR_REGNO): Likewise. | |
4777 | (LAST_FPR_REGNO): Likewise. | |
4778 | ||
4779 | * config/rs6000/vector.md (mul<mode>3): Use the combined macro | |
4780 | VECTOR_UNIT_ALTIVEC_OR_VSX_P instead of separate calls to | |
4781 | VECTOR_UNIT_ALTIVEC_P and VECTOR_UNIT_VSX_P. | |
4782 | (vcond<mode><mode>): Likewise. | |
4783 | (vcondu<mode><mode>): Likewise. | |
4784 | (vector_gtu<mode>): Likewise. | |
4785 | (vector_gte<mode>): Likewise. | |
4786 | (xor<mode>3): Don't allow logical operations on TImode in 32-bit | |
bd059b26 | 4787 | to prevent the compiler from converting DImode operations to TImode. |
c6d5ff83 MM |
4788 | (ior<mode>3): Likewise. |
4789 | (and<mode>3): Likewise. | |
4790 | (one_cmpl<mode>2): Likewise. | |
4791 | (nor<mode>3): Likewise. | |
4792 | (andc<mode>3): Likewise. | |
4793 | ||
4794 | * config/rs6000/constraints.md (wt constraint): New constraint | |
4795 | that returns VSX_REGS if TImode is allowed in VSX registers. | |
4796 | ||
4797 | * config/rs6000/predicates.md (easy_fp_constant): 0.0f is an easy | |
4798 | constant under VSX. | |
4799 | ||
4800 | * config/rs6000/rs6000-modes.def (PTImode): Define, PTImode is | |
4801 | similar to TImode, but it is restricted to being in the GPRs. | |
4802 | ||
4803 | * config/rs6000/rs6000.opt (-mvsx-timode): New switch to allow | |
4804 | TImode to occupy a single VSX register. | |
4805 | ||
4806 | * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Default to | |
4807 | -mvsx-timode for power7/power8. | |
4808 | (power7 cpu): Likewise. | |
4809 | (power8 cpu): Likewise. | |
4810 | ||
4811 | * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Make | |
4812 | sure that TFmode/TDmode take up two registers if they are ever | |
4813 | allowed in the upper VSX registers. | |
4814 | (rs6000_hard_regno_mode_ok): If -mvsx-timode, allow TImode in VSX | |
4815 | registers. | |
4816 | (rs6000_init_hard_regno_mode_ok): Likewise. | |
4817 | (rs6000_debug_reg_global): Add debugging for PTImode and wt | |
4818 | constraint. Print if LRA is turned on. | |
4819 | (rs6000_option_override_internal): Give an error if -mvsx-timode | |
4820 | and VSX is not enabled. | |
4821 | (invalid_e500_subreg): Handle PTImode, restricting it to GPRs. If | |
4822 | -mvsx-timode, restrict TImode to reg+reg addressing, and PTImode | |
4823 | to reg+offset addressing. Use PTImode when checking offset | |
4824 | addresses for validity. | |
4825 | (reg_offset_addressing_ok_p): Likewise. | |
4826 | (rs6000_legitimate_offset_address_p): Likewise. | |
4827 | (rs6000_legitimize_address): Likewise. | |
4828 | (rs6000_legitimize_reload_address): Likewise. | |
4829 | (rs6000_legitimate_address_p): Likewise. | |
4830 | (rs6000_eliminate_indexed_memrefs): Likewise. | |
4831 | (rs6000_emit_move): Likewise. | |
4832 | (rs6000_secondary_reload): Likewise. | |
4833 | (rs6000_secondary_reload_inner): Handle PTImode. Allow 64-bit | |
4834 | reloads to fpr registers to continue to use reg+offset addressing, | |
4835 | but 64-bit reloads to altivec registers need reg+reg addressing. | |
4836 | Drop test for PRE_MODIFY, since VSX loads/stores no longer support | |
4837 | it. Treat LO_SUM like a PLUS operation. | |
4838 | (rs6000_secondary_reload_class): If type is 64-bit, prefer to use | |
bd059b26 | 4839 | FLOAT_REGS instead of VSX_RGS to allow use of reg+offset addressing. |
c6d5ff83 MM |
4840 | (rs6000_cannot_change_mode_class): Do not allow TImode in VSX |
4841 | registers to share a register with a smaller sized type, since VSX | |
4842 | puts scalars in the upper 64-bits. | |
4843 | (print_operand): Add support for PTImode. | |
4844 | (rs6000_register_move_cost): Use VECTOR_MEM_VSX_P instead of | |
4845 | VECTOR_UNIT_VSX_P to catch types that can be loaded in VSX | |
4846 | registers, but don't have arithmetic support. | |
4847 | (rs6000_memory_move_cost): Add test for VSX. | |
4848 | (rs6000_opt_masks): Add -mvsx-timode. | |
4849 | ||
4850 | * config/rs6000/vsx.md (VSm): Change to use 64-bit aligned moves | |
4851 | for TImode. | |
4852 | (VSs): Likewise. | |
4853 | (VSr): Use wt constraint for TImode. | |
4854 | (VSv): Drop TImode support. | |
4855 | (vsx_movti): Delete, replace with versions for 32-bit and 64-bit. | |
4856 | (vsx_movti_64bit): Likewise. | |
4857 | (vsx_movti_32bit): Likewise. | |
4858 | (vec_store_<mode>): Use VSX iterator instead of vector iterator. | |
4859 | (vsx_and<mode>3): Delete use of '?' constraint on inputs, just put | |
4860 | one '?' on the appropriate output constraint. Do not allow TImode | |
4861 | logical operations on 32-bit systems. | |
4862 | (vsx_ior<mode>3): Likewise. | |
4863 | (vsx_xor<mode>3): Likewise. | |
4864 | (vsx_one_cmpl<mode>2): Likewise. | |
4865 | (vsx_nor<mode>3): Likewise. | |
4866 | (vsx_andc<mode>3): Likewise. | |
4867 | (vsx_concat_<mode>): Likewise. | |
4868 | (vsx_xxpermdi_<mode>): Fix thinko for non V2DF/V2DI modes. | |
4869 | ||
4870 | * config/rs6000/rs6000.h (MASK_VSX_TIMODE): Map from | |
4871 | OPTION_MASK_VSX_TIMODE. | |
4872 | (enum rs6000_reg_class_enum): Add RS6000_CONSTRAINT_wt. | |
4873 | (STACK_SAVEAREA_MODE): Use PTImode instead of TImode. | |
4874 | ||
4875 | * config/rs6000/rs6000.md (INT mode attribute): Add PTImode. | |
4876 | (TI2 iterator): New iterator for TImode, PTImode. | |
4877 | (wd mode attribute): Add values for vector types. | |
bd059b26 UB |
4878 | (movti_string): Replace TI move operations with operations for TImode |
4879 | and PTImode. Add support for TImode being allowed in VSX registers. | |
c6d5ff83 MM |
4880 | (mov<mode>_string, TImode/PTImode): Likewise. |
4881 | (movti_ppc64): Likewise. | |
4882 | (mov<mode>_ppc64, TImode/PTImode): Likewise. | |
4883 | (TI mode splitters): Likewise. | |
4884 | ||
4885 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wt | |
4886 | constraint. | |
4887 | ||
1fc5eced MG |
4888 | 2013-03-20 Marc Glisse <marc.glisse@inria.fr> |
4889 | ||
4890 | PR tree-optimization/56355 | |
4891 | * fold-const.c (tree_binary_nonnegative_warnv_p) <MULT_EXPR>: | |
4892 | Also handle integers with undefined overflow. | |
4893 | ||
22c4c869 CM |
4894 | 2013-03-20 Catherine Moore <clm@codesourcery.com> |
4895 | Maciej W. Rozycki <macro@codesourcery.com> | |
4896 | Tom de Vries <tom@codesourcery.com> | |
4897 | Nathan Sidwell <nathan@codesourcery.com> | |
4898 | Iain Sandoe <iain@codesourcery.com> | |
4899 | Nathan Froyd <froydnj@codesourcery.com> | |
4900 | Chao-ying Fu <fu@mips.com> | |
4901 | ||
4902 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
7cf34aae | 4903 | Document new function attributes. |
22c4c869 CM |
4904 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
4905 | m14k, m14ke, m14kec): Document new options. | |
4906 | (minterlink-mips16): Update documentation. | |
4907 | * doc/md.texi (ZC, ZD): Document new constraints. | |
4908 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
4909 | supports the .set micromips directive. | |
4910 | * configure: Regenerate. | |
4911 | * config.in: Regenerate. | |
4912 | * config/mips/mips-tables.opt: Regenerate. | |
4913 | * config/mips/micromips.md: New file. | |
4914 | * constraints.md (ZC, ZD): New constraints. | |
4915 | * config/mips/predicates.md (movep_src_register): New predicate. | |
4916 | (movep_src_operand): New predicate. | |
4917 | (non_volatile_mem_operand): New predicate. | |
4918 | * config/mips/mips.md (multimem): New type. | |
4919 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
4920 | (MOVEP1, MOVEP2): New mode iterator. | |
33159866 | 4921 | (mov_<load>l): Use ZC constraint. |
22c4c869 CM |
4922 | (mov_<load>r): Likewise. |
4923 | (mov_<store>l): Likewise. | |
4924 | (mov_<store>r): Likewise. | |
4925 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
4926 | (*branch_equality<mode>): Likewise. | |
4927 | (*jump_absolute): Likewise. | |
4928 | (indirect_jump_<mode>): Likewise. | |
4929 | (tablejump_<mode>): Likewise. | |
4930 | (<optab>_internal): Likewise. | |
4931 | (sibcall_internal): Likewise. | |
4932 | (sibcall_value_internal): Likewise. | |
4933 | (prefetch): Use constraint ZD. | |
4934 | * config/mips/mips.opt (minterlink-compressed): New option. | |
4935 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
4936 | (mmicromips): New option. | |
4937 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
4938 | (compare_and_swap_12): Likewise. | |
4939 | (sync_add<mode>): Likewise. | |
4940 | (sync_<optab>_12): Likewise. | |
4941 | (sync_old_<optab>_12): Likewise. | |
4942 | (sync_new_<optab>_12): Likewise. | |
4943 | (sync_nand_12): Likewise. | |
4944 | (sync_old_nand_12): Likewise. | |
4945 | (sync_new_nand_12): Likewise. | |
4946 | (sync_sub<mode>): Likewise. | |
4947 | (sync_old_add<mode>): Likewise. | |
4948 | (sync_old_sub<mode>): Likewise. | |
4949 | (sync_new_add<mode>): Likewise. | |
4950 | (sync_new_sub<mode>): Likewise. | |
4951 | (sync_<optab><mode>): Likewise. | |
4952 | (sync_old_<optab><mode>): Likewise. | |
4953 | (sync_new_<optab><mode>): Likewise. | |
4954 | (sync_nand<mode>): Likewise. | |
4955 | (sync_old_nand<mode>): Likewise. | |
4956 | (sync_new_nand<mode>): Likewise. | |
4957 | (sync_lock_test_and_set<mode>): Likewise. | |
4958 | (test_and_set_12): Likewise. | |
4959 | (atomic_compare_and_swap<mode>): Likewise. | |
4960 | (atomic_exchange<mode>_llsc): Likewise. | |
4961 | (atomic_fetch_add<mode>_llsc): Likewise. | |
4962 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
4963 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
4964 | (umips_save_restore_pattern_p): Likewise. | |
4965 | (umips_load_store_pair_p): Likewise. | |
4966 | (umips_output_load_store_pair): Likewise. | |
4967 | (umips_movep_target_p): Likewise. | |
4968 | (umips_12bit_offset_address_p): Likewise. | |
4969 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
4970 | (mips_base_mips16): Rename this... | |
4971 | (mips_base_compression_flags): ...to this. Update all uses. | |
4972 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
4973 | (mips_mips16_decl_p): Delete. | |
4974 | (mips_nomips16_decl_p): Delete. | |
33159866 | 4975 | (mips_get_compress_on_flags): New function. |
22c4c869 CM |
4976 | (mips_get_compress_off_flags): New function. |
4977 | (mips_get_compress_mode): New function. | |
4978 | (mips_get_compress_on_name): New function. | |
4979 | (mips_get_compress_off_name): New function. | |
4980 | (mips_insert_attributes): Support multiple compression types. | |
4981 | (mips_merge_decl_attributes): Likewise. | |
4982 | (umips_12bit_offset_address_p): New function. | |
4983 | (mips_start_function_definition): Emit .set micromips directive. | |
4984 | (mips_call_may_need_jalx_p): New function. | |
4985 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
4986 | (mips_print_operand_punctuation): Support short delay slots and | |
4987 | compact jumps. | |
4988 | (umips_swm_mask, umips_swm_encoding): New. | |
4989 | (umips_build_save_restore): New function. | |
4990 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
4991 | (was_mips16_p): Remove. | |
4992 | (old_compression_mode): New. | |
4993 | (mips_set_compression_mode): New function. | |
4994 | (mips_set_current_function): Add microMIPS support. | |
4995 | (mips_option_override): Likewise. | |
4996 | (umips_save_restore_pattern_p): New function. | |
4997 | (umips_output_save_restore): New function. | |
4998 | (umips_load_store_pair_p_1): New function. | |
4999 | (umips_load_store_pair_p): New function. | |
5000 | (umips_output_load_store_pair_1): New function. | |
5001 | (umips_output_load_store_pair): New function. | |
5002 | (umips_movep_target_p) New function. | |
5003 | (mips_prepare_pch_save): Add microMIPS support. | |
5004 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
5005 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
5006 | to use new compression flags and to support microMIPS. | |
5007 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
5008 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
5009 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
5010 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
5011 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
5012 | (M16STORE_REG_P): New macro. | |
5013 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
5014 | (MICROMIPS_J): New macro. | |
5015 | (mips_base_mips16): Rename this... | |
5016 | (mips_base_compression_flags): ...to this. | |
5017 | (UMIPS_12BIT_OFFSET_P): New macro. | |
5018 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
5019 | (MULTILIB_DIRNAMES): Likewise. | |
92a8d7a7 RB |
5020 | 2013-03-20 Richard Biener <rguenther@suse.de> |
5021 | ||
5022 | PR tree-optimization/56661 | |
5023 | * tree-ssa-sccvn.c (visit_use): Only value-number calls if | |
5024 | the result does not have to be distinct. | |
5025 | ||
54714c68 RB |
5026 | 2013-03-20 Richard Biener <rguenther@suse.de> |
5027 | ||
5028 | * tree-inline.c (copy_tree_body_r): Sync MEM_REF code with | |
5029 | remap_gimple_op_r. | |
5030 | ||
cca1130d BS |
5031 | 2013-03-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5032 | Steven Bosscher <steven@gcc.gnu.org> | |
5033 | ||
5034 | PR rtl-optimization/56605 | |
5035 | * loop-iv.c (implies_p): Handle equal RTXs and subregs. | |
5036 | ||
2a930377 UB |
5037 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
5038 | ||
5039 | PR bootstrap/56656 | |
5040 | * config/i386/i386.md (*movdi_internal): Handle broken assemblers | |
5041 | that require movd instead of movq. | |
5042 | ||
d6d305fe RB |
5043 | 2013-03-20 Richard Biener <rguenther@suse.de> |
5044 | ||
5045 | * tree-ssa-structalias.c (struct variable_info): Add pointer | |
5046 | to the first field of an aggregate with sub-vars. Make | |
5047 | this and the pointer to the next subfield its ID. | |
5048 | (vi_next): New function. | |
5049 | (nothing_id, anything_id, readonly_id, escaped_id, nonlocal_id, | |
5050 | storedanything_id, integer_id): Increment by one. | |
5051 | (new_var_info, get_call_vi, lookup_call_clobber_vi, | |
5052 | get_call_clobber_vi): Adjust. | |
5053 | (solution_set_expand): Simplify and speedup. | |
5054 | (solution_set_add): Inline into ... | |
5055 | (set_union_with_increment): ... this. Adjust accordingly. | |
5056 | (do_sd_constraint): Likewise. | |
5057 | (do_ds_constraint): Likewise. | |
5058 | (do_complex_constraint): Simplify. | |
5059 | (build_pred_graph): Adjust. | |
5060 | (solve_graph): Likewise. Simplify and speedup. | |
5061 | (get_constraint_for_ssa_var, get_constraint_for_ptr_offset, | |
5062 | get_constraint_for_component_ref, get_constraint_for_1, | |
5063 | first_vi_for_offset, first_or_preceding_vi_for_offset, | |
5064 | create_function_info_for, create_variable_info_for_1, | |
5065 | create_variable_info_for, intra_create_variable_infos): Adjust. | |
5066 | (init_base_vars): Push NULL for ID zero. | |
5067 | (compute_points_to_sets): Adjust. | |
5068 | ||
a271b42d RB |
5069 | 2013-03-20 Richard Biener <rguenther@suse.de> |
5070 | ||
5071 | * cfgloop.c (verify_loop_structure): Streamline and avoid | |
5072 | ICEing on corrupt loop tree. | |
5073 | * graph.c (draw_cfg_nodes_for_loop): Avoid ICEing on corrupt | |
5074 | loop tree. | |
5075 | ||
ebd65954 RB |
5076 | 2013-03-20 Richard Biener <rguenther@suse.de> |
5077 | ||
5078 | * tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not | |
5079 | check whether an SSA update is needed. | |
5080 | ||
4547b7ee RS |
5081 | 2013-03-20 Richard Sandiford <rdsandiford@googlemail.com> |
5082 | ||
5083 | * config/mips/constraints.md (T): Rename to... | |
5084 | (Yf): ...this. | |
5085 | (U): Rename to... | |
5086 | (Yd): ...this. | |
5087 | * config/mips/mips.md (*movdi_64bit, *movdi_64bit_mips16) | |
5088 | (*mov<mode>_internal, *mov<mode>_mips16): Update accordingly. | |
5089 | ||
0b8cdc58 IB |
5090 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
5091 | ||
5092 | * config/aarch64/aarch64.md (*sub<mode>3_carryin): New pattern. | |
5093 | (*subsi3_carryin_uxtw): Likewise. | |
5094 | ||
5977a10d IB |
5095 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
5096 | ||
5097 | * config/aarch64/aarch64.md (*ror<mode>3_insn): New pattern. | |
5098 | (*rorsi3_insn_uxtw): Likewise. | |
5099 | ||
bd83ff2c IB |
5100 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
5101 | ||
5102 | * config/aarch64/aarch64.md (*extr<mode>5_insn): New pattern. | |
5103 | (*extrsi5_insn_uxtw): Likewise. | |
5104 | ||
ba65123c RB |
5105 | 2013-03-19 Richard Biener <rguenther@suse.de> |
5106 | ||
5107 | PR tree-optimization/56273 | |
5108 | * passes.c (init_optimization_passes): Move second VRP after DOM. | |
5109 | ||
2eac0476 UB |
5110 | 2013-03-19 Uros Bizjak <ubizjak@gmail.com> |
5111 | ||
5112 | * config/i386/i386.md (*movti_internal): Merge from | |
5113 | *movti_internal_rex64 and *movti_internal_sse. Use x64 isa attribute. | |
5114 | (*movdi_internal): Merge with *movdi_internal_rex64. Use x64 and | |
5115 | nox64 isa attributes. | |
5116 | ||
6e55eda7 RB |
5117 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5118 | ||
5119 | * tree-ssa-structalias.c (find): Use gcc_checking_assert. | |
5120 | (unite): Likewise. | |
5121 | (merge_node_constraints): Likewise. | |
5122 | (build_succ_graph): Likewise. | |
5123 | (valid_graph_edge): Inline into single caller. | |
5124 | (unify_nodes): Likewise. Use bitmap_set_bit return value | |
5125 | and cache varinfo. | |
5126 | (scc_visit): Fix formatting and variable use. | |
5127 | (do_sd_constraint): Use gcc_checking_assert. | |
5128 | (do_ds_constraint): Likewise. | |
5129 | (do_complex_constraint): Likewise. | |
5130 | (condense_visit): Likewise. Cleanup. | |
5131 | (dump_pred_graph): New function. | |
5132 | (perform_var_substitution): Dump the pred-graph before | |
5133 | variable substitution. | |
5134 | (find_equivalent_node): Use gcc_checking_assert. | |
5135 | (rewrite_constraints): Guard checking loop with ENABLE_CHECKING. | |
5136 | ||
4bdd44c4 RB |
5137 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5138 | ||
5139 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): | |
5140 | Remove cond_expr_stmt_list argument and do not gimplify the | |
5141 | built expression. | |
5142 | (vect_loop_versioning): Adjust. | |
5143 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
5144 | Cleanup to use less temporaries. | |
5145 | (vect_create_data_ref_ptr): Cleanup. | |
5146 | ||
38c56a5b JJ |
5147 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
5148 | ||
5149 | PR tree-optimization/56635 | |
5150 | * fold-const.c (operand_equal_p): For MEM_REF and TARGET_MEM_REF, | |
5151 | require types_compatible_p types. | |
5152 | ||
20b2e6a0 NC |
5153 | 2013-03-18 Nick Clifton <nickc@redhat.com> |
5154 | ||
a6178a25 NC |
5155 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): Remove |
5156 | spurious backslash. | |
5157 | ||
20b2e6a0 NC |
5158 | * config/mn10300/mn10300.c (mn10300_get_live_callee_saved_regs): |
5159 | Add missing line to comment describing function. | |
5160 | ||
92608d0e RB |
5161 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5162 | ||
5163 | PR tree-optimization/56210 | |
5164 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
5165 | Handle string / character search functions. | |
5166 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
5167 | ||
31348d52 RB |
5168 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5169 | ||
5170 | PR middle-end/56483 | |
5171 | * cfgexpand.c (expand_gimple_cond): Inline gimple_cond_single_var_p | |
5172 | and implement properly. | |
5173 | * gimple.h (gimple_cond_single_var_p): Remove. | |
5174 | ||
fcac74a1 RB |
5175 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5176 | ||
5177 | * tree-data-ref.h (find_data_references_in_loop): Declare. | |
5178 | * tree-data-ref.c (get_references_in_stmt): Use a stack | |
5179 | vector pre-allocated in the callers. | |
5180 | (find_data_references_in_stmt): Adjust. | |
5181 | (graphite_find_data_references_in_stmt): Likewise. | |
5182 | (create_rdg_vertices): Likewise. | |
5183 | (find_data_references_in_loop): Export. | |
5184 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependences): | |
5185 | Compute dependences here... | |
5186 | (vect_analyze_data_refs): ...not here. When we encounter | |
5187 | a non-vectorizable data reference in basic-block vectorization | |
5188 | truncate the data reference vector. Do not bother to | |
5189 | fixup data-dependence information for gather loads. | |
5190 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Check the number | |
5191 | of data references, as reported. | |
5192 | ||
0d5a1b56 RB |
5193 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5194 | ||
5195 | PR tree-optimization/3713 | |
5196 | * tree-ssa-sccvn.c (visit_copy): Simplify. Always propagate | |
5197 | has_constants and expr. | |
5198 | (stmt_has_constants): Properly valueize SSA names when deciding | |
5199 | whether the stmt has constants. | |
5200 | ||
789c34e3 RB |
5201 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5202 | ||
5203 | * tree-ssa-loop-manip.c (find_uses_to_rename): Do not scan the | |
5204 | whole function when there is nothing to do. | |
5205 | * tree-ssa-loop.c (pass_vectorize): Remove TODO_update_ssa. | |
5206 | * tree-vectorizer.c (vectorize_loops): Update virtual and | |
5207 | loop-closed SSA once. | |
5208 | * tree-vect-loop.c (vect_transform_loop): Do not update SSA here. | |
5209 | ||
076b4605 RB |
5210 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5211 | ||
5212 | PR middle-end/56113 | |
5213 | * domwalk.c (bb_postorder): New global static. | |
5214 | (cmp_bb_postorder): New function. | |
5215 | (walk_dominator_tree): Replace scheme imposing an order for | |
5216 | visiting dominator sons by one sorting them at the time they | |
5217 | are pushed on the stack. | |
5218 | ||
bdb01696 RB |
5219 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5220 | ||
5221 | PR tree-optimization/39326 | |
5222 | * tree-ssa-loop-im.c (refs_independent_p): Exploit symmetry. | |
5223 | (struct mem_ref): Replace mem member with ao_ref typed member. | |
5224 | (MEM_ANALYZABLE): Adjust. | |
5225 | (memref_eq): Likewise. | |
5226 | (mem_ref_alloc): Likewise. | |
5227 | (gather_mem_refs_stmt): Likewise. | |
5228 | (mem_refs_may_alias_p): Use the ao_ref to query the alias oracle. | |
5229 | (execute_sm_if_changed_flag_set): Adjust. | |
5230 | (execute_sm): Likewise. | |
5231 | (ref_always_accessed_p): Likewise. | |
5232 | (refs_independent_p): Likewise. | |
5233 | (can_sm_ref_p): Likewise. | |
5234 | ||
12d2dc5e JJ |
5235 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
5236 | ||
5237 | PR c/56566 | |
5238 | * tree.c (tree_int_cst_min_precision): For integer_zerop (value) | |
5239 | return 1 even for !unsignedp. | |
5240 | ||
286fb677 UB |
5241 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
5242 | ||
5243 | * config/i386/i386.md (isa): Add x64 and nox64. | |
5244 | (enabled): Define x64 for TARGET_64BIT and nox64 for !TARGET_64BIT. | |
5245 | (*pushtf): Enable *roF alternative for x64 isa only. | |
5246 | (*pushxf): Merge with *pushxf_nointeger. Use Yx*r constraint. Set | |
5247 | mode attribute of integer alternatives to DImode for TARGET_64BIT. | |
5248 | (*pushdf): Merge with *pushdf_rex64. Use x64 and nox64 isa attributes. | |
5249 | (*movtf_internal): Merge from *movtf_internal_rex64 and | |
5250 | *movtf_internal_sse. Use x64 and nox64 isa attributes. | |
5251 | (*movxf_internal): Merge with *movxf_internal_rex64. Use x64 and | |
5252 | nox64 isa attributes. | |
5253 | (*movdf_internal): Merge with *movdf_internal_rex64. Use x64 and | |
5254 | nox64 isa attributes. | |
5255 | * config/i386/constraints.md (Yd): Do not set for TARGET_64BIT. | |
5256 | ||
88b97037 UB |
5257 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
5258 | ||
5259 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
5260 | ||
9f4f1735 JJ |
5261 | 2013-03-17 Jakub Jelinek <jakub@redhat.com> |
5262 | ||
5263 | PR target/56640 | |
5264 | * config/arm/arm.h (REG_CLASS_NAMES): Add "SFP_REG" and "AFP_REG" | |
5265 | class names. Remove trailing comma after "ALL_REGS". | |
5266 | ||
48f4a6fa JH |
5267 | 2013-03-16 Jan Hubicka <jh@suse.cz> |
5268 | ||
5269 | * cgraph.h (cgraph_get_create_real_symbol_node): Declare. | |
5270 | * cgraph.c (cgraph_get_create_real_symbol_node): New function. | |
5271 | * cgrpahbuild.c: Use cgraph_get_create_real_symbol_node instead | |
5272 | of cgraph_get_create_node. | |
5273 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
5274 | ||
98e81123 JM |
5275 | 2013-03-16 Jason Merrill <jason@redhat.com> |
5276 | ||
5277 | PR debug/49090 | |
5278 | * dwarf2out.c (gen_generic_params_dies): Indicate default arguments | |
5279 | with DW_AT_default_value. | |
5280 | ||
8a298c04 JJ |
5281 | 2013-03-16 Jakub Jelinek <jakub@redhat.com> |
5282 | ||
5283 | * BASE-VER: Set to 4.9.0. | |
5284 | ||
4323afa0 AK |
5285 | 2013-03-14 Andi Kleen <ak@linux.intel.com> |
5286 | ||
5287 | PR target/56619 | |
5288 | * doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE, | |
5289 | __ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs. | |
5290 | Document _x* TSX intrinsics. | |
5291 | ||
b3c0d469 JJ |
5292 | 2013-03-14 Edgar E. Iglesias <edgar.iglesias@xilinx.com> |
5293 | David Holsgrove <david.holsgrove@xilinx.com> | |
8cc9a5a5 EI |
5294 | |
5295 | * configure.ac: Add MicroBlaze TLS support detection. | |
5296 | * configure: Regenerate. | |
88b97037 UB |
5297 | * config/microblaze/microblaze-protos.h |
5298 | (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p, | |
5299 | symbol_mentioned_p, label_mentioned_p): Add prototypes. | |
5300 | * config/microblaze/microblaze.c (microblaze_address_type): Add | |
5301 | ADDRESS_TLS and tls_reloc address types. | |
8cc9a5a5 EI |
5302 | (microblaze_address_info): Add tls_reloc. |
5303 | (TARGET_HAVE_TLS): Define. | |
5304 | (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1, | |
5305 | microblaze_tls_referenced_p, microblaze_cannot_force_const_mem, | |
88b97037 UB |
5306 | symbol_mentioned_p, label_mentioned_p, tls_mentioned_p, |
5307 | load_tls_operand, microblaze_call_tls_get_addr, | |
5308 | microblaze_legitimize_tls_address): New functions. | |
8cc9a5a5 EI |
5309 | (microblaze_classify_unspec): Handle UNSPEC_TLS. |
5310 | (get_base_reg): Use microblaze_tls_symbol_p. | |
5311 | (microblaze_classify_address): Handle TLS. | |
88b97037 UB |
5312 | (microblaze_legitimate_pic_operand): Use symbol_mentioned_p, |
5313 | label_mentioned_p and microblaze_tls_referenced_p. | |
8cc9a5a5 EI |
5314 | (microblaze_legitimize_address): Handle TLS. |
5315 | (microblaze_address_insns): Handle ADDRESS_TLS. | |
5316 | (pic_address_needs_scratch): Handle TLS. | |
5317 | (print_operand_address): Handle TLS. | |
5318 | (microblaze_expand_prologue): Check TLS_NEEDS_GOT. | |
5319 | (microblaze_expand_move): Handle TLS. | |
88b97037 UB |
5320 | (microblaze_legitimate_constant_p): Check |
5321 | microblaze_cannot_force_const_mem and microblaze_tls_symbol_p. | |
8cc9a5a5 EI |
5322 | (TARGET_CANNOT_FORCE_CONST_MEM): Define. |
5323 | * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define | |
5324 | (PIC_OFFSET_TABLE_REGNUM): Set. | |
5325 | * config/microblaze/linux.h (TLS_NEEDS_GOT): Define. | |
5326 | * config/microblaze/microblaze.md (UNSPEC_TLS): Define. | |
5327 | (addsi3, movsi_internal2, movdf_internal): Update constraints | |
5328 | * config/microblaze/predicates.md (arith_plus_operand): Define | |
88b97037 UB |
5329 | (move_operand): Redefine as move_src_operand, |
5330 | check microblaze_tls_referenced_p. | |
8cc9a5a5 | 5331 | |
d803a491 IB |
5332 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
5333 | ||
5334 | * config/aarch64/aarch64.md: (*and<mode>3nr_compare0): Use CC_NZ. | |
5335 | (*and_<SHIFT:optab><mode>3nr_compare0): Likewise. | |
5336 | ||
a8504f22 IB |
5337 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
5338 | ||
5339 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct | |
5340 | CC mode for AND. | |
5341 | ||
df2dfaea JJ |
5342 | 2013-03-14 Jakub Jelinek <jakub@redhat.com> |
5343 | ||
fbd28bc3 JJ |
5344 | PR tree-optimization/53265 |
5345 | * common.opt (Waggressive-loop-optimizations): New option. | |
5346 | * tree-ssa-loop-niter.c: Include tree-pass.h. | |
5347 | (do_warn_aggressive_loop_optimizations): New function. | |
5348 | (record_estimate): Call it. Don't add !is_exit bounds to loop->bounds | |
5349 | if number_of_latch_executions returned constant. | |
5350 | (estimate_numbers_of_iterations_loop): Call number_of_latch_executions | |
5351 | early. If number_of_latch_executions returned constant, set | |
5352 | nb_iterations_upper_bound back to it. | |
5353 | * cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations | |
5354 | field. | |
5355 | * Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H). | |
5356 | * doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document. | |
5357 | ||
df2dfaea JJ |
5358 | * config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove. |
5359 | (MULTILIB_OSDIRNAMES): Set. | |
5360 | * genmultilib: If defaultosdirname doesn't start with :: , set | |
5361 | defaultosdirname2 instead, clear it and emit two . multilib_raw | |
5362 | entries instead of just one. | |
5363 | ||
ee0d2b68 KK |
5364 | 2013-03-14 Kaz Kojima <kkojima@gcc.gnu.org> |
5365 | ||
5366 | * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
5367 | (SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default. | |
5368 | * config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
5369 | (SUBTARGET_OVERRIDE_OPTIONS): New. | |
5370 | ||
decc676e OE |
5371 | 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org> |
5372 | ||
5373 | PR target/49880 | |
5374 | * config/sh/sh.opt (FPU_SINGLE_ONLY): New mask. | |
5375 | (musermode): Convert to Var(TARGET_USERMODE). | |
5376 | * config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY, | |
5377 | MASK_ARCH): Add MASK_FPU_SINGLE_ONLY. | |
5378 | * config/sh/sh.c (sh_option_override): Use | |
5379 | TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case. | |
5380 | * config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4 | |
5381 | condition. | |
5382 | (udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of | |
5383 | TARGET_SH4. | |
5384 | (udivsi3_i4_single, divsi3_i4_single): Use | |
5385 | TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4. | |
5386 | ||
f4b719c7 DK |
5387 | 2013-03-13 Dave Korn <dave.korn.cygwin@....> |
5388 | ||
5389 | * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): Make shared libgcc the | |
5390 | default setting. | |
5391 | ||
c40eced0 RB |
5392 | 2013-03-13 Richard Biener <rguenther@suse.de> |
5393 | ||
5394 | PR tree-optimization/56608 | |
5395 | * tree-vect-slp.c (vect_schedule_slp): Do not remove scalar | |
5396 | calls when vectorizing basic-blocks. | |
5397 | ||
1bfa5973 JJ |
5398 | 2013-03-13 Jakub Jelinek <jakub@redhat.com> |
5399 | ||
5400 | PR plugins/45078 | |
5401 | * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to | |
5402 | tm_file. | |
5403 | ||
6fcf5434 JJ |
5404 | 2013-03-12 Jakub Jelinek <jakub@redhat.com> |
5405 | ||
5406 | * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier. | |
5407 | ||
4f38fa8c JH |
5408 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
5409 | ||
5410 | PR lto/56557 | |
5411 | * lto-streamer-out.c (output_symbol_p): Skip references from | |
5412 | constructors of external variables. | |
5413 | ||
c5c5ba89 JH |
5414 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
5415 | ||
5416 | PR middle-end/56571 | |
5417 | * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating | |
5418 | from pseudos. | |
5419 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
5420 | (copy_insn_1): Likewise. | |
5421 | * rtl.c (copy_rtx): Likewise. | |
5422 | ||
c2a939b1 GJL |
5423 | 2013-03-11 Georg-Johann Lay <avr@gjlay.de> |
5424 | ||
5425 | PR target/56591 | |
5426 | * config/avr/avr.c (avr_print_operand): Add space after '%c' in | |
5427 | output_operand_lossage message. | |
88b97037 | 5428 | |
3c3279fb RE |
5429 | 2013-03-11 Richard Earnshaw <rearnsha@arm.com> |
5430 | ||
5431 | PR target/56470 | |
5432 | * arm.c (shift_op): Validate RTL pattern on the fly. | |
5433 | (arm_print_operand, case 'S'): Don't use shift_operator to validate | |
5434 | the RTL. | |
5435 | ||
aef5ef9d JDA |
5436 | 2013-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5437 | ||
5438 | PR target/56347 | |
5439 | * config/pa/pa.md (call_value): Check for calls to powf and direct to | |
5440 | new call patterns that clobber %fr12. | |
5441 | (call_val_powf, call_val_powf_pic, call_val_powf_64bit): New insn, | |
5442 | split and postreload patterns. | |
5443 | * config/pa/pa.c (pa_conditional_register_usage): Revert marking | |
5444 | registers %fr12 and %fr12R as call used. | |
5445 | ||
456610d3 SB |
5446 | 2013-03-09 Steven Bosscher <steven@gcc.gnu.org> |
5447 | ||
5448 | * dse.c (delete_dead_store_insn): Respect TDF_DETAILS. | |
5449 | (canon_address, record_store, replace_read, check_mem_read_rtx, | |
5450 | scan_insn, dse_step1, dse_step2_init, dse_step2_spill, | |
5451 | dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6, | |
5452 | rest_of_handle_dse): Likewise. | |
5453 | ||
4b1baac8 RS |
5454 | 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com> |
5455 | ||
5456 | PR middle-end/56524 | |
5457 | * tree.h (tree_optimization_option): Rename target_optabs to optabs. | |
5458 | Add base_optabs. | |
5459 | (TREE_OPTIMIZATION_OPTABS): Update after previous field change. | |
5460 | (TREE_OPTIMIZATION_BASE_OPTABS): New macro. | |
5461 | (save_optabs_if_changed): Replace with... | |
5462 | (init_tree_optimization_optabs): ...this. | |
5463 | * optabs.c (save_optabs_if_changed): Rename to... | |
5464 | (init_tree_optimization_optabs): ...this. Take the optimization node | |
5465 | as argument. Do nothing if the base optabs are already correct. | |
5466 | Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need | |
5467 | to recompute optabs. | |
5468 | * function.h (function): Remove optabs field. | |
5469 | * function.c (invoke_set_current_function_hook): Call | |
5470 | init_tree_optimization_optabs. Use the result to initialize | |
5471 | this_fn_optabs. | |
5472 | ||
b7a78683 AH |
5473 | 2013-02-27 Aldy Hernandez <aldyh@redhat.com> |
5474 | ||
5475 | * trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE | |
5476 | if GTMA_HAS_NO_INSTRUMENTATION. | |
5477 | (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit. | |
5478 | (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION. | |
5479 | * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define. | |
5480 | * gimple-pretty-print.c (dump_gimple_transaction): Handle | |
5481 | GTMA_HAS_NO_INSTRUMENTATION. | |
5482 | ||
6384c29b JJ |
5483 | 2013-03-08 Jakub Jelinek <jakub@redhat.com> |
5484 | ||
5485 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against | |
5486 | libasan_preinit.o. | |
5487 | ||
ecd4f20a MP |
5488 | 2013-03-08 Marek Polacek <polacek@redhat.com> |
5489 | Jakub Jelinek <jakub@redhat.com> | |
5490 | ||
5491 | PR tree-optimization/56478 | |
5492 | * predict.c (is_comparison_with_loop_invariant_p): Change the | |
5493 | type of loop_step to tree. | |
5494 | (predict_loops): Adjust. | |
5495 | (predict_iv_comparison): Perform the computations on double_ints. | |
5496 | ||
64366d35 RB |
5497 | 2013-03-08 Richard Biener <rguenther@suse.de> |
5498 | ||
5499 | PR tree-optimization/56570 | |
5500 | * tree-cfg.c (verify_expr_location_1): Verify locations for | |
5501 | DECL_DEBUG_EXPR. | |
5502 | * tree-sra.c (create_access_replacement): Strip locations | |
5503 | from DECL_DEBUG_EXPRs. | |
5504 | ||
a9d5a059 RB |
5505 | 2013-03-08 Richard Biener <rguenther@suse.de> |
5506 | ||
5507 | * tree-inline.c (expand_call_inline): Do not associate | |
5508 | a BLOCK with the location in BLOCK_SOURCE_LOCATION. | |
5509 | * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION. | |
5510 | ||
b7aa4e9a RB |
5511 | 2013-03-08 Richard Biener <rguenther@suse.de> |
5512 | ||
5513 | * tree-ssa-ter.c (is_replaceable_p): Do not TER across location | |
5514 | or block changes with -Og. Fix for location / block encoding | |
5515 | changes and PHI arguments with locations. | |
5516 | ||
c4c2f9fa SB |
5517 | 2013-03-07 Steven Bosscher <steven@gcc.gnu.org> |
5518 | ||
5519 | * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT | |
5520 | for all counters. | |
5521 | (struct output_info): Likewise. | |
5522 | (register_overhead): Remove bad gcc_assert. | |
5523 | (bitmap_find_bit): If there is only a single bitmap element, do not | |
5524 | count a miss as a search. | |
5525 | (print_statistics): Update for counter type changes. | |
5526 | (dump_bitmap_statistics): Likewise. Print headers such that they | |
5527 | are properly lined up with the printed counters. | |
5528 | ||
5bf6606a JJ |
5529 | 2013-03-07 Jakub Jelinek <jakub@redhat.com> |
5530 | ||
5531 | PR tree-optimization/56559 | |
5532 | * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2, | |
5533 | check that it has only a single use. | |
5534 | ||
2c653d46 RB |
5535 | 2013-03-07 Richard Biener <rguenther@suse.de> |
5536 | ||
5537 | * doc/invoke.texi (fwhole-program): Discourage use in combination | |
5538 | with -flto. | |
5539 | ||
a72d8780 JJ |
5540 | 2013-03-06 Jakub Jelinek <jakub@redhat.com> |
5541 | ||
01a454df JJ |
5542 | * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def. |
5543 | ||
c1781047 JJ |
5544 | PR tree-optimization/56539 |
5545 | * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT | |
5546 | instead of GSI_CONTINUE_LINKING as last argument to | |
5547 | force_gimple_operand_gsi. Adjust function comment. | |
5548 | ||
9772c47a JJ |
5549 | * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Add |
5550 | aarch64-cores.def. | |
5551 | ||
a72d8780 JJ |
5552 | PR middle-end/56548 |
5553 | * expr.c (expand_cond_expr_using_cmove): When expanding cmove in | |
5554 | promoted mode, convert the result back to the original mode. | |
5555 | ||
fa5556de RB |
5556 | 2013-03-06 Richard Biener <rguenther@suse.de> |
5557 | ||
5558 | PR middle-end/56294 | |
5559 | * tree-into-ssa.c (insert_phi_nodes_for): Add dumping. | |
5560 | (insert_updated_phi_nodes_compare_uids): New function. | |
5561 | (update_ssa): Sort symbols_to_rename after UID before | |
5562 | traversing it to insert PHI nodes. | |
5563 | ||
010403d1 RB |
5564 | 2013-03-06 Richard Biener <rguenther@suse.de> |
5565 | ||
5566 | PR middle-end/50494 | |
5567 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): | |
5568 | Do not adjust alignment of DECL_IN_CONSTANT_POOL decls. | |
5569 | ||
5570 | Revert | |
5571 | 2013-02-13 Richard Biener <rguenther@suse.de> | |
5572 | ||
5573 | PR lto/50494 | |
5574 | * varasm.c (output_constant_def_1): Get the decl representing | |
5575 | the constant as argument. | |
5576 | (output_constant_def): Wrap output_constant_def_1. | |
5577 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
5578 | representing the constant. | |
5579 | (build_constant_desc): Optionally re-use a decl already | |
5580 | representing the constant. | |
5581 | (tree_output_constant_def): Adjust. | |
5582 | ||
3c27ce4c JY |
5583 | 2013-03-06 Joey Ye <joey.ye@arm.com> |
5584 | ||
5585 | PR lto/50293 | |
5586 | * gcc.c (convert_white_space): New function. | |
5587 | (main): Handles white space in function name. | |
5588 | ||
8f6d1c86 OE |
5589 | 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org> |
5590 | ||
5591 | PR target/56529 | |
5592 | * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT | |
5593 | instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy | |
5594 | to SH_DIV_CALL_TABLE for TARGET_SH2. | |
5595 | * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib | |
5596 | list. | |
5597 | * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp, | |
5598 | call-table options. | |
5599 | ||
798a209f SA |
5600 | 2013-03-05 Sterling Augustine <saugustine@google.com> |
5601 | Cary Coutant <ccoutant@google.com> | |
5602 | ||
5603 | PR debug/55364 | |
5604 | * dwarf2out.c (resolve_addr): Don't call | |
5605 | remove_loc_list_addr_table_entries a second time for the same | |
5606 | expression. | |
5607 | ||
6cfa417f | 5608 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
ee61ea38 | 5609 | |
6cfa417f JJ |
5610 | PR debug/56510 |
5611 | * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming. | |
5612 | (avoid_complex_debug_insns): New function. | |
5613 | (expand_debug_locations): Call it. | |
5614 | ||
5615 | PR rtl-optimization/56484 | |
5616 | * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending | |
5617 | lifetimes of hard registers on small register class machines. | |
5618 | ||
5619 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> | |
5620 | ||
5621 | * config/microblaze/microblaze-protos.h: Rename | |
ee61ea38 | 5622 | microblaze_is_interrupt_handler to microblaze_is_interrupt_variant. |
6cfa417f | 5623 | * config/microblaze/microblaze.c (microblaze_attribute_table): Add |
ee61ea38 DH |
5624 | fast_interrupt. |
5625 | (microblaze_fast_interrupt_function_p): New function. | |
5626 | (microblaze_is_interrupt_handler): Rename to | |
5627 | microblaze_is_interrupt_variant and add fast_interrupt check. | |
5628 | (microblaze_must_save_register): Use microblaze_is_interrupt_variant. | |
5629 | (save_restore_insns): Likewise. | |
5630 | (compute_frame_size): Likewise. | |
5631 | (microblaze_function_prologue): Add FAST_INTERRUPT_NAME. | |
5632 | (microblaze_globalize_label): Likewise. | |
6cfa417f JJ |
5633 | * config/microblaze/microblaze.h: Define FAST_INTERRUPT_NAME. |
5634 | * config/microblaze/microblaze.md: Use wrapper | |
ee61ea38 DH |
5635 | microblaze_is_interrupt_variant. |
5636 | ||
731aefac KT |
5637 | 2013-03-05 Kai Tietz <ktietz@redhat.com> |
5638 | ||
5639 | * sdbout.c (sdbout_one_type): Switch to current function's section | |
5640 | supporting cold/hot. | |
5641 | ||
a72d8780 | 5642 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> |
e34fd5a7 DH |
5643 | |
5644 | * doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian, | |
5645 | -mxl-reorder. | |
5646 | ||
334e71e8 JJ |
5647 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
5648 | ||
0b50e654 JJ |
5649 | PR middle-end/56461 |
5650 | * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING, | |
5651 | if VALGRIND_GET_VBITS is defined, temporarily make object | |
5652 | memory all defined, and restore previous valgrind addressability | |
5653 | and definability afterwards. Free this_object at the end. | |
5654 | ||
4ccf8f43 JJ |
5655 | PR middle-end/56461 |
5656 | * lra.c (lra): Call lra_clear_live_ranges if live_p, | |
5657 | right before calling lra_create_live_ranges, also call it | |
5658 | when clearing live_p. Only call lra_clear_live_ranges | |
5659 | at the end if live_p. | |
5660 | ||
334e71e8 JJ |
5661 | PR middle-end/56461 |
5662 | * sched-deps.c (delete_dep_node): Free DEP_REPLACE. | |
5663 | ||
9ca966ca RB |
5664 | 2013-03-05 Richard Biener <rguenther@suse.de> |
5665 | ||
5666 | PR tree-optimization/56521 | |
5667 | * tree-ssa-sccvn.c (set_value_id_for_result): Always initialize | |
5668 | value-id. | |
5669 | ||
d273b176 SB |
5670 | 2013-03-05 Steven Bosscher <steven@gcc.gnu.org> |
5671 | ||
5672 | PR c++/55135 | |
5673 | * except.h (remove_unreachable_eh_regions): New prototype. | |
5674 | * except.c (remove_eh_handler_splicer): New function, split out | |
5675 | of remove_eh_handler. | |
5676 | (remove_eh_handler): Use remove_eh_handler_splicer. Add comment | |
5677 | warning about running it on many EH regions one at a time. | |
5678 | (remove_unreachable_eh_regions_worker): New function, walk the | |
5679 | EH tree in depth-first order and remove non-marked regions. | |
5680 | (remove_unreachable_eh_regions): New function. | |
5681 | * tree-eh.c (mark_reachable_handlers): New function, split out | |
5682 | from remove_unreachable_handlers. | |
5683 | (remove_unreachable_handlers): Use mark_reachable_handlers and | |
5684 | remove_unreachable_eh_regions. | |
5685 | (remove_unreachable_handlers_no_lp): Use mark_reachable_handlers | |
5686 | and remove_unreachable_eh_regions. | |
5687 | ||
5e7f1aef RB |
5688 | 2013-03-05 Richard Biener <rguenther@suse.de> |
5689 | ||
5690 | PR middle-end/56525 | |
5691 | * loop-init.c (fix_loop_structure): Remove loops in two stages, | |
5692 | not freeing them until the end. | |
5693 | ||
f276b762 AK |
5694 | 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
5695 | ||
5696 | * config/s390/s390.h: Define DWARF2_ASM_LINE_DEBUG_INFO. | |
5697 | ||
12a43ab8 RB |
5698 | 2013-03-05 Richard Biener <rguenther@suse.de> |
5699 | ||
5700 | PR tree-optimization/56270 | |
5701 | * tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts | |
5702 | of loads after scheduling an SLP instance. | |
5703 | ||
93675444 JJ |
5704 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
5705 | ||
db4138e3 JJ |
5706 | * Makefile.in (dg_target_exps): Add aarch64.exp, epiphany.exp and |
5707 | tic6x.exp. | |
5708 | (check_gcc_parallelize): Run guality.exp as a separate job from | |
5709 | vect.exp with unsorted.exp and $(dg_target_exps) separately from | |
5710 | struct-layout-1.exp with stackalign.exp. | |
5711 | ||
dd3d1ec0 JJ |
5712 | * alias.c (init_alias_analysis): Clear reg_known_equiv_p bitmap. |
5713 | ||
b8d381a3 JJ |
5714 | PR middle-end/56461 |
5715 | * tree-vect-slp.c (vect_supported_load_permutation_p): Free | |
5716 | load_index sbitmap even if some bit in it isn't set. | |
5717 | ||
b4f9786b JJ |
5718 | PR middle-end/56461 |
5719 | * tree-ssa-loop-niter.c (bb_queue): Remove typedef. | |
5720 | (discover_iteration_bound_by_body_walk): Change queues to | |
5721 | vec<vec<basic_block> > and queue to vec<basic_block>. Fix up | |
5722 | spelling in comment. Call safe_push on queues[bound_index] directly. | |
5723 | Release queues[queue_index] in every iteration unconditionally. | |
5724 | Release bounds vector. | |
5725 | ||
93675444 JJ |
5726 | PR middle-end/56461 |
5727 | * tree-vect-stmts.c (free_stmt_vec_info_vec): Call | |
5728 | free_stmt_vec_info on any left-over stmt_vec_info in the vector. | |
5729 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Release | |
5730 | inner_phis vector. | |
5731 | ||
3e492e9c RB |
5732 | 2013-03-05 Richard Biener <rguenther@suse.de> |
5733 | ||
5734 | PR lto/56515 | |
5735 | * tree-inline.c (remap_blocks_to_null): New function. | |
5736 | (expand_call_inline): When expanding a call stmt without | |
5737 | an associated block inline remap all callee blocks to NULL. | |
5738 | ||
a5d1569a JJ |
5739 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
5740 | ||
86efb5cd JJ |
5741 | PR rtl-optimization/56494 |
5742 | * simplify-rtx.c (simplify_truncation): If C is narrower than A, | |
5743 | optimize (truncate:A (subreg:B (truncate:C X) 0)) into | |
5744 | (subreg:A (truncate:C X) 0) instead of (truncate:A X). | |
5745 | ||
85f5dbea JJ |
5746 | PR middle-end/56461 |
5747 | * sel-sched-ir.c (free_sched_pools): Release | |
5748 | succs_info_pool.stack[succs_info_pool.max_top] vectors too | |
5749 | if succs_info_pool.max_top isn't -1. | |
5750 | ||
a5d1569a JJ |
5751 | PR bootstrap/56509 |
5752 | * opts.c (opts_obstack, opts_concat): Moved to... | |
5753 | * opts-common.c (opts_obstack, opts_concat): ... here. | |
5754 | ||
4432aa6c JJ |
5755 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
5756 | ||
5757 | PR middle-end/56461 | |
5758 | * diagnostic.c (diagnostic_append_note): Save and restore old prefix. | |
5759 | ||
f3a1fb91 MJ |
5760 | 2013-03-04 Martin Jambor <mjambor@suse.cz> |
5761 | ||
5762 | * tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in | |
5763 | all appropriate places. | |
5764 | ||
22110e6c EB |
5765 | 2013-01-04 Eric Botcazou <ebotcazou@adacore.com> |
5766 | ||
5767 | PR tree-optimization/56424 | |
5768 | * ipa-split.c (split_function): Do not set the RSO flag if result is | |
5769 | not by reference and its type is a register type. | |
5770 | ||
a72d8780 | 5771 | 2013-03-04 David Holsgrove <david.holsgrove@xilinx.com> |
91c4e421 | 5772 | |
88b97037 | 5773 | * config/microblaze/microblaze.c (microblaze_valid_pic_const): New |
91c4e421 | 5774 | (microblaze_legitimate_pic_operand): Likewise |
88b97037 | 5775 | * config/microblaze/microblaze.h (LEGITIMATE_PIC_OPERAND_P): calls |
91c4e421 DH |
5776 | new function microblaze_legitimate_pic_operand |
5777 | * config/microblaze/microblaze-protos.h | |
5778 | (microblaze_legitimate_pic_operand): Declare. | |
5779 | ||
a72d8780 | 5780 | 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
82f8f53a | 5781 | |
a72d8780 | 5782 | * config/microblaze/predicates.md (call_insn_simple_operand): |
82f8f53a | 5783 | New predicate for supported rtx code types. |
a72d8780 | 5784 | * config/microblaze/microblaze.md (call_internal1): Use |
82f8f53a EI |
5785 | call_insn_simple_operand predicate. |
5786 | ||
541d9ac8 JJ |
5787 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
5788 | ||
5eb010bc JJ |
5789 | PR middle-end/56461 |
5790 | * tree-loop-distribution.c (ldist_gen): Call partition_free after each | |
5791 | partitions.ordered_remove. | |
5792 | ||
30862efc JJ |
5793 | PR middle-end/56461 |
5794 | * tree-vect-stmts.c (vectorizable_conversion): Don't call | |
5795 | vec_oprnds0.create (1) for modifier == NONE. | |
5796 | ||
8930f723 JJ |
5797 | PR middle-end/56461 |
5798 | * tree-vect-stmts.c (vectorizable_shift): Don't call create methods | |
5799 | on vec_oprnds0 or vec_oprnds1 before loop, only call it on | |
5800 | vec_oprnds1 right before pushing anything to it for | |
5801 | scalar_shift_arg. | |
5802 | ||
541d9ac8 JJ |
5803 | PR middle-end/56461 |
5804 | * tree-vect-loop.c (destroy_loop_vec_info): For !clean_stmts, just | |
5805 | set nbbs to 0 instead of having separate code path. | |
5806 | (vect_analyze_loop_form): Call destroy_loop_vec_info with true | |
5807 | instead of false as last argument if returning NULL. | |
5808 | ||
7aa7f2e3 SL |
5809 | 2013-03-03 Sandra Loosemore <sandra@codesourcery.com> |
5810 | ||
5811 | * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments; | |
5812 | the attribute is now called "target" instead of "option". | |
5813 | (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma. | |
5814 | * doc/tm.texi.in (Target Attributes): Likewise document the correct | |
5815 | attribute/pragma name for TARGET_OPTION_VALID_P and | |
5816 | TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup. | |
5817 | * doc/tm.texi: Regenerated. | |
5818 | ||
8930f723 | 5819 | 2013-03-02 David Holsgrove <david.holsgrove@xilinx.com> |
cb8a1637 | 5820 | |
8930f723 | 5821 | * config/microblaze/microblaze.c: |
cb8a1637 | 5822 | Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met. |
8930f723 JJ |
5823 | * config/microblaze/microblaze.h: Add -mxl-reorder to |
5824 | DRIVER_SELF_SPECS. | |
5825 | * config/microblaze/microblaze.md: New bswapsi2 and bswaphi2. | |
5826 | instructions emitted if TARGET_REORDER. | |
88b97037 UB |
5827 | * config/microblaze/microblaze.opt: New option -mxl-reorder set to 1 |
5828 | or 0 for -m/-mno case, but initialises as 2 to detect default use case | |
8930f723 | 5829 | separately. |
cb8a1637 | 5830 | |
4dc1d68c XDL |
5831 | 2013-03-01 Xinliang David Li <davidxl@google.com> |
5832 | ||
5833 | * tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom | |
5834 | walk length. | |
5835 | ||
689eaba3 JJ |
5836 | 2013-03-01 Jakub Jelinek <jakub@redhat.com> |
5837 | ||
9d676bf6 JJ |
5838 | PR middle-end/56461 |
5839 | * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Release path | |
5840 | vector even when returning true. Fix up function comment formatting. | |
5841 | ||
caff7edf JJ |
5842 | PR middle-end/56461 |
5843 | * ira-build.c (ira_loop_nodes_count): New variable. | |
5844 | (create_loop_tree_nodes): Initialize it. | |
5845 | (finish_loop_tree_nodes): Use it instead of looking at current_loops. | |
5846 | ||
b6b9227d JJ |
5847 | PR middle-end/56461 |
5848 | * tree-vect-data-refs.c (vect_permute_store_chain): Avoid using copy | |
5849 | method on dr_chain and result_chain. | |
5850 | * tree-vect-stmts.c (vectorizable_store): Only call | |
5851 | result_chain.create if j == 0. | |
5852 | ||
689eaba3 JJ |
5853 | PR middle-end/56461 |
5854 | * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call | |
5855 | vec_oprnds0->release (); rather than vec_oprnds0->truncate (0) | |
5856 | before overwriting it. | |
5857 | ||
40bf31ed TB |
5858 | 2013-03-01 Tobias Burnus <burnus@net-b.de> |
5859 | ||
5860 | * doc/extended.texi (C Extensions): Change order in @menu | |
5861 | to match @node. | |
5862 | (Other MIPS Built-in Functions): Move last MIPS entry before | |
5863 | "picoChip Built-in Functions". | |
5864 | (SH Built-in Functions): Move after RX Built-in Functions. | |
5865 | * doc/gcc.texi (Introduction): Change order in @menu | |
5866 | to match @node. | |
5867 | * doc/md.texi (Constraints): Ditto. | |
5868 | * gty.texi (Type Information): Ditto. | |
5869 | (User-provided marking routines for template types): Make | |
5870 | subsection. | |
5871 | * doc/invoke.texi (AArch64 Options): Move before | |
5872 | "Adapteva Epiphany Options". | |
5873 | ||
e664c61c KS |
5874 | 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com> |
5875 | Jakub Jelinek <jakub@redhat.com> | |
5876 | ||
5877 | PR sanitizer/56454 | |
5878 | * asan.c (gate_asan): Lookup no_sanitize_address instead of | |
5879 | no_address_safety_analysis attribute. | |
5880 | * doc/extend.texi (no_address_safety_attribute): Rename to | |
5881 | no_sanitize_address attribute, mention no_address_safety_analysis | |
5882 | attribute as deprecated alias. | |
5883 | ||
37b5ec8f JJ |
5884 | 2013-02-28 Jakub Jelinek <jakub@redhat.com> |
5885 | ||
5886 | PR middle-end/56461 | |
5887 | * tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument | |
5888 | type to vec<vec<tree> > *. | |
5889 | * tree-vect-slp.c (vect_get_slp_defs): Likewise. Change vec_defs | |
5890 | to be vec<tree> instead of vec<tree> *, set vec_defs | |
5891 | to vNULL and call vec_defs.create (number_of_vects), adjust other | |
5892 | uses of vec_defs. | |
5893 | * tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call, | |
5894 | vectorizable_condition): Adjust vect_get_slp_defs callers. | |
5895 | ||
ba96cdfb JG |
5896 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
5897 | ||
5898 | * config/aarch64/aarch64.c | |
5899 | (aarch64_float_const_representable): Remove unused variable. | |
5900 | ||
6f549691 JG |
5901 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
5902 | ||
5903 | * config/aarch64/aarch64.c (aarch64_mangle_type): Make static. | |
5904 | ||
af55e82d JG |
5905 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
5906 | ||
5907 | * config/aarch64/aarch64-builtins.c | |
5908 | (aarch64_init_simd_builtins): Make static. | |
5909 | ||
1df3f464 JG |
5910 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
5911 | ||
5912 | * config/aarch64/aarch64.c | |
5913 | (aarch64_simd_make_constant): Make static. | |
5914 | ||
f8f42513 MJ |
5915 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
5916 | ||
5917 | * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements | |
5918 | with no initialization to the RHS of debug statements. | |
5919 | ||
b48b3fc4 MJ |
5920 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
5921 | ||
5922 | PR tree-optimization/56294 | |
5923 | * tree-sra.c (analyze_access_subtree): Create replacement declarations. | |
5924 | Adjust dumping. | |
5925 | (get_access_replacement): Do not call create_access_replacement. | |
5926 | Assert a replacement exists. | |
5927 | (get_repl_default_def_ssa_name): Create the replacement declaration | |
5928 | itself. | |
5929 | ||
c3ae224c RR |
5930 | 2013-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
5931 | ||
5932 | * config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and | |
5933 | final_end_function. | |
5934 | ||
45fa0eef MP |
5935 | 2013-02-28 Marek Polacek <polacek@redhat.com> |
5936 | ||
5937 | PR rtl-optimization/56466 | |
5938 | * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure | |
5939 | if we're changing a loop. | |
5940 | (peel_loops_completely): Likewise. | |
5941 | ||
502c067d PC |
5942 | 2013-02-28 Paolo Carlini <paolo.carlini@oracle.com> |
5943 | ||
5944 | PR c++/55813 | |
5945 | * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete. | |
5946 | ||
ff24afc8 GJL |
5947 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
5948 | ||
5949 | PR target/56445 | |
5950 | * config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty | |
5951 | macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX, | |
5952 | INTX_FTYPE_FX, FX_FTYPE_INTX. | |
5953 | * config/avr/builtins.def: Adjust respective DEF_BUILTIN. | |
5954 | ||
c7b1fc1b GJL |
5955 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
5956 | ||
5957 | * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285) | |
5958 | (ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795) | |
5959 | (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb) | |
5960 | (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a) | |
5961 | (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1) | |
5962 | (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p) | |
5963 | (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb) | |
5964 | (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161) | |
5965 | (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e) | |
5966 | (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4) | |
5967 | (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3) | |
5968 | (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1) | |
5969 | (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva) | |
5970 | (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3) | |
5971 | (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU. | |
5972 | (avrxmega6): Increase max flash segments from 5 to 6. | |
5973 | * config/avr/t-multilib: Regenerate. | |
5974 | * config/avr/avr-tables.opt: Regenerate. | |
5975 | * doc/avr-mmcu.texi: Regenerate. | |
5976 | ||
4a0e3cfe GJL |
5977 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
5978 | ||
5979 | * config/avr/avr.h (device_to_arch): Rename to device_to_ld. | |
5980 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
5981 | (avr_device_to_as): New prototype. | |
5982 | (EXTRA_SPEC_FUNCTIONS): Add device_to_as. | |
5983 | (ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=. | |
5984 | * config/avr/driver-avr.c (avr_device_to_as): New. | |
5985 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
5986 | ||
97785e52 JJ |
5987 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
5988 | ||
3f292312 JJ |
5989 | PR middle-end/56461 |
5990 | * tree-vect-data-refs.c (vect_permute_load_chain): Avoid using copy | |
5991 | method on dr_chain and result_chain. | |
5992 | ||
a344216b JJ |
5993 | PR middle-end/56461 |
5994 | * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Call | |
5995 | pointer_set_destroy on not_executed_last_iteration. | |
5996 | ||
f121ad02 | 5997 | PR middle-end/56461 |
88b97037 | 5998 | * tree-vect-loop.c (vectorizable_reduction): Release vect_defs vector. |
f121ad02 | 5999 | |
307f83a3 JJ |
6000 | PR middle-end/56461 |
6001 | * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of | |
6002 | FOR_EACH_DEFINED_FUNCTION when freeing state. | |
6003 | ||
e19624ee JJ |
6004 | PR middle-end/56461 |
6005 | * df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before | |
6006 | pool_free. | |
6007 | (df_insn_rescan_debug_internal): Use df_scan_free_mws_vec before | |
6008 | overwriting it. | |
6009 | ||
90e709fd JJ |
6010 | PR middle-end/56461 |
6011 | * ipa-cp.c (decide_whether_version_node): Call vec_free on | |
6012 | known_aggs[i].items and release known_aggs vector. | |
6013 | ||
97785e52 JJ |
6014 | PR middle-end/56461 |
6015 | * ipa-reference.c (propagate): Free node_info even for alias nodes. | |
6016 | ||
6017 | 2013-02-27 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
bbb3a9e2 | 6018 | |
97785e52 JJ |
6019 | * config/microblaze/microblaze.c (microblaze_emit_compare): |
6020 | Use xor for EQ/NE comparisions. | |
6021 | * config/microblaze/microblaze.md (cstoresf4): Add constraints | |
6022 | (cbranchsf4): Adjust operator to comparison_operator. | |
bbb3a9e2 | 6023 | |
6fa5e0ed JJ |
6024 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
6025 | ||
6026 | PR middle-end/56461 | |
6027 | * tree-flow.h (edge_var_map_vector): Change into va_heap, vl_embed | |
6028 | vector. | |
6029 | * tree-ssa.c (redirect_edge_var_map_add): Use vec_safe_reserve and | |
6030 | vec_safe_push, always update *slot. | |
6031 | (redirect_edge_var_map_clear): Use vec_free. | |
6032 | (redirect_edge_var_map_dup): Use vec_safe_copy and vec_safe_reserve. | |
6033 | (free_var_map_entry): Use vec_free. | |
6034 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Use | |
6035 | FOR_EACH_VEC_SAFE_ELT instead of FOR_EACH_VEC_ELT. | |
6036 | ||
436a956a AB |
6037 | 2013-02-27 Andrey Belevantsev <abel@ispras.ru> |
6038 | ||
6039 | PR middle-end/45472 | |
436a956a AB |
6040 | * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr |
6041 | when the may_trap_p bit of the exprs being merged differs. | |
436a956a AB |
6042 | Reorder tests for speculativeness in the logical and operator. |
6043 | ||
f5c2caca JJ |
6044 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
6045 | ||
0fcb564b JJ |
6046 | * incpath.c (add_standard_paths): Use reconcat instead of concat |
6047 | where appropriate and avoid leaking memory. | |
6048 | ||
dc357798 JJ |
6049 | * opts.h: Include obstack.h. |
6050 | (opts_concat): New prototype. | |
6051 | (opts_obstack): New declaration. | |
6052 | * opts.c (opts_concat): New function. | |
6053 | (opts_obstack): New variable. | |
6054 | (init_options_struct): Call gcc_init_obstack on opts_obstack. | |
6055 | (finish_options): Use opts_concat instead of concat | |
6056 | and XOBNEWVEC instead of XNEWVEC. | |
6057 | * opts-common.c (generate_canonical_option, decode_cmdline_option, | |
6058 | generate_option): Likewise. | |
6059 | * Makefile.in (OPTS_H): Depend on $(OBSTACK_H). | |
6060 | * lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack. | |
6061 | ||
f5c2caca JJ |
6062 | PR target/56455 |
6063 | * stmt.c (expand_switch_as_decision_tree_p): If flag_pic | |
6064 | and ASM_OUTPUT_ADDR_DIFF_ELT isn't defined, return true. | |
6065 | ||
d0163673 JJ |
6066 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
6067 | ||
6068 | PR middle-end/56461 | |
6069 | * lra-spills.c (lra_spill): Free spill_hard_reg at the end. | |
6070 | ||
b5ad2b8e JR |
6071 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
6072 | ||
6073 | * config/arm/arm.c (const_ok_for_dimode_op): Back out last change. | |
6074 | (arm_block_move_unaligned_straight): Likewise. | |
6075 | (arm_adjust_block_mem): Likewise. | |
6076 | ||
9b639e2c JR |
6077 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
6078 | ||
6079 | PR target/48901 | |
6080 | * config/lm32/lm32.c (gen_int_relational): Remove unused variables | |
6081 | temp, cond and label. | |
6082 | * config/lm32/lm32.md (ashlsi3): Remove unused variable one. | |
6083 | ||
e13a0ccb JR |
6084 | PR target/52500 |
6085 | * config/c6x/c6x.c (dbx_register_map): Change to unsigned. | |
6086 | * config/c6x/c6x.h (dbx_register_map): Update declaration. | |
6087 | ||
fbe4f171 JR |
6088 | PR target/52501 |
6089 | * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end | |
6090 | of prologue/epilogue functions. | |
6091 | ||
ae006543 JR |
6092 | PR target/52550 |
6093 | * config/tilegx/tilegx.c (tilegx_expand_prologue): | |
6094 | Remove unused variable cfa_offset. | |
6095 | * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise. | |
6096 | ||
c81369fa JR |
6097 | PR target/54639 |
6098 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset | |
6099 | type promotion to unsigned. | |
6100 | ||
f8a8fea7 JR |
6101 | PR target/54640 |
6102 | * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent | |
6103 | for HOST_WIDE_INT of 32 bit / same size as int. | |
6104 | (arm_block_move_unaligned_straight): Likewise. | |
6105 | (arm_adjust_block_mem): Likewise. | |
6106 | ||
f8be5169 JR |
6107 | PR target/54662 |
6108 | * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of | |
6109 | ALL_CFLAGS. | |
6110 | ||
f1ad3354 MP |
6111 | 2013-02-26 Marek Polacek <polacek@redhat.com> |
6112 | ||
6113 | PR tree-optimization/56426 | |
88b97037 | 6114 | * tree-ssa-loop.c (tree_ssa_loop_init): Always call scev_initialize. |
f1ad3354 | 6115 | |
a6af0f42 RB |
6116 | 2013-02-26 Richard Biener <rguenther@suse.de> |
6117 | ||
6118 | PR target/56444 | |
6119 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove | |
6120 | unused variable loops. | |
6121 | ||
aca43c6c JJ |
6122 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
6123 | ||
cecbe5d9 JJ |
6124 | PR tree-optimization/56448 |
6125 | * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at | |
6126 | TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF. | |
6127 | Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or | |
6128 | later operands of the references, or even first operand for | |
6129 | INDIRECT_REF, TARGET_MEM_REF or MEM_REF. | |
6130 | ||
aca43c6c JJ |
6131 | PR tree-optimization/56443 |
6132 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For | |
6133 | overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument | |
6134 | to type_for_mode langhook. | |
6135 | ||
53e2e141 MT |
6136 | 2013-02-25 Matt Turner <mattst88@gmail.com> |
6137 | ||
6138 | * doc/invoke.texi: Document r4700. | |
6139 | ||
259ee451 RB |
6140 | 2013-02-25 Richard Biener <rguenther@suse.de> |
6141 | ||
6142 | PR tree-optimization/56175 | |
6143 | * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate, | |
6144 | split out from ... | |
6145 | (simplify_bitwise_binary): ... here. Also guard the conversion | |
6146 | of (type) X op CST to (type) (X op ((type-x) CST)) with it. | |
6147 | ||
6d65e8f1 CM |
6148 | 2013-02-25 Catherine Moore <clm@codesourcery.com> |
6149 | ||
6150 | Revert: | |
6151 | 2013-02-24 Catherine Moore <clm@codesourcery.com> | |
6152 | Maciej W. Rozycki <macro@codesourcery.com> | |
6153 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 6154 | Nathan Sidwell <nathan@codesourcery.com> |
6d65e8f1 CM |
6155 | Iain Sandoe <iain@codesourcery.com> |
6156 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 6157 | Chao-ying Fu <fu@mips.com> |
88b97037 | 6158 | |
6d65e8f1 | 6159 | * doc/extend.texi: (micromips, nomicromips, nocompression): |
88b97037 | 6160 | Document new function attributes. |
6d65e8f1 CM |
6161 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
6162 | m14k, m14ke, m14kec): Document new options. | |
6163 | (minterlink-mips16): Update documentation. | |
6164 | * doc/md.texi (ZC, ZD): Document new constraints. | |
6165 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
6166 | supports the .set micromips directive. | |
6167 | * configure: Regenerate. | |
6168 | * config.in: Regenerate. | |
6169 | * config/mips/mips-tables.opt: Regenerate. | |
6170 | * config/mips/micromips.md: New file. | |
6171 | * constraints.md (ZC, AD): New constraints. | |
6172 | * config/mips/predicates.md (movep_src_register): New predicate. | |
6173 | (movep_src_operand): New predicate. | |
6174 | (non_volatile_mem_operand): New predicate. | |
6175 | * config/mips/mips.md (multimem): New type. | |
6176 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
6177 | (MOVEP1, MOVEP2): New mode iterator. | |
6178 | (mov_<load>l): Use ZC constraint. | |
6179 | (mov_<load>r): Likewise. | |
6180 | (mov_<store>l): Likewise. | |
6181 | (mov_<store>r): Likewise. | |
6182 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
6183 | (*branch_equality<mode>): Likewise. | |
6184 | (*jump_absolute): Likewise. | |
6185 | (indirect_jump_<mode>): Likewise. | |
6186 | (tablejump_<mode>): Likewise. | |
6187 | (<optab>_internal): Likewise. | |
6188 | (sibcall_internal): Likewise. | |
6189 | (sibcall_value_internal): Likewise. | |
6190 | (prefetch): Use constraint ZD. | |
6191 | * config/mips/mips.opt (minterlink-compressed): New option. | |
6192 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
6193 | (mmicromips): New option. | |
6194 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
6195 | (compare_and_swap_12): Likewise. | |
6196 | (sync_add<mode>): Likewise. | |
6197 | (sync_<optab>_12): Likewise. | |
6198 | (sync_old_<optab>_12): Likewise. | |
6199 | (sync_new_<optab>_12): Likewise. | |
6200 | (sync_nand_12): Likewise. | |
6201 | (sync_old_nand_12): Likewise. | |
6202 | (sync_new_nand_12): Likewise. | |
6203 | (sync_sub<mode>): Likewise. | |
6204 | (sync_old_add<mode>): Likewise. | |
6205 | (sync_old_sub<mode>): Likewise. | |
6206 | (sync_new_add<mode>): Likewise. | |
6207 | (sync_new_sub<mode>): Likewise. | |
6208 | (sync_<optab><mode>): Likewise. | |
6209 | (sync_old_<optab><mode>): Likewise. | |
6210 | (sync_new_<optab><mode>): Likewise. | |
6211 | (sync_nand<mode>): Likewise. | |
6212 | (sync_old_nand<mode>): Likewise. | |
6213 | (sync_new_nand<mode>): Likewise. | |
6214 | (sync_lock_test_and_set<mode>): Likewise. | |
6215 | (test_and_set_12): Likewise. | |
6216 | (atomic_compare_and_swap<mode>): Likewise. | |
6217 | (atomic_exchange<mode>_llsc): Likewise. | |
6218 | (atomic_fetch_add<mode>_llsc): Likewise. | |
6219 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
6220 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
6221 | (umips_save_restore_pattern_p): Likewise. | |
6222 | (umips_load_store_pair_p): Likewise. | |
6223 | (umips_output_load_store_pair): Likewise. | |
6224 | (umips_movep_target_p): Likewise. | |
6225 | (umips_12bit_offset_address_p): Likewise. | |
6226 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
6227 | (mips_base_mips16): Rename this... | |
6228 | (mips_base_compression_flags): ...to this. Update all uses. | |
6229 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
6230 | (mips_mips16_decl_p): Delete. | |
6231 | (mips_nomips16_decl_p): Delete. | |
6232 | (mips_get_compress_on_flags): New function. | |
6233 | (mips_get_compress_off_flags): New function. | |
6234 | (mips_get_compress_mode): New function. | |
6235 | (mips_get_compress_on_name): New function. | |
6236 | (mips_get_compress_off_name): New function. | |
6237 | (mips_insert_attributes): Support multiple compression types. | |
6238 | (mips_merge_decl_attributes): Likewise. | |
6239 | (umips_12bit_offset_address_p): New function. | |
6240 | (mips_start_function_definition): Emit .set micromips directive. | |
6241 | (mips_call_may_need_jalx_p): New function. | |
6242 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
6243 | (mips_print_operand_punctuation): Support short delay slots and | |
6244 | compact jumps. | |
6245 | (umips_swm_mask, umips_swm_encoding): New. | |
6246 | (umips_build_save_restore): New function. | |
6247 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
6248 | (was_mips16_p): Remove. | |
6249 | (old_compression_mode): New. | |
6250 | (mips_set_compression_mode): New function. | |
6251 | (mips_set_current_function): Add microMIPS support. | |
6252 | (mips_option_override): Likewise. | |
6253 | (umips_save_restore_pattern_p): New function. | |
6254 | (umips_output_save_restore): New function. | |
6255 | (umips_load_store_pair_p_1): New function. | |
6256 | (umips_load_store_pair_p): New function. | |
6257 | (umips_output_load_store_pair_1): New function. | |
6258 | (umips_output_load_store_pair): New function. | |
6259 | (umips_movep_target_p) New function. | |
6260 | (mips_prepare_pch_save): Add microMIPS support. | |
6261 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
6262 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
6263 | to use new compression flags and to support microMIPS. | |
6264 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
6265 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
6266 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
6267 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
6268 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
6269 | (M16STORE_REG_P): New macro. | |
6270 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
6271 | (MICROMIPS_J): New macro. | |
6272 | (mips_base_mips16): Rename this... | |
6273 | (mips_base_compression_flags): ...to this. | |
6274 | (UMIPS_12BIT_OFFSET_P): New macro. | |
6275 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
6276 | (MULTILIB_DIRNAMES): Likewise. | |
6277 | ||
5e5df392 TV |
6278 | 2013-02-25 Tom de Vries <tom@codesourcery.com> |
6279 | ||
6280 | PR rtl-optimization/56131 | |
6281 | * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment. | |
6282 | * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and | |
6283 | NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL. | |
6284 | ||
3fdb53c1 TB |
6285 | 2013-02-25 Tobias Burnus <burnus@net-b.de> |
6286 | ||
6287 | * doc/invoke.texi (-fsanitize=): Move from optimization | |
6288 | to debugging options. | |
6289 | ||
ed358aea AB |
6290 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
6291 | ||
6292 | * sched-deps.c (sched_analyze_insn): Fix typo in comment. | |
6293 | ||
f45e9053 AB |
6294 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
6295 | Alexander Monakov <amonakov@ispras.ru> | |
6296 | ||
6297 | PR middle-end/56077 | |
6298 | * sched-deps.c (sched_analyze_insn): When reg_pending_barrier, | |
6299 | flush pending lists also on non-jumps. Adjust comment. | |
6300 | ||
6941b508 CM |
6301 | 2013-02-24 Catherine Moore <clm@codesourcery.com> |
6302 | Maciej W. Rozycki <macro@codesourcery.com> | |
6303 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 6304 | Nathan Sidwell <nathan@codesourcery.com> |
6941b508 CM |
6305 | Iain Sandoe <iain@codesourcery.com> |
6306 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 6307 | Chao-ying Fu <fu@mips.com> |
6941b508 CM |
6308 | |
6309 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
88b97037 | 6310 | Document new function attributes. |
6941b508 CM |
6311 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
6312 | m14k, m14ke, m14kec): Document new options. | |
6313 | (minterlink-mips16): Update documentation. | |
6314 | * doc/md.texi (ZC, ZD): Document new constraints. | |
6315 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
6316 | supports the .set micromips directive. | |
6317 | * configure: Regenerate. | |
6318 | * config.in: Regenerate. | |
6319 | * config/mips/mips-tables.opt: Regenerate. | |
6320 | * config/mips/micromips.md: New file. | |
6321 | * constraints.md (ZC, AD): New constraints. | |
6322 | * config/mips/predicates.md (movep_src_register): New predicate. | |
6323 | (movep_src_operand): New predicate. | |
6324 | (non_volatile_mem_operand): New predicate. | |
6325 | * config/mips/mips.md (multimem): New type. | |
6326 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
6327 | (MOVEP1, MOVEP2): New mode iterator. | |
3fdb53c1 | 6328 | (mov_<load>l): Use ZC constraint. |
6941b508 CM |
6329 | (mov_<load>r): Likewise. |
6330 | (mov_<store>l): Likewise. | |
6331 | (mov_<store>r): Likewise. | |
6332 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
6333 | (*branch_equality<mode>): Likewise. | |
6334 | (*jump_absolute): Likewise. | |
6335 | (indirect_jump_<mode>): Likewise. | |
6336 | (tablejump_<mode>): Likewise. | |
6337 | (<optab>_internal): Likewise. | |
6338 | (sibcall_internal): Likewise. | |
6339 | (sibcall_value_internal): Likewise. | |
6340 | (prefetch): Use constraint ZD. | |
6341 | * config/mips/mips.opt (minterlink-compressed): New option. | |
6342 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
6343 | (mmicromips): New option. | |
6344 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
6345 | (compare_and_swap_12): Likewise. | |
6346 | (sync_add<mode>): Likewise. | |
6347 | (sync_<optab>_12): Likewise. | |
6348 | (sync_old_<optab>_12): Likewise. | |
6349 | (sync_new_<optab>_12): Likewise. | |
6350 | (sync_nand_12): Likewise. | |
6351 | (sync_old_nand_12): Likewise. | |
6352 | (sync_new_nand_12): Likewise. | |
6353 | (sync_sub<mode>): Likewise. | |
6354 | (sync_old_add<mode>): Likewise. | |
6355 | (sync_old_sub<mode>): Likewise. | |
6356 | (sync_new_add<mode>): Likewise. | |
6357 | (sync_new_sub<mode>): Likewise. | |
6358 | (sync_<optab><mode>): Likewise. | |
6359 | (sync_old_<optab><mode>): Likewise. | |
6360 | (sync_new_<optab><mode>): Likewise. | |
6361 | (sync_nand<mode>): Likewise. | |
6362 | (sync_old_nand<mode>): Likewise. | |
6363 | (sync_new_nand<mode>): Likewise. | |
6364 | (sync_lock_test_and_set<mode>): Likewise. | |
6365 | (test_and_set_12): Likewise. | |
6366 | (atomic_compare_and_swap<mode>): Likewise. | |
6367 | (atomic_exchange<mode>_llsc): Likewise. | |
6368 | (atomic_fetch_add<mode>_llsc): Likewise. | |
6369 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
6370 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
6371 | (umips_save_restore_pattern_p): Likewise. | |
6372 | (umips_load_store_pair_p): Likewise. | |
6373 | (umips_output_load_store_pair): Likewise. | |
6374 | (umips_movep_target_p): Likewise. | |
6375 | (umips_12bit_offset_address_p): Likewise. | |
6376 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
6377 | (mips_base_mips16): Rename this... | |
6378 | (mips_base_compression_flags): ...to this. Update all uses. | |
6379 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
6380 | (mips_mips16_decl_p): Delete. | |
6381 | (mips_nomips16_decl_p): Delete. | |
3fdb53c1 | 6382 | (mips_get_compress_on_flags): New function. |
6941b508 CM |
6383 | (mips_get_compress_off_flags): New function. |
6384 | (mips_get_compress_mode): New function. | |
6385 | (mips_get_compress_on_name): New function. | |
6386 | (mips_get_compress_off_name): New function. | |
6387 | (mips_insert_attributes): Support multiple compression types. | |
6388 | (mips_merge_decl_attributes): Likewise. | |
6389 | (umips_12bit_offset_address_p): New function. | |
6390 | (mips_start_function_definition): Emit .set micromips directive. | |
6391 | (mips_call_may_need_jalx_p): New function. | |
6392 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
6393 | (mips_print_operand_punctuation): Support short delay slots and | |
6394 | compact jumps. | |
6395 | (umips_swm_mask, umips_swm_encoding): New. | |
6396 | (umips_build_save_restore): New function. | |
6397 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
6398 | (was_mips16_p): Remove. | |
6399 | (old_compression_mode): New. | |
6400 | (mips_set_compression_mode): New function. | |
6401 | (mips_set_current_function): Add microMIPS support. | |
6402 | (mips_option_override): Likewise. | |
6403 | (umips_save_restore_pattern_p): New function. | |
6404 | (umips_output_save_restore): New function. | |
6405 | (umips_load_store_pair_p_1): New function. | |
6406 | (umips_load_store_pair_p): New function. | |
6407 | (umips_output_load_store_pair_1): New function. | |
6408 | (umips_output_load_store_pair): New function. | |
6409 | (umips_movep_target_p) New function. | |
6410 | (mips_prepare_pch_save): Add microMIPS support. | |
6411 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
6412 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
6413 | to use new compression flags and to support microMIPS. | |
6414 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
6415 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
6416 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
6417 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
6418 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
6419 | (M16STORE_REG_P): New macro. | |
6420 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
6421 | (MICROMIPS_J): New macro. | |
6422 | (mips_base_mips16): Rename this... | |
6423 | (mips_base_compression_flags): ...to this. | |
6424 | (UMIPS_12BIT_OFFSET_P): New macro. | |
6425 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
6426 | (MULTILIB_DIRNAMES): Likewise. | |
6427 | ||
cdebbc6d JJ |
6428 | 2013-02-24 Jakub Jelinek <jakub@redhat.com> |
6429 | ||
6430 | PR target/52555 | |
6431 | * target-globals.c (save_target_globals): For init_reg_sets and | |
6432 | target_reinit remporarily set this_fn_optabs to this_target_optabs. | |
6433 | ||
18c63565 JG |
6434 | 2013-02-22 James Grennahlgh <james.greenhalgh@arm.com> |
6435 | ||
6436 | * config/aarch64/aarch64-simd-builtins.def: Add copyright header. | |
6437 | * config/aarch64/t-aarch64 | |
6438 | (aarch64-builtins.o): Depend on aarch64-simd-builtins.def. | |
6439 | ||
2194f7a2 VM |
6440 | 2013-02-22 Vladimir Makarov <vmakarov@redhat.com> |
6441 | ||
6442 | PR inline-asm/56148 | |
6443 | * lra-constraints.c (process_alt_operands): Reload operand | |
6444 | conflicting with earlier clobber only if no more other conflicting | |
6445 | operands. | |
6446 | ||
7d613735 JJ |
6447 | 2013-02-22 Jakub Jelinek <jakub@redhat.com> |
6448 | ||
6449 | PR sanitizer/56393 | |
6450 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o | |
6451 | if not linking a shared library. | |
6452 | ||
ac8d93a7 SL |
6453 | 2013-02-22 Seth LaForge <sethml@google.com> |
6454 | ||
6455 | * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian. | |
6456 | ||
e0237780 GY |
6457 | 2013-02-22 Greta Yorsh <Greta.Yorsh@arm.com> |
6458 | ||
3fdb53c1 TB |
6459 | * config/arm/arm.md (split for extendsidi): Update condition. |
6460 | (zero_extend<mode>di2,extend<mode>di2): Add an alternative. | |
6461 | * config/arm/iterators.md (qhs_extenddi_cstr): Likewise. | |
6462 | (qhs_zextenddi_cstr): Likewise. | |
e0237780 | 6463 | |
d7fde18c JJ |
6464 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
6465 | ||
be63b77d JJ |
6466 | PR middle-end/56420 |
6467 | * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to | |
6468 | avoid signed wrapping. | |
6469 | (expand_mult): Handle properly multiplication by | |
6470 | ((dword_type) -1) << (BITS_PER_WORD - 1). Improve multiplication by | |
6471 | ((dword_type) 1) << (BITS_PER_WORD - 1). Avoid undefined behavior | |
6472 | in the compiler if coeff is HOST_WIDE_INT_MIN. | |
6473 | (expand_divmod): Don't make ext_op1 static, change it's type to | |
6474 | uhwi. Avoid undefined behavior in -INTVAL (op1). | |
6475 | ||
d7fde18c JJ |
6476 | PR rtl-optimization/50339 |
6477 | * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt | |
6478 | field. | |
6479 | * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT. | |
6480 | (compute_costs): Call compute_splitting_shift also for ASHIFTRT | |
6481 | into splitting_ashiftrt field. | |
6482 | (find_decomposable_shift_zext, resolve_shift_zext): Handle also | |
6483 | ASHIFTRT. | |
6484 | (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT | |
6485 | choices. | |
6486 | ||
6aad4455 AH |
6487 | 2013-02-20 Aldy Hernandez <aldyh@redhat.com> |
6488 | ||
6489 | PR middle-end/56108 | |
6490 | * trans-mem.c (execute_tm_mark): Do not expand transactions that | |
6491 | are sure to go irrevocable. | |
6492 | ||
38fe784d HPN |
6493 | 2013-02-21 Hans-Peter Nilsson <hp@axis.com> |
6494 | ||
6495 | * doc/rtl.texi (vec_concat, vec_duplicate): Mention that | |
6496 | scalars are valid operands. | |
6497 | ||
0fd44da3 MJ |
6498 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
6499 | ||
6500 | PR tree-optimization/56310 | |
6501 | * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy | |
6502 | only matching indices and non-negative final offsets. | |
6503 | (intersect_aggregates_with_edge): Pass src_idx to | |
6504 | agg_replacements_to_vector. Pass src_idx insstead of index to | |
6505 | intersect_with_agg_replacements. | |
6506 | ||
7a92038b MJ |
6507 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
6508 | ||
6509 | * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold | |
6510 | instead of hard-wired defaults. | |
6511 | ||
c0da9c37 MR |
6512 | 2013-02-21 Maciej W. Rozycki <macro@codesourcery.com> |
6513 | ||
6514 | * doc/invoke.texi (MIPS Options): Update documentation of the | |
6515 | floating-point multiply-accumulate instruction restrictions. | |
6516 | ||
d247ea0c | 6517 | 2013-02-21 Kostya Serebryany <kcc@google.com> |
7df59255 KS |
6518 | |
6519 | * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as | |
6520 | asan_shadow_offset on x86_64 linux. | |
6521 | ||
22deefcb RB |
6522 | 2013-02-21 Richard Biener <rguenther@suse.de> |
6523 | ||
6524 | PR tree-optimization/56415 | |
6525 | Revert | |
6526 | 2013-02-11 Richard Biener <rguenther@suse.de> | |
6527 | ||
6528 | PR tree-optimization/56273 | |
6529 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
6530 | first VRP run. | |
6531 | ||
7bcc6e75 JJ |
6532 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
6533 | ||
a0ad148f JJ |
6534 | PR bootstrap/56258 |
6535 | * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item | |
6536 | instead of @itemx. | |
6537 | ||
7bcc6e75 JJ |
6538 | PR inline-asm/56405 |
6539 | * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't | |
6540 | use movmisalign or extract_bit_field for EXPAND_MEMORY modifier. | |
6541 | ||
a0a7b611 JH |
6542 | 2013-02-20 Jan Hubicka <jh@suse.cz> |
6543 | ||
6544 | PR tree-optimization/56265 | |
88b97037 UB |
6545 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph |
6546 | when target is referenced for first time. | |
a0a7b611 | 6547 | |
c0e50f72 RB |
6548 | 2013-02-20 Richard Biener <rguenther@suse.de> |
6549 | ||
6550 | * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. | |
6551 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise. | |
6552 | * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise. | |
6553 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do | |
6554 | not return anything. | |
6555 | (rename_ssa_copies): Do not remove unused locals. | |
6556 | * tree-ssa-ccp.c (do_ssa_ccp): Likewise. | |
88b97037 | 6557 | * tree-ssanames.c (pass_release_ssa_names): Remove unused locals first. |
c0e50f72 RB |
6558 | * passes.c (execute_function_todo): Do not schedule unused locals |
6559 | removal if cleanup_tree_cfg did something. | |
6560 | * tree-ssa-live.c (remove_unused_locals): Dump statistics | |
6561 | about the number of removed locals. | |
6562 | ||
a52ca739 RB |
6563 | 2013-02-20 Richard Biener <rguenther@suse.de> |
6564 | ||
6565 | PR tree-optimization/56398 | |
88b97037 | 6566 | * tree-vect-loop-manip.c (adjust_debug_stmts): Skip SSA default defs. |
a52ca739 | 6567 | |
ec9c9d1b MJ |
6568 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
6569 | ||
6570 | PR tree-optimization/55334 | |
6571 | * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to | |
6572 | restricted pointers to arrays. | |
6573 | ||
e91c8ed6 | 6574 | 2013-02-20 Richard Biener <rguenther@suse.de> |
88b97037 | 6575 | Jakub Jelinek <jakub@redhat.com> |
e91c8ed6 RB |
6576 | |
6577 | PR tree-optimization/56396 | |
6578 | * tree-ssa-ccp.c (n_const_val): New static variable. | |
6579 | (get_value): Return NULL for SSA names we don't have a lattice | |
6580 | entry for. | |
6581 | (ccp_initialize): Initialize n_const_val. | |
6582 | * tree-ssa-copy.c (n_copy_of): New static variable. | |
6583 | (init_copy_prop): Initialize n_copy_of. | |
6584 | (get_value): Return NULL_TREE for SSA names we don't have a | |
6585 | lattice entry for. | |
6586 | ||
3d916479 MJ |
6587 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
6588 | ||
6589 | * ipa-cp.c (initialize_node_lattices): Fix dumping condition. | |
6590 | ||
71a86758 RB |
6591 | 2013-02-20 Richard Biener <rguenther@suse.de> |
6592 | ||
6593 | * genpreds.c (write_lookup_constraint): Do not compare first | |
6594 | letter of the constraint again. | |
6595 | ||
79836a12 RB |
6596 | 2013-02-20 Richard Biener <rguenther@suse.de> |
6597 | ||
6598 | * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits | |
6599 | and ceil_log2. | |
6600 | (get_use_iv_cost): Terminate hashtable walk when coming across | |
6601 | an empty entry. | |
6602 | ||
bbe4fb2c IZ |
6603 | 2013-02-20 Igor Zamyatin <igor.zamyatin@intel.com> |
6604 | ||
6605 | * config/i386/i386.c (initial_ix86_tune_features): Turn on fp | |
6606 | reassociation for avx2 targets. | |
6607 | ||
a72d8780 | 6608 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
79836a12 | 6609 | |
c77f83d5 EI |
6610 | * config/microblaze/microblaze.c: microblaze_has_clz = 0 |
6611 | Add version check for v8.10.a to enable microblaze_has_clz | |
88b97037 | 6612 | * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined |
c77f83d5 EI |
6613 | version and TARGET_PATTERN_COMPARE check |
6614 | * config/microblaze/microblaze.md: New clzsi2 instruction | |
3fdb53c1 | 6615 | |
a72d8780 | 6616 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
959434e6 | 6617 | |
a72d8780 | 6618 | * config/microblaze/microblaze.md (call_value_intern): Check symbol is |
959434e6 EI |
6619 | function before branching. |
6620 | ||
242387fa AB |
6621 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
6622 | ||
6623 | * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set | |
6624 | DUMP_INSN_RTX_UID. | |
6625 | (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim. | |
6626 | ||
b4979ab9 AB |
6627 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
6628 | ||
6629 | PR middle-end/55889 | |
b4979ab9 AB |
6630 | * sel-sched.c: Include ira.h. |
6631 | (implicit_clobber_conflict_p): New function. | |
6632 | (moveup_expr): Use it. | |
88b97037 | 6633 | * Makefile.in (sel-sched.o): Depend on ira.h. |
b4979ab9 | 6634 | |
24d63016 RB |
6635 | 2013-02-19 Richard Biener <rguenther@suse.de> |
6636 | ||
6637 | PR tree-optimization/56384 | |
6638 | * tree-ssa-sccvn.h (struct vn_phi_s): Add type member. | |
6639 | (vn_hash_type): Split out from ... | |
6640 | (vn_hash_constant_with_type): ... here. | |
6641 | * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type. | |
6642 | (vn_phi_eq): Compare types from vn_phi_s structure. | |
6643 | (vn_phi_lookup): Populate vn_phi_s type. | |
6644 | (vn_phi_insert): Likewise. | |
6645 | ||
a475fd3d JJ |
6646 | 2013-02-19 Jakub Jelinek <jakub@redhat.com> |
6647 | ||
47cc28f5 JJ |
6648 | PR tree-optimization/56350 |
6649 | * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false | |
6650 | if haven't found reduction or nested cycle operand, rather than | |
6651 | asserting we must find it. | |
6652 | ||
a475fd3d JJ |
6653 | PR tree-optimization/56381 |
6654 | * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument | |
6655 | to fold_build3. | |
6656 | ||
6657 | 2013-02-18 Aldy Hernandez <aldyh@redhat.com> | |
135204dd AH |
6658 | Jakub Jelinek <jakub@redhat.com> |
6659 | ||
6660 | PR target/52555 | |
6661 | * genopinit.c (raw_optab_handler): Use this_fn_optabs. | |
6662 | (swap_optab_enable): Same. | |
6663 | (init_all_optabs): Use argument instead of global. | |
88b97037 | 6664 | * tree.h (struct tree_optimization_option): New field target_optabs. |
135204dd AH |
6665 | * expr.h (init_all_optabs): Add argument to prototype. |
6666 | (TREE_OPTIMIZATION_OPTABS): New. | |
6667 | (save_optabs_if_changed): Protoize. | |
6668 | * optabs.h: Declare this_fn_optabs. | |
6669 | * optabs.c (save_optabs_if_changed): New. | |
6670 | Declare this_fn_optabs. | |
6671 | (init_optabs): Add argument to init_all_optabs() call. | |
6672 | * function.c (invoke_set_current_function_hook): Handle per | |
6673 | function optabs. | |
6674 | * function.h (struct function): New field optabs. | |
6675 | * config/mips/mips.c (mips_set_mips16_mode): Handle when | |
6676 | optimization_current_node has changed. | |
6677 | * target-globals.h (save_target_globals_default_opts): Protoize. | |
6678 | * target-globals.c (save_target_globals_default_opts): New. | |
6679 | ||
3f587ca3 JDA |
6680 | 2013-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6681 | ||
6682 | PR target/56347 | |
6683 | * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark | |
6684 | registers %fr12 and %fr12R as call used. | |
ceaca33e JDA |
6685 | |
6686 | PR target/56214 | |
6687 | * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode | |
88b97037 UB |
6688 | and HImode, require all displacements to be an integer multiple of |
6689 | their mode size. | |
ceaca33e JDA |
6690 | * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses, |
6691 | only allow QImode and HImode when reload is in progress and strict is | |
6692 | true. Likewise for symbolic addresses. Use base14_operand to check | |
6693 | displacements in REG+BASE addresses. | |
6694 | ||
fe0b4796 RB |
6695 | 2013-02-18 Richard Biener <rguenther@suse.de> |
6696 | ||
6697 | PR tree-optimization/56366 | |
6698 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
6699 | handle sign-conversion of outer-loop initial induction value. | |
6700 | ||
6aaf596b RB |
6701 | 2013-02-18 Richard Biener <rguenther@suse.de> |
6702 | ||
73db8ff1 | 6703 | PR middle-end/56349 |
6aaf596b RB |
6704 | * cfghooks.c (merge_blocks): If we merge a latch into another |
6705 | block adjust references to it. | |
6706 | * cfgloop.c (flow_loops_find): Reset latch before recomputing it. | |
6707 | (verify_loop_structure): Verify that a recorded latch is in fact | |
6708 | a latch. | |
6709 | ||
5e97dfb6 RB |
6710 | 2013-02-18 Richard Biener <rguenther@suse.de> |
6711 | ||
6712 | PR tree-optimization/56321 | |
6713 | * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly | |
6714 | order SSA name release and virtual operand unlinking. | |
6715 | ||
825527e8 EI |
6716 | 2013-02-17 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
6717 | ||
6718 | * config/microblaze/microblaze.md (save_stack_block): Define. | |
6719 | (restore_stack_block): Likewise. | |
6720 | ||
debd11d9 EI |
6721 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
6722 | ||
6723 | * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1. | |
6724 | * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1. | |
6725 | * config/microblaze/microblaze.c (microblaze_option_override): | |
6726 | Bail out early for PIC modes when target does not support PIC. | |
6727 | ||
8ec77be0 EI |
6728 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
6729 | ||
88b97037 | 6730 | * config/microblaze/microblaze.c (microblaze_asm_trampoline_template): |
8ec77be0 EI |
6731 | Replace with a microblaze version. |
6732 | (microblaze_trampoline_init): Adapt for microblaze. | |
a752b80f | 6733 | * config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for |
8ec77be0 EI |
6734 | microblaze. |
6735 | ||
b41288b3 JJ |
6736 | 2013-02-16 Jakub Jelinek <jakub@redhat.com> |
6737 | Dodji Seketeli <dodji@redhat.com> | |
6738 | ||
6739 | PR asan/56330 | |
88b97037 | 6740 | * asan.c (get_mem_refs_of_builtin_call): White space and style cleanup. |
b41288b3 JJ |
6741 | (instrument_mem_region_access): Do not forget to always put |
6742 | instrumentation of the of 'base' and 'base + len' in a "if (len != | |
6743 | 0) statement, even for cases where either 'base' or 'base + len' | |
6744 | are not instrumented -- because they have been previously | |
6745 | instrumented. Simplify the logic by putting all the statements | |
6746 | instrument 'base + len' inside a sequence, and then insert that | |
6747 | sequence right before the current insertion point. Then, to | |
6748 | instrument 'base + len', just get an iterator on that statement. | |
6749 | And do not forget to update the pointer to iterator the function | |
6750 | received as argument. | |
6751 | ||
47918951 VM |
6752 | 2013-02-15 Vladimir Makarov <vmakarov@redhat.com> |
6753 | ||
6754 | PR rtl-optimization/56348 | |
6755 | * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos. | |
6756 | ||
3fb7c699 SB |
6757 | 2013-02-15 Steven Bosscher <steven@gcc.gnu.org> |
6758 | ||
6759 | * graph.c (start_graph_dump): Print dumpfile base as digraph label. | |
6760 | (clean_graph_dump_file): Pass base to start_graph_dump. | |
6761 | ||
576fe41a RH |
6762 | 2013-02-14 Richard Henderson <rth@redhat.com> |
6763 | ||
6764 | PR target/55941 | |
6765 | * lower-subreg.c (simple_move): Check dest mode instead of src mode. | |
6766 | ||
bb3accfa SB |
6767 | 2013-02-14 Steven Bosscher <steven@gcc.gnu.org> |
6768 | ||
6769 | * collect2-aix.h: Define F_LOADONLY. | |
6770 | ||
03143140 RB |
6771 | 2013-02-14 Richard Biener <rguenther@suse.de> |
6772 | ||
6773 | PR lto/50494 | |
6774 | * varasm.c (output_constant_def_1): Get the decl representing | |
6775 | the constant as argument. | |
6776 | (output_constant_def): Wrap output_constant_def_1. | |
6777 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
6778 | representing the constant. | |
6779 | (build_constant_desc): Optionally re-use a decl already | |
6780 | representing the constant. | |
6781 | (tree_output_constant_def): Adjust. | |
6782 | ||
8fb06726 DS |
6783 | 2013-02-14 Dodji Seketeli <dodji@redhat.com> |
6784 | ||
6785 | Fix an asan crash | |
6786 | * asan.c (instrument_builtin_call): Really put the length of the | |
6787 | second source argument into src1_len. | |
6788 | ||
c4bfe8bf JJ |
6789 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
6790 | ||
6791 | * asan.c (create_cond_insert_point): Add create_then_fallthru_edge | |
6792 | argument. If it is false, don't create edge from then_bb to | |
6793 | fallthru_bb. | |
6794 | (insert_if_then_before_iter): Pass true to it. | |
6795 | (build_check_stmt): Pass false to it. | |
6796 | (transform_statements): Flush hash table only on extended basic | |
6797 | block boundaries, rather than at the beginning of every bb. | |
6798 | Don't flush hash table on nonfreeing_call_p calls. | |
6799 | * tree-flow.h (nonfreeing_call_p): New prototype. | |
6800 | * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static. | |
6801 | ||
7afe2801 DM |
6802 | 2013-02-13 David S. Miller <davem@davemloft.net> |
6803 | ||
6804 | * expmed.c (expand_shift_1): Only strip scalar integer subregs. | |
6805 | ||
70cc3288 VM |
6806 | 2013-02-13 Vladimir Makarov <vmakarov@redhat.com> |
6807 | ||
6808 | PR target/56184 | |
6809 | * ira.c (max_regno_before_ira): Move from ... | |
6810 | (ira): ... here. | |
6811 | (fix_reg_equiv_init): Use max_regno_before_ira instead of | |
6812 | vec_safe_length. | |
6813 | ||
6422242b JJ |
6814 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
6815 | ||
6816 | * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change. | |
6817 | ||
976a81ee RB |
6818 | 2013-02-13 Richard Biener <rguenther@suse.de> |
6819 | ||
6820 | PR lto/56295 | |
6821 | * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping | |
6822 | globals in MEM_REFs. | |
6823 | ||
c1874a87 RB |
6824 | 2013-02-13 Richard Biener <rguenther@suse.de> |
6825 | ||
6826 | * loop-init.c (loop_optimizer_init): Clear loop state when | |
6827 | re-initializing preserved loops. | |
6828 | * loop-unswitch.c (unswitch_single_loop): Return whether | |
6829 | we unswitched the loop. Do not verify loop state here. | |
88b97037 | 6830 | (unswitch_loops): When we unswitched a loop discover new loops. |
c1874a87 | 6831 | |
b4ab7d34 KS |
6832 | 2013-02-13 Kostya Serebryany <kcc@google.com> |
6833 | ||
88b97037 UB |
6834 | * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset |
6835 | on x86_64 linux. | |
b4ab7d34 KS |
6836 | * sanitizer.def: Rename __asan_init to __asan_init_v1. |
6837 | ||
bdcbe80c DS |
6838 | 2013-02-12 Dodji Seketeli <dodji@redhat.com> |
6839 | ||
6840 | Avoid instrumenting duplicated memory access in the same basic block | |
6841 | * Makefile.in (asan.o): Add new dependency on hash-table.h | |
6842 | * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types. | |
6843 | (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table) | |
6844 | (has_stmt_been_instrumented_p, empty_mem_ref_hash_table) | |
6845 | (free_mem_ref_resources, has_mem_ref_been_instrumented) | |
6846 | (has_stmt_been_instrumented_p, update_mem_ref_hash_table) | |
6847 | (get_mem_ref_of_assignment): New functions. | |
6848 | (get_mem_refs_of_builtin_call): Extract from | |
6849 | instrument_builtin_call and tweak a little bit to make it fit with | |
6850 | the new signature. | |
6851 | (instrument_builtin_call): Use the new | |
6852 | get_mem_refs_of_builtin_call. Use gimple_call_builtin_p instead | |
6853 | of is_gimple_builtin_call. | |
6854 | (instrument_derefs, instrument_mem_region_access): Insert the | |
6855 | instrumented memory reference into the hash table. | |
6856 | (maybe_instrument_assignment): Renamed instrument_assignment into | |
6857 | this, and change it to advance the iterator when instrumentation | |
6858 | actually happened and return true in that case. This makes it | |
6859 | homogeneous with maybe_instrument_assignment, and thus give a | |
6860 | chance to callers to be more 'regular'. | |
6861 | (transform_statements): Clear the memory reference hash table | |
6862 | whenever we enter a new BB, when we cross a function call, or when | |
6863 | we are done transforming statements. Use | |
6864 | maybe_instrument_assignment instead of instrumentation. No more | |
6865 | need to special case maybe_instrument_assignment and advance the | |
6866 | iterator after calling it; it's now handled just like | |
6867 | maybe_instrument_call. Update comment. | |
6868 | ||
4861a1f7 RB |
6869 | 2013-02-13 Richard Biener <rguenther@suse.de> |
6870 | ||
6871 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): | |
6872 | Fix loop discovery code. | |
6873 | ||
1c86bd80 VM |
6874 | 2013-02-12 Vladimir Makarov <vmakarov@redhat.com> |
6875 | ||
6876 | PR inline-asm/56148 | |
6877 | * lra-constraints.c (process_alt_operands): Match early clobber | |
70cc3288 | 6878 | operand with itself. Check conflicts with earlyclobber only if |
1c86bd80 VM |
6879 | the operand is not reloaded. Prefer to reload conflicting operand |
6880 | if earlyclobber and matching operands are the same. | |
6881 | ||
7cbda518 RB |
6882 | 2013-02-12 Richard Biener <rguenther@suse.de> |
6883 | ||
6884 | PR lto/56297 | |
6885 | * lto-streamer-out.c (write_symbol): Do not output symbols | |
6886 | for hard register variables. | |
6887 | ||
e68a4ef6 GJL |
6888 | 2013-02-12 Georg-Johann Lay <avr@gjlay.de> |
6889 | ||
6890 | PR target/54222 | |
6891 | * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders. | |
6892 | (umulsidi3_insn, mulsidi3_insn): New insns. | |
6893 | ||
a72d8780 | 6894 | 2013-02-12 Christophe Lyon <christophe.lyon@linaro.org> |
2597da22 CL |
6895 | |
6896 | * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type. | |
6897 | (struct tune_params): Add vec_costs field. | |
6898 | * config/arm/arm.c (arm_builtin_vectorization_cost) | |
6899 | (arm_add_stmt_cost): New functions. | |
6900 | (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST) | |
6901 | (TARGET_VECTORIZE_ADD_STMT_COST): Define. | |
6902 | (arm_default_vec_cost): New struct of type cpu_vec_costs. | |
6903 | (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune) | |
6904 | (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune) | |
6905 | (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune) | |
6906 | (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field. | |
6907 | ||
43320568 RB |
6908 | 2013-02-12 Richard Biener <rguenther@suse.de> |
6909 | ||
6910 | PR lto/56295 | |
6911 | * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off | |
6912 | decls again if possible. | |
6913 | ||
a011aa39 RB |
6914 | 2013-02-12 Richard Biener <rguenther@suse.de> |
6915 | ||
6916 | PR middle-end/56288 | |
6917 | * tree-ssa.c (verify_ssa_name): Fix check, move | |
6918 | SSA_NAME_IN_FREE_LIST check up. | |
6919 | ||
6da26889 JJ |
6920 | 2013-02-12 Jakub Jelinek <jakub@redhat.com> |
6921 | Steven Bosscher <steven@gcc.gnu.org> | |
6922 | ||
6923 | PR rtl-optimization/56151 | |
6924 | * optabs.c (add_equal_note): Don't return 0 if target is a MEM, | |
6925 | equal to op0 or op1, and last_insn pattern is CODE operation | |
6926 | with MEM dest and one of the operands matches that MEM. | |
6927 | ||
f80e0faf ST |
6928 | 2013-02-11 Sriraman Tallam <tmsriramgoogle.com> |
6929 | ||
6930 | * doc/extend.texi: Document Function Multiversioning and "default" | |
6931 | parameter string to target attribute. | |
6932 | * config/i386/i386.c (get_builtin_code_for_version): Return 0 if | |
6933 | target attribute parameter is "default". | |
6934 | (ix86_compare_version_priority): Remove checks for target attribute. | |
6935 | (ix86_mangle_function_version_assembler_name): Change error to sorry. | |
6936 | Remove check for target attribute equal to NULL. Add assert. | |
6937 | (ix86_generate_version_dispatcher_body): Change error to sorry. | |
6938 | ||
6c59ffd1 IS |
6939 | 2013-02-11 Iain Sandoe <iain@codesourcery.com> |
6940 | Jack Howarth <howarth@bromo.med.uc.edu> | |
6941 | Patrick Marlier <patrick.marlier@gmail.com> | |
6942 | ||
6943 | PR libitm/55693 | |
6944 | * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and | |
6945 | define ENDFILE_SPEC as TM_DESTRUCTOR. | |
6946 | * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR. | |
6947 | ||
a72d8780 | 6948 | 2013-02-11 Alexander Potapenko <glider@google.com> |
6a52ccb3 AP |
6949 | Jack Howarth <howarth@bromo.med.uc.edu> |
6950 | Jakub Jelinek <jakub@redhat.com> | |
6951 | ||
6952 | PR sanitizer/55617 | |
6953 | * config/darwin.c (cdtor_record): Rename ctor_record. | |
6954 | (sort_cdtor_records): Rename sort_ctor_records. | |
6955 | (finalize_dtors): New routine to sort destructors by | |
6956 | priority before use in assemble_integer. | |
6957 | (machopic_asm_out_destructor): Use finalize_dtors if needed. | |
6958 | ||
b63fe007 UB |
6959 | 2013-02-11 Uros Bizjak <ubizjak@gmail.com> |
6960 | ||
6961 | PR rtl-optimization/56275 | |
6962 | * simplify-rtx.c (avoid_constant_pool_reference): Check that | |
6963 | offset is non-negative and less than cmode size before | |
6964 | calling simplify_subreg. | |
6965 | ||
8e89b5b5 RB |
6966 | 2013-02-11 Richard Biener <rguenther@suse.de> |
6967 | ||
6968 | PR tree-optimization/56264 | |
6969 | * cfgloop.h (fix_loop_structure): Adjust prototype. | |
6970 | * loop-init.c (fix_loop_structure): Return the number of | |
6971 | newly discovered loops. | |
6972 | * tree-cfgcleanup.c (repair_loop_structures): When new loops | |
6973 | are discovered, do a full loop-closed SSA rewrite. | |
6974 | ||
b4a4b56d RB |
6975 | 2013-02-11 Richard Biener <rguenther@suse.de> |
6976 | ||
6977 | PR tree-optimization/56273 | |
6978 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
6979 | first VRP run. | |
6980 | (check_array_ref): Fix missing newline in dumps. | |
6981 | (search_for_addr_array): Likewise. | |
6982 | ||
0c885229 DE |
6983 | 2013-02-09 David Edelsohn <dje.gcc@gmail.com> |
6984 | ||
6985 | * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine. | |
6986 | ||
59ac9a55 JJ |
6987 | 2013-02-09 Jakub Jelinek <jakub@redhat.com> |
6988 | ||
6989 | PR target/56256 | |
6990 | * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define. | |
6991 | ||
25bb0bb5 VM |
6992 | 2013-02-08 Vladimir Makarov <vmakarov@redhat.com> |
6993 | ||
6994 | PR rtl-optimization/56246 | |
0c885229 | 6995 | * lra-constraints.c (simplify_operand_subreg): Try to reuse |
25bb0bb5 VM |
6996 | reload pseudo. |
6997 | * lra.c (lra): Clear lra_optional_reload_pseudos only when all | |
6998 | constraints are satisfied. | |
6999 | ||
a698cc03 JL |
7000 | 2013-02-08 Jeff Law <law@redhat.com> |
7001 | ||
7002 | PR debug/53948 | |
7003 | * emit-rtl.c (reg_is_parm_p): New function. | |
7004 | * regs.h (reg_is_parm_p): New prototype. | |
7005 | * ira-conflicts.c (ira_build_conflicts): Allow parameters in | |
7006 | callee-clobbered registers. | |
7007 | ||
e1122ddd MM |
7008 | 2013-02-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
7009 | ||
7010 | PR target/56043 | |
7011 | * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass): | |
7012 | If there is no implicit builtin declaration, just return NULL. | |
7013 | ||
19c5f6e6 UB |
7014 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
7015 | ||
7016 | * config/i386/sse.md (FMAMODEM): New mode iterator. | |
7017 | (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM | |
7018 | mode iterator. Do not use TARGET_SSE_MATH in insn constraint. | |
7019 | ||
2480f2ca | 7020 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
76ef61fb | 7021 | |
2480f2ca UB |
7022 | * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only |
7023 | when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set. | |
7024 | * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto. | |
7025 | ||
7026 | 2013-02-08 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
7027 | ||
7028 | * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT. | |
7029 | (microblaze*-*-elf): Likewise. | |
7030 | * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to | |
7031 | LINK_SPEC. | |
7032 | * config/microblaze/microblaze-c.c: Add builtin defines for | |
7033 | _LITTLE_ENDIAN and _BIG_ENDIAN. | |
7034 | * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and | |
7035 | add to TARGET_DEFAULT flags. | |
76ef61fb | 7036 | Expand ASM_SPEC and LINK_SPEC. |
2480f2ca UB |
7037 | Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN. |
7038 | * config/microblaze/microblaze.md: Update extendsidi2 and | |
7039 | movdi_internal instructions to use low-order / high-order reg | |
7040 | print_operands. | |
7041 | * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian | |
7042 | options and inversemask / mask of LITTLE_ENDIAN. | |
7043 | * config/microblaze/t-microblaze: Expand multilib options to | |
7044 | include mlittle-endian (le) and update exceptions patterns. | |
7045 | ||
600a5961 JJ |
7046 | 2013-02-08 Jakub Jelinek <jakub@redhat.com> |
7047 | ||
5df81313 JJ |
7048 | PR rtl-optimization/56195 |
7049 | * lra-constraints.c (get_reload_reg): Don't reuse regs | |
7050 | if they have smaller mode than requested, if they have | |
7051 | wider mode than requested, try to return a SUBREG. | |
7052 | ||
600a5961 JJ |
7053 | PR tree-optimization/56250 |
7054 | * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize | |
7055 | if type is unsigned and code isn't MULT_EXPR. | |
7056 | ||
ff544649 GJL |
7057 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
7058 | ||
7059 | PR tree-optimization/56064 | |
7060 | * fixed-value.c (fixed_from_double_int): Sign/zero extend payload | |
7061 | bits according to mode. | |
7062 | * fixed-value.h (fixed_from_double_int) | |
7063 | (const_fixed_from_double_int): Adjust comments. | |
7064 | ||
e45cde98 RB |
7065 | 2013-02-08 Richard Biener <rguenther@suse.de> |
7066 | ||
7067 | PR lto/56231 | |
7068 | * lto-streamer.h (struct data_in): Remove current_file, current_line | |
7069 | and current_col members. | |
7070 | * lto-streamer-out.c (lto_output_location): Stream changed bits | |
7071 | en-block for efficiency. | |
7072 | * lto-streamer-in.c (clear_line_info): Remove. | |
7073 | (lto_input_location): Cache current file, line and column | |
7074 | globally via local statics. Read changed bits en-block. | |
7075 | (input_function): Do not call clear_line_info. | |
7076 | (lto_read_body): Likewise. | |
7077 | (lto_input_toplevel_asms): Likewise. | |
7078 | ||
c1ca73d8 MM |
7079 | 2013-02-08 Michael Matz <matz@suse.de> |
7080 | ||
7081 | PR tree-optimization/52448 | |
7082 | * tree-ssa-phiopt.c (struct name_to_bb): Add phase member. | |
7083 | (nt_call_phase): New static. | |
7084 | (add_or_mark_expr): Only mark accesses with newer phase than any | |
7085 | call seen. | |
7086 | (nonfreeing_call_p): New. | |
7087 | (nt_init_block): Update nt_call_phase, mark blocks as visited. | |
7088 | (nt_fini_block): Keep blocks marked as visited. | |
7089 | (get_non_trapping): Initialize nt_call_phase, and reset aux pointer. | |
7090 | ||
57548aa2 RB |
7091 | 2013-02-08 Richard Biener <rguenther@suse.de> |
7092 | ||
7093 | * ira.c (ira): Free broken dominator information. | |
7094 | ||
8e10366f UB |
7095 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
7096 | ||
7097 | * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro. | |
7098 | ||
f64fb0fa MP |
7099 | 2013-02-08 Marek Polacek <polacek@redhat.com> |
7100 | ||
8e10366f | 7101 | * cfgloop.c (verify_loop_structure): Add more checking of headers. |
f64fb0fa | 7102 | |
0375167b RB |
7103 | 2013-02-08 Richard Biener <rguenther@suse.de> |
7104 | ||
7105 | PR middle-end/56181 | |
7106 | * cfgloop.h (flow_loops_find): Adjust. | |
7107 | (bb_loop_header_p): Declare. | |
7108 | * cfgloop.c (bb_loop_header_p): New function split out from ... | |
7109 | (flow_loops_find): ... here. Adjust function signature, | |
7110 | support incremental loop structure update. | |
7111 | (verify_loop_structure): Cleanup. Verify a loop is a loop. | |
7112 | * cfgloopmanip.c (fix_loop_structure): Move ... | |
7113 | * loop-init.c (fix_loop_structure): ... here. | |
7114 | (apply_loop_flags): Split out from ... | |
7115 | (loop_optimizer_init): ... here. | |
7116 | (fix_loop_structure): Use apply_loop_flags. Use flow_loops_find | |
7117 | in incremental mode, only remove dead loops here. | |
7118 | ||
85d768f3 GJL |
7119 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
7120 | ||
7121 | PR target/54222 | |
7122 | * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add. | |
7123 | * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators. | |
7124 | (round<mode>3, round<mode>3_const): New expanders for fixed-mode. | |
7125 | (*round<mode>3.libgcc): New insns for fixed-modes. | |
7126 | * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME. | |
7127 | (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs. | |
7128 | (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs. | |
7129 | * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline | |
7130 | implementations. Define to __builtin_avr_absFX, | |
7131 | __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively. | |
7132 | (roundFX, countlsFX): Define to __builtin_avr_roundFX, | |
7133 | __builtin_avr_countlsFX, respectively. | |
7134 | * config/avr/avr-c.c (target.h): Include it. | |
7135 | (enum avr_builtin_id): New enum. | |
7136 | (avr_resolve_overloaded_builtin): New static function. | |
7137 | (avr_register_target_pragmas): Use it to set | |
7138 | targetm.resolve_overloaded_builtin. | |
7139 | * config/avr/avr.c (avr_init_builtins): Supply myriads of local | |
7140 | tree nodes used by DEF_BUILTIN. | |
7141 | (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them. | |
7142 | (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR. | |
7143 | <AVR_BUILTIN_xxBITS>: Same. | |
7144 | ||
661bc682 RB |
7145 | 2013-02-08 Richard Biener <rguenther@suse.de> |
7146 | ||
7147 | * cfgloop.c (verify_loop_structure): Properly handle | |
7148 | a loop exiting to another loop header. | |
7149 | * ira-int.h (ira_loops): Remove. | |
7150 | * ira.c (ira_loops): Remove. | |
7151 | (ira): Use loop_optimizer_init and loop_optimizer_finalize. | |
7152 | (do_reload): Use loop_optimizer_finalize. | |
7153 | * ira-build.c (create_loop_tree_nodes): Use get_loops and | |
7154 | number_of_loops to access the loop tree. | |
7155 | (more_one_region_p): Likewise. | |
7156 | (finish_loop_tree_nodes): Likewise. | |
7157 | (rebuild_regno_allocno_maps): Likewise. | |
7158 | (mark_loops_for_removal): Likewise. | |
7159 | (mark_all_loops_for_removal): Likewise. | |
7160 | (remove_unnecessary_regions): Likewise. | |
7161 | (ira_build): Likewise. | |
7162 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
7163 | ||
0d5049b2 RB |
7164 | 2013-02-08 Richard Biener <rguenther@suse.de> |
7165 | ||
7166 | * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency. | |
7167 | * ipa-pure-const.c (analyze_function): Avoid calling | |
7168 | mark_irreducible_loops twice. | |
8e10366f | 7169 | * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup. |
0d5049b2 | 7170 | |
499f32e8 DM |
7171 | 2013-02-07 David S. Miller <davem@davemloft.net> |
7172 | ||
7173 | * dwarf2out.c (based_loc_descr): Perform leaf register remapping | |
7174 | on 'reg'. | |
7175 | * var-tracking.c (vt_add_function_parameter): Test the presence of | |
7176 | HAVE_window_save properly and do not remap argument registers when | |
7177 | we have a leaf function. | |
7178 | ||
6edc3e32 UB |
7179 | 2013-02-07 Uros Bizjak <ubizjak@gmail.com> |
7180 | ||
7181 | PR bootstrap/56227 | |
7182 | * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT | |
7183 | instead of "ll". | |
7184 | * config/i386/i386.c (ix86_print_operand): Ditto. | |
7185 | ||
5306401f VM |
7186 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
7187 | ||
6edc3e32 | 7188 | * lra-constraints.c (process_alt_operands): Fix recently added comment. |
5306401f | 7189 | |
027ece11 VM |
7190 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
7191 | ||
7192 | PR rtl-optimization/56225 | |
7193 | * lra-constraints.c (process_alt_operands): Check that reload hard | |
7194 | reg can hold value for strict_low_part. | |
7195 | ||
f980dfdb JJ |
7196 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
7197 | ||
7198 | PR debug/56154 | |
7199 | * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to | |
7200 | dwarf2out_end_function. | |
7201 | (in_first_function_p, maybe_at_text_label_p, | |
7202 | first_loclabel_num_not_at_text_label): New variables. | |
7203 | (dwarf2out_var_location): In the first function find out | |
6edc3e32 | 7204 | lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0. |
f980dfdb JJ |
7205 | (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New |
7206 | functions. | |
7207 | ||
73dd3123 EB |
7208 | 2013-02-07 Eric Botcazou <ebotcazou@adacore.com> |
7209 | ||
7210 | PR rtl-optimization/56178 | |
7211 | * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a | |
7212 | SUBREG of a register. Tidy up related block of code. | |
7213 | * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL | |
7214 | note if the source is a register or a SUBREG of a register. | |
7215 | ||
e3936f47 JJ |
7216 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
7217 | ||
7218 | PR target/56228 | |
7219 | * config/rs6000/rs6000.md (ptrm): New mode attr. | |
7220 | (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11, | |
7221 | call_value_indirect_aix<pttrsize>, | |
7222 | call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of | |
7223 | m in constraints. | |
7224 | ||
d96d674b MH |
7225 | 2013-02-07 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
7226 | ||
7227 | * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable | |
7228 | if -bnortl. Convert to strcmp and strncmp. | |
7229 | ||
921f2dee AM |
7230 | 2013-02-07 Alan Modra <amodra@gmail.com> |
7231 | ||
7232 | PR target/54009 | |
7233 | * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM | |
7234 | addresses won't wrap when offsetting. | |
7235 | (rs6000_secondary_reload): Provide secondary reloads needed for | |
7236 | wrapping LO_SUM addresses. | |
7237 | ||
d09c7dba TS |
7238 | 2013-02-06 Thomas Schwinge <thomas@codesourcery.com> |
7239 | ||
7240 | * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define | |
7241 | MACH, just __MACH__. | |
7242 | ||
a44bbd48 RB |
7243 | 2013-02-06 Richard Biener <rguenther@suse.de> |
7244 | ||
7245 | * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP | |
7246 | instead of calling fix_loop_structure. | |
7247 | ||
6d840d99 JJ |
7248 | 2013-02-06 Jakub Jelinek <jakub@redhat.com> |
7249 | ||
7250 | PR middle-end/56217 | |
7251 | * omp-low.c (use_pointer_for_field): Return false if | |
7252 | lower_send_shared_vars doesn't generate any copy-out code. | |
7253 | ||
0f33baa9 TV |
7254 | 2013-02-06 Tom de Vries <tom@codesourcery.com> |
7255 | ||
7256 | PR rtl-optimization/56131 | |
7257 | * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN | |
7258 | to get the bb of a NOTE_INSN_BASIC_BLOCK. Handle the case that the bb | |
7259 | of the label is NULL. Add comment. | |
7260 | ||
11f1e3ab JJ |
7261 | 2013-02-05 Jakub Jelinek <jakub@redhat.com> |
7262 | ||
31502f9f JJ |
7263 | * tree.h (struct tree_decl_with_vis): Remove thread_local field. |
7264 | ||
a74db9bd JJ |
7265 | PR sanitizer/55374 |
7266 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define. | |
7267 | (STATIC_LIBTSAN_LIBS): Likewise. | |
7268 | * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define. | |
7269 | (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC | |
7270 | is defined, don't add anything else beyond that. | |
7271 | (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define. | |
7272 | (LINK_COMMAND_SPEC): Use them. | |
7273 | ||
11f1e3ab JJ |
7274 | PR tree-optimization/56205 |
7275 | * tree-stdarg.c (check_all_va_list_escapes): Return true if | |
7276 | there are any PHI nodes that set non-va_list_escape_vars SSA_NAME | |
7277 | and some va_list_escape_vars SSA_NAME appears in some PHI argument. | |
7278 | ||
14ac6aa2 RB |
7279 | 2013-02-05 Richard Biener <rguenther@suse.de> |
7280 | ||
7281 | PR tree-optimization/53342 | |
7282 | PR tree-optimization/53185 | |
7283 | * tree-vectorizer.h (vect_check_strided_load): Remove. | |
7284 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do | |
7285 | not disallow peeling for vectorized strided loads. | |
7286 | (vect_check_strided_load): Make static and simplify. | |
7287 | (vect_analyze_data_refs): Adjust. | |
7288 | * tree-vect-stmts.c (vectorizable_load): Handle peeled loops | |
7289 | correctly when vectorizing strided loads. | |
7290 | ||
6f22445a RB |
7291 | 2013-02-05 Richard Biener <rguenther@suse.de> |
7292 | ||
7293 | * doc/install.texi: Refer to ISL, not PPL. | |
7294 | ||
39f9719e JH |
7295 | 2013-02-05 Jan Hubicka <jh@suse.cz> |
7296 | ||
ec4224ac JH |
7297 | PR tree-optimization/55789 |
7298 | * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1. | |
7299 | ||
7300 | 2013-02-05 Jan Hubicka <jh@suse.cz> | |
7301 | ||
7302 | PR tree-optimization/55789 | |
39f9719e JH |
7303 | * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove |
7304 | the dead call anyway. | |
7305 | ||
956d3b33 EB |
7306 | 2013-02-05 Eric Botcazou <ebotcazou@adacore.com> |
7307 | ||
7308 | PR sanitizer/55374 | |
7309 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard. | |
7310 | ||
7311 | 2013-02-04 Alexander Potapenko <glider@google.com> | |
7312 | Jack Howarth <howarth@bromo.med.uc.edu> | |
ae526fe5 AP |
7313 | Jakub Jelinek <jakub@redhat.com> |
7314 | ||
7315 | PR sanitizer/55617 | |
7316 | * config/darwin.c (sort_ctor_records): Stabilized qsort | |
7317 | on constructor priority by using original position. | |
7318 | (finalize_ctors): New routine to sort constructors by | |
7319 | priority before use in assemble_integer. | |
7320 | (machopic_asm_out_constructor): Use finalize_ctors if needed. | |
7321 | ||
7ac3af38 JJ |
7322 | 2013-02-04 Jakub Jelinek <jakub@redhat.com> |
7323 | ||
7324 | PR libstdc++/54314 | |
7325 | * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn | |
7326 | about visibility on artificial decls. | |
7327 | * config/sol2.c (solaris_assemble_visibility): Likewise. | |
7328 | ||
152689dc KT |
7329 | 2013-02-04 Kai Tietz <ktietz@redhat.com> |
7330 | ||
7331 | PR target/56186 | |
7332 | * config/i386/i386.c (function_value_ms_64): Add additional valtype | |
7333 | argument and improve checking of return-argument types for 16-byte | |
7334 | modes. | |
7335 | (ix86_function_value_1): Add additional valtype argument on call | |
7336 | of function_value_64. | |
7337 | (return_in_memory_ms_64): Sync 16-byte sized mode handling with | |
7338 | handling infunction_value_64 function. | |
7339 | ||
2b5987b5 MGD |
7340 | 2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
7341 | ||
7ac3af38 | 7342 | * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue. |
2b5987b5 | 7343 | |
14597080 RB |
7344 | 2013-02-04 Richard Biener <rguenther@suse.de> |
7345 | ||
7346 | PR tree-optimization/56188 | |
7347 | * tree-ssa-structalias.c (label_visit): Consider case with | |
7348 | initially non-empty points-to set. | |
7349 | (perform_var_substitution): Dump node mapping and clean up. | |
7350 | ||
ed73881e RG |
7351 | 2013-02-04 Richard Guenther <rguenther@suse.de> |
7352 | ||
7353 | PR lto/56168 | |
7354 | * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin | |
7355 | node prevail as last resort. | |
7356 | (lto_symtab_merge_decls): Remove guard on LTRANS here. | |
6edc3e32 | 7357 | (lto_symtab_prevailing_decl): Builtins are their own prevailing decl. |
ed73881e | 7358 | |
139a0707 RB |
7359 | 2013-02-04 Richard Biener <rguenther@suse.de> |
7360 | ||
7361 | PR tree-optimization/56113 | |
7362 | * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add): | |
7363 | Merge into ... | |
7364 | (equiv_class_lookup_or_add): ... this. | |
7365 | (label_visit): Adjust and fix error in previous patch. | |
7366 | (perform_var_substitution): Adjust. | |
7367 | ||
50fe8924 OE |
7368 | 2013-02-03 Oleg Endo <olegendo@gcc.gnu.org> |
7369 | ||
7370 | * config/sh/divtab.c: Fix formatting and comments throughout the file. | |
7371 | * config/sh/sh4-300.md: Likewise. | |
7372 | * config/sh/sh4a.md: Likewise. | |
7373 | * config/sh/constraints.md: Likewise. | |
7374 | * config/sh/sh.md: Likewise. | |
7375 | * config/sh/netbsd-elf.h: Likewise. | |
7376 | * config/sh/predicates.md: Likewise. | |
7377 | * config/sh/sh-protos.h: Likewise. | |
7378 | * config/sh/ushmedia.h: Likewise. | |
7379 | * config/sh/linux.h: Likewise. | |
7380 | * config/sh/sh.c: Likewise. | |
7381 | * config/sh/superh.h: Likewise. | |
7382 | * config/sh/elf.h: Likewise. | |
7383 | * config/sh/sh4.md: Likewise. | |
7384 | * config/sh/sh.h: Likewise. | |
7385 | ||
1a04ac2b JDA |
7386 | 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7387 | ||
7388 | * config/pa/constraints.md: Adjust unused letters. Change "T" | |
7389 | constraint to match_test floating_point_store_memory_operand(). | |
7390 | * config/pa/predicates.md (reg_plus_base_memory_operand): New. | |
7391 | (base14_operand): New. | |
7392 | (floating_point_store_memory_operand): New. | |
7393 | (integer_store_memory_operand): Revise to use base14_operand and | |
7394 | reg_plus_base_memory_operand. | |
7395 | (move_dest_operand): Allow symbolic_memory_operands. | |
7396 | (symbolic_memory_operand): Check for LO_SOM. | |
7397 | (symbolic_operand): Change default case to break. | |
7398 | * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force | |
7399 | CONST_DOUBLE values to be reloaded by putting them into memory when | |
7400 | the destination is a floating point register. | |
7401 | (movdf): Remove code to handle CONST_DOUBLE. | |
7402 | (movsf): Likewise. | |
7403 | (reload_indf_r1): New. | |
7404 | (reload_insf_r1): New. | |
7405 | Consistently use "Q" and "T" constraints with integer and floating | |
7406 | point move instructions, respectively. | |
7407 | (movdi): Remove FAIL. | |
7408 | Change predicate for source operand unamed DImode move from | |
7409 | general_operand to move_src_operand. | |
7410 | (umulsidi3): Change predicate for destination operand to | |
7411 | register_operand. | |
7412 | Likewise for similar unamed patterns. | |
7413 | * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare. | |
7414 | * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis. | |
7415 | (hppa_legitimize_address): Simplify mask calculation. | |
7416 | (pa_emit_move_sequence): Revised handling of secondary reloads from | |
7417 | REG+D addresses for floating point loads and stores. Directly handle | |
7418 | loading CONST0_RTX (mode) to a floating point register. | |
7419 | (pa_secondary_reload): Handle reloading DF and SFmode constant values | |
7420 | to floating point registers. Don't restrict secondary reloads to | |
7421 | floating point registers to integer modes. Revise some comments and | |
7422 | cleanup some code. | |
7423 | (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
7424 | (pa_legitimate_address_p): New. | |
7425 | (pa_legitimize_reload_address): New. | |
7426 | * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New. | |
7427 | (STRICT_REG_OK_FOR_BASE_P): New. | |
7428 | (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments. | |
7429 | (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address. | |
7430 | ||
3bf65591 DE |
7431 | 2013-02-03 David Edelsohn <dje.gcc@gmail.com> |
7432 | Andrew Dixie <andrewd@gentrack.com> | |
7433 | ||
7434 | * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY | |
7435 | flag set. | |
7436 | ||
c0a8a3e6 RS |
7437 | 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> |
7438 | ||
7439 | * expmed.c (extract_bit_field_1): Pass the full width of the | |
7440 | structure to get_best_reg_extraction_insn. | |
7441 | ||
99113dff DE |
7442 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
7443 | ||
7444 | PR target/54601 | |
7445 | * configure.ac (use_cxa_atexit): Add AIX. | |
7446 | * configure: Regenerate. | |
7447 | ||
7448 | * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o. | |
7449 | ||
ddd84654 JJ |
7450 | 2013-02-01 Jakub Jelinek <jakub@redhat.com> |
7451 | ||
7452 | PR debug/54793 | |
7453 | * final.c (need_profile_function): New variable. | |
7454 | (final_start_function): Drop ATTRIBUTE_UNUSED from first argument. | |
7455 | If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG | |
7456 | is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED | |
7457 | notes, targetm.asm_out.function_prologue doesn't emit anything, | |
7458 | HAVE_prologue and profiler should be emitted before prologue, | |
7459 | set need_profile_function instead of emitting it. | |
7460 | (final_scan_insn): If need_profile_function, emit | |
7461 | profile_function on the first NOTE_INSN_BASIC_BLOCK or | |
7462 | NOTE_INSN_FUNCTION_BEG note. | |
7463 | ||
7464 | 2013-02-01 Richard Henderson <rth@redhat.com> | |
749af8ee RH |
7465 | |
7466 | * config/rs6000/rs6000.md (smulditi3): New. | |
7467 | (umulditi3): New. | |
7468 | ||
ff2a9d88 RH |
7469 | * config/alpha/alpha.md (umulditi3): New. |
7470 | ||
14d52b90 DE |
7471 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
7472 | ||
7473 | * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2. | |
7474 | (ASM_OUTPUT_ALIGNED_LOCAL): New. | |
7475 | ||
8c7ca45c RB |
7476 | 2013-02-01 Richard Biener <rguenther@suse.de> |
7477 | ||
7478 | PR tree-optimization/56113 | |
7479 | * tree-ssa-structalias.c (label_visit): Reduce work for | |
7480 | single-predecessor nodes. | |
7481 | ||
9f419393 EB |
7482 | 2013-02-01 Eric Botcazou <ebotcazou@adacore.com> |
7483 | ||
7484 | * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the | |
7485 | range isn't testing for zero. | |
7486 | ||
c5f4be84 SB |
7487 | 2013-01-31 Steven Bosscher <steven@gcc.gnu.org> |
7488 | ||
7489 | PR middle-end/56113 | |
7490 | * fwprop.c (fwprop_init): Set up loops without CFG modifications. | |
7491 | ||
dbdbd982 NC |
7492 | 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com> |
7493 | Nick Clifton <nickc@redhat.com> | |
7494 | ||
7495 | * config/v850/constraints.md (Q): Define as a memory constraint. | |
7496 | * config/v850/predicates.md (label_ref_operand): New predicate. | |
7497 | (e3v5_shift_operand): New predicate. | |
7498 | (ior_operator): New predicate. | |
7499 | * config/v850/t-v850: Add e3v5 multilib. | |
7500 | * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype. | |
7501 | (v850_gen_movdi): Prototype. | |
7502 | * config/v850/v850.c: Add support for e3v5 architecture. | |
7503 | Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to | |
7504 | TARGET_V850E_UP. | |
7505 | (construct_save_jarl): Add e3v5 long JARL support. | |
7506 | (v850_adjust_insn_length): New function. Adjust length of call | |
7507 | insns when using e3v5 instructions. | |
7508 | (v850_gen_movdi): New function: Generate instructions to move a | |
7509 | DImode value. | |
7510 | * config/v850/v850.h (TARGET_CPU_v850e3v5): Define. | |
7511 | (CPP_SPEC): Define __v850e3v5__ as appropriate. | |
7512 | (TARGET_USE_FPU): Enable for e3v5. | |
7513 | (CONST_OK_FOR_W): New macro. | |
7514 | (ADJUST_INSN_LENGTH): Define. | |
7515 | * config/v850/v850.md (UNSPEC_LOOP): Define. | |
7516 | (attr cpu): Add v850e3v5. | |
7517 | Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP. | |
7518 | (movdi): New pattern. | |
7519 | (movdi_internal): New pattern. | |
7520 | (cbranchsf4): Conditionalize on TARGET_USE_FPU. | |
7521 | (cbranchdf4): Conditionalize on TARGET_USE_FPU. | |
7522 | (cstoresf4): Likewise. | |
7523 | (cstoredf4): Likewise. | |
7524 | (insv): New pattern. | |
7525 | (rotlso3_a): New pattern. | |
7526 | (rotlsi3_b): New pattern | |
7527 | (rotlsi3_v850e3v5): New pattern. | |
7528 | (doloop_begin): New pattern. | |
7529 | (fix_loop_counter): New pattern. | |
7530 | (doloop_end): New pattern. | |
7531 | (branch_normal): Add e3v5 long branch support. | |
7532 | (branch_invert): Likewise. | |
7533 | (branch_z_normal): Likewise. | |
7534 | (branch_z_invert): Likewise. | |
7535 | (branch_nz_normal): Likewise. | |
7536 | (branch_nz_invert): Likewise. | |
7537 | (call_internal_short): Add e3v5 register-indirect JARL support. | |
7538 | (call_internal_long): Likewise. | |
7539 | (call_value_internal_short): Likewise. | |
7540 | (call_value_internal_long): Likewise. | |
7541 | * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options. | |
7542 | (mloop): New option. | |
7543 | * config.gcc: Add support for configuring v840e3v5 target. | |
6edc3e32 | 7544 | * doc/invoke.texi: Document new v850 specific command line options. |
dbdbd982 | 7545 | |
73861a41 PK |
7546 | 2013-01-31 Paul Koning <ni1d@arrl.net> |
7547 | ||
7548 | PR debug/55059 | |
7549 | PR debug/54508 | |
7550 | * dwarf2out.c (prune_unused_types_mark): Mark all of parent's | |
7551 | children if parent is a class. | |
7552 | (prune_unused_types_prune): Don't add DW_AT_declaration. | |
7553 | ||
e44978dc RB |
7554 | 2013-01-31 Richard Biener <rguenther@suse.de> |
7555 | ||
7556 | PR tree-optimization/56157 | |
7557 | * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to | |
7558 | match up operand with SLP child. | |
7559 | ||
90b10dec JM |
7560 | 2013-01-31 Jason Merrill <jason@redhat.com> |
7561 | ||
04d2dadd | 7562 | PR debug/54410 |
90b10dec JM |
7563 | * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template |
7564 | parameters the first time. | |
7565 | (gen_scheduled_generic_parms_dies): Check completeness here. | |
7566 | ||
6e616110 RB |
7567 | 2013-01-31 Richard Biener <rguenther@suse.de> |
7568 | ||
7569 | PR middle-end/53073 | |
7570 | * common.opt (faggressive-loop-optimizations): New flag, | |
7571 | enabled by default. | |
7572 | * doc/invoke.texi (faggressive-loop-optimizations): Document. | |
7573 | * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard | |
7574 | infer_loop_bounds_from_undefined by it. | |
7575 | ||
636f59cf RB |
7576 | 2013-01-31 Richard Biener <rguenther@suse.de> |
7577 | ||
7578 | PR tree-optimization/56150 | |
7579 | * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not | |
7580 | visit virtual operands. | |
7581 | (find_uses_to_rename_bb): Likewise. | |
7582 | ||
7583 | 2013-01-31 Richard Biener <rguenther@suse.de> | |
fcfa87ac RB |
7584 | |
7585 | PR tree-optimization/56150 | |
7586 | * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle | |
7587 | mixed store non-store stmts. | |
7588 | ||
32887460 JJ |
7589 | 2013-01-30 Jakub Jelinek <jakub@redhat.com> |
7590 | ||
e60e09a0 JJ |
7591 | PR sanitizer/55374 |
7592 | * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if | |
7593 | LIBASAN_EARLY_SPEC is defined. | |
7594 | (LIBASAN_EARLY_SPEC): Define to empty string if not already defined. | |
7595 | (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address, | |
7596 | before %o. | |
7597 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define. | |
7598 | ||
32887460 JJ |
7599 | PR c++/55742 |
7600 | * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose | |
7601 | invalid args instead of ICEing on it. | |
7602 | (ix86_valid_target_attribute_tree): Return error_mark_node if | |
7603 | ix86_valid_target_attribute_inner_p failed. | |
7604 | (ix86_valid_target_attribute_p): Return false only if | |
7605 | ix86_valid_target_attribute_tree returned error_mark_node. Allow | |
7606 | target("default") attribute. | |
7607 | (sorted_attr_string): Change argument from const char * to tree, | |
7608 | merge in all target attribute arguments rather than just one. | |
7609 | Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC | |
7610 | instead of free. Avoid using strcat. | |
7611 | (ix86_mangle_function_version_assembler_name): Mangle | |
7612 | target("default") as if no target attribute is present. Adjust | |
7613 | sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC | |
7614 | instead of xmalloc and XDELETEVEC instead of free. | |
7615 | (ix86_function_versions): Don't return true if one of the decls | |
7616 | doesn't have target attribute. If they don't and one of the decls | |
7617 | is DECL_FUNCTION_VERSIONED, report an error. Adjust | |
7618 | sorted_attr_string caller. Use XDELETEVEC instead of free. | |
7619 | (ix86_supports_function_versions): Remove. | |
7620 | (make_name): Fix up formatting. | |
7621 | (make_dispatcher_decl): Remove resolver_name and its initialization. | |
7622 | Avoid leaking memory. | |
7623 | (is_function_default_version): Return true if there is | |
7624 | target("default") attribute rather than no target attribute at all. | |
7625 | (make_resolver_func): Avoid leaking memory. | |
7626 | (ix86_generate_version_dispatcher_body): Likewise. | |
7627 | (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove. | |
7628 | * target.def (supports_function_versions): Remove. | |
7629 | * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove. | |
7630 | * doc/tm.texi: Regenerated. | |
7631 | ||
73cca0cc VM |
7632 | 2013-01-30 Vladimir Makarov <vmakarov@redhat.com> |
7633 | ||
7634 | PR rtl-optimization/56144 | |
7635 | * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo | |
7636 | for values with side effects. | |
7637 | ||
11452e7b RB |
7638 | 2013-01-30 Richard Biener <rguenther@suse.de> |
7639 | ||
7640 | * sparseset.h (sparseset_bit_p): Use gcc_checking_assert. | |
7641 | (sparseset_pop): Likewise. | |
7642 | * cfganal.c (compute_idf): Likewise. Increase work-stack size | |
7643 | to be able to use quick_push in the worker loop. | |
7644 | ||
01cb1ef5 MP |
7645 | 2013-01-30 Marek Polacek <polacek@redhat.com> |
7646 | ||
7647 | * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs. | |
7648 | ||
e892936e RB |
7649 | 2013-01-30 Richard Biener <rguenther@suse.de> |
7650 | ||
7651 | PR lto/56147 | |
6edc3e32 | 7652 | * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check. |
e892936e | 7653 | |
cc06c01d GJL |
7654 | 2013-01-30 Georg-Johann Lay <avr@gjlay.de> |
7655 | ||
7656 | PR tree-optimization/56064 | |
7657 | * fixed-value.c (fixed_from_double_int): New function. | |
7658 | * fixed-value.h (fixed_from_double_int): New prototype. | |
7659 | (const_fixed_from_double_int): New static inline function. | |
7660 | * fold-const.c (native_interpret_fixed): New static function. | |
7661 | (native_interpret_expr) <FIXED_POINT_TYPE>: Use it. | |
7662 | (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true. | |
7663 | (native_encode_fixed): New static function. | |
7664 | (native_encode_expr) <FIXED_CST>: Use it. | |
7665 | (native_interpret_int): Move double_int worker code to... | |
7666 | * double-int.c (double_int::from_buffer): ...this new static method. | |
7667 | * double-int.h (double_int::from_buffer): Prototype it. | |
7668 | ||
d394a308 RB |
7669 | 2013-01-30 Richard Biener <rguenther@suse.de> |
7670 | ||
7671 | * tree-ssa-structalias.c (final_solutions, final_solutions_obstack): | |
7672 | New pointer-map and obstack. | |
7673 | (init_alias_vars): Allocate pointer-map and obstack. | |
7674 | (delete_points_to_sets): Free them. | |
7675 | (find_what_var_points_to): Cache result. | |
7676 | (find_what_p_points_to): Adjust for changed interface of | |
7677 | find_what_var_points_to. | |
7678 | (compute_points_to_sets): Likewise. | |
7679 | (ipa_pta_execute): Likewise. | |
7680 | ||
20804d96 RO |
7681 | 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7682 | ||
7683 | * configure.ac (HAVE_AS_SPARC_NOBITS): New test. | |
7684 | * configure: Regenerate. | |
7685 | * config.in: Regenerate. | |
7686 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit | |
7687 | #nobits/#progbits if supported. | |
7688 | ||
a7ad88a2 OE |
7689 | 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org> |
7690 | ||
7691 | PR target/56121 | |
7692 | * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a, | |
7693 | bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a, | |
7694 | bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition. | |
7695 | ||
7af79f92 GY |
7696 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
7697 | ||
91bfca59 OE |
7698 | * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove. |
7699 | (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all. | |
7af79f92 | 7700 | |
753bcf7b GY |
7701 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
7702 | ||
91bfca59 OE |
7703 | * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL. |
7704 | * config/arm/cortex-a7.md (cortex_a7_call): Update required units. | |
753bcf7b | 7705 | |
8cbc2ea8 GY |
7706 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
7707 | ||
91bfca59 OE |
7708 | * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New |
7709 | declaration. | |
7710 | * config/arm/arm.c (arm_mac_accumulator_is_result): New function. | |
7711 | * config/arm/cortex-a7.md: New bypasses using | |
7712 | arm_mac_accumulator_is_result. | |
8cbc2ea8 | 7713 | |
697a3325 GY |
7714 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
7715 | ||
91bfca59 | 7716 | * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation. |
697a3325 | 7717 | (cortex_a7_neon_mla): Likewise. |
91bfca59 OE |
7718 | (cortex_a7_fpfmad): New reservation. |
7719 | (cortex_a7_fpmacs): Use ffmas and update required units. | |
7720 | (cortex_a7_fpmuld): Update required units and latency. | |
7721 | (cortex_a7_fpmacd): Likewise. | |
7722 | (cortex_a7_fdivs, cortex_a7_fdivd): Likewise. | |
7723 | (cortex_a7_neon). Likewise. | |
7724 | (bypass) Update participating units. | |
697a3325 | 7725 | |
29637783 GY |
7726 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
7727 | ||
91bfca59 OE |
7728 | * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute. |
7729 | * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type | |
7730 | from fmac to ffma. | |
7731 | * config/arm/vfp11.md (vfp_farith): Use ffmas. | |
7732 | (vfp_fmul): Use ffmad. | |
7733 | * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas. | |
7734 | (cortex_r4_fmacd): Use ffmad. | |
7735 | * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas. | |
7736 | * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas. | |
7737 | (cortex_a9_fmacd): Use ffmad. | |
7738 | * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas. | |
7739 | (cortex_a8_vfp_macd): Use ffmad. | |
7740 | * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas. | |
7741 | (cortex_a5_fpmacd): Use ffmad. | |
7742 | * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas. | |
7743 | (cortex_a15_vfp_macd): Use ffmad. | |
7744 | * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad. | |
29637783 | 7745 | |
2ee8a2d5 JM |
7746 | 2013-01-29 Jason Merrill <jason@redhat.com> |
7747 | ||
7748 | PR libstdc++/54314 | |
7749 | * varasm.c (default_assemble_visibility): Don't warn about | |
7750 | visibility on artificial decls. | |
7751 | ||
78d087bc RB |
7752 | 2013-01-29 Richard Biener <rguenther@suse.de> |
7753 | ||
7754 | PR tree-optimization/56113 | |
7755 | * tree-ssa-structalias.c (equiv_class_lookup): Also return | |
7756 | the bitmap leader. | |
7757 | (label_visit): Free duplicate bitmaps and record the leader instead. | |
7758 | (perform_var_substitution): Adjust. | |
7759 | ||
83ba4d6f RB |
7760 | 2013-01-29 Richard Biener <rguenther@suse.de> |
7761 | ||
7762 | PR tree-optimization/55270 | |
7763 | * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed | |
7764 | the CFG, schedule loops for fixup. | |
7765 | ||
66dfe13f NC |
7766 | 2013-01-29 Nick Clifton <nickc@redhat.com> |
7767 | ||
7768 | * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow | |
7769 | SP_REG. | |
7770 | ||
5a579c3b LE |
7771 | 2013-01-28 Leif Ekblad <leif@rdos.net> |
7772 | ||
7773 | * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets. | |
7774 | * config/i386/i386.h (TARGET_RDOS): New macro. | |
7775 | (DEFAULT_LARGE_SECTION_THRESHOLD): New macro. | |
7776 | * config/i386/i386.c (ix86_option_override_internal): For 64bit | |
7777 | TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1. | |
7778 | * config/i386/i386.opt (mlarge-data-threshold): Initialize to | |
7779 | DEFAULT_LARGE_SECTION_THRESHOLD. | |
7780 | * config/i386/i386.md (R14_REG, R15_REG): New constants. | |
7781 | * config/i386/rdos.h: New file. | |
7782 | * config/i386/rdos64.h: New file. | |
7783 | ||
51e44392 BS |
7784 | 2013-01-28 Bernd Schmidt <bernds@codesourcery.com> |
7785 | ||
7786 | PR other/54814 | |
7787 | * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of | |
7788 | TEST_HARD_REG_BIT. | |
7789 | ||
db1fb332 JJ |
7790 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
7791 | ||
7792 | PR rtl-optimization/56117 | |
7793 | * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib | |
7794 | call cselib_lookup_from_insn on the MEM before calling | |
7795 | add_insn_mem_dependence. | |
7796 | ||
16917761 RB |
7797 | 2013-01-28 Richard Biener <rguenther@suse.de> |
7798 | ||
7799 | * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK | |
7800 | to a stmt that didn't have one. | |
7801 | (copy_phis_for_bb): Likewise for PHI arguments. | |
7802 | (copy_debug_stmt): Likewise for debug stmts. | |
7803 | ||
b9fc0497 RB |
7804 | 2013-01-28 Richard Biener <rguenther@suse.de> |
7805 | ||
7806 | PR tree-optimization/56034 | |
6edc3e32 | 7807 | * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION. |
b9fc0497 RB |
7808 | (partition_builtin_p): Adjust. |
7809 | (generate_code_for_partition): Handle PKIND_REDUCTION. Assert | |
7810 | it is the last partition. | |
7811 | (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking | |
7812 | up the vertex for the definition. | |
7813 | (classify_partition): Classify whether a partition is a | |
7814 | PKIND_REDUCTION, thus has uses outside of the loop. | |
7815 | (ldist_gen): Inherit PKIND_REDUCTION when merging partitions. | |
7816 | Merge all PKIND_REDUCTION partitions into the last partition. | |
7817 | (tree_loop_distribution): Seed partitions from reductions as well. | |
7818 | ||
aa710d25 JJ |
7819 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
7820 | ||
0bfbca58 JJ |
7821 | PR tree-optimization/56125 |
7822 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize | |
7823 | pow(x,c) into sqrt(x) * powi(x, n/2) or | |
7824 | 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when | |
7825 | optimizing for size. | |
7826 | Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or | |
7827 | 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an | |
7828 | integer. | |
7829 | ||
aa710d25 JJ |
7830 | PR tree-optimization/56094 |
7831 | * gimplify.c (force_gimple_operand_1): Temporarily set input_location | |
7832 | to UNKNOWN_LOCATION while gimplifying expr. | |
7833 | ||
77dc5297 UB |
7834 | 2013-01-27 Uros Bizjak <ubizjak@gmail.com> |
7835 | ||
7836 | PR target/56114 | |
7837 | * config/i386/i386.md (*movabs<mode>_1): Add square brackets around | |
7838 | operand 0 in movabs insn template for -masm=intel asm alternative. | |
7839 | (*movabs<mode>_2): Ditto for operand 1. | |
7840 | ||
0bfbca58 | 7841 | 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com> |
fbf0cf90 DH |
7842 | |
7843 | PR target/54663 | |
7844 | * config.gcc (microblaze*-linux*): Add tmake_file to allow building | |
7845 | of microblaze-c.o | |
7846 | ||
0bfbca58 | 7847 | 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
6f14eef2 EI |
7848 | |
7849 | * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update | |
7850 | tm_file. | |
7851 | ||
0bfbca58 | 7852 | 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
706b2314 N |
7853 | |
7854 | * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS): | |
7855 | Undef to avoid warning. | |
7856 | ||
478f60f9 MH |
7857 | 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
7858 | ||
7859 | * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. | |
7860 | * configure: Regenerate. | |
7861 | ||
d7fa6ee2 JJ |
7862 | 2013-01-25 Jakub Jelinek <jakub@redhat.com> |
7863 | ||
7864 | PR tree-optimization/56098 | |
7865 | * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr | |
7866 | for stmts with volatile ops. | |
7867 | (cond_store_replacement): Don't optimize if assign has volatile ops. | |
7868 | (cond_if_else_store_replacement_1): Don't optimize if either | |
7869 | then_assign or else_assign have volatile ops. | |
7870 | (hoist_adjacent_loads): Don't optimize if either def1 or def2 have | |
7871 | volatile ops. | |
7872 | ||
f8fe87bd GJL |
7873 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
7874 | ||
7875 | * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__. | |
7876 | ||
28398d0d GJL |
7877 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
7878 | ||
7879 | * doc/extend.texi (Example of asm with clobbered asm reg): Fix | |
7880 | missing ':' in asm example. | |
7881 | ||
b7d7d917 TB |
7882 | 2013-01-25 Tejas Belagod <tejas.belagod@arm.com> |
7883 | ||
7884 | * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane | |
7885 | entries into lane and laneq entries. | |
77dc5297 UB |
7886 | * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>): |
7887 | Remove AdvSIMD scalar modes. | |
b7d7d917 TB |
7888 | (aarch64_sq<r>dmulh_laneq<mode>): New. |
7889 | (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD | |
7890 | modes. | |
7891 | * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics' | |
7892 | builtin implementations to relfect changes in RTL in aarch64-simd.md. | |
7893 | * config/aarch64/iterators.md (VCOND): New. | |
7894 | (VCONQ): New. | |
7895 | ||
556f9906 GJL |
7896 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
7897 | ||
7898 | PR target/54222 | |
7899 | * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument. | |
7900 | Add NULL LIBNAME argument to existing definitions. | |
7901 | (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New. | |
7902 | * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument. | |
7903 | * config/avr/avr.c (DEF_BUILTIN): Same. | |
7904 | (avr_init_builtins): Pass down LIBNAME to add_builtin_function. | |
7905 | (avr_expand_builtin): Expand to a vanilla call if a libgcc | |
7906 | implementation is available (DECL_ASSEMBLER_NAME is set). | |
7907 | (avr_fold_absfx): New static function. | |
7908 | (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR, | |
7909 | AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR, | |
7910 | AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK, | |
7911 | AVR_BUILTIN_ABSLLK. | |
7912 | * config/avr/stdfix.h (abshr, absr, abslr, absllr) | |
7913 | (abshk, absk, abslk, absllk): Provide as static inline functions. | |
7914 | ||
1f546bbb MP |
7915 | 2013-01-25 Marek Polacek <polacek@redhat.com> |
7916 | ||
7917 | PR tree-optimization/56035 | |
7918 | * cfgloopmanip.c (fix_loop_structure): Remove redundant condition. | |
7919 | ||
7e184bd7 UB |
7920 | 2012-01-24 Uros Bizjak <ubizjak@gmail.com> |
7921 | ||
7922 | * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative. | |
7923 | (*movtf_internal_rex64): Add (!o,C) alternative | |
7924 | (*movxf_internal_rex64): Ditto. | |
7925 | (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives. | |
7926 | ||
f5ba49ac SM |
7927 | 2013-01-24 Shenghou Ma <minux.ma@gmail.com> |
7928 | ||
7929 | * doc/invoke.texi: fix typo. | |
7930 | * doc/objc.texi: fix typo. | |
7931 | ||
a6343728 RS |
7932 | 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
7933 | ||
7934 | * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint | |
7935 | for the first two alternatives. | |
7936 | ||
cd030c07 DN |
7937 | 2013-01-24 Diego Novillo <dnovillo@google.com> |
7938 | ||
77dc5297 | 7939 | * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o. |
cd030c07 DN |
7940 | (ggc-zone.o): Remove. |
7941 | * configure.ac: Remove option --with-gc. | |
7942 | * configure: Re-generate. | |
7943 | * doc/install.texi: Remove documentation for --with-gc. | |
7944 | * gengtype.c (write_enum_defn): Remove. Update all users. | |
7945 | (write_Types_process_field): Remove generation of gt_e_* argument. | |
7946 | (output_type_enum): Remove. Update all users. | |
7947 | (write_enum_defn): Remove. Update all users. | |
7948 | (enum alloc_zone): Remove. Update all users. | |
77dc5297 | 7949 | (write_splay_tree_allocator_def): Remove generation of gt_e_* argument. |
cd030c07 DN |
7950 | * ggc-common.c (ggc_splay_alloc): Remove first argument. |
7951 | Update all callers. | |
7952 | (struct ptr_data): Remove field TYPE. Update all users. | |
77dc5297 | 7953 | (gt_pch_note_object): Remove argument TYPE. Update all users. |
cd030c07 DN |
7954 | * ggc-internal.h (ggc_pch_alloc_object): Remove last argument. |
7955 | Update all users. | |
aaf1e810 | 7956 | * ggc-none.c (ggc_alloc_typed_stat): Remove. |
cd030c07 DN |
7957 | (struct alloc_zone): Remove. |
7958 | (ggc_internal_alloc_zone_stat): Remove. | |
7959 | (ggc_internal_cleared_alloc_zone_stat): Remove. | |
7960 | * ggc-page.c (ggc_alloc_typed_stat): Remove. | |
77dc5297 UB |
7961 | (ggc_pch_count_object): Remove last argument. Update all users. |
7962 | (ggc_pch_alloc_object): Remove last argument. Update all users. | |
cd030c07 DN |
7963 | (struct alloc_zone): Remove. |
7964 | * ggc-zone.c: Remove. | |
77dc5297 | 7965 | * ggc.h (gt_pch_note_object): Remove last argument. Update all users. |
cd030c07 DN |
7966 | (struct alloc_zone): Remove. |
7967 | (ggc_alloc_typed_stat): Remove. | |
7968 | (ggc_alloc_typed): Remove. | |
7969 | (ggc_splay_alloc): Remove first argument. | |
7970 | (rtl_zone): Remove. Update all users. | |
7971 | (tree_zone): Remove. Update all users. | |
7972 | (tree_id_zone): Remove. Update all users. | |
7973 | (ggc_internal_zone_alloc_stat): Remove. Update all users. | |
77dc5297 | 7974 | (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users. |
cd030c07 | 7975 | (ggc_internal_zone_vec_alloc_stat): Remove. Update all users. |
77dc5297 | 7976 | * tree-ssanames.c: Remove references to zone allocator in comments. |
cd030c07 | 7977 | |
a861ffa4 GJL |
7978 | 2013-01-24 Georg-Johann Lay <avr@gjlay.de> |
7979 | ||
7980 | * config/avr/avr.c (avr_out_fract): Make register numbers that | |
7981 | might be outside of source operand signed. | |
7982 | ||
593c0ddd UB |
7983 | 2013-01-24 Uros Bizjak <ubizjak@gmail.com> |
7984 | ||
7985 | * config/i386/constraints.md (Yf): New constraint. | |
7986 | * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead | |
7987 | of f constraint to conditionaly disable x87 register preferences. | |
7988 | (*movdf_internal): Ditto. | |
7989 | (*movsf_internal): Ditto. | |
7990 | ||
e86c0101 SB |
7991 | 2013-01-24 Steven Bosscher <steven@gcc.gnu.org> |
7992 | ||
7993 | PR inline-asm/55934 | |
7994 | * lra-assigns.c (assign_by_spills): Throw away the pattern of asms | |
7995 | that have operands with impossible constraints. | |
7996 | Add a FIXME for a speed-up opportunity. | |
7997 | * lra-constraints.c (process_alt_operands): Verify that a class | |
7998 | selected from constraints on asms is valid for the operand mode. | |
7999 | (curr_insn_transform): Remove incorrect comment. | |
8000 | ||
f6fee35f DE |
8001 | 2013-01-23 David Edelsohn <dje.gcc@gmail.com> |
8002 | ||
8003 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that | |
8004 | TOC operand is a valid symbol ref in the constant pool. | |
8005 | ||
8006 | 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
c7729184 | 8007 | |
aaf1e810 | 8008 | * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS |
c7729184 | 8009 | |
dc62d7d1 GJL |
8010 | 2013-01-23 Georg-Johann Lay <avr@gjlay.de> |
8011 | ||
8012 | PR target/54222 | |
8013 | * config/avr/stdfix.h: New file. | |
8014 | * t-avr (stdfix-gcc.h): New rule to build it. | |
8015 | (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h. | |
8016 | ||
2660d12d KS |
8017 | 2013-01-23 Kostya Serebryany <kcc@google.com> |
8018 | ||
77dc5297 UB |
8019 | * config/darwin.h: remove dependency on |
8020 | CoreFoundation (asan on Mac OS). | |
2660d12d | 8021 | |
a70418fc JJ |
8022 | 2013-01-23 Jakub Jelinek <jakub@redhat.com> |
8023 | ||
8024 | PR target/49069 | |
8025 | * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand | |
8026 | instead of cmpdi_operand for first comparison operand. | |
8027 | Don't assert that comparison operands aren't both constants. | |
8028 | ||
47876a2a JW |
8029 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> |
8030 | ||
8031 | * doc/install.texi (Downloading the Source): Update references to | |
8032 | downloading separate components. | |
8033 | ||
8034 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> | |
4ebd56a5 JW |
8035 | |
8036 | * doc/extend.texi (__int128): Improve grammar. | |
8037 | ||
47876a2a | 8038 | 2013-01-22 Uros Bizjak <ubizjak@gmail.com> |
32fc5b8a UB |
8039 | |
8040 | PR target/56028 | |
8041 | * config/i386/i386.md (*movti_internal_rex64): Change (o,riF) | |
8042 | alternative to (o,r). | |
8043 | (*movdi_internal_rex64): Remove (!o,n) alternative. | |
8044 | (DImode immediate->memory splitter): Remove. | |
8045 | (DImode immediate->memory peephole2): Remove. | |
8046 | (movtf): Enable for TARGET_64BIT || TARGET_SSE. | |
8047 | (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r) | |
8048 | alternative to (!o,*r). | |
8049 | (*movtf_internal_sse): New pattern. | |
8050 | (*movxf_internal_rex64): New pattern. | |
8051 | (*movxf_internal): Disable for TARGET_64BIT. | |
8052 | (*movdf_internal_rex64): Remove (!o,F) alternative. | |
8053 | ||
3a984f10 JJ |
8054 | 2013-01-22 Jakub Jelinek <jakub@redhat.com> |
8055 | ||
502498d5 JJ |
8056 | PR middle-end/56074 |
8057 | * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc) | |
8058 | isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION. | |
8059 | * tree-vect-loop-manip.c (find_loop_location): Also ignore | |
8060 | stmt locations where LOCATION_LOCUS of the stmt location is | |
8061 | UNKNOWN_LOCATION or BUILTINS_LOCATION. | |
8062 | ||
3a984f10 JJ |
8063 | PR target/55686 |
8064 | * config/i386/i386.md (UNSPEC_STOS): New. | |
8065 | (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1, | |
8066 | *strsetqi_1): Add UNSPEC_STOS. | |
8067 | ||
fa817f7f PC |
8068 | 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com> |
8069 | ||
8070 | PR c++/56067 | |
8071 | * doc/invoke.texi: Remove left over -Wsynth example. | |
8072 | ||
8f498c1b JJ |
8073 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
8074 | ||
8075 | PR tree-optimization/56051 | |
8076 | * fold-const.c (fold_binary_loc): Don't fold | |
8077 | X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either | |
8078 | a narrowing conversion, or widening conversion from signed | |
8079 | to unsigned. | |
8080 | ||
47876a2a | 8081 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
35d59da7 UB |
8082 | |
8083 | PR rtl-optimization/56023 | |
8084 | * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions, | |
8085 | dependent on debug instruction. | |
8086 | ||
5b9db1bc MJ |
8087 | 2013-01-21 Martin Jambor <mjambor@suse.cz> |
8088 | ||
8089 | PR middle-end/56022 | |
8090 | * function.c (allocate_struct_function): Call | |
8091 | invoke_set_current_function_hook earlier. | |
8092 | ||
e8bb7d68 JJ |
8093 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
8094 | ||
8095 | * reload1.c (init_reload): Only initialize reload_obstack | |
8096 | during the first call. | |
8097 | ||
616a4e32 MP |
8098 | 2013-01-21 Marek Polacek <polacek@redhat.com> |
8099 | ||
8100 | * cfgloop.c (verify_loop_structure): Fix up grammar. | |
8101 | ||
4401981b YHH |
8102 | 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com> |
8103 | ||
8104 | * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift, | |
8105 | pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift. | |
8106 | ||
8e87740b RR |
8107 | 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
8108 | ||
8109 | PR target/56058 | |
8110 | * config/arm/marvell-pj4.md: Update copyright year. | |
8111 | Fix up use of alu to alu_reg and simple_alu_imm. | |
8112 | ||
47876a2a | 8113 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
1f6bc337 UB |
8114 | |
8115 | * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA. | |
8116 | ||
89d56d79 VM |
8117 | 2013-01-20 Vladimir Makarov <vmakarov@redhat.com> |
8118 | ||
8119 | PR target/55433 | |
8120 | * lra-constraints.c (curr_insn_transform): Don't reuse original | |
1f6bc337 | 8121 | insn for secondary memory move when memory mode should be different. |
89d56d79 | 8122 | |
fe603553 JDA |
8123 | 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8124 | ||
8125 | * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi, | |
8126 | atomic_storedi_1): New patterns. | |
8127 | ||
01284895 VK |
8128 | 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
8129 | ||
8130 | btver2 pipeline descriptions. | |
8131 | * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline | |
8132 | descriptions. | |
8133 | * config/i386/i386.md (btver2_decode): New type attributes. | |
1f6bc337 | 8134 | * config/i386/sse.md (btver2_decode, btver2_sse_attr): New |
01284895 VK |
8135 | type attributes. |
8136 | * config/i386/btver2.md: New file describing btver2 pipelines. | |
8137 | ||
5630e3e1 JL |
8138 | 2013-01-19 Andrew Pinski <apinski@cavium.com> |
8139 | ||
8140 | PR tree-optimization/52631 | |
8141 | * tree-ssa-sccvn (visit_use): Before looking up the original | |
8142 | statement, try looking up the simplified expression. | |
8143 | ||
650ae806 AG |
8144 | 2013-01-19 Anthony Green <green@moxielogic.com> |
8145 | ||
8146 | * config/moxie/moxie.c (moxie_expand_prologue): Set | |
8147 | current_function_static_stack_size. | |
8148 | ||
e300ec2d JJ |
8149 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
8150 | ||
8151 | PR tree-optimization/56029 | |
8152 | * tree-phinodes.c (reserve_phi_args_for_new_edge): Set | |
8153 | gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION. | |
8154 | ||
a3d7af04 SS |
8155 | 2013-01-18 Sharad Singhai <singhai@google.com> |
8156 | ||
8157 | PR tree-optimization/55995 | |
8158 | * dumpfile.c (dump_loc): Print location only if available. | |
8159 | * tree-vectorizer.c (increase_alignment): Intialize vect_location. | |
8160 | ||
66aa7879 VM |
8161 | 2013-01-18 Vladimir Makarov <vmakarov@redhat.com> |
8162 | ||
8163 | PR target/55433 | |
8164 | * lra-constraints.c (curr_insn_transform): Reuse original insn for | |
8165 | secondary memory move. | |
8166 | (inherit_reload_reg): Use rclass instead of cl for | |
8167 | check_secondary_memory_needed_p. | |
8168 | ||
3f0fee7b JJ |
8169 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
8170 | ||
8171 | PR middle-end/56015 | |
8172 | * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle | |
1f6bc337 | 8173 | the case where writing real complex part of target modifies op1. |
3f0fee7b | 8174 | |
70c67693 JG |
8175 | 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com> |
8176 | ||
8177 | * config/aarch64/aarch64-simd.md | |
8178 | (aarch64_vcond_internal<mode>): Handle unordered cases. | |
8179 | * config/aarch64/iterators.md (v_cmp_result): New. | |
8180 | ||
df8de9b3 YHH |
8181 | 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com> |
8182 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
8183 | ||
8184 | * config/arm/marvell-pj4.md: New file. | |
8185 | * config/arm/arm.c (arm_issue_rate): Add marvell_pj4. | |
8186 | * config/arm/arm.md (generic_sched): Add marvell_pj4. | |
8187 | (generic_vfp): Likewise. | |
8188 | * config/arm/arm-cores.def: Add marvell-pj4. | |
8189 | * config/arm/arm-tune.md: Regenerate. | |
8190 | * config/arm/arm-tables.opt: Regenerate. | |
8191 | * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4. | |
8192 | * doc/invoke.texi: Document marvell-pj4. | |
8193 | ||
be30c356 TB |
8194 | 2013-01-18 Tejas Belagod <tejas.belagod@arm.com> |
8195 | ||
8196 | * config/aarch64/arm_neon.h: Map scalar types to standard types. | |
8197 | ||
0bfbca58 | 8198 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
af6236c1 AO |
8199 | |
8200 | PR debug/54114 | |
8201 | PR debug/54402 | |
8202 | PR debug/49888 | |
8203 | * var-tracking.c (negative_power_of_two_p): New. | |
8204 | (global_get_addr_cache, local_get_addr_cache): New. | |
8205 | (get_addr_from_global_cache, get_addr_from_local_cache): New. | |
8206 | (vt_canonicalize_addr): Rewrite using the above. Adjust the | |
8207 | heading comment. | |
8208 | (vt_stack_offset_p): Remove. | |
8209 | (vt_canon_true_dep): Always canonicalize loc's address. | |
8210 | (clobber_overlapping_mems): Make sure we have a MEM. | |
8211 | (local_get_addr_clear_given_value): New. | |
8212 | (val_reset): Clear local cached entries. | |
8213 | (compute_bb_dataflow): Create and release the local cache. | |
8214 | Disable duplicate MEMs clobbering. | |
8215 | (emit_notes_in_bb): Clobber MEMs likewise. | |
8216 | (vt_emit_notes): Create and release the local cache. | |
8217 | (vt_initialize, vt_finalize): Create and release the global | |
8218 | cache, respectively. | |
1f6bc337 | 8219 | * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs. |
af6236c1 | 8220 | |
0bfbca58 | 8221 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
7ff37ffa AO |
8222 | |
8223 | PR libmudflap/53359 | |
8224 | * tree-mudflap.c (mudflap_finish_file): Skip deferred decls | |
8225 | not found in the symtab. | |
8226 | ||
0bfbca58 | 8227 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
3aa03517 | 8228 | |
c350ba53 | 8229 | PR debug/56006 |
3aa03517 AO |
8230 | PR rtl-optimization/55547 |
8231 | PR rtl-optimization/53827 | |
8232 | PR debug/53671 | |
8233 | PR debug/49888 | |
8234 | * alias.c (offset_overlap_p): New, factored out of... | |
8235 | (memrefs_conflict_p): ... this. Use absolute sizes. Retain | |
8236 | the conservative special case for symbolic constants. Don't | |
8237 | adjust zero sizes on alignment. | |
8238 | ||
c664546f JL |
8239 | 2013-01-18 Bernd Schmidt <bernds@codesourcery.com> |
8240 | ||
8241 | PR rtl-optimization/52573 | |
8242 | * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a | |
8243 | REG_UNUSED for the same register. | |
8244 | ||
1bd3f750 MP |
8245 | 2013-01-17 Richard Biener <rguenther@suse.de> |
8246 | Marek Polacek <polacek@redhat.com> | |
8247 | ||
8248 | PR rtl-optimization/55833 | |
8249 | * loop-unswitch.c (unswitch_loops): Move loop verification... | |
8250 | (unswitch_single_loop): ...here. Call mark_irreducible_loops. | |
8251 | * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter. | |
8252 | Set it to true when we're removing a loop from hierarchy tree in | |
8253 | an irreducible region. | |
8254 | (fix_bb_placements): Adjust caller. | |
8255 | (fix_loop_placements): Likewise. | |
8256 | ||
e52a8b71 GJL |
8257 | 2013-01-17 Georg-Johann Lay <avr@gjlay.de> |
8258 | ||
8259 | * config/avr/builtins.def (DEF_BUILTIN): Factor out | |
8260 | "__builtin_avr_" from NAME, turn NAME to an uppercase identifier. | |
8261 | Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'. | |
8262 | Remove ID. Adjust comments. | |
8263 | * config/avr/avr-c.c (avr_builtin_name): Remove. | |
8264 | (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop. | |
8265 | * config/avr/avr.c (avr_tolower): New static function. | |
8266 | (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'. | |
8267 | Stringify NAME, prefix it with "__builtin_avr_" and lowercase it. | |
8268 | (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for | |
8269 | default expansion. | |
8270 | ||
8386a7ea JH |
8271 | 2013-01-17 Jan Hubicka <jh@suse.cz> |
8272 | ||
610fb637 | 8273 | PR tree-optimization/55273 |
8386a7ea JH |
8274 | * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. |
8275 | ||
47876a2a | 8276 | 2013-01-17 Uros Bizjak <ubizjak@gmail.com> |
8abaebcd UB |
8277 | |
8278 | PR target/55981 | |
8279 | * config/i386/sync.md (atomic_store<mode>): Always generate SWImode | |
8280 | store through atomic_store<mode>_1. | |
8281 | (atomic_store<mode>_1): Macroize insn using SWI mode iterator. | |
8282 | ||
8222c37e MJ |
8283 | 2013-01-17 Martin Jambor <mjambor@suse.cz> |
8284 | ||
8285 | PR tree-optimizations/55264 | |
8286 | * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true | |
8287 | for virtual methods. | |
8288 | * ipa.c (symtab_remove_unreachable_nodes): Never return true for | |
8289 | virtual methods before inlining is over. | |
8290 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for | |
8291 | virtual functions. | |
8292 | * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as | |
8293 | non-virtual. | |
8294 | ||
79f01c76 VM |
8295 | 2013-01-16 Vladimir Makarov <vmakarov@redhat.com> |
8296 | ||
8297 | PR rtl-optimization/56005 | |
8298 | * sched-deps.c (sched_analyze_2): Check deps->readonly for adding | |
8299 | pending reads for prefetch. | |
8300 | ||
d0b6bb1b IB |
8301 | 2013-01-16 Ian Bolton <ian.bolton@arm.com> |
8302 | ||
aaf1e810 | 8303 | * config/aarch64/aarch64.md |
d0b6bb1b IB |
8304 | (*cstoresi_neg_uxtw): New pattern. |
8305 | (*cmovsi_insn_uxtw): New pattern. | |
8306 | (*<optab>si3_uxtw): New pattern. | |
8307 | (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern. | |
8308 | (*<optab>si3_insn_uxtw): New pattern. | |
8309 | (*bswapsi2_uxtw): New pattern. | |
8310 | ||
cb9cf03b RB |
8311 | 2013-01-16 Richard Biener <rguenther@suse.de> |
8312 | ||
8313 | * tree-inline.c (tree_function_versioning): Remove set but | |
8314 | never used variable. | |
8315 | ||
2cfc56b9 RB |
8316 | 2013-01-16 Richard Biener <rguenther@suse.de> |
8317 | ||
8318 | PR tree-optimization/55964 | |
8319 | * tree-flow.h (rename_variables_in_loop): Remove. | |
8320 | (rename_variables_in_bb): Likewise. | |
8321 | * tree-loop-distribution.c (update_phis_for_loop_copy): Remove. | |
8322 | (copy_loop_before): Adjust and delete update-ssa status. | |
8323 | * tree-vect-loop-manip.c (rename_variables_in_bb): Make static. | |
8abaebcd | 8324 | (rename_variables_in_bb): Likewise. Properly walk over predecessors. |
2cfc56b9 RB |
8325 | (rename_variables_in_loop): Remove. |
8326 | (slpeel_update_phis_for_duplicate_loop): Likewise. | |
8327 | (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops, | |
8328 | use available cfg machinery instead of duplicating it. | |
8329 | Update PHI nodes and perform poor-mans SSA update here. | |
8330 | (slpeel_tree_peel_loop_to_edge): Adjust. | |
8331 | ||
c25a0c60 RB |
8332 | 2013-01-16 Richard Biener <rguenther@suse.de> |
8333 | ||
8334 | PR tree-optimization/54767 | |
8335 | PR tree-optimization/53465 | |
8336 | * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465. | |
8337 | (vrp_visit_phi_node): For PHI arguments coming via backedges | |
8338 | drop all symbolical range information. | |
8339 | (execute_vrp): Compute backedges. | |
8340 | ||
04b535af RB |
8341 | 2013-01-16 Richard Biener <rguenther@suse.de> |
8342 | ||
8343 | * doc/install.texi: Update CLooG and ISL requirements to | |
8344 | 0.18.0 and 0.11.1. | |
8345 | ||
8b0a1e0b CB |
8346 | 2013-01-16 Christian Bruel <christian.bruel@st.com> |
8347 | ||
8348 | PR target/55301 | |
8349 | * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol. | |
8350 | (broken_move): Handle UNSPECV_SP_SWITCH_B. | |
8351 | * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG). | |
8352 | ||
8353 | 2013-01-16 DJ Delorie <dj@redhat.com> | |
8354 | ||
8355 | * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New. | |
8356 | (UNSPECV_SP_SWITCH_E): New. | |
8357 | (sp_switch_1): Change to an unspec. | |
8358 | (sp_switch_2): Change to an unspec. Don't use post-inc when we | |
8359 | replace $r15. | |
8360 | ||
8361 | 2013-01-16 Uros Bizjak <ubizjak@gmail.com> | |
88e784e6 UB |
8362 | |
8363 | * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument | |
8364 | with MEMMODEL_MASK before comparing with MEMMODEL_* memory types. | |
8365 | * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto. | |
8366 | (expand_mem_thread_fence): Ditto. | |
8367 | (expand_mem_signal_fence): Ditto. | |
8368 | (expand_atomic_load): Ditto. | |
8369 | (expand_atomic_store): Ditto. | |
8370 | ||
0bfbca58 | 8371 | 2013-01-16 Alexandre Oliva <aoliva@redhat.com> |
5147bf6a AO |
8372 | |
8373 | PR rtl-optimization/55547 | |
8374 | PR rtl-optimization/53827 | |
8375 | PR debug/53671 | |
8376 | PR debug/49888 | |
8377 | * alias.c (memrefs_conflict_p): Set sizes to negative after | |
8378 | AND adjustments. | |
8379 | ||
305e3ac1 JJ |
8380 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
8381 | ||
8382 | PR target/55940 | |
8383 | * function.c (thread_prologue_and_epilogue_insns): Always | |
8384 | add crtl->drap_reg to set_up_by_prologue.set, even if | |
8385 | stack_realign_drap is false. | |
8386 | ||
f78ac4f2 JBG |
8387 | 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
8388 | ||
8389 | * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3, | |
8390 | and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3, | |
8391 | *call): Fix indention. | |
8392 | ||
a78a8cc4 TV |
8393 | 2013-01-15 Tom de Vries <tom@codesourcery.com> |
8394 | ||
8395 | PR target/55876 | |
8396 | * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG. | |
8397 | Update comment. | |
8398 | ||
0e80383f VM |
8399 | 2013-01-15 Vladimir Makarov <vmakarov@redhat.com> |
8400 | ||
305e3ac1 | 8401 | PR rtl-optimization/55153 |
0e80383f VM |
8402 | * sched-deps.c (sched_analyze_2): Add pending reads for prefetch. |
8403 | ||
207b5956 MJ |
8404 | 2013-01-15 Martin Jambor <mjambor@suse.cz> |
8405 | ||
8406 | PR tree-optimization/55920 | |
8407 | * tree-sra.c (analyze_access_subtree): Do not mark non-removable | |
8408 | accesses as grp_to_be_debug_replaced. | |
8409 | ||
a7818b54 JJ |
8410 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
8411 | ||
8412 | PR tree-optimization/55920 | |
8413 | * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced | |
8414 | there is non-useless type conversion needed from debug rhs to lhs, | |
8415 | use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR. | |
8416 | ||
b0fe107e JM |
8417 | 2013-01-15 Joseph Myers <joseph@codesourcery.com> |
8418 | Mikael Pettersson <mikpe@it.uu.se> | |
8419 | ||
8420 | PR target/43961 | |
8421 | * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for | |
8422 | Thumb. | |
8423 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
8424 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty. | |
8425 | * final.c (shorten_branches): Update alignment of labels before | |
8426 | jump tables if CASE_VECTOR_SHORTEN_MODE. | |
8427 | ||
34ab62ee RB |
8428 | 2013-01-15 Richard Biener <rguenther@suse.de> |
8429 | ||
8430 | PR bootstrap/55961 | |
8431 | * system.h: Do not include gmp.h for building host tools. | |
8432 | ||
783a3a05 RB |
8433 | 2013-01-15 Richard Biener <rguenther@suse.de> |
8434 | ||
8435 | PR middle-end/55882 | |
8436 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly | |
8437 | account for bitpos when computing alignment. | |
8438 | ||
3a579e09 VY |
8439 | 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com> |
8440 | ||
8441 | * config/i386/i386-c.c (ix86_target_macros_internal): New case. | |
8442 | (ix86_target_macros_internal): Likewise. | |
8443 | ||
8444 | * config/i386/i386.c (m_CORE2I7): Removed. | |
8445 | (m_CORE_HASWELL): New macro. | |
8446 | (m_CORE_ALL): Likewise. | |
8447 | (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL. | |
8448 | (initial_ix86_arch_features): Likewise. | |
8449 | (processor_target_table): Initializations for Core avx2. | |
8450 | (cpu_names): New names "core-avx2". | |
8451 | (ix86_option_override_internal): Changed PROCESSOR_COREI7 by | |
8452 | PROCESSOR_CORE_HASWELL. | |
8453 | (ix86_issue_rate): New case. | |
8454 | (ia32_multipass_dfa_lookahead): Likewise. | |
8455 | (ix86_sched_init_global): Likewise. | |
8456 | ||
8457 | * config/i386/i386.h (TARGET_HASWELL): New macro. | |
8458 | (target_cpu_default): New TARGET_CPU_DEFAULT_haswell. | |
8459 | (processor_type): New PROCESSOR_HASWELL. | |
8460 | ||
955f5a07 JJ |
8461 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
8462 | ||
ff784829 JJ |
8463 | PR tree-optimization/55955 |
8464 | * tree-vect-loop.c (vectorizable_reduction): Give up early on | |
8465 | *SHIFT_EXPR and *ROTATE_EXPR codes. | |
8466 | ||
955f5a07 JJ |
8467 | PR tree-optimization/48766 |
8468 | * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for | |
8469 | -ftrapv disable -fwrapv. | |
8470 | ||
aeb8b4e9 GJL |
8471 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
8472 | ||
8473 | PR target/55974 | |
8474 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH | |
8475 | etc. to 1 and not to __flash. | |
8476 | Use LL suffix for __INT24_MAX__ with -mint8. | |
8477 | Use ULL suffix for __UINT24_MAX__ with -mint8. | |
8478 | ||
1c494c6a GJL |
8479 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
8480 | ||
8481 | * config/avr/avr-arch.h | |
8482 | (struct base_arch_s): Use typedef avr_arch_t instead. | |
8483 | (struct arch_info_s): Use typedef avr_arch_info_t instead. | |
8484 | (struct mcu_type_s): Use typedef avr_mcu_t instead. | |
8485 | * config/avr/avr.c: Same. | |
8486 | * config/avr/avr-devices.c: Same. | |
8487 | * config/avr/driver-avr.c: Same. | |
8488 | * config/avr/gen-avr-mmcu-texi.c: Same. | |
8489 | * config/avr/avr-mcus.def: Adjust comment. | |
8490 | ||
a50344cb TB |
8491 | 2013-01-14 Tejas Belagod <tejas.belagod@arm.com> |
8492 | ||
88e784e6 UB |
8493 | * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New. |
8494 | * config/aarch64/iterators.md (VALLDI): New. | |
a50344cb | 8495 | |
47876a2a | 8496 | 2013-01-14 Uros Bizjak <ubizjak@gmail.com> |
e6f0e052 UB |
8497 | Andi Kleen <ak@linux.intel.com> |
8498 | ||
8499 | PR target/55948 | |
8500 | * config/i386/sync.md (atomic_store<mode>_1): New pattern. | |
8501 | (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE | |
8502 | memmodel flag. | |
8503 | ||
00892272 GJL |
8504 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
8505 | ||
8506 | * config/avr/avr-stdint.h: Remove trailing blanks. | |
8507 | * config/avr/avr-log.h: Same. | |
8508 | * config/avr/avr-arch.h: Same. | |
8509 | * config/avr/avr-devices.c: Same. | |
8510 | * config/avr/avr-dimode.md: Same. | |
8511 | * config/avr/predicates.md: Same. | |
8512 | * config/avr/avr-c.c: Same. And fix typo. | |
e6f0e052 | 8513 | |
00892272 GJL |
8514 | * config/avr/avr-protos.h: Same. And: |
8515 | (function_arg_regno_p): Rename to avr_function_arg_regno_p. | |
8516 | (init_cumulative_args): Rename to avr_init_cumulative_args. | |
8517 | (expand_prologue): Rename to avr_expand_prologue. | |
8518 | (expand_epilogue): Rename to avr_expand_epilogue. | |
8519 | (adjust_insn_length): Rename to avr_adjust_insn_length. | |
8520 | (notice_update_cc): Rename to avr_notice_update_cc. | |
8521 | (final_prescan_insn): Rename to avr_final_prescan_insn. | |
8522 | * config/avr/avr.c: Same. | |
8523 | * config/avr/avr.h: Same. | |
8524 | * config/avr/avr.md: Remove trailing blanks. | |
8525 | (prologue): Use avr_expand_prologue. | |
8526 | (epilogue, sibcall_epilogue): Use avr_expand_epilogue. | |
8527 | ||
7bb01996 RB |
8528 | 2013-01-14 Richard Biener <rguenther@suse.de> |
8529 | ||
8530 | * tree-cfg.c (verify_expr_location, verify_expr_location_1, | |
8531 | verify_location, collect_subblocks): New functions. | |
8532 | (verify_gimple_in_cfg): Verify that locations only reference | |
8533 | BLOCKs in the functions BLOCK tree. | |
8534 | ||
2724573f RB |
8535 | 2013-01-14 Richard Biener <rguenther@suse.de> |
8536 | ||
8537 | * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated | |
8538 | PHI argument. | |
8539 | * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly | |
8540 | unshare reference. | |
8541 | (insert_out_of_ssa_copy_on_edge): Likewise. | |
8542 | (rewrite_close_phi_out_of_ssa): Likewise. | |
8543 | * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare | |
8544 | debug expressions. | |
8545 | * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare | |
8546 | propagated constants. | |
8547 | * tree-cfg.c (tree_node_can_be_shared): Handled component-refs | |
8548 | can not be shared. | |
8549 | ||
9a0bbab6 GJL |
8550 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
8551 | ||
8552 | * config/avr/avr-modes.def: Add GPL copyright notice. | |
8553 | ||
45805f17 UB |
8554 | 2013-01-13 Uros Bizjak <ubizjak@gmail.com> |
8555 | ||
8556 | * config/i386/sync.md (mem_thread_fence): Mask operands[0] with | |
8557 | MEMMODEL_MASK to determine memory model. | |
8558 | (atomic_store<mode>): Ditto from operands[2]. | |
8559 | * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool. | |
8560 | ||
9d60be38 JJ |
8561 | 2013-01-13 Jakub Jelinek <jakub@redhat.com> |
8562 | ||
8563 | PR fortran/55935 | |
45805f17 | 8564 | * gimple-fold.c (get_symbol_constant_value): Call unshare_expr. |
9d60be38 JJ |
8565 | (fold_gimple_assign): Don't call unshare_expr here. |
8566 | (fold_ctor_reference): Call unshare_expr. | |
8567 | ||
e7f49d92 TG |
8568 | 2013-01-13 Terry Guo <terry.guo@arm.com> |
8569 | ||
aaf1e810 EB |
8570 | * Makefile.in (s-mlib): New argument MULTILIB_REUSE. |
8571 | * doc/fragments.texi: Document MULTILIB_REUSE. | |
8572 | * gcc.c (multilib_reuse): New internal spec. | |
e7f49d92 | 8573 | (set_multilib_dir): Also search multilib from multilib_reuse. |
aaf1e810 | 8574 | * genmultilib (tmpmultilib3): Refactor code. |
e7f49d92 TG |
8575 | (tmpmultilib4): Ditto. |
8576 | (multilib_reuse): New multilib argument. | |
8577 | ||
fbd03a27 RS |
8578 | 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com> |
8579 | ||
8580 | * Makefile.in: Update copyright. | |
8581 | ||
b3681f13 TV |
8582 | 2013-01-12 Tom de Vries <tom@codesourcery.com> |
8583 | ||
8584 | PR middle-end/55890 | |
8585 | * calls.c (expand_call): Check if arg_nr is valid. | |
8586 | ||
3f287e4b MM |
8587 | 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
8588 | ||
8589 | * doc/extend.texi (X86 Built-in Functions): Add whitespace in | |
8590 | __builtin_ia32_paddb256 and __builtin_ia32_pavgb256 | |
5bc35113 MM |
8591 | documentation. Add missing '__' in front of |
8592 | __builtin_ia32_packssdw256. | |
3f287e4b | 8593 | |
1abcd5eb AK |
8594 | 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8595 | ||
8596 | PR target/55719 | |
8597 | * config/s390/s390.c (s390_preferred_reload_class): Do not return | |
8598 | NO_REGS for larl operands. | |
8599 | (s390_reload_larl_operand): Use s390_load_address instead of | |
8600 | emit_move_insn. | |
8601 | ||
980d0812 RB |
8602 | 2013-01-11 Richard Biener <rguenther@suse.de> |
8603 | ||
8604 | * tree-cfg.c (verify_node_sharing_1): Split out from ... | |
8605 | (verify_node_sharing): ... here. | |
8606 | (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree. | |
8607 | ||
7cb9fd07 EB |
8608 | 2013-01-11 Eric Botcazou <ebotcazou@adacore.com> |
8609 | ||
8610 | * configure.ac (Tree checking): Set TREECHECKING to yes if enabled. | |
8611 | Substitute TREECHECKING. | |
8612 | * configure: Regenerate. | |
8613 | * Makefile.in (TREECHECKING): New. | |
8614 | ||
47876a2a | 8615 | 2013-01-11 Richard Guenther <rguenther@suse.de> |
c7ab2530 RG |
8616 | |
8617 | PR tree-optimization/44061 | |
8618 | * tree-vrp.c (extract_range_basic): Compute zero as | |
8619 | value-range for __builtin_constant_p of function parameters. | |
8620 | ||
d1e082c2 RS |
8621 | 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com> |
8622 | ||
45805f17 | 8623 | Update copyright years. |
d1e082c2 | 8624 | |
f85021b0 VM |
8625 | 2013-01-10 Vladimir Makarov <vmakarov@redhat.com> |
8626 | ||
9d60be38 | 8627 | PR rtl-optimization/55672 |
0160442c VM |
8628 | * lra-eliminations.c (mark_not_eliminable): Permit addition with |
8629 | const to be eliminable. | |
f85021b0 | 8630 | |
7a8b1ec4 DE |
8631 | 2013-01-10 David Edelsohn <dje.gcc@gmail.com> |
8632 | ||
8633 | * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix. | |
8634 | * configure: Regenerate. | |
8635 | ||
ad2e5b71 RB |
8636 | 2013-01-10 Richard Biener <rguenther@suse.de> |
8637 | ||
ddf9322d | 8638 | * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes. |
ad2e5b71 | 8639 | |
ffc5b2bb RB |
8640 | 2013-01-10 Richard Biener <rguenther@suse.de> |
8641 | ||
8642 | PR bootstrap/55792 | |
8643 | * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set | |
8644 | locations for virtual PHI arguments. | |
8645 | (rewrite_update_phi_arguments): Likewise. | |
8646 | ||
e1f674e4 JS |
8647 | 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com> |
8648 | ||
8649 | * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi | |
8650 | on to assembler. | |
8651 | ||
a57fc743 JJ |
8652 | 2013-01-10 Jakub Jelinek <jakub@redhat.com> |
8653 | ||
8654 | PR tree-optimization/55921 | |
8655 | * tree-complex.c (expand_complex_asm): New function. | |
8656 | (expand_complex_operations_1): Call it for GIMPLE_ASM. | |
8657 | ||
0ff4390d AK |
8658 | 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8659 | ||
8660 | PR target/55718 | |
8661 | * config/s390/s390.c (s390_symref_operand_p) | |
8662 | (s390_loadrelative_operand_p): Merge the two functions. | |
8663 | (s390_check_qrst_address, print_operand_address): Add parameters | |
8664 | to s390_loadrelative_operand_p invokation. | |
8665 | (s390_check_symref_alignment): Use s390_loadrelative_operand_p. | |
8666 | (s390_reload_larl_operand, s390_secondary_reload): Use | |
8667 | s390_loadrelative_operand_p instead of s390_symref_operand_p. | |
8668 | (legitimize_pic_address): Handle @GOTENT and @PLT + addend. | |
8669 | ||
6f557e0e MS |
8670 | 2013-01-09 Mike Stump <mikestump@comcast.net> |
8671 | ||
8672 | * dse.c (record_store): Remove unnecessary assert. | |
8673 | ||
7770c9e9 JH |
8674 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
8675 | ||
8676 | PR tree-optimization/55569 | |
8677 | * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type. | |
8678 | * cfgloop.h (scale_loop_profile): Likewise. | |
8679 | ||
a19b1432 JH |
8680 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
8681 | ||
8682 | PR lto/45375 | |
ddf9322d UB |
8683 | * ipa-inline.c (ipa_inline): Remove extern inlines and virtual |
8684 | functions. | |
a19b1432 JH |
8685 | * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data. |
8686 | ||
9a002da8 RS |
8687 | 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com> |
8688 | ||
8689 | PR middle-end/55114 | |
8690 | * expr.h (maybe_emit_group_store): Declare. | |
8691 | * expr.c (maybe_emit_group_store): New function. | |
8692 | * builtins.c (expand_builtin_int_roundingfn): Call it. | |
8693 | (expand_builtin_int_roundingfn_2): Likewise. | |
8694 | ||
511dcace VM |
8695 | 2013-01-09 Vladimir Makarov <vmakarov@redhat.com> |
8696 | ||
e1f2b729 | 8697 | PR rtl-optimization/55829 |
511dcace VM |
8698 | * lra-constraints.c (match_reload): Add code for absent output. |
8699 | (curr_insn_transform): Add code for reloads of matched inputs | |
8700 | without output. | |
8701 | ||
7b0fe4f4 UB |
8702 | 2013-01-09 Uros Bizjak <ubizjak@gmail.com> |
8703 | ||
8704 | * config/i386/sse.md (*vec_interleave_highv2df): Change mode | |
8705 | attribute of movddup insn to DF. | |
8706 | (*vec_interleave_lowv2df): Ditto. | |
8707 | (vec_dupv2df): Ditto. | |
8708 | ||
870ca331 JH |
8709 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
8710 | ||
8711 | PR tree-optimiation/55875 | |
8712 | * tree-ssa-loop-niter.c (number_of_iterations_cond): Add | |
8713 | EVERY_ITERATION parameter. | |
7b0fe4f4 | 8714 | (number_of_iterations_exit): Check if exit is executed every iteration. |
870ca331 JH |
8715 | (idx_infer_loop_bounds): Similarly here. |
8716 | (n_of_executions_at_most): Simplify | |
8717 | to only test for cases where statement is dominated by the | |
7b0fe4f4 | 8718 | particular bound; handle correctly the "postdominance" test. |
870ca331 JH |
8719 | (scev_probably_wraps_p): Use max loop iterations info |
8720 | as a global bound first. | |
8721 | ||
6f575fe4 | 8722 | 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com> |
3cd232b5 NDD |
8723 | Nick Clifton <nickc@redhat.com> |
8724 | ||
8725 | * config/v850/v850.md (cbranchsf4): New pattern. | |
8726 | (cstoresf4): New pattern. | |
8727 | (cbranchdf4): New pattern. | |
8728 | (cstoredf4): New pattern. | |
8729 | (movsicc): Disallow floating point comparisons. | |
8730 | (cmpsf_le_insn): Fix order of operators. | |
8731 | (cmpsf_lt_insn): Likewise. | |
8732 | (cmpsf_eq_insn): Likewise. | |
8733 | (cmpdf_le_insn): Likewise. | |
8734 | (cmpdf_lt_insn): Likewise. | |
8735 | (cmpdf_eq_insn): Likewise. | |
8736 | (cmpsf_ge_insn): Use LE comparison. | |
8737 | (cmpdf_ge_insn): Likewise. | |
8738 | (cmpsf_gt_insn): Use LT comparison. | |
8739 | (cmpdf_gt_insn): Likewise. | |
8740 | (cmpsf_ne_insn): Delete pattern. | |
8741 | (cmpdf_ne_insn): Delete pattern. | |
8742 | * config/v850/v850.c (v850_gen_float_compare): Use | |
8743 | gen_cmpdf_eq_insn for NE comparison. | |
8744 | (v850_float_z_comparison_operator) | |
8745 | (v850_float_nz_comparison_operator): Move from here ... | |
8746 | * config/v850/predicates.md: ... to here. Move GT and GE | |
8747 | comparisons into v850_float_z_comparison_operator. | |
8748 | * config/v850/v850-protos.h (v850_float_z_comparison_operator): | |
8749 | Delete prototype. | |
8750 | (v850_float_nz_comparison_operator): Likewise. | |
8751 | ||
f0d54148 JDA |
8752 | 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8753 | ||
8754 | * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv | |
8755 | with calls to gen_insvsi/gen_insvdi. | |
8756 | ||
8f01beca VK |
8757 | 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
8758 | ||
8759 | * config/i386/i386.c (initial_ix86_tune_features): Set up | |
8760 | X86_TUNE_AVX128_OPTIMAL for m_BTVER2. | |
8761 | ||
2aa579ad JJ |
8762 | 2013-01-09 Steven Bosscher <steven@gcc.gnu.org> |
8763 | Jakub Jelinek <jakub@redhat.com> | |
8764 | ||
8765 | PR tree-optimization/48189 | |
8766 | * predict.c (predict_loops): If max is 0, don't call compare_tree_int. | |
8767 | If nitercst is 0, don't predict the exit edge. | |
8768 | ||
6edc3e32 | 8769 | 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
01a3a324 N |
8770 | |
8771 | * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r | |
8772 | in asm_fprintf with reg_names. | |
8773 | (aarch64_print_operand_address): Likewise. | |
8774 | (aarch64_return_addr): Likewise. | |
8775 | * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove. | |
8776 | ||
f6f94d94 JDA |
8777 | 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8778 | ||
8779 | * config/pa/pa.h (VAL_U6_BITS_P): Define. | |
8780 | (INT_U6_BITS): Likewise. | |
8781 | * config/pa/predicates.md (uint6_operand): New predicate. | |
8782 | (shift5_operand, shift6_operand): Likewise. | |
8783 | * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of | |
8784 | arith32_operand. | |
8785 | (lshrdi3): Use shift6_operand. | |
8786 | (shrpsi4, shrpdi4): New insn patterns. | |
8787 | (extzv): Delete expander. | |
8788 | (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand | |
8789 | predicates in unamed zero extract patterns. Tighten common constraint. | |
8790 | (extv): Delete expander. | |
8791 | (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand | |
8792 | predicates in unamed sign extract patterns. Tighten common constraint. | |
8793 | (insv): Delete expander. | |
8794 | (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand | |
8795 | predicates in unamed insert patterns. Tighten common constraint. | |
8796 | Change uint32_operand predicate to uint6_operand predicate in unamed | |
8797 | DImode pattern to insert constant values of type 1...1xxxx. | |
8798 | ||
36b72910 JH |
8799 | 2013-01-04 Jan Hubicka <jh@suse.cz> |
8800 | ||
8801 | PR tree-optimization/55823 | |
7b0fe4f4 UB |
8802 | * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering |
8803 | issue. | |
36b72910 | 8804 | |
47876a2a | 8805 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
c6d851b9 JJ |
8806 | Uros Bizjak <ubizjak@gmail.com> |
8807 | ||
8808 | PR rtl-optimization/55845 | |
8809 | * df-problems.c (can_move_insns_across): Stop scanning at | |
8810 | volatile_insn_p source instruction or give up if | |
8811 | across_from .. across_to range contains any volatile_insn_p | |
8812 | instructions. | |
8813 | ||
4369c11e TB |
8814 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
8815 | ||
7b0fe4f4 UB |
8816 | * config/aarch64/aarch64-simd.md (vec_init<mode>): New. |
8817 | * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init): | |
8818 | Declare. | |
4369c11e | 8819 | * config/aarch64/aarch64.c (aarch64_simd_dup_constant, |
7b0fe4f4 | 8820 | aarch64_simd_make_constant, aarch64_expand_vector_init): New. |
4369c11e | 8821 | |
aeb7e7c1 JJ |
8822 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
8823 | ||
8824 | PR fortran/55341 | |
8825 | * asan.c (asan_clear_shadow): New function. | |
8826 | (asan_emit_stack_protection): Use it. | |
8827 | ||
a02ad1aa TB |
8828 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
8829 | ||
8830 | * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>, | |
8831 | aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand | |
8832 | with tab instead of space. | |
8833 | ||
f90d87f5 NC |
8834 | 2013-01-08 Nick Clifton <nickc@redhat.com> |
8835 | ||
8836 | * config/rl78/rl78.c (rl78_expand_prologue): Always select | |
8837 | register bank 0 at the start of an interrupt handler. | |
83ffd964 NC |
8838 | * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and |
8839 | MDBH registers. | |
f90d87f5 | 8840 | |
385eb93d JG |
8841 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
8842 | ||
8843 | * config/aarch64/aarch64-simd.md | |
8844 | (aarch64_simd_bsl<mode>_internal): Add floating-point modes. | |
8845 | (aarch64_simd_bsl): Likewise. | |
8846 | (aarch64_vcond_internal<mode>): Likewise. | |
8847 | (vcond<mode><mode>): Likewise. | |
8848 | (aarch64_cm<cmp><mode>): Fix constraints, add new modes. | |
8849 | * config/aarch64/iterators.md (V_cmp_result): Add V2DF. | |
8850 | ||
4dcd1054 JG |
8851 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
8852 | ||
8853 | * config/aarch64/aarch64-builtins.c | |
8854 | (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf. | |
8855 | ||
4267a4a6 MJ |
8856 | 2013-01-08 Martin Jambor <mjambor@suse.cz> |
8857 | ||
8858 | PR debug/55579 | |
8859 | * tree-sra.c (analyze_access_subtree): Return true also after | |
8860 | potentially creating a debug-only replacement. | |
8861 | ||
5f4e6de3 JJ |
8862 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
8863 | ||
3138f224 JJ |
8864 | PR middle-end/55890 |
8865 | * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p. | |
8866 | ||
5f4e6de3 JJ |
8867 | PR tree-optimization/54120 |
8868 | * tree-vrp.c (range_fits_type_p): Don't allow | |
8869 | src_precision < precision from signed vr to unsigned_p | |
8870 | if vr->min or vr->max is negative. | |
8871 | (simplify_float_conversion_using_ranges): Test can_float_p | |
8872 | against CODE_FOR_nothing. | |
8873 | ||
f3ef18ff JJ |
8874 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
8875 | Richard Biener <rguenther@suse.de> | |
8876 | ||
8877 | PR middle-end/55851 | |
8878 | * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P | |
8879 | types instead of just INTEGER_TYPE types. | |
8880 | ||
25c210f9 MK |
8881 | 2013-01-07 Mark Kettenis <kettenis@openbsd.org> |
8882 | ||
8883 | * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, | |
8884 | TF_SIZE): Define. | |
f90d87f5 | 8885 | |
81826a7b SE |
8886 | 2013-01-07 Steve Ellcey <sellcey@mips.com> |
8887 | ||
8888 | PR target/42661 | |
8889 | * config/mips/mips.opt: Change mad to mmad to match documentation. | |
8890 | ||
35678514 GJL |
8891 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
8892 | ||
8893 | PR target/55897 | |
8894 | * doc/extend.texi (AVR Named Address Spaces): __memx goes into | |
8895 | .progmemx.data now. | |
8896 | ||
e5669488 GJL |
8897 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
8898 | ||
8899 | PR target/55897 | |
8900 | * config/avr/avr.h (ADDR_SPACE_COUNT): New enum. | |
8901 | (avr_addrspace_t): Add .section_name field. | |
8902 | * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as | |
8903 | array size. | |
8904 | (avr_addrspace): Same. Initialize .section_name. Remove last | |
8905 | NULL entry. Put __memx into .progmemx.data. | |
8906 | (progmem_section_prefix): Remove. | |
8907 | (avr_asm_init_sections): No need to initialize progmem_section. | |
8908 | (avr_asm_named_section): Use avr_addrspace[].section_name to get | |
8909 | section name prefix. | |
8910 | (avr_asm_select_section): Ditto. And use get_unnamed_section to | |
8911 | retrieve the progmem section. | |
8912 | * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop | |
8913 | boundary to run over avr_addrspace[]. | |
8914 | (avr_register_target_pragmas): Ditto. | |
8915 | ||
656e6f37 JJ |
8916 | 2013-01-06 Jakub Jelinek <jakub@redhat.com> |
8917 | ||
8918 | * varasm.c (output_constant_def_contents): For asan_protect_global | |
8919 | protected strings, adjust DECL_ALIGN if needed, before testing for | |
8920 | anchored symbols. | |
8921 | (place_block_symbol): Adjust size for asan protected STRING_CSTs if | |
8922 | TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected | |
8923 | normal decls. | |
8924 | (output_object_block): For asan protected decls, emit asan padding | |
8925 | after their contents. | |
8926 | * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here. | |
8927 | (asan_finish_file): Test it here instead. | |
8928 | ||
6edc3e32 UB |
8929 | 2013-01-07 Nick Clifton <nickc@redhat.com> |
8930 | Matthias Klose <doko@debian.org> | |
8931 | Doug Kwan <dougkwan@google.com> | |
8932 | H.J. Lu <hongjiu.lu@intel.com> | |
b352afba NC |
8933 | |
8934 | PR driver/55470 | |
8935 | * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold. | |
8936 | ||
8937 | * common.opt: Add fuse-ld=bfd and fuse-ld=gold. | |
8938 | ||
8939 | * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2. | |
8940 | ||
7b0fe4f4 | 8941 | * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold. |
b352afba NC |
8942 | |
8943 | * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold. | |
8944 | ||
2a095093 GJL |
8945 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
8946 | ||
f3b503f4 | 8947 | PR target/54461 |
2a095093 GJL |
8948 | * doc/install.texi (Cross-Compiler-Specific Options): Document |
8949 | --with-avrlibc. | |
8950 | ||
383f9b34 TB |
8951 | 2013-01-07 Tejas Belagod <tejas.belagod@arm.com> |
8952 | ||
8953 | * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32, | |
8954 | vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64, | |
8955 | vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16, | |
8956 | vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32, | |
8957 | vqmovun_high_s64): Fix source operand number and update copyright. | |
8958 | ||
3626621a RB |
8959 | 2013-01-07 Richard Biener <rguenther@suse.de> |
8960 | ||
8961 | PR middle-end/55890 | |
8962 | * gimple.h (gimple_call_builtin_p): New overload. | |
8963 | * gimple.c (validate_call): New function. | |
8964 | (gimple_call_builtin_p): Likewise. | |
8965 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
8966 | Use gimple_call_builtin_p. | |
8967 | (find_func_clobbers): Likewise. | |
8968 | * tree-ssa-strlen.c (adjust_last_stmt): Likewise. | |
8969 | (strlen_optimize_stmt): Likewise. | |
8970 | ||
8b2ea410 JG |
8971 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
8972 | ||
8973 | * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const. | |
8974 | (vld1q_dup_*): Likewise. | |
8975 | (vld1_*): Likewise. | |
8976 | (vld1q_*): Likewise. | |
8977 | (vld1_lane_*): Likewise. | |
8978 | (vld1q_lane_*): Likewise. | |
8979 | ||
9713d329 RB |
8980 | 2013-01-07 Richard Biener <rguenther@suse.de> |
8981 | ||
8982 | * lto-streamer.h (LTO_minor_version): Bump to 2. | |
8983 | ||
3520f7cc JG |
8984 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
8985 | ||
8986 | * config/aarch64/aarch64-protos.h | |
8987 | (aarch64_const_double_zero_rtx_p): Rename to... | |
8988 | (aarch64_float_const_zero_rtx_p): ...this. | |
8989 | (aarch64_float_const_representable_p): New. | |
8990 | (aarch64_output_simd_mov_immediate): Likewise. | |
8991 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor | |
8992 | move immediate case. | |
8993 | * config/aarch64/aarch64.c | |
8994 | (aarch64_const_double_zero_rtx_p): Rename to... | |
8995 | (aarch64_float_const_zero_rtx_p): ...this. | |
8996 | (aarch64_print_operand): Allow printing of new constants. | |
8997 | (aarch64_valid_floating_const): New. | |
8998 | (aarch64_legitimate_constant_p): Check for valid floating-point | |
8999 | constants. | |
9000 | (aarch64_simd_valid_immediate): Likewise. | |
9001 | (aarch64_vect_float_const_representable_p): New. | |
9002 | (aarch64_float_const_representable_p): Likewise. | |
9003 | (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0. | |
9004 | (aarch64_output_simd_mov_immediate): New. | |
9005 | * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative. | |
9006 | (*movdf_aarch64): Likewise. | |
9007 | * config/aarch64/constraints.md (Ufc): New. | |
9008 | (Y): call aarch64_float_const_zero_rtx. | |
9009 | * config/aarch64/predicates.md (aarch64_fp_compare_operand): New. | |
9010 | ||
e167c04d RB |
9011 | 2013-01-07 Richard Biener <rguenther@suse.de> |
9012 | ||
9013 | PR tree-optimization/55888 | |
9014 | PR tree-optimization/55862 | |
9015 | * tree-ssa-pre.c (phi_translate_1): Revert previous change. | |
9016 | (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT, | |
9017 | not if it is contained therein. | |
9018 | ||
0139aaab GJL |
9019 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
9020 | ||
9021 | * config/avr/t-avr: Typo. | |
9022 | ||
4a176b23 GJL |
9023 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
9024 | ||
9025 | PR55243 | |
9026 | * config/avr/t-avr: Don't automatically rebuild | |
9027 | $(srcdir)/config/avr/t-multilib | |
9028 | $(srcdir)/config/avr/avr-tables.opt | |
9029 | $(srcdir)/doc/avr-mmcu.texi | |
9030 | (avr-mcus): New phony target to build them on request. | |
9031 | (s-avr-mlib, s-avr-mmcu-texi): Remove. | |
9032 | * avr/avr-mcus.def: Adjust comments. | |
9033 | ||
c7afdc98 UB |
9034 | 2013-01-07 Uros Bizjak <ubizjak@gmail.com> |
9035 | ||
9036 | * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove. | |
9037 | ||
1ab05c31 RS |
9038 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
9039 | ||
9040 | * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder. | |
9041 | ||
488e3acc RS |
9042 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
9043 | ||
9044 | * config/tilepro/gen-mul-tables.cc: Put copyright on one line. | |
9045 | ||
a89599d2 DE |
9046 | 2013-01-05 David Edelsohn <dje.gcc@gmail.com> |
9047 | ||
9048 | * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling | |
9049 | to generate profiling. | |
9050 | * config/rs6000/aix64.h (LIB_SPEC): Same. | |
9051 | ||
70f09188 AP |
9052 | 2013-01-04 Andrew Pinski <apinski@cavium.com> |
9053 | ||
9054 | * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs): | |
9055 | New function. | |
9056 | (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
9057 | ||
918d445f UB |
9058 | 2013-01-04 Uros Bizjak <ubizjak@gmail.com> |
9059 | ||
9060 | * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode | |
9061 | unconditionally. | |
9062 | (ix86_expand_move): Ditto. | |
9063 | (ix86_zero_extend_to_Pmode): Ditto. | |
9064 | (ix86_expand_call): Ditto. | |
9065 | (ix86_expand_special_args_builtin): Ditto. | |
9066 | (ix86_expand_builtin): Ditto. | |
9067 | ||
361618ec RB |
9068 | 2013-01-04 Richard Biener <rguenther@suse.de> |
9069 | ||
9070 | PR tree-optimization/55862 | |
9071 | * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after | |
9072 | translating them through PHI nodes. | |
9073 | ||
87eab554 MJ |
9074 | 2013-01-04 Martin Jambor <mjambor@suse.cz> |
9075 | ||
9076 | PR tree-optimization/55755 | |
9077 | * tree-sra.c (sra_modify_assign): Do not check that an access has no | |
9078 | children when trying to avoid producing a VIEW_CONVERT_EXPR. | |
9079 | ||
33879b9f MP |
9080 | 2013-01-04 Marek Polacek <polacek@redhat.com> |
9081 | ||
9082 | PR middle-end/55859 | |
9083 | * opts.c (default_options_optimization): Clarify error message. | |
9084 | ||
3068819a RB |
9085 | 2013-01-04 Richard Biener <rguenther@suse.de> |
9086 | ||
9087 | PR middle-end/55863 | |
9088 | * fold-const.c (split_tree): Undo -X - 1 to ~X folding for | |
9089 | reassociation. | |
9090 | ||
0e4ae794 JDA |
9091 | 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
9092 | ||
9093 | PR target/53789 | |
9094 | * config/pa/pa.md (movsi): Revert previous change. | |
e58d2e48 JDA |
9095 | * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol |
9096 | references. | |
0e4ae794 | 9097 | |
65c88cef RH |
9098 | 2013-01-03 Richard Henderson <rth@redhat.com> |
9099 | ||
9100 | * config/i386/i386.c (ix86_expand_move): Always assign to op1 | |
9101 | after eliminating TLS symbols. | |
9102 | ||
8ac16127 MG |
9103 | 2013-01-03 Marc Glisse <marc.glisse@inria.fr> |
9104 | ||
9105 | PR bootstrap/50167 | |
9106 | * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf. | |
9107 | * graphite-poly.c (debug_gmp_value): Likewise. | |
9108 | ||
bb664f09 UB |
9109 | 2013-01-03 Uros Bizjak <ubizjak@gmail.com> |
9110 | ||
9111 | PR target/55712 | |
9112 | * config/i386/i386-c.c (ix86_target_macros_internal): Depending on | |
9113 | selected code model, define __code_mode_small__, __code_model_medium__, | |
9114 | __code_model_large__, __code_model_32__ or __code_model_kernel__. | |
9115 | * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix | |
9116 | xchg temporary register with %k. Declare temporary register as | |
9117 | early clobbered. | |
9118 | [__x86_64__]: For medium and large code models, preserve %rbx register. | |
9119 | ||
bcf1ef00 RB |
9120 | 2013-01-03 Richard Biener <rguenther@suse.de> |
9121 | ||
0506634a | 9122 | * tree-data-ref.c (dump_conflict_function): Use less vertical spacing. |
bcf1ef00 RB |
9123 | (dump_subscript): Adjust. |
9124 | (finalize_ddr_dependent): Do not dump redundant info. | |
9125 | (analyze_siv_subscript): Adjust. | |
9126 | (subscript_dependence_tester): Likewise. | |
9127 | (compute_affine_dependence): Likewise. | |
9128 | ||
59fd17e3 RB |
9129 | 2013-01-03 Richard Biener <rguenther@suse.de> |
9130 | ||
9131 | Revert | |
9132 | 2013-01-03 Richard Biener <rguenther@suse.de> | |
9133 | ||
9134 | PR tree-optimization/55857 | |
9135 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
9136 | re-alignment for invariant loads. | |
9137 | ||
9138 | 2013-01-02 Richard Biener <rguenther@suse.de> | |
9139 | ||
9140 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 9141 | invariant load do not generate a vector load from the scalar location. |
59fd17e3 | 9142 | |
595c2679 RB |
9143 | 2013-01-03 Richard Biener <rguenther@suse.de> |
9144 | ||
9145 | * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason | |
9146 | for not vectorizing. | |
9147 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do | |
9148 | not build INDIRECT_REFs, call get_name once only. | |
9149 | (vect_create_data_ref_ptr): Likewise. Dump base object kind | |
9150 | based on DR_BASE_OBJECT, not DR_BASE_ADDRESS. | |
9151 | ||
90bb7d7a RB |
9152 | 2013-01-03 Richard Biener <rguenther@suse.de> |
9153 | ||
9154 | PR tree-optimization/55857 | |
9155 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
9156 | re-alignment for invariant loads. | |
9157 | ||
f09b77ca RB |
9158 | 2013-01-03 Richard Biener <rguenther@suse.de> |
9159 | ||
9160 | PR lto/55848 | |
9161 | * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always | |
9162 | prefer a built-in decl. | |
9163 | ||
3461a16e JJ |
9164 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
9165 | ||
df8e2b4f JJ |
9166 | * gcc.c (process_command): Update copyright notice dates. |
9167 | * gcov.c (print_version): Likewise. | |
9168 | * gcov-dump.c (print_version): Likewise. | |
9169 | ||
3461a16e JJ |
9170 | PR rtl-optimization/55838 |
9171 | * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on | |
9172 | iv0.step, iv1.step and step. | |
9173 | ||
8b5546d6 JJ |
9174 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
9175 | Marc Glisse <marc.glisse@inria.fr> | |
9176 | ||
9177 | PR tree-optimization/55832 | |
9178 | * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and | |
9179 | ABS_EXPR<x> < 0 folding use constant_boolean_node instead of | |
9180 | integer_{one,zero}_node. | |
9181 | ||
8ab1d2e9 JJ |
9182 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
9183 | ||
9184 | PR debug/54402 | |
9185 | * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param. | |
9186 | * var-tracking.c (reverse_op): Don't add reverse ops to | |
9187 | VALUEs that have already | |
0506634a | 9188 | PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list. |
8ab1d2e9 | 9189 | |
5b9ad1d4 GP |
9190 | 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com> |
9191 | ||
9192 | * doc/contrib.texi: Note years as release manager for Mark Mitchell. | |
9193 | ||
e25a6711 TJ |
9194 | 2013-01-02 Teresa Johnson <tejohnson@google.com> |
9195 | ||
9196 | * dumpfile.c (dump_loc): Print filename with location. | |
9197 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use | |
9198 | new location_t parameter to emit complete unroll message with | |
9199 | new dump framework. | |
9200 | (canonicalize_loop_induction_variables): Compute loops location | |
9201 | and pass to try_unroll_loop_completely. | |
9202 | * loop-unroll.c (report_unroll_peel): New function. | |
9203 | (peel_loops_completely): Use new dump format with location | |
9204 | for main dumpfile message, and invoke report_unroll_peel on success. | |
9205 | (decide_unrolling_and_peeling): Ditto. | |
9206 | (decide_peel_once_rolling): Remove old dumpfile message subsumed | |
9207 | by report_unroll_peel. | |
9208 | (decide_peel_completely): Ditto. | |
9209 | (decide_unroll_constant_iterations): Ditto. | |
9210 | (decide_unroll_runtime_iterations): Ditto. | |
9211 | (decide_peel_simple): Ditto. | |
9212 | (decide_unroll_stupid): Ditto. | |
9213 | * cfgloop.c (get_loop_location): New function. | |
9214 | * cfgloop.h (get_loop_location): Declare. | |
9215 | ||
77878621 ST |
9216 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
9217 | ||
9218 | * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for | |
9219 | NULL. | |
9220 | ||
9e65d03e JDA |
9221 | 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
9222 | ||
9223 | PR middle-end/55198 | |
9224 | * expr.c (expand_expr_real_1): Don't use bitfield extraction for non | |
9225 | BLKmode objects when EXPAND_MEMORY is specified. | |
9226 | ||
6a7da30f ST |
9227 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
9228 | ||
9229 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug | |
9230 | in loop predicate. | |
9231 | (fold_builtin_cpu): Do not share cpu model decls across statements. | |
9232 | ||
e78167f2 JM |
9233 | 2013-01-02 Jason Merrill <jason@redhat.com> |
9234 | ||
9235 | PR c++/55804 | |
9236 | * tree.c (build_array_type_1): Revert earlier change. | |
9237 | ||
8c075fb4 YZ |
9238 | 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com> |
9239 | ||
9240 | * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and | |
9241 | "cortex-a57". | |
9242 | * config/aarch64/aarch64-tune.md: Re-generate. | |
9243 | ||
0682ed3e RB |
9244 | 2013-01-02 Richard Biener <rguenther@suse.de> |
9245 | ||
9246 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 9247 | invariant load do not generate a vector load from the scalar location. |
0682ed3e | 9248 | |
b8f6a302 RB |
9249 | 2013-01-02 Richard Biener <rguenther@suse.de> |
9250 | ||
9251 | PR bootstrap/55784 | |
9252 | * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS. | |
9253 | * configure: Regenerate. | |
9254 | ||
04b80dbb RS |
9255 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
9256 | ||
9257 | * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2) | |
9258 | (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3) | |
9259 | (expand_builtin_int_roundingfn_2): Keep the original target around | |
9260 | for the fallback case. | |
9261 | ||
635b0b0c RS |
9262 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
9263 | ||
9264 | * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int | |
9265 | to be clear for sign changes. | |
9266 | ||
42d57399 JH |
9267 | 2013-01-01 Jan Hubicka <jh@suse.cz> |
9268 | ||
9269 | * ipa-inline-analysis.c: Fix formatting. | |
9270 | ||
5bb6669d JJ |
9271 | 2013-01-01 Jakub Jelinek <jakub@redhat.com> |
9272 | ||
9273 | PR tree-optimization/55831 | |
9274 | * tree-vect-loop.c (get_initial_def_for_induction): Use | |
9275 | gsi_after_labels instead of gsi_start_bb. | |
ad41bd84 | 9276 | \f |
86a2db33 | 9277 | Copyright (C) 2013 Free Software Foundation, Inc. |
ad41bd84 JM |
9278 | |
9279 | Copying and distribution of this file, with or without modification, | |
9280 | are permitted in any medium without royalty provided the copyright | |
9281 | notice and this notice are preserved. |