]>
Commit | Line | Data |
---|---|---|
5e8586d7 MM |
1 | 2013-09-23 Michael Meissner <meissner@linux.vnet.ibm.com> |
2 | ||
19c3e797 MM |
3 | * config/rs6000/rs6000.c (rs6000_vector_reload): Delete, combine |
4 | reload helper function arrays into a single array reg_addr. | |
5 | (reload_fpr_gpr): Likewise. | |
6 | (reload_gpr_vsx): Likewise. | |
7 | (reload_vsx_gpr): Likewise. | |
8 | (struct rs6000_reg_addr): Likewise. | |
9 | (reg_addr): Likewise. | |
10 | (rs6000_debug_reg_global): Change rs6000_vector_reload, | |
11 | reload_fpr_gpr, reload_gpr_vsx, reload_vsx_gpr uses to reg_addr. | |
12 | (rs6000_init_hard_regno_mode_ok): Likewise. | |
13 | (rs6000_secondary_reload_direct_move): Likewise. | |
14 | (rs6000_secondary_reload): Likewise. | |
15 | ||
5e8586d7 MM |
16 | * config/rs6000/rs6000.h (enum r6000_reg_class_enum): Add new |
17 | constraints: wu, ww, and wy. Repurpose wv constraint added during | |
18 | power8 changes. Put wg constraint in alphabetical order. | |
19 | ||
20 | * config/rs6000/rs6000.opt (-mvsx-scalar-float): New debug switch | |
21 | for future work to add ISA 2.07 VSX single precision support. | |
22 | (-mvsx-scalar-double): Change default from -1 to 1, update | |
23 | documentation comment. | |
24 | (-mvsx-scalar-memory): Rename debug switch to -mupper-regs-df. | |
25 | (-mupper-regs-df): New debug switch to control whether DF values | |
26 | can go in the traditional Altivec registers. | |
27 | (-mupper-regs-sf): New debug switch to control whether SF values | |
28 | can go in the traditional Altivec registers. | |
29 | ||
30 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print wu, ww, | |
31 | and wy constraints. | |
32 | (rs6000_init_hard_regno_mode_ok): Use ssize_t instead of int for | |
33 | loop variables. Rename -mvsx-scalar-memory to -mupper-regs-df. | |
34 | Add new constraints, wu/ww/wy. Repurpose wv constraint. | |
35 | (rs6000_debug_legitimate_address_p): Print if we are running | |
36 | before, during, or after reload. | |
37 | (rs6000_secondary_reload): Add a comment. | |
38 | (rs6000_opt_masks): Add -mupper-regs-df, -mupper-regs-sf. | |
39 | ||
40 | * config/rs6000/constraints.md (wa constraint): Sort w<x> | |
41 | constraints. Update documentation string. | |
42 | (wd constraint): Likewise. | |
43 | (wf constraint): Likewise. | |
44 | (wg constraint): Likewise. | |
45 | (wn constraint): Likewise. | |
46 | (ws constraint): Likewise. | |
47 | (wt constraint): Likewise. | |
48 | (wx constraint): Likewise. | |
49 | (wz constraint): Likewise. | |
50 | (wu constraint): New constraint for ISA 2.07 SFmode scalar | |
51 | instructions. | |
52 | (ww constraint): Likewise. | |
53 | (wy constraint): Likewise. | |
54 | (wv constraint): Repurpose ISA 2.07 constraint that we not used in | |
55 | the previous submissions. | |
56 | * doc/md.texi (PowerPC and IBM RS6000): Likewise. | |
57 | ||
e5af9ddd RS |
58 | 2013-09-23 Richard Sandiford <rdsandiford@googlemail.com> |
59 | ||
60 | * doc/rtl.texi (REG_NOTES): Say that int_list can also be used. | |
61 | (REG_BR_PROB): Say that the probability is stored in an int_list. | |
62 | * reg-notes.def: Update commentary to mention INT_LIST. | |
63 | * rtl.def (EXPR_LIST, INSN_LIST): Capitalize comments. | |
64 | (INT_LIST): New rtx. | |
65 | * rtl.h (add_int_reg_note, add_shallow_copy_of_reg_note): Declare. | |
66 | * rtlanal.c (int_reg_note_p): New function. | |
67 | (alloc_reg_note): Assert that the note does not have an int argument. | |
68 | (add_int_reg_note, add_shallow_copy_of_reg_note): New functions. | |
69 | * combine.c (distribute_notes): Use add_shallow_copy_of_rtx. | |
70 | * cse.c (cse_process_notes_1): Expect REG_EQUAL to be an EXPR_LIST | |
71 | rather than an INSN_LIST. Handle INT_LIST. | |
72 | * ifcvt.c (cond_exec_process_insns): Take the probability as an int | |
73 | rather than an rtx. Use gen_rtx_INT_LIST to create a REG_BR_PROB note. | |
74 | (cond_exec_process_if_block): Use XINT to extract REG_BR_PROB values. | |
75 | Manipulate them as ints rather than rtxes. | |
76 | * reg-stack.c (subst_asm_stack_regs): Only handle EXPR_LIST notes. | |
77 | * regmove.c (copy_src_to_dest): Likewise. | |
78 | * sched-vis.c (print_insn_with_notes): Handle INT_LIST. | |
79 | ||
80 | * config/i386/winnt.c (i386_pe_seh_unwind_emit): Sink pat assignment | |
81 | into the cases that need it. | |
82 | * config/arm/arm.c (arm_unwind_emit): Likewise. | |
83 | ||
84 | * asan.c (asan_clear_shadow): Use add_int_reg_note for REG_BR_PROB. | |
85 | * emit-rtl.c (try_split, emit_copy_of_insn_after): Likewise. | |
86 | * loop-doloop.c (add_test, doloop_modify): Likewise. | |
87 | * loop-unswitch.c (compare_and_jump_seq): Likewise. | |
88 | * optabs.c (emit_cmp_and_jump_insn_1): Likewise. | |
89 | * predict.c (combine_predictions_for_insn): Likewise. | |
90 | * print-rtl.c (print_rtx): Handle INT_LIST. | |
91 | * config/aarch64/aarch64.c (aarch64_emit_unlikely_jump): Likewise. | |
92 | * config/alpha/alpha.c (emit_unlikely_jump): Likewise. | |
93 | * config/arm/arm.c (emit_unlikely_jump): Likewise. | |
94 | * config/i386/i386.c (ix86_expand_split_stack_prologue): Likewise. | |
95 | (ix86_split_fp_branch, predict_jump): Likewise. | |
96 | * config/rs6000/rs6000.c (emit_unlikely_jump): Likewise. | |
97 | * config/sh/sh.c (expand_cbranchsi4): Likewise. | |
98 | * config/spu/spu.c (ea_load_store_inline): Likewise. | |
99 | ||
100 | * cfgbuild.c (compute_outgoing_frequencies): Use XINT to access the | |
101 | value of a REG_BR_PROB note. | |
102 | * cfgrtl.c (force_nonfallthru_and_redirect): Likewise. | |
103 | (update_br_prob_note, rtl_verify_edges, purge_dead_edges): Likewise. | |
104 | * emit-rtl.c (try_split): Likewise. | |
105 | * predict.c (br_prob_note_reliable_p): Likewise. | |
106 | (invert_br_probabilities, combine_predictions_for_insn): Likewise. | |
107 | * reorg.c (mostly_true_jump): Likewise. | |
108 | * config/bfin/bfin.c (cbranch_predicted_taken_p): Likewise. | |
109 | * config/frv/frv.c (frv_print_operand_jump_hint): Likewise. | |
110 | * config/i386/i386.c (ix86_print_operand): Likewise. | |
111 | * config/ia64/ia64.c (ia64_print_operand): Likewise. | |
112 | * config/mmix/mmix.c (mmix_print_operand): Likewise. | |
113 | * config/rs6000/rs6000.c (output_cbranch): Likewise. | |
114 | * config/s390/s390.c (s390_expand_tbegin): Likewise. | |
115 | * config/sh/sh.c (sh_print_operand, sh_adjust_cost): Likewise. | |
116 | * config/sparc/sparc.c (output_cbranch): Likewise. | |
117 | * config/spu/spu.c (get_branch_target): Likewise. | |
118 | * config/tilegx/tilegx.c (cbranch_predicted_p): Likewise. | |
119 | * config/tilepro/tilepro.c (cbranch_predicted_p): Likewise. | |
120 | ||
450ad0cd JH |
121 | 2013-09-23 Jan Hubicka <jh@suse.cz> |
122 | ||
123 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Add sanity check | |
124 | for ipa-devirt. | |
125 | * ipa-utils.h (possible_polymorphic_call_target_p): New function. | |
126 | * ipa-devirt.c (possible_polymorphic_call_target_p): Be tolerant | |
127 | of external calls | |
128 | * gimple-fold.c: Include ipa-utils.h and gimple-pretty-print.h | |
129 | (gimple_fold_call): Dump inconsistent devirtualizations; add | |
130 | sanity check for type based devirtualizations. | |
131 | * ipa-prop.c: Include ipa-utils.h | |
132 | (ipa_intraprocedural_devirtualization): Add sanity check. | |
133 | (try_make_edge_direct_virtual_call): Likewise. | |
134 | ||
cefce769 EB |
135 | 2013-09-23 Eric Botcazou <ebotcazou@adacore.com> |
136 | ||
137 | * tree-ssa-ccp.c (insert_clobber_before_stack_restore): Recurse on copy | |
138 | assignment statements. | |
139 | ||
a895a2b8 KV |
140 | 2013-09-23 Kugan Vivekanandarajah <kuganv@linaro.org> |
141 | ||
142 | * gimple-pretty-print.c (dump_ssaname_info): New function. | |
143 | (dump_gimple_phi): Call it. | |
144 | (pp_gimple_stmt_1): Likewise. | |
145 | * tree-core.h (tree_ssa_name): New union ssa_name_info_type field. | |
146 | (range_info_def): Declare. | |
147 | * tree-pretty-print.c (pp_double_int): New function. | |
148 | (dump_generic_node): Call it. | |
149 | * tree-pretty-print.h (pp_double_int): Declare. | |
150 | * tree-ssa-alias.c (dump_alias_info): Check pointer type. | |
151 | * tree-ssanames.h (range_info_def): New structure. | |
152 | (value_range_type): Move definition here. | |
153 | (set_range_info, value_range_type, duplicate_ssa_name_range_info): | |
154 | Declare. | |
155 | * tree-ssanames.c (make_ssa_name_fn): Check pointer type at | |
156 | initialization. | |
157 | (set_range_info): New function. | |
158 | (get_range_info): Likewise. | |
159 | (duplicate_ssa_name_range_info): Likewise. | |
160 | (duplicate_ssa_name_fn): Check pointer type and call | |
161 | duplicate_ssa_name_range_info. | |
162 | * tree-ssa-copy.c (fini_copy_prop): Likewise. | |
163 | * tree-vrp.c (value_range_type): Remove definition, now in | |
164 | tree-ssanames.h. | |
165 | (vrp_finalize): Call set_range_info to update value range of | |
166 | SSA_NAMEs. | |
167 | * tree.h (SSA_NAME_PTR_INFO): Macro changed to access via union. | |
168 | (SSA_NAME_RANGE_INFO): New macro. | |
169 | ||
984af6ac RB |
170 | 2013-09-23 Richard Biener <rguenther@suse.de> |
171 | ||
172 | PR tree-optimization/58464 | |
173 | * tree-ssa-pre.c (phi_trans_lookup): Remove. | |
174 | (phi_trans_add): Change to add conditionally on being not | |
175 | present. | |
176 | (phi_translate_1): Remove recursion detection here. | |
177 | (phi_translate): Pre-seed the cache with NULL to catch | |
178 | recursion here in a more generic way. | |
179 | (bitmap_find_leader): Adjust comment. | |
180 | (get_representative_for): Dump value-numbers. | |
181 | (create_expression_by_pieces): Likewise. | |
182 | (insert_into_preds_of_block): Likewise. | |
183 | ||
0e26cf79 CB |
184 | 2013-09-23 Christian Bruel <christian.bruel@st.com> |
185 | ||
186 | PR target/58475 | |
187 | * config/sh/sh.md (movsf_ie): Allow fpul_operand. | |
188 | * config/sh/predicate.md (arith_reg_operand): Disallow FPUL_REG. | |
189 | ||
4d0e5b54 JG |
190 | 2013-09-23 James Greenhalgh <james.greenhalgh@arm.com> |
191 | ||
192 | Revert r202780: | |
193 | 2013-09-20 Renlin Li <renlin.li@arm.com> | |
194 | ||
195 | * config/aarch64/aarch64.c (aarch64_expand_prologue): Use plus_constant. | |
196 | (aarch64_expand_epilogue): Likewise. | |
197 | (aarch64_legitimize_reload_address): Likewise. | |
198 | ||
ca081cc8 EB |
199 | 2013-09-22 Eric Botcazou <ebotcazou@adacore.com> |
200 | ||
201 | * gimplify.c (gimplify_asm_expr): Reset the TREE_CHAIN of clobbers to | |
202 | NULL_TREE before pushing them onto the vector. Likewise for labels. | |
203 | ||
8fc53a5f EB |
204 | 2013-09-21 Eric Botcazou <ebotcazou@adacore.com> |
205 | ||
206 | * config/ia64/predicates.md (ia64_cbranch_operator): Accept unordered | |
207 | comparison operators when -fno-trapping-math is in effect. | |
208 | * config/ia64/ia64.c (ia64_expand_compare): Add support for unordered | |
209 | comparison operators in TFmode and assert that unsupported operators | |
210 | cannot reach here. | |
211 | (ia64_print_operand): Likewise. | |
212 | ||
213 | 2013-09-21 Jan Hubicka <jh@suse.cz> | |
0ca6c49f JH |
214 | |
215 | * x86-tune.def (partial_reg_stall): Disable for CoreI7 and newer. | |
216 | (sse_typeless_stores): Enable for core | |
217 | (sse_load0_by_pxor): Likewise. | |
218 | (four_jump_limit): Disable for core. | |
219 | (pad_returns): Likewise. | |
220 | (avoid_vector_decode): Likewise. | |
221 | (fuse_cmp_and_branch): Enable for cores. | |
222 | * i386.c (x86_accumulate_outgoing_args): Disable for cores. | |
223 | ||
578e51e6 JDA |
224 | 2013-09-20 John David Anglin <danglin@gcc.gnu.org> |
225 | ||
96ce28a3 JDA |
226 | PR middle-end/56791 |
227 | * config/pa/pa.c (pa_option_override): Disable auto increment and | |
228 | decrement instructions until reload is completed. | |
229 | ||
578e51e6 JDA |
230 | * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Define |
231 | __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2, | |
232 | and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4. | |
233 | ||
6fcd3a13 DD |
234 | 2013-09-20 DJ Delorie <dj@redhat.com> |
235 | Nick Clifton <nickc@redhat.com> | |
236 | ||
237 | * config/rl78/rl78.c: Various whitespace and comment tweaks. | |
238 | (need_to_save): Save bank 0 on interrupts. | |
239 | (characterize_address): Strip far address wrappers. | |
240 | (rl78_as_legitimate_address): Likewise. | |
241 | (transcode_memory_rtx): Likewise. | |
242 | (rl78_peep_movhi_p): Disable this peephole after devirt. | |
243 | (rl78_propogate_register_origins): Forget all origins when a | |
244 | CLOBBER is seen. | |
245 | * config/rl78/rl78-virt.md: Various whitespace tweaks. | |
246 | * config/rl78/rl78-real.md: Various whitespace tweaks. Additional | |
247 | peephole2's. | |
248 | * config/rl78/rl78.md (sel_rb): Disable for G10 just in case. | |
249 | * config/rl78/rl78-expand.md (movqi): Check for subregs of consts. | |
250 | * config/rl78/rl78.h (LINK_SPEC): Pass -gc-sections unless | |
251 | relocating. | |
252 | * config/rl78/constraints.md: Various whitespace and paren tweaks. | |
253 | ||
4a08db33 JDA |
254 | 2013-09-20 John David Anglin <danglin@gcc.gnu.org> |
255 | ||
256 | * config/pa/pa.md: In "scc" insn patterns, change output template to | |
257 | handle const0_rtx in reg_or_0_operand operands. | |
258 | ||
7691132c JBG |
259 | 2013-09-20 Martin Husemann <martin@NetBSD.org> |
260 | ||
261 | PR target/56875 | |
262 | * config/vax/vax.c (vax_output_int_move): Use D format specifier. | |
263 | * config/vax/vax.md (ashldi3, <unnamed>): Ditto. | |
264 | ||
a3cc13cc RB |
265 | 2013-09-20 Richard Biener <rguenther@suse.de> |
266 | ||
267 | PR middle-end/58484 | |
268 | * tree-scalar-evolution.c (struct scev_info_str): Shrink by | |
269 | remembering SSA name version and block index. | |
270 | (new_scev_info_str): Adjust. | |
271 | (hash_scev_info): Likewise. Also hash the block index. | |
272 | (eq_scev_info): Adjust. | |
273 | (find_var_scev_info): Likewise. | |
274 | (struct instantiate_cache_entry): Remove. | |
275 | (struct instantiate_cache_type): Use a htab to map name, block | |
276 | to chrec. | |
277 | (instantiate_cache_type::~instantiate_cache_type): Adjust. | |
278 | (get_instantiated_value_entry): Likewise. | |
279 | (hash_idx_scev_info, eq_idx_scev_info): New functions. | |
280 | (instantiate_scev_name): Adjust. | |
281 | ||
925f3871 JL |
282 | 2013-09-20 Jeff Law <law@redhat.com> |
283 | ||
284 | * tree-ssa-dom.c (record_temporary_equivalences): Add comment. | |
285 | ||
2888c331 YZ |
286 | 2013-09-20 Yufeng Zhang <yufeng.zhang@arm.com> |
287 | ||
288 | * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): | |
289 | Call aarch64_simd_expand_args to update op[argc]. | |
290 | ||
0a811e96 BS |
291 | 2013-09-20 Basile Starynkevitch <basile@starynkevitch.net> |
292 | ||
293 | * plugin.c (parse_plugin_arg_opt): Accept equal sign inside | |
294 | plugin argument. | |
295 | ||
0078f462 BS |
296 | 2013-09-20 Basile Starynkevitch <basile@starynkevitch.net> |
297 | ||
298 | * gengtype.c (file_rules): Added rule for *.cc files. | |
299 | (get_output_file_with_visibility): Give fatal message when no | |
300 | rules found. | |
301 | ||
d20e48b0 RL |
302 | 2013-09-20 Renlin Li <renlin.li@arm.com> |
303 | ||
304 | * config/aarch64/aarch64.c (aarch64_expand_prologue): Use plus_constant. | |
305 | (aarch64_expand_epilogue): Likewise. | |
306 | (aarch64_legitimize_reload_address): Likewise. | |
307 | ||
59bb1544 BE |
308 | 2013-09-20 Bernd Edlinger <bernd.edlinger@hotmail.de> |
309 | ||
310 | PR middle-end/57748 | |
311 | * expr.c (expand_assignment): Remove misalignp code path. | |
312 | ||
a5430019 MP |
313 | 2013-09-20 Marek Polacek <polacek@redhat.com> |
314 | ||
315 | PR sanitizer/58413 | |
316 | * ubsan.c (get_ubsan_type_info_for_type): Use TYPE_SIZE instead of | |
317 | TYPE_PRECISION. Add asserts. | |
318 | ||
9fed7f3a RB |
319 | 2013-09-20 Richard Biener <rguenther@suse.de> |
320 | ||
321 | PR tree-optimization/58453 | |
322 | * tree-loop-distribution.c (distribute_loop): Apply the cost | |
323 | model for -ftree-loop-distribute-patterns, too. | |
324 | ||
a820c834 RB |
325 | 2013-09-20 Richard Biener <rguenther@suse.de> |
326 | ||
327 | PR middle-end/58473 | |
328 | * tree-chrec.h (build_polynomial_chrec): Use gcc_checking_assert, | |
329 | make type comparison less strict. | |
330 | ||
3cbe17f7 AM |
331 | 2013-09-20 Alan Modra <amodra@gmail.com> |
332 | ||
333 | * configure: Regenerate. | |
334 | * aclocal.m4: Regenerate. | |
335 | ||
87fccdbb MP |
336 | 2013-09-20 Marek Polacek <polacek@redhat.com> |
337 | ||
338 | PR other/58467 | |
339 | * doc/extend.texi: Document that attribute used is meant to be used | |
340 | on variables with static storage duration. | |
341 | ||
8928eff3 JJ |
342 | 2013-09-19 Jakub Jelinek <jakub@redhat.com> |
343 | ||
344 | PR tree-optimization/58472 | |
345 | * tree-vect-stmts.c (vectorizable_store, vectorizable_load): For | |
346 | simd_lane_access set inv_p = false. | |
347 | * omp-low.c (lower_rec_input_clauses): Set TREE_NO_WARNING on | |
348 | the simduid magic VAR_DECL. | |
349 | ||
b7b28c53 JH |
350 | 2013-09-19 Jan Hubicka <jh@suse.cz> |
351 | ||
352 | * i386.c (generic_memcpy, generic_memset): Fix 32bit template. | |
353 | ||
83ae86f5 JL |
354 | 2013-09-17 Jeff Law <law@redhat.com> |
355 | ||
356 | * tree-ssa-dom.c (record_temporary_equivalences): New function | |
357 | split out of dom_opt_dom_walker::after_dom_children. | |
358 | (dom_opt_dom_walker::thread_across_edge): Move common code | |
359 | in here from dom_opt_dom_walker::after_dom_children. | |
360 | (dom_opt_dom_walker::after_dom_children): Corresponding simplifictions. | |
361 | ||
9d532162 JH |
362 | 2013-09-19 Jan Hubicka <jh@suse.cz> |
363 | ||
364 | * i386.h (TARGET_GENERIC32, TARGET_GENERIC64): Remove. | |
365 | (TARGET_GENERIC): Use PROCESOR_GENERIC | |
366 | (enum processor_type): Unify generic32 and 64. | |
367 | * i386.md (cpu): Likewise. | |
368 | * x86-tune.def (use_leave): Enable for generic32. | |
369 | (avoid_vector_decode, slow_imul_imm32_mem, slow_imul_imm8): Likewise. | |
370 | * athlon.md: Change generic64 to generic in all occurences. | |
371 | * i386-c.c (ix86_target_macros_internal): Unify generic64 and 32. | |
372 | (ix86_target_macros_internal): Likewise. | |
373 | * driver-i386.c (host_detect_local_cpu): Likewise. | |
374 | * i386.c (generic64_memcpy, generic64_memset, generic64_cost): Rename to .. | |
375 | (generic_memcpy, generic_memset, generic_cost): This one. | |
376 | (generic32_memcpy, generic32_memset, generic32_cost): Remove. | |
377 | (m_GENERIC32, m_GENERIC64): Remove. | |
378 | (m_GENERIC): Turn into one flag. | |
379 | (processor_target): Unify generic tunnings. | |
380 | (ix86_option_override_internal): Replace generic32/64 by generic. | |
381 | (ix86_issue_rate): Likewise. | |
382 | (ix86_adjust_cost): Likewise. | |
383 | ||
188c7d00 JH |
384 | 2013-09-19 Jan Hubicka <jh@suse.cz> |
385 | ||
386 | * cgraph.c (cgraph_create_edge_1): Avoid uninitialized read | |
387 | of speculative flag. | |
388 | ||
4befd127 JJ |
389 | 2013-09-19 Jakub Jelinek <jakub@redhat.com> |
390 | ||
391 | * omp-low.c (expand_omp_sections): Always pass len - 1 to | |
392 | GOMP_sections_start, even if !exit_reachable. | |
393 | ||
8a26ad39 VM |
394 | 2013-09-18 Vladimir Makarov <vmakarov@redhat.com> |
395 | ||
396 | * lra-constraints.c (need_for_all_save_p): Use macro | |
397 | HARD_REGNO_CALL_PART_CLOBBERED. | |
398 | * lra-lives.c (check_pseudos_live_through_calls): Use the macro to | |
399 | set up pseudo conflict hard regs. | |
400 | ||
09487185 MM |
401 | 2013-09-18 Michael Meissner <meissner@linux.vnet.ibm.com> |
402 | ||
403 | PR target/58452 | |
404 | * config/rs6000/paired.md (movmisalignv2sf): Fix to allow memory | |
405 | operands. | |
406 | ||
080cbf9e VM |
407 | 2013-09-18 Vladimir Makarov <vmakarov@redhat.com> |
408 | ||
409 | PR rtl-optimization/58438 | |
410 | * lra.c (lra): Clear lra_optional_reload_pseudos in upper loop. | |
411 | * lra-constraints.c (undo_optional_reloads): Keep optional reloads | |
412 | from previous subpasses. | |
413 | ||
a0f70fcb RE |
414 | 2013-09-18 Richard Earnshaw <rearnsha@arm.com> |
415 | ||
416 | * arm.c (arm_get_frame_offsets): Validate architecture supports | |
417 | LDRD/STRD before accepting the tuning preference. | |
418 | (arm_expand_prologue): Likewise. | |
419 | (arm_expand_epilogue): Likewise. | |
420 | ||
0547c9b6 RB |
421 | 2013-09-18 Richard Biener <rguenther@suse.de> |
422 | ||
423 | PR tree-optimization/58417 | |
424 | * tree-chrec.c (chrec_fold_plus_1): Assert that we do not | |
425 | have chrecs with symbols defined in the loop as operands. | |
426 | (chrec_fold_multiply): Likewise. | |
427 | * tree-scalar-evolution.c (interpret_rhs_expr): Instantiate | |
428 | parameters before folding binary operations. | |
429 | (struct instantiate_cache_entry_hasher): Remove. | |
430 | (struct instantiate_cache_type): Use a pointer-map. | |
431 | (instantiate_cache_type::instantiate_cache_type): New function. | |
432 | (instantiate_cache_type::get): Likewise. | |
433 | (instantiate_cache_type::set): Likewise. | |
434 | (instantiate_cache_type::~instantiate_cache_type): Adjust. | |
435 | (get_instantiated_value_entry): Likewise. | |
436 | (global_cache): New global. | |
437 | (instantiate_scev_r, instantiate_scev_poly, instantiate_scev_binary, | |
438 | instantiate_array_ref, instantiate_scev_convert, instantiate_scev_3, | |
439 | instantiate_scev_2, instantiate_scev_1): Do not pass along cache. | |
440 | (instantiate_scev_name): Adjust. | |
441 | (instantiate_scev): Construct global instead of local cache. | |
442 | (resolve_mixers): Likewise. | |
443 | ||
309dc1aa DM |
444 | 2013-09-18 Daniel Morris <danielm@ecoscentric.com> |
445 | Paolo Carlini <paolo.carlini@oracle.com> | |
446 | ||
447 | PR c++/58458 | |
448 | * doc/implement-cxx.texi: Fix references to the C++ standards. | |
449 | ||
995a1b4a JJ |
450 | 2013-09-18 Jakub Jelinek <jakub@redhat.com> |
451 | ||
452 | * omp-low.c (copy_var_decl): Copy DECL_ATTRIBUTES. | |
453 | * tree-vect-data-refs.c (vect_analyze_data_refs): For | |
454 | simd_lane_access drs, update also DR_ALIGNED_TO. | |
455 | ||
ce6923c5 MP |
456 | 2013-09-18 Marek Polacek <polacek@redhat.com> |
457 | ||
458 | PR sanitizer/58411 | |
459 | * doc/extend.texi: Document no_sanitize_undefined attribute. | |
460 | * builtins.c (fold_builtin_0): Don't sanitize function if it has the | |
461 | no_sanitize_undefined attribute. | |
462 | ||
d30d00a2 NC |
463 | 2013-09-18 Nick Clifton <nickc@redhat.com> |
464 | ||
465 | * config/msp430/msp430.h (ASM_SPEC): Pass -md on to the assembler. | |
466 | (ASM_DECLARE_FUNCTION_NAME): Define. | |
467 | ||
4d9192b5 TS |
468 | 2013-09-17 Trevor Saunders <tsaunders@mozilla.com> |
469 | ||
470 | * compare-elim.c (find_comparison_dom_walker): New class | |
471 | (find_comparisons_in_bb): Rename to | |
472 | find_comparison_dom_walker::before_dom_children | |
473 | (find_comparisons): Adjust | |
474 | * domwalk.c (walk_dominator_tree): Rename to dom_walker::walk, and | |
475 | adjust. | |
476 | (init_walk_dominator_tree, fini_walk_dominator_tree): Remove | |
477 | * domwalk.h (dom_walk_data): Convert it To a class dom_walker. | |
478 | (init_walk_dominator_tree): Remove declaration. | |
479 | (fini_walk_dominator_tree): Remove declaration. | |
480 | * fwprop.c (single_def_use_dom_walker): New class | |
481 | (single_def_use_enter_block): Convert to | |
482 | single_def_use_dom_walker::before_dom_children. | |
483 | (single_def_use_leave_block): Convert to | |
484 | single_def_use_dom_walker::after_dom_children. | |
485 | (build_single_def_use_links): Adjust. | |
486 | * gimple-ssa-strength-reduction.c (find_candidates_dom_walker): New | |
487 | class. | |
488 | (find_candidates_in_block): Convert to | |
489 | find_candidates_dom_walker::before_dom_children. | |
490 | (execute_strength_reduction): Adjust. | |
491 | * graphite-sese-to-poly.c (struct bsc, build_sese_conditions): Remove. | |
492 | (sese_dom_walker): New class. | |
493 | (sese_dom_walker::sese_dom_walker): New constructor. | |
494 | (sese_dom_walker::~sese_dom_walker): New destructor. | |
495 | (build_sese_conditions_before): Convert to | |
496 | sese_dom_walker::before_dom_children. | |
497 | (build_sese_conditions_after): Convert to | |
498 | sese_dom_walker::after_dom_children. | |
499 | (build_poly_scop): Adjust | |
500 | * tree-into-ssa.c (rewrite_dom_walker): New class | |
501 | (rewrite_enter_block): Convert to | |
502 | rewrite_dom_walker::before_dom_children. | |
503 | (rewrite_leave_block): Convert to | |
504 | rewrite_dom_walker::after_dom_children. | |
505 | (rewrite_update_dom_walker): New class. | |
506 | (rewrite_update_enter_block): Convert to | |
507 | rewrite_update_dom_walker::before_dom_children. | |
508 | (rewrite_update_leave_block): Convert to | |
509 | rewrite_update_dom_walker::after_dom_children. | |
510 | (rewrite_blocks, rewrite_into_ssa): Adjust. | |
511 | (mark_def_dom_walker): New class. | |
512 | (mark_def_dom_walker::mark_def_dom_walker): New constructor. | |
513 | (mark_def_dom_walker::~mark_def_dom_walker): New destructor. | |
514 | (mark_def_sites_blocks): Convert to | |
515 | mark_def_dom_walker::before_dom_children. | |
516 | (mark_def_site_blocks): Remove. | |
517 | * tree-ssa-dom.c (dom_opt_dom_walker): New class. | |
518 | (tree_ssa_dominator_optimize): Adjust. | |
519 | (dom_thread_across_edge): Convert to method | |
520 | dom_opt_dom_walker::thread_across_edge. | |
521 | (dom_opt_enter_block): Convert to member function | |
522 | dom_opt_dom_walker::before_dom_children. | |
523 | (dom_opt_leave_block): Convert to member function | |
524 | dom_opt_dom_walker::after_dom_children. | |
525 | * tree-ssa-dse.c (dse_dom_walker): New class. | |
526 | (dse_enter_block): Convert to member function | |
527 | dse_dom_walker::before_dom_children. | |
528 | (tree_ssa_dse): Adjust. | |
529 | * tree-ssa-loop-im.c (invariantness_dom_walker): New class. | |
530 | (determine_invariantness_stmt): Convert to method | |
531 | invariantness_dom_walker::before_dom_children. | |
532 | (determine_invariantness): Remove | |
533 | (move_computations_dom_walker): New class. | |
534 | (move_computations_stmt): Convert to method | |
535 | move_computations_dom_walker::before_dom_children. | |
536 | (move_computations, tree_ssa_lim): Adjust. | |
537 | * tree-ssa-phiopt.c (nontrapping_dom_walker): new class | |
538 | (nt_init_block): Make method | |
539 | notrappping_dom_walker::before_dom_children. | |
540 | (nt_fini_block): Make | |
541 | method nontrapping_dom_walker::after_dom_children. | |
542 | (get_non_trapping): Adjust. | |
543 | * tree-ssa-pre.c (eliminate_dom_walker): New class. | |
544 | (eliminate_bb): Make method eliminate_dom_walker::before_dom_children. | |
545 | (eliminate_leave_block): Make method. | |
546 | eliminate_dom_walker::after_dom_children. | |
547 | (eliminate): Adjust | |
548 | * tree-ssa-strlen.c (strlen_dom_walker): New class. | |
549 | (strlen_enter_block): Make method | |
550 | strlen_dom_walker::before_dom_children. | |
551 | (strlen_leave_block): Make | |
552 | method strlen_dom_walker::after_dom_children. | |
553 | (tree_ssa_strlen): Adjust. | |
554 | * tree-ssa-uncprop.c (uncprop_dom_walker): New class. | |
555 | (tree_ssa_uncprop): Adjust. | |
556 | (uncprop_leave_block): Make method | |
557 | uncprop_dom_walker::after_dom_children. | |
558 | (uncprop_leave_block): Make method | |
559 | uncprop_dom_walker::before_dom_children. | |
560 | ||
3b3cc26b BC |
561 | 2013-09-18 Bin Cheng <bin.cheng@arm.com> |
562 | ||
563 | * config/arm/arm.c (thumb1_reorg): Search for flag setting insn | |
564 | before branch in same basic block. Check both src and dest of | |
565 | the move insn. | |
566 | ||
b5ba3a9b NC |
567 | 2013-09-17 Nick Clifton <nickc@redhat.com> |
568 | ||
569 | * config/rl78/rl78-real.md (bf): New pattern. | |
570 | (bt): New pattern. | |
571 | * config/rl78/rl78.c (rl78_print_operand_1): Handle %B. | |
572 | (rl78_print_operand): Do not put a # before a %B. | |
573 | * config/rl78/rl78.opt: Tweak doc strings. | |
574 | ||
09d5094b DD |
575 | 2013-09-17 DJ Delorie <dj@redhat.com> |
576 | ||
577 | * config/rl78/constraints.md (Wcv): Allow up to $r31. | |
578 | * config/rl78/rl78.c (rl78_asm_file_start: Likewise. | |
579 | (rl78_option_override): Likewise, if -mallregs. | |
580 | (is_virtual_register): Likewise. | |
581 | * config/rl78/rl78.h (reg_class): Extend VREGS to $r31. | |
582 | (REGNO_OK_FOR_BASE_P): Likewise. | |
583 | * config/rl78/rl78.opt (-mallregs): New. | |
584 | ||
2ba1dca1 NC |
585 | 2013-09-17 Nick Clifton <nickc@redhat.com> |
586 | ||
587 | * config/rl78/rl78.c (need_to_save): Change return type to bool. | |
588 | For interrupt functions: save all call clobbered registers if the | |
589 | interrupt handler is not a leaf function. | |
590 | (rl78_expand_prologue): Always recompute the frame information. | |
591 | For interrupt functions: only select bank 0 if one of the bank 0 | |
592 | registers is going to be psuhed. | |
593 | ||
2e7c3f21 DD |
594 | 2013-09-17 DJ Delorie <dj@redhat.com> |
595 | ||
596 | * config/rl78/constraints.md: For each W* constraint, rename to C* | |
597 | and create a W* constraint that checks for an optional ES: prefix | |
598 | pattern also. | |
599 | * config/rl78/rl78.md (UNS_ES_ADDR): New. | |
600 | (es_addr): New. Used to wrap far addresses. | |
601 | * config/rl78/rl78-protos.h (rl78_es_addr): New. | |
602 | (rl78_es_base): New. | |
603 | * config/rl78/rl78.c (rl78_as_legitimate_address): Accept "unspec" | |
604 | wrapped far addresses. | |
605 | (rl78_print_operand_1): Unwrap far addresses before processing. | |
606 | (rl78_lo16): Wrap far addresses in unspecs. | |
607 | (rl78_es_addr): New. | |
608 | (rl78_es_base): New. | |
609 | (insn_ok_now): Check for not-yet-wrapped far addresses. | |
610 | (transcode_memory_rtx): Properly re-wrap far addresses. | |
611 | ||
5c26a69a SH |
612 | 2013-09-17 Sebastian Huber <sebastian.huber@embedded-brains.de> |
613 | ||
614 | * config/sparc/t-rtems: Add leon3 multilibs. | |
615 | ||
181f5f3e CH |
616 | 2013-09-17 Cong Hou <congh@google.com> |
617 | ||
618 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Fix a bug | |
619 | when checking the dot production pattern. The type of rhs operand | |
620 | of multiply is now checked correctly. | |
621 | ||
8d34e421 JL |
622 | 2013-09-17 Jeff Law <law@redhat.com> |
623 | ||
624 | * tree-ssa-dom.c (cprop_into_successor_phis): Also propagate | |
625 | edge implied equivalences into successor phis. | |
626 | * tree-ssa-threadupdate.c (phi_args_equal_on_edges): Moved into | |
627 | here from tree-ssa-threadedge.c. | |
628 | (mark_threaded_blocks): When threading through a joiner, if both | |
629 | successors of the joiner's clone reach the same block, verify the | |
630 | PHI arguments are equal. If not, cancel the jump threading request. | |
631 | * tree-ssa-threadedge.c (phi_args_equal_on_edges): Moved into | |
632 | tree-ssa-threadupdate.c | |
633 | (thread_across_edge): Don't check PHI argument equality when | |
634 | threading through joiner block here. | |
635 | ||
c152901f AM |
636 | 2013-09-17 Andrew MacLeod <amacleod@redhat.com> |
637 | ||
638 | * tree-flow.h (ssa_undefined_value_p): Remove prototype. | |
639 | * tree-ssa.c (ssa_undefined_value_p): Move pass independent parts here. | |
640 | (warn_uninit, warn_uninitialized_vars, execute_early_warn_uninitialized, | |
641 | make_pass_early_warn_uninitialized): Move to tree-ssa-uninit.c. | |
642 | * tree-ssa-uninit.c (ssa_undefined_value_p): Move to tree-ssa.c | |
643 | (has_undefined_value_p): New. Pass dependant parts of | |
644 | ssa_undefined_value_p. | |
645 | (uninit_undefined_value_p): Use has_undefined_value_p. | |
646 | (warn_uninit, warn_uninitialized_vars, execute_early_warn_uninitialized, | |
647 | make_pass_early_warn_uninitialized): Move from tree-ssa.c | |
648 | * tree-ssa.h: Adjust prototypes | |
649 | ||
b631d45a JH |
650 | 2013-09-17 Jan Hubicka <jh@suse.cz> |
651 | ||
652 | PR middle-end/58332 | |
653 | * cif-code.def (FUNCTION_NOT_OPTIMIZED): New CIF code. | |
654 | * ipa-inline.c (can_inline_edge_p): Do not downgrade | |
655 | FUNCTION_NOT_OPTIMIZED. | |
656 | * ipa-inline-analysis.c (compute_inline_parameters): Function | |
657 | not optimized is not inlinable unless it is alwaysinline. | |
658 | (inline_analyze_function): Force calls in not optimized | |
659 | function not inlinable. | |
660 | ||
5b79657a JH |
661 | 2013-09-17 Jan Hubicka <jh@suse.cz> |
662 | ||
663 | PR middle-end/58329 | |
664 | * ipa-devirt.c (ipa_devirt): Be ready for symtab_nonoverwritable_alias | |
665 | to return NULL. | |
666 | * ipa.c (function_and_variable_visibility): Likewise. | |
667 | * ipa-profile.c (ipa_profile): Likewise. | |
668 | ||
27442c24 BE |
669 | 2013-09-17 Bernd Edlinger <bernd.edlinger@hotmail.de> |
670 | ||
671 | PR ipa/58398 | |
672 | * cgraph.c (cgraph_function_body_availability): Check for ifunc | |
673 | attribute, and don't inline the resolver in this case. | |
674 | ||
753b9bc3 TJ |
675 | 2013-09-17 Teresa Johnson <tejohnson@google.com> |
676 | ||
677 | * coverage.c (get_coverage_counts): Add missing newline. | |
678 | ||
e3d3cfb4 KT |
679 | 2013-09-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
680 | ||
681 | PR tree-optimization/58088 | |
682 | * fold-const.c (mask_with_trailing_zeros): New function. | |
683 | (fold_binary_loc): Make sure we don't recurse infinitely | |
684 | when the X in (X & C1) | C2 is a tree of the form (Y * K1) & K2. | |
685 | Use mask_with_trailing_zeros where appropriate. | |
686 | ||
9a0ac98f YR |
687 | 2013-09-17 Yuri Rumyantsev <ysrumyan@gmail.com> |
688 | ||
689 | * config/i386/i386.c (distance_agu_use_in_bb) : Proper initialization | |
690 | of 'prev' var to get better distance estimation. | |
691 | ||
78bbd765 EB |
692 | 2013-09-17 Eric Botcazou <ebotcazou@adacore.com> |
693 | ||
694 | * tree-inline.h (struct copy_body_data): Add transform_parameter. | |
695 | * tree-inline.c (is_parameter_of): New predicate. | |
696 | (remap_gimple_op_r): Do not propagate TREE_THIS_NOTRAP on MEM_REF if | |
697 | a parameter has been remapped. | |
698 | (copy_tree_body_r): Likewise on INDIRECT_REF and MEM_REF. | |
699 | (optimize_inline_calls): Initialize transform_parameter. | |
700 | (copy_gimple_seq_and_replace_locals): Likewise. | |
701 | (tree_function_versioning): Likewise. | |
702 | (maybe_inline_call_in_expr): Likewise. | |
703 | ||
cad055a4 NC |
704 | 2013-09-17 Nick Clifton <nickc@redhat.com> |
705 | ||
706 | * config/msp430/msp430-protos.h: Add prototypes for new functions. | |
707 | * config/msp430/msp430.c (msp430_preserve_reg_p): Add support for | |
708 | interrupt handlers. | |
709 | (is_attr_func): New function. | |
710 | (msp430_is_interrupt_func): New function. | |
711 | (is_naked_func): New function. | |
712 | (is_reentrant_func): New function. | |
713 | (is_critical_func): New function. | |
714 | (msp430_start_function): Add annotations for function attributes. | |
715 | (msp430_attr): New function. | |
716 | (msp430_attribute_table): New. | |
717 | (msp430_function_section): New function. | |
718 | (TARGET_ASM_FUNCTION_SECTION): Define. | |
719 | (msp430_builtin): New enum. | |
720 | (msp430_init_builtins): New function. | |
721 | (msp430_builtin_devl): New function. | |
722 | (msp430_expand_builtin): New function. | |
723 | (TARGET_INIT_BUILTINS): Define. | |
724 | (TARGET_EXPAND_BUILTINS): Define. | |
725 | (TARGET_BUILTIN_DECL): Define. | |
726 | (msp430_expand_prologue): Add support for naked, interrupt, | |
727 | critical and reentrant functions. | |
728 | (msp430_expand_epilogue): Likewise. | |
729 | (msp430_print_operand): Handle 'O' character. | |
730 | * config/msp430/msp430.h (TARGET_CPU_CPP_BUILTINS): Define | |
731 | NO_TRAMPOLINES. | |
732 | * config/msp430/msp430.md (unspec): Add UNS_DINT, UNS_EINT, | |
733 | UNS_PUSH_INTR, UNS_POP_INTR, UNS_BIC_SR, UNS_BIS_SR. | |
734 | (pushm): Use a 'n' rather than an 'i' constraint. | |
735 | (msp_return): Add generation of the interrupt return instruction. | |
736 | (disable_interrupts): New pattern. | |
737 | (enable_interrupts): New pattern. | |
738 | (push_intr_state): New pattern. | |
739 | (pop_intr_state): New pattern. | |
740 | (bic_SR): New pattern. | |
741 | (bis_SR): New pattern. | |
742 | * doc/extend.texi: Document MSP430 function attributes and builtin | |
743 | functions. | |
744 | ||
deb6c11a RB |
745 | 2013-09-17 Richard Biener <rguenther@suse.de> |
746 | ||
747 | PR tree-optimization/58432 | |
748 | * tree-loop-distribution.c (tree_loop_distribution): Also | |
749 | scan PHIs for outside loop uses and seed a partition from them. | |
750 | ||
c068654b BC |
751 | 2013-09-17 Bin Cheng <bin.cheng@arm.com> |
752 | ||
753 | * gimple-ssa-strength-reduction.c (backtrace_base_for_ref): New. | |
754 | (restructure_reference): Call backtrace_base_for_ref. | |
755 | ||
567969e4 AM |
756 | 2013-09-17 Alan Modra <amodra@gmail.com> |
757 | ||
758 | PR target/57589 | |
759 | * config/rs6000/driver-rs6000.c (elf_platform): Revert 2013-06-11 patch. | |
760 | ||
5c0029de DD |
761 | 2013-09-16 DJ Delorie <dj@redhat.com> |
762 | ||
763 | * config/rl78/rl78.c (rl78_asm_file_start): Specify alternate | |
764 | vregs location for RL78/G10. | |
765 | (rl78_expand_prologue): Avoid SEL on G10. | |
766 | (rl78_expand_epilogue): Likewise. | |
767 | (rl78_peep_movhi_p): Can't move a constant to memory in HImode. | |
768 | * config/rl78/rl78.h (TARGET_CPU_CPP_BUILTINS): Define | |
769 | __RL78_G10__ when appropriate. | |
770 | (ASM_SPEC): Pass -mg10 along to the assembler. | |
771 | * config/rl78/rl78.md (sel_rb): Disable for G10. | |
772 | * config/rl78/rl78.opt: Add -mg10 option. | |
773 | * config/rl78/t-rl78: Add -mg10 multilib. | |
774 | ||
ea0f3e87 XDL |
775 | 2013-09-16 Xinliang David Li <davidxl@google.com> |
776 | ||
777 | * tree-if-conv.c (main_tree_if_conversion): Check new flag. | |
778 | * omp-low.c (omp_max_vf): Ditto. | |
779 | (expand_omp_simd): Ditto. | |
780 | * tree-vectorizer.c (vectorize_loops): Ditto. | |
781 | (gate_vect_slp): Ditto. | |
782 | (gate_increase_alignment): Ditto. | |
783 | * tree-ssa-pre.c (inhibit_phi_insertion): Ditto. | |
784 | * tree-ssa-loop.c (gate_tree_vectorize): Ditto. | |
785 | (gate_tree_vectorize): Name change. | |
786 | (tree_vectorize): Ditto. | |
787 | (pass_vectorize::gate): Call new function. | |
788 | (pass_vectorize::execute): Ditto. | |
789 | opts.c: O3 default setting change. | |
790 | (finish_options): Check new flag. | |
791 | * doc/invoke.texi: Document new flags. | |
792 | * common.opt: New flags. | |
793 | ||
4f3da2e5 AS |
794 | 2013-09-16 Andreas Schwab <schwab@linux-m68k.org> |
795 | ||
796 | * doc/tm.texi.in (Cond Exec Macros): Remove node. | |
797 | (Condition Code): Don't reference it. | |
798 | * doc/tm.texi: Regenerate. | |
799 | ||
aa940f7c VM |
800 | 2013-09-16 Vladimir Makarov <vmakarov@redhat.com> |
801 | ||
802 | PR middle-end/58418 | |
803 | * lra-constraints.c (undo_optional_reloads): Consider all optional | |
804 | reload even if it did not get a hard reg. | |
805 | ||
e645e942 TJ |
806 | 2013-09-16 Teresa Johnson <tejohnson@google.com> |
807 | ||
808 | * dumpfile.c (dump_loc): Remove newline emission. | |
809 | * tree-vect-data-refs.c (vect_lanes_optab_supported_p): Add newline | |
810 | emission to dump_printf_loc calls where missing. | |
811 | (vect_mark_for_runtime_alias_test): Ditto. | |
812 | (vect_analyze_data_ref_dependence): Ditto. | |
813 | (vect_analyze_data_ref_dependences): Ditto. | |
814 | (vect_slp_analyze_data_ref_dependence): Ditto. | |
815 | (vect_slp_analyze_data_ref_dependences): Ditto. | |
816 | (vect_compute_data_ref_alignment): Ditto. | |
817 | (vect_update_misalignment_for_peel): Ditto. | |
818 | (vect_verify_datarefs_alignment): Ditto. | |
819 | (vector_alignment_reachable_p): Ditto. | |
820 | (vect_get_data_access_cost): Ditto. | |
821 | (vect_enhance_data_refs_alignment): Ditto. | |
822 | (vect_find_same_alignment_drs): Ditto. | |
823 | (vect_analyze_data_refs_alignment): Ditto. | |
824 | (vect_analyze_group_access): Ditto. | |
825 | (vect_analyze_data_ref_access): Ditto. | |
826 | (vect_analyze_data_ref_accesses): Ditto. | |
827 | (vect_prune_runtime_alias_test_list): Ditto. | |
828 | (vect_analyze_data_refs): Ditto. | |
829 | (vect_create_addr_base_for_vector_ref): Ditto. | |
830 | (vect_create_data_ref_ptr): Ditto. | |
831 | (vect_grouped_store_supported): Ditto. | |
832 | (vect_grouped_load_supported): Ditto. | |
833 | * value-prof.c (check_counter): Ditto. | |
834 | (check_ic_target): Ditto. | |
835 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Ditto. | |
836 | (vect_recog_widen_mult_pattern): Ditto. | |
837 | (vect_recog_widen_sum_pattern): Ditto. | |
838 | (vect_recog_over_widening_pattern): Ditto. | |
839 | (vect_recog_widen_shift_pattern): Ditto. | |
840 | (vect_recog_rotate_pattern): Ditto. | |
841 | (vect_recog_vector_vector_shift_pattern): Ditto. | |
842 | (vect_recog_divmod_pattern): Ditto. | |
843 | (vect_recog_mixed_size_cond_pattern): Ditto. | |
844 | (vect_recog_bool_pattern): Ditto. | |
845 | (vect_pattern_recog_1): Ditto. | |
846 | (vect_pattern_recog): Ditto. | |
847 | * tree-vect-loop.c (vect_determine_vectorization_factor): Ditto. | |
848 | (vect_is_simple_iv_evolution): Ditto. | |
849 | (vect_analyze_scalar_cycles_1): Ditto. | |
850 | (vect_get_loop_niters): Ditto. | |
851 | (vect_analyze_loop_1): Ditto. | |
852 | (vect_analyze_loop_form): Ditto. | |
853 | (vect_analyze_loop_operations): Ditto. | |
854 | (vect_analyze_loop_2): Ditto. | |
855 | (vect_analyze_loop): Ditto. | |
856 | (report_vect_op): Ditto. | |
857 | (vect_is_slp_reduction): Ditto. | |
858 | (vect_is_simple_reduction_1): Ditto. | |
859 | (vect_get_known_peeling_cost): Ditto. | |
860 | (vect_estimate_min_profitable_iters): Ditto. | |
861 | (vect_model_reduction_cost): Ditto. | |
862 | (vect_model_induction_cost): Ditto. | |
863 | (get_initial_def_for_induction): Ditto. | |
864 | (vect_create_epilog_for_reduction): Ditto. | |
865 | (vectorizable_reduction): Ditto. | |
866 | (vectorizable_induction): Ditto. | |
867 | (vectorizable_live_operation): Ditto. | |
868 | (vect_loop_kill_debug_uses): Ditto. | |
869 | (vect_transform_loop): Ditto. | |
870 | * tree-vect-stmts.c (vect_mark_relevant): Ditto. | |
871 | (vect_stmt_relevant_p): Ditto. | |
872 | (process_use): Ditto. | |
873 | (vect_mark_stmts_to_be_vectorized): Ditto. | |
874 | (vect_model_simple_cost): Ditto. | |
875 | (vect_model_promotion_demotion_cost): Ditto. | |
876 | (vect_model_store_cost): Ditto. | |
877 | (vect_get_store_cost): Ditto. | |
878 | (vect_model_load_cost): Ditto. | |
879 | (vect_get_load_cost): Ditto. | |
880 | (vect_init_vector_1): Ditto. | |
881 | (vect_get_vec_def_for_operand): Ditto. | |
882 | (vect_finish_stmt_generation): Ditto. | |
883 | (vectorizable_call): Ditto. | |
884 | (vectorizable_conversion): Ditto. | |
885 | (vectorizable_assignment): Ditto. | |
886 | (vectorizable_shift): Ditto. | |
887 | (vectorizable_operation): Ditto. | |
888 | (vectorizable_store): Ditto. | |
889 | (vectorizable_load): Ditto. | |
890 | (vectorizable_condition): Ditto. | |
891 | (vect_analyze_stmt): Ditto. | |
892 | (vect_transform_stmt): Ditto. | |
893 | (vect_is_simple_use): Ditto. | |
894 | * tree-vect-loop-manip.c (slpeel_make_loop_iterate_ntimes): Ditto. | |
895 | (vect_can_advance_ivs_p): Ditto. | |
896 | (vect_update_ivs_after_vectorizer): Ditto. | |
897 | (vect_do_peeling_for_loop_bound): Ditto. | |
898 | (vect_gen_niters_for_prolog_loop): Ditto. | |
899 | (vect_update_inits_of_drs): Ditto. | |
900 | (vect_create_cond_for_alias_checks): Ditto. | |
901 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Ditto. | |
902 | (vect_build_slp_tree_1): Ditto. | |
903 | (vect_supported_load_permutation_p): Ditto. | |
904 | (vect_analyze_slp_instance): Ditto. | |
905 | (vect_analyze_slp): Ditto. | |
906 | (vect_make_slp_decision): Ditto. | |
907 | (vect_detect_hybrid_slp): Ditto. | |
908 | (vect_bb_vectorization_profitable_p): Ditto. | |
909 | (vect_slp_analyze_bb_1): Ditto. | |
910 | (vect_update_slp_costs_according_to_vf): Ditto. | |
911 | (vect_get_mask_element): Ditto. | |
912 | (vect_transform_slp_perm_load): Ditto. | |
913 | (vect_schedule_slp_instance): Ditto. | |
914 | (vect_schedule_slp): Ditto. | |
915 | (vect_slp_transform_bb): Ditto. | |
916 | * profile.c (read_profile_edge_counts): Ditto. | |
917 | (compute_branch_probabilities): Ditto. | |
918 | * coverage.c (get_coverage_counts): Ditto. | |
919 | ||
46f851f3 DN |
920 | 2013-09-16 Diego Novillo <dnovillo@google.com> |
921 | ||
922 | * tree-core.h: Add missing comment lines from refactoring | |
923 | of tree.h. | |
924 | ||
1632a686 JH |
925 | 2013-09-16 Jan Hubicka <jh@suse.cz> |
926 | ||
927 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Do not accept | |
928 | abstract functions; for static functions check the presence | |
929 | of body. | |
930 | ||
828e70c1 JG |
931 | 2013-09-16 James Greenhalgh <james.greenhalgh@arm.com> |
932 | ||
933 | * config/aarch64/aarch64-simd-builtins.def (fma): New. | |
934 | * config/aarch64/aarch64-simd.md | |
935 | (aarch64_mla_elt<mode>): New. | |
936 | (aarch64_mla_elt_<vswap_width_name><mode>): Likewise. | |
937 | (aarch64_mls_elt<mode>): Likewise. | |
938 | (aarch64_mls_elt_<vswap_width_name><mode>): Likewise. | |
939 | (aarch64_fma4_elt<mode>): Likewise. | |
940 | (aarch64_fma4_elt_<vswap_width_name><mode>): Likewise. | |
941 | (aarch64_fma4_elt_to_128v2df): Likewise. | |
942 | (aarch64_fma4_elt_to_64df): Likewise. | |
943 | (fnma<mode>4): Likewise. | |
944 | (aarch64_fnma4_elt<mode>): Likewise. | |
945 | (aarch64_fnma4_elt_<vswap_width_name><mode>): Likewise. | |
946 | (aarch64_fnma4_elt_to_128v2df): Likewise. | |
947 | (aarch64_fnma4_elt_to_64df): Likewise. | |
948 | * config/aarch64/iterators.md (VDQSF): New. | |
949 | * config/aarch64/arm_neon.h | |
950 | (vfm<as><sdq>_lane<q>_f<32, 64>): Convert to C implementation. | |
951 | (vml<sa><q>_lane<q>_<fsu><16, 32, 64>): Likewise. | |
952 | ||
779aea46 JG |
953 | 2013-09-16 James Greenhalgh <james.greenhalgh@arm.com> |
954 | ||
955 | * config/aarch64/aarch64-simd.md (aarch64_mul3_elt<mode>): New. | |
956 | (aarch64_mul3_elt_<vswap_width_name><mode>): Likewise. | |
957 | (aarch64_mul3_elt_to_128df): Likewise. | |
958 | (aarch64_mul3_elt_to_64v2df): Likewise. | |
959 | * config/aarch64/iterators.md (VEL): Also handle DFmode. | |
960 | (VMUL): New. | |
961 | (VMUL_CHANGE_NLANES) Likewise. | |
962 | (h_con): Likewise. | |
963 | (f): Likewise. | |
964 | * config/aarch64/arm_neon.h | |
965 | (vmul<q>_lane<q>_<suf><16,32,64>): Convert to C implementation. | |
966 | ||
a407a750 JG |
967 | 2013-09-16 James Greenhalgh <james.greenhalgh@arm.com> |
968 | ||
969 | * config/aarch64/arm_neon.h | |
970 | (vcvtx_high_f32_f64): Fix parameters. | |
971 | ||
f77e2d2d | 972 | 2013-09-16 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
a5bd71fa | 973 | Uros Bizjak <ubizjak@gmail.com> |
f77e2d2d | 974 | |
a5bd71fa | 975 | * config/alpha.c: Include tree-ssanames.h. |
f77e2d2d | 976 | |
36875e8f RB |
977 | 2013-09-16 Richard Biener <rguenther@suse.de> |
978 | ||
979 | * tree-loop-distribution.c (enum rdg_dep_type): Add control_dd. | |
980 | (dot_rdg_1): Handle control_dd. | |
981 | (create_edge_for_control_dependence): New function. | |
982 | (create_rdg_edges): Add control dependences if asked for. | |
983 | (build_rdg): Likewise. | |
984 | (generate_loops_for_partition): If there are not necessary | |
985 | control stmts remove all their dependencies. | |
986 | (collect_condition_stmts, rdg_flag_loop_exits): Remove. | |
987 | (distribute_loop): Pass on control dependences. | |
988 | (tree_loop_distribution): Compute control dependences and remove | |
989 | restriction on number of loop nodes. | |
990 | ||
96e24d49 JJ |
991 | 2013-09-16 Jakub Jelinek <jakub@redhat.com> |
992 | ||
993 | * ipa-prop.c (ipa_compute_jump_functions_for_edge): Return early | |
994 | for internal calls. | |
995 | ||
40dbb05c RS |
996 | 2013-09-16 Richard Sandiford <rdsandiford@googlemail.com> |
997 | ||
998 | * cse.c (try_const_anchors): Punt on CC modes. | |
999 | ||
97191ad0 JBG |
1000 | 2013-09-15 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
1001 | ||
1002 | * config/vax/constraints.md (T): Add missing CONSTANT_P check. | |
1003 | ||
403a3fb7 JDA |
1004 | 2013-09-14 John David Anglin <danglin@gcc.gnu.org> |
1005 | ||
1006 | PR target/58382 | |
1007 | * config/pa/pa.c (pa_expand_prologue): Change mode in gen_rtx_POST_INC | |
1008 | calls to word_mode. | |
1009 | ||
fb5610fb IS |
1010 | 2013-09-14 Iain Sandoe <iain@codesourcery.com> |
1011 | ||
1012 | PR target/48094 | |
1013 | * config/darwin.c (darwin_objc2_section): Note if ObjC Metadata is | |
f77e2d2d JBG |
1014 | seen. |
1015 | (darwin_objc1_section): Likewise. | |
fb5610fb IS |
1016 | (darwin_file_end): Emit Image Info section when required. |
1017 | ||
afdec9bd JH |
1018 | 2013-09-14 Jan Hubicka <jh@suse.cz> |
1019 | ||
1020 | * tree-into-ssa.c (gate_into_ssa): New. | |
1021 | (pass_data_build_ssa): Use it. | |
1022 | * cgraph.h (expand_thunk): Update prototype. | |
1023 | * cgraphunit.c (analyze_function): Expand thunks early. | |
1024 | (expand_thunk): Fix DECL_CONTEXT of reust_decl; | |
1025 | build proper cgraph; set in_ssa_p; clear bogus TREE_ASM_WRITTEN; | |
1026 | set lowered flag; do not add new function. | |
1027 | (assemble_thunks_and_aliases): Update. | |
1028 | * tree-ssa.c (gate_init_datastructures): New gate. | |
1029 | (pass_data_init_datastructures): Use it. | |
1030 | ||
492d1e0a IS |
1031 | 2013-09-14 Iain Sandoe <iain@codesourcery.com> |
1032 | ||
1033 | PR target/58269 | |
f77e2d2d | 1034 | * config/i386/i386.c (ix86_function_arg_regno_p): Make Darwin use the |
492d1e0a IS |
1035 | xmm register set described in the psABI. |
1036 | ||
d13c6b70 EG |
1037 | 2013-09-13 Evgeny Gavrin <e.gavrin@samsung.com> |
1038 | ||
f77e2d2d JBG |
1039 | * dwarf2out.c (should_emit_struct_debug): Add check |
1040 | for type_decl variable is not NULL. | |
d13c6b70 | 1041 | |
88b0e79e JC |
1042 | 2013-09-13 Jacek Caban <jacek@codeweavers.com> |
1043 | ||
1044 | * config.gcc: Use new winnt-c.c target hooks | |
1045 | * config/t-winnt: New file | |
1046 | * config/winnt-c.c: New file | |
1047 | * doc/tm.texi.in: Document new hook | |
1048 | * doc/tm.texi: Regenerated | |
1049 | ||
19ba6aab JH |
1050 | 2013-09-13 Jan Hubicka <jh@suse.cz> |
1051 | ||
1052 | PR middle-end/58094 | |
1053 | * ipa-inline.c (check_callers): New function. | |
1054 | (check_caller_edge): Remove. | |
1055 | (want_inline_function_to_all_callers_p): Also permit alises that are | |
1056 | called dirrectly. | |
1057 | (inline_to_all_callers): Terminate the walk when devirtualization | |
1058 | introduce new calls. | |
1059 | ||
a93c18c8 JH |
1060 | 2013-09-13 Jan Hubicka <jh@suse.cz> |
1061 | ||
1062 | * ipa-inline-analysis.c (struct growth_data): Add node. | |
1063 | (do_estimate_growth_1): Fix detection of recursion. | |
1064 | ||
f3b331d1 JJ |
1065 | 2013-09-13 Jakub Jelinek <jakub@redhat.com> |
1066 | ||
1067 | PR tree-optimization/58392 | |
1068 | * tree-cfg.c (move_sese_region_to_fn): Rename loop variable | |
1069 | to avoid shadowing of outer loop variable. If | |
1070 | saved_cfun->has_simduid_loops or saved_cfun->has_force_vect_loops, | |
1071 | replace_by_duplicate_decl simduid of loops that have it set and | |
1072 | set dest_cfun->has_simduid_loops and/or | |
1073 | dest_cfun->has_force_vect_loops. | |
1074 | * omp-low.c (build_outer_var_ref): Call maybe_lookup_decl_in_outer_ctx | |
1075 | instead of maybe_lookup_decl. | |
1076 | * tree-inline.c (copy_loops): Change blocks_to_copy argument to id. | |
1077 | Use id->blocks_to_copy instead of blocks_to_copy. Adjust recursive | |
1078 | call. Copy over force_vect and copy and remap simduid. Set | |
1079 | cfun->has_simduid_loops and/or cfun->has_force_vect_loops. | |
1080 | (copy_cfg_body): Remove blocks_to_copy argument. Use | |
1081 | id->blocks_to_copy instead of blocks_to_copy. Adjust copy_loops | |
1082 | caller. Don't set cfun->has_simduid_loops and/or | |
1083 | cfun->has_force_vect_loops here. | |
1084 | (copy_body): Remove blocks_to_copy argument. Adjust copy_cfg_body | |
1085 | caller. | |
1086 | (expand_call_inline, tree_function_versioning): Adjust copy_body | |
1087 | callers. | |
1088 | ||
ae6d0907 MJ |
1089 | 2013-09-13 Martin Jambor <mjambor@suse.cz> |
1090 | ||
1091 | PR bootstrap/58388 | |
1092 | * ipa-prop.c (try_make_edge_direct_simple_call): Be less strict in | |
1093 | the assert if the edge was a speculative one. | |
1094 | ||
2fd5894f RB |
1095 | 2013-09-13 Richard Biener <rguenther@suse.de> |
1096 | ||
1097 | * tree-data-ref.h (known_dependences_p): Move here ... | |
1098 | * tree-loop-distribution.c (known_dependences_p): ... from here. | |
1099 | (dump_rdg_component, debug_rdg_component): Remove. | |
1100 | (dump_rdg): Adjust. | |
1101 | (generate_loops_for_partition): Use gimple_uid instead of | |
1102 | relying on matching stmt visit order. | |
1103 | (rdg_build_partitions): Take starting stmt vector. | |
1104 | (ldist_gen): Merge into ... | |
1105 | (distribute_loop): ... this function. Do not compute starting | |
1106 | vertices vector. | |
1107 | * tree-cfg.c (gimple_duplicate_bb): Copy UID for PHIs. | |
1108 | ||
86eb4bd7 KT |
1109 | 2013-09-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1110 | ||
1111 | * config/arm/arm.md (arm_cmpsi_insn): Split rI alternative. | |
1112 | Set type attribute correctly. Set predicable_short_it attribute. | |
1113 | (cmpsi_shiftsi): Remove %? from output template. | |
1114 | ||
83a95546 RB |
1115 | 2013-09-13 Richard Biener <rguenther@suse.de> |
1116 | ||
1117 | * tree-loop-distribution.c (struct rdg_component, | |
1118 | rdg_defs_used_in_other_loops_p, free_rdg_components, | |
1119 | rdg_build_components): Remove. | |
1120 | (stmts_from_loop): Do not record virtual PHIs. | |
1121 | (generate_loops_for_partition): Skip virtual PHIs. | |
1122 | (build_rdg_partition_for_component): Rename to ... | |
1123 | (build_rdg_partition_for_vertex): ... this and adjust. | |
1124 | (rdg_build_partitions): Take a vector of starting vertices | |
1125 | instead of components. Remove unnecessary leftover handling. | |
1126 | (ldist_gen): Do not build components or record other stores. | |
1127 | (distribute_loop): Do not distribute loops containing stmts | |
1128 | with side-effects. | |
1129 | ||
c0ecf7f1 CB |
1130 | 2013-09-13 Christian Bruel <christian.bruel@st.com> |
1131 | ||
1132 | PR target/58314 | |
1133 | * config/sh/sh.md (mov<mode>_reg_reg): Allow memory reloads. | |
1134 | ||
34f56efc KT |
1135 | 2013-09-13 Kai Tietz <ktietz@redhat.com> |
1136 | ||
740f2bf3 KT |
1137 | * config.gcc: Separate cases for mingw and cygwin targets, |
1138 | and add 64-bit cygwin target case. | |
1139 | ||
34f56efc KT |
1140 | * config/i386/winnt-cxx.c (i386_pe_type_dllexport_p): Don't |
1141 | dll-export inline-functions. | |
1142 | * config/i386/winnt.c (i386_pe_determine_dllexport_p): Likewise. | |
1143 | ||
1144 | ||
1145 | 2013-09-13 Jeff Law <law@redhat.com> | |
823b5d6b JL |
1146 | |
1147 | PR middle-end/58387 | |
1148 | Revert: | |
1149 | 2013-09-06 Jeff Law <law@redhat.com> | |
1150 | ||
1151 | * tree-ssa-dom.c (cprop_into_successor_phis): Also propagate | |
1152 | edge implied equivalences into successor phis. | |
1153 | ||
aadb52ad DD |
1154 | 2013-09-12 DJ Delorie <dj@redhat.com> |
1155 | ||
1156 | * config/rl78/rl78-virt.md: Change from | to \; for asm line | |
1157 | separators. | |
1158 | ||
90ae7019 BM |
1159 | 2013-09-12 Brooks Moses <bmoses@google.com> |
1160 | ||
1161 | PR driver/42955 | |
1162 | * Makefile.in: Do not install driver binaries in $(target)/bin. | |
1163 | ||
17b2557c DD |
1164 | 2013-09-12 DJ Delorie <dj@redhat.com> |
1165 | ||
c5215a9b DD |
1166 | * config/rl78/rl78.opt (mrelax): New. |
1167 | * config/rl78/rl78.h (ASM_SPEC): New, pass on -mrelax to gas. | |
1168 | * config/rl78/rl78.h (LINK_SPEC): New, pass on -mrelax to ld. | |
1169 | ||
17b2557c DD |
1170 | * config/rl78/rl78.c (rl78_expand_prologue): Use AX to copy |
1171 | between SP and FP. | |
1172 | (rl78_expand_epilogue): Likewise. | |
1173 | ||
ecafcf05 VM |
1174 | 2013-09-12 Vladimir Makarov <vmakarov@redhat.com> |
1175 | ||
1176 | PR middle-end/58335 | |
84f6d9fa | 1177 | * lra-eliminations.c (remove_reg_equal_offset_note): New. |
ecafcf05 VM |
1178 | (eliminate_regs_in_insn): Rewrite frame pointer to hard frame |
1179 | pointer elimination with using remove_reg_equal_offset_note. | |
1180 | ||
8369f38a DD |
1181 | 2013-09-12 DJ Delorie <dj@redhat.com> |
1182 | ||
f6a83b4a DD |
1183 | * config/msp430/: New port. |
1184 | * config.gcc (msp430): Added. | |
1185 | * doc/invoke.texi: Document MSP430 options. | |
1186 | * doc/install.texi: Document msp430-elf | |
1187 | * doc/md.texi: Document msp430-elf | |
1188 | * doc/contrib.texi: Document msp430-elf | |
1189 | ||
8369f38a DD |
1190 | * cfgexpand.c (expand_debug_expr): Avoid sign-extending SImode to |
1191 | PSImode. | |
1192 | ||
a854f856 MJ |
1193 | 2013-09-12 Martin Jambor <mjambor@suse.cz> |
1194 | ||
1195 | PR ipa/58389 | |
1196 | * ipa-prop.c (remove_described_reference): Give up if the edge in the | |
1197 | reference descriptor is NULL. | |
1198 | (ipa_edge_removal_hook): If owning a reference descriptor, set its | |
1199 | edge to NULL. | |
1200 | ||
b12ebd96 AM |
1201 | 2013-09-12 Andrew MacLeod <amacleod@redhat.com> |
1202 | ||
1203 | * tree-flow.h (FREE_SSANAMES): Move to tree-ssanames.c | |
1204 | (SSANAMES, MODIFIED_NORETURN_CALLS, DEFAULT_DEFS, ptr_info_def, | |
1205 | num_ssa_names, ssa_name): Move to tree-ssanames.h + prototypes. | |
1206 | * tree-flow-inline.h (make_ssa_name, copy_ssa_name, duplicate_ssa_name, | |
1207 | make_temp_ssa_name): move to tree-ssanames.h | |
1208 | * tree-ssa-alias.h: Move prototype. | |
1209 | * tree-ssa.h: Include tree-ssanames.h. | |
1210 | * tree-ssanames.c (FREE_SSANAMES): Move to here. | |
1211 | * tree-ssanames.h: New. Move items from tree-flow*.h | |
1212 | * Makefile.in (tree-ssanames.h): Add to tree-ssanames.o and GTFILES. | |
1213 | ||
e1fb4ad3 RB |
1214 | 2013-09-12 Richard Biener <rguenther@suse.de> |
1215 | ||
1216 | PR tree-optimization/58404 | |
1217 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Also | |
1218 | propagate non-invariant addresses into dereferences wrapped | |
1219 | in component references. | |
1220 | ||
154c9188 RB |
1221 | 2013-09-12 Richard Biener <rguenther@suse.de> |
1222 | ||
1223 | PR tree-optimization/58402 | |
1224 | * passes.def: Move pass_late_warn_uninitialized later. | |
1225 | ||
7a300452 AM |
1226 | 2013-09-12 Andrew MacLeod <amacleod@redhat.com> |
1227 | ||
1228 | * tree-ssa.h: New. Move content from tree-flow.h and | |
1229 | tree-flow-inline.h. | |
1230 | * tree-flow.h (_edge_var_map, edge_var_map_vector): Move to tree-ssa.h. | |
1231 | Move prototypes belonging to tree-ssa.c. | |
f77e2d2d | 1232 | * tree-flow-inline.h (redirect_edge_var_map_def, |
7a300452 AM |
1233 | redirect_edge_var_map_result, redirect_edge_var_map_location): Move to |
1234 | tree-ssa.h. | |
1235 | * gimple.h: Adjust prototypes. | |
f77e2d2d JBG |
1236 | * tree-ssa.c (useless_type_conversion_p, types_compatible_p): Move |
1237 | to... | |
1238 | * gimple.c (useless_type_conversion_p, types_compatible_p): Here. | |
7a300452 AM |
1239 | * tree.h: Move prototype to tree-ssa.h. |
1240 | * gengtype.c (open_base_files): Replace tree-flow.h with tree-ssa.h. | |
1241 | * Makefile.in: (TREE_SSA_H, TREE_FLOW_H): Adjust dependencies. | |
1242 | * alias.c, asan.c, builtins.c, calls.c, cfgexpand.c, cfghooks.c, | |
1243 | cfgloop.c, cfgloopmanip.c, cgraph.c, cgraphbuild.c, cgraphclones.c, | |
1244 | cgraphunit.c, dse.c, except.c, expr.c, final.c, fold-const.c, | |
1245 | ggc-page.c, gimple-fold.c, gimple-iterator.c, gimple-low.c, | |
1246 | gimple-pretty-print.c, gimple-ssa-strength-reduction.c, | |
1247 | gimple-streamer-in.c, gimple-streamer-out.c, gimple.c, gimplify.c, | |
f77e2d2d JBG |
1248 | graphite-blocking.c, graphite-clast-to-gimple.c, |
1249 | graphite-dependences.c, graphite-interchange.c, | |
1250 | graphite-optimize-isl.c, graphite-poly.c, graphite-scop-detection.c, | |
1251 | graphite-sese-to-poly.c, graphite.c, ipa-cp.c, ipa-inline-analysis.c, | |
1252 | ipa-inline-transform.c, ipa-inline.c, ipa-prop.c, ipa-pure-const.c, | |
1253 | ipa-reference.c, ipa-split.c, ipa-utils.c, | |
7a300452 AM |
1254 | loop-init.c, lto-cgraph.c, lto-section-in.c, lto-section-out.c, |
1255 | lto-streamer-in.c, lto-streamer-out.c, lto-streamer.c, omp-low.c, | |
1256 | passes.c, predict.c, print-tree.c, profile.c, sese.c, targhooks.c, | |
1257 | tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, | |
1258 | tree-chrec.c, tree-complex.c, tree-data-ref.c, tree-dfa.c, tree-eh.c, | |
1259 | tree-emutls.c, tree-if-conv.c, tree-inline.c, tree-into-ssa.c, | |
1260 | tree-loop-distribution.c, tree-mudflap.c, tree-nested.c, tree-nrv.c, | |
1261 | tree-object-size.c, tree-optimize.c, tree-outof-ssa.c, tree-parloops.c, | |
1262 | tree-phinodes.c, tree-predcom.c, tree-pretty-print.c, tree-profile.c, | |
1263 | tree-scalar-evolution.c, tree-sra.c, tree-ssa*.c, tree-stdarg.c, | |
1264 | tree-streamer-in.c, tree-switch-conversion.c, tree-tailcall.c, | |
1265 | tree-vect-data-refs.c, tree-vect-generic.c, tree-vect-loop-manip.c, | |
1266 | tree-vect-loop.c, tree-vect-patterns.c, tree-vect-slp.c, | |
1267 | tree-vect-stmts.c, tree-vectorizer.c, tree-vrp.c, tsan.c, | |
1268 | value-prof.c, var-tracking.c, | |
1269 | varpool.c, vtable-verify.c: Replace tree-flow.h with tree-ssa.h | |
1270 | ||
97463b2b RB |
1271 | 2013-09-12 Richard Biener <rguenther@suse.de> |
1272 | ||
1273 | PR tree-optimization/58396 | |
1274 | * tree-loop-distribution.c (create_rdg_edges): Free unused DDRs. | |
1275 | (build_rdg): Take a loop-nest parameter, fix memleaks. | |
1276 | (distribute_loop): Compute loop-nest here and pass it to build_rdg. | |
1277 | ||
80ecd89d YR |
1278 | 2013-09-12 Yuri Rumyantsev <ysrumyan@gmail.com> |
1279 | ||
1280 | * config/i386/x86-tune.def: Turn on X86_TUNE_AVOID_MEM_OPND_FOR_CMOVE | |
1281 | for SLM. | |
1282 | ||
893e85fa CM |
1283 | 2013-09-12 Cameron McInally <cameron.mcinally@nyu.edu> |
1284 | ||
1285 | * doc/extend.texi: Fix errors in x86 FMA builtin naming. | |
1286 | The FMA instruction names should have a 'v' prefix. | |
1287 | ||
174ec470 RB |
1288 | 2013-09-12 Richard Biener <rguenther@suse.de> |
1289 | ||
1290 | * tree-loop-distribution.c (dot_rdg_1): Make graph prettier. | |
1291 | (dot_rdg): Use popen instead of system in optional code. | |
1292 | (remaining_stmts, upstream_mem_writes): Remove global bitmaps. | |
1293 | (already_processed_vertex_p): Adjust. | |
1294 | (has_anti_or_output_dependence, predecessor_has_mem_write, | |
1295 | mark_nodes_having_upstream_mem_writes, has_upstream_mem_writes, | |
1296 | rdg_flag_uses): Remove. | |
1297 | (rdg_flag_vertex): Simplify. | |
1298 | (rdg_flag_vertex_and_dependent): Rely on a correct RDG and | |
1299 | remove recursion. | |
1300 | (build_rdg_partition_for_component): Process the first vertex | |
1301 | of a component only. | |
1302 | (ldist_gen): Do not compute remaining_stmts or upstream_mem_writes. | |
1303 | ||
38c89763 AM |
1304 | 2013-09-12 Alan Modra <amodra@gmail.com> |
1305 | ||
1306 | * config/rs6000/rs6000.c (toc_relative_expr_p): Use add_cint_operand. | |
1307 | ||
3e3d9d17 DD |
1308 | 2013-09-11 DJ Delorie <dj@redhat.com> |
1309 | Nick Clifton <nickc@redhat.com> | |
1310 | ||
1311 | * config/rl78/predicates.md (rl78_cmp_operator_signed): New. | |
1312 | (rl78_stack_based_mem): New. | |
1313 | * config/rl78/constraints.md (Iv08): New. | |
1314 | (Iv16): New. | |
1315 | (Iv24): New. | |
1316 | (Is09): New. | |
1317 | (Is17): New. | |
1318 | (Is25): New. | |
1319 | (ISsi): New. | |
1320 | (IShi): New. | |
1321 | (ISqi): New. | |
1322 | * config/rl78/rl78-expand.md (movqi): Reject more SUBREG operands. | |
1323 | (movhi): Likewise. | |
1324 | (movsi): Change from expand to insn-and-split. | |
1325 | (ashrsi3): Clobber AX. | |
1326 | (lshrsi3): New. | |
1327 | (ashlsi3): New. | |
1328 | (cbranchsi4): New. | |
1329 | * config/rl78/rl78.md (CC_REG): Fix. | |
1330 | (addsi3): Allow memory and immediate operands. | |
1331 | (addsi3_internal): Split into... | |
1332 | (addsi3_internal_virt): ...new, and ... | |
1333 | (addsi3_internal_real): ...new. | |
1334 | (subsi): New. | |
1335 | (subsi3_internal_virt): New. | |
1336 | (subsi3_internal_real): New. | |
1337 | (mulsi3): Add memory operand. | |
1338 | (mulsi3_rl78): Likewise. | |
1339 | (mulsi3_g13): Likewise. | |
1340 | * config/rl78/rl78-real.md (cbranchqi4_real_signed): New. | |
1341 | (cbranchqi4_real): Add more constraint options. | |
1342 | (cbranchhi4_real): Expand pattern. | |
1343 | (cbranchhi4_real_signed): New. | |
1344 | (cbranchhi4_real_inverted): New. | |
1345 | (cbranchsi4_real_lt): New. | |
1346 | (cbranchsi4_real_ge): New. | |
1347 | (cbranchsi4_real_signed): New. | |
1348 | (cbranchsi4_real): New. | |
1349 | (peephole2): New. | |
893e85fa CM |
1350 | * config/rl78/rl78-virt.md (ashrsi3_virt): Add custom cases for |
1351 | constant shifts. | |
3e3d9d17 DD |
1352 | (lshrsi3_virt): Likewise. |
1353 | (ashlsi3_virt): Likewise. | |
1354 | (cbranchqi4_virt_signed): New. | |
1355 | (cbranchhi4_virt_signed): New. | |
1356 | (cbranchsi4_virt): New. | |
1357 | * config/rl78/rl78.c: Whitespace fixes throughout. | |
1358 | (move_elim_pass): New. | |
1359 | (pass_data_rl78_move_elim): New. | |
1360 | (pass_rl78_move_elim): New. | |
1361 | (make_pass_rl78_move_elim): New. | |
1362 | (rl78_devirt_info): Run devirt earlier. | |
1363 | (rl78_move_elim_info): New. | |
1364 | (rl78_asm_file_start): Register it. | |
1365 | (rl78_split_movsi): New. | |
1366 | (rl78_as_legitimate_address): Allow virtual base registers when | |
1367 | appropriate. | |
1368 | (rl78_addr_space_convert): Remove spurious debug stuff. | |
1369 | (rl78_print_operand_1): Add z,s,S,r,E modifiers. | |
1370 | (rl78_print_operand): More cases for not printing '#'. | |
1371 | (rl78_expand_compare): Remove most of the logic. | |
1372 | (content_memory): New. | |
1373 | (clear_content_memory): New. | |
1374 | (get_content_index): New. | |
1375 | (get_content_name): New. | |
1376 | (display_content_memory): New. | |
1377 | (update_content): New. | |
1378 | (record_content): New. | |
1379 | (already_contains): New. | |
1380 | (insn_ok_now): Re-recog insns with virtual registers. | |
1381 | (add_postponed_content_update): New. | |
1382 | (process_postponed_content_update): New. | |
1383 | (gen_and_emit_move): New. | |
893e85fa CM |
1384 | (transcode_memory_rtx): Record new location content. |
1385 | Use gen_and_emit_move. | |
3e3d9d17 DD |
1386 | (force_into_acc): New. |
1387 | (move_to_acc): Use gen_and_emit_move. | |
1388 | (move_from_acc): Likewise. | |
1389 | (move_acc_to_reg): Likewise. | |
1390 | (move_to_x): Likewise. | |
1391 | (move_to_hl): Likewise. | |
1392 | (move_to_de): Likewise. | |
1393 | (rl78_alloc_physical_registers_op1): Record location content. | |
1394 | (has_constraint): New. | |
1395 | (rl78_alloc_physical_registers_op2): Record location content. | |
1396 | Optimize use of HL. | |
1397 | (rl78_alloc_physical_registers_ro1): Likewise. | |
1398 | (rl78_alloc_physical_registers_cmp): Likewise. | |
1399 | (rl78_alloc_physical_registers_umul): Likewise. | |
1400 | (rl78_alloc_address_registers_macax): New. | |
1401 | (rl78_alloc_physical_registers): Initialize and set location | |
1402 | content memory as needed. | |
1403 | (rl78_reorg): Make sure split2 is called. | |
1404 | (rl78_rtx_costs): New. | |
1405 | ||
088845a5 RS |
1406 | 2013-09-11 Richard Sandiford <rdsandiford@googlemail.com> |
1407 | ||
1408 | * simplify-rtx.c (simplify_unary_operation_1): Use simplify_gen_binary | |
1409 | for (not (neg ...)) and (neg (not ...)) cases. | |
1410 | ||
5c2961cf RB |
1411 | 2013-09-11 Richard Biener <rguenther@suse.de> |
1412 | ||
1413 | PR middle-end/58377 | |
1414 | * passes.def: Split critical edges before late uninit warning passes. | |
1415 | * tree-cfg.c (pass_split_crit_edges): Implement clone method. | |
1416 | ||
427e6a14 JJ |
1417 | 2013-09-11 Jakub Jelinek <jakub@redhat.com> |
1418 | ||
1419 | PR tree-optimization/58385 | |
1420 | * fold-const.c (build_range_check): If both low and high are NULL, | |
1421 | use omit_one_operand_loc to preserve exp side-effects. | |
1422 | ||
df45c0cc KT |
1423 | 2013-09-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1424 | ||
1425 | * config/arm/arm.md (arm_shiftsi3): New alternative l/l/M. | |
1426 | ||
80ab0b19 RB |
1427 | 2013-09-11 Richard Biener <rguenther@suse.de> |
1428 | ||
1429 | * tree-data-ref.c (dump_rdg_vertex, debug_rdg_vertex, | |
1430 | dump_rdg_component, debug_rdg_component, dump_rdg, debug_rdg, | |
1431 | dot_rdg_1, dot_rdg, rdg_vertex_for_stmt, create_rdg_edge_for_ddr, | |
1432 | create_rdg_edges_for_scalar, create_rdg_edges, create_rdg_vertices, | |
1433 | stmts_from_loop, known_dependences_p, build_empty_rdg, | |
1434 | build_rdg, free_rdg, rdg_defs_used_in_other_loops_p): Move ... | |
1435 | * tree-loop-distribution.c: ... here. | |
1436 | * tree-data-ref.h (struct rdg_vertex, RDGV_STMT, RDGV_DATAREFS, | |
1437 | RDGV_HAS_MEM_WRITE, RDGV_HAS_MEM_READS, RDG_STMT, RDG_DATAREFS, | |
1438 | RDG_MEM_WRITE_STMT, RDG_MEM_READS_STMT, enum rdg_dep_type, | |
1439 | struct rdg_edge, RDGE_TYPE, RDGE_LEVEL, RDGE_RELATION): Move ... | |
1440 | * tree-loop-distribution.c: ... here. | |
1441 | * tree-loop-distribution.c: Include gimple-pretty-print.h. | |
1442 | (struct partition_s): Add loops member. | |
1443 | (partition_alloc, partition_free, rdg_flag_uses, rdg_flag_vertex, | |
1444 | rdg_flag_vertex_and_dependent, rdg_flag_loop_exits, | |
1445 | build_rdg_partition_for_component, rdg_build_partitions): Adjust. | |
1446 | ||
85a77221 AI |
1447 | 2013-09-11 Alexander Ivchenko <alexander.ivchenko@intel.com> |
1448 | Maxim Kuznetsov <maxim.kuznetsov@intel.com> | |
1449 | Sergey Lega <sergey.s.lega@intel.com> | |
1450 | Anna Tikhonova <anna.tikhonova@intel.com> | |
1451 | Ilya Tocar <ilya.tocar@intel.com> | |
1452 | Andrey Turetskiy <andrey.turetskiy@intel.com> | |
1453 | Ilya Verbin <ilya.verbin@intel.com> | |
1454 | Kirill Yukhin <kirill.yukhin@intel.com> | |
1455 | Michael Zolotukhin <michael.v.zolotukhin@intel.com> | |
1456 | ||
1457 | * config/i386/constraints.md (k): New. | |
1458 | (Yk): Ditto. | |
1459 | * config/i386/i386.c (const regclass_map): Add new mask registers. | |
1460 | (dbx_register_map): Ditto. | |
1461 | (dbx64_register_map): Ditto. | |
1462 | (svr4_dbx_register_map): Ditto. | |
1463 | (ix86_conditional_register_usage): Squash mask registers if AVX512F is | |
1464 | disabled. | |
1465 | (ix86_preferred_reload_class): Disable constants for mask registers. | |
1466 | (ix86_secondary_reload): Do spill of mask register using 32-bit insn. | |
1467 | (ix86_hard_regno_mode_ok): Support new mask registers. | |
1468 | (x86_order_regs_for_local_alloc): Ditto. | |
1469 | * config/i386/i386.h (FIRST_PSEUDO_REGISTER): Update. | |
1470 | (FIXED_REGISTERS): Add new mask registers. | |
1471 | (CALL_USED_REGISTERS): Ditto. | |
1472 | (REG_ALLOC_ORDER): Ditto. | |
1473 | (VALID_MASK_REG_MODE): New. | |
1474 | (FIRST_MASK_REG): Ditto. | |
1475 | (LAST_MASK_REG): Ditto. | |
1476 | (reg_class): Add MASK_EVEX_REGS, MASK_REGS. | |
1477 | (MAYBE_MASK_CLASS_P): New. | |
1478 | (REG_CLASS_NAMES): Add MASK_EVEX_REGS, MASK_REGS. | |
1479 | (REG_CLASS_CONTENTS): Ditto. | |
1480 | (MASK_REGNO_P): New. | |
1481 | (ANY_MASK_REG_P): Ditto. | |
1482 | (HI_REGISTER_NAMES): Add new mask registers. | |
893e85fa CM |
1483 | * config/i386/i386.md (MASK0_REG, MASK1_REG, MASK2_REG, MASK3_REG, |
1484 | MASK4_REG, MASK5_REG, MASK6_REG, MASK7_REG): Constants for new | |
1485 | mask registers. | |
85a77221 AI |
1486 | (attribute "type"): Add mskmov, msklog. |
1487 | (attribute "length_immediate"): Support them. | |
1488 | (attribute "memory"): Ditto. | |
1489 | (attribute "prefix_0f"): Ditto. | |
1490 | (*movhi_internal): Support new mask registers. | |
1491 | (*movqi_internal): Ditto. | |
1492 | (define_split): Split out clobber pattern is a logic | |
1493 | insn on mask registers. | |
1494 | (*k<logic><mode>): New. | |
1495 | (*andhi_1): Extend to support mask regs. | |
1496 | (*andqi_1): Extend to support mask regs. | |
1497 | (kandn<mode>): New. | |
1498 | (define_split): Split and-not to and and not if operands | |
1499 | are not mask regs. | |
1500 | (*<code><mode>_1): Separate HI mode to new pattern... | |
1501 | (*<code>hi_1): This. | |
1502 | (*<code>qi_1): Extend to support mask regs. | |
1503 | (kxnor<mode>): New. | |
1504 | (kortestzhi): Ditto. | |
1505 | (kortestchi): Ditto. | |
1506 | (kunpckhi): Ditto. | |
1507 | (*one_cmpl<mode>2_1): Remove HImode and handle it... | |
1508 | (*one_cmplhi2_1): ...Here, now with mask registers support. | |
1509 | (*one_cmplqi2_1): Support new mask registers. | |
893e85fa CM |
1510 | (HI/QImode arithmetics splitter): Don't split if mask registers |
1511 | are used. | |
85a77221 AI |
1512 | (HI/QImode not splitter): Ditto. |
1513 | * config/i386/predicated.md (mask_reg_operand): New. | |
1514 | (general_reg_operand): Ditto. | |
1515 | ||
7e570821 AI |
1516 | 2013-09-11 Alexander Ivchenko <alexander.ivchenko@intel.com> |
1517 | ||
1518 | * doc/invoke.texi: Document fxsr, xsave and xsaveopt options. | |
1519 | * doc/extend.texi: Document fxsr, xsave and xsaveopt builtins. | |
1520 | ||
9e1376e9 JL |
1521 | 2013-09-10 Jeff Law <law@redhat.com> |
1522 | ||
1523 | PR tree-optimization/58380 | |
1524 | * tree-ssa-threadupdate.c (thread_block): Recognize another case | |
1525 | of threading through a buried loop header. | |
1526 | ||
1527 | * tree-ssa-threadedge.c (thread_around_empty_blocks): Correct | |
1528 | return value for single successor case. | |
1529 | ||
5bbcb888 JH |
1530 | 2013-09-10 Jan Hubicka <jh@suse.cz> |
1531 | ||
1532 | * ipa-devirt.c (ipa_devirt): Enable with LTO. | |
1533 | ||
d742ff4b RE |
1534 | 2013-09-10 Richard Earnshaw <rearnsha@arm.com> |
1535 | ||
1536 | PR target/58361 | |
1537 | * arm/vfp.md (combine_vcvt_f32_<FCVTI32typename>): Fix pattern to | |
1538 | support conditional execution. | |
1539 | (combine_vcvt_f64_<FCVTI32typename>): Likewise. | |
1540 | ||
b0681c9e VM |
1541 | 2013-09-10 Vladimir Makarov <vmakarov@redhat.com> |
1542 | ||
1543 | * lra.c (lra): Clear lra_optional_reload_pseudos before every | |
1544 | constraint pass. | |
f77e2d2d JBG |
1545 | * lra-constraints.c (curr_insn_transform): Switch on optional reloads. |
1546 | Check destination too to check move insn. | |
b0681c9e | 1547 | (undo_optional_reloads): Add check that the original peudo did not |
f77e2d2d JBG |
1548 | changed its allocation and the optional reload was inherited on last |
1549 | inheritance pass. Break loop after deciding to keep optional reload. | |
b0681c9e VM |
1550 | (lra_undo_inheritance): Add check that inherited pseudo still in |
1551 | memory. | |
1552 | ||
c9b1c957 JG |
1553 | 2013-09-10 James Greenhalgh <james.greenhalgh@arm.com> |
1554 | ||
1555 | * config/aarch64/aarch64.md (generic_sched): New. | |
1556 | * config/aarch64/aarch64-generic.md (load): Make conditional | |
1557 | on generic_sched attribute. | |
1558 | (nonload): Likewise. | |
1559 | ||
82d618d3 JH |
1560 | 2013-09-10 Jan Hubicka <jh@suse.cz> |
1561 | ||
1562 | * lto-cgraph.c: Include ipa-utils.h. | |
1563 | (compute_ltrans_boundary): Also add possible targets into the boundary. | |
1564 | ||
668b6894 JH |
1565 | 2013-09-10 Jan Hubicka <jh@suse.cz> |
1566 | ||
1567 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Pass real | |
1568 | VAR_DECL of vtable rather than full expression. | |
1569 | ||
4f90d3e0 JH |
1570 | 2013-09-10 Jan Hubicka <jh@suse.cz> |
1571 | Paolo Carlini <paolo.carlini@oracle.com> | |
1572 | ||
1573 | * cgraphunit.c (analyze_functions): Save input_location, set it | |
1574 | to UNKNOWN_LOCATION and restore it at the end. | |
1575 | ||
39e87baf MJ |
1576 | 2013-09-10 Martin Jambor <mjambor@suse.cz> |
1577 | ||
1578 | * ipa-cp.c (propagate_constants_topo): Do not ignore SCC | |
1579 | represented by a thunk. | |
1580 | ||
581aedec JL |
1581 | 2013-09-10 Jeff Law <law@redhat.com> |
1582 | ||
1583 | PR tree-optimization/58343 | |
1584 | * tree-ssa-threadupdate.c (thread_block): Identify and disable | |
1585 | jump threading requests through loop headers buried in the middle | |
1586 | of a jump threading path. | |
1587 | ||
1588 | * tree-ssa-threadedge.c (thread_around_empty_blocks): Fix thinko | |
1589 | in return value/type. | |
1590 | ||
84cf4ab6 JJ |
1591 | 2013-09-10 Jakub Jelinek <jakub@redhat.com> |
1592 | ||
1593 | PR rtl-optimization/58365 | |
1594 | * cfgcleanup.c (merge_memattrs): Also clear MEM_READONLY_P | |
1595 | resp. MEM_NOTRAP_P if they differ, or set MEM_VOLATILE_P if | |
1596 | it differs. | |
1597 | ||
447dd906 RB |
1598 | 2013-09-10 Richard Biener <rguenther@suse.de> |
1599 | ||
1600 | * tree-data-ref.h (build_rdg): Drop all parameters but loop. | |
1601 | * tree-data-ref.c (create_rdg_vertices): Collect all data | |
1602 | references, signal failure to the caller, use data-ref API. | |
893e85fa CM |
1603 | (build_rdg): Compute data references only once. Maintain lifetime |
1604 | of data references and data dependences from within RDG. | |
447dd906 RB |
1605 | (free_rdg): Free dependence relations. |
1606 | * tree-loop-distribution.c (rdg_flag_uses): Drop weird code | |
1607 | inventing extra dependences. | |
1608 | (distribute_loop): Update for RDG API changes. | |
1609 | ||
f14a7324 KT |
1610 | 2013-09-10 Kai Tietz <ktietz@redhat.com> |
1611 | ||
1612 | * doc/invoke.texi (fms-extensions): Document changed | |
1613 | behavior for ms-abi targets. | |
1614 | * config/i386/i386.c (ix86_option_override_internal): | |
1615 | Set default value of option -fms-extension for ms-abi targets. | |
1616 | ||
ff131f26 MZ |
1617 | 2013-09-10 Michael Zolotukhin <michael.v.zolotukhin@gmail.com> |
1618 | ||
1619 | * config/i386/i386.c (ix86_expand_movmem): Fix epilogue generation. | |
1620 | ||
33115a2c AM |
1621 | 2013-09-10 Alan Modra <amodra@gmail.com> |
1622 | ||
1623 | PR target/58330 | |
1624 | * config/rs6000/rs6000.md (bswapdi2_64bit): Disable for volatile mems. | |
1625 | ||
b6872a13 AM |
1626 | 2013-09-10 Alan Modra <amodra@gmail.com> |
1627 | ||
1628 | * config/rs6000/predicates.md (add_cint_operand): New. | |
1629 | (reg_or_add_cint_operand, small_toc_ref): Use add_cint_operand. | |
1630 | * config/rs6000/rs6000.md (largetoc_high_plus): Restrict offset | |
1631 | using add_cint_operand. | |
1632 | (largetoc_high_plus_aix): Likewise. | |
1633 | ||
28fd0ba2 JJ |
1634 | 2013-09-09 Jakub Jelinek <jakub@redhat.com> |
1635 | ||
1636 | PR tree-optimization/58364 | |
1637 | * tree-ssa-reassoc.c (init_range_entry): For BIT_NOT_EXPR on | |
1638 | BOOLEAN_TYPE, only invert in_p and continue with arg0 if | |
1639 | the current range can't be an unconditional true or false. | |
1640 | ||
552d99fe JG |
1641 | 2013-09-09 James Greenhalgh <james.greenhalgh@arm.com> |
1642 | ||
1643 | * config/aarch64/arm_neon.h (vrsqrte_f64): Fix parameter type. | |
1644 | ||
f43245d1 UB |
1645 | 2013-09-09 Uros Bizjak <ubizjak@gmail.com> |
1646 | ||
1647 | * ipa-prop.c (ipa_modify_call_arguments): Initialize deref_align. | |
1648 | ||
c9b0866a PC |
1649 | 2013-09-09 Paolo Carlini <paolo.carlini@oracle.com> |
1650 | ||
1651 | PR c++/43452 | |
1652 | * doc/invoke.texi (-Wdelete-incomplete): Document it. | |
1653 | ||
78d8b9f0 IB |
1654 | 2013-09-09 Ian Bolton <ian.bolton@arm.com> |
1655 | ||
1656 | * config/aarch64/aarch64.c (aarch64_preferred_reload_class): Return | |
1657 | NO_REGS for immediate that can't be moved directly into FP_REGS. | |
1658 | ||
274b2532 KT |
1659 | 2013-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1660 | ||
1661 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Return CC_SWP for | |
1662 | comparison with negated operand. | |
c9b0866a PC |
1663 | * config/aarch64/aarch64.md (compare_neg<mode>): Match canonical |
1664 | RTL form. | |
274b2532 | 1665 | |
467a3558 RB |
1666 | 2013-09-09 Richard Biener <rguenther@suse.de> |
1667 | ||
1668 | PR middle-end/58326 | |
1669 | * cfgloopmanip.c (fix_bb_placements): When fixing the placement | |
1670 | of a subloop record all its block as affecting loop-closed SSA form. | |
1671 | ||
088c5368 RS |
1672 | 2013-09-09 Richard Sandiford <rdsandiford@googlemail.com> |
1673 | ||
1674 | * expmed.c (lshift_value): Take an unsigned HOST_WIDE_INT instead | |
1675 | of an rtx/bitpos pair. | |
1676 | (store_fixed_bit_field): Update accordingly. | |
1677 | ||
69db2d57 RS |
1678 | 2013-09-09 Richard Sandiford <rdsandiford@googlemail.com> |
1679 | ||
1680 | * asan.c (asan_emit_stack_protection): Use gen_int_mode instead of | |
1681 | GEN_INT. | |
1682 | * builtins.c (expand_errno_check): Likewise. | |
1683 | * dwarf2cfi.c (init_return_column_size): Likewise. | |
1684 | * except.c (sjlj_mark_call_sites): Likewise. | |
1685 | * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise. | |
1686 | * lra-constraints.c (emit_inc): Likewise. | |
1687 | * ree.c (combine_set_extension): Likewise. | |
1688 | * regmove.c (fixup_match_2): Likewise. | |
1689 | * reload1.c (inc_for_reload): Likewise. | |
1690 | ||
69a59f0f RS |
1691 | 2013-09-09 Richard Sandiford <rdsandiford@googlemail.com> |
1692 | ||
1693 | * combine.c (simplify_set, expand_field_assignment, extract_left_shift) | |
1694 | (force_to_mode, simplify_shift_const_1, simplify_comparison): | |
1695 | Use gen_int_mode with the mode of the associated simplify_* call. | |
1696 | * explow.c (probe_stack_range, anti_adjust_stack_and_probe): Likewise. | |
1697 | * expmed.c (expand_shift_1): Likewise. | |
1698 | * function.c (instantiate_virtual_regs_in_insn): Likewise. | |
1699 | * loop-iv.c (iv_number_of_iterations): Likewise. | |
1700 | * loop-unroll.c (unroll_loop_runtime_iterations): Likewise. | |
1701 | * simplify-rtx.c (simplify_binary_operation_1): Likewise. | |
1702 | ||
2f1cd2eb RS |
1703 | 2013-09-09 Richard Sandiford <rdsandiford@googlemail.com> |
1704 | ||
1705 | * asan.c (asan_clear_shadow): Use gen_int_mode with the mode | |
1706 | of the associated expand_* call. | |
1707 | (asan_emit_stack_protection): Likewise. | |
1708 | * builtins.c (round_trampoline_addr): Likewise. | |
1709 | * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise. | |
1710 | * expmed.c (expand_smod_pow2, expand_sdiv_pow2, expand_divmod) | |
1711 | (emit_store_flag): Likewise. | |
1712 | * expr.c (emit_move_resolve_push, push_block, emit_single_push_insn_1) | |
1713 | (emit_push_insn, optimize_bitfield_assignment_op, expand_expr_real_1): | |
1714 | Likewise. | |
1715 | * function.c (instantiate_virtual_regs_in_insn): Likewise. | |
1716 | * ifcvt.c (noce_try_store_flag_constants): Likewise. | |
1717 | * loop-unroll.c (unroll_loop_runtime_iterations): Likewise. | |
1718 | * modulo-sched.c (generate_prolog_epilog): Likewise. | |
1719 | * optabs.c (expand_binop, widen_leading, expand_doubleword_clz) | |
1720 | (expand_ctz, expand_ffs, expand_unop): Likewise. | |
1721 | ||
4789c0ce RS |
1722 | 2013-09-09 Richard Sandiford <rdsandiford@googlemail.com> |
1723 | ||
1724 | * alias.c (addr_side_effect_eval): Use gen_int_mode with the mode | |
1725 | of the associated gen_rtx_* call. | |
1726 | * caller-save.c (init_caller_save): Likewise. | |
1727 | * combine.c (find_split_point, make_extraction): Likewise. | |
1728 | (make_compound_operation): Likewise. | |
1729 | * dwarf2out.c (mem_loc_descriptor): Likewise. | |
1730 | * explow.c (plus_constant, probe_stack_range): Likewise. | |
1731 | * expmed.c (expand_mult_const): Likewise. | |
1732 | * expr.c (emit_single_push_insn_1, do_tablejump): Likewise. | |
1733 | * reload1.c (init_reload): Likewise. | |
1734 | * valtrack.c (cleanup_auto_inc_dec): Likewise. | |
1735 | * var-tracking.c (adjust_mems): Likewise. | |
1736 | * modulo-sched.c (sms_schedule): Likewise, but use gen_rtx_GT | |
1737 | rather than gen_rtx_fmt_ee. | |
1738 | ||
a811f7cb JH |
1739 | 2013-09-09 Jan Hubicka <jh@suse.cz> |
1740 | ||
1741 | PR middle-end/58294 | |
1742 | * value-prof.c (gimple_ic): Copy also abnormal edges. | |
1743 | ||
dcad1dd3 RS |
1744 | 2013-09-09 Richard Sandiford <rdsandiford@googlemail.com> |
1745 | ||
1746 | * asan.c (asan_shadow_cst): Use gen_int_mode. | |
1747 | ||
daf5c770 JH |
1748 | 2013-09-08 Jan Hubicka <jh@suse.cz> |
1749 | ||
1750 | * ipa-profile.c: Add toplevel comment. | |
1751 | (ipa_propagate_frequency_1): Be more conservative when profile is read. | |
1752 | (contains_hot_call_p): New function. | |
1753 | (ipa_propagate_frequency): Set frequencies based on counts when | |
1754 | profile is read. | |
1755 | * predict.c (compute_function_frequency): Use PROFILE_READ gueard for | |
1756 | profile; do not tamper with profile after inlining if it is read. | |
1757 | ||
a12cd2db JH |
1758 | 2013-09-08 Jan Hubicka <jh@suse.cz> |
1759 | ||
1760 | * ipa-prop.c (try_make_edge_direct_simple_call): Do not special case | |
1761 | speculative edges. | |
1762 | ||
856a1588 JH |
1763 | 2013-09-08 Jan Hubicka <jh@suse.cz> |
1764 | ||
1765 | * ipa.c (walk_polymorphic_call_targets): Fix redirection before IPA | |
1766 | summary generation. | |
1767 | ||
4f4b0b73 JL |
1768 | 2013-09-08 Jeff Law <law@redhat.com> |
1769 | ||
1770 | PR bootstrap/58340 | |
1771 | * tree-ssa-threadedge.c (thread_across_edge): Fix initialization | |
1772 | of 'found'. | |
1773 | ||
cc4029ee AK |
1774 | 2013-09-08 Andi Kleen <ak@linux.intel.com> |
1775 | ||
1776 | * tree-inline.c (estimate_num_insns): Limit asm cost to 1000. | |
1777 | ||
7b395ddd JH |
1778 | 2013-09-08 Jan Hubicka <jh@suse.cz> |
1779 | ||
1780 | * ipa.c (walk_polymorphic_call_targets): Fix inliner summary update. | |
1781 | ||
c34c46dd RS |
1782 | 2013-09-08 Richard Sandiford <rdsandiford@googlemail.com> |
1783 | ||
1784 | * ira.c (update_equiv_regs): Only call set_paradoxical_subreg | |
1785 | for non-debug insns. | |
1786 | * lra.c (new_insn_reg): Take the containing insn as a parameter. | |
1787 | Only modify lra_reg_info[].biggest_mode if it's non-debug insn. | |
1788 | (collect_non_operand_hard_regs, add_regs_to_insn_regno_info): Update | |
1789 | accordingly. | |
1790 | ||
3462aa02 JH |
1791 | 2013-09-08 Jan Hubicka <jh@suse.cz> |
1792 | ||
1793 | * cgraphunit.c (walk_polymorphic_call_targets): Permit 0 possible | |
1794 | targets and devirtualize to BUILT_IN_UNREACHABLE. | |
1795 | * timevar.def (TV_IPA_UNREACHABLE): New timevar. | |
1796 | * ipa.c (walk_polymorphic_call_targets): New function. | |
1797 | (symtab_remove_unreachable_nodes): Use it; do not keep all virtual | |
1798 | functions; use the new timevar. | |
1799 | * ipa-devirt.c (maybe_record_node): Do not insert static nodes that | |
1800 | was removed from the program. | |
1801 | (record_binfo): If BINFO corresponds to an anonymous namespace, we may | |
1802 | not consider it in the walk when its vtable is dead. | |
1803 | (possible_polymorphic_call_targets_1): Pass anonymous flag to | |
1804 | record_binfo. | |
1805 | (devirt_variable_node_removal_hook): New function. | |
1806 | (possible_polymorphic_call_targets): Also register | |
1807 | devirt_variable_node_removal_hook. | |
1808 | (ipa_devirt): Do not do non-speculative devirtualization. | |
1809 | (gate_ipa_devirt): One execute if devirtualizing speculatively. | |
1810 | ||
26e5b0fd JH |
1811 | 2013-09-08 Jan Hubicka <jh@suse.cz> |
1812 | ||
1813 | * cgraph.h (varpool_node_hook, varpool_node_hook_list, | |
1814 | varpool_add_node_removal_hook, varpool_add_variable_insertion_hook, | |
1815 | varpool_remove_variable_insertion_hook): Declare. | |
1816 | * varpool.c (varpool_node_hook_list): New structure. | |
1817 | (first_varpool_node_removal_hook, | |
1818 | first_varpool_variable_insertion_hook): New variables. | |
1819 | (varpool_add_node_removal_hook, varpool_remove_node_removal_hook, | |
1820 | varpool_call_node_removal_hooks, varpool_add_variable_insertion_hook, | |
1821 | varpool_remove_variable_insertion_hook, | |
1822 | varpool_call_variable_insertion_hooks): New functions. | |
1823 | (varpool_remove_node): Use it. | |
1824 | ||
97f1f314 | 1825 | 2013-09-08 Paolo Carlini <paolo.carlini@oracle.com> |
6df2ca09 | 1826 | |
97f1f314 PC |
1827 | PR c++/54941 |
1828 | * diagnostic.c (diagnostic_build_prefix): When s.file is | |
1829 | "<built-in>" don't output line and column numbers. | |
6df2ca09 | 1830 | |
bcb650cb JH |
1831 | 2013-09-06 Jan Hubicka <jh@suse.cz> |
1832 | ||
1833 | * cgraphunit.c (expand_thunk): Get body before touching arguments. | |
1834 | * lto-streamer-out.c: Stream thunks, too. | |
1835 | * lto-streamer-in.c (input_function): Pop cfun here | |
1836 | (lto_read_body): Instead of here. | |
1837 | ||
87f3fea8 CT |
1838 | 2013-09-06 Caroline Tice <cmtice@google.com> |
1839 | ||
1840 | * doc/install.texi: Add documentation for the --enable-vtable-verify | |
1841 | and the --disable-libvtv configure options. | |
1842 | ||
5e8d9b45 JL |
1843 | 2013-09-06 Jeff Law <law@redhat.com> |
1844 | ||
1845 | * tree-ssa-dom.c (cprop_into_successor_phis): Also propagate | |
1846 | edge implied equivalences into successor phis. | |
1847 | ||
3a001aff JR |
1848 | 2013-09-06 Joern Rennecke <joern.rennecke@embecosm.com> |
1849 | ||
1850 | * resource.c (mark_referenced_resources): Handle COND_EXEC. | |
1851 | ||
1852 | 2013-09-06 Claudiu Zissulescu <claziss@synopsys.com> | |
c42091c1 CZ |
1853 | |
1854 | * resource.c (mark_target_live_regs): Compute resources taking | |
1855 | into account if a call is predicated or not. | |
1856 | ||
2c641f8b EB |
1857 | 2013-09-06 Eric Botcazou <ebotcazou@adacore.com> |
1858 | ||
1859 | * toplev.c (output_stack_usage): Be prepared for suffixes created by | |
1860 | the compiler in the function names. | |
1861 | ||
a81b0a3d JH |
1862 | 2013-09-06 Jan Hubicka <jh@suse.cz> |
1863 | ||
1864 | PR middle-end/58094 | |
1865 | * ipa-inline.c (has_caller_p): New function. | |
1866 | (want_inline_function_to_all_callers_p): Use it. | |
1867 | (sum_callers, inline_to_all_callers): Break out from ... | |
1868 | (ipa_inline): ... here. | |
1869 | ||
68e4ca7e JH |
1870 | 2013-09-06 Jan Hubicka <jh@suse.cz> |
1871 | ||
2c641f8b EB |
1872 | * config/i386/i386.c (ix86_hard_regno_mode_ok): AVX modes are valid |
1873 | only when AVX is enabled. | |
68e4ca7e | 1874 | |
3c73e2fe JG |
1875 | 2013-09-06 James Greenhalgh <james.greenhalgh@arm.com> |
1876 | ||
1877 | * config/aarch64/aarch64.md | |
1878 | (*movtf_aarch64): Use neon_<ls>dm_2 as type where v8type | |
1879 | is fpsimd_<load/store>2. | |
1880 | (load_pair<mode>): Likewise. | |
1881 | (store_pair<mode>): Likewise. | |
1882 | ||
8c48eecd JG |
1883 | 2013-09-06 James Greenhalgh <james.greenhalgh@arm.com> |
1884 | ||
1885 | * config/arm/types.md (type): Add "mrs" type. | |
1886 | * config/aarch64/aarch64.md | |
1887 | (aarch64_load_tp_hard): Make type "mrs". | |
1888 | * config/arm/arm.md | |
1889 | (load_tp_hard): Make type "mrs". | |
1890 | * config/arm/cortex-a15.md: Update with new attributes. | |
1891 | * config/arm/cortex-a5.md: Update with new attributes. | |
1892 | * config/arm/cortex-a53.md: Update with new attributes. | |
1893 | * config/arm/cortex-a7.md: Update with new attributes. | |
1894 | * config/arm/cortex-a8.md: Update with new attributes. | |
1895 | * config/arm/cortex-a9.md: Update with new attributes. | |
1896 | * config/arm/cortex-m4.md: Update with new attributes. | |
1897 | * config/arm/cortex-r4.md: Update with new attributes. | |
1898 | * config/arm/fa526.md: Update with new attributes. | |
1899 | * config/arm/fa606te.md: Update with new attributes. | |
1900 | * config/arm/fa626te.md: Update with new attributes. | |
1901 | * config/arm/fa726te.md: Update with new attributes. | |
1902 | ||
9ea187a5 JG |
1903 | 2013-09-06 James Greenhalgh <james.greenhalgh@arm.com> |
1904 | ||
1905 | * config/aarch64/aarch64.md | |
1906 | (*movti_aarch64): Use "multiple" for type where v8type is "move2". | |
1907 | (*movtf_aarch64): Likewise. | |
1908 | * config/arm/arm.md | |
1909 | (thumb1_movdi_insn): Use "multiple" for type where more than one | |
1910 | instruction is used for a move. | |
1911 | (*arm32_movhf): Likewise. | |
1912 | (*thumb_movdf_insn): Likewise. | |
1913 | ||
292b89b3 JG |
1914 | 2013-09-06 James Greenhalgh <james.greenhalgh@arm.com> |
1915 | ||
1916 | * config/arm/types.md (type): Rename fcpys to fmov. | |
1917 | * config/arm/vfp.md | |
1918 | (*arm_movsi_vfp): Rename type fcpys as fmov. | |
1919 | (*thumb2_movsi_vfp): Likewise | |
1920 | (*movhf_vfp_neon): Likewise | |
1921 | (*movhf_vfp): Likewise | |
1922 | (*movsf_vfp): Likewise | |
1923 | (*thumb2_movsf_vfp): Likewise | |
1924 | (*movsfcc_vfp): Likewise | |
1925 | (*thumb2_movsfcc_vfp): Likewise | |
1926 | * config/aarch64/aarch64-simd.md | |
1927 | (move_lo_quad_<mode>): Replace type mov_reg with fmovs. | |
1928 | * config/aarch64/aarch64.md | |
1929 | (*movsi_aarch64): Replace type mov_reg with fmovs. | |
1930 | (*movdi_aarch64): Likewise | |
1931 | (*movsf_aarch64): Likewise | |
1932 | (*movdf_aarch64): Likewise | |
1933 | * config/arm/arm.c | |
1934 | (cortexa7_older_only): Rename TYPE_FCPYS to TYPE_FMOV. | |
1935 | * config/arm/iwmmxt.md | |
1936 | (*iwmmxt_movsi_insn): Rename type fcpys as fmov. | |
1937 | * config/arm/arm1020e.md: Update with new attributes. | |
1938 | * config/arm/cortex-a15-neon.md: Update with new attributes. | |
1939 | * config/arm/cortex-a5.md: Update with new attributes. | |
1940 | * config/arm/cortex-a53.md: Update with new attributes. | |
1941 | * config/arm/cortex-a7.md: Update with new attributes. | |
1942 | * config/arm/cortex-a8-neon.md: Update with new attributes. | |
1943 | * config/arm/cortex-a9.md: Update with new attributes. | |
1944 | * config/arm/cortex-m4-fpu.md: Update with new attributes. | |
1945 | * config/arm/cortex-r4f.md: Update with new attributes. | |
1946 | * config/arm/marvell-pj4.md: Update with new attributes. | |
1947 | * config/arm/vfp11.md: Update with new attributes. | |
1948 | ||
6a24a83e JG |
1949 | 2013-09-06 James Greenhalgh <james.greenhalgh@arm.com> |
1950 | ||
1951 | * config/aarch64/aarch64.md | |
1952 | (*madd<mode>): Fix type attribute. | |
1953 | (*maddsi_uxtw): Likewise. | |
1954 | (*msub<mode>): Likewise. | |
1955 | (*msubsi_uxtw): Likewise. | |
1956 | (<su_optab>maddsidi4): Likewise. | |
1957 | (<su_optab>msubsidi4): Likewise. | |
1958 | ||
b86923f0 JG |
1959 | 2013-09-06 James Greenhalgh <james.greenhalgh@arm.com> |
1960 | ||
1961 | * config/arm/types.md: Split fdiv<sd> as fsqrt<sd>, fdiv<sd>. | |
1962 | * config/arm/arm.md (core_cycles): Remove fdiv. | |
1963 | * config/arm/vfp.md: | |
1964 | (*sqrtsf2_vfp): Update for attribute changes. | |
1965 | (*sqrtdf2_vfp): Likewise. | |
1966 | * config/aarch64/aarch64.md: | |
1967 | (sqrt<mode>2): Update for attribute changes. | |
1968 | * config/arm/arm1020e.md: Update with new attributes. | |
1969 | * config/arm/cortex-a15-neon.md: Update with new attributes. | |
1970 | * config/arm/cortex-a5.md: Update with new attributes. | |
1971 | * config/arm/cortex-a53.md: Update with new attributes. | |
1972 | * config/arm/cortex-a7.md: Update with new attributes. | |
1973 | * config/arm/cortex-a8-neon.md: Update with new attributes. | |
1974 | * config/arm/cortex-a9.md: Update with new attributes. | |
1975 | * config/arm/cortex-m4-fpu.md: Update with new attributes. | |
1976 | * config/arm/cortex-r4f.md: Update with new attributes. | |
1977 | * config/arm/marvell-pj4.md: Update with new attributes. | |
1978 | * config/arm/vfp11.md: Update with new attributes. | |
1979 | ||
7b49c9e1 JG |
1980 | 2013-09-06 James Greenhalgh <james.greenhalgh@arm.com> |
1981 | ||
1982 | * config/arm/types.md | |
1983 | (type): Split f_cvt as f_cvt, f_cvtf2i, f_cvti2f. | |
1984 | * config/aarch64/aarch64.md | |
1985 | (l<fcvt_pattern><su_optab><GPF:mode><GPI:mode>2): Update with | |
1986 | new attributes. | |
1987 | (fix_trunc<GPF:mode><GPI:mode>2): Likewise. | |
1988 | (fixuns_trunc<GPF:mode><GPI:mode>2): Likewise. | |
1989 | (float<GPI:mode><GPF:mode>2): Likewise. | |
1990 | * config/arm/vfp.md | |
1991 | (*truncsisf2_vfp): Update with new attributes. | |
1992 | (*truncsidf2_vfp): Likewise. | |
1993 | (fixuns_truncsfsi2): Likewise. | |
1994 | (fixuns_truncdfsi2): Likewise. | |
1995 | (*floatsisf2_vfp): Likewise. | |
1996 | (*floatsidf2_vfp): Likewise. | |
1997 | (floatunssisf2): Likewise. | |
1998 | (floatunssidf2): Likewise. | |
1999 | (*combine_vcvt_f32_<FCVTI32typename>): Likewise. | |
2000 | (*combine_vcvt_f64_<FCVTI32typename>): Likewise. | |
2001 | * config/arm/arm1020e.md: Update with new attributes. | |
2002 | * config/arm/cortex-a15-neon.md: Update with new attributes. | |
2003 | * config/arm/cortex-a5.md: Update with new attributes. | |
2004 | * config/arm/cortex-a53.md: Update with new attributes. | |
2005 | * config/arm/cortex-a7.md: Update with new attributes. | |
2006 | * config/arm/cortex-a8-neon.md: Update with new attributes. | |
2007 | * config/arm/cortex-a9.md: Update with new attributes. | |
2008 | * config/arm/cortex-m4-fpu.md: Update with new attributes. | |
2009 | * config/arm/cortex-r4f.md: Update with new attributes. | |
2010 | * config/arm/marvell-pj4.md: Update with new attributes. | |
2011 | * config/arm/vfp11.md: Update with new attributes. | |
2012 | ||
e7df8af8 JG |
2013 | 2013-09-06 James Greenhalgh <james.greenhalgh@arm.com> |
2014 | ||
2015 | * config/aarch64/arm_neon.h | |
2016 | (vqtbl<1,2,3,4><q>_s8): Fix control vector parameter type. | |
2017 | (vqtbx<1,2,3,4><q>_s8): Likewise. | |
2018 | ||
594726e4 JG |
2019 | 2013-09-06 James Greenhalgh <james.greenhalgh@arm.com> |
2020 | ||
f43245d1 UB |
2021 | * config/arm/types.md: Add "no_insn", "multiple" and "untyped" types. |
2022 | * config/arm/arm-fixed.md: Add type attribute to all insn patterns. | |
594726e4 JG |
2023 | (add<mode>3): Add type attribute. |
2024 | (add<mode>3): Likewise. | |
2025 | (usadd<mode>3): Likewise. | |
2026 | (ssadd<mode>3): Likewise. | |
2027 | (sub<mode>3): Likewise. | |
2028 | (sub<mode>3): Likewise. | |
2029 | (ussub<mode>3): Likewise. | |
2030 | (sssub<mode>3): Likewise. | |
2031 | (ssmulsa3): Likewise. | |
2032 | (usmulusa3): Likewise. | |
2033 | (arm_usatsihi): Likewise. | |
2034 | * config/arm/vfp.md | |
2035 | (*movdi_vfp): Add types for all instructions. | |
2036 | (*movdi_vfp_cortexa8): Likewise. | |
2037 | (*movhf_vfp_neon): Likewise. | |
2038 | (*movhf_vfp): Likewise. | |
2039 | (*movdf_vfp): Likewise. | |
2040 | (*thumb2_movdf_vfp): Likewise. | |
2041 | (*thumb2_movdfcc_vfp): Likewise. | |
2042 | * config/arm/arm.md: Add type attribute to all insn patterns. | |
2043 | (*thumb1_adddi3): Add type attribute. | |
2044 | (*arm_adddi3): Likewise. | |
2045 | (*adddi_sesidi_di): Likewise. | |
2046 | (*adddi_zesidi_di): Likewise. | |
2047 | (*thumb1_addsi3): Likewise. | |
2048 | (addsi3_compare0): Likewise. | |
2049 | (*addsi3_compare0_scratch): Likewise. | |
2050 | (*compare_negsi_si): Likewise. | |
2051 | (cmpsi2_addneg): Likewise. | |
2052 | (*addsi3_carryin_<optab>): Likewise. | |
2053 | (*addsi3_carryin_alt2_<optab>): Likewise. | |
2054 | (*addsi3_carryin_clobercc_<optab>): Likewise. | |
2055 | (*subsi3_carryin): Likewise. | |
2056 | (*subsi3_carryin_const): Likewise. | |
2057 | (*subsi3_carryin_compare): Likewise. | |
2058 | (*subsi3_carryin_compare_const): Likewise. | |
2059 | (*arm_subdi3): Likewise. | |
2060 | (*thumb_subdi3): Likewise. | |
2061 | (*subdi_di_zesidi): Likewise. | |
2062 | (*subdi_di_sesidi): Likewise. | |
2063 | (*subdi_zesidi_di): Likewise. | |
2064 | (*subdi_sesidi_di): Likewise. | |
2065 | (*subdi_zesidi_ze): Likewise. | |
2066 | (thumb1_subsi3_insn): Likewise. | |
2067 | (*arm_subsi3_insn): Likewise. | |
2068 | (*anddi3_insn): Likewise. | |
2069 | (*anddi_zesidi_di): Likewise. | |
2070 | (*anddi_sesdi_di): Likewise. | |
2071 | (*ne_zeroextracts): Likewise. | |
2072 | (*ne_zeroextracts): Likewise. | |
2073 | (*ite_ne_zeroextr): Likewise. | |
2074 | (*ite_ne_zeroextr): Likewise. | |
2075 | (*anddi_notdi_di): Likewise. | |
2076 | (*anddi_notzesidi): Likewise. | |
2077 | (*anddi_notsesidi): Likewise. | |
2078 | (andsi_notsi_si): Likewise. | |
2079 | (thumb1_bicsi3): Likewise. | |
2080 | (*iordi3_insn): Likewise. | |
2081 | (*iordi_zesidi_di): Likewise. | |
2082 | (*iordi_sesidi_di): Likewise. | |
2083 | (*thumb1_iorsi3_insn): Likewise. | |
2084 | (*xordi3_insn): Likewise. | |
2085 | (*xordi_zesidi_di): Likewise. | |
2086 | (*xordi_sesidi_di): Likewise. | |
2087 | (*arm_xorsi3): Likewise. | |
2088 | (*andsi_iorsi3_no): Likewise. | |
2089 | (*smax_0): Likewise. | |
2090 | (*smax_m1): Likewise. | |
2091 | (*arm_smax_insn): Likewise. | |
2092 | (*smin_0): Likewise. | |
2093 | (*arm_smin_insn): Likewise. | |
2094 | (*arm_umaxsi3): Likewise. | |
2095 | (*arm_uminsi3): Likewise. | |
2096 | (*minmax_arithsi): Likewise. | |
2097 | (*minmax_arithsi_): Likewise. | |
2098 | (*satsi_<SAT:code>): Likewise. | |
2099 | (arm_ashldi3_1bit): Likewise. | |
2100 | (arm_ashrdi3_1bit): Likewise. | |
2101 | (arm_lshrdi3_1bit): Likewise. | |
2102 | (*arm_negdi2): Likewise. | |
2103 | (*thumb1_negdi2): Likewise. | |
2104 | (*arm_negsi2): Likewise. | |
2105 | (*thumb1_negsi2): Likewise. | |
2106 | (*negdi_extendsid): Likewise. | |
2107 | (*negdi_zero_extend): Likewise. | |
2108 | (*arm_abssi2): Likewise. | |
2109 | (*thumb1_abssi2): Likewise. | |
2110 | (*arm_neg_abssi2): Likewise. | |
2111 | (*thumb1_neg_abss): Likewise. | |
2112 | (one_cmpldi2): Likewise. | |
2113 | (extend<mode>di2): Likewise. | |
2114 | (*compareqi_eq0): Likewise. | |
2115 | (*arm_extendhisi2addsi): Likewise. | |
2116 | (*arm_movdi): Likewise. | |
2117 | (*thumb1_movdi_insn): Likewise. | |
2118 | (*arm_movt): Likewise. | |
2119 | (*thumb1_movsi_insn): Likewise. | |
2120 | (pic_add_dot_plus_four): Likewise. | |
2121 | (pic_add_dot_plus_eight): Likewise. | |
2122 | (tls_load_dot_plus_eight): Likewise. | |
2123 | (*thumb1_movhi_insn): Likewise. | |
2124 | (*thumb1_movsf_insn): Likewise. | |
2125 | (*movdf_soft_insn): Likewise. | |
2126 | (*thumb_movdf_insn): Likewise. | |
2127 | (cbranchsi4_insn): Likewise. | |
2128 | (cbranchsi4_scratch): Likewise. | |
2129 | (*negated_cbranchsi4): Likewise. | |
2130 | (*tbit_cbranch): Likewise. | |
2131 | (*tlobits_cbranch): Likewise. | |
2132 | (*tstsi3_cbranch): Likewise. | |
2133 | (*cbranchne_decr1): Likewise. | |
2134 | (*addsi3_cbranch): Likewise. | |
2135 | (*addsi3_cbranch_scratch): Likewise. | |
2136 | (*arm_cmpdi_insn): Likewise. | |
2137 | (*arm_cmpdi_unsig): Likewise. | |
2138 | (*arm_cmpdi_zero): Likewise. | |
2139 | (*thumb_cmpdi_zero): Likewise. | |
2140 | (*deleted_compare): Likewise. | |
2141 | (*mov_scc): Likewise. | |
2142 | (*mov_negscc): Likewise. | |
2143 | (*mov_notscc): Likewise. | |
2144 | (*cstoresi_eq0_thumb1_insn): Likewise. | |
2145 | (cstoresi_nltu_thumb1): Likewise. | |
2146 | (cstoresi_ltu_thu): Likewise. | |
2147 | (thumb1_addsi3_addgeu): Likewise. | |
2148 | (*arm_jump): Likewise. | |
2149 | (*thumb_jump): Likewise. | |
2150 | (*check_arch2): Likewise. | |
2151 | (arm_casesi_internal): Likewise. | |
2152 | (thumb1_casesi_dispatch): Likewise. | |
2153 | (*arm_indirect_jump): Likewise. | |
2154 | (*thumb1_indirect_jump): Likewise. | |
2155 | (nop): Likewise. | |
2156 | (*and_scc): Likewise. | |
2157 | (*ior_scc): Likewise. | |
2158 | (*compare_scc): Likewise. | |
2159 | (*cond_move): Likewise. | |
2160 | (*cond_arith): Likewise. | |
2161 | (*cond_sub): Likewise. | |
2162 | (*cmp_ite0): Likewise. | |
2163 | (*cmp_ite1): Likewise. | |
2164 | (*cmp_and): Likewise. | |
2165 | (*cmp_ior): Likewise. | |
2166 | (*ior_scc_scc): Likewise. | |
2167 | (*ior_scc_scc_cmp): Likewise. | |
2168 | (*and_scc_scc): Likewise. | |
2169 | (*and_scc_scc_cmp): Likewise. | |
2170 | (*and_scc_scc_nod): Likewise. | |
2171 | (*negscc): Likewise. | |
2172 | (movcond_addsi): Likewise. | |
2173 | (movcond): Likewise. | |
2174 | (*ifcompare_plus_move): Likewise. | |
2175 | (*if_plus_move): Likewise. | |
2176 | (*ifcompare_move_plus): Likewise. | |
2177 | (*if_move_plus): Likewise. | |
2178 | (*ifcompare_arith_arith): Likewise. | |
2179 | (*if_arith_arith): Likewise. | |
2180 | (*ifcompare_arith_move): Likewise. | |
2181 | (*if_arith_move): Likewise. | |
2182 | (*ifcompare_move_arith): Likewise. | |
2183 | (*if_move_arith): Likewise. | |
2184 | (*ifcompare_move_not): Likewise. | |
2185 | (*if_move_not): Likewise. | |
2186 | (*ifcompare_not_move): Likewise. | |
2187 | (*if_not_move): Likewise. | |
2188 | (*ifcompare_shift_move): Likewise. | |
2189 | (*if_shift_move): Likewise. | |
2190 | (*ifcompare_move_shift): Likewise. | |
2191 | (*if_move_shift): Likewise. | |
2192 | (*ifcompare_shift_shift): Likewise. | |
2193 | (*ifcompare_not_arith): Likewise. | |
2194 | (*ifcompare_arith_not): Likewise. | |
2195 | (*if_arith_not): Likewise. | |
2196 | (*ifcompare_neg_move): Likewise. | |
2197 | (*if_neg_move): Likewise. | |
2198 | (*ifcompare_move_neg): Likewise. | |
2199 | (*if_move_neg): Likewise. | |
2200 | (prologue_thumb1_interwork): Likewise. | |
2201 | (*cond_move_not): Likewise. | |
2202 | (*sign_extract_onebit): Likewise. | |
2203 | (*not_signextract_onebit): Likewise. | |
2204 | (stack_tie): Likewise. | |
2205 | (align_4): Likewise. | |
2206 | (align_8): Likewise. | |
2207 | (consttable_end): Likewise. | |
2208 | (consttable_1): Likewise. | |
2209 | (consttable_2): Likewise. | |
2210 | (consttable_4): Likewise. | |
2211 | (consttable_8): Likewise. | |
2212 | (consttable_16): Likewise. | |
2213 | (*thumb1_tablejump): Likewise. | |
2214 | (prefetch): Likewise. | |
2215 | (force_register_use): Likewise. | |
2216 | (thumb_eh_return): Likewise. | |
2217 | (load_tp_hard): Likewise. | |
2218 | (load_tp_soft): Likewise. | |
2219 | (tlscall): Likewise. | |
2220 | (*arm_movtas_ze): Likewise. | |
2221 | (*arm_rev): Likewise. | |
2222 | (*arm_revsh): Likewise. | |
2223 | (*arm_rev16): Likewise. | |
2224 | * config/arm/thumb2.md | |
2225 | (*thumb2_smaxsi3): Likewise. | |
2226 | (*thumb2_sminsi3): Likewise. | |
2227 | (*thumb32_umaxsi3): Likewise. | |
2228 | (*thumb2_uminsi3): Likewise. | |
2229 | (*thumb2_negdi2): Likewise. | |
2230 | (*thumb2_abssi2): Likewise. | |
2231 | (*thumb2_neg_abss): Likewise. | |
2232 | (*thumb2_movsi_insn): Likewise. | |
2233 | (tls_load_dot_plus_four): Likewise. | |
2234 | (*thumb2_movhi_insn): Likewise. | |
2235 | (*thumb2_mov_scc): Likewise. | |
2236 | (*thumb2_mov_negs): Likewise. | |
2237 | (*thumb2_mov_negs): Likewise. | |
2238 | (*thumb2_mov_nots): Likewise. | |
2239 | (*thumb2_mov_nots): Likewise. | |
2240 | (*thumb2_movsicc_): Likewise. | |
2241 | (*thumb2_movsfcc_soft_insn): Likewise. | |
2242 | (*thumb2_indirect_jump): Likewise. | |
2243 | (*thumb2_and_scc): Likewise. | |
2244 | (*thumb2_ior_scc): Likewise. | |
2245 | (*thumb2_ior_scc_strict_it): Likewise. | |
2246 | (*thumb2_cond_move): Likewise. | |
2247 | (*thumb2_cond_arith): Likewise. | |
2248 | (*thumb2_cond_ari): Likewise. | |
2249 | (*thumb2_cond_sub): Likewise. | |
2250 | (*thumb2_negscc): Likewise. | |
2251 | (*thumb2_movcond): Likewise. | |
2252 | (thumb2_casesi_internal): Likewise. | |
2253 | (thumb2_casesi_internal_pic): Likewise. | |
2254 | (*thumb2_alusi3_short): Likewise. | |
2255 | (*thumb2_mov<mode>_shortim): Likewise. | |
2256 | (*thumb2_addsi_short): Likewise. | |
2257 | (*thumb2_subsi_short): Likewise. | |
2258 | (thumb2_addsi3_compare0): Likewise. | |
2259 | (*thumb2_cbz): Likewise. | |
2260 | (*thumb2_cbnz): Likewise. | |
2261 | (*thumb2_one_cmplsi2_short): Likewise. | |
2262 | (*thumb2_negsi2_short): Likewise. | |
2263 | (*orsi_notsi_si): Likewise. | |
2264 | * config/arm/arm1020e.md: Update with new attributes. | |
2265 | * config/arm/arm1026ejs.md: Update with new attributes. | |
2266 | * config/arm/arm1136jfs.md: Update with new attributes. | |
2267 | * config/arm/arm926ejs.md: Update with new attributes. | |
2268 | * config/arm/cortex-a15.md: Update with new attributes. | |
2269 | * config/arm/cortex-a5.md: Update with new attributes. | |
2270 | * config/arm/cortex-a53.md: Update with new attributes. | |
2271 | * config/arm/cortex-a7.md: Update with new attributes. | |
2272 | * config/arm/cortex-a8.md: Update with new attributes. | |
2273 | * config/arm/cortex-a9.md: Update with new attributes. | |
2274 | * config/arm/cortex-m4.md: Update with new attributes. | |
2275 | * config/arm/cortex-r4.md: Update with new attributes. | |
2276 | * config/arm/fa526.md: Update with new attributes. | |
2277 | * config/arm/fa606te.md: Update with new attributes. | |
2278 | * config/arm/fa626te.md: Update with new attributes. | |
2279 | * config/arm/fa726te.md: Update with new attributes. | |
2280 | ||
1c83b673 JG |
2281 | 2013-09-06 James Greenhalgh <james.greenhalgh@arm.com> |
2282 | ||
2283 | * config/aarch64/aarch64-simd.md | |
2284 | (aarch64_sqdml<SBINQOPS:as>l_n<mode>_internal): Use | |
2285 | <vwx> iterator to ensure correct register choice. | |
2286 | (aarch64_sqdml<SBINQOPS:as>l2_n<mode>_internal): Likewise. | |
2287 | (aarch64_sqdmull_n<mode>): Likewise. | |
2288 | (aarch64_sqdmull2_n<mode>_internal): Likewise. | |
2289 | * config/aarch64/arm_neon.h | |
2290 | (vml<as><q>_lane<q>_<su>16): Use 'x' constraint for element vector. | |
2291 | (vml<as><q>_n_<su>16): Likewise. | |
2292 | (vml<as>l_high_lane<q>_<su>16): Likewise. | |
2293 | (vml<as>l_high_n_<su>16): Likewise. | |
2294 | (vml<as>l_lane<q>_<su>16): Likewise. | |
2295 | (vml<as>l_n_<su>16): Likewise. | |
2296 | (vmul<q>_lane<q>_<su>16): Likewise. | |
2297 | (vmul<q>_n_<su>16): Likewise. | |
2298 | (vmull_lane<q>_<su>16): Likewise. | |
2299 | (vmull_n_<su>16): Likewise. | |
2300 | (vmull_high_lane<q>_<su>16): Likewise. | |
2301 | (vmull_high_n_<su>16): Likewise. | |
2302 | (vqrdmulh<q>_n_s16): Likewise. | |
2303 | ||
bb1ae543 TB |
2304 | 2013-09-06 Tejas Belagod <tejas.belagod@arm.com> |
2305 | ||
2306 | * config/aarch64/arm_neon.h: Fix all vdup<bhsd_lane<q> intrinsics to | |
2307 | have the correct lane parameter. | |
2308 | ||
f23c0742 RB |
2309 | 2013-09-06 Richard Biener <rguenther@suse.de> |
2310 | ||
2311 | * cfganal.c (control_dependences::~control_dependences): | |
2312 | Properly free all of the vector. | |
2313 | ||
c1d49770 KY |
2314 | 2013-09-06 Kirill Yukhin <kirill.yukhin@intel.com> |
2315 | ||
2316 | PR target/58269 | |
2317 | * config/i386/i386.c (ix86_conditional_register_usage): | |
2318 | Proper initialize extended SSE registers. | |
2319 | ||
6da47f52 JH |
2320 | 2013-09-06 Jan Hubicka <jh@suse.cz> |
2321 | ||
2322 | PR tree-optimization/58311 | |
2323 | * ipa-devirt.c (gate_ipa_devirt): Only execute when optimizing. | |
2324 | ||
2325 | 2013-09-06 Jan Hubicka <jh@suse.cz> | |
2326 | ||
2327 | * Makefile.in (tree-sra.o): Update dependencies. | |
2328 | * tree-sra.c: Include ipa-utils.h | |
2329 | (scan_function): Use recursive_call_p. | |
2330 | (has_caller_p): New function. | |
2331 | (cgraph_for_node_and_aliases): Count also callers of aliases. | |
2332 | ||
fc11f321 JH |
2333 | 2013-09-06 Jan Hubicka <jh@suse.cz> |
2334 | ||
2335 | PR middle-end/58094 | |
2336 | * cgraph.h (symtab_semantically_equivalent_p): Declare. | |
2337 | * tree-tailcall.c: Include ipa-utils.h. | |
2338 | (find_tail_calls): Use it. | |
2339 | * ipa-pure-const.c (check_call): Likewise. | |
2340 | * ipa-utils.c (recursive_call_p): New function. | |
2341 | * ipa-utils.h (recursive_call_p): Dclare. | |
2342 | * symtab.c (symtab_nonoverwritable_alias): Fix formatting. | |
2343 | (symtab_semantically_equivalent_p): New function. | |
2344 | * Makefile.in (tree-tailcall.o): Update dependencies. | |
2345 | ||
9a6af450 EB |
2346 | 2013-09-06 Eric Botcazou <ebotcazou@adacore.com> |
2347 | ||
2348 | * ipa-split.c (split_function): Set DECL_NO_INLINE_WARNING_P on the | |
2349 | non-inlinable part. | |
2350 | ||
35f32ad4 RB |
2351 | 2013-09-06 Richard Biener <rguenther@suse.de> |
2352 | ||
2353 | * lto-streamer.h (lto_global_var_decls): Remove. | |
2354 | * Makefile.in (OBJS): Remove lto-symtab.o. | |
2355 | (lto-symtab.o): Remove. | |
2356 | (GTFILES): Remove lto-symtab.c | |
2357 | * lto-symtab.c: Move to lto/ | |
2358 | ||
d12a76f3 AK |
2359 | 2013-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2360 | ||
2361 | * config/s390/s390.md (UNSPEC_FPINT_FLOOR, UNSPEC_FPINT_BTRUNC) | |
2362 | (UNSPEC_FPINT_ROUND, UNSPEC_FPINT_CEIL, UNSPEC_FPINT_NEARBYINT) | |
2363 | (UNSPEC_FPINT_RINT): New constant definitions. | |
2364 | (FPINT, fpint_name, fpint_roundingmode): New integer iterator | |
2365 | definition with 2 attributes. | |
2366 | ("<FPINT:fpint_name><BFP:mode>2", "rint<BFP:mode>2") | |
2367 | ("<FPINT:fpint_name><DFP:mode>2", "rint<DFP:mode>2"): New pattern | |
2368 | definitions. | |
2369 | ||
2370 | 2013-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | |
2371 | ||
f43245d1 | 2372 | * config/s390/s390.md: Add "bcr_flush" value to mnemonic attribute. |
d12a76f3 AK |
2373 | ("mem_thread_fence_1"): Use bcr 14,0 for z196 and later. |
2374 | Set the mnemonic attribute to "bcr_flush". Set the "z196prop" | |
2375 | attribute to "z196_alone". | |
2376 | * config/s390/2827.md: Add "bcr_flush" to "ooo_groupalone" and | |
2377 | "zEC12_simple". | |
2378 | ||
c8e9d8c3 RB |
2379 | 2013-09-06 Richard Biener <rguenther@suse.de> |
2380 | ||
2381 | * basic-block.h (class control_dependences): New. | |
2382 | * tree-ssa-dce.c (control_dependence_map): Remove. | |
2383 | (cd): New global. | |
2384 | (EXECUTE_IF_CONTROL_DEPENDENT): Remove. | |
2385 | (set_control_dependence_map_bit, clear_control_dependence_bitmap, | |
2386 | find_pdom, find_control_dependence, find_all_control_dependences): | |
2387 | Move to cfganal.c. | |
f43245d1 UB |
2388 | (mark_control_dependent_edges_necessary, |
2389 | find_obviously_necessary_stmts, propagate_necessity, tree_dce_init, | |
2390 | tree_dce_done, perform_tree_ssa_dce): Adjust. | |
c8e9d8c3 RB |
2391 | * cfganal.c (set_control_dependence_map_bit, |
2392 | clear_control_dependence_bitmap, find_pdom, find_control_dependence, | |
2393 | find_all_control_dependences): Move from tree-ssa-dce.c and | |
2394 | implement as methods of control_dependences class. | |
2395 | (control_dependences::control_dependences): New. | |
2396 | (control_dependences::~control_dependences): Likewise. | |
2397 | (control_dependences::get_edges_dependent_on): Likewise. | |
2398 | (control_dependences::get_edge): Likewise. | |
2399 | ||
7d2ba471 JH |
2400 | 2013-09-04 Jan Hubicka <jh@suse.cz> |
2401 | ||
2402 | * tree.c (types_same_for_odr): Drop overactive check. | |
2403 | * ipa-devirt.c (hash_type_name): Likewise. | |
2404 | ||
e18412fc JH |
2405 | 2013-09-04 Jan Hubicka <jh@suse.cz> |
2406 | ||
2407 | * cgraphunit.c (walk_polymorphic_call_targets): Break out from ... | |
2408 | (analyze_functions): ... here. | |
2409 | ||
d352b245 JH |
2410 | 2013-09-04 Jan Hubicka <jh@suse.cz> |
2411 | ||
2412 | PR middle-end/58201 | |
2413 | * cgraphunit.c (analyze_functions): Clear AUX fields | |
2414 | after processing; initialize assembler name has. | |
2415 | ||
770da076 JL |
2416 | 2013-09-05 Jeff Law <law@redhat.com> |
2417 | ||
2418 | * tree-ssa-threadedge.c (thread_around_empty_blocks): Renamed | |
2419 | from thread_around_empty_block. Record threading path into PATH. | |
2420 | Recurse if threading through the initial block is successful. | |
2421 | (thread_across_edge): Corresponding changes to slightly simplify. | |
2422 | ||
fe6f68e2 JG |
2423 | 2013-09-05 James Greenhalgh <james.greenhalgh@arm.com> |
2424 | ||
2425 | * config/aarch64/aarch64.md | |
2426 | (type): Remove frecpe, frecps, frecpx. | |
2427 | (aarch64_frecp<FRECP:frecp_suffix><mode>): Move to aarch64-simd.md, | |
2428 | fix to be a TARGET_SIMD instruction. | |
2429 | (aarch64_frecps): Remove. | |
2430 | * config/aarch64/aarch64-simd.md | |
2431 | (aarch64_frecp<FRECP:frecp_suffix><mode>): New, moved from aarch64.md | |
2432 | (aarch64_frecps<mode>): Handle all float/vector of float modes. | |
2433 | ||
6e4150e1 JG |
2434 | 2013-09-05 James Greenhalgh <james.greenhalgh@arm.com> |
2435 | Sofiane Naci <sofiane.naci@arm.com> | |
2436 | ||
f43245d1 | 2437 | * config/arm/types.md (define_attr "type"): Expand "arlo_imm" |
6e4150e1 | 2438 | into "adr", "alu_imm", "alus_imm", "logic_imm", "logics_imm". |
f43245d1 UB |
2439 | Expand "arlo_reg" into "adc_reg", "adc_imm", "adcs_reg", "adcs_imm", |
2440 | "alu_ext", "alu_reg", "alus_ext", "alus_reg", "bfm", "csel", | |
2441 | "logic_reg", "logics_reg", "rev". Expand "arlo_shift" into | |
2442 | "alu_shift_imm", "alus_shift_imm", "logic_shift_imm", | |
2443 | "logics_shift_imm". Expand "arlo_shift_reg" into "alu_shift_reg", | |
2444 | "alus_shift_reg", "logic_shift_reg", "logics_shift_reg". Expand "clz" | |
2445 | into "clz, "rbit". Rename "shift" to "shift_imm". | |
6e4150e1 | 2446 | * config/arm/arm.md (define_attr "core_cycles"): Update for attribute |
f43245d1 | 2447 | changes. Update for attribute changes all occurrences of arlo_* and |
6e4150e1 JG |
2448 | shift* types. |
2449 | * config/arm/arm-fixed.md: Update for attribute changes | |
2450 | all occurrences of arlo_* types. | |
2451 | * config/arm/thumb2.md: Update for attribute changes all occurrences | |
2452 | of arlo_* types. | |
2453 | * config/arm/arm.c (xscale_sched_adjust_cost): (rtx insn, rtx | |
2454 | (cortexa7_older_only): Likewise. | |
2455 | (cortexa7_younger): Likewise. | |
2456 | * config/arm/arm1020e.md (1020alu_op): Update for attribute changes. | |
2457 | (1020alu_shift_op): Likewise. | |
2458 | (1020alu_shift_reg_op): Likewise. | |
2459 | * config/arm/arm1026ejs.md (alu_op): Update for attribute changes. | |
2460 | (alu_shift_op): Likewise. | |
2461 | (alu_shift_reg_op): Likewise. | |
f43245d1 | 2462 | * config/arm/arm1136jfs.md (11_alu_op): Update for attribute changes. |
6e4150e1 JG |
2463 | (11_alu_shift_op): Likewise. |
2464 | (11_alu_shift_reg_op): Likewise. | |
2465 | * config/arm/arm926ejs.md (9_alu_op): Update for attribute changes. | |
2466 | (9_alu_shift_reg_op): Likewise. | |
2467 | * config/arm/cortex-a15.md (cortex_a15_alu): Update for | |
2468 | attribute changes. | |
2469 | (cortex_a15_alu_shift): Likewise. | |
2470 | (cortex_a15_alu_shift_reg): Likewise. | |
2471 | * config/arm/cortex-a5.md (cortex_a5_alu): Update for | |
2472 | attribute changes. | |
2473 | (cortex_a5_alu_shift): Likewise. | |
f43245d1 UB |
2474 | * config/arm/cortex-a53.md (cortex_a53_alu): Update for |
2475 | attribute changes. | |
6e4150e1 | 2476 | (cortex_a53_alu_shift): Likewise. |
f43245d1 UB |
2477 | * config/arm/cortex-a7.md (cortex_a7_alu_imm): Update for |
2478 | attribute changes. | |
6e4150e1 JG |
2479 | (cortex_a7_alu_reg): Likewise. |
2480 | (cortex_a7_alu_shift): Likewise. | |
f43245d1 UB |
2481 | * config/arm/cortex-a8.md (cortex_a8_alu): Update for |
2482 | attribute changes. | |
6e4150e1 JG |
2483 | (cortex_a8_alu_shift): Likewise. |
2484 | (cortex_a8_alu_shift_reg): Likewise. | |
f43245d1 | 2485 | * config/arm/cortex-a9.md (cortex_a9_dp): Update for attribute changes. |
6e4150e1 | 2486 | (cortex_a9_dp_shift): Likewise. |
f43245d1 UB |
2487 | * config/arm/cortex-m4.md (cortex_m4_alu): Update for |
2488 | attribute changes. | |
6e4150e1 JG |
2489 | * config/arm/cortex-r4.md |
2490 | (cortex_r4_alu): Update for attribute changes. | |
2491 | (cortex_r4_mov): Likewise. | |
2492 | (cortex_r4_alu_shift_reg): Likewise. | |
f43245d1 | 2493 | * config/arm/fa526.md (526_alu_op): Update for attribute changes. |
6e4150e1 | 2494 | (526_alu_shift_op): Likewise. |
f43245d1 UB |
2495 | * config/arm/fa606te.md (606te_alu_op): Update for attribute changes. |
2496 | * config/arm/fa626te.md (626te_alu_op): Update for attribute changes. | |
6e4150e1 | 2497 | (626te_alu_shift_op): Likewise. |
f43245d1 | 2498 | * config/arm/fa726te.md (726te_alu_op): Update for attribute changes. |
6e4150e1 JG |
2499 | (726te_alu_shift_op): Likewise. |
2500 | (726te_alu_shift_reg_op): Likewise. | |
2501 | * config/arm/fmp626.md (mp626_alu_op): Update for attribute changes. | |
2502 | (mp626_alu_shift_op): Likewise. | |
2503 | * config/arm/marvell-pj4.md (pj4_alu): Update for attribute changes. | |
2504 | (pj4_alu_conds): Likewise. | |
2505 | (pj4_shift): Likewise. | |
2506 | (pj4_shift_conds): Likewise. | |
2507 | (pj4_alu_shift): Likewise. | |
2508 | (pj4_alu_shift_conds): Likewise. | |
2509 | * config/aarch64/aarch64.md: Update for attribute change | |
2510 | all occurrences of arlo_* and shift* types. | |
2511 | ||
e6523306 MS |
2512 | 2013-09-05 Mike Stump <mikestump@comcast.net> |
2513 | ||
2514 | * tree.h: Move documentation for tree_function_decl to tree-core.h | |
2515 | with the declaration. | |
2516 | ||
80a18161 PB |
2517 | 2013-09-05 Peter Bergner <bergner@vnet.ibm.com> |
2518 | ||
2519 | PR target/58139 | |
2520 | * reginfo.c (choose_hard_reg_mode): Scan through all mode classes | |
2521 | looking for widest mode. | |
2522 | ||
6994430a EB |
2523 | 2013-09-05 Eric Botcazou <ebotcazou@adacore.com> |
2524 | ||
2525 | * config.gcc (*-*-vxworks*): Do not override an existing extra_objs. | |
2526 | ||
e67f39f7 RB |
2527 | 2013-09-05 Richard Biener <rguenther@suse.de> |
2528 | ||
2529 | PR tree-optimization/58137 | |
2530 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): | |
2531 | Do not create vectors of pointers. | |
2532 | * tree-vect-loop.c (get_initial_def_for_induction): Use proper | |
2533 | types for the components of the vector initializer. | |
2534 | * tree-cfg.c (verify_gimple_assign_binary): Remove special-casing | |
2535 | allowing pointer vectors with PLUS_EXPR/MINUS_EXPR. | |
2536 | ||
568cda29 MJ |
2537 | 2013-09-05 Martin Jambor <mjambor@suse.cz> |
2538 | ||
2539 | * ipa-prop.c (remove_described_reference): Accept missing references, | |
2540 | return false if that hppens, otherwise return true. | |
2541 | (cgraph_node_for_jfunc): New function. | |
2542 | (try_decrement_rdesc_refcount): Likewise. | |
2543 | (try_make_edge_direct_simple_call): Use them. | |
2544 | (ipa_edge_removal_hook): Remove references from rdescs. | |
2545 | (ipa_edge_duplication_hook): Clone rdescs and their references | |
2546 | when the new edge has the same caller as the old one. | |
2547 | * cgraph.c (cgraph_resolve_speculation): Remove speculative | |
2548 | reference before removing any edges. | |
2549 | ||
5a200acb RE |
2550 | 2013-09-05 Richard Earnshaw <rearnsha@arm.com> |
2551 | ||
2552 | * arm.c (thumb2_emit_strd_push): Rewrite to use pre-decrement on | |
2553 | initial store. | |
2554 | * thumb2.md (thumb2_storewb_parisi): New pattern. | |
2555 | ||
5922847b YZ |
2556 | 2013-09-05 Yufeng Zhang <yufeng.zhang@arm.com> |
2557 | ||
2558 | * config/aarch64/aarch64-option-extensions.def: Add | |
2559 | AARCH64_OPT_EXTENSION of 'crc'. | |
2560 | * config/aarch64/aarch64.h (AARCH64_FL_CRC): New define. | |
2561 | (AARCH64_ISA_CRC): Ditto. | |
2562 | * doc/invoke.texi (-march and -mcpu feature modifiers): Add | |
2563 | description of the CRC extension. | |
2564 | ||
996746aa AI |
2565 | 2013-09-05 Alexander Ivchenko <alexander.ivchenko@intel.com> |
2566 | ||
2567 | * config/rs6000/linux64.h: Define OPTION_BIONIC and OPTION_UCLIBC. | |
2568 | * config/rs6000/linux.h: Ditto. | |
2569 | * alpha/linux.h: Ditto. | |
2570 | * config/bfin/uclinux.h: Define TARGET_LIBC_HAS_FUNCTION as | |
2571 | no_c99_libc_has_function. | |
2572 | * config/c6x/uclinux-elf.h: Ditto. | |
2573 | * config/lm32/uclinux-elf.h: Ditto. | |
2574 | * config/m68k/uclinux.h: Ditto. | |
2575 | * config/moxie/uclinux.h: Ditto. | |
2576 | * config.gcc (bfin*-linux-uclibc*): Add t-linux-android to tmake_file. | |
2577 | (crisv32-*-linux*, cris-*-linux*): Ditto. | |
2578 | * config/bfin/bfin.c: Include "tm_p.h". | |
2579 | ||
c370d99f RB |
2580 | 2013-09-05 Richard Biener <rguenther@suse.de> |
2581 | ||
2582 | * tree-vect-loop.c (vect_analyze_loop_operations): Properly | |
2583 | check for a definition without a basic-block. | |
2584 | ||
003bb7f3 JG |
2585 | 2013-09-05 James Greenhalgh <james.greenhalgh@arm.com> |
2586 | Sofiane Naci <sofiane.naci@arm.com> | |
2587 | ||
2588 | * config/aarch64/aarch64.md | |
2589 | (*movti_aarch64): Rename r_2_f and f_2_r. | |
2590 | (*movsf_aarch64): Likewise. | |
2591 | (*movdf_aarch64): Likewise. | |
2592 | (*movtf_aarch64): Likewise. | |
2593 | (aarch64_movdi_<mode>low): Likewise. | |
2594 | (aarch64_movdi_<mode>high): Likewise. | |
2595 | (aarch64_mov<mode>high_di): Likewise. | |
2596 | (aarch64_mov<mode>low_di): Likewise. | |
2597 | (aarch64_movtilow_tilow): Likewise. | |
2598 | * config/arm/arm.md (attribute "neon_type"): Delete. Move attribute | |
2599 | values to config/arm/types.md | |
2600 | (attribute "conds"): Update for attribute change. | |
2601 | (anddi3_insn): Likewise. | |
2602 | (iordi3_insn): Likewise. | |
2603 | (xordi3_insn): Likewise. | |
2604 | (one_cmpldi2): Likewise. | |
2605 | * config/arm/types.md (type): Add Neon types. | |
2606 | * config/arm/neon.md (neon_mov<mode>): Remove "neon_type" attribute, | |
2607 | use "type" attribute. | |
2608 | (movmisalign<mode>_neon_store): Likewise. | |
2609 | (movmisalign<mode>_neon_load): Likewise. | |
2610 | (vec_set<mode>_internal): Likewise. | |
2611 | (vec_setv2di_internal): Likewise. | |
2612 | (vec_extract<mode>): Likewise. | |
2613 | (vec_extractv2di): Likewise. | |
2614 | (add<mode>3_neon): Likewise. | |
2615 | (adddi3_neon): Likewise. | |
2616 | (sub<mode>3_neon): Likewise. | |
2617 | (subdi3_neon): Likewise. | |
2618 | (mul<mode>3_neon): Likewise. | |
2619 | (mul<mode>3add<mode>_neon): Likewise. | |
2620 | (mul<mode>3neg<mode>add<mode>_neon): Likewise. | |
2621 | (fma<VCVTF:mode>4)): Likewise. | |
2622 | (fma<VCVTF:mode>4_intrinsic): Likewise. | |
2623 | (fmsub<VCVTF:mode>4)): Likewise. | |
2624 | (fmsub<VCVTF:mode>4_intrinsic): Likewise. | |
2625 | (neon_vrint<NEON_VRINT:nvrint_variant><VCVTF:mode>): Likewise. | |
2626 | (ior<mode>3): Likewise. | |
2627 | (and<mode>3): Likewise. | |
2628 | (anddi3_neon): Likewise. | |
2629 | (orn<mode>3_neon): Likewise. | |
2630 | (orndi3_neon): Likewise. | |
2631 | (bic<mode>3_neon): Likewise. | |
2632 | (bicdi3_neon): Likewise. | |
2633 | (xor<mode>3): Likewise. | |
2634 | (one_cmpl<mode>2): Likewise. | |
2635 | (abs<mode>2): Likewise. | |
2636 | (neg<mode>2): Likewise. | |
2637 | (umin<mode>3_neon): Likewise. | |
2638 | (umax<mode>3_neon): Likewise. | |
2639 | (smin<mode>3_neon): Likewise. | |
2640 | (smax<mode>3_neon): Likewise. | |
2641 | (vashl<mode>3): Likewise. | |
2642 | (vashr<mode>3_imm): Likewise. | |
2643 | (vlshr<mode>3_imm): Likewise. | |
2644 | (ashl<mode>3_signed): Likewise. | |
2645 | (ashl<mode>3_unsigned): Likewise. | |
2646 | (neon_load_count): Likewise. | |
2647 | (ashldi3_neon_noclobber): Likewise. | |
2648 | (signed_shift_di3_neon): Likewise. | |
2649 | (unsigned_shift_di3_neon): Likewise. | |
2650 | (ashrdi3_neon_imm_noclobber): Likewise. | |
2651 | (lshrdi3_neon_imm_noclobber): Likewise. | |
2652 | (widen_ssum<mode>3): Likewise. | |
2653 | (widen_usum<mode>3): Likewise. | |
2654 | (quad_halves_<code>v4si): Likewise. | |
2655 | (quad_halves_<code>v4sf): Likewise. | |
2656 | (quad_halves_<code>v8hi): Likewise. | |
2657 | (quad_halves_<code>v16qi): Likewise. | |
2658 | (reduc_splus_v2di): Likewise. | |
2659 | (neon_vpadd_internal<mode>): Likewise. | |
2660 | (neon_vpsmin<mode>): Likewise. | |
2661 | (neon_vpsmax<mode>): Likewise. | |
2662 | (neon_vpumin<mode>): Likewise. | |
2663 | (neon_vpumax<mode>): Likewise. | |
2664 | (ss_add<mode>_neon): Likewise. | |
2665 | (us_add<mode>_neon): Likewise. | |
2666 | (ss_sub<mode>_neon): Likewise. | |
2667 | (us_sub<mode>_neon): Likewise. | |
2668 | (neon_vadd<mode>_unspec): Likewise. | |
2669 | (neon_vaddl<mode>): Likewise. | |
2670 | (neon_vaddw<mode>): Likewise. | |
2671 | (neon_vhadd<mode>): Likewise. | |
2672 | (neon_vqadd<mode>): Likewise. | |
2673 | (neon_vaddhn<mode>): Likewise. | |
2674 | (neon_vmul<mode>): Likewise. | |
2675 | (neon_vmla<mode>): Likewise. | |
2676 | (neon_vmlal<mode>): Likewise. | |
2677 | (neon_vmls<mode>): Likewise. | |
2678 | (neon_vmlsl<mode>): Likewise. | |
2679 | (neon_vqdmulh<mode>): Likewise. | |
2680 | (neon_vqdmlal<mode>): Likewise. | |
2681 | (neon_vqdmlsl<mode>): Likewise. | |
2682 | (neon_vmull<mode>): Likewise. | |
2683 | (neon_vqdmull<mode>): Likewise. | |
2684 | (neon_vsub<mode>_unspec): Likewise. | |
2685 | (neon_vsubl<mode>): Likewise. | |
2686 | (neon_vsubw<mode>): Likewise. | |
2687 | (neon_vqsub<mode>): Likewise. | |
2688 | (neon_vhsub<mode>): Likewise. | |
2689 | (neon_vsubhn<mode>): Likewise. | |
2690 | (neon_vceq<mode>): Likewise. | |
2691 | (neon_vcge<mode>): Likewise. | |
2692 | (neon_vcgeu<mode>): Likewise. | |
2693 | (neon_vcgt<mode>): Likewise. | |
2694 | (neon_vcgtu<mode>): Likewise. | |
2695 | (neon_vcle<mode>): Likewise. | |
2696 | (neon_vclt<mode>): Likewise. | |
2697 | (neon_vcage<mode>): Likewise. | |
2698 | (neon_vcagt<mode>): Likewise. | |
2699 | (neon_vtst<mode>): Likewise. | |
2700 | (neon_vabd<mode>): Likewise. | |
2701 | (neon_vabdl<mode>): Likewise. | |
2702 | (neon_vaba<mode>): Likewise. | |
2703 | (neon_vabal<mode>): Likewise. | |
2704 | (neon_vmax<mode>): Likewise. | |
2705 | (neon_vmin<mode>): Likewise. | |
2706 | (neon_vpaddl<mode>): Likewise. | |
2707 | (neon_vpadal<mode>): Likewise. | |
2708 | (neon_vpmax<mode>): Likewise. | |
2709 | (neon_vpmin<mode>): Likewise. | |
2710 | (neon_vrecps<mode>): Likewise. | |
2711 | (neon_vrsqrts<mode>): Likewise. | |
2712 | (neon_vqabs<mode>): Likewise. | |
2713 | (neon_vqneg<mode>): Likewise. | |
2714 | (neon_vcls<mode>): Likewise. | |
2715 | (clz<mode>2): Likewise. | |
2716 | (popcount<mode>2): Likewise. | |
2717 | (neon_vrecpe): Likewise. | |
2718 | (neon_vrsqrte): Likewise. | |
2719 | (neon_vget_lane<mode>_sext_internal): Likewise. | |
2720 | (neon_vget_lane<mode>_zext_internal): Likewise. | |
2721 | (neon_vdup_n<mode>): Likewise. | |
2722 | (neon_vdup_nv2di): Likewise. | |
2723 | (neon_vdpu_lane<mode>_internal): Likewise. | |
2724 | (neon_vswp<mode>): Likewise. | |
2725 | (float<mode><V_cvtto>2): Likewise. | |
2726 | (floatuns<mode><V_cvtto>2): Likewise. | |
2727 | (fix_trunc<mode><V_cvtto>)2): Likewise | |
2728 | (fixuns_trunc<mode><V_cvtto)2): Likewise. | |
2729 | (neon_vcvt<mode>): Likewise. | |
2730 | (neon_vcvtv4sfv4hf): Likewise. | |
2731 | (neon_vcvtv4hfv4sf): Likewise. | |
2732 | (neon_vcvt_n<mode>): Likewise. | |
2733 | (neon_vmovn<mode>): Likewise. | |
2734 | (neon_vqmovn<mode>): Likewise. | |
2735 | (neon_vqmovun<mode>): Likewise. | |
2736 | (neon_vmovl<mode>): Likewise. | |
2737 | (neon_vmul_lane<mode>): Likewise. | |
2738 | (neon_vmull_lane<mode>): Likewise. | |
2739 | (neon_vqdmull_lane<mode>): Likewise. | |
2740 | (neon_vqdmulh_lane<mode>): Likewise. | |
2741 | (neon_vmla_lane<mode>): Likewise. | |
2742 | (neon_vmlal_lane<mode>): Likewise. | |
2743 | (neon_vqdmlal_lane<mode>): Likewise. | |
2744 | (neon_vmls_lane<mode>): Likewise. | |
2745 | (neon_vmlsl_lane<mode>): Likewise. | |
2746 | (neon_vqdmlsl_lane<mode>): Likewise. | |
2747 | (neon_vext<mode>): Likewise. | |
2748 | (neon_vrev64<mode>): Likewise. | |
2749 | (neon_vrev32<mode>): Likewise. | |
2750 | (neon_vrev16<mode>): Likewise. | |
2751 | (neon_vbsl<mode>_internal): Likewise. | |
2752 | (neon_vshl<mode>): Likewise. | |
2753 | (neon_vqshl<mode>): Likewise. | |
2754 | (neon_vshr_n<mode>): Likewise. | |
2755 | (neon_vshrn_n<mode>): Likewise. | |
2756 | (neon_vqshrn_n<mode>): Likewise. | |
2757 | (neon_vqshrun_n<mode>): Likewise. | |
2758 | (neon_vshl_n<mode>): Likewise. | |
2759 | (neon_vqshl_n<mode>): Likewise. | |
2760 | (neon_vqshlu_n<mode>): Likewise. | |
2761 | (neon_vshll_n<mode>): Likewise. | |
2762 | (neon_vsra_n<mode>): Likewise. | |
2763 | (neon_vsri_n<mode>): Likewise. | |
2764 | (neon_vsli_n<mode>): Likewise. | |
2765 | (neon_vtbl1v8qi): Likewise. | |
2766 | (neon_vtbl2v8qi): Likewise. | |
2767 | (neon_vtbl3v8qi): Likewise. | |
2768 | (neon_vtbl4v8qi): Likewise. | |
2769 | (neon_vtbx1v8qi): Likewise. | |
2770 | (neon_vtbx2v8qi): Likewise. | |
2771 | (neon_vtbx3v8qi): Likewise. | |
2772 | (neon_vtbx4v8qi): Likewise. | |
2773 | (neon_vtrn<mode>_internal): Likewise. | |
2774 | (neon_vzip<mode>_internal): Likewise. | |
2775 | (neon_vuzp<mode>_internal): Likewise. | |
2776 | (neon_vld1<mode>): Likewise. | |
2777 | (neon_vld1_lane<mode>): Likewise. | |
2778 | (neon_vld1_dup<mode>): Likewise. | |
2779 | (neon_vld1_dupv2di): Likewise. | |
2780 | (neon_vst1<mode>): Likewise. | |
2781 | (neon_vst1_lane<mode>): Likewise. | |
2782 | (neon_vld2<mode>): Likewise. | |
2783 | (neon_vld2_lane<mode>): Likewise. | |
2784 | (neon_vld2_dup<mode>): Likewise. | |
2785 | (neon_vst2<mode>): Likewise. | |
2786 | (neon_vst2_lane<mode>): Likewise. | |
2787 | (neon_vld3<mode>): Likewise. | |
2788 | (neon_vld3qa<mode>): Likewise. | |
2789 | (neon_vld3qb<mode>): Likewise. | |
2790 | (neon_vld3_lane<mode>): Likewise. | |
2791 | (neon_vld3_dup<mode>): Likewise. | |
2792 | (neon_vst3<mode>): Likewise. | |
2793 | (neon_vst3qa<mode>): Likewise. | |
2794 | (neon_vst3qb<mode>): Likewise. | |
2795 | (neon_vst3_lane<mode>): Likewise. | |
2796 | (neon_vld4<mode>): Likewise. | |
2797 | (neon_vld4qa<mode>): Likewise. | |
2798 | (neon_vld4qb<mode>): Likewise. | |
2799 | (neon_vld4_lane<mode>): Likewise. | |
2800 | (neon_vld4_dup<mode>): Likewise. | |
2801 | (neon_vst4<mode>): Likewise. | |
2802 | (neon_vst4qa<mode>): Likewise. | |
2803 | (neon_vst4qb<mode>): Likewise. | |
2804 | (neon_vst4_lane<mode>): Likewise. | |
2805 | (neon_vec_unpack<US>_lo_<mode>): Likewise. | |
2806 | (neon_vec_unpack<US>_hi_<mode>): Likewise. | |
2807 | (neon_vec_<US>mult_lo_<mode>): Likewise. | |
2808 | (neon_vec_<US>mult_hi_<mode>): Likewise. | |
2809 | (neon_vec_<US>shiftl_<mode>): Likewise. | |
2810 | (neon_unpack<US>_<mode>): Likewise. | |
2811 | (neon_vec_<US>mult_<mode>): Likewise. | |
2812 | (vec_pack_trunc_<mode>): Likewise. | |
2813 | (neon_vec_pack_trunk_<mode>): Likewise. | |
2814 | (neon_vabd<mode>_2): Likewise. | |
2815 | (neon_vabd<mode>_3): Likewise. | |
2816 | * config/arm/vfp.md (arm_movsi_vfp): Update for attribute changes. | |
2817 | (thumb2_movsi_vfp): Likewise. | |
2818 | (movdi_vfp): Likewise. | |
2819 | (movdi_vfp_cortexa8): Likewise. | |
2820 | (movhf_vfp_neon): Likewise. | |
2821 | (movhf_vfp): Likewiwse. | |
2822 | (movsf_vfp): Likewiwse. | |
2823 | (thumb2_movsf_vfp): Likewiwse. | |
2824 | (movdf_vfp): Likewise. | |
2825 | (thumb2_movdf_vfp): Likewise. | |
2826 | (movsfcc_vfp): Likewise. | |
2827 | (thumb2_movsfcc_vfp): Likewise. | |
2828 | (movdfcc_vfp): Likewise. | |
2829 | (thumb2_movdfcc_vfp): Likewise. | |
2830 | * config/arm/arm.c (cortexa7_older_only): Update for attribute change. | |
2831 | * config/arm/arm1020e.md (v10_c2v): Update for attribute change. | |
2832 | (v10_v2c): Likewise. | |
2833 | * config/arm/cortex-a15-neon.md (cortex_a15_neon_int_1): Update for | |
2834 | attribute change. | |
2835 | (cortex_a15_neon_int_2): Likewise. | |
2836 | (cortex_a15_neon_int_3): Likewise. | |
2837 | (cortex_a15_neon_int_4): Likewise. | |
2838 | (cortex_a15_neon_int_5): Likewise. | |
2839 | (cortex_a15_neon_vqneg_vqabs): Likewise. | |
2840 | (cortex_a15_neon_vmov): Likewise. | |
2841 | (cortex_a15_neon_vaba): Likewise. | |
2842 | (cortex_a15_neon_vaba_qqq): Likewise. | |
2843 | (cortex_a15_neon_mul_ddd_8_16_qdd_16_8_long_32_16_long): Likewise. | |
2844 | (cortex_a15_neon_mul_qqq_8_16_32_ddd_32): Likewise. | |
2845 | (cortex_a15_neon_mul_qdd_64_32_long_qqd_16_ddd_32_\ | |
2846 | scalar_64_32_long_scalar): Likewise. | |
2847 | (cortex_a15_neon_mla_ddd_8_16_qdd_16_8_long_32_16_long): Likewise. | |
2848 | (cortex_a15_neon_mla_qqq_8_16): Likewise. | |
2849 | (cortex_a15_neon_mla_ddd_32_qqd_16_ddd_32_scalar_qdd_64_32_\ | |
2850 | lotype_qdd_64_32_long): Likewise. | |
2851 | (cortex_a15_neon_mla_qqq_32_qqd_32_scalar): Likewise. | |
2852 | (cortex_a15_neon_mul_ddd_16_scalar_32_16_long_scalar): Likewise. | |
2853 | (cortex_a15_neon_mul_qqd_32_scalar): Likewise. | |
2854 | (cortex_a15_neon_mla_ddd_16_scalar_qdd_32_16_long_scalar): Likewise. | |
2855 | (cortex_a15_neon_shift_1): Likewise. | |
2856 | (cortex_a15_neon_shift_2): Likewise. | |
2857 | (cortex_a15_neon_shift_3): Likewise. | |
2858 | (cortex_a15_neon_vshl_ddd): Likewise. | |
2859 | (cortex_a15_neon_vqshl_vrshl_vqrshl_qqq): Likewise. | |
2860 | (cortex_a15_neon_vsra_vrsra): Likewise. | |
2861 | (cortex_a15_neon_fp_vadd_ddd_vabs_dd): Likewise. | |
2862 | (cortex_a15_neon_fp_vadd_qqq_vabs_qq): Likewise. | |
2863 | (cortex_a15_neon_fp_vmul_ddd): Likewise. | |
2864 | (cortex_a15_neon_fp_vmul_qqd): Likewise. | |
2865 | (cortex_a15_neon_fp_vmla_ddd): Likewise. | |
2866 | (cortex_a15_neon_fp_vmla_qqq): Likewise. | |
2867 | (cortex_a15_neon_fp_vmla_ddd_scalar): Likewise. | |
2868 | (cortex_a15_neon_fp_vmla_qqq_scalar): Likewise. | |
2869 | (cortex_a15_neon_fp_vrecps_vrsqrts_ddd): Likewise. | |
2870 | (cortex_a15_neon_fp_vrecps_vrsqrts_qqq): Likewise. | |
2871 | (cortex_a15_neon_bp_simple): Likewise. | |
2872 | (cortex_a15_neon_bp_2cycle): Likewise. | |
2873 | (cortex_a15_neon_bp_3cycle): Likewise. | |
2874 | (cortex_a15_neon_vld1_1_2_regs): Likewise. | |
2875 | (cortex_a15_neon_vld1_3_4_regs): Likewise. | |
2876 | (cortex_a15_neon_vld2_2_regs_vld1_vld2_all_lanes): Likewise. | |
2877 | (cortex_a15_neon_vld2_4_regs): Likewise. | |
2878 | (cortex_a15_neon_vld3_vld4): Likewise. | |
2879 | (cortex_a15_neon_vst1_1_2_regs_vst2_2_regs): Likewise. | |
2880 | (cortex_a15_neon_vst1_3_4_regs): Likewise. | |
2881 | (cortex_a15_neon_vst2_4_regs_vst3_vst4): Likewise. | |
2882 | (cortex_a15_neon_vst3_vst4): Likewise. | |
2883 | (cortex_a15_neon_vld1_vld2_lane): Likewise. | |
2884 | (cortex_a15_neon_vld3_vld4_lane" 10 | |
2885 | (cortex_a15_neon_vst1_vst2_lane): Likewise. | |
2886 | (cortex_a15_neon_vst3_vst4_lane): Likewise. | |
2887 | (cortex_a15_neon_vld3_vld4_all_lanes): Likewise. | |
2888 | (cortex_a15_neon_ldm_2): Likewise.0 | |
2889 | (cortex_a15_neon_stm_2): Likewise. | |
2890 | (cortex_a15_neon_mcr): Likewise. | |
2891 | (cortex_a15_neon_mcr_2_mcrr): Likewise. | |
2892 | (cortex_a15_neon_mrc): Likewise. | |
2893 | (cortex_a15_neon_mrrc): Likewise. | |
2894 | * config/arm/cortex-a15.md (cortex_a15_alu): Update for attribute | |
2895 | change. | |
2896 | (cortex_a15_alu_shift): Likewise. | |
2897 | (cortex_a15_alu_shift_reg): Likewise. | |
2898 | (cortex_a15_mult32): Likewise. | |
2899 | (cortex_a15_mult64): Likewise. | |
2900 | (cortex_a15_block): Likewise. | |
2901 | (cortex_a15_branch): Likewise. | |
2902 | (cortex_a15_load1): Likewise. | |
2903 | (cortex_a15_load3): Likewise. | |
2904 | (cortex_a15_store1): Likewise. | |
2905 | (cortex_a15_store3): Likewise. | |
2906 | (cortex_a15_call): Likewise. | |
f43245d1 | 2907 | * config/arm/cortex-a5.md (cortex_a5_r2f): Update for attribute change. |
003bb7f3 JG |
2908 | (cortex_a5_f2r): Likewise. |
2909 | * config/arm/cortex-a53.md (cortex_a53_r2f): Update for attribute | |
2910 | change. | |
2911 | (cortex_a53_f2r): Likewise. | |
2912 | * config/arm/cortex-a7.md | |
2913 | (cortex_a7_branch): Update for attribute change. | |
2914 | (cortex_a7_call): Likewise. | |
2915 | (cortex_a7_alu_imm): Likewise. | |
2916 | (cortex_a7_alu_reg): Likewise. | |
2917 | (cortex_a7_alu_shift): Likewise. | |
2918 | (cortex_a7_mul): Likewise. | |
2919 | (cortex_a7_load1): Likewise. | |
2920 | (cortex_a7_store1): Likewise. | |
2921 | (cortex_a7_load2): Likewise. | |
2922 | (cortex_a7_store2): Likewise. | |
2923 | (cortex_a7_load3): Likewise. | |
2924 | (cortex_a7_store3): Likewise. | |
2925 | (cortex_a7_load4): Likewise. | |
2926 | (cortex_a7_store4): Likewise. | |
2927 | (cortex_a7_fpalu): Likewise. | |
2928 | (cortex_a7_fconst): Likewise. | |
2929 | (cortex_a7_fpmuls): Likewise. | |
2930 | (cortex_a7_neon_mul): Likewise. | |
2931 | (cortex_a7_fpmacs): Likewise. | |
2932 | (cortex_a7_neon_mla: Likewise. | |
2933 | (cortex_a7_fpmuld: Likewise. | |
2934 | (cortex_a7_fpmacd: Likewise. | |
2935 | (cortex_a7_fpfmad: Likewise. | |
2936 | (cortex_a7_fdivs: Likewise. | |
2937 | (cortex_a7_fdivd: Likewise. | |
2938 | (cortex_a7_r2f: Likewise. | |
2939 | (cortex_a7_f2r: Likewise. | |
2940 | (cortex_a7_f_flags: Likewise. | |
2941 | (cortex_a7_f_loads: Likewise. | |
2942 | (cortex_a7_f_loadd: Likewise. | |
2943 | (cortex_a7_f_stores: Likewise. | |
2944 | (cortex_a7_f_stored: Likewise. | |
2945 | (cortex_a7_neon): Likewise. | |
2946 | * config/arm/cortex-a8-neon.md | |
2947 | (cortex_a8_neon_mrc): Update for attribute change. | |
2948 | (cortex_a8_neon_mrrc): Likewise. | |
2949 | (cortex_a8_neon_int_1): Likewise. | |
2950 | (cortex_a8_neon_int_2): Likewise. | |
2951 | (cortex_a8_neon_int_3): Likewise. | |
2952 | (cortex_a8_neon_int_4): Likewise. | |
2953 | (cortex_a8_neon_int_5): Likewise. | |
2954 | (cortex_a8_neon_vqneg_vqabs): Likewise. | |
2955 | (cortex_a8_neon_vmov): Likewise. | |
2956 | (cortex_a8_neon_vaba): Likewise. | |
2957 | (cortex_a8_neon_vaba_qqq): Likewise. | |
2958 | (cortex_a8_neon_vsma): Likewise. | |
2959 | (cortex_a8_neon_mul_ddd_8_16_qdd_16_8_long_32_16_long): Likewise. | |
2960 | (cortex_a8_neon_mul_qqq_8_16_32_ddd_32): Likewise. | |
f43245d1 UB |
2961 | (cortex_a8_neon_mul_qdd_64_32_long_qqd_16_ddd_32_scalar_64_32_\ |
2962 | long_scalar): Likewise. | |
003bb7f3 JG |
2963 | (cortex_a8_neon_mla_ddd_8_16_qdd_16_8_long_32_16_long): Likewise. |
2964 | (cortex_a8_neon_mla_qqq_8_16): Likewise. | |
2965 | (cortex_a8_neon_mla_ddd_32_qqd_16_ddd_32_scalar_qdd_64_32_\ | |
2966 | long_scalar_qdd_64_32_long): Likewise. | |
2967 | (cortex_a8_neon_mla_qqq_32_qqd_32_scalar): Likewise. | |
2968 | (cortex_a8_neon_mul_ddd_16_scalar_32_16_long_scalar): Likewise. | |
2969 | (cortex_a8_neon_mul_qqd_32_scalar): Likewise. | |
2970 | (cortex_a8_neon_mla_ddd_16_scalar_qdd_32_16_long_scalar): Likewise. | |
2971 | (cortex_a8_neon_shift_1): Likewise. | |
2972 | (cortex_a8_neon_shift_2): Likewise. | |
2973 | (cortex_a8_neon_shift_3): Likewise. | |
2974 | (cortex_a8_neon_vshl_ddd): Likewise. | |
2975 | (cortex_a8_neon_vqshl_vrshl_vqrshl_qqq): Likewise. | |
2976 | (cortex_a8_neon_vsra_vrsra): Likewise. | |
2977 | (cortex_a8_neon_fp_vadd_ddd_vabs_dd): Likewise. | |
2978 | (cortex_a8_neon_fp_vadd_qqq_vabs_qq): Likewise. | |
2979 | (cortex_a8_neon_fp_vsum): Likewise. | |
2980 | (cortex_a8_neon_fp_vmul_ddd): Likewise. | |
2981 | (cortex_a8_neon_fp_vmul_qqd): Likewise. | |
2982 | (cortex_a8_neon_fp_vmla_ddd): Likewise. | |
2983 | (cortex_a8_neon_fp_vmla_qqq): Likewise. | |
2984 | (cortex_a8_neon_fp_vmla_ddd_scalar): Likewise. | |
2985 | (cortex_a8_neon_fp_vmla_qqq_scalar): Likewise. | |
2986 | (cortex_a8_neon_fp_vrecps_vrsqrts_ddd): Likewise. | |
2987 | (cortex_a8_neon_fp_vrecps_vrsqrts_qqq): Likewise. | |
2988 | (cortex_a8_neon_bp_simple): Likewise. | |
2989 | (cortex_a8_neon_bp_2cycle): Likewise. | |
2990 | (cortex_a8_neon_bp_3cycle): Likewise. | |
2991 | (cortex_a8_neon_ldr): Likewise. | |
2992 | (cortex_a8_neon_str): Likewise. | |
2993 | (cortex_a8_neon_vld1_1_2_regs): Likewise. | |
2994 | (cortex_a8_neon_vld1_3_4_regs): Likewise. | |
2995 | (cortex_a8_neon_vld2_2_regs_vld1_vld2_all_lanes): Likewise. | |
2996 | (cortex_a8_neon_vld2_4_regs): Likewise. | |
2997 | (cortex_a8_neon_vld3_vld4): Likewise. | |
2998 | (cortex_a8_neon_vst1_1_2_regs_vst2_2_regs): Likewise. | |
2999 | (cortex_a8_neon_vst1_3_4_regs): Likewise. | |
3000 | (cortex_a8_neon_vst2_4_regs_vst3_vst4): Likewise. | |
3001 | (cortex_a8_neon_vst3_vst4): Likewise. | |
3002 | (cortex_a8_neon_vld1_vld2_lane): Likewise. | |
3003 | (cortex_a8_neon_vld3_vld4_lane): Likewise. | |
3004 | (cortex_a8_neon_vst1_vst2_lane): Likewise. | |
3005 | (cortex_a8_neon_vst3_vst4_lane): Likewise. | |
3006 | (cortex_a8_neon_vld3_vld4_all_lanes): Likewise. | |
3007 | (cortex_a8_neon_mcr): Likewise. | |
3008 | (cortex_a8_neon_mcr_2_mcrr): Likewise. | |
f43245d1 | 3009 | * config/arm/cortex-a8.md (cortex_a8_alu): Update for attribute change. |
003bb7f3 JG |
3010 | * config/arm/cortex-a9-neon.md (ca9_neon_mrc): Update for attribute |
3011 | change. | |
3012 | (ca9_neon_mrrc): Likewise. | |
3013 | (cortex_a9_neon_int_1): Likewise. | |
3014 | (cortex_a9_neon_int_2): Likewise. | |
3015 | (cortex_a9_neon_int_3): Likewise. | |
3016 | (cortex_a9_neon_int_4): Likewise. | |
3017 | (cortex_a9_neon_int_5): Likewise. | |
3018 | (cortex_a9_neon_vqneg_vqabs): Likewise. | |
3019 | (cortex_a9_neon_vmov): Likewise. | |
3020 | (cortex_a9_neon_vaba): Likewise. | |
3021 | (cortex_a9_neon_vaba_qqq): Likewise. | |
3022 | (cortex_a9_neon_vsma): Likewise. | |
3023 | (cortex_a9_neon_mul_ddd_8_16_qdd_16_8_long_32_16_long): Likewise. | |
3024 | (cortex_a9_neon_mul_qqq_8_16_32_ddd_32): Likewise. | |
f43245d1 UB |
3025 | (cortex_a9_neon_mul_qdd_64_32_long_qqd_16_ddd_32_scalar_64_32_\ |
3026 | long_scalar): Likewise. | |
003bb7f3 JG |
3027 | (cortex_a9_neon_mla_ddd_8_16_qdd_16_8_long_32_16_long): Likewise. |
3028 | (cortex_a9_neon_mla_qqq_8_16): Likewise. | |
3029 | (cortex_a9_neon_mla_ddd_32_qqd_16_ddd_32_scalar_qdd_64_32_\ | |
3030 | long_scalar_qdd_64_32_long): Likewise. | |
3031 | (cortex_a9_neon_mla_qqq_32_qqd_32_scalar): Likewise. | |
3032 | (cortex_a9_neon_mul_ddd_16_scalar_32_16_long_scalar): Likewise. | |
3033 | (cortex_a9_neon_mul_qqd_32_scalar): Likewise. | |
3034 | (cortex_a9_neon_mla_ddd_16_scalar_qdd_32_16_long_scalar): Likewise. | |
3035 | (cortex_a9_neon_shift_1): Likewise. | |
3036 | (cortex_a9_neon_shift_2): Likewise. | |
3037 | (cortex_a9_neon_shift_3): Likewise. | |
3038 | (cortex_a9_neon_vshl_ddd): Likewise. | |
3039 | (cortex_a9_neon_vqshl_vrshl_vqrshl_qqq): Likewise. | |
3040 | (cortex_a9_neon_vsra_vrsra): Likewise. | |
3041 | (cortex_a9_neon_fp_vadd_ddd_vabs_dd): Likewise. | |
3042 | (cortex_a9_neon_fp_vadd_qqq_vabs_qq): Likewise. | |
3043 | (cortex_a9_neon_fp_vsum): Likewise. | |
3044 | (cortex_a9_neon_fp_vmul_ddd): Likewise. | |
3045 | (cortex_a9_neon_fp_vmul_qqd): Likewise. | |
3046 | (cortex_a9_neon_fp_vmla_ddd): Likewise. | |
3047 | (cortex_a9_neon_fp_vmla_qqq): Likewise. | |
3048 | (cortex_a9_neon_fp_vmla_ddd_scalar): Likewise. | |
3049 | (cortex_a9_neon_fp_vmla_qqq_scalar): Likewise. | |
3050 | (cortex_a9_neon_fp_vrecps_vrsqrts_ddd): Likewise. | |
3051 | (cortex_a9_neon_fp_vrecps_vrsqrts_qqq): Likewise. | |
3052 | (cortex_a9_neon_bp_simple): Likewise. | |
3053 | (cortex_a9_neon_bp_2cycle): Likewise. | |
3054 | (cortex_a9_neon_bp_3cycle): Likewise. | |
3055 | (cortex_a9_neon_ldr): Likewise. | |
3056 | (cortex_a9_neon_str): Likewise. | |
3057 | (cortex_a9_neon_vld1_1_2_regs): Likewise. | |
3058 | (cortex_a9_neon_vld1_3_4_regs): Likewise. | |
3059 | (cortex_a9_neon_vld2_2_regs_vld1_vld2_all_lanes): Likewise. | |
3060 | (cortex_a9_neon_vld2_4_regs): Likewise. | |
3061 | (cortex_a9_neon_vld3_vld4): Likewise. | |
3062 | (cortex_a9_neon_vst1_1_2_regs_vst2_2_regs): Likewise. | |
3063 | (cortex_a9_neon_vst1_3_4_regs): Likewise. | |
3064 | (cortex_a9_neon_vst2_4_regs_vst3_vst4): Likewise. | |
3065 | (cortex_a9_neon_vst3_vst4): Likewise. | |
3066 | (cortex_a9_neon_vld1_vld2_lane): Likewise. | |
3067 | (cortex_a9_neon_vld3_vld4_lane): Likewise. | |
3068 | (cortex_a9_neon_vst1_vst2_lane): Likewise. | |
3069 | (cortex_a9_neon_vst3_vst4_lane): Likewise. | |
3070 | (cortex_a9_neon_vld3_vld4_all_lanes): Likewise. | |
3071 | (cortex_a9_neon_mcr): Likewise. | |
3072 | (cortex_a9_neon_mcr_2_mcrr): Likewise. | |
3073 | * config/arm/cortex-a9.md (cortex_a9_dp): Update for attribute change. | |
3074 | (cortex_a9_fps): Likewise. | |
3075 | * config/arm/cortex-m4-fpu.md (cortex_m4_vmov_2): Update for attribute | |
3076 | change. | |
3077 | (cortex_m4_fmuls): Likewise. | |
3078 | * config/arm/cortex-r4f.md (cortex_r4_mcr): Update for attribute | |
3079 | change. | |
3080 | (cortex_r4_mrc): Likewise. | |
3081 | * config/arm/iterators.md: Update comment referring to neon_type. | |
f43245d1 | 3082 | * config/arm/iwmmxt.md (iwmmxt_arm_movdi): Update for attribute change. |
003bb7f3 | 3083 | (iwmmxt_movsi_insn): Likewise. |
f43245d1 UB |
3084 | * config/arm/marvell-pj4.md (pj4_vfp_to_core): Update for |
3085 | attribute change. | |
003bb7f3 JG |
3086 | (pj4_core_to_vfp): Likewise. |
3087 | * config/arm/neon-schedgen.ml (emit_insn_reservations): Update for | |
3088 | attribute change. | |
3089 | * config/arm/vfp11.md (vfp_fload): Update for attribute change. | |
3090 | (vfp_fstore): Likewise. | |
3091 | * doc/md.texi: Change references to neon_type to refer to type. | |
3092 | ||
fbe0dc78 DS |
3093 | 2013-09-04 Dodji Seketeli <dodji@redhat.com> |
3094 | ||
3095 | * tree.h (DECL_BUILT_IN): Fix typo in comment. | |
3096 | ||
c167bc5b DE |
3097 | 2013-09-04 David Edelsohn <dje.gcc@gmail.com> |
3098 | ||
3099 | * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Only emit | |
3100 | lglobl if not weak. | |
3101 | ||
035cb59f ER |
3102 | 2013-09-04 Easwaran Raman <eraman@google.com> |
3103 | ||
3104 | PR middle-end/57370 | |
3105 | * tree-ssa-reassoc.c (get_stmt_uid_with_default): New function, | |
3106 | (build_and_add_sum): Use it. | |
3107 | (appears_later_in_bb): Simplify code. | |
3108 | ||
71191083 TJ |
3109 | 2013-09-04 Teresa Johnson <tejohnson@google.com> |
3110 | ||
3111 | * dumpfile.c (dump_finish): Don't close stderr/stdout. | |
3112 | ||
0c488213 JG |
3113 | 2013-09-04 James Greenhalgh <james.greenhalgh@arm.com> |
3114 | ||
3115 | * config/aarch64/arm_neon.h (vaddvq_<su>64): Fix return types. | |
3116 | ||
61a74079 JH |
3117 | 2013-09-04 Jan Hubicka <jh@suse.cz> |
3118 | ||
3119 | * Makefile.in (ipa-devirt.o): Add dependency on diagnostic.h | |
3120 | * ipa-devirt.c: Include diganostic.h | |
3121 | (odr_type_d): Add types and types_set. | |
3122 | (hash_type_name): Work for types with vtables during LTO. | |
3123 | (odr_hasher::remove): Fix comment; destroy types_set. | |
3124 | (add_type_duplicate): New function, | |
3125 | (get_odr_type): Use it. | |
3126 | (dump_type_inheritance_graph): Dump type duplicates. | |
3127 | * ipa.c (symtab_remove_unreachable_nodes): Build type inheritance | |
3128 | graph. | |
3129 | * tree.c (types_same_for_odr): Give exact answers on types with | |
3130 | virtual tables. | |
3131 | ||
24ba8195 DS |
3132 | 2013-09-04 Dodji Seketeli <dodji@redhat.com> |
3133 | ||
3134 | * tree.h (DECL_BUILT_IN, DECL_IS_BUILTIN): Add more comments | |
3135 | explaining their differences. | |
3136 | ||
0a04869e SKS |
3137 | 2013-09-04 Sandeep Kumar Singh<Sandeep.Singh2@kpitcummins.com> |
3138 | ||
3139 | * config/rx/rx.h: Add option -mcpu for target variants RX100 and RX200. | |
3140 | ||
3b18bc42 JL |
3141 | 2013-09-03 Jeff Law <law@redhat.com> |
3142 | ||
3143 | * tree-ssa-threadedge.c (thread_across_edge): Record entire path | |
3144 | when not threading through a joiner block. Pass joiner/no joiner | |
3145 | state to register_jump_thread. | |
3146 | * tree-ssa-threadupdate.c (register_jump_thread): Get joiner/no joiner | |
3147 | state from argument rather than implying on path length. | |
3148 | Dump the entire jump thread path into debugging dump. | |
3149 | * tree-flow.h (register_jump_thread): Update prototype. | |
3150 | ||
ae84e151 XDL |
3151 | 2013-08-29 Xinliang David Li <davidxl@google.com> |
3152 | ||
3153 | * tree-vect-data-refs.c (vect_compute_data_ref_alignment): | |
3154 | Remove a trivial gcc_assert. | |
3155 | ||
c716e67f XDL |
3156 | 2013-08-29 Xinliang David Li <davidxl@google.com> |
3157 | ||
3158 | * tree-vect-slp.c (destroy_bb_vec_info): Data ref cleanup. | |
3159 | * tree-vect-loop.c (destroy_bb_vec_info): Ditto. | |
3160 | * tree-vect-data-refs.c (vect_compute_data_ref_alignment): | |
3161 | Delay base decl alignment adjustment. | |
3162 | * tree-vectorizer.c (vect_destroy_datarefs): New function. | |
3163 | * tree-vectorizer.h: New data structure. | |
3164 | (set_dr_misalignment): New function. | |
3165 | (dr_misalignment): Ditto. | |
3166 | * tree-vect-stmts.c (vectorizable_store): Ensure alignment. | |
3167 | (vectorizable_load): Ditto. | |
3168 | (ensure_base_align): New function. | |
3169 | (vectorize_loops): Add dbg_cnt support. | |
3170 | (execute_vect_slp): Ditto. | |
3171 | * dbgcnt.def: New debug counter. | |
3172 | * Makefile: New dependency. | |
3173 | ||
db8800bc MI |
3174 | 2013-09-03 Meador Inge <meadori@codesourcery.com> |
3175 | ||
3176 | Revert: | |
3177 | ||
3178 | 2013-08-30 Meador Inge <meadori@codesourcery.com> | |
3179 | ||
3180 | * tree-vrp.c (check_array_ref): Bail out on zero-length arrays. | |
3181 | ||
0d9b4f5c DE |
3182 | 2013-09-03 David Edelsohn <dje.gcc@gmail.com> |
3183 | ||
3184 | * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Emit lglobl for | |
3185 | function descriptor. | |
3186 | ||
29e810b9 RB |
3187 | 2013-09-03 Richard Biener <rguenther@suse.de> |
3188 | ||
3189 | * tree-affine.c (add_elt_to_tree): Fix association issue, | |
3190 | avoid useless converts and make sure to always return a | |
3191 | properly typed result. | |
3192 | ||
dbfc2894 RB |
3193 | 2013-09-03 Richard Biener <rguenther@suse.de> |
3194 | ||
3195 | PR middle-end/57656 | |
3196 | * fold-const.c (negate_expr_p): Fix division case. | |
3197 | (negate_expr): Likewise. | |
3198 | ||
fa3bf4ce RB |
3199 | 2013-09-03 Richard Biener <rguenther@suse.de> |
3200 | ||
3201 | PR lto/58285 | |
3202 | * tree-streamer-out.c: Include tm.h. | |
3203 | * Makefile.in (tree-streamer-out.o): Depend on $(TM_H). | |
3204 | ||
a64bbb3f JH |
3205 | 2013-09-03 Jan Hubicka <jh@suse.cz> |
3206 | ||
3207 | * tree-profile.c (tree_profiling): Cleanup CFG when done. | |
3208 | ||
93ed07e2 AM |
3209 | 2013-09-03 Alan Modra <amodra@gmail.com> |
3210 | ||
3211 | * config.gcc (powerpc*-*-linux*): Add support for little-endian | |
3212 | multilibs to big-endian target and vice versa. | |
3213 | * config/rs6000/t-linux64: Use := assignment on all vars. | |
3214 | (MULTILIB_EXTRA_OPTS): Remove fPIC. | |
3215 | (MULTILIB_OSDIRNAMES): Specify using mapping from multilib_options. | |
3216 | * config/rs6000/t-linux64le: New file. | |
3217 | * config/rs6000/t-linux64bele: New file. | |
3218 | * config/rs6000/t-linux64lebe: New file. | |
3219 | ||
07d6cd64 JH |
3220 | 2013-09-02 Jan Hubicka <jh@suse.cz> |
3221 | ||
3222 | * ipa-inline-transform.c (inline_transform): Do not | |
3223 | optimize_inline_calls when not optimizing. | |
3224 | ||
8e4c9a10 JH |
3225 | 2013-09-02 Jan Hubicka <jh@suse.cz> |
3226 | ||
3227 | * lto-symtab.c (lto_symtab_merge_symbols): Add comments; merge | |
3228 | duplicated nodes for assembler names. | |
3229 | * symtab.c (symtab_unregister_node): Do not attempt to unlink | |
3230 | hard registers from assembler name hash. | |
3231 | ||
c91061e6 JH |
3232 | 2013-09-02 Jan Hubicka <jh@suse.cz> |
3233 | ||
3234 | * ipa-split.c (execute_split_functions): Split externally visible | |
3235 | functions called once. | |
3236 | ||
2fd0985c MJ |
3237 | 2013-09-02 Martin Jambor <mjambor@suse.cz> |
3238 | ||
3239 | PR ipa/58106 | |
3240 | * ipa-prop.c (ipa_edge_duplication_hook): Always put new rdesc to the | |
3241 | linked list. When finding the correct duplicate, also consider also | |
3242 | the caller in additon to its inlined_to node. | |
3243 | ||
91bd4114 JG |
3244 | 2013-09-02 James Greenhalgh <james.greenhalgh@arm.com> |
3245 | ||
3246 | * config/aarch64/aarch64-simd-builtins.def | |
3247 | (dup_lane_scalar): Remove. | |
3248 | * config/aarch64/aarch64-simd.md | |
3249 | (aarch64_simd_dup): Add 'w->w' alternative. | |
3250 | (aarch64_dup_lane<mode>): Allow for VALL. | |
3251 | (aarch64_dup_lane_scalar<mode>): Remove. | |
3252 | (aarch64_dup_lane_<vswap_width_name><mode>): New. | |
3253 | (aarch64_get_lane_signed<mode>): Add w->w altenative. | |
3254 | (aarch64_get_lane_unsigned<mode>): Likewise. | |
3255 | (aarch64_get_lane<mode>): Likewise. | |
3256 | * config/aarch64/aarch64.c (aarch64_evpc_dup): New. | |
3257 | (aarch64_expand_vec_perm_const_1): Use aarch64_evpc_dup. | |
3258 | * config/aarch64/iterators.md (VSWAP_WIDTH): New. | |
3259 | (VCON): Change container of V2SF. | |
3260 | (vswap_width_name): Likewise. | |
3261 | * config/aarch64/arm_neon.h | |
3262 | (__aarch64_vdup_lane_any): New. | |
3263 | (__aarch64_vdup<q>_lane<q>_<fpsu><8,16,32,64>): Likewise. | |
3264 | (vdup<q>_n_<psuf><8,16,32,64>): Convert to C implementation. | |
3265 | (vdup<q>_lane<q>_<fpsu><8,16,32,64>): Likewise. | |
3266 | ||
d617d2d8 EB |
3267 | 2013-09-02 Eric Botcazou <ebotcazou@adacore.com> |
3268 | ||
3269 | PR middle-end/56382 | |
3270 | * expr.c (emit_move_complex): Do not move complex FP values as parts if | |
3271 | the source or the destination is a single hard register. | |
3272 | ||
63fdb7be RB |
3273 | 2013-09-02 Richard Biener <rguenther@suse.de> |
3274 | ||
3275 | PR middle-end/57511 | |
3276 | * tree-scalar-evolution.c (instantiate_scev_name): Allow | |
3277 | non-linear SCEVs. | |
3278 | ||
78de2333 RB |
3279 | 2013-09-02 Richard Biener <rguenther@suse.de> |
3280 | ||
3281 | * tree-affine.c (add_elt_to_tree): Avoid converting all pointer | |
3282 | arithmetic to sizetype. | |
3283 | ||
85ff4ec6 BC |
3284 | 2013-09-02 Bin Cheng <bin.cheng@arm.com> |
3285 | ||
3286 | * tree-ssa-loop-ivopts.c (set_autoinc_for_original_candidates): | |
3287 | Find auto-increment use both before and after candidate. | |
3288 | ||
576016fe MP |
3289 | 2013-09-02 Marek Polacek <polacek@redhat.com> |
3290 | ||
3291 | * Makefile.in (ubsan.o): Add $(TM_P_H) dependency. | |
3292 | ||
08f835dc JH |
3293 | 2013-09-01 Jan Hubicka <jh@suse.cz> |
3294 | ||
3295 | * Makefile.in: Add ipa-profile.o | |
3296 | (ipa.o, ipa-devrit.o, ipa-inline-analysis.o): Adjust dependencies. | |
3297 | * cgraph.c (struct cgraph_propagate_frequency_data, | |
3298 | cgraph_propagate_frequency_1, cgraph_propagate_frequency): Move to | |
3299 | ipa-profile.c; replace cgraph_ by ipa_ prefix. | |
3300 | * cgraph.h (cgraph_propagate_frequency): Remove. | |
f43245d1 UB |
3301 | * ipa-inline-analysis.c: Include ipa-utils.h; |
3302 | drop duplicated cfgloop.h. | |
08f835dc JH |
3303 | (inline_update_callee_summaries): Update. |
3304 | * ipa-profile.c: New file. | |
3305 | * ipa-utils.h (ipa_propagate_frequency): Declare. | |
3306 | * ipa.c: Do not include pointer-set.h, hash-table.h, lto-streamer.h, | |
f43245d1 | 3307 | data-streamer.h, value-prof.h. |
08f835dc JH |
3308 | (symtab_remove_unreachable_nodes): Update profile. |
3309 | (struct histogram_entry, histogram, histogram_pool, histogram_hash, | |
3310 | account_time_size, cmp_counts, dump_histogram, | |
3311 | ipa_profile_generate_summary, ipa_profile_write_summary, | |
3312 | ipa_profile_read_summary, ipa_profile, gate_ipa_profile, | |
3313 | pass_data_ipa_profile, pass_ipa_profile, make_pass_ipa_profile): | |
f43245d1 | 3314 | Move to ipa-profile.c. |
08f835dc | 3315 | |
cec8583c JDA |
3316 | 2013-09-01 John David Anglin <danglin@gcc.gnu.org> |
3317 | ||
3318 | * config/pa/pa.md: Allow "const 0" operand 1 in "scc" insns. | |
3319 | ||
bbc9396b JH |
3320 | 2013-09-01 Jan Hubicka <jh@suse.cz> |
3321 | ||
3322 | * common.opt (fdevirtualize-speculatively): New function. | |
3323 | * invoke.texi (fdevirtualize-speculatively): Document. | |
3324 | * ipa-devirt.c: Include ipa-inline.h | |
3325 | (likely_target_p): New function. | |
3326 | (ipa_devirt): New function. | |
3327 | (gate_ipa_devirt): New function. | |
3328 | (pass_data_ipa_devirt): New static var. | |
3329 | (pass_ipa_devirt): Likewise. | |
3330 | (make_pass_ipa_devirt): New function. | |
3331 | * opts.c (default_options): Add OPT_fdevirtualize_speculatively. | |
3332 | (common_handle_option): Disable devirtualization when | |
3333 | value range profiling is available. | |
3334 | * passes.def (pass_ipa_devirt): Add. | |
3335 | * timever.def (TV_IPA_DEVIRT): New timevar. | |
f43245d1 | 3336 | * tree-pass.h (make_pass_ipa_devirt): |
bbc9396b | 3337 | |
0cea211e IS |
3338 | 2013-09-01 Iain Sandoe <iain@codesourcery.com> |
3339 | ||
3340 | * config/darwin.h (LINK_COMMAND_SPEC_A): Revise sanitizer specs to | |
3341 | include sanitize(undefined). | |
3342 | ||
5e351e96 DN |
3343 | 2013-08-31 Diego Novillo <dnovillo@google.com> |
3344 | ||
3345 | * Makefile.in (TREE_CORE_H): Define. | |
3346 | (TREE_H): Use. | |
3347 | (GTFILES): Add tree-core.h. | |
3348 | * builtins.c (built_in_class_names): Use BUILT_IN_LAST to | |
3349 | size the array. | |
3350 | * tree-core.h: New file. | |
3351 | Move all data structures, enum, typedefs, global | |
3352 | declarations and constants from ... | |
3353 | * tree.h: ... here. | |
3354 | ||
63bf9a90 JH |
3355 | 2013-08-31 Jan Hubicka <jh@suse.cz> |
3356 | ||
3357 | * bulitins.c (expand_builtin): Do not early exit for gcov | |
3358 | instrumented functions. | |
3359 | ||
5c0abd6a MP |
3360 | 2013-08-31 Marek Polacek <polacek@redhat.com> |
3361 | ||
3362 | * ubsan.c: Include tm_p.h. | |
3363 | ||
4843f032 JH |
3364 | 2013-08-31 Jan Hubicka <jh@suse.cz> |
3365 | ||
8356c89c JH |
3366 | * gimple-streamer-in.c (input_gimple_stmt): Silence parameter unused |
3367 | warning. | |
3368 | ||
4843f032 JH |
3369 | * cgraph.c (cgraph_get_body): Update call of lto_input_function_body. |
3370 | * gimple-streamer-in.c (input_gimple_stmt): Move sanity check to ... | |
5e581212 | 3371 | * tree-cfg.c (verify_gimple_label): ... here. |
4843f032 JH |
3372 | * ipa-utils.c: Include lto-streamer.h, ipa-inline.h |
3373 | (ipa_merge_profiles): New function. | |
3374 | * lto-streamer-in.c (lto_read_body): Take node instead of fn_decl. | |
3375 | (lto_input_function_body): Likewise. | |
5e581212 JH |
3376 | * ipa-utils.h (ipa_merge_profiles): Declare. |
3377 | * lto-streamer.h (lto_input_function_body): Update prototype. | |
3378 | (emit_label_in_global_context_p): Remove. | |
3379 | * lto-symtab.c: Include ipa-utils.h | |
3380 | (lto_cgraph_replace_node): Use ipa_merge_profiles. | |
4843f032 | 3381 | |
57292ce9 JH |
3382 | 2013-08-31 Jan Hubicka <jh@suse.cz> |
3383 | ||
3384 | * cgraph.c (cgraph_speculative_call_info): Fix ref lookup | |
3385 | ||
b9cbfeeb JH |
3386 | 2013-08-31 Jan Hubicka <jh@suse.cz> |
3387 | ||
3388 | * basic-block.h (apply_scale): Make scale parmeter gcov_type. | |
3389 | ||
41dedebd UB |
3390 | 2013-08-31 Uros Bizjak <ubizjak@gmail.com> |
3391 | ||
3392 | * config/alpha/alpha.c (alpha_emit_conditional_move): Update | |
3393 | "cmp" RTX before signed_comparison_operator check to account | |
3394 | for "code" changes. | |
3395 | ||
06d65050 JH |
3396 | 2013-08-30 Jan Hubicka <jh@suse.cz> |
3397 | ||
41dedebd | 3398 | * ipa-prop.c (ipa_set_jf_known_type): Check that we add only records. |
06d65050 JH |
3399 | (detect_type_change_1): Rename to ... |
3400 | (detect_type_change): ... this one; early return on non-polymorphic | |
3401 | types. | |
41dedebd | 3402 | (detect_type_change_ssa): Add comp_type parameter; update |
06d65050 JH |
3403 | use of detect_type_change. |
3404 | (compute_complex_assign_jump_func): Add param_type parameter; | |
3405 | update use of detect_type_change_ssa. | |
3406 | (compute_complex_ancestor_jump_func): Likewise. | |
3407 | (ipa_get_callee_param_type): New function. | |
3408 | (ipa_compute_jump_functions_for_edge): Compute parameter type; | |
3409 | update calls to the jump function computation functions. | |
3410 | ||
600b5b1d TJ |
3411 | 2013-08-30 Teresa Johnson <tejohnson@google.com> |
3412 | Steven Bosscher <steven@gcc.gnu.org> | |
3413 | ||
3414 | * cfgrtl.c (fixup_new_cold_bb): New routine. | |
3415 | (commit_edge_insertions): Invoke fixup_partitions. | |
3416 | (find_partition_fixes): New routine. | |
3417 | (fixup_partitions): Ditto. | |
3418 | (verify_hot_cold_block_grouping): Update comments. | |
3419 | (rtl_verify_edges): Invoke find_partition_fixes. | |
3420 | (rtl_verify_bb_pointers): Update comments. | |
3421 | (rtl_verify_bb_layout): Ditto. | |
3422 | * basic-block.h (probably_never_executed_edge_p): Declare. | |
3423 | (fixup_partitions): Ditto. | |
3424 | * cfgcleanup.c (try_optimize_cfg): Invoke fixup_partitions. | |
3425 | * bb-reorder.c (sanitize_hot_paths): New function. | |
3426 | (find_rarely_executed_basic_blocks_and_crossing_edges): Invoke | |
3427 | sanitize_hot_paths. | |
3428 | * predict.c (probably_never_executed_edge_p): New routine. | |
3429 | * cfg.c (check_bb_profile): Add partition insanity warnings. | |
3430 | ||
0a6ea5c9 MI |
3431 | 2013-08-30 Meador Inge <meadori@codesourcery.com> |
3432 | ||
3433 | * tree-vrp.c (check_array_ref): Bail out on zero-length arrays. | |
3434 | ||
de5a5fa1 MP |
3435 | 2013-08-30 Marek Polacek <polacek@redhat.com> |
3436 | ||
3437 | * Makefile.in (ubsan.o): Add. | |
3438 | (c-family/c-ubsan.o): Add. | |
3439 | (builtins.o): Add ubsan.h dependency. | |
3440 | * ubsan.h: New file. | |
3441 | * ubsan.c: New file. | |
3442 | * common.opt: Add -fsanitize=undefined option. | |
3443 | (flag_sanitize): Add variable. | |
3444 | (fsanitize=): Add option. Add Driver. | |
3445 | (fsanitize=thread): Remove option. | |
3446 | (fsanitize=address): Likewise. | |
3447 | (static-libubsan): New option. | |
3448 | * doc/invoke.texi: Document the new flag and -static-libubsan. | |
3449 | * sanitizer.def (DEF_SANITIZER_BUILTIN): Define. | |
3450 | (BUILT_IN_UBSAN_HANDLE_BUILTIN_UNREACHABLE): Define. | |
3451 | * builtin-attrs.def (ATTR_COLD): Define. | |
3452 | (ATTR_COLD_NOTHROW_LEAF_LIST): Define. | |
3453 | * builtins.def (BUILT_IN_UBSAN_HANDLE_DIVREM_OVERFLOW, | |
3454 | BUILT_IN_UBSAN_HANDLE_SHIFT_OUT_OF_BOUNDS): Define. | |
3455 | * flag-types.h (sanitize_code): New enum. | |
3456 | * opts.c (common_handle_option): Parse command line arguments | |
3457 | of -fsanitize=. Add -fsanitize=unreachable option. | |
3458 | * varasm.c (get_variable_section): Adjust. | |
3459 | (assemble_noswitch_variable): Likewise. | |
3460 | (assemble_variable): Likewise. | |
3461 | (output_constant_def_contents): Likewise. | |
3462 | (categorize_decl_for_section): Likewise. | |
3463 | (place_block_symbol): Likewise. | |
3464 | (output_object_block): Likewise. | |
3465 | * builtins.def: Likewise. | |
3466 | * toplev.c (compile_file): Likewise. | |
3467 | (process_options): Likewise. | |
3468 | * cppbuiltin.c: Likewise. | |
3469 | * tsan.c (tsan_pass): Likewise. | |
3470 | (tsan_gate): Likewise. | |
3471 | (tsan_gate_O0): Likewise. | |
3472 | * cfgexpand.c (partition_stack_vars): Likewise. | |
3473 | (expand_stack_vars): Likewise. | |
3474 | (defer_stack_allocation): Likewise. | |
3475 | (expand_used_vars): Likewise. | |
3476 | * cfgcleanup.c (old_insns_match_p): Likewise. | |
3477 | * asan.c (asan_finish_file): Likewise. | |
3478 | (asan_instrument): Likewise. | |
3479 | (gate_asan): Likewise. | |
3480 | (initialize_sanitizer_builtins): Build BT_FN_VOID_PTR_PTR_PTR. | |
3481 | (ATTR_COLD_NOTHROW_LEAF_LIST): Define. | |
3482 | (asan_global_struct): Use pointer_sized_int_node instead | |
3483 | calling build_nonstandard_integer_type. | |
3484 | (initialize_sanitizer_builtins): Likewise. | |
3485 | (asan_finish_file): Likewise. | |
3486 | * gcc.c: Document %{%:function(args):X}. | |
3487 | (static_spec_functions): Add sanitize. | |
3488 | (handle_spec_function): Add retval_nonnull argument and if non-NULL, | |
3489 | store funcval != NULL there. | |
3490 | (do_spec_1): Adjust handle_spec_function caller. | |
3491 | (handle_braces): Allow %:function(args) as condition. | |
3492 | (sanitize_spec_function): New function. | |
3493 | (ADD_STATIC_LIBUBSAN_LIBS): Define. | |
3494 | (LIBUBSAN_SPEC): Likewise. | |
3495 | (LIBUBSAN_EARLY_SPEC): Likewise. | |
3496 | (SANITIZER_SPEC): Handle libubsan. | |
3497 | (SANITIZER_EARLY_SPEC): Likewise. | |
3498 | * config/darwin.h (LINK_COMMAND_SPEC_A): Use %:sanitize(address) | |
3499 | instead of fsanitize=address. | |
3500 | * config/arm/linux-eabi.h (ASAN_CC1_SPEC): Use %:sanitize(address) | |
3501 | instead of fsanitize=address*. | |
3502 | * builtins.c: Include ubsan.h. | |
3503 | (fold_builtin_0): Instrument __builtin_unreachable. | |
3504 | * config/rs6000/rs6000.h (FRAME_GROWS_DOWNWARD): Use flag_sanitize | |
3505 | instead of flag_asan. | |
3506 | * tree.h (enum tree_index): Add TI_POINTER_SIZED_TYPE. | |
3507 | (pointer_sized_int_node): Define. | |
41dedebd | 3508 | * tree.c (build_common_tree_nodes): Initialize pointer_sized_int_node. |
de5a5fa1 | 3509 | |
f07f30cf MS |
3510 | 2013-08-30 Mike Stump <mikestump@comcast.net> |
3511 | ||
3512 | * doc/install.texi (Prerequisites): Note regression in Tcl 8.6 | |
3513 | with RE patterns. | |
3514 | ||
8a41354f JH |
3515 | 2013-08-29 Jan Hubicka <jh@suse.cz> |
3516 | ||
3517 | * cgraph.c (cgraph_function_body_availability): Handle weakref | |
3518 | correctly. | |
3519 | * passes.def: Remove pass_fixup_cfg. | |
3520 | * ipa-inline.c (ipa_inline): When not optimizing, do not inline; | |
3521 | track when we need to remove functions. | |
3522 | (gate_ipa_inline): Execute inlining always; add comment why. | |
3523 | (pass_data_ipa_inline): Remove TODO_remove_functions. | |
3524 | * ipa-inline-analysis.c (inline_generate_summary): When not optimizing | |
3525 | do not produce summaries. | |
3526 | * symtab.c (change_decl_assembler_name): Handle renaming of weakrefs. | |
3527 | (symtab_nonoverwritable_alias): Assert we are not called on weakref. | |
3528 | * varpool.c (cgraph_variable_initializer_availability): Fix weakrefs, | |
3529 | constant pool and vtable. | |
3530 | ||
dc8d7a0f TB |
3531 | 2013-08-30 Tejas Belagod <tejas.belagod@arm.com> |
3532 | ||
41dedebd UB |
3533 | * config/aarch64/arm_neon.h (__AARCH64_UINT64_C, __AARCH64_INT64_C): |
3534 | New arm_neon.h's internal macros to specify 64-bit constants. | |
3535 | Avoid using stdint.h's macros. | |
dc8d7a0f | 3536 | |
ac7eacd2 JR |
3537 | 2013-08-30 Joern Rennecke <joern.rennecke@embecosm.com> |
3538 | ||
3539 | * recog.c (verify_changes): Verify that changes[i].old is non-zero | |
3540 | before applying REG_P. | |
3541 | ||
8b29fd4e JJ |
3542 | 2013-08-30 Jakub Jelinek <jakub@redhat.com> |
3543 | ||
3544 | PR tree-optimization/58277 | |
3545 | * tree-ssa-strlen.c (strlen_enter_block): If do_invalidate gave up | |
3546 | after seeing too many stmts with vdef in between dombb and current | |
3547 | bb, invalidate everything. | |
3548 | ||
26d75703 RB |
3549 | 2013-08-30 Richard Biener <rguenther@suse.de> |
3550 | ||
3551 | * fold-const.c (fold_single_bit_test): Fix overflow test. | |
3552 | ||
f7e088e7 EB |
3553 | 2013-08-30 Eric Botcazou <ebotcazou@adacore.com> |
3554 | ||
3555 | * function.c (assign_parm_setup_reg): For a parameter passed by pointer | |
3556 | and which can live in a register, always retrieve the value on entry. | |
3557 | * var-tracking.c (add_stores): Treat the copy on entry for a parameter | |
3558 | passed by invisible reference specially. | |
3559 | (emit_notes_in_bb) <MO_VAL_USE>: Emit notes before the instruction. | |
3560 | (vt_add_function_parameter): Correctly deal with a parameter passed by | |
3561 | invisible reference. | |
3562 | ||
3563 | 2013-08-30 Jan Hubicka <jh@suse.cz> | |
47500756 JH |
3564 | |
3565 | * tree.c (set_call_expr_flags): Fix handling of TM_PURE. | |
3566 | ||
6e8dad05 RB |
3567 | 2013-08-30 Richard Biener <rguenther@suse.de> |
3568 | ||
3569 | PR tree-optimization/58228 | |
3570 | * tree-vect-data-refs.c (vect_analyze_data_ref_access): Do not | |
3571 | allow invariant loads in nested loop vectorization. | |
3572 | ||
062ef2c8 RB |
3573 | 2013-08-30 Richard Biener <rguenther@suse.de> |
3574 | ||
3575 | PR tree-optimization/58223 | |
3576 | * tree-loop-distribution.c (has_anti_dependence): Rename to ... | |
3577 | (has_anti_or_output_dependence): ... this and adjust to also | |
3578 | look for output dependences. | |
3579 | (mark_nodes_having_upstream_mem_writes): Adjust. | |
3580 | (rdg_flag_uses): Likewise. | |
3581 | ||
7a764c60 RB |
3582 | 2013-08-30 Richard Biener <rguenther@suse.de> |
3583 | ||
3584 | PR tree-optimization/58010 | |
3585 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Remove | |
3586 | assert that we have a loop-closed PHI. | |
3587 | ||
82e9d642 JH |
3588 | 2013-08-29 Jan Hubicka <jh@suse.cz> |
3589 | ||
3590 | * lto-symtab.c (lto_cgraph_replace_node): Free decl_in_state. | |
3591 | * cgraph.c (cgraph_release_function_body): Free decl_in_state. | |
3592 | * lto-section-in.c (lto_free_function_in_decl_state): New function. | |
3593 | (lto_free_function_in_decl_state_for_node): New function. | |
3594 | ||
9cc1fb4b XDL |
3595 | 2013-08-29 Xinliang David Li <davidxl@google.com> |
3596 | ||
41dedebd | 3597 | * loop-unroll.c (report_unroll_peel): Minor message change. |
9cc1fb4b XDL |
3598 | * tree-vect-loop-manip.c (vect_do_peeling_for_alignment): |
3599 | Emit alignment peeling message with default -fopt-info. | |
3600 | (vect_loop_versioning): Emit loop version info message. | |
41dedebd | 3601 | * tree-vectorizer.c (vectorize_loops): Minor message change. |
9cc1fb4b XDL |
3602 | (execute_vect_slp): Ditto. |
3603 | ||
440a5082 EB |
3604 | 2013-08-29 Eric Botcazou <ebotcazou@adacore.com> |
3605 | ||
3606 | * cgraphclones.c (cgraph_create_virtual_clone): Compute the DECL_NAME | |
3607 | of the clone from the DECL_NAME of the original function. | |
3608 | ||
3fa3690d OE |
3609 | 2013-08-29 Oleg Endo <olegendo@gcc.gnu.org> |
3610 | ||
3611 | * passes.c (register_pass): Add overload. | |
3612 | * tree-pass.h (register_pass): Forward declare it. Add comment. | |
3613 | ||
0170f33c JH |
3614 | 2013-08-29 Jan Hubicka <jh@suse.cz> |
3615 | ||
41dedebd UB |
3616 | * lto-streamer-out.c (hash_tree): Stream DECL_FINAL_P, |
3617 | DECL_CXX_CONSTRUCTOR_P, DECL_CXX_DESTRUCTOR_P and TYPE_FINAL_P. | |
3618 | * lto-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Stream | |
3619 | DECL_FINAL_P, DECL_CXX_CONSTRUCTOR_P and DECL_CXX_DESTRUCTOR_P. | |
0170f33c JH |
3620 | (unpack_ts_type_common_value_fields): Stream TYPE_FINAL_P. |
3621 | * tree-streamer-out.c (pack_ts_decl_with_vis_value_fields): | |
41dedebd | 3622 | Add DECL_FINAL_P, DECL_CXX_CONSTRUCTOR_P and DECL_CXX_DESTRUCTOR_P. |
0170f33c JH |
3623 | (pack_ts_type_common_value_fields): Add TYPE_FINAL_P. |
3624 | ||
103ff0d6 TJ |
3625 | 2013-08-29 Teresa Johnson <tejohnson@google.com> |
3626 | ||
3627 | * dumpfile.c (dump_loc): Output column number. | |
3628 | * dumpfile.h (OPTGROUP_OTHER): Add and enable under OPTGROUP_ALL. | |
3629 | * doc/invoke.texi: Document optall -fopt-info flag. | |
3630 | * profile.c (read_profile_edge_counts): Use new dump framework. | |
3631 | (compute_branch_probabilities): Ditto. | |
3632 | * passes.c (pass_manager::register_one_dump_file): Use OPTGROUP_OTHER | |
3633 | when pass not in any opt group. | |
3634 | * pass_manager.h (pass_manager::get_pass_profile): New method. | |
3635 | * value-prof.c (check_counter): Use new dump framework. | |
3636 | (check_ic_target): Ditto. | |
3637 | * coverage.c (get_coverage_counts): Ditto. | |
3638 | (coverage_init): Setup new dump framework. | |
3639 | ||
301bbc16 RB |
3640 | 2013-08-29 Richard Biener <rguenther@suse.de> |
3641 | ||
3642 | PR tree-optimization/58246 | |
3643 | * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Properly | |
3644 | handle the dominance check inside a basic-block. | |
3645 | ||
1b275000 RB |
3646 | 2013-08-29 Richard Biener <rguenther@suse.de> |
3647 | ||
3648 | PR middle-end/57287 | |
3649 | * tree-ssa-copy.c (may_propagate_copy): Allow propagating | |
3650 | of default defs that appear in abnormal PHI nodes. | |
3651 | ||
6b1184ba RB |
3652 | 2013-08-29 Richard Biener <rguenther@suse.de> |
3653 | ||
3654 | PR tree-optimization/57685 | |
3655 | * tree-vrp.c (register_edge_assert_for_1): Recurse only for | |
3656 | single-use operands to avoid exponential complexity. | |
3657 | ||
1b08b734 DC |
3658 | 2013-08-28 Dehao Chen <dehao@google.com> |
3659 | ||
3660 | * ipa-inline.c (edge_badness): Fix integer underflow. | |
3661 | ||
48a3fa69 UB |
3662 | 2013-08-28 Uros Bizjak <ubizjak@gmail.com> |
3663 | ||
3664 | * gtm-builtins.def (_ITM_free): Declare leaf. | |
3665 | ||
215f73e6 JJ |
3666 | 2013-08-28 Jakub Jelinek <jakub@redhat.com> |
3667 | ||
3668 | PR target/58067 | |
3669 | * config/i386/i386.md (*tls_global_dynamic_64_largepic): New insn. | |
3670 | (*tls_local_dynamic_base_64_largepic): Likewise. | |
3671 | (tls_global_dynamic_64_<mode>, tls_local_dynamic_base_64_<mode>): | |
3672 | Remove predicate from call operand. | |
3673 | * config/i386/i386.c (ix86_tls_get_addr): For -mcmodel=large -fpic | |
3674 | return sum of pic_offset_table_rtx and UNSPEC_PLTOFF of the symbol. | |
3675 | ||
34554d1a JL |
3676 | 2013-08-28 Jeff Law <law@redhat.com> |
3677 | ||
3678 | * tree-ssa-threadedge.c (thread_around_empty_block): Remove | |
3679 | checks for the number of predecessors and successors allowed. | |
3680 | * tree-ssa-threadupdate.c (mark_threaded_blocks): Ignore requests | |
3681 | which require copying a joiner block if there is a request which | |
3682 | is a subpath that requires no joiner block copying. | |
3683 | ||
c01c111b JH |
3684 | 2013-08-28 Jan Hubicka <jh@suse.cz> |
3685 | ||
3686 | * lto-streamer-out.c (DFS_write_tree_body): Drop | |
3687 | BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX and BINFO_VPTR_INDEX. | |
3688 | (hash_tree): Do not hash DECL_DEFER_OUTPUT, BINFO_INHERITANCE_CHAIN, | |
3689 | BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX, DECL_IN_TEXT_SECTION. | |
3690 | * tree-streamer-in.c (unpack_ts_decl_common_value_fields): | |
3691 | Do not read DECL_ERROR_ISSUED. | |
3692 | (unpack_ts_decl_with_vis_value_fields): Do not read | |
3693 | DECL_DEFER_OUTPUT. | |
48a3fa69 UB |
3694 | (lto_input_ts_binfo_tree_pointers): Do not read |
3695 | BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX | |
c01c111b JH |
3696 | * tree-streamer-out.c (pack_ts_decl_common_value_fields): Do not |
3697 | write DECL_ERROR_ISSUED.. | |
3698 | (pack_ts_decl_with_vis_value_fields): Do not write | |
3699 | DECL_DEFER_OUTPUT. | |
3700 | (write_ts_binfo_tree_pointers): Do not read BINFO_INHERITANCE_CHAIN, | |
48a3fa69 | 3701 | BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX. |
c01c111b JH |
3702 | * print-tree.c (print_node): Do not print DECL_ERROR_ISSUED. |
3703 | * tree.h (tree_decl_common): Update comment. | |
3704 | (DECL_ERROR_ISSUED): Remove. | |
3705 | ||
4b128ece JJ |
3706 | 2013-08-28 Jakub Jelinek <jakub@redhat.com> |
3707 | ||
3708 | PR middle-end/58257 | |
3709 | * omp-low.c (copy_var_decl): Copy over TREE_NO_WARNING flag. | |
3710 | ||
12211b99 | 3711 | 2013-08-28 Jan Hubicka <jh@suse.cz> |
9e57846a JH |
3712 | |
3713 | * builtins.def (free): Declare leaf. | |
3714 | ||
8dce4dbc DM |
3715 | 2013-08-27 David Malcolm <dmalcolm@redhat.com> |
3716 | ||
3717 | * gdbhooks.py: New. | |
3718 | * configure.ac (gdbinit.in): Add import of gcc/gdbhooks.py. | |
3719 | * configure: Regenerate. | |
3720 | ||
b8f6e610 MJ |
3721 | 2013-08-27 Martin Jambor <mjambor@suse.cz> |
3722 | ||
3723 | * ipa-prop.h (ipa_pass_through_data): New field type_preserved. | |
3724 | (ipa_ancestor_jf_data): Likewise. | |
3725 | (ipa_get_jf_pass_through_agg_preserved): Fix comment typo. | |
3726 | (ipa_get_jf_pass_through_type_preserved): New function. | |
3727 | (ipa_get_jf_ancestor_agg_preserved): Fix comment typo. | |
3728 | (ipa_get_jf_ancestor_type_preserved): New function. | |
12211b99 | 3729 | * ipa-cp.c (ipa_get_jf_pass_through_result): Honor type_preserved flag. |
b8f6e610 MJ |
3730 | (ipa_get_jf_ancestor_result): Likewise. |
3731 | (propagate_vals_accross_pass_through): Use | |
3732 | ipa_get_jf_pass_through_result to do all the value mappings. | |
3733 | * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Dump the | |
3734 | type_preserved flag. | |
3735 | (ipa_set_jf_cst_copy): New function. | |
3736 | (ipa_set_jf_simple_pass_through): Set the type_preserved flag. | |
3737 | (ipa_set_jf_arith_pass_through): Likewise. | |
3738 | (ipa_set_ancestor_jf): Likewise. | |
3739 | (compute_complex_assign_jump_func): Set type_preserved instead of | |
3740 | punting. | |
3741 | (ipa_compute_jump_functions_for_edge): Likewise. | |
3742 | (combine_known_type_and_ancestor_jfs): Honor type_preserved. | |
3743 | (update_jump_functions_after_inlining): Update type_preserved. | |
12211b99 | 3744 | Explicitely create jump functions when combining one with pass_through. |
b8f6e610 MJ |
3745 | (ipa_write_jump_function): Stream the type_preserved flags. |
3746 | (ipa_read_jump_function): Likewise. | |
3747 | ||
74bf76ed JJ |
3748 | 2013-08-27 Jakub Jelinek <jakub@redhat.com> |
3749 | Aldy Hernandez <aldyh@redhat.com> | |
3750 | ||
3751 | * Makefile.in (omp-low.o): Depend on $(TARGET_H). | |
3752 | * cfgloop.h (struct loop): Add safelen, force_vect, simduid. | |
3753 | * function.h (struct function): Add has_force_vect_loops and | |
3754 | has_simduid_loops. | |
12211b99 | 3755 | * gimple-pretty-print.c (dump_gimple_omp_for): Handle GF_OMP_FOR_KIND*. |
74bf76ed JJ |
3756 | * gimple.c (gimple_build_omp_critical): Add KIND argument and |
3757 | handle it. | |
3758 | * gimple.def: Update CLAUSES comments. | |
3759 | * gimple.h (enum gf_mask): Add GF_OMP_FOR_KIND_{FOR,SIMD}. | |
3760 | (gimple_build_omp_for): Add argument to prototype. | |
3761 | (gimple_omp_for_kind): New. | |
3762 | (gimple_omp_for_set_kind): New. | |
3763 | * gimplify.c (enum gimplify_omp_var_data): Add GOVD_LINEAR to | |
3764 | GOVD_DATA_SHARE_CLASS. | |
3765 | (enum omp_region_type): Add ORT_SIMD. | |
3766 | (gimple_add_tmp_var): Handle ORT_SIMD. | |
3767 | (gimplify_var_or_parm_decl): Same. | |
3768 | (is_gimple_stmt): Same. | |
3769 | (omp_firstprivatize_variable): Same. | |
3770 | (omp_add_variable): Only use splay_tree_insert if lookup failed. | |
3771 | (omp_notice_variable): Handle ORT_SIMD. | |
12211b99 | 3772 | (omp_is_private): Add SIMD argument and handle it as well as ORT_SIMD. |
74bf76ed JJ |
3773 | (omp_check_private): Handle ORT_SIMD. |
3774 | (gimplify_scan_omp_clauses): Handle OMP_CLAUSE_LINEAR and | |
3775 | OMP_CLAUSE_SAFELEN. | |
3776 | (gimplify_adjust_omp_clauses_1): Handle GOVD_LINEAR. | |
3777 | Handle OMP_CLAUSE_LASTPRIVATE. | |
3778 | (gimplify_adjust_omp_clauses): Handle OMP_CLAUSE_LINEAR and | |
3779 | OMP_CLAUSE_SAFELEN. | |
3780 | (gimplify_omp_for): Handle OMP_SIMD and OMP_CLAUSE_LINEAR. | |
3781 | (gimplify_expr): Handle OMP_SIMD. | |
3782 | * internal-fn.c (expand_GOMP_SIMD_LANE): New. | |
3783 | (expand_GOMP_SIMD_VF): New. | |
3784 | (expand_GOMP_SIMD_LAST_LANE): New. | |
3785 | * internal-fn.def (GOMP_SIMD_LANE): New. | |
3786 | (GOMP_SIMD_VF): New. | |
3787 | (GOMP_SIMD_LAST_LANE): New. | |
3788 | * omp-low.c: Include target.h. | |
3789 | (extract_omp_for_data): Handle OMP_SIMD, OMP_CLAUSE_LINEAR, | |
3790 | OMP_CLAUSE_SAFELEN. | |
3791 | (check_omp_nesting_restrictions): Same. | |
3792 | (omp_max_vf): New. | |
3793 | (lower_rec_simd_input_clauses): New. | |
3794 | (lower_rec_input_clauses): Handle OMP_SIMD, GF_OMP_FOR_KIND_SIMD, | |
3795 | OMP_CLAUSE_LINEAR. | |
3796 | (lower_lastprivate_clauses): Handle OMP_CLAUSE_LINEAR, | |
3797 | GF_OMP_FOR_KIND_SIMD, OMP_SIMD. | |
3798 | (expand_omp_build_assign): New. | |
3799 | (expand_omp_for_init_counts): New. | |
3800 | (expand_omp_for_init_vars): New. | |
3801 | (extract_omp_for_update_vars): New. | |
3802 | (expand_omp_for_generic): Use expand_omp_for_{init,update}_vars | |
3803 | and rewrite accordingly. | |
3804 | (expand_omp_simd): New. | |
3805 | (expand_omp_for): Use expand_omp_simd. | |
3806 | (lower_omp_for_lastprivate): Unshare vinit when appropriate. | |
3807 | (lower_omp_for): Do not lower the body. | |
3808 | * tree-data-ref (get_references_in_stmt): Allow IFN_GOMP_SIMD_LANE | |
3809 | in their own loops. | |
3810 | * tree-flow.h (find_omp_clause): Remove prototype. | |
12211b99 UB |
3811 | * tree-if-conv.c (main_tree_if_conversion): Run if doing if conversion, |
3812 | forcing vectorization of the loop, or if flag_tree_vectorize. | |
74bf76ed JJ |
3813 | (gate_tree_if_conversion): Similarly. |
3814 | * tree-inline.c (remap_gimple_stmt): Pass for kind argument to | |
3815 | gimple_build_omp_for. | |
3816 | (copy_cfg_body): set has_force_vect_loops and has_simduid_loops. | |
3817 | * tree-parloops (create_parallel_loop): Pass kind argument to | |
3818 | gimple_build_omp_for. | |
3819 | * tree-pretty-print.c (dump_omp_clause): Add cases for | |
3820 | OMP_CLAUSE_UNIFORM, OMP_CLAUSE_LINEAR, OMP_CLAUSE_SAFELEN, | |
3821 | OMP_CLAUSE__SIMDUID_. | |
3822 | (dump_generic_node): Handle OMP_SIMD. | |
3823 | * tree-ssa-ccp.c (likely_value): Handle IFN_GOMP_SIMD*. | |
3824 | * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely_1): Do not | |
3825 | unroll OMP_SIMD loops here. | |
12211b99 | 3826 | * tree-ssa-loop.c (gate_tree_vectorize): Run if has_force_vect_loops. |
74bf76ed | 3827 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Handle |
12211b99 | 3828 | loop->safelen. |
74bf76ed JJ |
3829 | (vect_analyze_data_refs): Handle simd loops. |
3830 | * tree-vect-loop.c (vectorizable_live_operation): Handle | |
3831 | IFN_GOMP_SIMD*. | |
12211b99 | 3832 | * tree-vect-stmts.c (vectorizable_call): Handle IFN_GOMP_SIMD_LANE. |
74bf76ed JJ |
3833 | (vectorizable_store): Handle STMT_VINFO_SIMD_LANE_ACCESS_P. |
3834 | (vectorizable_load): Same. | |
12211b99 | 3835 | * tree-vectorizer.c: Include hash-table.h and tree-ssa-propagate.h. |
74bf76ed JJ |
3836 | (struct simduid_to_vf): New. |
3837 | (simduid_to_vf::hash): New. | |
3838 | (simduid_to-vf::equal): New. | |
3839 | (struct simd_array_to_simduid): New. | |
3840 | (simd_array_to_simduid::hash): New. | |
3841 | (simd_array_to_simduid::equal): New. | |
3842 | (adjust_simduid_builtins): New. | |
3843 | (struct note_simd_array_uses_struct): New. | |
3844 | (note_simd_array_uses_cb): New. | |
3845 | (note_simd_array_uses): New. | |
3846 | (vectorize_loops): Handle simd hints and adjust simd builtins | |
3847 | accordingly. | |
3848 | * tree-vectorizer.h (struct _stmt_vec_info): Add | |
3849 | simd_lane_access_p field. | |
3850 | (STMT_VINFO_SIMD_LANE_ACCESS_P): New macro. | |
3851 | * tree.c (omp_clause_num_ops): Add entries for OMP_CLAUSE_LINEAR, | |
3852 | OMP_CLAUSE_SAFELEN, OMP_CLAUSE__SIMDUID_, OMP_CLAUSE_UNIFORM. | |
3853 | (omp_clause_code_name): Same. | |
3854 | (walk_tree_1): Handle OMP_CLAUSE_UNIFORM, OMP_CLAUSE_SAFELEN, | |
3855 | OMP_CLAUSE__SIMDUID_, OMP_CLAUSE_LINEAR. | |
3856 | * tree.def (OMP_SIMD): New entry. | |
12211b99 UB |
3857 | * tree.h (enum omp_clause_code): Add entries for OMP_CLAUSE_LINEAR, |
3858 | OMP_CLAUSE_UNIFORM, OMP_CLAUSE_SAFELEN, OMP_CLAUSE__SIMDUID_. | |
74bf76ed JJ |
3859 | (OMP_CLAUSE_DECL): Adjust range for new clauses. |
3860 | (OMP_CLAUSE_LINEAR_NO_COPYIN): New. | |
3861 | (OMP_CLAUSE_LINEAR_NO_COPYOUT): New. | |
3862 | (OMP_CLAUSE_LINEAR_STEP): New. | |
3863 | (OMP_CLAUSE_SAFELEN_EXPR): New. | |
3864 | (OMP_CLAUSE__SIMDUID__DECL): New. | |
3865 | (find_omp_clause): New prototype. | |
3866 | ||
d0cf4e84 L |
3867 | 2013-08-27 H.J. Lu <hongjiu.lu@intel.com> |
3868 | ||
3869 | * config/i386/driver-i386.c (host_detect_local_cpu): Update | |
3870 | Haswell processor detection. | |
3871 | ||
992592ec CW |
3872 | 2013-08-27 Christian Widmer <shadow@umbrox.de> |
3873 | ||
3874 | PR target/57927 | |
3875 | * config/i386/driver-i386.c (host_detect_local_cpu): Add detection | |
3876 | of Ivy Bridge and Haswell processors. Assume core-avx2 for unknown | |
3877 | AVX2 capable processors. | |
3878 | ||
9116eb22 TB |
3879 | 2013-08-27 Tejas Belagod <tejas.belagod@arm.com> |
3880 | ||
3881 | * config/aarch64/arm_neon.h: Replace all inline asm implementations | |
3882 | of vget_low_* with implementations in terms of other intrinsics. | |
3883 | ||
1c5abb53 MG |
3884 | 2013-08-27 Marc Glisse <marc.glisse@inria.fr> |
3885 | ||
3886 | PR middle-end/57219 | |
3887 | * doc/extend.texi (__builtin_isinf_sign): Restrict the return | |
3888 | values to -1, 0 and 1. | |
3889 | ||
2e100703 VP |
3890 | 2013-08-27 Vidya Praveen <vidyapraveen@arm.com> |
3891 | ||
3892 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_SISD_SSHL, | |
3893 | UNSPEC_SISD_USHL, UNSPEC_USHL_2S, UNSPEC_SSHL_2S, UNSPEC_SISD_NEG. | |
3894 | (<optab><mode>3_insn): Remove. | |
3895 | (aarch64_ashl_sisd_or_int_<mode>3): New Pattern. | |
3896 | (aarch64_lshr_sisd_or_int_<mode>3): Likewise. | |
3897 | (aarch64_ashr_sisd_or_int_<mode>3): Likewise. | |
3898 | (define_split for aarch64_lshr_sisd_or_int_di3): Likewise. | |
3899 | (define_split for aarch64_lshr_sisd_or_int_si3): Likewise. | |
3900 | (define_split for aarch64_ashr_sisd_or_int_di3): Likewise. | |
3901 | (define_split for aarch64_ashr_sisd_or_int_si3): Likewise. | |
3902 | (aarch64_sisd_ushl, aarch64_sisd_sshl): Likewise. | |
3903 | (aarch64_ushl_2s, aarch64_sshl_2s, aarch64_sisd_neg_qi): Likewise. | |
3904 | (ror<mode>3_insn): Likewise. | |
3905 | * config/aarch64/predicates.md (aarch64_simd_register): New. | |
3906 | ||
4ded8276 RB |
3907 | 2013-08-27 Richard Biener <rguenther@suse.de> |
3908 | ||
3909 | PR tree-optimization/57521 | |
3910 | * tree-if-conv.c (if_convertible_bb_p): Verify that at least | |
3911 | one edge is non-critical. | |
3912 | (find_phi_replacement_condition): Make sure to use a non-critical | |
3913 | edge. Cleanup and remove old bug workarounds. | |
3914 | (bb_postdominates_preds): Remove. | |
3915 | (if_convertible_loop_p_1): Do not compute post-dominators. | |
3916 | (combine_blocks): Do not free post-dominators. | |
3917 | (main_tree_if_conversion): Likewise. | |
3918 | (pass_data_if_conversion): Add TODO_verify_ssa. | |
3919 | ||
5aa11061 DD |
3920 | 2013-08-27 DJ Delorie <dj@redhat.com> |
3921 | ||
3922 | * config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New. | |
3923 | ||
fd91cfe3 YZ |
3924 | 2013-08-27 Yufeng Zhang <yufeng.zhang@arm.com> |
3925 | ||
3926 | * function.c (assign_parm_find_data_types): Set passed_mode and | |
3927 | nominal_mode to the TYPE_MODE of nominal_type for the built | |
3928 | pointer type in case of the struct-pass-by-reference. | |
3929 | ||
907555ce JR |
3930 | 2013-08-26 Joern Rennecke <joern.rennecke@embecosm.com> |
3931 | ||
3932 | * config/avr/avr-stdint.h (INT16_TYPE): Change default to "int". | |
3933 | (UINT16_TYPE): Change default to "unsigned int". | |
3934 | ||
67518c93 JR |
3935 | * config/avr/avr.opt (mfract-convert-truncate): New option. |
3936 | * config/avr/avr.c (avr_out_fract): Unless TARGET_FRACT_CONV_TRUNC | |
3937 | is set, round negative fractional integers according to n1169 | |
3938 | when converting to integer types. | |
3939 | ||
d6d989fc JH |
3940 | 2013-08-26 Jan Hubicka <jh@suse.cz> |
3941 | ||
3942 | * cgraph.c (cgraph_propagate_frequency): Do not assume that virtual | |
3943 | methods can not be called indirectly when their address is not taken. | |
3944 | ||
2aa3da06 JH |
3945 | 2013-08-26 Jan Hubicka <jh@suse.cz> |
3946 | ||
12211b99 UB |
3947 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Use |
3948 | ctor_for_folding. | |
2aa3da06 | 3949 | |
0987ffe7 JH |
3950 | 2013-08-26 Jan Hubicka <jh@suse.cz> |
3951 | ||
3952 | * ipa.c (comdat_can_be_unshared_p_1): C++ constructors and destructors | |
3953 | can be unshared. | |
3954 | ||
befe8647 JR |
3955 | 2013-08-26 Joern Rennecke <joern.rennecke@embecosm.com> |
3956 | ||
3957 | * reload.c (find_valid_class): Allow classes that do not include | |
3958 | FIRST_PSEUDO_REGISTER - 1. | |
3959 | ||
a21e735e JH |
3960 | 2013-08-26 Jan Hubicka <jh@suse.cz> |
3961 | ||
3962 | * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix formatting; | |
3963 | fix edge count/frequency when speculation failed; fix type check | |
3964 | for the direct call. | |
3965 | ||
e067bd43 JH |
3966 | 2013-08-26 Jan Hubicka <jh@suse.cz> |
3967 | ||
3968 | * ipa-prop.c (ipa_print_node_params): Do not ICE during WPA. | |
3969 | ||
e8aec975 JH |
3970 | 2013-08-26 Jan Hubicka <jh@suse.cz> |
3971 | ||
3972 | * ipa-inline-transform.c (inline_transform): Be ready for basic block | |
3973 | to be changed by edge redirection. | |
3974 | ||
d0b66480 JH |
3975 | 2013-08-26 Jan Hubicka <jh@suse.cz> |
3976 | ||
12211b99 UB |
3977 | * cgraph.c (cgraph_speculative_call_info): Fix parameter order and |
3978 | formating; add sanity check. | |
d0b66480 JH |
3979 | (cgraph_resolve_speculation): Add FIXME about scaling profiles. |
3980 | (cgraph_redirect_edge_call_stmt_to_callee): Fix ICE in debug dump. | |
3981 | * ipa-inline.c (heap_edge_removal_hook): Reset node growth cache. | |
3982 | (resolve_noninline_speculation): Update callee keys, too. | |
3983 | ||
0f9aaac7 JH |
3984 | 2013-08-26 Jan Hubicka <jh@suse.cz> |
3985 | ||
3986 | * tree.h (tree_decl_with_vis): Add cxx_constructor, cxx_destructor. | |
3987 | (DECL_CXX_CONSTRUCTOR_P, DECL_CXX_DESTRUCTOR_P): New macros. | |
3988 | ||
4b37444e JR |
3989 | 2013-08-26 Joern Rennecke <joern.rennecke@embecosm.com> |
3990 | ||
3991 | * config/i386/i386.c (x86_64_elf_select_section): Put ATTRIBUTE_UNUSED | |
3992 | into proper place. | |
3993 | ||
5339fc0c UB |
3994 | 2013-08-26 Uros Bizjak <ubizjak@gmail.com> |
3995 | ||
3996 | * config/i386/i386.c (ix86_debug_options): Remove prototype. | |
3997 | (x86_64_elf_select_section): Ditto. | |
3998 | (ix86_handle_tm_regparm_attribute): Remove ATTRIBUTE_UNUSED on used | |
3999 | arguments. | |
4000 | (ix86_pass_by_reference): Ditto. | |
5339fc0c UB |
4001 | (output_set_got): Ditto. |
4002 | (ix86_unary_operator_ok): Ditto. | |
4003 | (ix86_expand_builtin): Ditto. | |
4004 | ||
d5c3d3ef JH |
4005 | 2013-08-23 Jan Hubicka <jh@suse.cz> |
4006 | ||
5339fc0c | 4007 | * cgraph.c (cgraph_turn_edge_to_speculative): Fix debug output. |
d5c3d3ef | 4008 | |
5b1e7435 JH |
4009 | 2013-08-23 Jan Hubicka <jh@suse.cz> |
4010 | ||
4011 | * tree.h (TYPE_FINAL_P, DECL_FINAL_P): New macros. | |
4012 | (tree_decl_with_vis): Add FINAL field. | |
4013 | ||
ead69dac JL |
4014 | 2013-08-23 Jeff Law <law@redhat.com> |
4015 | ||
4016 | * tree-ssa-pre.c (do_regular_insertion): Include the expression in | |
4017 | the debugging dump when the expression is fully redundant. | |
4018 | ||
025311c4 GDR |
4019 | 2013-08-23 Gabriel Dos Reis <gdr@integrable-solutions.net> |
4020 | ||
4021 | * diagnostic.c (diagnostic_set_caret_max_width): Use pp_buffer. | |
4022 | * gimple-pretty-print.c (gimple_dump_bb_buff): Likewise. | |
4023 | * pretty-print.c (pp_formatted_text_data): Likewise. | |
4024 | (pp_write_text_to_stream): Likewise. | |
4025 | (pp_write_text_as_dot_label_to_stream): Likewise. | |
4026 | (pp_append_r): Likewise. | |
4027 | (pp_format): Likewise. | |
4028 | (pp_flush): Likewise. | |
4029 | (pp_clear_output_area): Likewise. | |
4030 | (pp_append_text): Likewise. | |
4031 | (pp_formatted_text): Likewise. | |
4032 | (pp_remaining_character_count_for_line): Likewise. | |
4033 | (pp_newline): Likewise. | |
4034 | (pp_character): Likewise. | |
4035 | (output_buffer::~output_buffer): Define. | |
4036 | (pretty_printer::~pretty_printer): Destruct output buffer. | |
4037 | * pretty-print.h (output_buffer::~output_buffer): Declare. | |
4038 | (pretty_printer::~pretty_printer): Declare virtual. | |
4039 | ||
0cadbfaa MG |
4040 | 2013-08-24 Marc Glisse <marc.glisse@inria.fr> |
4041 | ||
4042 | PR other/57324 | |
4043 | * hwint.h (HOST_WIDE_INT_UC, HOST_WIDE_INT_1U, HOST_WIDE_INT_M1, | |
4044 | HOST_WIDE_INT_M1U): New macros. | |
4045 | * fold-const.c (sign_bit_p, build_range_check, fold_unary_loc, | |
4046 | fold_binary_loc, fold_ternary_loc): Use the new macros. Use an | |
4047 | unsigned -1 for lshift. | |
4048 | * cse.c (cse_insn): Likewise. | |
4049 | * double-int.c (rshift_double, lshift_double): Likewise. | |
4050 | * builtins.c (fold_builtin_bitop): Likewise. | |
4051 | * combine.c (force_to_mode): Likewise. | |
4052 | * tree.c (integer_pow2p, tree_log2, tree_floor_log2): Likewise. | |
4053 | * simplify-rtx.c (simplify_const_unary_operation, | |
4054 | simplify_const_binary_operation): Likewise. | |
4055 | * tree-stdarg.c (va_list_counter_bump, va_list_ptr_read, | |
4056 | check_va_list_escapes): Likewise. | |
4057 | * rtlanal.c (nonzero_bits1): Likewise. | |
4058 | * expmed.c (expand_smod_pow2): Likewise. | |
4059 | * tree-ssa-structalias.c (UNKNOWN_OFFSET): Use HOST_WIDE_INT_MIN. | |
4060 | ||
009e5353 JH |
4061 | 2013-08-23 Jan Hubicka <jh@suse.cz> |
4062 | ||
4063 | * cgraph.c (cgraph_turn_edge_to_speculative): Mark target node | |
4064 | as having address taken. | |
4065 | ||
c4be6568 JH |
4066 | 2013-08-23 Jan Hubicka <jh@suse.cz> |
4067 | ||
64cbf23d JH |
4068 | * ipa-utils.h (method_class_type): Declare. |
4069 | * ipa-devirt.c (method_class_type): Export. | |
4070 | ||
c4be6568 JH |
4071 | * cgraphunit.c (analyze_functions): Do basic devirtualization; |
4072 | do not walk base classes of anonymous types. | |
4073 | ||
97aba8e9 KK |
4074 | 2013-08-23 Kaz Kojima <kkojima@gcc.gnu.org> |
4075 | ||
4076 | PR rtl-optimization/58220 | |
4077 | PR regression/58221 | |
4078 | * final.c (reemit_insn_block_notes): Use NEXT_INSN to | |
4079 | handle SEQUENCE insns properly. | |
4080 | ||
0fc80001 GDR |
4081 | 2013-08-23 Gabriel Dos Reis <gdr@integrable-solutions.net> |
4082 | ||
4083 | * pretty-print.h (pp_newline_and_flush): Declare. Remove macro | |
4084 | definition. | |
4085 | (pp_newline_and_indent): Likewise. | |
4086 | (pp_separate_with): Likewise. | |
4087 | * pretty-print.c (pp_newline_and_flush): Define. | |
4088 | (pp_newline_and_indent): Likewise. | |
4089 | (pp_separate_with): Likewise. | |
4090 | ||
520a5868 JJ |
4091 | 2013-08-23 Jakub Jelinek <jakub@redhat.com> |
4092 | ||
4093 | PR target/58218 | |
4094 | * config/i386/x86-64.h (TARGET_SECTION_TYPE_FLAGS): Define. | |
4095 | * config/i386/i386.c (x86_64_elf_section_type_flags): New function. | |
4096 | ||
e500c62a KY |
4097 | 2013-08-23 Kirill Yukhin <kirill.yukhin@intel.com> |
4098 | ||
f43245d1 UB |
4099 | * config/i386/predicates.md (ext_sse_reg_operand): New. |
4100 | * config/i386/i386.md (*movti_internal): Use | |
e500c62a KY |
4101 | predicate to determine if EVEX is needed. |
4102 | (*movsi_internal): Ditto. | |
4103 | (*movdf_internal): Ditto. | |
4104 | (*movsf_internal): Ditto. | |
f43245d1 | 4105 | * config/i386/mmx.md (*mov<mode>_internal): Ditto. |
e500c62a | 4106 | |
6b00d7dd JJ |
4107 | 2013-08-23 Jakub Jelinek <jakub@redhat.com> |
4108 | ||
4109 | PR tree-optimization/58209 | |
4110 | * tree-tailcall.c (process_assignment): Handle POINTER_PLUS_EXPR. | |
4111 | (find_tail_calls): Give up for pointer result types if m is non-NULL. | |
4112 | (adjust_return_value_with_ops): For PLUS_EXPR and pointer result type | |
4113 | emit POINTER_PLUS_EXPR. | |
4114 | (create_tailcall_accumulator): For pointer result type accumulate in | |
4115 | sizetype type. | |
4116 | ||
4f2a9f90 PC |
4117 | 2013-08-22 Paolo Carlini <paolo.carlini@oracle.com> |
4118 | ||
4119 | * configure.ac: Add backslashes missing from the last change. | |
4120 | * configure: Regenerate. | |
4121 | ||
7bf4274e JH |
4122 | 2013-08-22 Jan Hubicka <jh@susue.cz> |
4123 | ||
4f2a9f90 PC |
4124 | * ipa.c (function_and_variable_visibility): First remember function |
4125 | was global and then make it local. | |
7bf4274e | 4126 | |
1bea243d JB |
4127 | 2013-08-22 Julian Brown <julian@codesourcery.com> |
4128 | ||
4129 | * configure.ac: Add aarch64 to list of arches which use "nop" in | |
4130 | debug_line test. | |
4131 | * configure: Regenerate. | |
4132 | ||
bcba7ecc AK |
4133 | 2013-08-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4134 | ||
4135 | * config/s390/linux.h (TARGET_LIBC_HAS_FUNCTION): Define as | |
4136 | gnu_libc_has_function. | |
4137 | * config/s390/tpf.h: Likewise. | |
4138 | ||
4c495b0d JH |
4139 | 2013-08-22 Jan Hubicka <jh@susue.cz> |
4140 | ||
4141 | * timevar.c (validate_phases): Add cast. | |
4142 | ||
5e302bca JH |
4143 | 2013-08-22 Jan Hubicka <jh@susue.cz> |
4144 | ||
4145 | * timevar.c (validate_phases): Use size_t for memory. | |
4146 | * timevar.h (struct timevar_time_def): Use size_t for ggc_mem. | |
4147 | ||
da6ca2b5 GDR |
4148 | 2013-08-22 Gabriel Dos Reis <gdr@integrable-solutions.net> |
4149 | ||
4150 | * pretty-print.h (output_buffer::output_buffer): Declare. | |
4151 | (pretty_printer::pretty_printer): Likewise. | |
4152 | (pp_construct): Remove. | |
4153 | * pretty-print.c (output_buffer::output_buffer): Define. | |
4154 | (pretty_printer::pretty_printer): Rename from pp_construct. Simplify. | |
4155 | * gimple-pretty-print.c (print_gimple_stmt): Do not call pp_construct. | |
4156 | (print_gimple_expr): Likewise. | |
4157 | (print_gimple_seq): Likewise. | |
4158 | (gimple_dump_bb): Likewise. | |
4159 | * sched-vis.c (dump_value_slim): Likewise. | |
4160 | (dump_insn_slim): Likewise. | |
4161 | (dump_rtl_slim): Likewise. | |
4162 | (str_pattern_slim): Likewise. | |
4163 | * tree-mudflap.c (mf_varname_tree): Likewise. | |
4164 | * graph.c (print_graph_cfg): Likewise. | |
4165 | (start_graph_dump): Likewise. | |
4166 | * tree-pretty-print.c (maybe_init_pretty_print): Likewise. Use | |
4167 | placement-new. | |
4168 | * diagnostic.c (diagnostic_initialize): Simplify early diagnostic | |
4169 | pretty printer initialization. | |
4170 | * coretypes.h (diagnostic_context): Remove superflous type alias | |
4171 | declaration. | |
4172 | (pretty_printer): Likewise. Declare directly as a class. | |
4173 | (pretty_print_info): Remove declaration as class. | |
4174 | * asan.c (asan_emit_stack_protection): Remove call to pp_construct | |
4175 | and pp_clear_output_area. | |
4176 | (asan_add_global): Likewise. | |
4177 | ||
0e1474e5 JH |
4178 | 2013-08-22 Jan Hubicka <jh@suse.cz> |
4179 | ||
4180 | * cgraphunit.c (analyze_functions) Use update_type_inheritance_graph. | |
4181 | * ipa-utils.h (update_type_inheritance_graph): Declare. | |
4182 | (possible_polymorphic_call_target_p): Declare. | |
4183 | (possible_polymorphic_call_target_p): New. | |
4184 | * ipa-devirt.c: Update toplevel comments. | |
4185 | (cached_polymorphic_call_targets): Move up. | |
4186 | (odr_type_d): Move ID down. | |
4187 | (polymorphic_type_binfo_p): Update comment. | |
4188 | (odr_hasher::remove): Likewise; | |
4189 | (get_odr_type): Set anonymous_namespace. | |
4190 | (dump_odr_type): Dump it. | |
4191 | (dump_type_inheritance_graph): Do not ICE when there are no ODR types. | |
4192 | (maybe_record_node): Record node in cached_polymorphic_call_targets. | |
4193 | (record_binfo): Add comment. | |
5339fc0c UB |
4194 | (free_polymorphic_call_targets_hash): Do not ICE when cache is not |
4195 | built. | |
0e1474e5 JH |
4196 | (devirt_node_removal_hook): Do not iCE when cache is freed. |
4197 | (possible_polymorphic_call_target_p): New predicate. | |
4198 | (update_type_inheritance_graph): New function. | |
4199 | ||
3f97cb0b AI |
4200 | 2013-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com> |
4201 | Maxim Kuznetsov <maxim.kuznetsov@intel.com> | |
4202 | Sergey Lega <sergey.s.lega@intel.com> | |
4203 | Anna Tikhonova <anna.tikhonova@intel.com> | |
4204 | Ilya Tocar <ilya.tocar@intel.com> | |
4205 | Andrey Turetskiy <andrey.turetskiy@intel.com> | |
4206 | Ilya Verbin <ilya.verbin@intel.com> | |
4207 | Kirill Yukhin <kirill.yukhin@intel.com> | |
4208 | Michael Zolotukhin <michael.v.zolotukhin@intel.com> | |
4209 | ||
4210 | * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512F_SET): New. | |
4211 | (OPTION_MASK_ISA_AVX512CD_SET): Ditto. | |
4212 | (OPTION_MASK_ISA_AVX512PF_SET): Ditto. | |
4213 | (OPTION_MASK_ISA_AVX512ER_SET): Ditto. | |
4214 | (OPTION_MASK_ISA_AVX2_UNSET): Update. | |
4215 | (OPTION_MASK_ISA_AVX512F_UNSET): New. | |
4216 | (OPTION_MASK_ISA_AVX512CD_UNSET): Ditto. | |
4217 | (OPTION_MASK_ISA_AVX512PF_UNSET): Ditto. | |
4218 | (OPTION_MASK_ISA_AVX512ER_UNSET): Ditto. | |
4219 | (ix86_handle_option): Handle OPT_mavx512f, OPT_mavx512cd, | |
4220 | OPT_mavx512pf, OPT_mavx512er cases. | |
4221 | * config/i386/constraints.md (v): New constraint. | |
4222 | (Yi, Yj): Replace SSE_REGS with ALL_SSE_REGS. | |
4223 | * config/i386/cpuid.h (bit_AVX512F, bit_AVX512PF, bit_AVX512ER) | |
4224 | (bit_AVX512CD): New. | |
4225 | * config/i386/driver-i386.c (host_detect_local_cpu): Detect | |
4226 | AVX512F, AVX512ER, AVX512PF, AVX512CD features. | |
4227 | * config/i386/i386-c.c (ix86_target_macros_internal): | |
4228 | Conditionally define __AVX512F__, __AVX512ER__, __AVX512CD__, | |
4229 | __AVX512PF__. | |
4230 | * config/i386/i386-modes.def (VECTOR_MODES (INT, 128)) | |
4231 | (VECTOR_MODES (FLOAT, 128), INT_MODE (XI, 64)): New modes. | |
4232 | * config/i386/i386.c (regclass_map, dbx_register_map) | |
4233 | (dbx64_register_map, svr4_dbx_register_map): Add new SSE registers. | |
4234 | (gate_insert_vzeroupper): Disable vzeroupper for TARGET_AVX512F. | |
4235 | (ix86_target_string): Define -mavx512f, -mavx512er, -mavx512cd, | |
4236 | -mavx512pf options. | |
4237 | (ix86_option_override_internal): Define PTA_AVX512F, PTA_AVX512ER, | |
4238 | PTA_AVX512PF, PTA_AVX512CD. Handle -mavx512f, -mavx512er, -mavx512cd, | |
4239 | -mavx512pf options. Fix formatting. | |
4240 | (ix86_conditional_register_usage): Squash EXT_REX_SSE_REGs for 32-bit | |
4241 | targets. Squash EVEX_SSE_REGS if AVX512F is disabled. | |
4242 | (ix86_valid_target_attribute_inner_p): Handle -mavx512f, -mavx512er, | |
4243 | -mavx512cd, -mavx512pf options. | |
4244 | (standard_sse_constant_opcode): Add vpternlogd for 512-bit modes. | |
4245 | (print_reg, ix86_print_operand): Handle 'g' to output 512-bit operands. | |
4246 | (ix86_preferred_output_reload_class): Replace SSE_REGS with | |
4247 | ALL_SSE_REGS. | |
4248 | (ix86_hard_regno_mode_ok): Support 512-bit registers. | |
4249 | (ix86_set_reg_reg_cost): Ditto. | |
4250 | (x86_order_regs_for_local_alloc): Ditto. | |
4251 | (MAX_VECT_LEN): Extend to 64-byte. | |
4252 | (ix86_spill_class): Replace SSE_REGS with ALL_SSE_REGS. | |
4253 | * config/i386/i386.h (TARGET_AVX512F, TARGET_AVX512PF) | |
4254 | (TARGET_AVX512ER, TARGET_AVX512CD): New. | |
4255 | (BIGGEST_ALIGNMENT): Extend to 512-bits. | |
4256 | (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS): Add new registers. | |
4257 | (CALL_USED_REGISTERS, REG_ALLOC_ORDER): Likewise. | |
4258 | (VALID_AVX512F_SCALAR_MODE, VALID_AVX512F_REG_MODE): New. | |
4259 | (SSE_REG_MODE_P): Support new modes. | |
4260 | (FIRST_MMX_REG, FIRST_REX_INT_REG, FIRST_REX_SSE_REG): Add comments. | |
4261 | (FIRST_EXT_REX_SSE_REG, LAST_EXT_REX_SSE_REG): New. | |
4262 | (reg_class, REG_CLASS_NAMES): Add EVEX_SSE_REGS, ALL_SSE_REGS. | |
4263 | (SSE_CLASS_P, MAYBE_SSE_CLASS_P): Replace SSE_REGS with ALL_SSE_REGS. | |
4264 | (REG_CLASS_CONTENTS): Add new registers. | |
4265 | (SSE_REGNO_P, SSE_REGNO, HARD_REGNO_RENAME_OK): Support new registers. | |
4266 | (EXT_REX_SSE_REGNO_P): New. | |
4267 | (HI_REGISTER_NAMES): Add new registers. | |
4268 | * config/i386/i386.md: Define constants for new registers. | |
4269 | (mode): Add new 512-bit modes. | |
4270 | (prefix): Support evex prefix. | |
4271 | (isa): Support avx512f, noavx512f, fma_avx512f. | |
4272 | (ssemodesuffix): Add new 512-bit modes. | |
4273 | (movxi): New. | |
4274 | (*movxi_internal_avx512f): Ditto. | |
4275 | (*movdi_internal): Replace constraint "x" with the new constraint "v". | |
4276 | Support MODE_XI. | |
4277 | (*movsi_internal): Likewise. | |
4278 | (*movdf_internal): Likewise. | |
4279 | (*movsf_internal): Likewise. | |
4280 | (*fop_<mode>_comm_sse): Replace constraint "x" with new constraint "v". | |
4281 | (<code><mode>3): Likewise. | |
5339fc0c UB |
4282 | * config/i386/i386.opt (mavx512f, mavx512pf, mavx512er, mavx512cd): |
4283 | New. | |
3f97cb0b AI |
4284 | * config/i386/mmx.md (*mov<mode>_internal): Replace constraint "x" |
4285 | with the new constraint "v". | |
4286 | * config/i386/sse.md (*mov<mode>_internal): Support new registers and | |
4287 | modes. | |
4288 | (<sse>_loadu<ssemodesuffix><avxsizesuffix>): Replace constraint "x" | |
4289 | with the new constraint "v". | |
4290 | (<sse2>_loaddqu<avxsizesuffix>): Likewise. | |
4291 | (<sse2>_storedqu<avxsizesuffix>): Likewise. | |
4292 | (*<plusminus_insn><mode>3): Likewise. | |
4293 | (<sse>_vm<plusminus_insn><mode>3): Likewise. | |
4294 | (*mul<mode>3): Likewise. | |
4295 | (<sse>_vmmul<mode>3): Likewise. | |
4296 | (<sse>_div<mode>3): Likewise. | |
4297 | (<sse>_vmdiv<mode>3): Likewise. | |
4298 | (<sse>_sqrt<mode>2): Likewise. | |
4299 | (<sse>_vmsqrt<mode>2): Likewise. | |
4300 | (*<code><mode>3_finite): Likewise. | |
4301 | (*<code><mode>3) <smaxmin>: Likewise. | |
4302 | (<sse>_vm<code><mode>3): Likewise. | |
4303 | (*<code><mode>3) <any_logic>: Likewise. | |
4304 | (*fma_fmadd_<mode>): Likewise. | |
4305 | (*fma_fmsub_<mode>): Likewise. | |
4306 | (*fma_fnmadd_<mode>): Likewise. | |
4307 | (*fma_fnmsub_<mode>): Likewise. | |
4308 | (*fma_fmaddsub_<mode>): Likewise. | |
4309 | (*fma_fmsubadd_<mode>): Likewise. | |
4310 | (*fmai_fmadd_<mode>): Likewise. | |
4311 | (*fmai_fmsub_<mode>): Likewise. | |
4312 | (*fmai_fnmadd_<mode>): Likewise. | |
4313 | (*fmai_fnmsub_<mode>): Likewise. | |
4314 | (sse_cvtsi2ss): Likewise. | |
4315 | (sse_cvtsi2ssq): Likewise. | |
4316 | (sse_cvtss2si): Likewise. | |
4317 | (sse_cvtss2si_2): Likewise. | |
4318 | (sse_cvtss2siq): Likewise. | |
4319 | (sse_cvtss2siq_2): Likewise. | |
4320 | (sse_cvttss2si): Likewise. | |
4321 | (sse_cvtss2siq_2): Likewise. | |
4322 | (float<sseintvecmodelower><mode>2): Likewise. | |
4323 | (sse2_cvtsd2si_2): Likewise. | |
4324 | (sse2_cvtsd2siq_2): Likewise. | |
4325 | (*<plusminus_insn><mode>3): Likewise. | |
4326 | (*<sse2_avx2>_<plusminus_insn><mode>3): Likewise. | |
4327 | (*<sse4_1_avx2>_mul<mode>3): Likewise. | |
4328 | (ashr<mode>3): Likewise. | |
4329 | (<shift_insn><mode>3): Likewise. | |
4330 | (avx2_<code><mode>3): Likewise. | |
4331 | (*avx2_<code><mode>3): Likewise. | |
4332 | (*andnot<mode>3): Likewise. | |
4333 | (*<code><mode>3) <any_logic>: Likewise. | |
4334 | (abs<mode>2): Likewise. | |
4335 | (avx2_permvar<mode>): Likewise. | |
4336 | (avx2_perm<mode>_1): Likewise. | |
4337 | (*avx_vpermilp<mode>): Likewise. | |
4338 | (avx_vpermilvar<mode>3): Likewise. | |
4339 | (avx2_ashrv<mode>): Likewise. | |
4340 | (avx2_<shift_insn>v<mode>): Likewise. | |
4341 | * doc/invoke.texi: Document -mavx512f, -mavx512pf, -mavx512er, | |
4342 | -mavx512cd. | |
4343 | * doc/rtl.texi: Document XImode. | |
4344 | ||
dd5e8423 JL |
4345 | 2013-08-21 Jeff Law <law@redhat.com> |
4346 | ||
b9ebee5d JL |
4347 | * tree-flow.h (register_jump_thread): Pass vector of edges |
4348 | instead of each important edge. | |
4349 | * tree-ssa-threadedge.c (thread_across_edge): Build the jump | |
4350 | thread path into a vector and pass that to register_jump_thread. | |
4351 | * tree-ssa-threadupdate.c (register_jump_thread): Conver the | |
4352 | passed in edge vector to the current 3-edge form. | |
4353 | ||
dd5e8423 JL |
4354 | Revert: |
4355 | 2013-08-20 Alexey Makhalov <makhaloff@gmail.com> | |
4356 | ||
9bb6628e | 4357 | * dce.c (fini_dce): Call df_analyze again just in case |
dd5e8423 JL |
4358 | delete_unmarked_insns removed anything. |
4359 | ||
445dc8df JR |
4360 | 2013-08-21 Joern Rennecke <joern.rennecke@embecosm.com> |
4361 | ||
4362 | * reload.h (struct reg_equivs): Rename to .. | |
4363 | (struct reg_equivs_s): .. this. | |
4364 | ||
e0df53dd ML |
4365 | 2013-08-20 Martin Liska <marxin.liska@gmail.com> |
4366 | ||
4367 | * ipa.c (ipa_profile_read_summary): Fix buffer overflow. | |
4368 | ||
e7d1d3eb RO |
4369 | 2013-08-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4370 | ||
5339fc0c | 4371 | * config/sol2-10.h (TARGET_LIBC_HAS_FUNCTION): Don't nest comment. |
e7d1d3eb | 4372 | |
5562e26e JL |
4373 | 2013-08-21 Jeff Law <law@redhat.com> |
4374 | ||
4375 | * tree-vrp.c (simplify_stmt_for_jump_threading): Try to | |
4376 | simplify assignments too. If the RHS collapses to a singleton | |
4377 | range, then return the value for the range. | |
4378 | ||
c7ecdec6 KY |
4379 | 2013-08-21 Kirill Yukhin <kirill.yukhin@intel.com> |
4380 | ||
4381 | * config/i386/sse.md (V16): Rename to... | |
4382 | (VMOVE): this. | |
4383 | (mov<mode>): Update iterator name. | |
4384 | (*mov<mode>_internal): Ditto. | |
4385 | (push<mode>1): Ditto. | |
4386 | (movmisalign<mode>): Ditto. | |
4387 | ||
bfa3b50a JH |
4388 | 2013-08-20 Jan Hubicka <jh@suse.cz> |
4389 | ||
4390 | PR bootstrap/58186 | |
4391 | * cgraph.c (cgraph_add_edge_to_call_site_hash): Overwrite hash | |
4392 | entry for direct edges. | |
4393 | (cgraph_turn_edge_to_speculative): Fix setting of can_throw_external. | |
4394 | ||
6cd4d135 DM |
4395 | 2013-08-20 David Malcolm <dmalcolm@redhat.com> |
4396 | ||
4397 | Revert my last two changes, r201865 and r201864: | |
4398 | ||
4399 | Revert r201865: | |
4400 | 2013-08-20 David Malcolm <dmalcolm@redhat.com> | |
4401 | ||
4402 | Make opt_pass and gcc::pass_manager be GC-managed, so that pass | |
4403 | instances can own GC refs. | |
4404 | ||
4405 | * Makefile.in (GTFILES): Add pass_manager.h and tree-pass.h. | |
4406 | * context.c (gcc::context::gt_ggc_mx): Traverse passes_. | |
4407 | (gcc::context::gt_pch_nx): Likewise. | |
4408 | (gcc::context::gt_pch_nx): Likewise. | |
4409 | * ggc.h (gt_ggc_mx <T>): New. | |
4410 | (gt_pch_nx_with_op <T>): New. | |
4411 | (gt_pch_nx <T>): New. | |
4412 | * passes.c (opt_pass::gt_ggc_mx): New. | |
4413 | (opt_pass::gt_pch_nx): New. | |
4414 | (opt_pass::gt_pch_nx_with_op): New. | |
4415 | (pass_manager::gt_ggc_mx): New. | |
4416 | (pass_manager::gt_pch_nx): New. | |
4417 | (pass_manager::gt_pch_nx_with_op): New. | |
4418 | (pass_manager::operator new): Use | |
4419 | ggc_internal_cleared_alloc_stat rather than xcalloc. | |
4420 | * pass_manager.h (class pass_manager): Add GTY((user)) marking. | |
4421 | (pass_manager::gt_ggc_mx): New. | |
4422 | (pass_manager::gt_pch_nx): New. | |
4423 | (pass_manager::gt_pch_nx_with_op): New. | |
4424 | * tree-pass.h (class opt_pass): Add GTY((user)) marking. | |
4425 | (opt_pass::operator new): New. | |
4426 | (opt_pass::gt_ggc_mx): New. | |
4427 | (opt_pass::gt_pch_nx): New. | |
4428 | (opt_pass::gt_pch_nx_with_op): New. | |
4429 | ||
4430 | Revert r201864: | |
4431 | 2013-08-20 David Malcolm <dmalcolm@redhat.com> | |
4432 | ||
4433 | * Makefile.in (GTFILES): Add context.h. | |
4434 | * context.c (gcc::context::operator new): New. | |
4435 | (gcc::context::gt_ggc_mx): New. | |
4436 | (gcc::context::gt_pch_nx): New. | |
4437 | (gcc::context::gt_pch_nx): New. | |
4438 | * context.h (gcc::context): Add GTY((user)) marking. | |
4439 | (gcc::context::operator new): New. | |
4440 | (gcc::context::gt_ggc_mx): New. | |
4441 | (gcc::context::gt_pch_nx): New. | |
4442 | (gcc::context::gt_pch_nx): New. | |
4443 | (g): Add GTY marking. | |
4444 | (gt_ggc_mx (gcc::context *)): New. | |
4445 | (gt_pch_nx (gcc::context *)): New. | |
4446 | (gt_pch_nx (gcc::context *ctxt, gt_pointer_operator op, | |
4447 | void *cookie)): New. | |
4448 | * gengtype.c (open_base_files) <ifiles>: Add context.h. | |
4449 | ||
a046136a AM |
4450 | 2013-08-20 Alexey Makhalov <makhaloff@gmail.com> |
4451 | ||
4452 | * dce.c (fini_dce): Call df_analyze again just in case | |
4453 | delete_unmarked_insns removed anything. | |
4454 | ||
67598720 TJ |
4455 | 2013-08-20 Teresa Johnson <tejohnson@google.com> |
4456 | ||
4457 | PR rtl-optimizations/57451 | |
4458 | * final.c (reemit_insn_block_notes): Prevent lexical blocks | |
4459 | from crossing split section boundaries. | |
4460 | ||
f8693faf MGD |
4461 | 2013-08-20 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
4462 | ||
4463 | * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Remove definition. | |
4464 | * config/arm/t-linux-eabi (MULTILIB_OPTIONS): Document association | |
4465 | with MULTLIB_DEFAULTS. | |
4466 | ||
7d0b9a9c NC |
4467 | 2013-08-20 Nick Clifton <nickc@redhat.com> |
4468 | ||
4469 | * target.def (narrow_volatile_bitfield): Note that the default | |
4470 | value is false, not !TARGET_STRICT_ALIGN. | |
4471 | * doc/tm.texi: Regenerate. | |
4472 | ||
8edb8dc8 PC |
4473 | 2013-08-20 Pavel Chupin <pavel.v.chupin@intel.com> |
4474 | ||
4475 | Fix LIB_SPEC for systems without libpthread. | |
4476 | ||
4477 | * config/gnu-user.h: Introduce GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC. | |
4478 | * config/arm/linux-eabi.h: Use GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC | |
4479 | for Android. | |
4480 | * config/i386/linux-common.h: Likewise. | |
4481 | * config/mips/linux-common.h: Likewise. | |
4482 | ||
12211b99 | 4483 | 2013-08-20 Zhouyi Zhou <yizhouzhou@ict.ac.cn> |
d71ff3fa ZZ |
4484 | |
4485 | * tree-ssa-ccp.c (get_default_value): Remove redundant condition | |
4486 | checks. | |
4487 | ||
e42c64cb DM |
4488 | 2013-08-20 David Malcolm <dmalcolm@redhat.com> |
4489 | ||
4490 | Make opt_pass and gcc::pass_manager be GC-managed, so that pass | |
4491 | instances can own GC refs. | |
4492 | ||
4493 | * Makefile.in (GTFILES): Add pass_manager.h and tree-pass.h. | |
4494 | * context.c (gcc::context::gt_ggc_mx): Traverse passes_. | |
4495 | (gcc::context::gt_pch_nx): Likewise. | |
4496 | (gcc::context::gt_pch_nx): Likewise. | |
4497 | * ggc.h (gt_ggc_mx <T>): New. | |
4498 | (gt_pch_nx_with_op <T>): New. | |
4499 | (gt_pch_nx <T>): New. | |
4500 | * passes.c (opt_pass::gt_ggc_mx): New. | |
4501 | (opt_pass::gt_pch_nx): New. | |
4502 | (opt_pass::gt_pch_nx_with_op): New. | |
4503 | (pass_manager::gt_ggc_mx): New. | |
4504 | (pass_manager::gt_pch_nx): New. | |
4505 | (pass_manager::gt_pch_nx_with_op): New. | |
4506 | (pass_manager::operator new): Use | |
4507 | ggc_internal_cleared_alloc_stat rather than xcalloc. | |
4508 | * pass_manager.h (class pass_manager): Add GTY((user)) marking. | |
4509 | (pass_manager::gt_ggc_mx): New. | |
4510 | (pass_manager::gt_pch_nx): New. | |
4511 | (pass_manager::gt_pch_nx_with_op): New. | |
4512 | * tree-pass.h (class opt_pass): Add GTY((user)) marking. | |
4513 | (opt_pass::operator new): New. | |
4514 | (opt_pass::gt_ggc_mx): New. | |
4515 | (opt_pass::gt_pch_nx): New. | |
4516 | (opt_pass::gt_pch_nx_with_op): New. | |
4517 | ||
910c02a0 DM |
4518 | 2013-08-20 David Malcolm <dmalcolm@redhat.com> |
4519 | ||
4520 | * Makefile.in (GTFILES): Add context.h. | |
4521 | * context.c (gcc::context::operator new): New. | |
4522 | (gcc::context::gt_ggc_mx): New. | |
4523 | (gcc::context::gt_pch_nx): New. | |
4524 | (gcc::context::gt_pch_nx): New. | |
4525 | * context.h (gcc::context): Add GTY((user)) marking. | |
4526 | (gcc::context::operator new): New. | |
4527 | (gcc::context::gt_ggc_mx): New. | |
4528 | (gcc::context::gt_pch_nx): New. | |
4529 | (gcc::context::gt_pch_nx): New. | |
4530 | (g): Add GTY marking. | |
4531 | (gt_ggc_mx (gcc::context *)): New. | |
4532 | (gt_pch_nx (gcc::context *)): New. | |
4533 | (gt_pch_nx (gcc::context *ctxt, gt_pointer_operator op, | |
4534 | void *cookie)): New. | |
4535 | * gengtype.c (open_base_files) <ifiles>: Add context.h. | |
4536 | ||
af4b4236 AM |
4537 | 2013-08-20 Alan Modra <amodra@gmail.com> |
4538 | ||
4539 | PR target/57865 | |
4540 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Correct ool_adjust. | |
4541 | (rs6000_emit_epilogue): Likewise. | |
4542 | ||
12211b99 | 4543 | 2013-08-19 Dehao Chen <dehao@google.com> |
0d633222 DC |
4544 | |
4545 | * value-prof.c (gimple_ic): Fix the bug of adding EH edge. | |
4546 | ||
e2323f5b PB |
4547 | 2013-08-19 Peter Bergner <bergner@vnet.ibm.com> |
4548 | Jakub Jelinek <jakub@redhat.com> | |
4549 | ||
4550 | * builtins.def (BUILT_IN_FABSD32): New DFP ABS builtin. | |
4551 | (BUILT_IN_FABSD64): Likewise. | |
4552 | (BUILT_IN_FABSD128): Likewise. | |
4553 | * builtins.c (expand_builtin): Add support for new DFP ABS builtins. | |
4554 | (fold_builtin_1): Likewise. | |
5339fc0c UB |
4555 | * config/rs6000/dfp.md (*negtd2_fpr): Handle non-overlapping |
4556 | destination and source operands. | |
e2323f5b PB |
4557 | (*abstd2_fpr): Likewise. |
4558 | (*nabstd2_fpr): Likewise. | |
4559 | ||
cfbf3ee8 RS |
4560 | 2013-08-19 Richard Sandiford <rdsandiford@googlemail.com> |
4561 | ||
4562 | * config/mips/mips.c (mips_adjust_insn_length): Add checks for | |
4563 | JUMP_P and INSN_P. | |
4564 | ||
d3136aeb AH |
4565 | 2013-08-19 Aldy Hernandez <aldyh@redhat.com> |
4566 | ||
4567 | * doc/invoke.texi (-fcilkplus): Clarify that implementation is | |
4568 | incomplete. | |
4569 | ||
d33d9e47 AI |
4570 | 2013-08-19 Alexander Ivchenko <alexander.ivchenko@intel.com> |
4571 | ||
4572 | * target.def (TARGET_LIBC_HAS_FUNCTION): New target hook. | |
4573 | * builtins.c (default_libc_has_function): New. | |
4574 | (gnu_libc_has_function): Ditto. | |
4575 | (no_c99_libc_has_function): Ditto. | |
4576 | (expand_builtin_cexpi): Using new target hook TARGET_LIBC_HAS_FUNCTION | |
4577 | instead of TARGET_HAS_SINCOS and TARGET_C99_FUNCTIONS. | |
4578 | (fold_builtin_sincos): Likewise. | |
4579 | (fold_builtin_cexp): Likewise. | |
4580 | * builtins.def (DEF_C94_BUILTIN): Likewise. | |
4581 | (DEF_C99_BUILTIN): Likewise. | |
4582 | (DEF_C99_C90RES_BUILTIN): Likewise. | |
4583 | (DEF_C99_COMPL_BUILTIN): New define. Change all complex c99 builtin | |
4584 | definitions to using this define. | |
4585 | * config/darwin-protos.h (darwin_libc_has_function): New. | |
5339fc0c | 4586 | * config/darwin.c (darwin_libc_has_function): Ditto. |
d33d9e47 AI |
4587 | * config/alpha/linux.h: Remove TARGET_C99_FUNCTIONS and |
4588 | TARGET_HAS_SINCOS. Redefine TARGET_LIBC_HAS_FUNCTION. | |
4589 | * config/darwin.h: Ditto. | |
4590 | * config/elfos.h: Ditto. | |
4591 | * config/freebsd.h: Ditto. | |
4592 | * config/i386/cygming.h: Ditto. | |
4593 | * config/i386/djgpp.h: Ditto. | |
4594 | * config/i386/i386-interix.h: Ditto. | |
4595 | * config/microblaze/microblaze.h: Ditto. | |
4596 | * config/mmix/mmix.h: Ditto. | |
4597 | * config/gnu-user.h: Ditto. | |
4598 | * config/ia64/hpux.h: Ditto. | |
4599 | * config/pa/pa-hpux.h: Ditto. | |
4600 | * config/pdp11/pdp11.h: Ditto. | |
4601 | * config/picochip/picochip.h: Ditto. | |
4602 | * config/linux.h: Ditto. | |
4603 | * config/netbsd.h: Ditto. | |
4604 | * config/openbsd.h: Ditto. | |
4605 | * config/rs6000/aix43.h: Ditto. | |
4606 | * config/rs6000/aix51.h: Ditto. | |
4607 | * config/rs6000/aix52.h: Ditto. | |
4608 | * config/rs6000/aix53.h: Ditto. | |
4609 | * config/rs6000/aix61.h: Ditto. | |
4610 | * config/rs6000/darwin.h: Ditto. | |
4611 | * config/rs6000/linux.h: Ditto. | |
4612 | * config/rs6000/linux64.h: Ditto. | |
4613 | * config/s390/tpf.h: Ditto. | |
4614 | * config/sol2-10.h: Ditto. | |
4615 | * config/sol2.h: Ditto. | |
4616 | * config/vms/vms.h: Ditto. | |
4617 | * config/vxworks.h: Ditto. | |
4618 | * config/linux-android.c (linux_android_libc_has_function): | |
4619 | New linux-specific implementation of TARGET_LIBC_HAS_FUNCTION. | |
4620 | * config/linux-protos.h (linux_android_libc_has_function): | |
4621 | New declaration. | |
4622 | * config/i386/i386.c (ix86_libc_has_function): New. | |
4623 | * config/i386/i386-protos.h | |
4624 | (ix86_libc_has_function): New declaration. | |
4625 | * config/i386/i386.md | |
4626 | ("isinfxf2"): Change condition for TARGET_LIBC_HAS_FUNCTION. | |
4627 | ("isinf<mode>2): Likewise. | |
4628 | * convert.c (convert_to_integer): Using new target hook | |
4629 | TARGET_LIBC_HAS_FUNCTION istead of TARGET_HAS_SINCOS and | |
4630 | TARGET_C99_FUNCTIONS. | |
4631 | * fortran/f95-lang.c (gfc_init_builtin_functions): Ditto. | |
4632 | * tree-ssa-math-opts.c (execute_cse_sincos): Ditto. | |
4633 | * coretypes.h (function_class): New enum for different | |
4634 | classes of functions. | |
4635 | * defaults.h: Remove TARGET_C99_FUNCTIONS and TARGET_HAS_SINCOS. | |
4636 | * doc/tm.texi.in (TARGET_C99_FUNCTIONS): Remove documentation. | |
4637 | (TARGET_HAS_SINCOS): Likewise. | |
4638 | (TARGET_LIBC_HAS_FUNCTION): New. | |
4639 | * doc/tm.texi: Regenerated. | |
4640 | * targhooks.h (default_libc_has_function): New declaration. | |
4641 | (no_c99_libc_has_function): Ditto. | |
4642 | (gnu_libc_has_function): Ditto. | |
4643 | * system.h: Add the poisoning of TARGET_C99_FUNCTIONS | |
4644 | and TARGET_HAS_SINCOS. | |
4645 | ||
eefe9a99 JH |
4646 | 2013-08-18 Jan Hubicka <jh@suse.cz> |
4647 | ||
4648 | * Makeifle-in (ipa-devirt.o): New. | |
4649 | (GTFILES): Add ipa-utils.h and ipa-devirt.c | |
4650 | * cgraphunit.c (decide_is_symbol_needed): Do not care about virtuals. | |
4651 | (analyze_functions): Look into possible targets of polymorphic call. | |
4652 | * dumpfile.c (dump_files): Add type-inheritance dump. | |
4653 | * dumpfile.h (TDI_inheritance): New. | |
4654 | * ipa-devirt.c: New file. | |
4655 | * ipa-utils.h (odr_type_d): Forward declare. | |
4656 | (odr_type): New type. | |
4657 | (build_type_inheritance_graph): Declare. | |
4658 | (possible_polymorphic_call_targets): Declare and introduce inline | |
4659 | variant when only edge is pased. | |
4660 | (dump_possible_polymorphic_call_targets): Likewise. | |
4661 | * timevar.def (TV_IPA_INHERITANCE, TV_IPA_VIRTUAL_CALL): New. | |
4662 | * tree.c (type_in_anonymous_namespace_p): Break out from ... | |
4663 | (types_same_for_odr): ... here. | |
4664 | * tree.h (type_in_anonymous_namespace_p): Declare. | |
4665 | ||
29b89442 JJ |
4666 | 2013-08-18 Jakub Jelinek <jakub@redhat.com> |
4667 | ||
4668 | PR tree-optimization/58006 | |
4669 | * tree-parloops.c (take_address_of): Don't ICE if get_name | |
4670 | returns NULL. | |
4671 | (eliminate_local_variables_stmt): Remove clobber stmts. | |
4672 | ||
4f219961 EB |
4673 | 2013-08-18 Eric Botcazou <ebotcazou@adacore.com> |
4674 | ||
4675 | * cgraphunit.c (handle_alias_pairs): Reset the alias flag after the | |
4676 | error message is issued for an alias to undefined symbol. | |
4677 | ||
1d5755ef JH |
4678 | 2013-08-18 Jan Hubicka <jh@suse.cz> |
4679 | ||
4680 | * cgraph.c (cgraph_create_indirect_edge): Discover | |
4681 | polymorphic calls and record basic info into indirect_info. | |
4682 | * gimple-fold.c (gimple_fold_call): When doing BINFO based | |
4683 | devirtualization, ignore objc function calls. | |
4684 | * ipa-cp.c (initialize_node_lattices): Be ready for polymorphic | |
4685 | call with no parm index info. | |
4686 | * ipa-prop.c (ipa_analyze_call_uses): Likewise. | |
4687 | * tree.c (virtual_method_call_p): New function. | |
4688 | * tree.h (virtual_method_call_p): Declare. | |
4689 | ||
5945bebf JH |
4690 | 2013-08-16 Jan Hubicka <jh@suse.cz> |
4691 | ||
4692 | PR middle-end/58179 | |
4693 | * tree.c (obj_type_ref_class): Do not ICE on non-method calls. | |
4694 | ||
47fa5d23 DE |
4695 | 2013-08-16 David Edelsohn <dje.gcc@gmail.com> |
4696 | ||
4697 | * config/rs6000/rs6000.md (rs6000_get_timebase_ppc32): Add length | |
4698 | attribute. | |
4699 | ||
c74f54a0 DM |
4700 | 2013-08-16 David Malcolm <dmalcolm@redhat.com> |
4701 | ||
4702 | * gengtype.c (type_for_name): Add special-case support for | |
4703 | locating types within the "gcc::" namespace. | |
4704 | (open_base_files): Emit a "using namespace gcc" directive. | |
4705 | ||
f758f299 MM |
4706 | 2013-08-16 Michael Meissner <meissner@linux.vnet.ibm.com> |
4707 | ||
4708 | PR target/58160 | |
4709 | * config/rs6000/predicates.md (fusion_gpr_mem_load): Allow the | |
4710 | memory rtx to contain ZERO_EXTEND and SIGN_EXTEND. | |
4711 | ||
4712 | * config/rs6000/rs6000-protos.h (fusion_gpr_load_p): Pass operands | |
4713 | array instead of each individual operand as a separate argument. | |
4714 | (emit_fusion_gpr_load): Likewise. | |
4715 | (expand_fusion_gpr_load): Add new function declaration. | |
4716 | ||
4717 | * config/rs6000/rs6000.c (fusion_gpr_load_p): Change the calling | |
4718 | signature to have the operands passed as an array, instead of as | |
4719 | separate arguments. Allow ZERO_EXTEND to be in the memory | |
4720 | address, and also SIGN_EXTEND if -mpower8-fusion-sign. Do not | |
4721 | depend on the register live/dead flags when peepholes are run. | |
4722 | (expand_fusion_gpr_load): New function to be called from the | |
4723 | peephole2 pass, to change the register that addis sets to be the | |
4724 | target register. | |
4725 | (emit_fusion_gpr_load): Change the calling signature to have the | |
4726 | operands passed as an array, instead of as separate arguments. | |
4727 | Allow ZERO_EXTEND to be in the memory address, and also | |
4728 | SIGN_EXTEND if -mpower8-fusion-sign. | |
4729 | ||
4730 | * config/rs6000/rs6000.md (UNSPEC_FUSION_GPR): Delete unused | |
4731 | unspec enumeration. | |
4732 | (power8 fusion peephole/peephole2): Rework the fusion peepholes to | |
4733 | adjust the register addis loads up in the peephole2 pass. Do not | |
5339fc0c | 4734 | depend on the register live/dead state when the peephole pass is done. |
f758f299 | 4735 | |
158f4e4f DM |
4736 | 2013-08-16 David Malcolm <dmalcolm@redhat.com> |
4737 | ||
4738 | * gengtype.c (create_user_defined_type): Ensure that the kind | |
4739 | is set to TYPE_USER_STRUCT, fixing a bug seen when an incomplete | |
4740 | declaration is seen before the GTY((user)) marking. | |
4741 | ||
22f8cea5 BE |
4742 | 2013-08-16 Bernd Edlinger <bernd.edlinger@hotmail.de> |
4743 | ||
4744 | PR target/58105 | |
4745 | * config/i386/i386.c (make_resolver_func): Set DECL_UNINLINABLE. | |
4746 | ||
c49bdb2e JH |
4747 | 2013-08-16 Jan Hubicka <jh@suse.cz> |
4748 | ||
4749 | * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Add new | |
4750 | arugment expected_type. | |
4751 | (gimple_fold_call): Use it. | |
4752 | * gimple.h (gimple_extract_devirt_binfo_from_cst): Update prototype. | |
4753 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Update. | |
22f8cea5 | 4754 | * ipa-prop.c (ipa_analyze_virtual_call_uses): Use obj_type_ref_class. |
c49bdb2e JH |
4755 | (try_make_edge_direct_virtual_call): Likewise. |
4756 | * tree.c (obj_type_ref_class): New. | |
4757 | * tree.h (obj_type_ref_class): Use it. | |
4758 | ||
4042dca9 GDR |
4759 | 2013-08-16 Gabriel Dos Reis <gdr@integrable-solutions.net> |
4760 | ||
4761 | * sched-vis.c (rtl_slim_pp_initialized): Remove. | |
4762 | (rtl_slim_pp): Likewise. | |
4763 | (init_rtl_slim_pretty_print): Likewise. | |
4764 | (dump_value_slim): Don't call it. Use local pretty printer. | |
4765 | (dump_insn_slim): Likewise. | |
4766 | (dump_rtl_slim): Likewise. | |
4767 | (str_pattern_slim): Likewise. | |
4768 | * tree-mudflap.c (mf_varname_tree): Use local pretty printer. | |
4769 | Simplify. | |
4770 | ||
7a460594 JJ |
4771 | 2013-08-16 Jakub Jelinek <jakub@redhat.com> |
4772 | ||
639dc669 JJ |
4773 | PR tree-optimization/58164 |
4774 | * gimple.c (walk_stmt_load_store_addr_ops): For visit_addr | |
4775 | walk gimple_goto_dest of GIMPLE_GOTO. | |
4776 | ||
7a460594 JJ |
4777 | PR tree-optimization/58165 |
4778 | * tree-call-cdce.c (shrink_wrap_one_built_in_call): If | |
4779 | bi_call must be the last stmt in a bb, don't split_block, instead | |
4780 | use fallthru edge from it and give up if there is none. | |
4781 | Release conds vector when returning early. | |
4782 | ||
e3c02cc7 XDL |
4783 | 2013-08-14 Xinliang David Li <davidxl@google.com> |
4784 | ||
4785 | * config/i386/i386.c (ix86_option_override_internal): | |
4786 | Remove unused variable and field. | |
4787 | ||
6469da2c BS |
4788 | 2013-08-14 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4789 | ||
4790 | PR target/57949 | |
22f8cea5 | 4791 | * doc/invoke.texi: Add documentation of mcompat-align-parm option. |
6469da2c BS |
4792 | * config/rs6000/rs6000.opt: Add mcompat-align-parm option. |
4793 | * config/rs6000/rs6000.c (rs6000_function_arg_boundary): For AIX | |
4794 | and Linux, correct BLKmode alignment when 128-bit alignment is | |
4795 | required and compatibility flag is not set. | |
22f8cea5 BE |
4796 | (rs6000_gimplify_va_arg): For AIX and Linux, honor specified alignment |
4797 | for zero-size arguments when compatibility flag is not set. | |
6469da2c | 4798 | |
4ca890e2 JJ |
4799 | 2013-08-14 Jakub Jelinek <jakub@redhat.com> |
4800 | ||
4801 | PR tree-optimization/58145 | |
4802 | * tree-sra.c (build_ref_for_offset): If prev_base has | |
4803 | TREE_THIS_VOLATILE or TREE_SIDE_EFFECTS, propagate it to MEM_REF. | |
4804 | ||
daec1759 | 4805 | 2013-08-14 Xinliang David Li <davidxl@google.com> |
4ca890e2 | 4806 | |
daec1759 | 4807 | * config/i386/i386.c (ix86_option_override_internal): |
e3c02cc7 | 4808 | Fix uninitialized variable error. |
daec1759 | 4809 | |
3ad20bd4 XDL |
4810 | 2013-08-14 Xinliang David Li <davidxl@google.com> |
4811 | ||
4812 | * config/i386/i386.opt: Define two new options. | |
4813 | * config/i386/x86-tune.def: Add arch selector field in macros. | |
4814 | * config/i386/i386.h: Adjust macro definition. | |
4815 | * config/i386/i386.c (ix86_option_override_internal): | |
4816 | Refactor the code. | |
4817 | (parse_mtune_ctrl_str): New function. | |
4818 | (set_ix86_tune_features): New function. | |
4819 | (ix86_function_specific_restore): Call the new helper function. | |
4820 | ||
e839e2a9 AB |
4821 | 2013-08-14 Andrey Belevantsev <abel@ispras.ru> |
4822 | ||
4823 | PR rtl-optimization/57662 | |
4824 | * sel-sched.c (code_motion_process_successors): When the current insn | |
4825 | is removed after the recursive traversal, break from the loop. | |
4826 | Add comments and debug printouts. | |
4827 | ||
27ed665f JJ |
4828 | 2013-08-14 Jakub Jelinek <jakub@redhat.com> |
4829 | Alexandre Oliva <aoliva@redhat.com> | |
4830 | ||
4831 | PR target/58067 | |
4832 | * config/i386/i386.c (ix86_delegitimize_address): For CM_MEDIUM_PIC | |
4833 | and CM_LARGE_PIC ix86_cmodel fall thru into the -m32 code, handle | |
4834 | there also UNSPEC_PLTOFF. | |
4835 | ||
61c1a609 MP |
4836 | 2013-08-14 Marek Polacek <polacek@redhat.com> |
4837 | ||
4838 | * ipa-inline-analysis.c (add_clause): Avoid shifting integer | |
4839 | NUM_CONDITIONS bit positions. | |
4840 | ||
0e901c67 CC |
4841 | 2013-08-13 Cary Coutant <ccoutant@google.com> |
4842 | ||
4843 | * dwarf2out.c (CHECKSUM_BLOCK): New macro. | |
4844 | (attr_checksum): Hash vector contents instead of pointer. | |
4845 | (attr_checksum_ordered): Likewise. | |
4846 | ||
061eff6d UB |
4847 | 2013-08-13 Uros Bizjak <ubizjak@gmail.com> |
4848 | ||
4849 | * config/i386/sse.md (*sse2_maskmovdqu): Emit addr32 prefix | |
4850 | when Pmode != word_mode. Add length_address attribute. | |
4851 | (sse3_monitor_<mode>): Merge from sse3_monitor and | |
4852 | sse3_monitor64_<mode> insn patterns. Emit addr32 prefix when | |
4853 | Pmode != word_mode. Update insn length attribute. | |
4854 | * config/i386/i386.c (ix86_option_override_internal): Update | |
4855 | ix86_gen_monitor selection for merged sse3_monitor insn. | |
4856 | ||
8ec9249b JB |
4857 | 2013-08-13 Julian Brown <julian@codesourcery.com> |
4858 | ||
4859 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't | |
4860 | perform invalid legitimization on greater-than-word-size modes for | |
4861 | TARGET_E500_DOUBLE. | |
4862 | ||
761a8eb7 VM |
4863 | 2013-08-13 Vladimir Makarov <vmakarov@redhat.com> |
4864 | ||
4865 | * ira.c (setup_class_translate_array): Use aclass instead of cl | |
4866 | for classes not fully covered by allocno classes. | |
4867 | ||
99c2bd54 JJ |
4868 | 2013-08-13 Jakub Jelinek <jakub@redhat.com> |
4869 | ||
4029a5e0 JJ |
4870 | PR tree-optimization/57661 |
4871 | * tree-inline.h (struct copy_body_data): Add blocks_to_copy field. | |
4872 | * tree-inline.c (tree_function_versioning): Initialize it. | |
4873 | (remap_gimple_stmt): Return GIMPLE_NOP for MEM_REF lhs clobber stmts | |
4874 | if id->blocks_to_copy and MEM_REF's SSA_NAME is defined in a block | |
4875 | that is not being copied. | |
4876 | ||
99c2bd54 JJ |
4877 | PR sanitizer/56417 |
4878 | * asan.c (instrument_strlen_call): Fix typo in comment. | |
4879 | Use char * type even for the lhs of POINTER_PLUS_EXPR. | |
4880 | ||
b5f8f063 SE |
4881 | 2013-08-13 Steve Ellcey <sellcey@mips.com> |
4882 | ||
4883 | * config/mips/mips.md (prefetch): Use lw instead of ld on | |
4884 | loongson in 32bit mode. | |
4885 | ||
4de80584 NC |
4886 | 2013-08-13 Nick Clifton <nickc@redhat.com> |
4887 | ||
4888 | * config.gcc: (avr-linux): Allow for tmake_file not being empty. | |
4889 | ||
09ce3660 JH |
4890 | 2013-08-13 Jan Hubicka <jh@suse.cz> |
4891 | ||
4892 | * cgraph.c (cgraph_turn_edge_to_speculative): Return newly | |
4893 | introduced edge; fix typo in sanity check. | |
4894 | (cgraph_resolve_speculation): Export; improve diagnostic. | |
4895 | (cgraph_redirect_edge_call_stmt_to_callee): Better diagnostic; cancel | |
4896 | speculation at type mismatch. | |
4897 | * cgraph.h (cgraph_turn_edge_to_speculative): Update. | |
4898 | (cgraph_resolve_speculation): Declare. | |
4899 | (symtab_can_be_discarded): New function. | |
4900 | * value-prof.c (gimple_ic_transform): Remove actual transform code. | |
4901 | * ipa-inline-transform.c (speculation_removed): New global var. | |
4902 | (clone_inlined_nodes): See if speculation can be removed. | |
4903 | (inline_call): If speculations was removed, we growths may not match. | |
4904 | * ipa-inline.c (can_inline_edge_p): Add DISREGARD_LIMITS parameter. | |
4905 | (speculation_useful_p): New function. | |
4906 | (resolve_noninline_speculation): New function. | |
4907 | (inline_small_functions): Resolve useless speculations. | |
4908 | * ipa-inline.h (speculation_useful_p): Declare | |
4909 | * ipa.c (can_replace_by_local_alias): Simplify. | |
4910 | (ipa_profile): Produce speculative calls in non-lto, too; | |
4911 | add simple cost model; produce local aliases. | |
4912 | ||
f971dc24 DM |
4913 | 2013-08-13 David Malcolm <dmalcolm@redhat.com> |
4914 | ||
4915 | * config/i386/t-i386 (i386.o): Rename stray PIPELINE_H to | |
061eff6d | 4916 | PASS_MANAGER_H. |
f971dc24 | 4917 | |
2e507b9a PC |
4918 | 2013-08-12 Paolo Carlini <paolo.carlini@oracle.com> |
4919 | ||
4920 | * config/i386/i386.c (ix86_function_versions): Use error + inform. | |
4921 | ||
c97fd4b8 UB |
4922 | 2013-08-12 Uros Bizjak <ubizjak@gmail.com> |
4923 | ||
4924 | * config/i386/i386.md (floatunssi<mode>2 expand): Use MODEF mode | |
4925 | iterator instead of X87MODEF. | |
4926 | ||
4927 | 2013-08-12 Perez Read <netfirewall@gmail.com> | |
4928 | ||
4929 | PR target/58132 | |
4930 | * config/i386/i386.md (*movabs<mode>_1): Add <ptrsize> PTR before | |
4931 | operand 0 for intel asm alternative. | |
4932 | (*movabs<mode>_2): Ditto for operand 1. | |
4933 | ||
f4f4204c JG |
4934 | 2013-08-12 James Greenhalgh <james.greenhalgh@arm.com> |
4935 | ||
4936 | * config/aarch64/arm_none.h | |
4937 | (vdup<bhsd>_lane_<su><8,16,32,64>): Fix macro call. | |
4938 | ||
133b1a8e NC |
4939 | 2013-08-12 Nick Clifton <nickc@redhat.com> |
4940 | ||
4941 | * config.gcc (m32r-linux): Allow for tmake_file not being empty. | |
4942 | ||
15dd8b3a YR |
4943 | 2013-08-12 Yuri Rumyantsev <ysrumyan@gmail.com> |
4944 | ||
4945 | * config/i386/i386.md (floatunssi<mode>2 expand): Add new | |
4946 | expand for QI/HImode operand to produce more effictive code for | |
4947 | unsigned char(short) --> float(double) conversion. | |
4948 | ||
94109a6a AM |
4949 | 2013-08-12 Alexander Monakov <amonakov@ispras.ru> |
4950 | ||
4951 | * doc/invoke.texi: Mention that -ftls-model does not force the final | |
4952 | model. | |
4953 | ||
4e115102 MP |
4954 | 2013-08-12 Marek Polacek <polacek@redhat.com> |
4955 | Marc Glisse <marc.glisse@inria.fr> | |
4956 | ||
4957 | PR tree-optimization/57980 | |
4958 | * tree-tailcall.c (process_assignment): Call build_minus_one_cst | |
4959 | when creating -1 constant. | |
4960 | ||
748d71f3 JH |
4961 | 2013-08-10 Jan Hubicka <jh@suse.cz> |
4962 | ||
1f97e193 | 4963 | Workaround binutils PR14342. |
748d71f3 JH |
4964 | * tree-profile.c (init_ic_make_global_vars): Add LTO path. |
4965 | (gimple_init_edge_profiler): Likewise. | |
4966 | (gimple_gen_ic_func_profiler): Likewise. | |
4967 | ||
5979aa54 JH |
4968 | 2013-08-09 Jan Hubicka <jh@suse.cz> |
4969 | ||
4970 | * cgraph.c (cgraph_create_edge_1): Clear speculative flag. | |
4971 | ||
ad83025e XDL |
4972 | 2013-08-09 Xinliang David Li <davidxl@google.com> |
4973 | ||
4974 | * config/i386/stringop.def: New file. | |
4975 | * config/i386/stringop.opt: New file. | |
4976 | * config/i386/i386-opts.h: Include stringopt.def. | |
4977 | * config/i386/i386.opt: Include stringopt.opt. | |
4978 | * config/i386/i386.c (ix86_option_override_internal): | |
c97fd4b8 | 4979 | Override default size based stringop inline strategies with options. |
ad83025e XDL |
4980 | * config/i386/i386.c (ix86_parse_stringop_strategy_string): |
4981 | New function. | |
4982 | ||
e59df5fd JH |
4983 | 2013-08-09 Jan Hubicka <jh@suse.cz> |
4984 | ||
c97fd4b8 | 4985 | * ipa-ref.c (ipa_clear_stmts_in_references): Clear lto_stmt_uid, too. |
e59df5fd | 4986 | |
634ab819 JH |
4987 | 2013-08-09 Jan Hubicka <jh@suse.cz> |
4988 | ||
4989 | * cgraph.c (cgraph_resolve_speculation): Cut frequency to | |
4990 | CGRAPH_FREQ_MAX. | |
4991 | (dump_cgraph_node): Dump profile-id. | |
4992 | * cgraph.h (cgraph_indirect_call_info): Add common_target_id | |
4993 | and common_target_probability. | |
4994 | * lto-cgraph.c (lto_output_edge): Stream common targets. | |
4995 | (lto_output_node): Stream profile ids. | |
4996 | (input_node): Stream profile ids. | |
4997 | (input_edge): Stream common targets. | |
4998 | * lto-streamer-in.c (fixup_call_stmt_edges_1): Fix formatting. | |
4999 | * ipa.c: Include value-prof.h | |
5000 | (ipa_profile_generate_summary): Turn indirect call statement histograms | |
5001 | into common targets. | |
5002 | (ipa_profile): Turn common targets into speculative edges. | |
5003 | ||
2fa3d31b JH |
5004 | 2013-08-09 Jan Hubicka <jh@suse.cz> |
5005 | ||
5006 | * cgraph.h (cgraph_node): Add profile_id. | |
5007 | * value-prof.c (cgraph_node_map): Turn into pointer_map. | |
c97fd4b8 | 5008 | (init_node_map): Rewrite to handle hashes increas of incremental IDs. |
2fa3d31b JH |
5009 | (del_node_map): Update. |
5010 | (find_func_by_funcdef_no): Replace by ... | |
5011 | (find_func_by_profile_id): ... this one. | |
5012 | (gimple_ic_transform): Do not remove useful histograms when | |
5013 | speculation is not done; dump info when indirect call removal | |
5014 | can happen at LTO. | |
5015 | * value-prof.h (find_func_by_profile_id, gimple_ic): Declare. | |
5016 | * gcov-io.h (__gcov_indirect_call_profiler): Replace by ... | |
5017 | (__gcov_indirect_call_profiler_v2): .. this one. | |
5018 | * profile.h (init_node_map): Update. | |
5019 | * coverage.c (coverage_compute_profile_id): New function. | |
5020 | * coverage.h (coverage_compute_profile_id): Declare. | |
5021 | * tree-profile.c (init_ic_make_global_vars): Make | |
5022 | __gcov_indirect_call_callee and __gcov_indirect_call_counters global. | |
5023 | (gimple_init_edge_profiler): Update prototype of | |
5024 | __gcov_indirect_call_profiler. | |
5025 | (gimple_gen_ic_func_profiler): Simplify. | |
5026 | (tree_profiling): Use init_node_map | |
5027 | ||
042ae7d2 JH |
5028 | 2013-08-09 Jan Hubicka <jh@suse.cz> |
5029 | ||
c97fd4b8 UB |
5030 | * cgraphbuild.c (cgraph_rebuild_references): Rebuild only |
5031 | non-speculative refs. | |
042ae7d2 JH |
5032 | * cgraph.c (cgraph_update_edge_in_call_site_hash): New function. |
5033 | (cgraph_add_edge_to_call_site_hash): Deal with speculative calls. | |
5034 | (cgraph_set_call_stmt): Likewise. | |
5035 | (cgraph_create_edge_1): Fix release checking compilatoin; | |
5036 | clear lto_stmt_uid. | |
5037 | (cgraph_free_edge): Free indirect info. | |
5038 | (cgraph_turn_edge_to_speculative): New function. | |
5039 | (cgraph_speculative_call_info): New function. | |
5040 | (cgraph_make_edge_direct): Return direct edge; handle speculation. | |
c97fd4b8 | 5041 | (cgraph_redirect_edge_call_stmt_to_callee): Expand speculative edges. |
042ae7d2 JH |
5042 | (dump_cgraph_node): Dump speculation. |
5043 | (verify_edge_count_and_frequency): Accept speculative edges. | |
5044 | (verify_edge_corresponds_to_fndecl): Handle partitioned cgraph. | |
5045 | (verify_cgraph_node): Handle speculation. | |
5046 | * cgraph.h (cgraph_edge): Add SPECULATIVE flag. | |
5047 | (cgraph_set_call_stmt): Update prototype. | |
5048 | (cgraph_make_edge_direct): Update prototype. | |
5049 | (cgraph_speculative_call_info): Declare. | |
5050 | * ipa-cp.c (ipcp_discover_new_direct_edges): Be ready for edge | |
5051 | to change; update call of ipa_find_references. | |
5052 | * ipa-ref.c (ipa_record_reference): Fix return value; clear | |
5053 | lto_stmt_uid and speculative flags. | |
5054 | (ipa_dump_references): Dump speculation. | |
5055 | (ipa_clone_references): Clone speculative flag. | |
5056 | (ipa_clone_referring): Likewise. | |
5057 | (ipa_clone_ref): New function. | |
5058 | (ipa_find_reference): Look into lto_stmt_uids | |
5059 | (ipa_clear_stmts_in_references): Do not clear speculative calls. | |
5060 | * ipa-ref.h (ipa_ref): Add lto_stmt_uid and speculative flags. | |
5061 | (ipa_find_reference): Update declaration. | |
5062 | (ipa_clone_ref): Declare. | |
5063 | * lto-cgraph.c (lto_output_edge): Make lto_stmt_uids start from 0; | |
5064 | stream speculative flag. | |
5065 | (lto_output_ref): Stream statements uids and speculation. | |
5066 | (input_ref): Likewise. | |
5067 | (input_edge): Stream speuclation. | |
5068 | * cgraphclones.c (cgraph_clone_edge): Clone speculation. | |
5069 | (cgraph_set_call_stmt_including_clones): Handle speculation. | |
5070 | * ipa-inline.c (heap_edge_removal_hook): New function. | |
5071 | (inline_small_functions): Register it. | |
5072 | * lto-streamer-in.c (fixup_call_stmt_edges_1): Bounds checking; | |
5073 | also initialize refs. | |
5074 | * ipa-prop.c (ipa_make_edge_direct_to_target): Be ready for | |
5075 | edge to change. | |
5076 | (try_make_edge_direct_simple_call): Likewise. | |
5077 | (try_make_edge_direct_simple_call): Likewise. | |
5078 | (update_indirect_edges_after_inlining): Likewise. | |
5079 | (remove_described_reference): Look proper lto_stmt_uid. | |
5080 | (propagate_controlled_uses): Likewise. | |
5081 | (propagate_controlled_uses): Liekwise. | |
5082 | * tree-inline.c (copy_bb): Copy speculative edges. | |
5083 | (redirect_all_calls): New function. | |
c97fd4b8 UB |
5084 | (copy_cfg_body): Do redirection after loop info is updated. |
5085 | (delete_unreachable_blocks_update_callgraph): Updadte speculation. | |
042ae7d2 | 5086 | |
aa1e10cc JH |
5087 | 2013-08-09 Jan Hubicka <jh@suse.cz> |
5088 | ||
5089 | * lto-streamer-out.c (output_function): Renumber PHIs. | |
5090 | * lto-streamer-in.c (input_function): Likewise. | |
5091 | ||
66adb8eb JG |
5092 | 2013-08-09 James Greenhalgh <james.greenhalgh@arm.com> |
5093 | ||
5094 | * config/aarch64/aarch64-simd-builtins.def (get_lane_signed): Remove. | |
5095 | (get_lane_unsigned): Likewise. | |
5096 | (dup_lane_scalar): Likewise. | |
5097 | (get_lane): enable for VALL. | |
5098 | * config/aarch64/aarch64-simd.md | |
5099 | (aarch64_dup_lane_scalar<mode>): Remove. | |
5100 | (aarch64_get_lane_signed<mode>): Likewise. | |
5101 | (aarch64_get_lane_unsigned<mode>): Likewise. | |
5102 | (aarch64_get_lane_extend<GPI:mode><VDQQH:mode>): New. | |
5103 | (aarch64_get_lane_zero_extendsi<mode>): Likewise. | |
5104 | (aarch64_get_lane<mode>): Enable for all vector modes. | |
5105 | (aarch64_get_lanedi): Remove misleading constraints. | |
5106 | * config/aarch64/arm_neon.h | |
5107 | (__aarch64_vget_lane_any): Define. | |
5108 | (__aarch64_vget<q>_lane_<fpsu><8,16,32,64>): Likewise. | |
5109 | (vget<q>_lane_<fpsu><8,16,32,64>): Use __aarch64_vget_lane macros. | |
5110 | (vdup<bhsd>_lane_<su><8,16,32,64>): Likewise. | |
5111 | * config/aarch64/iterators.md (VDQQH): New. | |
5112 | (VDQQHS): Likewise. | |
5113 | (vwcore): Likewise. | |
5114 | ||
1f65ae7a EB |
5115 | 2013-08-09 Eric Botcazou <ebotcazou@adacore.com> |
5116 | ||
5117 | * configure.ac: Add GAS check for LEON instructions on SPARC. | |
5118 | * configure: Regenerate. | |
5119 | * config.in: Likewise. | |
5120 | * config.gcc (with_cpu): Remove sparc-leon*-* and deal with LEON in the | |
5121 | sparc*-*-* block. | |
5122 | * config/sparc/sparc.opt (LEON, LEON3): New masks. | |
5123 | * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Set to AS_LEON_FLAG | |
5124 | for LEON or LEON3. | |
5125 | (ASM_CPU_SPEC): Pass AS_LEON_FLAG if -mcpu=leon or -mcpu=leon3. | |
5126 | (AS_LEON_FLAG): New macro. | |
5127 | * config/sparc/sparc.c (sparc_option_override): Set MASK_LEON for leon | |
5128 | and MASK_LEON3 for leon3 and unset them if HAVE_AS_LEON is not defined. | |
5129 | Deal with LEON and LEON3 for the memory model. | |
23a6cb78 | 5130 | * config/sparc/sync.md (atomic_compare_and_swap<mode>): Enable if LEON3 |
1f65ae7a EB |
5131 | (atomic_compare_and_swap<mode>_1): Likewise. |
5132 | (*atomic_compare_and_swap<mode>_1): Likewise. | |
5133 | ||
ff522f7f ZC |
5134 | 2013-08-09 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
5135 | ||
5136 | * config/arm/neon.md (vcond): Fix floating-point vector | |
5137 | comparisons against 0. | |
5138 | ||
cb1cca12 VM |
5139 | 2013-08-08 Vladimir Makarov <vmakarov@redhat.com> |
5140 | ||
5141 | * lra-constraints.c (emit_spill_move): Remove assert. | |
5142 | (process_alt_operands): Add more debugging | |
5143 | output. Increase reject for spilling into memory. Decrease | |
5144 | reject for reloading scratch. | |
5145 | (split_reg): Use HARD_REGNO_CALLER_SAVE_MODE. | |
5146 | ||
a3719e31 SE |
5147 | 2013-08-08 Steve Ellcey <sellcey@mips.com> |
5148 | ||
5149 | * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Add nan2008. | |
5150 | * config/mips/t-mti-elf (MULTILIB_OPTIONS): Make mips16 and | |
5151 | micromips incompatible. Add nan2008. | |
5152 | (MULTILIB_DIRNAMES): Add nan2008. | |
5153 | (MULTILIB_EXCEPTIONS): Remove mips16/micromips entry. | |
5154 | * config/mips/t-mti-linux (MULTILIB_OPTIONS): Make mips16 | |
5155 | and micromips incompatible. Add nan2008. | |
5156 | (MULTILIB_DIRNAMES): Add nan2008. | |
5157 | (MULTILIB_EXCEPTIONS): Remove mips16/micromips entry. | |
5158 | ||
f40423e2 RS |
5159 | 2013-08-08 Richard Sandiford <rdsandiford@googlemail.com> |
5160 | ||
5161 | PR rtl-optimization/58079 | |
5162 | * combine.c (combine_simplify_rtx): Avoid using SUBST if | |
5163 | simplify_comparison has widened a comparison with an integer. | |
5164 | ||
869b9125 KT |
5165 | 2013-08-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
5166 | ||
5167 | * config/arm/neon.md (movmisalign<mode>): Disable when we | |
5168 | don't allow unaligned accesses. | |
5169 | (*movmisalign<mode>_neon_store): Likewise. | |
5170 | (*movmisalign<mode>_neon_load): Likewise. | |
5171 | (*movmisalign<mode>_neon_store): Likewise. | |
5172 | (*movmisalign<mode>_neon_load): Likewise. | |
5173 | ||
71cafea9 JH |
5174 | 2013-08-08 Jan Hubicka <jh@suse.cz> |
5175 | ||
5176 | * cgraphbuild.c (build_cgraph_edges): Do not walk into debugs. | |
5177 | (make_pass_rebuild_cgraph_edges): Also clear references. | |
5178 | * cgraph.c (verify_cgraph_node): Add basic ipa-ref verifier. | |
5179 | * ipa-inline-transform.c (inline_transform): Remove all references | |
5180 | after inlining. | |
c97fd4b8 UB |
5181 | * cgraphunit.c (expand_function): Remove all references after |
5182 | expansion. | |
71cafea9 JH |
5183 | * ipa-ref.c (ipa_ref_has_aliases_p): Fix formatting. |
5184 | (ipa_find_reference): Rewrite to iterator. | |
5185 | (remove_stmt_references): Likewise. | |
5186 | (ipa_clear_stmts_in_references): New function. | |
5187 | * ipa-ref.h (ipa_clear_stmts_in_references): Declare. | |
03b0ee0a UB |
5188 | * cgraphclones.c (cgraph_materialize_all_clones): Remove or |
5189 | clear references. | |
71cafea9 JH |
5190 | * ipa-split.c (split_function): Remove references in split function. |
5191 | ||
27d2e612 RE |
5192 | 2013-08-08 Richard Earnshaw <rearnsha@arm.com> |
5193 | ||
5194 | PR target/57431 | |
1f65ae7a | 5195 | * config/arm/arm/neon.md (neon_vld1_dupdi): New expand pattern. |
27d2e612 RE |
5196 | (neon_vld1_dup<mode> VD iterator): Iterate over VD not VDX. |
5197 | ||
5efc661c RE |
5198 | 2013-08-08 Richard Earnshaw <rearnsha@arm.com> |
5199 | ||
5200 | PR target/56979 | |
1f65ae7a | 5201 | * config/arm/arm.c (aapcs_vfp_allocate): Decompose the argument if the |
5efc661c RE |
5202 | suggested mode for the assignment isn't compatible with the |
5203 | registers required. | |
5204 | ||
f276d31d BE |
5205 | 2013-08-08 Bernd Edlinger <bernd.edlinger@hotmail.de> |
5206 | ||
5207 | PR target/58065 | |
5208 | * config/arm/arm.h (MALLOC_ABI_ALIGNMENT): Define. | |
5209 | ||
4b8bc035 XDL |
5210 | 2013-08-07 Xinliang David Li <davidxl@google.com> |
5211 | ||
5212 | * config/i386/i386.opt: New option -mtune-ctrl=. | |
5213 | * config/i386/x86-tune.def: New file. | |
5214 | * config/i386/i386.h: include x86-tune.def. | |
5215 | * config/i386/i386.c (ix86_option_override_internal): | |
5216 | Parsing -mtune-ctrl= option and set tune features. | |
5217 | ||
12211b99 | 5218 | 2013-08-07 Oleg Endo <olegendo@gcc.gnu.org> |
a5b38740 OE |
5219 | |
5220 | PR other/12081 | |
03b0ee0a | 5221 | * config/rs6000/rs6000.c (gen_2arg_fn_t): Remove typedef. |
a5b38740 OE |
5222 | (rs6000_emit_swdiv, rs6000_emit_swrsqrt): Don't cast result of GEN_FCN |
5223 | to gen_2arg_fn_t. | |
5224 | ||
5cf6635b EB |
5225 | 2013-08-07 Eric Botcazou <ebotcazou@adacore.com> |
5226 | ||
5227 | * rtl.h (update_alignments): Declare. | |
5228 | * final.c (grow_label_align): New function extracted from... | |
5229 | (shorten_branches): ...here. Call it. | |
5230 | (update_alignments): New function. | |
5231 | * reorg.c (sibling_labels): New variable. | |
5232 | (get_label_before): Add SIBLING parameter. If it is non-zero, push | |
5233 | the new label along with it onto the sibling_labels vector. | |
5234 | (fill_simple_delay_slots): Adjust call to get_label_before. | |
5235 | (fill_slots_from_thread): Likewise. | |
5236 | (relax_delay_slots): Likewise. | |
5237 | (make_return_insns): Likewise. | |
5238 | (dbr_schedule): Invoke update_alignment on the sibling_labels vector. | |
5239 | ||
3c8ca1ab EB |
5240 | 2013-08-07 Eric Botcazou <ebotcazou@adacore.com> |
5241 | ||
5242 | * diagnostic.c (diagnostic_classify_diagnostic): Accept zero index and | |
5243 | document its semantics. | |
5244 | (diagnostic_report_diagnostic): Adjust accordingly. | |
5245 | ||
5ee5b32c DM |
5246 | 2013-08-07 David Malcolm <dmalcolm@redhat.com> |
5247 | ||
03b0ee0a | 5248 | * config/sparc/sparc.c (insert_pass_work_around_errata): Move into... |
5ee5b32c DM |
5249 | (sparc_option_override): ...and port to new C++ pass API. |
5250 | * config/sparc/t-sparc (sparc.o): Add dep on CONTEXT_H | |
5251 | ||
abd566fa PB |
5252 | 2013-08-07 Peter Bergner <bergner@vnet.ibm.com> |
5253 | ||
5254 | * config/rs6000/rs6000.c (htm_expand_builtin) <case 0>: Remove. | |
5255 | ||
2077db1b CT |
5256 | 2013-08-06 Caroline Tice <cmtice@google.com> |
5257 | ||
5258 | * gcc.c (VTABLE_VERIFICATION_SPEC): New definition. | |
5259 | (LINK_COMMAND_SPEC): Add VTABLE_VERIFICATION_SPEC. | |
5260 | * tree-pass.h: Add pass_vtable_verify. | |
5261 | * varasm.c (assemble_variable): Add code to properly set the comdat | |
5262 | section and name for the .vtable_map_vars section. | |
5263 | (assemble_vtyv_preinit_initializer): New function. | |
5264 | (default_sectin_type_flags): Make sure .vtable_map_vars section has | |
5265 | LINK_ONCE flag. | |
5266 | * output.h: Add function decl for assemble_vtv_preinit_initializer. | |
5267 | * vtable-verify.c: New file. | |
5268 | * vtable-verify.h: New file. | |
5269 | * flag-types.h (enum vtv_priority): Defintions for flag_vtable_verify | |
5270 | initialiation levels. | |
5271 | * timevar.def (TV_VTABLE_VERIFICATION): New definition. | |
5272 | * passes.def: Insert pass_vtable_verify. | |
5273 | * aclocal.m4: Reorder includes. | |
5274 | * doc/invoke.texi: Document the -fvtable-verify=, -fvtv-debug, and | |
5275 | -fvtv-counts options. | |
5276 | * config/gnu-user.h (GNU_USER_TARGET_STARTFILE_SPEC): Add vtv_start*.o, | |
5277 | as appropriate, if -fvtable-verify=... is used. | |
5278 | (GNU_USER_TARGET_ENDFILE_SPEC): Add vtv_end*.o as appropriate, if | |
5279 | -fvtable-verify=... is used. | |
5280 | * Makefile.in (OBJS): Add vtable-verify.o to list. | |
5281 | (vtable-verify.o): Add new build rule. | |
5282 | (GTFILES): Add vtable-verify.c to list. | |
5283 | * common.opt (fvtable-verify=): New flag. | |
5284 | (vtv_priority): Values for fvtable-verify= flag. | |
5285 | (fvtv-counts): New flag. | |
5286 | (fvtv-debug): New flag. | |
5287 | * tree.h (save_vtable_map_decl): New extern function decl. | |
5288 | ||
03085d1c DM |
5289 | 2013-08-07 David Malcolm <dmalcolm@redhat.com> |
5290 | ||
5291 | * config/rl78/rl78.c (rl78_devirt_pass): Convert from a struct to... | |
5292 | (pass_rl78_devirt): ...new subclass of rtl_opt_pass along with... | |
5293 | (pass_data_rl78_devirt): ...new pass_data instance and... | |
5294 | (make_pass_rl78_devirt): ...new function. | |
5295 | (rl78_asm_file_start): Port pass registration to new C++ API. | |
5296 | ||
05555c4a DM |
5297 | 2013-08-07 David Malcolm <dmalcolm@redhat.com> |
5298 | ||
5299 | * coretypes.h (rtl_opt_pass): Add. | |
5300 | (gcc::context): Add. | |
5301 | * config/epiphany/epiphany.c (pass_mode_switch_use): New. | |
5302 | (epiphany_init): Port to new C++ pass API. | |
5303 | (epiphany_optimize_mode_switching): Likewise. | |
5304 | * pass_manager.h (pass_manager::get_pass_split_all_insns): New. | |
5305 | (pass_manager::get_pass_mode_switching): New. | |
5306 | (pass_manager::get_pass_peephole2): New. | |
5307 | * mode-switching.c (pass_mode_switching): Add clone method. | |
5308 | * recog.c (pass_peephole2): Add clone method. | |
5309 | (pass_split_all_insns): Add clone method. | |
5310 | ||
c5a12e26 DM |
5311 | 2013-08-06 David Malcolm <dmalcolm@redhat.com> |
5312 | ||
03b0ee0a UB |
5313 | * config/mips/mips.c (insert_pass_mips_machine_reorg2): Move into... |
5314 | (mips_option_override): ...here, porting to new C++ API for passes. | |
c5a12e26 | 5315 | |
a2e2a668 JH |
5316 | 2013-08-06 Jan Hubicka <jh@suse.cz> |
5317 | ||
5318 | * cgraph.c (cgraph_get_body): New function based on lto.c | |
5319 | implementation. | |
5320 | * cgraph.h (cgraph_get_body): Declare. | |
03b0ee0a UB |
5321 | * cgraphclones.c (cgraph_create_virtual_clone): Commonize WPA and |
5322 | LTO paths. | |
a2e2a668 JH |
5323 | * cgraphunit.c (expand_function): Get body prior expanding. |
5324 | * ipa.c (function_and_variable_visibility): Use gimple_has_body_p test. | |
03b0ee0a UB |
5325 | * lto-cgraph.c (lto_output_node): Do not stream bodies we don't |
5326 | really need. | |
a2e2a668 JH |
5327 | * passes.c (do_per_function_toporder): Get body. |
5328 | * tree-inline.c (expand_call_inline): Get body prior inlining it. | |
5329 | * tree-ssa-structalias.c (ipa_pta_execute): Get body; skip clones. | |
5330 | ||
15682f24 MJ |
5331 | 2013-08-06 Martin Jambor <mjambor@suse.cz> |
5332 | ||
5333 | PR fortran/57987 | |
5334 | * cgraphunit.c (cgraph_finalize_function): Assert that nested function | |
5335 | is not re-finalized. Rename second parameter to no_collect. | |
5336 | ||
78f6dd68 MJ |
5337 | 2013-08-06 Martin Jambor <mjambor@suse.cz> |
5338 | ||
5339 | PR middle-end/58041 | |
5340 | * gimple-ssa-strength-reduction.c (replace_ref): Make sure built | |
5341 | MEM_REF has proper alignment information. | |
5342 | ||
12211b99 | 5343 | 2013-08-05 Oleg Endo <olegendo@gcc.gnu.org> |
eb923e54 OE |
5344 | |
5345 | PR other/12081 | |
5346 | * recog.h (rtx (*insn_gen_fn) (rtx, ...)): Replace typedef with new | |
5347 | class insn_gen_fn. | |
5348 | * expr.c (move_by_pieces_1, store_by_pieces_2): Replace argument | |
5349 | rtx (*) (rtx, ...) with insn_gen_fn. | |
5350 | * genoutput.c (output_insn_data): Cast gen_? function pointers to | |
5351 | insn_gen_fn::stored_funcptr. Add initializer braces. | |
5352 | ||
8ac69a6c DM |
5353 | 2013-08-05 David Malcolm <dmalcolm@redhat.com> |
5354 | ||
5355 | Rewrite how instances of passes are cloned to remove assumptions | |
5356 | about their sizes (thus allowing pass subclasses to have | |
5357 | additional data fields, albeit non-GC-managed ones at this point). | |
5358 | ||
5359 | * passes.c (make_pass_instance): Now that passes have clone | |
5360 | methods, rewrite this function to eliminate XNEW and memcpy | |
5361 | calls that used hardcoded sizes. Since this function no longer | |
5362 | creates pass instances, rename it to... | |
03b0ee0a UB |
5363 | (add_pass_instance): ...this. Document the old way that passes were |
5364 | numbered and flagged, and rework this function to continue using it. | |
8ac69a6c DM |
5365 | (next_pass_1): Add an initial_pass argument for use by |
5366 | add_pass_instance. | |
5367 | (position_pass): When adding multiple instances of a pass, use | |
5368 | the pass's clone method, rather than relying on the XNEW/memcpy | |
5369 | within the former make_pass_instance (now add_pass_instance). | |
03b0ee0a UB |
5370 | (pass_manager::pass_manager): When invoking next_pass_1, also supply |
5371 | the initial instance of the current pass within the pass manager. | |
8ac69a6c | 5372 | |
27a4cd48 DM |
5373 | 2013-08-05 David Malcolm <dmalcolm@redhat.com> |
5374 | ||
5375 | This is the automated part of the conversion of passes from C | |
5376 | structs to C++ classes. | |
5377 | ||
5378 | Patch autogenerated by refactor_passes.py from | |
5379 | https://github.com/davidmalcolm/gcc-refactoring-scripts | |
5380 | revision 03fe39476a4c4ea450b49e087cfa817b5f92021e | |
5381 | ||
5382 | * asan.c (pass_asan): Convert from a global struct to a subclass of | |
5383 | gimple_opt_pass along with... | |
5384 | (pass_data_asan): ...new pass_data instance and... | |
5385 | (make_pass_asan): ...new function. | |
5386 | (pass_asan_O0): Convert from a global struct to a subclass of | |
5387 | gimple_opt_pass along with... | |
5388 | (pass_data_asan_O0): ...new pass_data instance and... | |
5389 | (make_pass_asan_O0): ...new function. | |
5390 | * auto-inc-dec.c (pass_inc_dec): Convert from a global struct to a | |
5391 | subclass of rtl_opt_pass along with... | |
5392 | (pass_data_inc_dec): ...new pass_data instance and... | |
5393 | (make_pass_inc_dec): ...new function. | |
5394 | * bb-reorder.c (pass_reorder_blocks): Convert from a global struct to | |
5395 | a subclass of rtl_opt_pass along with... | |
5396 | (pass_data_reorder_blocks): ...new pass_data instance and... | |
5397 | (make_pass_reorder_blocks): ...new function. | |
5398 | (pass_duplicate_computed_gotos): Convert from a global struct to a | |
5399 | subclass of rtl_opt_pass along with... | |
5400 | (pass_data_duplicate_computed_gotos): ...new pass_data instance and... | |
5401 | (make_pass_duplicate_computed_gotos): ...new function. | |
5402 | (pass_partition_blocks): Convert from a global struct to a subclass of | |
5403 | rtl_opt_pass along with... | |
5404 | (pass_data_partition_blocks): ...new pass_data instance and... | |
5405 | (make_pass_partition_blocks): ...new function. | |
5406 | * bt-load.c (pass_branch_target_load_optimize1): Convert from a global | |
5407 | struct to a subclass of rtl_opt_pass along with... | |
5408 | (pass_data_branch_target_load_optimize1): ...new pass_data instance | |
5409 | and... | |
5410 | (make_pass_branch_target_load_optimize1): ...new function. | |
5411 | (pass_branch_target_load_optimize2): Convert from a global struct to a | |
5412 | subclass of rtl_opt_pass along with... | |
5413 | (pass_data_branch_target_load_optimize2): ...new pass_data instance | |
5414 | and... | |
5415 | (make_pass_branch_target_load_optimize2): ...new function. | |
5416 | * cfgcleanup.c (pass_jump): Convert from a global struct to a subclass | |
5417 | of rtl_opt_pass along with... | |
5418 | (pass_data_jump): ...new pass_data instance and... | |
5419 | (make_pass_jump): ...new function. | |
5420 | (pass_jump2): Convert from a global struct to a subclass of | |
5421 | rtl_opt_pass along with... | |
5422 | (pass_data_jump2): ...new pass_data instance and... | |
5423 | (make_pass_jump2): ...new function. | |
5424 | * cfgexpand.c (pass_expand): Convert from a global struct to a | |
5425 | subclass of rtl_opt_pass along with... | |
5426 | (pass_data_expand): ...new pass_data instance and... | |
5427 | (make_pass_expand): ...new function. | |
5428 | * cfgrtl.c (pass_free_cfg): Convert from a global struct to a subclass | |
5429 | of rtl_opt_pass along with... | |
5430 | (pass_data_free_cfg): ...new pass_data instance and... | |
5431 | (make_pass_free_cfg): ...new function. | |
5432 | (pass_into_cfg_layout_mode): Convert from a global struct to a | |
5433 | subclass of rtl_opt_pass along with... | |
5434 | (pass_data_into_cfg_layout_mode): ...new pass_data instance and... | |
5435 | (make_pass_into_cfg_layout_mode): ...new function. | |
5436 | (pass_outof_cfg_layout_mode): Convert from a global struct to a | |
5437 | subclass of rtl_opt_pass along with... | |
5438 | (pass_data_outof_cfg_layout_mode): ...new pass_data instance and... | |
5439 | (make_pass_outof_cfg_layout_mode): ...new function. | |
5440 | * cgraphbuild.c (pass_build_cgraph_edges): Convert from a global | |
5441 | struct to a subclass of gimple_opt_pass along with... | |
5442 | (pass_data_build_cgraph_edges): ...new pass_data instance and... | |
5443 | (make_pass_build_cgraph_edges): ...new function. | |
5444 | (pass_rebuild_cgraph_edges): Convert from a global struct to a | |
5445 | subclass of gimple_opt_pass along with... | |
5446 | (pass_data_rebuild_cgraph_edges): ...new pass_data instance and... | |
5447 | (make_pass_rebuild_cgraph_edges): ...new function. | |
5448 | (pass_remove_cgraph_callee_edges): Convert from a global struct to a | |
5449 | subclass of gimple_opt_pass along with... | |
5450 | (pass_data_remove_cgraph_callee_edges): ...new pass_data instance | |
5451 | and... | |
5452 | (make_pass_remove_cgraph_callee_edges): ...new function. | |
5453 | * combine-stack-adj.c (pass_stack_adjustments): Convert from a global | |
5454 | struct to a subclass of rtl_opt_pass along with... | |
5455 | (pass_data_stack_adjustments): ...new pass_data instance and... | |
5456 | (make_pass_stack_adjustments): ...new function. | |
5457 | * combine.c (pass_combine): Convert from a global struct to a subclass | |
5458 | of rtl_opt_pass along with... | |
5459 | (pass_data_combine): ...new pass_data instance and... | |
5460 | (make_pass_combine): ...new function. | |
5461 | * compare-elim.c (pass_compare_elim_after_reload): Convert from a | |
5462 | global struct to a subclass of rtl_opt_pass along with... | |
5463 | (pass_data_compare_elim_after_reload): ...new pass_data instance | |
5464 | and... | |
5465 | (make_pass_compare_elim_after_reload): ...new function. | |
5466 | * cprop.c (pass_rtl_cprop): Convert from a global struct to a subclass | |
5467 | of rtl_opt_pass along with... | |
5468 | (pass_data_rtl_cprop): ...new pass_data instance and... | |
5469 | (make_pass_rtl_cprop): ...new function. | |
5470 | * cse.c (pass_cse): Convert from a global struct to a subclass of | |
5471 | rtl_opt_pass along with... | |
5472 | (pass_data_cse): ...new pass_data instance and... | |
5473 | (make_pass_cse): ...new function. | |
5474 | (pass_cse2): Convert from a global struct to a subclass of | |
5475 | rtl_opt_pass along with... | |
5476 | (pass_data_cse2): ...new pass_data instance and... | |
5477 | (make_pass_cse2): ...new function. | |
5478 | (pass_cse_after_global_opts): Convert from a global struct to a | |
5479 | subclass of rtl_opt_pass along with... | |
5480 | (pass_data_cse_after_global_opts): ...new pass_data instance and... | |
5481 | (make_pass_cse_after_global_opts): ...new function. | |
5482 | * dce.c (pass_ud_rtl_dce): Convert from a global struct to a subclass | |
5483 | of rtl_opt_pass along with... | |
5484 | (pass_data_ud_rtl_dce): ...new pass_data instance and... | |
5485 | (make_pass_ud_rtl_dce): ...new function. | |
5486 | (pass_fast_rtl_dce): Convert from a global struct to a subclass of | |
5487 | rtl_opt_pass along with... | |
5488 | (pass_data_fast_rtl_dce): ...new pass_data instance and... | |
5489 | (make_pass_fast_rtl_dce): ...new function. | |
5490 | * df-core.c (pass_df_initialize_opt): Convert from a global struct to | |
5491 | a subclass of rtl_opt_pass along with... | |
5492 | (pass_data_df_initialize_opt): ...new pass_data instance and... | |
5493 | (make_pass_df_initialize_opt): ...new function. | |
5494 | (pass_df_initialize_no_opt): Convert from a global struct to a | |
5495 | subclass of rtl_opt_pass along with... | |
5496 | (pass_data_df_initialize_no_opt): ...new pass_data instance and... | |
5497 | (make_pass_df_initialize_no_opt): ...new function. | |
5498 | (pass_df_finish): Convert from a global struct to a subclass of | |
5499 | rtl_opt_pass along with... | |
5500 | (pass_data_df_finish): ...new pass_data instance and... | |
5501 | (make_pass_df_finish): ...new function. | |
5502 | * dse.c (pass_rtl_dse1): Convert from a global struct to a subclass of | |
5503 | rtl_opt_pass along with... | |
5504 | (pass_data_rtl_dse1): ...new pass_data instance and... | |
5505 | (make_pass_rtl_dse1): ...new function. | |
5506 | (pass_rtl_dse2): Convert from a global struct to a subclass of | |
5507 | rtl_opt_pass along with... | |
5508 | (pass_data_rtl_dse2): ...new pass_data instance and... | |
5509 | (make_pass_rtl_dse2): ...new function. | |
5510 | * dwarf2cfi.c (pass_dwarf2_frame): Convert from a global struct to a | |
5511 | subclass of rtl_opt_pass along with... | |
5512 | (pass_data_dwarf2_frame): ...new pass_data instance and... | |
5513 | (make_pass_dwarf2_frame): ...new function. | |
5514 | * except.c (pass_set_nothrow_function_flags): Convert from a global | |
5515 | struct to a subclass of rtl_opt_pass along with... | |
5516 | (pass_data_set_nothrow_function_flags): ...new pass_data instance | |
5517 | and... | |
5518 | (make_pass_set_nothrow_function_flags): ...new function. | |
5519 | (pass_convert_to_eh_region_ranges): Convert from a global struct to a | |
5520 | subclass of rtl_opt_pass along with... | |
5521 | (pass_data_convert_to_eh_region_ranges): ...new pass_data instance | |
5522 | and... | |
5523 | (make_pass_convert_to_eh_region_ranges): ...new function. | |
5524 | * final.c (pass_compute_alignments): Convert from a global struct to a | |
5525 | subclass of rtl_opt_pass along with... | |
5526 | (pass_data_compute_alignments): ...new pass_data instance and... | |
5527 | (make_pass_compute_alignments): ...new function. | |
5528 | (pass_final): Convert from a global struct to a subclass of | |
5529 | rtl_opt_pass along with... | |
5530 | (pass_data_final): ...new pass_data instance and... | |
5531 | (make_pass_final): ...new function. | |
5532 | (pass_shorten_branches): Convert from a global struct to a subclass of | |
5533 | rtl_opt_pass along with... | |
5534 | (pass_data_shorten_branches): ...new pass_data instance and... | |
5535 | (make_pass_shorten_branches): ...new function. | |
5536 | (pass_clean_state): Convert from a global struct to a subclass of | |
5537 | rtl_opt_pass along with... | |
5538 | (pass_data_clean_state): ...new pass_data instance and... | |
5539 | (make_pass_clean_state): ...new function. | |
5540 | * function.c (pass_instantiate_virtual_regs): Convert from a global | |
5541 | struct to a subclass of rtl_opt_pass along with... | |
5542 | (pass_data_instantiate_virtual_regs): ...new pass_data instance and... | |
5543 | (make_pass_instantiate_virtual_regs): ...new function. | |
5544 | (pass_leaf_regs): Convert from a global struct to a subclass of | |
5545 | rtl_opt_pass along with... | |
5546 | (pass_data_leaf_regs): ...new pass_data instance and... | |
5547 | (make_pass_leaf_regs): ...new function. | |
5548 | (pass_thread_prologue_and_epilogue): Convert from a global struct to a | |
5549 | subclass of rtl_opt_pass along with... | |
5550 | (pass_data_thread_prologue_and_epilogue): ...new pass_data instance | |
5551 | and... | |
5552 | (make_pass_thread_prologue_and_epilogue): ...new function. | |
5553 | (pass_match_asm_constraints): Convert from a global struct to a | |
5554 | subclass of rtl_opt_pass along with... | |
5555 | (pass_data_match_asm_constraints): ...new pass_data instance and... | |
5556 | (make_pass_match_asm_constraints): ...new function. | |
5557 | * fwprop.c (pass_rtl_fwprop): Convert from a global struct to a | |
5558 | subclass of rtl_opt_pass along with... | |
5559 | (pass_data_rtl_fwprop): ...new pass_data instance and... | |
5560 | (make_pass_rtl_fwprop): ...new function. | |
5561 | (pass_rtl_fwprop_addr): Convert from a global struct to a subclass of | |
5562 | rtl_opt_pass along with... | |
5563 | (pass_data_rtl_fwprop_addr): ...new pass_data instance and... | |
5564 | (make_pass_rtl_fwprop_addr): ...new function. | |
5565 | * gcse.c (pass_rtl_pre): Convert from a global struct to a subclass of | |
5566 | rtl_opt_pass along with... | |
5567 | (pass_data_rtl_pre): ...new pass_data instance and... | |
5568 | (make_pass_rtl_pre): ...new function. | |
5569 | (pass_rtl_hoist): Convert from a global struct to a subclass of | |
5570 | rtl_opt_pass along with... | |
5571 | (pass_data_rtl_hoist): ...new pass_data instance and... | |
5572 | (make_pass_rtl_hoist): ...new function. | |
5573 | * gimple-low.c (pass_lower_cf): Convert from a global struct to a | |
5574 | subclass of gimple_opt_pass along with... | |
5575 | (pass_data_lower_cf): ...new pass_data instance and... | |
5576 | (make_pass_lower_cf): ...new function. | |
5577 | * gimple-ssa-strength-reduction.c (pass_strength_reduction): Convert | |
5578 | from a global struct to a subclass of gimple_opt_pass along with... | |
5579 | (pass_data_strength_reduction): ...new pass_data instance and... | |
5580 | (make_pass_strength_reduction): ...new function. | |
5581 | * ifcvt.c (pass_rtl_ifcvt): Convert from a global struct to a subclass | |
5582 | of rtl_opt_pass along with... | |
5583 | (pass_data_rtl_ifcvt): ...new pass_data instance and... | |
5584 | (make_pass_rtl_ifcvt): ...new function. | |
5585 | (pass_if_after_combine): Convert from a global struct to a subclass of | |
5586 | rtl_opt_pass along with... | |
5587 | (pass_data_if_after_combine): ...new pass_data instance and... | |
5588 | (make_pass_if_after_combine): ...new function. | |
5589 | (pass_if_after_reload): Convert from a global struct to a subclass of | |
5590 | rtl_opt_pass along with... | |
5591 | (pass_data_if_after_reload): ...new pass_data instance and... | |
5592 | (make_pass_if_after_reload): ...new function. | |
5593 | * init-regs.c (pass_initialize_regs): Convert from a global struct to | |
5594 | a subclass of rtl_opt_pass along with... | |
5595 | (pass_data_initialize_regs): ...new pass_data instance and... | |
5596 | (make_pass_initialize_regs): ...new function. | |
5597 | * ipa-cp.c (pass_ipa_cp): Convert from a global struct to a subclass | |
5598 | of ipa_opt_pass_d along with... | |
5599 | (pass_data_ipa_cp): ...new pass_data instance and... | |
5600 | (make_pass_ipa_cp): ...new function. | |
5601 | * ipa-inline-analysis.c (pass_inline_parameters): Convert from a | |
5602 | global struct to a subclass of gimple_opt_pass along with... | |
5603 | (pass_data_inline_parameters): ...new pass_data instance and... | |
5604 | (make_pass_inline_parameters): ...new function. | |
5605 | * ipa-inline.c (pass_early_inline): Convert from a global struct to a | |
5606 | subclass of gimple_opt_pass along with... | |
5607 | (pass_data_early_inline): ...new pass_data instance and... | |
5608 | (make_pass_early_inline): ...new function. | |
5609 | (pass_ipa_inline): Convert from a global struct to a subclass of | |
5610 | ipa_opt_pass_d along with... | |
5611 | (pass_data_ipa_inline): ...new pass_data instance and... | |
5612 | (make_pass_ipa_inline): ...new function. | |
5613 | * ipa-pure-const.c (pass_local_pure_const): Convert from a global | |
5614 | struct to a subclass of gimple_opt_pass along with... | |
5615 | (pass_data_local_pure_const): ...new pass_data instance and... | |
5616 | (make_pass_local_pure_const): ...new function. | |
5617 | (pass_ipa_pure_const): Convert from a global struct to a subclass of | |
5618 | ipa_opt_pass_d along with... | |
5619 | (pass_data_ipa_pure_const): ...new pass_data instance and... | |
5620 | (make_pass_ipa_pure_const): ...new function. | |
5621 | * ipa-reference.c (pass_ipa_reference): Convert from a global struct | |
5622 | to a subclass of ipa_opt_pass_d along with... | |
5623 | (pass_data_ipa_reference): ...new pass_data instance and... | |
5624 | (make_pass_ipa_reference): ...new function. | |
5625 | * ipa-split.c (pass_split_functions): Convert from a global struct to | |
5626 | a subclass of gimple_opt_pass along with... | |
5627 | (pass_data_split_functions): ...new pass_data instance and... | |
5628 | (make_pass_split_functions): ...new function. | |
5629 | (pass_feedback_split_functions): Convert from a global struct to a | |
5630 | subclass of gimple_opt_pass along with... | |
5631 | (pass_data_feedback_split_functions): ...new pass_data instance and... | |
5632 | (make_pass_feedback_split_functions): ...new function. | |
5633 | * ipa.c (pass_ipa_function_and_variable_visibility): Convert from a | |
5634 | global struct to a subclass of simple_ipa_opt_pass along with... | |
5635 | (pass_data_ipa_function_and_variable_visibility): ...new pass_data | |
5636 | instance and... | |
5637 | (make_pass_ipa_function_and_variable_visibility): ...new function. | |
5638 | (pass_ipa_free_inline_summary): Convert from a global struct to a | |
5639 | subclass of simple_ipa_opt_pass along with... | |
5640 | (pass_data_ipa_free_inline_summary): ...new pass_data instance and... | |
5641 | (make_pass_ipa_free_inline_summary): ...new function. | |
5642 | (pass_ipa_whole_program_visibility): Convert from a global struct to a | |
5643 | subclass of ipa_opt_pass_d along with... | |
5644 | (pass_data_ipa_whole_program_visibility): ...new pass_data instance | |
5645 | and... | |
5646 | (make_pass_ipa_whole_program_visibility): ...new function. | |
5647 | (pass_ipa_profile): Convert from a global struct to a subclass of | |
5648 | ipa_opt_pass_d along with... | |
5649 | (pass_data_ipa_profile): ...new pass_data instance and... | |
5650 | (make_pass_ipa_profile): ...new function. | |
5651 | (pass_ipa_cdtor_merge): Convert from a global struct to a subclass of | |
5652 | ipa_opt_pass_d along with... | |
5653 | (pass_data_ipa_cdtor_merge): ...new pass_data instance and... | |
5654 | (make_pass_ipa_cdtor_merge): ...new function. | |
5655 | * ira.c (pass_ira): Convert from a global struct to a subclass of | |
5656 | rtl_opt_pass along with... | |
5657 | (pass_data_ira): ...new pass_data instance and... | |
5658 | (make_pass_ira): ...new function. | |
5659 | (pass_reload): Convert from a global struct to a subclass of | |
5660 | rtl_opt_pass along with... | |
5661 | (pass_data_reload): ...new pass_data instance and... | |
5662 | (make_pass_reload): ...new function. | |
5663 | * jump.c (pass_cleanup_barriers): Convert from a global struct to a | |
5664 | subclass of rtl_opt_pass along with... | |
5665 | (pass_data_cleanup_barriers): ...new pass_data instance and... | |
5666 | (make_pass_cleanup_barriers): ...new function. | |
5667 | * loop-init.c (pass_loop2): Convert from a global struct to a subclass | |
5668 | of rtl_opt_pass along with... | |
5669 | (pass_data_loop2): ...new pass_data instance and... | |
5670 | (make_pass_loop2): ...new function. | |
5671 | (pass_rtl_loop_init): Convert from a global struct to a subclass of | |
5672 | rtl_opt_pass along with... | |
5673 | (pass_data_rtl_loop_init): ...new pass_data instance and... | |
5674 | (make_pass_rtl_loop_init): ...new function. | |
5675 | (pass_rtl_loop_done): Convert from a global struct to a subclass of | |
5676 | rtl_opt_pass along with... | |
5677 | (pass_data_rtl_loop_done): ...new pass_data instance and... | |
5678 | (make_pass_rtl_loop_done): ...new function. | |
5679 | (pass_rtl_move_loop_invariants): Convert from a global struct to a | |
5680 | subclass of rtl_opt_pass along with... | |
5681 | (pass_data_rtl_move_loop_invariants): ...new pass_data instance and... | |
5682 | (make_pass_rtl_move_loop_invariants): ...new function. | |
5683 | (pass_rtl_unswitch): Convert from a global struct to a subclass of | |
5684 | rtl_opt_pass along with... | |
5685 | (pass_data_rtl_unswitch): ...new pass_data instance and... | |
5686 | (make_pass_rtl_unswitch): ...new function. | |
5687 | (pass_rtl_unroll_and_peel_loops): Convert from a global struct to a | |
5688 | subclass of rtl_opt_pass along with... | |
5689 | (pass_data_rtl_unroll_and_peel_loops): ...new pass_data instance | |
5690 | and... | |
5691 | (make_pass_rtl_unroll_and_peel_loops): ...new function. | |
5692 | (pass_rtl_doloop): Convert from a global struct to a subclass of | |
5693 | rtl_opt_pass along with... | |
5694 | (pass_data_rtl_doloop): ...new pass_data instance and... | |
5695 | (make_pass_rtl_doloop): ...new function. | |
5696 | * lower-subreg.c (pass_lower_subreg): Convert from a global struct to | |
5697 | a subclass of rtl_opt_pass along with... | |
5698 | (pass_data_lower_subreg): ...new pass_data instance and... | |
5699 | (make_pass_lower_subreg): ...new function. | |
5700 | (pass_lower_subreg2): Convert from a global struct to a subclass of | |
5701 | rtl_opt_pass along with... | |
5702 | (pass_data_lower_subreg2): ...new pass_data instance and... | |
5703 | (make_pass_lower_subreg2): ...new function. | |
5704 | * lto-streamer-out.c (pass_ipa_lto_gimple_out): Convert from a global | |
5705 | struct to a subclass of ipa_opt_pass_d along with... | |
5706 | (pass_data_ipa_lto_gimple_out): ...new pass_data instance and... | |
5707 | (make_pass_ipa_lto_gimple_out): ...new function. | |
5708 | (pass_ipa_lto_finish_out): Convert from a global struct to a subclass | |
5709 | of ipa_opt_pass_d along with... | |
5710 | (pass_data_ipa_lto_finish_out): ...new pass_data instance and... | |
5711 | (make_pass_ipa_lto_finish_out): ...new function. | |
5712 | * mode-switching.c (pass_mode_switching): Convert from a global struct | |
5713 | to a subclass of rtl_opt_pass along with... | |
5714 | (pass_data_mode_switching): ...new pass_data instance and... | |
5715 | (make_pass_mode_switching): ...new function. | |
5716 | * modulo-sched.c (pass_sms): Convert from a global struct to a | |
5717 | subclass of rtl_opt_pass along with... | |
5718 | (pass_data_sms): ...new pass_data instance and... | |
5719 | (make_pass_sms): ...new function. | |
5720 | * omp-low.c (pass_expand_omp): Convert from a global struct to a | |
5721 | subclass of gimple_opt_pass along with... | |
5722 | (pass_data_expand_omp): ...new pass_data instance and... | |
5723 | (make_pass_expand_omp): ...new function. | |
5724 | (pass_lower_omp): Convert from a global struct to a subclass of | |
5725 | gimple_opt_pass along with... | |
5726 | (pass_data_lower_omp): ...new pass_data instance and... | |
5727 | (make_pass_lower_omp): ...new function. | |
5728 | (pass_diagnose_omp_blocks): Convert from a global struct to a subclass | |
5729 | of gimple_opt_pass along with... | |
5730 | (pass_data_diagnose_omp_blocks): ...new pass_data instance and... | |
5731 | (make_pass_diagnose_omp_blocks): ...new function. | |
5732 | * passes.c (pass_early_local_passes): Convert from a global struct to | |
5733 | a subclass of simple_ipa_opt_pass along with... | |
5734 | (pass_data_early_local_passes): ...new pass_data instance and... | |
5735 | (make_pass_early_local_passes): ...new function. | |
5736 | (pass_all_early_optimizations): Convert from a global struct to a | |
5737 | subclass of gimple_opt_pass along with... | |
5738 | (pass_data_all_early_optimizations): ...new pass_data instance and... | |
5739 | (make_pass_all_early_optimizations): ...new function. | |
5740 | (pass_all_optimizations): Convert from a global struct to a subclass | |
5741 | of gimple_opt_pass along with... | |
5742 | (pass_data_all_optimizations): ...new pass_data instance and... | |
5743 | (make_pass_all_optimizations): ...new function. | |
5744 | (pass_all_optimizations_g): Convert from a global struct to a subclass | |
5745 | of gimple_opt_pass along with... | |
5746 | (pass_data_all_optimizations_g): ...new pass_data instance and... | |
5747 | (make_pass_all_optimizations_g): ...new function. | |
5748 | (pass_rest_of_compilation): Convert from a global struct to a subclass | |
5749 | of rtl_opt_pass along with... | |
5750 | (pass_data_rest_of_compilation): ...new pass_data instance and... | |
5751 | (make_pass_rest_of_compilation): ...new function. | |
5752 | (pass_postreload): Convert from a global struct to a subclass of | |
5753 | rtl_opt_pass along with... | |
5754 | (pass_data_postreload): ...new pass_data instance and... | |
5755 | (make_pass_postreload): ...new function. | |
5756 | * postreload-gcse.c (pass_gcse2): Convert from a global struct to a | |
5757 | subclass of rtl_opt_pass along with... | |
5758 | (pass_data_gcse2): ...new pass_data instance and... | |
5759 | (make_pass_gcse2): ...new function. | |
5760 | * postreload.c (pass_postreload_cse): Convert from a global struct to | |
5761 | a subclass of rtl_opt_pass along with... | |
5762 | (pass_data_postreload_cse): ...new pass_data instance and... | |
5763 | (make_pass_postreload_cse): ...new function. | |
5764 | * predict.c (pass_profile): Convert from a global struct to a subclass | |
5765 | of gimple_opt_pass along with... | |
5766 | (pass_data_profile): ...new pass_data instance and... | |
5767 | (make_pass_profile): ...new function. | |
5768 | (pass_strip_predict_hints): Convert from a global struct to a subclass | |
5769 | of gimple_opt_pass along with... | |
5770 | (pass_data_strip_predict_hints): ...new pass_data instance and... | |
5771 | (make_pass_strip_predict_hints): ...new function. | |
5772 | * recog.c (pass_peephole2): Convert from a global struct to a subclass | |
5773 | of rtl_opt_pass along with... | |
5774 | (pass_data_peephole2): ...new pass_data instance and... | |
5775 | (make_pass_peephole2): ...new function. | |
5776 | (pass_split_all_insns): Convert from a global struct to a subclass of | |
5777 | rtl_opt_pass along with... | |
5778 | (pass_data_split_all_insns): ...new pass_data instance and... | |
5779 | (make_pass_split_all_insns): ...new function. | |
5780 | (pass_split_after_reload): Convert from a global struct to a subclass | |
5781 | of rtl_opt_pass along with... | |
5782 | (pass_data_split_after_reload): ...new pass_data instance and... | |
5783 | (make_pass_split_after_reload): ...new function. | |
5784 | (pass_split_before_regstack): Convert from a global struct to a | |
5785 | subclass of rtl_opt_pass along with... | |
5786 | (pass_data_split_before_regstack): ...new pass_data instance and... | |
5787 | (make_pass_split_before_regstack): ...new function. | |
5788 | (pass_split_before_sched2): Convert from a global struct to a subclass | |
5789 | of rtl_opt_pass along with... | |
5790 | (pass_data_split_before_sched2): ...new pass_data instance and... | |
5791 | (make_pass_split_before_sched2): ...new function. | |
5792 | (pass_split_for_shorten_branches): Convert from a global struct to a | |
5793 | subclass of rtl_opt_pass along with... | |
5794 | (pass_data_split_for_shorten_branches): ...new pass_data instance | |
5795 | and... | |
5796 | (make_pass_split_for_shorten_branches): ...new function. | |
5797 | * ree.c (pass_ree): Convert from a global struct to a subclass of | |
5798 | rtl_opt_pass along with... | |
5799 | (pass_data_ree): ...new pass_data instance and... | |
5800 | (make_pass_ree): ...new function. | |
5801 | * reg-stack.c (pass_stack_regs): Convert from a global struct to a | |
5802 | subclass of rtl_opt_pass along with... | |
5803 | (pass_data_stack_regs): ...new pass_data instance and... | |
5804 | (make_pass_stack_regs): ...new function. | |
5805 | (pass_stack_regs_run): Convert from a global struct to a subclass of | |
5806 | rtl_opt_pass along with... | |
5807 | (pass_data_stack_regs_run): ...new pass_data instance and... | |
5808 | (make_pass_stack_regs_run): ...new function. | |
5809 | * regcprop.c (pass_cprop_hardreg): Convert from a global struct to a | |
5810 | subclass of rtl_opt_pass along with... | |
5811 | (pass_data_cprop_hardreg): ...new pass_data instance and... | |
5812 | (make_pass_cprop_hardreg): ...new function. | |
5813 | * reginfo.c (pass_reginfo_init): Convert from a global struct to a | |
5814 | subclass of rtl_opt_pass along with... | |
5815 | (pass_data_reginfo_init): ...new pass_data instance and... | |
5816 | (make_pass_reginfo_init): ...new function. | |
5817 | * regmove.c (pass_regmove): Convert from a global struct to a subclass | |
5818 | of rtl_opt_pass along with... | |
5819 | (pass_data_regmove): ...new pass_data instance and... | |
5820 | (make_pass_regmove): ...new function. | |
5821 | * regrename.c (pass_regrename): Convert from a global struct to a | |
5822 | subclass of rtl_opt_pass along with... | |
5823 | (pass_data_regrename): ...new pass_data instance and... | |
5824 | (make_pass_regrename): ...new function. | |
5825 | * reorg.c (pass_delay_slots): Convert from a global struct to a | |
5826 | subclass of rtl_opt_pass along with... | |
5827 | (pass_data_delay_slots): ...new pass_data instance and... | |
5828 | (make_pass_delay_slots): ...new function. | |
5829 | (pass_machine_reorg): Convert from a global struct to a subclass of | |
5830 | rtl_opt_pass along with... | |
5831 | (pass_data_machine_reorg): ...new pass_data instance and... | |
5832 | (make_pass_machine_reorg): ...new function. | |
5833 | * sched-rgn.c (pass_sched): Convert from a global struct to a subclass | |
5834 | of rtl_opt_pass along with... | |
5835 | (pass_data_sched): ...new pass_data instance and... | |
5836 | (make_pass_sched): ...new function. | |
5837 | (pass_sched2): Convert from a global struct to a subclass of | |
5838 | rtl_opt_pass along with... | |
5839 | (pass_data_sched2): ...new pass_data instance and... | |
5840 | (make_pass_sched2): ...new function. | |
5841 | * stack-ptr-mod.c (pass_stack_ptr_mod): Convert from a global struct | |
5842 | to a subclass of rtl_opt_pass along with... | |
5843 | (pass_data_stack_ptr_mod): ...new pass_data instance and... | |
5844 | (make_pass_stack_ptr_mod): ...new function. | |
5845 | * store-motion.c (pass_rtl_store_motion): Convert from a global struct | |
5846 | to a subclass of rtl_opt_pass along with... | |
5847 | (pass_data_rtl_store_motion): ...new pass_data instance and... | |
5848 | (make_pass_rtl_store_motion): ...new function. | |
5849 | * tracer.c (pass_tracer): Convert from a global struct to a subclass | |
5850 | of gimple_opt_pass along with... | |
5851 | (pass_data_tracer): ...new pass_data instance and... | |
5852 | (make_pass_tracer): ...new function. | |
5853 | * trans-mem.c (pass_diagnose_tm_blocks): Convert from a global struct | |
5854 | to a subclass of gimple_opt_pass along with... | |
5855 | (pass_data_diagnose_tm_blocks): ...new pass_data instance and... | |
5856 | (make_pass_diagnose_tm_blocks): ...new function. | |
5857 | (pass_lower_tm): Convert from a global struct to a subclass of | |
5858 | gimple_opt_pass along with... | |
5859 | (pass_data_lower_tm): ...new pass_data instance and... | |
5860 | (make_pass_lower_tm): ...new function. | |
5861 | (pass_tm_init): Convert from a global struct to a subclass of | |
5862 | gimple_opt_pass along with... | |
5863 | (pass_data_tm_init): ...new pass_data instance and... | |
5864 | (make_pass_tm_init): ...new function. | |
5865 | (pass_tm_mark): Convert from a global struct to a subclass of | |
5866 | gimple_opt_pass along with... | |
5867 | (pass_data_tm_mark): ...new pass_data instance and... | |
5868 | (make_pass_tm_mark): ...new function. | |
5869 | (pass_tm_edges): Convert from a global struct to a subclass of | |
5870 | gimple_opt_pass along with... | |
5871 | (pass_data_tm_edges): ...new pass_data instance and... | |
5872 | (make_pass_tm_edges): ...new function. | |
5873 | (pass_tm_memopt): Convert from a global struct to a subclass of | |
5874 | gimple_opt_pass along with... | |
5875 | (pass_data_tm_memopt): ...new pass_data instance and... | |
5876 | (make_pass_tm_memopt): ...new function. | |
5877 | (pass_ipa_tm): Convert from a global struct to a subclass of | |
5878 | simple_ipa_opt_pass along with... | |
5879 | (pass_data_ipa_tm): ...new pass_data instance and... | |
5880 | (make_pass_ipa_tm): ...new function. | |
5881 | * tree-call-cdce.c (pass_call_cdce): Convert from a global struct to a | |
5882 | subclass of gimple_opt_pass along with... | |
5883 | (pass_data_call_cdce): ...new pass_data instance and... | |
5884 | (make_pass_call_cdce): ...new function. | |
5885 | * tree-cfg.c (pass_build_cfg): Convert from a global struct to a | |
5886 | subclass of gimple_opt_pass along with... | |
5887 | (pass_data_build_cfg): ...new pass_data instance and... | |
5888 | (make_pass_build_cfg): ...new function. | |
5889 | (pass_split_crit_edges): Convert from a global struct to a subclass of | |
5890 | gimple_opt_pass along with... | |
5891 | (pass_data_split_crit_edges): ...new pass_data instance and... | |
5892 | (make_pass_split_crit_edges): ...new function. | |
5893 | (pass_warn_function_return): Convert from a global struct to a | |
5894 | subclass of gimple_opt_pass along with... | |
5895 | (pass_data_warn_function_return): ...new pass_data instance and... | |
5896 | (make_pass_warn_function_return): ...new function. | |
5897 | (pass_warn_function_noreturn): Convert from a global struct to a | |
5898 | subclass of gimple_opt_pass along with... | |
5899 | (pass_data_warn_function_noreturn): ...new pass_data instance and... | |
5900 | (make_pass_warn_function_noreturn): ...new function. | |
5901 | (pass_warn_unused_result): Convert from a global struct to a subclass | |
5902 | of gimple_opt_pass along with... | |
5903 | (pass_data_warn_unused_result): ...new pass_data instance and... | |
5904 | (make_pass_warn_unused_result): ...new function. | |
5905 | * tree-cfgcleanup.c (pass_merge_phi): Convert from a global struct to | |
5906 | a subclass of gimple_opt_pass along with... | |
5907 | (pass_data_merge_phi): ...new pass_data instance and... | |
5908 | (make_pass_merge_phi): ...new function. | |
5909 | * tree-complex.c (pass_lower_complex): Convert from a global struct to | |
5910 | a subclass of gimple_opt_pass along with... | |
5911 | (pass_data_lower_complex): ...new pass_data instance and... | |
5912 | (make_pass_lower_complex): ...new function. | |
5913 | (pass_lower_complex_O0): Convert from a global struct to a subclass of | |
5914 | gimple_opt_pass along with... | |
5915 | (pass_data_lower_complex_O0): ...new pass_data instance and... | |
5916 | (make_pass_lower_complex_O0): ...new function. | |
5917 | * tree-eh.c (pass_lower_eh): Convert from a global struct to a | |
5918 | subclass of gimple_opt_pass along with... | |
5919 | (pass_data_lower_eh): ...new pass_data instance and... | |
5920 | (make_pass_lower_eh): ...new function. | |
5921 | (pass_refactor_eh): Convert from a global struct to a subclass of | |
5922 | gimple_opt_pass along with... | |
5923 | (pass_data_refactor_eh): ...new pass_data instance and... | |
5924 | (make_pass_refactor_eh): ...new function. | |
5925 | (pass_lower_resx): Convert from a global struct to a subclass of | |
5926 | gimple_opt_pass along with... | |
5927 | (pass_data_lower_resx): ...new pass_data instance and... | |
5928 | (make_pass_lower_resx): ...new function. | |
5929 | (pass_lower_eh_dispatch): Convert from a global struct to a subclass | |
5930 | of gimple_opt_pass along with... | |
5931 | (pass_data_lower_eh_dispatch): ...new pass_data instance and... | |
5932 | (make_pass_lower_eh_dispatch): ...new function. | |
5933 | (pass_cleanup_eh): Convert from a global struct to a subclass of | |
5934 | gimple_opt_pass along with... | |
5935 | (pass_data_cleanup_eh): ...new pass_data instance and... | |
5936 | (make_pass_cleanup_eh): ...new function. | |
5937 | * tree-emutls.c (pass_ipa_lower_emutls): Convert from a global struct | |
5938 | to a subclass of simple_ipa_opt_pass along with... | |
5939 | (pass_data_ipa_lower_emutls): ...new pass_data instance and... | |
5940 | (make_pass_ipa_lower_emutls): ...new function. | |
5941 | * tree-if-conv.c (pass_if_conversion): Convert from a global struct to | |
5942 | a subclass of gimple_opt_pass along with... | |
5943 | (pass_data_if_conversion): ...new pass_data instance and... | |
5944 | (make_pass_if_conversion): ...new function. | |
5945 | * tree-into-ssa.c (pass_build_ssa): Convert from a global struct to a | |
5946 | subclass of gimple_opt_pass along with... | |
5947 | (pass_data_build_ssa): ...new pass_data instance and... | |
5948 | (make_pass_build_ssa): ...new function. | |
5949 | * tree-loop-distribution.c (pass_loop_distribution): Convert from a | |
5950 | global struct to a subclass of gimple_opt_pass along with... | |
5951 | (pass_data_loop_distribution): ...new pass_data instance and... | |
5952 | (make_pass_loop_distribution): ...new function. | |
5953 | * tree-mudflap.c (pass_mudflap_1): Convert from a global struct to a | |
5954 | subclass of gimple_opt_pass along with... | |
5955 | (pass_data_mudflap_1): ...new pass_data instance and... | |
5956 | (make_pass_mudflap_1): ...new function. | |
5957 | (pass_mudflap_2): Convert from a global struct to a subclass of | |
5958 | gimple_opt_pass along with... | |
5959 | (pass_data_mudflap_2): ...new pass_data instance and... | |
5960 | (make_pass_mudflap_2): ...new function. | |
5961 | * tree-nomudflap.c (pass_mudflap_1): Convert from a global struct to a | |
5962 | subclass of gimple_opt_pass along with... | |
5963 | (pass_data_mudflap_1): ...new pass_data instance and... | |
5964 | (make_pass_mudflap_1): ...new function. | |
5965 | (pass_mudflap_2): Convert from a global struct to a subclass of | |
5966 | gimple_opt_pass along with... | |
5967 | (pass_data_mudflap_2): ...new pass_data instance and... | |
5968 | (make_pass_mudflap_2): ...new function. | |
5969 | * tree-nrv.c (pass_nrv): Convert from a global struct to a subclass of | |
5970 | gimple_opt_pass along with... | |
5971 | (pass_data_nrv): ...new pass_data instance and... | |
5972 | (make_pass_nrv): ...new function. | |
5973 | (pass_return_slot): Convert from a global struct to a subclass of | |
5974 | gimple_opt_pass along with... | |
5975 | (pass_data_return_slot): ...new pass_data instance and... | |
5976 | (make_pass_return_slot): ...new function. | |
5977 | * tree-object-size.c (pass_object_sizes): Convert from a global struct | |
5978 | to a subclass of gimple_opt_pass along with... | |
5979 | (pass_data_object_sizes): ...new pass_data instance and... | |
5980 | (make_pass_object_sizes): ...new function. | |
5981 | * tree-optimize.c (pass_cleanup_cfg_post_optimizing): Convert from a | |
5982 | global struct to a subclass of gimple_opt_pass along with... | |
5983 | (pass_data_cleanup_cfg_post_optimizing): ...new pass_data instance | |
5984 | and... | |
5985 | (make_pass_cleanup_cfg_post_optimizing): ...new function. | |
5986 | (pass_fixup_cfg): Convert from a global struct to a subclass of | |
5987 | gimple_opt_pass along with... | |
5988 | (pass_data_fixup_cfg): ...new pass_data instance and... | |
5989 | (make_pass_fixup_cfg): ...new function. | |
5990 | * tree-pass.h (pass_mudflap_1): Replace declaration with that of... | |
5991 | (make_pass_mudflap_1): ...new function. | |
5992 | (pass_mudflap_2): Replace declaration with that of... | |
5993 | (make_pass_mudflap_2): ...new function. | |
5994 | (pass_asan): Replace declaration with that of... | |
5995 | (make_pass_asan): ...new function. | |
5996 | (pass_asan_O0): Replace declaration with that of... | |
5997 | (make_pass_asan_O0): ...new function. | |
5998 | (pass_tsan): Replace declaration with that of... | |
5999 | (make_pass_tsan): ...new function. | |
6000 | (pass_tsan_O0): Replace declaration with that of... | |
6001 | (make_pass_tsan_O0): ...new function. | |
6002 | (pass_lower_cf): Replace declaration with that of... | |
6003 | (make_pass_lower_cf): ...new function. | |
6004 | (pass_refactor_eh): Replace declaration with that of... | |
6005 | (make_pass_refactor_eh): ...new function. | |
6006 | (pass_lower_eh): Replace declaration with that of... | |
6007 | (make_pass_lower_eh): ...new function. | |
6008 | (pass_lower_eh_dispatch): Replace declaration with that of... | |
6009 | (make_pass_lower_eh_dispatch): ...new function. | |
6010 | (pass_lower_resx): Replace declaration with that of... | |
6011 | (make_pass_lower_resx): ...new function. | |
6012 | (pass_build_cfg): Replace declaration with that of... | |
6013 | (make_pass_build_cfg): ...new function. | |
6014 | (pass_early_tree_profile): Replace declaration with that of... | |
6015 | (make_pass_early_tree_profile): ...new function. | |
6016 | (pass_cleanup_eh): Replace declaration with that of... | |
6017 | (make_pass_cleanup_eh): ...new function. | |
6018 | (pass_sra): Replace declaration with that of... | |
6019 | (make_pass_sra): ...new function. | |
6020 | (pass_sra_early): Replace declaration with that of... | |
6021 | (make_pass_sra_early): ...new function. | |
6022 | (pass_early_ipa_sra): Replace declaration with that of... | |
6023 | (make_pass_early_ipa_sra): ...new function. | |
6024 | (pass_tail_recursion): Replace declaration with that of... | |
6025 | (make_pass_tail_recursion): ...new function. | |
6026 | (pass_tail_calls): Replace declaration with that of... | |
6027 | (make_pass_tail_calls): ...new function. | |
6028 | (pass_tree_loop): Replace declaration with that of... | |
6029 | (make_pass_tree_loop): ...new function. | |
6030 | (pass_tree_loop_init): Replace declaration with that of... | |
6031 | (make_pass_tree_loop_init): ...new function. | |
6032 | (pass_lim): Replace declaration with that of... | |
6033 | (make_pass_lim): ...new function. | |
6034 | (pass_tree_unswitch): Replace declaration with that of... | |
6035 | (make_pass_tree_unswitch): ...new function. | |
6036 | (pass_predcom): Replace declaration with that of... | |
6037 | (make_pass_predcom): ...new function. | |
6038 | (pass_iv_canon): Replace declaration with that of... | |
6039 | (make_pass_iv_canon): ...new function. | |
6040 | (pass_scev_cprop): Replace declaration with that of... | |
6041 | (make_pass_scev_cprop): ...new function. | |
6042 | (pass_empty_loop): Replace declaration with that of... | |
6043 | (make_pass_empty_loop): ...new function. | |
6044 | (pass_record_bounds): Replace declaration with that of... | |
6045 | (make_pass_record_bounds): ...new function. | |
6046 | (pass_graphite): Replace declaration with that of... | |
6047 | (make_pass_graphite): ...new function. | |
6048 | (pass_graphite_transforms): Replace declaration with that of... | |
6049 | (make_pass_graphite_transforms): ...new function. | |
6050 | (pass_if_conversion): Replace declaration with that of... | |
6051 | (make_pass_if_conversion): ...new function. | |
6052 | (pass_loop_distribution): Replace declaration with that of... | |
6053 | (make_pass_loop_distribution): ...new function. | |
6054 | (pass_vectorize): Replace declaration with that of... | |
6055 | (make_pass_vectorize): ...new function. | |
6056 | (pass_slp_vectorize): Replace declaration with that of... | |
6057 | (make_pass_slp_vectorize): ...new function. | |
6058 | (pass_complete_unroll): Replace declaration with that of... | |
6059 | (make_pass_complete_unroll): ...new function. | |
6060 | (pass_complete_unrolli): Replace declaration with that of... | |
6061 | (make_pass_complete_unrolli): ...new function. | |
6062 | (pass_parallelize_loops): Replace declaration with that of... | |
6063 | (make_pass_parallelize_loops): ...new function. | |
6064 | (pass_loop_prefetch): Replace declaration with that of... | |
6065 | (make_pass_loop_prefetch): ...new function. | |
6066 | (pass_iv_optimize): Replace declaration with that of... | |
6067 | (make_pass_iv_optimize): ...new function. | |
6068 | (pass_tree_loop_done): Replace declaration with that of... | |
6069 | (make_pass_tree_loop_done): ...new function. | |
6070 | (pass_ch): Replace declaration with that of... | |
6071 | (make_pass_ch): ...new function. | |
6072 | (pass_ccp): Replace declaration with that of... | |
6073 | (make_pass_ccp): ...new function. | |
6074 | (pass_phi_only_cprop): Replace declaration with that of... | |
6075 | (make_pass_phi_only_cprop): ...new function. | |
6076 | (pass_build_ssa): Replace declaration with that of... | |
6077 | (make_pass_build_ssa): ...new function. | |
6078 | (pass_build_alias): Replace declaration with that of... | |
6079 | (make_pass_build_alias): ...new function. | |
6080 | (pass_build_ealias): Replace declaration with that of... | |
6081 | (make_pass_build_ealias): ...new function. | |
6082 | (pass_dominator): Replace declaration with that of... | |
6083 | (make_pass_dominator): ...new function. | |
6084 | (pass_dce): Replace declaration with that of... | |
6085 | (make_pass_dce): ...new function. | |
6086 | (pass_dce_loop): Replace declaration with that of... | |
6087 | (make_pass_dce_loop): ...new function. | |
6088 | (pass_cd_dce): Replace declaration with that of... | |
6089 | (make_pass_cd_dce): ...new function. | |
6090 | (pass_call_cdce): Replace declaration with that of... | |
6091 | (make_pass_call_cdce): ...new function. | |
6092 | (pass_merge_phi): Replace declaration with that of... | |
6093 | (make_pass_merge_phi): ...new function. | |
6094 | (pass_split_crit_edges): Replace declaration with that of... | |
6095 | (make_pass_split_crit_edges): ...new function. | |
6096 | (pass_pre): Replace declaration with that of... | |
6097 | (make_pass_pre): ...new function. | |
6098 | (pass_profile): Replace declaration with that of... | |
6099 | (make_pass_profile): ...new function. | |
6100 | (pass_strip_predict_hints): Replace declaration with that of... | |
6101 | (make_pass_strip_predict_hints): ...new function. | |
6102 | (pass_lower_complex_O0): Replace declaration with that of... | |
6103 | (make_pass_lower_complex_O0): ...new function. | |
6104 | (pass_lower_complex): Replace declaration with that of... | |
6105 | (make_pass_lower_complex): ...new function. | |
6106 | (pass_lower_vector): Replace declaration with that of... | |
6107 | (make_pass_lower_vector): ...new function. | |
6108 | (pass_lower_vector_ssa): Replace declaration with that of... | |
6109 | (make_pass_lower_vector_ssa): ...new function. | |
6110 | (pass_lower_omp): Replace declaration with that of... | |
6111 | (make_pass_lower_omp): ...new function. | |
6112 | (pass_diagnose_omp_blocks): Replace declaration with that of... | |
6113 | (make_pass_diagnose_omp_blocks): ...new function. | |
6114 | (pass_expand_omp): Replace declaration with that of... | |
6115 | (make_pass_expand_omp): ...new function. | |
6116 | (pass_expand_omp_ssa): Replace declaration with that of... | |
6117 | (make_pass_expand_omp_ssa): ...new function. | |
6118 | (pass_object_sizes): Replace declaration with that of... | |
6119 | (make_pass_object_sizes): ...new function. | |
6120 | (pass_strlen): Replace declaration with that of... | |
6121 | (make_pass_strlen): ...new function. | |
6122 | (pass_fold_builtins): Replace declaration with that of... | |
6123 | (make_pass_fold_builtins): ...new function. | |
6124 | (pass_stdarg): Replace declaration with that of... | |
6125 | (make_pass_stdarg): ...new function. | |
6126 | (pass_early_warn_uninitialized): Replace declaration with that of... | |
6127 | (make_pass_early_warn_uninitialized): ...new function. | |
6128 | (pass_late_warn_uninitialized): Replace declaration with that of... | |
6129 | (make_pass_late_warn_uninitialized): ...new function. | |
6130 | (pass_cse_reciprocals): Replace declaration with that of... | |
6131 | (make_pass_cse_reciprocals): ...new function. | |
6132 | (pass_cse_sincos): Replace declaration with that of... | |
6133 | (make_pass_cse_sincos): ...new function. | |
6134 | (pass_optimize_bswap): Replace declaration with that of... | |
6135 | (make_pass_optimize_bswap): ...new function. | |
6136 | (pass_optimize_widening_mul): Replace declaration with that of... | |
6137 | (make_pass_optimize_widening_mul): ...new function. | |
6138 | (pass_warn_function_return): Replace declaration with that of... | |
6139 | (make_pass_warn_function_return): ...new function. | |
6140 | (pass_warn_function_noreturn): Replace declaration with that of... | |
6141 | (make_pass_warn_function_noreturn): ...new function. | |
6142 | (pass_cselim): Replace declaration with that of... | |
6143 | (make_pass_cselim): ...new function. | |
6144 | (pass_phiopt): Replace declaration with that of... | |
6145 | (make_pass_phiopt): ...new function. | |
6146 | (pass_forwprop): Replace declaration with that of... | |
6147 | (make_pass_forwprop): ...new function. | |
6148 | (pass_phiprop): Replace declaration with that of... | |
6149 | (make_pass_phiprop): ...new function. | |
6150 | (pass_tree_ifcombine): Replace declaration with that of... | |
6151 | (make_pass_tree_ifcombine): ...new function. | |
6152 | (pass_dse): Replace declaration with that of... | |
6153 | (make_pass_dse): ...new function. | |
6154 | (pass_nrv): Replace declaration with that of... | |
6155 | (make_pass_nrv): ...new function. | |
6156 | (pass_rename_ssa_copies): Replace declaration with that of... | |
6157 | (make_pass_rename_ssa_copies): ...new function. | |
6158 | (pass_sink_code): Replace declaration with that of... | |
6159 | (make_pass_sink_code): ...new function. | |
6160 | (pass_fre): Replace declaration with that of... | |
6161 | (make_pass_fre): ...new function. | |
6162 | (pass_check_data_deps): Replace declaration with that of... | |
6163 | (make_pass_check_data_deps): ...new function. | |
6164 | (pass_copy_prop): Replace declaration with that of... | |
6165 | (make_pass_copy_prop): ...new function. | |
6166 | (pass_vrp): Replace declaration with that of... | |
6167 | (make_pass_vrp): ...new function. | |
6168 | (pass_uncprop): Replace declaration with that of... | |
6169 | (make_pass_uncprop): ...new function. | |
6170 | (pass_return_slot): Replace declaration with that of... | |
6171 | (make_pass_return_slot): ...new function. | |
6172 | (pass_reassoc): Replace declaration with that of... | |
6173 | (make_pass_reassoc): ...new function. | |
6174 | (pass_rebuild_cgraph_edges): Replace declaration with that of... | |
6175 | (make_pass_rebuild_cgraph_edges): ...new function. | |
6176 | (pass_remove_cgraph_callee_edges): Replace declaration with that of... | |
6177 | (make_pass_remove_cgraph_callee_edges): ...new function. | |
6178 | (pass_build_cgraph_edges): Replace declaration with that of... | |
6179 | (make_pass_build_cgraph_edges): ...new function. | |
6180 | (pass_local_pure_const): Replace declaration with that of... | |
6181 | (make_pass_local_pure_const): ...new function. | |
6182 | (pass_tracer): Replace declaration with that of... | |
6183 | (make_pass_tracer): ...new function. | |
6184 | (pass_warn_unused_result): Replace declaration with that of... | |
6185 | (make_pass_warn_unused_result): ...new function. | |
6186 | (pass_diagnose_tm_blocks): Replace declaration with that of... | |
6187 | (make_pass_diagnose_tm_blocks): ...new function. | |
6188 | (pass_lower_tm): Replace declaration with that of... | |
6189 | (make_pass_lower_tm): ...new function. | |
6190 | (pass_tm_init): Replace declaration with that of... | |
6191 | (make_pass_tm_init): ...new function. | |
6192 | (pass_tm_mark): Replace declaration with that of... | |
6193 | (make_pass_tm_mark): ...new function. | |
6194 | (pass_tm_memopt): Replace declaration with that of... | |
6195 | (make_pass_tm_memopt): ...new function. | |
6196 | (pass_tm_edges): Replace declaration with that of... | |
6197 | (make_pass_tm_edges): ...new function. | |
6198 | (pass_split_functions): Replace declaration with that of... | |
6199 | (make_pass_split_functions): ...new function. | |
6200 | (pass_feedback_split_functions): Replace declaration with that of... | |
6201 | (make_pass_feedback_split_functions): ...new function. | |
6202 | (pass_strength_reduction): Replace declaration with that of... | |
6203 | (make_pass_strength_reduction): ...new function. | |
6204 | (pass_ipa_lower_emutls): Replace declaration with that of... | |
6205 | (make_pass_ipa_lower_emutls): ...new function. | |
6206 | (pass_ipa_function_and_variable_visibility): Replace declaration with | |
6207 | that of... | |
6208 | (make_pass_ipa_function_and_variable_visibility): ...new function. | |
6209 | (pass_ipa_tree_profile): Replace declaration with that of... | |
6210 | (make_pass_ipa_tree_profile): ...new function. | |
6211 | (pass_early_local_passes): Replace declaration with that of... | |
6212 | (make_pass_early_local_passes): ...new function. | |
6213 | (pass_ipa_whole_program_visibility): Replace declaration with that | |
6214 | of... | |
6215 | (make_pass_ipa_whole_program_visibility): ...new function. | |
6216 | (pass_ipa_lto_gimple_out): Replace declaration with that of... | |
6217 | (make_pass_ipa_lto_gimple_out): ...new function. | |
6218 | (pass_ipa_increase_alignment): Replace declaration with that of... | |
6219 | (make_pass_ipa_increase_alignment): ...new function. | |
6220 | (pass_ipa_inline): Replace declaration with that of... | |
6221 | (make_pass_ipa_inline): ...new function. | |
6222 | (pass_ipa_free_lang_data): Replace declaration with that of... | |
6223 | (make_pass_ipa_free_lang_data): ...new function. | |
6224 | (pass_ipa_free_inline_summary): Replace declaration with that of... | |
6225 | (make_pass_ipa_free_inline_summary): ...new function. | |
6226 | (pass_ipa_cp): Replace declaration with that of... | |
6227 | (make_pass_ipa_cp): ...new function. | |
6228 | (pass_ipa_reference): Replace declaration with that of... | |
6229 | (make_pass_ipa_reference): ...new function. | |
6230 | (pass_ipa_pure_const): Replace declaration with that of... | |
6231 | (make_pass_ipa_pure_const): ...new function. | |
6232 | (pass_ipa_pta): Replace declaration with that of... | |
6233 | (make_pass_ipa_pta): ...new function. | |
6234 | (pass_ipa_lto_finish_out): Replace declaration with that of... | |
6235 | (make_pass_ipa_lto_finish_out): ...new function. | |
6236 | (pass_ipa_tm): Replace declaration with that of... | |
6237 | (make_pass_ipa_tm): ...new function. | |
6238 | (pass_ipa_profile): Replace declaration with that of... | |
6239 | (make_pass_ipa_profile): ...new function. | |
6240 | (pass_ipa_cdtor_merge): Replace declaration with that of... | |
6241 | (make_pass_ipa_cdtor_merge): ...new function. | |
6242 | (pass_cleanup_cfg_post_optimizing): Replace declaration with that | |
6243 | of... | |
6244 | (make_pass_cleanup_cfg_post_optimizing): ...new function. | |
6245 | (pass_init_datastructures): Replace declaration with that of... | |
6246 | (make_pass_init_datastructures): ...new function. | |
6247 | (pass_fixup_cfg): Replace declaration with that of... | |
6248 | (make_pass_fixup_cfg): ...new function. | |
6249 | (pass_expand): Replace declaration with that of... | |
6250 | (make_pass_expand): ...new function. | |
6251 | (pass_instantiate_virtual_regs): Replace declaration with that of... | |
6252 | (make_pass_instantiate_virtual_regs): ...new function. | |
6253 | (pass_rtl_fwprop): Replace declaration with that of... | |
6254 | (make_pass_rtl_fwprop): ...new function. | |
6255 | (pass_rtl_fwprop_addr): Replace declaration with that of... | |
6256 | (make_pass_rtl_fwprop_addr): ...new function. | |
6257 | (pass_jump): Replace declaration with that of... | |
6258 | (make_pass_jump): ...new function. | |
6259 | (pass_jump2): Replace declaration with that of... | |
6260 | (make_pass_jump2): ...new function. | |
6261 | (pass_lower_subreg): Replace declaration with that of... | |
6262 | (make_pass_lower_subreg): ...new function. | |
6263 | (pass_cse): Replace declaration with that of... | |
6264 | (make_pass_cse): ...new function. | |
6265 | (pass_fast_rtl_dce): Replace declaration with that of... | |
6266 | (make_pass_fast_rtl_dce): ...new function. | |
6267 | (pass_ud_rtl_dce): Replace declaration with that of... | |
6268 | (make_pass_ud_rtl_dce): ...new function. | |
6269 | (pass_rtl_dce): Replace declaration with that of... | |
6270 | (make_pass_rtl_dce): ...new function. | |
6271 | (pass_rtl_dse1): Replace declaration with that of... | |
6272 | (make_pass_rtl_dse1): ...new function. | |
6273 | (pass_rtl_dse2): Replace declaration with that of... | |
6274 | (make_pass_rtl_dse2): ...new function. | |
6275 | (pass_rtl_dse3): Replace declaration with that of... | |
6276 | (make_pass_rtl_dse3): ...new function. | |
6277 | (pass_rtl_cprop): Replace declaration with that of... | |
6278 | (make_pass_rtl_cprop): ...new function. | |
6279 | (pass_rtl_pre): Replace declaration with that of... | |
6280 | (make_pass_rtl_pre): ...new function. | |
6281 | (pass_rtl_hoist): Replace declaration with that of... | |
6282 | (make_pass_rtl_hoist): ...new function. | |
6283 | (pass_rtl_store_motion): Replace declaration with that of... | |
6284 | (make_pass_rtl_store_motion): ...new function. | |
6285 | (pass_cse_after_global_opts): Replace declaration with that of... | |
6286 | (make_pass_cse_after_global_opts): ...new function. | |
6287 | (pass_rtl_ifcvt): Replace declaration with that of... | |
6288 | (make_pass_rtl_ifcvt): ...new function. | |
6289 | (pass_into_cfg_layout_mode): Replace declaration with that of... | |
6290 | (make_pass_into_cfg_layout_mode): ...new function. | |
6291 | (pass_outof_cfg_layout_mode): Replace declaration with that of... | |
6292 | (make_pass_outof_cfg_layout_mode): ...new function. | |
6293 | (pass_loop2): Replace declaration with that of... | |
6294 | (make_pass_loop2): ...new function. | |
6295 | (pass_rtl_loop_init): Replace declaration with that of... | |
6296 | (make_pass_rtl_loop_init): ...new function. | |
6297 | (pass_rtl_move_loop_invariants): Replace declaration with that of... | |
6298 | (make_pass_rtl_move_loop_invariants): ...new function. | |
6299 | (pass_rtl_unswitch): Replace declaration with that of... | |
6300 | (make_pass_rtl_unswitch): ...new function. | |
6301 | (pass_rtl_unroll_and_peel_loops): Replace declaration with that of... | |
6302 | (make_pass_rtl_unroll_and_peel_loops): ...new function. | |
6303 | (pass_rtl_doloop): Replace declaration with that of... | |
6304 | (make_pass_rtl_doloop): ...new function. | |
6305 | (pass_rtl_loop_done): Replace declaration with that of... | |
6306 | (make_pass_rtl_loop_done): ...new function. | |
6307 | (pass_web): Replace declaration with that of... | |
6308 | (make_pass_web): ...new function. | |
6309 | (pass_cse2): Replace declaration with that of... | |
6310 | (make_pass_cse2): ...new function. | |
6311 | (pass_df_initialize_opt): Replace declaration with that of... | |
6312 | (make_pass_df_initialize_opt): ...new function. | |
6313 | (pass_df_initialize_no_opt): Replace declaration with that of... | |
6314 | (make_pass_df_initialize_no_opt): ...new function. | |
6315 | (pass_reginfo_init): Replace declaration with that of... | |
6316 | (make_pass_reginfo_init): ...new function. | |
6317 | (pass_inc_dec): Replace declaration with that of... | |
6318 | (make_pass_inc_dec): ...new function. | |
6319 | (pass_stack_ptr_mod): Replace declaration with that of... | |
6320 | (make_pass_stack_ptr_mod): ...new function. | |
6321 | (pass_initialize_regs): Replace declaration with that of... | |
6322 | (make_pass_initialize_regs): ...new function. | |
6323 | (pass_combine): Replace declaration with that of... | |
6324 | (make_pass_combine): ...new function. | |
6325 | (pass_if_after_combine): Replace declaration with that of... | |
6326 | (make_pass_if_after_combine): ...new function. | |
6327 | (pass_ree): Replace declaration with that of... | |
6328 | (make_pass_ree): ...new function. | |
6329 | (pass_partition_blocks): Replace declaration with that of... | |
6330 | (make_pass_partition_blocks): ...new function. | |
6331 | (pass_match_asm_constraints): Replace declaration with that of... | |
6332 | (make_pass_match_asm_constraints): ...new function. | |
6333 | (pass_regmove): Replace declaration with that of... | |
6334 | (make_pass_regmove): ...new function. | |
6335 | (pass_split_all_insns): Replace declaration with that of... | |
6336 | (make_pass_split_all_insns): ...new function. | |
6337 | (pass_fast_rtl_byte_dce): Replace declaration with that of... | |
6338 | (make_pass_fast_rtl_byte_dce): ...new function. | |
6339 | (pass_lower_subreg2): Replace declaration with that of... | |
6340 | (make_pass_lower_subreg2): ...new function. | |
6341 | (pass_mode_switching): Replace declaration with that of... | |
6342 | (make_pass_mode_switching): ...new function. | |
6343 | (pass_sms): Replace declaration with that of... | |
6344 | (make_pass_sms): ...new function. | |
6345 | (pass_sched): Replace declaration with that of... | |
6346 | (make_pass_sched): ...new function. | |
6347 | (pass_ira): Replace declaration with that of... | |
6348 | (make_pass_ira): ...new function. | |
6349 | (pass_reload): Replace declaration with that of... | |
6350 | (make_pass_reload): ...new function. | |
6351 | (pass_clean_state): Replace declaration with that of... | |
6352 | (make_pass_clean_state): ...new function. | |
6353 | (pass_branch_prob): Replace declaration with that of... | |
6354 | (make_pass_branch_prob): ...new function. | |
6355 | (pass_value_profile_transformations): Replace declaration with that | |
6356 | of... | |
6357 | (make_pass_value_profile_transformations): ...new function. | |
6358 | (pass_postreload_cse): Replace declaration with that of... | |
6359 | (make_pass_postreload_cse): ...new function. | |
6360 | (pass_gcse2): Replace declaration with that of... | |
6361 | (make_pass_gcse2): ...new function. | |
6362 | (pass_split_after_reload): Replace declaration with that of... | |
6363 | (make_pass_split_after_reload): ...new function. | |
6364 | (pass_branch_target_load_optimize1): Replace declaration with that | |
6365 | of... | |
6366 | (make_pass_branch_target_load_optimize1): ...new function. | |
6367 | (pass_thread_prologue_and_epilogue): Replace declaration with that | |
6368 | of... | |
6369 | (make_pass_thread_prologue_and_epilogue): ...new function. | |
6370 | (pass_stack_adjustments): Replace declaration with that of... | |
6371 | (make_pass_stack_adjustments): ...new function. | |
6372 | (pass_peephole2): Replace declaration with that of... | |
6373 | (make_pass_peephole2): ...new function. | |
6374 | (pass_if_after_reload): Replace declaration with that of... | |
6375 | (make_pass_if_after_reload): ...new function. | |
6376 | (pass_regrename): Replace declaration with that of... | |
6377 | (make_pass_regrename): ...new function. | |
6378 | (pass_cprop_hardreg): Replace declaration with that of... | |
6379 | (make_pass_cprop_hardreg): ...new function. | |
6380 | (pass_reorder_blocks): Replace declaration with that of... | |
6381 | (make_pass_reorder_blocks): ...new function. | |
6382 | (pass_branch_target_load_optimize2): Replace declaration with that | |
6383 | of... | |
6384 | (make_pass_branch_target_load_optimize2): ...new function. | |
6385 | (pass_leaf_regs): Replace declaration with that of... | |
6386 | (make_pass_leaf_regs): ...new function. | |
6387 | (pass_split_before_sched2): Replace declaration with that of... | |
6388 | (make_pass_split_before_sched2): ...new function. | |
6389 | (pass_compare_elim_after_reload): Replace declaration with that of... | |
6390 | (make_pass_compare_elim_after_reload): ...new function. | |
6391 | (pass_sched2): Replace declaration with that of... | |
6392 | (make_pass_sched2): ...new function. | |
6393 | (pass_stack_regs): Replace declaration with that of... | |
6394 | (make_pass_stack_regs): ...new function. | |
6395 | (pass_stack_regs_run): Replace declaration with that of... | |
6396 | (make_pass_stack_regs_run): ...new function. | |
6397 | (pass_df_finish): Replace declaration with that of... | |
6398 | (make_pass_df_finish): ...new function. | |
6399 | (pass_compute_alignments): Replace declaration with that of... | |
6400 | (make_pass_compute_alignments): ...new function. | |
6401 | (pass_duplicate_computed_gotos): Replace declaration with that of... | |
6402 | (make_pass_duplicate_computed_gotos): ...new function. | |
6403 | (pass_variable_tracking): Replace declaration with that of... | |
6404 | (make_pass_variable_tracking): ...new function. | |
6405 | (pass_free_cfg): Replace declaration with that of... | |
6406 | (make_pass_free_cfg): ...new function. | |
6407 | (pass_machine_reorg): Replace declaration with that of... | |
6408 | (make_pass_machine_reorg): ...new function. | |
6409 | (pass_cleanup_barriers): Replace declaration with that of... | |
6410 | (make_pass_cleanup_barriers): ...new function. | |
6411 | (pass_delay_slots): Replace declaration with that of... | |
6412 | (make_pass_delay_slots): ...new function. | |
6413 | (pass_split_for_shorten_branches): Replace declaration with that of... | |
6414 | (make_pass_split_for_shorten_branches): ...new function. | |
6415 | (pass_split_before_regstack): Replace declaration with that of... | |
6416 | (make_pass_split_before_regstack): ...new function. | |
6417 | (pass_convert_to_eh_region_ranges): Replace declaration with that | |
6418 | of... | |
6419 | (make_pass_convert_to_eh_region_ranges): ...new function. | |
6420 | (pass_shorten_branches): Replace declaration with that of... | |
6421 | (make_pass_shorten_branches): ...new function. | |
6422 | (pass_set_nothrow_function_flags): Replace declaration with that of... | |
6423 | (make_pass_set_nothrow_function_flags): ...new function. | |
6424 | (pass_dwarf2_frame): Replace declaration with that of... | |
6425 | (make_pass_dwarf2_frame): ...new function. | |
6426 | (pass_final): Replace declaration with that of... | |
6427 | (make_pass_final): ...new function. | |
6428 | (pass_rtl_seqabstr): Replace declaration with that of... | |
6429 | (make_pass_rtl_seqabstr): ...new function. | |
6430 | (pass_release_ssa_names): Replace declaration with that of... | |
6431 | (make_pass_release_ssa_names): ...new function. | |
6432 | (pass_early_inline): Replace declaration with that of... | |
6433 | (make_pass_early_inline): ...new function. | |
6434 | (pass_inline_parameters): Replace declaration with that of... | |
6435 | (make_pass_inline_parameters): ...new function. | |
6436 | (pass_update_address_taken): Replace declaration with that of... | |
6437 | (make_pass_update_address_taken): ...new function. | |
6438 | (pass_convert_switch): Replace declaration with that of... | |
6439 | (make_pass_convert_switch): ...new function. | |
6440 | * tree-profile.c (pass_ipa_tree_profile): Convert from a global struct | |
6441 | to a subclass of simple_ipa_opt_pass along with... | |
6442 | (pass_data_ipa_tree_profile): ...new pass_data instance and... | |
6443 | (make_pass_ipa_tree_profile): ...new function. | |
6444 | * tree-sra.c (pass_sra_early): Convert from a global struct to a | |
6445 | subclass of gimple_opt_pass along with... | |
6446 | (pass_data_sra_early): ...new pass_data instance and... | |
6447 | (make_pass_sra_early): ...new function. | |
6448 | (pass_sra): Convert from a global struct to a subclass of | |
6449 | gimple_opt_pass along with... | |
6450 | (pass_data_sra): ...new pass_data instance and... | |
6451 | (make_pass_sra): ...new function. | |
6452 | (pass_early_ipa_sra): Convert from a global struct to a subclass of | |
6453 | gimple_opt_pass along with... | |
6454 | (pass_data_early_ipa_sra): ...new pass_data instance and... | |
6455 | (make_pass_early_ipa_sra): ...new function. | |
6456 | * tree-ssa-ccp.c (pass_ccp): Convert from a global struct to a | |
6457 | subclass of gimple_opt_pass along with... | |
6458 | (pass_data_ccp): ...new pass_data instance and... | |
6459 | (make_pass_ccp): ...new function. | |
6460 | (pass_fold_builtins): Convert from a global struct to a subclass of | |
6461 | gimple_opt_pass along with... | |
6462 | (pass_data_fold_builtins): ...new pass_data instance and... | |
6463 | (make_pass_fold_builtins): ...new function. | |
6464 | * tree-ssa-copy.c (pass_copy_prop): Convert from a global struct to a | |
6465 | subclass of gimple_opt_pass along with... | |
6466 | (pass_data_copy_prop): ...new pass_data instance and... | |
6467 | (make_pass_copy_prop): ...new function. | |
6468 | * tree-ssa-copyrename.c (pass_rename_ssa_copies): Convert from a | |
6469 | global struct to a subclass of gimple_opt_pass along with... | |
6470 | (pass_data_rename_ssa_copies): ...new pass_data instance and... | |
6471 | (make_pass_rename_ssa_copies): ...new function. | |
6472 | * tree-ssa-dce.c (pass_dce): Convert from a global struct to a | |
6473 | subclass of gimple_opt_pass along with... | |
6474 | (pass_data_dce): ...new pass_data instance and... | |
6475 | (make_pass_dce): ...new function. | |
6476 | (pass_dce_loop): Convert from a global struct to a subclass of | |
6477 | gimple_opt_pass along with... | |
6478 | (pass_data_dce_loop): ...new pass_data instance and... | |
6479 | (make_pass_dce_loop): ...new function. | |
6480 | (pass_cd_dce): Convert from a global struct to a subclass of | |
6481 | gimple_opt_pass along with... | |
6482 | (pass_data_cd_dce): ...new pass_data instance and... | |
6483 | (make_pass_cd_dce): ...new function. | |
6484 | * tree-ssa-dom.c (pass_dominator): Convert from a global struct to a | |
6485 | subclass of gimple_opt_pass along with... | |
6486 | (pass_data_dominator): ...new pass_data instance and... | |
6487 | (make_pass_dominator): ...new function. | |
6488 | (pass_phi_only_cprop): Convert from a global struct to a subclass of | |
6489 | gimple_opt_pass along with... | |
6490 | (pass_data_phi_only_cprop): ...new pass_data instance and... | |
6491 | (make_pass_phi_only_cprop): ...new function. | |
6492 | * tree-ssa-dse.c (pass_dse): Convert from a global struct to a | |
6493 | subclass of gimple_opt_pass along with... | |
6494 | (pass_data_dse): ...new pass_data instance and... | |
6495 | (make_pass_dse): ...new function. | |
6496 | * tree-ssa-forwprop.c (pass_forwprop): Convert from a global struct to | |
6497 | a subclass of gimple_opt_pass along with... | |
6498 | (pass_data_forwprop): ...new pass_data instance and... | |
6499 | (make_pass_forwprop): ...new function. | |
6500 | * tree-ssa-ifcombine.c (pass_tree_ifcombine): Convert from a global | |
6501 | struct to a subclass of gimple_opt_pass along with... | |
6502 | (pass_data_tree_ifcombine): ...new pass_data instance and... | |
6503 | (make_pass_tree_ifcombine): ...new function. | |
6504 | * tree-ssa-loop-ch.c (pass_ch): Convert from a global struct to a | |
6505 | subclass of gimple_opt_pass along with... | |
6506 | (pass_data_ch): ...new pass_data instance and... | |
6507 | (make_pass_ch): ...new function. | |
6508 | * tree-ssa-loop.c (pass_tree_loop): Convert from a global struct to a | |
6509 | subclass of gimple_opt_pass along with... | |
6510 | (pass_data_tree_loop): ...new pass_data instance and... | |
6511 | (make_pass_tree_loop): ...new function. | |
6512 | (pass_tree_loop_init): Convert from a global struct to a subclass of | |
6513 | gimple_opt_pass along with... | |
6514 | (pass_data_tree_loop_init): ...new pass_data instance and... | |
6515 | (make_pass_tree_loop_init): ...new function. | |
6516 | (pass_lim): Convert from a global struct to a subclass of | |
6517 | gimple_opt_pass along with... | |
6518 | (pass_data_lim): ...new pass_data instance and... | |
6519 | (make_pass_lim): ...new function. | |
6520 | (pass_tree_unswitch): Convert from a global struct to a subclass of | |
6521 | gimple_opt_pass along with... | |
6522 | (pass_data_tree_unswitch): ...new pass_data instance and... | |
6523 | (make_pass_tree_unswitch): ...new function. | |
6524 | (pass_predcom): Convert from a global struct to a subclass of | |
6525 | gimple_opt_pass along with... | |
6526 | (pass_data_predcom): ...new pass_data instance and... | |
6527 | (make_pass_predcom): ...new function. | |
6528 | (pass_vectorize): Convert from a global struct to a subclass of | |
6529 | gimple_opt_pass along with... | |
6530 | (pass_data_vectorize): ...new pass_data instance and... | |
6531 | (make_pass_vectorize): ...new function. | |
6532 | (pass_graphite): Convert from a global struct to a subclass of | |
6533 | gimple_opt_pass along with... | |
6534 | (pass_data_graphite): ...new pass_data instance and... | |
6535 | (make_pass_graphite): ...new function. | |
6536 | (pass_graphite_transforms): Convert from a global struct to a subclass | |
6537 | of gimple_opt_pass along with... | |
6538 | (pass_data_graphite_transforms): ...new pass_data instance and... | |
6539 | (make_pass_graphite_transforms): ...new function. | |
6540 | (pass_check_data_deps): Convert from a global struct to a subclass of | |
6541 | gimple_opt_pass along with... | |
6542 | (pass_data_check_data_deps): ...new pass_data instance and... | |
6543 | (make_pass_check_data_deps): ...new function. | |
6544 | (pass_iv_canon): Convert from a global struct to a subclass of | |
6545 | gimple_opt_pass along with... | |
6546 | (pass_data_iv_canon): ...new pass_data instance and... | |
6547 | (make_pass_iv_canon): ...new function. | |
6548 | (pass_scev_cprop): Convert from a global struct to a subclass of | |
6549 | gimple_opt_pass along with... | |
6550 | (pass_data_scev_cprop): ...new pass_data instance and... | |
6551 | (make_pass_scev_cprop): ...new function. | |
6552 | (pass_record_bounds): Convert from a global struct to a subclass of | |
6553 | gimple_opt_pass along with... | |
6554 | (pass_data_record_bounds): ...new pass_data instance and... | |
6555 | (make_pass_record_bounds): ...new function. | |
6556 | (pass_complete_unroll): Convert from a global struct to a subclass of | |
6557 | gimple_opt_pass along with... | |
6558 | (pass_data_complete_unroll): ...new pass_data instance and... | |
6559 | (make_pass_complete_unroll): ...new function. | |
6560 | (pass_complete_unrolli): Convert from a global struct to a subclass of | |
6561 | gimple_opt_pass along with... | |
6562 | (pass_data_complete_unrolli): ...new pass_data instance and... | |
6563 | (make_pass_complete_unrolli): ...new function. | |
6564 | (pass_parallelize_loops): Convert from a global struct to a subclass | |
6565 | of gimple_opt_pass along with... | |
6566 | (pass_data_parallelize_loops): ...new pass_data instance and... | |
6567 | (make_pass_parallelize_loops): ...new function. | |
6568 | (pass_loop_prefetch): Convert from a global struct to a subclass of | |
6569 | gimple_opt_pass along with... | |
6570 | (pass_data_loop_prefetch): ...new pass_data instance and... | |
6571 | (make_pass_loop_prefetch): ...new function. | |
6572 | (pass_iv_optimize): Convert from a global struct to a subclass of | |
6573 | gimple_opt_pass along with... | |
6574 | (pass_data_iv_optimize): ...new pass_data instance and... | |
6575 | (make_pass_iv_optimize): ...new function. | |
6576 | (pass_tree_loop_done): Convert from a global struct to a subclass of | |
6577 | gimple_opt_pass along with... | |
6578 | (pass_data_tree_loop_done): ...new pass_data instance and... | |
6579 | (make_pass_tree_loop_done): ...new function. | |
6580 | * tree-ssa-math-opts.c (pass_cse_reciprocals): Convert from a global | |
6581 | struct to a subclass of gimple_opt_pass along with... | |
6582 | (pass_data_cse_reciprocals): ...new pass_data instance and... | |
6583 | (make_pass_cse_reciprocals): ...new function. | |
6584 | (pass_cse_sincos): Convert from a global struct to a subclass of | |
6585 | gimple_opt_pass along with... | |
6586 | (pass_data_cse_sincos): ...new pass_data instance and... | |
6587 | (make_pass_cse_sincos): ...new function. | |
6588 | (pass_optimize_bswap): Convert from a global struct to a subclass of | |
6589 | gimple_opt_pass along with... | |
6590 | (pass_data_optimize_bswap): ...new pass_data instance and... | |
6591 | (make_pass_optimize_bswap): ...new function. | |
6592 | (pass_optimize_widening_mul): Convert from a global struct to a | |
6593 | subclass of gimple_opt_pass along with... | |
6594 | (pass_data_optimize_widening_mul): ...new pass_data instance and... | |
6595 | (make_pass_optimize_widening_mul): ...new function. | |
6596 | * tree-ssa-phiopt.c (pass_phiopt): Convert from a global struct to a | |
6597 | subclass of gimple_opt_pass along with... | |
6598 | (pass_data_phiopt): ...new pass_data instance and... | |
6599 | (make_pass_phiopt): ...new function. | |
6600 | (pass_cselim): Convert from a global struct to a subclass of | |
6601 | gimple_opt_pass along with... | |
6602 | (pass_data_cselim): ...new pass_data instance and... | |
6603 | (make_pass_cselim): ...new function. | |
6604 | * tree-ssa-phiprop.c (pass_phiprop): Convert from a global struct to a | |
6605 | subclass of gimple_opt_pass along with... | |
6606 | (pass_data_phiprop): ...new pass_data instance and... | |
6607 | (make_pass_phiprop): ...new function. | |
6608 | * tree-ssa-pre.c (pass_pre): Convert from a global struct to a | |
6609 | subclass of gimple_opt_pass along with... | |
6610 | (pass_data_pre): ...new pass_data instance and... | |
6611 | (make_pass_pre): ...new function. | |
6612 | (pass_fre): Convert from a global struct to a subclass of | |
6613 | gimple_opt_pass along with... | |
6614 | (pass_data_fre): ...new pass_data instance and... | |
6615 | (make_pass_fre): ...new function. | |
6616 | * tree-ssa-reassoc.c (pass_reassoc): Convert from a global struct to a | |
6617 | subclass of gimple_opt_pass along with... | |
6618 | (pass_data_reassoc): ...new pass_data instance and... | |
6619 | (make_pass_reassoc): ...new function. | |
6620 | * tree-ssa-sink.c (pass_sink_code): Convert from a global struct to a | |
6621 | subclass of gimple_opt_pass along with... | |
6622 | (pass_data_sink_code): ...new pass_data instance and... | |
6623 | (make_pass_sink_code): ...new function. | |
6624 | * tree-ssa-strlen.c (pass_strlen): Convert from a global struct to a | |
6625 | subclass of gimple_opt_pass along with... | |
6626 | (pass_data_strlen): ...new pass_data instance and... | |
6627 | (make_pass_strlen): ...new function. | |
6628 | * tree-ssa-structalias.c (pass_build_alias): Convert from a global | |
6629 | struct to a subclass of gimple_opt_pass along with... | |
6630 | (pass_data_build_alias): ...new pass_data instance and... | |
6631 | (make_pass_build_alias): ...new function. | |
6632 | (pass_build_ealias): Convert from a global struct to a subclass of | |
6633 | gimple_opt_pass along with... | |
6634 | (pass_data_build_ealias): ...new pass_data instance and... | |
6635 | (make_pass_build_ealias): ...new function. | |
6636 | (pass_ipa_pta): Convert from a global struct to a subclass of | |
6637 | simple_ipa_opt_pass along with... | |
6638 | (pass_data_ipa_pta): ...new pass_data instance and... | |
6639 | (make_pass_ipa_pta): ...new function. | |
6640 | * tree-ssa-uncprop.c (pass_uncprop): Convert from a global struct to a | |
6641 | subclass of gimple_opt_pass along with... | |
6642 | (pass_data_uncprop): ...new pass_data instance and... | |
6643 | (make_pass_uncprop): ...new function. | |
6644 | * tree-ssa-uninit.c (pass_late_warn_uninitialized): Convert from a | |
6645 | global struct to a subclass of gimple_opt_pass along with... | |
6646 | (pass_data_late_warn_uninitialized): ...new pass_data instance and... | |
6647 | (make_pass_late_warn_uninitialized): ...new function. | |
6648 | * tree-ssa.c (pass_init_datastructures): Convert from a global struct | |
6649 | to a subclass of gimple_opt_pass along with... | |
6650 | (pass_data_init_datastructures): ...new pass_data instance and... | |
6651 | (make_pass_init_datastructures): ...new function. | |
6652 | (pass_early_warn_uninitialized): Convert from a global struct to a | |
6653 | subclass of gimple_opt_pass along with... | |
6654 | (pass_data_early_warn_uninitialized): ...new pass_data instance and... | |
6655 | (make_pass_early_warn_uninitialized): ...new function. | |
6656 | (pass_update_address_taken): Convert from a global struct to a | |
6657 | subclass of gimple_opt_pass along with... | |
6658 | (pass_data_update_address_taken): ...new pass_data instance and... | |
6659 | (make_pass_update_address_taken): ...new function. | |
6660 | * tree-ssanames.c (pass_release_ssa_names): Convert from a global | |
6661 | struct to a subclass of gimple_opt_pass along with... | |
6662 | (pass_data_release_ssa_names): ...new pass_data instance and... | |
6663 | (make_pass_release_ssa_names): ...new function. | |
6664 | * tree-stdarg.c (pass_stdarg): Convert from a global struct to a | |
6665 | subclass of gimple_opt_pass along with... | |
6666 | (pass_data_stdarg): ...new pass_data instance and... | |
6667 | (make_pass_stdarg): ...new function. | |
6668 | * tree-switch-conversion.c (pass_convert_switch): Convert from a | |
6669 | global struct to a subclass of gimple_opt_pass along with... | |
6670 | (pass_data_convert_switch): ...new pass_data instance and... | |
6671 | (make_pass_convert_switch): ...new function. | |
6672 | * tree-tailcall.c (pass_tail_recursion): Convert from a global struct | |
6673 | to a subclass of gimple_opt_pass along with... | |
6674 | (pass_data_tail_recursion): ...new pass_data instance and... | |
6675 | (make_pass_tail_recursion): ...new function. | |
6676 | (pass_tail_calls): Convert from a global struct to a subclass of | |
6677 | gimple_opt_pass along with... | |
6678 | (pass_data_tail_calls): ...new pass_data instance and... | |
6679 | (make_pass_tail_calls): ...new function. | |
6680 | * tree-vect-generic.c (pass_lower_vector): Convert from a global | |
6681 | struct to a subclass of gimple_opt_pass along with... | |
6682 | (pass_data_lower_vector): ...new pass_data instance and... | |
6683 | (make_pass_lower_vector): ...new function. | |
6684 | (pass_lower_vector_ssa): Convert from a global struct to a subclass of | |
6685 | gimple_opt_pass along with... | |
6686 | (pass_data_lower_vector_ssa): ...new pass_data instance and... | |
6687 | (make_pass_lower_vector_ssa): ...new function. | |
6688 | * tree-vectorizer.c (pass_slp_vectorize): Convert from a global struct | |
6689 | to a subclass of gimple_opt_pass along with... | |
6690 | (pass_data_slp_vectorize): ...new pass_data instance and... | |
6691 | (make_pass_slp_vectorize): ...new function. | |
6692 | (pass_ipa_increase_alignment): Convert from a global struct to a | |
6693 | subclass of simple_ipa_opt_pass along with... | |
6694 | (pass_data_ipa_increase_alignment): ...new pass_data instance and... | |
6695 | (make_pass_ipa_increase_alignment): ...new function. | |
6696 | * tree-vrp.c (pass_vrp): Convert from a global struct to a subclass of | |
6697 | gimple_opt_pass along with... | |
6698 | (pass_data_vrp): ...new pass_data instance and... | |
6699 | (make_pass_vrp): ...new function. | |
6700 | * tree.c (pass_ipa_free_lang_data): Convert from a global struct to a | |
6701 | subclass of simple_ipa_opt_pass along with... | |
6702 | (pass_data_ipa_free_lang_data): ...new pass_data instance and... | |
6703 | (make_pass_ipa_free_lang_data): ...new function. | |
6704 | * tsan.c (pass_tsan): Convert from a global struct to a subclass of | |
6705 | gimple_opt_pass along with... | |
6706 | (pass_data_tsan): ...new pass_data instance and... | |
6707 | (make_pass_tsan): ...new function. | |
6708 | (pass_tsan_O0): Convert from a global struct to a subclass of | |
6709 | gimple_opt_pass along with... | |
6710 | (pass_data_tsan_O0): ...new pass_data instance and... | |
6711 | (make_pass_tsan_O0): ...new function. | |
6712 | * var-tracking.c (pass_variable_tracking): Convert from a global | |
6713 | struct to a subclass of rtl_opt_pass along with... | |
6714 | (pass_data_variable_tracking): ...new pass_data instance and... | |
6715 | (make_pass_variable_tracking): ...new function. | |
6716 | * web.c (pass_web): Convert from a global struct to a subclass of | |
6717 | rtl_opt_pass along with... | |
6718 | (pass_data_web): ...new pass_data instance and... | |
6719 | (make_pass_web): ...new function. | |
6720 | * config/epiphany/epiphany.h (pass_mode_switch_use): Replace | |
6721 | declaration with that of... | |
6722 | (make_pass_mode_switch_use): ...new function. | |
6723 | (pass_resolve_sw_modes): Replace declaration with that of... | |
6724 | (make_pass_resolve_sw_modes): ...new function. | |
6725 | * config/epiphany/mode-switch-use.c (pass_mode_switch_use): Convert | |
6726 | from a global struct to a subclass of rtl_opt_pass along with... | |
6727 | (pass_data_mode_switch_use): ...new pass_data instance and... | |
6728 | (make_pass_mode_switch_use): ...new function. | |
6729 | * config/epiphany/resolve-sw-modes.c (pass_resolve_sw_modes): Convert | |
6730 | from a global struct to a subclass of rtl_opt_pass along with... | |
6731 | (pass_data_resolve_sw_modes): ...new pass_data instance and... | |
6732 | (make_pass_resolve_sw_modes): ...new function. | |
6733 | * config/i386/i386.c (pass_insert_vzeroupper): Convert from a global | |
6734 | struct to a subclass of rtl_opt_pass along with... | |
6735 | (pass_data_insert_vzeroupper): ...new pass_data instance and... | |
6736 | (make_pass_insert_vzeroupper): ...new function. | |
6737 | * config/sparc/sparc.c (pass_work_around_errata): Convert from a | |
6738 | global struct to a subclass of rtl_opt_pass along with... | |
6739 | (pass_data_work_around_errata): ...new pass_data instance and... | |
6740 | (make_pass_work_around_errata): ...new function. | |
6741 | * config/mips/mips.c (pass_mips_machine_reorg2): Convert from a global | |
6742 | struct to a subclass of rtl_opt_pass along with... | |
6743 | (pass_data_mips_machine_reorg2): ...new pass_data instance and... | |
6744 | (make_pass_mips_machine_reorg2): ...new function. | |
6745 | ||
6a389ed5 DM |
6746 | 2013-08-05 David Malcolm <dmalcolm@redhat.com> |
6747 | ||
6748 | * passes.c (pass_manager::operator new): New. | |
6749 | ||
f7695dbf DM |
6750 | 2013-08-05 David Malcolm <dmalcolm@redhat.com> |
6751 | ||
6752 | Handwritten part of conversion of passes to C++ classes. | |
6753 | ||
6754 | * Makefile.in (PASS_MANAGER_H): Add dep on pass-instances.def. | |
6755 | (toplev.o): Add dep on PASS_MANAGER_H. | |
6756 | * cgraphunit.c (cgraph_process_new_functions): Rework invocation | |
6757 | of early local pases to reflect this moving from a global to a | |
6758 | member of gcc::pass_manager. | |
6759 | (cgraph_add_new_function): Likewise. | |
6760 | * lto-cgraph.c (lto_output_node): Update for conversion of | |
6761 | struct ipa_opt_pass_d to a C++ subclass of opt_pass. | |
6762 | * passes.c (opt_pass::clone): New. | |
6763 | (opt_pass::gate): New. | |
6764 | (opt_pass::execute): New. | |
6765 | (opt_pass::opt_pass): New. | |
6766 | (pass_manager::execute_early_local_passes): New. | |
6767 | (pass_manager::execute_pass_mode_switching): new. | |
6768 | (finish_optimization_passes): Convert to... | |
6769 | (pass_manager::finish_optimization_passes): ...this. | |
6770 | (finish_optimization_passes): Update for conversion of passes to | |
6771 | C++ classes. | |
6772 | (register_dump_files_1): Use has_gate since we cannot portably | |
6773 | check a vtable entry against NULL. | |
6774 | (dump_one_pass): Likewise. | |
6775 | (ipa_write_summaries_2): Likewise. | |
6776 | (ipa_write_optimization_summaries_1): Likewise. | |
6777 | (ipa_read_summaries_1): Likewise. | |
6778 | (ipa_read_optimization_summaries_1): Likewise. | |
6779 | (execute_ipa_stmt_fixups): Likewise. | |
6780 | (pass_manager::pass_manager): Rewrite pass-creation, invoking | |
6781 | pass-creation functions rather than wiring up globals, and | |
6782 | storing the results in fields of pass_manager generated using | |
6783 | pass-instances.def. | |
6784 | (pass_manager::dump_profile_report): Update for conversion of | |
6785 | passes to C++ classes. | |
6786 | (pass_manager::execute_ipa_summary_passes): Likewise. | |
6787 | (execute_one_ipa_transform_pass): Likewise. | |
6788 | (execute_one_pass): Use has_gate and has_execute since we cannot | |
6789 | portably check a vtable entry against NULL. | |
6790 | * pass_manager.h (pass_manager::finish_optimization_passes): New. | |
6791 | (pass_manager): Use pass-instances.def to add fields for the | |
6792 | various pass instances. | |
6793 | * toplev.c (finalize): Update for move of | |
6794 | finish_optimization_passes to a method of gcc::pass_manager. | |
6795 | * toplev.h (finish_optimization_passes): Move to method of class | |
6796 | pass_manager. | |
6797 | * tree-pass.h (struct pass_data): New. | |
03b0ee0a | 6798 | (opt_pass): Convert to C++ class, make it a subclass of pass_data. |
f7695dbf DM |
6799 | (opt_pass::gate): Convert to virtual function. |
6800 | (opt_pass::~opt_pass): New. | |
6801 | (opt_pass::clone): New. | |
6802 | (opt_pass::execute): Convert to virtual function. | |
6803 | (opt_pass::opt_pass): New. | |
6804 | (opt_pass::ctxt_): new. | |
6805 | (gimple_opt_pass): Convert to subclass of opt_pass. | |
6806 | (gimple_opt_pass::gimple_opt_pass): New. | |
6807 | (rtl_opt_pass): Convert to subclass of opt_pass. | |
6808 | (rtl_opt_pass::rtl_opt_pass): New. | |
6809 | (ipa_opt_pass_d): Convert to subclass of opt_pass. | |
6810 | (ipa_opt_pass_d::ipa_opt_pass_d): New. | |
6811 | (simple_ipa_opt_pass): Convert to subclass of opt_pass. | |
6812 | (simple_ipa_opt_pass::simple_ipa_opt_pass): New. | |
6813 | * config/i386/i386.c (rest_of_handle_insert_vzeroupper): Rework | |
6814 | invocation of pass_mode_switching to reflect this moving from a | |
6815 | global to a member of gcc::pass_manager. | |
6816 | (ix86_option_override): Rework how pass_insert_vzeroupper is | |
6817 | added to the pass_manager to reflect autogenerated changes. | |
03b0ee0a | 6818 | * config/i386/t-i386 (i386.o) Add deps on CONTEXT_H and PASS_MANAGER_H. |
f7695dbf | 6819 | |
d0b2f831 RE |
6820 | 2013-08-05 Richard Earnshaw <rearnsha@arm.com> |
6821 | ||
6822 | PR rtl-optimization/57708 | |
6823 | * recog.c (peep2_find_free_register): Validate all regs in a | |
6824 | multi-reg mode. | |
6825 | ||
51a5c0c2 JH |
6826 | 2013-08-05 Jan Hubicka <jh@suse.cz> |
6827 | ||
6828 | PR lto/57602 | |
03b0ee0a UB |
6829 | * cgraph.c (verify_cgraph_node): Accept local flags from other |
6830 | partitions. | |
51a5c0c2 JH |
6831 | * ipa.c (symtab_remove_unreachable_nodes): Do not clear local flag. |
6832 | (function_and_variable_visibility): Likewise. | |
6833 | * trans-mem.c (ipa_tm_create_version): TM versions are not local. | |
6834 | ||
65f0a120 GDR |
6835 | 2013-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6836 | ||
6837 | * graph.c (init_graph_slim_pretty_print): Remove. | |
6838 | (print_graph_cfg): Do not call it. Use local pretty printer. | |
6839 | (start_graph_dump): Likewise. | |
6840 | ||
b3f80694 GDR |
6841 | 2013-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6842 | ||
6843 | * gimple-pretty-print.c (buffer): Remove. | |
6844 | (initialized): Likewise. | |
6845 | (maybe_init_pretty_print): Likewise. | |
6846 | (print_gimple_stmt): Do not call it. Use non-static local | |
6847 | pretty_printer variable. | |
6848 | (print_gimple_expr): Likewise. | |
6849 | (print_gimple_seq): Likewise. | |
6850 | (gimple_dump_bb): Likewise. | |
6851 | ||
11a877b3 GDR |
6852 | 2013-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6853 | ||
6854 | * asan.c (asan_pp): Remove. | |
6855 | (asan_pp_initialized): Likewise. | |
6856 | (asan_pp_initialize): Likewise. | |
6857 | (asan_pp_string): Take a pretty_printer parameter. Adjust callers. | |
6858 | (asan_emit_stack_protection): Tidy. Use local pretty printer. | |
6859 | (asan_add_global): Likewise. | |
6860 | ||
b066401f GDR |
6861 | 2013-08-04 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6862 | ||
6863 | * pretty-print.h (pp_base): Remove. Adjust dependent macros. | |
6864 | * diagnostic.h (diagnostic_flush_buffer): Adjust. | |
6865 | * pretty-print.c (pp_formatted_text_data): Likewise. | |
6866 | (pp_indent): Rename from pp_base_indent. | |
6867 | (pp_format): Rename from pp_base_format. | |
6868 | (pp_output_formatted_text): Rename from pp_base_output_formatted_text. | |
6869 | (pp_format_verbatim): Rename from pp_base_format_verbatim. | |
6870 | (pp_flush): Rename from pp_base_flush. | |
6871 | (pp_set_line_maximum_length): Rename from | |
6872 | pp_base_set_line_maximum_length. | |
6873 | (pp_clear_output_area): Rename from pp_base_clear_output_area. | |
6874 | (pp_set_prefix): Rename from pp_base_set_prefix. | |
6875 | (pp_destroy_prefix): Rename from pp_base_destroy_prefix. | |
6876 | (pp_emit_prefix): Rename from pp_base_emit_prefix. | |
6877 | (pp_append_text): Rename from pp_base_append_text. | |
6878 | (pp_formatted_text): Rename from pp_base_formatted_text. | |
6879 | (pp_last_position_in_text): Rename from pp_base_last_position_in_text. | |
6880 | (pp_remaining_character_count_for_line): Rename from | |
6881 | pp_base_remaining_character_count_for_line. | |
6882 | (pp_newline): Rename from pp_base_newline. | |
6883 | (pp_character): Rename from pp_base_character. | |
6884 | (pp_string): Rename from pp_base_string. | |
6885 | (pp_maybe_space): Rename from pp_base_maybe_space. | |
6886 | * asan.c (asan_pp_string): Adjust. | |
6887 | (asan_emit_stack_protection): Likewise. | |
6888 | (asan_add_global): Likewise. | |
6889 | * sched-vis.c (str_pattern_slim): Adjust pretty printer function call. | |
6890 | * tree-mudflap.c (mf_varname_tree): Likewise. | |
6891 | * tree-pretty-print.c (pp_tree_identifier): Rename from | |
6892 | pp_base_tree_identifier. | |
6893 | * tree-pretty-print.h (pp_tree_identifier): Remove macro definition. | |
6894 | Declare as function. | |
6895 | ||
137a1a27 GDR |
6896 | 2013-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6897 | ||
6898 | * pretty-print.h (pp_bar_bar): New. | |
6899 | (pp_ampersand_ampersand): Likewise. | |
6900 | (pp_less_equal): Likewise. | |
6901 | (pp_greater_equal): Likewise. | |
6902 | * gimple-pretty-print.c (dump_ternary_rhs): Use specialized pretty | |
6903 | printer functions instead of pp_string or operators and punctuators. | |
6904 | (dump_gimple_call): Likewise. | |
6905 | (dump_gimple_omp_for): Likewise. | |
6906 | (dump_gimple_transaction): Likewise. | |
6907 | (dump_gimple_phi): Likewise. | |
6908 | (pp_gimple_stmt_1): Likewise. | |
6909 | * sched-vis.c (print_insn): Likewise. | |
6910 | * tree-mudflap.c (mf_varname_tree): Likewise. | |
6911 | * tree-pretty-print.c (dump_block_node): Likewise. | |
6912 | (dump_generic_node): Likewise. | |
6913 | ||
815effe1 JH |
6914 | 2013-08-02 Jan Hubicka <jh@suse.cz> |
6915 | ||
6916 | * lto-cgraph.c (compute_ltrans_boundary): Add abstract origins into | |
6917 | boundaries. | |
6918 | * lto-streamer-out.c (tree_is_indexable): Results decls and | |
6919 | parm decls are not indexable. | |
6920 | (DFS_write_tree_body): Do not follow args and results. | |
6921 | (hash_tree): Likewise. | |
6922 | (output_functions): Rearrange so struct function is needed | |
6923 | only when real body is output; be able to also ouptut abstract | |
6924 | functions; output DECL_ARGUMENTS and DECL_RESULT. | |
6925 | (lto_output): When not in WPA, ale store abstract functions. | |
6926 | (write_symbol): Do not care about RESULT_DECL. | |
6927 | (output_symbol_p): Handle correctly sbtract decls. | |
6928 | * lto-streamer-in.c (input_function): Rearrange so struct | |
6929 | function can be NULL at entry; allow streaming of | |
6930 | functions w/o body; store DECL_ARGUMENTS and DECL_RESULT. | |
6931 | * ipa.c (symtab_remove_unreachable_nodes): Silence confused | |
6932 | sanity check during LTO. | |
6933 | * tree-streamer-out.c (write_ts_decl_non_common_tree_pointers): Skip | |
6934 | RESULT_DECl and DECL_ARGUMENTS. | |
6935 | * tree-streamer-in.c (lto_input_ts_decl_non_common_tree_pointers): | |
6936 | Likewise. | |
6937 | ||
07838b13 GDR |
6938 | 2013-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6939 | ||
6940 | * pretty-print.h (pp_underscore): New. | |
6941 | (pp_comma): Tidy. | |
6942 | * gimple-pretty-print.c (dump_unary_rhs): Use specialized pretty | |
6943 | printer functions instead of pp_character. | |
6944 | (dump_binary_rhs): Likewise. | |
6945 | (dump_ternary_rhs): Likewise. | |
6946 | (dump_gimple_call_args): Likewise. | |
6947 | (pp_points_to_solution): Likewise. | |
6948 | (dump_gimple_call): Likewise. | |
6949 | (dump_gimple_switch): Likewise. | |
6950 | (dump_gimple_cond): Likewise. | |
6951 | (dump_gimple_bind): Likewise. | |
6952 | (dump_gimple_try): Likewise. | |
6953 | (dump_gimple_omp_for): Likewise. | |
6954 | (dump_gimple_omp_continue): Likewise. | |
6955 | (dump_gimple_omp_single): Likewise. | |
6956 | (dump_gimple_omp_sections): Likewise. | |
6957 | (dump_gimple_omp_block): Likewise. | |
6958 | (dump_gimple_omp_critical): Likewise. | |
6959 | (dump_gimple_transaction): Likewise. | |
6960 | (dump_gimple_asm): Likewise. | |
6961 | (dump_gimple_phi): Likewise. | |
6962 | (dump_gimple_omp_parallel): Likewise. | |
6963 | (dump_gimple_omp_task): Likewise. | |
6964 | (dump_gimple_omp_atomic_load): Likewise. | |
6965 | (dump_gimple_omp_atomic_store): Likewise. | |
6966 | (dump_gimple_mem_ops): Likewise. | |
6967 | (pp_gimple_stmt_1): Likewise. | |
6968 | (pp_cfg_jump): Likewise. | |
6969 | (dump_implicit_edges): Likewise. | |
6970 | (gimple_dump_bb_for_graph): Likewise. | |
6971 | * graph.c (draw_cfg_node): Likewise. | |
6972 | * langhooks.c (lhd_print_error_function): Likewise. | |
6973 | * sched-vis.c (print_exp): Likewise. | |
6974 | (print_value): Likewise. | |
6975 | (print_pattern): Likewise. | |
6976 | (print_insn): Likewise. | |
6977 | (rtl_dump_bb_for_graph): Likewise. | |
6978 | * tree-pretty-print.c (dump_function_declaration): Likewise. | |
6979 | (dump_array_domain): Likewise. | |
6980 | (dump_omp_clause): Likewise. | |
6981 | (dump_location): Likewise. | |
6982 | (dump_generic_node): Likewise. | |
6983 | (print_struct_decl): Likewise. | |
6984 | * diagnostic.c (diagnostic_show_locus): Use pp_space. | |
6985 | ||
bb0d2039 BS |
6986 | 2013-08-03 Bill Schmidt <wschmidt@vnet.linux.ibm.com> |
6987 | ||
6988 | * gimple-ssa-strength-reduction.c (replace_mult_candidate): Update | |
6989 | candidate table when replacing a candidate statement. | |
6990 | (replace_rhs_if_not_dup): Likewise. | |
6991 | (replace_one_candidate): Likewise. | |
6992 | ||
bc0ec027 | 6993 | 2013-08-02 Jan Hubicka <jh@suse.cz> |
cdaa808a | 6994 | Martin Liska <marxin.liska@gmail.com> |
bc0ec027 JH |
6995 | |
6996 | * cgraphunit.c (add_new_function): Fix logic when adding from | |
6997 | late IPA pass. | |
6998 | (assemble_thunk): Rename to ... | |
03b0ee0a UB |
6999 | (expand_thunk); .. this one; export; get it working with |
7000 | general functions; make produced gimple valid. | |
bc0ec027 JH |
7001 | * cgraph.h (expand_thunk): Declare. |
7002 | ||
0e8853ee JH |
7003 | 2013-08-02 Jan Hubicka <jh@suse.cz> |
7004 | ||
03b0ee0a UB |
7005 | * ipa-cp.c (gather_context_independent_values): Use |
7006 | ipa_get_param_move_cost. | |
7007 | (get_replacement_map): Remove PARAM; move parameter folding | |
7008 | into tree-inline.c | |
0e8853ee JH |
7009 | (create_specialized_node): Update. |
7010 | * ipa-prop.c (ipa_populate_param_decls): Do not look for origins; | |
7011 | assert that we have gimple body; update move_cost. | |
7012 | (count_formal_params): Assert that we have gimple body. | |
7013 | (ipa_dump_param): New function. | |
7014 | (ipa_alloc_node_params): Break out from ... | |
7015 | (ipa_initialize_node_params): ... here. | |
7016 | (ipa_get_vector_of_formal_parms): ICE when used in WPA. | |
7017 | (ipa_write_node_info): Stream move costs. | |
7018 | (ipa_read_node_info): Read move costs. | |
7019 | (ipa_update_after_lto_read): Do not recompute node params. | |
7020 | * ipa-prop.h (ipa_param_descriptor): Add move_cost. | |
7021 | (ipa_get_param): Check we are not in WPA. | |
7022 | (ipa_get_param_move_cost): New. | |
7023 | * tree-inline.c (tree_function_versioning): Fold replacement as needed. | |
7024 | * ipa-inline-analysis.c (inline_node_duplication_hook): Expect only | |
7025 | parm numbers to be present. | |
7026 | ||
ecee672b VM |
7027 | 2013-08-02 Vladimir Makarov <vmakarov@redhat.com> |
7028 | ||
7029 | PR rtl-optimization/58048 | |
7030 | * lra-constraints.c (process_alt_operands): Don't check asm | |
7031 | operand on register. | |
7032 | ||
13ec0527 EB |
7033 | 2013-08-02 Eric Botcazou <ebotcazou@adacore.com> |
7034 | ||
7035 | * config/sparc/sparc.c (sparc_emit_membar_for_model) <SMM_TSO>: Add | |
7036 | the implied StoreLoad barrier for atomic operations if before. | |
7037 | ||
af15184a JH |
7038 | 2013-08-02 Jan Hubicka <jh@suse.cz> |
7039 | Martin Liska <marxin.liska@gmail.com> | |
7040 | ||
03b0ee0a UB |
7041 | * cgraph.c (cgraph_function_body_availability): Do not check |
7042 | cgraph flags. | |
af15184a JH |
7043 | * cgraph.h (symtab_for_node_and_aliases, symtab_nonoverwritable_alias, |
7044 | symtab_node_availability): Declare. | |
7045 | * ipa.c (can_replace_by_local_alias): New. | |
7046 | (function_and_variable_visibility): Use it. | |
03b0ee0a UB |
7047 | * symtab.c (symtab_for_node_and_aliases, |
7048 | symtab_nonoverwritable_alias_1, symtab_nonoverwritable_alias): New. | |
af15184a | 7049 | |
01e54ef8 VM |
7050 | 2013-08-02 Vladimir Makarov <vmakarov@redhat.com> |
7051 | ||
7052 | PR rtl-optimization/57963 | |
03b0ee0a | 7053 | * lra-constraints.c (reverse_equiv_p, contains_reloaded_insn_p): New. |
01e54ef8 VM |
7054 | (lra_constraints): Use them. |
7055 | ||
e2fd7ca7 SN |
7056 | 2013-08-02 Sofiane Naci <sofiane.naci@arm.com> |
7057 | ||
03b0ee0a UB |
7058 | * config/arm/types.md (define_attr "type"): Add "load_acq" |
7059 | and "store_rel". | |
e2fd7ca7 SN |
7060 | * config/arm/cortex-a53.md (cortex_a53_load1): Update for attribute |
7061 | changes. | |
7062 | (cortex_a53_store1): Likewise. | |
7063 | ||
0dcc26c3 JH |
7064 | 2013-08-01 Jan Hubicka <jh@suse.cz> |
7065 | ||
03b0ee0a UB |
7066 | * ipa.c (symtab_remove_unreachable_nodes): Nodes in other |
7067 | partitions are not needed. | |
0dcc26c3 | 7068 | |
0bd72901 UB |
7069 | 2013-08-01 Uros Bizjak <ubizjak@gmail.com> |
7070 | ||
7071 | * config/i386/i386.h (MAYBE_NON_Q_CLASS_P): New. | |
7072 | * config/i386/i386.c (ix86_secondary_reload): Use INTEGER_CLASS_P and | |
7073 | MAYBE_NON_Q_CLASS_P where appropriate. | |
7074 | ||
12123452 JH |
7075 | 2013-08-01 Jan Hubicka <jh@suse.cz> |
7076 | ||
7077 | * cgraph.h (release_function_body): Declare. | |
7078 | * tree.c (free_lang_data_in_decl): Free, parameters and return values | |
7079 | of unused delcarations. | |
7080 | ||
ce852f9c KT |
7081 | 2013-08-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
7082 | ||
03b0ee0a UB |
7083 | * config/arm/arm.md (minmax_arithsi_non_canon): Emit canonical |
7084 | RTL form when subtracting a constant. | |
ce852f9c | 7085 | |
c743b246 KT |
7086 | 2013-08-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
7087 | ||
7088 | * config/arm/arm.md (peepholes for eq (reg1) (reg2/imm)): | |
7089 | Generate canonical plus rtx with negated immediate instead of minus | |
7090 | where appropriate. | |
7091 | * config/arm/arm.c (thumb2_reorg): Handle ADCS <Rd>, <Rn> case. | |
7092 | ||
c0c123ef JH |
7093 | 2013-08-01 Jan Hubicka <jh@suse.cz> |
7094 | ||
7095 | * cgraph.c (cgraph_release_function_body): Use used_as_abstract_origin. | |
7096 | (cgraph_release_function_body): Likewise. | |
7097 | (cgraph_can_remove_if_no_direct_calls_p): Likewise. | |
7098 | * cgraph.h (cgrpah_node): Rename abstract_and_needed | |
7099 | to used_as_abstract_origin. | |
7100 | * tree-inline-transfrom.c (can_remove_node_now_p_1): Do not remove | |
7101 | symbols used as abstract origins. | |
7102 | * cgraphunit.c (analyze_functions): Update. | |
0bd72901 UB |
7103 | * ipa.c (symtab_remove_unreachable_nodes): Recompute |
7104 | used_as_abstract_origin. | |
c0c123ef | 7105 | * tree-inline.c (tree_function_versioning): Update |
0bd72901 UB |
7106 | used_as_abstract_origin; be ready for DECL_RESULT and |
7107 | DECL_ARGUMENTS to be NULL. | |
c0c123ef | 7108 | |
0bd72901 UB |
7109 | * lto-symtab.c (lto_symtab_merge_symbols): Merge duplicated nodes |
7110 | for abstract functions. | |
7111 | * cgraph.h (symtab_real_symbol_p): Abstract declarations are not | |
7112 | real symbols. | |
c0c123ef | 7113 | |
1f029433 JH |
7114 | 2013-08-01 Jan Hubicka <jh@suse.cz> |
7115 | ||
7116 | * profile.c (compute_value_histograms): Fix thinko. | |
7117 | ||
c451f4d6 SN |
7118 | 2013-08-01 Sofiane Naci <sofiane.naci@arm.com> |
7119 | ||
7120 | * config.gcc (aarch64*-*-*): Add aarch-common.o to extra_objs. Add | |
7121 | aarch-common-protos.h to extra_headers. | |
7122 | (aarch64*-*-*): Add arm/aarch-common-protos.h to tm_p_file. | |
7123 | * config/aarch64/aarch64.md: Include "../arm/cortex-a53.md". | |
7124 | * config/aarch64/t-aarch64 (aarch-common.o): Define. | |
7125 | ||
34b512f5 SN |
7126 | 2013-08-01 Sofiane Naci <sofiane.naci@arm.com> |
7127 | ||
7128 | * config/aarch64/aarch64.md (define_attr "type"): Delete. | |
7129 | Include "../arm/types.md". Define "type" attribute for all patterns. | |
7130 | * config/aarch64/aarch64-simd.md (move_lo_quad_<mode>): Update for | |
7131 | attribute changes. | |
7132 | ||
d86e633a MM |
7133 | 2013-07-31 Michael Meissner <meissner@linux.vnet.ibm.com> |
7134 | ||
7135 | * config/rs6000/predicates.md (fusion_gpr_addis): New predicates | |
7136 | to support power8 load fusion. | |
7137 | (fusion_gpr_mem_load): Likewise. | |
7138 | ||
7139 | * config/rs6000/rs6000-modes.def (PTImode): Update a comment. | |
7140 | ||
7141 | * config/rs6000/rs6000-protos.h (fusion_gpr_load_p): New | |
7142 | declarations for power8 load fusion. | |
7143 | (emit_fusion_gpr_load): Likewise. | |
7144 | ||
7145 | * config/rs6000/rs6000.c (rs6000_option_override_internal): If | |
7146 | tuning for power8, turn on fusion mode by default. Turn on sign | |
7147 | extending fusion mode if normal fusion mode is on, and we are at | |
7148 | -O2 or -O3. | |
7149 | (fusion_gpr_load_p): New function, return true if we can fuse an | |
7150 | addis instruction with a dependent load to a GPR. | |
7151 | (emit_fusion_gpr_load): Emit the instructions for power8 load | |
7152 | fusion to GPRs. | |
7153 | ||
0bd72901 | 7154 | * config/rs6000/vsx.md (VSX_M2): New iterator for fusion peepholes. |
d86e633a MM |
7155 | (VSX load fusion peepholes): New peepholes to fuse together an |
7156 | addi instruction with a VSX load instruction. | |
7157 | ||
7158 | * config/rs6000/rs6000.md (GPR load fusion peepholes): New | |
7159 | peepholes to fuse an addis instruction with a load to a GPR base | |
7160 | register. If we are supporting sign extending fusions, convert | |
7161 | sign extending loads to zero extending loads and add an explicit | |
7162 | sign extension. | |
7163 | ||
c3f35647 SN |
7164 | 2013-07-31 Sofiane Naci <sofiane.naci@arm.com> |
7165 | ||
7166 | * config.gcc (arm*-*-*): Add aarch-common.o to extra_objs. Add | |
7167 | aarch-common-protos.h to extra_headers. | |
7168 | (arm*-*-*): Add arm/aarch-common-protos.h to tm_p_file. | |
7169 | * config/arm/arm.c (arm_early_load_addr_dep): Move from here to ... | |
7170 | (arm_early_store_addr_dep): Likewise. | |
0bd72901 UB |
7171 | (arm_no_early_alu_shift_dep): Likewise. |
7172 | (arm_no_early_alu_shift_value_dep): Likewise. | |
7173 | (arm_no_early_mul_dep): Likewise. | |
7174 | (arm_no_early_store_addr_dep): Likewise. | |
7175 | (arm_mac_accumulator_is_mul_result): Likewise. | |
7176 | (arm_mac_accumulator_is_result): Likewise. | |
c3f35647 | 7177 | * config/arm/aarch-common.c: ... here. New file. |
0bd72901 UB |
7178 | * config/arm/arm-protos.h (arm_early_load_addr_dep): Move from |
7179 | here to ... | |
c3f35647 | 7180 | (arm_early_store_addr_dep): Likewise. |
0bd72901 UB |
7181 | (arm_no_early_alu_shift_dep): Likewise. |
7182 | (arm_no_early_alu_shift_value_dep): Likewise. | |
7183 | (arm_no_early_mul_dep): Likewise. | |
7184 | (arm_no_early_store_addr_dep): Likewise. | |
7185 | (arm_mac_accumulator_is_mul_result): Likewise. | |
7186 | (arm_mac_accumulator_is_result): Likewise. | |
c3f35647 SN |
7187 | * config/arm/aarch-common-protos.h: ... here. New file. |
7188 | * config/arm/t-arm (aarch-common.o): Define. | |
7189 | ||
7190 | 2013-07-31 Sofiane Naci <sofiane.naci@arm.com> | |
7191 | ||
7192 | * config/arm/arm.md: Include new file "types.md". | |
7193 | (define_attr "type"): Move from here to ... | |
7194 | (define_attr "mul32"): Likewise. | |
7195 | (define_attr "mul64"): Likewise. | |
7196 | * config/arm/types.md: ... here. New file. | |
7197 | ||
228c1313 SH |
7198 | 2013-07-31 Sebastian Huber <sebastian.huber@embedded-brains.de> |
7199 | ||
7200 | * config.gcc (*-*-rtems*): Use __cxa_atexit by default. | |
7201 | * config/rs6000/rtems.h (TARGET_LIBGCC_SDATA_SECTION): Define. | |
7202 | ||
d6e9046d | 7203 | 2013-07-31 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
8ac499bb JBG |
7204 | |
7205 | * gen-pass-instances.awk: Fix offset of substr(). | |
7206 | ||
a167b052 DM |
7207 | 2013-07-31 David Malcolm <dmalcolm@redhat.com> |
7208 | ||
7209 | * Makefile.in (pass-instances.def): New. | |
7210 | (passes.o): Replace dependency on passes.def with one on | |
7211 | pass-instances.def | |
7212 | ||
7213 | * gen-pass-instances.awk: New. | |
7214 | ||
7215 | * passes.c (pass_manager::pass_manager): Use pass-instances.def | |
7216 | rather than passes.def, updating local definition of NEXT_PASS | |
7217 | macro to add an extra NUM parameter (currently unused). | |
7218 | ||
315f8c0e DM |
7219 | 2013-07-30 David Malcolm <dmalcolm@redhat.com> |
7220 | ||
7221 | * Makefile.in (PASS_MANAGER_H): New. | |
7222 | (lto-cgraph.o): Depend on CONTEXT_H and PASS_MANAGER_H. | |
7223 | (passes.o): Likewise. | |
7224 | (statistics.o): Likewise. | |
7225 | (cgraphunit.o): Likewise. | |
7226 | (context.o): Depend on PASS_MANAGER_H. | |
7227 | ||
7228 | * pass_manager.h: New. | |
7229 | ||
7230 | * cgraphunit.c (cgraph_add_new_function): Update for moves | |
7231 | of globals to fields of pass_manager. | |
7232 | (analyze_function): Likewise. | |
7233 | (expand_function): Likewise. | |
7234 | (ipa_passes): Likewise. | |
7235 | (compile): Likewise. | |
7236 | ||
7237 | * context.c (context::context): New. | |
7238 | * context.h (context::context): New. | |
7239 | (context::get_passes): New. | |
7240 | (context::passes_): New. | |
7241 | ||
7242 | * lto-cgraph.c (input_node): Update for moves of globals to | |
7243 | fields of pass_manager. | |
7244 | ||
7245 | * passes.c (all_passes): Remove, in favor of a field of the | |
7246 | same name within the new class pass_manager. | |
7247 | (all_small_ipa_passes): Likewise. | |
7248 | (all_lowering_passes): Likewise. | |
7249 | (all_regular_ipa_passes): Likewise. | |
7250 | (all_late_ipa_passes): Likewise. | |
7251 | (all_lto_gen_passes): Likewise. | |
7252 | (passes_by_id): Likewise. | |
7253 | (passes_by_id_size): Likewise. | |
7254 | (gcc_pass_lists): Remove, in favor of "pass_lists" field within | |
7255 | the new class pass_manager. | |
7256 | (set_pass_for_id): Convert to... | |
7257 | (pass_manager::set_pass_for_id): ...method. | |
7258 | (get_pass_for_id): Convert to... | |
7259 | (pass_manager::get_pass_for_id): ...method. | |
7260 | (register_one_dump_file): Move body of implementation into... | |
7261 | (pass_manager::register_one_dump_file): ...here. | |
7262 | (register_dump_files_1): Convert to... | |
7263 | (pass_manager::register_dump_files_1): ...method. | |
7264 | (register_dump_files): Convert to... | |
7265 | (pass_manager::register_dump_files): ...method. | |
7266 | (create_pass_tab): Update for moves of globals to fields of | |
7267 | pass_manager. | |
7268 | (dump_passes): Move body of implementation into... | |
7269 | (pass_manager::dump_passes): ...here. | |
7270 | (register_pass): Move body of implementation into... | |
7271 | (pass_manager::register_pass): ...here. | |
7272 | (init_optimization_passes): Convert into... | |
7273 | (pass_manager::pass_manager): ...constructor for new | |
7274 | pass_manager class, and initialize the pass_lists array. | |
7275 | (check_profile_consistency): Update for moves of globals to | |
7276 | fields of pass_manager. | |
7277 | (dump_profile_report): Move body of implementation into... | |
7278 | (pass_manager::dump_profile_report): ...here. | |
7279 | (ipa_write_summaries_1): Update for moves of pass lists from | |
7280 | being globals to fields of pass_manager. | |
7281 | (ipa_write_optimization_summaries): Likewise. | |
7282 | (ipa_read_summaries): Likewise. | |
7283 | (ipa_read_optimization_summaries): Likewise. | |
7284 | (execute_all_ipa_stmt_fixups): Likewise. | |
7285 | ||
7286 | * statistics.c (statistics_fini): Update for moves of globals to | |
7287 | fields of pass_manager. | |
7288 | ||
7289 | * toplev.c (general_init): Replace call to | |
7290 | init_optimization_passes with construction of the pass_manager | |
7291 | instance. | |
7292 | ||
7293 | * tree-pass.h (all_passes): Remove, in favor of a field of the | |
7294 | same name within the new class pass_manager. | |
7295 | (all_small_ipa_passes): Likewise. | |
7296 | (all_lowering_passes): Likewise. | |
7297 | (all_regular_ipa_passes): Likewise. | |
7298 | (all_lto_gen_passes): Likewise. | |
7299 | (all_late_ipa_passes): Likewise. | |
7300 | (passes_by_id): Likewise. | |
7301 | (passes_by_id_size): Likewise. | |
7302 | (gcc_pass_lists): Remove, in favor of "pass_lists" field within | |
7303 | the new class pass_manager. | |
7304 | (get_pass_for_id): Remove. | |
7305 | ||
02cab1c1 RE |
7306 | 2013-07-30 Richard Earnshaw <rearnsha@arm.com> |
7307 | ||
7308 | * config.gcc (arm): Require 64-bit host-wide-int for all ARM target | |
7309 | configs. | |
7310 | ||
b2d3f886 RE |
7311 | 2013-07-30 Richard Earnshaw <rearnsha@arm.com> |
7312 | ||
7313 | * arm.md (mulhi3): New expand pattern. | |
7314 | ||
605e86fa JH |
7315 | 2013-07-30 Jan Hubicka <jh@suse.cz> |
7316 | Martin Liska <marxin.liska@gmail.com> | |
7317 | ||
7318 | * profile.c (compute_value_histograms): Do not ICE when | |
7319 | there is mismatch only on some counters. | |
7320 | ||
14a87636 ZC |
7321 | 2013-07-30 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
7322 | ||
7323 | PR rtl-optimization/57637 | |
7324 | * function.c (move_insn_for_shrink_wrap): Also check the | |
7325 | GEN set of the LIVE problem for the liveness analysis | |
7326 | if it exists, otherwise give up. | |
7327 | ||
0100cd3f BS |
7328 | 2013-07-29 Bill Schmidt <wschmidt@vnet.linux.ibm.com> |
7329 | ||
7330 | PR tree-optimization/57993 | |
7331 | * gimple-ssa-strength-reduction.c (replace_mult_candidate): Record | |
7332 | replaced statement in the candidate table. | |
7333 | (phi_add_costs): Return infinite cost when the hidden basis does | |
7334 | not dominate all phis on which the candidate is dependent. | |
7335 | (replace_one_candidate): Record replaced statement in the | |
7336 | candidate table. | |
7337 | ||
f0d811f7 JR |
7338 | 2013-07-29 Joern Rennecke <joern.rennecke@embecosm.com> |
7339 | ||
7340 | * config/epiphany/epiphany.md (*isub_i+2): New peephole. | |
7341 | (ashlv2si3): New expander. | |
7342 | (*ashlv2si3_i): New define_insn_and_split. | |
7343 | * predicates.md (float_operation): Allow patterns with three | |
7344 | basic sub-patterns. | |
7345 | ||
bba33211 JR |
7346 | PR rtl-optimization/58021 |
7347 | * mode-switching.c (create_pre_exit): Always split off preceding | |
7348 | insns if we are not at the basic block head. | |
7349 | ||
ff3f3951 MR |
7350 | 2013-07-29 Maciej W. Rozycki <macro@codesourcery.com> |
7351 | ||
7352 | * config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Handle `-mnan=2008'. | |
7353 | (UCLIBC_DYNAMIC_LINKER): New macro. | |
7354 | * config/mips/linux64.h (GLIBC_DYNAMIC_LINKER32): Handle | |
7355 | `-mnan=2008'. | |
7356 | (GLIBC_DYNAMIC_LINKER64, GLIBC_DYNAMIC_LINKERN32): Likewise. | |
7357 | (UCLIBC_DYNAMIC_LINKER32): Undefine macro first. Handle | |
7358 | `-mnan=2008'. | |
7359 | (UCLIBC_DYNAMIC_LINKER64): Redefine macro. | |
7360 | (UCLIBC_DYNAMIC_LINKERN32): Likewise. | |
7361 | * config/mips/mips-modes.def: Remove RESET_FLOAT_FORMAT calls | |
7362 | for SF and DF modes. Use ieee_quad_format for TF mode. | |
7363 | * config/mips/mips-opts.h (mips_ieee_754_setting): New enum. | |
7364 | * config/mips/mips.c (mips_file_start): Output a `.nan' directive. | |
7365 | (mips_option_override): Handle `-mnan=legacy'. | |
7366 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Handle | |
7367 | `-mabs=2008' and `-mnan=2008'. | |
7368 | (OPTION_DEFAULT_SPECS): Add "nan" default. | |
7369 | (ASM_SPEC): Handle `-mnan='. | |
7370 | [!HAVE_AS_NAN] (HAVE_AS_NAN): New macro. | |
7371 | * config/mips/mips.md (abs<mode>2): Handle `-mabs=2008', update | |
7372 | comment accordingly. | |
7373 | (neg<mode>2): Likewise. | |
7374 | * config/mips/mips.opt (mabs, mnan): New options. | |
7375 | * doc/install.texi (Configuration): Document `--with-nan=' option. | |
7376 | * doc/invoke.texi (Option Summary): List MIPS `-mabs=' and | |
7377 | `-mnan=' options. | |
7378 | (MIPS Options): Document them. | |
7379 | * config.gcc <mips*-*-*>: Handle `--with-nan='. | |
7380 | * configure.ac <mips*-*-*>: Check for GAS `-mnan=2008' support. | |
7381 | * configure: Regenerate. | |
7382 | * config.in: Regenerate. | |
7383 | ||
576e2f37 UB |
7384 | 2013-07-29 Uros Bizjak <ubizjak@gmail.com> |
7385 | ||
7386 | * config/i386/i386.md (float post-reload splitters): Do not check | |
7387 | for subregs of SSE registers. | |
7388 | ||
7389 | 2013-07-29 Uros Bizjak <ubizjak@gmail.com> | |
7390 | H.J. Lu <hongjiu.lu@intel.com> | |
7391 | ||
7392 | PR target/57954 | |
7393 | PR target/57988 | |
7394 | * config/i386/i386.md (post-reload splitter | |
7395 | to avoid partial SSE reg dependency stalls): New pattern. | |
7396 | ||
a71f0749 DV |
7397 | 2013-07-29 Dominik Vogt <vogt@linux.vnet.ibm.com> |
7398 | ||
7399 | * config/s390/s390.md ("movcc"): Swap load and store instructions. | |
7400 | ||
4c97f1cc JR |
7401 | 2013-07-27 Joern Rennecke <joern.rennecke@embecosm.com> |
7402 | ||
7403 | * config/epiphany/epiphany.c (epiphany_compute_frame_size): | |
7404 | Also reserve space for saving UNKNOWN_REGNUM for leaf functions. | |
7405 | ||
b0c733d8 CC |
7406 | 2013-07-26 Cary Coutant <ccoutant@google.com> |
7407 | ||
7408 | * dwarf2out.c (die_checksum_ordered): Don't include template | |
7409 | instantiations in signature. | |
7410 | (is_template_parameter): New function. | |
7411 | (is_template_instantiation): New function. | |
7412 | (generate_skeleton_bottom_up): Don't include template instantiations | |
7413 | in type unit DIE. | |
7414 | (generate_skeleton): Likewise. | |
7415 | (break_out_comdat_types): Move recursive call to break out nested | |
7416 | types earlier. | |
7417 | (prune_unused_types_mark_generic_parms_dies): Call | |
7418 | is_template_parameter. | |
7419 | ||
040d8a1c IB |
7420 | 2013-07-26 Ian Bolton <ian.bolton@arm.com> |
7421 | ||
7422 | * config/aarch64/aarch64.md (neg<mode>2): Offer alternative that | |
7423 | uses vector registers. | |
89fdc743 | 7424 | * config/aarch64/iterators.md: Add attributes rtn and vas. |
040d8a1c | 7425 | |
85bd4ac6 | 7426 | 2013-07-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
576e2f37 | 7427 | Richard Earnshaw <richard.earnshaw@arm.com> |
85bd4ac6 KT |
7428 | |
7429 | * combine.c (simplify_comparison): Re-canonicalize operands | |
576e2f37 | 7430 | where appropriate. |
85bd4ac6 KT |
7431 | * config/arm/arm.md (movcond_addsi): New splitter. |
7432 | ||
b6051207 SA |
7433 | 2013-07-25 Sterling Augustine <saugustine@google.com> |
7434 | ||
7435 | * dwarf2out.c (size_of_pubnames): Move code to... | |
7436 | (include_pubname_in_output): ...here. New. | |
7437 | (want_pubnames): Rearrange. | |
7438 | (output_pubnames): Call include_pubname_in_output. Move assertion. | |
7439 | ||
41a7c215 CM |
7440 | 2013-07-25 Cameron McInally <cameron.mcinally@nyu.edu> |
7441 | ||
7442 | * doc/extend.texi: Fix return types for __builtin_ia32_cmp*s builtins. | |
7443 | ||
7444 | 2013-07-25 Cameron McInally <cameron.mcinally@nyu.edu> | |
7445 | ||
7446 | PR target/38836 | |
7447 | * doc/extend.texi: Remove obsolete builtins. Fix | |
7448 | typo for __builtin_ia32_loadss and __builtin_ia32_cmpnltss. | |
7449 | ||
49bde175 JH |
7450 | 2013-07-25 Jan Hubicka <jh@suse.cz> |
7451 | ||
7452 | * cgraph.c (release_function_body): Break out from ... | |
7453 | (cgraph_release_function_body): ... this one; also release DECL_RESULT | |
7454 | and DECL_ARGUMENTS. | |
7455 | * ipa-cp.c (get_replacement_map): Add parm_num argument; do not set | |
7456 | old_tree in the map. | |
7457 | (create_specialized_node): Update. | |
7458 | * lto-cgraph.c (output_node_opt_summary): Do not translate old_tree | |
7459 | into index. | |
41a7c215 CM |
7460 | * cgraphclones.c (cgraph_create_virtual_clone): Do not copy |
7461 | DECL_ARGUMENTS, DECL_INITIAL and DECL_RESULT. | |
49bde175 JH |
7462 | * ipa-prop.c (ipa_populate_param_decls): Look for origin of clones. |
7463 | * tree-inline.c (initialize_cfun): Initialize DECL_ARGUMENTS and | |
7464 | DECL_RESULT. | |
7465 | ||
4870352d KT |
7466 | 2013-07-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
7467 | ||
7468 | * config/arm/arm.md (arm_addsi3, addsi3_carryin_<optab>, | |
7469 | addsi3_carryin_alt2_<optab>): Correct output template. | |
7470 | ||
1d6aee1c KT |
7471 | 2013-07-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
7472 | ||
7473 | * config/arm/arm-fixed.md (ssmulsa3, usmulusa3): | |
7474 | Adjust for arm_restrict_it. | |
7475 | Remove trailing whitespace. | |
7476 | ||
c7cafd75 MK |
7477 | 2013-07-25  Mark Kettenis  <kettenis@openbsd.org> |
7478 | ||
017d38f5 MK |
7479 | * config/pa/pa.c (pa_trampoline_init): Emit __enable_execute_stack |
7480 | libcall if HAVE_ENABLE_EXECUTE_STACK is defined. | |
7481 | ||
c7cafd75 MK |
7482 | * config.gcc (hppa-*-openbsd*): Don't set tmake_file. |
7483 | ||
00b7527b VM |
7484 | 2013-07-25 Vladimir Makarov <vmakarov@redhat.com> |
7485 | ||
7486 | PR rtl-optimization/57960 | |
7487 | * lra-constraints.c (process_alt_operands): Use the right mode | |
7488 | when checking strict_low. | |
7489 | ||
4f63dfc6 JH |
7490 | 2013-07-25 Jan Hubicka <jh@suse.cz> |
7491 | ||
7492 | * lto-symtab.c (lto_cgraph_replace_node): Release function body. | |
7493 | * cgraph.c (cgraph_remove_node): Do not release function body | |
7494 | when in cgraph streaming. | |
7495 | * ipa.c (process_references, symtab_remove_unreachable_nodes): Objects | |
41a7c215 CM |
7496 | in other partitions are not considered reachable; fix handling of |
7497 | clones. | |
4f63dfc6 | 7498 | |
e6dcfa18 RR |
7499 | 2013-07-25 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
7500 | ||
7501 | * config/arm/arm.md (*sibcall_insn): Remove unnecessary space. | |
7502 | ||
0b93d3b6 RR |
7503 | 2013-07-25 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
7504 | ||
7505 | PR target/19599 | |
7506 | PR target/57731 | |
bb80c2eb | 7507 | PR target/57837 |
e6dcfa18 | 7508 | * config/arm/arm.md ("*sibcall_insn): Replace use of |
0b93d3b6 | 7509 | Ss with US. Adjust output for v5 and v4t. |
41a7c215 | 7510 | (*sibcall_value_insn): Likewise and loosen predicate on operand0. |
e6dcfa18 | 7511 | |
0b93d3b6 RR |
7512 | * config/arm/constraints.md ("Ss"): Rename to US. |
7513 | ||
690688b3 TG |
7514 | 2013-07-25 Terry Guo <terry.guo@arm.com> |
7515 | ||
7516 | * config/arm/arm.c (thumb1_size_rtx_costs): Assign proper cost for | |
7517 | shift_add/shift_sub0/shift_sub1 RTXs. | |
7518 | ||
a4ad093b | 7519 | 2013-07-24 Bill Schmidt <wschmidt@linux.ibm.com> |
12211b99 | 7520 | Anton Blanchard <anton@au1.ibm.com> |
a4ad093b BS |
7521 | |
7522 | * config/rs6000/altivec.md (altivec_vpkpx): Handle little endian. | |
7523 | (altivec_vpks<VI_char>ss): Likewise. | |
7524 | (altivec_vpks<VI_char>us): Likewise. | |
7525 | (altivec_vpku<VI_char>us): Likewise. | |
7526 | (altivec_vpku<VI_char>um): Likewise. | |
7527 | ||
8c5005ce DM |
7528 | 2013-07-24 David Malcolm <dmalcolm@redhat.com> |
7529 | ||
7530 | Introduce context class. | |
7531 | ||
7532 | * Makefile.in (CONTEXT_H): New. | |
7533 | (OBJS): Add context.o. | |
7534 | (toplev.o): Add CONTEXT_H to dependencies. | |
7535 | (context.o): New. | |
7536 | ||
41a7c215 | 7537 | * toplev.c (general_init): Create the singleton gcc::context instance. |
8c5005ce DM |
7538 | |
7539 | * context.c: New. | |
7540 | ||
7541 | * context.h: New. | |
7542 | ||
ce4a9422 JR |
7543 | 2013-07-24 Joern Rennecke <joern.rennecke@embecosm.com> |
7544 | ||
7545 | PR rtl-optimization/57968 | |
7546 | * mode-switching.c (create_pre_exit): Allow instructions that | |
7547 | don't set a return register to need a non-exit mode. | |
7548 | ||
493f4c9e | 7549 | 2013-07-24 Bill Schmidt <wschmidt@vnet.linux.ibm.com> |
12211b99 | 7550 | Anton Blanchard <anton@au1.ibm.com> |
493f4c9e | 7551 | |
b5860fd3 WS |
7552 | * config/rs6000/vector.md (vec_realign_load_<mode>): Reorder input |
7553 | operands to vperm for little endian. | |
7554 | * config/rs6000/rs6000.c (rs6000_expand_builtin): Use lvsr instead | |
7555 | of lvsl to create the control mask for a vperm for little endian. | |
493f4c9e | 7556 | |
73792b92 | 7557 | 2013-07-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
12211b99 | 7558 | Anton Blanchard <anton@au1.ibm.com> |
73792b92 BS |
7559 | |
7560 | * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Reverse | |
7561 | two operands for little-endian. | |
7562 | ||
14c21302 SE |
7563 | 2013-07-23 Steve Ellcey <sellcey@mips.com> |
7564 | ||
7565 | * config/mips/mips.c (mips_case_values_threshold): New. | |
7566 | (TARGET_CASE_VALUES_THRESHOLD): Define. | |
7567 | ||
a6056198 | 7568 | 2013-07-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
12211b99 | 7569 | Anton Blanchard <anton@au1.ibm.com> |
a6056198 BS |
7570 | |
7571 | * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Correct | |
7572 | selection of field for vector splat in little endian mode. | |
7573 | ||
dd7a40e1 MM |
7574 | 2013-07-23 Michael Meissner <meissner@linux.vnet.ibm.com> |
7575 | ||
7576 | * config/rs6000/vector.md (xor<mode>3): Move 128-bit boolean | |
7577 | expanders to rs6000.md. | |
7578 | (ior<mode>3): Likewise. | |
7579 | (and<mode>3): Likewise. | |
7580 | (one_cmpl<mode>2): Likewise. | |
7581 | (nor<mode>3): Likewise. | |
7582 | (andc<mode>3): Likewise. | |
7583 | (eqv<mode>3): Likewise. | |
7584 | (nand<mode>3): Likewise. | |
7585 | (orc<mode>3): Likewise. | |
7586 | ||
7587 | * config/rs6000/rs6000-protos.h (rs6000_split_logical): New | |
7588 | declaration. | |
7589 | ||
7590 | * config/rs6000/rs6000.c (rs6000_split_logical_inner): Add support | |
7591 | to split multi-word logical operations. | |
7592 | (rs6000_split_logical_di): Likewise. | |
7593 | (rs6000_split_logical): Likewise. | |
7594 | ||
7595 | * config/rs6000/vsx.md (VSX_L2): Delete, no longer used. | |
7596 | (vsx_and<mode>3_32bit): Move 128-bit logical insns to rs6000.md, | |
7597 | and allow TImode operations in 32-bit. | |
7598 | (vsx_and<mode>3_64bit): Likewise. | |
7599 | (vsx_ior<mode>3_32bit): Likewise. | |
7600 | (vsx_ior<mode>3_64bit): Likewise. | |
7601 | (vsx_xor<mode>3_32bit): Likewise. | |
7602 | (vsx_xor<mode>3_64bit): Likewise. | |
7603 | (vsx_one_cmpl<mode>2_32bit): Likewise. | |
7604 | (vsx_one_cmpl<mode>2_64bit): Likewise. | |
7605 | (vsx_nor<mode>3_32bit): Likewise. | |
7606 | (vsx_nor<mode>3_64bit): Likewise. | |
7607 | (vsx_andc<mode>3_32bit): Likewise. | |
7608 | (vsx_andc<mode>3_64bit): Likewise. | |
7609 | (vsx_eqv<mode>3_32bit): Likewise. | |
7610 | (vsx_eqv<mode>3_64bit): Likewise. | |
7611 | (vsx_nand<mode>3_32bit): Likewise. | |
7612 | (vsx_nand<mode>3_64bit): Likewise. | |
7613 | (vsx_orc<mode>3_32bit): Likewise. | |
7614 | (vsx_orc<mode>3_64bit): Likewise. | |
7615 | ||
7616 | * config/rs6000/rs6000.h (VLOGICAL_REGNO_P): Always allow vector | |
7617 | logical types in GPRs. | |
7618 | ||
7619 | * config/rs6000/altivec.md (altivec_and<mode>3): Move 128-bit | |
7620 | logical insns to rs6000.md, and allow TImode operations in | |
7621 | 32-bit. | |
7622 | (altivec_ior<mode>3): Likewise. | |
7623 | (altivec_xor<mode>3): Likewise. | |
7624 | (altivec_one_cmpl<mode>2): Likewise. | |
7625 | (altivec_nor<mode>3): Likewise. | |
7626 | (altivec_andc<mode>3): Likewise. | |
7627 | ||
7628 | * config/rs6000/rs6000.md (BOOL_128): New mode iterators and mode | |
7629 | attributes for moving the 128-bit logical operations into | |
7630 | rs6000.md. | |
7631 | (BOOL_REGS_OUTPUT): Likewise. | |
7632 | (BOOL_REGS_OP1): Likewise. | |
7633 | (BOOL_REGS_OP2): Likewise. | |
7634 | (BOOL_REGS_UNARY): Likewise. | |
7635 | (BOOL_REGS_AND_CR0): Likewise. | |
7636 | (one_cmpl<mode>2): Add support for DI logical operations on | |
7637 | 32-bit, splitting the operations to 32-bit. | |
7638 | (anddi3): Likewise. | |
7639 | (iordi3): Likewise. | |
7640 | (xordi3): Likewise. | |
7641 | (and<mode>3, 128-bit types): Rewrite 2013-06-06 logical operator | |
7642 | changes to combine the 32/64-bit code, allow logical operations on | |
7643 | TI mode in 32-bit, and to use similar match_operator patterns like | |
7644 | scalar mode uses. Combine the Altivec and VSX code for logical | |
7645 | operations, and move it here. | |
7646 | (ior<mode>3, 128-bit types): Likewise. | |
7647 | (xor<mode>3, 128-bit types): Likewise. | |
7648 | (one_cmpl<mode>3, 128-bit types): Likewise. | |
7649 | (nor<mode>3, 128-bit types): Likewise. | |
7650 | (andc<mode>3, 128-bit types): Likewise. | |
7651 | (eqv<mode>3, 128-bit types): Likewise. | |
7652 | (nand<mode>3, 128-bit types): Likewise. | |
7653 | (orc<mode>3, 128-bit types): Likewise. | |
7654 | (and<mode>3_internal): Likewise. | |
7655 | (bool<mode>3_internal): Likewise. | |
7656 | (boolc<mode>3_internal1): Likewise. | |
7657 | (boolc<mode>3_internal2): Likewise. | |
7658 | (boolcc<mode>3_internal1): Likewise. | |
7659 | (boolcc<mode>3_internal2): Likewise. | |
7660 | (eqv<mode>3_internal1): Likewise. | |
7661 | (eqv<mode>3_internal2): Likewise. | |
7662 | (one_cmpl1<mode>3_internal): Likewise. | |
7663 | ||
12211b99 | 7664 | 2013-07-23 David Holsgrove <david.holsgrove@xilinx.com> |
9b69d4b4 DH |
7665 | |
7666 | * config/microblaze/microblaze.c (microblaze_expand_prologue): | |
7667 | Rename flag_stack_usage to flag_stack_usage_info. | |
7668 | ||
12211b99 | 7669 | 2013-07-23 David Holsgrove <david.holsgrove@xilinx.com> |
450b0ebb | 7670 | |
a5f257fd ME |
7671 | * config/microblaze/sync.md: New file. |
7672 | * config/microblaze/microblaze.md: Include sync.md | |
7673 | * config/microblaze/microblaze.c: Add print_operand 'y'. | |
7674 | * config/microblaze/constraints.md: Add memory_contraint | |
7675 | 'Q' which is a single register. | |
450b0ebb | 7676 | |
49fba14f EB |
7677 | 2013-07-23 Eric Botcazou <ebotcazou@adacore.com> |
7678 | ||
7679 | * doc/invoke.texi (SPARC Options): Document new leon3 processor value. | |
7680 | ||
c7b3b99f PCC |
7681 | 2013-07-22 Po-Chun Chang <pchang9@cs.wisc.edu> |
7682 | ||
7683 | * reload.c (find_reloads): Exit loop once we find this operand | |
7684 | cannot be reloaded somehow for this alternative. | |
7685 | ||
7686 | * reload.c (find_reloads): Exit loop once we find a hard register. | |
7687 | ||
7688 | * rtlanal.c (computed_jump_p): Exit loop once we find label | |
7689 | reference is used. | |
7690 | ||
7691 | * i386.c (ix86_pad_returns): Exit loop after setting replace. | |
7692 | ||
7693 | * cfgloopmanip.c (remove_path): Exit loop after setting | |
7694 | irred_invalidated. | |
7695 | ||
7696 | * gensupport.c (subst_dup): Avoid loop if code is not | |
7697 | MATCH_DUP nor MATCH_OP_DUP. | |
7698 | ||
c8fbf1fa NBJ |
7699 | 2013-07-23 Nicklas Bo Jensen <nbjensen@gmail.com> |
7700 | ||
7701 | * doc/md.texi (Machine-Specific Peephole Optimizers): Fix a typo. | |
7702 | ||
9259db42 YZ |
7703 | 2013-07-23 Yufeng Zhang <yufeng.zhang@arm.com> |
7704 | ||
7705 | * config/aarch64/aarch64.c (aarch64_hard_regno_mode_ok): Also return | |
7706 | true for SP_REGNUM if mode == ptr_mode. | |
7707 | * config/aarch64/aarch64.h (ADDITIONAL_REGISTER_NAMES): Add "wsp" | |
7708 | with value R0_REGNUM + 31. | |
7709 | ||
00edcfbe YZ |
7710 | 2013-07-23 Yufeng Zhang <yufeng.zhang@arm.com> |
7711 | ||
7712 | * config/aarch64/aarch64.c (aarch64_pad_arg_upward): In big-endian, | |
7713 | pad pointer-typed argument downward. | |
7714 | ||
43be9a95 YZ |
7715 | 2013-07-23 Yufeng Zhang <yufeng.zhang@arm.com> |
7716 | ||
7717 | * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define _ILP32 | |
7718 | and __ILP32__ when the ILP32 model is in use. | |
7719 | ||
28514dda YZ |
7720 | 2013-07-23 Yufeng Zhang <yufeng.zhang@arm.com> |
7721 | ||
7722 | * config/aarch64/aarch64.c (POINTER_BYTES): New define. | |
7723 | (aarch64_load_symref_appropriately): In the case of | |
7724 | SYMBOL_SMALL_ABSOLUTE, use the mode of 'dest' instead of Pmode | |
7725 | to generate new rtx; likewise to the case of SYMBOL_SMALL_GOT. | |
7726 | (aarch64_expand_mov_immediate): In the case of SYMBOL_FORCE_TO_MEM, | |
7727 | change to pass 'ptr_mode' to force_const_mem and zero-extend 'mem' | |
7728 | if 'mode' doesn't equal to 'ptr_mode'. | |
7729 | (aarch64_output_mi_thunk): Add an assertion on the alignment of | |
7730 | 'vcall_offset'; change to call aarch64_emit_move differently depending | |
7731 | on whether 'Pmode' equals to 'ptr_mode' or not; use 'POINTER_BYTES' | |
7732 | to calculate the upper bound of 'vcall_offset'. | |
7733 | (aarch64_cannot_force_const_mem): Change to also return true if | |
7734 | mode != ptr_mode. | |
7735 | (aarch64_legitimize_reload_address): In the case of large | |
7736 | displacements, add new local variable 'xmode' and an assertion | |
7737 | based on it; change to use 'xmode' to generate the new rtx and | |
7738 | reload. | |
7739 | (aarch64_asm_trampoline_template): Change to generate the template | |
7740 | differently depending on TARGET_ILP32 or not; change to use | |
7741 | 'POINTER_BYTES' in the argument passed to assemble_aligned_integer. | |
7742 | (aarch64_trampoline_size): Removed. | |
7743 | (aarch64_trampoline_init): Add new local constant 'tramp_code_sz' | |
7744 | and replace immediate literals with it. Change to use 'ptr_mode' | |
7745 | instead of 'DImode' and call convert_memory_address if the mode | |
7746 | of 'fnaddr' doesn't equal to 'ptr_mode'. | |
7747 | (aarch64_elf_asm_constructor): Change to use assemble_aligned_integer | |
7748 | to output symbol. | |
7749 | (aarch64_elf_asm_destructor): Likewise. | |
7750 | * config/aarch64/aarch64.h (TRAMPOLINE_SIZE): Change to be dependent | |
7751 | on TARGET_ILP32 instead of aarch64_trampoline_size. | |
7752 | * config/aarch64/aarch64.md (movsi_aarch64): Add new alternatives | |
7753 | of 'mov' between WSP and W registers as well as 'adr' and 'adrp'. | |
7754 | (loadwb_pair<GPI:mode>_<PTR:mode>): Rename to ... | |
7755 | (loadwb_pair<GPI:mode>_<P:mode>): ... this. Replace PTR with P. | |
7756 | (storewb_pair<GPI:mode>_<PTR:mode>): Likewise; rename to ... | |
7757 | (storewb_pair<GPI:mode>_<P:mode>): ... this. | |
7758 | (add_losym): Change to 'define_expand' and call gen_add_losym_<mode> | |
7759 | depending on the value of 'mode'. | |
7760 | (add_losym_<mode>): New. | |
7761 | (ldr_got_small_<mode>): New, based on ldr_got_small. | |
7762 | (ldr_got_small): Remove. | |
7763 | (ldr_got_small_sidi): New. | |
7764 | * config/aarch64/iterators.md (P): New. | |
7765 | (PTR): Change to 'ptr_mode' in the condition. | |
7766 | ||
17a819cb YZ |
7767 | 2013-07-23 Yufeng Zhang <yufeng.zhang@arm.com> |
7768 | ||
7769 | * config.gcc (aarch64*-*-*): Support --with-abi. | |
7770 | (aarch64*-*-elf): Support --with-multilib-list. | |
7771 | (aarch64*-*-linux*): Likewise. | |
7772 | (supported_defaults): Add abi to aarch64*-*-*. | |
7773 | * configure.ac: Mention AArch64 for --with-multilib-list. | |
7774 | * configure: Re-generated. | |
7775 | * config/aarch64/biarchilp32.h: New file. | |
7776 | * config/aarch64/biarchlp64.h: New file. | |
7777 | * config/aarch64/aarch64-elf.h (ENDIAN_SPEC): New define. | |
7778 | (ABI_SPEC): Ditto. | |
7779 | (MULTILIB_DEFAULTS): Ditto. | |
7780 | (DRIVER_SELF_SPECS): Ditto. | |
7781 | (ASM_SPEC): Update to also substitute -mabi. | |
7782 | * config/aarch64/aarch64-elf-raw.h (LINK_SPEC): Add linker script | |
7783 | file whose name depends on -mabi= and -mbig-endian. | |
7784 | * config/aarch64/aarch64.h (LONG_TYPE_SIZE): Change to depend on | |
7785 | TARGET_ILP32. | |
7786 | (POINTER_SIZE): New define. | |
7787 | (POINTERS_EXTEND_UNSIGNED): Ditto. | |
7788 | (enum aarch64_abi_type): New enumeration tag. | |
7789 | (AARCH64_ABI_LP64, AARCH64_ABI_ILP32): New enumerators. | |
7790 | (AARCH64_ABI_DEFAULT): Define to AARCH64_ABI_LP64 if undefined. | |
7791 | (TARGET_ILP32): New define. | |
7792 | * config/aarch64/aarch64.opt (mabi): New. | |
7793 | (aarch64_abi): New. | |
7794 | (ilp32, lp64): New values for -mabi. | |
7795 | * config/aarch64/t-aarch64 (comma): New define. | |
7796 | (MULTILIB_OPTIONS): Ditto. | |
7797 | (MULTILIB_DIRNAMES): Ditto. | |
7798 | * config/aarch64/t-aarch64-linux (MULTIARCH_DIRNAME): New define. | |
7799 | * doc/invoke.texi: Document -mabi for AArch64. | |
7800 | ||
9f9cbdce GJL |
7801 | 2013-07-23 Georg-Johann Lay <avr@gjlay.de> |
7802 | ||
7803 | * config/avr/avr.md: Explain asm print modifier 'r' for REG. | |
7804 | ||
7061977b | 7805 | 2013-07-22 Bill Schmidt <wschmidt@vnet.linux.ibm.com> |
12211b99 | 7806 | Anton Blanchard <anton@au1.ibm.com> |
7061977b BS |
7807 | |
7808 | * config/rs6000/rs6000.c (rs6000_expand_vector_init): Fix | |
7809 | endianness when selecting field to splat. | |
7810 | ||
75a41878 EC |
7811 | 2013-07-22 Eric Christopher <echristo@gmail.com> |
7812 | ||
7813 | * dwarf2out.c (die_odr_checksum): New function to use | |
7814 | CHECKSUM_ macros and ULEB128 for DIE tag. | |
7815 | (generate_type_signature): Use. | |
41a7c215 | 7816 | |
38ae58ca EB |
7817 | 2013-07-22 Eric Botcazou <ebotcazou@adacore.com> |
7818 | ||
7819 | * config.gcc (sparc*-*-*): Accept leon3 processor. | |
7820 | (sparc-leon*-*): Merge with sparc*-*-* and add leon3 support. | |
7821 | * doc/invoke.texi (SPARC Options): Adjust -mfix-ut699 entry. | |
7822 | * config/sparc/sparc-opts.h (enum processor_type): Add PROCESSOR_LEON3. | |
7823 | * config/sparc/sparc.opt (enum processor_type): Add leon3. | |
7824 | (mfix-ut699): Adjust comment. | |
7825 | * config/sparc/sparc.h (TARGET_CPU_leon3): New define. | |
7826 | (CPP_CPU32_DEFAULT_SPEC): Add leon3 support. | |
7827 | (CPP_CPU_SPEC): Likewise. | |
7828 | (ASM_CPU_SPEC): Likewise. | |
7829 | * config/sparc/sparc.c (leon3_cost): New constant. | |
7830 | (sparc_option_override): Add leon3 support. | |
7831 | (mem_ref): New function. | |
7832 | (sparc_gate_work_around_errata): Return true if -mfix-ut699 is enabled. | |
7833 | (sparc_do_work_around_errata): Look into the instruction in the delay | |
7834 | slot and adjust accordingly. Add fix for the data cache nullify issues | |
7835 | of the UT699. Change insertion position for the NOP. | |
7836 | * config/sparc/leon.md (leon_fpalu, leon_fpmds, write_buf): Delete. | |
7837 | (leon3_load): New reservation. | |
7838 | (leon_store): Bump latency to 2. | |
7839 | (grfpu): New automaton. | |
7840 | (grfpu_alu): New unit. | |
7841 | (grfpu_ds): Likewise. | |
7842 | (leon_fp_alu): Adjust. | |
7843 | (leon_fp_mult): Delete. | |
7844 | (leon_fp_div): Split into leon_fp_divs and leon_fp_divd. | |
7845 | (leon_fp_sqrt): Split into leon_fp_sqrts and leon_fp_sqrtd. | |
7846 | * config/sparc/sparc.md (cpu): Add leon3. | |
7847 | * config/sparc/sync.md (atomic_exchangesi): Disable if -mfix-ut699. | |
7848 | (swapsi): Likewise. | |
7849 | (atomic_test_and_set): Likewise. | |
7850 | (ldstub): Likewise. | |
7851 | ||
04dfc6df JU |
7852 | 2013-07-22 Jürgen Urban <JuergenUrban@gmx.de> |
7853 | ||
7854 | * config.gcc (mips*-*-*): Add --with-fpu support. Make single the | |
7855 | default for R5900 targets. | |
7856 | * config/mips/mips.h (OPTION_DEFAULT_SPECS): Handle --with-fpu. | |
7857 | (ISA_HAS_LDC1_SDC1): Set to false for TARGET_MIPS5900. | |
7858 | * config/mips/mips.c (mips_option_override): Report an error for | |
7859 | -march=r5900 -mhard-float -mdouble-float. Use spu_single_format | |
7860 | for -march=r5900 -mhard-float. | |
7861 | ||
c7b3b99f | 7862 | 2013-07-22 Po-Chun Chang <pchang9@cs.wisc.edu> |
ae382ebd PCC |
7863 | |
7864 | * df-problems.c (can_move_insns_across): Exit loop once we | |
7865 | find a non-fixed, non-global register. | |
7866 | ||
7867 | * ipa-pure-const.c (propagate_nothrow): Exit loop after | |
7868 | setting can_throw. | |
7869 | ||
7870 | * omega.c (omega_eliminate_red): Break after setting red_found. | |
7871 | (omega_problem_has_red_equations): Similarly after setting found. | |
7872 | (omega_query_variable): Similarly after setting coupled. | |
7873 | ||
9b6e6981 MP |
7874 | 2013-07-22 Marek Polacek <polacek@redhat.com> |
7875 | ||
7876 | * gimplify.c: Don't include gimple.h twice. | |
7877 | ||
5e5f7673 KT |
7878 | 2013-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
7879 | ||
7880 | * config/arm/constraints.md (Pd): Allow TARGET_THUMB | |
7881 | instead of TARGET_THUMB1. | |
7882 | (Pz): New constraint. | |
7883 | * config/arm/arm.md (arm_addsi3): Add alternatives for 16-bit | |
7884 | encodings. | |
7885 | (compare_negsi_si): Likewise. | |
7886 | (compare_addsi2_op0): Likewise. | |
7887 | (compare_addsi2_op1): Likewise. | |
7888 | (addsi3_carryin_<optab>): Likewise. | |
7889 | (addsi3_carryin_alt2_<optab>): Likewise. | |
7890 | (addsi3_carryin_shift_<optab>): Disable cond_exec variant | |
7891 | for arm_restrict_it. | |
7892 | (subsi3_carryin): Likewise. | |
7893 | (arm_subsi3_insn): Add alternatives for 16-bit encoding. | |
7894 | (minmax_arithsi): Disable for arm_restrict_it. | |
7895 | (minmax_arithsi_non_canon): Adjust for arm_restrict_it. | |
7896 | (satsi_<SAT:code>): Disable cond_exec variant for arm_restrict_it. | |
7897 | (satsi_<SAT:code>_shift): Likewise. | |
7898 | (arm_shiftsi3): Add alternative for 16-bit encoding. | |
7899 | (arm32_movhf): Disable for arm_restrict_it. | |
7900 | (arm_cmpdi_unsigned): Add alternatives for 16-bit encoding. | |
7901 | (arm_movtas_ze): Disable cond_exec variant for arm_restrict_it. | |
7902 | ||
859abddd SN |
7903 | 2013-07-22 Sofiane Naci <sofiane.naci@arm.com> |
7904 | ||
7905 | * config/arm/arm.md (attribute "insn"): Delete. | |
7906 | (attribute "type"): Add "mov_imm", "mov_reg", "mov_shift", | |
7907 | "mov_shift_reg", "mvn_imm", "mvn_reg", "mvn_shift" and "mvn_shift_reg". | |
7908 | (not_shiftsi): Update for attribute change. | |
7909 | (not_shiftsi_compare0): Likewise. | |
7910 | (not_shiftsi_compare0_scratch): Likewise. | |
7911 | (arm_one_cmplsi2): Likewise. | |
7912 | (thumb1_one_cmplsi2): Likewise. | |
7913 | (notsi_compare0): Likewise. | |
7914 | (notsi_compare0_scratch): Likewise. | |
7915 | (thumb1_movdi_insn): Likewise. | |
7916 | (arm_movsi_insn): Likewise. | |
7917 | (movhi_insn_arch4): Likewise. | |
7918 | (movhi_bytes): Likewise. | |
7919 | (arm_movqi_insn): Likewise. | |
7920 | (thumb1_movqi_insn): Likewise. | |
7921 | (arm32_movhf): Likewise. | |
7922 | (thumb1_movhf): Likewise. | |
7923 | (arm_movsf_soft_insn): Likewise. | |
7924 | (thumb1_movsf_insn): Likewise. | |
7925 | (thumb_movdf_insn): Likewise. | |
7926 | (movsicc_insn): Likewise. | |
7927 | (movsfcc_soft_insn): Likewise. | |
7928 | (and_scc): Likewise. | |
7929 | (cond_move): Likewise. | |
7930 | (if_move_not): Likewise. | |
7931 | (if_not_move): Likewise. | |
7932 | (if_shift_move): Likewise. | |
7933 | (if_move_shift): Likewise. | |
7934 | (if_shift_shift): Likewise. | |
7935 | (if_not_arith): Likewise. | |
7936 | (if_arith_not): Likewise. | |
7937 | (cond_move_not): Likewise. | |
7938 | * config/arm/neon.md (neon_mov<mode>): Update for attribute change. | |
7939 | (neon_mov<mode>): Likewise. | |
7940 | * config/arm/vfp.md (arm_movsi_vfp): Update for attribute change. | |
7941 | (thumb2_movsi_vfp): Likewise. | |
7942 | (movsf_vfp): Likewise. | |
7943 | (thumb2_movsf_vfp): Likewise. | |
371e77e3 UB |
7944 | * config/arm/arm.c (xscale_sched_adjust_cost): Update for attribute |
7945 | change. | |
859abddd SN |
7946 | (cortexa7_older_only): Likewise. |
7947 | (cortexa7_younger): Likewise. | |
7948 | * config/arm/arm1020e.md (1020alu_op): Update for attribute change. | |
7949 | (1020alu_shift_op): Likewise. | |
7950 | (1020alu_shift_reg_op): Likewise. | |
7951 | * config/arm/arm1026ejs.md (alu_op): Update for attribute change. | |
7952 | (alu_shift_op): Likewise. | |
7953 | (alu_shift_reg_op): Likewise. | |
7954 | * config/arm/arm1136jfs.md (11_alu_op): Update for attribute change. | |
7955 | (11_alu_shift_op): Likewise. | |
7956 | (11_alu_shift_reg_op): Likewise. | |
7957 | * config/arm/arm926ejs.md (9_alu_op): Update for attribute change. | |
7958 | (9_alu_shift_reg_op): Likewise. | |
371e77e3 UB |
7959 | * config/arm/cortex-a15.md (cortex_a15_alu): Update for attribute |
7960 | change. | |
859abddd SN |
7961 | (cortex_a15_alu_shift): Likewise. |
7962 | (cortex_a15_alu_shift_reg): Likewise. | |
7963 | * config/arm/cortex-a5.md (cortex_a5_alu): Update for attribute change. | |
7964 | (cortex_a5_alu_shift): Likewise. | |
371e77e3 UB |
7965 | * config/arm/cortex-a53.md (cortex_a53_alu): Update for attribute |
7966 | change. | |
859abddd | 7967 | (cortex_a53_alu_shift): Likewise. |
371e77e3 UB |
7968 | * config/arm/cortex-a7.md (cortex_a7_alu_imm): Update for attribute |
7969 | change. | |
859abddd SN |
7970 | (cortex_a7_alu_reg): Likewise. |
7971 | (cortex_a7_alu_shift): Likewise. | |
7972 | * config/arm/cortex-a8.md (cortex_a8_alu): Update for attribute change. | |
7973 | (cortex_a8_alu_shift): Likewise. | |
7974 | (cortex_a8_alu_shift_reg): Likewise. | |
7975 | (cortex_a8_mov): Likewise. | |
7976 | * config/arm/cortex-a9.md (cortex_a9_dp): Update for attribute change. | |
7977 | (cortex_a9_dp_shift): Likewise. | |
7978 | * config/arm/cortex-m4.md (cortex_m4_alu): Update for attribute change. | |
7979 | * config/arm/cortex-r4.md (cortex_r4_alu): Update for attribute change. | |
7980 | (cortex_r4_mov): Likewise. | |
7981 | (cortex_r4_alu_shift): Likewise. | |
7982 | (cortex_r4_alu_shift_reg): Likewise. | |
7983 | * config/arm/fa526.md (526_alu_op): Update for attribute change. | |
7984 | (526_alu_shift_op): Likewise. | |
7985 | * config/arm/fa606te.md (606te_alu_op): Update for attribute change. | |
7986 | * config/arm/fa626te.md (626te_alu_op): Update for attribute change. | |
7987 | (626te_alu_shift_op): Likewise. | |
7988 | * config/arm/fa726te.md (726te_shift_op): Update for attribute change. | |
7989 | (726te_alu_op): Likewise. | |
7990 | (726te_alu_shift_op): Likewise. | |
7991 | (726te_alu_shift_reg_op): Likewise. | |
7992 | * config/arm/fmp626.md (mp626_alu_op): Update for attribute change. | |
7993 | (mp626_alu_shift_op): Likewise. | |
7994 | * config/arm/marvell-pj4.md (pj4_alu_e1): Update for attribute change. | |
7995 | (pj4_alu_e1_conds): Likewise. | |
7996 | (pj4_alu): Likewise. | |
7997 | (pj4_alu_conds): Likewise. | |
7998 | (pj4_shift): Likewise. | |
7999 | (pj4_shift_conds): Likewise. | |
8000 | (pj4_alu_shift): Likewise. | |
8001 | (pj4_alu_shift_conds): Likewise. | |
8002 | ||
95b97fac KT |
8003 | 2013-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
8004 | ||
8005 | * config/arm/predicates.md (shiftable_operator_strict_it): | |
8006 | New predicate. | |
8007 | * config/arm/thumb2.md (thumb_andsi_not_shiftsi_si): | |
8008 | Disable cond_exec version for arm_restrict_it. | |
8009 | (thumb2_smaxsi3): Convert to generate cond_exec. | |
8010 | (thumb2_sminsi3): Likewise. | |
8011 | (thumb32_umaxsi3): Likewise. | |
8012 | (thumb2_uminsi3): Likewise. | |
8013 | (thumb2_abssi2): Adjust constraints for arm_restrict_it. | |
8014 | (thumb2_neg_abssi2): Likewise. | |
8015 | (thumb2_mov_scc): Add alternative for 16-bit encoding. | |
8016 | (thumb2_movsicc_insn): Adjust alternatives. | |
8017 | (thumb2_mov_negscc): Disable for arm_restrict_it. | |
8018 | (thumb2_mov_negscc_strict_it): New pattern. | |
8019 | (thumb2_mov_notscc_strict_it): New pattern. | |
8020 | (thumb2_mov_notscc): Disable for arm_restrict_it. | |
8021 | (thumb2_ior_scc): Likewise. | |
8022 | (thumb2_ior_scc_strict_it): New pattern. | |
8023 | (thumb2_cond_move): Adjust for arm_restrict_it. | |
8024 | (thumb2_cond_arith): Disable for arm_restrict_it. | |
8025 | (thumb2_cond_arith_strict_it): New pattern. | |
8026 | (thumb2_cond_sub): Adjust for arm_restrict_it. | |
8027 | (thumb2_movcond): Likewise. | |
8028 | (thumb2_extendqisi_v6): Disable cond_exec variant for arm_restrict_it. | |
8029 | (thumb2_zero_extendhisi2_v6): Likewise. | |
8030 | (thumb2_zero_extendqisi2_v6): Likewise. | |
8031 | (orsi_notsi_si): Likewise. | |
8032 | (orsi_not_shiftsi_si): Likewise. | |
8033 | ||
d5a6ef82 GJL |
8034 | 2013-07-22 Georg-Johann Lay <avr@gjlay.de> |
8035 | ||
8036 | * config/avr/avr.c (avr_out_xload): No SBIS around LPM so that | |
8037 | instruction sequence is 1 byte shorter. | |
8038 | ||
d9e71154 UB |
8039 | 2013-07-22 Uros Bizjak <ubizjak@gmail.com> |
8040 | ||
8041 | * config/i386/i386.md (nonlocal_goto_receiver): Delete insn if | |
8042 | it is not needed after split. | |
8043 | ||
8c6381ec IS |
8044 | 2013-07-20 Iain Sandoe <iain@codesourcery.com> |
8045 | ||
8046 | PR target/51784 | |
8047 | * config/i386/i386.c (output_set_got) [TARGET_MACHO]: Adjust to emit a | |
8048 | second label for nonlocal goto receivers. Don't output pic base labels | |
8049 | unless we're producing PIC; mark that action unreachable(). | |
8050 | (ix86_save_reg): If the function contains a nonlocal label, save the | |
8051 | PIC base reg. | |
8052 | * config/darwin-protos.h (machopic_should_output_picbase_label): New. | |
f43245d1 | 8053 | * config/darwin.c (emitted_pic_label_num): New GTY. |
8c6381ec IS |
8054 | (update_pic_label_number_if_needed): New. |
8055 | (machopic_output_function_base_name): Adjust for nonlocal receiver | |
8056 | case. | |
8057 | (machopic_should_output_picbase_label): New. | |
8058 | * config/i386/i386.md (enum unspecv): UNSPECV_NLGR: New. | |
8059 | (nonlocal_goto_receiver): New insn and split. | |
8060 | ||
d05d0709 JG |
8061 | 2013-07-20 James Greenhalgh <james.greenhalgh@arm.com> |
8062 | ||
8063 | * config/aarch64/aarch64-builtins.c | |
8064 | (aarch64_fold_builtin): Fold abs in all modes. | |
8065 | * config/aarch64/aarch64-simd-builtins.def | |
8066 | (abs): Enable for all modes. | |
8067 | * config/aarch64/arm_neon.h | |
8068 | (vabs<q>_s<8,16,32,64): Rewrite using builtins. | |
8069 | (vabs_f64): Add missing intrinsic. | |
8070 | ||
ba590e63 IB |
8071 | 2013-07-19 Ian Bolton <ian.bolton@arm.com> |
8072 | ||
8073 | * config/aarch64/arm_neon.h (vabs_s64): New function | |
8074 | ||
02371798 GJL |
8075 | 2013-07-19 Georg-Johann Lay <avr@gjlay.de> |
8076 | ||
8077 | PR target/57516 | |
8078 | * config/avr/avr-fixed.md (round<mode>3_const): Turn expander to insn. | |
8079 | * config/avr/avr.md (adjust_len): Add `round'. | |
8080 | * config/avr/avr-protos.h (avr_out_round): New prototype. | |
8081 | (avr_out_plus): Add `out_label' argument. | |
8082 | * config/avr/avr.c (avr_out_plus_1): Add `out_label' argument. | |
8083 | (avr_out_plus): Pass down `out_label' to avr_out_plus_1. | |
8084 | Handle the case where `insn' is just a pattern. | |
8085 | (avr_out_bitop): Handle the case where `insn' is just a pattern. | |
8086 | (avr_out_round): New function. | |
8087 | (avr_adjust_insn_length): Handle ADJUST_LEN_ROUND. | |
8088 | ||
12211b99 | 8089 | 2013-07-18 David Holsgrove <david.holsgrove@xilinx.com> |
b950ac25 DH |
8090 | |
8091 | * config/microblaze/microblaze.c (microblaze_expand_prologue): | |
8092 | Add check for flag_stack_usage to handle -fstack-usage support | |
8093 | ||
12211b99 | 8094 | 2013-07-18 Pat Haugen <pthaugen@us.ibm.com> |
ed1fd999 PH |
8095 | |
8096 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Adjust flag | |
8097 | interaction for new Power8 flags and VSX. | |
8098 | ||
df9dda2d ST |
8099 | 2013-07-18 Sriraman Tallam <tmsriram@google.com> |
8100 | ||
8101 | PR middle-end/57698 | |
8102 | * tree-inline.c (expand_call_inline): Emit errors during | |
8103 | early_inlining only if optimization is not turned on. | |
8104 | ||
0f9cdef4 DM |
8105 | 2013-07-18 David Malcolm <dmalcolm@redhat.com> |
8106 | ||
8107 | * passes.def: New. | |
8108 | ||
8109 | * passes.c (init_optimization_passes): Move the construction of | |
8110 | the pass hierarchy into a new passes.def file. | |
8111 | ||
8112 | * Makefile.in (passes.o): Add dependency on passes.def. | |
8113 | ||
2efa4087 DM |
8114 | 2013-07-18 David Malcolm <dmalcolm@redhat.com> |
8115 | ||
8116 | * passes.c (init_optimization_passes): Introduce macros for | |
8117 | constructing the tree of passes (INSERT_PASSES_AFTER, | |
8118 | PUSH_INSERT_PASSES_WITHIN, POP_INSERT_PASSES, | |
8119 | TERMINATE_PASS_LIST). | |
8120 | ||
bc404e1b VM |
8121 | 2013-07-18 Vladimir Makarov <vmakarov@redhat.com> |
8122 | Wei Mi <wmi@google.com> | |
8123 | ||
8124 | PR rtl-optimization/57878 | |
8125 | * lra-assigns.c (assign_by_spills): Move non_reload_pseudos to the | |
8126 | top. | |
8127 | (reload_pseudo_compare_func): Check nregs first for reload | |
8128 | pseudos. | |
8129 | ||
d675843f DM |
8130 | 2013-07-18 David Malcolm <dmalcolm@redhat.com> |
8131 | ||
8132 | * tree-pass.h (pass_ipa_lto_wpa_fixup): Remove redundant decl. | |
8133 | ||
c7b3b99f | 8134 | 2013-07-18 Po-Chun Chang <pchang9@cs.wisc.edu> |
bcb97fbd PCC |
8135 | |
8136 | * read-rtl.c (validate_const_int): Once an invalid character is | |
8137 | seen, quit the loop. | |
8138 | ||
8139 | * gengtype.c (write_roots): Similarly once we find the "deletable" | |
8140 | or "if_marked" option. | |
8141 | ||
52fceb44 SN |
8142 | 2013-07-18 Sofiane Naci <sofiane.naci@arm.com> |
8143 | ||
8144 | * config/arm/arm.md (attribute "insn"): Delete values "mrs", "msr", | |
8145 | "xtab" and "sat". Move value "clz" from here to ... | |
8146 | (attriubte "type"): ... here. | |
8147 | (satsi_<SAT:code>): Delete "insn" attribute. | |
8148 | (satsi_<SAT:code>_shift): Likewise. | |
8149 | (arm_zero_extendqisi2addsi): Likewise. | |
8150 | (arm_extendqisi2addsi): Likewise. | |
8151 | (clzsi2): Update for attribute changes. | |
8152 | (rbitsi2): Likewise. | |
371e77e3 UB |
8153 | * config/arm/arm-fixed.md (arm_ssatsihi_shift): Delete "insn" |
8154 | attribute. | |
52fceb44 SN |
8155 | (arm_usatsihi): Likewise. |
8156 | * config/arm/cortex-a8.md (cortex_a8_alu): Update for attribute change. | |
8157 | ||
006bd006 SN |
8158 | 2013-07-18 Sofiane Naci <sofiane.naci@arm.com> |
8159 | ||
8160 | * config/arm/arm.md (attribute "type"): Rename "simple_alu_imm" to | |
371e77e3 UB |
8161 | "arlo_imm". Rename "alu_reg" to "arlo_reg". Rename "simple_alu_shift" |
8162 | to "extend". Split "alu_shift" into "shift" and "arlo_shift". Split | |
006bd006 SN |
8163 | "alu_shift_reg" into "shift_reg" and "arlo_shift_reg". List types |
8164 | in alphabetical order. | |
8165 | (attribute "core_cycles"): Update for attribute changes. | |
8166 | (arm_addsi3): Likewise. | |
8167 | (addsi3_compare0): Likewise. | |
8168 | (addsi3_compare0_scratch): Likewise. | |
8169 | (addsi3_compare_op1): Likewise. | |
8170 | (addsi3_compare_op2): Likewise. | |
8171 | (compare_addsi2_op0): Likewise. | |
8172 | (compare_addsi2_op1): Likewise. | |
8173 | (addsi3_carryin_shift_<optab>): Likewise. | |
8174 | (subsi3_carryin_shift): Likewise. | |
8175 | (rsbsi3_carryin_shift): Likewise. | |
8176 | (arm_subsi3_insn): Likewise. | |
8177 | (subsi3_compare0): Likewise. | |
8178 | (subsi3_compare): Likewise. | |
8179 | (arm_andsi3_insn): Likewise. | |
8180 | (thumb1_andsi3_insn): Likewise. | |
8181 | (andsi3_compare0): Likewise. | |
8182 | (andsi3_compare0_scratch): Likewise. | |
8183 | (zeroextractsi_compare0_scratch | |
8184 | (andsi_not_shiftsi_si): Likewise. | |
8185 | (iorsi3_insn): Likewise. | |
8186 | (iorsi3_compare0): Likewise. | |
8187 | (iorsi3_compare0_scratch): Likewise. | |
8188 | (arm_xorsi3): Likewise. | |
8189 | (thumb1_xorsi3_insn): Likewise. | |
8190 | (xorsi3_compare0): Likewise. | |
8191 | (xorsi3_compare0_scratch): Likewise. | |
8192 | (satsi_<SAT:code>_shift): Likewise. | |
8193 | (rrx): Likewise. | |
8194 | (arm_shiftsi3): Likewise. | |
8195 | (shiftsi3_compare0): Likewise. | |
8196 | (not_shiftsi): Likewise. | |
8197 | (not_shiftsi_compare0): Likewise. | |
8198 | (not_shiftsi_compare0_scratch): Likewise. | |
8199 | (arm_one_cmplsi2): Likewise. | |
8200 | (thumb_one_complsi2): Likewise. | |
8201 | (notsi_compare0): Likewise. | |
8202 | (notsi_compare0_scratch): Likewise. | |
8203 | (thumb1_zero_extendhisi2): Likewise. | |
8204 | (arm_zero_extendhisi2): Likewise. | |
8205 | (arm_zero_extendhisi2_v6): Likewise. | |
8206 | (arm_zero_extendhisi2addsi): Likewise. | |
8207 | (thumb1_zero_extendqisi2): Likewise. | |
8208 | (thumb1_zero_extendqisi2_v6): Likewise. | |
8209 | (arm_zero_extendqisi2): Likewise. | |
8210 | (arm_zero_extendqisi2_v6): Likewise. | |
8211 | (arm_zero_extendqisi2addsi): Likewise. | |
8212 | (thumb1_extendhisi2): Likewise. | |
8213 | (arm_extendhisi2): Likewise. | |
8214 | (arm_extendhisi2_v6): Likewise. | |
8215 | (arm_extendqisi): Likewise. | |
8216 | (arm_extendqisi_v6): Likewise. | |
8217 | (arm_extendqisi2addsi): Likewise. | |
8218 | (thumb1_extendqisi2): Likewise. | |
8219 | (thumb1_movdi_insn): Likewise. | |
8220 | (arm_movsi_insn): Likewise. | |
8221 | (movsi_compare0): Likewise. | |
8222 | (movhi_insn_arch4): Likewise. | |
8223 | (movhi_bytes): Likewise. | |
8224 | (arm_movqi_insn): Likewise. | |
8225 | (thumb1_movqi_insn): Likewise. | |
8226 | (arm32_movhf): Likewise. | |
8227 | (thumb1_movhf): Likewise. | |
8228 | (arm_movsf_soft_insn): Likewise. | |
8229 | (thumb1_movsf_insn): Likewise. | |
8230 | (movdf_soft_insn): Likewise. | |
8231 | (thumb_movdf_insn): Likewise. | |
8232 | (arm_cmpsi_insn): Likewise. | |
8233 | (cmpsi_shiftsi): Likewise. | |
8234 | (cmpsi_shiftsi_swp): Likewise. | |
8235 | (arm_cmpsi_negshiftsi_si): Likewise. | |
8236 | (movsicc_insn): Likewise. | |
8237 | (movsfcc_soft_insn): Likewise. | |
8238 | (arith_shiftsi): Likewise. | |
8239 | (arith_shiftsi_compare0 | |
8240 | (arith_shiftsi_compare0_scratch | |
8241 | (sub_shiftsi): Likewise. | |
8242 | (sub_shiftsi_compare0 | |
8243 | (sub_shiftsi_compare0_scratch | |
8244 | (and_scc): Likewise. | |
8245 | (cond_move): Likewise. | |
8246 | (if_plus_move): Likewise. | |
8247 | (if_move_plus): Likewise. | |
8248 | (if_move_not): Likewise. | |
8249 | (if_not_move): Likewise. | |
8250 | (if_shift_move): Likewise. | |
8251 | (if_move_shift): Likewise. | |
8252 | (if_shift_shift): Likewise. | |
8253 | (if_not_arith): Likewise. | |
8254 | (if_arith_not): Likewise. | |
8255 | (cond_move_not): Likewise. | |
8256 | (thumb1_ashlsi3): Set type attribute. | |
8257 | (thumb1_ashrsi3): Likewise. | |
8258 | (thumb1_lshrsi3): Likewise. | |
8259 | (thumb1_rotrsi3): Likewise. | |
8260 | (shiftsi3_compare0_scratch): Likewise. | |
8261 | * config/arm/neon.md (neon_mov<mode>): Update for attribute changes. | |
8262 | (neon_mov<mode>): Likewise. | |
371e77e3 UB |
8263 | * config/arm/thumb2.md (thumb_andsi_not_shiftsi_si): Update for |
8264 | attribute changes. | |
006bd006 SN |
8265 | (thumb2_movsi_insn): Likewise. |
8266 | (thumb2_cmpsi_neg_shiftsi): Likewise. | |
8267 | (thumb2_extendqisi_v6): Likewise. | |
8268 | (thumb2_zero_extendhisi2_v6): Likewise. | |
8269 | (thumb2_zero_extendqisi2_v6): Likewise. | |
8270 | (thumb2_shiftsi3_short): Likewise. | |
8271 | (thumb2_addsi3_compare0_scratch): Likewise. | |
8272 | (orsi_not_shiftsi_si): Likewise. | |
8273 | * config/arm/vfp.md (arm_movsi_vfp): Update for attribute changes. | |
8274 | * config/arm/arm-fixed.md (arm_ssatsihi_shift): Update for attribute | |
8275 | changes. | |
8276 | * config/arm/arm1020e.md (1020alu_op): Update for attribute changes. | |
8277 | (1020alu_shift_op): Likewise. | |
8278 | (1020alu_shift_reg_op): Likewise. | |
8279 | * config/arm/arm1026ejs.md (alu_op): Update for attribute changes. | |
8280 | (alu_shift_op): Likewise. | |
8281 | (alu_shift_reg_op): Likewise. | |
8282 | * config/arm/arm1136jfs.md (11_alu_op): Update for attribute changes. | |
8283 | (11_alu_shift_op): Likewise. | |
8284 | (11_alu_shift_reg_op): Likewise. | |
8285 | * config/arm/arm926ejs.md (9_alu_op): Update for attribute changes. | |
8286 | (9_alu_shift_reg_op): Likewise. | |
371e77e3 UB |
8287 | * config/arm/cortex-a15.md (cortex_a15_alu): Update for attribute |
8288 | changes. | |
006bd006 SN |
8289 | (cortex_a15_alu_shift): Likewise. |
8290 | (cortex_a15_alu_shift_reg): Likewise. | |
371e77e3 UB |
8291 | * config/arm/cortex-a5.md (cortex_a5_alu): Update for attribute |
8292 | changes. | |
006bd006 SN |
8293 | (cortex_a5_alu_shift): Likewise. |
8294 | * config/arm/cortex-a53.md (cortex_a53_alu) : Update for attribute | |
8295 | changes. | |
8296 | (cortex_a53_alu_shift): Likewise. | |
8297 | * config/arm/cortex-a7.md (cortex_a7_alu_imm): Update for attribute | |
8298 | changes. | |
8299 | (cortex_a7_alu_reg): Likewise. | |
8300 | (cortex_a7_alu_shift): Likewise. | |
371e77e3 UB |
8301 | * config/arm/cortex-a8.md (cortex_a8_alu): Update for attribute |
8302 | changes. | |
006bd006 SN |
8303 | (cortex_a8_alu_shift): Likewise. |
8304 | (cortex_a8_alu_shift_reg): Likewise. | |
8305 | (cortex_a8_mov): Likewise. | |
8306 | * config/arm/cortex-a9.md (cortex_a9_dp): Update for attribute changes. | |
8307 | (cortex_a9_dp_shift): Likewise. | |
371e77e3 UB |
8308 | * config/arm/cortex-m4.md (cortex_m4_alu): Update for attribute |
8309 | changes. | |
8310 | * config/arm/cortex-r4.md (cortex_r4_alu): Update for attribute | |
8311 | changes. | |
006bd006 SN |
8312 | (cortex_r4_mov): Likewise. |
8313 | (cortex_r4_alu_shift): Likewise. | |
8314 | (cortex_r4_alu_shift_reg): Likewise. | |
8315 | * config/arm/fa526.md (526_alu_op): Update for attribute changes. | |
8316 | (526_alu_shift_op): Likewise. | |
8317 | * config/arm/fa606te.md (606te_alu_op): Update for attribute changes. | |
8318 | * config/arm/fa626te.md (626te_alu_op): Update for attribute changes. | |
8319 | (626te_alu_shift_op): Likewise. | |
8320 | * config/arm/fa726te.md (726te_shift_op): Update for attribute changes. | |
8321 | (726te_alu_op): Likewise. | |
8322 | (726te_alu_shift_op): Likewise. | |
8323 | (726te_alu_shift_reg_op): Likewise. | |
8324 | * config/arm/fmp626.md (mp626_alu_op): Update for attribute changes. | |
8325 | (mp626_alu_shift_op): Likewise. | |
8326 | * config/arm/marvell-pj4.md (pj4_alu_e1): Update for attribute changes. | |
8327 | (pj4_alu_e1_conds): Likewise. | |
8328 | (pj4_alu): Likewise. | |
8329 | (pj4_alu_conds): Likewise. | |
8330 | (pj4_shift): Likewise. | |
8331 | (pj4_shift_conds): Likewise. | |
8332 | (pj4_alu_shift): Likewise. | |
8333 | (pj4_alu_shift_conds): Likewise. | |
371e77e3 UB |
8334 | * config/arm/arm.c (xscale_sched_adjust_cost): Update for attribute |
8335 | changes. | |
006bd006 SN |
8336 | (cortexa7_older_only): Likewise. |
8337 | (cortexa7_younger): Likewise. | |
8338 | ||
651df1b2 DM |
8339 | 2013-07-18 David Malcolm <dmalcolm@redhat.com> |
8340 | ||
8341 | * ipa-pure-const.c (generate_summary): Rename to... | |
8342 | (pure_const_generate_summary): ... this. | |
8343 | ||
ea717bd7 IS |
8344 | 2013-07-17 Iain Sandoe <iain@codesourcery.com> |
8345 | ||
8346 | * config/rs6000/darwin.h (REGISTER_NAMES): Add HTM registers. | |
8347 | ||
a1259a13 YR |
8348 | 2013-07-17 Yvan Roux <yvan.roux@linaro.org> |
8349 | ||
8350 | PR target/57909 | |
8351 | * config/arm/arm.c (gen_movmem_ldrd_strd): Fix unaligned load/store | |
8352 | usage in HI mode. | |
8353 | ||
167f68ed AK |
8354 | 2013-07-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8355 | ||
8356 | * config/s390/s390.c: (s390_expand_builtin): Allow -mhtm to be | |
8357 | enabled without -march=zEC12. | |
8358 | * config/s390/s390.h (TARGET_HTM): Do not require EC12 machine | |
8359 | flags to be set. | |
8360 | ||
f900a982 MR |
8361 | 2013-07-16 Maciej W. Rozycki <macro@codesourcery.com> |
8362 | ||
8363 | * config/mips/mips.h (ISA_HAS_FP4): Correct formatting. | |
8364 | (ISA_HAS_FP_MADD4_MSUB4): Also enable for ISA_MIPS32R2. | |
8365 | (ISA_HAS_NMADD4_NMSUB4): Remove the MODE argument; rewrite in | |
8366 | terms of ISA_HAS_FP4, and also enable for ISA_MIPS32R2. | |
8367 | (ISA_HAS_NMADD3_NMSUB3): Remove the MODE argument. | |
8368 | * config/mips/mips.c (mips_rtx_costs) <PLUS>: Check for | |
8369 | ISA_HAS_FP_MADD4_MSUB4 || ISA_HAS_FP_MADD3_MSUB3 rather than | |
8370 | ISA_HAS_FP4. | |
8371 | <MINUS, NEG>: Update according to changes to ISA_HAS_NMADD4_NMSUB4 | |
8372 | and ISA_HAS_NMADD3_NMSUB3. | |
8373 | * config/mips/mips.md (nmadd4<mode>, nmadd3<mode>): Likewise. | |
8374 | (nmadd4<mode>_fastmath, nmadd3<mode>_fastmath): Likewise. | |
8375 | (nmsub4<mode>, nmsub3<mode>): Likewise. | |
8376 | (nmsub4<mode>_fastmath, nmsub3<mode>_fastmath): Likewise. | |
8377 | ||
d4ed27eb MR |
8378 | 2013-07-16 Maciej W. Rozycki <macro@codesourcery.com> |
8379 | ||
8380 | * config/mips/mips.h (ISA_HAS_NMADD4_NMSUB4): Remove | |
8381 | TARGET_MIPS5400 checking. | |
8382 | ||
7a5add18 PB |
8383 | 2013-07-16 Jakub Jelinek <jakub@redhat.com> |
8384 | Peter Bergner <bergner@vnet.ibm.com> | |
8385 | ||
8386 | * config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTERS): Mention HTM | |
8387 | registers in the comment. | |
8388 | (DWARF_FRAME_REGISTERS): Subtract also the 3 HTM registers. | |
8389 | (DWARF_REG_TO_UNWIND_COLUMN): Use DWARF_FRAME_REGISTERS | |
8390 | rather than FIRST_PSEUDO_REGISTERS. | |
8391 | ||
8392 | 2013-07-16 Peter Bergner <bergner@vnet.ibm.com> | |
c694dc01 PB |
8393 | |
8394 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Do not | |
8395 | enable extra ISA flags with TARGET_HTM. | |
8396 | ||
d2ab0929 MR |
8397 | 2013-07-16 Maciej W. Rozycki <macro@codesourcery.com> |
8398 | ||
8399 | * config/mips/mips.h (ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC): | |
8400 | Fix comment typos. | |
8401 | ||
839c74bc CH |
8402 | 2013-07-15 Cong Hou <congh@google.com> |
8403 | ||
8404 | * tree-vect-data-refs.c (dr_group_sort_cmp): Do not use hash function | |
8405 | in compare function for sorting. | |
8406 | ||
7a5add18 | 8407 | 2013-07-15 Peter Bergner <bergner@vnet.ibm.com> |
0258b6e4 PB |
8408 | |
8409 | * config.gcc (powerpc*-*-*): Install htmintrin.h and htmxlintrin.h. | |
8410 | * config/rs6000/t-rs6000 (MD_INCLUDES): Add htm.md. | |
8411 | * config/rs6000/rs6000.opt: Add -mhtm option. | |
8412 | * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add OPTION_MASK_HTM. | |
8413 | (ISA_2_7_MASKS_SERVER): Add OPTION_MASK_HTM. | |
8414 | * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define | |
8415 | __HTM__ if the HTM instructions are available. | |
8416 | * config/rs6000/predicates.md (u3bit_cint_operand, u10bit_cint_operand, | |
8417 | htm_spr_reg_operand): New define_predicates. | |
8418 | * config/rs6000/rs6000.md (define_attr "type"): Add htm. | |
8419 | (TFHAR_REGNO, TFIAR_REGNO, TEXASR_REGNO): New define_constants. | |
8420 | Include htm.md. | |
8421 | * config/rs6000/rs6000-builtin.def (BU_HTM_0, BU_HTM_1, BU_HTM_2, | |
8422 | BU_HTM_3, BU_HTM_SPR0, BU_HTM_SPR1): Add support macros for defining | |
8423 | HTM builtin functions. | |
8424 | * config/rs6000/rs6000.c (RS6000_BUILTIN_H): New macro. | |
8425 | (rs6000_reg_names, alt_reg_names): Add HTM SPR register names. | |
8426 | (rs6000_init_hard_regno_mode_ok): Add support for HTM instructions. | |
8427 | (rs6000_builtin_mask_calculate): Likewise. | |
8428 | (rs6000_option_override_internal): Likewise. | |
8429 | (bdesc_htm): Add new HTM builtin support. | |
8430 | (htm_spr_num): New function. | |
8431 | (htm_spr_regno): Likewise. | |
8432 | (rs6000_htm_spr_icode): Likewise. | |
8433 | (htm_expand_builtin): Likewise. | |
8434 | (htm_init_builtins): Likewise. | |
8435 | (rs6000_expand_builtin): Add support for HTM builtin functions. | |
8436 | (rs6000_init_builtins): Likewise. | |
371e77e3 UB |
8437 | (rs6000_invalid_builtin, rs6000_opt_mask): Add support for -mhtm |
8438 | option. | |
0258b6e4 PB |
8439 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mhtm. |
8440 | (TARGET_HTM, MASK_HTM): Define macros. | |
8441 | (FIRST_PSEUDO_REGISTER): Adjust for new HTM SPR registers. | |
8442 | (FIXED_REGISTERS): Likewise. | |
8443 | (CALL_USED_REGISTERS): Likewise. | |
8444 | (CALL_REALLY_USED_REGISTERS): Likewise. | |
8445 | (REG_ALLOC_ORDER): Likewise. | |
8446 | (enum reg_class): Likewise. | |
8447 | (REG_CLASS_NAMES): Likewise. | |
8448 | (REG_CLASS_CONTENTS): Likewise. | |
8449 | (REGISTER_NAMES): Likewise. | |
8450 | (ADDITIONAL_REGISTER_NAMES): Likewise. | |
8451 | (RS6000_BTC_SPR, RS6000_BTC_VOID, RS6000_BTC_32BIT, RS6000_BTC_64BIT, | |
8452 | RS6000_BTC_MISC_MASK, RS6000_BTM_HTM): New macros. | |
8453 | (RS6000_BTM_COMMON): Add RS6000_BTM_HTM. | |
8454 | * config/rs6000/htm.md: New file. | |
8455 | * config/rs6000/htmintrin.h: New file. | |
8456 | * config/rs6000/htmxlintrin.h: New file. | |
8457 | ||
87dd8ab0 MS |
8458 | 2013-07-15 Marcus Shawcroft <marcus.shawcroft@arm.com> |
8459 | ||
8460 | * config/aarch64/aarch64-protos.h (aarch64_symbol_type): | |
8461 | Define SYMBOL_TINY_GOT, update comment. | |
8462 | * config/aarch64/aarch64.c | |
8463 | (aarch64_load_symref_appropriately): Handle SYMBOL_TINY_GOT. | |
8464 | (aarch64_expand_mov_immediate): Likewise. | |
8465 | (aarch64_print_operand): Likewise. | |
8466 | (aarch64_classify_symbol): Likewise. | |
8467 | * config/aarch64/aarch64.md (UNSPEC_GOTTINYPIC): Define. | |
8468 | (ldr_got_tiny): Define. | |
8469 | ||
52d676b6 TG |
8470 | 2013-07-13 Tobias Grosser <tobias@grosser.es> |
8471 | ||
8472 | PR tree-optimization/54094 | |
8473 | * graphite-clast-to-gimple.c (translate_clast_for_loop): Derive the | |
8474 | scheduling dimension for the parallelism check from the polyhedral | |
8475 | information in the AST. | |
8476 | * graphite-dependences.c (carries_deps): Do not assume the schedule is | |
8477 | in 2D + 1 form. | |
8478 | ||
286e8fc1 JM |
8479 | 2013-07-13 Jason Merrill <jason@redhat.com> |
8480 | ||
8481 | * print-tree.c (debug_vec_tree): Use debug_raw. | |
8482 | (debug_raw (vec<tree, va_gc> &)): New. | |
8483 | (debug_raw (vec<tree, va_gc> *)): New. | |
8484 | * tree.h: Declare them. | |
8485 | ||
e43257e8 BC |
8486 | 2013-07-13 Bin Cheng <bin.cheng@arm.com> |
8487 | ||
8488 | * ifcvt.c (ifcvt_after_combine): New static variable. | |
8489 | (cheap_bb_rtx_cost_p): Set scale to REG_BR_PROB_BASE when optimizing | |
8490 | for size. | |
8491 | (if_convert): New parameter after_combine. Set ifcvt_after_combine. | |
8492 | (rest_of_handle_if_conversion, rest_of_handle_if_after_combine, | |
8493 | rest_of_handle_if_after_reload): Pass new argument for if_convert. | |
8494 | ||
da582d46 MR |
8495 | 2013-07-12 Maciej W. Rozycki <macro@codesourcery.com> |
8496 | ||
8497 | * config/mips/mips.c (mips_expand_call): Remove empty statement. | |
8498 | ||
18b0ea8f MM |
8499 | 2013-07-12 Michael Matz <matz@suse.de> |
8500 | ||
8501 | PR middle-end/55771 | |
8502 | * convert.c (convert_to_real): Reject non-float inner types. | |
8503 | ||
e4f0f84d TB |
8504 | 2013-07-12 Tejas Belagod <tejas.belagod@arm.com> |
8505 | ||
8506 | * config/aarch64/aarch64-protos.h | |
8507 | (aarch64_simd_immediate_valid_for_move): Remove. | |
8508 | * config/aarch64/aarch64.c (simd_immediate_info): New member. | |
8509 | (aarch64_simd_valid_immediate): Recognize idioms for shifting ones | |
8510 | cases. | |
8511 | (aarch64_output_simd_mov_immediate): Print the correct shift specifier. | |
8512 | ||
76500022 SE |
8513 | 2013-07-11 Steve Ellcey <sellcey@mips.com> |
8514 | ||
8515 | * config/mips/mips.c (mips_conditional_register_usage): Do not | |
8516 | use t[0-7] registers in MIPS16 mode when optimizing for size. | |
8517 | ||
78039734 ST |
8518 | 2013-07-11 Sriraman Tallam <tmsriram@google.com> |
8519 | ||
8520 | * config/i386/i386.c (dispatch_function_versions): Fix array | |
8521 | indexing of function_version_info to match actual_versions. | |
8522 | ||
7b24b675 TJ |
8523 | 2013-07-11 Teresa Johnson <tejohnson@google.com> |
8524 | ||
8525 | * vec.h (struct va_gc): Move release out-of-line. | |
8526 | (va_gc::release): Call ggc_free on released vec. | |
8527 | ||
85d4cbb8 UW |
8528 | 2013-07-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
8529 | ||
8530 | * config/rs6000/rs6000.md (""*tls_gd_low<TLSmode:tls_abi_suffix>"): | |
8531 | Require GOT register as additional operand in UNSPEC. | |
8532 | ("*tls_ld_low<TLSmode:tls_abi_suffix>"): Likewise. | |
8533 | ("*tls_got_dtprel_low<TLSmode:tls_abi_suffix>"): Likewise. | |
8534 | ("*tls_got_tprel_low<TLSmode:tls_abi_suffix>"): Likewise. | |
8535 | ("*tls_gd<TLSmode:tls_abi_suffix>"): Update splitter. | |
8536 | ("*tls_ld<TLSmode:tls_abi_suffix>"): Likewise. | |
8537 | ("tls_got_dtprel_<TLSmode:tls_abi_suffix>"): Likewise. | |
8538 | ("tls_got_tprel_<TLSmode:tls_abi_suffix>"): Likewise. | |
8539 | ||
52b3f9e2 GJL |
8540 | 2013-07-11 Georg-Johann Lay <avr@gjlay.de> |
8541 | ||
8542 | PR target/57631 | |
8543 | * config/avr/avr.c (avr_set_current_function): Sanity-check signal | |
8544 | name seen by assembler/linker rather if available. | |
8545 | ||
3f3e266e AS |
8546 | 2013-07-11 Andreas Schwab <schwab@suse.de> |
8547 | ||
8548 | * config/aarch64/aarch64-linux.h (CPP_SPEC): Define. | |
8549 | ||
21231ca6 VM |
8550 | 2013-07-10 Vladimir Makarov <vmakarov@redhat.com> |
8551 | ||
371e77e3 | 8552 | * lra-constraints.c (curr_insn_transform): Switch off optional reloads. |
21231ca6 | 8553 | |
d331d374 JM |
8554 | 2013-07-10 Joseph Myers <joseph@codesourcery.com> |
8555 | ||
673c2f63 JM |
8556 | * doc/tm.texi.in: Move hook documentation to .... |
8557 | * target.def: ... here. | |
8558 | ||
d331d374 JM |
8559 | * doc/tm.texi.in (TARGET_CANONICALIZE_COMPARISON): Remove stray |
8560 | text on @hook line. | |
8561 | * doc/tm.texi: Regenerate. | |
8562 | ||
dfeadaa0 PC |
8563 | 2013-07-10 Paolo Carlini <paolo.carlini@oracle.com> |
8564 | ||
8565 | PR c++/57869 | |
8566 | * doc/invoke.texi: Document -Wconditionally-supported. | |
8567 | ||
bb6f2bac GJL |
8568 | 2013-07-10 Georg-Johann Lay <avr@gjlay.de> |
8569 | ||
8570 | PR target/57844 | |
8571 | * config/avr/avr.c (avr_prologue_setup_frame): Trunk -size to mode | |
8572 | of my_fp. | |
8573 | ||
5219b232 GJL |
8574 | 2013-07-10 Georg-Johann Lay <avr@gjlay.de> |
8575 | ||
8576 | PR target/57506 | |
8577 | * config/avr/avr-mcus.def (atmega16hva, atmega16hva2, atmega16hvb) | |
8578 | (atmega16m1, atmega16u4, atmega32a, atmega32c1, atmega32hvb) | |
8579 | (atmega32m1, atmega32u4, atmega32u6, atmega64c1, atmega64m1): | |
8580 | Remove duplicate devices. | |
8581 | * config/avr/gen-avr-mmcu-texi.c (print_mcus): Fail on duplicate MCUs. | |
8582 | * config/avr/t-multilib: Regenerate. | |
8583 | * config/avr/avr-tables.opt: Regenerate. | |
8584 | * doc/avr-mmcu.texi: Regenerate. | |
8585 | ||
283045c0 GJL |
8586 | 2013-07-10 Georg-Johann Lay <avr@gjlay.de> |
8587 | ||
8588 | PR target/56987 | |
8589 | * config/avr/avr.opt (Waddr-space-convert): Fix typo. | |
8590 | ||
ceb2d59f | 8591 | 2013-07-10 Graham Stott <graham.stott@btinternet.com> |
6a2fa4b2 | 8592 | |
ceb2d59f GS |
8593 | * config/mips/mips.c (mips_rtx_costs): Very slightly increase |
8594 | the cost of MULT when optimizing for size. | |
8595 | ||
055e0a99 JBG |
8596 | 2013-07-10 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
8597 | ||
8598 | * config/cr16/cr16-protos.h: Don't include target.h. | |
8599 | ||
ef43e868 JM |
8600 | 2013-07-09 Joseph Myers <joseph@codesourcery.com> |
8601 | ||
8602 | * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Only | |
8603 | adjust register size for TDmode and TFmode for VSX registers. | |
8604 | ||
4a283fdf KT |
8605 | 2013-07-08 Kai Tietz <ktietz@redhat.com> |
8606 | ||
8607 | PR target/56892 | |
8608 | * config/i386/i386.c (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): Define as | |
8609 | hook_bool_const_tree_true. | |
8610 | ||
2cf4c39e AK |
8611 | 2013-07-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8612 | ||
8613 | * config/s390/s390.c: Replace F*_REGNUM with FPR*_REGNUM. | |
8614 | * config/s390/s390.h: Remove F*_REGNUM macro definitions. | |
8615 | * config/s390/s390.md: Define FPR*_REGNUM constants. | |
8616 | Fix FPR2_REGNUM constant (18 -> 17). | |
8617 | ("*trunc<BFP:mode><DFP_ALL:mode>2") | |
8618 | ("*trunc<DFP_ALL:mode><BFP:mode>2") | |
8619 | ("trunc<BFP:mode><DFP_ALL:mode>2") | |
8620 | ("trunc<DFP_ALL:mode><BFP:mode>2") | |
8621 | ("*extend<BFP:mode><DFP_ALL:mode>2") | |
8622 | ("*extend<DFP_ALL:mode><BFP:mode>2") | |
8623 | ("extend<BFP:mode><DFP_ALL:mode>2") | |
8624 | ("extend<DFP_ALL:mode><BFP:mode>2"): Replace FPR2_REGNUM with | |
8625 | FPR4_REGNUM. | |
8626 | ||
e6ac0270 | 8627 | 2013-07-08 Graham Stott <graham.stott@btinternet.com> |
e6ac0270 | 8628 | |
6a2fa4b2 | 8629 | * Makefile.in: (c-family-warn): Define to $(STRICT_WARN) |
64a92610 | 8630 | |
b89b22fc AK |
8631 | 2013-07-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8632 | ||
8633 | * config/s390/s390.c: Rename cfun_set_fpr_bit to cfun_set_fpr_save | |
8634 | and cfun_fpr_bit_p to cfun_fpr_save_p. | |
8635 | (s390_frame_area, s390_register_info, s390_frame_info) | |
8636 | (s390_emit_prologue, s390_emit_epilogue) | |
8637 | (s390_conditional_register_usage): Use the *_REGNUM macros for FPR | |
8638 | register numbers. | |
8639 | * config/s390/s390.h: Define *_REGNUM macros for floating point | |
8640 | register numbers. | |
8641 | ||
07f398aa EB |
8642 | 2013-07-08 Eric Botcazou <ebotcazou@adacore.com> |
8643 | ||
8644 | * Makefile.in (tree-ssa-reassoc.o): Add dependency on $(PARAMS_H). | |
8645 | ||
75fefa91 PCC |
8646 | 2013-07-08 Po-Chun Chang <pchang9@cs.wisc.edu> |
8647 | ||
8648 | PR rtl-optimization/57786 | |
8649 | * combine.c (distribute_notes) <case REG_DEAD>: Change all_used to bool | |
8650 | and break out of the loop when it is set to false. | |
8651 | ||
046f1eee JJ |
8652 | 2013-07-08 Jakub Jelinek <jakub@redhat.com> |
8653 | ||
8140c065 JJ |
8654 | PR target/57819 |
8655 | * simplify-rtx.c (simplify_unary_operation_1) <case ZERO_EXTEND>: | |
8656 | Simplify (zero_extend:SI (subreg:QI (and:SI (reg:SI) | |
8657 | (const_int 63)) 0)). | |
8658 | * combine.c (make_extraction): Create ZERO_EXTEND or SIGN_EXTEND | |
8659 | using simplify_gen_unary instead of gen_rtx_*_EXTEND. | |
8660 | * config/i386/i386.md (*jcc_bt<mode>_1): New define_insn_and_split. | |
8661 | ||
046f1eee JJ |
8662 | PR rtl-optimization/57829 |
8663 | * simplify-rtx.c (simplify_binary_operation_1) <case IOR>: Ensure that | |
8664 | mask bits outside of mode are just sign-extension from mode to HWI. | |
8665 | ||
930b700b MZ |
8666 | 2013-07-08 Michael Zolotukhin <michael.v.zolotukhin@gmail.com> |
8667 | ||
8668 | * config/i386/i386-opts.h (enum stringop_alg): Add vector_loop. | |
8669 | * config/i386/i386.c (expand_set_or_movmem_via_loop): Use | |
8670 | adjust_address instead of change_address to keep info about alignment. | |
8671 | (emit_strmov): Remove. | |
8672 | (emit_memmov): New function. | |
8673 | (expand_movmem_epilogue): Refactor to properly handle bigger sizes. | |
8674 | (expand_movmem_epilogue): Likewise and return updated rtx for | |
8675 | destination. | |
8676 | (expand_constant_movmem_prologue): Likewise and return updated rtx for | |
8677 | destination and source. | |
8678 | (decide_alignment): Refactor, handle vector_loop. | |
8679 | (ix86_expand_movmem): Likewise. | |
8680 | (ix86_expand_setmem): Likewise. | |
8681 | * config/i386/i386.opt (Enum): Add vector_loop to option stringop_alg. | |
8682 | ||
7b9d1bd8 UB |
8683 | 2013-07-07 Uros Bizjak <ubizjak@gmail.com> |
8684 | ||
8685 | * config/i386/driver-i386.c (host_detect_local_cpu): Do not check | |
8686 | signature_TM2_ebx, it interferes with signature_INTEL_ebx. | |
8687 | ||
eabb5f48 UB |
8688 | 2013-07-06 Uros Bizjak <ubizjak@gmail.com> |
8689 | ||
8690 | * config/i386/sse.md (sse_movlhps): Change alternative 3 | |
8691 | of operand 2 to "m". | |
8692 | ||
8693 | 2013-07-06 Uros Bizjak <ubizjak@gmail.com> | |
8694 | ||
8695 | PR target/57807 | |
8696 | * config/i386/sse.md (iptr): New mode attribute. | |
8697 | (sse2_movq128): Add pointer size overrides for Intel asm dialect. | |
8698 | (<sse>_vm<plusminus_insn><mode>3): Ditto. | |
8699 | (<sse>_vmmul<mode>3): Ditto. | |
8700 | (<sse>_vmdiv<mode>3): Ditto. | |
8701 | (sse_vmrcpv4sf2): Ditto. | |
8702 | (<sse>_vmsqrt<mode>2): Ditto. | |
8703 | (sse_vmrsqrtv4sf2): Ditto. | |
8704 | (<sse>_vm<code><mode>3): Ditto. | |
8705 | (avx_vmcmp<mode>3): Ditto. | |
8706 | (<sse>_vmmaskcmp<mode>3): Ditto. | |
8707 | (<sse>_comi): Ditto. | |
8708 | (<sse>_ucomi): Ditto. | |
8709 | (*xop_vmfrcz_<mode>): Ditto. | |
8710 | (*fmai_fmadd_<mode>): Ditto. | |
8711 | (*fmai_fmsub_<mode>): Ditto. | |
8712 | (*fmai_fnmadd_<mode>): Ditto. | |
8713 | (*fmai_fnmsub_<mode>): Ditto. | |
8714 | (*fma4i_vmfmadd_<mode>): Ditto. | |
8715 | (*fma4i_vmfmsub_<mode>): Ditto. | |
8716 | (*fma4i_vmfnmadd_<mode>): Ditto. | |
8717 | (*fma4i_vmfnmsub_<mode>): Ditto. | |
8718 | (*xop_vmfrcz_<mode>): Ditto. | |
8719 | (sse_cvtps2pi): Ditto. | |
8720 | (sse_cvttps2pi): Ditto. | |
8721 | (sse_cvtss2si): Ditto. | |
8722 | (sse_cvtss2si_2): Ditto. | |
8723 | (sse_cvtss2siq_2): Ditto. | |
8724 | (sse_cvttss2si): Ditto. | |
8725 | (sse_cvttss2siq): Ditto. | |
8726 | (sse_cvtsd2si): Ditto. | |
8727 | (sse_cvtsd2si_2): Ditto. | |
8728 | (sse_cvtsd2siq_2): Ditto. | |
8729 | (sse_cvttsd2si): Ditto. | |
8730 | (sse_cvttsd2siq): Ditto. | |
8731 | (sse_cvtsd2ss): Ditto. | |
8732 | (sse_cvtss2sd): Ditto. | |
8733 | (avx2_pbroadcast<mode>): Ditto. | |
8734 | (avx2_pbroadcast<mode>_1): Ditto. | |
8735 | (*avx_vperm_broadcast_v4sf): Ditto. | |
8736 | ||
8737 | (sse_movhlps): Ditto for movlp[sd]/movhp[sd] alternatives. | |
8738 | (sse_movlhps): Ditto. | |
8739 | (sse_storehps): Ditto. | |
8740 | (sse_loadhps): Ditto. | |
8741 | (sse_storelps): Ditto. | |
8742 | (sse_loadlps): Ditto. | |
8743 | (*vec_concatv4sf): Ditto. | |
8744 | (*vec_interleave_highv2df): Ditto. | |
8745 | (*vec_interleave_lowv2df): Ditto. | |
8746 | (*vec_extractv2df_1_sse): Ditto. | |
8747 | (*vec_extractv2df_0_sse): Ditto. | |
8748 | (sse2_storelpd): Ditto. | |
8749 | (sse2_loadlpd): Ditto. | |
8750 | (sse2_movsd): Ditto. | |
8751 | (*vec_concatv4si): Ditto. | |
8752 | (vec_concatv2di): Ditto. | |
8753 | ||
8754 | * config/i386/mmx.md (mmx_punpcklbw): Add pointer size overrides | |
8755 | for Intel asm dialect. | |
8756 | (mmx_punpcklwd): Ditto. | |
8757 | (mmx_punpckldq): Ditto. | |
8758 | ||
8759 | * config/i386/i386.c (ix86_print_operand) ['H']: Output 'qword ptr' | |
8760 | for intel assembler dialect. | |
8761 | ||
1f6eac90 JJ |
8762 | 2013-07-06 Jakub Jelinek <jakub@redhat.com> |
8763 | ||
8764 | PR target/29776 | |
8765 | * fold-const.c (tree_call_nonnegative_warnv_p): Return true | |
8766 | for BUILT_IN_C{LZ,LRSB}*. | |
8767 | * tree.h (CASE_INT_FN): Add FN##IMAX case. | |
8768 | * tree-vrp.c (extract_range_basic): Handle | |
8769 | BUILT_IN_{FFS,PARITY,POPCOUNT,C{LZ,TZ,LRSB}}*. For | |
8770 | BUILT_IN_CONSTANT_P if argument isn't (D) of PARM_DECL, | |
8771 | fall thru to code calling set_value*. | |
8772 | * builtins.c (expand_builtin): Remove *IMAX cases. | |
8773 | (fold_builtin_bitop): For BUILT_IN_CLRSB* return NULL_TREE | |
8774 | if width is bigger than 2*HWI. | |
8775 | ||
2b778c9d VM |
8776 | 2013-07-05 Vladimir Makarov <vmakarov@redhat.com> |
8777 | ||
8778 | PR rtl-optimization/55342 | |
8779 | * lra-int.h (lra_subreg_reload_pseudos): New. | |
8780 | * lra.c: Add undoing optional reloads to the block diagram. | |
8781 | (lra_subreg_reload_pseudos): New. | |
8782 | (lra_optional_reload_pseudos): Change comments. | |
8783 | (lra): Init and clear lra_subreg_reload_pseudos. Clear | |
8784 | lra_optional_reload_pseudos after undo transformations. | |
8785 | * lra-assigns.c (pseudo_prefix_title): New. | |
8786 | (lra_setup_reg_renumber): Use it. | |
8787 | (spill_for): Ditto. Check subreg reload pseudos too. | |
8788 | (assign_by_spills): Consider subreg reload pseudos too. | |
8789 | * lra-constraints.c (simplify_operand_subreg): Use | |
8790 | lra_subreg_reload_pseudos instead of lra_optional_reload_pseudos. | |
8791 | (curr_insn_transform): Recognize and do optional reloads. | |
8792 | (undo_optional_reloads): New. | |
8793 | (lra_undo_inheritance): Call undo_optional_reloads. | |
8794 | ||
207156e4 TQ |
8795 | 2013-07-05 Thomas Quinot <quinot@adacore.com> |
8796 | ||
8797 | * tree-complex.c (expand_complex_operations_1): Fix typo. | |
8798 | ||
8990e73a TB |
8799 | 2013-07-04 Tejas Belagod <tejas.belagod@arm.com> |
8800 | ||
8801 | * config/aarch64/aarch64-protos.h (cpu_vector_cost): New. | |
8802 | (tune_params): New member 'const vec_costs'. | |
8803 | * config/aarch64/aarch64.c (generic_vector_cost): New. | |
8804 | (generic_tunings): New member 'generic_vector_cost'. | |
8805 | (aarch64_builtin_vectorization_cost): New. | |
8806 | (aarch64_add_stmt_cost): New. | |
8807 | (TARGET_VECTORIZE_ADD_STMT_COST): New. | |
8808 | (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): New. | |
8809 | ||
f7bc421d JJ |
8810 | 2013-07-03 Jakub Jelinek <jakub@redhat.com> |
8811 | ||
8812 | PR target/57777 | |
8813 | * config/i386/predicates.md (vsib_address_operand): Disallow | |
8814 | SYMBOL_REF or LABEL_REF in parts.disp if TARGET_64BIT && flag_pic. | |
8815 | ||
e90d1568 HPN |
8816 | 2013-07-03 Hans-Peter Nilsson <hp@bitrange.com> |
8817 | ||
8818 | PR middle-end/55030 | |
8819 | * stmt.c (expand_nl_goto_receiver): Remove almost-copy of | |
8820 | expand_builtin_setjmp_receiver. | |
8821 | (expand_label): Adjust, call expand_builtin_setjmp_receiver | |
8822 | with NULL for the label parameter. | |
8823 | * builtins.c (expand_builtin_setjmp_receiver): Don't clobber | |
8824 | the frame-pointer. Adjust comments. | |
8825 | [HAVE_builtin_setjmp_receiver]: Emit builtin_setjmp_receiver | |
8826 | only if LABEL is non-NULL. | |
8827 | ||
cbd7413b YZ |
8828 | 2013-07-03 Yufeng Zhang <yufeng.zhang@arm.com> |
8829 | ||
8830 | * config/aarch64/aarch64.h (enum arm_abi_type): Remove. | |
8831 | (ARM_ABI_AAPCS64): Ditto. | |
8832 | (arm_abi): Ditto. | |
8833 | (ARM_DEFAULT_ABI): Ditto. | |
8834 | ||
dec11868 JG |
8835 | 2013-07-03 James Greenhalgh <james.greenhalgh@arm.com> |
8836 | ||
8837 | * config/aarch64/aarch64-builtins.c | |
8838 | (aarch64_simd_expand_builtin): Handle AARCH64_SIMD_STORE1. | |
8839 | * config/aarch64/aarch64-simd-builtins.def (ld1): New. | |
8840 | (st1): Likewise. | |
8841 | * config/aarch64/aarch64-simd.md | |
8842 | (aarch64_ld1<VALL:mode>): New. | |
8843 | (aarch64_st1<VALL:mode>): Likewise. | |
8844 | * config/aarch64/arm_neon.h | |
8845 | (vld1<q>_<fpsu><8, 16, 32, 64>): Convert to RTL builtins. | |
8846 | ||
786fb9b6 ST |
8847 | 2013-07-02 Sriraman Tallam <tmsriram@google.com> |
8848 | ||
0ba6aff3 UB |
8849 | * config/i386/i386.c (gate_insert_vzeroupper): Check if |
8850 | target ISA is AVX. | |
786fb9b6 ST |
8851 | (ix86_option_override_internal):Turn on all -mavx target flags by |
8852 | default as they are dependent on AVX anyway. | |
8853 | ||
4b043553 CC |
8854 | 2013-07-02 Cary Coutant <ccoutant@google.com> |
8855 | ||
8856 | * dwarf2out.c (loc_checksum): Call hash_loc_operands for a | |
8857 | deterministic hash. | |
8858 | (loc_checksum_ordered): Likewise. | |
8859 | (hash_loc_operands): Remove inline keyword. | |
8860 | ||
c4e87a13 JJ |
8861 | 2013-07-02 Jakub Jelinek <jakub@redhat.com> |
8862 | ||
8863 | PR tree-optimization/57741 | |
8864 | * tree-vect-loop.c (vect_is_simple_iv_evolution): Disallow | |
8865 | non-INTEGRAL_TYPE_P non-SCALAR_FLOAT_TYPE_P SSA_NAME step_exprs, | |
8866 | or SCALAR_FLOAT_TYPE_P SSA_NAMEs if !flag_associative_math. | |
8867 | Allow REAL_CST step_exprs if flag_associative_math. | |
8868 | (get_initial_def_for_induction): Handle SCALAR_FLOAT_TYPE_P step_expr. | |
8869 | ||
26366d28 IB |
8870 | 2013-07-02 Ian Bolton <ian.bolton@arm.com> |
8871 | ||
0ba6aff3 | 8872 | * config/aarch64/aarch64-simd.md (absdi2): Support abs for DI mode. |
26366d28 | 8873 | |
2879bb2b IB |
8874 | 2013-07-02 Ian Bolton <ian.bolton@arm.com> |
8875 | ||
8876 | * config/aarch64/aarch64.md (*extr_insv_reg<mode>): New pattern. | |
8877 | ||
afc5e8a6 KT |
8878 | 2013-07-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
8879 | ||
8880 | * config/arm/arm.md (arm_andsi3_insn): Add alternatives for 16-bit | |
8881 | encoding. | |
8882 | (iorsi3_insn): Likewise. | |
8883 | (arm_xorsi3): Likewise. | |
8884 | ||
31f8442b SN |
8885 | 2013-07-01 Sofiane Naci <sofiane.naci@arm.com> |
8886 | ||
8887 | * arm.md (attribute "wtype"): Delete. Move attribute values from here | |
8888 | to ... | |
8889 | (attribute "type"): ... here, and prefix with "wmmx_". | |
8890 | (attribute "core_cycles"): Update for attribute changes. | |
8891 | * iwmmxt.md (tbcstv8qi): Update for attribute changes. | |
8892 | (tbcstv4hi): Likewise. | |
8893 | (tbcstv2si): Likewise. | |
8894 | (iwmmxt_iordi3): Likewise. | |
8895 | (iwmmxt_xordi3): Likewise. | |
8896 | (iwmmxt_anddi3): Likewise. | |
8897 | (iwmmxt_nanddi3): Likewise. | |
8898 | (iwmmxt_arm_movdi): Likewise. | |
8899 | (iwmmxt_movsi_insn): Likewise. | |
8900 | (mov<mode>_internal): Likewise. | |
8901 | (and<mode>3_iwmmxt): Likewise. | |
8902 | (ior<mode>3_iwmmxt): Likewise. | |
8903 | (xor<mode>3_iwmmxt): Likewise. | |
8904 | (add<mode>3_iwmmxt): Likewise. | |
8905 | (ssaddv8qi3): Likewise. | |
8906 | (ssaddv4hi3): Likewise. | |
8907 | (ssaddv2si3): Likewise. | |
8908 | (usaddv8qi3): Likewise. | |
8909 | (usaddv4hi3): Likewise. | |
8910 | (usaddv2si3): Likewise. | |
8911 | (sub<mode>3_iwmmxt): Likewise. | |
8912 | (sssubv8qi3): Likewise. | |
8913 | (sssubv4hi3): Likewise. | |
8914 | (sssubv2si3): Likewise. | |
8915 | (ussubv8qi3): Likewise. | |
8916 | (ussubv4hi3): Likewise. | |
8917 | (ussubv2si3): Likewise. | |
8918 | (mulv4hi3_iwmmxt): Likewise. | |
8919 | (smulv4hi3_highpart): Likewise. | |
8920 | (umulv4hi3_highpart): Likewise. | |
8921 | (iwmmxt_wmacs): Likewise. | |
8922 | (iwmmxt_wmacsz): Likewise. | |
8923 | (iwmmxt_wmacu): Likewise. | |
8924 | (iwmmxt_wmacuz): Likewise. | |
8925 | (iwmmxt_clrdi): Likewise. | |
8926 | (iwmmxt_clrv8qi): Likewise. | |
8927 | (iwmmxt_clr4hi): Likewise. | |
8928 | (iwmmxt_clr2si): Likewise. | |
8929 | (iwmmxt_uavgrndv8qi3): Likewise. | |
8930 | (iwmmxt_uavgrndv4hi3): Likewise. | |
8931 | (iwmmxt_uavgv8qi3): Likewise. | |
8932 | (iwmmxt_uavgv4hi3): Likewise. | |
8933 | (iwmmxt_tinsrb): Likewise. | |
8934 | (iwmmxt_tinsrh): Likewise. | |
8935 | (iwmmxt_tinsrw): Likewise. | |
8936 | (iwmmxt_textrmub): Likewise. | |
8937 | (iwmmxt_textrmsb): Likewise. | |
8938 | (iwmmxt_textrmuh): Likewise. | |
8939 | (iwmmxt_textrmsh): Likewise. | |
8940 | (iwmmxt_textrmw): Likewise. | |
8941 | (iwmxxt_wshufh): Likewise. | |
8942 | (eqv8qi3): Likewise. | |
8943 | (eqv4hi3): Likewise. | |
8944 | (eqv2si3): Likewise. | |
8945 | (gtuv8qi3): Likewise. | |
8946 | (gtuv4hi3): Likewise. | |
8947 | (gtuv2si3): Likewise. | |
8948 | (gtv8qi3): Likewise. | |
8949 | (gtv4hi3): Likewise. | |
8950 | (gtv2si3): Likewise. | |
8951 | (smax<mode>3_iwmmxt): Likewise. | |
8952 | (umax<mode>3_iwmmxt): Likewise. | |
8953 | (smin<mode>3_iwmmxt): Likewise. | |
8954 | (umin<mode>3_iwmmxt): Likewise. | |
8955 | (iwmmxt_wpackhss): Likewise. | |
8956 | (iwmmxt_wpackwss): Likewise. | |
8957 | (iwmmxt_wpackdss): Likewise. | |
8958 | (iwmmxt_wpackhus): Likewise. | |
8959 | (iwmmxt_wpackwus): Likewise. | |
8960 | (iwmmxt_wpackdus): Likewise. | |
8961 | (iwmmxt_wunpckihb): Likewise. | |
8962 | (iwmmxt_wunpckihh): Likewise. | |
8963 | (iwmmxt_wunpckihw): Likewise. | |
8964 | (iwmmxt_wunpckilb): Likewise. | |
8965 | (iwmmxt_wunpckilh): Likewise. | |
8966 | (iwmmxt_wunpckilw): Likewise. | |
8967 | (iwmmxt_wunpckehub): Likewise. | |
8968 | (iwmmxt_wunpckehuh): Likewise. | |
8969 | (iwmmxt_wunpckehuw): Likewise. | |
8970 | (iwmmxt_wunpckehsb): Likewise. | |
8971 | (iwmmxt_wunpckehsh): Likewise. | |
8972 | (iwmmxt_wunpckehsw): Likewise. | |
8973 | (iwmmxt_wunpckelub): Likewise. | |
8974 | (iwmmxt_wunpckeluh): Likewise. | |
8975 | (iwmmxt_wunpckeluw): Likewise. | |
8976 | (iwmmxt_wunpckelsb): Likewise. | |
8977 | (iwmmxt_wunpckelsh): Likewise. | |
8978 | (iwmmxt_wunpckelsw): Likewise. | |
8979 | (ror<mode>3): Likewise. | |
8980 | (ashr<mode>3_iwmmxt): Likewise. | |
8981 | (lshr<mode>3_iwmmxt): Likewise. | |
8982 | (ashl<mode>3_iwmmxt): Likewise. | |
8983 | (ror<mode>3_di): Likewise. | |
8984 | (ashr<mode>3_di): Likewise. | |
8985 | (lshr<mode>3_di): Likewise. | |
8986 | (ashl<mode>3_di): Likewise. | |
8987 | (iwmmxt_wmadds): Likewise. | |
8988 | (iwmmxt_wmaddu): Likewise. | |
8989 | (iwmmxt_tmia): Likewise. | |
8990 | (iwmmxt_tmiaph): Likewise. | |
8991 | (iwmmxt_tmiabb): Likewise. | |
8992 | (iwmmxt_tmiatb): Likewise. | |
8993 | (iwmmxt_tmiabt): Likewise. | |
8994 | (iwmmxt_tmiatt): Likewise. | |
8995 | (iwmmxt_tmovmskb): Likewise. | |
8996 | (iwmmxt_tmovmskh): Likewise. | |
8997 | (iwmmxt_tmovmskw): Likewise. | |
8998 | (iwmmxt_waccb): Likewise. | |
8999 | (iwmmxt_wacch): Likewise. | |
9000 | (iwmmxt_waccw): Likewise. | |
9001 | (iwmmxt_waligni): Likewise. | |
9002 | (iwmmxt_walignr): Likewise. | |
9003 | (iwmmxt_walignr0): Likewise. | |
9004 | (iwmmxt_walignr1): Likewise. | |
9005 | (iwmmxt_walignr2): Likewise. | |
9006 | (iwmmxt_walignr3): Likewise. | |
9007 | (iwmmxt_wsadb): Likewise. | |
9008 | (iwmmxt_wsadh): Likewise. | |
9009 | (iwmmxt_wsadbz): Likewise. | |
9010 | (iwmmxt_wsadhz): Likewise. | |
9011 | * iwmmxt2.md (iwmmxt_wabs<mode>3): Update for attribute changes. | |
9012 | (iwmmxt_wabsdiffb): Likewise. | |
9013 | (iwmmxt_wabsdiffh): Likewise. | |
9014 | (iwmmxt_wabsdiffw): Likewise. | |
9015 | (iwmmxt_waddsubhx): Likewise | |
9016 | (iwmmxt_wsubaddhx): Likewise. | |
9017 | (addc<mode>3): Likewise. | |
9018 | (iwmmxt_avg4): Likewise. | |
9019 | (iwmmxt_avg4r): Likewise. | |
9020 | (iwmmxt_wmaddsx): Likewise. | |
9021 | (iwmmxt_wmaddux): Likewise. | |
9022 | (iwmmxt_wmaddsn): Likewise. | |
9023 | (iwmmxt_wmaddun): Likewise. | |
9024 | (iwmmxt_wmulwsm): Likewise. | |
9025 | (iwmmxt_wmulwum): Likewise. | |
9026 | (iwmmxt_wmulsmr): Likewise. | |
9027 | (iwmmxt_wmulumr): Likewise. | |
9028 | (iwmmxt_wmulwsmr): Likewise. | |
9029 | (iwmmxt_wmulwumr): Likewise. | |
9030 | (iwmmxt_wmulwl): Likewise. | |
9031 | (iwmmxt_wqmulm): Likewise. | |
9032 | (iwmmxt_wqmulwm): Likewise. | |
9033 | (iwmmxt_wqmulmr): Likewise. | |
9034 | (iwmmxt_wqmulwmr): Likewise. | |
9035 | (iwmmxt_waddbhusm): Likewise. | |
9036 | (iwmmxt_waddbhusl): Likewise. | |
9037 | (iwmmxt_wqmiabb): Likewise. | |
9038 | (iwmmxt_wqmiabt): Likewise. | |
9039 | (iwmmxt_wqmiatb): Likewise. | |
9040 | (iwmmxt_wqmiatt): Likewise. | |
9041 | (iwmmxt_wqmiabbn): Likewise. | |
9042 | (iwmmxt_wqmiabtn): Likewise. | |
9043 | (iwmmxt_wqmiatbn): Likewise. | |
9044 | (iwmmxt_wqmiattn): Likewise. | |
9045 | (iwmmxt_wmiabb): Likewise. | |
9046 | (iwmmxt_wmiabt): Likewise. | |
9047 | (iwmmxt_wmiatb): Likewise. | |
9048 | (iwmmxt_wmiatt): Likewise. | |
9049 | (iwmmxt_wmiabbn): Likewise. | |
9050 | (iwmmxt_wmiabtn): Likewise. | |
9051 | (iwmmxt_wmiatbn): Likewise. | |
9052 | (iwmmxt_wmiattn): Likewise. | |
9053 | (iwmmxt_wmiawbb): Likewise. | |
9054 | (iwmmxt_wmiawbt): Likewise. | |
9055 | (iwmmxt_wmiawtb): Likewise. | |
9056 | (iwmmxt_wmiawtt): Likewise. | |
9057 | (iwmmxt_wmiawbbn): Likewise. | |
9058 | (iwmmxt_wmiawbtn): Likewise. | |
9059 | (iwmmxt_wmiawtbn): Likewise. | |
9060 | (iwmmxt_wmiawttn): Likewise. | |
9061 | (iwmmxt_wmerge): Likewise. | |
9062 | (iwmmxt_tandc<mode>3): Likewise. | |
9063 | (iwmmxt_torc<mode>3): Likewise. | |
9064 | (iwmmxt_torvsc<mode>3): Likewise. | |
9065 | (iwmmxt_textrc<mode>3): Likewise. | |
9066 | * marvell-f-iwmmxt.md (wmmxt_shift): Update for attribute changes. | |
9067 | (wmmxt_pack): Likewise. | |
9068 | (wmmxt_mult_c1): Likewise. | |
9069 | (wmmxt_mult_c2): Likewise. | |
9070 | (wmmxt_alu_c1): Likewise. | |
9071 | (wmmxt_alu_c2): Likewise. | |
9072 | (wmmxt_alu_c3): Likewise. | |
9073 | (wmmxt_transfer_c1): Likewise. | |
9074 | (wmmxt_transfer_c2): Likewise. | |
9075 | (wmmxt_transfer_c3): Likewise. | |
9076 | (marvell_f_iwmmxt_wstr): Likewise. | |
9077 | (marvell_f_iwmmxt_wldr): Likewise. | |
9078 | ||
bdb7bf8a YZ |
9079 | 2013-06-29 Yufeng Zhang <yufeng.zhang@arm.com> |
9080 | ||
0ba6aff3 | 9081 | * config/aarch64/aarch64.c: Remove junk from the beginning of the file. |
bdb7bf8a | 9082 | |
e6631d38 VM |
9083 | 2013-06-28 Vladimir Makarov <vmakarov@redhat.com> |
9084 | ||
9085 | Revert: | |
9086 | 2013-06-28 Vladimir Makarov <vmakarov@redhat.com> | |
9087 | * lra-constraints.c (need_for_split_p): Check call used hard regs | |
9088 | living through calls. | |
9089 | ||
9090 | * lra-constraints.c (inherit_in_ebb): Reset live_hard_regs for | |
9091 | call used regs for call insn. | |
9092 | ||
53c1275b JJ |
9093 | 2013-06-28 Jakub Jelinek <jakub@redhat.com> |
9094 | ||
9095 | PR target/57736 | |
0ba6aff3 UB |
9096 | * config/i386/i386.c (ix86_expand_builtin): If target == NULL and |
9097 | mode is VOIDmode, don't create a VOIDmode pseudo to copy result into. | |
53c1275b | 9098 | |
1141ed3f BI |
9099 | 2013-06-28 Balaji V. Iyer <balaji.v.iyer@intel.com> |
9100 | ||
9101 | * builtins.def: Fixed the function type of CILKPLUS_BUILTIN. | |
e6631d38 | 9102 | |
e32e4c4a VM |
9103 | 2013-06-28 Vladimir Makarov <vmakarov@redhat.com> |
9104 | ||
9105 | * lra-constraints.c (need_for_split_p): Check call used hard regs | |
9106 | living through calls. | |
9107 | ||
f161bfd3 MM |
9108 | 2013-06-28 Michael Meissner <meissner@linux.vnet.ibm.com> |
9109 | ||
9110 | PR target/57744 | |
9111 | * config/rs6000/rs6000.h (MODES_TIEABLE_P): Do not allow PTImode | |
9112 | to tie with any other modes. Eliminate Altivec vector mode tests, | |
9113 | since these are a subset of ALTIVEC or VSX vector modes. Simplify | |
9114 | code, to return 0 if testing MODE2 for a condition, if we've | |
9115 | already tested MODE1 for the same condition. | |
9116 | ||
7eda14e1 MS |
9117 | 2013-06-28 Marcus Shawcroft <marcus.shawcroft@arm.com> |
9118 | ||
9119 | * config/aarch64/aarch64.c (aarch64_cannot_force_const_mem): Adjust | |
9120 | layout. | |
9121 | ||
c822f852 MS |
9122 | 2013-06-28 Marcus Shawcroft <marcus.shawcroft@arm.com> |
9123 | ||
9124 | * config/aarch64/aarch64-protos.h (aarch64_symbol_type): | |
9125 | Update comment w.r.t SYMBOL_TINY_ABSOLUTE. | |
9126 | ||
da4f13a4 MS |
9127 | 2013-06-28 Marcus Shawcroft <marcus.shawcroft@arm.com> |
9128 | ||
0ba6aff3 UB |
9129 | * config/aarch64/aarch64-protos.h (aarch64_classify_symbol_expression): |
9130 | Define. | |
da4f13a4 MS |
9131 | (aarch64_symbolic_constant_p): Remove. |
9132 | * config/aarch64/aarch64.c (aarch64_classify_symbol_expression): Remove | |
9133 | static. Fix line length and white space. | |
9134 | (aarch64_symbolic_constant_p): Remove. | |
9135 | * config/aarch64/predicates.md (aarch64_valid_symref): | |
9136 | Use aarch64_classify_symbol_expression. | |
9137 | ||
956a95a5 KT |
9138 | 2013-06-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
9139 | ||
9140 | * config/arm/constraints.md (Ts): New constraint. | |
9141 | * config/arm/arm.md (arm_movqi_insn): Add alternatives for | |
9142 | 16-bit encodings. | |
9143 | (compare_scc): Use "Ts" constraint for operand 0. | |
9144 | (ior_scc_scc): Likewise. | |
9145 | (and_scc_scc): Likewise. | |
9146 | (and_scc_scc_nodom): Likewise. | |
9147 | (ior_scc_scc_cmp): Likewise for operand 7. | |
9148 | (and_scc_scc_cmp): Likewise. | |
9149 | * config/arm/thumb2.md (thumb2_movsi_insn): | |
9150 | Add alternatives for 16-bit encodings. | |
9151 | (thumb2_movhi_insn): Likewise. | |
9152 | (thumb2_movsicc_insn): Likewise. | |
9153 | (thumb2_and_scc): Take 'and' outside cond_exec. Use "Ts" constraint. | |
9154 | (thumb2_negscc): Use "Ts" constraint. | |
9155 | Move mvn instruction outside cond_exec block. | |
9156 | * config/arm/vfp.md (thumb2_movsi_vfp): Add alternatives | |
9157 | for 16-bit encodings. | |
9158 | ||
31dfce10 KT |
9159 | 2013-06-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
9160 | ||
9161 | * config/arm/arm.md (arm_mulsi3_v6): Add alternative for 16-bit | |
9162 | encoding. | |
9163 | (mulsi3addsi_v6): Disable predicable variant for arm_restrict_it. | |
9164 | (mulsi3subsi): Likewise. | |
9165 | (mulsidi3adddi): Likewise. | |
9166 | (mulsidi3_v6): Likewise. | |
9167 | (umulsidi3_v6): Likewise. | |
9168 | (umulsidi3adddi_v6): Likewise. | |
9169 | (smulsi3_highpart_v6): Likewise. | |
9170 | (umulsi3_highpart_v6): Likewise. | |
9171 | (mulhisi3tb): Likewise. | |
9172 | (mulhisi3bt): Likewise. | |
9173 | (mulhisi3tt): Likewise. | |
9174 | (maddhisi4): Likewise. | |
9175 | (maddhisi4tb): Likewise. | |
9176 | (maddhisi4tt): Likewise. | |
9177 | (maddhidi4): Likewise. | |
9178 | (maddhidi4tb): Likewise. | |
9179 | (maddhidi4tt): Likewise. | |
9180 | (zeroextractsi_compare0_scratch): Likewise. | |
9181 | (insv_zero): Likewise. | |
9182 | (insv_t2): Likewise. | |
9183 | (anddi_notzesidi_di): Likewise. | |
9184 | (anddi_notsesidi_di): Likewise. | |
9185 | (andsi_notsi_si): Likewise. | |
9186 | (iordi_zesidi_di): Likewise. | |
9187 | (xordi_zesidi_di): Likewise. | |
9188 | (andsi_iorsi3_notsi): Likewise. | |
9189 | (smax_0): Likewise. | |
9190 | (smax_m1): Likewise. | |
9191 | (smin_0): Likewise. | |
9192 | (not_shiftsi): Likewise. | |
9193 | (unaligned_loadsi): Likewise. | |
9194 | (unaligned_loadhis): Likewise. | |
9195 | (unaligned_loadhiu): Likewise. | |
9196 | (unaligned_storesi): Likewise. | |
9197 | (unaligned_storehi): Likewise. | |
9198 | (extv_reg): Likewise. | |
9199 | (extzv_t2): Likewise. | |
9200 | (divsi3): Likewise. | |
9201 | (udivsi3): Likewise. | |
9202 | (arm_zero_extendhisi2addsi): Likewise. | |
9203 | (arm_zero_extendqisi2addsi): Likewise. | |
9204 | (compareqi_eq0): Likewise. | |
9205 | (arm_extendhisi2_v6): Likewise. | |
9206 | (arm_extendqisi2addsi): Likewise. | |
9207 | (arm_movt): Likewise. | |
9208 | (thumb2_ldrd): Likewise. | |
9209 | (thumb2_ldrd_base): Likewise. | |
9210 | (thumb2_ldrd_base_neg): Likewise. | |
9211 | (thumb2_strd): Likewise. | |
9212 | (thumb2_strd_base): Likewise. | |
9213 | (thumb2_strd_base_neg): Likewise. | |
9214 | (arm_negsi2): Add alternative for 16-bit encoding. | |
9215 | (arm_one_cmplsi2): Likewise. | |
9216 | ||
1572e697 KT |
9217 | 2013-06-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
9218 | ||
9219 | * config/arm/predicates.md (arm_cond_move_operator): New predicate. | |
9220 | * config/arm/arm.md (movsfcc): Use arm_cond_move_operator predicate. | |
9221 | (movdfcc): Likewise. | |
9222 | * config/arm/vfp.md (*thumb2_movsf_vfp): | |
9223 | Disable predication for arm_restrict_it. | |
9224 | (*thumb2_movsfcc_vfp): Disable for arm_restrict_it. | |
9225 | (*thumb2_movdfcc_vfp): Likewise. | |
9226 | (*abssf2_vfp, *absdf2_vfp, *negsf2_vfp, *negdf2_vfp,*addsf3_vfp, | |
9227 | *adddf3_vfp, *subsf3_vfp, *subdf3_vfpc, *divsf3_vfp,*divdf3_vfp, | |
9228 | *mulsf3_vfp, *muldf3_vfp, *mulsf3negsf_vfp, *muldf3negdf_vfp, | |
9229 | *mulsf3addsf_vfp, *muldf3adddf_vfp, *mulsf3subsf_vfp, | |
9230 | *muldf3subdf_vfp, *mulsf3negsfaddsf_vfp, *fmuldf3negdfadddf_vfp, | |
9231 | *mulsf3negsfsubsf_vfp, *muldf3negdfsubdf_vfp, *fma<SDF:mode>4, | |
9232 | *fmsub<SDF:mode>4, *fnmsub<SDF:mode>4, *fnmadd<SDF:mode>4, | |
9233 | *extendsfdf2_vfp, *truncdfsf2_vfp, *extendhfsf2, *truncsfhf2, | |
9234 | *truncsisf2_vfp, *truncsidf2_vfp, fixuns_truncsfsi2, fixuns_truncdfsi2, | |
9235 | *floatsisf2_vfp, *floatsidf2_vfp, floatunssisf2, floatunssidf2, | |
9236 | *sqrtsf2_vfp, *sqrtdf2_vfp, *cmpsf_vfp, *cmpsf_trap_vfp, *cmpdf_vfp, | |
9237 | *cmpdf_trap_vfp, <vrint_pattern><SDF:mode>2): | |
9238 | Disable predication for arm_restrict_it. | |
9239 | ||
ebf8f0ea KY |
9240 | 2013-06-28 Kirill Yukhin <kirill.yukhin@intel.com> |
9241 | ||
9242 | * config/i386/bmiintrin.h (_bextr_u32): New. | |
9243 | (_bextr_u64): Ditto. | |
9244 | ||
a290fcda RS |
9245 | 2013-06-27 Richard Sandiford <rdsandiford@googlemail.com> |
9246 | ||
9247 | * config.gcc (mips*-mti-elf*, mips*-sde-elf*, mips64r5900-*-elf*) | |
9248 | (mips64r5900el-*-elf*): Include mips/n32-elf.h. | |
9249 | * config/mips/sde.h (LOCAL_LABEL_PREFIX, NO_DOLLAR_IN_LABEL) | |
9250 | (LONG_DOUBLE_TYPE_SIZE, LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move to... | |
9251 | * config/mips/n32-elf.h: ...this new file. | |
9252 | ||
ea169996 MG |
9253 | 2013-06-27 Marc Glisse <marc.glisse@inria.fr> |
9254 | ||
9255 | PR target/57224 | |
9256 | * config/i386/i386.c (enum ix86_builtins, bdesc_args): Remove | |
9257 | IX86_BUILTIN_CMPNGTSS and IX86_BUILTIN_CMPNGESS. | |
9258 | ||
12211b99 | 9259 | 2013-06-27 Catherine Moore <clm@codesourcery.com> |
8e932114 CM |
9260 | |
9261 | * config/mips/mips-tables.opt: Regenerate. | |
9262 | * config/mips/mips-cpus.def: Add m14ke and m14kec. | |
0ba6aff3 | 9263 | * config/mips/mips.h (BASE_DRIVER_SELF_SPECS): m14ke* implies -mdspr2. |
8e932114 | 9264 | * doc/invoke.texi: Add -m14kc. |
ebf8f0ea | 9265 | |
2444244e JJ |
9266 | 2013-06-27 Jakub Jelinek <jakub@redhat.com> |
9267 | ||
cd06d2a2 JJ |
9268 | PR target/57623 |
9269 | * config/i386/i386.md (bmi_bextr_<mode>): Swap predicates and | |
9270 | constraints of operand 1 and 2. | |
9271 | ||
2444244e JJ |
9272 | PR target/57623 |
9273 | * config/i386/i386.md (bmi2_bzhi_<mode>3): Swap AND arguments | |
9274 | to match RTL canonicalization. Swap predicates and | |
9275 | constraints of operand 1 and 2. | |
9276 | ||
2f259720 VM |
9277 | 2013-06-27 Vladimir Makarov <vmakarov@redhat.com> |
9278 | ||
0ba6aff3 UB |
9279 | * lra-constraints.c (inherit_in_ebb): Process static hard regs too. |
9280 | Process OP_INOUT regs for splitting too. | |
2f259720 | 9281 | |
fef4d2b3 JJ |
9282 | 2013-06-27 Jakub Jelinek <jakub@redhat.com> |
9283 | ||
9284 | * tree-vect-stmts.c (vectorizable_store): Move ptr_incr var | |
9285 | decl before the loop, initialize to NULL. | |
9286 | (vectorizable_load): Initialize ptr_incr to NULL. | |
9287 | ||
79ee9826 MJ |
9288 | 2013-06-27 Martin Jambor <mjambor@suse.cz> |
9289 | ||
9290 | PR lto/57208 | |
9291 | * ipa-ref.h (ipa_maybe_record_reference): Declare. | |
9292 | * ipa-ref.c (ipa_maybe_record_reference): New function. | |
9293 | * cgraphclones.c (cgraph_create_virtual_clone): Use it. | |
9294 | * ipa-cp.c (create_specialized_node): Record potential references from | |
9295 | aggvals. | |
9296 | * Makefile.in (ipa-ref.o): Add IPA_REF_H to dependencies. | |
9297 | ||
e18b4a81 YZ |
9298 | 2013-06-27 Yufeng Zhang <yufeng.zhang@arm.com> |
9299 | ||
9300 | * config/aarch64/aarch64.c (aarch64_force_temporary): Add an extra | |
9301 | parameter 'mode' of type 'enum machine_mode mode'; change to pass | |
9302 | 'mode' to force_reg. | |
9303 | (aarch64_add_offset): Update calls to aarch64_force_temporary. | |
9304 | (aarch64_expand_mov_immediate): Likewise. | |
9305 | ||
9c023bf0 YZ |
9306 | 2013-06-27 Yufeng Zhang <yufeng.zhang@arm.com> |
9307 | ||
9308 | * config/aarch64/aarch64.c (aarch64_add_offset): Change to pass | |
9309 | 'mode' to aarch64_plus_immediate and gen_rtx_PLUS. | |
9310 | ||
5a3fe9b6 AK |
9311 | 2013-06-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9312 | ||
9313 | * config/s390/s390.c: Rename UNSPEC_CCU_TO_INT to | |
9314 | UNSPEC_STRCMPCC_TO_INT and UNSPEC_CCZ_TO_INT to UNSPEC_CC_TO_INT. | |
9315 | (struct machine_function): Add tbegin_p. | |
9316 | (s390_canonicalize_comparison): Fold CC mode compares to | |
9317 | conditional jump if possible. | |
9318 | (s390_emit_jump): Return the emitted jump. | |
9319 | (s390_branch_condition_mask, s390_branch_condition_mnemonic): | |
9320 | Handle CCRAWmode compares. | |
9321 | (s390_option_override): Default to -mhtm if available. | |
9322 | (s390_reg_clobbered_rtx): Handle floating point regs as well. | |
9323 | (s390_regs_ever_clobbered): Use s390_regs_ever_clobbered also for | |
9324 | FPRs instead of df_regs_ever_live_p. | |
9325 | (s390_optimize_nonescaping_tx): New function. | |
9326 | (s390_init_frame_layout): Extend clobbered_regs array to cover | |
9327 | FPRs as well. | |
9328 | (s390_emit_prologue): Call s390_optimize_nonescaping_tx. | |
9329 | (s390_expand_tbegin): New function. | |
9330 | (enum s390_builtin): New enum definition. | |
9331 | (code_for_builtin): New array definition. | |
9332 | (s390_init_builtins): New function. | |
9333 | (s390_expand_builtin): New function. | |
9334 | (TARGET_INIT_BUILTINS): Define. | |
9335 | (TARGET_EXPAND_BUILTIN): Define. | |
0ba6aff3 | 9336 | * common/config/s390/s390-common.c (processor_flags_table): Add PF_TX. |
5a3fe9b6 AK |
9337 | * config/s390/predicates.md (s390_comparison): Handle CCRAWmode. |
9338 | (s390_alc_comparison): Likewise. | |
9339 | * config/s390/s390-modes.def: Add CCRAWmode. | |
9340 | * config/s390/s390.h (processor_flags): Add PF_TX. | |
9341 | (TARGET_CPU_HTM): Define macro. | |
9342 | (TARGET_HTM): Define macro. | |
9343 | (TARGET_CPU_CPP_BUILTINS): Define __HTM__ for htm. | |
9344 | * config/s390/s390.md: Rename UNSPEC_CCU_TO_INT to | |
9345 | UNSPEC_STRCMPCC_TO_INT and UNSPEC_CCZ_TO_INT to UNSPEC_CC_TO_INT. | |
9346 | (UNSPECV_TBEGIN, UNSPECV_TBEGINC, UNSPECV_TEND, UNSPECV_TABORT) | |
0ba6aff3 | 9347 | (UNSPECV_ETND, UNSPECV_NTSTG, UNSPECV_PPA): New unspecv enum values. |
5a3fe9b6 AK |
9348 | (TBEGIN_MASK, TBEGINC_MASK): New constants. |
9349 | ("*cc_to_int"): Move up. | |
9350 | ("*mov<mode>cc", "*cjump_64", "*cjump_31"): Accept integer | |
9351 | constants other than 0. | |
9352 | ("*ccraw_to_int"): New insn and splitter definition. | |
9353 | ("tbegin", "tbegin_nofloat", "tbegin_retry") | |
9354 | ("tbegin_retry_nofloat", "tbeginc", "tend", "tabort") | |
9355 | ("tx_assist"): New expander. | |
9356 | ("tbegin_1", "tbegin_nofloat_1", "*tbeginc_1", "*tend_1") | |
9357 | ("*tabort_1", "etnd", "ntstg", "*ppa"): New insn definition. | |
9358 | * config/s390/s390.opt: Add -mhtm option. | |
9359 | * config/s390/s390-protos.h (s390_emit_jump): Add return type. | |
9360 | * config/s390/htmxlintrin.h: New file. | |
9361 | * config/s390/htmintrin.h: New file. | |
9362 | * config/s390/s390intrin.h: New file. | |
9363 | * doc/extend.texi: Document htm builtins. | |
9364 | * config.gcc: Add the new header files to extra_headers. | |
9365 | ||
9e216629 TS |
9366 | 2013-06-26 Thomas Schwinge <thomas@codesourcery.com> |
9367 | ||
9368 | * config/i386/gnu.h [TARGET_LIBC_PROVIDES_SSP] | |
0ba6aff3 | 9369 | (TARGET_CAN_SPLIT_STACK, TARGET_THREAD_SPLIT_STACK_OFFSET): Undefine. |
9e216629 | 9370 | |
fd8c65e7 | 9371 | 2013-06-26 Michael Meissner <meissner@linux.vnet.ibm.com> |
12211b99 UB |
9372 | Pat Haugen <pthaugen@us.ibm.com> |
9373 | Peter Bergner <bergner@vnet.ibm.com> | |
fd8c65e7 MM |
9374 | |
9375 | * config/rs6000/power8.md: New. | |
9376 | * config/rs6000/rs6000-cpus.def (RS6000_CPU table): Adjust processor | |
9377 | setting for power8 entry. | |
9378 | * config/rs6000/t-rs6000 (MD_INCLUDES): Add power8.md. | |
9379 | * config/rs6000/rs6000.c (is_microcoded_insn, is_cracked_insn): Adjust | |
9380 | test for Power4/Power5 only. | |
9381 | (insn_must_be_first_in_group, insn_must_be_last_in_group): Add Power8 | |
9382 | support. | |
9383 | (force_new_group): Adjust comment. | |
9384 | * config/rs6000/rs6000.md: Include power8.md. | |
9385 | ||
b24a2ce5 GY |
9386 | 2013-06-26 Greta Yorsh <Greta.Yorsh@arm.com> |
9387 | ||
9388 | * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Define macro. | |
9389 | * config/arm/arm-protos.h (arm_max_conditional_execute): New | |
9390 | declaration. | |
9391 | (tune_params): Update comment. | |
9392 | * config/arm/arm.c (arm_cortex_a15_tune): Set max_cond_insns to 2. | |
9393 | (arm_max_conditional_execute): New function. | |
9394 | (thumb2_final_prescan_insn): Use max_insn_skipped and | |
9395 | MAX_INSN_PER_IT_BLOCK to compute maximum instructions in a block. | |
9396 | ||
f6fdeb62 JJ |
9397 | 2013-06-25 Jakub Jelinek <jakub@redhat.com> |
9398 | ||
9399 | PR tree-optimization/57705 | |
9400 | * tree-vect-loop.c (vect_is_simple_iv_evolution): Allow | |
9401 | SSA_NAME step, provided that it is not defined inside the loop. | |
0ba6aff3 | 9402 | (vect_analyze_scalar_cycles_1): Disallow SSA_NAME step in nested loop. |
f6fdeb62 JJ |
9403 | (get_initial_def_for_induction): Handle SSA_NAME IV step. |
9404 | ||
c13bc3d9 MJ |
9405 | 2013-06-25 Martin Jambor <mjambor@suse.cz> |
9406 | ||
9407 | PR middle-end/57670 | |
9408 | * cgraph.h (cgraph_indirect_call_info): New flag member_ptr. | |
9409 | * ipa-prop.c (ipa_print_node_jump_functions): Mark member pointer | |
9410 | calls in the dump. | |
9411 | (ipa_note_param_call): Initialize member_ptr flag. | |
9412 | (ipa_analyze_indirect_call_uses): Set member_ptr flag. | |
9413 | (ipa_make_edge_direct_to_target): Bail out if member_ptr is set. | |
9414 | (ipa_write_indirect_edge_info): Stream member_ptr flag. | |
9415 | (ipa_read_indirect_edge_info): Likewise. | |
9416 | ||
8a845901 RB |
9417 | 2013-06-25 Richard Biener <rguenther@suse.de> |
9418 | ||
9419 | PR middle-end/56977 | |
9420 | * passes.c (init_optimization_passes): Move pass_fold_builtins | |
9421 | and pass_dce earlier with -Og. | |
9422 | ||
33be0bec EB |
9423 | 2013-06-25 Eric Botcazou <ebotcazou@adacore.com> |
9424 | ||
9425 | * expr.c (expand_expr_real_1) <ARRAY_REF>: Fix formatting glitches. | |
9426 | <BIT_FIELD_REF>: Remove trailing TAB. | |
9427 | * varasm.c (output_constructor_bitfield): Fix formatting glitch and | |
9428 | remove blank line. | |
9429 | ||
5fe8e757 MJ |
9430 | 2013-06-24 Martin Jambor <mjambor@suse.cz> |
9431 | ||
9432 | PR tree-optimization/57358 | |
9433 | * ipa-prop.c (ipa_func_spec_opts_forbid_analysis_p): New function. | |
9434 | (ipa_compute_jump_functions_for_edge): Bail out if it returns true. | |
9435 | (ipa_analyze_params_uses): Generate pessimistic info when true. | |
9436 | ||
44a60244 MJ |
9437 | 2013-06-24 Martin Jambor <mjambor@suse.cz> |
9438 | ||
9439 | PR tree-optimization/57539 | |
9440 | * cgraphclones.c (cgraph_clone_node): Add parameter new_inlined_to, set | |
9441 | global.inlined_to of the new node to it. All callers changed. | |
9442 | * ipa-inline-transform.c (clone_inlined_nodes): New variable | |
9443 | inlining_into, pass it to cgraph_clone_node. | |
9444 | * ipa-prop.c (ipa_propagate_indirect_call_infos): Do not call | |
9445 | ipa_free_edge_args_substructures. | |
9446 | (ipa_edge_duplication_hook): Only add edges from inlined nodes to | |
9447 | rdesc linked list. Do not assert rdesc edges have inlined caller. | |
9448 | Assert we have found an rdesc in the rdesc list. | |
9449 | ||
7c5848b8 RB |
9450 | 2013-06-24 Richard Biener <rguenther@suse.de> |
9451 | ||
0ba6aff3 | 9452 | * pointer-set.h (struct pointer_set_t): Move here from pointer-set.c. |
7c5848b8 RB |
9453 | (pointer_set_lookup): Declare. |
9454 | (class pointer_map): New template class implementing a | |
9455 | generic pointer to T map. | |
9456 | (pointer_map<T>::pointer_map, pointer_map<T>::~pointer_map, | |
9457 | pointer_map<T>::contains, pointer_map<T>::insert, | |
9458 | pointer_map<T>::traverse): New functions. | |
9459 | * pointer-set.c (struct pointer_set_t): Moved to pointer-set.h. | |
9460 | (pointer_set_lookup): New function. | |
9461 | (pointer_set_contains): Use pointer_set_lookup. | |
9462 | (pointer_set_insert): Likewise. | |
9463 | (insert_aux): Remove. | |
9464 | (struct pointer_map_t): Embed a pointer_set_t. | |
9465 | (pointer_map_create): Adjust. | |
9466 | (pointer_map_destroy): Likewise. | |
9467 | (pointer_map_contains): Likewise. | |
9468 | (pointer_map_insert): Likewise. | |
9469 | (pointer_map_traverse): Likewise. | |
9470 | * tree-streamer.h (struct streamer_tree_cache_d): Use a | |
9471 | pointer_map<unsigned> instead of a pointer_map_t. | |
9472 | * tree-streamer.c (streamer_tree_cache_insert_1): Adjust. | |
9473 | (streamer_tree_cache_lookup): Likewise. | |
9474 | (streamer_tree_cache_create): Likewise. | |
9475 | (streamer_tree_cache_delete): Likewise. | |
9476 | * lto-streamer.h (struct lto_tree_ref_encoder): Use a | |
9477 | pointer_map<unsigned> instead of a pointer_map_t. | |
9478 | (lto_init_tree_ref_encoder): Adjust. | |
9479 | (lto_destroy_tree_ref_encoder): Likewise. | |
9480 | * lto-section-out.c (lto_output_decl_index): Likewise. | |
9481 | (lto_record_function_out_decl_state): Likewise. | |
9482 | * dominance.c (iterate_fix_dominators): Use pointer_map<int>. | |
9483 | ||
3dbc97a9 RB |
9484 | 2013-06-24 Richard Biener <rguenther@suse.de> |
9485 | ||
9486 | PR tree-optimization/57488 | |
9487 | * tree-ssa-pre.c (insert): Clear NEW sets before each iteration. | |
9488 | ||
8345965a AM |
9489 | 2013-06-24 Alan Modra <amodra@gmail.com> |
9490 | ||
9491 | * config/rs6000/rs6000.c (vspltis_constant): Correct for little-endian. | |
9492 | (gen_easy_altivec_constant): Likewise. | |
9493 | * config/rs6000/predicates.md (easy_vector_constant_add_self, | |
9494 | easy_vector_constant_msb): Likewise. | |
9495 | ||
b7df379f JJ |
9496 | 2013-06-23 Jakub Jelinek <jakub@redhat.com> |
9497 | ||
9498 | PR target/57688 | |
9499 | * common/config/i386/i386-common.c (ix86_handle_option): For OPT_mlzcnt | |
9500 | add missing return true. | |
9501 | ||
12211b99 | 9502 | 2013-06-23 Oleg Endo <olegendo@gcc.gnu.org> |
0bcf9a09 OE |
9503 | |
9504 | PR target/52483 | |
9505 | * config/sh/predicates.md (general_extend_operand): Invoke | |
9506 | general_movsrc_operand for memory operands. | |
9507 | (general_movsrc_operand): Allow reg+reg addressing, do not use | |
9508 | general_operand for memory operands. | |
9509 | ||
97db2bf7 ST |
9510 | 2013-06-23 Sriraman Tallam <tmsriram@google.com> |
9511 | ||
9512 | * config/i386/i386.c (ix86_pragma_target_parse): Restore target | |
9513 | when current target options does not apply. | |
9514 | * config/i386/i386-protos.h (ix86_reset_previous_fndecl): New function. | |
9515 | * config/i386/i386.c (ix86_reset_previous_fndecl): Ditto. | |
0ba6aff3 UB |
9516 | * config/i386/bmiintrin.h: Pass appropriate target |
9517 | attributes to header. | |
97db2bf7 ST |
9518 | * config/i386/mmintrin.h: Ditto. |
9519 | * config/i386/nmmintrin.h: Ditto. | |
9520 | * config/i386/avx2intrin.h: Ditto. | |
9521 | * config/i386/fxsrintrin.h: Ditto. | |
9522 | * config/i386/tbmintrin.h: Ditto. | |
9523 | * config/i386/xsaveintrin.h: Ditto. | |
9524 | * config/i386/f16cintrin.h: Ditto. | |
9525 | * config/i386/xtestintrin.h: Ditto. | |
9526 | * config/i386/xsaveoptintrin.h: Ditto. | |
9527 | * config/i386/bmi2intrin.h: Ditto. | |
9528 | * config/i386/lzcntintrin.h: Ditto. | |
9529 | * config/i386/smmintrin.h: Ditto. | |
9530 | * config/i386/wmmintrin.h: Ditto. | |
9531 | * config/i386/x86intrin.h: Remove all header include guards. | |
9532 | * config/i386/prfchwintrin.h: Ditto. | |
9533 | * config/i386/pmmintrin.h: Ditto. | |
9534 | * config/i386/tmmintrin.h: Ditto. | |
9535 | * config/i386/xmmintrin.h: Ditto. | |
9536 | * config/i386/popcntintrin.h: Ditto. | |
9537 | * config/i386/rdseedintrin.h: Ditto. | |
9538 | * config/i386/ammintrin.h: Ditto. | |
9539 | * config/i386/emmintrin.h: Ditto. | |
9540 | * config/i386/immintrin.h: Remove all header include guards. | |
9541 | * config/i386/fma4intrin.h: Ditto. | |
9542 | * config/i386/lwpintrin.h: Ditto. | |
9543 | * config/i386/xopintrin.h: Ditto. | |
9544 | * config/i386/ia32intrin.h: Ditto. | |
9545 | * config/i386/avxintrin.h: Ditto. | |
9546 | * config/i386/rtmintrin.h: Ditto. | |
9547 | * config/i386/fmaintrin.h: Ditto. | |
9548 | * config/i386/mm3dnow.h: Ditto. | |
9549 | ||
495e6879 ST |
9550 | 2013-06-22 Sriraman Tallam <tmsriram@google.com> |
9551 | ||
9552 | * common/config/i386/i386-common.c: Handle LZCNT. | |
9553 | ||
11e8f687 AK |
9554 | 2013-06-22 Andi Kleen <ak@linux.intel.com> |
9555 | ||
9556 | * doc/extend.texi: Use __atomic_store_n instead of | |
9557 | __atomic_store in HLE example. | |
9558 | ||
12211b99 | 9559 | 2013-06-22 Oleg Endo <olegendo@gcc.gnu.org> |
664dd721 OE |
9560 | |
9561 | * config/sh/sh.c: Remove <cstdlib> workaround. | |
9562 | ||
927f908b AK |
9563 | 2013-06-21 Andi Kleen <ak@linux.intel.com> |
9564 | ||
0ba6aff3 | 9565 | * doc/extend.texi: Dont use __atomic_clear in HLE example. Fix typo. |
927f908b | 9566 | |
cca410b6 AK |
9567 | 2013-06-21 Andi Kleen <ak@linux.intel.com> |
9568 | ||
9569 | * doc/extend.texi: Document that __atomic_clear and | |
9570 | __atomic_test_and_set should only be used with bool. | |
9571 | ||
d84db1ed JH |
9572 | 2013-06-20 Jan Hubicka <jh@suse.cz> |
9573 | ||
9574 | * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Use | |
9575 | types_same_for_odr. | |
9576 | * tree.c (decls_same_for_odr): New function. | |
9577 | (same_for_edr): New function. | |
9578 | (types_same_for_odr): New function. | |
9579 | (get_binfo_at_offset): Use it. | |
9580 | * tree.h (types_same_for_odr): Declare. | |
9581 | ||
12211b99 | 9582 | 2013-06-20 Oleg Endo <olegendo@gcc.gnu.org> |
469a31a9 OE |
9583 | Jason Merrill <jason@redhat.com> |
9584 | ||
9585 | * system.h: Include <cstdlib> as well as <stdlib.h>. | |
9586 | ||
49b4ff63 UB |
9587 | 2013-06-20 Uros Bizjak <ubizjak@gmail.com> |
9588 | ||
9589 | PR target/57655 | |
9590 | * config/i386/i386.c (construct_container): Report error if | |
9591 | long double is used with disabled x87 float returns. | |
9592 | ||
7a89ad00 JH |
9593 | 2013-06-20 Jan Hubicka <jh@suse.cz> |
9594 | ||
9595 | * lto-cgraph.c (input_symtab): Do not set cgraph state. | |
9596 | ||
12211b99 | 9597 | 2013-06-20 Joern Rennecke <joern.rennecke@embecosm.com> |
bd280792 JR |
9598 | |
9599 | PR rtl-optimization/57425 | |
9600 | PR rtl-optimization/57569 | |
9601 | * alias.c (write_dependence_p): Remove parameters mem_mode and | |
9602 | canon_mem_addr. Add parameters x_mode, x_addr and x_canonicalized. | |
9603 | Changed all callers. | |
9604 | (canon_anti_dependence): Get comments and semantics in sync. | |
9605 | Add parameter mem_canonicalized. Changed all callers. | |
9606 | * rtl.h (canon_anti_dependence): Update prototype. | |
9607 | ||
d16e9a99 RB |
9608 | 2013-06-20 Richard Biener <rguenther@suse.de> |
9609 | ||
9610 | * data-streamer-in.c (streamer_read_uhwi): Optimize single | |
9611 | byte case, inline streamer_read_uchar and defer section | |
9612 | overrun check. | |
9613 | ||
c3a9b91b RB |
9614 | 2013-06-20 Richard Biener <rguenther@suse.de> |
9615 | ||
9616 | PR tree-optimization/57584 | |
9617 | * tree-ssa-loop-niter.c (expand_simple_operations): Avoid including | |
9618 | SSA names into the expanded expression that take part in | |
9619 | abnormal coalescing. | |
9620 | ||
371e77e3 | 9621 | 2013-06-19 Sharad Singhai <singhai@google.com> |
fc8a650e SS |
9622 | |
9623 | * gcov.c (print_usage): Handle new option. | |
9624 | (process_args): Ditto. | |
9625 | (get_gcov_intermediate_filename): New function. | |
9626 | (output_intermediate_file): New function. | |
9627 | (output_gcov_file): New function | |
9628 | (generate_results): Handle new option. | |
9629 | (release_function): Relase demangled name. | |
9630 | (read_graph_file): Handle demangled name. | |
9631 | (output_lines): Ditto. | |
9632 | * doc/gcov.texi: Document gcov intermediate format. | |
9633 | ||
11f5b71a VM |
9634 | 2013-06-19 Vladimir Makarov <vmakarov@redhat.com> |
9635 | ||
9636 | PR bootstrap/57604 | |
9637 | * lra.c (emit_add3_insn, emit_add2_insn): New functions. | |
9638 | (lra_emit_add): Use the functions. Add comment about Y as an | |
9639 | address segment. | |
9640 | ||
e1f9340b DE |
9641 | 2013-06-19 David Edelsohn <dje.gcc@gmail.com> |
9642 | ||
9643 | PR driver/57652 | |
9644 | * collect2.c (collect_atexit): New. | |
9645 | (collect_exit): Delete. | |
9646 | (main): Register collect_atexit with atexit. | |
9647 | (collect_wait): Change collect_exit to exit. | |
9648 | (do_wait): Same. | |
9649 | * collect2.h (collect_exit): Delete. | |
9650 | * tlink.c (do_tlink): Rename exit to ret. Change collect_exit to exit. | |
9651 | ||
e3f9e0ac WM |
9652 | 2013-06-19 Wei Mi <wmi@google.com> |
9653 | ||
9654 | PR rtl-optimization/57518 | |
9655 | * ira.c (set_paradoxical_subreg): Set pdx_subregs[regno] | |
9656 | if regno is used in paradoxical subreg. | |
9657 | (update_equiv_regs): Check pdx_subregs[regno] before | |
9658 | set a reg to be equivalent with a mem. | |
9659 | ||
a09f1a76 MK |
9660 | 2013-06-19 Matthias Klose <doko@ubuntu.com> |
9661 | ||
9662 | PR driver/57651 | |
9663 | * file-find.h (find_a_file): Add a mode parameter. | |
9664 | * file-find.c (find_a_file): Likewise. | |
9665 | * gcc-ar.c (main): Call find_a_file with R_OK for the plugin, | |
9666 | with X_OK for the executables. | |
9667 | * collect2.c (main): Call find_a_file with X_OK. | |
9668 | ||
7d18b0ad SE |
9669 | 2013-06-19 Steve Ellcey <sellcey@mips.com> |
9670 | ||
9671 | PR target/56942 | |
9672 | * config/mips/mips.md (casesi_internal_mips16_<mode>): | |
9673 | Use NEXT_INSN instead of next_real_insn. | |
9674 | ||
6a6dac52 JH |
9675 | 2013-06-19 Jan Hubicka <jh@suse.cz> |
9676 | ||
9677 | * cgraph.h (const_value_known_p): Replace by ... | |
9678 | (ctor_for_folding): .. this one. | |
9679 | * cgraphunit.c (process_function_and_variable_attributes): Use it. | |
9680 | * lto-cgraph.c (compute_ltrans_boundary): Use ctor_for_folding. | |
9681 | * expr.c (expand_expr_real_1): Likewise. | |
9682 | (string_constant): Likewise. | |
9683 | * tree-ssa-loop-ivcanon.c (constant_after_peeling): Likewise. | |
9684 | * ipa.c (process_references): Likewise. | |
9685 | (symtab_remove_unreachable_nodes): Likewise. | |
9686 | * ipa-inline-analysis.c (param_change_prob): Likewise. | |
9687 | * gimple-fold.c (canonicalize_constructor_val): Likewise. | |
9688 | (get_base_constructor): Likwise. | |
9689 | * varpool.c (varpool_remove_node): Likewise. | |
9690 | (varpool_remove_initializer): LIkewise. | |
9691 | (dump_varpool_node): LIkwise. | |
9692 | (const_value_known_p): Rewrite to ... | |
9693 | (ctor_for_folding): ... this one. | |
9694 | ||
216c12ab JJ |
9695 | 2013-06-19 Jakub Jelinek <jakub@redhat.com> |
9696 | ||
9697 | PR driver/57651 | |
9698 | * gcc-ar.c (main): If not CROSS_DIRECTORY_STRUCTURE, look for | |
9699 | PERSONALITY in $PATH derived prefixes. | |
9700 | ||
d53e2f99 JL |
9701 | 2013-06-19 Jeff Law <law@redhat.com> |
9702 | ||
ecdbf306 JL |
9703 | * tree-ssa-forwprop.c (simplify_bitwise_binary_boolean): Fix typo |
9704 | in comment. | |
9705 | ||
d53e2f99 JL |
9706 | * tree-ssa-forwprop.c (simplify_bitwise_binary_boolean): New function. |
9707 | (simplify_bitwise_binary): Use it to simpify certain binary ops on | |
9708 | booleans. | |
9709 | ||
89e7fc04 SN |
9710 | 2013-06-19 Sofiane Naci <sofiane.naci@arm.com> |
9711 | ||
9712 | * config/arm/vfp.md: Move VFP instruction classification documentation | |
9713 | to ... | |
9714 | * config/arm/arm.md: ... here. Update instruction classification | |
9715 | documentation. | |
9716 | ||
5e7f6aaa RE |
9717 | 2013-06-19 Richard Earnshaw <rearnsha@arm.com> |
9718 | ||
9719 | arm.md (split for eq(reg, 0)): Add variants for ARMv5 and Thumb2. | |
9720 | (peepholes for eq(reg, not-0)): Ensure condition register is dead after | |
9721 | pattern. Use more efficient sequences on ARMv5 and Thumb2. | |
9722 | ||
5fdc1e5d SB |
9723 | 2013-06-19 Steven Bosscher <steven@gcc.gnu.org> |
9724 | ||
9725 | PR target/57609 | |
9726 | * config/s390/s390.c (s390_chunkify_start): Replace next_real_insn | |
9727 | with NEXT_INSN. Use tablejump_p to check for jump table data | |
9728 | insns. | |
9729 | ||
e952afba PC |
9730 | 2013-06-19 Paolo Carlini <paolo.carlini@oracle.com> |
9731 | ||
9732 | PR c++/56544 | |
9733 | * doc/cpp.texi [Standard Predefined Macros, __cplusplus]: Document | |
9734 | that now in C++ the value is correct per the C++ standards. | |
9735 | ||
3fd0303a RB |
9736 | 2013-06-19 Richard Biener <rguenther@suse.de> |
9737 | ||
9738 | * expr.c (expand_expr_real_1): Use SCOPE_FILE_SCOPE_P to check | |
9739 | for global context. | |
9740 | ||
b04e4b08 AK |
9741 | 2013-06-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9742 | ||
9743 | Revert: | |
9744 | 2013-06-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | |
9745 | ||
9746 | PR target/57609 | |
9747 | * config/s390/s390.c (s390_chunkify_start): Replace next_real_insn | |
9748 | with next_active_insn. | |
9749 | ||
bef8491a ST |
9750 | 2013-06-18 Sriraman Tallam <tmsriram@google.com> |
9751 | ||
9752 | * ipa-inline.c (inline_always_inline_functions): Pretend always_inline | |
9753 | functions are inlined during failures to flag an error. | |
9754 | * tree-inline.c (expand_call_inline): Allow the error to be flagged | |
9755 | in early inline pass. | |
22fc7d3d | 9756 | |
c21b257d L |
9757 | 2013-06-18 H.J. Lu <hongjiu.lu@intel.com> |
9758 | ||
9759 | * config/i386/i386.c (initial_ix86_tune_features): Fix a typo | |
9760 | in comments. | |
9761 | ||
33255ae3 JB |
9762 | 2013-06-18 Julian Brown <julian@codesourcery.com> |
9763 | ||
9764 | * config/arm/arm.c (neon_vector_mem_operand): Add strict argument. | |
9765 | Permit virtual register pre-reload if !strict. | |
9766 | (coproc_secondary_reload_class): Adjust for neon_vector_mem_operand | |
9767 | change. | |
9768 | * config/arm/arm-protos.h (neon_vector_mem_operand): Adjust | |
9769 | prototype. | |
9770 | * config/arm/neon.md (movmisalign<mode>): Use | |
9771 | neon_perm_struct_or_reg_operand instead of | |
9772 | neon_struct_or_register_operand. | |
9773 | (*movmisalign<mode>_neon_load, *movmisalign<mode>_neon_store): Use | |
9774 | neon_permissive_struct_operand instead of neon_struct_operand. | |
9775 | * config/arm/constraints.md (Un, Um, Us): Adjust calls to | |
9776 | neon_vector_mem_operand. | |
9777 | * config/arm/predicates.md (neon_struct_operand): Adjust call to | |
9778 | neon_vector_mem_operand. | |
9779 | (neon_permissive_struct_operand): New. | |
9780 | (neon_struct_or_register_operand): Rename to... | |
9781 | (neon_perm_struct_or_reg_operand): This. Adjust call to | |
9782 | neon_vector_mem_operand. | |
9783 | ||
d579fcda RB |
9784 | 2013-06-18 Richard Biener <rguenther@suse.de> |
9785 | ||
9786 | * Makefile.in (LTO_STREAMER_H): Add pointer-set.h dependency. | |
9787 | * lto-streamer.h: Include pointer-set.h. | |
9788 | (struct lto_decl_slot): Remove. | |
9789 | (struct lto_tree_ref_encoder): Make tree_hash_table a pointer-map. | |
9790 | Remove next_index entry. | |
9791 | (lto_hash_decl_slot_node, lto_eq_decl_slot_node, | |
9792 | lto_hash_type_slot_node, lto_eq_type_slot_node): Remove. | |
9793 | (lto_init_tree_ref_encoder): Adjust. | |
9794 | (lto_destroy_tree_ref_encoder): Likewise. | |
9795 | * lto-section-out.c (lto_hash_decl_slot_node, lto_eq_decl_slot_node, | |
9796 | lto_hash_type_slot_node, lto_eq_type_slot_node): Remove. | |
9797 | (lto_output_decl_index): Adjust. | |
9798 | (lto_new_out_decl_state): Likewise. | |
9799 | (lto_record_function_out_decl_state): Likewise. | |
9800 | * lto-streamer-out.c (copy_function): Likewise. | |
9801 | ||
31ee20ba RB |
9802 | 2013-06-18 Richard Biener <rguenther@suse.de> |
9803 | ||
9804 | * Makefile.in (cgraphunit.o): Add $(CFGLOOP_H) dependency. | |
9805 | * cgraphunit.c: Include cfgloop.h. | |
9806 | (init_lowered_empty_function): Initialize the loop tree. | |
9807 | (assemble_thunk): Insert new BBs into loops. | |
9808 | ||
ac0511f2 RB |
9809 | 2013-06-18 Richard Biener <rguenther@suse.de> |
9810 | ||
9811 | * tree-streamer.h (streamer_tree_cache_create): Adjust prototype. | |
9812 | * tree-streamer.c (streamer_tree_cache_create): Make maintaining | |
9813 | the map from cache entry to cache index optional. | |
9814 | (streamer_tree_cache_replace_tree): Adjust accordingly. | |
9815 | (streamer_tree_cache_append): Likewise. | |
9816 | (streamer_tree_cache_delete): Likewise. | |
9817 | * lto-streamer-in.c (lto_data_in_create): Do not maintain the | |
9818 | streamer cache map from cache entry to cache index. | |
9819 | * lto-streamer-out.c (create_output_block): Adjust. | |
9820 | ||
09485a08 SN |
9821 | 2013-06-18 Sofiane Naci <sofiane.naci@arm.com> |
9822 | ||
22fc7d3d UB |
9823 | * config/arm/arm.md (attribute "insn"): Move multiplication and |
9824 | division attributes to... | |
09485a08 SN |
9825 | (attribute "type"): ... here. Remove mult. |
9826 | (attribute "mul32"): New attribute. | |
9827 | (attribute "mul64"): Add umaal. | |
9828 | (*arm_mulsi3): Update attributes. | |
9829 | (*arm_mulsi3_v6): Likewise. | |
9830 | (*thumb_mulsi3): Likewise. | |
9831 | (*thumb_mulsi3_v6): Likewise. | |
9832 | (*mulsi3_compare0): Likewise. | |
9833 | (*mulsi3_compare0_v6): Likewise. | |
9834 | (*mulsi_compare0_scratch): Likewise. | |
9835 | (*mulsi_compare0_scratch_v6): Likewise. | |
9836 | (*mulsi3addsi): Likewise. | |
9837 | (*mulsi3addsi_v6): Likewise. | |
9838 | (*mulsi3addsi_compare0): Likewise. | |
9839 | (*mulsi3addsi_compare0_v6): Likewise. | |
9840 | (*mulsi3addsi_compare0_scratch): Likewise. | |
9841 | (*mulsi3addsi_compare0_scratch_v6): Likewise. | |
9842 | (*mulsi3subsi): Likewise. | |
9843 | (*mulsidi3adddi): Likewise. | |
9844 | (*mulsi3addsi_v6): Likewise. | |
9845 | (*mulsidi3adddi_v6): Likewise. | |
9846 | (*mulsidi3_nov6): Likewise. | |
9847 | (*mulsidi3_v6): Likewise. | |
9848 | (*umulsidi3_nov6): Likewise. | |
9849 | (*umulsidi3_v6): Likewise. | |
9850 | (*umulsidi3adddi): Likewise. | |
9851 | (*umulsidi3adddi_v6): Likewise. | |
9852 | (*smulsi3_highpart_nov6): Likewise. | |
9853 | (*smulsi3_highpart_v6): Likewise. | |
9854 | (*umulsi3_highpart_nov6): Likewise. | |
9855 | (*umulsi3_highpart_v6): Likewise. | |
9856 | (mulhisi3): Likewise. | |
9857 | (*mulhisi3tb): Likewise. | |
9858 | (*mulhisi3bt): Likewise. | |
9859 | (*mulhisi3tt): Likewise. | |
9860 | (maddhisi4): Likewise. | |
9861 | (*maddhisi4tb): Likewise. | |
9862 | (*maddhisi4tt): Likewise. | |
9863 | (maddhidi4): Likewise. | |
9864 | (*maddhidi4tb): Likewise. | |
9865 | (*maddhidi4tt): Likewise. | |
9866 | (divsi3): Likewise. | |
9867 | (udivsi3): Likewise. | |
9868 | * config/arm/thumb2.md (thumb2_mulsi_short): Update attributes. | |
9869 | (thumb2_mulsi_short_compare0): Likewise. | |
9870 | (thumb2_mulsi_short_compare0_scratch): Likewise. | |
9871 | * config/arm/arm1020e.md (1020mult1): Update attribute change. | |
9872 | (1020mult2): Likewise. | |
9873 | (1020mult3): Likewise. | |
9874 | (1020mult4): Likewise. | |
9875 | (1020mult5): Likewise. | |
9876 | (1020mult6): Likewise. | |
22fc7d3d UB |
9877 | * config/arm/cortex-a15.md (cortex_a15_mult32): Update attribute |
9878 | change. | |
09485a08 SN |
9879 | (cortex_a15_mult64): Likewise. |
9880 | (cortex_a15_sdiv): Likewise. | |
9881 | (cortex_a15_udiv): Likewise. | |
9882 | * config/arm/arm1026ejs.md (mult1): Update attribute change. | |
9883 | (mult2): Likewise. | |
9884 | (mult3): Likewise. | |
9885 | (mult4): Likewise. | |
9886 | (mult5): Likewise. | |
9887 | (mult6): Likewise. | |
9888 | * config/arm/marvell-pj4.md (pj4_ir_mul): Update attribute change. | |
9889 | (pj4_ir_div): Likewise. | |
9890 | * config/arm/arm1136jfs.md (11_mult1): Update attribute change. | |
9891 | (11_mult2): Likewise. | |
9892 | (11_mult3): Likewise. | |
9893 | (11_mult4): Likewise. | |
9894 | (11_mult5): Likewise. | |
9895 | (11_mult6): Likewise. | |
9896 | (11_mult7): Likewise. | |
9897 | * config/arm/cortex-a8.md (cortex_a8_mul): Update attribute change. | |
9898 | (cortex_a8_mla): Likewise. | |
9899 | (cortex_a8_mull): Likewise. | |
9900 | (cortex_a8_smulwy): Likewise. | |
9901 | (cortex_a8_smlald): Likewise. | |
9902 | * config/arm/cortex-m4.md (cortex_m4_alu): Update attribute change. | |
9903 | * config/arm/cortex-r4.md (cortex_r4_mul_4): Update attribute change. | |
9904 | (cortex_r4_mul_3): Likewise. | |
9905 | (cortex_r4_mla_4): Likewise. | |
9906 | (cortex_r4_mla_3): Likewise. | |
9907 | (cortex_r4_smlald): Likewise. | |
9908 | (cortex_r4_mull): Likewise. | |
9909 | (cortex_r4_sdiv): Likewise. | |
9910 | (cortex_r4_udiv): Likewise. | |
9911 | * config/arm/cortex-a7.md (cortex_a7_mul): Update attribute change. | |
9912 | (cortex_a7_idiv): Likewise. | |
9913 | * config/arm/arm926ejs.md (9_mult1): Update attribute change. | |
9914 | (9_mult2): Likewise. | |
9915 | (9_mult3): Likewise. | |
9916 | (9_mult4): Likewise. | |
9917 | (9_mult5): Likewise. | |
9918 | (9_mult6): Likewise. | |
9919 | * config/arm/cortex-a53.md (cortex_a53_mul): Update attribute change. | |
9920 | (cortex_a53_sdiv): Likewise. | |
9921 | (cortex_a53_udiv): Likewise. | |
9922 | * config/arm/fa726te.md (726te_mult_op): Update attribute change. | |
9923 | * config/arm/fmp626.md (mp626_mult1): Update attribute change. | |
9924 | (mp626_mult2): Likewise. | |
9925 | (mp626_mult3): Likewise. | |
9926 | (mp626_mult4): Likewise. | |
9927 | * config/arm/fa526.md (526_mult1): Update attribute change. | |
9928 | (526_mult2): Likewise. | |
9929 | * config/arm/arm-generic.md (mult): Update attribute change. | |
9930 | (mult_ldsched_strongarm): Likewise. | |
9931 | (mult_ldsched): Likewise. | |
9932 | (multi_cycle): Likewise. | |
9933 | * config/arm/cortex-a5.md (cortex_a5_mul): Update attribute change. | |
9934 | * config/arm/fa606te.md (606te_mult1): Update attribute change. | |
9935 | (606te_mult2): Likewise. | |
9936 | (606te_mult3): Likewise. | |
9937 | (606te_mult4): Likewise. | |
9938 | * config/arm/cortex-a9.md (cortex_a9_mult16): Update attribute change. | |
9939 | (cortex_a9_mac16): Likewise. | |
9940 | (cortex_a9_multiply): Likewise. | |
9941 | (cortex_a9_mac): Likewise. | |
9942 | (cortex_a9_multiply_long): Likewise. | |
9943 | * config/arm/fa626te.md (626te_mult1): Update attribute change. | |
9944 | (626te_mult2): Likewise. | |
9945 | (626te_mult3): Likewise. | |
9946 | (626te_mult4): Likewise. | |
9947 | ||
8951f345 RB |
9948 | 2013-06-18 Richard Biener <rguenther@suse.de> |
9949 | ||
9950 | PR lto/57334 | |
9951 | * lto-symtab.c (lto_symtab_merge_decls): Process nodes properly. | |
9952 | ||
d8101d05 AK |
9953 | 2013-06-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9954 | ||
9955 | PR target/57609 | |
9956 | * config/s390/s390.c (s390_chunkify_start): Replace next_real_insn | |
9957 | with next_active_insn. | |
9958 | ||
69eff9da AM |
9959 | 2013-06-18 Alan Modra <amodra@gmail.com> |
9960 | ||
9961 | * config/rs6000/rs6000.h (enum data_align): New. | |
9962 | (LOCAL_ALIGNMENT, DATA_ALIGNMENT): Use rs6000_data_alignment. | |
9963 | (DATA_ABI_ALIGNMENT): Define. | |
9964 | (CONSTANT_ALIGNMENT): Correct comment. | |
9965 | * config/rs6000/rs6000-protos.h (rs6000_data_alignment): Declare. | |
9966 | * config/rs6000/rs6000.c (rs6000_data_alignment): New function. | |
9967 | ||
8ed00d76 DM |
9968 | 2013-06-17 David Malcolm <dmalcolm@redhat.com> |
9969 | ||
9970 | * ggc-page.c (ggc_pch_write_object) <d>: Remove erroneous | |
9971 | ATTRIBUTE_UNUSED marking. | |
9972 | ||
3d33d06b SN |
9973 | 2013-06-17 Sofiane Naci <sofiane.naci@arm.com> |
9974 | ||
9975 | * config/aarch64/aarch64-simd.md (aarch64_dup_lane<mode>): Add r<-w | |
9976 | alternative and update. | |
9977 | (aarch64_dup_lanedi): Delete. | |
9978 | * config/aarch64/arm_neon.h (vdup<bhsd>_lane_*): Update. | |
9979 | * config/aarch64/aarch64-simd-builtins.def: Update. | |
9980 | ||
ee03e71d RB |
9981 | 2013-06-17 Richard Biener <rguenther@suse.de> |
9982 | ||
9983 | * lto-streamer.h (enum LTO_tags): Add LTO_tree_scc. | |
9984 | (lto_input_scc): Declare. | |
9985 | (lto_input_tree_1): Likewise. | |
9986 | (struct lto_stats_d): Add num_tree_bodies_output and | |
9987 | num_pickle_refs_output. | |
9988 | * lto-streamer-in.c (lto_read_body): Use streamer_tree_cache_get_tree. | |
9989 | (lto_read_tree_1): Split out from ... | |
9990 | (lto_read_tree): ... this. | |
9991 | (lto_input_scc): New function. | |
9992 | (lto_input_tree_1): Split out from ... | |
9993 | (lto_input_tree): ... this. Handle LTO_tree_scc. | |
9994 | (lto_data_in_create): Create the streamer cache without hashes. | |
9995 | * lto-streamer-out.c (create_output_block): Create the streamer | |
9996 | cache with hashes when not doing WPA. | |
9997 | (lto_write_tree_1): Split out from ... | |
9998 | (lto_write_tree): ... this. | |
9999 | (get_symbol_initial_value): New function. | |
10000 | (lto_output_tree_1): Split out from ... | |
10001 | (lto_output_tree): ... this. Write trees as series of SCCs | |
10002 | using a DFS walk via DFS_write_tree. | |
10003 | (struct sccs, struct scc_entry): New types. | |
10004 | (next_dfs_num, sccstack, sccstate, sccstate_obstack): New globals. | |
10005 | (DFS_write_tree_body): New function. | |
10006 | (DFS_write_tree): Likewise. | |
10007 | (hash_tree): Likewise. | |
10008 | (scc_entry_compare): Likewise. | |
10009 | (hash_scc): Likewise. | |
10010 | (tree_is_indexable): DEBUG_EXPR_DECLs are local entities. | |
10011 | * tree-streamer-in.c (lto_input_ts_list_tree_pointers): Stream | |
10012 | TREE_CHAIN as regular reference. | |
10013 | (streamer_read_integer_cst): Remove. | |
10014 | (streamer_get_pickled_tree): Adjust. | |
10015 | * tree-streamer-out.c (streamer_write_chain): Disable streaming | |
10016 | of DECL_EXTERNALs in BLOCK_VARS for now. | |
10017 | (write_ts_list_tree_pointers): Stream TREE_CHAIN as regular | |
10018 | reference. | |
10019 | * tree-streamer.c (streamer_tree_cache_add_to_node_array): | |
10020 | Add hash value argument and record that if hashes are recorded | |
10021 | in the cache. | |
10022 | (streamer_tree_cache_insert_1): Adjust. | |
10023 | (streamer_tree_cache_insert): Likewise. | |
10024 | (streamer_tree_cache_insert_at): Rename to ... | |
10025 | (streamer_tree_cache_replace_tree): ... this and adjust. | |
10026 | (streamer_tree_cache_append): Adjust. | |
10027 | (record_common_node): Likewise. | |
10028 | (streamer_tree_cache_create): Add argument whether to | |
10029 | record hash values together with trees. | |
10030 | (streamer_tree_cache_delete): Adjust. | |
10031 | * tree-streamer.h (struct streamer_tree_cache_d): Add | |
10032 | vector of hashes. | |
10033 | (streamer_read_integer_cst): Remove. | |
10034 | (streamer_tree_cache_insert): Adjust. | |
10035 | (streamer_tree_cache_append): Likewise. | |
10036 | (streamer_tree_cache_insert_at): Rename to ... | |
10037 | (streamer_tree_cache_replace_tree): ... this and adjust. | |
10038 | (streamer_tree_cache_create): Add argument whether to record hashes. | |
10039 | (streamer_tree_cache_get): Rename to ... | |
10040 | (streamer_tree_cache_get_tree): ... this. | |
10041 | (streamer_tree_cache_get_hash): New function. | |
10042 | * tree.c (cache_integer_cst): New function. | |
10043 | * tree.h (cache_integer_cst): Declare. | |
10044 | (ANON_AGGRNAME_FORMAT, ANON_AGGRNAME_P): Move here from cp/cp-tree.h. | |
10045 | * lto-symtab.c (lto_varpool_replace_node): Only release | |
10046 | DECL_INITIAL of non-prevailing decls. | |
10047 | * varpool.c (varpool_remove_initializer): Do not release | |
10048 | DECL_INITIAL when we are still in CGRAPH_LTO_STREAMING. | |
10049 | ||
0de86a92 JU |
10050 | 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de> |
10051 | ||
10052 | * config/mips/mips.h (ISA_HAS_MUL3): Include TARGET_MIPS5900. | |
10053 | (ISA_HAS_MULT, ISA_HAS_DMULT, ISA_HAS_DIV, ISA_HAS_DDIV): New macros. | |
10054 | * config/mips/mips.md (mul<mode>3, mul<mode>3_internal) | |
10055 | (mul<mode>3_r4000): Require ISA_HAS_<D>MULT. | |
10056 | (mul<mode>3_mul3): Handle TARGET_MIPS5900. | |
10057 | (mulsidi3_64bit_dmul): Remove redundant TARGET_64BIT test. | |
10058 | (<su>muldi3_highpart, <su>muldi3_highpart_internal, <u>mulditi3) | |
10059 | (<u>mulditi3_internal, <u>mulditi3_r4000): Require ISA_HAS_DMULT | |
10060 | instead of TARGET_64BIT. | |
10061 | (divmod<mode>4, udivmod<mode>4, <u>divmod<GPR:mode>4_hilo_<HILO:mode>): | |
10062 | Require ISA_HAS_<D>DIV. | |
10063 | ||
74240413 RS |
10064 | 2013-06-16 Richard Sandiford <rdsandiford@googlemail.com> |
10065 | ||
10066 | * config.gcc (mips*-mti-linux*, mips64*-*-linux*, mipsisa64*-*-linux*) | |
10067 | (mips*-*-linux*): Move default with_llsc setting to where other | |
10068 | defaults are set. | |
10069 | (mips*-*-vxworks*): Move with_arch default from with_cpu block to | |
10070 | with_arch block. | |
10071 | (mips64r5900-*-*, mips64r5900el-*-*, mipsr5900-*-*, mipsr5900el-*-*): | |
10072 | Likewise. Remove default with_tune setting. Move default float | |
10073 | setting to its own block. Handle with_llsc in the same block as above. | |
10074 | ||
12211b99 | 10075 | 2013-06-16 Joern Rennecke <joern.rennecke@embecosm.com> |
393f9fed JR |
10076 | |
10077 | PR rtl-optimization/57425 | |
10078 | PR rtl-optimization/57569 | |
299a5f6a | 10079 | * alias.c (write_dependence_p): Add new parameters mem_mode, |
393f9fed JR |
10080 | canon_mem_addr and mem_canonicalized. Change type of writep to bool. |
10081 | Changed all callers. | |
10082 | (canon_anti_dependence): New function. | |
10083 | * cse.c (check_dependence): Use canon_anti_dependence. | |
10084 | * cselib.c (cselib_invalidate_mem): Likewise. | |
10085 | * rtl.h (canon_anti_dependence): Declare. | |
10086 | ||
b259d352 JU |
10087 | 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de> |
10088 | ||
10089 | * config/mips/mips.h (ISA_HAS_LL_SC): Exclude TARGET_MIPS5900. | |
10090 | * config/mips/mips.c (mips_start_ll_sc_sync_block): Output | |
10091 | ".set mips3" for 64-bit targets. | |
10092 | ||
4de09b85 DC |
10093 | 2013-06-15 Dehao Chen <dehao@google.com> |
10094 | ||
10095 | * tree-flow.h (gimple_check_call_matching_types): Add new argument. | |
10096 | * gimple-low.c (gimple_check_call_matching_types): Likewise. | |
10097 | (gimple_check_call_args): Likewise. | |
10098 | * value-prof.c (check_ic_target): Likewise. | |
10099 | * ipa-inline.c (early_inliner): Likewise. | |
10100 | * ipa-prop.c (update_indirect_edges_after_inlining): Likewise. | |
10101 | * cgraph.c (cgraph_create_edge_1): Likewise. | |
10102 | (cgraph_make_edge_direct): Likewise. | |
10103 | ||
d1aa4a76 MM |
10104 | 2013-06-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
10105 | ||
10106 | PR target/57615 | |
10107 | * config/rs6000/rs6000.md (mov<mode>_ppc64): Call | |
10108 | rs6000_output_move_128bit to handle emitting quad memory | |
10109 | operations. Set attribute length to 8 bytes. | |
10110 | ||
12211b99 | 10111 | 2013-06-14 Vidya Praveen <vidyapraveen@arm.com> |
24244e4d VP |
10112 | |
10113 | * config/aarch64/aarch64-simd.md (aarch64_<su>mlal_lo<mode>): | |
10114 | New pattern. | |
10115 | (aarch64_<su>mlal_hi<mode>, aarch64_<su>mlsl_lo<mode>): Likewise. | |
10116 | (aarch64_<su>mlsl_hi<mode>, aarch64_<su>mlal<mode>): Likewise. | |
10117 | (aarch64_<su>mlsl<mode>): Likewise. | |
10118 | ||
f5273574 MS |
10119 | 2013-06-14 Mike Stump <mikestump@comcast.net> |
10120 | ||
10121 | * Makefile.in (TARGET_H): Add insn-codes.h. | |
10122 | ||
ef7e7ab2 AM |
10123 | 2013-06-14 Alan Modra <amodra@gmail.com> |
10124 | ||
10125 | PR middle-end/57134 | |
10126 | PR middle-end/57586 | |
10127 | * expr.c (expand_expr_real_1 <normal_inner_ref>): Pass | |
10128 | EXPAND_MEMORY and EXPAND_WRITE to recursive call. Don't use | |
10129 | bitfield expansion when EXPAND_MEMORY. | |
10130 | (expand_expr_real_1 <VIEW_CONVERT_EXPR>): Pass modifier likewise. | |
10131 | ||
135faab6 MM |
10132 | 2013-06-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
10133 | ||
10134 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Move | |
10135 | test for clearing quad memory on 32-bit later. | |
10136 | ||
948a1fd9 MG |
10137 | 2013-06-13 Marc Glisse <marc.glisse@inria.fr> |
10138 | ||
10139 | * fold-const.c (negate_expr_p): Handle VECTOR_CST. | |
10140 | (fold_negate_expr): Likewise. | |
10141 | (fold_real_zero_addition_p): Handle vectors. | |
10142 | (fold_binary_loc) <PLUS_EXPR, MINUS_EXPR>: Likewise. | |
10143 | ||
0597fb9c AM |
10144 | 2013-06-14 Alan Modra <amodra@gmail.com> |
10145 | ||
10146 | * varasm.c (force_const_mem): Revert 2013-06-07 change. | |
10147 | ||
e5b962d0 JH |
10148 | 2013-06-13 Jan Hubicka <jh@suse.cz> |
10149 | ||
10150 | * ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): | |
10151 | Local comdats are not externally visible. | |
10152 | * symtab.c (dump_symtab_base): Dump externally visible. | |
10153 | (verify_symtab_base): Verify back links in the symtab hash. | |
10154 | ||
a8355e51 BC |
10155 | 2013-06-13 Bin Cheng <bin.cheng@arm.com> |
10156 | ||
10157 | * fold-const.c (operand_equal_p): Consider NOP_EXPR and | |
10158 | CONVERT_EXPR as equal nodes. | |
10159 | ||
8f7e6e33 BC |
10160 | 2013-06-13 Bin Cheng <bin.cheng@arm.com> |
10161 | ||
22fc7d3d | 10162 | * rtlanal.c (noop_move_p): Check the code to be executed for COND_EXEC. |
8f7e6e33 | 10163 | |
5d418483 MG |
10164 | 2013-06-13 Marc Glisse <marc.glisse@inria.fr> |
10165 | ||
10166 | * tree-ssa-forwprop.c (simplify_bitwise_binary, associate_plusminus): | |
10167 | Generalize to complex and vector. | |
10168 | * tree.c (build_all_ones_cst): New function. | |
10169 | * tree.h (build_all_ones_cst): Declare it. | |
10170 | ||
50751417 AM |
10171 | 2013-06-13 Alan Modra <amodra@gmail.com> |
10172 | ||
10173 | * config/rs6000/rs6000.h (LONG_DOUBLE_LARGE_FIRST): Define. | |
10174 | * config/rs6000/rs6000.md (signbittf2): New insn. | |
10175 | (extenddftf2_internal): Use LONG_DOUBLE_LARGE_FIRST. | |
10176 | (abstf2_internal, cmptf_internal2): Likewise. | |
10177 | * config/rs6000/spe.md (spe_abstf2_cmp, spe_abstf2_tst): Likewise. | |
10178 | ||
4b02c962 | 10179 | 2013-06-12 Michael Meissner <meissner@linux.vnet.ibm.com> |
12211b99 UB |
10180 | Pat Haugen <pthaugen@us.ibm.com> |
10181 | Peter Bergner <bergner@vnet.ibm.com> | |
4b02c962 MM |
10182 | |
10183 | * config/rs6000/rs6000.c (emit_load_locked): Add support for | |
10184 | power8 byte, half-word, and quad-word atomic instructions. | |
10185 | (emit_store_conditional): Likewise. | |
10186 | (rs6000_expand_atomic_compare_and_swap): Likewise. | |
10187 | (rs6000_expand_atomic_op): Likewise. | |
10188 | ||
10189 | * config/rs6000/sync.md (larx): Add new modes for power8. | |
10190 | (stcx): Likewise. | |
10191 | (AINT): New mode iterator to include TImode as well as normal | |
10192 | integer modes on power8. | |
10193 | (fetchop_pred): Use int_reg_operand instead of gpc_reg_operand so | |
10194 | that VSX registers are not considered. Use AINT mode iterator | |
10195 | instead of INT1 to allow inclusion of quad word atomic operations | |
10196 | on power8. | |
10197 | (load_locked<mode>): Likewise. | |
10198 | (store_conditional<mode>): Likewise. | |
10199 | (atomic_compare_and_swap<mode>): Likewise. | |
10200 | (atomic_exchange<mode>): Likewise. | |
10201 | (atomic_nand<mode>): Likewise. | |
10202 | (atomic_fetch_<fetchop_name><mode>): Likewise. | |
10203 | (atomic_nand_fetch<mode>): Likewise. | |
10204 | (mem_thread_fence): Use gen_loadsync_<mode> instead of enumerating | |
10205 | each type. | |
10206 | (ATOMIC): On power8, add QImode, HImode modes. | |
10207 | (load_locked<QHI:mode>_si): Varients of load_locked for QI/HI | |
10208 | modes that promote to SImode. | |
10209 | (load_lockedti): Convert TImode arguments to PTImode, so that we | |
10210 | get a guaranteed even/odd register pair. | |
10211 | (load_lockedpti): Likewise. | |
10212 | (store_conditionalti): Likewise. | |
10213 | (store_conditionalpti): Likewise. | |
10214 | ||
10215 | * config/rs6000/rs6000.md (QHI): New mode iterator for power8 | |
10216 | atomic load/store instructions. | |
10217 | (HSI): Likewise. | |
10218 | ||
710b6cc1 RS |
10219 | 2013-06-12 Richard Sandiford <rdsandiford@googlemail.com> |
10220 | ||
10221 | * config/mips/mips.md (extended_mips16): Include GOT and constant-pool | |
10222 | loads. | |
10223 | (insn_count): New attribute, with most cases extracted from... | |
10224 | (length): ...here. Redefine most cases in terms of insn_count. | |
10225 | (single_insn): Delete. | |
10226 | (can_delay): Use insn_count to check for single instructions. | |
10227 | (*mul<mode>3_r4300, mul<mode>3_r4000, *mul_acc_si, *mul_acc_si_r3900) | |
10228 | (*msac_using_macc, *mul_sub_si, <u>mulsidi3_32bit_r4000) | |
10229 | (<u>mulsidi3_64bit_r4000, <su>muldi3_highpart_internal) | |
10230 | (<su>mulsi3_highpart_split, <su>muldi3_highpart_internal) | |
10231 | (<u>mulditi3_r4000, *div<mode>3, *recip<mode>3, divmod<mode>4) | |
10232 | (udivmod<mode>4, sqrt<mode>2, *rsqrt<mode>a, *rsqrt<mode>b) | |
10233 | (fix_truncdfsi2_macro, fix_truncsfsi2_macro, *lea_high64) | |
10234 | (*lea64, cprestore_<mode>, clear_hazard_<mode>, <unnamed insn>) | |
10235 | (casesi_internal_mips16_<mode>, *tls_get_tp_<mode>_split) | |
10236 | (tls_get_tp_mips16, *tls_get_tp_mips16_call_<mode>): Use "insn_count" | |
10237 | rather than "length". | |
10238 | (tls_get_tp_<mode>): Likewise. Remove redundant "no_delay" attribute. | |
10239 | * config/mips/mips-ps-3d.md (mips_c_cond_4s, mips_cabs_cond_4s): | |
10240 | Use "insn_count" rather than "length". | |
10241 | * config/mips/mips-dsp.md | |
10242 | (mips_l<SHORT:size><u>x_ext<GPR:mode>_<P:mode>) | |
10243 | (mips_l<GPR:size>x_<P:mode>, *mips_lw<u>x_<P:mode>_ext): Remove | |
10244 | length attributes. | |
10245 | ||
1951f101 MG |
10246 | 2013-06-12 Marc Glisse <marc.glisse@inria.fr> |
10247 | ||
10248 | PR tree-optimization/57361 | |
10249 | * tree-ssa-dse.c (dse_possible_dead_store_p): Handle self-assignment. | |
10250 | ||
8b033a8a SN |
10251 | 2013-06-12 Sofiane Naci <sofiane.naci@arm.com> |
10252 | ||
22fc7d3d UB |
10253 | * config/aarch64/aarch64-simd.md (aarch64_combine<mode>): Convert |
10254 | to split. | |
8b033a8a SN |
10255 | (aarch64_simd_combine<mode>): New instruction expansion. |
10256 | * config/aarch64/aarch64-protos.h (aarch64_split_simd_combine): New | |
10257 | function prototype. | |
10258 | * config/aarch64/aarch64.c (aarch64_split_combine): New function. | |
10259 | * config/aarch64/iterators.md (Vdbl): Add entry for DF. | |
10260 | ||
ca0f62a8 JH |
10261 | 2013-06-12 Jan Hubicka <jh@suse.cz> |
10262 | ||
10263 | * cgraph.c (verify_edge_corresponds_to_fndecl): Be lax about | |
10264 | decl has when in streaming stage. | |
10265 | * lto-symtab.c (lto_symtab_merge_symbols): Likewise. | |
10266 | * cgraph.h (cgraph_state): Add CGRAPH_LTO_STREAMING. | |
10267 | ||
12211b99 | 10268 | 2013-06-12 Roland Stigge <stigge@antcom.de> |
cddd69eb RS |
10269 | |
10270 | PR target/57578 | |
10271 | * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix SPE version detection. | |
10272 | ||
bfdeda2c JJ |
10273 | 2013-06-12 Jakub Jelinek <jakub@redhat.com> |
10274 | ||
10275 | PR tree-optimization/57537 | |
10276 | * tree-vect-patterns.c (vect_recog_widen_mult_pattern): If | |
10277 | vect_handle_widen_op_by_const, convert oprnd1 to half_type1. | |
10278 | ||
a4fa02d1 RB |
10279 | 2013-06-12 Richard Biener <rguenther@suse.de> |
10280 | ||
10281 | * data-streamer.h (streamer_write_char_stream): CSE | |
10282 | obs->current_pointer. | |
10283 | * data-streamer-out.c (streamer_write_uhwi_stream): Inline | |
10284 | streamer_write_char_stream manually and optimize the resulting loop. | |
10285 | (streamer_write_hwi_stream): Likewise. | |
10286 | ||
bbf9ad07 JH |
10287 | 2013-06-12 Jan Hubicka <jh@suse.cz> |
10288 | ||
10289 | * lto-symtab.c (lto_symtab_merge_symbols): Populate symtab hashtable. | |
10290 | * cgraph.h (varpool_create_empty_node): Declare. | |
10291 | * lto-cgraph.c (input_node, input_varpool_node): Forcingly create | |
10292 | duplicated nodes. | |
10293 | * symtab.c (symtab_unregister_node): Be lax about missin entries | |
10294 | in node hash. | |
10295 | (symtab_get_node): Update comment. | |
10296 | * varpool.c (varpool_create_empty_node): Break out from ... | |
10297 | (varpool_node_for_decl): ... here. | |
10298 | * lto-streamer.h (lto_file_decl_data): Add RESOLUTION_MAP. | |
10299 | ||
a53f90ad EB |
10300 | 2013-06-12 Eric Botcazou <ebotcazou@adacore.com> |
10301 | ||
10302 | * expr.c (expand_expr_real_1) <TARGET_MEM_REF>: Use straight-line flow. | |
10303 | <MEM_REF>: Use 'type' instead of TREE_TYPE (exp) and tidy up the first | |
10304 | part. Use straight-line flow at the end. | |
10305 | <COMPONENT_REF>: Remove superfluous else. | |
10306 | <VIEW_CONVERT_EXPR>: Use 'type' instead of TREE_TYPE (exp). | |
10307 | ||
946f9306 JJ |
10308 | 2013-06-12 Jakub Jelinek <jakub@redhat.com> |
10309 | ||
10310 | PR target/56564 | |
10311 | * varasm.c (decl_binds_to_current_def_p): Call binds_local_p | |
10312 | target hook even for !TREE_PUBLIC decls. If no resolution info | |
10313 | is available, return false for common and external decls. | |
10314 | ||
a7fca6f0 KP |
10315 | 2013-06-12 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
10316 | ||
10317 | * config/rl78/constraints.md (U): New constraint. | |
10318 | * config/rl78/rl78.md (*mulqi3_rl78,*mulhi3_rl78,*mulhi3_g13): Add | |
10319 | valloc attribute. | |
10320 | ||
c7d8f446 MM |
10321 | 2013-06-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
10322 | ||
10323 | PR target/57589 | |
10324 | * config/rs6000/driver-rs6000.c (elf_platform): Make buffer static | |
10325 | to allow returning address to AT_PLATFORM name. | |
10326 | ||
08346abd JH |
10327 | 2013-06-11 Jan Hubicka <jh@suse.cz> |
10328 | ||
10329 | * cgraph.c (cgraph_create_function_alias): Set weakref flag. | |
10330 | * cgraph.h (symtab_node_base): Add weakref flag. | |
10331 | * cgraphunit.c (cgraph_reset_node): Clear weakref flag. | |
10332 | (handle_alias_pairs): Set weakref flag, do not set DECL_EXTERNAL. | |
10333 | (output_weakrefs): Use weakref flag. | |
10334 | * fold-const.c (simple_operand_p): Handle WEAK. | |
10335 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Drop weakref. | |
10336 | * ipa.c (varpool_externally_visible_p): Drop weakref. | |
10337 | (function_and_variable_visibility): Update comment; fix weakref | |
10338 | sanity checks; do not clear DECL_WEAK on them. | |
10339 | * lto-cgraph.c (lto_output_node): update. | |
10340 | (lto_output_varpool_node): Update. | |
10341 | (input_overwrite_node): Update. | |
10342 | (input_node): Update. | |
10343 | (input_varpool_node): Update. | |
10344 | * lto-symtab.c (lto_symtab_symbol_p): Do not special case weakrefs. | |
10345 | (lto_symtab_merge_symbols): Add sanity check. | |
10346 | (lto_symtab_prevailing_decl): Do not special case weakrefs. | |
10347 | * passes.c (rest_of_decl_compilation): Set static flag, too. | |
10348 | * symtab.c (dump_symtab_base): Dump weakref. | |
10349 | (verify_symtab_base): Sanity check weakrefs. | |
10350 | (symtab_make_decl_local): Remove duplicated code. | |
10351 | (symtab_alias_ultimate_target): Simplify. | |
10352 | * varpool.c (varpool_create_variable_alias): Set weakref flag. | |
c7d8f446 | 10353 | |
2e6a2f88 TV |
10354 | 2013-06-11 Tom de Vries <tom@codesourcery.com> |
10355 | ||
10356 | * genautomata.c (gen_regexp_sequence): Handle els_num == -1. Handle | |
10357 | sequence_vect == NULL. | |
10358 | ||
d9af3652 DD |
10359 | 2013-06-11 DJ Delorie <dj@redhat.com> |
10360 | ||
10361 | * config/rl78/rl78.c (TARGET_UNWIND_WORD_MODE): Define. | |
10362 | (rl78_unwind_word_mode): New. | |
10363 | ||
ffa66012 DM |
10364 | 2013-06-11 David Malcolm <dmalcolm@redhat.com> |
10365 | ||
10366 | * final.c (debug_prefix_maps): Make static. | |
10367 | ||
783f2d35 DM |
10368 | 2013-06-11 David Malcolm <dmalcolm@redhat.com> |
10369 | ||
10370 | * function.c (initial_trampoline): Remove stray copy. | |
10371 | ||
7af26def SN |
10372 | 2013-06-11 Sofiane Naci <sofiane.naci@arm.com> |
10373 | ||
10374 | * config/aarch64/aarch64-simd.md (move_lo_quad_<mode>): Update. | |
10375 | ||
97756c0e MJ |
10376 | 2013-06-11 Martin Jambor <mjambor@suse.cz> |
10377 | ||
10378 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that param_index is | |
10379 | within bounds at the beginning of the function. | |
10380 | ||
2c7b8bf6 AM |
10381 | 2013-06-11 Alan Modra <amodra@gmail.com> |
10382 | ||
10383 | * varasm.c (get_section): Don't die on !DECL_P decl. Tidy error | |
10384 | reporting. | |
10385 | (get_named_section): Don't NULL !DECL_P decl. | |
10386 | ||
77cea46e IZ |
10387 | 2013-06-11 Igor Zamyatin <igor.zamyatin@intel.com> |
10388 | ||
10389 | * doc/invoke.texi (core-avx2): Document. | |
10390 | (slm): Likewise. | |
10391 | (atom): Updated with MOVBE. | |
10392 | ||
888f0920 RB |
10393 | 2013-06-11 Richard Biener <rguenther@suse.de> |
10394 | ||
22fc7d3d | 10395 | * collect2.c (main): Do not redirect ld stdout/stderr when debugging. |
888f0920 | 10396 | |
6b438d58 AB |
10397 | 2013-06-11 Anton Blanchard <anton@samba.org> |
10398 | ||
10399 | * config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Calculate | |
10400 | correct shift value in little-endian mode. | |
10401 | ||
3bc66938 JJ |
10402 | 2013-06-11 Jakub Jelinek <jakub@redhat.com> |
10403 | ||
10404 | PR target/56564 | |
10405 | * varasm.c (get_variable_align): Move #endif to the right place. | |
10406 | ||
a5dc7f88 CC |
10407 | 2013-06-10 Cary Coutant <ccoutant@google.com> |
10408 | ||
10409 | * dwarf2out.c (hash_external_ref): Use die_symbol or signature | |
10410 | for hash so that hash table traversal order is deterministic. | |
10411 | ||
19be72ab | 10412 | 2013-06-10 Michael Meissner <meissner@linux.vnet.ibm.com> |
12211b99 UB |
10413 | Pat Haugen <pthaugen@us.ibm.com> |
10414 | Peter Bergner <bergner@vnet.ibm.com> | |
19be72ab MM |
10415 | |
10416 | * config/rs6000/vector.md (GPR move splitter): Do not split moves | |
10417 | of vectors in GPRS if they are direct moves or quad word load or | |
10418 | store moves. | |
10419 | ||
10420 | * config/rs6000/rs6000-protos.h (rs6000_output_move_128bit): Add | |
10421 | declaration. | |
10422 | (direct_move_p): Likewise. | |
10423 | (quad_load_store_p): Likewise. | |
10424 | ||
10425 | * config/rs6000/rs6000.c (enum rs6000_reg_type): Simplify register | |
10426 | classes into bins based on the physical register type. | |
10427 | (reg_class_to_reg_type): Likewise. | |
10428 | (IS_STD_REG_TYPE): Likewise. | |
10429 | (IS_FP_VECT_REG_TYPE): Likewise. | |
10430 | (reload_fpr_gpr): Arrays to determine what insn to use if we can | |
10431 | use direct move instructions. | |
10432 | (reload_gpr_vsx): Likewise. | |
10433 | (reload_vsx_gpr): Likewise. | |
10434 | (rs6000_init_hard_regno_mode_ok): Precalculate the register type | |
10435 | information that is a simplification of register classes. Also | |
10436 | precalculate direct move reload helpers. | |
10437 | (direct_move_p): New function to return true if the operation can | |
10438 | be done as a direct move instruciton. | |
10439 | (quad_load_store_p): New function to return true if the operation | |
10440 | is a quad memory operation. | |
10441 | (rs6000_legitimize_address): If quad memory, only allow register | |
10442 | indirect for TImode addresses. | |
10443 | (rs6000_legitimate_address_p): Likewise. | |
10444 | (enum reload_reg_type): Delete, replace with rs6000_reg_type. | |
10445 | (rs6000_reload_register_type): Likewise. | |
10446 | (register_to_reg_type): Return register type. | |
10447 | (rs6000_secondary_reload_simple_move): New helper function for | |
10448 | secondary reload and secondary memory needed to identify anything | |
10449 | that is a simple move, and does not need reloading. | |
10450 | (rs6000_secondary_reload_direct_move): New helper function for | |
10451 | secondary reload to identify cases that can be done with several | |
10452 | instructions via the direct move instructions. | |
10453 | (rs6000_secondary_reload_move): New helper function for secondary | |
10454 | reload to identify moves between register types that can be done. | |
10455 | (rs6000_secondary_reload): Add support for quad memory operations | |
10456 | and for direct move. | |
10457 | (rs6000_secondary_memory_needed): Likewise. | |
10458 | (rs6000_debug_secondary_memory_needed): Change argument names. | |
10459 | (rs6000_output_move_128bit): New function to return the move to | |
10460 | use for 128-bit moves, including knowing about the various | |
10461 | limitations of quad memory operations. | |
10462 | ||
10463 | * config/rs6000/vsx.md (vsx_mov<mode>): Add support for quad | |
10464 | memory operations. call rs6000_output_move_128bit for the actual | |
10465 | instruciton(s) to generate. | |
10466 | (vsx_movti_64bit): Likewise. | |
10467 | ||
10468 | * config/rs6000/rs6000.md (UNSPEC_P8V_FMRGOW): New unspec values. | |
10469 | (UNSPEC_P8V_MTVSRWZ): Likewise. | |
10470 | (UNSPEC_P8V_RELOAD_FROM_GPR): Likewise. | |
10471 | (UNSPEC_P8V_MTVSRD): Likewise. | |
10472 | (UNSPEC_P8V_XXPERMDI): Likewise. | |
10473 | (UNSPEC_P8V_RELOAD_FROM_VSX): Likewise. | |
10474 | (UNSPEC_FUSION_GPR): Likewise. | |
10475 | (FMOVE128_GPR): New iterator for direct move. | |
22fc7d3d | 10476 | (f32_lv): New mode attribute for load/store of SFmode/SDmode values. |
19be72ab MM |
10477 | (f32_sv): Likewise. |
10478 | (f32_dm): Likewise. | |
10479 | (zero_extend<mode>di2_internal1): Add support for power8 32-bit | |
10480 | loads and direct move instructions. | |
10481 | (zero_extendsidi2_lfiwzx): Likewise. | |
10482 | (extendsidi2_lfiwax): Likewise. | |
10483 | (extendsidi2_nocell): Likewise. | |
10484 | (floatsi<mode>2_lfiwax): Likewise. | |
10485 | (lfiwax): Likewise. | |
10486 | (floatunssi<mode>2_lfiwzx): Likewise. | |
10487 | (lfiwzx): Likewise. | |
10488 | (fix_trunc<mode>_stfiwx): Likewise. | |
10489 | (fixuns_trunc<mode>_stfiwx): Likewise. | |
10490 | (mov<mode>_hardfloat, 32-bit floating point): Likewise. | |
10491 | (mov<move>_hardfloat64, 64-bit floating point): Likewise. | |
10492 | (parity<mode>2_cmpb): Set length/type attr. | |
10493 | (unnamed shift right patterns, mov<mode>_internal2): Change type attr | |
10494 | for 'mr.' to fast_compare. | |
10495 | (bpermd_<mode>): Change type attr to popcnt. | |
10496 | (p8_fmrgow_<mode>): New insns for power8 direct move support. | |
10497 | (p8_mtvsrwz_1): Likewise. | |
10498 | (p8_mtvsrwz_2): Likewise. | |
10499 | (reload_fpr_from_gpr<mode>): Likewise. | |
10500 | (p8_mtvsrd_1): Likewise. | |
10501 | (p8_mtvsrd_2): Likewise. | |
10502 | (p8_xxpermdi_<mode>): Likewise. | |
10503 | (reload_vsx_from_gpr<mode>): Likewise. | |
10504 | (reload_vsx_from_gprsf): Likewise. | |
10505 | (p8_mfvsrd_3_<mode>): LIkewise. | |
10506 | (reload_gpr_from_vsx<mode>): Likewise. | |
10507 | (reload_gpr_from_vsxsf): Likewise. | |
10508 | (p8_mfvsrd_4_disf): Likewise. | |
10509 | (multi-word GPR splits): Do not split direct moves or quad memory | |
10510 | operations. | |
10511 | ||
16876bdc DM |
10512 | 2013-06-10 David Malcolm <dmalcolm@redhat.com> |
10513 | ||
10514 | * tree-into-ssa.c (interesting_blocks): Make static. | |
10515 | ||
df8a1d28 JJ |
10516 | 2013-06-10 Jakub Jelinek <jakub@redhat.com> |
10517 | ||
10518 | PR target/56564 | |
10519 | * varasm.c (align_variable): Don't use DATA_ALIGNMENT or | |
10520 | CONSTANT_ALIGNMENT if !decl_binds_to_current_def_p (decl). | |
10521 | Use DATA_ABI_ALIGNMENT for that case instead if defined. | |
10522 | (get_variable_align): New function. | |
10523 | (get_variable_section, emit_bss, emit_common, | |
10524 | assemble_variable_contents, place_block_symbol): Use | |
10525 | get_variable_align instead of DECL_ALIGN. | |
10526 | (assemble_noswitch_variable): Add align argument, use it | |
10527 | instead of DECL_ALIGN. | |
10528 | (assemble_variable): Adjust caller. Use get_variable_align | |
10529 | instead of DECL_ALIGN. | |
10530 | * config/i386/i386.h (DATA_ALIGNMENT): Adjust x86_data_alignment | |
10531 | caller. | |
10532 | (DATA_ABI_ALIGNMENT): Define. | |
10533 | * config/i386/i386-protos.h (x86_data_alignment): Adjust prototype. | |
10534 | * config/i386/i386.c (x86_data_alignment): Add opt argument. If | |
10535 | opt is false, only return the psABI mandated alignment increase. | |
10536 | * config/c6x/c6x.h (DATA_ALIGNMENT): Renamed to... | |
10537 | (DATA_ABI_ALIGNMENT): ... this. | |
10538 | * config/mmix/mmix.h (DATA_ALIGNMENT): Renamed to... | |
10539 | (DATA_ABI_ALIGNMENT): ... this. | |
10540 | * config/mmix/mmix.c (mmix_data_alignment): Adjust function comment. | |
10541 | * config/s390/s390.h (DATA_ALIGNMENT): Renamed to... | |
10542 | (DATA_ABI_ALIGNMENT): ... this. | |
10543 | * doc/tm.texi.in (DATA_ABI_ALIGNMENT): Document. | |
10544 | * doc/tm.texi: Regenerated. | |
10545 | ||
57b29ca6 UB |
10546 | 2013-06-10 Uros Bizjak <ubizjak@gmail.com> |
10547 | ||
10548 | * config/alpha/alpha.c (alpha_emit_xfloating_compare): Also use | |
10549 | cmp_code to construct REG_EQUAL note. | |
10550 | ||
3e56ed50 JJ |
10551 | 2013-06-09 Jakub Jelinek <jakub@redhat.com> |
10552 | ||
10553 | PR target/57568 | |
10554 | * config/i386/i386.md (TARGET_READ_MODIFY_WRITE peepholes): Ensure | |
10555 | that operands[2] doesn't overlap with operands[0]. | |
10556 | ||
74fe2a1d DE |
10557 | 2013-06-09 David Edelsohn <dje.gcc@gmail.com> |
10558 | Jan Hubicka <jh@suse.cz> | |
10559 | ||
10560 | * config/rs6000/rs6000.c (print_operand, 'z'): Remove historical | |
10561 | hack to mark symbols as used. | |
10562 | ||
ed52a84e VM |
10563 | 2013-06-08 Vladimir Makarov <vmakarov@redhat.com> |
10564 | ||
10565 | PR rtl-optimization/57559 | |
10566 | * lra-constraints.c (process_alt_operands): Don't discourage | |
10567 | memory with known offset for offsetable memory constraint. | |
10568 | * lra.c (lra_emit_add): Exchange y and z for 2-op add insn. | |
10569 | ||
299316ed EB |
10570 | 2013-06-08 Eric Botcazou <ebotcazou@adacore.com> |
10571 | ||
10572 | * varasm.c (struct oc_local_state): Reorder fields. | |
10573 | (output_constructor_bitfield): Replace OUTER parameter with BIT_OFFSET | |
10574 | and adjust accordingly. | |
10575 | (output_constructor): Reorder initialization code and adjust call to | |
10576 | output_constructor_bitfield. | |
10577 | ||
88ac60d3 JH |
10578 | 2013-06-07 Jan Hubicka <jh@suse.cz> |
10579 | ||
10580 | * symtab.c (symtab_resolve_alias): Do not remove alias attribute. | |
10581 | ||
4cdce1a8 DM |
10582 | 2013-06-07 David Malcolm <dmalcolm@redhat.com> |
10583 | ||
10584 | * tree-object-size.c (unknown): Make const. | |
10585 | ||
b5e0425c AK |
10586 | 2013-06-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
10587 | ||
10588 | * config/s390/s390.md (cpu_facility): Add cpu_zarch. | |
10589 | ("*movmem_short", "*clrmem_short", "*cmpmem_short): Use cpu_zarch | |
10590 | for last alternative in the cpu_facility attribute. | |
10591 | ||
79678d04 KT |
10592 | 2013-06-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
10593 | ||
10594 | PR target/56315 | |
10595 | * config/arm/arm.md (*xordi3_insn): Change to insn_and_split. | |
10596 | (xordi3): Change operand 2 constraint to arm_xordi_operand. | |
10597 | * config/arm/arm.c (const_ok_for_dimode_op): Handle XOR. | |
10598 | * config/arm/constraints.md (Dg): New constraint. | |
10599 | * config/arm/neon.md (xordi3_neon): Remove. | |
10600 | (neon_veor<mode>): Generate xordi3 instead of xordi3_neon. | |
10601 | * config/arm/predicates.md (arm_xordi_operand): New predicate. | |
10602 | ||
b31ddbdb KT |
10603 | 2013-06-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
10604 | ||
10605 | * config/arm/arm.md (anddi3_insn): Remove duplicate alternatives. | |
10606 | Clean up alternatives. | |
10607 | ||
8f90b7d4 AM |
10608 | 2013-06-07 Alan Modra <amodra@gmail.com> |
10609 | ||
10610 | * config/rs6000/rs6000.c (setup_incoming_varargs): Round up | |
10611 | va_list_gpr_size. | |
10612 | ||
961ce119 AM |
10613 | 2013-06-07 Alan Modra <amodra@gmail.com> |
10614 | ||
10615 | * varasm.c (force_const_mem): Assert mode is not VOID or BLK. | |
10616 | ||
33e49835 KT |
10617 | 2013-06-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
10618 | ||
10619 | * config/arm/constraints.md (Df): New constraint. | |
10620 | * config/arm/arm.md (iordi3_insn): Use Df constraint instead of De. | |
10621 | Correct length attribute for last two alternatives. | |
10622 | ||
acd17ae6 AM |
10623 | 2013-06-07 Alan Modra <amodra@gmail.com> |
10624 | ||
10625 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
10626 | override user -mfp-in-toc. | |
10627 | (offsettable_ok_by_alignment): Consider just the current access | |
10628 | rather than the whole object, unless BLKmode. Handle | |
10629 | CONSTANT_POOL_ADDRESS_P constants that lack a decl too. | |
10630 | (use_toc_relative_ref): Allow CONSTANT_POOL_ADDRESS_P constants | |
10631 | for -mcmodel=medium. | |
10632 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Don't | |
10633 | override user -mfp-in-toc or -msum-in-toc. Default to | |
10634 | -mno-fp-in-toc for -mcmodel=medium. | |
10635 | ||
73310b0e DD |
10636 | 2013-06-06 DJ Delorie <dj@redhat.com> |
10637 | ||
10638 | * config/rl78/rl78.c (rl78_valid_pointer_mode): New, implements | |
10639 | TARGET_VALID_POINTER_MODE. | |
10640 | ||
0bd62dca | 10641 | 2013-06-06 Michael Meissner <meissner@linux.vnet.ibm.com> |
12211b99 UB |
10642 | Pat Haugen <pthaugen@us.ibm.com> |
10643 | Peter Bergner <bergner@vnet.ibm.com> | |
0bd62dca MM |
10644 | |
10645 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
10646 | Document new power8 builtins. | |
10647 | ||
10648 | * config/rs6000/vector.md (and<mode>3): Add a clobber/scratch of a | |
10649 | condition code register, to allow 128-bit logical operations to be | |
10650 | done in the VSX or GPR registers. | |
10651 | (nor<mode>3): Use the canonical form for nor. | |
10652 | (eqv<mode>3): Add expanders for power8 xxleqv, xxlnand, xxlorc, | |
10653 | vclz*, and vpopcnt* vector instructions. | |
10654 | (nand<mode>3): Likewise. | |
10655 | (orc<mode>3): Likewise. | |
10656 | (clz<mode>2): LIkewise. | |
10657 | (popcount<mode>2): Likewise. | |
10658 | ||
10659 | * config/rs6000/predicates.md (int_reg_operand): Rework tests so | |
10660 | that only the GPRs are recognized. | |
10661 | ||
10662 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
10663 | support for new power8 builtins. | |
10664 | ||
10665 | * config/rs6000/rs6000-builtin.def (xscvspdpn): Add new power8 | |
10666 | builtin functions. | |
10667 | (xscvdpspn): Likewise. | |
10668 | (vclz): Likewise. | |
10669 | (vclzb): Likewise. | |
10670 | (vclzh): Likewise. | |
10671 | (vclzw): Likewise. | |
10672 | (vclzd): Likewise. | |
10673 | (vpopcnt): Likewise. | |
10674 | (vpopcntb): Likewise. | |
10675 | (vpopcnth): Likewise. | |
10676 | (vpopcntw): Likewise. | |
10677 | (vpopcntd): Likewise. | |
10678 | (vgbbd): Likewise. | |
10679 | (vmrgew): Likewise. | |
10680 | (vmrgow): Likewise. | |
10681 | (eqv): Likewise. | |
10682 | (eqv_v16qi3): Likewise. | |
10683 | (eqv_v8hi3): Likewise. | |
10684 | (eqv_v4si3): Likewise. | |
10685 | (eqv_v2di3): Likewise. | |
10686 | (eqv_v4sf3): Likewise. | |
10687 | (eqv_v2df3): Likewise. | |
10688 | (nand): Likewise. | |
10689 | (nand_v16qi3): Likewise. | |
10690 | (nand_v8hi3): Likewise. | |
10691 | (nand_v4si3): Likewise. | |
10692 | (nand_v2di3): Likewise. | |
10693 | (nand_v4sf3): Likewise. | |
10694 | (nand_v2df3): Likewise. | |
10695 | (orc): Likewise. | |
10696 | (orc_v16qi3): Likewise. | |
10697 | (orc_v8hi3): Likewise. | |
10698 | (orc_v4si3): Likewise. | |
10699 | (orc_v2di3): Likewise. | |
10700 | (orc_v4sf3): Likewise. | |
10701 | (orc_v2df3): Likewise. | |
10702 | ||
10703 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Only | |
10704 | allow power8 quad mode in 64-bit. | |
10705 | (rs6000_builtin_vectorized_function): Add support to vectorize | |
10706 | ISA 2.07 count leading zeros, population count builtins. | |
10707 | (rs6000_expand_vector_init): On ISA 2.07 use xscvdpspn to form | |
10708 | V4SF vectors instead of xscvdpsp to avoid IEEE related traps. | |
10709 | (builtin_function_type): Add vgbbd builtin function which takes an | |
10710 | unsigned argument. | |
10711 | (altivec_expand_vec_perm_const): Add support for new power8 merge | |
10712 | instructions. | |
10713 | ||
10714 | * config/rs6000/vsx.md (VSX_L2): New iterator for 128-bit types, | |
10715 | that does not include TImdoe for use with 32-bit. | |
10716 | (UNSPEC_VSX_CVSPDPN): Support for power8 xscvdpspn and xscvspdpn | |
10717 | instructions. | |
10718 | (UNSPEC_VSX_CVDPSPN): Likewise. | |
10719 | (vsx_xscvdpspn): Likewise. | |
10720 | (vsx_xscvspdpn): Likewise. | |
10721 | (vsx_xscvdpspn_scalar): Likewise. | |
10722 | (vsx_xscvspdpn_directmove): Likewise. | |
10723 | (vsx_and<mode>3): Split logical operations into 32-bit and | |
10724 | 64-bit. Add support to do logical operations on TImode as well as | |
10725 | VSX vector types. Allow logical operations to be done in either | |
10726 | VSX registers or in general purpose registers in 64-bit mode. Add | |
10727 | splitters if GPRs were used. For AND, add clobber of CCmode to | |
10728 | allow use of ANDI on GPRs. Rewrite nor to use the canonical RTL | |
10729 | encoding. | |
10730 | (vsx_and<mode>3_32bit): Likewise. | |
10731 | (vsx_and<mode>3_64bit): Likewise. | |
10732 | (vsx_ior<mode>3): Likewise. | |
10733 | (vsx_ior<mode>3_32bit): Likewise. | |
10734 | (vsx_ior<mode>3_64bit): Likewise. | |
10735 | (vsx_xor<mode>3): Likewise. | |
10736 | (vsx_xor<mode>3_32bit): Likewise. | |
10737 | (vsx_xor<mode>3_64bit): Likewise. | |
10738 | (vsx_one_cmpl<mode>2): Likewise. | |
10739 | (vsx_one_cmpl<mode>2_32bit): Likewise. | |
10740 | (vsx_one_cmpl<mode>2_64bit): Likewise. | |
10741 | (vsx_nor<mode>3): Likewise. | |
10742 | (vsx_nor<mode>3_32bit): Likewise. | |
10743 | (vsx_nor<mode>3_64bit): Likewise. | |
10744 | (vsx_andc<mode>3): Likewise. | |
10745 | (vsx_andc<mode>3_32bit): Likewise. | |
10746 | (vsx_andc<mode>3_64bit): Likewise. | |
10747 | (vsx_eqv<mode>3_32bit): Add support for power8 xxleqv, xxlnand, | |
10748 | and xxlorc instructions. | |
10749 | (vsx_eqv<mode>3_64bit): Likewise. | |
10750 | (vsx_nand<mode>3_32bit): Likewise. | |
10751 | (vsx_nand<mode>3_64bit): Likewise. | |
10752 | (vsx_orc<mode>3_32bit): Likewise. | |
10753 | (vsx_orc<mode>3_64bit): Likewise. | |
10754 | ||
10755 | * config/rs6000/rs6000.h (VLOGICAL_REGNO_P): Update comment. | |
10756 | ||
10757 | * config/rs6000/altivec.md (UNSPEC_VGBBD): Add power8 vgbbd | |
10758 | instruction. | |
10759 | (p8_vmrgew): Add power8 vmrgew and vmrgow instructions. | |
10760 | (p8_vmrgow): Likewise. | |
10761 | (altivec_and<mode>3): Add clobber of CCmode to allow AND using | |
10762 | GPRs to be split under VSX. | |
10763 | (p8v_clz<mode>2): Add power8 count leading zero support. | |
10764 | (p8v_popcount<mode>2): Add power8 population count support. | |
10765 | (p8v_vgbbd): Add power8 gather bits by bytes by doubleword | |
10766 | support. | |
10767 | ||
10768 | * config/rs6000/rs6000.md (eqv<mode>3): Add support for powerp eqv | |
10769 | instruction. | |
10770 | ||
10771 | * config/rs6000/altivec.h (vec_eqv): Add defines to export power8 | |
10772 | builtin functions. | |
10773 | (vec_nand): Likewise. | |
10774 | (vec_vclz): Likewise. | |
10775 | (vec_vclzb): Likewise. | |
10776 | (vec_vclzd): Likewise. | |
10777 | (vec_vclzh): Likewise. | |
10778 | (vec_vclzw): Likewise. | |
10779 | (vec_vgbbd): Likewise. | |
10780 | (vec_vmrgew): Likewise. | |
10781 | (vec_vmrgow): Likewise. | |
10782 | (vec_vpopcnt): Likewise. | |
10783 | (vec_vpopcntb): Likewise. | |
10784 | (vec_vpopcntd): Likewise. | |
10785 | (vec_vpopcnth): Likewise. | |
10786 | (vec_vpopcntw): Likewise. | |
10787 | ||
37684c46 VM |
10788 | 2013-06-06 Vladimir Makarov <vmakarov@redhat.com> |
10789 | ||
10790 | PR rtl-optimization/57468 | |
10791 | * config/i386/i386.c (inline_secondary_memory_needed): Ignore | |
10792 | spilled pseudos. | |
10793 | ||
d89ae27c VM |
10794 | 2013-06-06 Vladimir Makarov <vmakarov@redhat.com> |
10795 | ||
10796 | PR rtl-optimization/57459 | |
10797 | * lra-constraints.c (update_ebb_live_info): Fix typo for operand | |
10798 | type when setting live regs. | |
10799 | ||
3597e113 VM |
10800 | 2013-06-06 Vladimir Makarov <vmakarov@redhat.com> |
10801 | ||
10802 | * config/s390/s390.opt (mlra): New option. | |
10803 | * config/s390/s390.c (s390_decompose_address): Check displacement | |
10804 | for all registers for LRA. | |
10805 | (s390_secondary_reload): Don't used secondary reloads for LRA. | |
10806 | (s390_lra_p): New function. | |
10807 | (TARGET_LRA_P): Define. | |
10808 | * config/s390/s390.md (*movmem_short, *clrmem_short): Change value | |
10809 | of attribute cpu_facility to zarch for the last alternative. | |
10810 | (*cmpmem_short): Ditto. | |
10811 | ||
01037aeb EB |
10812 | 2013-06-06 Eric Botcazou <ebotcazou@adacore.com> |
10813 | ||
10814 | * config/arm/arm.c (arm_r3_live_at_start_p): New predicate. | |
10815 | (arm_compute_static_chain_stack_bytes): Use it. Tidy up. | |
10816 | (arm_expand_prologue): Likewise. | |
10817 | ||
3371a64f TJ |
10818 | 2013-06-06 Teresa Johnson <tejohnson@google.com> |
10819 | ||
10820 | PR c++/53743 | |
10821 | * ifcvt.c (find_if_case_1): Replace BB_COPY_PARTITION with assert | |
10822 | as this is now done by redirect_edge_and_branch_force. | |
10823 | * function.c (thread_prologue_and_epilogue_insns): Insert new bb after | |
10824 | barriers, and fix interaction with splitting. | |
10825 | * emit-rtl.c (try_split): Copy REG_CROSSING_JUMP notes. | |
10826 | * cfgcleanup.c (try_forward_edges): Fix early return value to properly | |
10827 | reflect changes made in the routine. | |
10828 | * bb-reorder.c (emit_barrier_after_bb): Move to cfgrtl.c. | |
10829 | (fix_up_fall_thru_edges): Remove incorrect check for bb layout order | |
10830 | since this is called in cfglayout mode, and replace partition fixup | |
10831 | with assert as that is now done by force_nonfallthru_and_redirect. | |
10832 | (add_reg_crossing_jump_notes): Handle the fact that some jumps may | |
10833 | already be marked with region crossing note. | |
10834 | (insert_section_boundary_note): Make non-static, gate on flag | |
10835 | has_bb_partition, rewrite to also check for multiple partitions. | |
10836 | (rest_of_handle_reorder_blocks): Remove call to | |
10837 | insert_section_boundary_note, now done later during free_cfg. | |
10838 | (duplicate_computed_gotos): Don't duplicate partition crossing edge. | |
10839 | * bb-reorder.h (insert_section_boundary_note): Declare. | |
10840 | * Makefile.in (cfgrtl.o): Depend on bb-reorder.h | |
10841 | * cfgrtl.c (rest_of_pass_free_cfg): If partitions exist | |
10842 | invoke insert_section_boundary_note. | |
10843 | (try_redirect_by_replacing_jump): Remove unnecessary | |
10844 | check for region crossing note. | |
10845 | (fixup_partition_crossing): New function. | |
10846 | (rtl_redirect_edge_and_branch): Fixup partition boundaries. | |
10847 | (emit_barrier_after_bb): Move here from bb-reorder.c, handle insertion | |
10848 | in non-cfglayout mode. | |
10849 | (force_nonfallthru_and_redirect): Fixup partition boundaries, | |
10850 | remove old code that tried to do this. Emit barrier correctly | |
10851 | when we are in cfglayout mode. | |
10852 | (last_bb_in_partition): New function. | |
10853 | (rtl_split_edge): Correctly fixup partition boundaries. | |
10854 | (commit_one_edge_insertion): Remove old code that tried to | |
10855 | fixup region crossing edge since this is now handled in | |
10856 | split_block, and set up insertion point correctly since | |
10857 | block may now end in a jump. | |
10858 | (verify_hot_cold_block_grouping): Guard against checking when not in | |
10859 | linearized RTL mode. | |
10860 | (rtl_verify_edges): Add checks for incorrect/missing REG_CROSSING_JUMP | |
10861 | notes. | |
10862 | (rtl_verify_flow_info_1): Move verify_hot_cold_block_grouping to | |
10863 | rtl_verify_flow_info, so not called in cfglayout mode. | |
10864 | (rtl_verify_flow_info): Move verify_hot_cold_block_grouping here. | |
10865 | (fixup_reorder_chain): Remove old code that attempted to fixup region | |
10866 | crossing note as this is now handled in force_nonfallthru_and_redirect. | |
10867 | (duplicate_insn_chain): Don't duplicate switch section notes. | |
10868 | (rtl_can_remove_branch_p): Remove unnecessary check for region crossing | |
10869 | note. | |
10870 | * basic-block.h (emit_barrier_after_bb): Declare. | |
10871 | ||
66071e10 KT |
10872 | 2013-06-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
10873 | ||
10874 | * config/arm/arm-fixed.md (add<mode>3,usadd<mode>3,ssadd<mode>3, | |
10875 | sub<mode>3, ussub<mode>3, sssub<mode>3, arm_ssatsihi_shift, | |
10876 | arm_usatsihi): Adjust alternatives for arm_restrict_it. | |
10877 | ||
0e26bf3d KT |
10878 | 2013-06-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
10879 | ||
10880 | * config/arm/arm-ldmstm.ml: Set "predicable_short_it" to "no" | |
10881 | where appropriate. | |
10882 | * config/arm/ldmstm.md: Regenerate. | |
10883 | ||
12b4e7ef KT |
10884 | 2013-06-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
10885 | ||
10886 | * config/arm/sync.md (atomic_loaddi_1): | |
10887 | Disable predication for arm_restrict_it. | |
10888 | (arm_load_exclusive<mode>): Likewise. | |
10889 | (arm_load_exclusivesi): Likewise. | |
10890 | (arm_load_exclusivedi): Likewise. | |
10891 | (arm_load_acquire_exclusive<mode>): Likewise. | |
10892 | (arm_load_acquire_exclusivesi): Likewise. | |
10893 | (arm_load_acquire_exclusivedi): Likewise. | |
10894 | (arm_store_exclusive<mode>): Likewise. | |
10895 | (arm_store_exclusive<mode>): Likewise. | |
10896 | (arm_store_release_exclusivedi): Likewise. | |
10897 | (arm_store_release_exclusive<mode>): Likewise. | |
10898 | ||
15d16c8a RB |
10899 | 2013-06-06 Richard Biener <rguenther@suse.de> |
10900 | ||
10901 | * lto-streamer.h (enum LTO_tags): Move LTO_tree_pickle_reference | |
10902 | after LTO_null. | |
10903 | (lto_tag_is_tree_code_p): Adjust. | |
10904 | (lto_tag_is_gimple_code_p): Likewise. | |
10905 | (lto_gimple_code_to_tag): Likewise. | |
10906 | (lto_tag_to_gimple_code): Likewise. | |
10907 | (lto_tree_code_to_tag): Likewise. | |
10908 | (lto_tag_to_tree_code): Likewise. | |
10909 | * data-streamer.h (streamer_write_hwi_in_range): Use | |
10910 | uhwi streaming to stream the normalized range. | |
10911 | (streamer_read_hwi_in_range): Likewise. | |
10912 | ||
17a7fc37 KT |
10913 | 2013-06-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
10914 | ||
10915 | * config/arm/arm.md (enabled_for_depr_it): New attribute. | |
10916 | (predicable_short_it): Likewise. | |
10917 | (predicated): Likewise. | |
10918 | (enabled): Handle above. | |
10919 | (define_cond_exec): Set predicated attribute to yes. | |
10920 | ||
b57ca59b MS |
10921 | 2013-06-05 Mike Stump <mikestump@comcast.net> |
10922 | ||
10923 | * gdbinit.in (__FUNCTION__): Add. | |
10924 | ||
c1e183a9 UB |
10925 | 2013-06-05 Uros Bizjak <ubizjak@gmail.com> |
10926 | ||
10927 | * config/alpha/alpha.c (alpha_emit_conditional_move): Swap all | |
10928 | GE, GT, GEU and GTU compares, modulo DImode compares with zero. | |
10929 | ||
0378bddb JH |
10930 | 2013-06-05 Jan Hubicka <jh@suse.cz> |
10931 | ||
10932 | * varasm.c (mark_decl_referenced): Revert the removal until targets | |
10933 | are fixed. | |
10934 | ||
8f8a2057 DE |
10935 | 2013-06-05 David Edelsohn <dje.gcc@gmail.com> |
10936 | ||
10937 | * config/rs6000/rs6000.c (print_operand, 'z'): Use DECL_PRESERVE_P | |
10938 | instead of mark_decl_referenced. | |
10939 | ||
edb983b2 JH |
10940 | 2013-06-05 Jan Hubicka <jh@suse.cz> |
10941 | ||
10942 | * cgraph.c (cgraph_remove_node): Clear forced_by_abi. | |
10943 | (cgraph_node_cannot_be_local_p_1): Honnor symbol.forced_by_abi | |
10944 | and symtab_used_from_object_file_p. | |
10945 | (cgraph_make_node_local_1): Clear forced_by_abi. | |
10946 | (cgraph_can_remove_if_no_direct_calls_and): Use forced_by_abi | |
10947 | * cgraph.h (symtab_node_base): Add forced_by_abi. | |
10948 | (decide_is_variable_needed): Remove. | |
10949 | (varpool_can_remove_if_no_refs): Honnor symbol.forced_by_abi. | |
10950 | * cgraphunit.c (cgraph_decide_is_function_needed): Rename to .. | |
10951 | (decide_is_symbol_needed): ... this one; handle symbols in general; | |
10952 | always analyze virtuals; honnor forced_by_abi. | |
10953 | (cgraph_finalize_function): Update. | |
10954 | (varpool_finalize_decl): Update. | |
10955 | (symbol_defined_and_needed): Remove. | |
10956 | (analyze_functions): Update. | |
10957 | * lto-cgraph.c (lto_output_node, lto_output_varpool_node, | |
10958 | output_refs, input_overwrite_node): Handle forced_by_abi. | |
10959 | * ipa.c (cgraph_address_taken_from_non_vtable_p): Rename to ... | |
10960 | (address_taken_from_non_vtable_p): ... this one. | |
10961 | (comdat_can_be_unshared_p_1): New function. | |
10962 | (cgraph_comdat_can_be_unshared_p): Rename to ... | |
10963 | (comdat_can_be_unshared_p): ... this one; handle symbols in general. | |
10964 | (varpool_externally_visible_p): Use comdat_can_be_unshared_p. | |
10965 | (function_and_variable_visibility): Clear forced_by_abi as needed. | |
10966 | * trans-mem.c (ipa_tm_mark_forced_by_abi_node): New functoin. | |
10967 | (ipa_tm_create_version_alias, ipa_tm_create_version): Update. | |
edb983b2 JH |
10968 | * symtab.c (dump_symtab_base): Dump forced_by_abi. |
10969 | * varpool.c (decide_is_variable_needed): Remove. | |
10970 | ||
9912dbe5 KT |
10971 | 2013-06-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
10972 | ||
10973 | * config/arm/arm.c (MAX_INSN_PER_IT_BLOCK): New macro. | |
10974 | (arm_option_override): Override arm_restrict_it where appropriate. | |
10975 | (thumb2_final_prescan_insn): Use MAX_INSN_PER_IT_BLOCK. | |
10976 | * config/arm/arm.opt (mrestrict-it): New command-line option. | |
10977 | * doc/invoke.texi: Document -mrestrict-it. | |
10978 | ||
34c136b6 DM |
10979 | 2013-06-05 David Malcolm <dmalcolm@redhat.com> |
10980 | ||
10981 | * tsan.c (tsan_atomic_table): Make const. | |
10982 | ||
a367df53 RB |
10983 | 2013-06-05 Richard Biener <rguenther@suse.de> |
10984 | ||
10985 | * tree-streamer.c (streamer_tree_cache_insert_1): Update the | |
10986 | index associated with the tree we are supposed to replace. | |
10987 | * tree-streamer-out.c (pack_ts_base_value_fields): Output | |
10988 | TREE_ASM_WRITTEN as zero for everything but SSA names. | |
10989 | ||
70d51a19 DM |
10990 | 2013-06-05 David Malcolm <dmalcolm@redhat.com> |
10991 | ||
10992 | * tree-ssa-structalias.c (call_stmt_vars): Make static. | |
10993 | ||
b9bd2075 JH |
10994 | 2013-06-04 Jan Hubicka <jh@suse.cz> |
10995 | ||
10996 | * lto-cgraph.c (get_alias_symbol): Remove weakref sanity check. | |
10997 | (input_node, input_varpool_node): Handle correctly external same | |
10998 | body aliases. | |
10999 | * ipa.c (symtab_remove_unreachable_nodes): Do not remove external | |
11000 | nodes at ltrans stage. | |
11001 | ||
aaae719d JH |
11002 | 2013-06-04 Jan Hubicka <jh@suse.cz> |
11003 | ||
11004 | * ipa-inline.c (update_caller_keys): Fix availability test. | |
11005 | (update_callee_keys): Likewise. | |
11006 | * symtab.c (symtab_alias_ultimate_target): Make availaiblity logic | |
11007 | to follow ELF standard. | |
11008 | ||
107eea2c JU |
11009 | 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de> |
11010 | ||
11011 | * config.gcc (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*) | |
11012 | (mips64r5900el-*-elf*): New configurations. | |
11013 | * config/mips/mips-cpus.def (r5900): New processor. | |
11014 | * config/mips/mips-tables.opt: Regenerate. | |
11015 | * config/mips/mips.c (mips_rtx_cost_data): Add an R5900 entry. | |
11016 | (mips_issue_rate): Handle PROCESSOR_R5900. | |
11017 | (mips_reorg_process_insns): Force reorder mode for the R5900. | |
11018 | * config/mips/mips.h (TARGET_MIPS5900): Define. | |
11019 | (ISA_HAS_CONDMOVE, ISA_HAS_PREFETCH, ISA_HAS_HILO_INTERLOCKS): Include | |
11020 | TARGET_MIPS5900. | |
11021 | (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY, ISA_HAS_FCMP_DELAY): Exclude | |
11022 | TARGET_MIPS5900. | |
11023 | * config/mips/mips.md (processor): Add r5900. | |
11024 | (MOVECC): Disallow CCmode conditions for TARGET_MIPS5900. | |
11025 | ||
b7342d25 IB |
11026 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
11027 | ||
11028 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Call | |
11029 | into function to generate MOVI instruction. | |
c1e183a9 | 11030 | * config/aarch64/aarch64.c (aarch64_simd_container_mode): New function. |
b7342d25 IB |
11031 | (aarch64_preferred_simd_mode): Turn into wrapper. |
11032 | (aarch64_output_scalar_simd_mov_immediate): New function. | |
11033 | * config/aarch64/aarch64-protos.h: Add prototype for above. | |
11034 | ||
81c2dfb9 IB |
11035 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
11036 | ||
11037 | * config/aarch64/aarch64.c (simd_immediate_info): Remove | |
11038 | element_char member. | |
11039 | (sizetochar): Return signed char. | |
11040 | (aarch64_simd_valid_immediate): Remove elchar and other | |
11041 | unnecessary variables. | |
11042 | (aarch64_output_simd_mov_immediate): Take rtx instead of &rtx. | |
11043 | Calculate element_char as required. | |
11044 | * config/aarch64/aarch64-protos.h: Update and move prototype | |
11045 | for aarch64_output_simd_mov_immediate. | |
11046 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): | |
11047 | Update arguments. | |
11048 | ||
48063b9d IB |
11049 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
11050 | ||
11051 | * config/aarch64/aarch64.c (simd_immediate_info): Struct to hold | |
11052 | information completed by aarch64_simd_valid_immediate. | |
11053 | (aarch64_legitimate_constant_p): Update arguments. | |
11054 | (aarch64_simd_valid_immediate): Work with struct rather than many | |
11055 | pointers. | |
11056 | (aarch64_simd_scalar_immediate_valid_for_move): Update arguments. | |
11057 | (aarch64_simd_make_constant): Update arguments. | |
11058 | (aarch64_output_simd_mov_immediate): Work with struct rather than | |
11059 | many pointers. Output immediate directly rather than as operand. | |
11060 | * config/aarch64/aarch64-protos.h (aarch64_simd_valid_immediate): | |
11061 | Update prototype. | |
11062 | * config/aarch64/constraints.md (Dn): Update arguments. | |
11063 | ||
3ea63f60 IB |
11064 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
11065 | ||
11066 | * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): No | |
11067 | longer static. | |
11068 | (aarch64_simd_immediate_valid_for_move): Remove. | |
11069 | (aarch64_simd_scalar_immediate_valid_for_move): Update call. | |
11070 | (aarch64_simd_make_constant): Update call. | |
11071 | (aarch64_output_simd_mov_immediate): Update call. | |
11072 | * config/aarch64/aarch64-protos.h (aarch64_simd_valid_immediate): | |
11073 | Add prototype. | |
11074 | * config/aarch64/constraints.md (Dn): Update call. | |
11075 | ||
d8edd899 IB |
11076 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
11077 | ||
11078 | * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Change | |
11079 | return type to bool for prototype. | |
11080 | (aarch64_legitimate_constant_p): Check for true instead of not -1. | |
11081 | (aarch64_simd_valid_immediate): Fix up each return to return a bool. | |
11082 | (aarch64_simd_immediate_valid_for_move): Update retval for bool. | |
11083 | ||
44b20bb8 CM |
11084 | 2013-06-04 Catherine Moore <clm@codesourcery.com> |
11085 | ||
11086 | * config/mips/mips.opt (meva): New. | |
c1e183a9 | 11087 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_eva. |
44b20bb8 CM |
11088 | (ASM_SPEC): Handle -meva. |
11089 | * doc/invoke.texi (meva): Document. | |
11090 | ||
52befbd8 AM |
11091 | 2013-06-04 Alan Modra <amodra@gmail.com> |
11092 | ||
11093 | * config/rs6000/rs6000.c (output_toc): Correct little-endian float | |
11094 | constant output. | |
11095 | ||
aadaf24e KT |
11096 | 2013-06-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
11097 | ||
11098 | * rtl.def: Add extra fourth optional field to define_cond_exec. | |
11099 | * gensupport.c (process_one_cond_exec): Process attributes from | |
11100 | define_cond_exec. | |
11101 | * doc/md.texi: Document fourth field in define_cond_exec. | |
11102 | ||
0cd9e9ee EB |
11103 | 2013-06-04 Eric Botcazou <ebotcazou@adacore.com> |
11104 | ||
11105 | * expmed.c (extract_bit_field_1): In the larger-than-a-word case, factor | |
11106 | out the processing order as in store_bit_field_1. | |
11107 | ||
cb0f665d JH |
11108 | 2013-06-04 Jan Hubicka <jh@suse.cz> |
11109 | ||
11110 | PR middle-end/57500 | |
11111 | * cgraphunit.c (cgraph_process_same_body_aliases): Create | |
11112 | non-VAR_DECL node if it does not exist yet. | |
11113 | ||
53984b9b RS |
11114 | 2013-06-03 Richard Sandiford <rdsandiford@googlemail.com> |
11115 | ||
11116 | * config.gcc (mipsisa64sr71k-*-elf*, mipsisa64sb1-*-elf*) | |
11117 | (mipsisa64sb1el-*-elf*, mips64-*-elf*, mips64el-*-elf*) | |
11118 | (mips64orion-*-elf*, mips64orionel-*-elf*): Remove | |
11119 | target_cpu_default setting. | |
11120 | ||
5d318fd4 TJ |
11121 | 2013-06-03 Teresa Johnson <tejohnson@google.com> |
11122 | ||
11123 | * dumpfile.c (opt_info_switch_p): Change -fopt-info | |
11124 | default to -fopt-info=optimized instead of all. | |
11125 | * doc/invoke.texi: Ditto. | |
11126 | * tree-vectorizer.c (vectorize_loops): Emit loop vectorization | |
11127 | success under MSG_OPTIMIZED_LOCATIONS, and use dump_printf_loc. | |
11128 | (execute_vect_slp): Emit BB vectorization success under | |
11129 | MSG_OPTIMIZED_LOCATIONS. | |
11130 | * tree-vect-slp.c (vect_slp_transform_bb): Change | |
11131 | MSG_OPTIMIZED_LOCATIONS to MSG_NOTE. | |
11132 | * tree-vect-loop.c (vect_transform_loop): Ditto. | |
11133 | ||
ec3af349 JM |
11134 | 2013-06-03 Jason Merrill <jason@redhat.com> |
11135 | ||
11136 | PR c++/57415 | |
11137 | * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): | |
11138 | Use TARGET_EXPR for C++. | |
11139 | ||
1baf9159 JJ |
11140 | 2013-06-03 Jakub Jelinek <jakub@redhat.com> |
11141 | ||
11142 | PR rtl-optimization/57268 | |
0cd9e9ee | 11143 | * sched-deps.c (sched_analyze_2): Don't flush_pending_lists |
1baf9159 JJ |
11144 | if DEBUG_INSN_P (insn). |
11145 | ||
11146 | Reapply | |
11147 | 2013-05-31 Dinar Temirbulatov <dinar@kugelworks.com> | |
11148 | ||
11149 | PR rtl-optimization/57268 | |
11150 | * sched-deps.c (sched_analyze_2): Flush dependence lists if | |
11151 | the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH. | |
11152 | ||
0f1d3965 YR |
11153 | 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com> |
11154 | ||
11155 | * config/i386/i386.c (ix86_lea_outperforms): Fix formatting. | |
11156 | (ix86_avoid_lea_for_addr): Likewise. | |
11157 | (exact_dependency_1): Likewise. | |
11158 | (ix86_adjust_cost): Likewise. | |
11159 | (swap_top_of_ready_list): Fix formatting and !reload_completed check | |
11160 | removed. | |
11161 | (do_reorder_for_imul): Fix typo, formatting and | |
11162 | !reload_completed check removed. | |
11163 | (ix86_sched_reorder): Fix typo and formatting. | |
11164 | (fold_builtin_cpu): Move M_INTEL_SLM at the end of processor types | |
11165 | list. | |
11166 | ||
3bc30db4 SN |
11167 | 2013-06-03 Sofiane Naci <sofiane.naci@arm.com> |
11168 | ||
11169 | * config/aarch64/aarch64.md (*movdi_aarch64): Define "simd" attribute. | |
11170 | ||
19cc6fac EB |
11171 | 2013-06-03 Eric Botcazou <ebotcazou@adacore.com> |
11172 | ||
11173 | * varasm.c (output_constant) <CONSTRUCTOR>: Minor formatting tweak. | |
11174 | <STRING_CST>: Likewise. | |
11175 | <VECTOR_CST>: Likewise. | |
11176 | ||
c68a6e08 JW |
11177 | 2013-06-01 Janus Weil <janus@gcc.gnu.org> |
11178 | Mikael Morin <mikael@gcc.gnu.org> | |
11179 | ||
11180 | * configure.ac: Add AC_HEADER_TIOCGWINSZ macro. | |
11181 | * config.in: Regenerated. | |
11182 | * configure: Regenerated. | |
11183 | ||
38e55e5c JH |
11184 | 2013-06-01 Jan Hubicka <jh@suse.cz> |
11185 | ||
11186 | PR middle-end/57366 | |
11187 | * cgraphunit.c (compile): When weakref is not supported, | |
11188 | set up transparent aliases before final output pass. | |
11189 | * varasm.c (assemble_alias): Do not try to do it here. | |
11190 | ||
eb51d2ff JH |
11191 | 2013-06-01 Jan Hubicka <jh@suse.cz> |
11192 | ||
11193 | PR middle-end/57467 | |
11194 | * passes.c (for_per_function): Skip unanalyzed functions. | |
11195 | ||
40a7fe1e JH |
11196 | 2013-06-01 Jan Hubicka <jh@suse.cz> |
11197 | ||
11198 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Rename to ... | |
11199 | (lto_symtab_merge_symbols_1): ... this one. | |
11200 | (lto_symtab_merge_cgraph_nodes): Rename to ... | |
11201 | (lto_symtab_merge_symbols): ... this one; simplify. | |
11202 | * cgraph.c (same_body_aliases_done): Rename to ... | |
11203 | (cpp_implicit_aliases_done): ... this one. | |
11204 | (cgraph_create_function_alias): Update. | |
11205 | (cgraph_same_body_alias): Update. | |
c1e183a9 | 11206 | (dump_cgraph_node): Remove alias dumping; simplify thunk dumping. |
40a7fe1e | 11207 | (verify_edge_corresponds_to_fndecl): Simplify. |
c1e183a9 | 11208 | * cgraph.h (symtab_node_base): Add cpp_implicit_alias, alias_target. |
40a7fe1e JH |
11209 | (cgraph_node): Remove same_body_alias. |
11210 | (varpool_node): Remove alias_of and extra_name_alias. | |
11211 | (same_body_aliases_done): Rename to .. | |
11212 | (cpp_implicit_aliases_done): ... this one. | |
11213 | (symtab_alias_ultimate_target): Add default parameter. | |
11214 | (symtab_resolve_alias): New function. | |
11215 | (fixup_same_cpp_alias_visibility): Declare. | |
11216 | (cgraph_function_node): Add default parameter. | |
11217 | (cgraph_node_asm_name): Likewise. | |
11218 | (cgraph_function_or_thunk_node): Add default parameter; do | |
11219 | not ICE when it is NULL. | |
11220 | (varpool_variable_node): Likewise. | |
11221 | * tree-emutls.c (create_emultls_var): Update. | |
11222 | (ipa_lower_emutls): Update. | |
11223 | * cgraphunit.c (cgraph_decide_is_function_needed): Update. | |
11224 | (cgraph_reset_node): Reset alias info. | |
11225 | (cgraph_finalize_function): Update. | |
11226 | (fixup_same_cpp_alias_visibility): Move to symtab.c. | |
11227 | (analyze_function): Simplify. | |
11228 | (cgraph_process_same_body_aliases): Simplify. | |
11229 | (analyze_functions): Fixup same body aliases. | |
11230 | (handle_alias_pairs): Simplify. | |
11231 | (assemble_thunk): Update. | |
11232 | (assemble_thunks_and_aliases): Update. | |
11233 | (output_weakrefs): Rewrite. | |
11234 | * lto-cgraph.c (lto_output_node): Rewrite alias handling. | |
11235 | (lto_output_varpool_node): Likewise. | |
11236 | (compute_ltrans_boundary): Remve assert. | |
11237 | (get_alias_symbol): New functoin. | |
11238 | (input_node): Rewrite alias handling. | |
11239 | (input_varpool_node): Likewise. | |
11240 | * ipa-pure-const.c (propagate_pure_const): Fix formating. | |
11241 | * ipa.c (process_references): Handle weakrefs correctly. | |
11242 | (symtab_remove_unreachable_nodes): Likewise. | |
11243 | * trans-mem.c (get_cg_data): Update. | |
11244 | (ipa_tm_create_version_alias): Update. | |
11245 | (ipa_tm_execute): Update. | |
11246 | * symtab.c (dump_symtab_base): Dump aliases. | |
11247 | (verify_symtab_base): Verify aliases. | |
11248 | (symtab_node_availability): New function. | |
11249 | (symtab_alias_ultimate_target): Simplify. | |
11250 | (fixup_same_cpp_alias_visibility): Move here from cgraphunit.c; | |
11251 | handle all the fixup cases. | |
11252 | (symtab_resolve_alias): New function. | |
11253 | * passes.c (ipa_write_summaries): Handle weakrefs. | |
11254 | * varpool.c (varpool_analyze_node): Simplify. | |
11255 | (assemble_aliases): Update. | |
11256 | (varpool_create_variable_alias): Simplify. | |
11257 | (varpool_extra_name_alias): Simplify. | |
11258 | * lto-streamer.h (lto_symtab_merge_cgraph_nodes): Rename to... | |
11259 | (lto_symtab_merge_symbols): ... this one. | |
11260 | ||
21759881 DT |
11261 | 2013-06-01 Dinar Temirbulatov <dinar@kugelworks.com> |
11262 | ||
11263 | Revert | |
11264 | PR rtl-optimization/57268 | |
11265 | * sched-deps.c (sched_analyze_2): Flush dependence lists if | |
11266 | the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH. | |
11267 | ||
daf4e940 TB |
11268 | 2013-06-01 Tobias Burnus <burnus@net-b.de> |
11269 | ||
11270 | Partially reverted: | |
11271 | 2013-05-31 Tobias Burnus <burnus@net-b.de> | |
11272 | ||
11273 | PR middle-end/57073 | |
11274 | * tree-ssa-math-opts.c (execute_cse_sincos): Move check | |
11275 | further up. | |
11276 | ||
c359d8d0 DT |
11277 | 2013-05-31 Dinar Temirbulatov <dinar@kugelworks.com> |
11278 | ||
11279 | PR rtl-optimization/57268 | |
11280 | * sched-deps.c (sched_analyze_2): Flush dependence lists if | |
11281 | the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH. | |
11282 | ||
4172215d EB |
11283 | 2013-05-31 Eric Botcazou <ebotcazou@adacore.com> |
11284 | ||
11285 | * config/rs6000/predicates.md (rs6000_cbranch_operator): Accept some | |
11286 | unordered comparison operators when -fno-trapping-math is in effect | |
11287 | on the e500. | |
11288 | * config/rs6000/rs6000.c (rs6000_generate_compare): Remove dead code | |
11289 | and implement unordered comparison operators properly on the e500. | |
11290 | ||
a8c50132 EB |
11291 | 2013-05-31 Eric Botcazou <ebotcazou@adacore.com> |
11292 | ||
11293 | * simplify-rtx.c (simplify_byte_swapping_operation): Use proper macro | |
11294 | for constant scalar integers. | |
11295 | (simplify_relational_operation_1): Likewise. | |
11296 | ||
44626634 SB |
11297 | 2013-05-31 Segher Boessenkool <segher@kernel.crashing.org> |
11298 | ||
11299 | * config/rs6000/rs6000-opts.h (enum processor_type): Reorder. | |
11300 | * config/rs6000/rs6000.md (cpu): Reorder. Split long line. | |
11301 | Fix comment. | |
11302 | ||
55805e54 YR |
11303 | 2013-05-31 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com> |
11304 | Igor Zamyatin <igor.zamyatin@intel.com> | |
11305 | ||
11306 | Silvermont (SLM) architecture performance tuning. | |
11307 | * config/i386/i386.h (enum ix86_tune_indices): Add | |
11308 | X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS. | |
11309 | (TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS): New define. | |
11310 | ||
11311 | * config/i386/i386.c (initial_ix86_tune_features) | |
11312 | <X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS>: Initialize. | |
11313 | (ix86_lea_outperforms): Handle Silvermont tuning. | |
11314 | (ix86_avoid_lea_for_add): Add new argument to ix86_lea_outperforms | |
11315 | call. | |
11316 | (ix86_use_lea_for_mov): Likewise. | |
11317 | (ix86_avoid_lea_for_addr): Likewise. | |
11318 | (ix86_lea_for_add_ok): Likewise. | |
11319 | (exact_dependency_1): New function. | |
11320 | (exact_store_load_dependency): Likewise. | |
11321 | (ix86_adjust_cost): Handle Silvermont tuning. | |
11322 | (do_reoder_for_imul): Likewise. | |
11323 | (swap_top_of_ready_list): New function. | |
11324 | (ix86_sched_reorder): Changed to handle Silvermont tuning. | |
11325 | ||
11326 | * config/i386/i386.md (peepholes that split memory operand in fp | |
11327 | converts): New. | |
11328 | ||
e19c9de2 MS |
11329 | 2013-05-31 Marcus Shawcroft <marcus.shawcroft@arm.com> |
11330 | ||
11331 | * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): | |
11332 | Remove un-necessary braces. | |
11333 | ||
38e6c9a6 MS |
11334 | 2013-05-31 Marcus Shawcroft <marcus.shawcroft@arm.com> |
11335 | ||
11336 | * config/aarch64/aarch64.c (aarch64_classify_symbol): | |
11337 | Use SYMBOL_TINY_ABSOLUTE for AARCH64_CMODEL_TINY_PIC. | |
11338 | ||
e3530904 TB |
11339 | 2013-05-31 Tobias Burnus <burnus@net-b.de> |
11340 | ||
11341 | PR middle-end/57073 | |
c1e183a9 | 11342 | * tree-ssa-math-opts.c (execute_cse_sincos): Move check further up. |
e3530904 | 11343 | |
b6af05a9 KT |
11344 | 2013-05-31 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
11345 | ||
11346 | PR target/56315 | |
11347 | * config/arm/arm.c (const_ok_for_dimode_op): Handle IOR. | |
11348 | * config/arm/arm.md (*iordi3_insn): Change to insn_and_split. | |
11349 | * config/arm/neon.md (iordi3_neon): Remove. | |
11350 | (neon_vorr<mode>): Generate iordi3 instead of iordi3_neon. | |
11351 | * config/arm/predicates.md (imm_for_neon_logic_operand): | |
11352 | Move to earlier in the file. | |
11353 | (neon_logic_op2): Likewise. | |
11354 | (arm_iordi_operand_neon): New predicate. | |
11355 | ||
f800c166 RB |
11356 | 2013-05-31 Richard Biener <rguenther@suse.de> |
11357 | ||
11358 | PR tree-optimization/57478 | |
11359 | PR tree-optimization/57453 | |
11360 | * tree-vect-slp.c (vect_bb_slp_scalar_cost): Uses in PHI nodes | |
11361 | are life as well. | |
11362 | ||
e571fa59 KP |
11363 | 2013-05-31 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
11364 | ||
11365 | * config/rl78/rl78.md (mulqi3,mulhi3): New define_expands. | |
11366 | (*mulqi3_rl78,*mulhi3_rl78,*mulhi3_g13): New define_insns. | |
11367 | ||
0fa6e0ef TB |
11368 | 2013-05-30 Tobias Burnus <burnus@net-b.de> |
11369 | Thomas Koenig <tkoenig@gcc.gnu.org> | |
11370 | ||
11371 | PR middle-end/57073 | |
11372 | * tree-ssa-math-opts.c (execute_cse_sincos): Optimize | |
11373 | powi (-1.0, k) to (k & 1) ? -1.0 : 1.0. | |
11374 | ||
4688ddf5 SB |
11375 | 2013-05-30 Steven Bosscher <steven@gcc.gnu.org> |
11376 | ||
0fa6e0ef | 11377 | * rtlanal.c (tablejump_p): Expect table and label to be adjacent. |
4688ddf5 | 11378 | |
3b9ceb4b VM |
11379 | 2013-05-30 Vladimir Makarov <vmakarov@redhat.com> |
11380 | ||
11381 | * target.def (register_usage_leveling_p): New hook. | |
11382 | * targhooks.c (default_register_usage_leveling_p): New. | |
11383 | * targhooks.h (default_register_usage_leveling_p): New prototype. | |
11384 | * lra-assigns.c (register_usage_leveling_p): Use the hook. | |
11385 | * doc/tm.texi.in (TARGET_REGISTER_USAGE_LEVELING_P): New hook. | |
11386 | * doc/tm.texi: Update. | |
11387 | * config/i386/i386.c (TARGET_REGISTER_USAGE_LEVELING_P): Define. | |
11388 | ||
65f9e789 IB |
11389 | 2013-05-30 Ian Bolton <ian.bolton@arm.com> |
11390 | ||
11391 | * config/aarch64/aarch64.md (insv<mode>): New define_expand. | |
11392 | (*insv_reg<mode>): New define_insn. | |
11393 | ||
12211b99 | 11394 | 2013-05-30 Joern Rennecke <joern.rennecke@embecosm.com> |
ca035367 JR |
11395 | |
11396 | PR rtl-optimization/57439 | |
11397 | * postreload.c (move2add_valid_value_p): Check that we have | |
11398 | a zero subreg_regno_offset when accessing the register in | |
11399 | the requested mode. | |
11400 | ||
0b871ccf YR |
11401 | 2013-05-30 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com> |
11402 | Igor Zamyatin <igor.zamyatin@intel.com> | |
11403 | ||
11404 | Silvermont (SLM) architecture pipeline model, tuning and | |
11405 | insn selection. | |
11406 | * config.gcc: Add slm config options and target. | |
11407 | ||
11408 | * config/i386/slm.md: New. | |
11409 | ||
11410 | * config/i386/driver-i386.c (host_detect_local_cpu): Check movbe. | |
11411 | ||
f43245d1 | 11412 | * config/i386/i386-c.c (ix86_target_macros_internal): New case |
0b871ccf YR |
11413 | PROCESSOR_SLM. |
11414 | (ix86_target_macros_internal): Likewise. | |
11415 | ||
f43245d1 | 11416 | * config/i386/i386.c (slm_cost): New cost. |
0b871ccf YR |
11417 | (m_SLM): New macro flag. |
11418 | (initial_ix86_tune_features): Set m_SLM. | |
11419 | (x86_accumulate_outgoing_args): Likewise. | |
11420 | (x86_arch_always_fancy_math_387): Likewise. | |
11421 | (processor_target_table): Add slm cost. | |
11422 | (cpu_names): Add slm cpu name. | |
11423 | (x86_option_override_internal): Set SLM ISA. | |
11424 | (ix86_issue_rate): New case PROCESSOR_SLM. | |
11425 | (ia32_multipass_dfa_lookahead): Likewise. | |
11426 | (fold_builtin_cpu): Add slm. | |
11427 | ||
11428 | * config/i386/i386.h (TARGET_SLM): New target macro. | |
11429 | (target_cpu_default): Add TARGET_CPU_DEFAULT_slm. | |
11430 | (processor_type): Add PROCESSOR_SLM. | |
11431 | ||
11432 | * config/i386/i386.md (cpu): Add new value "slm". | |
11433 | (slm.md): Include slm.md. | |
11434 | ||
24d5b097 XG |
11435 | 2013-05-30 Bernd Schmidt <bernds@codesourcery.com> |
11436 | Zhenqiang Chen <zhenqiang.chen@linaro.org> | |
11437 | ||
11438 | * config/arm/arm-protos.h: Add and update function protos. | |
11439 | * config/arm/arm.c (use_simple_return_p): New added. | |
11440 | (thumb2_expand_return): Check simple_return flag. | |
11441 | * config/arm/arm.md: Add simple_return and conditional simple_return. | |
11442 | * config/arm/iterators.md: Add iterator for return and simple_return. | |
11443 | ||
c1cccc15 ZC |
11444 | 2013-05-30 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
11445 | ||
11446 | * config/arm/arm.c (arm_add_cfa_adjust_cfa_note): New added. | |
11447 | (arm_emit_multi_reg_pop): Add REG_CFA_ADJUST_CFA notes. | |
11448 | (arm_emit_vfp_multi_reg_pop): Likewise. | |
11449 | (thumb2_emit_ldrd_pop): Likewise. | |
11450 | (arm_expand_epilogue): Add misc REG_CFA notes. | |
11451 | (arm_unwind_emit): Skip REG_CFA_ADJUST_CFA and REG_CFA_RESTORE. | |
11452 | ||
3a4f280b LC |
11453 | 2013-05-29 Lawrence Crowl <crowl@google.com> |
11454 | ||
11455 | * config/arm/t-arm: Update for below. | |
11456 | ||
11457 | * config/arm/arm.c (arm_libcall_uses_aapcs_base::libcall_htab): | |
11458 | Change type to hash_table. Update dependent calls and types. | |
11459 | ||
11460 | * config/i386/t-cygming: Update for below. | |
11461 | ||
11462 | * config/i386/t-interix: Update for below. | |
11463 | ||
11464 | * config/i386/winnt.c (i386_pe_section_type_flags::htab): | |
11465 | Change type to hash_table. Update dependent calls and types. | |
11466 | (i386_find_on_wrapper_list::wrappers): Likewise. | |
11467 | ||
11468 | * config/ia64/t-ia64: Update for below. | |
11469 | ||
11470 | * config/ia64/ia64.c (bundle_state_table): | |
11471 | Change type to hash_table. Update dependent calls and types. | |
11472 | ||
11473 | * config/mips/mips.c (mips_reorg_process_insns::htab): | |
11474 | Change type to hash_table. Update dependent calls and types. | |
11475 | ||
11476 | * config/sol2.c (solaris_comdat_htab): | |
11477 | Change type to hash_table. Update dependent calls and types. | |
11478 | ||
11479 | * config/t-sol2: Update for above. | |
11480 | ||
1388a0e3 TJ |
11481 | 2013-05-29 Teresa Johnson <tejohnson@google.com> |
11482 | ||
11483 | * passes.c (dump_passes): Use FOR_EACH_FUNCTION since | |
11484 | functions are not yet marked as defined. | |
11485 | ||
a5965b52 | 11486 | 2013-05-29 Michael Meissner <meissner@linux.vnet.ibm.com> |
12211b99 UB |
11487 | Pat Haugen <pthaugen@us.ibm.com> |
11488 | Peter Bergner <bergner@vnet.ibm.com> | |
a5965b52 MM |
11489 | |
11490 | * config/rs6000/vector.md (VEC_I): Add support for new power8 V2DI | |
11491 | instructions. | |
11492 | (VEC_A): Likewise. | |
11493 | (VEC_C): Likewise. | |
11494 | (vrotl<mode>3): Likewise. | |
11495 | (vashl<mode>3): Likewise. | |
11496 | (vlshr<mode>3): Likewise. | |
11497 | (vashr<mode>3): Likewise. | |
11498 | ||
11499 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
11500 | support for power8 V2DI builtins. | |
11501 | ||
11502 | * config/rs6000/rs6000-builtin.def (abs_v2di): Add support for | |
11503 | power8 V2DI builtins. | |
11504 | (vupkhsw): Likewise. | |
11505 | (vupklsw): Likewise. | |
11506 | (vaddudm): Likewise. | |
11507 | (vminsd): Likewise. | |
11508 | (vmaxsd): Likewise. | |
11509 | (vminud): Likewise. | |
11510 | (vmaxud): Likewise. | |
11511 | (vpkudum): Likewise. | |
11512 | (vpksdss): Likewise. | |
11513 | (vpkudus): Likewise. | |
11514 | (vpksdus): Likewise. | |
11515 | (vrld): Likewise. | |
11516 | (vsld): Likewise. | |
11517 | (vsrd): Likewise. | |
11518 | (vsrad): Likewise. | |
11519 | (vsubudm): Likewise. | |
11520 | (vcmpequd): Likewise. | |
11521 | (vcmpgtsd): Likewise. | |
11522 | (vcmpgtud): Likewise. | |
11523 | (vcmpequd_p): Likewise. | |
11524 | (vcmpgtsd_p): Likewise. | |
11525 | (vcmpgtud_p): Likewise. | |
11526 | (vupkhsw): Likewise. | |
11527 | (vupklsw): Likewise. | |
11528 | (vaddudm): Likewise. | |
11529 | (vmaxsd): Likewise. | |
11530 | (vmaxud): Likewise. | |
11531 | (vminsd): Likewise. | |
11532 | (vminud): Likewise. | |
11533 | (vpksdss): Likewise. | |
11534 | (vpksdus): Likewise. | |
11535 | (vpkudum): Likewise. | |
11536 | (vpkudus): Likewise. | |
11537 | (vrld): Likewise. | |
11538 | (vsld): Likewise. | |
11539 | (vsrad): Likewise. | |
11540 | (vsrd): Likewise. | |
11541 | (vsubudm): Likewise. | |
11542 | ||
11543 | * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Add | |
11544 | support for power8 V2DI instructions. | |
11545 | ||
11546 | * config/rs6000/altivec.md (UNSPEC_VPKUHUM): Add support for | |
11547 | power8 V2DI instructions. Combine pack and unpack insns to use an | |
11548 | iterator for each mode. Check whether a particular mode supports | |
11549 | Altivec instructions instead of just checking TARGET_ALTIVEC. | |
11550 | (UNSPEC_VPKUWUM): Likewise. | |
11551 | (UNSPEC_VPKSHSS): Likewise. | |
11552 | (UNSPEC_VPKSWSS): Likewise. | |
11553 | (UNSPEC_VPKUHUS): Likewise. | |
11554 | (UNSPEC_VPKSHUS): Likewise. | |
11555 | (UNSPEC_VPKUWUS): Likewise. | |
11556 | (UNSPEC_VPKSWUS): Likewise. | |
11557 | (UNSPEC_VPACK_SIGN_SIGN_SAT): Likewise. | |
11558 | (UNSPEC_VPACK_SIGN_UNS_SAT): Likewise. | |
11559 | (UNSPEC_VPACK_UNS_UNS_SAT): Likewise. | |
11560 | (UNSPEC_VPACK_UNS_UNS_MOD): Likewise. | |
11561 | (UNSPEC_VUPKHSB): Likewise. | |
11562 | (UNSPEC_VUNPACK_HI_SIGN): Likewise. | |
11563 | (UNSPEC_VUNPACK_LO_SIGN): Likewise. | |
11564 | (UNSPEC_VUPKHSH): Likewise. | |
11565 | (UNSPEC_VUPKLSB): Likewise. | |
11566 | (UNSPEC_VUPKLSH): Likewise. | |
11567 | (VI2): Likewise. | |
11568 | (VI_char): Likewise. | |
11569 | (VI_scalar): Likewise. | |
11570 | (VI_unit): Likewise. | |
11571 | (VP): Likewise. | |
11572 | (VP_small): Likewise. | |
11573 | (VP_small_lc): Likewise. | |
11574 | (VU_char): Likewise. | |
11575 | (add<mode>3): Likewise. | |
11576 | (altivec_vaddcuw): Likewise. | |
11577 | (altivec_vaddu<VI_char>s): Likewise. | |
11578 | (altivec_vadds<VI_char>s): Likewise. | |
11579 | (sub<mode>3): Likewise. | |
11580 | (altivec_vsubcuw): Likewise. | |
11581 | (altivec_vsubu<VI_char>s): Likewise. | |
11582 | (altivec_vsubs<VI_char>s): Likewise. | |
11583 | (altivec_vavgs<VI_char>): Likewise. | |
11584 | (altivec_vcmpbfp): Likewise. | |
11585 | (altivec_eq<mode>): Likewise. | |
11586 | (altivec_gt<mode>): Likewise. | |
11587 | (altivec_gtu<mode>): Likewise. | |
11588 | (umax<mode>3): Likewise. | |
11589 | (smax<mode>3): Likewise. | |
11590 | (umin<mode>3): Likewise. | |
11591 | (smin<mode>3): Likewise. | |
11592 | (altivec_vpkuhum): Likewise. | |
11593 | (altivec_vpkuwum): Likewise. | |
11594 | (altivec_vpkshss): Likewise. | |
11595 | (altivec_vpkswss): Likewise. | |
11596 | (altivec_vpkuhus): Likewise. | |
11597 | (altivec_vpkshus): Likewise. | |
11598 | (altivec_vpkuwus): Likewise. | |
11599 | (altivec_vpkswus): Likewise. | |
11600 | (altivec_vpks<VI_char>ss): Likewise. | |
11601 | (altivec_vpks<VI_char>us): Likewise. | |
11602 | (altivec_vpku<VI_char>us): Likewise. | |
11603 | (altivec_vpku<VI_char>um): Likewise. | |
11604 | (altivec_vrl<VI_char>): Likewise. | |
11605 | (altivec_vsl<VI_char>): Likewise. | |
11606 | (altivec_vsr<VI_char>): Likewise. | |
11607 | (altivec_vsra<VI_char>): Likewise. | |
11608 | (altivec_vsldoi_<mode>): Likewise. | |
11609 | (altivec_vupkhsb): Likewise. | |
11610 | (altivec_vupkhs<VU_char>): Likewise. | |
11611 | (altivec_vupkls<VU_char>): Likewise. | |
11612 | (altivec_vupkhsh): Likewise. | |
11613 | (altivec_vupklsb): Likewise. | |
11614 | (altivec_vupklsh): Likewise. | |
11615 | (altivec_vcmpequ<VI_char>_p): Likewise. | |
11616 | (altivec_vcmpgts<VI_char>_p): Likewise. | |
11617 | (altivec_vcmpgtu<VI_char>_p): Likewise. | |
11618 | (abs<mode>2): Likewise. | |
11619 | (vec_unpacks_hi_v16qi): Likewise. | |
11620 | (vec_unpacks_hi_v8hi): Likewise. | |
11621 | (vec_unpacks_lo_v16qi): Likewise. | |
11622 | (vec_unpacks_hi_<VP_small_lc>): Likewise. | |
11623 | (vec_unpacks_lo_v8hi): Likewise. | |
11624 | (vec_unpacks_lo_<VP_small_lc>): Likewise. | |
11625 | (vec_pack_trunc_v8h): Likewise. | |
11626 | (vec_pack_trunc_v4si): Likewise. | |
11627 | (vec_pack_trunc_<mode>): Likewise. | |
11628 | ||
11629 | * config/rs6000/altivec.h (vec_vaddudm): Add defines for power8 | |
11630 | V2DI builtins. | |
11631 | (vec_vmaxsd): Likewise. | |
11632 | (vec_vmaxud): Likewise. | |
11633 | (vec_vminsd): Likewise. | |
11634 | (vec_vminud): Likewise. | |
11635 | (vec_vpksdss): Likewise. | |
11636 | (vec_vpksdus): Likewise. | |
11637 | (vec_vpkudum): Likewise. | |
11638 | (vec_vpkudus): Likewise. | |
11639 | (vec_vrld): Likewise. | |
11640 | (vec_vsld): Likewise. | |
11641 | (vec_vsrad): Likewise. | |
11642 | (vec_vsrd): Likewise. | |
11643 | (vec_vsubudm): Likewise. | |
11644 | (vec_vupkhsw): Likewise. | |
11645 | (vec_vupklsw): Likewise. | |
11646 | ||
e70670cf JH |
11647 | 2013-05-29 Jan Hubicka <jh@suse.cz> |
11648 | ||
11649 | * cgraph.h (symtab_node_base): Add definition, alias and analyzed | |
11650 | flags; reorder rest of fields in more consistent way. | |
11651 | (varpool_node): Remove analyzed, finalized and alias. | |
11652 | (cgraph_ndoe): Likewise. | |
11653 | (symtab_alias_ultimate_target): New function. | |
11654 | (cgraph_function_node): Move offline. | |
11655 | (cgraph_reset_node): Declare. | |
11656 | (cgraph_comdat_can_be_unshared_p): Remove. | |
11657 | (varpool_remove_initializer): Declare. | |
11658 | (varpool_first_defined_variable, varpool_next_defined_variable | |
11659 | cgraph_first_defined_function, cgraph_next_defined_function): Update. | |
11660 | (cgraph_function_with_gimple_body_p): Update. | |
11661 | (varpool_all_refs_explicit_p): Update. | |
11662 | (symtab_alias_target): New function. | |
11663 | (cgraph_alias_aliased_node, varpool_alias_aliased_node): Rename to ... | |
11664 | (cgraph_alias_target, varpool_alias_target): .. this one; simplify. | |
c1e183a9 UB |
11665 | (cgraph_function_or_thunk_node): Simplify using |
11666 | symtab_alias_ultimate_target. | |
e70670cf JH |
11667 | (varpool_variable_node): Likewise. |
11668 | * cgraph.c (cgraph_create_function_alias): Update. | |
11669 | (cgraph_add_thunk): Update. | |
11670 | (cgraph_remove_node): Update. | |
11671 | (dump_cgraph_node): Do not dump removed flags. | |
11672 | (cgraph_function_body_availability): Update. | |
11673 | (cgraph_propagate_frequency): Update. | |
11674 | (verify_cgraph_node): Check sanity of local flag. | |
11675 | (cgraph_function_node): Move here from cgraph.h; revamp for | |
11676 | cgraph_function_or_thunk_node. | |
11677 | * lto-symtab.c (lto_varpool_replace_node): Update. | |
11678 | (lto_symtab_resolve_can_prevail_p): Update. | |
11679 | (lto_symtab_merge_cgraph_nodes): Update. | |
11680 | * ipa-cp.c (determine_versionability, initialize_node_lattices, | |
11681 | propagate_constants_accross_call, devirtualization_time_bonus, | |
11682 | ipcp_propagate_stage): Update. | |
11683 | * tree-emutls.c (create_emultls_var, ipa_lower_emutls): Update. | |
c1e183a9 UB |
11684 | * ipa-inline-transform.c (clone_inlined_nodes, |
11685 | preserve_function_body_p): Update. | |
e70670cf JH |
11686 | * ipa-reference.c (propagate): Update. |
11687 | (write_node_summary_p): Update. | |
11688 | * toplev.c (wrapup_global_declaration_2): Update. | |
11689 | * cgraphunit.c (cgraph_analyze_function): Rename to ... | |
11690 | (analyze_function) ... this one. | |
11691 | (cgraph_process_new_functions): Update. | |
11692 | (cgraph_reset_node): Export. | |
11693 | (cgraph_finalize_function): Update. | |
11694 | (cgraph_add_new_function): Update. | |
11695 | (process_function_and_variable_attributes): Update. | |
11696 | (varpool_finalize_decl): Update. | |
11697 | (symbol_finalized): Remove. | |
11698 | (symbol_finalized_and_needed): Rename to ... | |
11699 | (symbol_defined_and_needed): ... update. | |
11700 | (cgraph_analyze_functions): Update. | |
11701 | (handle_alias_pairs): Update. | |
11702 | (mark_functions_to_output): Update. | |
11703 | (assemble_thunk): Update. | |
11704 | (output_in_order): Update. | |
11705 | (output_weakrefs): Update. | |
11706 | (finalize_compilation_unit): Update. | |
11707 | * lto-cgraph.c (reachable_from_other_partition_p, lto_output_node, | |
11708 | lto_output_varpool_node, compute_ltrans_boundary, input_overwrite_node, | |
11709 | input_node, input_varpool_node): Update. | |
11710 | * dbxout.c (dbxout_expand_expr): Update. | |
11711 | * cgraphclones.c (cgraph_clone_node): Update. | |
11712 | (cgraph_copy_node_for_versioning): Update. | |
11713 | (cgraph_materialize_clone): Update. | |
11714 | (cgraph_materialize_all_clones): Update. | |
11715 | * ipa-pure-const.c (analyze_function, pure_const_write_summary, | |
11716 | propagate_pure_const, propagate_nothrow): Update. | |
11717 | * lto-streamer-out.c (lto_output, write_symbol): Update. | |
11718 | * ipa-utils.c (ipa_reverse_postorder): Update. | |
11719 | * ipa-inline.c (can_inline_edge_p): Update. | |
11720 | (update_caller_keys, ipa_inline): Update. | |
11721 | * dwarf2out.c (reference_to_unused, | |
11722 | premark_types_used_by_global_vars_helper): Update. | |
11723 | * tree-eh.c (tree_could_trap_p): Update. | |
11724 | * ipa-split.c (consider_split, execute_split_functions): Update. | |
11725 | * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p, | |
c1e183a9 UB |
11726 | has_addr_references_p): Update; move ahead in file for better |
11727 | readability. | |
e70670cf JH |
11728 | (process_references): Simplify. |
11729 | (symtab_remove_unreachable_nodes): Update; cleanup way function/var | |
11730 | bodies are removed. | |
11731 | (cgraph_comdat_can_be_unshared_p): Make static. | |
11732 | (cgraph_externally_visible_p): Update. | |
11733 | (varpool_externally_visible_p): Update. | |
11734 | (function_and_variable_visibility): Update. | |
11735 | * trans-mem.c (get_cg_data, ipa_tm_mayenterirr_function, | |
11736 | ipa_tm_mark_force_output_node): Update. | |
11737 | * ipa-inline-analysis.c (dump_inline_summary, initialize_inline_failed, | |
11738 | estimate_edge_devirt_benefit, inline_generate_summary, | |
11739 | inline_write_summary): Update. | |
11740 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Update. | |
11741 | * ipa-prop.c (ipa_compute_jump_functions): Update. | |
c1e183a9 UB |
11742 | (ipa_print_node_params, ipa_prop_read_section, |
11743 | ipa_update_after_lto_read, read_replacements_section): Update. | |
e70670cf JH |
11744 | * varasm.c (mark_decl_referenced): Update. |
11745 | (assemble_alias, dump_tm_clone_pairs): Update. | |
11746 | * tree-inline.c (copy_bb): Update. | |
11747 | (estimate_num_insns, optimize_inline_calls, tree_function_versioning): | |
11748 | Update. | |
11749 | * symtab.c (dump_symtab_base): Print new flags. | |
11750 | (verify_symtab_base): Verify new flags. | |
11751 | (symtab_alias_ultimate_target): New function. | |
11752 | * tree-ssa-structalias.c (get_constraint_for_ssa_var, | |
11753 | create_variable_info_for, associate_varinfo_to_alias, ipa_pta_execute): | |
11754 | Update. | |
c1e183a9 UB |
11755 | * passes.c (ipa_write_summaries, ipa_write_optimization_summaries): |
11756 | Update. | |
e70670cf JH |
11757 | * i386.c (ix86_get_function_versions_dispatcher, |
11758 | ix86_generate_version_dispatcher_body): Update. | |
11759 | (fold_builtin_cpu): Use varpool_add_new_variable. | |
11760 | * varpool.c (varpool_remove_initializer): Break out from ... | |
11761 | (varpool_remove_node): ... this one. | |
11762 | (dump_varpool_node, varpool_node_for_asm, | |
11763 | cgraph_variable_initializer_availability, varpool_analyze_node, | |
11764 | varpool_assemble_decl, varpool_remove_unreferenced_decls, | |
c1e183a9 UB |
11765 | varpool_finalize_named_section_flags, varpool_create_variable_alias): |
11766 | Update. | |
e70670cf | 11767 | |
182802ad JH |
11768 | 2013-05-29 Jan Hubicka <jh@suse.cz> |
11769 | ||
11770 | * passes.c (init_optimization_passes): Move OMP expansion into lowering. | |
11771 | ||
8190b609 ER |
11772 | 2013-05-29 Easwaran Raman <eraman@google.com> |
11773 | ||
11774 | PR tree-optimization/57442 | |
11775 | * tree-ssa-reassoc.c (appears_later_in_bb): Return correct value | |
11776 | when control exits the main loop. | |
11777 | ||
69f5aa9b SKS |
11778 | 2013-05-29 Sandeep Kumar Singh <Sandeep.Singh2@kpitcummins.com> |
11779 | ||
11780 | * rx/rx.h (TARGET_CPU_CPP_BUILTINS): Add macros for RX100, RX200, | |
11781 | and RX600. | |
c1e183a9 | 11782 | * rx/rx.opt: Add macro for rx100 with string rx100 and value RX100. |
69f5aa9b SKS |
11783 | * rx/rx-opts.h (rx_cpu_types): Add new cpu type rx100. |
11784 | * rx/t-rx: Add rx100 under multi library matches option for nofpu | |
11785 | option. | |
11786 | ||
4b847da9 BS |
11787 | 2013-05-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
11788 | ||
11789 | PR tree-optimization/57441 | |
11790 | * gimple-ssa-strength-reduction.c (analyze_candidates_and_replace): | |
11791 | Don't limit size of incr_vec to number of candidates. | |
11792 | ||
4fc43c39 SE |
11793 | 2013-05-29 Steve Ellcey <sellcey@imgtec.com> |
11794 | ||
11795 | * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Add micromips | |
11796 | and mips16 directories. | |
c1e183a9 | 11797 | * config/mips/t-mti-linux (MULTILIB_OPTIONS): Add micromips and mips16. |
4fc43c39 SE |
11798 | (MULTILIB_DIRNAMES): Ditto. |
11799 | (MULTILIB_EXCEPTIONS): Add new exceptions. | |
11800 | * config/mips/t-mti-elf (MULTILIB_OPTIONS): Add micromips. | |
11801 | (MULTILIB_DIRNAMES): Ditto. | |
11802 | (MULTILIB_EXCEPTIONS): Add new exceptions. | |
11803 | ||
12211b99 | 11804 | 2012-05-29 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> |
a5350ddc CSS |
11805 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
11806 | ||
11807 | * config/aarch64/aarch64-protos.h (aarch64_symbol_type): Define | |
11808 | SYMBOL_TINY_ABSOLUTE. | |
11809 | * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Handle | |
11810 | SYMBOL_TINY_ABSOLUTE. | |
11811 | (aarch64_expand_mov_immediate): Likewise. | |
11812 | (aarch64_classify_symbol): Likewise. | |
11813 | (aarch64_mov_operand_p): Remove ATTRIBUTE_UNUSED. | |
11814 | Permit SYMBOL_TINY_ABSOLUTE. | |
11815 | * config/aarch64/predicates.md (aarch64_mov_operand): Permit CONST. | |
11816 | ||
12211b99 | 11817 | 2013-05-29 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> |
17f4d4bf CSS |
11818 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
11819 | ||
11820 | * config/aarch64/aarch64.c (aarch64_classify_symbol): Remove comment. | |
11821 | Refactor if/switch. Replace gcc_assert with if. | |
11822 | ||
c0186656 GG |
11823 | 2013-05-29 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> |
11824 | ||
11825 | * config/i386/i386.c (initial_ix86_tune_features): Enable | |
11826 | FP Reassociation for AMD bdver1 and bdver2. | |
11827 | ||
d20188f3 MJ |
11828 | 2013-05-29 Martin Jambor <mjambor@suse.cz> |
11829 | ||
11830 | * tree-cfg.c (verify_expr): Verify that BIT_FIELD_REF, REALPART_EXPR | |
11831 | and IMAGPART_EXPR do not occur within other handled_components. | |
11832 | ||
292cba13 RB |
11833 | 2013-05-29 Richard Biener <rguenther@suse.de> |
11834 | ||
11835 | * tree-vect-slp.c (vect_bb_slp_scalar_cost): Guard vinfo | |
11836 | access on whether the use is in the BB we currently try to | |
11837 | vectorize. | |
11838 | (vect_bb_vectorization_profitable_p): Pass the BB we currently | |
11839 | vectorize to vect_bb_slp_scalar_cost. | |
11840 | ||
6eddf228 RB |
11841 | 2013-05-29 Richard Biener <rguenther@suse.de> |
11842 | ||
11843 | * tree-vect-slp.c (vect_bb_slp_scalar_cost): New function | |
11844 | computing scalar cost offsetted by stmts that are kept live | |
11845 | by scalar uses. | |
11846 | (vect_bb_vectorization_profitable_p): Use vect_bb_slp_scalar_cost | |
11847 | for computation of scalar cost. | |
11848 | ||
7df36117 SE |
11849 | 2013-05-28 Steve Ellcey <sellcey@mips.com> |
11850 | ||
11851 | * config/mips/mips-cpus.def (mips32r2): Change processor type. | |
11852 | ||
36536d79 BI |
11853 | 2013-05-28 Balaji V. Iyer <balaji.v.iyer@intel.com> |
11854 | ||
11855 | * doc/extend.texi (C Extensions): Added documentation about Cilk Plus | |
11856 | array notation built-in reduction functions. | |
11857 | * doc/passes.texi (Passes): Added documentation about changes done | |
11858 | for Cilk Plus. | |
11859 | * doc/invoke.texi (C Dialect Options): Added documentation about | |
11860 | the -fcilkplus flag. | |
11861 | * Makefile.in (C_COMMON_OBJS): Added c-family/array-notation-common.o. | |
11862 | (BUILTINS_DEF): Depend on cilkplus.def. | |
11863 | * builtins.def: Include cilkplus.def. Define DEF_CILKPLUS_BUILTIN. | |
11864 | * builtin-types.def: Define BT_FN_INT_PTR_PTR_PTR. | |
11865 | * cilkplus.def: New file. | |
11866 | ||
12211b99 | 11867 | 2013-05-28 Joern Rennecke <joern.rennecke@embecosm.com> |
b49eefa5 JR |
11868 | |
11869 | PR rtl-optimization/57439 | |
11870 | * postreload.c (move2add_use_add2_insn): Use gen_lowpart_common. | |
11871 | ||
9daf6dbb ER |
11872 | 2013-05-28 Easwaran Raman <eraman@google.com> |
11873 | ||
11874 | PR tree-optimization/57337 | |
11875 | * tree-ssa-reassoc.c (appears_later_in_bb): New function. | |
11876 | (find_insert_point): Correctly identify the insertion point | |
11877 | when two statements with the same UID is compared. | |
11878 | ||
fbd7e877 RB |
11879 | 2013-05-28 Richard Biener <rguenther@suse.de> |
11880 | ||
11881 | PR tree-optimization/56787 | |
11882 | * tree-vect-data-refs.c (vect_analyze_data_refs): Drop clobbers | |
11883 | from the list of data references. | |
11884 | * tree-vect-loop.c (vect_determine_vectorization_factor): Skip | |
11885 | clobbers. | |
11886 | (vect_analyze_loop_operations): Likewise. | |
11887 | (vect_transform_loop): Remove clobbers. | |
11888 | ||
bbba1117 MJ |
11889 | 2013-05-28 Martin Jambor <mjambor@suse.cz> |
11890 | ||
11891 | * tree-cfg.c (verify_expr): Verify that BIT_FIELD_REFs, IMAGPART_EXPRs | |
11892 | and REALPART_EXPRs have scalar type. | |
11893 | ||
bd388c2a RB |
11894 | 2013-05-28 Richard Biener <rguenther@suse.de> |
11895 | ||
11896 | PR tree-optimization/57411 | |
11897 | * tree-ssa-copy.c (may_propagate_copy): Cannot propagate | |
11898 | virtual operands. | |
11899 | * tree-ssa-dom.c (eliminate_const_or_copy): Special-case | |
11900 | virtual operand propagation. | |
11901 | ||
2f56a311 EB |
11902 | 2013-05-28 Eric Botcazou <ebotcazou@adacore.com> |
11903 | ||
11904 | * config/sparc/sparc.c (sparc_expand_vec_perm_bmask): Use %g0 as | |
11905 | destination register for bmasksi_vis. | |
11906 | (vector_init_bshuffle): Likewise. | |
11907 | * config/sparc/sparc.md (vec_perm_constv8qi): Likewise. | |
11908 | ||
5c3eacbb EB |
11909 | 2013-05-28 Eric Botcazou <ebotcazou@adacore.com> |
11910 | ||
11911 | * doc/invoke.texi (SPARC Options): Document -mfix-ut699. | |
11912 | * builtins.c (expand_builtin_mathfn) <BUILT_IN_SQRT>: Try to widen the | |
11913 | mode if the instruction isn't available in the original mode. | |
11914 | * config/sparc/sparc.opt (mfix-ut699): New option. | |
11915 | * config/sparc/sparc.md (muldf3_extend): Disable if -mfix-ut699. | |
11916 | (divdf3): Turn into expander. | |
11917 | (divdf3_nofix): New insn. | |
11918 | (divdf3_fix): Likewise. | |
11919 | (divsf3): Disable if -mfix-ut699. | |
11920 | (sqrtdf2): Turn into expander. | |
11921 | (sqrtdf2_nofix): New insn. | |
11922 | (sqrtdf2_fix): Likewise. | |
11923 | (sqrtsf2): Disable if -mfix-ut699. | |
11924 | ||
a1756c0a RB |
11925 | 2013-05-27 Richard Biener <rguenther@suse.de> |
11926 | ||
11927 | PR middle-end/57412 | |
11928 | * omp-low.c (expand_omp_atomic_pipeline): Use the correct latch | |
11929 | block for the new loop. | |
11930 | ||
5a892248 RB |
11931 | 2013-05-27 Richard Biener <rguenther@suse.de> |
11932 | ||
11933 | PR tree-optimization/57343 | |
11934 | * tree-ssa-loop-niter.c (number_of_iterations_ne_max): Do not | |
11935 | use multiple_of_p if not TYPE_OVERFLOW_UNDEFINED. | |
11936 | (number_of_iterations_cond): Do not build the folded tree. | |
11937 | ||
d1de852b RB |
11938 | 2013-05-27 Richard Biener <rguenther@suse.de> |
11939 | ||
11940 | Revert | |
11941 | PR middle-end/57381 | |
11942 | * fold-const.c (operand_equal_p): Compare FIELD_DECLs with | |
11943 | OEP_CONSTANT_ADDRESS_OF retained. | |
11944 | ||
11945 | PR tree-optimization/57417 | |
11946 | * tree-ssa-sccvn.c (vn_reference_fold_indirect): Fix test | |
11947 | for unchanged base. | |
11948 | (set_ssa_val_to): Compare addresses using | |
11949 | get_addr_base_and_unit_offset. | |
11950 | ||
12211b99 | 11951 | 2013-05-27 Joern Rennecke <joern.rennecke@embecosm.com> |
7894bc6b JR |
11952 | |
11953 | PR rtl-optimization/56833 | |
11954 | * postreload.c (move2add_record_mode): New function. | |
11955 | (move2add_record_sym_value, move2add_valid_value_p): Likewise. | |
11956 | (move2add_use_add2_insn): Use move2add_record_sym_value. | |
11957 | (move2add_use_add3_insn): Likewise. | |
11958 | (reload_cse_move2add): Use move2add_valid_value_p and | |
11959 | move2add_record_mode. Invalidate call-clobbered and REG_INC | |
11960 | affected regs by setting reg_mode to VOIDmode. | |
11961 | (move2add_note_store): Don't pretend the inside of a SUBREG is | |
11962 | the actual destination. Invalidate single/leading registers by | |
11963 | setting reg_mode to VOIDmode. | |
11964 | Use move2add_record_sym_value, move2add_valid_value_p and | |
11965 | move2add_record_mode. | |
11966 | ||
b03be25f RB |
11967 | 2013-05-27 Richard Biener <rguenther@suse.de> |
11968 | ||
11969 | PR tree-optimization/57396 | |
11970 | * tree-affine.c (double_int_constant_multiple_p): Properly | |
11971 | return false for val == 0 and div != 0. | |
11972 | ||
44e88db2 RS |
11973 | 2013-05-25 Richard Sandiford <rdsandiford@googlemail.com> |
11974 | ||
11975 | * config/mips/mips.h: Use #elif in preprocessor conditions. | |
11976 | ||
3b859704 RS |
11977 | 2013-05-25 Richard Sandiford <rdsandiford@googlemail.com> |
11978 | ||
11979 | PR target/53916 | |
11980 | * config/mips/constraints.md (kl): New constraint. | |
11981 | * config/mips/mips.md (divmod<mode>4, udivmod<mode>4): Delete. | |
11982 | (divmod<mode>4_internal): Rename to divmod<mode>4. Use "kl" as the | |
11983 | constraint for operand 0. Split after CSE for MIPS16. Emit a move | |
11984 | from LO for MIPS16. | |
11985 | (udivmod<mode>4_internal): Likewise udivmod<mode>4. | |
11986 | ||
c979d5f5 RS |
11987 | 2013-05-25 Richard Sandiford <rdsandiford@googlemail.com> |
11988 | ||
11989 | PR target/55777 | |
11990 | * config/mips/mips.c (mips_can_inline_p): New function. | |
11991 | (TARGET_CAN_INLINE_P): Define. | |
11992 | ||
8e90de43 SB |
11993 | 2013-05-25 Steven Bosscher <steven@gcc.gnu.org> |
11994 | ||
11995 | * sched-int.h (ds_t, dw_t): Make unsigned int. | |
11996 | Fix documentation that describes how all the ds_t bits are used. | |
11997 | Reserve the last bit for delayed-branch scheduling. | |
11998 | (BITS_PER_DEP_STATUS): Move to ds_t typedef. | |
11999 | (BITS_PER_DEP_WEAK): Fix definition and documentation. | |
12000 | (gen_dep_weak_1): Remove prototype. | |
12001 | * sched-deps.c (get_dep_weak_1): Make static. | |
12002 | * target.def (speculate_insn, needs_block_p, gen_spec_check, | |
12003 | get_insn_spec_ds, get_insn_checked_ds): Adjust hook prototypes. | |
12004 | * doc/tm.texi: Regenerate. | |
12005 | * config/ia64/ia64.c (ia64_needs_block_p): Update prototype. | |
12006 | ||
cb5cb194 SB |
12007 | 2013-05-24 Steven Bosscher <steven@gcc.gnu.org> |
12008 | ||
12009 | PR debug/56950 | |
12010 | * haifa-sched.c (sched_extend_bb): Ignore DEBUG_INSNs. | |
12011 | ||
5bd93ff6 NS |
12012 | 2013-05-24 Nathan Sidwell <nathan@codesourcery.com> |
12013 | Sandra Loosemore <sandra@codesourcery.com> | |
12014 | ||
12015 | * config.gcc (powerpc-*): Allow native for with-cpu. | |
12016 | ||
2343af65 JL |
12017 | 2013-05-24 Jeff Law <law@redhat.com> |
12018 | ||
12019 | PR tree-optimization/57124 | |
12020 | * tree-vrp.c (simplify_cond_using_ranges): Only simplify a | |
12021 | conversion feeding a condition if the range has an overflow | |
12022 | if -fstrict-overflow. Add warnings for when we do make the | |
12023 | transformation. | |
12024 | ||
3ad695b9 DC |
12025 | 2013-05-24 Dehao Chen <dehao@google.com> |
12026 | ||
04960246 | 12027 | * tree-cfg.c (locus_discrim_map): Fix the typo. |
3ad695b9 DC |
12028 | (locus_discrim_hasher): Likewise. |
12029 | (locus_discrim_hasher::hash): Likewise. | |
12030 | (locus_discrim_hasher::equal): Likewise. | |
12031 | ||
82338059 MJ |
12032 | 2013-05-24 Martin Jambor <mjambor@suse.cz> |
12033 | ||
12034 | PR tree-optimization/57294 | |
12035 | * cgraph.h (ipa_record_stmt_references): Declare. | |
12036 | * cgraphbuild.c (ipa_record_stmt_references): New function. | |
12037 | (build_cgraph_edges): Use ipa_record_stmt_references. | |
12038 | (rebuild_cgraph_edges): Likewise. | |
12039 | (cgraph_rebuild_references): Likewise. | |
12040 | * ipa-prop.c (ipa_modify_call_arguments): Discard references | |
12041 | associated with the old statement and build references from the | |
12042 | newly built statements. | |
12043 | * ipa-ref.c (ipa_remove_stmt_references): New function. | |
12044 | * ipa-ref.h (ipa_remove_stmt_references): Declare. | |
12045 | ||
1ccd4874 VM |
12046 | 2013-05-24 Vladimir Makarov <vmakarov@redhat.com> |
12047 | ||
55805e54 | 12048 | * lra-constraints.c (emit_spill_move): Use smaller mode for |
1ccd4874 | 12049 | mem-mem moves. |
55805e54 | 12050 | (check_and_process_move): Consider mem-reg moves for secondary |
1ccd4874 | 12051 | too. |
55805e54 | 12052 | (curr_insn_transform): Don't lose insns emitted before for |
1ccd4874 VM |
12053 | secondary memory moves. |
12054 | (inherit_in_ebb): Mark defined reg. Add usage only if it is not a | |
12055 | reg set up in the current insn. | |
12056 | ||
25e25c73 DC |
12057 | 2013-05-24 Dehao Chen <dehao@google.com> |
12058 | ||
04960246 | 12059 | * tree-cfg.c (locus_descrim_hasher::hash): Change discriminator |
25e25c73 DC |
12060 | hash function. |
12061 | (locus_descrim_hasher::equal): Likewise. | |
04960246 | 12062 | (build_gimple_cfg): New discriminator assignment algorithm. |
25e25c73 DC |
12063 | (make_edges): Likewise. |
12064 | (next_discriminator_for_locus): Likewise. | |
12065 | (same_line_p): Likewise. | |
12066 | (assign_discriminators): Likewise. | |
12067 | (make_cond_expr_edges): Likewise. | |
12068 | (make_gimple_switch_edges): Likewise. | |
12069 | (make_goto_expr_edges): Likewise. | |
12070 | (make_gimple_asm_edges): Likewise. | |
12071 | ||
50d38551 IB |
12072 | 2013-05-24 Ian Bolton <ian.bolton@arm.com> |
12073 | ||
12074 | * config/aarch64/aarch64.c (aarch64_print_operand): Change the | |
12075 | X format specifier to only display bottom 16 bits. | |
12076 | * config/aarch64/aarch64.md (insv_imm<mode>): Allow any size of | |
12077 | immediate to match for operand 2, since it will be masked. | |
12078 | ||
aea0101d RB |
12079 | 2013-05-24 Richard Biener <rguenther@suse.de> |
12080 | ||
12081 | PR tree-optimization/57287 | |
12082 | * tree-ssa-uninit.c (compute_uninit_opnds_pos): Disregard | |
12083 | all SSA names that occur in abnormal PHIs. | |
12084 | ||
634e03d3 AI |
12085 | 2013-05-24 Alexander Ivchenko <alexander.ivchenko@intel.com> |
12086 | ||
12087 | PR tree-ssa/57385 | |
12088 | * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Check | |
12089 | that index is not negative. | |
12090 | ||
b17c024f EB |
12091 | 2013-05-24 Eric Botcazou <ebotcazou@adacore.com> |
12092 | ||
12093 | PR rtl-optimization/55177 | |
12094 | * simplify-rtx.c (simplify_unary_operation_1) <NOT>: Deal with BSWAP. | |
12095 | (simplify_byte_swapping_operation): New. | |
12096 | (simplify_binary_operation_1): Call it for AND, IOR and XOR. | |
12097 | (simplify_relational_operation_1): Deal with BSWAP. | |
12098 | ||
46aeac1b RH |
12099 | 2013-05-23 Richard Henderson <rth@redhat.com> |
12100 | ||
12101 | PR target/56742 | |
12102 | * config/i386/i386.c (ix86_seh_fixup_eh_fallthru): New. | |
12103 | (ix86_reorg): Call it. | |
12104 | ||
70cc1536 UB |
12105 | 2013-05-23 Uros Bizjak <ubizjak@gmail.com> |
12106 | ||
12107 | PR target/57379 | |
12108 | * config/alpha/alpha.md (unspec): Add UNSPEC_XFLT_COMPARE. | |
12109 | * config/alpha/alpha.c (alpha_emit_xfloating_compare): Construct | |
12110 | REG_EQUAL note as UNSPEC_XFLT_COMPARE unspec. | |
12111 | ||
b3851501 CB |
12112 | 2013-05-23 Christian Bruel <christian.bruel@st.com> |
12113 | ||
12114 | PR debug/57351 | |
12115 | * config/arm/arm.c (arm_dwarf_register_span): Do not use dbx number. | |
12116 | ||
12211b99 | 12117 | 2013-05-23 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> |
4e194912 CSS |
12118 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
12119 | ||
12120 | * config/aarch64/aarch64.md (*movdi_aarch64): Replace Usa with S. | |
12121 | * config/aarch64/constraints.md (Usa): Remove. | |
12122 | * doc/md.texi (AArch64 Usa): Remove. | |
12123 | ||
12211b99 | 12124 | 2013-05-23 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> |
83f8c414 CSS |
12125 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
12126 | ||
12127 | * config/aarch64/aarch64-protos.h (aarch64_mov_operand_p): Define. | |
12128 | * config/aarch64/aarch64.c (aarch64_mov_operand_p): Define. | |
12129 | * config/aarch64/predicates.md (aarch64_const_address): Remove. | |
12130 | (aarch64_mov_operand): Use aarch64_mov_operand_p. | |
12131 | ||
12211b99 | 12132 | 2013-05-23 Vidya Praveen <vidyapraveen@arm.com> |
b5574232 VP |
12133 | |
12134 | * config/aarch64/aarch64-simd.md (clzv4si2): Support for CLZ | |
12135 | instruction (AdvSIMD). | |
12136 | * config/aarch64/aarch64-builtins.c | |
12137 | (aarch64_builtin_vectorized_function): Handler for BUILT_IN_CLZ. | |
12138 | * config/aarch64/aarch-simd-builtins.def: Entry for CLZ. | |
12139 | ||
76c36cb1 | 12140 | 2013-05-23 Martin Jambor <mjambor@suse.cz> |
7d2fb524 MJ |
12141 | |
12142 | PR middle-end/57347 | |
12143 | * tree.h (contains_bitfld_component_ref_p): Declare. | |
12144 | * tree-sra.c (contains_bitfld_comp_ref_p): Move... | |
70cc1536 UB |
12145 | * tree.c (contains_bitfld_component_ref_p): ...here. Adjust its |
12146 | caller. | |
7d2fb524 MJ |
12147 | * ipa-prop.c (determine_known_aggregate_parts): Check that LHS does |
12148 | not access a bit-field. Assert all final offsets are byte-aligned. | |
12149 | ||
ce521ae6 RB |
12150 | 2013-05-23 Richard Biener <rguenther@suse.de> |
12151 | ||
12152 | PR tree-optimization/57380 | |
12153 | * tree-ssa-phiprop.c (propagate_with_phi): Do not require at | |
12154 | least one invariant or re-used load. | |
12155 | * passes.c (init_optimization_passes): Move pass_phiprop before | |
12156 | pass_forwprop. | |
12157 | ||
75c7257f JG |
12158 | 2013-05-23 James Greenhalgh <james.greenhalgh@arm.com> |
12159 | ||
12160 | * config/aarch64/aarch64-simd.md | |
12161 | (aarch64_cm<optab>di): Add clobber of CC_REGNUM to unsplit pattern. | |
12162 | ||
af6d44b5 RB |
12163 | 2013-05-23 Richard Biener <rguenther@suse.de> |
12164 | ||
12165 | PR middle-end/57381 | |
12166 | * fold-const.c (operand_equal_p): Compare FIELD_DECLs with | |
12167 | OEP_CONSTANT_ADDRESS_OF retained. | |
12168 | ||
bd3647bf JJ |
12169 | 2013-05-23 Jakub Jelinek <jakub@redhat.com> |
12170 | ||
12171 | PR middle-end/57344 | |
70cc1536 UB |
12172 | * expmed.c (store_split_bit_field): If op0 is a REG or SUBREG of a REG, |
12173 | don't lower unit. Handle unit not being always BITS_PER_WORD. | |
bd3647bf | 12174 | |
a55757ea RB |
12175 | 2013-05-23 Richard Biener <rguenther@suse.de> |
12176 | ||
12177 | PR rtl-optimization/57341 | |
12178 | * ira.c (validate_equiv_mem_from_store): Use anti_dependence | |
12179 | instead of true_dependence. | |
12180 | ||
cfb00b41 DM |
12181 | 2013-05-22 David Malcolm <dmalcolm@redhat.com> |
12182 | ||
dd1c676f DM |
12183 | * bb-reorder.c (branch_threshold): Make const. |
12184 | (exec_threshold): Ditto. | |
cfb00b41 | 12185 | |
f62511da | 12186 | 2013-05-22 Michael Meissner <meissner@linux.vnet.ibm.com> |
12211b99 UB |
12187 | Pat Haugen <pthaugen@us.ibm.com> |
12188 | Peter Bergner <bergner@vnet.ibm.com> | |
f62511da MM |
12189 | |
12190 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): Add | |
12191 | documentation for the power8 crypto builtins. | |
12192 | ||
12193 | * config/rs6000/t-rs6000 (MD_INCLUDES): Add crypto.md. | |
12194 | ||
12195 | * config/rs6000/rs6000-builtin.def (BU_P8V_AV_1): Add support | |
12196 | macros for defining power8 builtin functions. | |
12197 | (BU_P8V_AV_2): Likewise. | |
12198 | (BU_P8V_AV_P): Likewise. | |
12199 | (BU_P8V_VSX_1): Likewise. | |
12200 | (BU_P8V_OVERLOAD_1): Likewise. | |
12201 | (BU_P8V_OVERLOAD_2): Likewise. | |
12202 | (BU_CRYPTO_1): Likewise. | |
12203 | (BU_CRYPTO_2): Likewise. | |
12204 | (BU_CRYPTO_3): Likewise. | |
12205 | (BU_CRYPTO_OVERLOAD_1): Likewise. | |
12206 | (BU_CRYPTO_OVERLOAD_2): Likewise. | |
12207 | (XSCVSPDP): Fix typo, point to the correct instruction. | |
12208 | (VCIPHER): Add power8 crypto builtins. | |
12209 | (VCIPHERLAST): Likewise. | |
12210 | (VNCIPHER): Likewise. | |
12211 | (VNCIPHERLAST): Likewise. | |
12212 | (VPMSUMB): Likewise. | |
12213 | (VPMSUMH): Likewise. | |
12214 | (VPMSUMW): Likewise. | |
12215 | (VPERMXOR_V2DI): Likewise. | |
12216 | (VPERMXOR_V4SI: Likewise. | |
12217 | (VPERMXOR_V8HI: Likewise. | |
12218 | (VPERMXOR_V16QI: Likewise. | |
12219 | (VSHASIGMAW): Likewise. | |
12220 | (VSHASIGMAD): Likewise. | |
12221 | (VPMSUM): Likewise. | |
12222 | (VPERMXOR): Likewise. | |
12223 | (VSHASIGMA): Likewise. | |
12224 | ||
12225 | * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define | |
12226 | __CRYPTO__ if the crypto instructions are available. | |
12227 | (altivec_overloaded_builtins): Add support for overloaded power8 | |
12228 | builtins. | |
12229 | ||
12230 | * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Add | |
12231 | support for power8 crypto builtins. | |
12232 | (builtin_function_type): Likewise. | |
12233 | (altivec_init_builtins): Add support for builtins that take vector | |
12234 | long long (V2DI) arguments. | |
12235 | ||
12236 | * config/rs6000/crypto.md: New file, define power8 crypto | |
12237 | instructions. | |
12238 | ||
12239 | 2013-05-22 Michael Meissner <meissner@linux.vnet.ibm.com> | |
12211b99 UB |
12240 | Pat Haugen <pthaugen@us.ibm.com> |
12241 | Peter Bergner <bergner@vnet.ibm.com> | |
f62511da MM |
12242 | |
12243 | * doc/invoke.texi (Option Summary): Add power8 options. | |
12244 | (RS/6000 and PowerPC Options): Likewise. | |
12245 | ||
12246 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Update to use | |
12247 | constraints.md instead of rs6000.h. Reorder w* constraints. Add | |
12248 | wm, wn, wr documentation. | |
12249 | ||
f43245d1 | 12250 | * config/rs6000/constraints.md (wm): New constraint for VSX |
f62511da MM |
12251 | registers if direct move instructions are enabled. |
12252 | (wn): New constraint for no registers. | |
12253 | (wq): New constraint for quad word even GPR registers. | |
12254 | (wr): New constraint if 64-bit instructions are enabled. | |
12255 | (wv): New constraint if power8 vector instructions are enabled. | |
12256 | (wQ): New constraint for quad word memory locations. | |
12257 | ||
f43245d1 | 12258 | * config/rs6000/predicates.md (const_0_to_15_operand): New |
f62511da MM |
12259 | constraint for 0..15 for crypto instructions. |
12260 | (gpc_reg_operand): If VSX allow registers in VSX registers as well | |
12261 | as GPR and floating point registers. | |
12262 | (int_reg_operand): New predicate to match only GPR registers. | |
12263 | (base_reg_operand): New predicate to match base registers. | |
12264 | (quad_int_reg_operand): New predicate to match even GPR registers | |
12265 | for quad memory operations. | |
12266 | (vsx_reg_or_cint_operand): New predicate to allow vector logical | |
12267 | operations in both GPR and VSX registers. | |
12268 | (quad_memory_operand): New predicate for quad memory operations. | |
12269 | (reg_or_indexed_operand): New predicate for direct move support. | |
12270 | ||
f43245d1 | 12271 | * config/rs6000/rs6000-cpus.def (ISA_2_5_MASKS_EMBEDDED): |
f62511da MM |
12272 | Inherit from ISA_2_4_MASKS, not ISA_2_2_MASKS. |
12273 | (ISA_2_7_MASKS_SERVER): New mask for ISA 2.07 (i.e. power8). | |
12274 | (POWERPC_MASKS): Add power8 options. | |
12275 | (power8 cpu): Use ISA_2_7_MASKS_SERVER instead of specifying the | |
12276 | various options. | |
12277 | ||
f43245d1 | 12278 | * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): |
f62511da MM |
12279 | Define _ARCH_PWR8 and __POWER8_VECTOR__ for power8. |
12280 | ||
f43245d1 | 12281 | * config/rs6000/rs6000.opt (-mvsx-timode): Add documentation. |
f62511da MM |
12282 | (-mpower8-fusion): New power8 options. |
12283 | (-mpower8-fusion-sign): Likewise. | |
12284 | (-mpower8-vector): Likewise. | |
12285 | (-mcrypto): Likewise. | |
12286 | (-mdirect-move): Likewise. | |
12287 | (-mquad-memory): Likewise. | |
12288 | ||
f43245d1 | 12289 | * config/rs6000/rs6000.c (power8_cost): Initial definition for power8. |
f62511da MM |
12290 | (rs6000_hard_regno_mode_ok): Make PTImode only match even GPR |
12291 | registers. | |
70cc1536 | 12292 | (rs6000_debug_reg_print): Print the base register class if -mdebug=reg. |
f62511da MM |
12293 | (rs6000_debug_vector_unit): Add p8_vector. |
12294 | (rs6000_debug_reg_global): If -mdebug=reg, print power8 constraint | |
12295 | definitions. Also print fusion state. | |
12296 | (rs6000_init_hard_regno_mode_ok): Set up power8 constraints. | |
12297 | (rs6000_builtin_mask_calculate): Add power8 builtin support. | |
12298 | (rs6000_option_override_internal): Add support for power8. | |
12299 | (rs6000_common_init_builtins): Add debugging for skipped builtins | |
12300 | if -mdebug=builtin. | |
12301 | (rs6000_adjust_cost): Add power8 support. | |
12302 | (rs6000_issue_rate): Likewise. | |
12303 | (insn_must_be_first_in_group): Likewise. | |
12304 | (insn_must_be_last_in_group): Likewise. | |
12305 | (force_new_group): Likewise. | |
12306 | (rs6000_register_move_cost): Likewise. | |
12307 | (rs6000_opt_masks): Likewise. | |
12308 | ||
12309 | * config/rs6000/rs6000.h (ASM_CPU_POWER8_SPEC): If we don't have a | |
12310 | power8 capable assembler, default to power7 options. | |
12311 | (TARGET_DIRECT_MOVE): Likewise. | |
12312 | (TARGET_CRYPTO): Likewise. | |
12313 | (TARGET_P8_VECTOR): Likewise. | |
12314 | (VECTOR_UNIT_P8_VECTOR_P): Define power8 vector support. | |
12315 | (VECTOR_UNIT_VSX_OR_P8_VECTOR_P): Likewise. | |
12316 | (VECTOR_MEM_P8_VECTOR_P): Likewise. | |
12317 | (VECTOR_MEM_VSX_OR_P8_VECTOR_P): Likewise. | |
12318 | (VECTOR_MEM_ALTIVEC_OR_VSX_P): Likewise. | |
12319 | (TARGET_XSCVDPSPN): Likewise. | |
12320 | (TARGET_XSCVSPDPN): Likewsie. | |
12321 | (TARGET_SYNC_HI_QI): Likewise. | |
12322 | (TARGET_SYNC_TI): Likewise. | |
12323 | (MASK_CRYPTO): Likewise. | |
12324 | (MASK_DIRECT_MOVE): Likewise. | |
12325 | (MASK_P8_FUSION): Likewise. | |
12326 | (MASK_P8_VECTOR): Likewise. | |
70cc1536 UB |
12327 | (REG_ALLOC_ORDER): Move fr13 to be lower in priority so that the TFmode |
12328 | temporary used by some of the direct move instructions to get two FP | |
12329 | temporary registers does not force creation of a stack frame. | |
f62511da MM |
12330 | (VLOGICAL_REGNO_P): Allow vector logical operations in GPRs. |
12331 | (MODES_TIEABLE_P): Move the VSX tests above the Altivec tests so | |
12332 | that any VSX registers are tieable, even if they are also an | |
12333 | Altivec vector mode. | |
12334 | (r6000_reg_class_enum): Add wm, wr, wv constraints. | |
12335 | (RS6000_BTM_P8_VECTOR): Power8 builtin support. | |
12336 | (RS6000_BTM_CRYPTO): Likewise. | |
12337 | (RS6000_BTM_COMMON): Likewise. | |
12338 | ||
12339 | * config/rs6000/rs6000.md (cpu attribute): Add power8. | |
12340 | * config/rs6000/rs6000-opts.h (PROCESSOR_POWER8): Likewise. | |
12341 | (enum rs6000_vector): Add power8 vector support. | |
12342 | ||
73a1a707 RR |
12343 | 2013-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
12344 | ||
12345 | PR target/19599 | |
12346 | PR target/57340 | |
12347 | * config/arm/arm.c (any_sibcall_uses_r3): Rename to .. | |
12348 | (any_sibcall_could_use_r3): this and handle indirect calls. | |
12349 | (arm_get_frame_offsets): Rename use of any_sibcall_uses_r3. | |
12350 | ||
d28073d4 BS |
12351 | 2013-05-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
12352 | ||
12353 | * config/rs6000/rs6000.h (MALLOC_ABI_ALIGNMENT): New #define. | |
12354 | ||
bee0b10c RB |
12355 | 2013-05-22 Richard Biener <rguenther@suse.de> |
12356 | ||
12357 | PR middle-end/57349 | |
12358 | * profile.c (branch_prob): Do not split blocks that are | |
12359 | abnormally receiving from ECF_RETURNS_TWICE functions. | |
12360 | ||
98409b51 RS |
12361 | 2013-05-22 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
12362 | ||
12363 | * recog.c (offsettable_address_addr_space_p): Fix calculation of | |
12364 | address mode. Move pointer mode initialization to the same place. | |
12365 | ||
c0602ab8 MZ |
12366 | 2013-05-22 Michael Zolotukhin <michael.v.zolotukhin@intel.com> |
12367 | ||
12368 | * read-rtl.c (copy_rtx_for_iterators): Continue applying iterators | |
12369 | while it has any effect. | |
12370 | ||
4f7a634e ER |
12371 | 2013-05-21 Easwaran Raman <eraman@google.com> |
12372 | ||
12373 | PR tree-optimization/57322 | |
9daf6dbb ER |
12374 | * tree-ssa-reassoc.c (build_and_add_sum): If a BB is empty, set the |
12375 | UID of the statement added to the BB to be 1. | |
4f7a634e | 12376 | |
a4ce1258 JJ |
12377 | 2013-05-21 Jakub Jelinek <jakub@redhat.com> |
12378 | ||
12379 | PR tree-optimization/57331 | |
70cc1536 UB |
12380 | * tree-vrp.c (simplify_cond_using_ranges): Don't optimize comparison |
12381 | of conversion from pointer type to integral type with integer. | |
a4ce1258 | 12382 | |
1b14621a MJ |
12383 | 2013-05-21 Martin Jambor <mjambor@suse.cz> |
12384 | ||
12385 | PR lto/57289 | |
12386 | * ipa-prop.c (ipa_read_node_info): Process param_used and | |
12387 | controlled_uses in the same order as when writing. | |
12388 | ||
e60661f0 MG |
12389 | 2013-05-21 Magnus Granberg <baldrick@free.fr> |
12390 | ||
12391 | PR plugins/56754 | |
ee49aa34 | 12392 | * Makefile.in (PLUGIN_HEADERS): Add $(TARGET_H). |
e60661f0 | 12393 | |
4a61be9a RB |
12394 | 2013-05-21 Richard Biener <rguenther@suse.de> |
12395 | ||
12396 | PR tree-optimization/57318 | |
12397 | * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Do not | |
12398 | estimate stmts with side-effects as likely eliminated. | |
12399 | ||
c52da5f7 RB |
12400 | 2013-05-21 Richard Biener <rguenther@suse.de> |
12401 | ||
12402 | PR tree-optimization/57330 | |
12403 | * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Properly | |
12404 | preserve the call stmts fntype. | |
12405 | ||
7ec67e2a RB |
12406 | 2013-05-21 Richard Biener <rguenther@suse.de> |
12407 | ||
12408 | PR tree-optimization/57303 | |
12409 | * tree-ssa-sink.c (statement_sink_location): Improve killing | |
12410 | stmt detection and properly handle self-assignments. | |
12411 | ||
b112d513 CB |
12412 | 2013-05-21 Christian Bruel <christian.bruel@st.com> |
12413 | ||
55805e54 YR |
12414 | * dwarf2out.c (multiple_reg_loc_descriptor): Use dbx_reg_number for |
12415 | spanning registers. LEAF_REG_REMAP is supported only for contiguous | |
b112d513 CB |
12416 | registers. Set register size out of the PARALLEL loop. |
12417 | ||
14c2ec26 OE |
12418 | 2013-05-20 Oleg Endo <olegendo@gcc.gnu.org> |
12419 | ||
12420 | PR target/56547 | |
12421 | * config/sh/sh.md (fmasf4): Remove empty constraints strings. | |
12422 | (*fmasf4, *fmasf4_media): New insns. | |
12423 | ||
da734fa1 RS |
12424 | 2013-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
12425 | ||
12426 | * config/mips/mips.h (BASE_INSN_LENGTH, NOP_INSN_LENGTH): New macros. | |
12427 | * config/mips/mips.c (mips_symbol_insns, mips_address_insns) | |
12428 | (mips_const_insns, mips_split_const_insns, mips_load_store_insns) | |
12429 | (mips_idiv_insns): Update the comments to say that the returned | |
12430 | instruction counts are in units of BASE_INSN_LENGTH. | |
12431 | (mips_adjust_insn_length): Multiply the mips_load_label_num_insns | |
12432 | by BASE_INSN_LENGTH rather than 4. Add the jump separately, | |
12433 | using 2 rather than 4 as the length of indirect MIPS16 and | |
12434 | microMIPS jumps. Use NOP_INSN_LENGTH rather than 4 as the | |
12435 | length of a NOP. Don't divide MIPS16 lengths by 2. | |
12436 | (mips16_split_long_branches): Assume a branch is long if the | |
12437 | length is greater than 4 rather than 8. | |
12438 | * config/mips/mips.md (length): Give MIPS16 lengths directly, | |
12439 | rather than multiplying them by 2. Multiply instruction counts | |
12440 | by BASE_INSN_LENGTH rather than 4. | |
12441 | (*jump_mips16, tls_get_tp_mips16_<mode>) | |
12442 | (*tls_get_tp_mips16_call_<mode>): Divide lengths by 2. | |
12443 | ||
13719e8b RS |
12444 | 2013-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
12445 | ||
12446 | * config/mips/mips.md (extended_mips16): Remove branch case. | |
12447 | (length): Remove duplicated extended_mips16 test. | |
12448 | ||
c3850d14 RS |
12449 | 2013-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
12450 | ||
12451 | * config/mips/t-sde: Don't build 64-bit microMIPS multilibs. | |
12452 | ||
8da2e059 RS |
12453 | 2013-05-18 Richard Sandiford <rdsandiford@googlemail.com> |
12454 | ||
12455 | * recog.h (Recog_data): Rename to... | |
12456 | (recog_data_d): ...this. | |
12457 | (recog_data): Update accordingly. | |
12458 | * recog.c (recog_data): Likewise. | |
12459 | * reload.c (save_recog_data): Likewise. | |
12460 | * config/picochip/picochip.c (picochip_saved_recog_data): Likewise. | |
12461 | (picochip_save_recog_data, picochip_restore_recog_data): Likewise. | |
12462 | ||
2df013f3 JB |
12463 | 2013-05-17 Julian Brown <julian@codesourcery.com> |
12464 | ||
12465 | * gcse.c (compute_ld_motion_mems): If a non-simple MEM is | |
12466 | found in a REG_EQUAL note, invalidate it. | |
12467 | ||
371e77e3 | 12468 | 2013-05-17 Easwaran Raman <eraman@google.com> |
933f507d ER |
12469 | |
12470 | * tree-ssa-reassoc.c (find_insert_point): New function. | |
12471 | (insert_stmt_after): Likewise. | |
12472 | (get_def_stmt): Likewise. | |
12473 | (ensure_ops_are_available): Likewise. | |
12474 | (not_dominated_by): Likewise. | |
12475 | (rewrite_expr_tree): Do not move statements beyond what is | |
12476 | necessary. Remove call to swap_ops_for_binary_stmt... | |
12477 | (reassociate_bb): ... and move it here. | |
12478 | (build_and_add_sum): Assign UIDs for new statements. | |
12479 | (linearize_expr): Likewise. | |
12480 | (do_reassoc): Renumber gimple statement UIDs. | |
12481 | ||
e01c7cca JH |
12482 | 2013-05-17 Jan Hubicka <jh@suse.cz> |
12483 | ||
12484 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes): Resolve cross module | |
12485 | weakrefs. | |
12486 | * cgraph.c (dump_cgraph_node): Do not ice on unresolved alias. | |
e2420687 UB |
12487 | * cgraphunit.c (handle_alias_pairs): Store target of unresolved |
12488 | weakrefs. | |
e01c7cca JH |
12489 | (output_weakrefs): Update. |
12490 | ||
c3272a92 PCC |
12491 | 2013-05-17 Po-Chun Chang <pchang9@cs.wisc.edu> |
12492 | Martin Jambor <mjambor@suse.cz> | |
12493 | ||
12494 | PR middle-end/57276 | |
12495 | * ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Break when a | |
12496 | value that corresponds to the given aggval is found in values vector. | |
12497 | ||
11c2aa39 UB |
12498 | 2013-05-17 Uros Bizjak <ubizjak@gmail.com> |
12499 | ||
12500 | * config/i386/driver-i386.c (host_detect_local_cpu): Pass mmx, 3dnow, | |
12501 | sse, sse2, sse3, ssse3 and sse4a flags to options. | |
12502 | ||
abecc8c6 DM |
12503 | 2013-05-17 David Malcolm <dmalcolm@redhat.com> |
12504 | ||
12505 | * gengtype-state.c: (s_expr_writer): New class, to handle | |
12506 | prettifying of output layout of s-expressions. | |
12507 | (state_writer): New class, to write out gtype.state. | |
12508 | (state_written_type_count): Move this variable into member data of | |
12509 | state_writer. | |
12510 | (s_expr_writer::s_expr_writer): New code: constructor for new class | |
12511 | (state_writer::state_writer(): ditto | |
12512 | (s_expr_writer::write_new_line): New function | |
12513 | (s_expr_writer::write_any_indent): ditto | |
12514 | (s_expr_writer::begin_s_expr): ditto | |
12515 | (s_expr_writer::end_s_expr): ditto | |
12516 | (write_state_fileloc): convert to method of state_writer... | |
12517 | (state_writer:: write_state_fileloc): ...and use methods of | |
12518 | s_expr_writer to write indentation into the gtype.state output file | |
12519 | to visually represent the hierarchical structure of the list | |
12520 | structures | |
12521 | (write_state_fields): ditto, renaming to... | |
12522 | (state_writer::write_state_fields) | |
12523 | (write_state_a_string): ditto, renaming to... | |
12524 | (state_writer::write_state_a_string) | |
12525 | (write_state_string_option): ditto, renaming to... | |
12526 | (state_writer::write_state_string_option) | |
12527 | (write_state_type_option): ditto, renaming to... | |
12528 | (state_writer::write_state_type_option) | |
12529 | (write_state_nested_option): ditto, renaming to... | |
12530 | (state_writer::write_state_nested_option) | |
12531 | (write_state_option): ditto, renaming to... | |
12532 | (state_writer::write_state_option) | |
12533 | (write_state_options): ditto, renaming to... | |
12534 | (state_writer::write_state_options) | |
12535 | (write_state_lang_bitmap): ditto, renaming to... | |
12536 | (state_writer::write_state_lang_bitmap) | |
12537 | (write_state_version): ditto, renaming to... | |
12538 | (state_writer::write_state_version) | |
12539 | (write_state_scalar_type): ditto, renaming to... | |
12540 | (state_writer::write_state_scalar_type) | |
12541 | (write_state_string_type): ditto, renaming to... | |
12542 | (state_writer::write_state_string_type) | |
12543 | (write_state_undefined_type): ditto, renaming to... | |
12544 | (state_writer::write_state_undefined_type) | |
12545 | (write_state_struct_union_type): ditto, renaming to... | |
12546 | (state_writer::write_state_struct_union_type) | |
12547 | (write_state_struct_type): ditto, renaming to... | |
12548 | (state_writer::write_state_struct_type) | |
12549 | (write_state_user_struct_type): ditto, renaming to... | |
12550 | (state_writer::write_state_user_struct_type) | |
12551 | (write_state_lang_struct_type): ditto, renaming to... | |
12552 | (state_writer::write_state_lang_struct_type) | |
12553 | (write_state_param_struct_type): ditto, renaming to... | |
12554 | (state_writer::write_state_param_struct_type) | |
12555 | (write_state_pointer_type): ditto, renaming to... | |
12556 | (state_writer::write_state_pointer_type) | |
12557 | (write_state_array_type): ditto, renaming to... | |
12558 | (state_writer::write_state_array_type) | |
12559 | (write_state_gc_used): ditto, renaming to... | |
12560 | (state_writer::write_state_gc_used) | |
12561 | (write_state_common_type_content): ditto, renaming to... | |
12562 | (state_writer::write_state_common_type_content) | |
12563 | (write_state_type): ditto, renaming to... | |
12564 | (state_writer::write_state_type) | |
12565 | (write_state_pair_list): ditto, renaming to... | |
12566 | (state_writer::write_state_pair_list) | |
12567 | (write_state_pair): ditto, renaming to... | |
12568 | (state_writer::write_state_pair) | |
12569 | (write_state_typedefs): ditto, renaming to... | |
12570 | (state_writer::write_state_typedefs) | |
12571 | (write_state_structures): ditto, renaming to... | |
12572 | (state_writer::write_state_structures) | |
12573 | (write_state_param_structs): ditto, renaming to... | |
12574 | (state_writer::write_state_param_structs) | |
12575 | (write_state_variables): ditto, renaming to... | |
12576 | (state_writer::write_state_variables) | |
12577 | (write_state_srcdir): ditto, renaming to... | |
12578 | (state_writer::write_state_srcdir) | |
12579 | (write_state_files_list): ditto, renaming to... | |
12580 | (state_writer::write_state_files_list) | |
12581 | (write_state_languages): ditto, renaming to... | |
12582 | (state_writer::write_state_languages) | |
12583 | (write_state): create a state_writer instance and use it when | |
12584 | writing out the state file | |
12585 | ||
d6545f29 MS |
12586 | 2013-05-17 Mike Stump <mikestump@comcast.net> |
12587 | ||
816a3f73 | 12588 | PR rtl-optimization/57304 |
d6545f29 MS |
12589 | * web.c (union_match_dups): Ensure that DF_REF_LOC exists before |
12590 | accessing DF_REF_REAL_LOC. | |
12591 | ||
38c821cf JJ |
12592 | 2013-05-17 Jakub Jelinek <jakub@redhat.com> |
12593 | ||
12594 | PR rtl-optimization/57281 | |
12595 | PR rtl-optimization/57300 | |
12596 | * config/i386/i386.md (extendsidi2_1 dead reg splitter): Remove. | |
12597 | (extendsidi2_1 peephole2s): Add instead 2 new peephole2s, that undo | |
12598 | what the other splitter did if the registers are dead. | |
12599 | ||
2a293391 RB |
12600 | 2013-05-17 Richard Biener <rguenther@suse.de> |
12601 | ||
12602 | * tree-ssa-alias.c (stmt_kills_ref_p_1): Properly compare | |
12603 | MEM_REF offsets. | |
12604 | ||
17042d2b JJ |
12605 | 2013-05-17 Jakub Jelinek <jakub@redhat.com> |
12606 | ||
12607 | * gcc.c (SANITIZER_SPEC): Reject -fsanitize=address -fsanitize=thread | |
12608 | linking. | |
12609 | ||
5b115c1f MP |
12610 | 2013-05-17 Marek Polacek <polacek@redhat.com> |
12611 | ||
11c2aa39 UB |
12612 | * tree-ssa-strlen.c (handle_char_store): Don't invalidate cached |
12613 | length when doing non-zero store of storing '\0' to '\0'. | |
5b115c1f | 12614 | |
52d84413 JJ |
12615 | 2013-05-17 Jakub Jelinek <jakub@redhat.com> |
12616 | ||
68119618 JJ |
12617 | * tree-vect-patterns.c (vect_recog_rotate_pattern): For |
12618 | vect_external_def oprnd1 with loop_vinfo, try to emit | |
12619 | optional cast, negation and and stmts on the loop preheader | |
12620 | edge instead of into the pattern def seq. | |
12621 | ||
52d84413 JJ |
12622 | PR tree-optimization/57051 |
12623 | * fold-const.c (const_binop) <case VEC_LSHIFT_EXPR, | |
12624 | case VEC_RSHIFT_EXPR>: Fix BYTES_BIG_ENDIAN handling. | |
12625 | ||
17b962bd NC |
12626 | 2013-05-16 Nick Clifton <nickc@redhat.com> |
12627 | ||
12628 | * config/rl78/rl78.c (rl78_attribute_table): Add naked. | |
12629 | (rl78_is_naked_func): New function. | |
56aefbf7 UB |
12630 | (rl78_expand_prologue): Skip prologue generation for naked functions. |
12631 | (rl78_expand_epilogue): Skip epilogue generation for naked functions. | |
17b962bd NC |
12632 | * doc/extend.texi (naked): Add RL78 to the list of processors |
12633 | that supports this attribute. | |
12634 | ||
b1a0f84e JL |
12635 | 2013-05-16 Jeff Law <law@redhat.com> |
12636 | ||
12637 | * Makefile.in (tree-switch-conversion.o): Depend on $(OPTABS_H). | |
12638 | ||
af0e415b UB |
12639 | 2013-05-16 Uros Bizjak <ubizjak@gmail.com> |
12640 | ||
12641 | * config/i386/driver-i386.c (host_detect_local_cpu): Determine | |
12642 | cache parameters using detect_caches_amd also for CYRIX, | |
12643 | NSC and TM2 signatures. | |
12644 | ||
19db293a UB |
12645 | 2013-05-16 Uros Bizjak <ubizjak@gmail.com> |
12646 | Dzianis Kahanovich <mahatma@eu.by> | |
12647 | ||
12648 | PR target/45359 | |
12649 | PR target/46396 | |
12650 | * config/i386/driver-i386.c (host_detect_local_cpu): Detect | |
12651 | VIA/Centaur processors and determine their cache parameters | |
12652 | using detect_caches_amd. | |
12653 | ||
251a41b9 TJ |
12654 | 2013-05-16 Teresa Johnson <tejohnson@google.com> |
12655 | ||
12656 | * cfgrtl.c (verify_hot_cold_block_grouping): Return err. | |
12657 | (rtl_verify_edges): New function. | |
12658 | (rtl_verify_bb_insns): Ditto. | |
12659 | (rtl_verify_bb_pointers): Ditto. | |
12660 | (rtl_verify_bb_insn_chain): Ditto. | |
12661 | (rtl_verify_fallthru): Ditto. | |
12662 | (rtl_verify_bb_layout): Ditto. | |
12663 | (rtl_verify_flow_info_1): Outline checks into new functions. | |
12664 | (rtl_verify_flow_info): Ditto. | |
12665 | ||
f14540b6 SE |
12666 | 2013-05-16 Steve Ellcey <sellcey@imgtec.com> |
12667 | ||
12668 | * cfghooks.c (copy_bbs): Add update_dominance argument. | |
12669 | * cfghooks.h (copy_bbs): Update prototype. | |
12670 | * tree-cfg.c (gimple_duplicate_sese_region): | |
12671 | Add update_dominance argument. | |
12672 | * tree-flow.h (gimple_duplicate_sese_region): Update prototype. | |
12673 | * tree-ssa-loop-ch.c (copy_loop_headers): Update | |
12674 | gimple_duplicate_sese_region call. | |
12675 | * tree-vect-loop-manip.c (slpeel_tree_duplicate_loop_to_edge_cfg): | |
12676 | Update copy_bbs call. | |
12677 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Ditto. | |
12678 | * trans-mem.c (ipa_uninstrument_transaction): Ditto. | |
12679 | ||
7e9a3abb JJ |
12680 | 2013-05-16 Jakub Jelinek <jakub@redhat.com> |
12681 | ||
12682 | * tree-vectorizer.h (NUM_PATTERNS): Increment. | |
12683 | * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Add | |
12684 | vect_recog_rotate_pattern. | |
12685 | (vect_recog_rotate_pattern): New function. | |
12686 | ||
427b248d JM |
12687 | 2013-05-16 Jason Merrill <jason@redhat.com> |
12688 | ||
12689 | * Makefile.in (LLINKER): New variable. | |
12690 | (mostlyclean): Remove link mutex. | |
12691 | * configure.ac: Handle --enable-link-mutex. | |
12692 | * lock-and-run.sh: New script. | |
12693 | ||
b871e3d2 RR |
12694 | 2013-05-16 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
12695 | ||
12696 | PR target/19599 | |
12697 | * config/arm/arm.c (arm_function_ok_for_sibcall): Add check | |
12698 | for NULL decl. | |
12699 | ||
ce858126 RO |
12700 | 2013-05-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12701 | ||
12702 | * reorg.c (link_cc0_insns): Wrap in #ifdef HAVE_cc0. | |
12703 | ||
798d3d04 GY |
12704 | 2013-05-16 Greta Yorsh <Greta.Yorsh@arm.com> |
12705 | ||
12706 | * config/arm/arm-protos.h (gen_movmem_ldrd_strd): New declaration. | |
12707 | * config/arm/arm.c (next_consecutive_mem): New function. | |
12708 | (gen_movmem_ldrd_strd): Likewise. | |
12709 | * config/arm/arm.md (movmemqi): Update condition and code. | |
12710 | (unaligned_loaddi, unaligned_storedi): New patterns. | |
12711 | ||
0baddc45 RO |
12712 | 2013-05-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12713 | ||
12714 | * config.gcc: Obsolete *-*-solaris2.9*. | |
12715 | * doc/install.texi (Specific, *-*-solaris2*): Document it. | |
12716 | ||
aa9d5bcf RB |
12717 | 2013-05-16 Richard Biener <rguenther@suse.de> |
12718 | ||
12719 | * passes.c (init_optimization_passes): Move pass_parallelize_loops | |
12720 | earlier, after GRAPHITE transforms and IV canonicalization. | |
12721 | ||
5a0f4dd3 JJ |
12722 | 2013-05-16 Jakub Jelinek <jakub@redhat.com> |
12723 | ||
12724 | * omp-low.c (extract_omp_for_data): For collapsed loops, | |
12725 | if at least one of the loops is known at compile time to | |
12726 | iterate zero times, set count to 0. | |
12727 | (expand_omp_regimplify_p): New function. | |
12728 | (expand_omp_for_generic): For collapsed loops, if at least | |
12729 | one of the loops isn't known to iterate at least once, | |
12730 | add runtime check with setting count to 0. | |
12731 | (expand_omp_for_static_nochunk, expand_omp_for_static_chunk): | |
12732 | For unsigned types if it isn't known at compile time that | |
12733 | the loop will iterate at least once, add runtime check to bypass | |
12734 | the whole loop if initial condition isn't true. | |
12735 | ||
e3753785 NS |
12736 | 2013-05-16 Nathan Sidwell <nathan@codesourcery.com> |
12737 | ||
12738 | * varasm.c (default_use_anchors_for_symbol_p): Use decl_replaceable_p. | |
12739 | ||
43bb4dd1 MG |
12740 | 2013-05-16 Marc Glisse <marc.glisse@inria.fr> |
12741 | ||
12742 | PR middle-end/57286 | |
12743 | * fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Disable some | |
12744 | transformations to avoid an infinite loop. | |
12745 | ||
3571dde6 MP |
12746 | 2013-05-16 Marek Polacek <polacek@redhat.com> |
12747 | ||
12748 | * tree-scalar-evolution.c (scev_const_prop): Add more dumps. | |
12749 | ||
b8b3f0ca LE |
12750 | 2013-05-15 Leif Ekblad <leif@rdos.net> |
12751 | ||
12752 | * config/i386/i386.c (ix86_decompose_address): Use | |
12753 | DEFAULT_TLS_SEG_REG to access TLS segment register. | |
12754 | * config/i386/i386.h (DEFAULT_TLS_SEG_REG): New define. | |
12755 | * config/i386/rdos.h (DEFAULT_TLS_SEG_REG): Ditto. | |
12756 | (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Ditto. | |
12757 | ||
e299a383 RS |
12758 | 2013-05-15 Richard Sandiford <rdsandiford@googlemail.com> |
12759 | ||
12760 | PR target/57260 | |
12761 | * config/mips/mips.c (mips_function_ok_for_sibcall): Don't allow | |
12762 | sibling calls to functions that would normally be lazily bound, | |
12763 | unless $gp is call-clobbered. | |
12764 | ||
e7208ea3 UB |
12765 | 2013-05-15 Uros Bizjak <ubizjak@gmail.com> |
12766 | ||
19db293a | 12767 | * config/i386/i386.c (ix86_option_override_internal): Update |
e7208ea3 | 12768 | processor_alias_table for missing PTA_PRFCHW and PTA_FXSR flags. Add |
5d280e2b UB |
12769 | PTA_POPCNT to corei7 entry. Do not enable SSE prefetch on |
12770 | non-SSE 3dNow! targets. Enable TARGET_PRFCHW for TARGET_3DNOW targets. | |
e7208ea3 UB |
12771 | * config/i386/i386.md (prefetch): Enable for TARGET_PRFCHW instead |
12772 | of TARGET_3DNOW. | |
12773 | (*prefetch_3dnow): Enable for TARGET_PRFCHW only. | |
12774 | ||
e7413f3d AS |
12775 | 2013-05-15 Andreas Schwab <schwab@suse.de> |
12776 | ||
12777 | * config/m68k/m68k.md (*rotlhi3_lowpart, *rotlqi3_lowpart): Name | |
12778 | for rotlhi3+1 and rotlqi3+1, resp. Fix reference to non-existing | |
12779 | third operand. | |
12780 | ||
ad4db775 TJ |
12781 | 2013-05-15 Teresa Johnson <tejohnson@google.com> |
12782 | ||
12783 | * loop-unroll.c (report_unroll_peel): Check decision before | |
12784 | emitting unroll/peel message. | |
12785 | ||
af205f67 TJ |
12786 | 2013-05-15 Teresa Johnson <tejohnson@google.com> |
12787 | ||
12788 | * function.h (has_bb_partition): New rtl_data flag. | |
12789 | (bb_reorder_complete): Ditto. | |
12790 | * cfgcleanup.c (try_crossjump_to_edge): Check for has_bb_partition | |
12791 | instead of flag_reorder_blocks_and_partition. | |
12792 | * cfgrtl.c (verify_hot_cold_block_grouping): Moved from bb-reorder.c, | |
12793 | with some enhancements. | |
12794 | (rtl_verify_flow_info_1): Call verify_hot_cold_block_grouping. | |
12795 | * bb-reorder.c (connect_traces): Check for has_bb_partition | |
12796 | instead of flag_reorder_blocks_and_partition. | |
12797 | (verify_hot_cold_block_grouping): Moved to cfgrtl.c. | |
12798 | (reorder_basic_blocks): Set bb_reorder_complete flag, remove call to | |
12799 | verify_hot_cold_block_grouping. | |
12800 | (partition_hot_cold_basic_blocks): Set has_bb_partition. | |
12801 | ||
9adcfa3c RR |
12802 | 2013-05-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
12803 | ||
12804 | PR target/19599 | |
12805 | * config/arm/predicates.md (call_insn_operand): New predicate. | |
12806 | * config/arm/constraints.md ("Cs", "Ss"): New constraints. | |
12807 | * config/arm/arm.md (*call_insn, *call_value_insn): Match only | |
12808 | if insn is not a tail call. | |
12809 | (*sibcall_insn, *sibcall_value_insn): Adjust for tailcalling through | |
12810 | registers. | |
12811 | * config/arm/arm.h (enum reg_class): New caller save register class. | |
12812 | (REG_CLASS_NAMES): Likewise. | |
12813 | (REG_CLASS_CONTENTS): Likewise. | |
12814 | * config/arm/arm.c (arm_function_ok_for_sibcall): Allow tailcalling | |
12815 | without decls. | |
12816 | ||
ccb3ad87 RB |
12817 | 2013-05-15 Richard Biener <rguenther@suse.de> |
12818 | ||
12819 | * tree-vect-loop.c (vect_transform_loop): Use MSG_NOTE instead | |
12820 | of MSG_OPTIMIZED_LOCATIONS. | |
12821 | * tree-vect-slp.c (vect_make_slp_decision): Likewise. | |
12822 | (vect_slp_transform_bb): Indicate location in MSG_OPTIMIZED_LOCATIONS | |
12823 | message. | |
12824 | * tree-vectorizer.c (vectorize_loops): Use MSG_NOTE instead | |
12825 | of MSG_OPTIMIZED_LOCATIONS. | |
12826 | (execute_vect_slp): Likewise. | |
12827 | * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Likewise. | |
12828 | (vect_create_cond_for_alias_checks): Likewise. | |
12829 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Likewise. | |
12830 | (vect_recog_widen_mult_pattern): Likewise. | |
12831 | (vect_recog_widen_sum_pattern): Likewise. | |
12832 | (vect_recog_over_widening_pattern): Likewise. | |
12833 | (vect_recog_widen_shift_pattern): Likewise. | |
12834 | (vect_recog_vector_vector_shift_pattern): Likewise. | |
12835 | (vect_recog_divmod_pattern): Likewise. | |
12836 | (vect_recog_mixed_size_cond_pattern): Likewise. | |
12837 | (vect_recog_bool_pattern): Likewise. | |
12838 | (vect_pattern_recog_1): Likewise. | |
12839 | ||
48b1474e MJ |
12840 | 2013-05-15 Martin Jambor <mjambor@suse.cz> |
12841 | ||
12842 | * ipa-prop.c (ipa_make_edge_direct_to_target): Redirect calls to | |
12843 | non-functions to builtin_unreachable. | |
12844 | * ipa-inline-transform.c (inline_call): Do not assert estimates were | |
12845 | correct when new direct edges were discovered. | |
12846 | ||
9de04252 MJ |
12847 | 2013-05-15 Martin Jambor <mjambor@suse.cz> |
12848 | ||
12849 | * ipa-prop.c (ipa_print_node_jump_functions): Print symbol order in | |
12850 | header, print symbol order instead of node uid, print more information | |
12851 | about indirect edge targets. | |
12852 | (ipa_make_edge_direct_to_target): Print symbol order instead of node | |
12853 | uids. | |
12854 | (ipa_make_edge_direct_to_target): Likewise. | |
12855 | (remove_described_reference): Likewise. | |
12856 | (propagate_controlled_uses): Likewise. | |
12857 | (ipa_print_node_params): Also print symbol order. | |
12858 | (ipcp_transform_function): Print symbol order instead of node uids. | |
12859 | * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Likewise. | |
12860 | (cgraph_get_create_real_symbol_node): Likewise. | |
12861 | * ipa-cp.c (print_lattice): Likewise. | |
12862 | (print_all_lattices): Likewise. | |
12863 | (determine_versionability): Likewise. | |
12864 | (initialize_node_lattices): Likewise. | |
12865 | (estimate_local_effects): Likewise. | |
12866 | (update_profiling_info): Likewise. | |
12867 | (create_specialized_node): Likewise. | |
12868 | (perhaps_add_new_callers): Likewise. | |
12869 | (decide_about_value): Likewise. | |
12870 | (decide_whether_version_node): Likewise. | |
12871 | (identify_dead_nodes): Likewise. | |
12872 | * ipa-inline-analysis.c (dump_inline_edge_summary): Likewise. | |
12873 | (dump_inline_summary): Likewise. | |
12874 | (estimate_node_size_and_time): Likewise. | |
12875 | (inline_analyze_function): Likewise. | |
12876 | * ipa-inline.c (report_inline_failed_reason): Likewise. | |
12877 | (want_early_inline_function_p): Likewise. | |
12878 | (edge_badness): Likewise. | |
12879 | (update_edge_key): Likewise. | |
12880 | (inline_small_functions): Likewise. Add dumping of order to two other | |
12881 | dumps. | |
12882 | * ipa-pure-const.c (pure_const_read_summary): Print symbol order | |
12883 | instead of node uids. | |
12884 | (propagate_pure_const): Likewise. | |
12885 | (propagate_pure_const): Likewise. | |
12886 | * ipa-utils.c (dump_cgraph_node_set): Likewise. | |
12887 | * lto-cgraph.c (input_node): Explicitly specify we dump uid. | |
12888 | * lto-symtab.c (lto_cgraph_replace_node): Print symbol order instead | |
12889 | of node uids. | |
12890 | * tree-pretty-print.c (dump_function_header): Likewise. | |
12891 | * tree-sra.c (convert_callers_for_node): Dump in traditional format. | |
12892 | Print symbol order instead of node uids. | |
12893 | ||
1dd03b91 AK |
12894 | 2013-05-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
12895 | ||
12896 | * config/s390/s390.c (s390_register_move_cost): Don't impose the | |
12897 | FPR<->GPR move cost penalty if ldgr/lgdr can be used. | |
12898 | ||
fdf6a7b9 RB |
12899 | 2013-05-15 Richard Biener <rguenther@suse.de> |
12900 | ||
12901 | PR tree-optimization/57275 | |
12902 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Fix | |
12903 | return value for fail to do runtime alias checks for gather loads. | |
12904 | ||
2d6e4603 JH |
12905 | 2013-05-15 Jan Hubicka <jh@suse.cz> |
12906 | ||
12907 | PR lto/57038 | |
12908 | PR lto/47375 | |
e7208ea3 UB |
12909 | * lto-symtab.c (lto_symtab_symbol_p): Add external symbol; |
12910 | weakrefs are not external. | |
12911 | (lto_symtab_merge_decls): Fix thinko when dealing with | |
12912 | non-lto_symtab decls. | |
2d6e4603 JH |
12913 | (lto_symtab_merge_cgraph_nodes): Use lto_symtab_symbol_p. |
12914 | (lto_symtab_prevailing_decl): Get int sync with lto_symtab_symbol_p. | |
12915 | * varpool.c (dump_varpool_node): Dump more flags. | |
12916 | ||
83f44b39 GG |
12917 | 2013-05-15 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> |
12918 | ||
12919 | * config/i386/i386.c (processor_alias_table): Add instruction | |
12920 | FSGSBASE for AMD bdver3 architecture. | |
12921 | ||
2e55d062 JJ |
12922 | 2013-05-14 Jakub Jelinek <jakub@redhat.com> |
12923 | ||
12924 | * tree.c (warn_deprecated_use): Print file:line using locus color. | |
12925 | * diagnostic.c (diagnostic_report_current_module): Print file:line | |
12926 | and file:line:column using locus color. | |
12927 | ||
0bfdb81e MS |
12928 | 2013-05-14 Mike Stump <mikestump@comcast.net> |
12929 | ||
12930 | * gdbinit.in: Add __null. | |
12931 | ||
a508ef22 MS |
12932 | 2013-05-14 Mike Stump <mikestump@comcast.net> |
12933 | ||
12934 | * recog.h: Rename struct recog_data to Recog_data. | |
12935 | * recog.c: Likewise. | |
12936 | * reload.c (can_reload_into): Likewise. | |
12937 | * config/picochip/picochip.c: Likewise. | |
12938 | ||
e7180acb MS |
12939 | 2013-05-14 Mike Stump <mikestump@comcast.net> |
12940 | ||
12941 | * web.c (union_match_dups): Also check DF_REF_REAL_LOC. | |
12942 | ||
61216c26 SB |
12943 | 2013-05-14 Steven Bosscher <steven@gcc.gnu.org> |
12944 | ||
fd6beed4 SB |
12945 | * resource.h (struct resources): Remove unch_memory member. |
12946 | (CLEAR_RESOURCE): Don't clear unch_memory. | |
12947 | * resource.c (mark_referenced_resources): Don't set it. | |
12948 | (mark_set_resources): Likewise. | |
12949 | (mark_target_live_regs): Don't clear it. | |
12950 | (init_resource_info): Likewise. | |
12951 | * reorg.c (resource_conflicts_p): Don't compare it. | |
12952 | (redundant_insn): Don't set it. | |
12953 | ||
61216c26 SB |
12954 | * rtl.h (next_label, skip_consecutive_labels, link_cc0_insns): |
12955 | Remove prototypes. | |
12956 | * emit-rtl.c (next_label): Remove unused function. | |
12957 | (skip_consecutive_labels, link_cc0_insns): Move to ... | |
12958 | * reorg.c (skip_consecutive_labels, link_cc0_insns): ... here, the | |
12959 | only place where these functions are used, and make them static. | |
12960 | ||
418d1b87 MG |
12961 | 2013-05-14 Marc Glisse <marc.glisse@inria.fr> |
12962 | ||
12963 | * fold-const.c (fold_negate_expr): Handle vectors. | |
12964 | (fold_truth_not_expr): Make it static. | |
12965 | (fold_invert_truthvalue): New static function. | |
12966 | (invert_truthvalue_loc): Handle vectors. Do not call | |
12967 | fold_truth_not_expr directly. | |
12968 | (fold_unary_loc) <BIT_NOT_EXPR>: Handle comparisons. | |
12969 | <TRUTH_NOT_EXPR>: Do not cast to boolean. | |
12970 | (fold_comparison): Handle vector constants. | |
12971 | (fold_binary_loc) <TRUTH_XOR_EXPR>: Remove redundant code. | |
12972 | (fold_ternary_loc) <VEC_COND_EXPR>: Adapt more COND_EXPR optimizations. | |
12973 | * tree.h (fold_truth_not_expr): Remove declaration. | |
12974 | ||
fc21784d JG |
12975 | 2013-05-14 James Greenhalgh <james.greenhalgh@arm.com> |
12976 | ||
12977 | * config/aarch64/aarch64-simd.md | |
12978 | (aarch64_vcond_internal<mode>): Rename to... | |
12979 | (aarch64_vcond_internal<mode><mode>): ...This, for integer modes. | |
12980 | (aarch64_vcond_internal<VDQF_COND:mode><VDQF:mode>): ...This for | |
12981 | float modes. Clarify all iterator modes. | |
12982 | (vcond<mode><mode>): Use new name for vcond expanders. | |
12983 | (vcond<v_cmp_result><mode>): Likewise. | |
12984 | (vcondu<mode><mode>: Likewise. | |
12985 | * config/aarch64/iterators.md (VDQF_COND): New. | |
12986 | ||
d4c52634 MG |
12987 | 2013-05-14 Marc Glisse <marc.glisse@inria.fr> |
12988 | ||
12989 | PR bootstrap/57266 | |
12990 | * fold-const.c (fold_binary_loc) <shift>: Use an unsigned | |
12991 | variable for the shift amount. Check that we shift by non-negative | |
12992 | amounts. | |
12993 | ||
2b261262 CLT |
12994 | 2013-05-14 Chung-Lin Tang <cltang@codesourcery.com> |
12995 | ||
12996 | PR target/42017 | |
12997 | * config/arm/arm.h (EPILOGUE_USES): Only return true | |
12998 | for LR_REGNUM after epilogue_completed. | |
12999 | ||
12211b99 | 13000 | 2013-05-14 Joern Rennecke <joern.rennecke@embecosm.com> |
6e022d7b JR |
13001 | |
13002 | * config/avr/avr.c (avr_encode_section_info): Bail out if the type | |
e7208ea3 | 13003 | is error_mark_node. |
6e022d7b | 13004 | |
56cf7859 RO |
13005 | 2013-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13006 | ||
13007 | PR target/57261 | |
13008 | * configure.ac (gcc_cv_ld_as_needed): Disable before Solaris 11 | |
13009 | and Solaris 11+/x86 with gld. | |
13010 | * configure: Regenerate. | |
13011 | ||
75776c6d JJ |
13012 | 2013-05-14 Jakub Jelinek <jakub@redhat.com> |
13013 | ||
13014 | * expmed.c (expand_shift_1): Canonicalize rotates by | |
13015 | constant bitsize / 2 to bitsize - 1. | |
7f998021 | 13016 | * simplify-rtx.c (simplify_binary_operation_1) <case ROTATE, |
75776c6d JJ |
13017 | case ROTATERT>: Likewise. |
13018 | ||
13019 | Revert: | |
13020 | 2013-05-10 Jakub Jelinek <jakub@redhat.com> | |
13021 | ||
13022 | * config/i386/i386.md (rotateinv): New code attr. | |
13023 | (*<rotate_insn><mode>3_1, *<rotate_insn>si3_1_zext, | |
13024 | *<rotate_insn>qi3_1_slp): Emit rorl %eax instead of | |
13025 | roll $31, %eax, etc. | |
13026 | ||
df35498a RB |
13027 | 2013-05-14 Richard Biener <rguenther@suse.de> |
13028 | ||
13029 | PR middle-end/57235 | |
13030 | * tree-eh.c (sink_clobbers): Give up for successors with | |
13031 | multiple predecessors and no virtual uses. | |
13032 | ||
cc6e7ece EB |
13033 | 2013-05-14 Eric Botcazou <ebotcazou@adacore.com> |
13034 | ||
13035 | * config/sparc/sp64-elf.h (CPP_SUBTARGET_SPEC): Delete. | |
13036 | * config/sparc/openbsd64.h (CPP_SUBTARGET_SPEC): Likewise. | |
13037 | ||
f778dd4d JJ |
13038 | 2013-05-14 Jakub Jelinek <jakub@redhat.com> |
13039 | ||
13040 | PR middle-end/57251 | |
13041 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Handle | |
13042 | the case when both op0 and op1 have VOIDmode. | |
13043 | ||
bad4df9b KP |
13044 | 2013-05-14 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
13045 | ||
13046 | * config/rl78/rl78.md(mulsi3_g13): Add additional 'nop' required | |
13047 | in multiply-accumulate mode. | |
13048 | ||
56f3e9ac GW |
13049 | 2013-05-13 Guozhi Wei <carrot@google.com> |
13050 | ||
13051 | * dwarf2asm.c (dw2_output_indirect_constant_1): Mark new decl STATIC. | |
13052 | ||
a3d7ab92 KT |
13053 | 2013-05-13 Kai Tietz <ktietz@redhat.com> |
13054 | ||
13055 | PR target/56975 | |
13056 | * config/i386/cygming.h (TARGET_PECOFF): Define as true. | |
e7208ea3 | 13057 | * config/i386/i386.h (TARGET_PECOFF): Define by default as false. |
a3d7ab92 | 13058 | (PIC_OFFSET_TABLE_REGNUM): Use TARGET_PECOFF. |
e7208ea3 | 13059 | * config/i386/i386.c (ix86_option_override_internal): Likewise. |
a3d7ab92 KT |
13060 | (ix86_expand_prologue): Likewise. |
13061 | (ix86_expand_split_stack_prologue): Likewise. | |
13062 | (legitimate_pic_address_disp_p): Likewise. | |
13063 | (legitimize_pic_address): Likewise. | |
13064 | (legitimize_tls_address): Likewise. | |
13065 | (legitimize_pe_coff_symbol): Likewise. | |
13066 | (output_pic_addr_const): Likewise. | |
13067 | (construct_plt_address): Likewise. | |
13068 | (ix86_expand_call): Likewise. | |
13069 | (x86_output_mi_thunk): Likewise. | |
13070 | (x86_function_profiler): Likewise. | |
13071 | ||
c59b7e28 SN |
13072 | 2013-05-13 Sofiane Naci <sofiane.naci@arm.com> |
13073 | ||
13074 | * config/aarch64/aarch64-simd.md (aarch64_simd_mov<mode>): Group | |
13075 | similar switch cases. | |
13076 | (aarch64_simd_mov): Rename to aarch64_split_simd_mov. Update. | |
13077 | (aarch64_simd_mov_to_<mode>low): Delete. | |
13078 | (aarch64_simd_mov_to_<mode>high): Delete. | |
13079 | (move_lo_quad_<mode>): Add w<-r alternative. | |
13080 | (aarch64_simd_move_hi_quad_<mode>): Likewise. | |
13081 | (aarch64_simd_mov_from_*): Update type attribute. | |
13082 | * config/aarch64/aarch64.c (aarch64_split_simd_move): Refacror switch | |
13083 | statement. | |
13084 | ||
5f28524a JH |
13085 | 2013-05-13 Jan Hubicka <jh@suse.cz> |
13086 | ||
13087 | * mode-switching.c (optimize_mode_switching): Set correct RTL profile. | |
13088 | * config/i386/i386.c (ix86_compute_frame_layout, | |
e7208ea3 UB |
13089 | ix86_expand_epilogue, emit_i387_cw_initialization, |
13090 | ix86_expand_vector_move_misalign, ix86_fp_comparison_strategy, | |
13091 | ix86_local_alignment): Fix use of size/speed predicates. | |
5f28524a | 13092 | |
ae6fa899 JJ |
13093 | 2013-05-13 Jakub Jelinek <jakub@redhat.com> |
13094 | ||
13095 | PR tree-optimization/45216 | |
13096 | PR tree-optimization/57157 | |
13097 | * tree-ssa-forwprop.c (simplify_rotate): Only recognize | |
13098 | the (-Y) & (B - 1) variant if OP is |. | |
13099 | * expmed.c (expand_shift_1): For rotations by const0_rtx just | |
13100 | return shifted. Use (-op1) & (prec - 1) as other_amount | |
13101 | instead of prec - op1. | |
13102 | ||
4502fe8d MJ |
13103 | 2013-05-13 Martin Jambor <mjambor@suse.cz> |
13104 | ||
13105 | PR middle-end/42371 | |
13106 | * ipa-prop.h (IPA_UNDESCRIBED_USE): New macro. | |
13107 | (ipa_constant_data): New type. | |
13108 | (ipa_jump_func): Use ipa_constant_data to hold information about | |
13109 | constant jump functions. | |
13110 | (ipa_get_jf_constant): Adjust to jump function type changes. | |
13111 | (ipa_get_jf_constant_rdesc): New function. | |
13112 | (ipa_param_descriptor): New field controlled_uses. | |
13113 | (ipa_get_controlled_uses): New function. | |
13114 | (ipa_set_controlled_uses): Likewise. | |
13115 | * ipa-ref.h (ipa_find_reference): Declare. | |
13116 | * ipa-prop.c (ipa_cst_ref_desc): New type. | |
13117 | (ipa_print_node_jump_functions_for_edge): Adjust for jump function type | |
13118 | changes. | |
13119 | (ipa_set_jf_constant): Likewise. Also create reference descriptions. | |
13120 | New parameter cs. Adjust all callers. | |
13121 | (ipa_analyze_params_uses): Detect uncontrolled and controlled uses. | |
13122 | (remove_described_reference): New function. | |
13123 | (jfunc_rdesc_usable): Likewise. | |
13124 | (try_make_edge_direct_simple_call): Decrement controlled use count, | |
13125 | attempt to remove reference if it hits zero. | |
13126 | (combine_controlled_uses_counters): New function. | |
13127 | (propagate_controlled_uses): Likewise. | |
13128 | (ipa_propagate_indirect_call_infos): Call propagate_controlled_uses. | |
13129 | (ipa_edge_duplication_hook): Duplicate reference descriptions. | |
13130 | (ipa_print_node_params): Print described use counter. | |
13131 | (ipa_write_jump_function): Adjust to jump function type changes. | |
13132 | (ipa_read_jump_function): New parameter CS, pass it to | |
13133 | ipa_set_jf_constant. Adjust caller. | |
13134 | (ipa_write_node_info): Stream controlled use count | |
13135 | (ipa_read_node_info): Likewise. | |
13136 | * cgraph.c (cgraph_mark_address_taken_node): Bail out instead of | |
13137 | asserting. | |
13138 | * ipa-cp.c (ipcp_discover_new_direct_edges): Decrement controlled use | |
13139 | count. Remove cloning-added reference if it reaches zero. | |
13140 | * ipa-ref.c (ipa_find_reference): New function. | |
13141 | ||
0864bfc2 GG |
13142 | 2013-05-13 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> |
13143 | ||
e7208ea3 | 13144 | * config/i386/i386.c (processor_target_table): Modified default |
0864bfc2 GG |
13145 | alignment values for AMD BD and BT architectures. |
13146 | ||
640bfeb2 MG |
13147 | 2013-05-13 Marc Glisse <marc.glisse@inria.fr> |
13148 | ||
13149 | * tree-vect-generic.c (uniform_vector_p): Move ... | |
13150 | * tree.c (uniform_vector_p): ... here. | |
13151 | * tree.h (uniform_vector_p): Declare it. | |
13152 | * fold-const.c (fold_binary_loc) <shift>: Turn the second argument | |
13153 | into a scalar. | |
13154 | ||
3a60f32b JJ |
13155 | 2013-05-13 Jakub Jelinek <jakub@redhat.com> |
13156 | ||
198fe1bf JJ |
13157 | PR tree-optimization/57230 |
13158 | * tree-ssa-strlen.c (handle_char_store): Record length for | |
13159 | array store from STRING_CST. | |
13160 | ||
3a60f32b JJ |
13161 | PR tree-optimization/57230 |
13162 | * tree-ssa-strlen.c (handle_char_store): Add missing integer_zerop | |
13163 | check. | |
13164 | ||
566be57c JR |
13165 | 2013-05-12 Joern Rennecke <joern.rennecke@embecosm.com> |
13166 | ||
13167 | * config/epiphany/epiphany.c (epiphany_init): Check size of | |
13168 | NUM_MODES_FOR_MODE_SWITCHING. | |
13169 | (epiphany_expand_prologue): | |
13170 | Remove CONFIG_REGNUM initial value handling code. | |
13171 | (epiphany_optimize_mode_switching): Handle EPIPHANY_MSW_ENTITY_CONFIG. | |
13172 | (epiphany_mode_needed, epiphany_mode_entry_exit): Likewise. | |
2710a27a | 13173 | (emit_set_fp_mode, epiphany_mode_after): Likewise. |
566be57c JR |
13174 | (epiphany_mode_needed) <Handle EPIPHANY_MSW_ENTITY_AND>: |
13175 | Don't return 1 for FP_MODE_NONE. | |
13176 | * config/epiphany/epiphany.h (NUM_MODES_FOR_MODE_SWITCHING): | |
13177 | Add value for EPIPHANY_MSW_ENTITY_CONFIG. | |
13178 | (EPIPHANY_MSW_ENTITY_CONFIG, EPIPHANY_MSW_ENTITY_NUM): Define. | |
13179 | * config/epiphany/epiphany.md (save_config): New pattern. | |
13180 | ||
0f2c2331 UB |
13181 | 2013-05-12 Uros Bizjak <ubizjak@gmail.com> |
13182 | ||
13183 | * config/i386/i386.md (*zero_extendsidi2): Add *x->?r alternative. | |
13184 | ||
5b3f93c7 UB |
13185 | 2013-05-10 Uros Bizjak <ubizjak@gmail.com> |
13186 | ||
13187 | * config/i386/i386.md (memory): Handle sseishft1. | |
13188 | * config/i386/sse.md (*vec_extractv4si): Remove memory attribute. | |
13189 | (*vec_extractv2di_1): Ditto. | |
13190 | ||
1f873f0e VM |
13191 | 2013-05-10 Vladimir Makarov <vmakarov@redhat.com> |
13192 | ||
13193 | * lra-assigns.c (find_hard_regno_for): Add 1 to the cost of call | |
13194 | saved registers. | |
13195 | ||
341427fa | 13196 | 2013-05-10 Sebastian Huber <sebastian.huber@embedded-brains.de> |
d7de6455 SH |
13197 | |
13198 | * config/arm/t-rtems-eabi: Remove mthumb/march=armv7 multilib. | |
13199 | Add mthumb/march=armv7-a multilib. | |
13200 | Add mthumb/march=armv7-r multilib. | |
13201 | Add mthumb/march=armv7-a/mfpu=neon/mfloat-abi=hard multilib. | |
13202 | ||
9e69bdde RC |
13203 | 2013-05-10 Ralf Corsépius <ralf.corsepius@rtems.org> |
13204 | ||
13205 | * config/v850/t-rtems: Add more multilibs. | |
13206 | ||
9ff09a22 RB |
13207 | 2013-05-10 Richard Biener <rguenther@suse.de> |
13208 | ||
13209 | PR tree-optimization/57214 | |
13210 | * tree-ssa-loop-ivcanon.c (propagate_constants_for_unrolling): Do | |
13211 | not propagate from SSA names that occur in abnormal PHI nodes. | |
13212 | ||
a5e0cd1d MG |
13213 | 2013-05-10 Marc Glisse <marc.glisse@inria.fr> |
13214 | ||
13215 | * stor-layout.c (element_precision): New function. | |
13216 | * machmode.h (element_precision): Declare it. | |
13217 | * tree.c (build_minus_one_cst): New function. | |
13218 | (element_precision): Likewise. | |
13219 | * tree.h (build_minus_one_cst): Declare new function. | |
13220 | (element_precision): Likewise. | |
13221 | * fold-const.c (operand_equal_p): Use element_precision. | |
13222 | (fold_binary_loc): Handle vector types. | |
13223 | * convert.c (convert_to_integer): Use element_precision. | |
13224 | * gimple.c (iterative_hash_canonical_type): Handle complex and vectors | |
13225 | separately. | |
13226 | ||
cb2558bc RS |
13227 | 2013-05-10 Richard Sandiford <rdsandiford@googlemail.com> |
13228 | ||
13229 | * config/mips/mips-protos.h (m16_uimm3_b, m16_simm4_1, m16_nsimm4_1) | |
13230 | (m16_simm5_1, m16_nsimm5_1, m16_uimm5_4, m16_nuimm5_4, m16_simm8_1) | |
13231 | (m16_nsimm8_1, m16_uimm8_1, m16_nuimm8_1, m16_uimm8_m1_1, m16_uimm8_4) | |
13232 | (m16_nuimm8_4, m16_simm8_8, m16_nsimm8_8): Delete. | |
13233 | * config/mips/mips.c (m16_check_op, m16_uimm3_b, m16_simm4_1) | |
13234 | (m16_nsimm4_1, m16_simm5_1, m16_nsimm5_1, m16_uimm5_4, m16_nuimm5_4) | |
13235 | (m16_simm8_1, m16_nsimm8_1, m16_uimm8_1, m16_nuimm8_1, m16_uimm8_m1_1) | |
13236 | (m16_uimm8_4, m16_nuimm8_4, m16_simm8_8, m16_nsimm8_8): Delete. | |
13237 | * config/mips/constraints.md (Udb8, Usb5, Usb8, Usd8, Uub8, Uuw5) | |
13238 | (Uuw8): New constraints. | |
13239 | (Usb4): Move into alphabetical order. | |
13240 | * config/mips/predicates.md (db8_operand, sb5_operand, sb8_operand) | |
13241 | (sd8_operand, ub8_operand, uw8_operand): New predicates. | |
13242 | * config/mips/mips.md (*xor<mode>3, *xor<mode>3_mips16): Name | |
13243 | previously unnamed patterns. | |
13244 | (*add<mode>3_mips16, *xor<mode>3_mips16, *<optab>si3_mips16) | |
13245 | (*ashldi3_mips16, *ashrdi3_mips16, *lshrdi3_mips16) | |
13246 | (*slt<u>_<GPR:mode><GPR2:mode>_mips16) | |
13247 | (*sle<u>_<GPR:mode><GPR2:mode>_mips16): Use constraints instead | |
13248 | of set_attr_alternative/if_then_else. Use extended_mips16 instead | |
13249 | of specific lengths. | |
13250 | ||
cb3b8d33 JJ |
13251 | 2013-05-10 Jakub Jelinek <jakub@redhat.com> |
13252 | ||
6f93c008 JJ |
13253 | * config/i386/i386.md (rotateinv): New code attr. |
13254 | (*<rotate_insn><mode>3_1, *<rotate_insn>si3_1_zext, | |
13255 | *<rotate_insn>qi3_1_slp): Emit rorl %eax instead of | |
13256 | roll $31, %eax, etc. | |
13257 | ||
cb3b8d33 JJ |
13258 | PR tree-optimization/45216 |
13259 | PR tree-optimization/57157 | |
13260 | * tree-ssa-forwprop.c (simplify_rotate): New function. | |
13261 | (ssa_forward_propagate_and_combine): Call it. | |
13262 | ||
afb119be RB |
13263 | 2013-05-10 Richard Biener <rguenther@suse.de> |
13264 | ||
13265 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do not | |
13266 | disable peeling when we version for aliasing. | |
13267 | (vector_alignment_reachable_p): Honor explicit user alignment. | |
13268 | (vect_supportable_dr_alignment): Likewise. | |
13269 | * tree-vect-loop-manip.c (vect_can_advance_ivs_p): Use | |
13270 | STMT_VINFO_LOOP_PHI_EVOLUTION_PART instead of recomputing it. | |
13271 | * tree-vect-loop.c (vect_transform_loop): First apply versioning, | |
13272 | then peeling to arrange for the cost-model check to come first. | |
13273 | ||
01ae4861 AM |
13274 | 2013-05-10 Alan Modra <amodra@gmail.com> |
13275 | ||
13276 | * configure.ac (HAVE_AS_TLS): Swap powerpc64 and powerpc cases. | |
13277 | (HAVE_LD_LARGE_TOC): Don't mention AIX in help text. | |
13278 | * configure: Regenerate. | |
13279 | ||
ebc9a431 AM |
13280 | 2013-05-10 Alan Modra <amodra@gmail.com> |
13281 | ||
13282 | PR target/55033 | |
13283 | * varasm.c (default_elf_select_section): Move !DECL_P check.. | |
13284 | (get_named_section): ..to here before calling get_section_name. | |
13285 | Adjust assertion. | |
13286 | (default_section_type_flags): Add DECL_P check. | |
13287 | * config/i386/winnt.c (i386_pe_section_type_flags): Likewise. | |
13288 | * config/rs6000/rs6000.c (rs6000_xcoff_section_type_flags): Likewise. | |
13289 | ||
d4bca93c JR |
13290 | 2013-05-09 Joern Rennecke <joern.rennecke@embecosm.com> |
13291 | ||
13292 | * config/epiphany/epiphany.c (epiphany_expand_prologue): | |
13293 | When using gen_stack_adjust_str with a register offset, add a | |
13294 | REG_FRAME_RELATED_EXPR note. | |
13295 | ||
60ca9a65 UB |
13296 | 2013-05-09 Uros Bizjak <ubizjak@gmail.com> |
13297 | ||
13298 | * config/i386/sse.md (*vec_extractv4si_0_zext): New pattern. | |
13299 | (*vec_extractv4si_zext_mem): Ditto. | |
13300 | (*vec_extractv2di): Add 0->x and x->x alternatives. | |
13301 | * config/i386/mmx.md (*vec_extractv2si_zext_mem): New pattern. | |
13302 | * config/i386/i386.md (*zero_extendsidi2): Add *Yj->?r alternative. | |
13303 | ||
a3409c02 JM |
13304 | 2013-05-09 Jason Merrill <jason@redhat.com> |
13305 | ||
0138d6b2 JM |
13306 | N3639 C++1y VLA support |
13307 | * gimplify.c (gimplify_vla_decl): Don't touch an existing | |
13308 | DECL_VALUE_EXPR. | |
13309 | ||
a3409c02 JM |
13310 | * tree.c (build_constructor_va): New. |
13311 | * tree.h: Declare it. | |
13312 | ||
66e6b990 MJ |
13313 | 2013-05-09 Martin Jambor <mjambor@suse.cz> |
13314 | ||
13315 | PR lto/57084 | |
13316 | * gimple-fold.c (canonicalize_constructor_val): Call | |
13317 | cgraph_get_create_real_symbol_node instead of cgraph_get_create_node. | |
13318 | ||
64cfa6c0 JH |
13319 | 2013-05-09 Jan Hubicka <jh@suse.cz> |
13320 | Richard Biener <rguenther@suse.de> | |
13321 | ||
13322 | PR lto/54095 | |
13323 | * symtab.c (symtab_make_decl_local): Do not add private names. | |
13324 | ||
c3167b00 JH |
13325 | 2013-05-09 Jan Hubicka <jh@suse.cz> |
13326 | ||
13327 | PR lto/54095 | |
13328 | * symtab.c (insert_to_assembler_name_hash): Handle clones. | |
13329 | (unlink_from_assembler_name_hash): Likewise. | |
13330 | (symtab_prevail_in_asm_name_hash, symtab_register_node, | |
13331 | symtab_unregister_node, symtab_initialize_asm_name_hash, | |
13332 | change_decl_assembler_name): Update. | |
13333 | ||
12dc6974 SN |
13334 | 2013-05-09 Sofiane Naci <sofiane.naci@arm.com> |
13335 | ||
13336 | * config/aarch64/aarch64.md: New movtf split. | |
13337 | (*movtf_aarch64): Update. | |
13338 | (aarch64_movdi_tilow): Handle TF modes and rename to | |
13339 | aarch64_movdi_<mode>low. | |
13340 | (aarch64_movdi_tihigh): Handle TF modes and rename to | |
13341 | aarch64_movdi_<mode>high | |
13342 | (aarch64_movtihigh_di): Handle TF modes and rename to | |
13343 | aarch64_mov<mode>high_di | |
13344 | (aarch64_movtilow_di): Handle TF modes and rename to | |
13345 | aarch64_mov<mode>low_di | |
13346 | (aarch64_movtilow_tilow): Remove spurious whitespace. | |
13347 | * config/aarch64/aarch64.c (aarch64_split_128bit_move): Handle TFmode | |
13348 | splits. | |
13349 | (aarch64_print_operand): Update. | |
13350 | ||
227eb343 AM |
13351 | 2013-05-09 Alan Modra <amodra@gmail.com> |
13352 | ||
13353 | * configure.ac (HAVE_AS_TLS): Enable tests for powerpcle and | |
13354 | powerpc64le. | |
13355 | * configure: Regenerate. | |
13356 | ||
0b013847 UB |
13357 | 2013-05-08 Uros Bizjak <ubizjak@gmail.com> |
13358 | ||
13359 | * config/i386/mmx.md (*vec_extract* splitters): Simplify post-reload | |
13360 | splitter preparation statements. | |
13361 | * config/i386/sse.md (*vec_extract* splitters): Ditto. | |
13362 | (*avx_vperm_broadcast_<mode>): Use adjust_address instead of | |
13363 | adjust_address_nv. | |
13364 | ||
1dc3d6e9 BS |
13365 | 2013-05-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13366 | ||
13367 | * gimple-ssa-strength-reduction.c (count_candidates): Change | |
13368 | return value to int. | |
13369 | (analyze_candidates_and_replace): Change type of length to int. | |
13370 | ||
e61e7d28 UB |
13371 | 2013-05-08 Uros Bizjak <ubizjak@gmail.com> |
13372 | ||
13373 | * config/i386/sse.md (PEXTR_MODE, PEXTR_MODEx): Remove. | |
13374 | (*vec_extract<mode>): Use VI12_128 mode iterator. | |
13375 | (*vec_extract<mode>_mem): Ditto. | |
13376 | (*vec_extract*_mem splitters): Merge splitters using VI_128 mode | |
13377 | attribute. | |
13378 | ||
4fbfcf44 DN |
13379 | 2013-05-08 Diego Novillo <dnovillo@google.com> |
13380 | ||
13381 | PR bootstrap/54659 | |
13382 | ||
13383 | Revert: | |
4fbfcf44 DN |
13384 | 2012-08-17 Diego Novillo <dnovillo@google.com> |
13385 | ||
e61e7d28 UB |
13386 | PR bootstrap/54281 |
13387 | * configure.ac: Add libintl.h to AC_CHECK_HEADERS list. | |
13388 | * config.in: Regenerate. | |
13389 | * configure: Regenerate. | |
13390 | * intl.h: Always include libintl.h if HAVE_LIBINTL_H is set. | |
4fbfcf44 | 13391 | |
702d8703 JH |
13392 | 2013-05-08 Jan Hubicka <jh@suse.cz> |
13393 | ||
13394 | PR lto/54095 | |
13395 | * cgraph.c (cgraph_make_node_local_1): Se unique_name. | |
13396 | * cgraph.h (symtab_node_base): Add unique_name. | |
13397 | * lto-cgraph.c (lto_output_node, lto_output_varpool_node, | |
13398 | input_overwrite_node, input_varpool_node): Stream unique_name. | |
13399 | * cgraphclones.c (cgraph_create_virtual_clone, | |
13400 | cgraph_function_versioning): Set unique_name. | |
13401 | * ipa.c (function_and_variable_visibility): Set unique_name. | |
13402 | ||
8b28cf47 BS |
13403 | 2013-05-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13404 | ||
13405 | * gimple-ssa-strength-reduction.c (find_phi_def): Revert former "fix." | |
13406 | (alloc_cand_and_find_basis): Restrict conditional candidate | |
13407 | processing to CAND_MULTs. | |
13408 | ||
e86074fd JH |
13409 | 2013-05-08 Jan Hubicka <jh@suse.cz> |
13410 | ||
13411 | PR lto/54095 | |
13412 | lto-symtab.c (lto_symtab_symbol_p): New function. | |
13413 | (lto_symtab_resolve_can_prevail_p, lto_symtab_resolve_symbols, | |
13414 | lto_symtab_resolve_symbols, lto_symtab_merge_decls_2, | |
13415 | lto_symtab_merge_decls_1, lto_symtab_merge_cgraph_nodes_1): | |
13416 | Skip static symbols. | |
13417 | ||
44398cbe PC |
13418 | 2013-05-08 Paolo Carlini <paolo.carlini@oracle.com> |
13419 | ||
13420 | PR tree-optimization/57200 | |
13421 | * tree-ssa-loop-niter.c (do_warn_aggressive_loop_optimizations): | |
13422 | Only call inform if the preceding warning_at returns true. | |
13423 | ||
f6bc1c4a HS |
13424 | 2013-05-07 Han Shen <shenhan@google.com> |
13425 | ||
13426 | * cfgexpand.c (record_or_union_type_has_array_p): New function. | |
13427 | (expand_used_vars): Add logic handling '-fstack-protector-strong'. | |
13428 | * common.opt (fstack-protector-strong): New option. | |
13429 | * doc/cpp.texi (__SSP_STRONG__): New builtin "__SSP_STRONG__". | |
13430 | * doc/invoke.texi (Optimization Options): Document | |
13431 | "-fstack-protector-strong". | |
13432 | * gcc.c (LINK_SSP_SPEC): Add 'fstack-protector-strong'. | |
13433 | ||
4ffecb1f SB |
13434 | 2013-05-06 Steven Bosscher <steven@gcc.gnu.org> |
13435 | ||
13436 | * config/mips/mips.c (mips_machine_reorg2): Return 0. | |
13437 | ||
5a107a0f VM |
13438 | 2013-05-07 Vladimir Makarov <vmakarov@redhat.com> |
13439 | ||
13440 | * ira.c (update_equiv_regs): Add insn having equiv memory even if | |
13441 | it is not lhs of the insn. | |
13442 | (setup_reg_equiv): Remove insn having equiv memory which it is not | |
13443 | lhs of the insn. | |
13444 | * lra-constraints.c (process_address): Try to improve generation | |
13445 | code for address base + disp. | |
13446 | (lra_constraints): Make correct the code for checking insn setting | |
13447 | up backward equivalence. Remove insn only if it is in the init | |
13448 | insn list. | |
13449 | * lra-eliminations.c (update_reg_eliminate): Change return value. | |
13450 | (lra_eliminate): Use the result. | |
13451 | ||
3f5783ea UB |
13452 | 2013-05-07 Uros Bizjak <ubizjak@gmail.com> |
13453 | ||
13454 | * config/i386/sse.md (ssescalarnummask): New mode attribute. | |
13455 | (PEXTR_MODE, PEXTR_MODEx): New mode iterators. | |
13456 | (*vec_extract<mode>): Merge from *sse4_1_pextrb_memory and | |
13457 | *sse4_1_pextrw_memory using PEXTR_MODE mode iterator. Handle | |
13458 | register target operands. | |
13459 | (*vec_extractv8hi_sse2): New pattern. | |
13460 | (*vec_extractv16qi_zext): Rename from *sse4_1_pextrb_<mode>. | |
13461 | (*vec_extractv8hi_zext): Rename from *sse2_pextrw_<mode>. | |
13462 | (*vec_extract<mode>_mem): New insn and split pattern. | |
13463 | ||
8a5800b8 CL |
13464 | 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org> |
13465 | ||
13466 | * config/arm/arm.c (arm_asan_shadow_offset): New function. | |
13467 | (TARGET_ASAN_SHADOW_OFFSET): Define. | |
13468 | * config/arm/linux-eabi.h (ASAN_CC1_SPEC): Define. | |
13469 | (LINUX_OR_ANDROID_CC): Add ASAN_CC1_SPEC. | |
13470 | ||
7bf55a70 BS |
13471 | 2013-05-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13472 | ||
13473 | * gimple-ssa-strength-reduction.c (MAX_INCR_VEC_LEN): New constant. | |
13474 | (incr_vec_index): Return -1 if increment not found. | |
13475 | (create_add_on_incoming_edge): Assert if increment not found. | |
13476 | (record_increment): Limit number of increments recorded. | |
13477 | (all_phi_incrs_profitable): Return false if an increment not found. | |
13478 | (replace_profitable_candidates): Don't process increments that were | |
13479 | not recorded. | |
13480 | (analyze_candidates_and_replace): Limit size of incr_vec. | |
13481 | ||
3f8825c0 RB |
13482 | 2013-05-07 Richard Biener <rguenther@suse.de> |
13483 | ||
13484 | * calls.c (special_function_p): setjmp-like functions are leaf. | |
13485 | * builtins.def (BUILT_IN_SETJMP): setjmp is leaf. | |
13486 | * tree-inline.c (update_ssa_across_abnormal_edges): Remove assert. | |
13487 | ||
fd4842cd SN |
13488 | 2013-05-07 Sofiane Naci <sofiane.naci@arm.com> |
13489 | ||
13490 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): call splitter. | |
13491 | (aarch64_simd_mov<mode>): New expander. | |
13492 | (aarch64_simd_mov_to_<mode>low): New instruction pattern. | |
13493 | (aarch64_simd_mov_to_<mode>high): Likewise. | |
13494 | (aarch64_simd_mov_from_<mode>low): Likewise. | |
13495 | (aarch64_simd_mov_from_<mode>high): Likewise. | |
13496 | (aarch64_dup_lane<mode>): Update. | |
13497 | (aarch64_dup_lanedi): New instruction pattern. | |
13498 | * config/aarch64/aarch64-protos.h (aarch64_split_simd_move): New prototype. | |
13499 | * config/aarch64/aarch64.c (aarch64_split_simd_move): New function. | |
13500 | ||
a7a7d10e BS |
13501 | 2013-05-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13502 | ||
13503 | * gimple-ssa-strength-reduction.c (lazy_create_slsr_reg): Remove. | |
13504 | (replace_mult_candidate): Remove unnecessary argument; remove | |
13505 | unnecessary parameter from call to introduce_cast_before_cand. | |
13506 | (replace_unconditional_candidate): Remove unnecessary parameter | |
13507 | from call to replace_mult_candidate. | |
13508 | (replace_conditional_candidate): Likewise. | |
13509 | (insert_initializers): Use make_temp_ssa_name. | |
13510 | (introduce_cast_before_cand): Remove unnecessary argument; use | |
13511 | make_temp_ssa_name. | |
13512 | (replace_one_candidate): Remove unnecessary argument; remove | |
13513 | unnecessary parameter from calls to introduce_cast_before_cand. | |
13514 | (replace_profitable_candidates): Remove unnecessary parameters | |
13515 | from calls to replace_one_candidate. | |
13516 | ||
29105868 BS |
13517 | 2013-05-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13518 | ||
13519 | * gimple-ssa-strength-reduction.c (find_phi_def): Don't record a | |
13520 | phi def as possibly hiding a basis for a CAND_ADD whose operands | |
13521 | have been commuted in the analysis. | |
13522 | (alloc_cand_and_find_basis): Add parms to call to find_phi_def. | |
13523 | ||
4095f9fa N |
13524 | 2013-05-07 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
13525 | ||
13526 | * config/aarch64/aarch64.md | |
13527 | (cmp_swp_<optab><ALLX:mode>_shft_<GPI:mode>): Restrict the | |
13528 | shift value between 0-4. | |
13529 | ||
39e843e8 RB |
13530 | 2013-05-07 Richard Biener <rguenther@suse.de> |
13531 | ||
13532 | * double-int.h (rshift): New overload. | |
13533 | * double-int.c (rshift): New function. | |
13534 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Optimize. | |
13535 | (create_reference_ops_from_ref): Remove. | |
13536 | (vn_reference_insert): Use shared ops for constructing the | |
13537 | reference and copy it. | |
13538 | ||
0a1a83cb RB |
13539 | 2013-05-07 Richard Biener <rguenther@suse.de> |
13540 | ||
13541 | PR middle-end/57190 | |
13542 | * tree-eh.c (sink_clobbers): Properly propagate | |
13543 | SSA_NAME_OCCURS_IN_ABNORMAL_PHI. | |
13544 | ||
43303d6f JJ |
13545 | 2013-05-07 Jakub Jelinek <jakub@redhat.com> |
13546 | ||
ba7e83f8 JJ |
13547 | PR tree-optimization/57149 |
13548 | * tree-ssa-uninit.c (uninit_undefined_value_p): New inline. | |
13549 | (can_skip_redundant_opnd, compute_uninit_opnds_pos, | |
13550 | collect_phi_def_edges, execute_late_warn_uninitialized): Use | |
13551 | uninit_undefined_value_p instead of ssa_undefined_value_p. | |
13552 | ||
43303d6f JJ |
13553 | PR debug/57184 |
13554 | * expr.c (expand_expr_addr_expr_1): Handle COMPOUND_LITERAL_EXPR | |
13555 | for modifier == EXPAND_INITIALIZER. | |
13556 | ||
14523c25 AB |
13557 | 2013-05-07 Anton Blanchard <anton@samba.org> |
13558 | ||
13559 | * configure.ac (HAVE_LD_LARGE_TOC): Use correct linker emulation | |
13560 | for powerpc64 little endian. | |
13561 | * configure: Regenerate. | |
13562 | ||
cb7c8be9 GS |
13563 | 2013-05-06 Graham Stott <grahams@btinternet.com> |
13564 | ||
13565 | * expmed.c (init_expmed_rtl): Remove unused fields reg_fld, plus_fld, | |
13566 | mult_fld, sdiv_fld1, udiv_fld1, sdiv_32_fld1, smod_32_fld1, | |
13567 | wide_mult_fld1, wide_lshr_fld1, shift_fld1, shift_mult_fld1, | |
13568 | shift_add_fld1, shift_sub0_fld1, shift_sub1_fld1. | |
13569 | ||
13570 | 2013-05-06 Graham Stott <grahams@btinternet.com> | |
a8fd4225 GS |
13571 | |
13572 | * gensupport.c (add_predicate_code): Also exclude SCRATCH from rtx | |
13573 | codes which allow non-lvalues. | |
13574 | ||
9a0ee7b0 MG |
13575 | 2013-05-06 Marc Glisse <marc.glisse@inria.fr> |
13576 | ||
13577 | * tree.c (integer_all_onesp) <COMPLEX_CST>: Test that both | |
13578 | components are all 1s. | |
13579 | (integer_minus_onep): New function. | |
13580 | * tree.h (integer_minus_onep): Declare it. | |
13581 | * fold-const.c (fold_binary_loc) <MULT_EXPR>: Test | |
13582 | integer_minus_onep instead of integer_all_onesp. | |
13583 | ||
f2c17ea9 OE |
13584 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
13585 | ||
13586 | PR target/52933 | |
13587 | * config/sh/sh.md (*cmp_div0s_0, *cmp_div0s_1, *movsicc_div0s): Add | |
13588 | variations of these patterns. | |
13589 | ||
f75e6a51 UB |
13590 | 2013-05-06 Uros Bizjak <ubizjak@gmail.com> |
13591 | ||
13592 | * config/i386/i386.md (isa): Add x64_sse4 member. | |
13593 | (enabled): Handle x64_sse4. | |
13594 | (*movdi_internal): Add *x->?r alternative to emit pextrq $0,%xmm,%reg | |
13595 | instruction for 64bit SSE4_1 targets. Update insn attributes. | |
13596 | (*movsi_internal): Add *x->?r alternative to emit pextrd $0,%xmm,%reg | |
13597 | instruction for SSE4_1 targets. Update insn attributes. | |
13598 | * config/i386/sse.md (*vec_extract<ssevecmodelower>_0): Merge | |
13599 | with *sse4_1_pextrd and *sse4_1_pextrq having const_0 selector. | |
13600 | (*vec_extractv2di_1): Merge with *sse4_1_pextrq having | |
13601 | const_1 selector. | |
13602 | (*vec_extractv4si): Rename from *sse4_1_pextrd. | |
13603 | (*vec_extractv4si_zext): Rename from *sse4_1_pextrd_zext. | |
13604 | (*vec_extract<ssevecmodelower>_0 splitters): Merge splitters together. | |
13605 | ||
a986d468 OE |
13606 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
13607 | ||
13608 | PR target/57108 | |
13609 | * config/sh/sh.md (tstsi_t_zero_extract_eq): Use QIHISIDI mode iterator. | |
13610 | ||
382522cb MK |
13611 | 2013-05-06 Maxim Kuznetsov <maks.kuznetsov@gmail.com> |
13612 | ||
13613 | * final.c (do_assembler_dialects): Don't handle curly braces and | |
13614 | vertical bar escaped by % as dialect delimiters. | |
13615 | (output_asm_insn): Print curly braces and vertical bar if escaped | |
13616 | by % and ASSEMBLER_DIALECT defined. | |
13617 | * doc/tm.texi.in (ASSEMBLER_DIALECT): Document new standard escapes. | |
13618 | * doc/tm.texi: Regenerated. | |
13619 | ||
fb0d5c60 SB |
13620 | 2013-05-06 Steven Bosscher <steven@gcc.gnu.org> |
13621 | ||
fb0d5c60 SB |
13622 | * config/mips/mips.c: Include tree-pass.h. |
13623 | (mips_reorg): Split in pre- and post-dbr_schedule parts. | |
13624 | (mips_machine_reorg2): Move mips_reorg post-dbr_schedule parts here. | |
13625 | (pass_mips_machine_reorg2): New machine specific pass. | |
13626 | (insert_pass_mips_machine_reorg2): New pass plugin definition. | |
13627 | (mips_option_override): Register the new pass. | |
13628 | * rtl.h (cleanup_barriers): Remove prototype. | |
13629 | (dbr_schedule): Likewise. | |
13630 | * jump.c (cleanup_barriers): Make static. | |
13631 | * reorg.c (dbr_schedule): Likewise. | |
13632 | ||
aa06a978 RB |
13633 | 2013-05-06 Richard Biener <rguenther@suse.de> |
13634 | ||
13635 | PR tree-optimization/57185 | |
13636 | * tree-parloops.c (add_field_for_reduction): Handle anonymous | |
13637 | SSA names properly. | |
13638 | ||
0b953bec UB |
13639 | 2013-05-06 Uros Bizjak <ubizjak@gmail.com> |
13640 | ||
13641 | PR target/57106 | |
13642 | * config/i386/i386.c (add_parameter_dependencies): Add dependence | |
13643 | between "first_arg" and "insn", not "last" and "insn". | |
13644 | ||
28708525 WS |
13645 | 2013-05-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13646 | ||
13647 | * gimple-ssa-strength-reduction.c (slsr_process_phi): Re-enable. | |
13648 | (find_candidates_in_block): Re-enable slsr_process_phi. | |
13649 | (create_phi_basis): Fix double counting of candidate adjustment. | |
13650 | ||
0107dca2 RB |
13651 | 2013-05-06 Richard Biener <rguenther@suse.de> |
13652 | ||
13653 | PR middle-end/57147 | |
13654 | * tree-cfg.c (gimple_purge_dead_abnormal_call_edges): If | |
13655 | the edge is also fallthru, preserve it and just clear the | |
13656 | abnormal flag. | |
13657 | * tree-cfgcleanup.c (remove_fallthru_edge): If the edge is | |
13658 | also complex, preserve that and just clear the fallthru flag. | |
13659 | * tree-inline.c (update_ssa_across_abnormal_edges): Also | |
13660 | update virtual operands. | |
13661 | ||
470d4d13 AM |
13662 | 2013-05-06 Alan Modra <amodra@gmail.com> |
13663 | ||
13664 | * config/rs6000/linux.h (DEFAULT_ASM_ENDIAN): Define. | |
13665 | (LINK_OS_LINUX_EMUL): Use ENDIAN_SELECT. | |
13666 | * config/rs6000/linux64.h (DEFAULT_ASM_ENDIAN): Define. | |
13667 | * config/rs6000/sysv4le.h (DEFAULT_ASM_ENDIAN): Define. | |
13668 | (LINK_TARGET_SPEC): Use ENDIAN_SELECT. | |
13669 | * config/rs6000/sysv4.h (DEFAULT_ASM_ENDIAN): Define as -mbig. | |
13670 | ||
8f1dbf8d AM |
13671 | 2013-05-06 Alan Modra <amodra@gmail.com> |
13672 | ||
13673 | * config/rs6000/sysv4.h (ENDIAN_SELECT): Define, extracted from | |
13674 | (ASM_SPEC): ..here. Emit DEFAULT_ASM_ENDIAN too. | |
13675 | (DEFAULT_ASM_ENDIAN): Define. | |
13676 | (CC1_SPEC, LINK_TARGET_SPEC): Use ENDIAN_SELECT. | |
13677 | * config/rs6000/linux64.h (ASM_SPEC32): Remove endian options. | |
13678 | Update -K PIC clause from sysv4.h. | |
13679 | (ASM_SPEC_COMMON): Use ENDIAN_SELECT. | |
13680 | (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Likewise. | |
13681 | ||
54890767 AM |
13682 | 2013-05-06 Alan Modra <amodra@gmail.com> |
13683 | ||
13684 | * config/rs6000/rs6000.md (bswapdi 2nd splitter): Don't swap words | |
13685 | twice for little-endian. | |
13686 | (ashrdi3_no_power, ashrdi3): Support little-endian. | |
13687 | ||
2353515d OE |
13688 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
13689 | ||
13690 | PR target/55303 | |
13691 | * config/sh/sh.c (sh_rtx_costs): Handle SMIN and SMAX cases. | |
13692 | * config/sh/sh.md (*clips, uminsi3, *clipu, clipu_one): New insns and | |
13693 | related expanders. | |
13694 | * config/sh/iterators.md (SMIN_SMAX): New code iterator. | |
13695 | * config/sh/predicates.md (arith_reg_or_0_or_1_operand, | |
13696 | clips_min_const_int, clips_max_const_int, clipu_max_const_int): | |
13697 | New predicates. | |
13698 | ||
33e67557 SB |
13699 | 2013-05-05 Steven Bosscher <steven@gcc.gnu.org> |
13700 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
13701 | ||
13702 | * config.gcc (hppa*-*-*): Remove MASK_BIG_SWITCH from CPU default. | |
13703 | * config/pa/pa.opt: Make mbig-switch a no-op. | |
13704 | * config/pa/pa.h (TARGET_DEFAULT): Remove MASK_BIG_SWITCH. | |
13705 | (CASE_VECTOR_MODE): Always return SImode. | |
13706 | (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove code | |
13707 | for the !TARGET_BIG_SWITCH case. | |
13708 | * config/pa/pa-linux.h: Likewise. | |
13709 | * config/pa/pa-openbsd.h: Likewise. | |
13710 | * config/pa/pa-hpux.h: Define TARGET_DEFAULT to 0. | |
13711 | * config/pa/pa.md (short_jump): Remove define_insn. | |
13712 | (casesi): Remove code for the !TARGET_BIG_SWITCH case. | |
13713 | (casesi0): Remove define_insn. | |
13714 | (type): Remove btable_branch. | |
13715 | (pa_combine_type): Likewise. | |
13716 | (in_nullified_branch_delay): Likewise. | |
13717 | (in_call_delay): Likewise. | |
13718 | (define_delay): Likewise. | |
13719 | (define_insn_reservation "Z3"): Likewise. | |
13720 | (define_insn_reservation "Z4"): Likewise. | |
13721 | * config/pa/pa.c (pa_reorg): Remove code for !TARGET_BIG_SWITCH. | |
13722 | (pa_adjust_insn_length): Remove adjustment for btable branches. | |
13723 | * doc/invoke.texi (HPPA Options): Delete documentation for mbig-switch | |
13724 | and mno-big-switch | |
13725 | ||
3095685e UB |
13726 | 2013-05-05 Uros Bizjak <ubizjak@gmail.com> |
13727 | ||
13728 | * config/i386/sse.md (*vec_extract<ssevecmodelower>_0): Merge | |
13729 | from sse2_stored and *sse2_storeq_rex64 using SWI48 mode iterator. | |
13730 | Add m->r,x alternatives. | |
13731 | (*vec_extract<ssevecmodelower>_0 splitters): Merge V2DI and V4SI | |
13732 | splitters using SWI48x mode iterator. | |
13733 | (*vec_extract_v2di_0_sse): Rename from *sse2_storeq. Disable for | |
13734 | TARGET_64BIT. Add m->x alternative. | |
13735 | (*vec_extractv4si_mem): Rename from *vec_ext_v4si_mem. | |
13736 | Add o->x alternative. Enable for TARGET_SSE. | |
13737 | (sse_storeq): Remove expander. | |
13738 | (*vec_extractv2di_1): Enable for TARGET_SSE. Split alternatives | |
13739 | with memory input operand. | |
13740 | (*vec_extractv2di_1 splitter): New. | |
13741 | (*vec_extractv4sf_mem): Rename from *vec_extract_v4sf_mem. | |
13742 | * config/i386/i386.md (ssevecmodelower): New mode attribute. | |
13743 | ||
4b36ae28 SB |
13744 | 2013-05-04 Segher Boessenkool <segher@kernel.crashing.org> |
13745 | ||
13746 | * config/rs6000/rs6000.c (INT_P): Reformat. Delete obsolete comment. | |
13747 | (INT_LOWPART): Delete. | |
13748 | (extract_MB): Adjust. | |
13749 | (extract_ME): Adjust. | |
13750 | (print_operand): Adjust. | |
13751 | ||
da226db2 SB |
13752 | 2013-05-04 Segher Boessenkool <segher@kernel.crashing.org> |
13753 | ||
13754 | * config/rs6000/predicates.md (reg_or_add_cint_operand, | |
13755 | reg_or_sub_cint_operand): Delete "HOST_BITS_PER_WIDE_INT == 32" case. | |
13756 | (reg_or_logical_cint_operand, easy_fp_constant, | |
13757 | logical_const_operand): Delete "CONST_DOUBLE" case. | |
13758 | * config/rs6000/rs6000.c (num_insns_constant_wide): Delete | |
13759 | "HOST_BITS_PER_WIDE_INT == 64" test. | |
3095685e | 13760 | (num_insns_constant): Ditto. Delete CONST_DOUBLE DImode/VOIDmode case. |
da226db2 SB |
13761 | (build_mask64_2_operands): Delete "HOST_BITS_PER_WIDE_INT >= 64" test. |
13762 | (rs6000_emit_set_const): Delete CONST_DOUBLE case. | |
13763 | (rs6000_emit_set_long_const): Delete "HOST_BITS_PER_WIDE_INT >= 64" | |
13764 | test. | |
13765 | (includes_rldic_lshift_p, includes_rldicr_lshift_p): Delete | |
13766 | CONST_DOUBLE DImode/VOIDmode case. | |
13767 | (INT_P, INT_LOWPART): Delete CONST_DOUBLE case. | |
13768 | (print_operand): Delete "HOST_BITS_PER_WIDE_INT == 32" case. Delete | |
13769 | CONST_DOUBLE VOIDmode case. | |
13770 | (output_toc): Delete "HOST_BITS_PER_WIDE_INT == 32" case. | |
13771 | (rs6000_rtx_costs): Delete CONST_DOUBLE DImode/VOIDmode case. | |
13772 | * config/rs6000/rs6000.md (iordi3, xordi3, splitter for these): | |
13773 | Delete CONST_DOUBLE case. | |
13774 | (splitters for mov FMOVE64 const_double): Delete | |
13775 | "HOST_BITS_PER_WIDE_INT == 32" case. Delete | |
13776 | "HOST_BITS_PER_WIDE_INT >= 64" test. | |
13777 | (splitter for mov DI const_int): Delete "HOST_BITS_PER_WIDE_INT == 32" | |
13778 | case. | |
13779 | (mov DI const_double): Delete. | |
13780 | ||
40de22d6 JJ |
13781 | 2013-05-04 Jakub Jelinek <jakub@redhat.com> |
13782 | ||
13783 | * combine.c (combine_simplify_rtx) <case SUBREG>: If nonzero_bits | |
13784 | on op shows all bits zero in mode of a lowpart subreg, return zero. | |
13785 | ||
5ec6aff2 MM |
13786 | 2013-05-03 Michael Meissner <meissner@linux.vnet.ibm.com> |
13787 | ||
13788 | PR target/57150 | |
13789 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Use DFmode | |
13790 | to save TFmode registers and DImode to save TImode registers for | |
13791 | caller save operations. | |
13792 | (HARD_REGNO_CALL_PART_CLOBBERED): TFmode and TDmode do not need to | |
13793 | mark being partially clobbered since they only use the first | |
13794 | double word. | |
13795 | ||
13796 | * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): TFmode | |
13797 | and TDmode only use the upper 64-bits of each VSX register. | |
13798 | ||
2cefad90 BS |
13799 | 2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13800 | ||
13801 | * gimple-ssa-strength-reduction.c (slsr_process_phi): Disable. | |
13802 | (find_candidates_in_block): Disable slsr_process_phi. | |
13803 | ||
d6d7eee1 GW |
13804 | 2013-05-03 Guozhi Wei <carrot@google.com> |
13805 | ||
13806 | * coverage.c (coverage_obj_init): Move the construction of gcov | |
3095685e UB |
13807 | constructor to ... |
13808 | (build_init_ctor): ... here. | |
d6d7eee1 | 13809 | |
9b92d12b BS |
13810 | 2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13811 | ||
13812 | * gimple-ssa-strength-reduction.c (cand_kind): Add CAND_PHI. | |
13813 | (slsr_cand_d): Redefine def_phi. | |
13814 | (stride_status, phi_adjust_status, count_phis_status): New enums. | |
13815 | (find_phi_def): New. | |
13816 | (find_basis_for_base_expr): New. | |
13817 | (find_basis_for_candidate): Handle hidden bases. | |
13818 | (alloc_cand_and_find_basis): Handle phi candidates. | |
13819 | (slsr_process_phi): New. | |
13820 | (create_mul_ssa_cand): Exclude phi base candidates; use integer_onep. | |
13821 | (create_mul_imm_cand): Likewise. | |
13822 | (create_add_ssa_cand): Exclude phi base candidates. | |
13823 | (create_add_imm_cand): Likewise. | |
13824 | (slsr_process_cast): Likewise. | |
13825 | (slsr_process_copy): Likewise. | |
13826 | (find_candidates_in_block): Handle phi candidates. | |
13827 | (dump_candidate): Likewise. | |
13828 | (unconditional_cands): Delete. | |
13829 | (unconditional_cands_with_known_stride_p): Delete. | |
13830 | (phi_dependent_cand_p): New. | |
13831 | (cand_increment): Handle phi-dependent candidates. | |
13832 | (replace_dependent): Delete. | |
13833 | (replace_mult_candidate): New. | |
13834 | (replace_unconditional_candidate): New. | |
13835 | (incr_vec_index): Move to avoid forward reference. | |
13836 | (create_add_on_incoming_edge): New. | |
13837 | (create_phi_basis): New. | |
13838 | (replace_dependents): Delete. | |
13839 | (replace_conditional_candidate): New. | |
13840 | (phi_add_costs): New. | |
13841 | (replace_uncond_cands_and_profitable_phis): New. | |
13842 | (record_increment): Handle phi adjustments. | |
13843 | (record_phi_increments): New. | |
13844 | (record_increments): Handle phi adjustments. | |
13845 | (phi_incr_cost): New. | |
13846 | (lowest_cost_path): Handle phis. | |
13847 | (total_savings): Likewise. | |
13848 | (analyze_increments): Likewise. | |
13849 | (ncd_with_phi): New. | |
13850 | (ncd_of_cand_and_phis): New. | |
13851 | (nearest_common_dominator_for_cands): Handle phi increments. | |
13852 | (all_phi_incrs_profitable): New. | |
13853 | (replace_profitable_candidates): Handle phi-dependent candidates. | |
13854 | (analyze_candidates_and_replace): Likewise. | |
13855 | ||
68f073d4 TJ |
13856 | 2013-05-03 Teresa Johnson <tejohnson@google.com> |
13857 | ||
13858 | PR bootstrap/57154 | |
13859 | * sched-rgn.c (compute_dom_prob_ps): Ensure accumulated probabilities | |
13860 | do not exceed REG_BR_PROB_BASE. | |
13861 | ||
a4ee7cb9 JL |
13862 | 2013-05-03 Jeff Law <law@redhat.com> |
13863 | ||
ade67f70 | 13864 | PR tree-optimization/57144 |
a4ee7cb9 JL |
13865 | * tree-vrp.c (simplify_cond_using_ranges): Verify the constant |
13866 | operand of the condition will bit into the new type when eliminating | |
13867 | a cast feeding a condition. | |
13868 | ||
47954c4e JJ |
13869 | 2013-05-03 Jakub Jelinek <jakub@redhat.com> |
13870 | ||
13871 | PR rtl-optimization/57130 | |
3095685e UB |
13872 | * combine.c (make_compound_operation) <case SUBREG>: Pass SET instead |
13873 | of COMPARE as in_code to the recursive call if needed. | |
47954c4e | 13874 | |
3c21604f UB |
13875 | 2013-05-03 Uros Bizjak <ubizjak@gmail.com> |
13876 | ||
13877 | * config/i386/i386.md (isa): Add x64_sse4_noavx and x64_avx members. | |
13878 | (enabled): Handle new members. | |
13879 | * config/i386/sse.md (*vec_concatv2si): Merge from | |
13880 | *vec_concatv2si_sse2 and vec_concatv2si_sse. | |
13881 | (vec_concatv2di): Merge with *vec_concatv2di_rex64. | |
13882 | ||
12211b99 | 13883 | 2013-05-03 Joern Rennecke <joern.rennecke@embecosm.com> |
95c03b36 JR |
13884 | |
13885 | PR tree-optimization/57027 | |
13886 | * tree-ssa-math-opts.c (convert_mult_to_fma): When checking | |
13887 | for fnms opportunity, check we got the prerequisite kind | |
13888 | of tree / gimple before using accessor functions. | |
13889 | ||
07bfc9ec RB |
13890 | 2013-05-03 Richard Biener <rguenther@suse.de> |
13891 | ||
13892 | * double-int.h (lshift): New overload without precision | |
13893 | and arith argument. | |
13894 | (operator *=, operator +=, operator -=): Move ... | |
13895 | * double-int.c (operator *=, operator +=, operator -=): ... here | |
13896 | and implement more efficiently. | |
13897 | (mul_double_with_sign): Remove. | |
13898 | (lshift_double): Adjust to take unsinged shift argument, push | |
13899 | dispatching code to callers. | |
13900 | (mul_double_wide_with_sign): Add early out for callers that | |
13901 | are not interested in high parts or overflow. | |
13902 | (lshift): New function. | |
13903 | (lshift, rshift, alshift, arshift, llshift, lrshift): Add | |
13904 | dispatch code here. | |
13905 | (lrotate, rrotate): Use logical shifts. | |
13906 | * expr.c (get_inner_reference): Use lshift. | |
13907 | * fixed-value.c (do_fixed_divide): Likewise. | |
13908 | * tree-dfa.c (get_ref_base_and_extent): Likewise. | |
13909 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise. | |
13910 | (indirect_refs_may_alias_p): Likewise. | |
13911 | (stmt_kills_ref_p_1): Likewise. | |
13912 | ||
7769bb64 VP |
13913 | 2013-05-03 Vidya Praveen <vidyapraveen@arm.com> |
13914 | ||
13915 | * config/aarch64/aarch64-simd.md (simd_fabd): Correct the description. | |
13916 | ||
1d0c8e5c VP |
13917 | 2013-05-03 Vidya Praveen <vidyapraveen@arm.com> |
13918 | ||
13919 | * config/aarch64/aarch64-simd.md (*fabd_scalar<mode>3): Support | |
13920 | scalar form of FABD instruction. | |
13921 | ||
f15feaf9 VM |
13922 | 2013-05-02 Vladimir Makarov <vmakarov@redhat.com> |
13923 | ||
13924 | * lra-constraints.c (process_alt_operands): Add checking alt | |
13925 | number to choose the best alternative. | |
13926 | ||
d90e76d4 RB |
13927 | 2013-05-02 Richard Biener <rguenther@suse.de> |
13928 | ||
13929 | * tree-eh.c (cleanup_empty_eh_merge_phis): Remove rename_virts | |
13930 | bitmap and its handling. | |
13931 | (pass_cleanup_eh): Set todo_flags_finish to TODO_verify_ssa. | |
13932 | ||
9f8e7a96 RB |
13933 | 2013-05-02 Richard Biener <rguenther@suse.de> |
13934 | ||
13935 | PR middle-end/57140 | |
13936 | * tree-inline.c (copy_loops): Properly handle removed loops. | |
13937 | (copy_cfg_body): Mark destination loops for fixup if source | |
13938 | loops needed fixup. | |
13939 | ||
f3a81b39 GY |
13940 | 2013-05-02 Greta Yorsh <Greta.Yorsh@arm.com> |
13941 | ||
13942 | PR target/56732 | |
13943 | * config/arm/arm.c (arm_expand_epilogue): Check really_return before | |
13944 | generating simple_return for naked functions. | |
13945 | ||
7b920a9a MJ |
13946 | 2013-05-02 Martin Jambor <mjambor@suse.cz> |
13947 | ||
13948 | PR middle-end/56988 | |
13949 | * ipa-prop.h (ipa_agg_replacement_value): New flag by_ref. | |
13950 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Also check that by_ref | |
13951 | flags match. | |
13952 | (find_aggregate_values_for_callers_subset): Fill in the by_ref flag of | |
13953 | ipa_agg_replacement_value structures. | |
13954 | (known_aggs_to_agg_replacement_list): Likewise. | |
13955 | * ipa-prop.c (write_agg_replacement_chain): Stream by_ref flag. | |
13956 | (read_agg_replacement_chain): Likewise. | |
13957 | (ipcp_transform_function): Also check that by_ref flags match. | |
13958 | ||
2c41c19d RB |
13959 | 2013-05-02 Richard Biener <rguenther@suse.de> |
13960 | ||
13961 | * graphds.h (struct graph): Add obstack member. | |
13962 | * graphds.c (new_graph): Initialize obstack and allocate | |
13963 | vertices from it. | |
13964 | (add_edge): Allocate edge from the obstack. | |
3c21604f | 13965 | (free_graph): Free the obstack instead of all edges and vertices. |
2c41c19d | 13966 | |
8b47039c TJ |
13967 | 2013-05-02 Teresa Johnson <tejohnson@google.com> |
13968 | ||
13969 | * loop-unswitch.c (unswitch_loop): Use helper routines with rounding | |
13970 | divides. | |
13971 | * cfg.c (update_bb_profile_for_threading): Ditto. | |
13972 | * tree-inline.c (copy_bb): Ditto. | |
13973 | (copy_edges_for_bb): Ditto. | |
13974 | (initialize_cfun): Ditto. | |
13975 | (copy_cfg_body): Ditto. | |
13976 | (expand_call_inline): Ditto. | |
13977 | * ipa-inline-analysis.c (estimate_edge_size_and_time): Ditto. | |
13978 | (estimate_node_size_and_time): Ditto. | |
13979 | (inline_merge_summary): Ditto. | |
13980 | * cgraphclones.c (cgraph_clone_edge): Ditto. | |
13981 | (cgraph_clone_node): Ditto. | |
13982 | * sched-rgn.c (compute_dom_prob_ps): Ditto. | |
13983 | (compute_trg_info): Ditto. | |
13984 | ||
da65928c IB |
13985 | 2013-05-02 Ian Bolton <ian.bolton@arm.com> |
13986 | ||
13987 | * config/aarch64/aarch64.md (movsi_aarch64): Only allow to/from | |
13988 | S reg when fp attribute set. | |
13989 | (movdi_aarch64): Only allow to/from D reg when fp attribute set. | |
13990 | ||
add3c965 IB |
13991 | 2013-05-02 Ian Bolton <ian.bolton@arm.com> |
13992 | ||
13993 | * config/aarch64/aarch64.md (*and_one_cmpl<mode>3_compare0): | |
13994 | New pattern. | |
13995 | (*and_one_cmplsi3_compare0_uxtw): Likewise. | |
13996 | (*and_one_cmpl_<SHIFT:optab><mode>3_compare0): Likewise. | |
13997 | (*and_one_cmpl_<SHIFT:optab>si3_compare0_uxtw): Likewise. | |
13998 | ||
fdd43ac4 RB |
13999 | 2013-05-02 Richard Biener <rguenther@suse.de> |
14000 | ||
14001 | * tree-scalar-evolution.c (scev_info_hasher): Remove. | |
14002 | (struct instantiate_cache_entry): New type. | |
14003 | (struct instantiate_cache_entry_hasher): New hashtable descriptor. | |
14004 | (struct instantiate_cache_type): New type. | |
14005 | (set_instantiated_value, get_instantiated_value): Remove. | |
14006 | (get_instantiated_value_entry): New function. | |
14007 | (instantiate_scev_name): Use the new cache and adjust. | |
14008 | (instantiate_scev_poly): Adjust. | |
14009 | (instantiate_scev_binary): Likewise. | |
14010 | (instantiate_array_ref): Likewise. | |
14011 | (instantiate_scev_convert): Likewise. | |
14012 | (instantiate_scev_not): Likewise. | |
14013 | (instantiate_scev_3): Likewise. | |
14014 | (instantiate_scev_2): Likewise. | |
14015 | (instantiate_scev_r): Likewise. | |
14016 | (instantiate_scev): Likewise. | |
14017 | (resolve_mixers): Likewise. | |
14018 | ||
36ff9dfb VM |
14019 | 2013-05-01 Vladimir Makarov <vmakarov@redhat.com> |
14020 | ||
14021 | PR target/57091 | |
14022 | * lra-constraints.c (best_small_class_operands_num): Remove. | |
14023 | (process_alt_operands): Remove small_class_operands_num. Take | |
14024 | small classes operands into losers and only if the operand is not | |
14025 | matched. Modify debugging output. | |
14026 | (curr_insn_transform): Remove best_small_class_operands_num. | |
14027 | Print insn name. | |
14028 | ||
36054fab JG |
14029 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
14030 | ||
14031 | * config/aarch64/aarch64-builtins.c | |
14032 | (aarch64_gimple_fold_builtin.c): Fold more modes for reduc_splus_. | |
14033 | * config/aarch64/aarch64-simd-builtins.def | |
14034 | (reduc_splus_): Add new modes. | |
14035 | (reduc_uplus_): New. | |
14036 | * config/aarch64/aarch64-simd.md (aarch64_addvv4sf): Remove. | |
14037 | (reduc_uplus_v4sf): Likewise. | |
14038 | (reduc_splus_v4sf): Likewise. | |
14039 | (aarch64_addv<mode>): Likewise. | |
14040 | (reduc_uplus_<mode>): Likewise. | |
14041 | (reduc_splus_<mode>): Likewise. | |
14042 | (aarch64_addvv2di): Likewise. | |
14043 | (reduc_uplus_v2di): Likewise. | |
14044 | (reduc_splus_v2di): Likewise. | |
14045 | (aarch64_addvv2si): Likewise. | |
14046 | (reduc_uplus_v2si): Likewise. | |
14047 | (reduc_splus_v2si): Likewise. | |
14048 | (reduc_<sur>plus_<mode>): New. | |
14049 | (reduc_<sur>plus_v2di): Likewise. | |
14050 | (reduc_<sur>plus_v2si): Likewise. | |
14051 | (reduc_<sur>plus_v4sf): Likewise. | |
14052 | (aarch64_addpv4sf): Likewise. | |
14053 | * config/aarch64/arm_neon.h | |
14054 | (vaddv<q>_<s,u,f><8, 16, 32, 64): Rewrite using builtins. | |
14055 | * config/aarch64/iterators.md (unspec): Remove UNSPEC_ADDV, | |
14056 | add UNSPEC_SADDV, UNSPEC_UADDV. | |
14057 | (SUADDV): New. | |
14058 | (sur): Add UNSPEC_SADDV, UNSPEC_UADDV. | |
14059 | ||
6dce23a8 JG |
14060 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
14061 | ||
14062 | * config/aarch64/arm_neon.h | |
14063 | (v<max,min><nm><q><v>_<sfu><8, 16, 32, 64>): Rewrite using builtins. | |
14064 | ||
1598945b JG |
14065 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
14066 | ||
14067 | * config/aarch64/aarch64-builtins | |
14068 | (aarch64_gimple_fold_builtin): Fold reduc_<su><maxmin>_ builtins. | |
14069 | ||
998eaf97 JG |
14070 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
14071 | ||
14072 | * config/aarch64/aarch64-simd-builtins.def | |
14073 | (reduc_smax_): New. | |
14074 | (reduc_smin_): Likewise. | |
14075 | (reduc_umax_): Likewise. | |
14076 | (reduc_umin_): Likewise. | |
14077 | (reduc_smax_nan_): Likewise. | |
14078 | (reduc_smin_nan_): Likewise. | |
14079 | (fmax): Remove. | |
14080 | (fmin): Likewise. | |
14081 | (smax): Update for V2SF, V4SF and V2DF modes. | |
14082 | (smin): Likewise. | |
14083 | (smax_nan): New. | |
14084 | (smin_nan): Likewise. | |
14085 | * config/aarch64/aarch64-simd.md (<maxmin><mode>3): Rename to... | |
14086 | (<su><maxmin><mode>3): ...This, refactor. | |
14087 | (s<maxmin><mode>3): New. | |
14088 | (<maxmin_uns><mode>3): Likewise. | |
14089 | (reduc_<maxmin_uns>_<mode>): Refactor. | |
14090 | (reduc_<maxmin_uns>_v4sf): Likewise. | |
14091 | (reduc_<maxmin_uns>_v2si): Likewise. | |
14092 | (aarch64_<fmaxmin><mode>: Remove. | |
14093 | * config/aarch64/arm_neon.h (vmax<q>_f<32,64>): Rewrite to use | |
14094 | new builtin names. | |
14095 | (vmin<q>_f<32,64>): Likewise. | |
14096 | * config/iterators.md (unspec): Add UNSPEC_FMAXNMV, UNSPEC_FMINNMV. | |
14097 | (FMAXMIN): New. | |
14098 | (su): Add mappings for smax, smin, umax, umin. | |
14099 | (maxmin): New. | |
14100 | (FMAXMINV): Add UNSPEC_FMAXNMV, UNSPEC_FMINNMV. | |
14101 | (FMAXMIN): Rename as... | |
14102 | (FMAXMIN_UNS): ...This. | |
14103 | (maxminv): Remove. | |
14104 | (fmaxminv): Likewise. | |
14105 | (fmaxmin): Likewise. | |
14106 | (maxmin_uns): New. | |
14107 | (maxmin_uns_op): Likewise. | |
14108 | ||
bd11644e JG |
14109 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
14110 | ||
14111 | * config/aarch64/arm_neon.h | |
14112 | (vac<ge, gt><sd>_f<32, 64>): Rename to... | |
14113 | (vca<ge, gt><sd>_f<32, 64>): ...this, reimpliment in C. | |
14114 | (vca<ge, gt, lt, le><q>_f<32, 64>): Reimpliment in C. | |
14115 | ||
75dd5ace JG |
14116 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
14117 | ||
14118 | * config/aarch64/aarch64-simd.md (*aarch64_fac<optab><mode>): New. | |
14119 | * config/aarch64/iterators.md (FAC_COMPARISONS): New. | |
14120 | ||
7c19979f JG |
14121 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
14122 | ||
14123 | * config/aarch64/aarch64-simd.md | |
14124 | (vcond<mode>_internal): Handle special cases for constant masks. | |
14125 | (vcond<mode><mode>): Allow nonmemory_operands for outcome vectors. | |
14126 | (vcondu<mode><mode>): Likewise. | |
14127 | (vcond<v_cmp_result><mode>): New. | |
14128 | ||
bb60efd9 JG |
14129 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
14130 | ||
14131 | * config/aarch64/aarch64-builtins.c (BUILTIN_VALLDI): Define. | |
14132 | (aarch64_fold_builtin): Add folding for cm<eq,ge,gt,tst>. | |
14133 | * config/aarch64/aarch64-simd-builtins.def | |
14134 | (cmeq): Update to BUILTIN_VALLDI. | |
14135 | (cmgt): Likewise. | |
14136 | (cmge): Likewise. | |
14137 | (cmle): Likewise. | |
14138 | (cmlt): Likewise. | |
14139 | * config/aarch64/arm_neon.h | |
14140 | (vc<eq, lt, le, gt, ge, tst><z><qsd>_<fpsu><8,16,32,64>): Remap | |
14141 | to builtins or C as appropriate. | |
14142 | ||
889b9412 JG |
14143 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
14144 | ||
14145 | * config/aarch64/aarch64-simd-builtins.def (cmhs): Rename to... | |
14146 | (cmgeu): ...This. | |
14147 | (cmhi): Rename to... | |
14148 | (cmgtu): ...This. | |
14149 | * config/aarch64/aarch64-simd.md | |
14150 | (simd_mode): Add SF. | |
14151 | (aarch64_vcond_internal): Use new names for unsigned comparison insns. | |
14152 | (aarch64_cm<optab><mode>): Rewrite to not use UNSPECs. | |
14153 | * config/aarch64/aarch64.md (*cstore<mode>_neg): Rename to... | |
14154 | (cstore<mode>_neg): ...This. | |
14155 | * config/aarch64/iterators.md | |
14156 | (VALLF): new. | |
14157 | (unspec): Remove UNSPEC_CM<EQ, LE, LT, GE, GT, HS, HI, TST>. | |
14158 | (COMPARISONS): New. | |
14159 | (UCOMPARISONS): Likewise. | |
14160 | (optab): Add missing comparisons. | |
14161 | (n_optab): New. | |
14162 | (cmp_1): Likewise. | |
14163 | (cmp_2): Likewise. | |
14164 | (CMP): Likewise. | |
14165 | (cmp): Remove. | |
14166 | (VCMP_S): Likewise. | |
14167 | (VCMP_U): Likewise. | |
14168 | (V_cmp_result): Add DF, SF modes. | |
14169 | (v_cmp_result): Likewise. | |
14170 | (v): Likewise. | |
14171 | (vmtype): Likewise. | |
14172 | * config/aarch64/predicates.md (aarch64_reg_or_fp_zero): New. | |
14173 | ||
0a7dbb76 GY |
14174 | 2013-05-01 Greta Yorsh <Greta.Yorsh@arm.com> |
14175 | ||
14176 | * config/arm/thumb2.md (thumb2_smaxsi3,thumb2_sminsi3): Convert | |
14177 | define_insn to define_insn_and_split. | |
14178 | (thumb32_umaxsi3,thumb2_uminsi3): Likewise. | |
14179 | (thumb2_negdi2,thumb2_abssi2,thumb2_neg_abssi2): Likewise. | |
14180 | (thumb2_mov_scc,thumb2_mov_negscc,thumb2_mov_notscc): Likewise. | |
14181 | (thumb2_movsicc_insn,thumb2_and_scc,thumb2_ior_scc): Likewise. | |
14182 | (thumb2_negscc): Likewise. | |
14183 | ||
fb614ca6 GY |
14184 | 2013-04-30 Greta Yorsh <Greta.Yorsh@arm.com> |
14185 | ||
14186 | * config/arm/thumb2.md (thumb2_incscc, thumb2_decscc): Delete. | |
14187 | ||
9e64a0bf GY |
14188 | 2013-04-30 Greta Yorsh <Greta.Yorsh@arm.com> |
14189 | ||
14190 | * config/arm/thumb2.md: Remove trailing whitespaces. | |
14191 | ||
d6b28156 RS |
14192 | 2013-04-30 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
14193 | ||
14194 | * explow.c (plus_constant): Pass "mode" to immed_double_int_const. | |
14195 | Use gen_int_mode rather than GEN_INT. | |
14196 | ||
f91674c3 L |
14197 | 2013-04-30 H.J. Lu <hongjiu.lu@intel.com> |
14198 | ||
b0dec607 | 14199 | * value-prof.c (stream_in_histogram_value): Remove the strayed |
f91674c3 L |
14200 | debug_gimple_stmt. |
14201 | ||
3551257c RB |
14202 | 2013-04-30 Richard Biener <rguenther@suse.de> |
14203 | ||
14204 | PR middle-end/57122 | |
3c21604f | 14205 | * cfghooks.c (split_edge): Properly check for the loop latch edge. |
3551257c | 14206 | |
4c1aff1c RB |
14207 | 2013-04-30 Richard Biener <rguenther@suse.de> |
14208 | ||
14209 | PR middle-end/57107 | |
14210 | * tree-eh.c (sink_clobbers): Preserve virtual SSA form. | |
14211 | ||
54b8379a AB |
14212 | 2013-04-30 Andrey Belevantsev <abel@ispras.ru> |
14213 | ||
14214 | PR rtl-optimization/56957 | |
14215 | PR rtl-optimization/57105 | |
54b8379a AB |
14216 | * sel-sched.c (move_op_orig_expr_found): Remove insn_emitted |
14217 | variable. Use just INSN_UID for determining whether an insn | |
14218 | should be only disconnected from the insn stream. | |
14219 | * sel-sched-ir.h (EXPR_WAS_CHANGED): Remove. | |
14220 | ||
abc27962 JJ |
14221 | 2013-04-30 Jakub Jelinek <jakub@redhat.com> |
14222 | ||
14223 | PR tree-optimization/57104 | |
14224 | * tsan.c (instrument_expr): Don't instrument accesses to | |
14225 | DECL_HARD_REGISTER VAR_DECLs. | |
14226 | ||
0fc822d0 RB |
14227 | 2013-04-30 Richard Biener <rguenther@suse.de> |
14228 | ||
14229 | * function.h (loops_for_fn): New inline function. | |
14230 | (set_loops_for_fn): Likewise. | |
14231 | * cfgloop.h (place_new_loop): Add struct function parameter. | |
14232 | (get_loop): Likewise. | |
14233 | (get_loops): Likewise. | |
14234 | (number_of_loops): Likewise. | |
14235 | (fel_next): Adjust. | |
14236 | (fel_init): Likewise. | |
14237 | * cfg.c (get_loop_copy): Adjust. | |
14238 | * cfgloop.c (flow_loops_dump): Likewise. | |
14239 | (record_loop_exits): Likewise. | |
14240 | (verify_loop_structure): Likewise. | |
14241 | * cfgloopanal.c (mark_irreducible_loops): Likewise. | |
14242 | (estimate_reg_pressure_cost): Likewise. | |
14243 | (mark_loop_exit_edges): Likewise. | |
14244 | * cfgloopmanip.c (place_new_loop): Likewise. | |
14245 | (add_loop): Likewise. | |
14246 | (duplicate_loop): Likewise. | |
14247 | * graph.c (draw_cfg_nodes): Likewise. | |
14248 | * graphite-clast-to-gimple.c (translate_clast_user): Likewise. | |
14249 | * graphite-sese-to-poly.c (build_scop_scattering): Likewise. | |
14250 | (extract_affine_chrec): Likewise. | |
14251 | (build_scop_iteration_domain): Likewise. | |
14252 | * graphite.c (graphite_initialize): Likewise. | |
14253 | * ira-build.c (create_loop_tree_nodes): Likewise. | |
14254 | (more_one_region_p): Likewise. | |
14255 | (rebuild_regno_allocno_maps): Likewise. | |
14256 | (mark_loops_for_removal): Likewise. | |
14257 | (mark_all_loops_for_removal): Likewise. | |
14258 | (remove_unnecessary_regions): Likewise. | |
14259 | (ira_build): Likewise. | |
14260 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
14261 | * loop-init.c (fix_loop_structure): Likewise. | |
14262 | (gate_rtl_move_loop_invariants): Likewise. | |
14263 | (gate_rtl_unswitch): Likewise. | |
14264 | (gate_rtl_unroll_and_peel_loops): Likewise. | |
14265 | (rtl_doloop): Likewise. | |
14266 | * lto-streamer-in.c (input_cfg): Likewise. | |
14267 | * lto-streamer-out.c (output_cfg): Likewise. | |
14268 | * modulo-sched.c (sms_schedule): Likewise. | |
14269 | * predict.c (tree_estimate_probability): Likewise. | |
14270 | (tree_estimate_probability_driver): Likewise. | |
14271 | (estimate_loops): Likewise. | |
14272 | * tree-cfg.c (fixup_loop_arrays_after_move): Likewise. | |
14273 | (move_sese_region_to_fn): Likewise. | |
14274 | (debug_loop_num): Likewise. | |
14275 | * tree-chrec.c (chrec_evaluate): Likewise. | |
14276 | (hide_evolution_in_other_loops_than_loop): Likewise. | |
14277 | (chrec_component_in_loop_num): Likewise. | |
14278 | (reset_evolution_in_loop): Likewise. | |
14279 | (evolution_function_is_invariant_rec_p): Likewise. | |
14280 | * tree-if-conv.c (main_tree_if_conversion): Likewise. | |
14281 | * tree-inline.c (copy_loops): Likewise. | |
14282 | (copy_cfg_body): Likewise. | |
14283 | (tree_function_versioning): Likewise. | |
14284 | * tree-loop-distribution.c (rdg_flag_loop_exits): Likewise. | |
14285 | * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop): | |
14286 | Likewise. | |
14287 | (add_to_evolution_1): Likewise. | |
14288 | (scev_const_prop): Likewise. | |
14289 | * tree-scalar-evolution.h (get_chrec_loop): Likewise. | |
14290 | * tree-ssa-loop-ch.c (copy_loop_headers): Likewise. | |
14291 | * tree-ssa-loop-im.c (analyze_memory_references): Likewise. | |
14292 | (tree_ssa_lim_initialize): Likewise. | |
14293 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Likewise. | |
14294 | (verify_loop_closed_ssa): Likewise. | |
14295 | * tree-ssa-loop.c (tree_ssa_loop_init): Likewise. | |
14296 | (tree_ssa_loop_im): Likewise. | |
14297 | (tree_ssa_loop_unswitch): Likewise. | |
14298 | (tree_vectorize): Likewise. | |
14299 | (check_data_deps): Likewise. | |
14300 | (tree_ssa_loop_ivcanon): Likewise. | |
14301 | (tree_ssa_loop_bounds): Likewise. | |
14302 | (tree_complete_unroll): Likewise. | |
14303 | (tree_complete_unroll_inner): Likewise. | |
14304 | (tree_parallelize_loops): Likewise. | |
14305 | (tree_ssa_loop_prefetch): Likewise. | |
14306 | (tree_ssa_loop_ivopts): Likewise. | |
14307 | * tree-ssa.c (execute_update_addresses_taken): Liekwise. | |
14308 | * tree-vectorizer.c (vectorize_loops): Likewise. | |
14309 | ||
37953bd3 MF |
14310 | 2013-04-29 Mike Frysinger <vapier@gentoo.org> |
14311 | ||
14312 | * config/arm/bpabi.h (EABI_LINK_SPEC): Define. | |
14313 | (BPABI_LINK_SPEC): Use new EABI_LINK_SPEC. | |
14314 | * config/arm/linux-eabi.h (LINK_SPEC): Replace BE8_LINK_SPEC | |
14315 | with EABI_LINK_SPEC. | |
14316 | ||
f9ed28db UB |
14317 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
14318 | ||
14319 | PR target/44578 | |
14320 | * config/i386/i386.md (*zero_extendsidi2): Add "!" to m->?*y | |
14321 | alternative. | |
14322 | ||
deca73f5 VM |
14323 | 2013-04-29 Vladimir Makarov <vmakarov@redhat.com> |
14324 | ||
14325 | PR target/57097 | |
37953bd3 | 14326 | * lra-constraints.c (process_alt_operands): Discourage a bit more |
deca73f5 VM |
14327 | using memory for pseudos. Print cost dump for alternatives. |
14328 | Modify cost values for conflicts with early clobbers. | |
14329 | (curr_insn_transform): Spill pseudos reassigned to NO_REGS. | |
14330 | ||
fdca7d03 UB |
14331 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
14332 | ||
14333 | PR target/57098 | |
14334 | * config/i386/i386.c (ix86_expand_vec_perm): Validize constant memory. | |
14335 | ||
0b064172 IB |
14336 | 2013-04-29 Ian Bolton <ian.bolton@arm.com> |
14337 | ||
14338 | * config/aarch64/aarch64.md (movsi_aarch64): Support LDR/STR | |
14339 | from/to S register. | |
14340 | (movdi_aarch64): Support LDR/STR from/to D register. | |
14341 | ||
473cec55 IB |
14342 | 2013-04-29 Ian Bolton <ian.bolton@arm.com> |
14343 | ||
14344 | * common/config/aarch64/aarch64-common.c: Enable REE pass at O2 | |
14345 | or higher by default. | |
14346 | ||
a6f30e66 RB |
14347 | 2013-04-29 Richard Biener <rguenther@suse.de> |
14348 | ||
14349 | PR middle-end/57075 | |
14350 | * tree-inline.c (copy_edges_for_bb): Still split the bbs, | |
14351 | even if not adding abnormal edges for calls that can make | |
14352 | abnormal gotos. | |
14353 | ||
0c2b2040 RB |
14354 | 2013-04-29 Richard Biener <rguenther@suse.de> |
14355 | ||
14356 | PR middle-end/57103 | |
14357 | * tree-cfg.c (move_stmt_op): Fix condition under which to update | |
14358 | TREE_BLOCK. | |
14359 | (move_stmt_r): Remove redundant checking. | |
14360 | ||
f41f80f9 TJ |
14361 | 2013-04-29 Teresa Johnson <tejohnson@google.com> |
14362 | ||
14363 | PR bootstrap/57077 | |
14364 | * basic-block.h (apply_scale): New function. | |
14365 | (apply_probability): Use apply_scale. | |
14366 | * gimple-streamer-in.c (input_bb): Ditto. | |
14367 | * lto-streamer-in.c (input_cfg): Ditto. | |
14368 | * lto-cgraph.c (merge_profile_summaries): Ditto. | |
14369 | * tree-optimize.c (execute_fixup_cfg): Ditto. | |
fdca7d03 | 14370 | * tree-inline.c (copy_bb): Update comment to use apply_scale. |
f41f80f9 TJ |
14371 | (copy_edges_for_bb): Ditto. |
14372 | (copy_cfg_body): Ditto. | |
14373 | ||
315bbd2e TV |
14374 | 2013-04-29 Tom de Vries <tom@codesourcery.com> |
14375 | ||
14376 | * tree-ssa-tail-merge.c (find_same_succ_bb): Skip loop latch bbs. | |
14377 | (replace_block_by): Don't set LOOPS_NEED_FIXUP. | |
14378 | (tail_merge_optimize): Handle current_loops == NULL. | |
14379 | ||
ebbd90d8 JL |
14380 | 2013-04-26 Jeff Law <law@redhat.com> |
14381 | ||
14382 | * tree-vrp.c (range_fits_type_p): Move to earlier point in file. | |
14383 | (simplify_cond_using_ranges): Generalize code to simplify | |
14384 | COND_EXPRs where one argument is a constant and the other | |
14385 | is an SSA_NAME created by an integral type conversion. | |
14386 | ||
8b9b57eb KT |
14387 | 2013-04-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
14388 | ||
14389 | * config/arm/arm.md (store_minmaxsi): Use only when | |
14390 | optimize_insn_for_size_p. | |
14391 | ||
9498e5dc CB |
14392 | 2013-04-29 Christian Bruel <christian.bruel@st.com> |
14393 | ||
14394 | PR target/57108 | |
14395 | * sh.md (tstsi_t_zero_extract_eq): Set mode for operand 0. | |
14396 | ||
6093bc06 RB |
14397 | 2013-04-29 Richard Biener <rguenther@suse.de> |
14398 | ||
14399 | PR middle-end/57089 | |
fdca7d03 UB |
14400 | * omp-low.c (expand_omp_taskreg): If the parent function had a broken |
14401 | loop tree make sure to schedule a fixup for the child as well. | |
6093bc06 RB |
14402 | (expand_omp_for_generic): Properly add loops. |
14403 | (expand_omp_for_static_nochunk): Likewise. | |
14404 | (expand_omp_for_static_chunk): Likewise. | |
14405 | (expand_omp_for): For the degenerate case fixup loops. | |
14406 | (expand_omp_sections): Fix default bb placement in loops. | |
14407 | (expand_omp_atomic_pipeline): Properly add loops. | |
14408 | ||
84aacbfd KT |
14409 | 2013-04-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
14410 | ||
14411 | * predict.c: Fix typo in comment above #define PROB_VERY_UNLIKELY. | |
14412 | ||
8dee4479 TV |
14413 | 2013-04-29 Tom de Vries <tom@codesourcery.com> |
14414 | ||
14415 | * tree-ssa-tail-merge.c: Update header comment. | |
14416 | ||
47934dc4 JG |
14417 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
14418 | ||
14419 | * config/aarch64/arm_neon.h | |
14420 | (vcvt<sd>_f<32,64>_s<32,64>): Rewrite in C. | |
14421 | (vcvt<q>_f<32,64>_s<32,64>): Rewrite using builtins. | |
14422 | (vcvt_<high_>_f<32,64>_f<32,64>): Likewise. | |
14423 | (vcvt<qsd>_<su><32,64>_f<32,64>): Likewise. | |
14424 | (vcvta<qsd>_<su><32,64>_f<32,64>): Likewise. | |
14425 | (vcvtm<qsd>_<su><32,64>_f<32,64>): Likewise. | |
14426 | (vcvtn<qsd>_<su><32,64>_f<32,64>): Likewise. | |
14427 | (vcvtp<qsd>_<su><32,64>_f<32,64>): Likewise. | |
14428 | ||
384be29f JG |
14429 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
14430 | ||
14431 | * config/aarch64/aarch64-simd.md | |
14432 | (<optab><VDQF:mode><fcvt_target>2): New, maps to fix, fixuns. | |
14433 | (<fix_trunc_optab><VDQF:mode><fcvt_target>2): New, maps to | |
14434 | fix_trunc, fixuns_trunc. | |
14435 | (ftrunc<VDQF:mode>2): New. | |
14436 | * config/aarch64/iterators.md (optab): Add fix, fixuns. | |
14437 | (fix_trunc_optab): New. | |
14438 | ||
0386b123 JG |
14439 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
14440 | ||
14441 | * config/aarch64/aarch64-builtins.c | |
14442 | (aarch64_builtin_vectorized_function): Vectorize over ifloorf, | |
14443 | iceilf, lround, iroundf. | |
14444 | ||
00fcb892 UB |
14445 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
14446 | ||
14447 | PR target/54349 | |
14448 | * config/i386/i386.h (enum ix86_tune_indices) | |
14449 | <X86_TUNE_INTER_UNIT_MOVES_TO_VEC, X86_TUNE_INTER_UNIT_MOVES_FROM_VEC>: | |
14450 | New, split from X86_TUNE_INTER_UNIT_MOVES. | |
14451 | <X86_TUNE_INTER_UNIT_MOVES>: Remove. | |
14452 | (TARGET_INTER_UNIT_MOVES_TO_VEC): New define. | |
14453 | (TARGET_INTER_UNIT_MOVES_FROM_VEC): Ditto. | |
14454 | (TARGET_INTER_UNIT_MOVES): Remove. | |
14455 | * config/i386/i386.c (initial_ix86_tune_features): Update. | |
14456 | Disable X86_TUNE_INTER_UNIT_MOVES_FROM_VEC for m_ATHLON_K8 only. | |
14457 | (ix86_expand_convert_uns_didf_sse): Use | |
14458 | TARGET_INTER_UNIT_MOVES_TO_VEC instead of TARGET_INTER_UNIT_MOVES. | |
14459 | (ix86_expand_vector_init_one_nonzero): Ditto. | |
14460 | (ix86_expand_vector_init_interleave): Ditto. | |
14461 | (inline_secondary_memory_needed): Return true for moves from SSE class | |
14462 | registers for !TARGET_INTER_UNIT_MOVES_FROM_VEC targets and for moves | |
14463 | to SSE class registers for !TARGET_INTER_UNIT_MOVES_TO_VEC targets. | |
14464 | * config/i386/constraints.md (Yi, Ym): Depend on | |
14465 | TARGET_INTER_UNIT_MOVES_TO_VEC. | |
14466 | (Yj, Yn): New constraints. | |
14467 | * config/i386/i386.md (*movdi_internal): Change constraints of | |
14468 | operand 1 from Yi to Yj and from Ym to Yn. | |
14469 | (*movsi_internal): Ditto. | |
14470 | (*movdf_internal): Ditto. | |
14471 | (*movsf_internal): Ditto. | |
14472 | (*float<SWI48x:mode><X87MODEF:mode>2_1): Use | |
14473 | TARGET_INTER_UNIT_MOVES_TO_VEC instead of TARGET_INTER_UNIT_MOVES. | |
14474 | (*float<SWI48x:mode><X87MODEF:mode>2_1 splitters): Ditto. | |
14475 | (floatdi<X87MODEF:mode>2_i387_with_xmm): Ditto. | |
14476 | (floatdi<X87MODEF:mode>2_i387_with_xmm splitters): Ditto. | |
14477 | * config/i386/sse.md (movdi_to_sse): Ditto. | |
14478 | (sse2_stored): Change constraint of operand 1 from Yi to Yj. | |
14479 | Use TARGET_INTER_UNIT_MOVES_FROM_VEC instead of | |
14480 | TARGET_INTER_UNIT_MOVES. | |
14481 | (sse_storeq_rex64): Change constraint of operand 1 from Yi to Yj. | |
14482 | (sse_storeq_rex64 splitter): Use TARGET_INTER_UNIT_MOVES_FROM_VEC | |
14483 | instead of TARGET_INTER_UNIT_MOVES. | |
14484 | * config/i386/mmx.md (*mov<mode>_internal): Change constraint of | |
14485 | operand 1 from Yi to Yj and from Ym to Yn. | |
14486 | ||
4c871069 JG |
14487 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
14488 | ||
14489 | * config/aarch64/aarch64-simd-builtins.def (vec_unpacks_hi_): New. | |
14490 | (float_truncate_hi_): Likewise. | |
14491 | (float_extend_lo_): Likewise. | |
14492 | (float_truncate_lo_): Likewise. | |
14493 | * config/aarch64/aarch64-simd.md (vec_unpacks_lo_v4sf): New. | |
14494 | (aarch64_float_extend_lo_v2df): Likewise. | |
14495 | (vec_unpacks_hi_v4sf): Likewise. | |
14496 | (aarch64_float_truncate_lo_v2sf): Likewise. | |
14497 | (aarch64_float_truncate_hi_v4sf): Likewise. | |
14498 | (vec_pack_trunc_v2df): Likewise. | |
14499 | (vec_pack_trunc_df): Likewise. | |
14500 | ||
1709ff9b JG |
14501 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
14502 | ||
14503 | * config/aarch64/aarch64-builtins.c | |
14504 | (aarch64_fold_builtin): Fold float conversions. | |
14505 | * config/aarch64/aarch64-simd-builtins.def | |
14506 | (floatv2si, floatv4si, floatv2di): New. | |
14507 | (floatunsv2si, floatunsv4si, floatunsv2di): Likewise. | |
14508 | * config/aarch64/aarch64-simd.md | |
14509 | (<optab><fcvt_target><VDQF:mode>2): New, expands to float and floatuns. | |
14510 | * config/aarch64/iterators.md (FLOATUORS): New. | |
14511 | (optab): Add float, floatuns. | |
14512 | (su_optab): Likewise. | |
14513 | ||
ce966824 JG |
14514 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
14515 | ||
14516 | * config/aarch64/aarch64-builtins.c | |
14517 | (aarch64_builtin_vectorized_function): Use new names for | |
14518 | fcvt builtins. | |
14519 | * config/aarch64/aarch64-simd-builtins.def (fcvtzs): Split as... | |
14520 | (lbtruncv2sf, lbtruncv4sf, lbtruncv2df): ...This. | |
14521 | (fcvtzu): Split as... | |
14522 | (lbtruncuv2sf, lbtruncuv4sf, lbtruncuv2df): ...This. | |
14523 | (fcvtas): Split as... | |
14524 | (lroundv2sf, lroundv4sf, lroundv2df, lroundsf, lrounddf): ...This. | |
14525 | (fcvtau): Split as... | |
14526 | (lrounduv2sf, lrounduv4sf, lrounduv2df, lroundusf, lroundudf): ...This. | |
14527 | (fcvtps): Split as... | |
14528 | (lceilv2sf, lceilv4sf, lceilv2df): ...This. | |
14529 | (fcvtpu): Split as... | |
14530 | (lceiluv2sf, lceiluv4sf, lceiluv2df, lceilusf, lceiludf): ...This. | |
14531 | (fcvtms): Split as... | |
14532 | (lfloorv2sf, lfloorv4sf, lfloorv2df): ...This. | |
14533 | (fcvtmu): Split as... | |
14534 | (lflooruv2sf, lflooruv4sf, lflooruv2df, lfloorusf, lfloorudf): ...This. | |
14535 | (lfrintnv2sf, lfrintnv4sf, lfrintnv2df, lfrintnsf, lfrintndf): New. | |
14536 | (lfrintnuv2sf, lfrintnuv4sf, lfrintnuv2df): Likewise. | |
14537 | (lfrintnusf, lfrintnudf): Likewise. | |
14538 | * config/aarch64/aarch64-simd.md | |
14539 | (l<fcvt_pattern><su_optab><fcvt_target><VDQF:mode>2): Convert to | |
14540 | define_insn. | |
14541 | (aarch64_fcvt<frint_suffix><su><mode>): Remove. | |
14542 | * config/aarch64/iterators.md (FCVT): Include UNSPEC_FRINTN. | |
14543 | (fcvt_pattern): Likewise. | |
14544 | ||
b9de24fe JG |
14545 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
14546 | ||
14547 | * config/aarch64/aarch64-simd.md | |
14548 | (l<fcvt_pattern><su_optab><fcvt_target><VDQF:mode>2): Rename to... | |
14549 | (l<fcvt_pattern><su_optab><VDQF:mode><fcvt_target>2): ... This. | |
14550 | ||
77a205be JG |
14551 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
14552 | ||
14553 | * config/aarch64/arm_neon.h (vrndq<a,m,n,p>_f<32, 64>): Rename to... | |
14554 | (vrnd<a,m,n,p>q_f<32, 64>): ...This, implement using builtin. | |
14555 | (vrnd<a,m,n,p>_f32): Implement using builtins. | |
14556 | (vrnd<i,x><q>_f<32, 64>): New. | |
14557 | ||
0659ce6f JG |
14558 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
14559 | ||
14560 | * config/aarch64/aarch64-builtins.c | |
14561 | (aarch64_builtin_vectorized_function): Fold to standard pattern names. | |
14562 | * config/aarch64/aarch64-simd-builtins.def (frintn): New. | |
14563 | (frintz): Rename to... | |
14564 | (btrunc): ...this. | |
14565 | (frintp): Rename to... | |
14566 | (ceil): ...this. | |
14567 | (frintm): Rename to... | |
14568 | (floor): ...this. | |
14569 | (frinti): Rename to... | |
14570 | (nearbyint): ...this. | |
14571 | (frintx): Rename to... | |
14572 | (rint): ...this. | |
14573 | (frinta): Rename to... | |
14574 | (round): ...this. | |
14575 | * config/aarch64/aarch64-simd.md | |
14576 | (aarch64_frint<frint_suffix><mode>): Delete. | |
14577 | (<frint_pattern><mode>2): Convert to insn. | |
14578 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_FRINTN. | |
14579 | * config/aarch64/iterators.md (FRINT): Add UNSPEC_FRINTN. | |
14580 | (frint_pattern): Likewise. | |
14581 | (frint_suffix): Likewise. | |
14582 | ||
ea78906a RB |
14583 | 2013-04-29 Richard Biener <rguenther@suse.de> |
14584 | ||
14585 | PR tree-optimization/57081 | |
14586 | * loop-init.c: Include tree-flow.h. | |
14587 | (loop_optimizer_finalize): Free number of iteration estimates. | |
14588 | * Makefile.in (loop-init.o): Add $(TREE_FLOW_H) dependency. | |
14589 | ||
baee1763 JJ |
14590 | 2013-04-29 Jakub Jelinek <jakub@redhat.com> |
14591 | ||
94dc5332 JJ |
14592 | PR tree-optimization/57083 |
14593 | * tree-vrp.c (extract_range_from_binary_expr_1): For LSHIFT_EXPR with | |
14594 | non-singleton shift count range, zero extend low_bound for uns case. | |
14595 | ||
baee1763 JJ |
14596 | * config/i386/predicates.md (general_vector_operand): New predicate. |
14597 | * config/i386/i386.c (const_vector_equal_evenodd_p): New function. | |
14598 | (ix86_expand_mul_widen_evenodd): Force op1 resp. op2 into register | |
14599 | if they aren't nonimmediate operands. If their original values | |
14600 | satisfy const_vector_equal_evenodd_p, don't shift them. | |
14601 | * config/i386/sse.md (mul<mode>3): Use general_vector_operand | |
14602 | predicates. For the SSE4.1 case force operands[{1,2}] into registers | |
14603 | if not nonimmediate_operand. | |
14604 | (vec_widen_smult_even_v4si): Use nonimmediate_operand predicates | |
14605 | instead of register_operand. | |
14606 | (vec_widen_<s>mult_odd_<mode>): Use general_vector_operand predicates. | |
14607 | ||
a9073727 | 14608 | 2013-04-28 Eric Botcazou <ebotcazou@adacore.com> |
22ad5e0a EB |
14609 | |
14610 | * stor-layout.c (finalize_size_functions): Allocate a structure and | |
14611 | reset cfun before dumping the functions. | |
14612 | ||
ba8011e6 JJ |
14613 | 2013-04-27 Jakub Jelinek <jakub@redhat.com> |
14614 | ||
d6fde69e JJ |
14615 | * config/i386/i386.c (ix86_expand_call): Make cregs_size unsigned. |
14616 | ||
ba8011e6 JJ |
14617 | PR target/56866 |
14618 | * config/i386/i386.c (ix86_expand_mul_widen_evenodd): Don't | |
14619 | use xop_pmacsdqh if uns_p. | |
14620 | * config/i386/sse.md (xop_rotr<mode>3): Fix up computation of | |
14621 | the immediate rotate count. | |
14622 | ||
2c62cbaa VM |
14623 | 2013-04-26 Vladimir Makarov <vmakarov@redhat.com> |
14624 | ||
14625 | * rtl.h (struct rtx_def): Add comment for field jump. | |
14626 | (LRA_SUBREG_P): New macro. | |
14627 | * recog.c (register_operand): Check LRA_SUBREG_P. | |
14628 | * lra.c (lra): Add note at the end of RTL code. Align non-empty | |
14629 | stack frame. | |
14630 | * lra-spills.c (lra_spill): Align stack after spilling pseudos. | |
14631 | (lra_final_code_change): Skip subreg change for operators. | |
14632 | * lra-eliminations.c (eliminate_regs_in_insn): Make return earlier | |
14633 | if there are no operand changes. | |
14634 | * lra-constraints.c (curr_insn_set): New. | |
14635 | (match_reload): Set LRA_SUBREG_P. | |
14636 | (emit_spill_move): Ditto. | |
14637 | (check_and_process_move): Use curr_insn_set. Process only single | |
14638 | set insns. Don't initialize sec_mem_p and change_p. | |
14639 | (simplify_operand_subreg): Use LRA_SUBREG_P. | |
14640 | (reg_in_class_p): New function. | |
14641 | (process_alt_operands): Use it. Use #if HAVE_ATTR_enabled instead | |
14642 | of #ifdef. Add code to remove cycling. | |
14643 | (process_address): Check EXTRA_CONSTRAINT_STR. Process even if | |
14644 | non-null disp. Reload inner instead of disp when base and index | |
14645 | are null. Try to put lo_sum into register. | |
14646 | (EBB_PROBABILITY_CUTOFF): Redefine probability in percents. | |
14647 | (check_and_process_move): Move code for move cost check to | |
14648 | simple_move_p. Remove equiv_substitution. | |
14649 | (simple_move_p): New function. | |
14650 | (curr_insn_transform): Initialize sec_mem_p and change_p. Set up | |
14651 | curr_insn_set. Call check_and_process_move only for single set | |
14652 | insns. Use the new function. Move call of check_and_process_move | |
14653 | after operand equiv substitution and address process. | |
14654 | ||
e7d764f3 JJ |
14655 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
14656 | ||
14657 | PR go/57045 | |
14658 | * tree-ssa-uninit.c (compute_uninit_opnds_pos): In functions | |
14659 | with nonlocal goto receivers or returns twice calls, ignore | |
14660 | unininitialized values from abnormal edges to nl goto receiver | |
14661 | or returns twice call. | |
14662 | ||
41e10689 JJ |
14663 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
14664 | ||
14665 | PR tree-optimization/57051 | |
14666 | * fold-const.c (const_binop): Handle VEC_LSHIFT_EXPR | |
14667 | and VEC_RSHIFT_EXPR if shift count is a multiple of element | |
14668 | bitsize. | |
14669 | ||
d7ed20db RB |
14670 | 2013-04-26 Richard Biener <rguenther@suse.de> |
14671 | ||
14672 | * omp-low.c (finalize_task_copyfn): Do not drop PROP_loops. | |
14673 | (expand_omp_taskreg): Likewise. Mark loops for fixup. | |
14674 | * tree-cfg.c (move_block_to_fn): Remap loop fathers. | |
14675 | (fixup_loop_arrays_after_move): New function. | |
14676 | (move_sese_region_to_fn): Properly outline the loop tree parts | |
14677 | of the SESE region. | |
14678 | ||
df93505e UB |
14679 | 2013-04-26 Uros Bizjak <ubizjak@gmail.com> |
14680 | ||
14681 | * config/i386/i386.md (type, unit): Fix long lines. | |
14682 | ||
dd366ec3 RB |
14683 | 2013-04-26 Richard Biener <rguenther@suse.de> |
14684 | ||
14685 | * Makefile.in (lto-streamer-in.o): Add $(CFGLOOP_H) dependency. | |
14686 | (lto-streamer-out.o): Likewise. | |
14687 | * cfgloop.c (init_loops_structure): Export, add struct function | |
14688 | argument and adjust. | |
14689 | (flow_loops_find): Adjust. | |
14690 | * cfgloop.h (enum loop_estimation): Add EST_LAST. | |
14691 | (init_loops_structure): Declare. | |
14692 | * lto-streamer-in.c: Include cfgloop.h. | |
14693 | (input_cfg): Input the loop tree. | |
14694 | * lto-streamer-out.c: Include cfgloop.h. | |
14695 | (output_cfg): Output the loop tree. | |
14696 | (output_struct_function_base): Do not drop PROP_loops. | |
14697 | ||
a9e0d843 RB |
14698 | 2013-03-26 Richard Biener <rguenther@suse.de> |
14699 | ||
14700 | * tree-cfg.c (execute_build_cfg): Build the loop tree. | |
14701 | (pass_build_cfg): Provide PROP_loops. | |
14702 | (move_sese_region_to_fn): Remove loops that are outlined into fn | |
14703 | for now. | |
14704 | * tree-inline.c: Include cfgloop.h. | |
14705 | (initialize_cfun): Do not drop PROP_loops. | |
14706 | (copy_loops): New function. | |
14707 | (copy_cfg_body): Copy loop structure. | |
14708 | (tree_function_versioning): Initialize destination loop tree. | |
14709 | * tree-ssa-loop.c (pass_tree_loop_init): Do not provide PROP_loops. | |
14710 | (pass_parallelize_loops): Do IL verification. | |
14711 | * loop-init.c (loop_optimizer_init): Fixup loops if required. | |
14712 | * tree-optimize.c (execute_fixup_cfg): If we need to cleanup | |
14713 | the CFG make sure we fixup loops as well. | |
14714 | * tree-ssa-tail-merge.c: Include cfgloop.h. | |
14715 | (replace_block_by): When merging loop latches mark loops for fixup. | |
14716 | * lto-streamer-out.c (output_struct_function_base): Drop | |
14717 | PROP_loops for now. | |
14718 | * tree-ssa-phiopt.c: Include tree-scalar-evolution.h. | |
14719 | (tree_ssa_cs_elim): Initialize the loop optimizer and SCEV. | |
14720 | * ipa-split.c: Include cfgloop.h. | |
14721 | (split_function): Add the new return block to the loop tree root. | |
14722 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Return | |
14723 | whether we have removed the forwarder block. | |
14724 | (merge_phi_nodes): If we removed a forwarder mark loops for fixup. | |
14725 | * cfgloop.h (place_new_loop): Declare. | |
14726 | * cfgloopmanip.c (place_new_loop): Export. | |
14727 | * Makefile.in (asan.o): Add $(CFGLOOP_H) dependency. | |
14728 | (tree-switch-conversion.o): Likewise. | |
14729 | (tree-complex.o): Likewise. | |
14730 | (tree-inline.o): Likewise. | |
14731 | (tree-ssa-tailmerge.o): Likewise. | |
14732 | (ipa-split.o): Likewise. | |
14733 | (tree-ssa-phiopt.o): Add $(SCEV_H) dependency. | |
14734 | (tree-ssa-copy.o): Likewise. | |
14735 | * tree-switch-conversion.c: Include cfgloop.h | |
14736 | (process_switch): If we emit a bit-test cascade, schedule loops | |
14737 | for fixup. | |
14738 | * tree-complex.c: Include cfgloop.h. | |
14739 | (expand_complex_div_wide): Properly add new basic-blocks to loops. | |
14740 | * asan.c: Include cfgloop.h. | |
14741 | (create_cond_insert_point): Properly add new basic-blocks to | |
14742 | loops, schedule loop fixup. | |
14743 | * cfgloop.c (verify_loop_structure): Check that looks are not | |
14744 | marked for fixup. | |
14745 | * omp-low.c (expand_parallel_call): Properly add new basic-blocks | |
14746 | to loops. | |
14747 | (expand_omp_for_generic): Likewise. | |
14748 | (expand_omp_sections): Likewise. | |
14749 | (expand_omp_atomic_pipeline): Schedule loops for fixup. | |
14750 | * tree-ssa-copy.c: Include tree-scalar-evolution.h. | |
14751 | (fini_copy_prop): Disable DCE in substitute_and_fold if SCEV | |
14752 | is initialized, not when loops are present. | |
14753 | * tree-parloops.c (parallelize_loops): Remove checking here. | |
14754 | * passes.c (init_optimization_passes): Schedule a copy-propagation | |
14755 | pass before complete unrolling of inner loops. | |
14756 | ||
e78e8a0b JJ |
14757 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
14758 | ||
a2e836b2 JJ |
14759 | * Makefile.in (toplev.o): Depend on diagnostic-color.h. |
14760 | * diagnostic-color.c (should_colorize): Remove _WIN32 version. | |
14761 | (colorize_init): Add argument to _WIN32 version. | |
14762 | * toplev.c: Include diagnostic-color.h. | |
14763 | (process_options): Default to -fdiagnostics-color=auto if | |
14764 | GCC_COLORS env var is in the environment. | |
14765 | * common.opt (fdiagnostics-color=): Add Var and Init. | |
df93505e UB |
14766 | * doc/invoke.texi (-fdiagnostics-color=): Document that if GCC_COLORS |
14767 | env var is in the environment, the default is auto rather than never. | |
a2e836b2 | 14768 | |
e78e8a0b JJ |
14769 | * diagnostic.h (file_name_as_prefix): Add context argument. |
14770 | * diagnostic.c (file_name_as_prefix): Likewise. Colorize | |
14771 | the string as locus. | |
14772 | * langhooks.c (lhd_print_error_function): Adjust caller. | |
14773 | ||
013e5ef9 LC |
14774 | 2013-04-25 Lawrence Crowl <crowl@google.com> |
14775 | ||
14776 | * var-tracking.c (shared_hash_def::htab): | |
14777 | Change type to hash_table. Update dependent calls and types. | |
14778 | ||
4a8fb1a1 LC |
14779 | 2013-04-25 Lawrence Crowl <crowl@google.com> |
14780 | ||
14781 | * Makefile.in: Update as needed below. | |
14782 | ||
14783 | * alloc-pool.c (static hash_table <alloc_pool_hasher> alloc_pool_hash): | |
14784 | Move declaration to after the type's method definitons. | |
14785 | ||
14786 | * attribs.c (htab_t scoped_attributes::attribute_hash): | |
14787 | Change type to hash_table. Update dependent calls and types. | |
14788 | ||
14789 | * bitmap.c (htab_t bitmap_desc_hash): | |
14790 | Change type to hash_table. Update dependent calls and types. | |
14791 | ||
14792 | * cselib.c (htab_t cselib_hash_table): | |
14793 | Change type to hash_table. Update dependent calls and types. | |
14794 | ||
14795 | * data-streamer.h (struct string_slot): Move to lto-streamer.h. | |
14796 | (hash_string_slot_node): Move implementation into lto-streamer.h | |
14797 | struct string_slot_hasher. | |
14798 | (eq_string_slot_node): Likewise. | |
14799 | ||
14800 | * data-streamer-out.c: Update output_block::string_hash_table | |
14801 | dependent calls and types. | |
14802 | ||
14803 | * dwarf2cfi.c (htab_t trace_index): | |
14804 | Change type to hash_table. Update dependent calls and types. | |
14805 | ||
14806 | * dwarf2out.c (htab_t break_out_includes::cu_hash_table): | |
14807 | Change type to hash_table. Update dependent calls and types. | |
14808 | (htab_t copy_decls_for_unworthy_types::decl_table): Likewise. | |
14809 | (htab_t optimize_external_refs::map): Likewise. | |
14810 | (htab_t output_comp_unit::extern_map): Likewise. | |
14811 | (htab_t output_comdat_type_unit::extern_map): Likewise. | |
14812 | (htab_t output_macinfo::macinfo_htab): Likewise. | |
14813 | (htab_t optimize_location_lists::htab): Likewise. | |
14814 | (htab_t dwarf2out_finish::comdat_type_table): Likewise. | |
14815 | ||
14816 | * except.c (htab_t ehspec_hash_type): | |
14817 | Change type to hash_table. Update dependent calls and types. | |
14818 | (assign_filter_values::ttypes): Likewise. | |
14819 | (assign_filter_values::ehspec): Likewise. | |
14820 | (sjlj_assign_call_site_values::ar_hash): Likewise. | |
14821 | (convert_to_eh_region_ranges::ar_hash): Likewise. | |
14822 | ||
14823 | * gcse.c (htab_t pre_ldst_table): | |
14824 | Change type to hash_table. Update dependent calls and types. | |
14825 | ||
14826 | * ggc-common.c (htab_t saving_htab): | |
14827 | Change type to hash_table. Update dependent calls and types. | |
14828 | (htab_t loc_hash): Likewise. | |
14829 | (htab_t ptr_hash): Likewise. | |
14830 | (call_count): Rename ggc_call_count. | |
14831 | (call_alloc): Rename ggc_call_alloc. | |
14832 | (loc_descriptor): Rename make_loc_descriptor. | |
14833 | (add_statistics): Rename ggc_add_statistics. | |
14834 | ||
14835 | * ggc-common.c (saving_htab): | |
14836 | Change type to hash_table. Update dependent calls and types. | |
14837 | ||
14838 | * gimple.h (struct gimplify_ctx): Move to gimplify-ctx.h. | |
14839 | (push_gimplify_context): Likewise. | |
14840 | (pop_gimplify_context): Likewise. | |
14841 | (struct gimple_temp_hash_elt): Added. | |
14842 | (struct gimplify_hasher): Likewise. | |
14843 | (struct gimplify_ctx.temp_htab): | |
14844 | Change type to hash_table. Update dependent calls and types. | |
14845 | ||
14846 | * gimple-fold.c: Include gimplify-ctx.h. | |
14847 | ||
14848 | * gimple-ssa-strength-reduction.c (htab_t base_cand_map): | |
14849 | Change type to hash_table. Update dependent calls and types. | |
14850 | (base_cand_dump_callback): Rename to ssa_base_cand_dump_callback to | |
14851 | avoid potential global name collision. | |
14852 | ||
14853 | * gimplify.c: Include gimplify-ctx.h. | |
14854 | (struct gimple_temp_hash_elt): Move to gimplify-ctx.h. | |
14855 | (htab_t gimplify_ctx::temp_htab): | |
14856 | Update dependent calls and types for new type hash_table. | |
14857 | (gimple_tree_hash): Move into gimplify_hasher in gimplify-ctx.h. | |
14858 | (gimple_tree_eq): Move into gimplify_hasher in gimplify-ctx.h. | |
14859 | ||
14860 | * gimplify-ctx.h: New. | |
14861 | (struct gimple_temp_hash_elt): Move from gimplify.c. | |
14862 | (class gimplify_hasher): New. | |
14863 | (struct gimplify_ctx): Move from gimple.h. | |
14864 | (htab_t gimplify_ctx::temp_htab): | |
14865 | Change type to hash_table. Update dependent calls and types. | |
14866 | ||
14867 | * graphite-clast-to-gimple.c: Include graphite-htab.h. | |
14868 | (htab_t ivs_params::newivs_index): | |
14869 | Change type to hash_table. Update dependent calls and types. | |
14870 | (htab_t ivs_params::params_index): Likewise. | |
14871 | (htab_t print_generated_program::params_index): Likewise. | |
14872 | (htab_t gloog::newivs_index): Likewise. | |
14873 | (htab_t gloog::params_index): Likewise. | |
14874 | ||
14875 | * graphite.c: Include graphite-htab.h. | |
14876 | 4htab_t graphite_transform_loops::bb_pbb_mapping): | |
14877 | Change type to hash_table. Update dependent calls and types. | |
14878 | ||
14879 | * graphite-clast-to-gimple.h: (extern gloog) Move to graphite-htab.h. | |
14880 | (bb_pbb_map_hash): Fold into bb_pbb_htab_type in graphite-htab.h. | |
14881 | (eq_bb_pbb_map): Fold into bb_pbb_htab_type in graphite-htab.h. | |
14882 | ||
14883 | * graphite-dependences.c: Include graphite-htab.h. | |
14884 | (loop_is_parallel_p): Change hash table type of parameter. | |
14885 | ||
14886 | * graphite-htab.h: New. | |
14887 | (typedef hash_table <bb_pbb_hasher> bb_pbb_htab_type): New. | |
14888 | (extern find_pbb_via_hash): Move from graphite-poly.h. | |
14889 | (extern loop_is_parallel_p): Move from graphite-poly.h. | |
14890 | (extern get_loop_body_pbbs): Move from graphite-poly.h. | |
14891 | ||
14892 | * graphite-poly.h (extern find_pbb_via_hash): Move to graphite-htab.h. | |
14893 | (extern loop_is_parallel_p): Move to graphite-htab.h. | |
14894 | (extern get_loop_body_pbbs): Move to graphite-htab.h. | |
14895 | ||
14896 | * haifa-sched.c (htab_t delay_htab): | |
14897 | Change type to hash_table. Update dependent calls and types. | |
14898 | (htab_t delay_htab_i2): Likewise. | |
14899 | ||
14900 | * ira-color.c (htab_t allocno_hard_regs_htab): | |
14901 | Change type to hash_table. Update dependent calls and types. | |
14902 | ||
14903 | * ira-costs.c (htab_t cost_classes_htab): | |
14904 | Change type to hash_table. Update dependent calls and types. | |
14905 | ||
14906 | * loop-invariant.c (htab_t merge_identical_invariants::eq): | |
14907 | Change type to hash_table. Update dependent calls and types. | |
14908 | ||
14909 | * loop-iv.c (htab_t bivs): | |
14910 | Change type to hash_table. Update dependent calls and types. | |
14911 | ||
14912 | * loop-unroll.c (htab_t opt_info::insns_to_split): | |
14913 | Change type to hash_table. Update dependent calls and types. | |
14914 | (htab_t opt_info::insns_with_var_to_expand): Likewise. | |
14915 | ||
14916 | * lto-streamer.h (struct string_slot): Move from data-streamer.h | |
14917 | (struct string_slot_hasher): New. | |
14918 | (htab_t output_block::string_hash_table): | |
14919 | Change type to hash_table. Update dependent calls and types. | |
14920 | ||
14921 | * lto-streamer-in.c (freeing_string_slot_hasher): New. | |
14922 | (htab_t file_name_hash_table): | |
14923 | Change type to hash_table. Update dependent calls and types. | |
14924 | ||
14925 | * lto-streamer-out.c: Update output_block::string_hash_table dependent | |
14926 | calls and types. | |
14927 | ||
14928 | * lto-streamer.c (htab_t tree_htab): | |
14929 | Change type to hash_table. Update dependent calls and types. | |
14930 | ||
14931 | * omp-low.c: Include gimplify-ctx.h. | |
14932 | ||
14933 | * passes.c (htab_t name_to_pass_map): | |
14934 | Change type to hash_table. Update dependent calls and types. | |
14935 | (pass_traverse): Rename to passes_pass_traverse. | |
14936 | ||
14937 | * plugin.c (htab_t event_tab): | |
14938 | Change type to hash_table. Update dependent calls and types. | |
14939 | ||
14940 | * postreload-gcse.c (htab_t expr_table): | |
14941 | Change type to hash_table. Update dependent calls and types. | |
14942 | (dump_hash_table_entry): Rename dump_expr_hash_table_entry. | |
14943 | ||
14944 | * sese.c (debug_rename_map_1): Make extern. | |
14945 | (htab_t copy_bb_and_scalar_dependences::rename_map): | |
14946 | Change type to hash_table. Update dependent calls and types. | |
14947 | ||
14948 | * sese.h (extern debug_rename_map): Move to .c file. | |
14949 | ||
14950 | * store-motion.c (htab_t store_motion_mems_table): | |
14951 | Change type to hash_table. Update dependent calls and types. | |
14952 | ||
14953 | * trans-mem.c (htab_t tm_new_mem_hash): | |
14954 | Change type to hash_table. Update dependent calls and types. | |
14955 | ||
14956 | * tree-browser.c (htab_t TB_up_ht): | |
14957 | Change type to hash_table. Update dependent calls and types. | |
14958 | ||
14959 | * tree-cfg.c (htab_t discriminator_per_locus): | |
14960 | Change type to hash_table. Update dependent calls and types. | |
14961 | ||
14962 | * tree-complex.c: Include tree-hasher.h | |
14963 | (htab_t complex_variable_components): | |
14964 | Change type to hash_table. Update dependent calls and types. | |
14965 | ||
14966 | * tree-eh.c (htab_t finally_tree): | |
14967 | Change type to hash_table. Update dependent calls and types. | |
14968 | ||
14969 | * tree-flow.h (extern int_tree_map_hash): Moved into tree-hasher | |
14970 | struct int_tree_hasher. | |
14971 | (extern int_tree_map_eq): Likewise. | |
14972 | (uid_decl_map_hash): Removed. | |
14973 | (extern decl_tree_map_eq): Likewise. | |
14974 | ||
14975 | * tree-hasher.h: New. | |
14976 | (struct int_tree_hasher): New. | |
14977 | (typedef int_tree_htab_type): New. | |
14978 | ||
14979 | * tree-inline.c: Include gimplify-ctx.h. | |
14980 | ||
14981 | * tree-mudflap.c: Include gimplify-ctx.h. | |
14982 | ||
14983 | * tree-parloops.c: Include tree-hasher.h. | |
14984 | (htab_t eliminate_local_variables_stmt::decl_address): | |
14985 | Change type to hash_table. Update dependent calls and types. | |
14986 | (htab_t separate_decls_in_region::decl_copies): Likewise. | |
14987 | ||
14988 | * tree-scalar-evolution.c (htab_t resolve_mixers::cache): | |
14989 | Change type to hash_table. Update dependent calls and types. | |
14990 | ||
14991 | * tree-sra.c (candidates): | |
14992 | Change type to hash_table. Update dependent calls and types. | |
14993 | ||
14994 | * tree-ssa.c (int_tree_map_eq): Moved into struct int_tree_hasher | |
14995 | in tree-flow.h. | |
14996 | (int_tree_map_hash): Likewise. | |
14997 | ||
14998 | * tree-ssa-dom.c (htab_t avail_exprs): | |
14999 | Change type to hash_table. Update dependent calls and types. | |
15000 | ||
15001 | * tree-ssa-live.c (var_map_base_init::tree_to_index): | |
15002 | Change type to hash_table. Update dependent calls and types. | |
15003 | ||
15004 | * tree-ssa-loop-ivopts.c (struct ivopts_data.inv_expr_tab): | |
15005 | Change type to hash_table. Update dependent calls and types. | |
15006 | ||
15007 | * tree-ssa-phiopt.c (seen_ssa_names): | |
15008 | Change type to hash_table. Update dependent calls and types. | |
15009 | ||
15010 | * tree-ssa-strlen.c (decl_to_stridxlist_htab): | |
15011 | Change type to hash_table. Update dependent calls and types. | |
15012 | ||
15013 | * tree-ssa-uncprop.c (equiv): | |
15014 | Change type to hash_table. Update dependent calls and types. | |
15015 | ||
c5a44004 JJ |
15016 | 2013-04-25 Jakub Jelinek <jakub@redhat.com> |
15017 | ||
15018 | PR rtl-optimization/57003 | |
15019 | * regcprop.c (copyprop_hardreg_forward_1): If ksvd.ignore_set_reg, | |
15020 | call note_stores with kill_clobbered_value callback again after | |
15021 | killing regs_invalidated_by_call. | |
15022 | ||
09962a4a JG |
15023 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
15024 | ||
15025 | * config/aarch64/aarch64-simd.md | |
15026 | (aarch64_simd_bsl<mode>_internal): Rewrite RTL to not use UNSPEC_BSL. | |
15027 | (aarch64_simd_bsl<mode>): Likewise. | |
15028 | * config/aarch64/iterators.md (unspec): Remove UNSPEC_BSL. | |
15029 | ||
ea28bb0b MP |
15030 | 2013-04-25 Marek Polacek <polacek@redhat.com> |
15031 | ||
15032 | PR tree-optimization/57066 | |
3c21604f | 15033 | * builtins.c (fold_builtin_logb): Return +Inf for -Inf. |
ea28bb0b | 15034 | |
96659611 JG |
15035 | 2013-04-25 James Greenhalgh <jame.greenhalgh@arm.com> |
15036 | ||
15037 | * config/aarch64/aarch64-simd.md (neg<mode>2): Use VDQ iterator. | |
15038 | ||
9697e620 JG |
15039 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
15040 | ||
15041 | * config/aarch64/aarch64-builtins.c | |
15042 | (aarch64_fold_builtin): New. | |
15043 | * config/aarch64/aarch64-protos.h (aarch64_fold_builtin): New. | |
15044 | * config/aarch64/aarch64.c (TARGET_FOLD_BUILTIN): Define. | |
15045 | * config/aarch64/aarch64-simd-builtins.def (abs): New. | |
15046 | * config/aarch64/arm_neon.h | |
15047 | (vabs<q>_<f32, 64>): Implement using __builtin_aarch64_fabs. | |
15048 | ||
0ac198d3 JG |
15049 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
15050 | Tejas Belagod <tejas.belagod@arm.com> | |
15051 | ||
15052 | * config/aarch64/aarch64-builtins.c | |
15053 | (aarch64_gimple_fold_builtin): New. | |
15054 | * config/aarch64/aarch64-protos.h (aarch64_gimple_fold_builtin): New. | |
15055 | * config/aarch64/aarch64-simd-builtins.def (addv): New. | |
15056 | * config/aarch64/aarch64-simd.md (addpv4sf): New. | |
15057 | (addvv4sf): Update. | |
15058 | * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Define. | |
15059 | ||
58cff58c N |
15060 | 2013-04-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
15061 | ||
df93505e | 15062 | * config/aarch64/aarch64.md |
58cff58c N |
15063 | (*cmp_swp_<optab><ALLX:mode>_shft_<GPI:mode>): New pattern. |
15064 | ||
7e0228bf N |
15065 | 2013-04-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
15066 | ||
15067 | * config/aarch64/aarch64.md (*ngc<mode>): New pattern. | |
15068 | (*ngcsi_uxtw): New pattern. | |
15069 | ||
5819f96f | 15070 | 2013-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3c21604f | 15071 | Julian Brown <julian@codesourcery.com> |
5819f96f KT |
15072 | |
15073 | * config/arm/arm.c (neon_builtin_type_mode): Add T_V4HF. | |
15074 | (TB_DREG): Add T_V4HF. | |
15075 | (v4hf_UP): New macro. | |
15076 | (neon_itype): Add NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. | |
df93505e | 15077 | (arm_init_neon_builtins): Handle NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. |
5819f96f KT |
15078 | Handle initialisation of V4HF. Adjust initialisation of reinterpret |
15079 | built-ins. | |
df93505e | 15080 | (arm_expand_neon_builtin): Handle NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. |
5819f96f KT |
15081 | (arm_vector_mode_supported_p): Handle V4HF. |
15082 | (arm_mangle_map): Handle V4HFmode. | |
15083 | * config/arm/arm.h (VALID_NEON_DREG_MODE): Add V4HF. | |
15084 | * config/arm/arm_neon_builtins.def: Add entries for | |
15085 | vcvtv4hfv4sf, vcvtv4sfv4hf. | |
15086 | * config/arm/neon.md (neon_vcvtv4sfv4hf): New pattern. | |
15087 | (neon_vcvtv4hfv4sf): Likewise. | |
15088 | * config/arm/neon-gen.ml: Handle half-precision floating point | |
15089 | features. | |
15090 | * config/arm/neon-testgen.ml: Handle Requires_FP_bit feature. | |
15091 | * config/arm/arm_neon.h: Regenerate. | |
15092 | * config/arm/neon.ml (type elts): Add F16. | |
15093 | (type vectype): Add T_float16x4, T_floatHF. | |
15094 | (type vecmode): Add V4HF. | |
15095 | (type features): Add Requires_FP_bit feature. | |
15096 | (elt_width): Handle F16. | |
15097 | (elt_class): Likewise. | |
15098 | (elt_of_class_width): Likewise. | |
15099 | (mode_of_elt): Refactor. | |
15100 | (type_for_elt): Handle F16, fix error messages. | |
15101 | (vectype_size): Handle T_float16x4. | |
15102 | (vcvt_sh): New function. | |
15103 | (ops): Add entries for vcvt_f16_f32, vcvt_f32_f16. | |
15104 | (string_of_vectype): Handle T_floatHF, T_float16, T_float16x4. | |
15105 | (string_of_mode): Handle V4HF. | |
15106 | * doc/arm-neon-intrinsics.texi: Regenerate. | |
15107 | ||
1ef395e4 JG |
15108 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
15109 | ||
15110 | * config/aarch64/aarch64.c (aarch64_print_operand): Fix asm_fprintf | |
15111 | format specifier in 'X' case. | |
15112 | ||
41c34e94 AM |
15113 | 2013-04-25 Alan Modra <amodra@gmail.com> |
15114 | ||
15115 | PR target/57052 | |
15116 | * config/rs6000/rs6000.md (rotlsi3_internal7): Rename to | |
15117 | rotlsi3_internal7le and condition on !BYTES_BIG_ENDIAN. | |
15118 | (rotlsi3_internal8be): New BYTES_BIG_ENDIAN insn. | |
15119 | Repeat for many other rotate/shift and mask patterns using subregs. | |
15120 | Name lshiftrt insns. | |
15121 | (ashrdisi3_noppc64): Rename to ashrdisi3_noppc64be and condition | |
15122 | on WORDS_BIG_ENDIAN. | |
15123 | ||
b9a7eb5d AM |
15124 | 2013-04-25 Alan Modra <amodra@gmail.com> |
15125 | ||
15126 | * config.gcc: Support little-endian powerpc-linux targets. | |
15127 | * config/rs6000/linux.h (LINK_OS_LINUX_EMUL): Define. | |
15128 | (LINK_OS_LINUX_SPEC): Define. | |
15129 | * config/rs6000/linuxspe.h (TARGET_DEFAULT): | |
15130 | Preserve MASK_LITTLE_ENDIAN. | |
15131 | * config/rs6000/default64.h (TARGET_DEFAULT): Likewise. | |
15132 | * config/rs6000/linuxaltivec.h (TARGET_DEFAULT): Likewise. | |
15133 | * config/rs6000/linux64.h (OPTION_LITTLE_ENDIAN): Don't zero. | |
15134 | (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Define. | |
15135 | (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Use above. | |
15136 | * config/rs6000/rs6000.c (output_toc): Don't use .tc for TARGET_ELF. | |
15137 | Correct fp word order for little-endian. Don't shift toc entries | |
15138 | smaller than a word for little-endian. | |
15139 | * config/rs6000/rs6000.md (bswaphi2, bswapsi2 split): Comment. | |
15140 | (bswapdi2 splits): Correct low-part subreg for little-endian. | |
15141 | Remove wrong BYTES_BIG_ENDIAN tests, and rename vars to remove | |
15142 | low/high where such is correct only for be. | |
15143 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Allow | |
15144 | little-endian for -mcall-aixdesc. | |
15145 | ||
87f73374 AM |
15146 | 2013-04-25 Alan Modra <amodra@gmail.com> |
15147 | ||
15148 | * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use | |
15149 | replace_equiv_address_nv. | |
15150 | ||
cabf91cd AM |
15151 | 2013-04-25 Alan Modra <amodra@gmail.com> |
15152 | ||
15153 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Tidy. | |
15154 | ||
0ae24cc8 VM |
15155 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
15156 | ||
15157 | Revert: | |
15158 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> | |
15159 | * rtl.h (struct rtx_def): ... | |
cabf91cd | 15160 | |
77bce07c VM |
15161 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
15162 | ||
15163 | PR rtl-optimizations/57046 | |
15164 | * lra-constraints (split_reg): Set up lra_risky_transformations_p | |
15165 | for multi-reg splits. | |
15166 | ||
0db63e7f L |
15167 | 2013-04-24 H.J. Lu <hongjiu.lu@intel.com> |
15168 | ||
15169 | * config/i386/x86-64.h (ASM_SPEC): Support -mx32. | |
15170 | ||
3362b6b6 SA |
15171 | 2013-04-24 Sterling Augustine <saugustine@google.com> |
15172 | ||
15173 | * dwarf2out.c (skeleton_debug_str_hash, add_skeleton_AT_string) | |
15174 | (comp_dir_string, debug_str_dwo_section): New. | |
15175 | (DEBUG_STR_DWO_SECTION): Rename to ... | |
15176 | (DEBUG_DWO_STR_SECTION): ... this. | |
15177 | (DEBUG_NORM_STR_SECTION): Delete. | |
15178 | (DEBUG_STR_SECTION, DEBUG_STR_SECTION_FLAGS): Edit definitions. | |
15179 | (DEBUG_STR_DWO_SECTION_FLAGS): New. | |
15180 | (find_AT_string): Move most logic to ... | |
15181 | (find_AT_string_in_table): ... here. New. | |
15182 | (add_top_level_skeleton_die_attrs): Call comp_dir_string and | |
15183 | add_skeleton_AT_string. Delete logic. | |
15184 | (output_skeleton_debug_sections): Remove call to | |
15185 | add_top_level_skeleton_die_attrs. | |
15186 | (add_comp_dir_attribute): Move logic to comp_dir_string. | |
15187 | (dwarf2out_init): Initialize debug_str_dwo_section. | |
15188 | (output_indirect_string): Call find_string_form. | |
15189 | (output_indirect_strings): Rewrite. | |
15190 | (prune_unused_types): Empty skeleton_debug_str_hash. | |
15191 | Call get_skeleton_type_unit and add_top_level_skeleton_die_attrs. | |
15192 | (dwarf2out_finish): Call output_indirect_strings. | |
15193 | ||
e93e18e9 PC |
15194 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
15195 | ||
15196 | * doc/cpp.texi: Remove __GXX_EXPERIMENTAL_CXX1Y__. | |
15197 | ||
f6ce35ac VM |
15198 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
15199 | ||
cabf91cd | 15200 | * rtl.h (struct rtx_def): Add comment for field jump. |
f6ce35ac VM |
15201 | (LRA_SUBREG_P): New macro. |
15202 | * recog.c (register_operand): Check LRA_SUBREG_P. | |
15203 | * lra.c (lra): Add note at the end of RTL code. Align non-empty | |
15204 | stack frame. | |
15205 | * lra-spills.c (lra_spill): Align stack after spilling pseudos. | |
15206 | (lra_final_code_change): Skip subreg change for operators. | |
15207 | * lra-eliminations.c (eliminate_regs_in_insn): Make return earlier | |
15208 | if there are no operand changes. | |
15209 | * lra-constraints.c (curr_insn_set): New. | |
15210 | (match_reload): Set LRA_SUBREG_P. | |
15211 | (emit_spill_move): Ditto. | |
15212 | (check_and_process_move): Use curr_insn_set. Process only single | |
15213 | set insns. Don't initialize sec_mem_p and change_p. | |
15214 | (simplify_operand_subreg): Use LRA_SUBREG_P. | |
15215 | (reg_in_class_p): New function. | |
15216 | (process_alt_operands): Use it. Use #if HAVE_ATTR_enabled instead | |
15217 | of #ifdef. Add code to remove cycling. | |
15218 | (process_address): Check EXTRA_CONSTRAINT_STR. Process even if | |
15219 | non-null disp. Reload inner instead of disp when base and index | |
15220 | are null. Try to put lo_sum into register. | |
15221 | (EBB_PROBABILITY_CUTOFF): Redefine probability in percents. | |
cabf91cd | 15222 | (check_and_process_move): Move code for move cost check to |
f6ce35ac | 15223 | simple_move_p. Remove equiv_substitution. |
cabf91cd | 15224 | (simple_move_p): New function. |
f6ce35ac VM |
15225 | (curr_insn_transform): Initialize sec_mem_p and change_p. Set up |
15226 | curr_insn_set. Call check_and_process_move only for single set | |
15227 | insns. Use the new function. Move call of check_and_process_move | |
15228 | after operand equiv substitution and address process. | |
15229 | ||
38047d90 JG |
15230 | 2013-04-24 James Greenhalgh <james.greenhalgh@arm.com> |
15231 | ||
15232 | * config/aarch64/arm_neon.h (vld1<q>_lane*): Fix constraints. | |
15233 | (vld1<q>_dup_<sufp><8, 16, 32, 64>): Likewise. | |
15234 | (vld1<q>_<sufp><8, 16, 32, 64>): Likewise. | |
15235 | ||
13f39b2e PC |
15236 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
15237 | ||
15238 | * doc/cpp.texi: Document __GXX_EXPERIMENTAL_CXX1Y__. | |
15239 | ||
97c116dc MP |
15240 | 2013-04-24 Marek Polacek <polacek@redhat.com> |
15241 | ||
15242 | * tree-scalar-evolution.h (analyze_scalar_evolution): Remove. | |
15243 | * tree-scalar-evolution.c (get_exit_conditions_rec): Likewise. | |
15244 | (select_loops_exit_conditions): Likewise. | |
15245 | (number_of_iterations_for_all_loops): Likewise. | |
15246 | (analyze_scalar_evolution_for_all_loop_phi_nodes): Likewise. | |
15247 | (scev_analysis): Likewise. | |
15248 | ||
83082391 | 15249 | 2013-04-02 Catherine Moore <clm@codesourcery.com> |
12211b99 | 15250 | Chao-ying Fu <fu@mips.com> |
83082391 | 15251 | |
cabf91cd AM |
15252 | * config/mips/micromips.md (jraddiusp): New pattern. |
15253 | * config/mips/mips.c (mips_expand_epilogue): Use the JRADDIUSP | |
15254 | instruction if possible. | |
83082391 | 15255 | |
19e34aa2 AM |
15256 | 2013-04-24 Alan Modra <amodra@gmail.com> |
15257 | ||
15258 | * config/rs6000/driver-rs6000.c (elf_dcachebsize): Fix comment pasto. | |
15259 | ||
fdb6603c JB |
15260 | 2013-04-24 Julian Brown <julian@codesourcery.com> |
15261 | Chung-Lin Tang <cltang@codesourcery.com> | |
15262 | ||
15263 | * dwarf2out.c (gen_enumeration_type_die): Fix HOST_BITS_PER_WIDE_INT | |
df93505e UB |
15264 | dependency behavior in enumeration type DIE generation. Add TODO note |
15265 | to comments about future DW_FORM_sdata/udata re-work of related code. | |
fdb6603c | 15266 | |
bf190e8d LC |
15267 | 2013-04-23 Lawrence Crowl <crowl@google.com> |
15268 | ||
15269 | * Makefile.in: Update as needed below. | |
15270 | ||
15271 | * hash-table.h (class hash_table): | |
15272 | Correct many methods with parameter types compare_type to the correct | |
15273 | value_type. (Correct code was unlikely to notice the change.) | |
15274 | (hash_table::elements_with_deleted) New. | |
15275 | (class hashtable::iterator): New. | |
15276 | (hashtable::begin()): New. | |
15277 | (hashtable::end()): New. | |
15278 | (FOR_EACH_HASH_TABLE_ELEMENT): New. | |
15279 | ||
15280 | * statistics.c (statistics_hashes): | |
15281 | Change type to hash_table. Update dependent calls and types. | |
15282 | ||
15283 | * tree-into-ssa.c (var_infos): | |
15284 | Change type to hash_table. Update dependent calls and types. | |
15285 | ||
15286 | * tree-ssa-coalesce.c (struct coalesce_list_d.list): | |
15287 | Change type to hash_table. Update dependent calls and types. | |
15288 | ||
15289 | * tree-ssa-loop-im.c (struct mem_ref.refs): | |
15290 | Change type to hash_table. Update dependent calls and types. | |
15291 | ||
15292 | * tree-ssa-reassoc.c (undistribute_ops_list::ctable): | |
15293 | Change type to hash_table. Update dependent calls and types. | |
15294 | ||
15295 | * tree-ssa-sccvn.c (vn_tables_s::nary): | |
15296 | Change type to hash_table. Update dependent calls and types. | |
15297 | (vn_tables_s::phis): Likewise. | |
15298 | (vn_tables_s::references): Likewise. | |
15299 | ||
15300 | * tree-ssa-sccvn.h (vn_nary_op_eq): Update parameter and return types. | |
15301 | (vn_reference_eq): Update parameter and return types. | |
15302 | ||
15303 | * tree-ssa-structalias.c (pointer_equiv_class_table): | |
15304 | Change type to hash_table. Update dependent calls and types. | |
15305 | (location_equiv_class_table): Likewise. | |
15306 | ||
15307 | * tree-vect-data-refs.c: Consequential changes for making | |
15308 | peeling a hash_table. | |
15309 | ||
15310 | * tree-vect-loop.c (new_loop_vec_info): Dependent hash_table update. | |
15311 | (destroy_loop_vec_info): Dependent hash_table update. | |
15312 | ||
15313 | * tree-vectorizer.h (peeling_htab): | |
15314 | Change type to hash_table. Update dependent calls and types. | |
15315 | ||
d70a81dd SC |
15316 | 2013-04-23 Shiva Chen <shiva0217@gmail.com> |
15317 | ||
cabf91cd AM |
15318 | * lra-assigns.c (find_hard_regno_for): Use lra_reg_val_equal_p |
15319 | to check the register content is equal or not. | |
15320 | * lra-constraints.c (match_reload): Use lra_assign_reg_val | |
15321 | to assign register content record. | |
15322 | * lra-eliminations.c (update_reg_eliminate): Use | |
d70a81dd | 15323 | lra_update_reg_val_offset to update register content offset. |
cabf91cd AM |
15324 | * lra-int.h (struct lra_reg): Add offset member. |
15325 | (lra_reg_val_equal_p): New static inline function. | |
15326 | (lra_update_reg_val_offset): New static inline function. | |
15327 | (lra_assign_reg_val): New static inline function. | |
15328 | * lra.c (lra_create_new_reg): Use lra_assign_reg_val | |
15329 | to assign register content record. | |
15330 | (initialize_lra_reg_info_element): Initial offset to zero. | |
d70a81dd | 15331 | |
b894a1f3 CM |
15332 | 2013-04-23 Catherine Moore <clm@codesourcery.com> |
15333 | ||
15334 | * config/mips/mips.md (*movhi_internal, *movqi_internal): New | |
15335 | operands. Record compression. | |
15336 | ||
ecd14de9 XDL |
15337 | 2013-04-23 Xinliang David Li <davidxl@google.com> |
15338 | ||
15339 | * cfghhooks.c (dump_bb_for_graph): Support 'slim' graph dump. | |
15340 | ||
92e776e9 RB |
15341 | 2013-04-23 Richard Biener <rguenther@suse.de> |
15342 | ||
15343 | PR middle-end/57036 | |
15344 | * tree-inline.c (copy_edges_for_bb): Add can_make_abnormal_goto | |
15345 | parameter, only add abnormal goto edges from the copied body | |
15346 | if the call could perform abnormal gotos. | |
15347 | (copy_cfg_body): Adjust. | |
15348 | ||
a15ee567 SN |
15349 | 2013-04-23 Sofiane Naci <sofiane.naci@arm.com> |
15350 | ||
15351 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add simd attribute. | |
15352 | ||
08c52234 AS |
15353 | 2013-04-23 Andreas Schwab <schwab@linux-m68k.org> |
15354 | ||
15355 | * coretypes.h (gimple_stmt_iterator): Add struct to make | |
15356 | compatible with C. | |
15357 | ||
999c1171 RB |
15358 | 2013-04-23 Richard Biener <rguenther@suse.de> |
15359 | ||
15360 | PR tree-optimization/57026 | |
15361 | * tree-vrp.c (simplify_conversion_using_ranges): Do not propagate | |
15362 | from SSA names occuring in abnormal PHI nodes. | |
15363 | ||
53669259 AK |
15364 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
15365 | ||
15366 | * lto/lto.c (print_lto_report_1): Fix LTO report names. | |
15367 | ||
1a0ad150 AK |
15368 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
15369 | ||
15370 | * lto/lto.c (print_lto_report_1): Declare early. | |
15371 | (read_cgraph_and_symbols): Call print_lto_report_1 early. | |
15372 | ||
057f8f20 AK |
15373 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
15374 | ||
15375 | * common.opt (-flto-report-wpa): Add. | |
15376 | * doc/invoke.texi (-flto-report-wpa): Add. | |
15377 | * lto/lto.c (do_whole_program_analysis): Check for lto-report-wpa. | |
15378 | (lto_main): dito. | |
15379 | ||
473b1e05 XDL |
15380 | 2013-04-22 Xinliang David Li <davidxl@google.com> |
15381 | ||
15382 | * graph.c (draw_cfg_node_succ_edges): Add branch probility as label. | |
15383 | * cfghhooks.c (dump_bb_for_graph): Dump profile count and frquency. | |
15384 | * Makefile.in: New dependency | |
15385 | ||
cabf91cd | 15386 | David Daney <ddaney.cavm@gmail.com> |
b1485a33 | 15387 | |
cabf91cd AM |
15388 | * configure.ac (gcc_cv_as_micromips_support): Use the |
15389 | --fatal-warnings option. | |
15390 | * configure: Regenerate. | |
b1485a33 | 15391 | |
829d0168 MP |
15392 | 2013-04-22 Marek Polacek <polacek@redhat.com> |
15393 | ||
15394 | PR sanitizer/56990 | |
15395 | * tsan.c (instrument_expr): Don't instrument expression | |
15396 | in case its size is zero. | |
15397 | ||
6d9b7208 UB |
15398 | 2013-04-22 Uros Bizjak <ubizjak@gmail.com> |
15399 | ||
15400 | PR target/57032 | |
15401 | Revert: | |
15402 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> | |
15403 | ||
15404 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
15405 | ||
ea679d55 JG |
15406 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
15407 | ||
15408 | * coretypes.h (gimple_stmt_iterator_d): Forward declare. | |
15409 | (gimple_stmt_iterator): New typedef. | |
15410 | * gimple.h (gimple_stmt_iterator): Rename to... | |
15411 | (gimple_stmt_iterator_d): ... This. | |
15412 | * doc/tm.texi.in (TARGET_FOLD_BUILTIN): Detail restriction that | |
15413 | trees be valid for GIMPLE and GENERIC. | |
15414 | (TARGET_GIMPLE_FOLD_BUILTIN): New. | |
15415 | * gimple-fold.c (gimple_fold_call): Call target hook | |
15416 | gimple_fold_builtin. | |
15417 | * hooks.c (hook_bool_gsiptr_false): New. | |
15418 | * hooks.h (hook_bool_gsiptr_false): New. | |
15419 | * target.def (fold_stmt): New. | |
15420 | * doc/tm.texi: Regenerate. | |
15421 | ||
88a581da VM |
15422 | 2013-04-22 Vladimir Makarov <vmakarov@redhat.com> |
15423 | ||
15424 | PR target/57018 | |
15425 | * lra-eliminations.c (mark_not_eliminable): Prevent elimination of | |
15426 | a set sp if no stack realignment. | |
15427 | ||
92be22dc NC |
15428 | 2013-04-22 Nick Clifton <nickc@redhat.com> |
15429 | ||
15430 | * config.gcc (tilegx-linux): Extend extra_objs rather than | |
15431 | overwriting it. | |
15432 | (tilepro-linux): Likewise. | |
15433 | ||
0ddec79f JG |
15434 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
15435 | ||
15436 | * config/aarch64/aarch64-builtins.c | |
15437 | (CF): Remove. | |
15438 | (CF0, CF1, CF2, CF3, CF4, CF10): New. | |
15439 | (VAR<1-12>): Add MAP parameter. | |
15440 | (BUILTIN_*): Likewise. | |
15441 | * config/aarch64/aarch64-simd-builtins.def: Set MAP parameter. | |
15442 | * config/aarch64/aarch64-simd.md (aarch64_sshl_n<mode>): Remove. | |
15443 | (aarch64_ushl_n<mode>): Likewise. | |
15444 | (aarch64_sshr_n<mode>): Likewise. | |
15445 | (aarch64_ushr_n<mode>): Likewise. | |
15446 | (aarch64_<maxmin><mode>): Likewise. | |
15447 | (aarch64_sqrt<mode>): Likewise. | |
15448 | * config/aarch64/arm_neon.h (vshl<q>_n_*): Use new builtin names. | |
15449 | (vshr<q>_n_*): Likewise. | |
15450 | ||
0050faf8 JG |
15451 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
15452 | ||
15453 | * config/aarch64/aarch64-builtins.c | |
15454 | (aarch64_simd_builtin_type_mode): Handle SF types. | |
15455 | (sf_UP): Define. | |
15456 | (BUILTIN_GPF): Define. | |
15457 | (aarch64_init_simd_builtins): Handle SF types. | |
15458 | * config/aarch64/aarch64-simd-builtins.def (frecpe): Add support. | |
15459 | (frecps): Likewise. | |
15460 | (frecpx): Likewise. | |
15461 | * config/aarch64/aarch64-simd.md | |
15462 | (simd_types): Update simd_frcp<esx> to simd_frecp<esx>. | |
15463 | (aarch64_frecpe<mode>): New. | |
15464 | (aarch64_frecps<mode>): Likewise. | |
15465 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_FRECP<ESX>. | |
15466 | (v8type): Add frecp<esx>. | |
15467 | (aarch64_frecp<FRECP:frecp_suffix><mode>): New. | |
15468 | (aarch64_frecps<mode>): Likewise. | |
15469 | * config/aarch64/iterators.md (FRECP): New. | |
15470 | (frecp_suffix): Likewise. | |
15471 | * config/aarch64/arm_neon.h | |
15472 | (vrecp<esx><qsd>_<fd><32, 64>): Convert to using builtins. | |
15473 | ||
0fad3dbc | 15474 | 2013-04-22 Christian Bruel <christian.bruel@st.com> |
1818d01c CB |
15475 | |
15476 | PR target/56995 | |
15477 | * config/sh/sh.h (enum reg_class): Remove DF_HI_REGS. | |
15478 | (REG_CLASS_NAMES): Idem. | |
15479 | (REG_CLASS_CONTENTS): Idem. | |
15480 | (REGCLASS_HAS_FP_REG): Idem. | |
15481 | * config/sh/sh.c (sh_cannot_change_mode_class): Idem. | |
15482 | (sh_conditional_register_usage): Idem. | |
15483 | ||
3e8a33f9 JL |
15484 | 2013-04-21 Jeff Law <law@redhat.com> |
15485 | ||
15486 | * tree-ssa-forwprop.c (simplify_conversion_from_bitmask): New function. | |
15487 | (ssa_forward_propagate_and_combine): Use it. | |
15488 | ||
f38e1b0a VM |
15489 | 2013-04-19 Vladimir Makarov <vmakarov@redhat.com> |
15490 | ||
15491 | * lra.c: Update the flow chart diagram. | |
15492 | ||
682303da VM |
15493 | 2013-04-19 Vladimir Makarov <vmakarov@redhat.com> |
15494 | ||
15495 | PR rtl-optimization/56847 | |
15496 | * lra-constraints.c (process_alt_operands): Discourage alternative | |
15497 | with non-matche doffsettable memory constraint fro memory with | |
15498 | known offset. | |
15499 | ||
f6b64c35 RB |
15500 | 2013-04-19 Richard Biener <rguenther@suse.de> |
15501 | ||
15502 | PR tree-optimization/56982 | |
15503 | * builtins.def (BUILT_IN_LONGJMP): longjmp is not a leaf | |
15504 | function. | |
15505 | * gimplify.c (gimplify_call_expr): Notice special calls. | |
15506 | (gimplify_modify_expr): Likewise. | |
15507 | * tree-cfg.c (make_abnormal_goto_edges): Handle setjmp-like | |
15508 | abnormal control flow receivers. | |
15509 | (call_can_make_abnormal_goto): Handle cfun->calls_setjmp | |
15510 | in the same way as cfun->has_nonlocal_labels. | |
15511 | (gimple_purge_dead_abnormal_call_edges): Likewise. | |
15512 | (stmt_starts_bb_p): Make setjmp-like abnormal control flow | |
15513 | receivers start a basic-block. | |
15514 | ||
01d8bf07 RB |
15515 | 2013-04-19 Richard Biener <rguenther@suse.de> |
15516 | ||
15517 | * tree-vectorizer.h (struct _slp_instance): Move load_permutation | |
15518 | member ... | |
15519 | (struct _slp_tree): ... here. Make it a vector of unsigned ints. | |
15520 | (SLP_INSTANCE_LOAD_PERMUTATION): Remove. | |
15521 | (SLP_TREE_LOAD_PERMUTATION): Add. | |
15522 | (vect_transform_slp_perm_load): Adjust prototype. | |
15523 | * tree-vect-slp.c (vect_free_slp_tree): Adjust. | |
15524 | (vect_free_slp_instance): Likewise. | |
15525 | (vect_create_new_slp_node): Likewise. | |
15526 | (vect_supported_slp_permutation_p): Remove. | |
15527 | (vect_slp_rearrange_stmts): Adjust. | |
15528 | (vect_supported_load_permutation_p): Likewise. Inline | |
15529 | vect_supported_slp_permutation_p here. | |
15530 | (vect_analyze_slp_instance): Compute load permutations per | |
15531 | slp node instead of per instance. | |
15532 | (vect_get_slp_defs): Adjust. | |
15533 | (vect_transform_slp_perm_load): Likewise. | |
15534 | (vect_schedule_slp_instance): Remove redundant code. | |
15535 | (vect_schedule_slp): Remove hack for PR56270, add it ... | |
15536 | * tree-vect-stmts.c (vectorizable_load): ... here, do not | |
15537 | CSE loads for SLP. Adjust. | |
15538 | ||
ede22fc3 GY |
15539 | 2013-04-19 Greta Yorsh <Greta.Yorsh@arm.com> |
15540 | ||
15541 | * config/arm/arm.c (load_multiple_sequence, ldm_stm_operation_p): Fix | |
15542 | spelling in two comments. | |
15543 | ||
67bc84fb GY |
15544 | 2013-04-19 Greta Yorsh <Greta.Yorsh@arm.com> |
15545 | ||
15546 | PR target/56797 | |
15547 | * config/arm/arm.c (load_multiple_sequence): Require SP | |
15548 | as base register for loads if SP is in the register list. | |
15549 | ||
e248d83f MJ |
15550 | 2013-04-19 Martin Jambor <mjambor@suse.cz> |
15551 | ||
15552 | PR tree-optimization/56718 | |
15553 | * ipa-cp.c (ipa_value_from_known_type_jfunc): Moved... | |
15554 | * ipa-prop.c (ipa_binfo_from_known_type_jfunc): ...here, renamed | |
15555 | and made public. Adjusted all callers. | |
15556 | (ipa_intraprocedural_devirtualization): New function. | |
15557 | * ipa-prop.h (ipa_binfo_from_known_type_jfunc): Declare. | |
15558 | (ipa_intraprocedural_devirtualization): Likewise. | |
15559 | * Makefile.in (tree-ssa-pre.o): Add ipa-prop.h to dependencies. | |
15560 | ||
4891e8f8 RB |
15561 | 2013-04-19 Richard Biener <rguenther@suse.de> |
15562 | ||
15563 | PR tree-optimization/57000 | |
15564 | * tree-ssa-reassoc.c (pass_reassoc): Add TODO_update_ssa_only_virtuals. | |
15565 | ||
dad89f7c TG |
15566 | 2013-04-19 Terry Guo <terry.guo@arm.com> |
15567 | ||
15568 | * config/arm/cortex-m4-fpu.md (cortex_m4_v): Delete cpu unit. | |
15569 | Replace with ... | |
15570 | (cortex_m4_v_a, cortex_m4_v_b): ... new cpu units. | |
15571 | (cortex_m4_v, cortex_m4_exa_va, cortex_m4_exb_vb): New reservations. | |
15572 | (cortex_m4_fmacs): Use new reservations. | |
15573 | (cortex_m4_f_load, cortex_m4_f_store): Likewise. | |
15574 | ||
72ea0d47 VM |
15575 | 2013-04-18 Vladimir Makarov <vmakarov@redhat.com> |
15576 | ||
f1e6512c | 15577 | PR rtl-optimization/56999 |
72ea0d47 VM |
15578 | * lra-coalesce.c (coalescable_pseudo_p): Remove 2nd parameter and |
15579 | related code. | |
15580 | (lra_coalesce): Remove split_origin_bitmap and related code. | |
15581 | * lra.c (lra): Coalesce after undoing inheritance. Recreate live | |
15582 | ranges if necessary. | |
15583 | ||
780a5b71 UB |
15584 | 2013-04-18 Uros Bizjak <ubizjak@gmail.com> |
15585 | ||
15586 | * config/i386/i386.c (x86_64_ms_sysv_extra_clobbered_registers): | |
15587 | New array. | |
15588 | (ix86_expand_call): Remove clobbered_registers array and use | |
15589 | x86_64_ms_sysv_extra_clobbered_registers instead. | |
15590 | * config/i386/i386.h (x86_64_ms_sysv_extra_clobbered_registers): | |
15591 | Declare here. | |
15592 | * config/i386/predicates.md (call_rex64_ms_sysv_operation): New | |
15593 | predicate. | |
15594 | * config/i386/i386.md (*call_rex64_ms_sysv): Use | |
15595 | call_rex64_ms_sysv_operation predicate. Remove explicit clobbers. | |
15596 | (*call_value_rex64_ms_sysv): Ditto. | |
15597 | ||
6f5a366a CC |
15598 | 2013-04-18 Cary Coutant <ccoutant@google.com> |
15599 | ||
15600 | * dwarf2out.c (output_pubnames): Check die_perennial_p of | |
15601 | parent instead of die_mark. | |
15602 | ||
475b8f37 DN |
15603 | 2013-04-18 Diego Novillo <dnovillo@google.com> |
15604 | ||
15605 | * gimple.c (create_gimple_tmp): New. | |
15606 | (get_expr_type): New. | |
15607 | (build_assign): New. | |
15608 | (build_type_cast): New. | |
15609 | * gimple.h (enum ssa_mode): Define. | |
15610 | (gimple_seq_set_location): New. | |
15611 | * asan.c (build_check_stmt): Change some gimple_build_* calls | |
780a5b71 | 15612 | to use build_assign and build_type_cast. |
475b8f37 | 15613 | |
08940f33 RB |
15614 | 2013-04-18 Richard Biener <rguenther@suse.de> |
15615 | ||
15616 | * tree-vect-data-refs.c (vect_analyze_group_access): Properly | |
15617 | handle negative step. Remove redundant checks. | |
15618 | (vect_create_data_ref_ptr): Avoid ICEs with non-constant steps. | |
15619 | * tree-vect-stmts.c (vectorizable_load): Instead of asserting | |
15620 | for negative step and grouped loads fail to vectorize. | |
15621 | ||
0e0f87d4 SB |
15622 | 2013-04-18 Steven Bosscher <steven@gcc.gnu.org> |
15623 | ||
15624 | * emit-rtl.c (reset_insn_used_flags): New function. | |
15625 | (reset_all_used_flags): Use it. | |
15626 | (verify_insn_sharing): New function. | |
15627 | (verify_rtl_sharing): Fix verification for SEQUENCEs. | |
15628 | ||
4c445590 JJ |
15629 | 2013-04-18 Jakub Jelinek <jakub@redhat.com> |
15630 | ||
15631 | PR tree-optimization/56984 | |
15632 | * tree-vrp.c (register_edge_assert_for_2): For (x >> M) < N | |
15633 | and (x >> M) >= N don't register any assertion if N << M is the | |
15634 | minimum value. | |
15635 | ||
6873ecab SB |
15636 | 2013-04-18 Steven Bosscher <steven@gcc.gnu.org> |
15637 | ||
15638 | * lower-subreg.c (resolve_simple_move): If called self-recursive, | |
15639 | do not delete_insn insns that have not yet been emitted, only | |
15640 | unlink them with remove_insn. | |
15641 | * df-scan.c (df_insn_delete): Revert r197492. | |
15642 | ||
3ccb989e SB |
15643 | 2013-04-17 Steven Bosscher <steven@gcc.gnu.org> |
15644 | ||
15645 | * emit-rtl.c (link_insn_into_chain): Handle chaining of SEQUENCEs. | |
15646 | * reorg.c (emit_delay_sequence): Simplify with emit-rtl API. | |
15647 | ||
15648 | 2013-04-17 Greta Yorsh <Greta.Yorsh@arm.com> | |
0480fff0 GY |
15649 | |
15650 | * config/arm/arm.md (movsicc_insn): Convert define_insn into | |
15651 | define_insn_and_split. | |
15652 | (and_scc,ior_scc,negscc): Likewise. | |
15653 | (cmpsi2_addneg, subsi3_compare): Convert to named patterns. | |
15654 | ||
3ccb989e | 15655 | 2013-04-17 Greta Yorsh <Greta.Yorsh@arm.com> |
367075fe GY |
15656 | |
15657 | * config/arm/arm.c (use_return_insn): Return 0 for targets that | |
15658 | can benefit from using a sequence of LDRD instructions in epilogue | |
15659 | instead of a single LDM instruction. | |
15660 | ||
6d10a203 MLI |
15661 | 2013-04-17 Manuel López-Ibáñez <manu@gcc.gnu.org> |
15662 | ||
15663 | PR 45688 | |
15664 | * doc/extend.texi: Fix typo. | |
15665 | ||
6983e6b5 RB |
15666 | 2013-04-17 Richard Biener <rguenther@suse.de> |
15667 | ||
15668 | * tree-vect-slp.c (vect_build_slp_tree_1): Split out from ... | |
15669 | (vect_build_slp_tree): ... here. | |
15670 | (vect_build_slp_tree_1): Compute which stmts of the SLP group | |
15671 | match. Remove special-casing of mismatched complex loads. | |
15672 | (vect_build_slp_tree): Based on the result from vect_build_slp_tree_1 | |
15673 | re-try the match with swapped commutative operands. | |
15674 | (vect_supported_load_permutation_p): Remove special-casing of | |
15675 | mismatched complex loads. | |
15676 | (vect_analyze_slp_instance): Adjust. | |
15677 | ||
ef23e6a2 RB |
15678 | 2013-04-17 Richard Biener <rguenther@suse.de> |
15679 | ||
15680 | PR rtl-optimization/56921 | |
15681 | * cfgloop.h (struct loop): Add simple_loop_desc member. | |
15682 | (struct niter_desc): Mark with GTY(()). | |
15683 | (simple_loop_desc): Do not use aux field but simple_loop_desc. | |
15684 | * loop-iv.c (get_simple_loop_desc): Likewise. | |
15685 | (free_simple_loop_desc): Likewise. | |
15686 | ||
15687 | Revert | |
15688 | 2013-04-16 Richard Biener <rguenther@suse.de> | |
15689 | ||
15690 | PR rtl-optimization/56921 | |
15691 | * loop-init.c (pass_rtl_move_loop_invariants): Add | |
15692 | TODO_do_not_ggc_collect to todo_flags_finish. | |
15693 | (pass_rtl_unswitch): Same. | |
15694 | (pass_rtl_unroll_and_peel_loops): Same. | |
15695 | (pass_rtl_doloop): Same. | |
15696 | ||
fc6f94f5 EB |
15697 | 2013-04-17 Eric Botcazou <ebotcazou@adacore.com> |
15698 | ||
15699 | * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p): New. | |
15700 | (decl_refs_may_alias_p): Add REF1 and REF2 parameters. | |
15701 | Use nonoverlapping_component_refs_of_decl_p to disambiguate component | |
15702 | references. | |
15703 | (refs_may_alias_p_1): Adjust call to decl_refs_may_alias_p. | |
15704 | * tree-streamer.c (record_common_node): Adjust reference in comment. | |
15705 | ||
10a88311 TG |
15706 | 2013-04-17 Terry Guo <terry.guo@arm.com> |
15707 | ||
15708 | * config/arm/cortex-m4.md: Add a new bypass. | |
15709 | ||
6d9b7208 | 15710 | 2013-04-16 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
f3d096b0 N |
15711 | |
15712 | * config/aarch64/aarch64.md (*adds_<optab><mode>_multp2): | |
15713 | New pattern. | |
15714 | (*subs_<optab><mode>_multp2): New pattern. | |
15715 | (*adds_<optab><ALLX:mode>_<GPI:mode>): New pattern. | |
15716 | (*subs_<optab><ALLX:mode>_<GPI:mode>): New pattern. | |
15717 | ||
6d9b7208 | 15718 | 2013-04-16 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
860ad33f N |
15719 | |
15720 | * config/aarch64/aarch64.md (*adds_mul_imm_<mode>): New pattern. | |
15721 | (*subs_mul_imm_<mode>): New pattern. | |
15722 | ||
18a6701e DE |
15723 | 2013-04-16 David Edelsohn <dje.gcc@gmail.com> |
15724 | ||
15725 | PR target/56948 | |
15726 | * config/rs6000/vsx.md (vsx_mov<mode>): Add j->r alternative. | |
15727 | (vsx_movti_64bit): Change j->wa to O->wa. Add n->r alternative. | |
15728 | (vsx_movti_32bit): Change j->wa to O->wa. | |
15729 | ||
07c37b2f RB |
15730 | 2013-04-16 Richard Biener <rguenther@suse.de> |
15731 | ||
15732 | PR rtl-optimization/56921 | |
15733 | * loop-init.c (pass_rtl_move_loop_invariants): Add | |
15734 | TODO_do_not_ggc_collect to todo_flags_finish. | |
15735 | (pass_rtl_unswitch): Same. | |
15736 | (pass_rtl_unroll_and_peel_loops): Same. | |
15737 | (pass_rtl_doloop): Same. | |
15738 | ||
0e0f87d4 | 15739 | 2013-04-16 Greta Yorsh <Greta.Yorsh@arm.com> |
974ba22d GY |
15740 | |
15741 | * config/arm/arm.c (emit_multi_reg_push): New declaration | |
15742 | for an existing function. | |
15743 | (arm_emit_strd_push): New function. | |
15744 | (arm_expand_prologue): Used here. | |
15745 | (arm_emit_ldrd_pop): New function. | |
15746 | (arm_expand_epilogue): Used here. | |
15747 | (arm_get_frame_offsets): Update condition. | |
15748 | (arm_emit_multi_reg_pop): Add a special case for load of a single | |
15749 | register with writeback. | |
15750 | ||
5e8e2af4 UB |
15751 | 2013-04-16 Uros Bizjak <ubizjak@gmail.com> |
15752 | ||
15753 | * doc/invoke.texi (i386 Option): Reword -mstack-protector-guard | |
15754 | description. | |
15755 | ||
9fd9ccf7 RB |
15756 | 2013-04-16 Richard Biener <rguenther@suse.de> |
15757 | ||
15758 | PR tree-optimization/56756 | |
15759 | * tree-ssa-loop-im.c (struct first_mem_ref_loc_1): New functor. | |
15760 | (first_mem_ref_loc): New. | |
15761 | (execute_sm): Place the load temporarily before a previous | |
15762 | access instead of in the latch edge to ensure its SSA dependencies | |
15763 | are defined at points dominating the load. | |
15764 | ||
96fba521 SB |
15765 | 2013-04-16 Steven Bosscher <steven@gcc.gnu.org> |
15766 | ||
4c8af858 SB |
15767 | * cfgrtl.c (cfg_layout_merge_blocks): Revert r184005, implement |
15768 | correct fix by moving header and footer insn to the footer of | |
15769 | the merged basic block. Clear BB_END of the merged-away block. | |
15770 | ||
96fba521 SB |
15771 | PR middle-end/43631 |
15772 | * emit-rtl.c (make_note_raw): New function. | |
15773 | (link_insn_into_chain): New static inline function. | |
15774 | (add_insn): Use it. | |
15775 | (add_insn_before, add_insn_after): Factor insn chain linking code... | |
15776 | (add_insn_before_nobb, add_insn_after_nobb): ...here, new functions | |
15777 | using link_insn_into_chain. | |
15778 | (note_outside_basic_block_p): New helper function for emit_note_after | |
15779 | and emit_note_before. | |
15780 | (emit_note_after): Use nobb variant of add_insn_after if the note | |
15781 | should not be contained in a basic block. | |
15782 | (emit_note_before): Use nobb variant of add_insn_before if the note | |
15783 | should not be contained in a basic block. | |
15784 | (emit_note_copy): Use make_note_raw. | |
15785 | (emit_note): Likewise. | |
15786 | * bb-reorder.c (insert_section_boundary_note): Remove hack to set | |
15787 | BLOCK_FOR_INSN to NULL manually for NOTE_INSN_SWITCH_TEXT_SECTIONS. | |
15788 | * jump.c (cleanup_barriers): Use reorder_insns_nobb to avoid making | |
15789 | the moved barrier the tail of the basic block it follows. | |
15790 | * var-tracking.c (pass_variable_tracking): Add TODO_verify_flow. | |
15791 | ||
7b8265ba JJ |
15792 | 2013-04-15 Jakub Jelinek <jakub@redhat.com> |
15793 | ||
15794 | PR tree-optimization/56962 | |
15795 | * gimple-ssa-strength-reduction.c (record_increment): Only set | |
15796 | initializer if gimple_assign_rhs_code is {,POINTER_}PLUS_EXPR and | |
15797 | either rhs1 or rhs2 is equal to c->base_expr. | |
15798 | ||
5185d248 RB |
15799 | 2013-04-15 Richard Biener <rguenther@suse.de> |
15800 | ||
15801 | PR tree-optimization/56933 | |
15802 | * tree-vectorizer.h (struct _stmt_vec_info): Remove read_write_dep | |
15803 | member. | |
15804 | (GROUP_READ_WRITE_DEPENDENCE): Remove. | |
15805 | (STMT_VINFO_GROUP_READ_WRITE_DEPENDENCE): Likewise. | |
15806 | * tree-vect-data-refs.c (vect_analyze_group_access): Move | |
15807 | dependence check ... | |
15808 | vect_analyze_data_ref_dependence (vect_analyze_data_ref_dependence): | |
15809 | ... here. | |
15810 | * tree-vect-stmts.c (new_stmt_vec_info): Do not initialize | |
15811 | GROUP_READ_WRITE_DEPENDENCE. | |
15812 | ||
a24243a0 AK |
15813 | 2013-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15814 | ||
15815 | * emit-rtl.c (reset_all_used_flags): New function. | |
15816 | (verify_rtl_sharing): Call reset_all_used_flags before and after | |
15817 | performing the checks. | |
15818 | ||
1c50eada KT |
15819 | 2013-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
15820 | ||
15821 | * config/arm/arm.c (const_ok_for_dimode_op): Handle AND case. | |
15822 | * config/arm/arm.md (*anddi3_insn): Change to insn_and_split. | |
15823 | * config/arm/constraints.md (De): New constraint. | |
15824 | * config/arm/neon.md (anddi3_neon): Delete. | |
15825 | (neon_vand<mode>): Expand to standard anddi3 pattern. | |
15826 | * config/arm/predicates.md (imm_for_neon_inv_logic_operand): | |
15827 | Move earlier in the file. | |
15828 | (neon_inv_logic_op2): Likewise. | |
15829 | (arm_anddi_operand_neon): New predicate. | |
15830 | ||
e927b6ad RO |
15831 | 2013-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15832 | ||
15833 | * configure.ac (gcc_cv_ld_as_needed): Set | |
15834 | gcc_cv_ld_as_needed_option, gcc_cv_no_as_needed_option. | |
15835 | Use -z ignore, -z record on *-*-solaris2*. | |
15836 | (HAVE_LD_AS_NEEDED): Update comment. | |
15837 | (LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION): Define. | |
15838 | * configure: Regenerate. | |
15839 | * config.in: Regenerate. | |
15840 | * gcc.c (init_gcc_specs) [USE_LD_AS_NEEDED]: Use | |
15841 | LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION. | |
15842 | * config/sol2.h [HAVE_LD_AS_NEEDED] (USE_LD_AS_NEEDED): Define. | |
15843 | * doc/tm.texi.in (USE_LD_AS_NEEDED): Allow for --as-needed | |
15844 | equivalents. Fix markup. | |
15845 | * doc/tm.texi: Regenerate. | |
15846 | ||
e0ea8797 AH |
15847 | 2013-04-15 Andrew Hsieh <andrewhsieh.google.com> |
15848 | ||
15849 | * config/i386/i386.opt: New option mstack-protector-guard=. | |
15850 | * config/i386/i386-opts.h: Add enum stack_protector_guard. | |
15851 | * config/i386/i386.h: Define TARGET_SSP_GLOBAL_GUARD and | |
15852 | TARGET_SSP_TLS_GUARD. | |
15853 | * config/i386/i386.c (ix86_option_override_internal): Set | |
15854 | ix86_stack_protector_guard. | |
15855 | * config/i386/i386.md (stack_protect_set): Enable for | |
15856 | TARGET_SSP_TLS_GUARD only. | |
15857 | (stack_protect_set_<mode>): Ditto. | |
15858 | (stack_protect_test): Ditto. | |
15859 | (stack_protect_test_<mode>): Ditto. | |
15860 | * doc/invoke.texi (i386 Option): Document. | |
15861 | ||
811b72f9 EB |
15862 | 2013-04-15 Eric Botcazou <ebotcazou@adacore.com> |
15863 | ||
15864 | PR target/56890 | |
15865 | * config/sparc/sparc.c (enum sparc_mode_class): Add H_MODE value. | |
15866 | (S_MODES): Set H_MODE bit. | |
15867 | (SF_MODES): Set only S_MODE and SF_MODE bits. | |
15868 | (DF_MODES): Set SF_MODES and only D_MODE and DF_MODE bits. | |
15869 | (sparc_init_modes) <MODE_INT>: Set H_MODE bit for sub-word modes. | |
15870 | <MODE_VECTOR_INT>: Do not set SF_MODE for sub-word modes. | |
15871 | <MODE_FLOAT>: Likewise. | |
15872 | ||
5529fdd6 JY |
15873 | 2013-04-15 Joey Ye <joey.ye@arm.com> |
15874 | ||
15875 | * config/arm/arm.c (thumb_far_jump_used_p): Fix typo in comments. | |
15876 | ||
517b1da2 JY |
15877 | 2013-04-15 Joey Ye <joey.ye@arm.com> |
15878 | ||
15879 | * config/arm/arm.c (thumb1_final_prescan_insn): Assert lr save | |
15880 | for real far jump. | |
15881 | (thumb_far_jump_used_p): Count instruction size and set | |
15882 | far_jump_used. | |
15883 | ||
01007ae0 EB |
15884 | 2013-04-14 Eric Botcazou <ebotcazou@adacore.com> |
15885 | ||
15886 | * reorg.c (fill_simple_delay_slots): Reindent block of code. | |
15887 | * resource.c (mark_target_live_regs): Reformat conditional block. | |
15888 | ||
c46f6580 SB |
15889 | 2013-04-13 Steven Bosscher <steven@gcc.gnu.org> |
15890 | ||
15891 | * sched-deps.c (deps_analyze_insn): Do not check for EH_REGION insn | |
15892 | notes, they are emitted only just before final. | |
15893 | * sched-int.h: Include insn-attr.h before checking INSN_SCHEDULING. | |
15894 | ||
1f397f45 SB |
15895 | 2013-04-13 Steven Bosscher <steven@gcc.gnu.org> |
15896 | ||
15897 | * emit-rtl.c (remove_insn): Do not call df_insn_delete here. | |
15898 | * cfgrtl.c (delete_insn): Call it here instead. | |
15899 | * lra-spills.c (lra_final_code_change): Use delete_insn. | |
15900 | * haifa-sched.c (sched_remove_insn): Likewise. | |
15901 | * sel-sched-ir.c (return_nop_to_pool): Clear INSN_DELETED_P for nops | |
15902 | returning to the nop pool. | |
15903 | (sel_remove_insn): Simplify the only_disconnect case via remove_insn, | |
15904 | use delete_insn for definitive removal. Clear BLOCK_FOR_INSN. | |
15905 | ||
58a51369 SB |
15906 | 2013-04-12 Steven Bosscher <steven@gcc.gnu.org> |
15907 | ||
15908 | * doc/tm.texi.in (LOOP_ALIGN): Remove loop note references. | |
15909 | * doc/tm.texi: Regenerated. | |
15910 | ||
33159866 UB |
15911 | 2013-04-12 Uros Bizjak <ubizjak@gmail.com> |
15912 | ||
15913 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Use ANY_QI_REGNO_P in | |
15914 | QImode checks. | |
15915 | ||
226e378f SB |
15916 | 2013-04-12 Steven Bosscher <steven@gcc.gnu.org> |
15917 | ||
15918 | * df-core.c (df_find_def): Compare register numbers. | |
15919 | (df_find_use): Likewise. | |
15920 | ||
fafb9b18 VM |
15921 | 2013-04-12 Vladimir Makarov <vmakarov@redhat.com> |
15922 | ||
15923 | PR target/56903 | |
15924 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Add | |
15925 | lra_in_progress for return. | |
15926 | ||
9a946fd6 GY |
15927 | 2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> |
15928 | ||
15929 | * config/arm/arm.md (mov_scc,mov_negscc,mov_notscc): Convert | |
15930 | define_insn into define_insn_and_split and emit movsicc patterns. | |
15931 | ||
41b83758 GY |
15932 | 2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> |
15933 | ||
15934 | * config/arm/arm.c (gen_operands_ldrd_strd): Initialize "base". | |
15935 | ||
d3afd9aa RB |
15936 | 2013-04-12 Richard Biener <rguenther@suse.de> |
15937 | ||
15938 | * tree-pass.h (TODO_do_not_ggc_collect): New. | |
15939 | * passes.c (execute_one_ipa_transform_pass): Honor | |
15940 | TODO_do_not_ggc_collect. | |
15941 | (execute_one_pass): Likewise. | |
15942 | ||
15943 | Revert | |
15944 | 2013-04-10 Richard Biener <rguenther@suse.de> | |
15945 | ||
15946 | * passes.c (init_optimization_passes): Remove reload pass. | |
15947 | * ira.c (do_reload): Merge into ... | |
15948 | (ira): ... this. | |
15949 | (rest_of_handle_reload): Remove. | |
15950 | (pass_reload): Likewise. | |
15951 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
15952 | of reload for vzeroupper pass placement. | |
15953 | ||
06f9b387 JJ |
15954 | 2013-04-12 Jakub Jelinek <jakub@redhat.com> |
15955 | ||
15956 | PR tree-optimization/56918 | |
15957 | PR tree-optimization/56920 | |
15958 | * fold-const.c (int_const_binop_1): Use op1.mul_with_sign (op2, ...) | |
15959 | instead of op1 - op2. Pass 2 * TYPE_PRECISION (type) as second | |
15960 | argument to rshift method. For 2 * HOST_BITS_PER_WIDE_INT precision | |
15961 | use wide_mul_with_sign method. | |
15962 | ||
953094d2 RB |
15963 | 2013-04-12 Richard Biener <rguenther@suse.de> |
15964 | ||
15965 | * gimple.c (is_gimple_constant): Vector CONSTRUCTORs should | |
15966 | not be considered a gimple constant. | |
15967 | ||
bb506982 MG |
15968 | 2013-04-12 Marc Glisse <marc.glisse@inria.fr> |
15969 | ||
15970 | * fold-const.c (const_binop): Handle vector shifts by a scalar. | |
15971 | (fold_binary_loc): Call const_binop also for mixed vector-scalar | |
15972 | operations. | |
15973 | ||
4b84d650 JJ |
15974 | 2013-04-12 Manuel López-Ibáñez <manu@gcc.gnu.org> |
15975 | Jakub Jelinek <jakub@redhat.com> | |
15976 | ||
15977 | * opts.c: Include diagnostic-color.h. | |
15978 | (common_handle_option): Handle OPT_fdiagnostics_color_. | |
15979 | * Makefile.in (OBJS-libcommon): Add diagnostic-color.o. | |
15980 | (diagnostic.o, opts.o, pretty-print.o): Depend on diagnostic-color.h. | |
15981 | (diagnostic-color.o): New. | |
15982 | * common.opt (fdiagnostics-color, fdiagnostics-color=): New options. | |
15983 | (diagnostic_color_rule): New enum. | |
15984 | * dwarf2out.c (gen_producer_string): Don't print -fdiagnostics-color*. | |
15985 | * langhooks.c (lhd_print_error_function): Add %r "locus" and %R around | |
15986 | the location string. | |
15987 | * diagnostic.def: Add 3rd argument to DEFINE_DIAGNOSTIC_KIND macros, | |
15988 | either NULL, or color kind. | |
15989 | * diagnostic-color.c: New file. | |
15990 | * diagnostic-color.h: New file. | |
15991 | * diagnostic-core.h (DEFINE_DIAGNOSTIC_KIND): Adjust macro for 3 | |
15992 | arguments. | |
15993 | * doc/invoke.texi (-fdiagnostics-color): Document. | |
15994 | * pretty-print.h (pp_show_color): Define. | |
15995 | (struct pretty_print_info): Add show_color field. | |
15996 | * diagnostic.c: Include diagnostic-color.h. | |
15997 | (diagnostic_build_prefix): Adjust for 3 argument DEFINE_DIAGNOSTIC_KIND | |
15998 | macros. Colorize error:, warning: etc. strings and also the location | |
15999 | string. | |
16000 | (diagnostic_show_locus): Colorize the caret line. | |
16001 | * pretty-print.c: Include diagnostic-color.h. | |
16002 | (pp_base_format): Handle %r and %R format specifiers. Colorize strings | |
16003 | inside of %< %> quotes or quoted through q format modifier. | |
16004 | ||
067a1e71 AK |
16005 | 2013-04-12 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16006 | ||
33159866 | 16007 | * ifcvt.c (end_ifcvt_sequence): Mark a and b for unsharing as well. |
067a1e71 | 16008 | |
33159866 | 16009 | 2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
b056c910 N |
16010 | |
16011 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Allow NEG | |
16012 | code in CC_NZ mode. | |
16013 | * config/aarch64/aarch64.md (*neg_<shift><mode>3_compare0): New | |
16014 | pattern. | |
16015 | ||
7b55f98f MP |
16016 | 2013-04-11 Marek Polacek <polacek@redhat.com> |
16017 | ||
16018 | PR tree-optimization/48184 | |
33159866 | 16019 | * params.def (PARAM_ALIGN_THRESHOLD): Increase the minimum value to 1. |
7b55f98f | 16020 | |
966b587e EB |
16021 | 2013-04-11 Eric Botcazou <ebotcazou@adacore.com> |
16022 | ||
16023 | * stor-layout.c (skip_simple_constant_arithmetic): Move to... | |
16024 | * tree.c (skip_simple_constant_arithmetic): ...here and make public. | |
16025 | (skip_simple_arithmetic): Tidy up. | |
16026 | * tree.h (skip_simple_constant_arithmetic): Declare. | |
16027 | ||
33159866 | 16028 | 2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
f8bf91ab N |
16029 | |
16030 | * config/aarch64/aarch64.h (REVERSIBLE_CC_MODE): Define. | |
16031 | ||
1d42c1ec RB |
16032 | 2013-04-11 Richard Biener <rguenther@suse.de> |
16033 | ||
16034 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
16035 | generate vector constants. | |
16036 | ||
4ba5ea11 RB |
16037 | 2013-04-11 Richard Biener <rguenther@suse.de> |
16038 | ||
16039 | PR tree-optimization/56878 | |
16040 | * tree-flow.h (outermost_invariant_loop_for_expr): Declare. | |
16041 | * tree-ssa-loop-ivopts.c (outermost_invariant_loop_for_expr): | |
16042 | New function. | |
16043 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): | |
16044 | Prefer to align the DR with the most invariant base address. | |
16045 | ||
f0defe58 SKS |
16046 | 2013-04-11 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
16047 | ||
16048 | * opts.c (common_handle_option): Fix formatting and add FALLTHRU | |
16049 | comment. | |
16050 | ||
d07458be JG |
16051 | 2013-04-11 James Greenhalgh <james.greenhalgh@arm.com> |
16052 | ||
16053 | * config/aarch64/aarch64-simd.md (aarch64_vcond_internal): Fix | |
16054 | floating-point vector comparisons against 0. | |
16055 | ||
146b8692 JJ |
16056 | 2013-04-11 Jakub Jelinek <jakub@redhat.com> |
16057 | ||
16058 | PR tree-optimization/56899 | |
16059 | * fold-const.c (extract_muldiv_1): Apply distributive law | |
16060 | only if TYPE_OVERFLOW_WRAPS (ctype). | |
16061 | ||
b8578ff7 BC |
16062 | 2013-04-11 Bin Cheng <bin.cheng@arm.com> |
16063 | ||
16064 | PR target/56124 | |
16065 | * ira-costs.c (scan_one_insn): Check whether the source rtx of | |
16066 | loading has side effect. | |
16067 | ||
0ea8a6f9 SB |
16068 | 2013-04-10 Steven Bosscher <steven@gcc.gnu.org> |
16069 | ||
16070 | * config/sparc/sparc.c: Include tree-pass.h. | |
16071 | (TARGET_MACHINE_DEPENDENT_REORG): Do not redefine. | |
16072 | (sparc_reorg): Rename to sparc_do_work_around_errata. Move to | |
16073 | head of file. Change return type. Split off gate function. | |
16074 | (sparc_gate_work_around_errata): New function. | |
16075 | (pass_work_around_errata): New pass definition. | |
16076 | (insert_pass_work_around_errata) New pass insert definition to | |
16077 | insert pass_work_around_errata just after delayed-branch scheduling. | |
16078 | (sparc_option_override): Insert the pass. | |
16079 | * config/sparc/t-sparc (sparc.o): Add TREE_PASS_H dependence. | |
16080 | ||
42e37616 DM |
16081 | 2013-04-10 David S. Miller <davem@davemloft.net> |
16082 | ||
89deeb3b DM |
16083 | * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=supersparc |
16084 | or -mcpu=hypersparc. | |
16085 | ||
42e37616 DM |
16086 | * target.def (cstore_mode): New hook. |
16087 | * target.h: Include insn-codes.h | |
16088 | * targhooks.c: Likewise. | |
16089 | (default_cstore_mode): New function. | |
16090 | * targhooks.h: Declare it. | |
16091 | * doc/tm.texi.in: New hook slot for TARGET_CSTORE_MODE. | |
16092 | * doc/tm.texi: Rebuild. | |
16093 | * expmed.c (emit_cstore): Obtain cstore boolean result mode using | |
16094 | target hook, rather than inspecting the insn_data. | |
16095 | * config/sparc/sparc.c (sparc_cstore_mode): New function. | |
16096 | (TARGET_CSTORE_MODE): Redefine. | |
16097 | (emit_scc_insn): When TARGET_ARCH64, emit new 64-bit boolean | |
16098 | result patterns. | |
16099 | * config/sparc/predicates.md (cstore_result_operand): New special | |
16100 | predicate. | |
16101 | * config/sparc/sparc.md (cstoresi4, cstoredi4, cstore<F:mode>4): | |
16102 | Use it for operand 0. | |
16103 | (*seqsi_special): Rewrite using 'P' mode iterator on operand 0. | |
16104 | (*snesi_special): Likewise. | |
16105 | (*snesi_zero): Likewise. | |
16106 | (*seqsi_zero): Likewise. | |
16107 | (*sltu_insn): Likewise. | |
16108 | (*sgeu_insn): Likewise. | |
16109 | (*seqdi_special): Make operand 0 and comparison operation be of | |
16110 | DImode. | |
16111 | (*snedi_special): Likewise. | |
16112 | (*snedi_special_vis3): Likewise. | |
16113 | (*neg_snesi_zero): Rename to *neg_snesisi_zero. | |
16114 | (*neg_snesi_sign_extend): Rename to *neg_snesidi_zero. | |
16115 | (*snesi_zero_extend): Delete, covered by 'P' mode iterator. | |
16116 | (*neg_seqsi_zero): Rename to *neg_seqsisi_zero. | |
16117 | (*neg_seqsi_sign_extend): Rename to *neg_seqsidi_zero. | |
16118 | (*seqsi_zero_extend): Delete, covered by 'P' mode iterator. | |
16119 | (*sltu_extend_sp64): Likewise. | |
16120 | (*neg_sltu_insn): Rename to *neg_sltusi_insn. | |
16121 | (*neg_sltu_extend_sp64): Rename to *neg_sltudi_insn. | |
16122 | (*sgeu_extend_sp64): Delete, covered by 'P' mode iterator. | |
16123 | (*neg_sgeu_insn): Rename to *neg_sgeusi_insn. | |
16124 | (*neg_sgeu_extend_sp64): Rename to *neg_sgeudi_insn. | |
16125 | ||
95ca411e YZ |
16126 | 2013-04-10 Yufeng Zhang <yufeng.zhang@arm.com> |
16127 | ||
16128 | * config/aarch64/aarch64.c (aarch64_print_extension): New function. | |
16129 | (aarch64_start_file): Use the new function. | |
16130 | ||
6782438d | 16131 | 2013-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
33159866 | 16132 | Jason Merrill <jason@redhat.com> |
6782438d SKS |
16133 | |
16134 | * common.opt: Add -gdwarf. | |
16135 | * opts.c (common_handle_option): Handle it. | |
16136 | * gcc.c (ASM_DEBUG_SPEC): Don't expect "-2" for DWARF. | |
16137 | ||
bb313b93 RB |
16138 | 2013-04-10 Richard Biener <rguenther@suse.de> |
16139 | ||
16140 | * passes.c (execute_todo): Do not call ggc_collect conditional here. | |
16141 | (execute_one_ipa_transform_pass): But unconditionally here. | |
16142 | (execute_one_pass): And here. | |
16143 | (init_optimization_passes): Remove reload pass. | |
16144 | * tree-pass.h (TODO_ggc_collect): Remove. | |
16145 | (pass_reload): Likewise. | |
16146 | * ira.c (do_reload): Merge into ... | |
16147 | (ira): ... this. | |
16148 | (rest_of_handle_reload): Remove. | |
16149 | (pass_reload): Likewise. | |
16150 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
16151 | of reload for vzeroupper pass placement. | |
16152 | * <everywhere>: Remove TODO_ggc_collect from todo_flags_start | |
16153 | and todo_flags_finish of all passes. | |
16154 | ||
793d9a16 RB |
16155 | 2013-04-10 Richard Biener <rguenther@suse.de> |
16156 | ||
16157 | * tree-vectorizer.h (struct _slp_oprnd_info): Remove | |
16158 | first_const_oprnd field, rename first_def_type to first_op_type. | |
16159 | * tree-vect-slp.c (vect_create_oprnd_info): Adjust. | |
16160 | (vect_get_and_check_slp_defs): Always use the type of the | |
16161 | operand. Allow mixed vect_external_def, vect_constant_def types. | |
16162 | (vect_get_constant_vectors): Handle mixed vect_external_def, | |
16163 | vect_constant_def types. | |
16164 | ||
12211b99 | 16165 | 2013-04-10 Joern Rennecke <joern.rennecke@embecosm.com> |
ee8a9b7b JR |
16166 | |
16167 | PR tree-optimization/55524 | |
16168 | * tree-ssa-math-opts.c | |
16169 | (convert_mult_to_fma): Don't use an fms construct | |
16170 | when we don't have an fms operation, but fnma, and it looks | |
16171 | likely that we'll be able to use the latter. | |
16172 | ||
12211b99 | 16173 | 2013-04-10 Zhouyi Zhou <yizhouzhou@ict.ac.cn> |
6957a6f6 ZZ |
16174 | |
16175 | * cif-code.def (OVERWRITABLE): Correct the comment for overwritable | |
16176 | function. | |
16177 | * ipa-inline.c (can_inline_edge_p): Let dump mechanism report the | |
16178 | inline fail caused by overwritable functions. | |
16179 | ||
34ab4a5b CJW |
16180 | 2013-04-10 Chung-Ju Wu <jasonwucj@gmail.com> |
16181 | ||
16182 | * combine.c (simplify_compare_const): Use GET_MODE_MASK to filter out | |
16183 | unnecessary bits in the constant power of two case. | |
16184 | ||
abf9bfbc RB |
16185 | 2013-04-10 Richard Biener <rguenther@suse.de> |
16186 | ||
16187 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove | |
16188 | broken code swapping operands. | |
16189 | (vect_build_slp_tree): Do not compute load permutations here. | |
16190 | (vect_analyze_slp_instance): Compute load permutations here, | |
16191 | after building the SLP tree. | |
16192 | ||
f408477e CB |
16193 | 2013-04-09 Christian Bruel <christian.bruel@st.com> |
16194 | ||
16195 | * config/sh/sh.md (barrier_align): Use next/prev_active_insn instead | |
16196 | of next/prev_real_insn. | |
16197 | ||
5ac42672 JH |
16198 | 2013-04-09 Jan Hubicka <jh@suse.cz> |
16199 | ||
abf9bfbc RB |
16200 | * ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): |
16201 | Drop aliased parameter. | |
5ac42672 JH |
16202 | (function_and_variable_visibility): Do not handle alias pairs. |
16203 | * cgraph.c (varpool_externally_visible_p): Update prototype. | |
16204 | * varpool.c (varpool_add_new_variable): Update. | |
16205 | ||
5017f1d2 KT |
16206 | 2013-04-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
16207 | ||
16208 | * config/arm/arm.md (minmax_arithsi_non_canon): New pattern. | |
16209 | ||
48eecbee SB |
16210 | 2013-04-09 Steven Bosscher <steven@gcc.gnu.org> |
16211 | ||
a949cf1c SB |
16212 | * sched-vis.c (print_pattern): Print SEQUENCE of insns as insns. |
16213 | ||
48eecbee SB |
16214 | * config/sparc/sparc.md: Use define_c_enum for "unspec" and "unspecv". |
16215 | ||
75ef8e3d MP |
16216 | 2013-04-09 Marek Polacek <polacek@redhat.com> |
16217 | ||
16218 | PR tree-optimization/48762 | |
33159866 | 16219 | * params.def (PARAM_MAX_CSE_INSNS): Increase the minimum value to 1. |
75ef8e3d | 16220 | |
23847df4 RB |
16221 | 2013-04-09 Richard Biener <rguenther@suse.de> |
16222 | ||
16223 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove code | |
16224 | dealing with cost. | |
16225 | (vect_build_slp_tree): Likewise. | |
16226 | (vect_analyze_slp_cost_1, vect_analyze_slp_cost): New functions | |
16227 | calculating the cost of a SLP instance. | |
16228 | (vect_analyze_slp_instance): Use it from here, after building | |
16229 | the SLP tree. | |
16230 | ||
ea3a0fde JJ |
16231 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
16232 | ||
16233 | PR middle-end/56883 | |
16234 | * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk, | |
16235 | expand_omp_for_static_chunk): Use simple_p = true in | |
16236 | force_gimple_operand_gsi calls when assigning to addressable decls. | |
16237 | ||
a32dfe9d JL |
16238 | 2013-04-09 Jeff Law <law@redhat.com> |
16239 | ||
16240 | * tree-vrp.c (simplify_cond_using_ranges): Simplify test of boolean | |
16241 | when the boolean was created by converting a wider object which | |
16242 | had a boolean range. | |
16243 | ||
d755c7ef RB |
16244 | 2013-04-09 Richard Biener <rguenther@suse.de> |
16245 | ||
16246 | * tree-vectorizer.h (slp_void_p): Remove. | |
16247 | (slp_tree): Typedef before _slp_tree declaration. | |
16248 | (struct _slp_tree): Use a vector of slp_tree as children. | |
16249 | (vect_get_place_in_interleaving_chain): Remove. | |
16250 | * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain): | |
16251 | Move ... | |
16252 | * tree-vect-slp.c (vect_get_place_in_interleaving_chain): ... here | |
16253 | and make static. | |
16254 | (vect_free_slp_tree, vect_print_slp_tree, vect_mark_slp_stmts, | |
16255 | vect_mark_slp_stmts_relevant, vect_slp_rearrange_stmts, | |
16256 | vect_detect_hybrid_slp_stmts, vect_slp_analyze_node_operations, | |
16257 | vect_schedule_slp_instance, vect_remove_slp_scalar_calls): | |
16258 | Use slp_node instead of slp_void_p and adjust. | |
16259 | ||
3d741091 RB |
16260 | 2013-04-09 Richard Biener <rguenther@suse.de> |
16261 | ||
16262 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Avoid | |
16263 | work that is not necessary. | |
16264 | ||
39307ba7 JJ |
16265 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
16266 | ||
16267 | PR tree-optimization/56854 | |
16268 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't | |
16269 | forward into clobber stmts if it would change MEM_REF lhs into | |
16270 | non-MEM_REF. | |
16271 | ||
343881fd MK |
16272 | 2013-04-09 Maxim Kuvyrkov <maxim@kugelworks.com> |
16273 | ||
16274 | * tree.c (type_hash_lookup, type_hash_add): Make static. | |
16275 | * tree.h (type_hash_lookup, type_hash_add): Remove global declarations. | |
16276 | ||
3922658a RB |
16277 | 2013-04-09 Richard Biener <rguenther@suse.de> |
16278 | ||
16279 | * tree.h (unsave_expr_now): Remove. | |
16280 | * tree-inline.c (mark_local_for_remap_r): Remove. | |
16281 | (unsave_expr_1): Likewise. | |
16282 | (unsave_r): Likewise. | |
16283 | (unsave_expr_now): Likewise. | |
16284 | * tree-ssa-copy.c (replace_exp_1): Use unshare_expr. | |
16285 | (propagate_tree_value): Likewise. | |
16286 | ||
9fb6b620 SB |
16287 | 2013-04-08 Steven Bosscher <steven@gcc.gnu.org> |
16288 | ||
16289 | * doc/rtl.texi (sequence): Rewrite documentation to match the | |
16290 | current use of SEQUENCE rtl objects. | |
16291 | * rtl.def (SEQUENCE): Likewise. | |
16292 | ||
16293 | * doc/rtl.texi (NOTE_INSN_EH_REGION_BEG, NOTE_INSN_EH_REGION_END): | |
16294 | Update documentation. | |
16295 | (NOTE_INSN_LOOP_BEG, NOTE_INSN_LOOP_END, NOTE_INSN_LOOP_CONT, | |
16296 | NOTE_INSN_LOOP_VTOP): Remove documentation for non-existing notes. | |
16297 | ||
16298 | * reg-notes.def (REG_EH_CONTEXT): Remove unused note. | |
16299 | ||
8ddb5a29 TJ |
16300 | 2013-04-08 Teresa Johnson <tejohnson@google.com> |
16301 | ||
16302 | * basic-block.h (GCOV_COMPUTE_SCALE): Define. | |
16303 | * ipa-inline-analysis.c (param_change_prob): Use helper rounding divide | |
33159866 | 16304 | methods. |
8ddb5a29 TJ |
16305 | (estimate_edge_size_and_time): Add comment to suggest using rounding |
16306 | methods. | |
16307 | (estimate_node_size_and_time): Ditto. | |
16308 | (remap_edge_change_prob): Use helper rounding divide methods. | |
16309 | * value-prof.c (gimple_divmod_fixed_value_transform): Ditto. | |
16310 | (gimple_mod_pow2_value_transform): Ditto. | |
16311 | (gimple_mod_subtract_transform): Ditto. | |
16312 | (gimple_ic_transform): Ditto. | |
16313 | (gimple_stringops_transform): Ditto. | |
16314 | * stmt.c (conditional_probability): Ditto. | |
16315 | (emit_case_dispatch_table): Ditto. | |
16316 | * lto-cgraph.c (merge_profile_summaries): Ditto. | |
16317 | * tree-optimize.c (execute_fixup_cfg): Ditto. | |
16318 | * cfgcleanup.c (try_forward_edges): Ditto. | |
16319 | * cfgloopmanip.c (scale_loop_profile): Ditto. | |
16320 | (loopify): Ditto. | |
16321 | (duplicate_loop_to_header_edge): Ditto. | |
16322 | (lv_adjust_loop_entry_edge): Ditto. | |
16323 | * tree-vect-loop.c (vect_transform_loop): Ditto. | |
16324 | * profile.c (compute_branch_probabilities): Ditto. | |
16325 | * cfgbuild.c (compute_outgoing_frequencies): Ditto. | |
16326 | * lto-streamer-in.c (input_cfg): Ditto. | |
16327 | * gimple-streamer-in.c (input_bb): Ditto. | |
16328 | * ipa-cp.c (update_profiling_info): Ditto. | |
16329 | (update_specialized_profile): Ditto. | |
16330 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Ditto. | |
16331 | * cfg.c (update_bb_profile_for_threading): Add comment to suggest using | |
33159866 | 16332 | rounding methods. |
8ddb5a29 TJ |
16333 | * sched-rgn.c (compute_dom_prob_ps): Ditto. |
16334 | (compute_trg_info): Ditto. | |
16335 | * cfgrtl.c (force_nonfallthru_and_redirect): Ditto. | |
16336 | (purge_dead_edges): Ditto. | |
16337 | * loop-unswitch.c (unswitch_loop): Ditto. | |
16338 | * cgraphclones.c (cgraph_clone_edge): Ditto. | |
16339 | (cgraph_clone_node): Ditto. | |
16340 | * tree-inline.c (copy_bb): Ditto. | |
16341 | (copy_edges_for_bb): Ditto. | |
16342 | (initialize_cfun): Ditto. | |
16343 | (copy_cfg_body): Ditto. | |
16344 | (expand_call_inline): Ditto. | |
16345 | ||
661e6bd7 KT |
16346 | 2013-04-08 Kai Tietz <ktietz@redhat.com> |
16347 | ||
16348 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Replaced | |
16349 | TARGET_CYGWIN64 by TARGET_64BIT. | |
16350 | ||
105766f3 JR |
16351 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
16352 | ||
16353 | * config/epiphany/epiphany.md (GPR_1): New constant. | |
16354 | (define_expand "mov<mode>cc): FAIL if gen_compare_reg returned 0. | |
16355 | * config/epiphany/epiphany.c (gen_compare_reg): | |
16356 | For flag_finite_math_only, avoid swapping operands when r0 and/or r1 | |
16357 | is already in place. | |
16358 | Use GPR_0 / GPR_1 instead of 0/1 for r0/r1 register numbers. | |
16359 | Don't require being called during rtl expansion; If y operlaps r0, | |
16360 | return 0. | |
16361 | (epiphany_compute_frame_size, epiphany_expand_prologue): Use GPR_1. | |
16362 | (epiphany_expand_epilogue): Likewise. | |
16363 | ||
8afab237 JR |
16364 | * config/epiphany/epiphany.c (epiphany_select_cc_mode): |
16365 | Don't use CC_FPmode for ORDERED / UNORDERED. | |
33159866 | 16366 | * config/epiphany/epiphany.md (cmpsf_ord): Make pattern unconditional. |
8afab237 | 16367 | |
fa7707d6 JR |
16368 | * config/epiphany/constraints.md (CnL): New constraint. |
16369 | * config/epiphany/epiphany.md (addsi3_i): Add r/r/CnL alternative. | |
16370 | * config/epiphany/predicates.md (add_operand): Allow 1024. | |
16371 | ||
5138e18d JR |
16372 | * config/epiphany/epiphany.md (logical_op): New code iterator. |
16373 | (op_mnc): New code attribute. | |
16374 | (<op_mnc>_f, mov_f, cstoresi4): New patterns. | |
16375 | (mov_f+1, mov_f+2): New peephole2 patterns. | |
16376 | ||
2ccc703d JR |
16377 | * config/epiphany/epiphany.md (mov_f+2): New peephole2 pattern. |
16378 | (cstoresi4): Also allow re-use of zero result when doing a NE | |
16379 | comparison to a non-zero operand. | |
aefb0819 | 16380 | Use (clobber (scratch)) for first insn if the gpr output is not needed. |
2ccc703d | 16381 | |
093ac0a5 JR |
16382 | * config/epiphany/epiphany.md (<insn_opname>v2si3): |
16383 | Use gen_addsi3_i / gen_subsi3_i. | |
16384 | ||
f223bb13 JJ |
16385 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
16386 | ||
16387 | PR c++/34949 | |
16388 | PR c++/50243 | |
16389 | * tree-eh.c (optimize_clobbers): Only remove clobbers if bb doesn't | |
16390 | contain anything but clobbers, at most one __builtin_stack_restore, | |
16391 | optionally debug stmts and final resx, and if it has at least one | |
16392 | incoming EH edge. Don't check for SSA_NAME on LHS of a clobber. | |
16393 | (sink_clobbers): Don't check for SSA_NAME on LHS of a clobber. | |
16394 | Instead of moving clobbers with MEM_REF LHS with SSA_NAME address | |
16395 | which isn't defaut definition, remove them. | |
16396 | (unsplit_eh, cleanup_empty_eh): Use single_{pred,succ}_{p,edge} | |
16397 | instead of EDGE_COUNT comparisons or EDGE_{PRED,SUCC}. | |
16398 | * tree-ssa-ccp.c (execute_fold_all_builtins): Remove clobbers | |
16399 | with MEM_REF LHS with SSA_NAME address. | |
16400 | ||
4481581f JL |
16401 | 2013-04-08 Jeff Law <law@redhat.com> |
16402 | ||
16403 | * gimple.c (canonicalize_cond_expr_cond): Rewrite x ^ y into x != y. | |
a32dfe9d | 16404 | |
451dabda RB |
16405 | 2013-04-08 Richard Biener <rguenther@suse.de> |
16406 | ||
16407 | * gimple-pretty-print.c (debug_gimple_stmt): Do not print | |
16408 | extra newline. | |
16409 | * tree-vect-loop.c (vect_determine_vectorization_factor): Dump | |
16410 | determined vector type. | |
16411 | (vect_analyze_data_refs): Likewise. | |
16412 | (vect_get_new_vect_var): Adjust. | |
16413 | (vect_create_destination_var): Preserve SSA name versions. | |
16414 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Do | |
16415 | not dump anything here. | |
16416 | ||
3b088b47 JR |
16417 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
16418 | ||
16419 | * config/epiphany/epiphany.h (struct GTY (()) machine_function): | |
16420 | Add member lr_slot_known. | |
16421 | * config/epiphany/epiphany.md (reload_insi_ra): Compute lr_slot_offs | |
16422 | if necessary. | |
16423 | * config/epiphany/epiphany.c (epiphany_compute_frame_size): | |
16424 | Remove code that sets lr_slot_offset according to what a previous | |
16425 | version of epiphany_emit_save_restore used to do. | |
16426 | (epiphany_emit_save_restore): When doing an lr save or restore, | |
16427 | set/verify lr_slot_known and lr_slot_offset. | |
16428 | ||
d8484d41 XQ |
16429 | 2013-04-08 Xinyu Qi <xyqi@marvell.com> |
16430 | ||
33159866 UB |
16431 | PR target/54338 |
16432 | * config/arm/arm.h (REG_CLASS_CONTENTS): Include IWMMXT_GR_REGS | |
d8484d41 XQ |
16433 | in ALL_REGS. |
16434 | ||
481be1c4 RB |
16435 | 2013-04-08 Richard Biener <rguenther@suse.de> |
16436 | ||
16437 | * alias.c (find_base_term): Fix thinko in previous change. | |
16438 | ||
401f3a81 JJ |
16439 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
16440 | ||
16441 | * tree-loop-distribution.c (const_with_all_bytes_same): New function. | |
16442 | (generate_memset_builtin): Only handle integer_all_onesp as -1 val if | |
16443 | TYPE_PRECISION is equal to mode bitsize. Use const_with_all_bytes_same | |
16444 | if possible to compute val. | |
16445 | (classify_partition): Verify CONSTRUCTOR doesn't have any elts. | |
16446 | For QImode integers don't require anything about precision. Use | |
16447 | const_with_all_bytes_same to find out if the constant doesn't have | |
16448 | repeated bytes in it. | |
16449 | ||
03ed99a8 AK |
16450 | 2013-04-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16451 | ||
16452 | * config/s390/s390.c (s390_expand_insv): Only accept insertions | |
16453 | within mode size. | |
16454 | ||
781b2e62 MP |
16455 | 2013-04-08 Marek Polacek <polacek@redhat.com> |
16456 | ||
16457 | PR rtl-optimization/48182 | |
16458 | * params.def (PARAM_MIN_CROSSJUMP_INSNS): Increase the minimum | |
16459 | value to 1. | |
16460 | ||
27e430a2 JDA |
16461 | 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16462 | ||
16463 | PR target/55487 | |
16464 | * config/pa/pa.c (legitimize_pic_address): Before incrementing label | |
16465 | nuses, make sure we have a label. | |
16466 | ||
4902aa64 BS |
16467 | 2013-04-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
16468 | ||
16469 | PR target/56843 | |
16470 | * config/rs6000/rs6000.c (rs6000_emit_swdiv_high_precision): Remove. | |
16471 | (rs6000_emit_swdiv_low_precision): Remove. | |
16472 | (rs6000_emit_swdiv): Rewrite to handle between one and four | |
16473 | iterations of Newton-Raphson generally; modify required number of | |
16474 | iterations for some cases. | |
16475 | * config/rs6000/rs6000.h (RS6000_RECIP_HIGH_PRECISION_P): Remove. | |
16476 | ||
7bca81dc SB |
16477 | 2013-04-05 Steven Bosscher <steven@gcc.gnu.org> |
16478 | ||
16479 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove a | |
16480 | set-but-unused variable. | |
16481 | ||
16482 | * cgraph.c (cgraph_release_function_body): Clear cfun->cfg to make | |
16483 | basic blocks of released function bodies garbage-collectable. | |
16484 | ||
16485 | * ree.c (find_and_remove_re): Do not call df_finish_pass here. | |
16486 | (struct rtl_opt_pass): Add TODO_df_finish. | |
16487 | ||
16488 | * rtl.def (DEFINE_SUBST, DEFINE_SUBST_ATTR): Add documentation. | |
16489 | ||
4542a38a GY |
16490 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
16491 | ||
16492 | * config/arm/constraints.md (q): New constraint. | |
16493 | * config/arm/ldrdstrd.md: New file. | |
16494 | * config/arm/arm.md (ldrdstrd.md) New include. | |
16495 | (arm_movdi): Use "q" instead of "r" constraint | |
16496 | for double-word memory access. | |
16497 | (movdf_soft_insn): Likewise. | |
16498 | * config/arm/vfp.md (movdi_vfp): Likewise. | |
16499 | * config/arm/t-arm (MD_INCLUDES): Add ldrdstrd.md. | |
33159866 | 16500 | * config/arm/arm-protos.h (gen_operands_ldrd_strd): New declaration. |
4542a38a GY |
16501 | * config/arm/arm.c (gen_operands_ldrd_strd): New function. |
16502 | (mem_ok_for_ldrd_strd): Likewise. | |
16503 | (output_move_double): Update assertion. | |
16504 | ||
2385b218 GY |
16505 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
16506 | ||
16507 | * config/arm/arm.md: Comment on splitting Thumb1 patterns. | |
16508 | ||
75fe1cb5 GY |
16509 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
16510 | ||
16511 | * config/arm/arm.md (arm_smax_insn): Convert define_insn into | |
16512 | define_insn_and_split. | |
16513 | (arm_smin_insn,arm_umaxsi3,arm_uminsi3): Likewise. | |
16514 | ||
dd660e8e GY |
16515 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
16516 | ||
16517 | * config/arm/arm.md (arm_ashldi3_1bit): Convert define_insn into | |
16518 | define_insn_and_split. | |
33159866 | 16519 | (arm_ashrdi3_1bit,arm_lshrdi3_1bit): Likewise. |
dd660e8e GY |
16520 | (shiftsi3_compare): New pattern. |
16521 | (rrx): New pattern. | |
16522 | * config/arm/unspecs.md (UNSPEC_RRX): New. | |
16523 | ||
045e472c GY |
16524 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
16525 | ||
16526 | * config/arm/arm.md (negdi_extendsidi): New pattern. | |
16527 | (negdi_zero_extendsidi): Likewise. | |
16528 | ||
3f3bf1a8 GY |
16529 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
16530 | ||
16531 | * config/arm/arm.md (andsi_iorsi3_notsi): Convert define_insn into | |
16532 | define_insn_and_split. | |
16533 | (arm_negdi2,arm_abssi2,arm_neg_abssi2): Likewise. | |
16534 | (arm_cmpdi_insn,arm_cmpdi_unsigned): Likewise. | |
16535 | ||
b0b49556 GY |
16536 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
16537 | ||
16538 | * config/arm/arm.md (arm_subdi3): Convert define_insn into | |
16539 | define_insn_and_split. | |
16540 | (subdi_di_zesidi,subdi_di_sesidi): Likewise. | |
16541 | (subdi_zesidi_di,subdi_sesidi_di,subdi_zesidi_zesidi): Likewise. | |
16542 | ||
d633dd84 GY |
16543 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
16544 | ||
16545 | * config/arm/arm.md (subsi3_carryin): New pattern. | |
16546 | (subsi3_carryin_const): Likewise. | |
16547 | (subsi3_carryin_compare,subsi3_carryin_compare_const): Likewise. | |
16548 | (subsi3_carryin_shift,rsbsi3_carryin_shift): Likewise. | |
16549 | ||
f4499066 GY |
16550 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
16551 | ||
16552 | * config/arm/arm.md (incscc,arm_incscc,decscc,arm_decscc): Delete. | |
16553 | ||
ceef6fd9 GY |
16554 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
16555 | ||
16556 | * config/arm/arm.md (addsi3_carryin_<optab>): Set attribute predicable. | |
d633dd84 | 16557 | (addsi3_carryin_alt2_<optab>,addsi3_carryin_shift_<optab>): Likewise. |
ceef6fd9 | 16558 | |
ddbdd8a7 KT |
16559 | 2013-04-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
16560 | ||
16561 | * config/arm/arm.c (arm_expand_builtin): Change fcode | |
16562 | type to unsigned int. | |
16563 | ||
8456d78a RR |
16564 | 2013-04-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
16565 | ||
16566 | * doc/invoke.texi (ARM Options): Document cortex-a53 support. | |
16567 | ||
526c230f ILT |
16568 | 2013-04-04 Ian Lance Taylor <iant@google.com> |
16569 | ||
33159866 UB |
16570 | * doc/standards.texi (Standards): The Go frontend supports the Go 1 |
16571 | language standard. | |
526c230f | 16572 | |
3cfbe04d SB |
16573 | 2013-04-04 Steven Bosscher <steven@gcc.gnu.org> |
16574 | ||
16575 | PR middle-end/56729 | |
16576 | * df-scan.c (df_insn_delete): Disable failing assert. | |
16577 | ||
dfa3f8d0 KT |
16578 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
16579 | ||
16580 | * config/arm/arm-protos.h (arm_builtin_vectorized_function): | |
16581 | New function prototype. | |
16582 | * config/arm/arm.c (TARGET_VECTORIZE_BUILTINS): Define. | |
16583 | (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Likewise. | |
16584 | (arm_builtin_vectorized_function): New function. | |
16585 | ||
f7837758 KT |
16586 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
16587 | ||
16588 | * config/arm/arm_neon_builtins.def: New file. | |
16589 | * config/arm/arm.c (neon_builtin_data): Move contents to | |
16590 | arm_neon_builtins.def. | |
16591 | (enum arm_builtins): Include neon builtin definitions. | |
16592 | (ARM_BUILTIN_NEON_BASE): Move from enum to macro. | |
33159866 | 16593 | * config/arm/t-arm (arm.o): Add dependency on arm_neon_builtins.def. |
f7837758 | 16594 | |
39c1b6db MP |
16595 | 2013-04-04 Marek Polacek <polacek@redhat.com> |
16596 | ||
16597 | PR tree-optimization/48186 | |
16598 | * predict.c (maybe_hot_frequency_p): Return false if | |
16599 | HOT_BB_FREQUENCY_FRACTION is 0. | |
16600 | (cgraph_maybe_hot_edge_p): Likewise. | |
16601 | ||
314f64eb RB |
16602 | 2013-04-04 Richard Biener <rguenther@suse.de> |
16603 | ||
16604 | PR tree-optimization/56826 | |
16605 | * tree-vect-slp.c (vect_build_slp_tree): Compute ncopies | |
16606 | more accurately. | |
16607 | ||
51a905b2 RB |
16608 | 2013-04-04 Richard Biener <rguenther@suse.de> |
16609 | ||
16610 | PR tree-optimization/56213 | |
16611 | * tree-vect-data-refs.c (vect_check_strided_load): Remove. | |
33159866 | 16612 | (vect_analyze_data_refs): Allow all non-nested loads as strided loads. |
51a905b2 | 16613 | |
f1bf4f3a RB |
16614 | 2013-04-04 Richard Biener <rguenther@suse.de> |
16615 | ||
16616 | PR tree-optimization/56837 | |
16617 | * tree-loop-distribution.c (classify_partition): For non-zero | |
16618 | values require that the value has the same precision as its | |
16619 | mode to be useful as memset value. | |
16620 | ||
0bca7ded NC |
16621 | 2013-04-03 Nick Clifton <nickc@redhat.com> |
16622 | ||
33159866 | 16623 | * config/v850/v850e3v5.md (fmasf4): Use fmaf.s on E3V5 architectures. |
0bca7ded NC |
16624 | (fmssf4): Use fmsf.s on E3V5 architectures. |
16625 | (fnmasf4): Use fnmaf.s on E3V5 architectures. | |
16626 | (fnmssf4): Use fnmsf.s on E3V5 architectures. | |
16627 | ||
b4019227 JL |
16628 | 2013-04-03 Jeff Law <law@redhat.com> |
16629 | ||
16630 | * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H). | |
16631 | (lra-eliminations.o): Likewise. | |
16632 | ||
f57ddb5b TJ |
16633 | 2013-04-03 Teresa Johnson <tejohnson@google.com> |
16634 | ||
16635 | * gcov-io.c (compute_working_sets): Moved most of body of old | |
33159866 | 16636 | compute_working_sets here from profile.c. |
f57ddb5b | 16637 | * gcov-io.h (NUM_GCOV_WORKING_SETS): Moved here from profile.c. |
33159866 UB |
16638 | (gcov_working_set_t): Moved typedef here from basic-block.h |
16639 | (compute_working_set): Declare. | |
f57ddb5b TJ |
16640 | * profile.c (NUM_GCOV_WORKING_SETS): Moved to gcov-io.h. |
16641 | (get_working_sets): Renamed from compute_working_set, | |
33159866 | 16642 | replace most of body with call to new compute_working_sets. |
f57ddb5b | 16643 | (get_exec_counts): Replace call to compute_working_sets |
33159866 UB |
16644 | to get_working_sets. |
16645 | * profile.h (get_working_sets): Renamed from compute_working_set. | |
f57ddb5b | 16646 | * lto-cgraph.c (input_symtab): Replace call to compute_working_sets |
33159866 | 16647 | to get_working_sets. |
f57ddb5b TJ |
16648 | * basic-block.h (gcov_working_set_t): Moved to gcov-io.h. |
16649 | * gcov-dump.c (dump_working_sets): New function. | |
16650 | ||
12211b99 | 16651 | 2013-04-03 Kenneth Zadeck <zadeck@naturalbridge.com> |
5e0919f1 KZ |
16652 | |
16653 | * hwint.c (sext_hwi, zext_hwi): New functions. | |
16654 | * hwint.h (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT, | |
16655 | HOST_HALF_WIDE_INT_PRINT, HOST_HALF_WIDE_INT_PRINT_C, | |
16656 | HOST_HALF_WIDE_INT_PRINT_DEC, HOST_HALF_WIDE_INT_PRINT_DEC_C, | |
16657 | HOST_HALF_WIDE_INT_PRINT_UNSIGNED, HOST_HALF_WIDE_INT_PRINT_HEX, | |
16658 | HOST_HALF_WIDE_INT_PRINT_HEX_PURE): New symbols. | |
16659 | (sext_hwi, zext_hwi): New functions. | |
0bca7ded | 16660 | |
be672e08 JL |
16661 | 2013-04-03 Jeff Law <law@redhat.com> |
16662 | ||
16663 | PR tree-optimization/56799 | |
33159866 UB |
16664 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Bring |
16665 | back test for widening conversion erroneously dropped in prior change. | |
be672e08 | 16666 | |
9d821fa5 KT |
16667 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
16668 | ||
16669 | PR target/56809 | |
16670 | * config/aarch64/aarch64.c (is_jump_table): Use next_active_insn | |
16671 | instead of next_real_insn. | |
16672 | ||
71c581e7 MP |
16673 | 2013-04-03 Marek Polacek <polacek@redhat.com> |
16674 | ||
16675 | PR sanitizer/55702 | |
33159866 | 16676 | * tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN functions. |
71c581e7 | 16677 | |
4a32ef80 KT |
16678 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
16679 | ||
16680 | PR target/56809 | |
16681 | * config/arm/arm.c (is_jump_table): Use next_active_insn instead of | |
16682 | next_real_insn. | |
16683 | (thumb1_output_casesi): Likewise. | |
16684 | (thumb2_output_casesi): Likewise. | |
16685 | ||
1b2253d4 RB |
16686 | 2013-04-03 Richard Biener <rguenther@suse.de> |
16687 | ||
16688 | PR tree-optimization/56817 | |
16689 | * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): | |
16690 | Split out ... | |
16691 | (tree_unroll_loops_completely_1): ... new function to manually | |
16692 | walk the loop tree, properly defering outer loops of unrolled | |
16693 | loops to later iterations. | |
16694 | ||
38000232 MG |
16695 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
16696 | ||
16697 | * tree-vect-stmts.c (vectorizable_store): Accept BIT_FIELD_REF. | |
16698 | (vectorizable_load): Likewise. | |
16699 | * tree-vect-slp.c (vect_build_slp_tree): Likewise. | |
16700 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Handle VECTOR_TYPE. | |
16701 | ||
3fa35298 MG |
16702 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
16703 | ||
16704 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle | |
16705 | BIT_FIELD_REF. | |
16706 | ||
b3d45ff0 UW |
16707 | 2013-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
16708 | ||
16709 | * config/spu/spu.c (emit_nop_for_insn): Handle JUMP_TABLE_DATA. | |
16710 | ||
ec9202a8 BC |
16711 | 2013-04-03 Bin Cheng <bin.cheng@arm.com> |
16712 | ||
16713 | * rtl.h (AUTO_INC_DEC): Fix typo of HAVE_POST_MODIFY_DISP. | |
16714 | ||
6805bd36 MG |
16715 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
16716 | ||
16717 | PR tree-optimization/56790 | |
33159866 UB |
16718 | * fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Add constant |
16719 | folding. | |
6805bd36 | 16720 | |
da694a77 MG |
16721 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
16722 | ||
16723 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>: | |
16724 | Handle VEC_MERGE. | |
16725 | (simplify_ternary_operation) <VEC_MERGE>: Use unsigned HOST_WIDE_INT | |
16726 | for masks. Test for side effects. Handle nested VEC_MERGE. Handle | |
16727 | equal arguments. | |
16728 | ||
4e7d7b3d JJ |
16729 | 2013-04-03 Jakub Jelinek <jakub@redhat.com> |
16730 | ||
16731 | PR c/19449 | |
16732 | * tree.h (force_folding_builtin_constant_p): New decl. | |
16733 | * builtins.c (force_folding_builtin_constant_p): New variable. | |
16734 | (fold_builtin_constant_p): Fold immediately also if | |
16735 | force_folding_builtin_constant_p. | |
16736 | ||
e6c9d234 RB |
16737 | 2013-04-03 Richard Biener <rguenther@suse.de> |
16738 | ||
16739 | PR tree-optimization/56812 | |
16740 | * tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependence): | |
16741 | DRs of the same interleaving chain are independent. | |
16742 | ||
984d07dd JM |
16743 | 2013-04-02 Jason Merrill <jason@redhat.com> |
16744 | ||
16745 | * gdbinit.in (pbb): Use debug fn. | |
16746 | ||
622849c9 LC |
16747 | 2013-04-02 Lawrence Crowl <crowl@google.com> |
16748 | ||
16749 | * sese.h (struct ivtype_map_elt_s): Remove unused. | |
16750 | (extern debug_ivtype_map): Remove unused. | |
16751 | (extern eq_ivtype_map_elts): Remove unused. | |
16752 | * sese.c (debug_ivtype_map): Removed unused. | |
16753 | (debug_ivtype_map_1): Removed unused. | |
16754 | (debug_ivtype_elt): Remove unused. | |
16755 | (eq_ivtype_map_elts): Remove unused. | |
16756 | ||
16757 | ||
82c0e1a0 KT |
16758 | 2013-04-02 Kai Tietz <ktietz@redhat.com> |
16759 | ||
16760 | PR target/52790 | |
16761 | * config/i386/cygming.h (SUB_TARGET_RECORD_STUB): New sub-target macro. | |
16762 | * config/i386/i386-protos.h (i386_pe_record_stub): Add new prototype. | |
33159866 UB |
16763 | * config/i386/i386.c (legitimize_pe_coff_extern_decl): New static |
16764 | function. | |
82c0e1a0 KT |
16765 | (legitimize_pe_coff_symbol): Likewise. |
16766 | (is_imported_p): New helper-function. | |
16767 | (ix86_option_override_internal): Make MEDIUM_PIC the default code-model | |
16768 | for Windows x64 targets. | |
16769 | (ix86_expand_prologue): Optimize for pe-coff targets. | |
16770 | (ix86_expand_split_stack_prologue): Adjust for pe-coff targets. | |
16771 | (legitimate_pic_address_disp_p): Adjust for x64 pe-coff to support | |
16772 | medium/large code-model. | |
16773 | (legitimize_pic_address): Likewise. | |
16774 | (legitimize_tls_address): Likewise. | |
16775 | (ix86_expand_call): Likewise. | |
16776 | (x86_output_mi_thunk): Likewise. | |
16777 | (get_dllimport_decl): Add new beimport argument. | |
16778 | (construct_plt_address): Don't assert for x64 pe-coff targets. | |
16779 | * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Adjust for x64 pe-coff | |
16780 | targets. | |
16781 | (SYMBOL_FLAG_STUBVAR): New macro. | |
16782 | (SYMBOL_REF_STUBVAR_P): Likewise. | |
16783 | * config/i386/winnt.c (stub_list): New structure. | |
16784 | (stub_head): New local variable. | |
16785 | (i386_pe_record_stub): New function. | |
16786 | (i386_pe_file_end): Emit refptr-stubs. | |
16787 | ||
5d751b0c JJ |
16788 | 2013-04-02 Jakub Jelinek <jakub@redhat.com> |
16789 | ||
09bb4c99 JJ |
16790 | PR rtl-optimization/56745 |
16791 | * ifcvt.c (cond_exec_find_if_block): Don't try to optimize | |
16792 | if then_bb has no successors and else_bb is EXIT_BLOCK_PTR. | |
16793 | ||
a1d8947a JJ |
16794 | PR c++/34949 |
16795 | * tree-ssa-alias.c (stmt_kills_ref_p_1): If base != ref->base | |
16796 | and both of them are MEM_REFs, just compare first argument for | |
16797 | equality and attempt to deal even with differing offsets. | |
16798 | ||
5d751b0c JJ |
16799 | PR c++/34949 |
16800 | * tree-cfg.c (verify_gimple_assign_single): Allow lhs | |
16801 | of gimple_clobber_p to be MEM_REF. | |
16802 | * gimplify.c (gimplify_modify_expr): Gimplify *to_p of | |
16803 | an assignment from TREE_CLOBBER_P. Allow it to be MEM_REF | |
16804 | after gimplification. | |
16805 | * asan.c (get_mem_ref_of_assignment): Don't instrument | |
16806 | gimple_clobber_p stmts. | |
16807 | * tree-ssa-dse.c (dse_optimize_stmt): Allow DSE of | |
16808 | gimple_clobber_p stmt if they have MEM_REF lhs and | |
16809 | are dead because of another gimple_clobber_p stmt. | |
16810 | * tree-ssa-live.c (clear_unused_block_pointer): Treat | |
16811 | gimple_clobber_p stmts like debug stmts. | |
16812 | (remove_unused_locals): Remove clobbers with MEM_REF lhs | |
16813 | that refer to unused VAR_DECLs or uninitialized values. | |
16814 | * tree-sra.c (sra_ipa_reset_debug_stmts): Also remove | |
16815 | gimple_clobber_p stmts if they refer to removed parameters. | |
16816 | (get_repl_default_def_ssa_name, sra_ipa_modify_expr): Fix up | |
16817 | formatting. | |
16818 | ||
e594716a UB |
16819 | 2013-04-02 Uros Bizjak <ubizjak@gmail.com> |
16820 | ||
16821 | * config/i386/i386.md (*testqi_ext_3): Merge with *testqi_ext_3_rex64 | |
16822 | using SWI48 mode attribute. | |
16823 | ||
7a80735b WM |
16824 | 2013-04-02 Wei Mi <wmi@google.com> |
16825 | ||
16826 | * config/i386/i386.c (ix86_rtx_costs): Set proper rtx cost for | |
16827 | ashl<mode>3_mask, *<shift_insn><mode>3_mask and | |
16828 | *<rotate_insn><mode>3_mask in i386.md. | |
16829 | ||
f423a9e4 AI |
16830 | 2013-04-02 Alexander Ivchenko <alexander.ivchenko@intel.com> |
16831 | ||
16832 | * config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android. | |
16833 | ||
90eb75f2 RB |
16834 | 2013-04-02 Richard Biener <rguenther@suse.de> |
16835 | ||
16836 | PR tree-optimization/56778 | |
16837 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): | |
16838 | Runtime alias tests are not supported for gather loads. | |
16839 | * tree-vect-loop-manip.c (vect_loop_versioning): Insert | |
16840 | stmts referenced from SSA operands before updating SSA form. | |
16841 | ||
d8c69a92 IC |
16842 | 2013-04-02 Ian Caulfield <ian.caulfield@arm.com> |
16843 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
16844 | ||
16845 | * config/arm/arm-arches.def (armv8-a): Default to cortex-a53. | |
e594716a UB |
16846 | * config/arm/t-arm (MD_INCLUDES): Depend on cortex-a53.md. |
16847 | * config/arm/cortex-a53.md: New file. | |
16848 | * config/arm/bpabi.h (BE8_LINK_SPEC): Handle cortex-a53. | |
16849 | * config/arm/arm.md (generic_sched, generic_vfp): Handle cortex-a53. | |
16850 | * config/arm/arm.c (arm_issue_rate): Likewise. | |
16851 | * config/arm/arm-tune.md: Regenerate | |
16852 | * config/arm/arm-tables.opt: Regenerate. | |
16853 | * config/arm/arm-cores.def: Add cortex-a53. | |
d8c69a92 | 16854 | |
239eb04c ZC |
16855 | 2013-04-02 Zhenqiang Chen <zhenqiang.chen@arm.com> |
16856 | ||
16857 | * config/arm/uclinux-elf.h: Add %L to LINK_GCC_C_SEQUENCE_SPEC for | |
16858 | non-static link. | |
16859 | ||
c902d3c8 SN |
16860 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
16861 | ||
d8c69a92 IC |
16862 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add variants for |
16863 | scalar load/store operations using B/H registers. | |
c902d3c8 SN |
16864 | (*zero_extend<SHORT:mode><GPI:mode>2_aarch64): Likewise. |
16865 | ||
051d0e2f SN |
16866 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
16867 | ||
16868 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add alternatives for | |
16869 | scalar move. | |
16870 | * config/aarch64/aarch64.c | |
16871 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
16872 | * config/aarch64/aarch64-protos.h | |
16873 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
16874 | * config/aarch64/constraints.md (Dh, Dq): New. | |
16875 | * config/aarch64/iterators.md (hq): New. | |
16876 | ||
0ee1e3d9 EB |
16877 | 2013-04-02 Eric Botcazou <ebotcazou@adacore.com> |
16878 | ||
16879 | * reorg.c (get_branch_condition): Deal with conditional returns. | |
16880 | (fill_simple_delay_slots): Remove dead code dealing with jumps. | |
16881 | ||
136fb3f7 WM |
16882 | 2013-04-01 Wei Mi <wmi@google.com> |
16883 | ||
16884 | * config/i386/i386.md (*ashl<mode>3_mask): Rewrite as define_insn. | |
16885 | Truncate operand 2 using %b asm operand modifier. | |
16886 | (*<shift_insn><mode>3_mask): Ditto. | |
16887 | (*<rotate_insn><mode>3_mask): Ditto. | |
16888 | ||
6388c738 SB |
16889 | 2013-04-01 Steven Bosscher <steven@gcc.gnu.org> |
16890 | ||
16891 | PR middle-end/56798 | |
16892 | * cfgbuild.c (inside_basic_block_p): Restore check broken at r197234. | |
16893 | ||
f7a4d826 KK |
16894 | 2013-03-31 Kaz Kojima <kkojima@gcc.gnu.org> |
16895 | ||
16896 | * config/sh/sh.md (casesi_worker_1): Use next_active_insn instead | |
16897 | of next_real_insn. | |
16898 | (casesi_worker_2, casesi_shift_media, casesi_load_media): Likewise. | |
16899 | ||
4b943a49 LC |
16900 | 2013-03-30 Lawrence Crowl <crowl@google.com> |
16901 | ||
16902 | * dse.c (clear_alias_sets): Remove never set. | |
16903 | (disqualified_clear_alias_sets): Remove never set. | |
16904 | (clear_alias_mode_pool): Remove never set. | |
16905 | (dse_step0): Remove condition that is never true. | |
16906 | (canon_address): Remove condition that is never true. | |
16907 | (dse_step7): Remove condition that is never true. | |
16908 | (rest_of_handle_dse): Remove condition that is never true. | |
16909 | (rest_of_handle_dse::did_global): Remove never read from above. | |
16910 | (dse_step2_spill): Remove never called from above. | |
16911 | (dse_step5_spill): Remove never called from above. | |
16912 | ||
39718607 SB |
16913 | 2013-03-30 Steven Bosscher <steven@gcc.gnu.org> |
16914 | ||
da5c6bde SB |
16915 | * doc/md.texi (Standard Names) <casesi>: Update documentation for |
16916 | JUMP_TABLE_DATA changes. | |
16917 | * doc/tm.texi.in (Dispatch Tables) <ASM_OUTPUT_CASE_LABEL>: Likewise. | |
16918 | * doc/rtl.texi (Flags) <INSN_DELETED_P, SCHED_GROUP_P>: Likewise. | |
16919 | (Insns) <jump_table_data>: New entry. | |
16920 | * doc/tm.texi: Regenerate. | |
16921 | ||
39718607 SB |
16922 | * cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. |
16923 | ||
16924 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Correct test | |
16925 | for table jump at the end of a basic block using tablejump_p. | |
16926 | * targhooks.c (default_invalid_within_doloop): Likewise. | |
16927 | * config/rs6000/rs6000.c (TARGET_INVALID_WITHIN_DOLOOP): Remove | |
16928 | target hook implementation that is identical to the default hook. | |
16929 | (rs6000_invalid_within_doloop): Remove. | |
16930 | ||
16931 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove set but | |
16932 | unused variable from tablejump_p call. | |
16933 | ||
16934 | * rtl.def (JUMP_TABLE_DATA): New RTX_INSN object. | |
16935 | * rtl.h (RTX_PREV, RTX_NEXT): Adjust for new JUMP_TABLE_DATA. | |
16936 | (INSN_DELETED_P): Likewise. | |
16937 | (emit_jump_table_data): New prototype. | |
16938 | * gengtype.c (adjust_field_rtx_def): Handle JUMP_TABLE_DATA fields | |
16939 | after 4th as unused. | |
16940 | * print-rtl.c (print_rtl): Handle JUMP_TABLE_DATA. | |
16941 | * sched-vis.c (print_insn): Likewise. | |
16942 | * emit-rtl.c (active_insn_p): Consider JUMP_TABLE_DATA an active | |
16943 | insn for compatibility with back ends that use next_active_insn to | |
16944 | identify jump table data. | |
16945 | (set_insn_deleted): Remove no longer useful JUMP_TABLE_DATA_P check. | |
16946 | (remove_insn): Likewise. | |
16947 | (emit_insn): Do not accept JUMP_TABLE_DATA objects in insn chains | |
16948 | to be emitted. | |
16949 | (emit_debug_insn, emit_jump_insn, emit_call_insn, emit_label): Idem. | |
16950 | (emit_jump_table_data): New function. | |
16951 | ||
16952 | * cfgbuild.c (inside_basic_block_p): A JUMP_INSN is always inside a | |
16953 | basic block, a JUMP_TABLE_DATA never is. | |
16954 | (control_flow_insn_p): JUMP_TABLE_DATA is not a control flow insn. | |
16955 | * cfgrtl.c (duplicate_insn_chain): Split handling of JUMP_TABLE_DATA | |
16956 | off from code handling real insns. | |
16957 | * final.c (get_attr_length_1): Simplify for JUMP_INSNs. | |
16958 | * function.c (instantiate_virtual_regs): Remove JUMP_TABLE_DATA_P | |
16959 | test, now redundant because JUMP_TABLE_DATA is not an INSN_P insn. | |
16960 | * gcse.c (insert_insn_end_basic_block): Likewise, JUMP_TABLE_DATA_P | |
16961 | is not a NONDEBUG_INSN_P. | |
16962 | * ira-costs.c (scan_one_insn): Likewise. | |
16963 | * jump.c (mark_all_labels): Likewise. | |
16964 | (mark_jump_label_1): Likewise. | |
16965 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
16966 | * lra.c (get_insn_freq): Expect all insns reaching here to be in | |
16967 | a basic block. | |
16968 | (check_rtl): Remove JUMP_TABLE_DATA_P test, not a NONDEBUG_INSN_P insn. | |
16969 | * predict.c (expensive_function_p): Use FOR_BB_INSNS. | |
16970 | * reload1.c (calculate_needs_all_insns): Call set_label_offsets for | |
16971 | JUMP_TABLE_DATA_P insns. | |
16972 | (calculate_elim_costs_all_insns): Likewise. | |
16973 | (set_label_offsets): Recurse on the PATTERN of JUMP_TABLE_DATA insns. | |
16974 | (elimination_costs_in_insn): Remove redundant JUMP_TABLE_DATA_P test. | |
16975 | (delete_output_reload): Code style fixups. | |
16976 | * reorg.c (dbr_schedule): Move JUMP_TABLE_DATA_P up to avoid setting | |
16977 | insn flags on this non-insn. | |
16978 | * sched-rgn.c (add_branch_dependences): Treat JUMP_TABLE_DATA insns | |
16979 | as scheduling barriers, for pre-change compatibility. | |
16980 | * stmt.c (emit_case_dispatch_table): Emit jump table data not as | |
16981 | JUMP_INSN objects but instead as JUMP_TABLE_DATA objects. | |
16982 | ||
16983 | * config/alpha/alpha.c (alpha_does_function_need_gp): Remove | |
16984 | redundant JUMP_TABLE_DATA_P test. | |
16985 | * config/arm/arm.c (thumb_far_jump_used_p): Likewise. | |
16986 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
16987 | (frv_for_each_packet): Likewise. | |
16988 | * config/i386/i386.c (min_insn_size): Likewise. | |
16989 | (ix86_avoid_jump_mispredicts): Likewise. | |
16990 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
16991 | * config/mep/mep.c (mep_reorg_erepeat): Likewise. | |
16992 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
16993 | (mips16_insn_length): Robustify. | |
16994 | (mips_has_long_branch_p): Remove redundant JUMP_TABLE_DATA_P test. | |
16995 | (mips16_split_long_branches): Likewise. | |
16996 | * config/pa/pa.c (pa_combine_instructions): Likewise. | |
16997 | * config/rs6000/rs6000.c (get_next_active_insn): Treat | |
16998 | JUMP_TABLE_DATA objects as active insns, like in active_insn_p. | |
16999 | * config/s390/s390.c (s390_chunkify_start): Treat JUMP_TABLE_DATA | |
17000 | as contributing to pool range lengths. | |
17001 | * config/sh/sh.c (find_barrier): Restore check for ADDR_DIFF_VEC. | |
17002 | Remove redundant JUMP_TABLE_DATA_P test. | |
17003 | (sh_loop_align): Likewise. | |
17004 | (split_branches): Likewise. | |
17005 | (sh_insn_length_adjustment): Likewise. | |
17006 | * config/spu/spu.c (get_branch_target): Likewise. | |
17007 | ||
0208f7da JH |
17008 | 2013-03-29 Jan Hubicka <jh@suse.cz> |
17009 | ||
17010 | * lto-cgraph.c (output_profile_summary, input_profile_summary): Use | |
17011 | gcov streaming; stream hot bb threshold to ltrans. | |
17012 | * predict.c (get_hot_bb_threshold): Break out from .... | |
17013 | (maybe_hot_count_p): ... here. | |
17014 | (set_hot_bb_threshold): New function. | |
17015 | * lto-section-in.c (lto_section_name): Add profile. | |
17016 | * profile.h (get_hot_bb_threshold, set_hot_bb_threshold): Declare. | |
17017 | * ipa.c: Include hash-table.h, tree-inline.h, profile.h, lto-streamer.h | |
17018 | and data-streamer.h | |
17019 | (histogram_entry): New structure. | |
17020 | (histogram, histogram_pool): New global vars. | |
17021 | (histogram_hash): New structure. | |
17022 | (histogram_hash::hash): New method. | |
17023 | (histogram_hash::equal): Likewise. | |
17024 | (account_time_size): New function. | |
17025 | (cmp_counts): New function. | |
17026 | (dump_histogram): New function. | |
17027 | (ipa_profile_generate_summary): New function. | |
17028 | (ipa_profile_write_summary): New function. | |
17029 | (ipa_profile_read_summary): New function. | |
17030 | (ipa_profile): Decide on threshold. | |
e594716a UB |
17031 | (pass_ipa_profile): Add ipa_profile_write_summary and |
17032 | ipa_profile_read_summary. | |
0208f7da JH |
17033 | * Makefile.in (ipa.o): Update dependencies. |
17034 | * lto-streamer.h (LTO_section_ipa_profile): New section. | |
17035 | ||
5a6ccc94 GDR |
17036 | 2013-03-29 Gabriel Dos Reis <gdr@integrable-solutions.net> |
17037 | ||
17038 | * tree.h (VAR_P): New. | |
17039 | ||
39385fa6 PC |
17040 | 2013-03-29 Paolo Carlini <paolo.carlini@oracle.com> |
17041 | ||
17042 | PR lto/56777 | |
17043 | * doc/invoke.texi ([-fwhole-program]): Fix typo. | |
17044 | ||
34f0d87a SB |
17045 | 2013-03-29 Steven Bosscher <steven@gcc.gnu.org> |
17046 | ||
17047 | * cfgbuild.c (inside_basic_block_p): Use JUMP_TABLE_DATA_P in lieu | |
17048 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
17049 | (control_flow_insn_p): Likewise. | |
17050 | * cfgrtl.c (duplicate_insn_chain): Likewise. | |
17051 | * final.c (get_attr_length_1): Likewise. | |
17052 | (shorten_branches): Likewise. | |
17053 | (final_scan_insn): Likewise. | |
17054 | * function.c (instantiate_virtual_regs): Likewise. | |
17055 | * gcse.c (insert_insn_end_basic_block): Likewise. | |
17056 | * ira-costs.c (scan_one_insn): Likewise. | |
17057 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
17058 | * lra.c (check_rtl): Likewise. | |
17059 | * reload1.c (elimination_costs_in_insn): Likewise. | |
17060 | * reorg.c (follow_jumps): Likewise. | |
17061 | ||
17062 | * config/arm/arm.c (is_jump_table): Use JUMP_TABLE_DATA_P in lieu | |
17063 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
17064 | (thumb_far_jump_used_p): Likewise. | |
17065 | * config/bfin/bfin.c (workaround_rts_anomaly): Likewise. | |
17066 | (workaround_speculation): Likewise. | |
17067 | (add_sched_insns_for_speculation): Likewise. | |
17068 | * config/c6x/c6x.c (reorg_emit_nops): Likewise. | |
17069 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
17070 | (frv_for_each_packet): Likewise. | |
17071 | * config/i386/i386.c (ix86_avoid_jump_mispredicts): Likewise. | |
17072 | * config/ia64/ia64.c (emit_all_insn_group_barriers): Likewise. | |
17073 | (final_emit_insn_group_barriers): Likewise. | |
17074 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
17075 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
17076 | (mips16_insn_length): Likewise. | |
17077 | * config/pa/pa.c (pa_reorg): Likewise. | |
17078 | (pa_combine_instructions): Likewise. | |
17079 | * config/rs6000/rs6000.c (rs6000_invalid_within_doloop): Likewise. | |
17080 | * config/sh/sh.c (fixup_addr_diff_vecs): Likewise. | |
17081 | (sh_reorg): Likewise. | |
17082 | (split_branches): Likewise. | |
17083 | * config/spu/spu.c (get_branch_target): Likewise. | |
17084 | ||
17085 | * config/s390/s390.c (s390_chunkify_start): Simplify logic using | |
17086 | JUMP_TABLE_DATA_P. | |
17087 | ||
4ac761b0 KY |
17088 | 2013-03-29 Kirill Yukhin <kirill.yukhin@intel.com> |
17089 | ||
39385fa6 | 17090 | * config/i386/avx2intrin.h (_mm256_broadcastsi128_si256): |
4ac761b0 KY |
17091 | Fix declaration name. |
17092 | ||
58a49189 LC |
17093 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
17094 | ||
17095 | * graphds.h (struct graph.indicies): Remove unused. | |
17096 | * graphite-poly.h (struct graph.original_pddrs): Remove unused. | |
17097 | (SCOP_ORIGINAL_PDDRS): Remove unused. | |
17098 | * sese.h (extern insert_loop_close_phis): Removed unused. | |
17099 | (extern insert_guard_phis): Removed unused. | |
17100 | (extern ivtype_map_elt_info): Removed unused. | |
17101 | (new_ivtype_map_elt): Removed unused. | |
17102 | * sese.c (ivtype_map_elt_info): Removed unused. | |
17103 | ||
7b3b6ae4 LC |
17104 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
17105 | ||
17106 | * Makefile.in: Add several missing include dependences. | |
17107 | (DUMPFILE_H): New. | |
17108 | (test-dump.o): New. This object is not added to any executable, | |
17109 | but is present for ad-hoc testing. | |
17110 | * bitmap.c | |
17111 | (debug (const bitmap_head_def &)): New. | |
17112 | (debug (const bitmap_head_def *)): New. | |
17113 | * bitmap.h | |
17114 | (extern debug (const bitmap_head_def &)): New. | |
17115 | (extern debug (const bitmap_head_def *)): New. | |
17116 | * cfg.c | |
17117 | (debug (edge_def &)): New. | |
17118 | (debug (edge_def *)): New. | |
17119 | * cfghooks.c | |
17120 | (debug (basic_block_def &)): New. | |
17121 | (debug (basic_block_def *)): New. | |
17122 | * dumpfile.h | |
17123 | (dump_node (const_tree, int, FILE *)): Correct source file. | |
17124 | * dwarf2out.c | |
17125 | (debug (die_struct &)): New. | |
17126 | (debug (die_struct *)): New. | |
17127 | * dwarf2out.h | |
17128 | (extern debug (die_struct &)): New. | |
17129 | (extern debug (die_struct *)): New. | |
17130 | * gimple-pretty-print.c | |
17131 | (debug (gimple_statement_d &)): New. | |
17132 | (debug (gimple_statement_d *)): New. | |
17133 | * gimple-pretty-print.h | |
17134 | (extern debug (gimple_statement_d &)): New. | |
17135 | (extern debug (gimple_statement_d *)): New. | |
17136 | * ira-build.c | |
17137 | (debug (ira_allocno_copy &)): New. | |
17138 | (debug (ira_allocno_copy *)): New. | |
17139 | (debug (ira_allocno &)): New. | |
17140 | (debug (ira_allocno *)): New. | |
17141 | * ira-int.h | |
17142 | (extern debug (ira_allocno_copy &)): New. | |
17143 | (extern debug (ira_allocno_copy *)): New. | |
17144 | (extern debug (ira_allocno &)): New. | |
17145 | (extern debug (ira_allocno *)): New. | |
17146 | * ira-lives.c | |
17147 | (debug (live_range &)): New. | |
17148 | (debug (live_range *)): New. | |
17149 | * lra-int.h | |
17150 | (debug (lra_live_range &)): New. | |
17151 | (debug (lra_live_range *)): New. | |
17152 | * lra-lives.c | |
17153 | (debug (lra_live_range &)): New. | |
17154 | (debug (lra_live_range *)): New. | |
17155 | * omega.c | |
17156 | (debug (omega_pb_d &)): New. | |
17157 | (debug (omega_pb_d *)): New. | |
17158 | * omega.h | |
17159 | (extern debug (omega_pb_d &)): New. | |
17160 | (extern debug (omega_pb_d *)): New. | |
17161 | * print-rtl.c | |
17162 | (debug (const rtx_def &)): New. | |
17163 | (debug (const rtx_def *)): New. | |
17164 | * print-tree.c | |
17165 | (debug_tree (tree): Move within file. | |
17166 | (debug_raw (const tree_node &)): New. | |
17167 | (debug_raw (const tree_node *)): New. | |
17168 | (dump_tree_via_hooks (const tree_node *, int)): New. | |
17169 | (debug (const tree_node &)): New. | |
17170 | (debug (const tree_node *)): New. | |
17171 | (debug_verbose (const tree_node &)): New. | |
17172 | (debug_verbose (const tree_node *)): New. | |
17173 | (debug_head (const tree_node &)): New. | |
17174 | (debug_head (const tree_node *)): New. | |
17175 | (debug_body (const tree_node &)): New. | |
17176 | (debug_body (const tree_node *)): New. | |
17177 | (debug_vec_tree (tree): Move and reimplement in terms of dump. | |
17178 | (debug (vec<tree, va_gc> &)): New. | |
17179 | (debug (vec<tree, va_gc> *)): New. | |
17180 | * rtl.h | |
17181 | (extern debug (const rtx_def &)): New. | |
17182 | (extern debug (const rtx_def *)): New. | |
17183 | * sbitmap.c | |
17184 | (debug_raw (simple_bitmap_def &)): New. | |
17185 | (debug_raw (simple_bitmap_def *)): New. | |
17186 | (debug (simple_bitmap_def &)): New. | |
17187 | (debug (simple_bitmap_def *)): New. | |
17188 | * sbitmap.h | |
17189 | (extern debug (simple_bitmap_def &)): New. | |
17190 | (extern debug (simple_bitmap_def *)): New. | |
17191 | (extern debug_raw (simple_bitmap_def &)): New. | |
17192 | (extern debug_raw (simple_bitmap_def *)): New. | |
17193 | * sel-sched-dump.c | |
17194 | (debug (vinsn_def &)): New. | |
17195 | (debug (vinsn_def *)): New. | |
17196 | (debug_verbose (vinsn_def &)): New. | |
17197 | (debug_verbose (vinsn_def *)): New. | |
17198 | (debug (expr_def &)): New. | |
17199 | (debug (expr_def *)): New. | |
17200 | (debug_verbose (expr_def &)): New. | |
17201 | (debug_verbose (expr_def *)): New. | |
17202 | (debug (vec<rtx> &)): New. | |
17203 | (debug (vec<rtx> *)): New. | |
17204 | * sel-sched-dump.h | |
17205 | (extern debug (vinsn_def &)): New. | |
17206 | (extern debug (vinsn_def *)): New. | |
17207 | (extern debug_verbose (vinsn_def &)): New. | |
17208 | (extern debug_verbose (vinsn_def *)): New. | |
17209 | (extern debug (expr_def &)): New. | |
17210 | (extern debug (expr_def *)): New. | |
17211 | (extern debug_verbose (expr_def &)): New. | |
17212 | (extern debug_verbose (expr_def *)): New. | |
17213 | (extern debug (vec<rtx> &)): New. | |
17214 | (extern debug (vec<rtx> *)): New. | |
17215 | * sel-sched-ir.h | |
17216 | (_list_iter_cond_expr): Make inline instead of static. | |
17217 | * sreal.c | |
17218 | (debug (sreal &)): New. | |
17219 | (debug (sreal *)): New. | |
17220 | * sreal.h | |
17221 | (extern debug (sreal &)): New. | |
17222 | (extern debug (sreal *)): New. | |
17223 | * tree.h | |
17224 | (extern debug_raw (const tree_node &)): New. | |
17225 | (extern debug_raw (const tree_node *)): New. | |
17226 | (extern debug (const tree_node &)): New. | |
17227 | (extern debug (const tree_node *)): New. | |
17228 | (extern debug_verbose (const tree_node &)): New. | |
17229 | (extern debug_verbose (const tree_node *)): New. | |
17230 | (extern debug_head (const tree_node &)): New. | |
17231 | (extern debug_head (const tree_node *)): New. | |
17232 | (extern debug_body (const tree_node &)): New. | |
17233 | (extern debug_body (const tree_node *)): New. | |
17234 | (extern debug (vec<tree, va_gc> &)): New. | |
17235 | (extern debug (vec<tree, va_gc> *)): New. | |
17236 | * tree-cfg.c | |
17237 | (debug (struct loop &)): New. | |
17238 | (debug (struct loop *)): New. | |
17239 | (debug_verbose (struct loop &)): New. | |
17240 | (debug_verbose (struct loop *)): New. | |
17241 | * tree-dump.c: Add header dependence. | |
17242 | * tree-flow.h | |
17243 | (extern debug (struct loop &)): New. | |
17244 | (extern debug (struct loop *)): New. | |
17245 | (extern debug_verbose (struct loop &)): New. | |
17246 | (extern debug_verbose (struct loop *)): New. | |
17247 | * tree-data-ref.c | |
17248 | (debug (data_reference &)): New. | |
17249 | (debug (data_reference *)): New. | |
17250 | (debug (vec<data_reference_p> &)): New. | |
17251 | (debug (vec<data_reference_p> *)): New. | |
17252 | (debug (vec<ddr_p> &)): New. | |
17253 | (debug (vec<ddr_p> *)): New. | |
17254 | * tree-data-ref.h | |
17255 | (extern debug (data_reference &)): New. | |
17256 | (extern debug (data_reference *)): New. | |
17257 | (extern debug (vec<data_reference_p> &)): New. | |
17258 | (extern debug (vec<data_reference_p> *)): New. | |
17259 | (extern debug (vec<ddr_p> &)): New. | |
17260 | (extern debug (vec<ddr_p> *)): New. | |
17261 | * tree-ssa-alias.c | |
17262 | (debug (pt_solution &)): New. | |
17263 | (debug (pt_solution *)): New. | |
17264 | * tree-ssa-alias.h | |
17265 | (extern debug (pt_solution &)): New. | |
17266 | (extern debug (pt_solution *)): New. | |
17267 | * tree-ssa-alias.c | |
17268 | (debug (_var_map &)): New. | |
17269 | (debug (_var_map *)): New. | |
17270 | (debug (tree_live_info_d &)): New. | |
17271 | (debug (tree_live_info_d *)): New. | |
17272 | * tree-ssa-alias.h | |
17273 | (extern debug (_var_map &)): New. | |
17274 | (extern debug (_var_map *)): New. | |
17275 | (extern debug (tree_live_info_d &)): New. | |
17276 | (extern debug (tree_live_info_d *)): New. | |
17277 | ||
be77e1e5 JH |
17278 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
17279 | ||
17280 | * lto-cgraph.c (merge_profile_summaries): Fix overflows. | |
17281 | ||
777e6976 IB |
17282 | 2013-03-28 Ian Bolton <ian.bolton@arm.com> |
17283 | ||
17284 | * config/aarch64/aarch64.md (aarch64_can_eliminate): Keep frame | |
17285 | record only when desired or required. | |
17286 | ||
9cd347ae UB |
17287 | 2013-03-28 Uros Bizjak <ubizjak@gmail.com> |
17288 | ||
17289 | * config/i386/i386.md (*vec_extract2vdi_1): Merge with | |
17290 | *vec_extractv2di_1_rex64. Use x64 isa attribute. | |
17291 | ||
33159866 | 17292 | 2013-03-28 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
2a1d1991 N |
17293 | |
17294 | * config/aarch64/aarch64.md (*and<mode>3_compare0): New pattern. | |
17295 | (*andsi3_compare0_uxtw): New pattern. | |
17296 | (*and_<SHIFT:optab><mode>3_compare0): New pattern. | |
17297 | (*and_<SHIFT:optab>si3_compare0_uxtw): New pattern. | |
17298 | ||
89ab31c1 JH |
17299 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
17300 | ||
17301 | * data-streamer-in.c (streamer_read_gcov_count): New function. | |
17302 | * gimple-streamer-out.c: Include value-prof.h. | |
17303 | (output_gimple_stmt): Output histogram. | |
17304 | (output_bb): Use streamer_write_gcov_count. | |
17305 | * value-prof.c: Include data-streamer.h | |
17306 | (dump_histogram_value): Add HIST_TYPE_MAX. | |
17307 | (stream_out_histogram_value): New function. | |
17308 | (stream_in_histogram_value): New function. | |
17309 | * value-prof.h (enum hist_type): Add HIST_TYPE_MAX. | |
17310 | (stream_out_histogram_value, stream_in_histogram_value): Declare. | |
17311 | * data-streamer-out.c (streamer_write_gcov_count): New function. | |
17312 | (streamer_write_gcov_count_stream): New function. | |
17313 | * lto-cgraph.c (lto_output_edge): Update counter streaming. | |
17314 | (lto_output_node): Likewise. | |
17315 | (input_node, input_edge): Likewise. | |
17316 | * lto-streamer-out.c (output_cfg): Update streaming. | |
17317 | * lto-streamer-in.c (input_cfg): Likewise. | |
17318 | * data-streamer.h (streamer_write_gcov_count, | |
17319 | streamer_write_gcov_count_stream, streamer_read_gcov_count): Declare. | |
17320 | * gimple-streamer-in.c: Include value-prof.h | |
17321 | (input_gimple_stmt): Input histograms. | |
17322 | (input_bb): Update profile streaming. | |
17323 | ||
e594716a | 17324 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
b4c73eed | 17325 | |
33159866 | 17326 | * genmodes.c (emit_max_int): New function. |
8697be17 | 17327 | (emit_insn_modes_h): Added call to emit_max_function. |
39385fa6 PC |
17328 | * doc/rtl.texi (MAX_BITSIZE_MODE_ANY_INT, MAX_BITSIZE_MODE_ANY_MODE): |
17329 | Added doc. | |
8697be17 | 17330 | * machmode.def: Fixed comment. |
89ab31c1 | 17331 | |
e594716a | 17332 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
8697be17 KZ |
17333 | |
17334 | * combine.c (try_combine): Removed useless assert. | |
b4c73eed KZ |
17335 | * cselib.c (rtx_equal_for_cselib_1): Removed unnecessary parens. |
17336 | ||
74946978 MP |
17337 | 2013-03-28 Marek Polacek <polacek@redhat.com> |
17338 | Richard Biener <rguenther@suse.de> | |
17339 | ||
17340 | PR tree-optimization/56695 | |
17341 | * tree-vect-stmts.c (vectorizable_condition): Unconditionally | |
17342 | build signed result of a vector comparison. | |
17343 | * tree-cfg.c (verify_gimple_comparison): Check that a result | |
17344 | of a vector comparison has signed type. | |
17345 | ||
a64b9c26 RB |
17346 | 2013-03-28 Richard Biener <rguenther@suse.de> |
17347 | ||
17348 | PR tree-optimization/37021 | |
17349 | * tree-vect-slp.c (vect_build_slp_tree): When not unrolling | |
17350 | do not restrict gaps between groups. | |
17351 | * tree-vect-stmts.c (vectorizable_load): Properly account for | |
17352 | a gap between groups. | |
17353 | ||
a9dc2a2f EB |
17354 | 2013-03-28 Eric Botcazou <ebotcazou@adacore.com> |
17355 | ||
17356 | * toplev.c (process_options): Do not disable -fomit-frame-pointer on a | |
17357 | general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS | |
17358 | is not enabled. | |
17359 | ||
53cb97f9 GP |
17360 | 2013-03-27 Gerald Pfeifer <gerald@pfeifer.com> |
17361 | ||
17362 | * doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual. | |
17363 | * doc/extend.texi (Named Address Spaces): Ditto. | |
17364 | (Variable Attributes): Ditto. | |
17365 | ||
b802ae5c KT |
17366 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
17367 | ||
eddae10a KT |
17368 | * config.build: Add support for cygwin x64 target. |
17369 | * config.gcc: Likewise. | |
17370 | * config.host: Likewise. | |
17371 | * configure.ac: Likewise | |
17372 | * configure: Regenerated. | |
b802ae5c | 17373 | |
371e77e3 | 17374 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
8269de54 KT |
17375 | |
17376 | * config/i386/cygwin-stdint.h: Add support for cygwin x64 target. | |
17377 | * config/i386/t-cygwin-w64: New file. | |
17378 | * config/i386/cygwin-w64.h: New file. | |
17379 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Extend | |
17380 | and add support for x64-cygwin target. | |
17381 | (CPP_SPEC): Likewise. | |
17382 | (CXX_WRAP_SPEC_LIST): Undefine before define. | |
17383 | (LIBGCJ_SONAME): Use 15 as version. | |
17384 | ||
f49b33cb RB |
17385 | 2013-03-27 Richard Biener <rguenther@suse.de> |
17386 | ||
17387 | PR tree-optimization/56716 | |
17388 | * tree-ssa-structalias.c (perform_var_substitution): Adjust | |
17389 | dumping for ref nodes. | |
17390 | ||
b37a6ce5 MJ |
17391 | 2013-03-27 Martin Jambor <mjambor@suse.cz> |
17392 | ||
17393 | PR tree-optimization/55334 | |
17394 | * ipa-cp.c (initialize_node_lattices): Allow IPA-CP through and to | |
17395 | restricted pointers to arrays. | |
17396 | ||
9469b9b2 GDR |
17397 | 2013-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
17398 | ||
17399 | * Makefile.in (.SUFFIXES): Add .cc. | |
17400 | (.c.o): Apply same recipe for implicit rule .cc.o. | |
17401 | ||
7d24f650 RB |
17402 | 2013-03-27 Richard Biener <rguenther@suse.de> |
17403 | ||
17404 | PR tree-optimization/37021 | |
17405 | * tree-vect-data-refs.c (vect_check_strided_load): Allow | |
17406 | REALPART/IMAGPART_EXPRs around the supported refs. | |
17407 | * tree-ssa-structalias.c (find_func_aliases): Assume that | |
17408 | floating-point values are not used to transfer pointers. | |
17409 | ||
2f251a05 AI |
17410 | 2013-03-27 Alexander Ivchenko <alexander.ivchenko@intel.com> |
17411 | ||
f43245d1 UB |
17412 | * target.def (TARGET_HAS_IFUNC_P): New target hook. |
17413 | * doc/tm.texi.in (TARGET_HAS_IFUNC_P): New. | |
17414 | * doc/tm.texi: Regenerate. | |
17415 | * targhooks.h (default_has_ifunc_p): New. | |
17416 | * targhooks.c (default_has_ifunc_p): Ditto. | |
17417 | * config/linux-protos.h: New file. | |
17418 | * config/linux-android.h (TARGET_HAS_IFUNC_P): Using version of this | |
17419 | hook for linux which disables support of indirect functions in android. | |
17420 | * config/linux-android.c: New file. | |
17421 | * config/t-linux-android.c: Ditto. | |
17422 | * config.gcc: Added new object file linux-android.o. | |
17423 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): | |
2f251a05 | 17424 | Using TARGET_HAS_IFUNC hook instead of HAVE_GNU_INDIRECT_FUNCTION. |
f43245d1 | 17425 | * varasm.c (do_assemble_alias): Likewise. |
2f251a05 AI |
17426 | * configure.ac: Define HAVE_GNU_INDIRECT_FUNCTION as zero if the target |
17427 | doesn't support indirect functions. | |
17428 | * configure: Regenerate. | |
17429 | ||
78b4e425 BC |
17430 | 2013-03-27 Bin Cheng <bin.cheng@arm.com> |
17431 | ||
17432 | PR target/56102 | |
17433 | * config/arm/arm.c (thumb1_rtx_costs, thumb1_size_rtx_costs): Fix | |
17434 | rtx costs for SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT patterns with | |
17435 | mult-word mode. | |
17436 | ||
a5ba7b92 AK |
17437 | 2013-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
17438 | ||
17439 | * config/s390/s390.h (TARGET_FLT_EVAL_METHOD): Define. | |
17440 | ||
be624986 TG |
17441 | 2013-03-27 Terry Guo <terry.guo@arm.com> |
17442 | ||
17443 | * config/arm/arm-cores.def: Added core cortex-r7. | |
17444 | * config/arm/arm-tune.md: Regenerated. | |
17445 | * config/arm/arm-tables.opt: Regenerated. | |
17446 | * doc/invoke.texi: Added entry for core cortex-r7. | |
17447 | ||
0a514f47 WL |
17448 | 2013-03-27 Walter Lee <walt@tilera.com> |
17449 | ||
17450 | * config/tilegx/tilegx.c (tilegx_expand_prologue): Avoid | |
17451 | double-decrement of next_scratch_regno. | |
17452 | ||
9332b0d2 WL |
17453 | 2013-03-27 Walter Lee <walt@tilera.com> |
17454 | ||
801d9b2a | 17455 | * config/tilegx/tilegx.md (insn_v1mulu): Fix predicates on |
9332b0d2 WL |
17456 | input operands. |
17457 | (insn_v1mulus): Ditto. | |
17458 | (insn_v2muls): Ditto. | |
17459 | ||
f54ea5dd WL |
17460 | 2013-03-27 Walter Lee <walt@tilera.com> |
17461 | ||
e594716a | 17462 | * config/tilegx/tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete extra tab. |
f54ea5dd WL |
17463 | (ASM_OUTPUT_ADDR_DIFF_ELT): Ditto. |
17464 | ||
bf60f4ca WL |
17465 | 2013-03-27 Walter Lee <walt@tilera.com> |
17466 | ||
e594716a | 17467 | * config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute for jr. |
bf60f4ca WL |
17468 | (*sibcall_value): Ditto. |
17469 | ||
e3b51eeb WL |
17470 | 2013-03-27 Walter Lee <walt@tilera.com> |
17471 | ||
17472 | * config/tilegx/tilegx.md (insn_mnz_<mode>): Replaced by ... | |
17473 | (insn_mnz_v8qi): ... this ... | |
17474 | (insn_mnz_v4hi): ... and this. Replace (const_int 0) with the | |
17475 | vector equivalent. | |
17476 | (insn_v<n>mnz): Replaced by ... | |
17477 | (insn_v1mnz): ... this ... | |
17478 | (insn_v2mnz): ... and this. Replace (const_int 0) with the vector | |
17479 | equivalent. | |
17480 | (insn_mz_<mode>): Replaced by ... | |
17481 | (insn_mz_v8qi): ... this ... | |
17482 | (insn_mz_v4hi): ... and this. Replace (const_int 0) with the | |
17483 | vector equivalent. | |
17484 | (insn_v<n>mz): Replaced by ... | |
17485 | (insn_v1mz): ... this ... | |
17486 | (insn_v2mz): ... and this. Replace (const_int 0) with the vector | |
17487 | equivalent. | |
17488 | ||
4fc7b145 EB |
17489 | 2013-03-26 Eric Botcazou <ebotcazou@adacore.com> |
17490 | ||
17491 | * doc/invoke.texi (SPARC options): Remove -mlittle-endian. | |
17492 | ||
6f33817e RM |
17493 | 2013-03-26 Roland McGrath <mcgrathr@google.com> |
17494 | ||
17495 | * config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather | |
17496 | than fprintf with a non-constant, non-format string. | |
17497 | ||
93a4145b UB |
17498 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
17499 | ||
17500 | * config/i386/i386.md (*cmpqi_ext_1): Merge with *cmpqi_ext_1_rex64 | |
17501 | using nox64 isa attribute. Use nonimmediate_x86nomem_operand as | |
17502 | operand 0 predicate. | |
17503 | (*cmpqi_ext_3): Merge with *cmpqi_ext_3_rex64 using nox64 isa | |
17504 | attribute. Use general_x64nomem_operand as operand 1 predicate. | |
17505 | (*movqi_extv_1): Merge with *movqi_extv_1_rex64 using nox64 isa | |
17506 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
17507 | (*movqi_extzv_2): Merge with *movqi_extzv_2_rex64 using nox64 isa | |
17508 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
17509 | (mov<mode>_insv_1): Remove expander. Merge insn with | |
17510 | movsi_insv_1 using SWI48 mode iterator and nox64 isa attribute. | |
17511 | Use general_x64nomem_operand as operand 1 predicate. | |
17512 | (addqi_ext_1): Merge with *addqi_ext_1_rex64 using nox64 isa attribute. | |
17513 | (*testqi_ext_1): Merge with *testqi_ext_1_rex64 using nox64 isa | |
17514 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
17515 | (*andqi_ext_1): Merge with *andqi_ext_1_rex64 using nox64 isa | |
17516 | attribute. Use nonimmediate_x64nomem_operand as operand 2 predicate. | |
17517 | (*<code>qi_ext_1): Merge with *<code>qi_ext_1_rex64 using nox64 isa | |
17518 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
17519 | (*xorqi_cc_ext_1): Merge with *xorqi_cc_ext_1_rex64 using nox64 | |
17520 | isa attribute. Use general_x64nomem_operand as operand 2 predicate. | |
17521 | * config/i386/predicates.md (nonimmediate_x64nomem_operand): New. | |
17522 | (general_x64nomem_operand): Ditto. | |
17523 | ||
c6a9ed5a | 17524 | 2013-03-26 Sebastian Huber <sebastian.huber@embedded-brains.de> |
df599020 SH |
17525 | |
17526 | * config/rtems.opt: Add -pthread option. | |
17527 | ||
31b0a960 RB |
17528 | 2013-03-26 Richard Biener <rguenther@suse.de> |
17529 | ||
93a4145b UB |
17530 | * alias.c (find_base_term): Avoid redundant and not used recursion. |
17531 | (base_alias_check): Get the initial base term from the caller. | |
31b0a960 RB |
17532 | (true_dependence_1): Compute and pass base terms to base_alias_check. |
17533 | (write_dependence_p): Likewise. | |
17534 | (may_alias_p): Likewise. | |
17535 | ||
79517551 SN |
17536 | 2013-03-26 Sofiane Naci <sofiane.naci@arm.com> |
17537 | ||
17538 | * config/aarch64/aarch64.c (aarch64_classify_address): Support | |
17539 | PC-relative load in SI modes and above only. | |
17540 | ||
a76213b9 XQ |
17541 | 2013-03-26 Xinyu Qi <xyqi@marvell.com> |
17542 | ||
17543 | * config/arm/arm.h (FIRST_IWMMXT_GR_REGNUM): Add comment. | |
33159866 UB |
17544 | * config/arm/iwmmxt.md (WCGR0): Update. |
17545 | (WCGR1, WCGR2, WCGR3): Likewise. | |
a76213b9 | 17546 | |
37ff9355 UB |
17547 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
17548 | ||
17549 | * config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64. | |
17550 | Use x64 and nox64 isa attributes. | |
17551 | ||
30b0317c RB |
17552 | 2013-03-26 Richard Biener <rguenther@suse.de> |
17553 | ||
17554 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove | |
17555 | alignment computations and rely on get_object_alignment_1 | |
17556 | for the !TYPE_P case. | |
17557 | Commonize DECL/COMPONENT_REF handling in the ARRAY_REF path. | |
17558 | ||
cbcdb140 WL |
17559 | 2013-03-26 Walter Lee <walt@tilera.com> |
17560 | ||
17561 | * config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define. | |
17562 | * config/tilegx/tilepro.h (PROFILE_BEFORE_PROLOGUE): Define. | |
17563 | ||
dd884525 | 17564 | 2013-03-25 Jeff Law <law@redhat.com> |
be672e08 | 17565 | |
33159866 UB |
17566 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing |
17567 | check for INTEGRAL_TYPE_P that was missing due to checking in | |
dd884525 JL |
17568 | wrong version of prior patch. |
17569 | ||
0051d3ec WL |
17570 | 2013-03-25 Walter Lee <walt@tilera.com> |
17571 | ||
17572 | * config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add | |
17573 | TILEGX_INSN_SHUFFLEBYTES1. | |
17574 | * config/tilegx/tilegx.c (tilegx_builtin_info): Add entry for | |
17575 | shufflebytes1. | |
17576 | (tilegx_builtins): Ditto. | |
17577 | * config/tilegx/tilegx.md (insn_shufflebytes1): New pattern. | |
17578 | ||
065a3605 WL |
17579 | 2013-03-25 Walter Lee <walt@tilera.com> |
17580 | ||
17581 | * config/tilegx/tilegx.md (floatsisf2): New pattern. | |
0051d3ec WL |
17582 | (floatunssisf2): New pattern. |
17583 | (floatsidf2): New pattern. | |
17584 | (floatunssidf2): New pattern. | |
065a3605 | 17585 | |
5b2a3c82 WL |
17586 | 2013-03-25 Walter Lee <walt@tilera.com> |
17587 | ||
17588 | * config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline | |
17589 | tests for constraint J, K, N, P. | |
17590 | ||
192ea533 WL |
17591 | 2013-03-25 Walter Lee <walt@tilera.com> |
17592 | ||
17593 | * config/tilegx/tilegx.c (tilegx_asm_preferred_eh_data_format): | |
17594 | Use indirect/pcrel encoding. | |
17595 | * config/tilepro/tilepro.c (tilepro_asm_preferred_eh_data_format): | |
17596 | Ditto. | |
17597 | ||
855e0d0b SE |
17598 | 2013-03-25 Steve Ellcey <sellcey@mips.com> |
17599 | ||
17600 | * config/mips/mmips-cpus.def (74kc, 74kf2_1, 74kf, 74kf, 74kf1_1, | |
17601 | 74kfx, 74kx, 74kf3_2): Add PTF_AVOID_IMADD. | |
17602 | * config/mips/mips.c (mips_option_override): Set IMADD default. | |
17603 | * config/mips/mips.h (PTF_AVOID_IMADD): New. | |
17604 | (ISA_HAS_MADD_MSUB): Remove MIPS16 check. | |
17605 | (GENERATE_MADD_MSUB): Remove TUNE_74K check, add MIPS16 check. | |
17606 | * config/mips/mips.md (mimadd): New flag for integer madd/msub. | |
17607 | * doc/invoke.texi (-mimadd/-mno-imadd): New. | |
17608 | ||
39e45653 JL |
17609 | 2013-03-25 Jeff Law <law@redhat.com> |
17610 | ||
17611 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Rework | |
17612 | slightly to avoid creating and folding useless trees. Simplify | |
17613 | slightly by restricting to INTEGER_CSTs and using int_fits_type_p. | |
17614 | ||
7482c470 UB |
17615 | 2013-03-25 Uros Bizjak <ubizjak@gmail.com> |
17616 | ||
17617 | * config/i386/i386.md (*zero_extendsidi2): Merge with | |
17618 | *zero_extendsidi2_rex64. Use x64 and nox64 isa attributes. | |
17619 | * config/i386/predicates.md (x86_64_zext_operand): Rename from | |
17620 | x86_64_zext_general_operand. Use nonimmediate_operand on 32bit | |
17621 | targets. Clarify comment. | |
17622 | ||
4a53743e MJ |
17623 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
17624 | ||
17625 | * ipa-prop.c (ipa_write_jump_function): Stream simple and aritmetic | |
17626 | pass-through jump functions differently. | |
17627 | (ipa_read_jump_function): Likewise. Also use setter functions to set | |
17628 | up jump functions. | |
17629 | ||
162712de MJ |
17630 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
17631 | ||
17632 | * ipa-cp.c (ipa_get_indirect_edge_target): Renamed to | |
17633 | ipa_get_indirect_edge_target_1, added parameter agg_reps and ability to | |
17634 | process it. | |
17635 | (ipa_get_indirect_edge_target): New function. | |
17636 | (devirtualization_time_bonus): New parameter known_aggs, pass it to | |
17637 | ipa_get_indirect_edge_target. Update all callers. | |
17638 | (ipcp_discover_new_direct_edges): New parameter aggvals. Pass it to | |
17639 | ipa_get_indirect_edge_target_1 instead of calling | |
17640 | ipa_get_indirect_edge_target. | |
17641 | (create_specialized_node): Pass aggvlas to | |
17642 | ipcp_discover_new_direct_edges. | |
17643 | ||
a5a4c20a KT |
17644 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
17645 | ||
17646 | * config/arm/arm.md (f_sels, f_seld): New types. | |
17647 | (*cmov<mode>): New pattern. | |
17648 | * config/arm/predicates.md (arm_vsel_comparison_operator): New | |
17649 | predicate. | |
17650 | ||
f992b9fc KT |
17651 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
17652 | ||
17653 | * config/i386/xm-mingw32.h (__USE_MINGW_ANSI_STDIO): Enable | |
17654 | POSIX-printf for mingw-hosted builds. | |
17655 | ||
c16fd676 RB |
17656 | 2013-03-25 Richard Biener <rguenther@suse.de> |
17657 | ||
17658 | PR middle-end/56694 | |
17659 | * tree-eh.c (lower_eh_must_not_throw): Strip BLOCKs from the | |
17660 | must-not-throw stmt location. | |
17661 | ||
5ad29f12 KT |
17662 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
17663 | ||
17664 | * config/arm/arm.c (arm_emit_load_exclusive): Add acq parameter. | |
17665 | Emit load-acquire versions when acq is true. | |
17666 | (arm_emit_store_exclusive): Add rel parameter. | |
17667 | Emit store-release versions when rel is true. | |
17668 | (arm_split_compare_and_swap): Use acquire-release instructions | |
17669 | instead. | |
17670 | of barriers when appropriate. | |
17671 | (arm_split_atomic_op): Likewise. | |
17672 | * config/arm/arm.h (TARGET_HAVE_LDACQ): New macro. | |
17673 | * config/arm/unspecs.md (VUNSPEC_LAX): New unspec. | |
17674 | (VUNSPEC_SLX): Likewise. | |
17675 | (VUNSPEC_LDA): Likewise. | |
17676 | (VUNSPEC_STL): Likewise. | |
17677 | * config/arm/sync.md (atomic_load<mode>): New pattern. | |
17678 | (atomic_store<mode>): Likewise. | |
17679 | (arm_load_acquire_exclusive<mode>): Likewise. | |
17680 | (arm_load_acquire_exclusivesi): Likewise. | |
17681 | (arm_load_acquire_exclusivedi): Likewise. | |
17682 | (arm_store_release_exclusive<mode>): Likewise. | |
17683 | ||
03a7dddb CM |
17684 | 2013-03-25 Catherine Moore <clm@codesourcery.com> |
17685 | ||
17686 | * config/mips/constraints.md (u, Udb7 Uead, Uean, Uesp, Uib3, | |
17687 | Uuw6, Usb4, ZS, ZT, ZU, ZV, ZW): New constraints. | |
17688 | * config/mip/predicates.md (lwsp_swsp_operand, | |
17689 | lw16_sw16_operand, lhu16_sh16_operand, lbu16_operand, | |
17690 | sb16_operand, db4_operand, db7_operand, ib3_operand, | |
17691 | sb4_operand, ub4_operand, uh4_operand, uw4_operand, | |
17692 | uw5_operand, uw6_operand, addiur2_operand, addiusp_operand, | |
17693 | andi16_operand): New predicates. | |
17694 | * config/mips/mips.md (compression): New attribute. | |
17695 | (enabled): New attribute. | |
17696 | (length): Consider compression in computing length. | |
17697 | (shift_compression): New code attribute. | |
17698 | (*add<mode>3): New operands. Record compression. | |
17699 | (sub<mode>3): Likewise. | |
17700 | (one_cmpl<mode>2): Likewise. | |
17701 | (*and<mode>3): Likewise. | |
17702 | (*ior<mode>3): Likewise. | |
17703 | (unnamed pattern for xor): Likewise. | |
17704 | (*zero_extend<SHORT:mode><GPR:mode>2): Likewise. | |
17705 | (*<optab><mode>3): Likewise. | |
17706 | (*mov<mode>_internal: Likewise. | |
17707 | * config/mips/mips-protos.h (mips_signed_immediate_p): New. | |
17708 | (mips_unsigned_immediate_p): New. | |
17709 | (umips_lwsp_swsp_address_p): New. | |
17710 | (m16_based_address_p): New. | |
17711 | * config/mips/mips-protos.h (mips_signed_immediate_p): New prototype. | |
17712 | (mips_unsigned_immediate_p): New prototype. | |
17713 | (lwsp_swsp_address_p): New prototype. | |
17714 | (m16_based_address_p): New prototype. | |
17715 | * config/mips/mips.c (mips_unsigned_immediate_p): New function. | |
17716 | (mips_signed_immediate_p): New function. | |
17717 | (m16_based_address_p): New function. | |
17718 | (lwsp_swsp_address_p): New function. | |
17719 | (mips_print_operand_punctuation): Recognize short delay slot insns | |
17720 | for microMIPS.add<mode>3" | |
17721 | ||
f35c297f | 17722 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
a5784ce6 | 17723 | |
f35c297f KT |
17724 | PR target/56720 |
17725 | * config/arm/iterators.md (v_cmp_result): New mode attribute. | |
17726 | * config/arm/neon.md (vcond<mode><mode>): Handle unordered cases. | |
17727 | ||
051b9446 RB |
17728 | 2013-03-25 Richard Biener <rguenther@suse.de> |
17729 | ||
17730 | PR tree-optimization/56689 | |
17731 | * tree-vrp.c (execute_vrp): Mark loops for fixup if we removed | |
17732 | any edge. | |
17733 | ||
374001cb RB |
17734 | 2013-03-25 Richard Biener <rguenther@suse.de> |
17735 | ||
17736 | * tree-ssa-loop-im.c (struct mem_ref): Use bitmap_head instead | |
17737 | of bitmap. | |
17738 | (memory_references): Likewise. | |
17739 | (outermost_indep_loop, mem_ref_alloc, mark_ref_stored, | |
17740 | gather_mem_refs_stmt, record_dep_loop, ref_indep_loop_p_1, | |
17741 | ref_indep_loop_p_2, find_refs_for_sm): Adjust. | |
17742 | (gather_mem_refs_in_loops): Fold into ... | |
17743 | (analyze_memory_references): ... this. Move initialization | |
17744 | to tree_ssa_lim_initialize. | |
17745 | (fill_always_executed_in): Rename to ... | |
17746 | (fill_always_executed_in_1): ... this. | |
17747 | (fill_always_executed_in): Move contains_call computation to | |
17748 | this new function from ... | |
17749 | (tree_ssa_lim_initialize): ... here. | |
17750 | (tree_ssa_lim): Call fill_always_executed_in. | |
17751 | ||
57895947 EB |
17752 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
17753 | ||
17754 | * postreload.c (reload_combine): Fix code detecting returns. | |
17755 | ||
1e1b18c1 EB |
17756 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
17757 | ||
17758 | * function.c (emit_use_return_register_into_block): On cc0 targets, | |
17759 | do not emit the sequence between cc0 setter and user. | |
17760 | ||
9216baf1 KT |
17761 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
17762 | ||
1e1b18c1 EB |
17763 | * config/i386/predicates.md (local_symbolic_operand): Interpret |
17764 | dll-imported symbols as none-local. | |
9216baf1 | 17765 | |
76421b44 RB |
17766 | 2013-03-25 Richard Biener <rguenther@suse.de> |
17767 | ||
17768 | * tree-ssa-loop-im.c (struct depend): Remove. | |
17769 | (struct lim_aux_data): Make depends a vec of gimples. | |
17770 | (free_lim_aux_data): Adjust. | |
17771 | (add_dependency): Likewise. | |
17772 | (set_level): Likewise. | |
17773 | ||
d154bfa2 RB |
17774 | 2013-03-25 Richard Biener <rguenther@suse.de> |
17775 | ||
17776 | PR middle-end/56434 | |
17777 | * calls.c (expand_call): Use MALLOC_ABI_ALIGNMENT to annotate | |
17778 | the pointer returned by calls with ECF_MALLOC set. | |
17779 | ||
2cd9804e UB |
17780 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> |
17781 | ||
acef5fe0 UB |
17782 | * config/i386/mmx.md (mov<mode>): Add ?!Ym,r and r,?!Ym alternatives. |
17783 | ||
17784 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> | |
17785 | ||
17786 | * config/i386/mmx.md (mov<mode>): Merge with movv2sf expander | |
2cd9804e UB |
17787 | using MMXMODE mode iterator. |
17788 | (*move<mode>_internal): Merge with *movv2sf_internal and | |
17789 | *movv2sf_internal_rex64 using MMXMODE mode iterator. | |
17790 | ||
225ccc68 SB |
17791 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
17792 | ||
85c0f02d SB |
17793 | * gcse.c (oprs_unchanged_p): Respect flag_gcse_lm. |
17794 | (record_last_mem_set_info): Likewise. | |
17795 | ||
225ccc68 SB |
17796 | * df-core.c (rest_of_handle_df_initialize): Use XCNEWVEC instead |
17797 | of XNEWVEC followed by memset. | |
17798 | (df_worklist_dataflow): Use XNEWVEC instead of xmalloc with a cast. | |
17799 | ||
b64925dc SB |
17800 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
17801 | ||
17802 | * config/avr/avr.c, config/bfin/bfin.c, config/c6x/c6x.c, | |
17803 | config/epiphany/epiphany.c, config/frv/frv.c, config/ia64/ia64.c, | |
17804 | config/iq2000/iq2000.c, config/mcore/mcore.c, config/mep/mep.c, | |
17805 | config/mmix/mmix.c, config/pa/pa.c, config/rs6000/rs6000.c, | |
17806 | config/s390/s390.c, config/sparc/sparc.c, config/spu/spu.c, | |
17807 | config/stormy16/stormy16.c, config/v850/v850.c, config/xtensa/xtensa.c, | |
17808 | dwarf2out.c, hw-doloop.c, resource.c, rtl.h : Where applicable, use | |
17809 | the predicates NOTE_P, NONJUMP_INSN_P, JUMP_P, CALL_P, LABEL_P, and | |
17810 | BARRIER_P instead of GET_CODE. | |
17811 | ||
b9aaf52e EB |
17812 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
17813 | ||
17814 | * config/sparc/sparc.c (sparc_emit_probe_stack_range): Fix small | |
17815 | inaccuracy in the probing code. | |
17816 | ||
17817 | * config/sparc/sparc.md (ctrapsi4): Add predicate for operand #3. | |
17818 | (ctrapdi4): Likewise. | |
17819 | ||
66de4d7c EB |
17820 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
17821 | ||
17822 | * calls.c (expand_call): Add missing guard to code handling return | |
17823 | of non-BLKmode structures in MSB. | |
17824 | * function.c (expand_function_end): Likewise. | |
17825 | ||
4f25c8fb EB |
17826 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
17827 | ||
17828 | * combine.c (try_combine): Adjust comment. Do not add the set of | |
17829 | insn #0 if the destination indirectly is set or dies in insn #2. | |
17830 | Tidy up code to distribute a new note. | |
17831 | ||
23b7850d UB |
17832 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
17833 | ||
17834 | * config/i386/i386.md (*movdi_internal): Set prefix_rex attribute | |
17835 | also for alternatives 16 and 17. | |
17836 | ||
bed852cf UB |
17837 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
17838 | ||
17839 | * config/i386/sse.md (*mov<mode>_internal): Merge with | |
17840 | *mov<mode>_internal_rex64. Use x64 and nox64 isa attributes. | |
17841 | Emit insn template depending on type attribute. Use | |
17842 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
17843 | movd instead of movq mnemonic for interunit moves. Rewrite mode | |
17844 | attribute calculation. Remove unit attribute calculation. | |
17845 | Set prefix attribute to maybe_vex for sselog1 and ssemov types. | |
17846 | Set prefix_data16 attribute for DImode ssemov types. | |
17847 | Use Ym instead of y for SSE-MMX conversion alternatives. | |
17848 | Reorder operand constraints. | |
17849 | ||
1e8a7937 SB |
17850 | 2013-03-22 Steven Bosscher <steven@gcc.gnu.org> |
17851 | ||
17852 | * df.h (df_insn_delete): Adjust prototype. | |
17853 | * emit-rtl.c (remove_insn): Pass a basic block to df_insn_delete | |
17854 | and let it decide whether mark the basic block dirty. | |
17855 | (set_insn_deleted): Only pass INSN_P insns to df_insn_delete. | |
17856 | * df-scan.c (df_insn_info_delete): New helper function, split | |
17857 | off from df_insn_delete. | |
17858 | (df_scan_free_bb_info): Use it. | |
17859 | (df_insn_rescan, df_insn_rescan_all, df_process_deferred_rescans): | |
17860 | Likewise. | |
17861 | (df_insn_delete): Likewise. Take insn rtx as argument. Verify | |
17862 | that the insn is actually an insn and it has a non-NULL basic block. | |
17863 | Do not mark basic block dirty if only deleting a DEBUG_INSN. | |
17864 | ||
e14d094c RB |
17865 | 2013-03-22 Richard Biener <rguenther@suse.de> |
17866 | ||
17867 | * tree-ssa-loop-im.c (struct mem_ref): Remove indep_ref and | |
17868 | dep_ref members. | |
17869 | (mem_ref_alloc): Do not allocate them. | |
17870 | (refs_independent_p): Do not query or maintain a cache. | |
17871 | ||
e9cf7316 RB |
17872 | 2013-03-22 Richard Biener <rguenther@suse.de> |
17873 | ||
17874 | * tree-ssa-loop-im.c (memory_references): Drop all_refs_in_loop. | |
17875 | (gather_mem_refs_in_loops): Do not compute it. | |
17876 | (analyze_memory_references): Do not allocate it. | |
17877 | (tree_ssa_lim_finalize): Do not free it. | |
17878 | (for_all_locs_in_loop): Do not query all_refs_in_loop. | |
17879 | ||
f046e81b RB |
17880 | 2013-03-22 Richard Biener <rguenther@suse.de> |
17881 | ||
17882 | * is-a.h (as_a): Use gcc_checking_assert. | |
bed852cf | 17883 | |
a05c0ddf IB |
17884 | 2013-03-22 Ian Bolton <ian.bolton@arm.com> |
17885 | ||
17886 | * config/aarch64/aarch64.c (aarch64_print_operand): New | |
17887 | format specifier for printing a constant in hex. | |
17888 | * config/aarch64/aarch64.md (insv_imm<mode>): Use the X | |
17889 | format specifier for printing second operand. | |
17890 | ||
c00217fc RB |
17891 | 2013-03-22 Richard Biener <rguenther@suse.de> |
17892 | ||
17893 | * tree-ssa-loop-im.c (memory_references): Add refs_stored_in_loop | |
17894 | bitmaps. | |
17895 | (gather_mem_refs_in_loops): Perform store accumulation here. | |
17896 | (create_vop_ref_mapping_loop): Remove. | |
17897 | (create_vop_ref_mapping): Likewise. | |
17898 | (analyze_memory_references): Initialize refs_stored_in_loop. | |
bed852cf | 17899 | (LOOP_DEP_BIT): New define to map to bits in (in)dep_loop bitmaps. |
c00217fc RB |
17900 | (record_indep_loop): Remove. |
17901 | (record_dep_loop): New function. | |
17902 | (ref_indep_loop_p_1): Adjust to only walk over references | |
17903 | in the loop, not its subloops. | |
17904 | (ref_indep_loop_p): Rename to ... | |
17905 | (ref_indep_loop_p_2): ... this and recurse over the loop tree, | |
17906 | maintaining a more fine-grained cache. | |
17907 | (ref_indep_loop_p): Wrap ref_indep_loop_p_2. | |
17908 | (tree_ssa_lim_finalize): Free refs_stored_in_loop. | |
17909 | ||
15d19bf8 RB |
17910 | 2013-03-22 Richard Biener <rguenther@suse.de> |
17911 | ||
17912 | * tree-ssa-loop-im.c (struct mem_ref_locs): Remove. | |
17913 | (struct mem_ref): Make accesses_in_loop a vec of a vec of | |
17914 | aggregate mem_ref_loc. | |
17915 | (free_mem_ref_locs): Inline into ... | |
17916 | (memref_free): ... this and adjust. | |
17917 | (mem_ref_alloc): Adjust. | |
17918 | (mem_ref_locs_alloc): Remove. | |
17919 | (record_mem_ref_loc): Adjust. | |
17920 | (get_all_locs_in_loop): Rewrite into ... | |
17921 | (for_all_locs_in_loop): ... this iterator. | |
17922 | (rewrite_mem_ref_loc): New functor. | |
17923 | (rewrite_mem_refs): Use for_all_locs_in_loop. | |
17924 | (sm_set_flag_if_changed): New functor. | |
17925 | (execute_sm_if_changed_flag_set): Use for_all_locs_in_loop. | |
17926 | (ref_always_accessed): New functor. | |
17927 | (ref_always_accessed_p): Use for_all_locs_in_loop. | |
17928 | ||
6f37411d MG |
17929 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
17930 | ||
17931 | * tree-pass.h (PROP_gimple_lvec): New. | |
17932 | * passes.c (dump_properties): Handle PROP_gimple_lvec. | |
17933 | (init_optimization_passes): Move pass_lower_vector. | |
17934 | * tree-vect-generic.c (gate_expand_vector_operations_ssa): Test | |
17935 | PROP_gimple_lvec. | |
17936 | (pass_lower_vector): Provide PROP_gimple_lvec. | |
17937 | (pass_lower_vector_ssa): Likewise. | |
17938 | * cfgexpand.c (pass_expand): Require PROP_gimple_lvec. | |
17939 | ||
511ef689 MW |
17940 | 2013-03-21 Mark Wielaard <mjw@redhat.com> |
17941 | ||
17942 | * dwarf2out.c (size_of_aranges): Skip DECL_IGNORED_P functions. | |
17943 | ||
cc1df30b UB |
17944 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
17945 | ||
17946 | * config/i386/i386.md (*movdi_internal): Disparage slightly | |
17947 | all MMX moves to/from memory. Use Yi instead of x for SSE-MMX | |
17948 | conversion alternatives. | |
17949 | ||
c845cfe1 JJ |
17950 | 2013-03-21 Jakub Jelinek <jakub@redhat.com> |
17951 | ||
37e99116 JJ |
17952 | PR middle-end/48087 |
17953 | * diagnostic.def (DK_WERROR): New kind. | |
17954 | * diagnostic.h (werrorcount): Define. | |
17955 | * diagnostic.c (diagnostic_report_diagnostic): For DK_WARNING | |
17956 | promoted to DK_ERROR, increment DK_WERROR counter instead of | |
17957 | DK_ERROR counter. | |
17958 | * toplev.c (toplev_main): Call print_ignored_options even if | |
17959 | just werrorcount is non-zero. Exit with FATAL_EXIT_CODE | |
17960 | even if just werrorcount is non-zero. | |
17961 | ||
c845cfe1 JJ |
17962 | PR debug/55608 |
17963 | * dwarf2out.c (tree_add_const_value_attribute): Call ggc_free (array) | |
17964 | on failure. | |
17965 | (resolve_one_addr): Fail if referenced STRING_CST hasn't been written. | |
17966 | (string_cst_pool_decl): New function. | |
17967 | (optimize_one_addr_into_implicit_ptr): New function. | |
17968 | (resolve_addr_in_expr): Optimize DWARF location expression | |
17969 | DW_OP_addr DW_OP_stack_value where DW_OP_addr refers to some variable | |
17970 | which doesn't live in memory, but has DW_AT_location or | |
17971 | DW_AT_const_value, or refers to a string literal, into | |
17972 | DW_OP_GNU_implicit_pointer. | |
17973 | (optimize_location_into_implicit_ptr): New function. | |
17974 | (resolve_addr): If removing DW_AT_location of a variable because | |
17975 | it was DW_OP_addr of address of the variable, but the variable doesn't | |
17976 | live in memory, try to emit const value attribute for the initializer. | |
17977 | ||
08e0cda6 MG |
17978 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
17979 | ||
17980 | * tree.h (VECTOR_TYPE_P): New macro. | |
17981 | (VECTOR_INTEGER_TYPE_P, VECTOR_FLOAT_TYPE_P, FLOAT_TYPE_P, | |
17982 | TYPE_MODE): Use it. | |
17983 | * fold-const.c (fold_cond_expr_with_comparison): Use build_zero_cst. | |
17984 | VEC_COND_EXPR cannot be lvalues. | |
17985 | (fold_ternary_loc) <VEC_COND_EXPR>: Merge with the COND_EXPR case. | |
17986 | ||
d08633b4 MG |
17987 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
17988 | ||
17989 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_CONCAT>: | |
17990 | Restrict the transformation to equal modes. | |
17991 | ||
e6647190 RB |
17992 | 2013-03-21 Richard Biener <rguenther@suse.de> |
17993 | ||
17994 | PR tree-optimization/39326 | |
17995 | * tree-ssa-loop-im.c (UNANALYZABLE_MEM_ID): New define. | |
17996 | (MEM_ANALYZABLE): Adjust. | |
17997 | (record_mem_ref_loc): Move bitmap ops ... | |
17998 | (gather_mem_refs_stmt): ... here. Use the shared mem-ref for | |
17999 | unanalyzable refs, do not record locations for it. | |
18000 | (analyze_memory_references): Allocate ref zero as shared | |
18001 | unanalyzable ref. | |
18002 | (refs_independent_p): Do not test for unanalyzed mems here. | |
18003 | (ref_indep_loop_p_1): Special-case disambiguation against | |
18004 | the unanalyzed ref. | |
cc1df30b | 18005 | (ref_indep_loop_p): Assert we are not queried for the unanalyzed mem. |
e6647190 | 18006 | |
65074f54 CL |
18007 | 2013-03-21 Christophe Lyon <christophe.lyon@linaro.org> |
18008 | ||
18009 | * config/arm/arm-protos.h (tune_params): Add | |
18010 | prefer_neon_for_64bits field. | |
18011 | * config/arm/arm.c (prefer_neon_for_64bits): New variable. | |
18012 | (arm_slowmul_tune): Default prefer_neon_for_64bits to false. | |
18013 | (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto. | |
18014 | (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto. | |
18015 | (arm_cortex_a15_tune, arm_cortex_a5_tune): Ditto. | |
18016 | (arm_cortex_a9_tune, arm_v6m_tune, arm_fa726te_tune): Ditto. | |
18017 | (arm_option_override): Handle -mneon-for-64bits new option. | |
18018 | * config/arm/arm.h (TARGET_PREFER_NEON_64BITS): New macro. | |
18019 | (prefer_neon_for_64bits): Declare new variable. | |
18020 | * config/arm/arm.md (arch): Rename neon_onlya8 and neon_nota8 to | |
cc1df30b | 18021 | avoid_neon_for_64bits and neon_for_64bits. Remove onlya8 and nota8. |
65074f54 CL |
18022 | (arch_enabled): Handle new arch types. Remove support for onlya8 |
18023 | and nota8. | |
18024 | (one_cmpldi2): Use new arch names. | |
bc5faa5b | 18025 | (zero_extend<mode>di2, extend<mode>di2): Ditto. |
65074f54 CL |
18026 | * config/arm/arm.opt (mneon-for-64bits): Add option. |
18027 | * config/arm/neon.md (adddi3_neon, subdi3_neon, iordi3_neon) | |
18028 | (anddi3_neon, xordi3_neon, ashldi3_neon, <shift>di3_neon): Use | |
18029 | neon_for_64bits instead of nota8 and avoid_neon_for_64bits instead | |
18030 | of onlya8. | |
18031 | * doc/invoke.texi (-mneon-for-64bits): Document. | |
18032 | ||
5a2d2a79 RB |
18033 | 2013-03-21 Richard Biener <rguenther@suse.de> |
18034 | ||
18035 | PR tree-optimization/39326 | |
18036 | * tree-ssa-loop-im.c (bb_loop_postorder): New global static. | |
18037 | (sort_bbs_in_loop_postorder_cmp): New function. | |
cc1df30b | 18038 | (gather_mem_refs_in_loops): Assign mem-ref IDs in loop postorder. |
5a2d2a79 | 18039 | |
5abe1e05 RB |
18040 | 2013-03-21 Richard Biener <rguenther@suse.de> |
18041 | ||
18042 | * tree-vect-data-refs.c (vect_update_interleaving_chain): Remove. | |
18043 | (vect_insert_into_interleaving_chain): Likewise. | |
18044 | (vect_drs_dependent_in_basic_block): Inline ... | |
18045 | (vect_slp_analyze_data_ref_dependence): ... here. New function, | |
18046 | split out from ... | |
18047 | (vect_analyze_data_ref_dependence): ... here. Simplify. | |
18048 | (vect_check_interleaving): Simplify. | |
18049 | (vect_analyze_data_ref_dependences): Likewise. Split out ... | |
18050 | (vect_slp_analyze_data_ref_dependences): ... this new function. | |
18051 | (dr_group_sort_cmp): New function. | |
18052 | (vect_analyze_data_ref_accesses): Compute data-reference groups | |
18053 | here instead of in vect_analyze_data_ref_dependence. Use | |
18054 | a more efficient algorithm. | |
18055 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Use | |
18056 | vect_slp_analyze_data_ref_dependences. Call | |
18057 | vect_analyze_data_ref_accesses earlier. | |
18058 | * tree-vect-loop.c (vect_analyze_loop_2): Likewise. | |
18059 | * tree-vectorizer.h (vect_analyze_data_ref_dependences): Adjust. | |
18060 | (vect_slp_analyze_data_ref_dependences): New prototype. | |
18061 | ||
cad1735b RB |
18062 | 2013-03-21 Richard Biener <rguenther@suse.de> |
18063 | ||
18064 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not test whether | |
18065 | ref is stored in the loop. | |
18066 | (find_refs_for_sm): Walk only over all stores. | |
18067 | (store_motion_loop): Allocate from lim_bitmap_obstack. | |
18068 | (store_motion): Likewise. | |
18069 | ||
141310ef RB |
18070 | 2013-03-21 Richard Biener <rguenther@suse.de> |
18071 | ||
18072 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): | |
18073 | Update virtual SSA form. | |
18074 | ||
5022315a RO |
18075 | 2013-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18076 | ||
18077 | * configure.ac (gcc_cv_ld_eh_frame_ciev3): New test. | |
18078 | * configure: Regenerate. | |
18079 | * config.in: Regenerate. | |
18080 | * config/sol2.c (solaris_override_options): Only enforce DWARF 2 | |
18081 | if !HAVE_LD_EH_FRAME_CIEV3. | |
18082 | ||
50d4421c RB |
18083 | 2013-03-21 Richard Biener <rguenther@suse.de> |
18084 | ||
18085 | * tree-cfg.c (verify_expr_no_block): New function. | |
18086 | (verify_expr_location_1): Verify that neither DECL_DEBUG_EXPR | |
18087 | nor DECL_VALUE_EXPR have locations with associated blocks. | |
18088 | * tree-ssa-live.c (clear_unused_block_pointer_1): Remove. | |
18089 | (clear_unused_block_pointer): Remove code dealing with | |
18090 | blocks in DECL_DEBUG_EXPR locations. | |
18091 | ||
839b422f RB |
18092 | 2013-03-21 Richard Biener <rguenther@suse.de> |
18093 | ||
18094 | * tree.h (DECL_DEBUG_EXPR_IS_FROM): Rename to ... | |
18095 | (DECL_HAS_DEBUG_EXPR_P): ... this. Guard properly. | |
18096 | * tree.c (copy_node_stat): Do not copy DECL_HAS_DEBUG_EXPR_P. | |
18097 | * dwarf2out.c (add_var_loc_to_decl): Use DECL_HAS_DEBUG_EXPR_P | |
18098 | instead of DECL_DEBUG_EXPR_IS_FROM. | |
18099 | * gimplify.c (gimplify_modify_expr): Likewise. | |
18100 | * tree-cfg.c (verify_expr_location_1): Likewise. | |
18101 | * tree-complex.c (create_one_component_var): Likewise. | |
18102 | * tree-sra.c (create_access_replacement): Likewise. | |
18103 | * tree-ssa-live.c (clear_unused_block_pointer_1): Likewise. | |
18104 | (clear_unused_block_pointer): Likewise. | |
18105 | * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise. | |
18106 | * tree-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. | |
18107 | * var-tracking.c (var_debug_decl): Likewise. | |
18108 | (track_expr_p): Likewise. | |
18109 | * tree-inline.c (add_local_variables): Likewise. Set | |
18110 | DECL_HAS_DEBUG_EXPR_P after copying it. | |
18111 | * tree-diagnostic.c (default_tree_printer): Use DECL_HAS_DEBUG_EXPR_P | |
18112 | instead of DECL_DEBUG_EXPR_IS_FROM. Guard properly. | |
18113 | ||
fe04878d UB |
18114 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
18115 | ||
18116 | PR bootstrap/56656 | |
18117 | * configure.ac (HAVE_AS_IX86_INTERUNIT_MOVQ): New test. | |
18118 | * configure: Regenerate. | |
18119 | * config.in: Regenerate. | |
18120 | * config/i386/i386.md (*movdf_internal): Use | |
18121 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
18122 | movd instead of movq mnemonic for interunit moves. | |
18123 | (*movdi_internal): Ditto. | |
18124 | ||
bd059b26 | 18125 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
fa2e9a58 N |
18126 | |
18127 | * config/aarch64/aarch64-simd.md (simd_fabd): New Attribute. | |
18128 | (abd<mode>_3): New pattern. | |
18129 | (aba<mode>_3): New pattern. | |
18130 | (fabd<mode>_3): New pattern. | |
18131 | ||
bd059b26 | 18132 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
50ce6f88 N |
18133 | |
18134 | * config/aarch64/aarch64-elf.h (REGISTER_PREFIX): Remove. | |
18135 | * config/aarch64/aarch64.c (aarch64_print_operand): Remove all | |
18136 | occurrence of REGISTER_PREFIX as its empty string. | |
18137 | ||
4f1f78b9 JL |
18138 | 2013-03-20 Jeff Law <law@redhat.com> |
18139 | ||
18140 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Record | |
18141 | addititional equivalences for equality comparisons between an SSA_NAME | |
18142 | and a constant where the SSA_NAME was set from a widening conversion. | |
18143 | ||
327a1118 WL |
18144 | 2013-03-20 Walter Lee <walt@tilera.com> |
18145 | ||
18146 | * config/tilegx/sync.md (atomic_test_and_set): New pattern. | |
18147 | ||
813e0036 UB |
18148 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
18149 | ||
18150 | * config/i386/i386.md (*movoi_internal_avx): Emit insn template | |
18151 | depending on type attribute. | |
18152 | (*movti_internal): Ditto. | |
18153 | (*movtf_internal): Ditto. | |
18154 | (*movxf_internal): Ditto. | |
18155 | (*movdf_internal): Ditto. | |
18156 | (*movsf_internal): Ditto. | |
18157 | ||
7cf34aae UB |
18158 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
18159 | ||
18160 | * config/i386/i386.md (*movti_internal): Set prefix attribute to | |
18161 | maybe_vex for sselog1 and ssemov types. | |
18162 | (*movdi_internal): Reorder operand constraints. | |
18163 | (*movsi_internal): Ditto. Set prefix attribute to | |
18164 | maybe_vex for sselog1 and ssemov types. | |
18165 | (*movtf_internal): Set prefix attribute to maybe_vex | |
18166 | for sselog1 and ssemov types. | |
18167 | (*movdf_internal): Ditto. Set prefix_data16 attribute for | |
18168 | DImode ssemov types. Reorder operand constraints. | |
18169 | (*movsf_internal): Set type of alternatives 3,4 to imov. Set prefix | |
18170 | attribute to maybe_vex for sselog1 and ssemov types. Set prefix_data16 | |
18171 | attribute for SImode ssemov types. Reorder operand constraints. | |
18172 | ||
19321415 MJ |
18173 | 2013-03-20 Martin Jambor <mjambor@suse.cz> |
18174 | ||
18175 | * params.def (PARAM_IPA_CP_ARRAY_INDEX_HINT_BONUS): New parameter. | |
18176 | * ipa-cp.c (hint_time_bonus): Add abonus for known array indices. | |
18177 | ||
12211b99 | 18178 | 2013-03-20 Pat Haugen <pthaugen@us.ibm.com> |
c6d5ff83 MM |
18179 | |
18180 | * config/rs6000/predicates.md (indexed_address, update_address_mem | |
18181 | update_indexed_address_mem): New predicates. | |
18182 | * config/rs6000/vsx.md (vsx_extract_<mode>_zero): Set correct "type" | |
18183 | attribute for load/store instructions. | |
18184 | * config/rs6000/dfp.md (movsd_store): Likewise. | |
18185 | (movsd_load): Likewise. | |
18186 | * config/rs6000/rs6000.md (zero_extend<mode>di2_internal1): Likewise. | |
18187 | (unnamed HI->DI extend define_insn): Likewise. | |
18188 | (unnamed SI->DI extend define_insn): Likewise. | |
18189 | (unnamed QI->SI extend define_insn): Likewise. | |
18190 | (unnamed QI->HI extend define_insn): Likewise. | |
18191 | (unnamed HI->SI extend define_insn): Likewise. | |
18192 | (unnamed HI->SI extend define_insn): Likewise. | |
18193 | (extendsfdf2_fpr): Likewise. | |
18194 | (movsi_internal1): Likewise. | |
18195 | (movsi_internal1_single): Likewise. | |
18196 | (movhi_internal): Likewise. | |
18197 | (movqi_internal): Likewise. | |
18198 | (movcc_internal1): Correct mnemonic for stw insn. Set correct "type" | |
18199 | attribute for load/store instructions. | |
18200 | (mov<mode>_hardfloat): Set correct "type" attribute for load/store | |
18201 | instructions. | |
18202 | (mov<mode>_softfloat): Likewise. | |
18203 | (mov<mode>_hardfloat32): Likewise. | |
18204 | (mov<mode>_hardfloat64): Likewise. | |
18205 | (mov<mode>_softfloat64): Likewise. | |
18206 | (movdi_internal32): Likewise. | |
18207 | (movdi_internal64): Likewise. | |
18208 | (probe_stack_<mode>): Likewise. | |
18209 | ||
18210 | 2013-03-20 Michael Meissner <meissner@linux.vnet.ibm.com> | |
18211 | ||
18212 | * config/rs6000/vector.md (VEC_R): Add 32-bit integer, binary | |
18213 | floating point, and decimal floating point to reload iterator. | |
18214 | ||
18215 | * config/rs6000/constraints.md (wl constraint): New constraints to | |
18216 | return FLOAT_REGS if certain options are used to reduce the number | |
18217 | of separate patterns that exist in the file. | |
18218 | (wx constraint): Likewise. | |
18219 | (wz constraint): Likewise. | |
18220 | ||
18221 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
18222 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
18223 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
18224 | Initialize the reload functions for 64-bit binary/decimal floating | |
18225 | point types. | |
18226 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
18227 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
18228 | create the buffer on the stack to overcome not having a 32-bit | |
18229 | load and store. | |
18230 | (rs6000_emit_move): Likewise. | |
18231 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
18232 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
18233 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
18234 | via xxlxor, just like DFmode 0.0. | |
18235 | ||
18236 | * config/rs6000/rs6000.h (TARGET_NO_SDMODE_STACK): New macro, | |
18237 | define as 1 if we are running on a power7 or newer. | |
18238 | (enum r6000_reg_class_enum): Add new constraints. | |
18239 | ||
18240 | * config/rs6000/dfp.md (movsd): Delete, combine with binary | |
18241 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
18242 | with other moves by using conditional constraits (wg). Use LFIWZX | |
bd059b26 | 18243 | and STFIWX for loading SDmode on power7. Use xxlxor to create 0.0f. |
c6d5ff83 MM |
18244 | (movsd splitter): Likewise. |
18245 | (movsd_hardfloat): Likewise. | |
18246 | (movsd_softfloat): Likewise. | |
18247 | ||
18248 | * config/rs6000/rs6000.md (FMOVE32): New iterators to combine | |
18249 | binary and decimal floating point moves. | |
18250 | (fmove_ok): New attributes to combine binary and decimal floating | |
18251 | point moves, and to combine power6x (mfpgpr) moves along normal | |
18252 | floating moves. | |
18253 | (real_value_to_target): Likewise. | |
18254 | (f32_lr): Likewise. | |
18255 | (f32_lm): Likewise. | |
18256 | (f32_li): Likewise. | |
18257 | (f32_sr): Likewise. | |
18258 | (f32_sm): Likewise. | |
18259 | (f32_si): Likewise. | |
18260 | (movsf): Combine binary and decimal floating point moves. Combine | |
18261 | power6x (mfpgpr) moves with other moves by using conditional | |
bd059b26 | 18262 | constraits (wg). Use LFIWZX and STFIWX for loading SDmode on power7. |
c6d5ff83 MM |
18263 | (mov<mode> for SFmode/SDmode); Likewise. |
18264 | (SFmode/SDmode splitters): Likewise. | |
18265 | (movsf_hardfloat): Likewise. | |
18266 | (mov<mode>_hardfloat for SFmode/SDmode): Likewise. | |
18267 | (movsf_softfloat): Likewise. | |
18268 | (mov<mode>_softfloat for SFmode/SDmode): Likewise. | |
18269 | ||
18270 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wl, | |
18271 | wx and wz constraints. | |
18272 | ||
18273 | * config/rs6000/constraints.md (wg constraint): New constraint to | |
18274 | return FLOAT_REGS if -mmfpgpr (power6x) was used. | |
18275 | ||
18276 | * config/rs6000/rs6000.h (enum r6000_reg_class_enum): Add wg | |
18277 | constraint. | |
18278 | ||
18279 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
18280 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
18281 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
18282 | Initialize the reload functions for 64-bit binary/decimal floating | |
18283 | point types. | |
18284 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
18285 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
18286 | create the buffer on the stack to overcome not having a 32-bit | |
18287 | load and store. | |
18288 | (rs6000_emit_move): Likewise. | |
18289 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
18290 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
18291 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
18292 | via xxlxor, just like DFmode 0.0. | |
18293 | ||
c6d5ff83 MM |
18294 | * config/rs6000/dfp.md (movdd): Delete, combine with binary |
18295 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
18296 | with other moves by using conditional constraits (wg). Use LFIWZX | |
18297 | and STFIWX for loading SDmode on power7. | |
18298 | (movdd splitters): Likewise. | |
18299 | (movdd_hardfloat32): Likewise. | |
18300 | (movdd_softfloat32): Likewise. | |
18301 | (movdd_hardfloat64_mfpgpr): Likewise. | |
18302 | (movdd_hardfloat64): Likewise. | |
18303 | (movdd_softfloat64): Likewise. | |
18304 | ||
18305 | * config/rs6000/rs6000.md (FMOVE64): New iterators to combine | |
18306 | 64-bit binary and decimal floating point moves. | |
18307 | (FMOVE64X): Likewise. | |
18308 | (movdf): Combine 64-bit binary and decimal floating point moves. | |
18309 | Combine power6x (mfpgpr) moves with other moves by using | |
18310 | conditional constraits (wg). | |
18311 | (mov<mode> for DFmode/DDmode): Likewise. | |
18312 | (DFmode/DDmode splitters): Likewise. | |
18313 | (movdf_hardfloat32): Likewise. | |
18314 | (mov<mode>_hardfloat32 for DFmode/DDmode): Likewise. | |
18315 | (movdf_softfloat32): Likewise. | |
18316 | (movdf_hardfloat64_mfpgpr): Likewise. | |
18317 | (movdf_hardfloat64): Likewise. | |
18318 | (mov<mode>_hardfloat64 for DFmode/DDmode): Likewise. | |
18319 | (movdf_softfloat64): Likewise. | |
18320 | (mov<mode>_softfloat64 for DFmode/DDmode): Likewise. | |
18321 | (reload_<mode>_load): Move to later in the file so they aren't in | |
18322 | the middle of the floating point move insns. | |
18323 | (reload_<mode>_store): Likewise. | |
18324 | ||
18325 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wg | |
18326 | constraint. | |
18327 | ||
18328 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print out wg | |
18329 | constraint if -mdebug=reg. | |
bd059b26 UB |
18330 | (rs6000_initi_hard_regno_mode_ok): Enable wg constraint if -mfpgpr. |
18331 | Enable using dd reload support if needed. | |
c6d5ff83 MM |
18332 | |
18333 | * config/rs6000/dfp.md (movtd): Delete, combine with 128-bit | |
18334 | binary and decimal floating point moves in rs6000.md. | |
18335 | (movtd_internal): Likewise. | |
18336 | ||
18337 | * config/rs6000/rs6000.md (FMOVE128): Combine 128-bit binary and | |
18338 | decimal floating point moves. | |
18339 | (movtf): Likewise. | |
18340 | (movtf_internal): Likewise. | |
18341 | (mov<mode>_internal, TDmode/TFmode): Likewise. | |
18342 | (movtf_softfloat): Likewise. | |
18343 | (mov<mode>_softfloat, TDmode/TFmode): Likewise. | |
18344 | ||
18345 | * config/rs6000/rs6000.md (movdi_mfpgpr): Delete, combine with | |
18346 | movdi_internal64, using wg constraint for move direct operations. | |
18347 | (movdi_internal64): Likewise. | |
18348 | ||
18349 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print | |
18350 | MODES_TIEABLE_P for selected modes. Print the numerical value of | |
18351 | the various virtual registers. Use GPR/FPR first/last values, | |
18352 | instead of hard coding the register numbers. Print which modes | |
18353 | have reload functions registered. | |
bd059b26 UB |
18354 | (rs6000_option_override_internal): If -mdebug=reg, trace the options |
18355 | settings before/after setting cpu, target and subtarget settings. | |
18356 | (rs6000_secondary_reload_trace): Improve the RTL dump for -mdebug=addr | |
18357 | and for secondary reload failures in rs6000_secondary_reload_inner. | |
c6d5ff83 MM |
18358 | (rs6000_secondary_reload_fail): Likewise. |
18359 | (rs6000_secondary_reload_inner): Likewise. | |
18360 | ||
18361 | * config/rs6000/rs6000.md (FIRST_GPR_REGNO): Add convenience | |
18362 | macros for first/last GPR and FPR registers. | |
18363 | (LAST_GPR_REGNO): Likewise. | |
18364 | (FIRST_FPR_REGNO): Likewise. | |
18365 | (LAST_FPR_REGNO): Likewise. | |
18366 | ||
18367 | * config/rs6000/vector.md (mul<mode>3): Use the combined macro | |
18368 | VECTOR_UNIT_ALTIVEC_OR_VSX_P instead of separate calls to | |
18369 | VECTOR_UNIT_ALTIVEC_P and VECTOR_UNIT_VSX_P. | |
18370 | (vcond<mode><mode>): Likewise. | |
18371 | (vcondu<mode><mode>): Likewise. | |
18372 | (vector_gtu<mode>): Likewise. | |
18373 | (vector_gte<mode>): Likewise. | |
18374 | (xor<mode>3): Don't allow logical operations on TImode in 32-bit | |
bd059b26 | 18375 | to prevent the compiler from converting DImode operations to TImode. |
c6d5ff83 MM |
18376 | (ior<mode>3): Likewise. |
18377 | (and<mode>3): Likewise. | |
18378 | (one_cmpl<mode>2): Likewise. | |
18379 | (nor<mode>3): Likewise. | |
18380 | (andc<mode>3): Likewise. | |
18381 | ||
18382 | * config/rs6000/constraints.md (wt constraint): New constraint | |
18383 | that returns VSX_REGS if TImode is allowed in VSX registers. | |
18384 | ||
18385 | * config/rs6000/predicates.md (easy_fp_constant): 0.0f is an easy | |
18386 | constant under VSX. | |
18387 | ||
18388 | * config/rs6000/rs6000-modes.def (PTImode): Define, PTImode is | |
18389 | similar to TImode, but it is restricted to being in the GPRs. | |
18390 | ||
18391 | * config/rs6000/rs6000.opt (-mvsx-timode): New switch to allow | |
18392 | TImode to occupy a single VSX register. | |
18393 | ||
18394 | * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Default to | |
18395 | -mvsx-timode for power7/power8. | |
18396 | (power7 cpu): Likewise. | |
18397 | (power8 cpu): Likewise. | |
18398 | ||
18399 | * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Make | |
18400 | sure that TFmode/TDmode take up two registers if they are ever | |
18401 | allowed in the upper VSX registers. | |
18402 | (rs6000_hard_regno_mode_ok): If -mvsx-timode, allow TImode in VSX | |
18403 | registers. | |
18404 | (rs6000_init_hard_regno_mode_ok): Likewise. | |
18405 | (rs6000_debug_reg_global): Add debugging for PTImode and wt | |
18406 | constraint. Print if LRA is turned on. | |
18407 | (rs6000_option_override_internal): Give an error if -mvsx-timode | |
18408 | and VSX is not enabled. | |
18409 | (invalid_e500_subreg): Handle PTImode, restricting it to GPRs. If | |
18410 | -mvsx-timode, restrict TImode to reg+reg addressing, and PTImode | |
18411 | to reg+offset addressing. Use PTImode when checking offset | |
18412 | addresses for validity. | |
18413 | (reg_offset_addressing_ok_p): Likewise. | |
18414 | (rs6000_legitimate_offset_address_p): Likewise. | |
18415 | (rs6000_legitimize_address): Likewise. | |
18416 | (rs6000_legitimize_reload_address): Likewise. | |
18417 | (rs6000_legitimate_address_p): Likewise. | |
18418 | (rs6000_eliminate_indexed_memrefs): Likewise. | |
18419 | (rs6000_emit_move): Likewise. | |
18420 | (rs6000_secondary_reload): Likewise. | |
18421 | (rs6000_secondary_reload_inner): Handle PTImode. Allow 64-bit | |
18422 | reloads to fpr registers to continue to use reg+offset addressing, | |
18423 | but 64-bit reloads to altivec registers need reg+reg addressing. | |
18424 | Drop test for PRE_MODIFY, since VSX loads/stores no longer support | |
18425 | it. Treat LO_SUM like a PLUS operation. | |
18426 | (rs6000_secondary_reload_class): If type is 64-bit, prefer to use | |
bd059b26 | 18427 | FLOAT_REGS instead of VSX_RGS to allow use of reg+offset addressing. |
c6d5ff83 MM |
18428 | (rs6000_cannot_change_mode_class): Do not allow TImode in VSX |
18429 | registers to share a register with a smaller sized type, since VSX | |
18430 | puts scalars in the upper 64-bits. | |
18431 | (print_operand): Add support for PTImode. | |
18432 | (rs6000_register_move_cost): Use VECTOR_MEM_VSX_P instead of | |
18433 | VECTOR_UNIT_VSX_P to catch types that can be loaded in VSX | |
18434 | registers, but don't have arithmetic support. | |
18435 | (rs6000_memory_move_cost): Add test for VSX. | |
18436 | (rs6000_opt_masks): Add -mvsx-timode. | |
18437 | ||
18438 | * config/rs6000/vsx.md (VSm): Change to use 64-bit aligned moves | |
18439 | for TImode. | |
18440 | (VSs): Likewise. | |
18441 | (VSr): Use wt constraint for TImode. | |
18442 | (VSv): Drop TImode support. | |
18443 | (vsx_movti): Delete, replace with versions for 32-bit and 64-bit. | |
18444 | (vsx_movti_64bit): Likewise. | |
18445 | (vsx_movti_32bit): Likewise. | |
18446 | (vec_store_<mode>): Use VSX iterator instead of vector iterator. | |
18447 | (vsx_and<mode>3): Delete use of '?' constraint on inputs, just put | |
18448 | one '?' on the appropriate output constraint. Do not allow TImode | |
18449 | logical operations on 32-bit systems. | |
18450 | (vsx_ior<mode>3): Likewise. | |
18451 | (vsx_xor<mode>3): Likewise. | |
18452 | (vsx_one_cmpl<mode>2): Likewise. | |
18453 | (vsx_nor<mode>3): Likewise. | |
18454 | (vsx_andc<mode>3): Likewise. | |
18455 | (vsx_concat_<mode>): Likewise. | |
18456 | (vsx_xxpermdi_<mode>): Fix thinko for non V2DF/V2DI modes. | |
18457 | ||
18458 | * config/rs6000/rs6000.h (MASK_VSX_TIMODE): Map from | |
18459 | OPTION_MASK_VSX_TIMODE. | |
18460 | (enum rs6000_reg_class_enum): Add RS6000_CONSTRAINT_wt. | |
18461 | (STACK_SAVEAREA_MODE): Use PTImode instead of TImode. | |
18462 | ||
18463 | * config/rs6000/rs6000.md (INT mode attribute): Add PTImode. | |
18464 | (TI2 iterator): New iterator for TImode, PTImode. | |
18465 | (wd mode attribute): Add values for vector types. | |
bd059b26 UB |
18466 | (movti_string): Replace TI move operations with operations for TImode |
18467 | and PTImode. Add support for TImode being allowed in VSX registers. | |
c6d5ff83 MM |
18468 | (mov<mode>_string, TImode/PTImode): Likewise. |
18469 | (movti_ppc64): Likewise. | |
18470 | (mov<mode>_ppc64, TImode/PTImode): Likewise. | |
18471 | (TI mode splitters): Likewise. | |
18472 | ||
18473 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wt | |
18474 | constraint. | |
18475 | ||
1fc5eced MG |
18476 | 2013-03-20 Marc Glisse <marc.glisse@inria.fr> |
18477 | ||
18478 | PR tree-optimization/56355 | |
18479 | * fold-const.c (tree_binary_nonnegative_warnv_p) <MULT_EXPR>: | |
18480 | Also handle integers with undefined overflow. | |
18481 | ||
22c4c869 CM |
18482 | 2013-03-20 Catherine Moore <clm@codesourcery.com> |
18483 | Maciej W. Rozycki <macro@codesourcery.com> | |
18484 | Tom de Vries <tom@codesourcery.com> | |
12211b99 | 18485 | Nathan Sidwell <nathan@codesourcery.com> |
22c4c869 CM |
18486 | Iain Sandoe <iain@codesourcery.com> |
18487 | Nathan Froyd <froydnj@codesourcery.com> | |
12211b99 | 18488 | Chao-ying Fu <fu@mips.com> |
22c4c869 CM |
18489 | |
18490 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
7cf34aae | 18491 | Document new function attributes. |
22c4c869 CM |
18492 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
18493 | m14k, m14ke, m14kec): Document new options. | |
18494 | (minterlink-mips16): Update documentation. | |
18495 | * doc/md.texi (ZC, ZD): Document new constraints. | |
18496 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
18497 | supports the .set micromips directive. | |
18498 | * configure: Regenerate. | |
18499 | * config.in: Regenerate. | |
18500 | * config/mips/mips-tables.opt: Regenerate. | |
18501 | * config/mips/micromips.md: New file. | |
18502 | * constraints.md (ZC, ZD): New constraints. | |
18503 | * config/mips/predicates.md (movep_src_register): New predicate. | |
18504 | (movep_src_operand): New predicate. | |
18505 | (non_volatile_mem_operand): New predicate. | |
18506 | * config/mips/mips.md (multimem): New type. | |
18507 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
18508 | (MOVEP1, MOVEP2): New mode iterator. | |
33159866 | 18509 | (mov_<load>l): Use ZC constraint. |
22c4c869 CM |
18510 | (mov_<load>r): Likewise. |
18511 | (mov_<store>l): Likewise. | |
18512 | (mov_<store>r): Likewise. | |
18513 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
18514 | (*branch_equality<mode>): Likewise. | |
18515 | (*jump_absolute): Likewise. | |
18516 | (indirect_jump_<mode>): Likewise. | |
18517 | (tablejump_<mode>): Likewise. | |
18518 | (<optab>_internal): Likewise. | |
18519 | (sibcall_internal): Likewise. | |
18520 | (sibcall_value_internal): Likewise. | |
18521 | (prefetch): Use constraint ZD. | |
18522 | * config/mips/mips.opt (minterlink-compressed): New option. | |
18523 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
18524 | (mmicromips): New option. | |
18525 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
18526 | (compare_and_swap_12): Likewise. | |
18527 | (sync_add<mode>): Likewise. | |
18528 | (sync_<optab>_12): Likewise. | |
18529 | (sync_old_<optab>_12): Likewise. | |
18530 | (sync_new_<optab>_12): Likewise. | |
18531 | (sync_nand_12): Likewise. | |
18532 | (sync_old_nand_12): Likewise. | |
18533 | (sync_new_nand_12): Likewise. | |
18534 | (sync_sub<mode>): Likewise. | |
18535 | (sync_old_add<mode>): Likewise. | |
18536 | (sync_old_sub<mode>): Likewise. | |
18537 | (sync_new_add<mode>): Likewise. | |
18538 | (sync_new_sub<mode>): Likewise. | |
18539 | (sync_<optab><mode>): Likewise. | |
18540 | (sync_old_<optab><mode>): Likewise. | |
18541 | (sync_new_<optab><mode>): Likewise. | |
18542 | (sync_nand<mode>): Likewise. | |
18543 | (sync_old_nand<mode>): Likewise. | |
18544 | (sync_new_nand<mode>): Likewise. | |
18545 | (sync_lock_test_and_set<mode>): Likewise. | |
18546 | (test_and_set_12): Likewise. | |
18547 | (atomic_compare_and_swap<mode>): Likewise. | |
18548 | (atomic_exchange<mode>_llsc): Likewise. | |
18549 | (atomic_fetch_add<mode>_llsc): Likewise. | |
18550 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
18551 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
18552 | (umips_save_restore_pattern_p): Likewise. | |
18553 | (umips_load_store_pair_p): Likewise. | |
18554 | (umips_output_load_store_pair): Likewise. | |
18555 | (umips_movep_target_p): Likewise. | |
18556 | (umips_12bit_offset_address_p): Likewise. | |
18557 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
18558 | (mips_base_mips16): Rename this... | |
18559 | (mips_base_compression_flags): ...to this. Update all uses. | |
18560 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
18561 | (mips_mips16_decl_p): Delete. | |
18562 | (mips_nomips16_decl_p): Delete. | |
33159866 | 18563 | (mips_get_compress_on_flags): New function. |
22c4c869 CM |
18564 | (mips_get_compress_off_flags): New function. |
18565 | (mips_get_compress_mode): New function. | |
18566 | (mips_get_compress_on_name): New function. | |
18567 | (mips_get_compress_off_name): New function. | |
18568 | (mips_insert_attributes): Support multiple compression types. | |
18569 | (mips_merge_decl_attributes): Likewise. | |
18570 | (umips_12bit_offset_address_p): New function. | |
18571 | (mips_start_function_definition): Emit .set micromips directive. | |
18572 | (mips_call_may_need_jalx_p): New function. | |
18573 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
18574 | (mips_print_operand_punctuation): Support short delay slots and | |
18575 | compact jumps. | |
18576 | (umips_swm_mask, umips_swm_encoding): New. | |
18577 | (umips_build_save_restore): New function. | |
18578 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
18579 | (was_mips16_p): Remove. | |
18580 | (old_compression_mode): New. | |
18581 | (mips_set_compression_mode): New function. | |
18582 | (mips_set_current_function): Add microMIPS support. | |
18583 | (mips_option_override): Likewise. | |
18584 | (umips_save_restore_pattern_p): New function. | |
18585 | (umips_output_save_restore): New function. | |
18586 | (umips_load_store_pair_p_1): New function. | |
18587 | (umips_load_store_pair_p): New function. | |
18588 | (umips_output_load_store_pair_1): New function. | |
18589 | (umips_output_load_store_pair): New function. | |
18590 | (umips_movep_target_p) New function. | |
18591 | (mips_prepare_pch_save): Add microMIPS support. | |
18592 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
18593 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
18594 | to use new compression flags and to support microMIPS. | |
18595 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
18596 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
18597 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
18598 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
18599 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
18600 | (M16STORE_REG_P): New macro. | |
18601 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
18602 | (MICROMIPS_J): New macro. | |
18603 | (mips_base_mips16): Rename this... | |
18604 | (mips_base_compression_flags): ...to this. | |
18605 | (UMIPS_12BIT_OFFSET_P): New macro. | |
18606 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
18607 | (MULTILIB_DIRNAMES): Likewise. | |
92a8d7a7 RB |
18608 | 2013-03-20 Richard Biener <rguenther@suse.de> |
18609 | ||
18610 | PR tree-optimization/56661 | |
18611 | * tree-ssa-sccvn.c (visit_use): Only value-number calls if | |
18612 | the result does not have to be distinct. | |
18613 | ||
54714c68 RB |
18614 | 2013-03-20 Richard Biener <rguenther@suse.de> |
18615 | ||
18616 | * tree-inline.c (copy_tree_body_r): Sync MEM_REF code with | |
18617 | remap_gimple_op_r. | |
18618 | ||
cca1130d | 18619 | 2013-03-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
12211b99 | 18620 | Steven Bosscher <steven@gcc.gnu.org> |
cca1130d BS |
18621 | |
18622 | PR rtl-optimization/56605 | |
18623 | * loop-iv.c (implies_p): Handle equal RTXs and subregs. | |
18624 | ||
2a930377 UB |
18625 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
18626 | ||
18627 | PR bootstrap/56656 | |
18628 | * config/i386/i386.md (*movdi_internal): Handle broken assemblers | |
18629 | that require movd instead of movq. | |
18630 | ||
d6d305fe RB |
18631 | 2013-03-20 Richard Biener <rguenther@suse.de> |
18632 | ||
18633 | * tree-ssa-structalias.c (struct variable_info): Add pointer | |
18634 | to the first field of an aggregate with sub-vars. Make | |
18635 | this and the pointer to the next subfield its ID. | |
18636 | (vi_next): New function. | |
18637 | (nothing_id, anything_id, readonly_id, escaped_id, nonlocal_id, | |
18638 | storedanything_id, integer_id): Increment by one. | |
18639 | (new_var_info, get_call_vi, lookup_call_clobber_vi, | |
18640 | get_call_clobber_vi): Adjust. | |
18641 | (solution_set_expand): Simplify and speedup. | |
18642 | (solution_set_add): Inline into ... | |
18643 | (set_union_with_increment): ... this. Adjust accordingly. | |
18644 | (do_sd_constraint): Likewise. | |
18645 | (do_ds_constraint): Likewise. | |
18646 | (do_complex_constraint): Simplify. | |
18647 | (build_pred_graph): Adjust. | |
18648 | (solve_graph): Likewise. Simplify and speedup. | |
18649 | (get_constraint_for_ssa_var, get_constraint_for_ptr_offset, | |
18650 | get_constraint_for_component_ref, get_constraint_for_1, | |
18651 | first_vi_for_offset, first_or_preceding_vi_for_offset, | |
18652 | create_function_info_for, create_variable_info_for_1, | |
18653 | create_variable_info_for, intra_create_variable_infos): Adjust. | |
18654 | (init_base_vars): Push NULL for ID zero. | |
18655 | (compute_points_to_sets): Adjust. | |
18656 | ||
a271b42d RB |
18657 | 2013-03-20 Richard Biener <rguenther@suse.de> |
18658 | ||
18659 | * cfgloop.c (verify_loop_structure): Streamline and avoid | |
18660 | ICEing on corrupt loop tree. | |
18661 | * graph.c (draw_cfg_nodes_for_loop): Avoid ICEing on corrupt | |
18662 | loop tree. | |
18663 | ||
ebd65954 RB |
18664 | 2013-03-20 Richard Biener <rguenther@suse.de> |
18665 | ||
18666 | * tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not | |
18667 | check whether an SSA update is needed. | |
18668 | ||
4547b7ee RS |
18669 | 2013-03-20 Richard Sandiford <rdsandiford@googlemail.com> |
18670 | ||
18671 | * config/mips/constraints.md (T): Rename to... | |
18672 | (Yf): ...this. | |
18673 | (U): Rename to... | |
18674 | (Yd): ...this. | |
18675 | * config/mips/mips.md (*movdi_64bit, *movdi_64bit_mips16) | |
18676 | (*mov<mode>_internal, *mov<mode>_mips16): Update accordingly. | |
18677 | ||
0b8cdc58 IB |
18678 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
18679 | ||
18680 | * config/aarch64/aarch64.md (*sub<mode>3_carryin): New pattern. | |
18681 | (*subsi3_carryin_uxtw): Likewise. | |
18682 | ||
5977a10d IB |
18683 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
18684 | ||
18685 | * config/aarch64/aarch64.md (*ror<mode>3_insn): New pattern. | |
18686 | (*rorsi3_insn_uxtw): Likewise. | |
18687 | ||
bd83ff2c IB |
18688 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
18689 | ||
18690 | * config/aarch64/aarch64.md (*extr<mode>5_insn): New pattern. | |
18691 | (*extrsi5_insn_uxtw): Likewise. | |
18692 | ||
ba65123c RB |
18693 | 2013-03-19 Richard Biener <rguenther@suse.de> |
18694 | ||
18695 | PR tree-optimization/56273 | |
18696 | * passes.c (init_optimization_passes): Move second VRP after DOM. | |
18697 | ||
2eac0476 UB |
18698 | 2013-03-19 Uros Bizjak <ubizjak@gmail.com> |
18699 | ||
18700 | * config/i386/i386.md (*movti_internal): Merge from | |
18701 | *movti_internal_rex64 and *movti_internal_sse. Use x64 isa attribute. | |
18702 | (*movdi_internal): Merge with *movdi_internal_rex64. Use x64 and | |
18703 | nox64 isa attributes. | |
18704 | ||
6e55eda7 RB |
18705 | 2013-03-18 Richard Biener <rguenther@suse.de> |
18706 | ||
18707 | * tree-ssa-structalias.c (find): Use gcc_checking_assert. | |
18708 | (unite): Likewise. | |
18709 | (merge_node_constraints): Likewise. | |
18710 | (build_succ_graph): Likewise. | |
18711 | (valid_graph_edge): Inline into single caller. | |
18712 | (unify_nodes): Likewise. Use bitmap_set_bit return value | |
18713 | and cache varinfo. | |
18714 | (scc_visit): Fix formatting and variable use. | |
18715 | (do_sd_constraint): Use gcc_checking_assert. | |
18716 | (do_ds_constraint): Likewise. | |
18717 | (do_complex_constraint): Likewise. | |
18718 | (condense_visit): Likewise. Cleanup. | |
18719 | (dump_pred_graph): New function. | |
18720 | (perform_var_substitution): Dump the pred-graph before | |
18721 | variable substitution. | |
18722 | (find_equivalent_node): Use gcc_checking_assert. | |
18723 | (rewrite_constraints): Guard checking loop with ENABLE_CHECKING. | |
18724 | ||
4bdd44c4 RB |
18725 | 2013-03-18 Richard Biener <rguenther@suse.de> |
18726 | ||
18727 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): | |
18728 | Remove cond_expr_stmt_list argument and do not gimplify the | |
18729 | built expression. | |
18730 | (vect_loop_versioning): Adjust. | |
18731 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
18732 | Cleanup to use less temporaries. | |
18733 | (vect_create_data_ref_ptr): Cleanup. | |
18734 | ||
38c56a5b JJ |
18735 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
18736 | ||
18737 | PR tree-optimization/56635 | |
18738 | * fold-const.c (operand_equal_p): For MEM_REF and TARGET_MEM_REF, | |
18739 | require types_compatible_p types. | |
18740 | ||
20b2e6a0 NC |
18741 | 2013-03-18 Nick Clifton <nickc@redhat.com> |
18742 | ||
a6178a25 NC |
18743 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): Remove |
18744 | spurious backslash. | |
18745 | ||
20b2e6a0 NC |
18746 | * config/mn10300/mn10300.c (mn10300_get_live_callee_saved_regs): |
18747 | Add missing line to comment describing function. | |
18748 | ||
92608d0e RB |
18749 | 2013-03-18 Richard Biener <rguenther@suse.de> |
18750 | ||
18751 | PR tree-optimization/56210 | |
18752 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
18753 | Handle string / character search functions. | |
18754 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
18755 | ||
31348d52 RB |
18756 | 2013-03-18 Richard Biener <rguenther@suse.de> |
18757 | ||
18758 | PR middle-end/56483 | |
18759 | * cfgexpand.c (expand_gimple_cond): Inline gimple_cond_single_var_p | |
18760 | and implement properly. | |
18761 | * gimple.h (gimple_cond_single_var_p): Remove. | |
18762 | ||
fcac74a1 RB |
18763 | 2013-03-18 Richard Biener <rguenther@suse.de> |
18764 | ||
18765 | * tree-data-ref.h (find_data_references_in_loop): Declare. | |
18766 | * tree-data-ref.c (get_references_in_stmt): Use a stack | |
18767 | vector pre-allocated in the callers. | |
18768 | (find_data_references_in_stmt): Adjust. | |
18769 | (graphite_find_data_references_in_stmt): Likewise. | |
18770 | (create_rdg_vertices): Likewise. | |
18771 | (find_data_references_in_loop): Export. | |
18772 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependences): | |
18773 | Compute dependences here... | |
18774 | (vect_analyze_data_refs): ...not here. When we encounter | |
18775 | a non-vectorizable data reference in basic-block vectorization | |
18776 | truncate the data reference vector. Do not bother to | |
18777 | fixup data-dependence information for gather loads. | |
18778 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Check the number | |
18779 | of data references, as reported. | |
18780 | ||
0d5a1b56 RB |
18781 | 2013-03-18 Richard Biener <rguenther@suse.de> |
18782 | ||
18783 | PR tree-optimization/3713 | |
18784 | * tree-ssa-sccvn.c (visit_copy): Simplify. Always propagate | |
18785 | has_constants and expr. | |
18786 | (stmt_has_constants): Properly valueize SSA names when deciding | |
18787 | whether the stmt has constants. | |
18788 | ||
789c34e3 RB |
18789 | 2013-03-18 Richard Biener <rguenther@suse.de> |
18790 | ||
18791 | * tree-ssa-loop-manip.c (find_uses_to_rename): Do not scan the | |
18792 | whole function when there is nothing to do. | |
18793 | * tree-ssa-loop.c (pass_vectorize): Remove TODO_update_ssa. | |
18794 | * tree-vectorizer.c (vectorize_loops): Update virtual and | |
18795 | loop-closed SSA once. | |
18796 | * tree-vect-loop.c (vect_transform_loop): Do not update SSA here. | |
18797 | ||
076b4605 RB |
18798 | 2013-03-18 Richard Biener <rguenther@suse.de> |
18799 | ||
18800 | PR middle-end/56113 | |
18801 | * domwalk.c (bb_postorder): New global static. | |
18802 | (cmp_bb_postorder): New function. | |
18803 | (walk_dominator_tree): Replace scheme imposing an order for | |
18804 | visiting dominator sons by one sorting them at the time they | |
18805 | are pushed on the stack. | |
18806 | ||
bdb01696 RB |
18807 | 2013-03-18 Richard Biener <rguenther@suse.de> |
18808 | ||
18809 | PR tree-optimization/39326 | |
18810 | * tree-ssa-loop-im.c (refs_independent_p): Exploit symmetry. | |
18811 | (struct mem_ref): Replace mem member with ao_ref typed member. | |
18812 | (MEM_ANALYZABLE): Adjust. | |
18813 | (memref_eq): Likewise. | |
18814 | (mem_ref_alloc): Likewise. | |
18815 | (gather_mem_refs_stmt): Likewise. | |
18816 | (mem_refs_may_alias_p): Use the ao_ref to query the alias oracle. | |
18817 | (execute_sm_if_changed_flag_set): Adjust. | |
18818 | (execute_sm): Likewise. | |
18819 | (ref_always_accessed_p): Likewise. | |
18820 | (refs_independent_p): Likewise. | |
18821 | (can_sm_ref_p): Likewise. | |
18822 | ||
12d2dc5e JJ |
18823 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
18824 | ||
18825 | PR c/56566 | |
18826 | * tree.c (tree_int_cst_min_precision): For integer_zerop (value) | |
18827 | return 1 even for !unsignedp. | |
18828 | ||
286fb677 UB |
18829 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
18830 | ||
18831 | * config/i386/i386.md (isa): Add x64 and nox64. | |
18832 | (enabled): Define x64 for TARGET_64BIT and nox64 for !TARGET_64BIT. | |
18833 | (*pushtf): Enable *roF alternative for x64 isa only. | |
18834 | (*pushxf): Merge with *pushxf_nointeger. Use Yx*r constraint. Set | |
18835 | mode attribute of integer alternatives to DImode for TARGET_64BIT. | |
18836 | (*pushdf): Merge with *pushdf_rex64. Use x64 and nox64 isa attributes. | |
18837 | (*movtf_internal): Merge from *movtf_internal_rex64 and | |
18838 | *movtf_internal_sse. Use x64 and nox64 isa attributes. | |
18839 | (*movxf_internal): Merge with *movxf_internal_rex64. Use x64 and | |
18840 | nox64 isa attributes. | |
18841 | (*movdf_internal): Merge with *movdf_internal_rex64. Use x64 and | |
18842 | nox64 isa attributes. | |
18843 | * config/i386/constraints.md (Yd): Do not set for TARGET_64BIT. | |
18844 | ||
88b97037 UB |
18845 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
18846 | ||
18847 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
18848 | ||
9f4f1735 JJ |
18849 | 2013-03-17 Jakub Jelinek <jakub@redhat.com> |
18850 | ||
18851 | PR target/56640 | |
18852 | * config/arm/arm.h (REG_CLASS_NAMES): Add "SFP_REG" and "AFP_REG" | |
18853 | class names. Remove trailing comma after "ALL_REGS". | |
18854 | ||
48f4a6fa JH |
18855 | 2013-03-16 Jan Hubicka <jh@suse.cz> |
18856 | ||
18857 | * cgraph.h (cgraph_get_create_real_symbol_node): Declare. | |
18858 | * cgraph.c (cgraph_get_create_real_symbol_node): New function. | |
18859 | * cgrpahbuild.c: Use cgraph_get_create_real_symbol_node instead | |
18860 | of cgraph_get_create_node. | |
18861 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
18862 | ||
98e81123 JM |
18863 | 2013-03-16 Jason Merrill <jason@redhat.com> |
18864 | ||
18865 | PR debug/49090 | |
18866 | * dwarf2out.c (gen_generic_params_dies): Indicate default arguments | |
18867 | with DW_AT_default_value. | |
18868 | ||
8a298c04 JJ |
18869 | 2013-03-16 Jakub Jelinek <jakub@redhat.com> |
18870 | ||
18871 | * BASE-VER: Set to 4.9.0. | |
18872 | ||
4323afa0 AK |
18873 | 2013-03-14 Andi Kleen <ak@linux.intel.com> |
18874 | ||
18875 | PR target/56619 | |
18876 | * doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE, | |
18877 | __ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs. | |
18878 | Document _x* TSX intrinsics. | |
18879 | ||
b3c0d469 JJ |
18880 | 2013-03-14 Edgar E. Iglesias <edgar.iglesias@xilinx.com> |
18881 | David Holsgrove <david.holsgrove@xilinx.com> | |
8cc9a5a5 EI |
18882 | |
18883 | * configure.ac: Add MicroBlaze TLS support detection. | |
18884 | * configure: Regenerate. | |
88b97037 UB |
18885 | * config/microblaze/microblaze-protos.h |
18886 | (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p, | |
18887 | symbol_mentioned_p, label_mentioned_p): Add prototypes. | |
18888 | * config/microblaze/microblaze.c (microblaze_address_type): Add | |
18889 | ADDRESS_TLS and tls_reloc address types. | |
8cc9a5a5 EI |
18890 | (microblaze_address_info): Add tls_reloc. |
18891 | (TARGET_HAVE_TLS): Define. | |
18892 | (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1, | |
18893 | microblaze_tls_referenced_p, microblaze_cannot_force_const_mem, | |
88b97037 UB |
18894 | symbol_mentioned_p, label_mentioned_p, tls_mentioned_p, |
18895 | load_tls_operand, microblaze_call_tls_get_addr, | |
18896 | microblaze_legitimize_tls_address): New functions. | |
8cc9a5a5 EI |
18897 | (microblaze_classify_unspec): Handle UNSPEC_TLS. |
18898 | (get_base_reg): Use microblaze_tls_symbol_p. | |
18899 | (microblaze_classify_address): Handle TLS. | |
88b97037 UB |
18900 | (microblaze_legitimate_pic_operand): Use symbol_mentioned_p, |
18901 | label_mentioned_p and microblaze_tls_referenced_p. | |
8cc9a5a5 EI |
18902 | (microblaze_legitimize_address): Handle TLS. |
18903 | (microblaze_address_insns): Handle ADDRESS_TLS. | |
18904 | (pic_address_needs_scratch): Handle TLS. | |
18905 | (print_operand_address): Handle TLS. | |
18906 | (microblaze_expand_prologue): Check TLS_NEEDS_GOT. | |
18907 | (microblaze_expand_move): Handle TLS. | |
88b97037 UB |
18908 | (microblaze_legitimate_constant_p): Check |
18909 | microblaze_cannot_force_const_mem and microblaze_tls_symbol_p. | |
8cc9a5a5 EI |
18910 | (TARGET_CANNOT_FORCE_CONST_MEM): Define. |
18911 | * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define | |
18912 | (PIC_OFFSET_TABLE_REGNUM): Set. | |
18913 | * config/microblaze/linux.h (TLS_NEEDS_GOT): Define. | |
18914 | * config/microblaze/microblaze.md (UNSPEC_TLS): Define. | |
18915 | (addsi3, movsi_internal2, movdf_internal): Update constraints | |
18916 | * config/microblaze/predicates.md (arith_plus_operand): Define | |
88b97037 UB |
18917 | (move_operand): Redefine as move_src_operand, |
18918 | check microblaze_tls_referenced_p. | |
8cc9a5a5 | 18919 | |
d803a491 IB |
18920 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
18921 | ||
18922 | * config/aarch64/aarch64.md: (*and<mode>3nr_compare0): Use CC_NZ. | |
18923 | (*and_<SHIFT:optab><mode>3nr_compare0): Likewise. | |
18924 | ||
a8504f22 IB |
18925 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
18926 | ||
18927 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct | |
18928 | CC mode for AND. | |
18929 | ||
df2dfaea JJ |
18930 | 2013-03-14 Jakub Jelinek <jakub@redhat.com> |
18931 | ||
fbd28bc3 JJ |
18932 | PR tree-optimization/53265 |
18933 | * common.opt (Waggressive-loop-optimizations): New option. | |
18934 | * tree-ssa-loop-niter.c: Include tree-pass.h. | |
18935 | (do_warn_aggressive_loop_optimizations): New function. | |
18936 | (record_estimate): Call it. Don't add !is_exit bounds to loop->bounds | |
18937 | if number_of_latch_executions returned constant. | |
18938 | (estimate_numbers_of_iterations_loop): Call number_of_latch_executions | |
18939 | early. If number_of_latch_executions returned constant, set | |
18940 | nb_iterations_upper_bound back to it. | |
18941 | * cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations | |
18942 | field. | |
18943 | * Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H). | |
18944 | * doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document. | |
18945 | ||
df2dfaea JJ |
18946 | * config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove. |
18947 | (MULTILIB_OSDIRNAMES): Set. | |
18948 | * genmultilib: If defaultosdirname doesn't start with :: , set | |
18949 | defaultosdirname2 instead, clear it and emit two . multilib_raw | |
18950 | entries instead of just one. | |
18951 | ||
ee0d2b68 KK |
18952 | 2013-03-14 Kaz Kojima <kkojima@gcc.gnu.org> |
18953 | ||
18954 | * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
18955 | (SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default. | |
18956 | * config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
18957 | (SUBTARGET_OVERRIDE_OPTIONS): New. | |
18958 | ||
decc676e OE |
18959 | 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org> |
18960 | ||
18961 | PR target/49880 | |
18962 | * config/sh/sh.opt (FPU_SINGLE_ONLY): New mask. | |
18963 | (musermode): Convert to Var(TARGET_USERMODE). | |
18964 | * config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY, | |
18965 | MASK_ARCH): Add MASK_FPU_SINGLE_ONLY. | |
18966 | * config/sh/sh.c (sh_option_override): Use | |
18967 | TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case. | |
18968 | * config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4 | |
18969 | condition. | |
18970 | (udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of | |
18971 | TARGET_SH4. | |
18972 | (udivsi3_i4_single, divsi3_i4_single): Use | |
18973 | TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4. | |
18974 | ||
f4b719c7 DK |
18975 | 2013-03-13 Dave Korn <dave.korn.cygwin@....> |
18976 | ||
18977 | * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): Make shared libgcc the | |
18978 | default setting. | |
18979 | ||
c40eced0 RB |
18980 | 2013-03-13 Richard Biener <rguenther@suse.de> |
18981 | ||
18982 | PR tree-optimization/56608 | |
18983 | * tree-vect-slp.c (vect_schedule_slp): Do not remove scalar | |
18984 | calls when vectorizing basic-blocks. | |
18985 | ||
1bfa5973 JJ |
18986 | 2013-03-13 Jakub Jelinek <jakub@redhat.com> |
18987 | ||
18988 | PR plugins/45078 | |
18989 | * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to | |
18990 | tm_file. | |
18991 | ||
6fcf5434 JJ |
18992 | 2013-03-12 Jakub Jelinek <jakub@redhat.com> |
18993 | ||
18994 | * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier. | |
18995 | ||
4f38fa8c JH |
18996 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
18997 | ||
18998 | PR lto/56557 | |
18999 | * lto-streamer-out.c (output_symbol_p): Skip references from | |
19000 | constructors of external variables. | |
19001 | ||
c5c5ba89 JH |
19002 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
19003 | ||
19004 | PR middle-end/56571 | |
19005 | * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating | |
19006 | from pseudos. | |
19007 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
19008 | (copy_insn_1): Likewise. | |
19009 | * rtl.c (copy_rtx): Likewise. | |
19010 | ||
c2a939b1 GJL |
19011 | 2013-03-11 Georg-Johann Lay <avr@gjlay.de> |
19012 | ||
19013 | PR target/56591 | |
19014 | * config/avr/avr.c (avr_print_operand): Add space after '%c' in | |
19015 | output_operand_lossage message. | |
88b97037 | 19016 | |
3c3279fb RE |
19017 | 2013-03-11 Richard Earnshaw <rearnsha@arm.com> |
19018 | ||
19019 | PR target/56470 | |
19020 | * arm.c (shift_op): Validate RTL pattern on the fly. | |
19021 | (arm_print_operand, case 'S'): Don't use shift_operator to validate | |
19022 | the RTL. | |
19023 | ||
aef5ef9d JDA |
19024 | 2013-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
19025 | ||
19026 | PR target/56347 | |
19027 | * config/pa/pa.md (call_value): Check for calls to powf and direct to | |
19028 | new call patterns that clobber %fr12. | |
19029 | (call_val_powf, call_val_powf_pic, call_val_powf_64bit): New insn, | |
19030 | split and postreload patterns. | |
19031 | * config/pa/pa.c (pa_conditional_register_usage): Revert marking | |
19032 | registers %fr12 and %fr12R as call used. | |
19033 | ||
456610d3 SB |
19034 | 2013-03-09 Steven Bosscher <steven@gcc.gnu.org> |
19035 | ||
19036 | * dse.c (delete_dead_store_insn): Respect TDF_DETAILS. | |
19037 | (canon_address, record_store, replace_read, check_mem_read_rtx, | |
19038 | scan_insn, dse_step1, dse_step2_init, dse_step2_spill, | |
19039 | dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6, | |
19040 | rest_of_handle_dse): Likewise. | |
19041 | ||
4b1baac8 RS |
19042 | 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com> |
19043 | ||
19044 | PR middle-end/56524 | |
19045 | * tree.h (tree_optimization_option): Rename target_optabs to optabs. | |
19046 | Add base_optabs. | |
19047 | (TREE_OPTIMIZATION_OPTABS): Update after previous field change. | |
19048 | (TREE_OPTIMIZATION_BASE_OPTABS): New macro. | |
19049 | (save_optabs_if_changed): Replace with... | |
19050 | (init_tree_optimization_optabs): ...this. | |
19051 | * optabs.c (save_optabs_if_changed): Rename to... | |
19052 | (init_tree_optimization_optabs): ...this. Take the optimization node | |
19053 | as argument. Do nothing if the base optabs are already correct. | |
19054 | Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need | |
19055 | to recompute optabs. | |
19056 | * function.h (function): Remove optabs field. | |
19057 | * function.c (invoke_set_current_function_hook): Call | |
19058 | init_tree_optimization_optabs. Use the result to initialize | |
19059 | this_fn_optabs. | |
19060 | ||
b7a78683 AH |
19061 | 2013-02-27 Aldy Hernandez <aldyh@redhat.com> |
19062 | ||
19063 | * trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE | |
19064 | if GTMA_HAS_NO_INSTRUMENTATION. | |
19065 | (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit. | |
19066 | (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION. | |
19067 | * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define. | |
19068 | * gimple-pretty-print.c (dump_gimple_transaction): Handle | |
19069 | GTMA_HAS_NO_INSTRUMENTATION. | |
19070 | ||
6384c29b JJ |
19071 | 2013-03-08 Jakub Jelinek <jakub@redhat.com> |
19072 | ||
19073 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against | |
19074 | libasan_preinit.o. | |
19075 | ||
ecd4f20a MP |
19076 | 2013-03-08 Marek Polacek <polacek@redhat.com> |
19077 | Jakub Jelinek <jakub@redhat.com> | |
19078 | ||
19079 | PR tree-optimization/56478 | |
19080 | * predict.c (is_comparison_with_loop_invariant_p): Change the | |
19081 | type of loop_step to tree. | |
19082 | (predict_loops): Adjust. | |
19083 | (predict_iv_comparison): Perform the computations on double_ints. | |
19084 | ||
64366d35 RB |
19085 | 2013-03-08 Richard Biener <rguenther@suse.de> |
19086 | ||
19087 | PR tree-optimization/56570 | |
19088 | * tree-cfg.c (verify_expr_location_1): Verify locations for | |
19089 | DECL_DEBUG_EXPR. | |
19090 | * tree-sra.c (create_access_replacement): Strip locations | |
19091 | from DECL_DEBUG_EXPRs. | |
19092 | ||
a9d5a059 RB |
19093 | 2013-03-08 Richard Biener <rguenther@suse.de> |
19094 | ||
19095 | * tree-inline.c (expand_call_inline): Do not associate | |
19096 | a BLOCK with the location in BLOCK_SOURCE_LOCATION. | |
19097 | * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION. | |
19098 | ||
b7aa4e9a RB |
19099 | 2013-03-08 Richard Biener <rguenther@suse.de> |
19100 | ||
19101 | * tree-ssa-ter.c (is_replaceable_p): Do not TER across location | |
19102 | or block changes with -Og. Fix for location / block encoding | |
19103 | changes and PHI arguments with locations. | |
19104 | ||
c4c2f9fa SB |
19105 | 2013-03-07 Steven Bosscher <steven@gcc.gnu.org> |
19106 | ||
19107 | * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT | |
19108 | for all counters. | |
19109 | (struct output_info): Likewise. | |
19110 | (register_overhead): Remove bad gcc_assert. | |
19111 | (bitmap_find_bit): If there is only a single bitmap element, do not | |
19112 | count a miss as a search. | |
19113 | (print_statistics): Update for counter type changes. | |
19114 | (dump_bitmap_statistics): Likewise. Print headers such that they | |
19115 | are properly lined up with the printed counters. | |
19116 | ||
5bf6606a JJ |
19117 | 2013-03-07 Jakub Jelinek <jakub@redhat.com> |
19118 | ||
19119 | PR tree-optimization/56559 | |
19120 | * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2, | |
19121 | check that it has only a single use. | |
19122 | ||
2c653d46 RB |
19123 | 2013-03-07 Richard Biener <rguenther@suse.de> |
19124 | ||
19125 | * doc/invoke.texi (fwhole-program): Discourage use in combination | |
19126 | with -flto. | |
19127 | ||
a72d8780 JJ |
19128 | 2013-03-06 Jakub Jelinek <jakub@redhat.com> |
19129 | ||
01a454df JJ |
19130 | * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def. |
19131 | ||
c1781047 JJ |
19132 | PR tree-optimization/56539 |
19133 | * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT | |
19134 | instead of GSI_CONTINUE_LINKING as last argument to | |
19135 | force_gimple_operand_gsi. Adjust function comment. | |
19136 | ||
9772c47a JJ |
19137 | * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Add |
19138 | aarch64-cores.def. | |
19139 | ||
a72d8780 JJ |
19140 | PR middle-end/56548 |
19141 | * expr.c (expand_cond_expr_using_cmove): When expanding cmove in | |
19142 | promoted mode, convert the result back to the original mode. | |
19143 | ||
fa5556de RB |
19144 | 2013-03-06 Richard Biener <rguenther@suse.de> |
19145 | ||
19146 | PR middle-end/56294 | |
19147 | * tree-into-ssa.c (insert_phi_nodes_for): Add dumping. | |
19148 | (insert_updated_phi_nodes_compare_uids): New function. | |
19149 | (update_ssa): Sort symbols_to_rename after UID before | |
19150 | traversing it to insert PHI nodes. | |
19151 | ||
010403d1 RB |
19152 | 2013-03-06 Richard Biener <rguenther@suse.de> |
19153 | ||
19154 | PR middle-end/50494 | |
19155 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): | |
19156 | Do not adjust alignment of DECL_IN_CONSTANT_POOL decls. | |
19157 | ||
19158 | Revert | |
19159 | 2013-02-13 Richard Biener <rguenther@suse.de> | |
19160 | ||
19161 | PR lto/50494 | |
19162 | * varasm.c (output_constant_def_1): Get the decl representing | |
19163 | the constant as argument. | |
19164 | (output_constant_def): Wrap output_constant_def_1. | |
19165 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
19166 | representing the constant. | |
19167 | (build_constant_desc): Optionally re-use a decl already | |
19168 | representing the constant. | |
19169 | (tree_output_constant_def): Adjust. | |
19170 | ||
3c27ce4c JY |
19171 | 2013-03-06 Joey Ye <joey.ye@arm.com> |
19172 | ||
19173 | PR lto/50293 | |
19174 | * gcc.c (convert_white_space): New function. | |
19175 | (main): Handles white space in function name. | |
19176 | ||
8f6d1c86 OE |
19177 | 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org> |
19178 | ||
19179 | PR target/56529 | |
19180 | * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT | |
19181 | instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy | |
19182 | to SH_DIV_CALL_TABLE for TARGET_SH2. | |
19183 | * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib | |
19184 | list. | |
19185 | * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp, | |
19186 | call-table options. | |
19187 | ||
798a209f SA |
19188 | 2013-03-05 Sterling Augustine <saugustine@google.com> |
19189 | Cary Coutant <ccoutant@google.com> | |
19190 | ||
19191 | PR debug/55364 | |
19192 | * dwarf2out.c (resolve_addr): Don't call | |
19193 | remove_loc_list_addr_table_entries a second time for the same | |
19194 | expression. | |
19195 | ||
6cfa417f | 19196 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
ee61ea38 | 19197 | |
6cfa417f JJ |
19198 | PR debug/56510 |
19199 | * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming. | |
19200 | (avoid_complex_debug_insns): New function. | |
19201 | (expand_debug_locations): Call it. | |
19202 | ||
19203 | PR rtl-optimization/56484 | |
19204 | * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending | |
19205 | lifetimes of hard registers on small register class machines. | |
19206 | ||
19207 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> | |
19208 | ||
19209 | * config/microblaze/microblaze-protos.h: Rename | |
ee61ea38 | 19210 | microblaze_is_interrupt_handler to microblaze_is_interrupt_variant. |
6cfa417f | 19211 | * config/microblaze/microblaze.c (microblaze_attribute_table): Add |
ee61ea38 DH |
19212 | fast_interrupt. |
19213 | (microblaze_fast_interrupt_function_p): New function. | |
19214 | (microblaze_is_interrupt_handler): Rename to | |
19215 | microblaze_is_interrupt_variant and add fast_interrupt check. | |
19216 | (microblaze_must_save_register): Use microblaze_is_interrupt_variant. | |
19217 | (save_restore_insns): Likewise. | |
19218 | (compute_frame_size): Likewise. | |
19219 | (microblaze_function_prologue): Add FAST_INTERRUPT_NAME. | |
19220 | (microblaze_globalize_label): Likewise. | |
6cfa417f JJ |
19221 | * config/microblaze/microblaze.h: Define FAST_INTERRUPT_NAME. |
19222 | * config/microblaze/microblaze.md: Use wrapper | |
ee61ea38 DH |
19223 | microblaze_is_interrupt_variant. |
19224 | ||
731aefac KT |
19225 | 2013-03-05 Kai Tietz <ktietz@redhat.com> |
19226 | ||
19227 | * sdbout.c (sdbout_one_type): Switch to current function's section | |
19228 | supporting cold/hot. | |
19229 | ||
a72d8780 | 19230 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> |
e34fd5a7 DH |
19231 | |
19232 | * doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian, | |
19233 | -mxl-reorder. | |
19234 | ||
334e71e8 JJ |
19235 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
19236 | ||
0b50e654 JJ |
19237 | PR middle-end/56461 |
19238 | * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING, | |
19239 | if VALGRIND_GET_VBITS is defined, temporarily make object | |
19240 | memory all defined, and restore previous valgrind addressability | |
19241 | and definability afterwards. Free this_object at the end. | |
19242 | ||
4ccf8f43 JJ |
19243 | PR middle-end/56461 |
19244 | * lra.c (lra): Call lra_clear_live_ranges if live_p, | |
19245 | right before calling lra_create_live_ranges, also call it | |
19246 | when clearing live_p. Only call lra_clear_live_ranges | |
19247 | at the end if live_p. | |
19248 | ||
334e71e8 JJ |
19249 | PR middle-end/56461 |
19250 | * sched-deps.c (delete_dep_node): Free DEP_REPLACE. | |
19251 | ||
9ca966ca RB |
19252 | 2013-03-05 Richard Biener <rguenther@suse.de> |
19253 | ||
19254 | PR tree-optimization/56521 | |
19255 | * tree-ssa-sccvn.c (set_value_id_for_result): Always initialize | |
19256 | value-id. | |
19257 | ||
d273b176 SB |
19258 | 2013-03-05 Steven Bosscher <steven@gcc.gnu.org> |
19259 | ||
19260 | PR c++/55135 | |
19261 | * except.h (remove_unreachable_eh_regions): New prototype. | |
19262 | * except.c (remove_eh_handler_splicer): New function, split out | |
19263 | of remove_eh_handler. | |
19264 | (remove_eh_handler): Use remove_eh_handler_splicer. Add comment | |
19265 | warning about running it on many EH regions one at a time. | |
19266 | (remove_unreachable_eh_regions_worker): New function, walk the | |
19267 | EH tree in depth-first order and remove non-marked regions. | |
19268 | (remove_unreachable_eh_regions): New function. | |
19269 | * tree-eh.c (mark_reachable_handlers): New function, split out | |
19270 | from remove_unreachable_handlers. | |
19271 | (remove_unreachable_handlers): Use mark_reachable_handlers and | |
19272 | remove_unreachable_eh_regions. | |
19273 | (remove_unreachable_handlers_no_lp): Use mark_reachable_handlers | |
19274 | and remove_unreachable_eh_regions. | |
19275 | ||
5e7f1aef RB |
19276 | 2013-03-05 Richard Biener <rguenther@suse.de> |
19277 | ||
19278 | PR middle-end/56525 | |
19279 | * loop-init.c (fix_loop_structure): Remove loops in two stages, | |
19280 | not freeing them until the end. | |
19281 | ||
f276b762 AK |
19282 | 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
19283 | ||
19284 | * config/s390/s390.h: Define DWARF2_ASM_LINE_DEBUG_INFO. | |
19285 | ||
12a43ab8 RB |
19286 | 2013-03-05 Richard Biener <rguenther@suse.de> |
19287 | ||
19288 | PR tree-optimization/56270 | |
19289 | * tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts | |
19290 | of loads after scheduling an SLP instance. | |
19291 | ||
93675444 JJ |
19292 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
19293 | ||
db4138e3 JJ |
19294 | * Makefile.in (dg_target_exps): Add aarch64.exp, epiphany.exp and |
19295 | tic6x.exp. | |
19296 | (check_gcc_parallelize): Run guality.exp as a separate job from | |
19297 | vect.exp with unsorted.exp and $(dg_target_exps) separately from | |
19298 | struct-layout-1.exp with stackalign.exp. | |
19299 | ||
dd3d1ec0 JJ |
19300 | * alias.c (init_alias_analysis): Clear reg_known_equiv_p bitmap. |
19301 | ||
b8d381a3 JJ |
19302 | PR middle-end/56461 |
19303 | * tree-vect-slp.c (vect_supported_load_permutation_p): Free | |
19304 | load_index sbitmap even if some bit in it isn't set. | |
19305 | ||
b4f9786b JJ |
19306 | PR middle-end/56461 |
19307 | * tree-ssa-loop-niter.c (bb_queue): Remove typedef. | |
19308 | (discover_iteration_bound_by_body_walk): Change queues to | |
19309 | vec<vec<basic_block> > and queue to vec<basic_block>. Fix up | |
19310 | spelling in comment. Call safe_push on queues[bound_index] directly. | |
19311 | Release queues[queue_index] in every iteration unconditionally. | |
19312 | Release bounds vector. | |
19313 | ||
93675444 JJ |
19314 | PR middle-end/56461 |
19315 | * tree-vect-stmts.c (free_stmt_vec_info_vec): Call | |
19316 | free_stmt_vec_info on any left-over stmt_vec_info in the vector. | |
19317 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Release | |
19318 | inner_phis vector. | |
19319 | ||
3e492e9c RB |
19320 | 2013-03-05 Richard Biener <rguenther@suse.de> |
19321 | ||
19322 | PR lto/56515 | |
19323 | * tree-inline.c (remap_blocks_to_null): New function. | |
19324 | (expand_call_inline): When expanding a call stmt without | |
19325 | an associated block inline remap all callee blocks to NULL. | |
19326 | ||
a5d1569a JJ |
19327 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
19328 | ||
86efb5cd JJ |
19329 | PR rtl-optimization/56494 |
19330 | * simplify-rtx.c (simplify_truncation): If C is narrower than A, | |
19331 | optimize (truncate:A (subreg:B (truncate:C X) 0)) into | |
19332 | (subreg:A (truncate:C X) 0) instead of (truncate:A X). | |
19333 | ||
85f5dbea JJ |
19334 | PR middle-end/56461 |
19335 | * sel-sched-ir.c (free_sched_pools): Release | |
19336 | succs_info_pool.stack[succs_info_pool.max_top] vectors too | |
19337 | if succs_info_pool.max_top isn't -1. | |
19338 | ||
a5d1569a JJ |
19339 | PR bootstrap/56509 |
19340 | * opts.c (opts_obstack, opts_concat): Moved to... | |
19341 | * opts-common.c (opts_obstack, opts_concat): ... here. | |
19342 | ||
4432aa6c JJ |
19343 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
19344 | ||
19345 | PR middle-end/56461 | |
19346 | * diagnostic.c (diagnostic_append_note): Save and restore old prefix. | |
19347 | ||
f3a1fb91 MJ |
19348 | 2013-03-04 Martin Jambor <mjambor@suse.cz> |
19349 | ||
19350 | * tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in | |
19351 | all appropriate places. | |
19352 | ||
22110e6c EB |
19353 | 2013-01-04 Eric Botcazou <ebotcazou@adacore.com> |
19354 | ||
19355 | PR tree-optimization/56424 | |
19356 | * ipa-split.c (split_function): Do not set the RSO flag if result is | |
19357 | not by reference and its type is a register type. | |
19358 | ||
a72d8780 | 19359 | 2013-03-04 David Holsgrove <david.holsgrove@xilinx.com> |
91c4e421 | 19360 | |
88b97037 | 19361 | * config/microblaze/microblaze.c (microblaze_valid_pic_const): New |
91c4e421 | 19362 | (microblaze_legitimate_pic_operand): Likewise |
88b97037 | 19363 | * config/microblaze/microblaze.h (LEGITIMATE_PIC_OPERAND_P): calls |
91c4e421 DH |
19364 | new function microblaze_legitimate_pic_operand |
19365 | * config/microblaze/microblaze-protos.h | |
19366 | (microblaze_legitimate_pic_operand): Declare. | |
19367 | ||
a72d8780 | 19368 | 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
82f8f53a | 19369 | |
a72d8780 | 19370 | * config/microblaze/predicates.md (call_insn_simple_operand): |
82f8f53a | 19371 | New predicate for supported rtx code types. |
a72d8780 | 19372 | * config/microblaze/microblaze.md (call_internal1): Use |
82f8f53a EI |
19373 | call_insn_simple_operand predicate. |
19374 | ||
541d9ac8 JJ |
19375 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
19376 | ||
5eb010bc JJ |
19377 | PR middle-end/56461 |
19378 | * tree-loop-distribution.c (ldist_gen): Call partition_free after each | |
19379 | partitions.ordered_remove. | |
19380 | ||
30862efc JJ |
19381 | PR middle-end/56461 |
19382 | * tree-vect-stmts.c (vectorizable_conversion): Don't call | |
19383 | vec_oprnds0.create (1) for modifier == NONE. | |
19384 | ||
8930f723 JJ |
19385 | PR middle-end/56461 |
19386 | * tree-vect-stmts.c (vectorizable_shift): Don't call create methods | |
19387 | on vec_oprnds0 or vec_oprnds1 before loop, only call it on | |
19388 | vec_oprnds1 right before pushing anything to it for | |
19389 | scalar_shift_arg. | |
19390 | ||
541d9ac8 JJ |
19391 | PR middle-end/56461 |
19392 | * tree-vect-loop.c (destroy_loop_vec_info): For !clean_stmts, just | |
19393 | set nbbs to 0 instead of having separate code path. | |
19394 | (vect_analyze_loop_form): Call destroy_loop_vec_info with true | |
19395 | instead of false as last argument if returning NULL. | |
19396 | ||
7aa7f2e3 SL |
19397 | 2013-03-03 Sandra Loosemore <sandra@codesourcery.com> |
19398 | ||
19399 | * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments; | |
19400 | the attribute is now called "target" instead of "option". | |
19401 | (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma. | |
19402 | * doc/tm.texi.in (Target Attributes): Likewise document the correct | |
19403 | attribute/pragma name for TARGET_OPTION_VALID_P and | |
19404 | TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup. | |
19405 | * doc/tm.texi: Regenerated. | |
19406 | ||
8930f723 | 19407 | 2013-03-02 David Holsgrove <david.holsgrove@xilinx.com> |
cb8a1637 | 19408 | |
8930f723 | 19409 | * config/microblaze/microblaze.c: |
cb8a1637 | 19410 | Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met. |
8930f723 JJ |
19411 | * config/microblaze/microblaze.h: Add -mxl-reorder to |
19412 | DRIVER_SELF_SPECS. | |
19413 | * config/microblaze/microblaze.md: New bswapsi2 and bswaphi2. | |
19414 | instructions emitted if TARGET_REORDER. | |
88b97037 UB |
19415 | * config/microblaze/microblaze.opt: New option -mxl-reorder set to 1 |
19416 | or 0 for -m/-mno case, but initialises as 2 to detect default use case | |
8930f723 | 19417 | separately. |
cb8a1637 | 19418 | |
4dc1d68c XDL |
19419 | 2013-03-01 Xinliang David Li <davidxl@google.com> |
19420 | ||
19421 | * tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom | |
19422 | walk length. | |
19423 | ||
689eaba3 JJ |
19424 | 2013-03-01 Jakub Jelinek <jakub@redhat.com> |
19425 | ||
9d676bf6 JJ |
19426 | PR middle-end/56461 |
19427 | * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Release path | |
19428 | vector even when returning true. Fix up function comment formatting. | |
19429 | ||
caff7edf JJ |
19430 | PR middle-end/56461 |
19431 | * ira-build.c (ira_loop_nodes_count): New variable. | |
19432 | (create_loop_tree_nodes): Initialize it. | |
19433 | (finish_loop_tree_nodes): Use it instead of looking at current_loops. | |
19434 | ||
b6b9227d JJ |
19435 | PR middle-end/56461 |
19436 | * tree-vect-data-refs.c (vect_permute_store_chain): Avoid using copy | |
19437 | method on dr_chain and result_chain. | |
19438 | * tree-vect-stmts.c (vectorizable_store): Only call | |
19439 | result_chain.create if j == 0. | |
19440 | ||
689eaba3 JJ |
19441 | PR middle-end/56461 |
19442 | * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call | |
19443 | vec_oprnds0->release (); rather than vec_oprnds0->truncate (0) | |
19444 | before overwriting it. | |
19445 | ||
40bf31ed TB |
19446 | 2013-03-01 Tobias Burnus <burnus@net-b.de> |
19447 | ||
19448 | * doc/extended.texi (C Extensions): Change order in @menu | |
19449 | to match @node. | |
19450 | (Other MIPS Built-in Functions): Move last MIPS entry before | |
19451 | "picoChip Built-in Functions". | |
19452 | (SH Built-in Functions): Move after RX Built-in Functions. | |
19453 | * doc/gcc.texi (Introduction): Change order in @menu | |
19454 | to match @node. | |
19455 | * doc/md.texi (Constraints): Ditto. | |
19456 | * gty.texi (Type Information): Ditto. | |
19457 | (User-provided marking routines for template types): Make | |
19458 | subsection. | |
19459 | * doc/invoke.texi (AArch64 Options): Move before | |
19460 | "Adapteva Epiphany Options". | |
19461 | ||
e664c61c KS |
19462 | 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com> |
19463 | Jakub Jelinek <jakub@redhat.com> | |
19464 | ||
19465 | PR sanitizer/56454 | |
19466 | * asan.c (gate_asan): Lookup no_sanitize_address instead of | |
19467 | no_address_safety_analysis attribute. | |
19468 | * doc/extend.texi (no_address_safety_attribute): Rename to | |
19469 | no_sanitize_address attribute, mention no_address_safety_analysis | |
19470 | attribute as deprecated alias. | |
19471 | ||
37b5ec8f JJ |
19472 | 2013-02-28 Jakub Jelinek <jakub@redhat.com> |
19473 | ||
19474 | PR middle-end/56461 | |
19475 | * tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument | |
19476 | type to vec<vec<tree> > *. | |
19477 | * tree-vect-slp.c (vect_get_slp_defs): Likewise. Change vec_defs | |
19478 | to be vec<tree> instead of vec<tree> *, set vec_defs | |
19479 | to vNULL and call vec_defs.create (number_of_vects), adjust other | |
19480 | uses of vec_defs. | |
19481 | * tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call, | |
19482 | vectorizable_condition): Adjust vect_get_slp_defs callers. | |
19483 | ||
ba96cdfb JG |
19484 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
19485 | ||
19486 | * config/aarch64/aarch64.c | |
19487 | (aarch64_float_const_representable): Remove unused variable. | |
19488 | ||
6f549691 JG |
19489 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
19490 | ||
19491 | * config/aarch64/aarch64.c (aarch64_mangle_type): Make static. | |
19492 | ||
af55e82d JG |
19493 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
19494 | ||
19495 | * config/aarch64/aarch64-builtins.c | |
19496 | (aarch64_init_simd_builtins): Make static. | |
19497 | ||
1df3f464 JG |
19498 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
19499 | ||
19500 | * config/aarch64/aarch64.c | |
19501 | (aarch64_simd_make_constant): Make static. | |
19502 | ||
f8f42513 MJ |
19503 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
19504 | ||
19505 | * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements | |
19506 | with no initialization to the RHS of debug statements. | |
19507 | ||
b48b3fc4 MJ |
19508 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
19509 | ||
19510 | PR tree-optimization/56294 | |
19511 | * tree-sra.c (analyze_access_subtree): Create replacement declarations. | |
19512 | Adjust dumping. | |
19513 | (get_access_replacement): Do not call create_access_replacement. | |
19514 | Assert a replacement exists. | |
19515 | (get_repl_default_def_ssa_name): Create the replacement declaration | |
19516 | itself. | |
19517 | ||
c3ae224c RR |
19518 | 2013-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
19519 | ||
19520 | * config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and | |
19521 | final_end_function. | |
19522 | ||
45fa0eef MP |
19523 | 2013-02-28 Marek Polacek <polacek@redhat.com> |
19524 | ||
19525 | PR rtl-optimization/56466 | |
19526 | * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure | |
19527 | if we're changing a loop. | |
19528 | (peel_loops_completely): Likewise. | |
19529 | ||
502c067d PC |
19530 | 2013-02-28 Paolo Carlini <paolo.carlini@oracle.com> |
19531 | ||
19532 | PR c++/55813 | |
19533 | * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete. | |
19534 | ||
ff24afc8 GJL |
19535 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
19536 | ||
19537 | PR target/56445 | |
19538 | * config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty | |
19539 | macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX, | |
19540 | INTX_FTYPE_FX, FX_FTYPE_INTX. | |
19541 | * config/avr/builtins.def: Adjust respective DEF_BUILTIN. | |
19542 | ||
c7b1fc1b GJL |
19543 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
19544 | ||
19545 | * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285) | |
19546 | (ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795) | |
19547 | (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb) | |
19548 | (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a) | |
19549 | (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1) | |
19550 | (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p) | |
19551 | (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb) | |
19552 | (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161) | |
19553 | (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e) | |
19554 | (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4) | |
19555 | (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3) | |
19556 | (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1) | |
19557 | (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva) | |
19558 | (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3) | |
19559 | (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU. | |
19560 | (avrxmega6): Increase max flash segments from 5 to 6. | |
19561 | * config/avr/t-multilib: Regenerate. | |
19562 | * config/avr/avr-tables.opt: Regenerate. | |
19563 | * doc/avr-mmcu.texi: Regenerate. | |
19564 | ||
4a0e3cfe GJL |
19565 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
19566 | ||
19567 | * config/avr/avr.h (device_to_arch): Rename to device_to_ld. | |
19568 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
19569 | (avr_device_to_as): New prototype. | |
19570 | (EXTRA_SPEC_FUNCTIONS): Add device_to_as. | |
19571 | (ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=. | |
19572 | * config/avr/driver-avr.c (avr_device_to_as): New. | |
19573 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
19574 | ||
97785e52 JJ |
19575 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
19576 | ||
3f292312 JJ |
19577 | PR middle-end/56461 |
19578 | * tree-vect-data-refs.c (vect_permute_load_chain): Avoid using copy | |
19579 | method on dr_chain and result_chain. | |
19580 | ||
a344216b JJ |
19581 | PR middle-end/56461 |
19582 | * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Call | |
19583 | pointer_set_destroy on not_executed_last_iteration. | |
19584 | ||
f121ad02 | 19585 | PR middle-end/56461 |
88b97037 | 19586 | * tree-vect-loop.c (vectorizable_reduction): Release vect_defs vector. |
f121ad02 | 19587 | |
307f83a3 JJ |
19588 | PR middle-end/56461 |
19589 | * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of | |
19590 | FOR_EACH_DEFINED_FUNCTION when freeing state. | |
19591 | ||
e19624ee JJ |
19592 | PR middle-end/56461 |
19593 | * df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before | |
19594 | pool_free. | |
19595 | (df_insn_rescan_debug_internal): Use df_scan_free_mws_vec before | |
19596 | overwriting it. | |
19597 | ||
90e709fd JJ |
19598 | PR middle-end/56461 |
19599 | * ipa-cp.c (decide_whether_version_node): Call vec_free on | |
19600 | known_aggs[i].items and release known_aggs vector. | |
19601 | ||
97785e52 JJ |
19602 | PR middle-end/56461 |
19603 | * ipa-reference.c (propagate): Free node_info even for alias nodes. | |
19604 | ||
19605 | 2013-02-27 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
bbb3a9e2 | 19606 | |
97785e52 JJ |
19607 | * config/microblaze/microblaze.c (microblaze_emit_compare): |
19608 | Use xor for EQ/NE comparisions. | |
19609 | * config/microblaze/microblaze.md (cstoresf4): Add constraints | |
19610 | (cbranchsf4): Adjust operator to comparison_operator. | |
bbb3a9e2 | 19611 | |
6fa5e0ed JJ |
19612 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
19613 | ||
19614 | PR middle-end/56461 | |
19615 | * tree-flow.h (edge_var_map_vector): Change into va_heap, vl_embed | |
19616 | vector. | |
19617 | * tree-ssa.c (redirect_edge_var_map_add): Use vec_safe_reserve and | |
19618 | vec_safe_push, always update *slot. | |
19619 | (redirect_edge_var_map_clear): Use vec_free. | |
19620 | (redirect_edge_var_map_dup): Use vec_safe_copy and vec_safe_reserve. | |
19621 | (free_var_map_entry): Use vec_free. | |
19622 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Use | |
19623 | FOR_EACH_VEC_SAFE_ELT instead of FOR_EACH_VEC_ELT. | |
19624 | ||
436a956a AB |
19625 | 2013-02-27 Andrey Belevantsev <abel@ispras.ru> |
19626 | ||
19627 | PR middle-end/45472 | |
436a956a AB |
19628 | * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr |
19629 | when the may_trap_p bit of the exprs being merged differs. | |
436a956a AB |
19630 | Reorder tests for speculativeness in the logical and operator. |
19631 | ||
f5c2caca JJ |
19632 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
19633 | ||
0fcb564b JJ |
19634 | * incpath.c (add_standard_paths): Use reconcat instead of concat |
19635 | where appropriate and avoid leaking memory. | |
19636 | ||
dc357798 JJ |
19637 | * opts.h: Include obstack.h. |
19638 | (opts_concat): New prototype. | |
19639 | (opts_obstack): New declaration. | |
19640 | * opts.c (opts_concat): New function. | |
19641 | (opts_obstack): New variable. | |
19642 | (init_options_struct): Call gcc_init_obstack on opts_obstack. | |
19643 | (finish_options): Use opts_concat instead of concat | |
19644 | and XOBNEWVEC instead of XNEWVEC. | |
19645 | * opts-common.c (generate_canonical_option, decode_cmdline_option, | |
19646 | generate_option): Likewise. | |
19647 | * Makefile.in (OPTS_H): Depend on $(OBSTACK_H). | |
19648 | * lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack. | |
19649 | ||
f5c2caca JJ |
19650 | PR target/56455 |
19651 | * stmt.c (expand_switch_as_decision_tree_p): If flag_pic | |
19652 | and ASM_OUTPUT_ADDR_DIFF_ELT isn't defined, return true. | |
19653 | ||
d0163673 JJ |
19654 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
19655 | ||
19656 | PR middle-end/56461 | |
19657 | * lra-spills.c (lra_spill): Free spill_hard_reg at the end. | |
19658 | ||
b5ad2b8e JR |
19659 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
19660 | ||
19661 | * config/arm/arm.c (const_ok_for_dimode_op): Back out last change. | |
19662 | (arm_block_move_unaligned_straight): Likewise. | |
19663 | (arm_adjust_block_mem): Likewise. | |
19664 | ||
9b639e2c JR |
19665 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
19666 | ||
19667 | PR target/48901 | |
19668 | * config/lm32/lm32.c (gen_int_relational): Remove unused variables | |
19669 | temp, cond and label. | |
19670 | * config/lm32/lm32.md (ashlsi3): Remove unused variable one. | |
19671 | ||
e13a0ccb JR |
19672 | PR target/52500 |
19673 | * config/c6x/c6x.c (dbx_register_map): Change to unsigned. | |
19674 | * config/c6x/c6x.h (dbx_register_map): Update declaration. | |
19675 | ||
fbe4f171 JR |
19676 | PR target/52501 |
19677 | * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end | |
19678 | of prologue/epilogue functions. | |
19679 | ||
ae006543 JR |
19680 | PR target/52550 |
19681 | * config/tilegx/tilegx.c (tilegx_expand_prologue): | |
19682 | Remove unused variable cfa_offset. | |
19683 | * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise. | |
19684 | ||
c81369fa JR |
19685 | PR target/54639 |
19686 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset | |
19687 | type promotion to unsigned. | |
19688 | ||
f8a8fea7 JR |
19689 | PR target/54640 |
19690 | * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent | |
19691 | for HOST_WIDE_INT of 32 bit / same size as int. | |
19692 | (arm_block_move_unaligned_straight): Likewise. | |
19693 | (arm_adjust_block_mem): Likewise. | |
19694 | ||
f8be5169 JR |
19695 | PR target/54662 |
19696 | * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of | |
19697 | ALL_CFLAGS. | |
19698 | ||
f1ad3354 MP |
19699 | 2013-02-26 Marek Polacek <polacek@redhat.com> |
19700 | ||
19701 | PR tree-optimization/56426 | |
88b97037 | 19702 | * tree-ssa-loop.c (tree_ssa_loop_init): Always call scev_initialize. |
f1ad3354 | 19703 | |
a6af0f42 RB |
19704 | 2013-02-26 Richard Biener <rguenther@suse.de> |
19705 | ||
19706 | PR target/56444 | |
19707 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove | |
19708 | unused variable loops. | |
19709 | ||
aca43c6c JJ |
19710 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
19711 | ||
cecbe5d9 JJ |
19712 | PR tree-optimization/56448 |
19713 | * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at | |
19714 | TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF. | |
19715 | Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or | |
19716 | later operands of the references, or even first operand for | |
19717 | INDIRECT_REF, TARGET_MEM_REF or MEM_REF. | |
19718 | ||
aca43c6c JJ |
19719 | PR tree-optimization/56443 |
19720 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For | |
19721 | overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument | |
19722 | to type_for_mode langhook. | |
19723 | ||
53e2e141 MT |
19724 | 2013-02-25 Matt Turner <mattst88@gmail.com> |
19725 | ||
19726 | * doc/invoke.texi: Document r4700. | |
19727 | ||
259ee451 RB |
19728 | 2013-02-25 Richard Biener <rguenther@suse.de> |
19729 | ||
19730 | PR tree-optimization/56175 | |
19731 | * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate, | |
19732 | split out from ... | |
19733 | (simplify_bitwise_binary): ... here. Also guard the conversion | |
19734 | of (type) X op CST to (type) (X op ((type-x) CST)) with it. | |
19735 | ||
6d65e8f1 CM |
19736 | 2013-02-25 Catherine Moore <clm@codesourcery.com> |
19737 | ||
19738 | Revert: | |
19739 | 2013-02-24 Catherine Moore <clm@codesourcery.com> | |
19740 | Maciej W. Rozycki <macro@codesourcery.com> | |
19741 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 19742 | Nathan Sidwell <nathan@codesourcery.com> |
6d65e8f1 CM |
19743 | Iain Sandoe <iain@codesourcery.com> |
19744 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 19745 | Chao-ying Fu <fu@mips.com> |
88b97037 | 19746 | |
6d65e8f1 | 19747 | * doc/extend.texi: (micromips, nomicromips, nocompression): |
88b97037 | 19748 | Document new function attributes. |
6d65e8f1 CM |
19749 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
19750 | m14k, m14ke, m14kec): Document new options. | |
19751 | (minterlink-mips16): Update documentation. | |
19752 | * doc/md.texi (ZC, ZD): Document new constraints. | |
19753 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
19754 | supports the .set micromips directive. | |
19755 | * configure: Regenerate. | |
19756 | * config.in: Regenerate. | |
19757 | * config/mips/mips-tables.opt: Regenerate. | |
19758 | * config/mips/micromips.md: New file. | |
19759 | * constraints.md (ZC, AD): New constraints. | |
19760 | * config/mips/predicates.md (movep_src_register): New predicate. | |
19761 | (movep_src_operand): New predicate. | |
19762 | (non_volatile_mem_operand): New predicate. | |
19763 | * config/mips/mips.md (multimem): New type. | |
19764 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
19765 | (MOVEP1, MOVEP2): New mode iterator. | |
19766 | (mov_<load>l): Use ZC constraint. | |
19767 | (mov_<load>r): Likewise. | |
19768 | (mov_<store>l): Likewise. | |
19769 | (mov_<store>r): Likewise. | |
19770 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
19771 | (*branch_equality<mode>): Likewise. | |
19772 | (*jump_absolute): Likewise. | |
19773 | (indirect_jump_<mode>): Likewise. | |
19774 | (tablejump_<mode>): Likewise. | |
19775 | (<optab>_internal): Likewise. | |
19776 | (sibcall_internal): Likewise. | |
19777 | (sibcall_value_internal): Likewise. | |
19778 | (prefetch): Use constraint ZD. | |
19779 | * config/mips/mips.opt (minterlink-compressed): New option. | |
19780 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
19781 | (mmicromips): New option. | |
19782 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
19783 | (compare_and_swap_12): Likewise. | |
19784 | (sync_add<mode>): Likewise. | |
19785 | (sync_<optab>_12): Likewise. | |
19786 | (sync_old_<optab>_12): Likewise. | |
19787 | (sync_new_<optab>_12): Likewise. | |
19788 | (sync_nand_12): Likewise. | |
19789 | (sync_old_nand_12): Likewise. | |
19790 | (sync_new_nand_12): Likewise. | |
19791 | (sync_sub<mode>): Likewise. | |
19792 | (sync_old_add<mode>): Likewise. | |
19793 | (sync_old_sub<mode>): Likewise. | |
19794 | (sync_new_add<mode>): Likewise. | |
19795 | (sync_new_sub<mode>): Likewise. | |
19796 | (sync_<optab><mode>): Likewise. | |
19797 | (sync_old_<optab><mode>): Likewise. | |
19798 | (sync_new_<optab><mode>): Likewise. | |
19799 | (sync_nand<mode>): Likewise. | |
19800 | (sync_old_nand<mode>): Likewise. | |
19801 | (sync_new_nand<mode>): Likewise. | |
19802 | (sync_lock_test_and_set<mode>): Likewise. | |
19803 | (test_and_set_12): Likewise. | |
19804 | (atomic_compare_and_swap<mode>): Likewise. | |
19805 | (atomic_exchange<mode>_llsc): Likewise. | |
19806 | (atomic_fetch_add<mode>_llsc): Likewise. | |
19807 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
19808 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
19809 | (umips_save_restore_pattern_p): Likewise. | |
19810 | (umips_load_store_pair_p): Likewise. | |
19811 | (umips_output_load_store_pair): Likewise. | |
19812 | (umips_movep_target_p): Likewise. | |
19813 | (umips_12bit_offset_address_p): Likewise. | |
19814 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
19815 | (mips_base_mips16): Rename this... | |
19816 | (mips_base_compression_flags): ...to this. Update all uses. | |
19817 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
19818 | (mips_mips16_decl_p): Delete. | |
19819 | (mips_nomips16_decl_p): Delete. | |
19820 | (mips_get_compress_on_flags): New function. | |
19821 | (mips_get_compress_off_flags): New function. | |
19822 | (mips_get_compress_mode): New function. | |
19823 | (mips_get_compress_on_name): New function. | |
19824 | (mips_get_compress_off_name): New function. | |
19825 | (mips_insert_attributes): Support multiple compression types. | |
19826 | (mips_merge_decl_attributes): Likewise. | |
19827 | (umips_12bit_offset_address_p): New function. | |
19828 | (mips_start_function_definition): Emit .set micromips directive. | |
19829 | (mips_call_may_need_jalx_p): New function. | |
19830 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
19831 | (mips_print_operand_punctuation): Support short delay slots and | |
19832 | compact jumps. | |
19833 | (umips_swm_mask, umips_swm_encoding): New. | |
19834 | (umips_build_save_restore): New function. | |
19835 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
19836 | (was_mips16_p): Remove. | |
19837 | (old_compression_mode): New. | |
19838 | (mips_set_compression_mode): New function. | |
19839 | (mips_set_current_function): Add microMIPS support. | |
19840 | (mips_option_override): Likewise. | |
19841 | (umips_save_restore_pattern_p): New function. | |
19842 | (umips_output_save_restore): New function. | |
19843 | (umips_load_store_pair_p_1): New function. | |
19844 | (umips_load_store_pair_p): New function. | |
19845 | (umips_output_load_store_pair_1): New function. | |
19846 | (umips_output_load_store_pair): New function. | |
19847 | (umips_movep_target_p) New function. | |
19848 | (mips_prepare_pch_save): Add microMIPS support. | |
19849 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
19850 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
19851 | to use new compression flags and to support microMIPS. | |
19852 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
19853 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
19854 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
19855 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
19856 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
19857 | (M16STORE_REG_P): New macro. | |
19858 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
19859 | (MICROMIPS_J): New macro. | |
19860 | (mips_base_mips16): Rename this... | |
19861 | (mips_base_compression_flags): ...to this. | |
19862 | (UMIPS_12BIT_OFFSET_P): New macro. | |
19863 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
19864 | (MULTILIB_DIRNAMES): Likewise. | |
19865 | ||
5e5df392 TV |
19866 | 2013-02-25 Tom de Vries <tom@codesourcery.com> |
19867 | ||
19868 | PR rtl-optimization/56131 | |
19869 | * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment. | |
19870 | * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and | |
19871 | NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL. | |
19872 | ||
3fdb53c1 TB |
19873 | 2013-02-25 Tobias Burnus <burnus@net-b.de> |
19874 | ||
19875 | * doc/invoke.texi (-fsanitize=): Move from optimization | |
19876 | to debugging options. | |
19877 | ||
ed358aea AB |
19878 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
19879 | ||
19880 | * sched-deps.c (sched_analyze_insn): Fix typo in comment. | |
19881 | ||
f45e9053 AB |
19882 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
19883 | Alexander Monakov <amonakov@ispras.ru> | |
19884 | ||
19885 | PR middle-end/56077 | |
19886 | * sched-deps.c (sched_analyze_insn): When reg_pending_barrier, | |
19887 | flush pending lists also on non-jumps. Adjust comment. | |
19888 | ||
6941b508 CM |
19889 | 2013-02-24 Catherine Moore <clm@codesourcery.com> |
19890 | Maciej W. Rozycki <macro@codesourcery.com> | |
19891 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 19892 | Nathan Sidwell <nathan@codesourcery.com> |
6941b508 CM |
19893 | Iain Sandoe <iain@codesourcery.com> |
19894 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 19895 | Chao-ying Fu <fu@mips.com> |
6941b508 CM |
19896 | |
19897 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
88b97037 | 19898 | Document new function attributes. |
6941b508 CM |
19899 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
19900 | m14k, m14ke, m14kec): Document new options. | |
19901 | (minterlink-mips16): Update documentation. | |
19902 | * doc/md.texi (ZC, ZD): Document new constraints. | |
19903 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
19904 | supports the .set micromips directive. | |
19905 | * configure: Regenerate. | |
19906 | * config.in: Regenerate. | |
19907 | * config/mips/mips-tables.opt: Regenerate. | |
19908 | * config/mips/micromips.md: New file. | |
19909 | * constraints.md (ZC, AD): New constraints. | |
19910 | * config/mips/predicates.md (movep_src_register): New predicate. | |
19911 | (movep_src_operand): New predicate. | |
19912 | (non_volatile_mem_operand): New predicate. | |
19913 | * config/mips/mips.md (multimem): New type. | |
19914 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
19915 | (MOVEP1, MOVEP2): New mode iterator. | |
3fdb53c1 | 19916 | (mov_<load>l): Use ZC constraint. |
6941b508 CM |
19917 | (mov_<load>r): Likewise. |
19918 | (mov_<store>l): Likewise. | |
19919 | (mov_<store>r): Likewise. | |
19920 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
19921 | (*branch_equality<mode>): Likewise. | |
19922 | (*jump_absolute): Likewise. | |
19923 | (indirect_jump_<mode>): Likewise. | |
19924 | (tablejump_<mode>): Likewise. | |
19925 | (<optab>_internal): Likewise. | |
19926 | (sibcall_internal): Likewise. | |
19927 | (sibcall_value_internal): Likewise. | |
19928 | (prefetch): Use constraint ZD. | |
19929 | * config/mips/mips.opt (minterlink-compressed): New option. | |
19930 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
19931 | (mmicromips): New option. | |
19932 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
19933 | (compare_and_swap_12): Likewise. | |
19934 | (sync_add<mode>): Likewise. | |
19935 | (sync_<optab>_12): Likewise. | |
19936 | (sync_old_<optab>_12): Likewise. | |
19937 | (sync_new_<optab>_12): Likewise. | |
19938 | (sync_nand_12): Likewise. | |
19939 | (sync_old_nand_12): Likewise. | |
19940 | (sync_new_nand_12): Likewise. | |
19941 | (sync_sub<mode>): Likewise. | |
19942 | (sync_old_add<mode>): Likewise. | |
19943 | (sync_old_sub<mode>): Likewise. | |
19944 | (sync_new_add<mode>): Likewise. | |
19945 | (sync_new_sub<mode>): Likewise. | |
19946 | (sync_<optab><mode>): Likewise. | |
19947 | (sync_old_<optab><mode>): Likewise. | |
19948 | (sync_new_<optab><mode>): Likewise. | |
19949 | (sync_nand<mode>): Likewise. | |
19950 | (sync_old_nand<mode>): Likewise. | |
19951 | (sync_new_nand<mode>): Likewise. | |
19952 | (sync_lock_test_and_set<mode>): Likewise. | |
19953 | (test_and_set_12): Likewise. | |
19954 | (atomic_compare_and_swap<mode>): Likewise. | |
19955 | (atomic_exchange<mode>_llsc): Likewise. | |
19956 | (atomic_fetch_add<mode>_llsc): Likewise. | |
19957 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
19958 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
19959 | (umips_save_restore_pattern_p): Likewise. | |
19960 | (umips_load_store_pair_p): Likewise. | |
19961 | (umips_output_load_store_pair): Likewise. | |
19962 | (umips_movep_target_p): Likewise. | |
19963 | (umips_12bit_offset_address_p): Likewise. | |
19964 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
19965 | (mips_base_mips16): Rename this... | |
19966 | (mips_base_compression_flags): ...to this. Update all uses. | |
19967 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
19968 | (mips_mips16_decl_p): Delete. | |
19969 | (mips_nomips16_decl_p): Delete. | |
3fdb53c1 | 19970 | (mips_get_compress_on_flags): New function. |
6941b508 CM |
19971 | (mips_get_compress_off_flags): New function. |
19972 | (mips_get_compress_mode): New function. | |
19973 | (mips_get_compress_on_name): New function. | |
19974 | (mips_get_compress_off_name): New function. | |
19975 | (mips_insert_attributes): Support multiple compression types. | |
19976 | (mips_merge_decl_attributes): Likewise. | |
19977 | (umips_12bit_offset_address_p): New function. | |
19978 | (mips_start_function_definition): Emit .set micromips directive. | |
19979 | (mips_call_may_need_jalx_p): New function. | |
19980 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
19981 | (mips_print_operand_punctuation): Support short delay slots and | |
19982 | compact jumps. | |
19983 | (umips_swm_mask, umips_swm_encoding): New. | |
19984 | (umips_build_save_restore): New function. | |
19985 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
19986 | (was_mips16_p): Remove. | |
19987 | (old_compression_mode): New. | |
19988 | (mips_set_compression_mode): New function. | |
19989 | (mips_set_current_function): Add microMIPS support. | |
19990 | (mips_option_override): Likewise. | |
19991 | (umips_save_restore_pattern_p): New function. | |
19992 | (umips_output_save_restore): New function. | |
19993 | (umips_load_store_pair_p_1): New function. | |
19994 | (umips_load_store_pair_p): New function. | |
19995 | (umips_output_load_store_pair_1): New function. | |
19996 | (umips_output_load_store_pair): New function. | |
19997 | (umips_movep_target_p) New function. | |
19998 | (mips_prepare_pch_save): Add microMIPS support. | |
19999 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
20000 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
20001 | to use new compression flags and to support microMIPS. | |
20002 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
20003 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
20004 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
20005 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
20006 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
20007 | (M16STORE_REG_P): New macro. | |
20008 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
20009 | (MICROMIPS_J): New macro. | |
20010 | (mips_base_mips16): Rename this... | |
20011 | (mips_base_compression_flags): ...to this. | |
20012 | (UMIPS_12BIT_OFFSET_P): New macro. | |
20013 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
20014 | (MULTILIB_DIRNAMES): Likewise. | |
20015 | ||
cdebbc6d JJ |
20016 | 2013-02-24 Jakub Jelinek <jakub@redhat.com> |
20017 | ||
20018 | PR target/52555 | |
20019 | * target-globals.c (save_target_globals): For init_reg_sets and | |
20020 | target_reinit remporarily set this_fn_optabs to this_target_optabs. | |
20021 | ||
18c63565 JG |
20022 | 2013-02-22 James Grennahlgh <james.greenhalgh@arm.com> |
20023 | ||
20024 | * config/aarch64/aarch64-simd-builtins.def: Add copyright header. | |
20025 | * config/aarch64/t-aarch64 | |
20026 | (aarch64-builtins.o): Depend on aarch64-simd-builtins.def. | |
20027 | ||
2194f7a2 VM |
20028 | 2013-02-22 Vladimir Makarov <vmakarov@redhat.com> |
20029 | ||
20030 | PR inline-asm/56148 | |
20031 | * lra-constraints.c (process_alt_operands): Reload operand | |
20032 | conflicting with earlier clobber only if no more other conflicting | |
20033 | operands. | |
20034 | ||
7d613735 JJ |
20035 | 2013-02-22 Jakub Jelinek <jakub@redhat.com> |
20036 | ||
20037 | PR sanitizer/56393 | |
20038 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o | |
20039 | if not linking a shared library. | |
20040 | ||
ac8d93a7 SL |
20041 | 2013-02-22 Seth LaForge <sethml@google.com> |
20042 | ||
20043 | * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian. | |
20044 | ||
e0237780 GY |
20045 | 2013-02-22 Greta Yorsh <Greta.Yorsh@arm.com> |
20046 | ||
3fdb53c1 TB |
20047 | * config/arm/arm.md (split for extendsidi): Update condition. |
20048 | (zero_extend<mode>di2,extend<mode>di2): Add an alternative. | |
20049 | * config/arm/iterators.md (qhs_extenddi_cstr): Likewise. | |
20050 | (qhs_zextenddi_cstr): Likewise. | |
e0237780 | 20051 | |
d7fde18c JJ |
20052 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
20053 | ||
be63b77d JJ |
20054 | PR middle-end/56420 |
20055 | * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to | |
20056 | avoid signed wrapping. | |
20057 | (expand_mult): Handle properly multiplication by | |
20058 | ((dword_type) -1) << (BITS_PER_WORD - 1). Improve multiplication by | |
20059 | ((dword_type) 1) << (BITS_PER_WORD - 1). Avoid undefined behavior | |
20060 | in the compiler if coeff is HOST_WIDE_INT_MIN. | |
20061 | (expand_divmod): Don't make ext_op1 static, change it's type to | |
20062 | uhwi. Avoid undefined behavior in -INTVAL (op1). | |
20063 | ||
d7fde18c JJ |
20064 | PR rtl-optimization/50339 |
20065 | * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt | |
20066 | field. | |
20067 | * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT. | |
20068 | (compute_costs): Call compute_splitting_shift also for ASHIFTRT | |
20069 | into splitting_ashiftrt field. | |
20070 | (find_decomposable_shift_zext, resolve_shift_zext): Handle also | |
20071 | ASHIFTRT. | |
20072 | (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT | |
20073 | choices. | |
20074 | ||
6aad4455 AH |
20075 | 2013-02-20 Aldy Hernandez <aldyh@redhat.com> |
20076 | ||
20077 | PR middle-end/56108 | |
20078 | * trans-mem.c (execute_tm_mark): Do not expand transactions that | |
20079 | are sure to go irrevocable. | |
20080 | ||
38fe784d HPN |
20081 | 2013-02-21 Hans-Peter Nilsson <hp@axis.com> |
20082 | ||
20083 | * doc/rtl.texi (vec_concat, vec_duplicate): Mention that | |
20084 | scalars are valid operands. | |
20085 | ||
0fd44da3 MJ |
20086 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
20087 | ||
20088 | PR tree-optimization/56310 | |
20089 | * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy | |
20090 | only matching indices and non-negative final offsets. | |
20091 | (intersect_aggregates_with_edge): Pass src_idx to | |
20092 | agg_replacements_to_vector. Pass src_idx insstead of index to | |
20093 | intersect_with_agg_replacements. | |
20094 | ||
7a92038b MJ |
20095 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
20096 | ||
20097 | * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold | |
20098 | instead of hard-wired defaults. | |
20099 | ||
c0da9c37 MR |
20100 | 2013-02-21 Maciej W. Rozycki <macro@codesourcery.com> |
20101 | ||
20102 | * doc/invoke.texi (MIPS Options): Update documentation of the | |
20103 | floating-point multiply-accumulate instruction restrictions. | |
20104 | ||
d247ea0c | 20105 | 2013-02-21 Kostya Serebryany <kcc@google.com> |
7df59255 KS |
20106 | |
20107 | * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as | |
20108 | asan_shadow_offset on x86_64 linux. | |
20109 | ||
22deefcb RB |
20110 | 2013-02-21 Richard Biener <rguenther@suse.de> |
20111 | ||
20112 | PR tree-optimization/56415 | |
20113 | Revert | |
20114 | 2013-02-11 Richard Biener <rguenther@suse.de> | |
20115 | ||
20116 | PR tree-optimization/56273 | |
20117 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
20118 | first VRP run. | |
20119 | ||
7bcc6e75 JJ |
20120 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
20121 | ||
a0ad148f JJ |
20122 | PR bootstrap/56258 |
20123 | * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item | |
20124 | instead of @itemx. | |
20125 | ||
7bcc6e75 JJ |
20126 | PR inline-asm/56405 |
20127 | * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't | |
20128 | use movmisalign or extract_bit_field for EXPAND_MEMORY modifier. | |
20129 | ||
a0a7b611 JH |
20130 | 2013-02-20 Jan Hubicka <jh@suse.cz> |
20131 | ||
20132 | PR tree-optimization/56265 | |
88b97037 UB |
20133 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph |
20134 | when target is referenced for first time. | |
a0a7b611 | 20135 | |
c0e50f72 RB |
20136 | 2013-02-20 Richard Biener <rguenther@suse.de> |
20137 | ||
20138 | * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. | |
20139 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise. | |
20140 | * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise. | |
20141 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do | |
20142 | not return anything. | |
20143 | (rename_ssa_copies): Do not remove unused locals. | |
20144 | * tree-ssa-ccp.c (do_ssa_ccp): Likewise. | |
88b97037 | 20145 | * tree-ssanames.c (pass_release_ssa_names): Remove unused locals first. |
c0e50f72 RB |
20146 | * passes.c (execute_function_todo): Do not schedule unused locals |
20147 | removal if cleanup_tree_cfg did something. | |
20148 | * tree-ssa-live.c (remove_unused_locals): Dump statistics | |
20149 | about the number of removed locals. | |
20150 | ||
a52ca739 RB |
20151 | 2013-02-20 Richard Biener <rguenther@suse.de> |
20152 | ||
20153 | PR tree-optimization/56398 | |
88b97037 | 20154 | * tree-vect-loop-manip.c (adjust_debug_stmts): Skip SSA default defs. |
a52ca739 | 20155 | |
ec9c9d1b MJ |
20156 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
20157 | ||
20158 | PR tree-optimization/55334 | |
20159 | * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to | |
20160 | restricted pointers to arrays. | |
20161 | ||
e91c8ed6 | 20162 | 2013-02-20 Richard Biener <rguenther@suse.de> |
88b97037 | 20163 | Jakub Jelinek <jakub@redhat.com> |
e91c8ed6 RB |
20164 | |
20165 | PR tree-optimization/56396 | |
20166 | * tree-ssa-ccp.c (n_const_val): New static variable. | |
20167 | (get_value): Return NULL for SSA names we don't have a lattice | |
20168 | entry for. | |
20169 | (ccp_initialize): Initialize n_const_val. | |
20170 | * tree-ssa-copy.c (n_copy_of): New static variable. | |
20171 | (init_copy_prop): Initialize n_copy_of. | |
20172 | (get_value): Return NULL_TREE for SSA names we don't have a | |
20173 | lattice entry for. | |
20174 | ||
3d916479 MJ |
20175 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
20176 | ||
20177 | * ipa-cp.c (initialize_node_lattices): Fix dumping condition. | |
20178 | ||
71a86758 RB |
20179 | 2013-02-20 Richard Biener <rguenther@suse.de> |
20180 | ||
20181 | * genpreds.c (write_lookup_constraint): Do not compare first | |
20182 | letter of the constraint again. | |
20183 | ||
79836a12 RB |
20184 | 2013-02-20 Richard Biener <rguenther@suse.de> |
20185 | ||
20186 | * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits | |
20187 | and ceil_log2. | |
20188 | (get_use_iv_cost): Terminate hashtable walk when coming across | |
20189 | an empty entry. | |
20190 | ||
bbe4fb2c IZ |
20191 | 2013-02-20 Igor Zamyatin <igor.zamyatin@intel.com> |
20192 | ||
20193 | * config/i386/i386.c (initial_ix86_tune_features): Turn on fp | |
20194 | reassociation for avx2 targets. | |
20195 | ||
a72d8780 | 20196 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
79836a12 | 20197 | |
c77f83d5 EI |
20198 | * config/microblaze/microblaze.c: microblaze_has_clz = 0 |
20199 | Add version check for v8.10.a to enable microblaze_has_clz | |
88b97037 | 20200 | * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined |
c77f83d5 EI |
20201 | version and TARGET_PATTERN_COMPARE check |
20202 | * config/microblaze/microblaze.md: New clzsi2 instruction | |
3fdb53c1 | 20203 | |
a72d8780 | 20204 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
959434e6 | 20205 | |
a72d8780 | 20206 | * config/microblaze/microblaze.md (call_value_intern): Check symbol is |
959434e6 EI |
20207 | function before branching. |
20208 | ||
242387fa AB |
20209 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
20210 | ||
20211 | * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set | |
20212 | DUMP_INSN_RTX_UID. | |
20213 | (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim. | |
20214 | ||
b4979ab9 AB |
20215 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
20216 | ||
20217 | PR middle-end/55889 | |
b4979ab9 AB |
20218 | * sel-sched.c: Include ira.h. |
20219 | (implicit_clobber_conflict_p): New function. | |
20220 | (moveup_expr): Use it. | |
88b97037 | 20221 | * Makefile.in (sel-sched.o): Depend on ira.h. |
b4979ab9 | 20222 | |
24d63016 RB |
20223 | 2013-02-19 Richard Biener <rguenther@suse.de> |
20224 | ||
20225 | PR tree-optimization/56384 | |
20226 | * tree-ssa-sccvn.h (struct vn_phi_s): Add type member. | |
20227 | (vn_hash_type): Split out from ... | |
20228 | (vn_hash_constant_with_type): ... here. | |
20229 | * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type. | |
20230 | (vn_phi_eq): Compare types from vn_phi_s structure. | |
20231 | (vn_phi_lookup): Populate vn_phi_s type. | |
20232 | (vn_phi_insert): Likewise. | |
20233 | ||
a475fd3d JJ |
20234 | 2013-02-19 Jakub Jelinek <jakub@redhat.com> |
20235 | ||
47cc28f5 JJ |
20236 | PR tree-optimization/56350 |
20237 | * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false | |
20238 | if haven't found reduction or nested cycle operand, rather than | |
20239 | asserting we must find it. | |
20240 | ||
a475fd3d JJ |
20241 | PR tree-optimization/56381 |
20242 | * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument | |
20243 | to fold_build3. | |
20244 | ||
20245 | 2013-02-18 Aldy Hernandez <aldyh@redhat.com> | |
135204dd AH |
20246 | Jakub Jelinek <jakub@redhat.com> |
20247 | ||
20248 | PR target/52555 | |
20249 | * genopinit.c (raw_optab_handler): Use this_fn_optabs. | |
20250 | (swap_optab_enable): Same. | |
20251 | (init_all_optabs): Use argument instead of global. | |
88b97037 | 20252 | * tree.h (struct tree_optimization_option): New field target_optabs. |
135204dd AH |
20253 | * expr.h (init_all_optabs): Add argument to prototype. |
20254 | (TREE_OPTIMIZATION_OPTABS): New. | |
20255 | (save_optabs_if_changed): Protoize. | |
20256 | * optabs.h: Declare this_fn_optabs. | |
20257 | * optabs.c (save_optabs_if_changed): New. | |
20258 | Declare this_fn_optabs. | |
20259 | (init_optabs): Add argument to init_all_optabs() call. | |
20260 | * function.c (invoke_set_current_function_hook): Handle per | |
20261 | function optabs. | |
20262 | * function.h (struct function): New field optabs. | |
20263 | * config/mips/mips.c (mips_set_mips16_mode): Handle when | |
20264 | optimization_current_node has changed. | |
20265 | * target-globals.h (save_target_globals_default_opts): Protoize. | |
20266 | * target-globals.c (save_target_globals_default_opts): New. | |
20267 | ||
3f587ca3 JDA |
20268 | 2013-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
20269 | ||
20270 | PR target/56347 | |
20271 | * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark | |
20272 | registers %fr12 and %fr12R as call used. | |
ceaca33e JDA |
20273 | |
20274 | PR target/56214 | |
20275 | * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode | |
88b97037 UB |
20276 | and HImode, require all displacements to be an integer multiple of |
20277 | their mode size. | |
ceaca33e JDA |
20278 | * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses, |
20279 | only allow QImode and HImode when reload is in progress and strict is | |
20280 | true. Likewise for symbolic addresses. Use base14_operand to check | |
20281 | displacements in REG+BASE addresses. | |
20282 | ||
fe0b4796 RB |
20283 | 2013-02-18 Richard Biener <rguenther@suse.de> |
20284 | ||
20285 | PR tree-optimization/56366 | |
20286 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
20287 | handle sign-conversion of outer-loop initial induction value. | |
20288 | ||
6aaf596b RB |
20289 | 2013-02-18 Richard Biener <rguenther@suse.de> |
20290 | ||
73db8ff1 | 20291 | PR middle-end/56349 |
6aaf596b RB |
20292 | * cfghooks.c (merge_blocks): If we merge a latch into another |
20293 | block adjust references to it. | |
20294 | * cfgloop.c (flow_loops_find): Reset latch before recomputing it. | |
20295 | (verify_loop_structure): Verify that a recorded latch is in fact | |
20296 | a latch. | |
20297 | ||
5e97dfb6 RB |
20298 | 2013-02-18 Richard Biener <rguenther@suse.de> |
20299 | ||
20300 | PR tree-optimization/56321 | |
20301 | * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly | |
20302 | order SSA name release and virtual operand unlinking. | |
20303 | ||
825527e8 EI |
20304 | 2013-02-17 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
20305 | ||
20306 | * config/microblaze/microblaze.md (save_stack_block): Define. | |
20307 | (restore_stack_block): Likewise. | |
20308 | ||
debd11d9 EI |
20309 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
20310 | ||
20311 | * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1. | |
20312 | * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1. | |
20313 | * config/microblaze/microblaze.c (microblaze_option_override): | |
20314 | Bail out early for PIC modes when target does not support PIC. | |
20315 | ||
8ec77be0 EI |
20316 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
20317 | ||
88b97037 | 20318 | * config/microblaze/microblaze.c (microblaze_asm_trampoline_template): |
8ec77be0 EI |
20319 | Replace with a microblaze version. |
20320 | (microblaze_trampoline_init): Adapt for microblaze. | |
a752b80f | 20321 | * config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for |
8ec77be0 EI |
20322 | microblaze. |
20323 | ||
b41288b3 JJ |
20324 | 2013-02-16 Jakub Jelinek <jakub@redhat.com> |
20325 | Dodji Seketeli <dodji@redhat.com> | |
20326 | ||
20327 | PR asan/56330 | |
88b97037 | 20328 | * asan.c (get_mem_refs_of_builtin_call): White space and style cleanup. |
b41288b3 JJ |
20329 | (instrument_mem_region_access): Do not forget to always put |
20330 | instrumentation of the of 'base' and 'base + len' in a "if (len != | |
20331 | 0) statement, even for cases where either 'base' or 'base + len' | |
20332 | are not instrumented -- because they have been previously | |
20333 | instrumented. Simplify the logic by putting all the statements | |
20334 | instrument 'base + len' inside a sequence, and then insert that | |
20335 | sequence right before the current insertion point. Then, to | |
20336 | instrument 'base + len', just get an iterator on that statement. | |
20337 | And do not forget to update the pointer to iterator the function | |
20338 | received as argument. | |
20339 | ||
47918951 VM |
20340 | 2013-02-15 Vladimir Makarov <vmakarov@redhat.com> |
20341 | ||
20342 | PR rtl-optimization/56348 | |
20343 | * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos. | |
20344 | ||
3fb7c699 SB |
20345 | 2013-02-15 Steven Bosscher <steven@gcc.gnu.org> |
20346 | ||
20347 | * graph.c (start_graph_dump): Print dumpfile base as digraph label. | |
20348 | (clean_graph_dump_file): Pass base to start_graph_dump. | |
20349 | ||
576fe41a RH |
20350 | 2013-02-14 Richard Henderson <rth@redhat.com> |
20351 | ||
20352 | PR target/55941 | |
20353 | * lower-subreg.c (simple_move): Check dest mode instead of src mode. | |
20354 | ||
bb3accfa SB |
20355 | 2013-02-14 Steven Bosscher <steven@gcc.gnu.org> |
20356 | ||
20357 | * collect2-aix.h: Define F_LOADONLY. | |
20358 | ||
03143140 RB |
20359 | 2013-02-14 Richard Biener <rguenther@suse.de> |
20360 | ||
20361 | PR lto/50494 | |
20362 | * varasm.c (output_constant_def_1): Get the decl representing | |
20363 | the constant as argument. | |
20364 | (output_constant_def): Wrap output_constant_def_1. | |
20365 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
20366 | representing the constant. | |
20367 | (build_constant_desc): Optionally re-use a decl already | |
20368 | representing the constant. | |
20369 | (tree_output_constant_def): Adjust. | |
20370 | ||
8fb06726 DS |
20371 | 2013-02-14 Dodji Seketeli <dodji@redhat.com> |
20372 | ||
20373 | Fix an asan crash | |
20374 | * asan.c (instrument_builtin_call): Really put the length of the | |
20375 | second source argument into src1_len. | |
20376 | ||
c4bfe8bf JJ |
20377 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
20378 | ||
20379 | * asan.c (create_cond_insert_point): Add create_then_fallthru_edge | |
20380 | argument. If it is false, don't create edge from then_bb to | |
20381 | fallthru_bb. | |
20382 | (insert_if_then_before_iter): Pass true to it. | |
20383 | (build_check_stmt): Pass false to it. | |
20384 | (transform_statements): Flush hash table only on extended basic | |
20385 | block boundaries, rather than at the beginning of every bb. | |
20386 | Don't flush hash table on nonfreeing_call_p calls. | |
20387 | * tree-flow.h (nonfreeing_call_p): New prototype. | |
20388 | * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static. | |
20389 | ||
7afe2801 DM |
20390 | 2013-02-13 David S. Miller <davem@davemloft.net> |
20391 | ||
20392 | * expmed.c (expand_shift_1): Only strip scalar integer subregs. | |
20393 | ||
70cc3288 VM |
20394 | 2013-02-13 Vladimir Makarov <vmakarov@redhat.com> |
20395 | ||
20396 | PR target/56184 | |
20397 | * ira.c (max_regno_before_ira): Move from ... | |
20398 | (ira): ... here. | |
20399 | (fix_reg_equiv_init): Use max_regno_before_ira instead of | |
20400 | vec_safe_length. | |
20401 | ||
6422242b JJ |
20402 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
20403 | ||
20404 | * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change. | |
20405 | ||
976a81ee RB |
20406 | 2013-02-13 Richard Biener <rguenther@suse.de> |
20407 | ||
20408 | PR lto/56295 | |
20409 | * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping | |
20410 | globals in MEM_REFs. | |
20411 | ||
c1874a87 RB |
20412 | 2013-02-13 Richard Biener <rguenther@suse.de> |
20413 | ||
20414 | * loop-init.c (loop_optimizer_init): Clear loop state when | |
20415 | re-initializing preserved loops. | |
20416 | * loop-unswitch.c (unswitch_single_loop): Return whether | |
20417 | we unswitched the loop. Do not verify loop state here. | |
88b97037 | 20418 | (unswitch_loops): When we unswitched a loop discover new loops. |
c1874a87 | 20419 | |
b4ab7d34 KS |
20420 | 2013-02-13 Kostya Serebryany <kcc@google.com> |
20421 | ||
88b97037 UB |
20422 | * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset |
20423 | on x86_64 linux. | |
b4ab7d34 KS |
20424 | * sanitizer.def: Rename __asan_init to __asan_init_v1. |
20425 | ||
bdcbe80c DS |
20426 | 2013-02-12 Dodji Seketeli <dodji@redhat.com> |
20427 | ||
20428 | Avoid instrumenting duplicated memory access in the same basic block | |
20429 | * Makefile.in (asan.o): Add new dependency on hash-table.h | |
20430 | * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types. | |
20431 | (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table) | |
20432 | (has_stmt_been_instrumented_p, empty_mem_ref_hash_table) | |
20433 | (free_mem_ref_resources, has_mem_ref_been_instrumented) | |
20434 | (has_stmt_been_instrumented_p, update_mem_ref_hash_table) | |
20435 | (get_mem_ref_of_assignment): New functions. | |
20436 | (get_mem_refs_of_builtin_call): Extract from | |
20437 | instrument_builtin_call and tweak a little bit to make it fit with | |
20438 | the new signature. | |
20439 | (instrument_builtin_call): Use the new | |
20440 | get_mem_refs_of_builtin_call. Use gimple_call_builtin_p instead | |
20441 | of is_gimple_builtin_call. | |
20442 | (instrument_derefs, instrument_mem_region_access): Insert the | |
20443 | instrumented memory reference into the hash table. | |
20444 | (maybe_instrument_assignment): Renamed instrument_assignment into | |
20445 | this, and change it to advance the iterator when instrumentation | |
20446 | actually happened and return true in that case. This makes it | |
20447 | homogeneous with maybe_instrument_assignment, and thus give a | |
20448 | chance to callers to be more 'regular'. | |
20449 | (transform_statements): Clear the memory reference hash table | |
20450 | whenever we enter a new BB, when we cross a function call, or when | |
20451 | we are done transforming statements. Use | |
20452 | maybe_instrument_assignment instead of instrumentation. No more | |
20453 | need to special case maybe_instrument_assignment and advance the | |
20454 | iterator after calling it; it's now handled just like | |
20455 | maybe_instrument_call. Update comment. | |
20456 | ||
4861a1f7 RB |
20457 | 2013-02-13 Richard Biener <rguenther@suse.de> |
20458 | ||
20459 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): | |
20460 | Fix loop discovery code. | |
20461 | ||
1c86bd80 VM |
20462 | 2013-02-12 Vladimir Makarov <vmakarov@redhat.com> |
20463 | ||
20464 | PR inline-asm/56148 | |
20465 | * lra-constraints.c (process_alt_operands): Match early clobber | |
70cc3288 | 20466 | operand with itself. Check conflicts with earlyclobber only if |
1c86bd80 VM |
20467 | the operand is not reloaded. Prefer to reload conflicting operand |
20468 | if earlyclobber and matching operands are the same. | |
20469 | ||
7cbda518 RB |
20470 | 2013-02-12 Richard Biener <rguenther@suse.de> |
20471 | ||
20472 | PR lto/56297 | |
20473 | * lto-streamer-out.c (write_symbol): Do not output symbols | |
20474 | for hard register variables. | |
20475 | ||
e68a4ef6 GJL |
20476 | 2013-02-12 Georg-Johann Lay <avr@gjlay.de> |
20477 | ||
20478 | PR target/54222 | |
20479 | * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders. | |
20480 | (umulsidi3_insn, mulsidi3_insn): New insns. | |
20481 | ||
a72d8780 | 20482 | 2013-02-12 Christophe Lyon <christophe.lyon@linaro.org> |
2597da22 CL |
20483 | |
20484 | * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type. | |
20485 | (struct tune_params): Add vec_costs field. | |
20486 | * config/arm/arm.c (arm_builtin_vectorization_cost) | |
20487 | (arm_add_stmt_cost): New functions. | |
20488 | (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST) | |
20489 | (TARGET_VECTORIZE_ADD_STMT_COST): Define. | |
20490 | (arm_default_vec_cost): New struct of type cpu_vec_costs. | |
20491 | (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune) | |
20492 | (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune) | |
20493 | (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune) | |
20494 | (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field. | |
20495 | ||
43320568 RB |
20496 | 2013-02-12 Richard Biener <rguenther@suse.de> |
20497 | ||
20498 | PR lto/56295 | |
20499 | * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off | |
20500 | decls again if possible. | |
20501 | ||
a011aa39 RB |
20502 | 2013-02-12 Richard Biener <rguenther@suse.de> |
20503 | ||
20504 | PR middle-end/56288 | |
20505 | * tree-ssa.c (verify_ssa_name): Fix check, move | |
20506 | SSA_NAME_IN_FREE_LIST check up. | |
20507 | ||
6da26889 JJ |
20508 | 2013-02-12 Jakub Jelinek <jakub@redhat.com> |
20509 | Steven Bosscher <steven@gcc.gnu.org> | |
20510 | ||
20511 | PR rtl-optimization/56151 | |
20512 | * optabs.c (add_equal_note): Don't return 0 if target is a MEM, | |
20513 | equal to op0 or op1, and last_insn pattern is CODE operation | |
20514 | with MEM dest and one of the operands matches that MEM. | |
20515 | ||
f80e0faf ST |
20516 | 2013-02-11 Sriraman Tallam <tmsriramgoogle.com> |
20517 | ||
20518 | * doc/extend.texi: Document Function Multiversioning and "default" | |
20519 | parameter string to target attribute. | |
20520 | * config/i386/i386.c (get_builtin_code_for_version): Return 0 if | |
20521 | target attribute parameter is "default". | |
20522 | (ix86_compare_version_priority): Remove checks for target attribute. | |
20523 | (ix86_mangle_function_version_assembler_name): Change error to sorry. | |
20524 | Remove check for target attribute equal to NULL. Add assert. | |
20525 | (ix86_generate_version_dispatcher_body): Change error to sorry. | |
20526 | ||
6c59ffd1 IS |
20527 | 2013-02-11 Iain Sandoe <iain@codesourcery.com> |
20528 | Jack Howarth <howarth@bromo.med.uc.edu> | |
20529 | Patrick Marlier <patrick.marlier@gmail.com> | |
20530 | ||
20531 | PR libitm/55693 | |
20532 | * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and | |
20533 | define ENDFILE_SPEC as TM_DESTRUCTOR. | |
20534 | * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR. | |
20535 | ||
a72d8780 | 20536 | 2013-02-11 Alexander Potapenko <glider@google.com> |
6a52ccb3 AP |
20537 | Jack Howarth <howarth@bromo.med.uc.edu> |
20538 | Jakub Jelinek <jakub@redhat.com> | |
20539 | ||
20540 | PR sanitizer/55617 | |
20541 | * config/darwin.c (cdtor_record): Rename ctor_record. | |
20542 | (sort_cdtor_records): Rename sort_ctor_records. | |
20543 | (finalize_dtors): New routine to sort destructors by | |
20544 | priority before use in assemble_integer. | |
20545 | (machopic_asm_out_destructor): Use finalize_dtors if needed. | |
20546 | ||
b63fe007 UB |
20547 | 2013-02-11 Uros Bizjak <ubizjak@gmail.com> |
20548 | ||
20549 | PR rtl-optimization/56275 | |
20550 | * simplify-rtx.c (avoid_constant_pool_reference): Check that | |
20551 | offset is non-negative and less than cmode size before | |
20552 | calling simplify_subreg. | |
20553 | ||
8e89b5b5 RB |
20554 | 2013-02-11 Richard Biener <rguenther@suse.de> |
20555 | ||
20556 | PR tree-optimization/56264 | |
20557 | * cfgloop.h (fix_loop_structure): Adjust prototype. | |
20558 | * loop-init.c (fix_loop_structure): Return the number of | |
20559 | newly discovered loops. | |
20560 | * tree-cfgcleanup.c (repair_loop_structures): When new loops | |
20561 | are discovered, do a full loop-closed SSA rewrite. | |
20562 | ||
b4a4b56d RB |
20563 | 2013-02-11 Richard Biener <rguenther@suse.de> |
20564 | ||
20565 | PR tree-optimization/56273 | |
20566 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
20567 | first VRP run. | |
20568 | (check_array_ref): Fix missing newline in dumps. | |
20569 | (search_for_addr_array): Likewise. | |
20570 | ||
0c885229 DE |
20571 | 2013-02-09 David Edelsohn <dje.gcc@gmail.com> |
20572 | ||
20573 | * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine. | |
20574 | ||
59ac9a55 JJ |
20575 | 2013-02-09 Jakub Jelinek <jakub@redhat.com> |
20576 | ||
20577 | PR target/56256 | |
20578 | * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define. | |
20579 | ||
25bb0bb5 VM |
20580 | 2013-02-08 Vladimir Makarov <vmakarov@redhat.com> |
20581 | ||
20582 | PR rtl-optimization/56246 | |
0c885229 | 20583 | * lra-constraints.c (simplify_operand_subreg): Try to reuse |
25bb0bb5 VM |
20584 | reload pseudo. |
20585 | * lra.c (lra): Clear lra_optional_reload_pseudos only when all | |
20586 | constraints are satisfied. | |
20587 | ||
a698cc03 JL |
20588 | 2013-02-08 Jeff Law <law@redhat.com> |
20589 | ||
20590 | PR debug/53948 | |
20591 | * emit-rtl.c (reg_is_parm_p): New function. | |
20592 | * regs.h (reg_is_parm_p): New prototype. | |
20593 | * ira-conflicts.c (ira_build_conflicts): Allow parameters in | |
20594 | callee-clobbered registers. | |
20595 | ||
e1122ddd MM |
20596 | 2013-02-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
20597 | ||
20598 | PR target/56043 | |
20599 | * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass): | |
20600 | If there is no implicit builtin declaration, just return NULL. | |
20601 | ||
19c5f6e6 UB |
20602 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
20603 | ||
20604 | * config/i386/sse.md (FMAMODEM): New mode iterator. | |
20605 | (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM | |
20606 | mode iterator. Do not use TARGET_SSE_MATH in insn constraint. | |
20607 | ||
2480f2ca | 20608 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
76ef61fb | 20609 | |
2480f2ca UB |
20610 | * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only |
20611 | when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set. | |
20612 | * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto. | |
20613 | ||
20614 | 2013-02-08 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
20615 | ||
20616 | * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT. | |
20617 | (microblaze*-*-elf): Likewise. | |
20618 | * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to | |
20619 | LINK_SPEC. | |
20620 | * config/microblaze/microblaze-c.c: Add builtin defines for | |
20621 | _LITTLE_ENDIAN and _BIG_ENDIAN. | |
20622 | * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and | |
20623 | add to TARGET_DEFAULT flags. | |
76ef61fb | 20624 | Expand ASM_SPEC and LINK_SPEC. |
2480f2ca UB |
20625 | Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN. |
20626 | * config/microblaze/microblaze.md: Update extendsidi2 and | |
20627 | movdi_internal instructions to use low-order / high-order reg | |
20628 | print_operands. | |
20629 | * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian | |
20630 | options and inversemask / mask of LITTLE_ENDIAN. | |
20631 | * config/microblaze/t-microblaze: Expand multilib options to | |
20632 | include mlittle-endian (le) and update exceptions patterns. | |
20633 | ||
600a5961 JJ |
20634 | 2013-02-08 Jakub Jelinek <jakub@redhat.com> |
20635 | ||
5df81313 JJ |
20636 | PR rtl-optimization/56195 |
20637 | * lra-constraints.c (get_reload_reg): Don't reuse regs | |
20638 | if they have smaller mode than requested, if they have | |
20639 | wider mode than requested, try to return a SUBREG. | |
20640 | ||
600a5961 JJ |
20641 | PR tree-optimization/56250 |
20642 | * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize | |
20643 | if type is unsigned and code isn't MULT_EXPR. | |
20644 | ||
ff544649 GJL |
20645 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
20646 | ||
20647 | PR tree-optimization/56064 | |
20648 | * fixed-value.c (fixed_from_double_int): Sign/zero extend payload | |
20649 | bits according to mode. | |
20650 | * fixed-value.h (fixed_from_double_int) | |
20651 | (const_fixed_from_double_int): Adjust comments. | |
20652 | ||
e45cde98 RB |
20653 | 2013-02-08 Richard Biener <rguenther@suse.de> |
20654 | ||
20655 | PR lto/56231 | |
20656 | * lto-streamer.h (struct data_in): Remove current_file, current_line | |
20657 | and current_col members. | |
20658 | * lto-streamer-out.c (lto_output_location): Stream changed bits | |
20659 | en-block for efficiency. | |
20660 | * lto-streamer-in.c (clear_line_info): Remove. | |
20661 | (lto_input_location): Cache current file, line and column | |
20662 | globally via local statics. Read changed bits en-block. | |
20663 | (input_function): Do not call clear_line_info. | |
20664 | (lto_read_body): Likewise. | |
20665 | (lto_input_toplevel_asms): Likewise. | |
20666 | ||
c1ca73d8 MM |
20667 | 2013-02-08 Michael Matz <matz@suse.de> |
20668 | ||
20669 | PR tree-optimization/52448 | |
20670 | * tree-ssa-phiopt.c (struct name_to_bb): Add phase member. | |
20671 | (nt_call_phase): New static. | |
20672 | (add_or_mark_expr): Only mark accesses with newer phase than any | |
20673 | call seen. | |
20674 | (nonfreeing_call_p): New. | |
20675 | (nt_init_block): Update nt_call_phase, mark blocks as visited. | |
20676 | (nt_fini_block): Keep blocks marked as visited. | |
20677 | (get_non_trapping): Initialize nt_call_phase, and reset aux pointer. | |
20678 | ||
57548aa2 RB |
20679 | 2013-02-08 Richard Biener <rguenther@suse.de> |
20680 | ||
20681 | * ira.c (ira): Free broken dominator information. | |
20682 | ||
8e10366f UB |
20683 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
20684 | ||
20685 | * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro. | |
20686 | ||
f64fb0fa MP |
20687 | 2013-02-08 Marek Polacek <polacek@redhat.com> |
20688 | ||
8e10366f | 20689 | * cfgloop.c (verify_loop_structure): Add more checking of headers. |
f64fb0fa | 20690 | |
0375167b RB |
20691 | 2013-02-08 Richard Biener <rguenther@suse.de> |
20692 | ||
20693 | PR middle-end/56181 | |
20694 | * cfgloop.h (flow_loops_find): Adjust. | |
20695 | (bb_loop_header_p): Declare. | |
20696 | * cfgloop.c (bb_loop_header_p): New function split out from ... | |
20697 | (flow_loops_find): ... here. Adjust function signature, | |
20698 | support incremental loop structure update. | |
20699 | (verify_loop_structure): Cleanup. Verify a loop is a loop. | |
20700 | * cfgloopmanip.c (fix_loop_structure): Move ... | |
20701 | * loop-init.c (fix_loop_structure): ... here. | |
20702 | (apply_loop_flags): Split out from ... | |
20703 | (loop_optimizer_init): ... here. | |
20704 | (fix_loop_structure): Use apply_loop_flags. Use flow_loops_find | |
20705 | in incremental mode, only remove dead loops here. | |
20706 | ||
85d768f3 GJL |
20707 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
20708 | ||
20709 | PR target/54222 | |
20710 | * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add. | |
20711 | * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators. | |
20712 | (round<mode>3, round<mode>3_const): New expanders for fixed-mode. | |
20713 | (*round<mode>3.libgcc): New insns for fixed-modes. | |
20714 | * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME. | |
20715 | (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs. | |
20716 | (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs. | |
20717 | * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline | |
20718 | implementations. Define to __builtin_avr_absFX, | |
20719 | __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively. | |
20720 | (roundFX, countlsFX): Define to __builtin_avr_roundFX, | |
20721 | __builtin_avr_countlsFX, respectively. | |
20722 | * config/avr/avr-c.c (target.h): Include it. | |
20723 | (enum avr_builtin_id): New enum. | |
20724 | (avr_resolve_overloaded_builtin): New static function. | |
20725 | (avr_register_target_pragmas): Use it to set | |
20726 | targetm.resolve_overloaded_builtin. | |
20727 | * config/avr/avr.c (avr_init_builtins): Supply myriads of local | |
20728 | tree nodes used by DEF_BUILTIN. | |
20729 | (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them. | |
20730 | (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR. | |
20731 | <AVR_BUILTIN_xxBITS>: Same. | |
20732 | ||
661bc682 RB |
20733 | 2013-02-08 Richard Biener <rguenther@suse.de> |
20734 | ||
20735 | * cfgloop.c (verify_loop_structure): Properly handle | |
20736 | a loop exiting to another loop header. | |
20737 | * ira-int.h (ira_loops): Remove. | |
20738 | * ira.c (ira_loops): Remove. | |
20739 | (ira): Use loop_optimizer_init and loop_optimizer_finalize. | |
20740 | (do_reload): Use loop_optimizer_finalize. | |
20741 | * ira-build.c (create_loop_tree_nodes): Use get_loops and | |
20742 | number_of_loops to access the loop tree. | |
20743 | (more_one_region_p): Likewise. | |
20744 | (finish_loop_tree_nodes): Likewise. | |
20745 | (rebuild_regno_allocno_maps): Likewise. | |
20746 | (mark_loops_for_removal): Likewise. | |
20747 | (mark_all_loops_for_removal): Likewise. | |
20748 | (remove_unnecessary_regions): Likewise. | |
20749 | (ira_build): Likewise. | |
20750 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
20751 | ||
0d5049b2 RB |
20752 | 2013-02-08 Richard Biener <rguenther@suse.de> |
20753 | ||
20754 | * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency. | |
20755 | * ipa-pure-const.c (analyze_function): Avoid calling | |
20756 | mark_irreducible_loops twice. | |
8e10366f | 20757 | * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup. |
0d5049b2 | 20758 | |
499f32e8 DM |
20759 | 2013-02-07 David S. Miller <davem@davemloft.net> |
20760 | ||
20761 | * dwarf2out.c (based_loc_descr): Perform leaf register remapping | |
20762 | on 'reg'. | |
20763 | * var-tracking.c (vt_add_function_parameter): Test the presence of | |
20764 | HAVE_window_save properly and do not remap argument registers when | |
20765 | we have a leaf function. | |
20766 | ||
6edc3e32 UB |
20767 | 2013-02-07 Uros Bizjak <ubizjak@gmail.com> |
20768 | ||
20769 | PR bootstrap/56227 | |
20770 | * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT | |
20771 | instead of "ll". | |
20772 | * config/i386/i386.c (ix86_print_operand): Ditto. | |
20773 | ||
5306401f VM |
20774 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
20775 | ||
6edc3e32 | 20776 | * lra-constraints.c (process_alt_operands): Fix recently added comment. |
5306401f | 20777 | |
027ece11 VM |
20778 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
20779 | ||
20780 | PR rtl-optimization/56225 | |
20781 | * lra-constraints.c (process_alt_operands): Check that reload hard | |
20782 | reg can hold value for strict_low_part. | |
20783 | ||
f980dfdb JJ |
20784 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
20785 | ||
20786 | PR debug/56154 | |
20787 | * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to | |
20788 | dwarf2out_end_function. | |
20789 | (in_first_function_p, maybe_at_text_label_p, | |
20790 | first_loclabel_num_not_at_text_label): New variables. | |
20791 | (dwarf2out_var_location): In the first function find out | |
6edc3e32 | 20792 | lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0. |
f980dfdb JJ |
20793 | (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New |
20794 | functions. | |
20795 | ||
73dd3123 EB |
20796 | 2013-02-07 Eric Botcazou <ebotcazou@adacore.com> |
20797 | ||
20798 | PR rtl-optimization/56178 | |
20799 | * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a | |
20800 | SUBREG of a register. Tidy up related block of code. | |
20801 | * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL | |
20802 | note if the source is a register or a SUBREG of a register. | |
20803 | ||
e3936f47 JJ |
20804 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
20805 | ||
20806 | PR target/56228 | |
20807 | * config/rs6000/rs6000.md (ptrm): New mode attr. | |
20808 | (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11, | |
20809 | call_value_indirect_aix<pttrsize>, | |
20810 | call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of | |
20811 | m in constraints. | |
20812 | ||
d96d674b MH |
20813 | 2013-02-07 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
20814 | ||
20815 | * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable | |
20816 | if -bnortl. Convert to strcmp and strncmp. | |
20817 | ||
921f2dee AM |
20818 | 2013-02-07 Alan Modra <amodra@gmail.com> |
20819 | ||
20820 | PR target/54009 | |
20821 | * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM | |
20822 | addresses won't wrap when offsetting. | |
20823 | (rs6000_secondary_reload): Provide secondary reloads needed for | |
20824 | wrapping LO_SUM addresses. | |
20825 | ||
d09c7dba TS |
20826 | 2013-02-06 Thomas Schwinge <thomas@codesourcery.com> |
20827 | ||
20828 | * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define | |
20829 | MACH, just __MACH__. | |
20830 | ||
a44bbd48 RB |
20831 | 2013-02-06 Richard Biener <rguenther@suse.de> |
20832 | ||
20833 | * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP | |
20834 | instead of calling fix_loop_structure. | |
20835 | ||
6d840d99 JJ |
20836 | 2013-02-06 Jakub Jelinek <jakub@redhat.com> |
20837 | ||
20838 | PR middle-end/56217 | |
20839 | * omp-low.c (use_pointer_for_field): Return false if | |
20840 | lower_send_shared_vars doesn't generate any copy-out code. | |
20841 | ||
0f33baa9 TV |
20842 | 2013-02-06 Tom de Vries <tom@codesourcery.com> |
20843 | ||
20844 | PR rtl-optimization/56131 | |
20845 | * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN | |
20846 | to get the bb of a NOTE_INSN_BASIC_BLOCK. Handle the case that the bb | |
20847 | of the label is NULL. Add comment. | |
20848 | ||
11f1e3ab JJ |
20849 | 2013-02-05 Jakub Jelinek <jakub@redhat.com> |
20850 | ||
31502f9f JJ |
20851 | * tree.h (struct tree_decl_with_vis): Remove thread_local field. |
20852 | ||
a74db9bd JJ |
20853 | PR sanitizer/55374 |
20854 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define. | |
20855 | (STATIC_LIBTSAN_LIBS): Likewise. | |
20856 | * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define. | |
20857 | (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC | |
20858 | is defined, don't add anything else beyond that. | |
20859 | (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define. | |
20860 | (LINK_COMMAND_SPEC): Use them. | |
20861 | ||
11f1e3ab JJ |
20862 | PR tree-optimization/56205 |
20863 | * tree-stdarg.c (check_all_va_list_escapes): Return true if | |
20864 | there are any PHI nodes that set non-va_list_escape_vars SSA_NAME | |
20865 | and some va_list_escape_vars SSA_NAME appears in some PHI argument. | |
20866 | ||
14ac6aa2 RB |
20867 | 2013-02-05 Richard Biener <rguenther@suse.de> |
20868 | ||
20869 | PR tree-optimization/53342 | |
20870 | PR tree-optimization/53185 | |
20871 | * tree-vectorizer.h (vect_check_strided_load): Remove. | |
20872 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do | |
20873 | not disallow peeling for vectorized strided loads. | |
20874 | (vect_check_strided_load): Make static and simplify. | |
20875 | (vect_analyze_data_refs): Adjust. | |
20876 | * tree-vect-stmts.c (vectorizable_load): Handle peeled loops | |
20877 | correctly when vectorizing strided loads. | |
20878 | ||
6f22445a RB |
20879 | 2013-02-05 Richard Biener <rguenther@suse.de> |
20880 | ||
20881 | * doc/install.texi: Refer to ISL, not PPL. | |
20882 | ||
39f9719e JH |
20883 | 2013-02-05 Jan Hubicka <jh@suse.cz> |
20884 | ||
ec4224ac JH |
20885 | PR tree-optimization/55789 |
20886 | * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1. | |
20887 | ||
20888 | 2013-02-05 Jan Hubicka <jh@suse.cz> | |
20889 | ||
20890 | PR tree-optimization/55789 | |
39f9719e JH |
20891 | * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove |
20892 | the dead call anyway. | |
20893 | ||
956d3b33 EB |
20894 | 2013-02-05 Eric Botcazou <ebotcazou@adacore.com> |
20895 | ||
20896 | PR sanitizer/55374 | |
20897 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard. | |
20898 | ||
20899 | 2013-02-04 Alexander Potapenko <glider@google.com> | |
20900 | Jack Howarth <howarth@bromo.med.uc.edu> | |
ae526fe5 AP |
20901 | Jakub Jelinek <jakub@redhat.com> |
20902 | ||
20903 | PR sanitizer/55617 | |
20904 | * config/darwin.c (sort_ctor_records): Stabilized qsort | |
20905 | on constructor priority by using original position. | |
20906 | (finalize_ctors): New routine to sort constructors by | |
20907 | priority before use in assemble_integer. | |
20908 | (machopic_asm_out_constructor): Use finalize_ctors if needed. | |
20909 | ||
7ac3af38 JJ |
20910 | 2013-02-04 Jakub Jelinek <jakub@redhat.com> |
20911 | ||
20912 | PR libstdc++/54314 | |
20913 | * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn | |
20914 | about visibility on artificial decls. | |
20915 | * config/sol2.c (solaris_assemble_visibility): Likewise. | |
20916 | ||
152689dc KT |
20917 | 2013-02-04 Kai Tietz <ktietz@redhat.com> |
20918 | ||
20919 | PR target/56186 | |
20920 | * config/i386/i386.c (function_value_ms_64): Add additional valtype | |
20921 | argument and improve checking of return-argument types for 16-byte | |
20922 | modes. | |
20923 | (ix86_function_value_1): Add additional valtype argument on call | |
20924 | of function_value_64. | |
20925 | (return_in_memory_ms_64): Sync 16-byte sized mode handling with | |
20926 | handling infunction_value_64 function. | |
20927 | ||
2b5987b5 MGD |
20928 | 2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
20929 | ||
7ac3af38 | 20930 | * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue. |
2b5987b5 | 20931 | |
14597080 RB |
20932 | 2013-02-04 Richard Biener <rguenther@suse.de> |
20933 | ||
20934 | PR tree-optimization/56188 | |
20935 | * tree-ssa-structalias.c (label_visit): Consider case with | |
20936 | initially non-empty points-to set. | |
20937 | (perform_var_substitution): Dump node mapping and clean up. | |
20938 | ||
ed73881e RG |
20939 | 2013-02-04 Richard Guenther <rguenther@suse.de> |
20940 | ||
20941 | PR lto/56168 | |
20942 | * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin | |
20943 | node prevail as last resort. | |
20944 | (lto_symtab_merge_decls): Remove guard on LTRANS here. | |
6edc3e32 | 20945 | (lto_symtab_prevailing_decl): Builtins are their own prevailing decl. |
ed73881e | 20946 | |
139a0707 RB |
20947 | 2013-02-04 Richard Biener <rguenther@suse.de> |
20948 | ||
20949 | PR tree-optimization/56113 | |
20950 | * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add): | |
20951 | Merge into ... | |
20952 | (equiv_class_lookup_or_add): ... this. | |
20953 | (label_visit): Adjust and fix error in previous patch. | |
20954 | (perform_var_substitution): Adjust. | |
20955 | ||
50fe8924 OE |
20956 | 2013-02-03 Oleg Endo <olegendo@gcc.gnu.org> |
20957 | ||
20958 | * config/sh/divtab.c: Fix formatting and comments throughout the file. | |
20959 | * config/sh/sh4-300.md: Likewise. | |
20960 | * config/sh/sh4a.md: Likewise. | |
20961 | * config/sh/constraints.md: Likewise. | |
20962 | * config/sh/sh.md: Likewise. | |
20963 | * config/sh/netbsd-elf.h: Likewise. | |
20964 | * config/sh/predicates.md: Likewise. | |
20965 | * config/sh/sh-protos.h: Likewise. | |
20966 | * config/sh/ushmedia.h: Likewise. | |
20967 | * config/sh/linux.h: Likewise. | |
20968 | * config/sh/sh.c: Likewise. | |
20969 | * config/sh/superh.h: Likewise. | |
20970 | * config/sh/elf.h: Likewise. | |
20971 | * config/sh/sh4.md: Likewise. | |
20972 | * config/sh/sh.h: Likewise. | |
20973 | ||
1a04ac2b JDA |
20974 | 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
20975 | ||
20976 | * config/pa/constraints.md: Adjust unused letters. Change "T" | |
20977 | constraint to match_test floating_point_store_memory_operand(). | |
20978 | * config/pa/predicates.md (reg_plus_base_memory_operand): New. | |
20979 | (base14_operand): New. | |
20980 | (floating_point_store_memory_operand): New. | |
20981 | (integer_store_memory_operand): Revise to use base14_operand and | |
20982 | reg_plus_base_memory_operand. | |
20983 | (move_dest_operand): Allow symbolic_memory_operands. | |
20984 | (symbolic_memory_operand): Check for LO_SOM. | |
20985 | (symbolic_operand): Change default case to break. | |
20986 | * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force | |
20987 | CONST_DOUBLE values to be reloaded by putting them into memory when | |
20988 | the destination is a floating point register. | |
20989 | (movdf): Remove code to handle CONST_DOUBLE. | |
20990 | (movsf): Likewise. | |
20991 | (reload_indf_r1): New. | |
20992 | (reload_insf_r1): New. | |
20993 | Consistently use "Q" and "T" constraints with integer and floating | |
20994 | point move instructions, respectively. | |
20995 | (movdi): Remove FAIL. | |
20996 | Change predicate for source operand unamed DImode move from | |
20997 | general_operand to move_src_operand. | |
20998 | (umulsidi3): Change predicate for destination operand to | |
20999 | register_operand. | |
21000 | Likewise for similar unamed patterns. | |
21001 | * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare. | |
21002 | * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis. | |
21003 | (hppa_legitimize_address): Simplify mask calculation. | |
21004 | (pa_emit_move_sequence): Revised handling of secondary reloads from | |
21005 | REG+D addresses for floating point loads and stores. Directly handle | |
21006 | loading CONST0_RTX (mode) to a floating point register. | |
21007 | (pa_secondary_reload): Handle reloading DF and SFmode constant values | |
21008 | to floating point registers. Don't restrict secondary reloads to | |
21009 | floating point registers to integer modes. Revise some comments and | |
21010 | cleanup some code. | |
21011 | (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
21012 | (pa_legitimate_address_p): New. | |
21013 | (pa_legitimize_reload_address): New. | |
21014 | * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New. | |
21015 | (STRICT_REG_OK_FOR_BASE_P): New. | |
21016 | (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments. | |
21017 | (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address. | |
21018 | ||
3bf65591 DE |
21019 | 2013-02-03 David Edelsohn <dje.gcc@gmail.com> |
21020 | Andrew Dixie <andrewd@gentrack.com> | |
21021 | ||
21022 | * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY | |
21023 | flag set. | |
21024 | ||
c0a8a3e6 RS |
21025 | 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> |
21026 | ||
21027 | * expmed.c (extract_bit_field_1): Pass the full width of the | |
21028 | structure to get_best_reg_extraction_insn. | |
21029 | ||
99113dff DE |
21030 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
21031 | ||
21032 | PR target/54601 | |
21033 | * configure.ac (use_cxa_atexit): Add AIX. | |
21034 | * configure: Regenerate. | |
21035 | ||
21036 | * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o. | |
21037 | ||
ddd84654 JJ |
21038 | 2013-02-01 Jakub Jelinek <jakub@redhat.com> |
21039 | ||
21040 | PR debug/54793 | |
21041 | * final.c (need_profile_function): New variable. | |
21042 | (final_start_function): Drop ATTRIBUTE_UNUSED from first argument. | |
21043 | If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG | |
21044 | is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED | |
21045 | notes, targetm.asm_out.function_prologue doesn't emit anything, | |
21046 | HAVE_prologue and profiler should be emitted before prologue, | |
21047 | set need_profile_function instead of emitting it. | |
21048 | (final_scan_insn): If need_profile_function, emit | |
21049 | profile_function on the first NOTE_INSN_BASIC_BLOCK or | |
21050 | NOTE_INSN_FUNCTION_BEG note. | |
21051 | ||
21052 | 2013-02-01 Richard Henderson <rth@redhat.com> | |
749af8ee RH |
21053 | |
21054 | * config/rs6000/rs6000.md (smulditi3): New. | |
21055 | (umulditi3): New. | |
21056 | ||
ff2a9d88 RH |
21057 | * config/alpha/alpha.md (umulditi3): New. |
21058 | ||
14d52b90 DE |
21059 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
21060 | ||
21061 | * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2. | |
21062 | (ASM_OUTPUT_ALIGNED_LOCAL): New. | |
21063 | ||
8c7ca45c RB |
21064 | 2013-02-01 Richard Biener <rguenther@suse.de> |
21065 | ||
21066 | PR tree-optimization/56113 | |
21067 | * tree-ssa-structalias.c (label_visit): Reduce work for | |
21068 | single-predecessor nodes. | |
21069 | ||
9f419393 EB |
21070 | 2013-02-01 Eric Botcazou <ebotcazou@adacore.com> |
21071 | ||
21072 | * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the | |
21073 | range isn't testing for zero. | |
21074 | ||
c5f4be84 SB |
21075 | 2013-01-31 Steven Bosscher <steven@gcc.gnu.org> |
21076 | ||
21077 | PR middle-end/56113 | |
21078 | * fwprop.c (fwprop_init): Set up loops without CFG modifications. | |
21079 | ||
dbdbd982 NC |
21080 | 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com> |
21081 | Nick Clifton <nickc@redhat.com> | |
21082 | ||
21083 | * config/v850/constraints.md (Q): Define as a memory constraint. | |
21084 | * config/v850/predicates.md (label_ref_operand): New predicate. | |
21085 | (e3v5_shift_operand): New predicate. | |
21086 | (ior_operator): New predicate. | |
21087 | * config/v850/t-v850: Add e3v5 multilib. | |
21088 | * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype. | |
21089 | (v850_gen_movdi): Prototype. | |
21090 | * config/v850/v850.c: Add support for e3v5 architecture. | |
21091 | Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to | |
21092 | TARGET_V850E_UP. | |
21093 | (construct_save_jarl): Add e3v5 long JARL support. | |
21094 | (v850_adjust_insn_length): New function. Adjust length of call | |
21095 | insns when using e3v5 instructions. | |
21096 | (v850_gen_movdi): New function: Generate instructions to move a | |
21097 | DImode value. | |
21098 | * config/v850/v850.h (TARGET_CPU_v850e3v5): Define. | |
21099 | (CPP_SPEC): Define __v850e3v5__ as appropriate. | |
21100 | (TARGET_USE_FPU): Enable for e3v5. | |
21101 | (CONST_OK_FOR_W): New macro. | |
21102 | (ADJUST_INSN_LENGTH): Define. | |
21103 | * config/v850/v850.md (UNSPEC_LOOP): Define. | |
21104 | (attr cpu): Add v850e3v5. | |
21105 | Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP. | |
21106 | (movdi): New pattern. | |
21107 | (movdi_internal): New pattern. | |
21108 | (cbranchsf4): Conditionalize on TARGET_USE_FPU. | |
21109 | (cbranchdf4): Conditionalize on TARGET_USE_FPU. | |
21110 | (cstoresf4): Likewise. | |
21111 | (cstoredf4): Likewise. | |
21112 | (insv): New pattern. | |
21113 | (rotlso3_a): New pattern. | |
21114 | (rotlsi3_b): New pattern | |
21115 | (rotlsi3_v850e3v5): New pattern. | |
21116 | (doloop_begin): New pattern. | |
21117 | (fix_loop_counter): New pattern. | |
21118 | (doloop_end): New pattern. | |
21119 | (branch_normal): Add e3v5 long branch support. | |
21120 | (branch_invert): Likewise. | |
21121 | (branch_z_normal): Likewise. | |
21122 | (branch_z_invert): Likewise. | |
21123 | (branch_nz_normal): Likewise. | |
21124 | (branch_nz_invert): Likewise. | |
21125 | (call_internal_short): Add e3v5 register-indirect JARL support. | |
21126 | (call_internal_long): Likewise. | |
21127 | (call_value_internal_short): Likewise. | |
21128 | (call_value_internal_long): Likewise. | |
21129 | * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options. | |
21130 | (mloop): New option. | |
21131 | * config.gcc: Add support for configuring v840e3v5 target. | |
6edc3e32 | 21132 | * doc/invoke.texi: Document new v850 specific command line options. |
dbdbd982 | 21133 | |
73861a41 PK |
21134 | 2013-01-31 Paul Koning <ni1d@arrl.net> |
21135 | ||
21136 | PR debug/55059 | |
21137 | PR debug/54508 | |
21138 | * dwarf2out.c (prune_unused_types_mark): Mark all of parent's | |
21139 | children if parent is a class. | |
21140 | (prune_unused_types_prune): Don't add DW_AT_declaration. | |
21141 | ||
e44978dc RB |
21142 | 2013-01-31 Richard Biener <rguenther@suse.de> |
21143 | ||
21144 | PR tree-optimization/56157 | |
21145 | * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to | |
21146 | match up operand with SLP child. | |
21147 | ||
90b10dec JM |
21148 | 2013-01-31 Jason Merrill <jason@redhat.com> |
21149 | ||
04d2dadd | 21150 | PR debug/54410 |
90b10dec JM |
21151 | * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template |
21152 | parameters the first time. | |
21153 | (gen_scheduled_generic_parms_dies): Check completeness here. | |
21154 | ||
6e616110 RB |
21155 | 2013-01-31 Richard Biener <rguenther@suse.de> |
21156 | ||
21157 | PR middle-end/53073 | |
21158 | * common.opt (faggressive-loop-optimizations): New flag, | |
21159 | enabled by default. | |
21160 | * doc/invoke.texi (faggressive-loop-optimizations): Document. | |
21161 | * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard | |
21162 | infer_loop_bounds_from_undefined by it. | |
21163 | ||
636f59cf RB |
21164 | 2013-01-31 Richard Biener <rguenther@suse.de> |
21165 | ||
21166 | PR tree-optimization/56150 | |
21167 | * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not | |
21168 | visit virtual operands. | |
21169 | (find_uses_to_rename_bb): Likewise. | |
21170 | ||
21171 | 2013-01-31 Richard Biener <rguenther@suse.de> | |
fcfa87ac RB |
21172 | |
21173 | PR tree-optimization/56150 | |
21174 | * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle | |
21175 | mixed store non-store stmts. | |
21176 | ||
32887460 JJ |
21177 | 2013-01-30 Jakub Jelinek <jakub@redhat.com> |
21178 | ||
e60e09a0 JJ |
21179 | PR sanitizer/55374 |
21180 | * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if | |
21181 | LIBASAN_EARLY_SPEC is defined. | |
21182 | (LIBASAN_EARLY_SPEC): Define to empty string if not already defined. | |
21183 | (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address, | |
21184 | before %o. | |
21185 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define. | |
21186 | ||
32887460 JJ |
21187 | PR c++/55742 |
21188 | * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose | |
21189 | invalid args instead of ICEing on it. | |
21190 | (ix86_valid_target_attribute_tree): Return error_mark_node if | |
21191 | ix86_valid_target_attribute_inner_p failed. | |
21192 | (ix86_valid_target_attribute_p): Return false only if | |
21193 | ix86_valid_target_attribute_tree returned error_mark_node. Allow | |
21194 | target("default") attribute. | |
21195 | (sorted_attr_string): Change argument from const char * to tree, | |
21196 | merge in all target attribute arguments rather than just one. | |
21197 | Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC | |
21198 | instead of free. Avoid using strcat. | |
21199 | (ix86_mangle_function_version_assembler_name): Mangle | |
21200 | target("default") as if no target attribute is present. Adjust | |
21201 | sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC | |
21202 | instead of xmalloc and XDELETEVEC instead of free. | |
21203 | (ix86_function_versions): Don't return true if one of the decls | |
21204 | doesn't have target attribute. If they don't and one of the decls | |
21205 | is DECL_FUNCTION_VERSIONED, report an error. Adjust | |
21206 | sorted_attr_string caller. Use XDELETEVEC instead of free. | |
21207 | (ix86_supports_function_versions): Remove. | |
21208 | (make_name): Fix up formatting. | |
21209 | (make_dispatcher_decl): Remove resolver_name and its initialization. | |
21210 | Avoid leaking memory. | |
21211 | (is_function_default_version): Return true if there is | |
21212 | target("default") attribute rather than no target attribute at all. | |
21213 | (make_resolver_func): Avoid leaking memory. | |
21214 | (ix86_generate_version_dispatcher_body): Likewise. | |
21215 | (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove. | |
21216 | * target.def (supports_function_versions): Remove. | |
21217 | * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove. | |
21218 | * doc/tm.texi: Regenerated. | |
21219 | ||
73cca0cc VM |
21220 | 2013-01-30 Vladimir Makarov <vmakarov@redhat.com> |
21221 | ||
21222 | PR rtl-optimization/56144 | |
21223 | * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo | |
21224 | for values with side effects. | |
21225 | ||
11452e7b RB |
21226 | 2013-01-30 Richard Biener <rguenther@suse.de> |
21227 | ||
21228 | * sparseset.h (sparseset_bit_p): Use gcc_checking_assert. | |
21229 | (sparseset_pop): Likewise. | |
21230 | * cfganal.c (compute_idf): Likewise. Increase work-stack size | |
21231 | to be able to use quick_push in the worker loop. | |
21232 | ||
01cb1ef5 MP |
21233 | 2013-01-30 Marek Polacek <polacek@redhat.com> |
21234 | ||
21235 | * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs. | |
21236 | ||
e892936e RB |
21237 | 2013-01-30 Richard Biener <rguenther@suse.de> |
21238 | ||
21239 | PR lto/56147 | |
6edc3e32 | 21240 | * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check. |
e892936e | 21241 | |
cc06c01d GJL |
21242 | 2013-01-30 Georg-Johann Lay <avr@gjlay.de> |
21243 | ||
21244 | PR tree-optimization/56064 | |
21245 | * fixed-value.c (fixed_from_double_int): New function. | |
21246 | * fixed-value.h (fixed_from_double_int): New prototype. | |
21247 | (const_fixed_from_double_int): New static inline function. | |
21248 | * fold-const.c (native_interpret_fixed): New static function. | |
21249 | (native_interpret_expr) <FIXED_POINT_TYPE>: Use it. | |
21250 | (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true. | |
21251 | (native_encode_fixed): New static function. | |
21252 | (native_encode_expr) <FIXED_CST>: Use it. | |
21253 | (native_interpret_int): Move double_int worker code to... | |
21254 | * double-int.c (double_int::from_buffer): ...this new static method. | |
21255 | * double-int.h (double_int::from_buffer): Prototype it. | |
21256 | ||
d394a308 RB |
21257 | 2013-01-30 Richard Biener <rguenther@suse.de> |
21258 | ||
21259 | * tree-ssa-structalias.c (final_solutions, final_solutions_obstack): | |
21260 | New pointer-map and obstack. | |
21261 | (init_alias_vars): Allocate pointer-map and obstack. | |
21262 | (delete_points_to_sets): Free them. | |
21263 | (find_what_var_points_to): Cache result. | |
21264 | (find_what_p_points_to): Adjust for changed interface of | |
21265 | find_what_var_points_to. | |
21266 | (compute_points_to_sets): Likewise. | |
21267 | (ipa_pta_execute): Likewise. | |
21268 | ||
20804d96 RO |
21269 | 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
21270 | ||
21271 | * configure.ac (HAVE_AS_SPARC_NOBITS): New test. | |
21272 | * configure: Regenerate. | |
21273 | * config.in: Regenerate. | |
21274 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit | |
21275 | #nobits/#progbits if supported. | |
21276 | ||
a7ad88a2 OE |
21277 | 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org> |
21278 | ||
21279 | PR target/56121 | |
21280 | * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a, | |
21281 | bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a, | |
21282 | bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition. | |
21283 | ||
7af79f92 GY |
21284 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
21285 | ||
91bfca59 OE |
21286 | * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove. |
21287 | (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all. | |
7af79f92 | 21288 | |
753bcf7b GY |
21289 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
21290 | ||
91bfca59 OE |
21291 | * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL. |
21292 | * config/arm/cortex-a7.md (cortex_a7_call): Update required units. | |
753bcf7b | 21293 | |
8cbc2ea8 GY |
21294 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
21295 | ||
91bfca59 OE |
21296 | * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New |
21297 | declaration. | |
21298 | * config/arm/arm.c (arm_mac_accumulator_is_result): New function. | |
21299 | * config/arm/cortex-a7.md: New bypasses using | |
21300 | arm_mac_accumulator_is_result. | |
8cbc2ea8 | 21301 | |
697a3325 GY |
21302 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
21303 | ||
91bfca59 | 21304 | * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation. |
697a3325 | 21305 | (cortex_a7_neon_mla): Likewise. |
91bfca59 OE |
21306 | (cortex_a7_fpfmad): New reservation. |
21307 | (cortex_a7_fpmacs): Use ffmas and update required units. | |
21308 | (cortex_a7_fpmuld): Update required units and latency. | |
21309 | (cortex_a7_fpmacd): Likewise. | |
21310 | (cortex_a7_fdivs, cortex_a7_fdivd): Likewise. | |
21311 | (cortex_a7_neon). Likewise. | |
21312 | (bypass) Update participating units. | |
697a3325 | 21313 | |
29637783 GY |
21314 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
21315 | ||
91bfca59 OE |
21316 | * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute. |
21317 | * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type | |
21318 | from fmac to ffma. | |
21319 | * config/arm/vfp11.md (vfp_farith): Use ffmas. | |
21320 | (vfp_fmul): Use ffmad. | |
21321 | * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas. | |
21322 | (cortex_r4_fmacd): Use ffmad. | |
21323 | * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas. | |
21324 | * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas. | |
21325 | (cortex_a9_fmacd): Use ffmad. | |
21326 | * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas. | |
21327 | (cortex_a8_vfp_macd): Use ffmad. | |
21328 | * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas. | |
21329 | (cortex_a5_fpmacd): Use ffmad. | |
21330 | * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas. | |
21331 | (cortex_a15_vfp_macd): Use ffmad. | |
21332 | * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad. | |
29637783 | 21333 | |
2ee8a2d5 JM |
21334 | 2013-01-29 Jason Merrill <jason@redhat.com> |
21335 | ||
21336 | PR libstdc++/54314 | |
21337 | * varasm.c (default_assemble_visibility): Don't warn about | |
21338 | visibility on artificial decls. | |
21339 | ||
78d087bc RB |
21340 | 2013-01-29 Richard Biener <rguenther@suse.de> |
21341 | ||
21342 | PR tree-optimization/56113 | |
21343 | * tree-ssa-structalias.c (equiv_class_lookup): Also return | |
21344 | the bitmap leader. | |
21345 | (label_visit): Free duplicate bitmaps and record the leader instead. | |
21346 | (perform_var_substitution): Adjust. | |
21347 | ||
83ba4d6f RB |
21348 | 2013-01-29 Richard Biener <rguenther@suse.de> |
21349 | ||
21350 | PR tree-optimization/55270 | |
21351 | * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed | |
21352 | the CFG, schedule loops for fixup. | |
21353 | ||
66dfe13f NC |
21354 | 2013-01-29 Nick Clifton <nickc@redhat.com> |
21355 | ||
21356 | * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow | |
21357 | SP_REG. | |
21358 | ||
5a579c3b LE |
21359 | 2013-01-28 Leif Ekblad <leif@rdos.net> |
21360 | ||
21361 | * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets. | |
21362 | * config/i386/i386.h (TARGET_RDOS): New macro. | |
21363 | (DEFAULT_LARGE_SECTION_THRESHOLD): New macro. | |
21364 | * config/i386/i386.c (ix86_option_override_internal): For 64bit | |
21365 | TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1. | |
21366 | * config/i386/i386.opt (mlarge-data-threshold): Initialize to | |
21367 | DEFAULT_LARGE_SECTION_THRESHOLD. | |
21368 | * config/i386/i386.md (R14_REG, R15_REG): New constants. | |
21369 | * config/i386/rdos.h: New file. | |
21370 | * config/i386/rdos64.h: New file. | |
21371 | ||
51e44392 BS |
21372 | 2013-01-28 Bernd Schmidt <bernds@codesourcery.com> |
21373 | ||
21374 | PR other/54814 | |
21375 | * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of | |
21376 | TEST_HARD_REG_BIT. | |
21377 | ||
db1fb332 JJ |
21378 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
21379 | ||
21380 | PR rtl-optimization/56117 | |
21381 | * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib | |
21382 | call cselib_lookup_from_insn on the MEM before calling | |
21383 | add_insn_mem_dependence. | |
21384 | ||
16917761 RB |
21385 | 2013-01-28 Richard Biener <rguenther@suse.de> |
21386 | ||
21387 | * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK | |
21388 | to a stmt that didn't have one. | |
21389 | (copy_phis_for_bb): Likewise for PHI arguments. | |
21390 | (copy_debug_stmt): Likewise for debug stmts. | |
21391 | ||
b9fc0497 RB |
21392 | 2013-01-28 Richard Biener <rguenther@suse.de> |
21393 | ||
21394 | PR tree-optimization/56034 | |
6edc3e32 | 21395 | * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION. |
b9fc0497 RB |
21396 | (partition_builtin_p): Adjust. |
21397 | (generate_code_for_partition): Handle PKIND_REDUCTION. Assert | |
21398 | it is the last partition. | |
21399 | (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking | |
21400 | up the vertex for the definition. | |
21401 | (classify_partition): Classify whether a partition is a | |
21402 | PKIND_REDUCTION, thus has uses outside of the loop. | |
21403 | (ldist_gen): Inherit PKIND_REDUCTION when merging partitions. | |
21404 | Merge all PKIND_REDUCTION partitions into the last partition. | |
21405 | (tree_loop_distribution): Seed partitions from reductions as well. | |
21406 | ||
aa710d25 JJ |
21407 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
21408 | ||
0bfbca58 JJ |
21409 | PR tree-optimization/56125 |
21410 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize | |
21411 | pow(x,c) into sqrt(x) * powi(x, n/2) or | |
21412 | 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when | |
21413 | optimizing for size. | |
21414 | Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or | |
21415 | 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an | |
21416 | integer. | |
21417 | ||
aa710d25 JJ |
21418 | PR tree-optimization/56094 |
21419 | * gimplify.c (force_gimple_operand_1): Temporarily set input_location | |
21420 | to UNKNOWN_LOCATION while gimplifying expr. | |
21421 | ||
77dc5297 UB |
21422 | 2013-01-27 Uros Bizjak <ubizjak@gmail.com> |
21423 | ||
21424 | PR target/56114 | |
21425 | * config/i386/i386.md (*movabs<mode>_1): Add square brackets around | |
21426 | operand 0 in movabs insn template for -masm=intel asm alternative. | |
21427 | (*movabs<mode>_2): Ditto for operand 1. | |
21428 | ||
0bfbca58 | 21429 | 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com> |
fbf0cf90 DH |
21430 | |
21431 | PR target/54663 | |
21432 | * config.gcc (microblaze*-linux*): Add tmake_file to allow building | |
21433 | of microblaze-c.o | |
21434 | ||
0bfbca58 | 21435 | 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
6f14eef2 EI |
21436 | |
21437 | * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update | |
21438 | tm_file. | |
21439 | ||
0bfbca58 | 21440 | 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
706b2314 N |
21441 | |
21442 | * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS): | |
21443 | Undef to avoid warning. | |
21444 | ||
478f60f9 MH |
21445 | 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
21446 | ||
21447 | * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. | |
21448 | * configure: Regenerate. | |
21449 | ||
d7fa6ee2 JJ |
21450 | 2013-01-25 Jakub Jelinek <jakub@redhat.com> |
21451 | ||
21452 | PR tree-optimization/56098 | |
21453 | * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr | |
21454 | for stmts with volatile ops. | |
21455 | (cond_store_replacement): Don't optimize if assign has volatile ops. | |
21456 | (cond_if_else_store_replacement_1): Don't optimize if either | |
21457 | then_assign or else_assign have volatile ops. | |
21458 | (hoist_adjacent_loads): Don't optimize if either def1 or def2 have | |
21459 | volatile ops. | |
21460 | ||
f8fe87bd GJL |
21461 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
21462 | ||
21463 | * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__. | |
21464 | ||
28398d0d GJL |
21465 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
21466 | ||
21467 | * doc/extend.texi (Example of asm with clobbered asm reg): Fix | |
21468 | missing ':' in asm example. | |
21469 | ||
b7d7d917 TB |
21470 | 2013-01-25 Tejas Belagod <tejas.belagod@arm.com> |
21471 | ||
21472 | * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane | |
21473 | entries into lane and laneq entries. | |
77dc5297 UB |
21474 | * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>): |
21475 | Remove AdvSIMD scalar modes. | |
b7d7d917 TB |
21476 | (aarch64_sq<r>dmulh_laneq<mode>): New. |
21477 | (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD | |
21478 | modes. | |
21479 | * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics' | |
21480 | builtin implementations to relfect changes in RTL in aarch64-simd.md. | |
21481 | * config/aarch64/iterators.md (VCOND): New. | |
21482 | (VCONQ): New. | |
21483 | ||
556f9906 GJL |
21484 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
21485 | ||
21486 | PR target/54222 | |
21487 | * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument. | |
21488 | Add NULL LIBNAME argument to existing definitions. | |
21489 | (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New. | |
21490 | * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument. | |
21491 | * config/avr/avr.c (DEF_BUILTIN): Same. | |
21492 | (avr_init_builtins): Pass down LIBNAME to add_builtin_function. | |
21493 | (avr_expand_builtin): Expand to a vanilla call if a libgcc | |
21494 | implementation is available (DECL_ASSEMBLER_NAME is set). | |
21495 | (avr_fold_absfx): New static function. | |
21496 | (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR, | |
21497 | AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR, | |
21498 | AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK, | |
21499 | AVR_BUILTIN_ABSLLK. | |
21500 | * config/avr/stdfix.h (abshr, absr, abslr, absllr) | |
21501 | (abshk, absk, abslk, absllk): Provide as static inline functions. | |
21502 | ||
1f546bbb MP |
21503 | 2013-01-25 Marek Polacek <polacek@redhat.com> |
21504 | ||
21505 | PR tree-optimization/56035 | |
21506 | * cfgloopmanip.c (fix_loop_structure): Remove redundant condition. | |
21507 | ||
7e184bd7 UB |
21508 | 2012-01-24 Uros Bizjak <ubizjak@gmail.com> |
21509 | ||
21510 | * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative. | |
21511 | (*movtf_internal_rex64): Add (!o,C) alternative | |
21512 | (*movxf_internal_rex64): Ditto. | |
21513 | (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives. | |
21514 | ||
f5ba49ac SM |
21515 | 2013-01-24 Shenghou Ma <minux.ma@gmail.com> |
21516 | ||
21517 | * doc/invoke.texi: fix typo. | |
21518 | * doc/objc.texi: fix typo. | |
21519 | ||
a6343728 RS |
21520 | 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
21521 | ||
21522 | * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint | |
21523 | for the first two alternatives. | |
21524 | ||
cd030c07 DN |
21525 | 2013-01-24 Diego Novillo <dnovillo@google.com> |
21526 | ||
77dc5297 | 21527 | * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o. |
cd030c07 DN |
21528 | (ggc-zone.o): Remove. |
21529 | * configure.ac: Remove option --with-gc. | |
21530 | * configure: Re-generate. | |
21531 | * doc/install.texi: Remove documentation for --with-gc. | |
21532 | * gengtype.c (write_enum_defn): Remove. Update all users. | |
21533 | (write_Types_process_field): Remove generation of gt_e_* argument. | |
21534 | (output_type_enum): Remove. Update all users. | |
21535 | (write_enum_defn): Remove. Update all users. | |
21536 | (enum alloc_zone): Remove. Update all users. | |
77dc5297 | 21537 | (write_splay_tree_allocator_def): Remove generation of gt_e_* argument. |
cd030c07 DN |
21538 | * ggc-common.c (ggc_splay_alloc): Remove first argument. |
21539 | Update all callers. | |
21540 | (struct ptr_data): Remove field TYPE. Update all users. | |
77dc5297 | 21541 | (gt_pch_note_object): Remove argument TYPE. Update all users. |
cd030c07 DN |
21542 | * ggc-internal.h (ggc_pch_alloc_object): Remove last argument. |
21543 | Update all users. | |
aaf1e810 | 21544 | * ggc-none.c (ggc_alloc_typed_stat): Remove. |
cd030c07 DN |
21545 | (struct alloc_zone): Remove. |
21546 | (ggc_internal_alloc_zone_stat): Remove. | |
21547 | (ggc_internal_cleared_alloc_zone_stat): Remove. | |
21548 | * ggc-page.c (ggc_alloc_typed_stat): Remove. | |
77dc5297 UB |
21549 | (ggc_pch_count_object): Remove last argument. Update all users. |
21550 | (ggc_pch_alloc_object): Remove last argument. Update all users. | |
cd030c07 DN |
21551 | (struct alloc_zone): Remove. |
21552 | * ggc-zone.c: Remove. | |
77dc5297 | 21553 | * ggc.h (gt_pch_note_object): Remove last argument. Update all users. |
cd030c07 DN |
21554 | (struct alloc_zone): Remove. |
21555 | (ggc_alloc_typed_stat): Remove. | |
21556 | (ggc_alloc_typed): Remove. | |
21557 | (ggc_splay_alloc): Remove first argument. | |
21558 | (rtl_zone): Remove. Update all users. | |
21559 | (tree_zone): Remove. Update all users. | |
21560 | (tree_id_zone): Remove. Update all users. | |
21561 | (ggc_internal_zone_alloc_stat): Remove. Update all users. | |
77dc5297 | 21562 | (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users. |
cd030c07 | 21563 | (ggc_internal_zone_vec_alloc_stat): Remove. Update all users. |
77dc5297 | 21564 | * tree-ssanames.c: Remove references to zone allocator in comments. |
cd030c07 | 21565 | |
a861ffa4 GJL |
21566 | 2013-01-24 Georg-Johann Lay <avr@gjlay.de> |
21567 | ||
21568 | * config/avr/avr.c (avr_out_fract): Make register numbers that | |
21569 | might be outside of source operand signed. | |
21570 | ||
593c0ddd UB |
21571 | 2013-01-24 Uros Bizjak <ubizjak@gmail.com> |
21572 | ||
21573 | * config/i386/constraints.md (Yf): New constraint. | |
21574 | * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead | |
21575 | of f constraint to conditionaly disable x87 register preferences. | |
21576 | (*movdf_internal): Ditto. | |
21577 | (*movsf_internal): Ditto. | |
21578 | ||
e86c0101 SB |
21579 | 2013-01-24 Steven Bosscher <steven@gcc.gnu.org> |
21580 | ||
21581 | PR inline-asm/55934 | |
21582 | * lra-assigns.c (assign_by_spills): Throw away the pattern of asms | |
21583 | that have operands with impossible constraints. | |
21584 | Add a FIXME for a speed-up opportunity. | |
21585 | * lra-constraints.c (process_alt_operands): Verify that a class | |
21586 | selected from constraints on asms is valid for the operand mode. | |
21587 | (curr_insn_transform): Remove incorrect comment. | |
21588 | ||
f6fee35f DE |
21589 | 2013-01-23 David Edelsohn <dje.gcc@gmail.com> |
21590 | ||
21591 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that | |
21592 | TOC operand is a valid symbol ref in the constant pool. | |
21593 | ||
21594 | 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
c7729184 | 21595 | |
aaf1e810 | 21596 | * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS |
c7729184 | 21597 | |
dc62d7d1 GJL |
21598 | 2013-01-23 Georg-Johann Lay <avr@gjlay.de> |
21599 | ||
21600 | PR target/54222 | |
21601 | * config/avr/stdfix.h: New file. | |
21602 | * t-avr (stdfix-gcc.h): New rule to build it. | |
21603 | (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h. | |
21604 | ||
2660d12d KS |
21605 | 2013-01-23 Kostya Serebryany <kcc@google.com> |
21606 | ||
77dc5297 UB |
21607 | * config/darwin.h: remove dependency on |
21608 | CoreFoundation (asan on Mac OS). | |
2660d12d | 21609 | |
a70418fc JJ |
21610 | 2013-01-23 Jakub Jelinek <jakub@redhat.com> |
21611 | ||
21612 | PR target/49069 | |
21613 | * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand | |
21614 | instead of cmpdi_operand for first comparison operand. | |
21615 | Don't assert that comparison operands aren't both constants. | |
21616 | ||
47876a2a JW |
21617 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> |
21618 | ||
21619 | * doc/install.texi (Downloading the Source): Update references to | |
21620 | downloading separate components. | |
21621 | ||
21622 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> | |
4ebd56a5 JW |
21623 | |
21624 | * doc/extend.texi (__int128): Improve grammar. | |
21625 | ||
47876a2a | 21626 | 2013-01-22 Uros Bizjak <ubizjak@gmail.com> |
32fc5b8a UB |
21627 | |
21628 | PR target/56028 | |
21629 | * config/i386/i386.md (*movti_internal_rex64): Change (o,riF) | |
21630 | alternative to (o,r). | |
21631 | (*movdi_internal_rex64): Remove (!o,n) alternative. | |
21632 | (DImode immediate->memory splitter): Remove. | |
21633 | (DImode immediate->memory peephole2): Remove. | |
21634 | (movtf): Enable for TARGET_64BIT || TARGET_SSE. | |
21635 | (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r) | |
21636 | alternative to (!o,*r). | |
21637 | (*movtf_internal_sse): New pattern. | |
21638 | (*movxf_internal_rex64): New pattern. | |
21639 | (*movxf_internal): Disable for TARGET_64BIT. | |
21640 | (*movdf_internal_rex64): Remove (!o,F) alternative. | |
21641 | ||
3a984f10 JJ |
21642 | 2013-01-22 Jakub Jelinek <jakub@redhat.com> |
21643 | ||
502498d5 JJ |
21644 | PR middle-end/56074 |
21645 | * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc) | |
21646 | isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION. | |
21647 | * tree-vect-loop-manip.c (find_loop_location): Also ignore | |
21648 | stmt locations where LOCATION_LOCUS of the stmt location is | |
21649 | UNKNOWN_LOCATION or BUILTINS_LOCATION. | |
21650 | ||
3a984f10 JJ |
21651 | PR target/55686 |
21652 | * config/i386/i386.md (UNSPEC_STOS): New. | |
21653 | (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1, | |
21654 | *strsetqi_1): Add UNSPEC_STOS. | |
21655 | ||
fa817f7f PC |
21656 | 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com> |
21657 | ||
21658 | PR c++/56067 | |
21659 | * doc/invoke.texi: Remove left over -Wsynth example. | |
21660 | ||
8f498c1b JJ |
21661 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
21662 | ||
21663 | PR tree-optimization/56051 | |
21664 | * fold-const.c (fold_binary_loc): Don't fold | |
21665 | X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either | |
21666 | a narrowing conversion, or widening conversion from signed | |
21667 | to unsigned. | |
21668 | ||
47876a2a | 21669 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
35d59da7 UB |
21670 | |
21671 | PR rtl-optimization/56023 | |
21672 | * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions, | |
21673 | dependent on debug instruction. | |
21674 | ||
5b9db1bc MJ |
21675 | 2013-01-21 Martin Jambor <mjambor@suse.cz> |
21676 | ||
21677 | PR middle-end/56022 | |
21678 | * function.c (allocate_struct_function): Call | |
21679 | invoke_set_current_function_hook earlier. | |
21680 | ||
e8bb7d68 JJ |
21681 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
21682 | ||
21683 | * reload1.c (init_reload): Only initialize reload_obstack | |
21684 | during the first call. | |
21685 | ||
616a4e32 MP |
21686 | 2013-01-21 Marek Polacek <polacek@redhat.com> |
21687 | ||
21688 | * cfgloop.c (verify_loop_structure): Fix up grammar. | |
21689 | ||
4401981b YHH |
21690 | 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com> |
21691 | ||
21692 | * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift, | |
21693 | pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift. | |
21694 | ||
8e87740b RR |
21695 | 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
21696 | ||
21697 | PR target/56058 | |
21698 | * config/arm/marvell-pj4.md: Update copyright year. | |
21699 | Fix up use of alu to alu_reg and simple_alu_imm. | |
21700 | ||
47876a2a | 21701 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
1f6bc337 UB |
21702 | |
21703 | * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA. | |
21704 | ||
89d56d79 VM |
21705 | 2013-01-20 Vladimir Makarov <vmakarov@redhat.com> |
21706 | ||
21707 | PR target/55433 | |
21708 | * lra-constraints.c (curr_insn_transform): Don't reuse original | |
1f6bc337 | 21709 | insn for secondary memory move when memory mode should be different. |
89d56d79 | 21710 | |
fe603553 JDA |
21711 | 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
21712 | ||
21713 | * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi, | |
21714 | atomic_storedi_1): New patterns. | |
21715 | ||
01284895 VK |
21716 | 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
21717 | ||
21718 | btver2 pipeline descriptions. | |
21719 | * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline | |
21720 | descriptions. | |
21721 | * config/i386/i386.md (btver2_decode): New type attributes. | |
1f6bc337 | 21722 | * config/i386/sse.md (btver2_decode, btver2_sse_attr): New |
01284895 VK |
21723 | type attributes. |
21724 | * config/i386/btver2.md: New file describing btver2 pipelines. | |
21725 | ||
5630e3e1 JL |
21726 | 2013-01-19 Andrew Pinski <apinski@cavium.com> |
21727 | ||
21728 | PR tree-optimization/52631 | |
21729 | * tree-ssa-sccvn (visit_use): Before looking up the original | |
21730 | statement, try looking up the simplified expression. | |
21731 | ||
650ae806 AG |
21732 | 2013-01-19 Anthony Green <green@moxielogic.com> |
21733 | ||
21734 | * config/moxie/moxie.c (moxie_expand_prologue): Set | |
21735 | current_function_static_stack_size. | |
21736 | ||
e300ec2d JJ |
21737 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
21738 | ||
21739 | PR tree-optimization/56029 | |
21740 | * tree-phinodes.c (reserve_phi_args_for_new_edge): Set | |
21741 | gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION. | |
21742 | ||
a3d7af04 SS |
21743 | 2013-01-18 Sharad Singhai <singhai@google.com> |
21744 | ||
21745 | PR tree-optimization/55995 | |
21746 | * dumpfile.c (dump_loc): Print location only if available. | |
21747 | * tree-vectorizer.c (increase_alignment): Intialize vect_location. | |
21748 | ||
66aa7879 VM |
21749 | 2013-01-18 Vladimir Makarov <vmakarov@redhat.com> |
21750 | ||
21751 | PR target/55433 | |
21752 | * lra-constraints.c (curr_insn_transform): Reuse original insn for | |
21753 | secondary memory move. | |
21754 | (inherit_reload_reg): Use rclass instead of cl for | |
21755 | check_secondary_memory_needed_p. | |
21756 | ||
3f0fee7b JJ |
21757 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
21758 | ||
21759 | PR middle-end/56015 | |
21760 | * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle | |
1f6bc337 | 21761 | the case where writing real complex part of target modifies op1. |
3f0fee7b | 21762 | |
70c67693 JG |
21763 | 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com> |
21764 | ||
21765 | * config/aarch64/aarch64-simd.md | |
21766 | (aarch64_vcond_internal<mode>): Handle unordered cases. | |
21767 | * config/aarch64/iterators.md (v_cmp_result): New. | |
21768 | ||
df8de9b3 YHH |
21769 | 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com> |
21770 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
21771 | ||
21772 | * config/arm/marvell-pj4.md: New file. | |
21773 | * config/arm/arm.c (arm_issue_rate): Add marvell_pj4. | |
21774 | * config/arm/arm.md (generic_sched): Add marvell_pj4. | |
21775 | (generic_vfp): Likewise. | |
21776 | * config/arm/arm-cores.def: Add marvell-pj4. | |
21777 | * config/arm/arm-tune.md: Regenerate. | |
21778 | * config/arm/arm-tables.opt: Regenerate. | |
21779 | * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4. | |
21780 | * doc/invoke.texi: Document marvell-pj4. | |
21781 | ||
be30c356 TB |
21782 | 2013-01-18 Tejas Belagod <tejas.belagod@arm.com> |
21783 | ||
21784 | * config/aarch64/arm_neon.h: Map scalar types to standard types. | |
21785 | ||
0bfbca58 | 21786 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
af6236c1 AO |
21787 | |
21788 | PR debug/54114 | |
21789 | PR debug/54402 | |
21790 | PR debug/49888 | |
21791 | * var-tracking.c (negative_power_of_two_p): New. | |
21792 | (global_get_addr_cache, local_get_addr_cache): New. | |
21793 | (get_addr_from_global_cache, get_addr_from_local_cache): New. | |
21794 | (vt_canonicalize_addr): Rewrite using the above. Adjust the | |
21795 | heading comment. | |
21796 | (vt_stack_offset_p): Remove. | |
21797 | (vt_canon_true_dep): Always canonicalize loc's address. | |
21798 | (clobber_overlapping_mems): Make sure we have a MEM. | |
21799 | (local_get_addr_clear_given_value): New. | |
21800 | (val_reset): Clear local cached entries. | |
21801 | (compute_bb_dataflow): Create and release the local cache. | |
21802 | Disable duplicate MEMs clobbering. | |
21803 | (emit_notes_in_bb): Clobber MEMs likewise. | |
21804 | (vt_emit_notes): Create and release the local cache. | |
21805 | (vt_initialize, vt_finalize): Create and release the global | |
21806 | cache, respectively. | |
1f6bc337 | 21807 | * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs. |
af6236c1 | 21808 | |
0bfbca58 | 21809 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
7ff37ffa AO |
21810 | |
21811 | PR libmudflap/53359 | |
21812 | * tree-mudflap.c (mudflap_finish_file): Skip deferred decls | |
21813 | not found in the symtab. | |
21814 | ||
0bfbca58 | 21815 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
3aa03517 | 21816 | |
c350ba53 | 21817 | PR debug/56006 |
3aa03517 AO |
21818 | PR rtl-optimization/55547 |
21819 | PR rtl-optimization/53827 | |
21820 | PR debug/53671 | |
21821 | PR debug/49888 | |
21822 | * alias.c (offset_overlap_p): New, factored out of... | |
21823 | (memrefs_conflict_p): ... this. Use absolute sizes. Retain | |
21824 | the conservative special case for symbolic constants. Don't | |
21825 | adjust zero sizes on alignment. | |
21826 | ||
c664546f JL |
21827 | 2013-01-18 Bernd Schmidt <bernds@codesourcery.com> |
21828 | ||
21829 | PR rtl-optimization/52573 | |
21830 | * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a | |
21831 | REG_UNUSED for the same register. | |
21832 | ||
1bd3f750 MP |
21833 | 2013-01-17 Richard Biener <rguenther@suse.de> |
21834 | Marek Polacek <polacek@redhat.com> | |
21835 | ||
21836 | PR rtl-optimization/55833 | |
21837 | * loop-unswitch.c (unswitch_loops): Move loop verification... | |
21838 | (unswitch_single_loop): ...here. Call mark_irreducible_loops. | |
21839 | * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter. | |
21840 | Set it to true when we're removing a loop from hierarchy tree in | |
21841 | an irreducible region. | |
21842 | (fix_bb_placements): Adjust caller. | |
21843 | (fix_loop_placements): Likewise. | |
21844 | ||
e52a8b71 GJL |
21845 | 2013-01-17 Georg-Johann Lay <avr@gjlay.de> |
21846 | ||
21847 | * config/avr/builtins.def (DEF_BUILTIN): Factor out | |
21848 | "__builtin_avr_" from NAME, turn NAME to an uppercase identifier. | |
21849 | Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'. | |
21850 | Remove ID. Adjust comments. | |
21851 | * config/avr/avr-c.c (avr_builtin_name): Remove. | |
21852 | (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop. | |
21853 | * config/avr/avr.c (avr_tolower): New static function. | |
21854 | (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'. | |
21855 | Stringify NAME, prefix it with "__builtin_avr_" and lowercase it. | |
21856 | (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for | |
21857 | default expansion. | |
21858 | ||
8386a7ea JH |
21859 | 2013-01-17 Jan Hubicka <jh@suse.cz> |
21860 | ||
610fb637 | 21861 | PR tree-optimization/55273 |
8386a7ea JH |
21862 | * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. |
21863 | ||
47876a2a | 21864 | 2013-01-17 Uros Bizjak <ubizjak@gmail.com> |
8abaebcd UB |
21865 | |
21866 | PR target/55981 | |
21867 | * config/i386/sync.md (atomic_store<mode>): Always generate SWImode | |
21868 | store through atomic_store<mode>_1. | |
21869 | (atomic_store<mode>_1): Macroize insn using SWI mode iterator. | |
21870 | ||
8222c37e MJ |
21871 | 2013-01-17 Martin Jambor <mjambor@suse.cz> |
21872 | ||
21873 | PR tree-optimizations/55264 | |
21874 | * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true | |
21875 | for virtual methods. | |
21876 | * ipa.c (symtab_remove_unreachable_nodes): Never return true for | |
21877 | virtual methods before inlining is over. | |
21878 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for | |
21879 | virtual functions. | |
21880 | * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as | |
21881 | non-virtual. | |
21882 | ||
79f01c76 VM |
21883 | 2013-01-16 Vladimir Makarov <vmakarov@redhat.com> |
21884 | ||
21885 | PR rtl-optimization/56005 | |
21886 | * sched-deps.c (sched_analyze_2): Check deps->readonly for adding | |
21887 | pending reads for prefetch. | |
21888 | ||
d0b6bb1b IB |
21889 | 2013-01-16 Ian Bolton <ian.bolton@arm.com> |
21890 | ||
aaf1e810 | 21891 | * config/aarch64/aarch64.md |
d0b6bb1b IB |
21892 | (*cstoresi_neg_uxtw): New pattern. |
21893 | (*cmovsi_insn_uxtw): New pattern. | |
21894 | (*<optab>si3_uxtw): New pattern. | |
21895 | (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern. | |
21896 | (*<optab>si3_insn_uxtw): New pattern. | |
21897 | (*bswapsi2_uxtw): New pattern. | |
21898 | ||
cb9cf03b RB |
21899 | 2013-01-16 Richard Biener <rguenther@suse.de> |
21900 | ||
21901 | * tree-inline.c (tree_function_versioning): Remove set but | |
21902 | never used variable. | |
21903 | ||
2cfc56b9 RB |
21904 | 2013-01-16 Richard Biener <rguenther@suse.de> |
21905 | ||
21906 | PR tree-optimization/55964 | |
21907 | * tree-flow.h (rename_variables_in_loop): Remove. | |
21908 | (rename_variables_in_bb): Likewise. | |
21909 | * tree-loop-distribution.c (update_phis_for_loop_copy): Remove. | |
21910 | (copy_loop_before): Adjust and delete update-ssa status. | |
21911 | * tree-vect-loop-manip.c (rename_variables_in_bb): Make static. | |
8abaebcd | 21912 | (rename_variables_in_bb): Likewise. Properly walk over predecessors. |
2cfc56b9 RB |
21913 | (rename_variables_in_loop): Remove. |
21914 | (slpeel_update_phis_for_duplicate_loop): Likewise. | |
21915 | (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops, | |
21916 | use available cfg machinery instead of duplicating it. | |
21917 | Update PHI nodes and perform poor-mans SSA update here. | |
21918 | (slpeel_tree_peel_loop_to_edge): Adjust. | |
21919 | ||
c25a0c60 RB |
21920 | 2013-01-16 Richard Biener <rguenther@suse.de> |
21921 | ||
21922 | PR tree-optimization/54767 | |
21923 | PR tree-optimization/53465 | |
21924 | * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465. | |
21925 | (vrp_visit_phi_node): For PHI arguments coming via backedges | |
21926 | drop all symbolical range information. | |
21927 | (execute_vrp): Compute backedges. | |
21928 | ||
04b535af RB |
21929 | 2013-01-16 Richard Biener <rguenther@suse.de> |
21930 | ||
21931 | * doc/install.texi: Update CLooG and ISL requirements to | |
21932 | 0.18.0 and 0.11.1. | |
21933 | ||
8b0a1e0b CB |
21934 | 2013-01-16 Christian Bruel <christian.bruel@st.com> |
21935 | ||
21936 | PR target/55301 | |
21937 | * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol. | |
21938 | (broken_move): Handle UNSPECV_SP_SWITCH_B. | |
21939 | * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG). | |
21940 | ||
21941 | 2013-01-16 DJ Delorie <dj@redhat.com> | |
21942 | ||
21943 | * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New. | |
21944 | (UNSPECV_SP_SWITCH_E): New. | |
21945 | (sp_switch_1): Change to an unspec. | |
21946 | (sp_switch_2): Change to an unspec. Don't use post-inc when we | |
21947 | replace $r15. | |
21948 | ||
21949 | 2013-01-16 Uros Bizjak <ubizjak@gmail.com> | |
88e784e6 UB |
21950 | |
21951 | * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument | |
21952 | with MEMMODEL_MASK before comparing with MEMMODEL_* memory types. | |
21953 | * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto. | |
21954 | (expand_mem_thread_fence): Ditto. | |
21955 | (expand_mem_signal_fence): Ditto. | |
21956 | (expand_atomic_load): Ditto. | |
21957 | (expand_atomic_store): Ditto. | |
21958 | ||
0bfbca58 | 21959 | 2013-01-16 Alexandre Oliva <aoliva@redhat.com> |
5147bf6a AO |
21960 | |
21961 | PR rtl-optimization/55547 | |
21962 | PR rtl-optimization/53827 | |
21963 | PR debug/53671 | |
21964 | PR debug/49888 | |
21965 | * alias.c (memrefs_conflict_p): Set sizes to negative after | |
21966 | AND adjustments. | |
21967 | ||
305e3ac1 JJ |
21968 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
21969 | ||
21970 | PR target/55940 | |
21971 | * function.c (thread_prologue_and_epilogue_insns): Always | |
21972 | add crtl->drap_reg to set_up_by_prologue.set, even if | |
21973 | stack_realign_drap is false. | |
21974 | ||
f78ac4f2 JBG |
21975 | 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
21976 | ||
21977 | * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3, | |
21978 | and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3, | |
21979 | *call): Fix indention. | |
21980 | ||
a78a8cc4 TV |
21981 | 2013-01-15 Tom de Vries <tom@codesourcery.com> |
21982 | ||
21983 | PR target/55876 | |
21984 | * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG. | |
21985 | Update comment. | |
21986 | ||
0e80383f VM |
21987 | 2013-01-15 Vladimir Makarov <vmakarov@redhat.com> |
21988 | ||
305e3ac1 | 21989 | PR rtl-optimization/55153 |
0e80383f VM |
21990 | * sched-deps.c (sched_analyze_2): Add pending reads for prefetch. |
21991 | ||
207b5956 MJ |
21992 | 2013-01-15 Martin Jambor <mjambor@suse.cz> |
21993 | ||
21994 | PR tree-optimization/55920 | |
21995 | * tree-sra.c (analyze_access_subtree): Do not mark non-removable | |
21996 | accesses as grp_to_be_debug_replaced. | |
21997 | ||
a7818b54 JJ |
21998 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
21999 | ||
22000 | PR tree-optimization/55920 | |
22001 | * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced | |
22002 | there is non-useless type conversion needed from debug rhs to lhs, | |
22003 | use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR. | |
22004 | ||
b0fe107e JM |
22005 | 2013-01-15 Joseph Myers <joseph@codesourcery.com> |
22006 | Mikael Pettersson <mikpe@it.uu.se> | |
22007 | ||
22008 | PR target/43961 | |
22009 | * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for | |
22010 | Thumb. | |
22011 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
22012 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty. | |
22013 | * final.c (shorten_branches): Update alignment of labels before | |
22014 | jump tables if CASE_VECTOR_SHORTEN_MODE. | |
22015 | ||
34ab62ee RB |
22016 | 2013-01-15 Richard Biener <rguenther@suse.de> |
22017 | ||
22018 | PR bootstrap/55961 | |
22019 | * system.h: Do not include gmp.h for building host tools. | |
22020 | ||
783a3a05 RB |
22021 | 2013-01-15 Richard Biener <rguenther@suse.de> |
22022 | ||
22023 | PR middle-end/55882 | |
22024 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly | |
22025 | account for bitpos when computing alignment. | |
22026 | ||
3a579e09 VY |
22027 | 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com> |
22028 | ||
22029 | * config/i386/i386-c.c (ix86_target_macros_internal): New case. | |
22030 | (ix86_target_macros_internal): Likewise. | |
22031 | ||
22032 | * config/i386/i386.c (m_CORE2I7): Removed. | |
22033 | (m_CORE_HASWELL): New macro. | |
22034 | (m_CORE_ALL): Likewise. | |
22035 | (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL. | |
22036 | (initial_ix86_arch_features): Likewise. | |
22037 | (processor_target_table): Initializations for Core avx2. | |
22038 | (cpu_names): New names "core-avx2". | |
22039 | (ix86_option_override_internal): Changed PROCESSOR_COREI7 by | |
22040 | PROCESSOR_CORE_HASWELL. | |
22041 | (ix86_issue_rate): New case. | |
22042 | (ia32_multipass_dfa_lookahead): Likewise. | |
22043 | (ix86_sched_init_global): Likewise. | |
22044 | ||
22045 | * config/i386/i386.h (TARGET_HASWELL): New macro. | |
22046 | (target_cpu_default): New TARGET_CPU_DEFAULT_haswell. | |
22047 | (processor_type): New PROCESSOR_HASWELL. | |
22048 | ||
955f5a07 JJ |
22049 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
22050 | ||
ff784829 JJ |
22051 | PR tree-optimization/55955 |
22052 | * tree-vect-loop.c (vectorizable_reduction): Give up early on | |
22053 | *SHIFT_EXPR and *ROTATE_EXPR codes. | |
22054 | ||
955f5a07 JJ |
22055 | PR tree-optimization/48766 |
22056 | * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for | |
22057 | -ftrapv disable -fwrapv. | |
22058 | ||
aeb8b4e9 GJL |
22059 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
22060 | ||
22061 | PR target/55974 | |
22062 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH | |
22063 | etc. to 1 and not to __flash. | |
22064 | Use LL suffix for __INT24_MAX__ with -mint8. | |
22065 | Use ULL suffix for __UINT24_MAX__ with -mint8. | |
22066 | ||
1c494c6a GJL |
22067 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
22068 | ||
22069 | * config/avr/avr-arch.h | |
22070 | (struct base_arch_s): Use typedef avr_arch_t instead. | |
22071 | (struct arch_info_s): Use typedef avr_arch_info_t instead. | |
22072 | (struct mcu_type_s): Use typedef avr_mcu_t instead. | |
22073 | * config/avr/avr.c: Same. | |
22074 | * config/avr/avr-devices.c: Same. | |
22075 | * config/avr/driver-avr.c: Same. | |
22076 | * config/avr/gen-avr-mmcu-texi.c: Same. | |
22077 | * config/avr/avr-mcus.def: Adjust comment. | |
22078 | ||
a50344cb TB |
22079 | 2013-01-14 Tejas Belagod <tejas.belagod@arm.com> |
22080 | ||
88e784e6 UB |
22081 | * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New. |
22082 | * config/aarch64/iterators.md (VALLDI): New. | |
a50344cb | 22083 | |
47876a2a | 22084 | 2013-01-14 Uros Bizjak <ubizjak@gmail.com> |
e6f0e052 UB |
22085 | Andi Kleen <ak@linux.intel.com> |
22086 | ||
22087 | PR target/55948 | |
22088 | * config/i386/sync.md (atomic_store<mode>_1): New pattern. | |
22089 | (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE | |
22090 | memmodel flag. | |
22091 | ||
00892272 GJL |
22092 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
22093 | ||
22094 | * config/avr/avr-stdint.h: Remove trailing blanks. | |
22095 | * config/avr/avr-log.h: Same. | |
22096 | * config/avr/avr-arch.h: Same. | |
22097 | * config/avr/avr-devices.c: Same. | |
22098 | * config/avr/avr-dimode.md: Same. | |
22099 | * config/avr/predicates.md: Same. | |
22100 | * config/avr/avr-c.c: Same. And fix typo. | |
e6f0e052 | 22101 | |
00892272 GJL |
22102 | * config/avr/avr-protos.h: Same. And: |
22103 | (function_arg_regno_p): Rename to avr_function_arg_regno_p. | |
22104 | (init_cumulative_args): Rename to avr_init_cumulative_args. | |
22105 | (expand_prologue): Rename to avr_expand_prologue. | |
22106 | (expand_epilogue): Rename to avr_expand_epilogue. | |
22107 | (adjust_insn_length): Rename to avr_adjust_insn_length. | |
22108 | (notice_update_cc): Rename to avr_notice_update_cc. | |
22109 | (final_prescan_insn): Rename to avr_final_prescan_insn. | |
22110 | * config/avr/avr.c: Same. | |
22111 | * config/avr/avr.h: Same. | |
22112 | * config/avr/avr.md: Remove trailing blanks. | |
22113 | (prologue): Use avr_expand_prologue. | |
22114 | (epilogue, sibcall_epilogue): Use avr_expand_epilogue. | |
22115 | ||
7bb01996 RB |
22116 | 2013-01-14 Richard Biener <rguenther@suse.de> |
22117 | ||
22118 | * tree-cfg.c (verify_expr_location, verify_expr_location_1, | |
22119 | verify_location, collect_subblocks): New functions. | |
22120 | (verify_gimple_in_cfg): Verify that locations only reference | |
22121 | BLOCKs in the functions BLOCK tree. | |
22122 | ||
2724573f RB |
22123 | 2013-01-14 Richard Biener <rguenther@suse.de> |
22124 | ||
22125 | * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated | |
22126 | PHI argument. | |
22127 | * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly | |
22128 | unshare reference. | |
22129 | (insert_out_of_ssa_copy_on_edge): Likewise. | |
22130 | (rewrite_close_phi_out_of_ssa): Likewise. | |
22131 | * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare | |
22132 | debug expressions. | |
22133 | * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare | |
22134 | propagated constants. | |
22135 | * tree-cfg.c (tree_node_can_be_shared): Handled component-refs | |
22136 | can not be shared. | |
22137 | ||
9a0bbab6 GJL |
22138 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
22139 | ||
22140 | * config/avr/avr-modes.def: Add GPL copyright notice. | |
22141 | ||
45805f17 UB |
22142 | 2013-01-13 Uros Bizjak <ubizjak@gmail.com> |
22143 | ||
22144 | * config/i386/sync.md (mem_thread_fence): Mask operands[0] with | |
22145 | MEMMODEL_MASK to determine memory model. | |
22146 | (atomic_store<mode>): Ditto from operands[2]. | |
22147 | * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool. | |
22148 | ||
9d60be38 JJ |
22149 | 2013-01-13 Jakub Jelinek <jakub@redhat.com> |
22150 | ||
22151 | PR fortran/55935 | |
45805f17 | 22152 | * gimple-fold.c (get_symbol_constant_value): Call unshare_expr. |
9d60be38 JJ |
22153 | (fold_gimple_assign): Don't call unshare_expr here. |
22154 | (fold_ctor_reference): Call unshare_expr. | |
22155 | ||
e7f49d92 TG |
22156 | 2013-01-13 Terry Guo <terry.guo@arm.com> |
22157 | ||
aaf1e810 EB |
22158 | * Makefile.in (s-mlib): New argument MULTILIB_REUSE. |
22159 | * doc/fragments.texi: Document MULTILIB_REUSE. | |
22160 | * gcc.c (multilib_reuse): New internal spec. | |
e7f49d92 | 22161 | (set_multilib_dir): Also search multilib from multilib_reuse. |
aaf1e810 | 22162 | * genmultilib (tmpmultilib3): Refactor code. |
e7f49d92 TG |
22163 | (tmpmultilib4): Ditto. |
22164 | (multilib_reuse): New multilib argument. | |
22165 | ||
fbd03a27 RS |
22166 | 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com> |
22167 | ||
22168 | * Makefile.in: Update copyright. | |
22169 | ||
b3681f13 TV |
22170 | 2013-01-12 Tom de Vries <tom@codesourcery.com> |
22171 | ||
22172 | PR middle-end/55890 | |
22173 | * calls.c (expand_call): Check if arg_nr is valid. | |
22174 | ||
3f287e4b MM |
22175 | 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
22176 | ||
22177 | * doc/extend.texi (X86 Built-in Functions): Add whitespace in | |
22178 | __builtin_ia32_paddb256 and __builtin_ia32_pavgb256 | |
5bc35113 MM |
22179 | documentation. Add missing '__' in front of |
22180 | __builtin_ia32_packssdw256. | |
3f287e4b | 22181 | |
1abcd5eb AK |
22182 | 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
22183 | ||
22184 | PR target/55719 | |
22185 | * config/s390/s390.c (s390_preferred_reload_class): Do not return | |
22186 | NO_REGS for larl operands. | |
22187 | (s390_reload_larl_operand): Use s390_load_address instead of | |
22188 | emit_move_insn. | |
22189 | ||
980d0812 RB |
22190 | 2013-01-11 Richard Biener <rguenther@suse.de> |
22191 | ||
22192 | * tree-cfg.c (verify_node_sharing_1): Split out from ... | |
22193 | (verify_node_sharing): ... here. | |
22194 | (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree. | |
22195 | ||
7cb9fd07 EB |
22196 | 2013-01-11 Eric Botcazou <ebotcazou@adacore.com> |
22197 | ||
22198 | * configure.ac (Tree checking): Set TREECHECKING to yes if enabled. | |
22199 | Substitute TREECHECKING. | |
22200 | * configure: Regenerate. | |
22201 | * Makefile.in (TREECHECKING): New. | |
22202 | ||
47876a2a | 22203 | 2013-01-11 Richard Guenther <rguenther@suse.de> |
c7ab2530 RG |
22204 | |
22205 | PR tree-optimization/44061 | |
22206 | * tree-vrp.c (extract_range_basic): Compute zero as | |
22207 | value-range for __builtin_constant_p of function parameters. | |
22208 | ||
d1e082c2 RS |
22209 | 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com> |
22210 | ||
45805f17 | 22211 | Update copyright years. |
d1e082c2 | 22212 | |
f85021b0 VM |
22213 | 2013-01-10 Vladimir Makarov <vmakarov@redhat.com> |
22214 | ||
9d60be38 | 22215 | PR rtl-optimization/55672 |
0160442c VM |
22216 | * lra-eliminations.c (mark_not_eliminable): Permit addition with |
22217 | const to be eliminable. | |
f85021b0 | 22218 | |
7a8b1ec4 DE |
22219 | 2013-01-10 David Edelsohn <dje.gcc@gmail.com> |
22220 | ||
22221 | * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix. | |
22222 | * configure: Regenerate. | |
22223 | ||
ad2e5b71 RB |
22224 | 2013-01-10 Richard Biener <rguenther@suse.de> |
22225 | ||
ddf9322d | 22226 | * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes. |
ad2e5b71 | 22227 | |
ffc5b2bb RB |
22228 | 2013-01-10 Richard Biener <rguenther@suse.de> |
22229 | ||
22230 | PR bootstrap/55792 | |
22231 | * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set | |
22232 | locations for virtual PHI arguments. | |
22233 | (rewrite_update_phi_arguments): Likewise. | |
22234 | ||
e1f674e4 JS |
22235 | 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com> |
22236 | ||
22237 | * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi | |
22238 | on to assembler. | |
22239 | ||
a57fc743 JJ |
22240 | 2013-01-10 Jakub Jelinek <jakub@redhat.com> |
22241 | ||
22242 | PR tree-optimization/55921 | |
22243 | * tree-complex.c (expand_complex_asm): New function. | |
22244 | (expand_complex_operations_1): Call it for GIMPLE_ASM. | |
22245 | ||
0ff4390d AK |
22246 | 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
22247 | ||
22248 | PR target/55718 | |
22249 | * config/s390/s390.c (s390_symref_operand_p) | |
22250 | (s390_loadrelative_operand_p): Merge the two functions. | |
22251 | (s390_check_qrst_address, print_operand_address): Add parameters | |
22252 | to s390_loadrelative_operand_p invokation. | |
22253 | (s390_check_symref_alignment): Use s390_loadrelative_operand_p. | |
22254 | (s390_reload_larl_operand, s390_secondary_reload): Use | |
22255 | s390_loadrelative_operand_p instead of s390_symref_operand_p. | |
22256 | (legitimize_pic_address): Handle @GOTENT and @PLT + addend. | |
22257 | ||
6f557e0e MS |
22258 | 2013-01-09 Mike Stump <mikestump@comcast.net> |
22259 | ||
22260 | * dse.c (record_store): Remove unnecessary assert. | |
22261 | ||
7770c9e9 JH |
22262 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
22263 | ||
22264 | PR tree-optimization/55569 | |
22265 | * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type. | |
22266 | * cfgloop.h (scale_loop_profile): Likewise. | |
22267 | ||
a19b1432 JH |
22268 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
22269 | ||
22270 | PR lto/45375 | |
ddf9322d UB |
22271 | * ipa-inline.c (ipa_inline): Remove extern inlines and virtual |
22272 | functions. | |
a19b1432 JH |
22273 | * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data. |
22274 | ||
9a002da8 RS |
22275 | 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com> |
22276 | ||
22277 | PR middle-end/55114 | |
22278 | * expr.h (maybe_emit_group_store): Declare. | |
22279 | * expr.c (maybe_emit_group_store): New function. | |
22280 | * builtins.c (expand_builtin_int_roundingfn): Call it. | |
22281 | (expand_builtin_int_roundingfn_2): Likewise. | |
22282 | ||
511dcace VM |
22283 | 2013-01-09 Vladimir Makarov <vmakarov@redhat.com> |
22284 | ||
e1f2b729 | 22285 | PR rtl-optimization/55829 |
511dcace VM |
22286 | * lra-constraints.c (match_reload): Add code for absent output. |
22287 | (curr_insn_transform): Add code for reloads of matched inputs | |
22288 | without output. | |
22289 | ||
7b0fe4f4 UB |
22290 | 2013-01-09 Uros Bizjak <ubizjak@gmail.com> |
22291 | ||
22292 | * config/i386/sse.md (*vec_interleave_highv2df): Change mode | |
22293 | attribute of movddup insn to DF. | |
22294 | (*vec_interleave_lowv2df): Ditto. | |
22295 | (vec_dupv2df): Ditto. | |
22296 | ||
870ca331 JH |
22297 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
22298 | ||
22299 | PR tree-optimiation/55875 | |
22300 | * tree-ssa-loop-niter.c (number_of_iterations_cond): Add | |
22301 | EVERY_ITERATION parameter. | |
7b0fe4f4 | 22302 | (number_of_iterations_exit): Check if exit is executed every iteration. |
870ca331 JH |
22303 | (idx_infer_loop_bounds): Similarly here. |
22304 | (n_of_executions_at_most): Simplify | |
22305 | to only test for cases where statement is dominated by the | |
7b0fe4f4 | 22306 | particular bound; handle correctly the "postdominance" test. |
870ca331 JH |
22307 | (scev_probably_wraps_p): Use max loop iterations info |
22308 | as a global bound first. | |
22309 | ||
6f575fe4 | 22310 | 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com> |
3cd232b5 NDD |
22311 | Nick Clifton <nickc@redhat.com> |
22312 | ||
22313 | * config/v850/v850.md (cbranchsf4): New pattern. | |
22314 | (cstoresf4): New pattern. | |
22315 | (cbranchdf4): New pattern. | |
22316 | (cstoredf4): New pattern. | |
22317 | (movsicc): Disallow floating point comparisons. | |
22318 | (cmpsf_le_insn): Fix order of operators. | |
22319 | (cmpsf_lt_insn): Likewise. | |
22320 | (cmpsf_eq_insn): Likewise. | |
22321 | (cmpdf_le_insn): Likewise. | |
22322 | (cmpdf_lt_insn): Likewise. | |
22323 | (cmpdf_eq_insn): Likewise. | |
22324 | (cmpsf_ge_insn): Use LE comparison. | |
22325 | (cmpdf_ge_insn): Likewise. | |
22326 | (cmpsf_gt_insn): Use LT comparison. | |
22327 | (cmpdf_gt_insn): Likewise. | |
22328 | (cmpsf_ne_insn): Delete pattern. | |
22329 | (cmpdf_ne_insn): Delete pattern. | |
22330 | * config/v850/v850.c (v850_gen_float_compare): Use | |
22331 | gen_cmpdf_eq_insn for NE comparison. | |
22332 | (v850_float_z_comparison_operator) | |
22333 | (v850_float_nz_comparison_operator): Move from here ... | |
22334 | * config/v850/predicates.md: ... to here. Move GT and GE | |
22335 | comparisons into v850_float_z_comparison_operator. | |
22336 | * config/v850/v850-protos.h (v850_float_z_comparison_operator): | |
22337 | Delete prototype. | |
22338 | (v850_float_nz_comparison_operator): Likewise. | |
22339 | ||
f0d54148 JDA |
22340 | 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
22341 | ||
22342 | * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv | |
22343 | with calls to gen_insvsi/gen_insvdi. | |
22344 | ||
8f01beca VK |
22345 | 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
22346 | ||
22347 | * config/i386/i386.c (initial_ix86_tune_features): Set up | |
22348 | X86_TUNE_AVX128_OPTIMAL for m_BTVER2. | |
22349 | ||
2aa579ad JJ |
22350 | 2013-01-09 Steven Bosscher <steven@gcc.gnu.org> |
22351 | Jakub Jelinek <jakub@redhat.com> | |
22352 | ||
22353 | PR tree-optimization/48189 | |
22354 | * predict.c (predict_loops): If max is 0, don't call compare_tree_int. | |
22355 | If nitercst is 0, don't predict the exit edge. | |
22356 | ||
6edc3e32 | 22357 | 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
01a3a324 N |
22358 | |
22359 | * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r | |
22360 | in asm_fprintf with reg_names. | |
22361 | (aarch64_print_operand_address): Likewise. | |
22362 | (aarch64_return_addr): Likewise. | |
22363 | * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove. | |
22364 | ||
f6f94d94 JDA |
22365 | 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
22366 | ||
22367 | * config/pa/pa.h (VAL_U6_BITS_P): Define. | |
22368 | (INT_U6_BITS): Likewise. | |
22369 | * config/pa/predicates.md (uint6_operand): New predicate. | |
22370 | (shift5_operand, shift6_operand): Likewise. | |
22371 | * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of | |
22372 | arith32_operand. | |
22373 | (lshrdi3): Use shift6_operand. | |
22374 | (shrpsi4, shrpdi4): New insn patterns. | |
22375 | (extzv): Delete expander. | |
22376 | (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand | |
22377 | predicates in unamed zero extract patterns. Tighten common constraint. | |
22378 | (extv): Delete expander. | |
22379 | (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand | |
22380 | predicates in unamed sign extract patterns. Tighten common constraint. | |
22381 | (insv): Delete expander. | |
22382 | (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand | |
22383 | predicates in unamed insert patterns. Tighten common constraint. | |
22384 | Change uint32_operand predicate to uint6_operand predicate in unamed | |
22385 | DImode pattern to insert constant values of type 1...1xxxx. | |
22386 | ||
36b72910 JH |
22387 | 2013-01-04 Jan Hubicka <jh@suse.cz> |
22388 | ||
22389 | PR tree-optimization/55823 | |
7b0fe4f4 UB |
22390 | * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering |
22391 | issue. | |
36b72910 | 22392 | |
47876a2a | 22393 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
c6d851b9 JJ |
22394 | Uros Bizjak <ubizjak@gmail.com> |
22395 | ||
22396 | PR rtl-optimization/55845 | |
22397 | * df-problems.c (can_move_insns_across): Stop scanning at | |
22398 | volatile_insn_p source instruction or give up if | |
22399 | across_from .. across_to range contains any volatile_insn_p | |
22400 | instructions. | |
22401 | ||
4369c11e TB |
22402 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
22403 | ||
7b0fe4f4 UB |
22404 | * config/aarch64/aarch64-simd.md (vec_init<mode>): New. |
22405 | * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init): | |
22406 | Declare. | |
4369c11e | 22407 | * config/aarch64/aarch64.c (aarch64_simd_dup_constant, |
7b0fe4f4 | 22408 | aarch64_simd_make_constant, aarch64_expand_vector_init): New. |
4369c11e | 22409 | |
aeb7e7c1 JJ |
22410 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
22411 | ||
22412 | PR fortran/55341 | |
22413 | * asan.c (asan_clear_shadow): New function. | |
22414 | (asan_emit_stack_protection): Use it. | |
22415 | ||
a02ad1aa TB |
22416 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
22417 | ||
22418 | * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>, | |
22419 | aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand | |
22420 | with tab instead of space. | |
22421 | ||
f90d87f5 NC |
22422 | 2013-01-08 Nick Clifton <nickc@redhat.com> |
22423 | ||
22424 | * config/rl78/rl78.c (rl78_expand_prologue): Always select | |
22425 | register bank 0 at the start of an interrupt handler. | |
83ffd964 NC |
22426 | * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and |
22427 | MDBH registers. | |
f90d87f5 | 22428 | |
385eb93d JG |
22429 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
22430 | ||
22431 | * config/aarch64/aarch64-simd.md | |
22432 | (aarch64_simd_bsl<mode>_internal): Add floating-point modes. | |
22433 | (aarch64_simd_bsl): Likewise. | |
22434 | (aarch64_vcond_internal<mode>): Likewise. | |
22435 | (vcond<mode><mode>): Likewise. | |
22436 | (aarch64_cm<cmp><mode>): Fix constraints, add new modes. | |
22437 | * config/aarch64/iterators.md (V_cmp_result): Add V2DF. | |
22438 | ||
4dcd1054 JG |
22439 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
22440 | ||
22441 | * config/aarch64/aarch64-builtins.c | |
22442 | (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf. | |
22443 | ||
4267a4a6 MJ |
22444 | 2013-01-08 Martin Jambor <mjambor@suse.cz> |
22445 | ||
22446 | PR debug/55579 | |
22447 | * tree-sra.c (analyze_access_subtree): Return true also after | |
22448 | potentially creating a debug-only replacement. | |
22449 | ||
5f4e6de3 JJ |
22450 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
22451 | ||
3138f224 JJ |
22452 | PR middle-end/55890 |
22453 | * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p. | |
22454 | ||
5f4e6de3 JJ |
22455 | PR tree-optimization/54120 |
22456 | * tree-vrp.c (range_fits_type_p): Don't allow | |
22457 | src_precision < precision from signed vr to unsigned_p | |
22458 | if vr->min or vr->max is negative. | |
22459 | (simplify_float_conversion_using_ranges): Test can_float_p | |
22460 | against CODE_FOR_nothing. | |
22461 | ||
f3ef18ff JJ |
22462 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
22463 | Richard Biener <rguenther@suse.de> | |
22464 | ||
22465 | PR middle-end/55851 | |
22466 | * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P | |
22467 | types instead of just INTEGER_TYPE types. | |
22468 | ||
25c210f9 MK |
22469 | 2013-01-07 Mark Kettenis <kettenis@openbsd.org> |
22470 | ||
22471 | * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, | |
22472 | TF_SIZE): Define. | |
f90d87f5 | 22473 | |
81826a7b SE |
22474 | 2013-01-07 Steve Ellcey <sellcey@mips.com> |
22475 | ||
22476 | PR target/42661 | |
22477 | * config/mips/mips.opt: Change mad to mmad to match documentation. | |
22478 | ||
35678514 GJL |
22479 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
22480 | ||
22481 | PR target/55897 | |
22482 | * doc/extend.texi (AVR Named Address Spaces): __memx goes into | |
22483 | .progmemx.data now. | |
22484 | ||
e5669488 GJL |
22485 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
22486 | ||
22487 | PR target/55897 | |
22488 | * config/avr/avr.h (ADDR_SPACE_COUNT): New enum. | |
22489 | (avr_addrspace_t): Add .section_name field. | |
22490 | * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as | |
22491 | array size. | |
22492 | (avr_addrspace): Same. Initialize .section_name. Remove last | |
22493 | NULL entry. Put __memx into .progmemx.data. | |
22494 | (progmem_section_prefix): Remove. | |
22495 | (avr_asm_init_sections): No need to initialize progmem_section. | |
22496 | (avr_asm_named_section): Use avr_addrspace[].section_name to get | |
22497 | section name prefix. | |
22498 | (avr_asm_select_section): Ditto. And use get_unnamed_section to | |
22499 | retrieve the progmem section. | |
22500 | * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop | |
22501 | boundary to run over avr_addrspace[]. | |
22502 | (avr_register_target_pragmas): Ditto. | |
22503 | ||
656e6f37 JJ |
22504 | 2013-01-06 Jakub Jelinek <jakub@redhat.com> |
22505 | ||
22506 | * varasm.c (output_constant_def_contents): For asan_protect_global | |
22507 | protected strings, adjust DECL_ALIGN if needed, before testing for | |
22508 | anchored symbols. | |
22509 | (place_block_symbol): Adjust size for asan protected STRING_CSTs if | |
22510 | TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected | |
22511 | normal decls. | |
22512 | (output_object_block): For asan protected decls, emit asan padding | |
22513 | after their contents. | |
22514 | * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here. | |
22515 | (asan_finish_file): Test it here instead. | |
22516 | ||
6edc3e32 UB |
22517 | 2013-01-07 Nick Clifton <nickc@redhat.com> |
22518 | Matthias Klose <doko@debian.org> | |
22519 | Doug Kwan <dougkwan@google.com> | |
22520 | H.J. Lu <hongjiu.lu@intel.com> | |
b352afba NC |
22521 | |
22522 | PR driver/55470 | |
22523 | * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold. | |
22524 | ||
22525 | * common.opt: Add fuse-ld=bfd and fuse-ld=gold. | |
22526 | ||
22527 | * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2. | |
22528 | ||
7b0fe4f4 | 22529 | * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold. |
b352afba NC |
22530 | |
22531 | * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold. | |
22532 | ||
2a095093 GJL |
22533 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
22534 | ||
f3b503f4 | 22535 | PR target/54461 |
2a095093 GJL |
22536 | * doc/install.texi (Cross-Compiler-Specific Options): Document |
22537 | --with-avrlibc. | |
22538 | ||
383f9b34 TB |
22539 | 2013-01-07 Tejas Belagod <tejas.belagod@arm.com> |
22540 | ||
22541 | * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32, | |
22542 | vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64, | |
22543 | vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16, | |
22544 | vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32, | |
22545 | vqmovun_high_s64): Fix source operand number and update copyright. | |
22546 | ||
3626621a RB |
22547 | 2013-01-07 Richard Biener <rguenther@suse.de> |
22548 | ||
22549 | PR middle-end/55890 | |
22550 | * gimple.h (gimple_call_builtin_p): New overload. | |
22551 | * gimple.c (validate_call): New function. | |
22552 | (gimple_call_builtin_p): Likewise. | |
22553 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
22554 | Use gimple_call_builtin_p. | |
22555 | (find_func_clobbers): Likewise. | |
22556 | * tree-ssa-strlen.c (adjust_last_stmt): Likewise. | |
22557 | (strlen_optimize_stmt): Likewise. | |
22558 | ||
8b2ea410 JG |
22559 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
22560 | ||
22561 | * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const. | |
22562 | (vld1q_dup_*): Likewise. | |
22563 | (vld1_*): Likewise. | |
22564 | (vld1q_*): Likewise. | |
22565 | (vld1_lane_*): Likewise. | |
22566 | (vld1q_lane_*): Likewise. | |
22567 | ||
9713d329 RB |
22568 | 2013-01-07 Richard Biener <rguenther@suse.de> |
22569 | ||
22570 | * lto-streamer.h (LTO_minor_version): Bump to 2. | |
22571 | ||
3520f7cc JG |
22572 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
22573 | ||
22574 | * config/aarch64/aarch64-protos.h | |
22575 | (aarch64_const_double_zero_rtx_p): Rename to... | |
22576 | (aarch64_float_const_zero_rtx_p): ...this. | |
22577 | (aarch64_float_const_representable_p): New. | |
22578 | (aarch64_output_simd_mov_immediate): Likewise. | |
22579 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor | |
22580 | move immediate case. | |
22581 | * config/aarch64/aarch64.c | |
22582 | (aarch64_const_double_zero_rtx_p): Rename to... | |
22583 | (aarch64_float_const_zero_rtx_p): ...this. | |
22584 | (aarch64_print_operand): Allow printing of new constants. | |
22585 | (aarch64_valid_floating_const): New. | |
22586 | (aarch64_legitimate_constant_p): Check for valid floating-point | |
22587 | constants. | |
22588 | (aarch64_simd_valid_immediate): Likewise. | |
22589 | (aarch64_vect_float_const_representable_p): New. | |
22590 | (aarch64_float_const_representable_p): Likewise. | |
22591 | (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0. | |
22592 | (aarch64_output_simd_mov_immediate): New. | |
22593 | * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative. | |
22594 | (*movdf_aarch64): Likewise. | |
22595 | * config/aarch64/constraints.md (Ufc): New. | |
22596 | (Y): call aarch64_float_const_zero_rtx. | |
22597 | * config/aarch64/predicates.md (aarch64_fp_compare_operand): New. | |
22598 | ||
e167c04d RB |
22599 | 2013-01-07 Richard Biener <rguenther@suse.de> |
22600 | ||
22601 | PR tree-optimization/55888 | |
22602 | PR tree-optimization/55862 | |
22603 | * tree-ssa-pre.c (phi_translate_1): Revert previous change. | |
22604 | (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT, | |
22605 | not if it is contained therein. | |
22606 | ||
0139aaab GJL |
22607 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
22608 | ||
22609 | * config/avr/t-avr: Typo. | |
22610 | ||
4a176b23 GJL |
22611 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
22612 | ||
22613 | PR55243 | |
22614 | * config/avr/t-avr: Don't automatically rebuild | |
22615 | $(srcdir)/config/avr/t-multilib | |
22616 | $(srcdir)/config/avr/avr-tables.opt | |
22617 | $(srcdir)/doc/avr-mmcu.texi | |
22618 | (avr-mcus): New phony target to build them on request. | |
22619 | (s-avr-mlib, s-avr-mmcu-texi): Remove. | |
22620 | * avr/avr-mcus.def: Adjust comments. | |
22621 | ||
c7afdc98 UB |
22622 | 2013-01-07 Uros Bizjak <ubizjak@gmail.com> |
22623 | ||
22624 | * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove. | |
22625 | ||
1ab05c31 RS |
22626 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
22627 | ||
22628 | * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder. | |
22629 | ||
488e3acc RS |
22630 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
22631 | ||
22632 | * config/tilepro/gen-mul-tables.cc: Put copyright on one line. | |
22633 | ||
a89599d2 DE |
22634 | 2013-01-05 David Edelsohn <dje.gcc@gmail.com> |
22635 | ||
22636 | * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling | |
22637 | to generate profiling. | |
22638 | * config/rs6000/aix64.h (LIB_SPEC): Same. | |
22639 | ||
70f09188 AP |
22640 | 2013-01-04 Andrew Pinski <apinski@cavium.com> |
22641 | ||
22642 | * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs): | |
22643 | New function. | |
22644 | (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
22645 | ||
918d445f UB |
22646 | 2013-01-04 Uros Bizjak <ubizjak@gmail.com> |
22647 | ||
22648 | * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode | |
22649 | unconditionally. | |
22650 | (ix86_expand_move): Ditto. | |
22651 | (ix86_zero_extend_to_Pmode): Ditto. | |
22652 | (ix86_expand_call): Ditto. | |
22653 | (ix86_expand_special_args_builtin): Ditto. | |
22654 | (ix86_expand_builtin): Ditto. | |
22655 | ||
361618ec RB |
22656 | 2013-01-04 Richard Biener <rguenther@suse.de> |
22657 | ||
22658 | PR tree-optimization/55862 | |
22659 | * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after | |
22660 | translating them through PHI nodes. | |
22661 | ||
87eab554 MJ |
22662 | 2013-01-04 Martin Jambor <mjambor@suse.cz> |
22663 | ||
22664 | PR tree-optimization/55755 | |
22665 | * tree-sra.c (sra_modify_assign): Do not check that an access has no | |
22666 | children when trying to avoid producing a VIEW_CONVERT_EXPR. | |
22667 | ||
33879b9f MP |
22668 | 2013-01-04 Marek Polacek <polacek@redhat.com> |
22669 | ||
22670 | PR middle-end/55859 | |
22671 | * opts.c (default_options_optimization): Clarify error message. | |
22672 | ||
3068819a RB |
22673 | 2013-01-04 Richard Biener <rguenther@suse.de> |
22674 | ||
22675 | PR middle-end/55863 | |
22676 | * fold-const.c (split_tree): Undo -X - 1 to ~X folding for | |
22677 | reassociation. | |
22678 | ||
0e4ae794 JDA |
22679 | 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
22680 | ||
22681 | PR target/53789 | |
22682 | * config/pa/pa.md (movsi): Revert previous change. | |
e58d2e48 JDA |
22683 | * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol |
22684 | references. | |
0e4ae794 | 22685 | |
65c88cef RH |
22686 | 2013-01-03 Richard Henderson <rth@redhat.com> |
22687 | ||
22688 | * config/i386/i386.c (ix86_expand_move): Always assign to op1 | |
22689 | after eliminating TLS symbols. | |
22690 | ||
8ac16127 MG |
22691 | 2013-01-03 Marc Glisse <marc.glisse@inria.fr> |
22692 | ||
22693 | PR bootstrap/50167 | |
22694 | * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf. | |
22695 | * graphite-poly.c (debug_gmp_value): Likewise. | |
22696 | ||
bb664f09 UB |
22697 | 2013-01-03 Uros Bizjak <ubizjak@gmail.com> |
22698 | ||
22699 | PR target/55712 | |
22700 | * config/i386/i386-c.c (ix86_target_macros_internal): Depending on | |
22701 | selected code model, define __code_mode_small__, __code_model_medium__, | |
22702 | __code_model_large__, __code_model_32__ or __code_model_kernel__. | |
22703 | * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix | |
22704 | xchg temporary register with %k. Declare temporary register as | |
22705 | early clobbered. | |
22706 | [__x86_64__]: For medium and large code models, preserve %rbx register. | |
22707 | ||
bcf1ef00 RB |
22708 | 2013-01-03 Richard Biener <rguenther@suse.de> |
22709 | ||
0506634a | 22710 | * tree-data-ref.c (dump_conflict_function): Use less vertical spacing. |
bcf1ef00 RB |
22711 | (dump_subscript): Adjust. |
22712 | (finalize_ddr_dependent): Do not dump redundant info. | |
22713 | (analyze_siv_subscript): Adjust. | |
22714 | (subscript_dependence_tester): Likewise. | |
22715 | (compute_affine_dependence): Likewise. | |
22716 | ||
59fd17e3 RB |
22717 | 2013-01-03 Richard Biener <rguenther@suse.de> |
22718 | ||
22719 | Revert | |
22720 | 2013-01-03 Richard Biener <rguenther@suse.de> | |
22721 | ||
22722 | PR tree-optimization/55857 | |
22723 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
22724 | re-alignment for invariant loads. | |
22725 | ||
22726 | 2013-01-02 Richard Biener <rguenther@suse.de> | |
22727 | ||
22728 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 22729 | invariant load do not generate a vector load from the scalar location. |
59fd17e3 | 22730 | |
595c2679 RB |
22731 | 2013-01-03 Richard Biener <rguenther@suse.de> |
22732 | ||
22733 | * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason | |
22734 | for not vectorizing. | |
22735 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do | |
22736 | not build INDIRECT_REFs, call get_name once only. | |
22737 | (vect_create_data_ref_ptr): Likewise. Dump base object kind | |
22738 | based on DR_BASE_OBJECT, not DR_BASE_ADDRESS. | |
22739 | ||
90bb7d7a RB |
22740 | 2013-01-03 Richard Biener <rguenther@suse.de> |
22741 | ||
22742 | PR tree-optimization/55857 | |
22743 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
22744 | re-alignment for invariant loads. | |
22745 | ||
f09b77ca RB |
22746 | 2013-01-03 Richard Biener <rguenther@suse.de> |
22747 | ||
22748 | PR lto/55848 | |
22749 | * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always | |
22750 | prefer a built-in decl. | |
22751 | ||
3461a16e JJ |
22752 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
22753 | ||
df8e2b4f JJ |
22754 | * gcc.c (process_command): Update copyright notice dates. |
22755 | * gcov.c (print_version): Likewise. | |
22756 | * gcov-dump.c (print_version): Likewise. | |
22757 | ||
3461a16e JJ |
22758 | PR rtl-optimization/55838 |
22759 | * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on | |
22760 | iv0.step, iv1.step and step. | |
22761 | ||
8b5546d6 JJ |
22762 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
22763 | Marc Glisse <marc.glisse@inria.fr> | |
22764 | ||
22765 | PR tree-optimization/55832 | |
22766 | * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and | |
22767 | ABS_EXPR<x> < 0 folding use constant_boolean_node instead of | |
22768 | integer_{one,zero}_node. | |
22769 | ||
8ab1d2e9 JJ |
22770 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
22771 | ||
22772 | PR debug/54402 | |
22773 | * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param. | |
22774 | * var-tracking.c (reverse_op): Don't add reverse ops to | |
22775 | VALUEs that have already | |
0506634a | 22776 | PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list. |
8ab1d2e9 | 22777 | |
5b9ad1d4 GP |
22778 | 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com> |
22779 | ||
22780 | * doc/contrib.texi: Note years as release manager for Mark Mitchell. | |
22781 | ||
e25a6711 TJ |
22782 | 2013-01-02 Teresa Johnson <tejohnson@google.com> |
22783 | ||
22784 | * dumpfile.c (dump_loc): Print filename with location. | |
22785 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use | |
22786 | new location_t parameter to emit complete unroll message with | |
22787 | new dump framework. | |
22788 | (canonicalize_loop_induction_variables): Compute loops location | |
22789 | and pass to try_unroll_loop_completely. | |
22790 | * loop-unroll.c (report_unroll_peel): New function. | |
22791 | (peel_loops_completely): Use new dump format with location | |
22792 | for main dumpfile message, and invoke report_unroll_peel on success. | |
22793 | (decide_unrolling_and_peeling): Ditto. | |
22794 | (decide_peel_once_rolling): Remove old dumpfile message subsumed | |
22795 | by report_unroll_peel. | |
22796 | (decide_peel_completely): Ditto. | |
22797 | (decide_unroll_constant_iterations): Ditto. | |
22798 | (decide_unroll_runtime_iterations): Ditto. | |
22799 | (decide_peel_simple): Ditto. | |
22800 | (decide_unroll_stupid): Ditto. | |
22801 | * cfgloop.c (get_loop_location): New function. | |
22802 | * cfgloop.h (get_loop_location): Declare. | |
22803 | ||
77878621 ST |
22804 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
22805 | ||
22806 | * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for | |
22807 | NULL. | |
22808 | ||
9e65d03e JDA |
22809 | 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
22810 | ||
22811 | PR middle-end/55198 | |
22812 | * expr.c (expand_expr_real_1): Don't use bitfield extraction for non | |
22813 | BLKmode objects when EXPAND_MEMORY is specified. | |
22814 | ||
6a7da30f ST |
22815 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
22816 | ||
22817 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug | |
22818 | in loop predicate. | |
22819 | (fold_builtin_cpu): Do not share cpu model decls across statements. | |
22820 | ||
e78167f2 JM |
22821 | 2013-01-02 Jason Merrill <jason@redhat.com> |
22822 | ||
22823 | PR c++/55804 | |
22824 | * tree.c (build_array_type_1): Revert earlier change. | |
22825 | ||
8c075fb4 YZ |
22826 | 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com> |
22827 | ||
22828 | * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and | |
22829 | "cortex-a57". | |
22830 | * config/aarch64/aarch64-tune.md: Re-generate. | |
22831 | ||
0682ed3e RB |
22832 | 2013-01-02 Richard Biener <rguenther@suse.de> |
22833 | ||
22834 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 22835 | invariant load do not generate a vector load from the scalar location. |
0682ed3e | 22836 | |
b8f6a302 RB |
22837 | 2013-01-02 Richard Biener <rguenther@suse.de> |
22838 | ||
22839 | PR bootstrap/55784 | |
22840 | * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS. | |
22841 | * configure: Regenerate. | |
22842 | ||
04b80dbb RS |
22843 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
22844 | ||
22845 | * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2) | |
22846 | (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3) | |
22847 | (expand_builtin_int_roundingfn_2): Keep the original target around | |
22848 | for the fallback case. | |
22849 | ||
635b0b0c RS |
22850 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
22851 | ||
22852 | * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int | |
22853 | to be clear for sign changes. | |
22854 | ||
42d57399 JH |
22855 | 2013-01-01 Jan Hubicka <jh@suse.cz> |
22856 | ||
22857 | * ipa-inline-analysis.c: Fix formatting. | |
22858 | ||
5bb6669d JJ |
22859 | 2013-01-01 Jakub Jelinek <jakub@redhat.com> |
22860 | ||
22861 | PR tree-optimization/55831 | |
22862 | * tree-vect-loop.c (get_initial_def_for_induction): Use | |
22863 | gsi_after_labels instead of gsi_start_bb. | |
ad41bd84 | 22864 | \f |
86a2db33 | 22865 | Copyright (C) 2013 Free Software Foundation, Inc. |
ad41bd84 JM |
22866 | |
22867 | Copying and distribution of this file, with or without modification, | |
22868 | are permitted in any medium without royalty provided the copyright | |
22869 | notice and this notice are preserved. |