]>
Commit | Line | Data |
---|---|---|
2fd796fd | 1 | 2013-05-13 Guozhi Wei <carrot@google.com> |
2 | ||
3 | * dwarf2asm.c (dw2_output_indirect_constant_1): Mark new decl STATIC. | |
4 | ||
cb2d23dd | 5 | 2013-05-13 Kai Tietz <ktietz@redhat.com> |
6 | ||
7 | PR target/56975 | |
8 | * config/i386/cygming.h (TARGET_PECOFF): Define as true. | |
9 | * config/i386/i386.h (TARGET_PECOFF): Define by default | |
10 | as false. | |
11 | (PIC_OFFSET_TABLE_REGNUM): Use TARGET_PECOFF. | |
12 | * config/i386/i386.c (ix86_option_override_internal): | |
13 | Likewise. | |
14 | (ix86_expand_prologue): Likewise. | |
15 | (ix86_expand_split_stack_prologue): Likewise. | |
16 | (legitimate_pic_address_disp_p): Likewise. | |
17 | (legitimize_pic_address): Likewise. | |
18 | (legitimize_tls_address): Likewise. | |
19 | (legitimize_pe_coff_symbol): Likewise. | |
20 | (output_pic_addr_const): Likewise. | |
21 | (construct_plt_address): Likewise. | |
22 | (ix86_expand_call): Likewise. | |
23 | (x86_output_mi_thunk): Likewise. | |
24 | (x86_function_profiler): Likewise. | |
25 | ||
e30d3162 | 26 | 2013-05-13 Sofiane Naci <sofiane.naci@arm.com> |
27 | ||
28 | * config/aarch64/aarch64-simd.md (aarch64_simd_mov<mode>): Group | |
29 | similar switch cases. | |
30 | (aarch64_simd_mov): Rename to aarch64_split_simd_mov. Update. | |
31 | (aarch64_simd_mov_to_<mode>low): Delete. | |
32 | (aarch64_simd_mov_to_<mode>high): Delete. | |
33 | (move_lo_quad_<mode>): Add w<-r alternative. | |
34 | (aarch64_simd_move_hi_quad_<mode>): Likewise. | |
35 | (aarch64_simd_mov_from_*): Update type attribute. | |
36 | * config/aarch64/aarch64.c (aarch64_split_simd_move): Refacror switch | |
37 | statement. | |
38 | ||
54ef9b16 | 39 | 2013-05-13 Jan Hubicka <jh@suse.cz> |
40 | ||
41 | * mode-switching.c (optimize_mode_switching): Set correct RTL profile. | |
42 | * config/i386/i386.c (ix86_compute_frame_layout, | |
43 | ix86_expand_epilogue, emit_i387_cw_initialization, ix86_expand_vector_move_misalign, | |
44 | ix86_fp_comparison_strategy, ix86_local_alignment): Fix use of size/speed predicates. | |
45 | ||
043ce677 | 46 | 2013-05-13 Jakub Jelinek <jakub@redhat.com> |
47 | ||
48 | PR tree-optimization/45216 | |
49 | PR tree-optimization/57157 | |
50 | * tree-ssa-forwprop.c (simplify_rotate): Only recognize | |
51 | the (-Y) & (B - 1) variant if OP is |. | |
52 | * expmed.c (expand_shift_1): For rotations by const0_rtx just | |
53 | return shifted. Use (-op1) & (prec - 1) as other_amount | |
54 | instead of prec - op1. | |
55 | ||
096295f6 | 56 | 2013-05-13 Martin Jambor <mjambor@suse.cz> |
57 | ||
58 | PR middle-end/42371 | |
59 | * ipa-prop.h (IPA_UNDESCRIBED_USE): New macro. | |
60 | (ipa_constant_data): New type. | |
61 | (ipa_jump_func): Use ipa_constant_data to hold information about | |
62 | constant jump functions. | |
63 | (ipa_get_jf_constant): Adjust to jump function type changes. | |
64 | (ipa_get_jf_constant_rdesc): New function. | |
65 | (ipa_param_descriptor): New field controlled_uses. | |
66 | (ipa_get_controlled_uses): New function. | |
67 | (ipa_set_controlled_uses): Likewise. | |
68 | * ipa-ref.h (ipa_find_reference): Declare. | |
69 | * ipa-prop.c (ipa_cst_ref_desc): New type. | |
70 | (ipa_print_node_jump_functions_for_edge): Adjust for jump function type | |
71 | changes. | |
72 | (ipa_set_jf_constant): Likewise. Also create reference descriptions. | |
73 | New parameter cs. Adjust all callers. | |
74 | (ipa_analyze_params_uses): Detect uncontrolled and controlled uses. | |
75 | (remove_described_reference): New function. | |
76 | (jfunc_rdesc_usable): Likewise. | |
77 | (try_make_edge_direct_simple_call): Decrement controlled use count, | |
78 | attempt to remove reference if it hits zero. | |
79 | (combine_controlled_uses_counters): New function. | |
80 | (propagate_controlled_uses): Likewise. | |
81 | (ipa_propagate_indirect_call_infos): Call propagate_controlled_uses. | |
82 | (ipa_edge_duplication_hook): Duplicate reference descriptions. | |
83 | (ipa_print_node_params): Print described use counter. | |
84 | (ipa_write_jump_function): Adjust to jump function type changes. | |
85 | (ipa_read_jump_function): New parameter CS, pass it to | |
86 | ipa_set_jf_constant. Adjust caller. | |
87 | (ipa_write_node_info): Stream controlled use count | |
88 | (ipa_read_node_info): Likewise. | |
89 | * cgraph.c (cgraph_mark_address_taken_node): Bail out instead of | |
90 | asserting. | |
91 | * ipa-cp.c (ipcp_discover_new_direct_edges): Decrement controlled use | |
92 | count. Remove cloning-added reference if it reaches zero. | |
93 | * ipa-ref.c (ipa_find_reference): New function. | |
94 | ||
3a407061 | 95 | 2013-05-13 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> |
96 | ||
97 | * config/i386/i386.c (processor_target_table): Modified default | |
98 | alignment values for AMD BD and BT architectures. | |
99 | ||
67f16f2b | 100 | 2013-05-13 Marc Glisse <marc.glisse@inria.fr> |
101 | ||
102 | * tree-vect-generic.c (uniform_vector_p): Move ... | |
103 | * tree.c (uniform_vector_p): ... here. | |
104 | * tree.h (uniform_vector_p): Declare it. | |
105 | * fold-const.c (fold_binary_loc) <shift>: Turn the second argument | |
106 | into a scalar. | |
107 | ||
22b4b13d | 108 | 2013-05-13 Jakub Jelinek <jakub@redhat.com> |
109 | ||
2047c70c | 110 | PR tree-optimization/57230 |
111 | * tree-ssa-strlen.c (handle_char_store): Record length for | |
112 | array store from STRING_CST. | |
113 | ||
22b4b13d | 114 | PR tree-optimization/57230 |
115 | * tree-ssa-strlen.c (handle_char_store): Add missing integer_zerop | |
116 | check. | |
117 | ||
c85716aa | 118 | 2013-05-12 Joern Rennecke <joern.rennecke@embecosm.com> |
119 | ||
120 | * config/epiphany/epiphany.c (epiphany_init): Check size of | |
121 | NUM_MODES_FOR_MODE_SWITCHING. | |
122 | (epiphany_expand_prologue): | |
123 | Remove CONFIG_REGNUM initial value handling code. | |
124 | (epiphany_optimize_mode_switching): Handle EPIPHANY_MSW_ENTITY_CONFIG. | |
125 | (epiphany_mode_needed, epiphany_mode_entry_exit): Likewise. | |
4af825f3 | 126 | (emit_set_fp_mode, epiphany_mode_after): Likewise. |
c85716aa | 127 | (epiphany_mode_needed) <Handle EPIPHANY_MSW_ENTITY_AND>: |
128 | Don't return 1 for FP_MODE_NONE. | |
129 | * config/epiphany/epiphany.h (NUM_MODES_FOR_MODE_SWITCHING): | |
130 | Add value for EPIPHANY_MSW_ENTITY_CONFIG. | |
131 | (EPIPHANY_MSW_ENTITY_CONFIG, EPIPHANY_MSW_ENTITY_NUM): Define. | |
132 | * config/epiphany/epiphany.md (save_config): New pattern. | |
133 | ||
5afd8bcb | 134 | 2013-05-12 Uros Bizjak <ubizjak@gmail.com> |
135 | ||
136 | * config/i386/i386.md (*zero_extendsidi2): Add *x->?r alternative. | |
137 | ||
f66a9337 | 138 | 2013-05-10 Uros Bizjak <ubizjak@gmail.com> |
139 | ||
140 | * config/i386/i386.md (memory): Handle sseishft1. | |
141 | * config/i386/sse.md (*vec_extractv4si): Remove memory attribute. | |
142 | (*vec_extractv2di_1): Ditto. | |
143 | ||
904ea1db | 144 | 2013-05-10 Vladimir Makarov <vmakarov@redhat.com> |
145 | ||
146 | * lra-assigns.c (find_hard_regno_for): Add 1 to the cost of call | |
147 | saved registers. | |
148 | ||
82b24465 | 149 | 2013-05-10 Sebastian Huber <sebastian.huber@embedded-brains.de> |
e70cd596 | 150 | |
151 | * config/arm/t-rtems-eabi: Remove mthumb/march=armv7 multilib. | |
152 | Add mthumb/march=armv7-a multilib. | |
153 | Add mthumb/march=armv7-r multilib. | |
154 | Add mthumb/march=armv7-a/mfpu=neon/mfloat-abi=hard multilib. | |
155 | ||
1bc74e6e | 156 | 2013-05-10 Ralf Corsépius <ralf.corsepius@rtems.org> |
157 | ||
158 | * config/v850/t-rtems: Add more multilibs. | |
159 | ||
fca2aa67 | 160 | 2013-05-10 Richard Biener <rguenther@suse.de> |
161 | ||
162 | PR tree-optimization/57214 | |
163 | * tree-ssa-loop-ivcanon.c (propagate_constants_for_unrolling): Do | |
164 | not propagate from SSA names that occur in abnormal PHI nodes. | |
165 | ||
432dd330 | 166 | 2013-05-10 Marc Glisse <marc.glisse@inria.fr> |
167 | ||
168 | * stor-layout.c (element_precision): New function. | |
169 | * machmode.h (element_precision): Declare it. | |
170 | * tree.c (build_minus_one_cst): New function. | |
171 | (element_precision): Likewise. | |
172 | * tree.h (build_minus_one_cst): Declare new function. | |
173 | (element_precision): Likewise. | |
174 | * fold-const.c (operand_equal_p): Use element_precision. | |
175 | (fold_binary_loc): Handle vector types. | |
176 | * convert.c (convert_to_integer): Use element_precision. | |
177 | * gimple.c (iterative_hash_canonical_type): Handle complex and vectors | |
178 | separately. | |
179 | ||
287e3614 | 180 | 2013-05-10 Richard Sandiford <rdsandiford@googlemail.com> |
181 | ||
182 | * config/mips/mips-protos.h (m16_uimm3_b, m16_simm4_1, m16_nsimm4_1) | |
183 | (m16_simm5_1, m16_nsimm5_1, m16_uimm5_4, m16_nuimm5_4, m16_simm8_1) | |
184 | (m16_nsimm8_1, m16_uimm8_1, m16_nuimm8_1, m16_uimm8_m1_1, m16_uimm8_4) | |
185 | (m16_nuimm8_4, m16_simm8_8, m16_nsimm8_8): Delete. | |
186 | * config/mips/mips.c (m16_check_op, m16_uimm3_b, m16_simm4_1) | |
187 | (m16_nsimm4_1, m16_simm5_1, m16_nsimm5_1, m16_uimm5_4, m16_nuimm5_4) | |
188 | (m16_simm8_1, m16_nsimm8_1, m16_uimm8_1, m16_nuimm8_1, m16_uimm8_m1_1) | |
189 | (m16_uimm8_4, m16_nuimm8_4, m16_simm8_8, m16_nsimm8_8): Delete. | |
190 | * config/mips/constraints.md (Udb8, Usb5, Usb8, Usd8, Uub8, Uuw5) | |
191 | (Uuw8): New constraints. | |
192 | (Usb4): Move into alphabetical order. | |
193 | * config/mips/predicates.md (db8_operand, sb5_operand, sb8_operand) | |
194 | (sd8_operand, ub8_operand, uw8_operand): New predicates. | |
195 | * config/mips/mips.md (*xor<mode>3, *xor<mode>3_mips16): Name | |
196 | previously unnamed patterns. | |
197 | (*add<mode>3_mips16, *xor<mode>3_mips16, *<optab>si3_mips16) | |
198 | (*ashldi3_mips16, *ashrdi3_mips16, *lshrdi3_mips16) | |
199 | (*slt<u>_<GPR:mode><GPR2:mode>_mips16) | |
200 | (*sle<u>_<GPR:mode><GPR2:mode>_mips16): Use constraints instead | |
201 | of set_attr_alternative/if_then_else. Use extended_mips16 instead | |
202 | of specific lengths. | |
203 | ||
3b8827a2 | 204 | 2013-05-10 Jakub Jelinek <jakub@redhat.com> |
205 | ||
bf7ec243 | 206 | * config/i386/i386.md (rotateinv): New code attr. |
207 | (*<rotate_insn><mode>3_1, *<rotate_insn>si3_1_zext, | |
208 | *<rotate_insn>qi3_1_slp): Emit rorl %eax instead of | |
209 | roll $31, %eax, etc. | |
210 | ||
3b8827a2 | 211 | PR tree-optimization/45216 |
212 | PR tree-optimization/57157 | |
213 | * tree-ssa-forwprop.c (simplify_rotate): New function. | |
214 | (ssa_forward_propagate_and_combine): Call it. | |
215 | ||
2cd0995e | 216 | 2013-05-10 Richard Biener <rguenther@suse.de> |
217 | ||
218 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do not | |
219 | disable peeling when we version for aliasing. | |
220 | (vector_alignment_reachable_p): Honor explicit user alignment. | |
221 | (vect_supportable_dr_alignment): Likewise. | |
222 | * tree-vect-loop-manip.c (vect_can_advance_ivs_p): Use | |
223 | STMT_VINFO_LOOP_PHI_EVOLUTION_PART instead of recomputing it. | |
224 | * tree-vect-loop.c (vect_transform_loop): First apply versioning, | |
225 | then peeling to arrange for the cost-model check to come first. | |
226 | ||
15ba1c5f | 227 | 2013-05-10 Alan Modra <amodra@gmail.com> |
228 | ||
229 | * configure.ac (HAVE_AS_TLS): Swap powerpc64 and powerpc cases. | |
230 | (HAVE_LD_LARGE_TOC): Don't mention AIX in help text. | |
231 | * configure: Regenerate. | |
232 | ||
916b643b | 233 | 2013-05-10 Alan Modra <amodra@gmail.com> |
234 | ||
235 | PR target/55033 | |
236 | * varasm.c (default_elf_select_section): Move !DECL_P check.. | |
237 | (get_named_section): ..to here before calling get_section_name. | |
238 | Adjust assertion. | |
239 | (default_section_type_flags): Add DECL_P check. | |
240 | * config/i386/winnt.c (i386_pe_section_type_flags): Likewise. | |
241 | * config/rs6000/rs6000.c (rs6000_xcoff_section_type_flags): Likewise. | |
242 | ||
3f5a5361 | 243 | 2013-05-09 Joern Rennecke <joern.rennecke@embecosm.com> |
244 | ||
245 | * config/epiphany/epiphany.c (epiphany_expand_prologue): | |
246 | When using gen_stack_adjust_str with a register offset, add a | |
247 | REG_FRAME_RELATED_EXPR note. | |
248 | ||
b8403b2e | 249 | 2013-05-09 Uros Bizjak <ubizjak@gmail.com> |
250 | ||
251 | * config/i386/sse.md (*vec_extractv4si_0_zext): New pattern. | |
252 | (*vec_extractv4si_zext_mem): Ditto. | |
253 | (*vec_extractv2di): Add 0->x and x->x alternatives. | |
254 | * config/i386/mmx.md (*vec_extractv2si_zext_mem): New pattern. | |
255 | * config/i386/i386.md (*zero_extendsidi2): Add *Yj->?r alternative. | |
256 | ||
4fa680c3 | 257 | 2013-05-09 Jason Merrill <jason@redhat.com> |
258 | ||
b749017f | 259 | N3639 C++1y VLA support |
260 | * gimplify.c (gimplify_vla_decl): Don't touch an existing | |
261 | DECL_VALUE_EXPR. | |
262 | ||
4fa680c3 | 263 | * tree.c (build_constructor_va): New. |
264 | * tree.h: Declare it. | |
265 | ||
0a2d5b65 | 266 | 2013-05-09 Martin Jambor <mjambor@suse.cz> |
267 | ||
268 | PR lto/57084 | |
269 | * gimple-fold.c (canonicalize_constructor_val): Call | |
270 | cgraph_get_create_real_symbol_node instead of cgraph_get_create_node. | |
271 | ||
85b7ebb2 | 272 | 2013-05-09 Jan Hubicka <jh@suse.cz> |
273 | Richard Biener <rguenther@suse.de> | |
274 | ||
275 | PR lto/54095 | |
276 | * symtab.c (symtab_make_decl_local): Do not add private names. | |
277 | ||
6f4cfc6d | 278 | 2013-05-09 Jan Hubicka <jh@suse.cz> |
279 | ||
280 | PR lto/54095 | |
281 | * symtab.c (insert_to_assembler_name_hash): Handle clones. | |
282 | (unlink_from_assembler_name_hash): Likewise. | |
283 | (symtab_prevail_in_asm_name_hash, symtab_register_node, | |
284 | symtab_unregister_node, symtab_initialize_asm_name_hash, | |
285 | change_decl_assembler_name): Update. | |
286 | ||
eff87958 | 287 | 2013-05-09 Sofiane Naci <sofiane.naci@arm.com> |
288 | ||
289 | * config/aarch64/aarch64.md: New movtf split. | |
290 | (*movtf_aarch64): Update. | |
291 | (aarch64_movdi_tilow): Handle TF modes and rename to | |
292 | aarch64_movdi_<mode>low. | |
293 | (aarch64_movdi_tihigh): Handle TF modes and rename to | |
294 | aarch64_movdi_<mode>high | |
295 | (aarch64_movtihigh_di): Handle TF modes and rename to | |
296 | aarch64_mov<mode>high_di | |
297 | (aarch64_movtilow_di): Handle TF modes and rename to | |
298 | aarch64_mov<mode>low_di | |
299 | (aarch64_movtilow_tilow): Remove spurious whitespace. | |
300 | * config/aarch64/aarch64.c (aarch64_split_128bit_move): Handle TFmode | |
301 | splits. | |
302 | (aarch64_print_operand): Update. | |
303 | ||
e0b071f6 | 304 | 2013-05-09 Alan Modra <amodra@gmail.com> |
305 | ||
306 | * configure.ac (HAVE_AS_TLS): Enable tests for powerpcle and | |
307 | powerpc64le. | |
308 | * configure: Regenerate. | |
309 | ||
823a2ddd | 310 | 2013-05-08 Uros Bizjak <ubizjak@gmail.com> |
311 | ||
312 | * config/i386/mmx.md (*vec_extract* splitters): Simplify post-reload | |
313 | splitter preparation statements. | |
314 | * config/i386/sse.md (*vec_extract* splitters): Ditto. | |
315 | (*avx_vperm_broadcast_<mode>): Use adjust_address instead of | |
316 | adjust_address_nv. | |
317 | ||
d873e825 | 318 | 2013-05-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
319 | ||
320 | * gimple-ssa-strength-reduction.c (count_candidates): Change | |
321 | return value to int. | |
322 | (analyze_candidates_and_replace): Change type of length to int. | |
323 | ||
27fc86e0 | 324 | 2013-05-08 Uros Bizjak <ubizjak@gmail.com> |
325 | ||
326 | * config/i386/sse.md (PEXTR_MODE, PEXTR_MODEx): Remove. | |
327 | (*vec_extract<mode>): Use VI12_128 mode iterator. | |
328 | (*vec_extract<mode>_mem): Ditto. | |
329 | (*vec_extract*_mem splitters): Merge splitters using VI_128 mode | |
330 | attribute. | |
331 | ||
45cde32d | 332 | 2013-05-08 Diego Novillo <dnovillo@google.com> |
333 | ||
334 | PR bootstrap/54659 | |
335 | ||
336 | Revert: | |
45cde32d | 337 | 2012-08-17 Diego Novillo <dnovillo@google.com> |
338 | ||
27fc86e0 | 339 | PR bootstrap/54281 |
340 | * configure.ac: Add libintl.h to AC_CHECK_HEADERS list. | |
341 | * config.in: Regenerate. | |
342 | * configure: Regenerate. | |
343 | * intl.h: Always include libintl.h if HAVE_LIBINTL_H is set. | |
45cde32d | 344 | |
5c368d8a | 345 | 2013-05-08 Jan Hubicka <jh@suse.cz> |
346 | ||
347 | PR lto/54095 | |
348 | * cgraph.c (cgraph_make_node_local_1): Se unique_name. | |
349 | * cgraph.h (symtab_node_base): Add unique_name. | |
350 | * lto-cgraph.c (lto_output_node, lto_output_varpool_node, | |
351 | input_overwrite_node, input_varpool_node): Stream unique_name. | |
352 | * cgraphclones.c (cgraph_create_virtual_clone, | |
353 | cgraph_function_versioning): Set unique_name. | |
354 | * ipa.c (function_and_variable_visibility): Set unique_name. | |
355 | ||
8858a76d | 356 | 2013-05-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
357 | ||
358 | * gimple-ssa-strength-reduction.c (find_phi_def): Revert former "fix." | |
359 | (alloc_cand_and_find_basis): Restrict conditional candidate | |
360 | processing to CAND_MULTs. | |
361 | ||
48bbff00 | 362 | 2013-05-08 Jan Hubicka <jh@suse.cz> |
363 | ||
364 | PR lto/54095 | |
365 | lto-symtab.c (lto_symtab_symbol_p): New function. | |
366 | (lto_symtab_resolve_can_prevail_p, lto_symtab_resolve_symbols, | |
367 | lto_symtab_resolve_symbols, lto_symtab_merge_decls_2, | |
368 | lto_symtab_merge_decls_1, lto_symtab_merge_cgraph_nodes_1): | |
369 | Skip static symbols. | |
370 | ||
531a0a15 | 371 | 2013-05-08 Paolo Carlini <paolo.carlini@oracle.com> |
372 | ||
373 | PR tree-optimization/57200 | |
374 | * tree-ssa-loop-niter.c (do_warn_aggressive_loop_optimizations): | |
375 | Only call inform if the preceding warning_at returns true. | |
376 | ||
b156ec37 | 377 | 2013-05-07 Han Shen <shenhan@google.com> |
378 | ||
379 | * cfgexpand.c (record_or_union_type_has_array_p): New function. | |
380 | (expand_used_vars): Add logic handling '-fstack-protector-strong'. | |
381 | * common.opt (fstack-protector-strong): New option. | |
382 | * doc/cpp.texi (__SSP_STRONG__): New builtin "__SSP_STRONG__". | |
383 | * doc/invoke.texi (Optimization Options): Document | |
384 | "-fstack-protector-strong". | |
385 | * gcc.c (LINK_SSP_SPEC): Add 'fstack-protector-strong'. | |
386 | ||
5c2d214d | 387 | 2013-05-06 Steven Bosscher <steven@gcc.gnu.org> |
388 | ||
389 | * config/mips/mips.c (mips_machine_reorg2): Return 0. | |
390 | ||
c625778b | 391 | 2013-05-07 Vladimir Makarov <vmakarov@redhat.com> |
392 | ||
393 | * ira.c (update_equiv_regs): Add insn having equiv memory even if | |
394 | it is not lhs of the insn. | |
395 | (setup_reg_equiv): Remove insn having equiv memory which it is not | |
396 | lhs of the insn. | |
397 | * lra-constraints.c (process_address): Try to improve generation | |
398 | code for address base + disp. | |
399 | (lra_constraints): Make correct the code for checking insn setting | |
400 | up backward equivalence. Remove insn only if it is in the init | |
401 | insn list. | |
402 | * lra-eliminations.c (update_reg_eliminate): Change return value. | |
403 | (lra_eliminate): Use the result. | |
404 | ||
1087c60b | 405 | 2013-05-07 Uros Bizjak <ubizjak@gmail.com> |
406 | ||
407 | * config/i386/sse.md (ssescalarnummask): New mode attribute. | |
408 | (PEXTR_MODE, PEXTR_MODEx): New mode iterators. | |
409 | (*vec_extract<mode>): Merge from *sse4_1_pextrb_memory and | |
410 | *sse4_1_pextrw_memory using PEXTR_MODE mode iterator. Handle | |
411 | register target operands. | |
412 | (*vec_extractv8hi_sse2): New pattern. | |
413 | (*vec_extractv16qi_zext): Rename from *sse4_1_pextrb_<mode>. | |
414 | (*vec_extractv8hi_zext): Rename from *sse2_pextrw_<mode>. | |
415 | (*vec_extract<mode>_mem): New insn and split pattern. | |
416 | ||
3e8585ab | 417 | 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org> |
418 | ||
419 | * config/arm/arm.c (arm_asan_shadow_offset): New function. | |
420 | (TARGET_ASAN_SHADOW_OFFSET): Define. | |
421 | * config/arm/linux-eabi.h (ASAN_CC1_SPEC): Define. | |
422 | (LINUX_OR_ANDROID_CC): Add ASAN_CC1_SPEC. | |
423 | ||
d62a8480 | 424 | 2013-05-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
425 | ||
426 | * gimple-ssa-strength-reduction.c (MAX_INCR_VEC_LEN): New constant. | |
427 | (incr_vec_index): Return -1 if increment not found. | |
428 | (create_add_on_incoming_edge): Assert if increment not found. | |
429 | (record_increment): Limit number of increments recorded. | |
430 | (all_phi_incrs_profitable): Return false if an increment not found. | |
431 | (replace_profitable_candidates): Don't process increments that were | |
432 | not recorded. | |
433 | (analyze_candidates_and_replace): Limit size of incr_vec. | |
434 | ||
3621f68e | 435 | 2013-05-07 Richard Biener <rguenther@suse.de> |
436 | ||
437 | * calls.c (special_function_p): setjmp-like functions are leaf. | |
438 | * builtins.def (BUILT_IN_SETJMP): setjmp is leaf. | |
439 | * tree-inline.c (update_ssa_across_abnormal_edges): Remove assert. | |
440 | ||
e0e03aa1 | 441 | 2013-05-07 Sofiane Naci <sofiane.naci@arm.com> |
442 | ||
443 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): call splitter. | |
444 | (aarch64_simd_mov<mode>): New expander. | |
445 | (aarch64_simd_mov_to_<mode>low): New instruction pattern. | |
446 | (aarch64_simd_mov_to_<mode>high): Likewise. | |
447 | (aarch64_simd_mov_from_<mode>low): Likewise. | |
448 | (aarch64_simd_mov_from_<mode>high): Likewise. | |
449 | (aarch64_dup_lane<mode>): Update. | |
450 | (aarch64_dup_lanedi): New instruction pattern. | |
451 | * config/aarch64/aarch64-protos.h (aarch64_split_simd_move): New prototype. | |
452 | * config/aarch64/aarch64.c (aarch64_split_simd_move): New function. | |
453 | ||
d54ab372 | 454 | 2013-05-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
455 | ||
456 | * gimple-ssa-strength-reduction.c (lazy_create_slsr_reg): Remove. | |
457 | (replace_mult_candidate): Remove unnecessary argument; remove | |
458 | unnecessary parameter from call to introduce_cast_before_cand. | |
459 | (replace_unconditional_candidate): Remove unnecessary parameter | |
460 | from call to replace_mult_candidate. | |
461 | (replace_conditional_candidate): Likewise. | |
462 | (insert_initializers): Use make_temp_ssa_name. | |
463 | (introduce_cast_before_cand): Remove unnecessary argument; use | |
464 | make_temp_ssa_name. | |
465 | (replace_one_candidate): Remove unnecessary argument; remove | |
466 | unnecessary parameter from calls to introduce_cast_before_cand. | |
467 | (replace_profitable_candidates): Remove unnecessary parameters | |
468 | from calls to replace_one_candidate. | |
469 | ||
cebae8f7 | 470 | 2013-05-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
471 | ||
472 | * gimple-ssa-strength-reduction.c (find_phi_def): Don't record a | |
473 | phi def as possibly hiding a basis for a CAND_ADD whose operands | |
474 | have been commuted in the analysis. | |
475 | (alloc_cand_and_find_basis): Add parms to call to find_phi_def. | |
476 | ||
dcb79d5f | 477 | 2013-05-07 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
478 | ||
479 | * config/aarch64/aarch64.md | |
480 | (cmp_swp_<optab><ALLX:mode>_shft_<GPI:mode>): Restrict the | |
481 | shift value between 0-4. | |
482 | ||
75aefb7b | 483 | 2013-05-07 Richard Biener <rguenther@suse.de> |
484 | ||
485 | * double-int.h (rshift): New overload. | |
486 | * double-int.c (rshift): New function. | |
487 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Optimize. | |
488 | (create_reference_ops_from_ref): Remove. | |
489 | (vn_reference_insert): Use shared ops for constructing the | |
490 | reference and copy it. | |
491 | ||
587a19f1 | 492 | 2013-05-07 Richard Biener <rguenther@suse.de> |
493 | ||
494 | PR middle-end/57190 | |
495 | * tree-eh.c (sink_clobbers): Properly propagate | |
496 | SSA_NAME_OCCURS_IN_ABNORMAL_PHI. | |
497 | ||
03404fe6 | 498 | 2013-05-07 Jakub Jelinek <jakub@redhat.com> |
499 | ||
182debc1 | 500 | PR tree-optimization/57149 |
501 | * tree-ssa-uninit.c (uninit_undefined_value_p): New inline. | |
502 | (can_skip_redundant_opnd, compute_uninit_opnds_pos, | |
503 | collect_phi_def_edges, execute_late_warn_uninitialized): Use | |
504 | uninit_undefined_value_p instead of ssa_undefined_value_p. | |
505 | ||
03404fe6 | 506 | PR debug/57184 |
507 | * expr.c (expand_expr_addr_expr_1): Handle COMPOUND_LITERAL_EXPR | |
508 | for modifier == EXPAND_INITIALIZER. | |
509 | ||
7c291732 | 510 | 2013-05-07 Anton Blanchard <anton@samba.org> |
511 | ||
512 | * configure.ac (HAVE_LD_LARGE_TOC): Use correct linker emulation | |
513 | for powerpc64 little endian. | |
514 | * configure: Regenerate. | |
515 | ||
6a219c68 | 516 | 2013-05-06 Graham Stott <grahams@btinternet.com> |
517 | ||
518 | * expmed.c (init_expmed_rtl): Remove unused fields reg_fld, plus_fld, | |
519 | mult_fld, sdiv_fld1, udiv_fld1, sdiv_32_fld1, smod_32_fld1, | |
520 | wide_mult_fld1, wide_lshr_fld1, shift_fld1, shift_mult_fld1, | |
521 | shift_add_fld1, shift_sub0_fld1, shift_sub1_fld1. | |
522 | ||
523 | 2013-05-06 Graham Stott <grahams@btinternet.com> | |
7e91113e | 524 | |
525 | * gensupport.c (add_predicate_code): Also exclude SCRATCH from rtx | |
526 | codes which allow non-lvalues. | |
527 | ||
5a4f3016 | 528 | 2013-05-06 Marc Glisse <marc.glisse@inria.fr> |
529 | ||
530 | * tree.c (integer_all_onesp) <COMPLEX_CST>: Test that both | |
531 | components are all 1s. | |
532 | (integer_minus_onep): New function. | |
533 | * tree.h (integer_minus_onep): Declare it. | |
534 | * fold-const.c (fold_binary_loc) <MULT_EXPR>: Test | |
535 | integer_minus_onep instead of integer_all_onesp. | |
536 | ||
8de9db6e | 537 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
538 | ||
539 | PR target/52933 | |
540 | * config/sh/sh.md (*cmp_div0s_0, *cmp_div0s_1, *movsicc_div0s): Add | |
541 | variations of these patterns. | |
542 | ||
2071a184 | 543 | 2013-05-06 Uros Bizjak <ubizjak@gmail.com> |
544 | ||
545 | * config/i386/i386.md (isa): Add x64_sse4 member. | |
546 | (enabled): Handle x64_sse4. | |
547 | (*movdi_internal): Add *x->?r alternative to emit pextrq $0,%xmm,%reg | |
548 | instruction for 64bit SSE4_1 targets. Update insn attributes. | |
549 | (*movsi_internal): Add *x->?r alternative to emit pextrd $0,%xmm,%reg | |
550 | instruction for SSE4_1 targets. Update insn attributes. | |
551 | * config/i386/sse.md (*vec_extract<ssevecmodelower>_0): Merge | |
552 | with *sse4_1_pextrd and *sse4_1_pextrq having const_0 selector. | |
553 | (*vec_extractv2di_1): Merge with *sse4_1_pextrq having | |
554 | const_1 selector. | |
555 | (*vec_extractv4si): Rename from *sse4_1_pextrd. | |
556 | (*vec_extractv4si_zext): Rename from *sse4_1_pextrd_zext. | |
557 | (*vec_extract<ssevecmodelower>_0 splitters): Merge splitters together. | |
558 | ||
e3c1cc51 | 559 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
560 | ||
561 | PR target/57108 | |
562 | * config/sh/sh.md (tstsi_t_zero_extract_eq): Use QIHISIDI mode iterator. | |
563 | ||
82353beb | 564 | 2013-05-06 Maxim Kuznetsov <maks.kuznetsov@gmail.com> |
565 | ||
566 | * final.c (do_assembler_dialects): Don't handle curly braces and | |
567 | vertical bar escaped by % as dialect delimiters. | |
568 | (output_asm_insn): Print curly braces and vertical bar if escaped | |
569 | by % and ASSEMBLER_DIALECT defined. | |
570 | * doc/tm.texi.in (ASSEMBLER_DIALECT): Document new standard escapes. | |
571 | * doc/tm.texi: Regenerated. | |
572 | ||
5a2fb01f | 573 | 2013-05-06 Steven Bosscher <steven@gcc.gnu.org> |
574 | ||
5a2fb01f | 575 | * config/mips/mips.c: Include tree-pass.h. |
576 | (mips_reorg): Split in pre- and post-dbr_schedule parts. | |
577 | (mips_machine_reorg2): Move mips_reorg post-dbr_schedule parts here. | |
578 | (pass_mips_machine_reorg2): New machine specific pass. | |
579 | (insert_pass_mips_machine_reorg2): New pass plugin definition. | |
580 | (mips_option_override): Register the new pass. | |
581 | * rtl.h (cleanup_barriers): Remove prototype. | |
582 | (dbr_schedule): Likewise. | |
583 | * jump.c (cleanup_barriers): Make static. | |
584 | * reorg.c (dbr_schedule): Likewise. | |
585 | ||
59c0ed80 | 586 | 2013-05-06 Richard Biener <rguenther@suse.de> |
587 | ||
588 | PR tree-optimization/57185 | |
589 | * tree-parloops.c (add_field_for_reduction): Handle anonymous | |
590 | SSA names properly. | |
591 | ||
0b9c4816 | 592 | 2013-05-06 Uros Bizjak <ubizjak@gmail.com> |
593 | ||
594 | PR target/57106 | |
595 | * config/i386/i386.c (add_parameter_dependencies): Add dependence | |
596 | between "first_arg" and "insn", not "last" and "insn". | |
597 | ||
7090b697 | 598 | 2013-05-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
599 | ||
600 | * gimple-ssa-strength-reduction.c (slsr_process_phi): Re-enable. | |
601 | (find_candidates_in_block): Re-enable slsr_process_phi. | |
602 | (create_phi_basis): Fix double counting of candidate adjustment. | |
603 | ||
e2a6b9da | 604 | 2013-05-06 Richard Biener <rguenther@suse.de> |
605 | ||
606 | PR middle-end/57147 | |
607 | * tree-cfg.c (gimple_purge_dead_abnormal_call_edges): If | |
608 | the edge is also fallthru, preserve it and just clear the | |
609 | abnormal flag. | |
610 | * tree-cfgcleanup.c (remove_fallthru_edge): If the edge is | |
611 | also complex, preserve that and just clear the fallthru flag. | |
612 | * tree-inline.c (update_ssa_across_abnormal_edges): Also | |
613 | update virtual operands. | |
614 | ||
a6245fde | 615 | 2013-05-06 Alan Modra <amodra@gmail.com> |
616 | ||
617 | * config/rs6000/linux.h (DEFAULT_ASM_ENDIAN): Define. | |
618 | (LINK_OS_LINUX_EMUL): Use ENDIAN_SELECT. | |
619 | * config/rs6000/linux64.h (DEFAULT_ASM_ENDIAN): Define. | |
620 | * config/rs6000/sysv4le.h (DEFAULT_ASM_ENDIAN): Define. | |
621 | (LINK_TARGET_SPEC): Use ENDIAN_SELECT. | |
622 | * config/rs6000/sysv4.h (DEFAULT_ASM_ENDIAN): Define as -mbig. | |
623 | ||
23c6c8a2 | 624 | 2013-05-06 Alan Modra <amodra@gmail.com> |
625 | ||
626 | * config/rs6000/sysv4.h (ENDIAN_SELECT): Define, extracted from | |
627 | (ASM_SPEC): ..here. Emit DEFAULT_ASM_ENDIAN too. | |
628 | (DEFAULT_ASM_ENDIAN): Define. | |
629 | (CC1_SPEC, LINK_TARGET_SPEC): Use ENDIAN_SELECT. | |
630 | * config/rs6000/linux64.h (ASM_SPEC32): Remove endian options. | |
631 | Update -K PIC clause from sysv4.h. | |
632 | (ASM_SPEC_COMMON): Use ENDIAN_SELECT. | |
633 | (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Likewise. | |
634 | ||
75e370bf | 635 | 2013-05-06 Alan Modra <amodra@gmail.com> |
636 | ||
637 | * config/rs6000/rs6000.md (bswapdi 2nd splitter): Don't swap words | |
638 | twice for little-endian. | |
639 | (ashrdi3_no_power, ashrdi3): Support little-endian. | |
640 | ||
a61eea5a | 641 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
642 | ||
643 | PR target/55303 | |
644 | * config/sh/sh.c (sh_rtx_costs): Handle SMIN and SMAX cases. | |
645 | * config/sh/sh.md (*clips, uminsi3, *clipu, clipu_one): New insns and | |
646 | related expanders. | |
647 | * config/sh/iterators.md (SMIN_SMAX): New code iterator. | |
648 | * config/sh/predicates.md (arith_reg_or_0_or_1_operand, | |
649 | clips_min_const_int, clips_max_const_int, clipu_max_const_int): | |
650 | New predicates. | |
651 | ||
b8f55b74 | 652 | 2013-05-05 Steven Bosscher <steven@gcc.gnu.org> |
653 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
654 | ||
655 | * config.gcc (hppa*-*-*): Remove MASK_BIG_SWITCH from CPU default. | |
656 | * config/pa/pa.opt: Make mbig-switch a no-op. | |
657 | * config/pa/pa.h (TARGET_DEFAULT): Remove MASK_BIG_SWITCH. | |
658 | (CASE_VECTOR_MODE): Always return SImode. | |
659 | (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove code | |
660 | for the !TARGET_BIG_SWITCH case. | |
661 | * config/pa/pa-linux.h: Likewise. | |
662 | * config/pa/pa-openbsd.h: Likewise. | |
663 | * config/pa/pa-hpux.h: Define TARGET_DEFAULT to 0. | |
664 | * config/pa/pa.md (short_jump): Remove define_insn. | |
665 | (casesi): Remove code for the !TARGET_BIG_SWITCH case. | |
666 | (casesi0): Remove define_insn. | |
667 | (type): Remove btable_branch. | |
668 | (pa_combine_type): Likewise. | |
669 | (in_nullified_branch_delay): Likewise. | |
670 | (in_call_delay): Likewise. | |
671 | (define_delay): Likewise. | |
672 | (define_insn_reservation "Z3"): Likewise. | |
673 | (define_insn_reservation "Z4"): Likewise. | |
674 | * config/pa/pa.c (pa_reorg): Remove code for !TARGET_BIG_SWITCH. | |
675 | (pa_adjust_insn_length): Remove adjustment for btable branches. | |
676 | * doc/invoke.texi (HPPA Options): Delete documentation for mbig-switch | |
677 | and mno-big-switch | |
678 | ||
fe4df2ce | 679 | 2013-05-05 Uros Bizjak <ubizjak@gmail.com> |
680 | ||
681 | * config/i386/sse.md (*vec_extract<ssevecmodelower>_0): Merge | |
682 | from sse2_stored and *sse2_storeq_rex64 using SWI48 mode iterator. | |
683 | Add m->r,x alternatives. | |
684 | (*vec_extract<ssevecmodelower>_0 splitters): Merge V2DI and V4SI | |
685 | splitters using SWI48x mode iterator. | |
686 | (*vec_extract_v2di_0_sse): Rename from *sse2_storeq. Disable for | |
687 | TARGET_64BIT. Add m->x alternative. | |
688 | (*vec_extractv4si_mem): Rename from *vec_ext_v4si_mem. | |
689 | Add o->x alternative. Enable for TARGET_SSE. | |
690 | (sse_storeq): Remove expander. | |
691 | (*vec_extractv2di_1): Enable for TARGET_SSE. Split alternatives | |
692 | with memory input operand. | |
693 | (*vec_extractv2di_1 splitter): New. | |
694 | (*vec_extractv4sf_mem): Rename from *vec_extract_v4sf_mem. | |
695 | * config/i386/i386.md (ssevecmodelower): New mode attribute. | |
696 | ||
97f92bff | 697 | 2013-05-04 Segher Boessenkool <segher@kernel.crashing.org> |
698 | ||
699 | * config/rs6000/rs6000.c (INT_P): Reformat. Delete obsolete comment. | |
700 | (INT_LOWPART): Delete. | |
701 | (extract_MB): Adjust. | |
702 | (extract_ME): Adjust. | |
703 | (print_operand): Adjust. | |
704 | ||
42408413 | 705 | 2013-05-04 Segher Boessenkool <segher@kernel.crashing.org> |
706 | ||
707 | * config/rs6000/predicates.md (reg_or_add_cint_operand, | |
708 | reg_or_sub_cint_operand): Delete "HOST_BITS_PER_WIDE_INT == 32" case. | |
709 | (reg_or_logical_cint_operand, easy_fp_constant, | |
710 | logical_const_operand): Delete "CONST_DOUBLE" case. | |
711 | * config/rs6000/rs6000.c (num_insns_constant_wide): Delete | |
712 | "HOST_BITS_PER_WIDE_INT == 64" test. | |
fe4df2ce | 713 | (num_insns_constant): Ditto. Delete CONST_DOUBLE DImode/VOIDmode case. |
42408413 | 714 | (build_mask64_2_operands): Delete "HOST_BITS_PER_WIDE_INT >= 64" test. |
715 | (rs6000_emit_set_const): Delete CONST_DOUBLE case. | |
716 | (rs6000_emit_set_long_const): Delete "HOST_BITS_PER_WIDE_INT >= 64" | |
717 | test. | |
718 | (includes_rldic_lshift_p, includes_rldicr_lshift_p): Delete | |
719 | CONST_DOUBLE DImode/VOIDmode case. | |
720 | (INT_P, INT_LOWPART): Delete CONST_DOUBLE case. | |
721 | (print_operand): Delete "HOST_BITS_PER_WIDE_INT == 32" case. Delete | |
722 | CONST_DOUBLE VOIDmode case. | |
723 | (output_toc): Delete "HOST_BITS_PER_WIDE_INT == 32" case. | |
724 | (rs6000_rtx_costs): Delete CONST_DOUBLE DImode/VOIDmode case. | |
725 | * config/rs6000/rs6000.md (iordi3, xordi3, splitter for these): | |
726 | Delete CONST_DOUBLE case. | |
727 | (splitters for mov FMOVE64 const_double): Delete | |
728 | "HOST_BITS_PER_WIDE_INT == 32" case. Delete | |
729 | "HOST_BITS_PER_WIDE_INT >= 64" test. | |
730 | (splitter for mov DI const_int): Delete "HOST_BITS_PER_WIDE_INT == 32" | |
731 | case. | |
732 | (mov DI const_double): Delete. | |
733 | ||
fd304a93 | 734 | 2013-05-04 Jakub Jelinek <jakub@redhat.com> |
735 | ||
736 | * combine.c (combine_simplify_rtx) <case SUBREG>: If nonzero_bits | |
737 | on op shows all bits zero in mode of a lowpart subreg, return zero. | |
738 | ||
21e5dc01 | 739 | 2013-05-03 Michael Meissner <meissner@linux.vnet.ibm.com> |
740 | ||
741 | PR target/57150 | |
742 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Use DFmode | |
743 | to save TFmode registers and DImode to save TImode registers for | |
744 | caller save operations. | |
745 | (HARD_REGNO_CALL_PART_CLOBBERED): TFmode and TDmode do not need to | |
746 | mark being partially clobbered since they only use the first | |
747 | double word. | |
748 | ||
749 | * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): TFmode | |
750 | and TDmode only use the upper 64-bits of each VSX register. | |
751 | ||
e64c90eb | 752 | 2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
753 | ||
754 | * gimple-ssa-strength-reduction.c (slsr_process_phi): Disable. | |
755 | (find_candidates_in_block): Disable slsr_process_phi. | |
756 | ||
bd13f5e8 | 757 | 2013-05-03 Guozhi Wei <carrot@google.com> |
758 | ||
759 | * coverage.c (coverage_obj_init): Move the construction of gcov | |
fe4df2ce | 760 | constructor to ... |
761 | (build_init_ctor): ... here. | |
bd13f5e8 | 762 | |
1168caca | 763 | 2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
764 | ||
765 | * gimple-ssa-strength-reduction.c (cand_kind): Add CAND_PHI. | |
766 | (slsr_cand_d): Redefine def_phi. | |
767 | (stride_status, phi_adjust_status, count_phis_status): New enums. | |
768 | (find_phi_def): New. | |
769 | (find_basis_for_base_expr): New. | |
770 | (find_basis_for_candidate): Handle hidden bases. | |
771 | (alloc_cand_and_find_basis): Handle phi candidates. | |
772 | (slsr_process_phi): New. | |
773 | (create_mul_ssa_cand): Exclude phi base candidates; use integer_onep. | |
774 | (create_mul_imm_cand): Likewise. | |
775 | (create_add_ssa_cand): Exclude phi base candidates. | |
776 | (create_add_imm_cand): Likewise. | |
777 | (slsr_process_cast): Likewise. | |
778 | (slsr_process_copy): Likewise. | |
779 | (find_candidates_in_block): Handle phi candidates. | |
780 | (dump_candidate): Likewise. | |
781 | (unconditional_cands): Delete. | |
782 | (unconditional_cands_with_known_stride_p): Delete. | |
783 | (phi_dependent_cand_p): New. | |
784 | (cand_increment): Handle phi-dependent candidates. | |
785 | (replace_dependent): Delete. | |
786 | (replace_mult_candidate): New. | |
787 | (replace_unconditional_candidate): New. | |
788 | (incr_vec_index): Move to avoid forward reference. | |
789 | (create_add_on_incoming_edge): New. | |
790 | (create_phi_basis): New. | |
791 | (replace_dependents): Delete. | |
792 | (replace_conditional_candidate): New. | |
793 | (phi_add_costs): New. | |
794 | (replace_uncond_cands_and_profitable_phis): New. | |
795 | (record_increment): Handle phi adjustments. | |
796 | (record_phi_increments): New. | |
797 | (record_increments): Handle phi adjustments. | |
798 | (phi_incr_cost): New. | |
799 | (lowest_cost_path): Handle phis. | |
800 | (total_savings): Likewise. | |
801 | (analyze_increments): Likewise. | |
802 | (ncd_with_phi): New. | |
803 | (ncd_of_cand_and_phis): New. | |
804 | (nearest_common_dominator_for_cands): Handle phi increments. | |
805 | (all_phi_incrs_profitable): New. | |
806 | (replace_profitable_candidates): Handle phi-dependent candidates. | |
807 | (analyze_candidates_and_replace): Likewise. | |
808 | ||
df21e330 | 809 | 2013-05-03 Teresa Johnson <tejohnson@google.com> |
810 | ||
811 | PR bootstrap/57154 | |
812 | * sched-rgn.c (compute_dom_prob_ps): Ensure accumulated probabilities | |
813 | do not exceed REG_BR_PROB_BASE. | |
814 | ||
d06dae50 | 815 | 2013-05-03 Jeff Law <law@redhat.com> |
816 | ||
66c357ba | 817 | PR tree-optimization/57144 |
d06dae50 | 818 | * tree-vrp.c (simplify_cond_using_ranges): Verify the constant |
819 | operand of the condition will bit into the new type when eliminating | |
820 | a cast feeding a condition. | |
821 | ||
cea05f44 | 822 | 2013-05-03 Jakub Jelinek <jakub@redhat.com> |
823 | ||
824 | PR rtl-optimization/57130 | |
fe4df2ce | 825 | * combine.c (make_compound_operation) <case SUBREG>: Pass SET instead |
826 | of COMPARE as in_code to the recursive call if needed. | |
cea05f44 | 827 | |
65c52515 | 828 | 2013-05-03 Uros Bizjak <ubizjak@gmail.com> |
829 | ||
830 | * config/i386/i386.md (isa): Add x64_sse4_noavx and x64_avx members. | |
831 | (enabled): Handle new members. | |
832 | * config/i386/sse.md (*vec_concatv2si): Merge from | |
833 | *vec_concatv2si_sse2 and vec_concatv2si_sse. | |
834 | (vec_concatv2di): Merge with *vec_concatv2di_rex64. | |
835 | ||
058e9571 | 836 | 2013-05-03 Joern Rennecke <joern.rennecke@embecosm.com> |
837 | ||
838 | PR tree-optimization/57027 | |
839 | * tree-ssa-math-opts.c (convert_mult_to_fma): When checking | |
840 | for fnms opportunity, check we got the prerequisite kind | |
841 | of tree / gimple before using accessor functions. | |
842 | ||
9a8b9e26 | 843 | 2013-05-03 Richard Biener <rguenther@suse.de> |
844 | ||
845 | * double-int.h (lshift): New overload without precision | |
846 | and arith argument. | |
847 | (operator *=, operator +=, operator -=): Move ... | |
848 | * double-int.c (operator *=, operator +=, operator -=): ... here | |
849 | and implement more efficiently. | |
850 | (mul_double_with_sign): Remove. | |
851 | (lshift_double): Adjust to take unsinged shift argument, push | |
852 | dispatching code to callers. | |
853 | (mul_double_wide_with_sign): Add early out for callers that | |
854 | are not interested in high parts or overflow. | |
855 | (lshift): New function. | |
856 | (lshift, rshift, alshift, arshift, llshift, lrshift): Add | |
857 | dispatch code here. | |
858 | (lrotate, rrotate): Use logical shifts. | |
859 | * expr.c (get_inner_reference): Use lshift. | |
860 | * fixed-value.c (do_fixed_divide): Likewise. | |
861 | * tree-dfa.c (get_ref_base_and_extent): Likewise. | |
862 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise. | |
863 | (indirect_refs_may_alias_p): Likewise. | |
864 | (stmt_kills_ref_p_1): Likewise. | |
865 | ||
91b3c1af | 866 | 2013-05-03 Vidya Praveen <vidyapraveen@arm.com> |
867 | ||
868 | * config/aarch64/aarch64-simd.md (simd_fabd): Correct the description. | |
869 | ||
4d9d91e8 | 870 | 2013-05-03 Vidya Praveen <vidyapraveen@arm.com> |
871 | ||
872 | * config/aarch64/aarch64-simd.md (*fabd_scalar<mode>3): Support | |
873 | scalar form of FABD instruction. | |
874 | ||
04dda2a2 | 875 | 2013-05-02 Vladimir Makarov <vmakarov@redhat.com> |
876 | ||
877 | * lra-constraints.c (process_alt_operands): Add checking alt | |
878 | number to choose the best alternative. | |
879 | ||
077b5b8a | 880 | 2013-05-02 Richard Biener <rguenther@suse.de> |
881 | ||
882 | * tree-eh.c (cleanup_empty_eh_merge_phis): Remove rename_virts | |
883 | bitmap and its handling. | |
884 | (pass_cleanup_eh): Set todo_flags_finish to TODO_verify_ssa. | |
885 | ||
92b43d63 | 886 | 2013-05-02 Richard Biener <rguenther@suse.de> |
887 | ||
888 | PR middle-end/57140 | |
889 | * tree-inline.c (copy_loops): Properly handle removed loops. | |
890 | (copy_cfg_body): Mark destination loops for fixup if source | |
891 | loops needed fixup. | |
892 | ||
d93eb6ad | 893 | 2013-05-02 Greta Yorsh <Greta.Yorsh@arm.com> |
894 | ||
895 | PR target/56732 | |
896 | * config/arm/arm.c (arm_expand_epilogue): Check really_return before | |
897 | generating simple_return for naked functions. | |
898 | ||
c42e4f2e | 899 | 2013-05-02 Martin Jambor <mjambor@suse.cz> |
900 | ||
901 | PR middle-end/56988 | |
902 | * ipa-prop.h (ipa_agg_replacement_value): New flag by_ref. | |
903 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Also check that by_ref | |
904 | flags match. | |
905 | (find_aggregate_values_for_callers_subset): Fill in the by_ref flag of | |
906 | ipa_agg_replacement_value structures. | |
907 | (known_aggs_to_agg_replacement_list): Likewise. | |
908 | * ipa-prop.c (write_agg_replacement_chain): Stream by_ref flag. | |
909 | (read_agg_replacement_chain): Likewise. | |
910 | (ipcp_transform_function): Also check that by_ref flags match. | |
911 | ||
73c6d54e | 912 | 2013-05-02 Richard Biener <rguenther@suse.de> |
913 | ||
914 | * graphds.h (struct graph): Add obstack member. | |
915 | * graphds.c (new_graph): Initialize obstack and allocate | |
916 | vertices from it. | |
917 | (add_edge): Allocate edge from the obstack. | |
65c52515 | 918 | (free_graph): Free the obstack instead of all edges and vertices. |
73c6d54e | 919 | |
70074000 | 920 | 2013-05-02 Teresa Johnson <tejohnson@google.com> |
921 | ||
922 | * loop-unswitch.c (unswitch_loop): Use helper routines with rounding | |
923 | divides. | |
924 | * cfg.c (update_bb_profile_for_threading): Ditto. | |
925 | * tree-inline.c (copy_bb): Ditto. | |
926 | (copy_edges_for_bb): Ditto. | |
927 | (initialize_cfun): Ditto. | |
928 | (copy_cfg_body): Ditto. | |
929 | (expand_call_inline): Ditto. | |
930 | * ipa-inline-analysis.c (estimate_edge_size_and_time): Ditto. | |
931 | (estimate_node_size_and_time): Ditto. | |
932 | (inline_merge_summary): Ditto. | |
933 | * cgraphclones.c (cgraph_clone_edge): Ditto. | |
934 | (cgraph_clone_node): Ditto. | |
935 | * sched-rgn.c (compute_dom_prob_ps): Ditto. | |
936 | (compute_trg_info): Ditto. | |
937 | ||
4817649a | 938 | 2013-05-02 Ian Bolton <ian.bolton@arm.com> |
939 | ||
940 | * config/aarch64/aarch64.md (movsi_aarch64): Only allow to/from | |
941 | S reg when fp attribute set. | |
942 | (movdi_aarch64): Only allow to/from D reg when fp attribute set. | |
943 | ||
623ae2ee | 944 | 2013-05-02 Ian Bolton <ian.bolton@arm.com> |
945 | ||
946 | * config/aarch64/aarch64.md (*and_one_cmpl<mode>3_compare0): | |
947 | New pattern. | |
948 | (*and_one_cmplsi3_compare0_uxtw): Likewise. | |
949 | (*and_one_cmpl_<SHIFT:optab><mode>3_compare0): Likewise. | |
950 | (*and_one_cmpl_<SHIFT:optab>si3_compare0_uxtw): Likewise. | |
951 | ||
e23d3784 | 952 | 2013-05-02 Richard Biener <rguenther@suse.de> |
953 | ||
954 | * tree-scalar-evolution.c (scev_info_hasher): Remove. | |
955 | (struct instantiate_cache_entry): New type. | |
956 | (struct instantiate_cache_entry_hasher): New hashtable descriptor. | |
957 | (struct instantiate_cache_type): New type. | |
958 | (set_instantiated_value, get_instantiated_value): Remove. | |
959 | (get_instantiated_value_entry): New function. | |
960 | (instantiate_scev_name): Use the new cache and adjust. | |
961 | (instantiate_scev_poly): Adjust. | |
962 | (instantiate_scev_binary): Likewise. | |
963 | (instantiate_array_ref): Likewise. | |
964 | (instantiate_scev_convert): Likewise. | |
965 | (instantiate_scev_not): Likewise. | |
966 | (instantiate_scev_3): Likewise. | |
967 | (instantiate_scev_2): Likewise. | |
968 | (instantiate_scev_r): Likewise. | |
969 | (instantiate_scev): Likewise. | |
970 | (resolve_mixers): Likewise. | |
971 | ||
273c330a | 972 | 2013-05-01 Vladimir Makarov <vmakarov@redhat.com> |
973 | ||
974 | PR target/57091 | |
975 | * lra-constraints.c (best_small_class_operands_num): Remove. | |
976 | (process_alt_operands): Remove small_class_operands_num. Take | |
977 | small classes operands into losers and only if the operand is not | |
978 | matched. Modify debugging output. | |
979 | (curr_insn_transform): Remove best_small_class_operands_num. | |
980 | Print insn name. | |
981 | ||
4491e251 | 982 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
983 | ||
984 | * config/aarch64/aarch64-builtins.c | |
985 | (aarch64_gimple_fold_builtin.c): Fold more modes for reduc_splus_. | |
986 | * config/aarch64/aarch64-simd-builtins.def | |
987 | (reduc_splus_): Add new modes. | |
988 | (reduc_uplus_): New. | |
989 | * config/aarch64/aarch64-simd.md (aarch64_addvv4sf): Remove. | |
990 | (reduc_uplus_v4sf): Likewise. | |
991 | (reduc_splus_v4sf): Likewise. | |
992 | (aarch64_addv<mode>): Likewise. | |
993 | (reduc_uplus_<mode>): Likewise. | |
994 | (reduc_splus_<mode>): Likewise. | |
995 | (aarch64_addvv2di): Likewise. | |
996 | (reduc_uplus_v2di): Likewise. | |
997 | (reduc_splus_v2di): Likewise. | |
998 | (aarch64_addvv2si): Likewise. | |
999 | (reduc_uplus_v2si): Likewise. | |
1000 | (reduc_splus_v2si): Likewise. | |
1001 | (reduc_<sur>plus_<mode>): New. | |
1002 | (reduc_<sur>plus_v2di): Likewise. | |
1003 | (reduc_<sur>plus_v2si): Likewise. | |
1004 | (reduc_<sur>plus_v4sf): Likewise. | |
1005 | (aarch64_addpv4sf): Likewise. | |
1006 | * config/aarch64/arm_neon.h | |
1007 | (vaddv<q>_<s,u,f><8, 16, 32, 64): Rewrite using builtins. | |
1008 | * config/aarch64/iterators.md (unspec): Remove UNSPEC_ADDV, | |
1009 | add UNSPEC_SADDV, UNSPEC_UADDV. | |
1010 | (SUADDV): New. | |
1011 | (sur): Add UNSPEC_SADDV, UNSPEC_UADDV. | |
1012 | ||
3bbdb270 | 1013 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
1014 | ||
1015 | * config/aarch64/arm_neon.h | |
1016 | (v<max,min><nm><q><v>_<sfu><8, 16, 32, 64>): Rewrite using builtins. | |
1017 | ||
867d4a60 | 1018 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
1019 | ||
1020 | * config/aarch64/aarch64-builtins | |
1021 | (aarch64_gimple_fold_builtin): Fold reduc_<su><maxmin>_ builtins. | |
1022 | ||
2520d4b7 | 1023 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
1024 | ||
1025 | * config/aarch64/aarch64-simd-builtins.def | |
1026 | (reduc_smax_): New. | |
1027 | (reduc_smin_): Likewise. | |
1028 | (reduc_umax_): Likewise. | |
1029 | (reduc_umin_): Likewise. | |
1030 | (reduc_smax_nan_): Likewise. | |
1031 | (reduc_smin_nan_): Likewise. | |
1032 | (fmax): Remove. | |
1033 | (fmin): Likewise. | |
1034 | (smax): Update for V2SF, V4SF and V2DF modes. | |
1035 | (smin): Likewise. | |
1036 | (smax_nan): New. | |
1037 | (smin_nan): Likewise. | |
1038 | * config/aarch64/aarch64-simd.md (<maxmin><mode>3): Rename to... | |
1039 | (<su><maxmin><mode>3): ...This, refactor. | |
1040 | (s<maxmin><mode>3): New. | |
1041 | (<maxmin_uns><mode>3): Likewise. | |
1042 | (reduc_<maxmin_uns>_<mode>): Refactor. | |
1043 | (reduc_<maxmin_uns>_v4sf): Likewise. | |
1044 | (reduc_<maxmin_uns>_v2si): Likewise. | |
1045 | (aarch64_<fmaxmin><mode>: Remove. | |
1046 | * config/aarch64/arm_neon.h (vmax<q>_f<32,64>): Rewrite to use | |
1047 | new builtin names. | |
1048 | (vmin<q>_f<32,64>): Likewise. | |
1049 | * config/iterators.md (unspec): Add UNSPEC_FMAXNMV, UNSPEC_FMINNMV. | |
1050 | (FMAXMIN): New. | |
1051 | (su): Add mappings for smax, smin, umax, umin. | |
1052 | (maxmin): New. | |
1053 | (FMAXMINV): Add UNSPEC_FMAXNMV, UNSPEC_FMINNMV. | |
1054 | (FMAXMIN): Rename as... | |
1055 | (FMAXMIN_UNS): ...This. | |
1056 | (maxminv): Remove. | |
1057 | (fmaxminv): Likewise. | |
1058 | (fmaxmin): Likewise. | |
1059 | (maxmin_uns): New. | |
1060 | (maxmin_uns_op): Likewise. | |
1061 | ||
2fe1d3d6 | 1062 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
1063 | ||
1064 | * config/aarch64/arm_neon.h | |
1065 | (vac<ge, gt><sd>_f<32, 64>): Rename to... | |
1066 | (vca<ge, gt><sd>_f<32, 64>): ...this, reimpliment in C. | |
1067 | (vca<ge, gt, lt, le><q>_f<32, 64>): Reimpliment in C. | |
1068 | ||
3310ab7f | 1069 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
1070 | ||
1071 | * config/aarch64/aarch64-simd.md (*aarch64_fac<optab><mode>): New. | |
1072 | * config/aarch64/iterators.md (FAC_COMPARISONS): New. | |
1073 | ||
a793ba7d | 1074 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
1075 | ||
1076 | * config/aarch64/aarch64-simd.md | |
1077 | (vcond<mode>_internal): Handle special cases for constant masks. | |
1078 | (vcond<mode><mode>): Allow nonmemory_operands for outcome vectors. | |
1079 | (vcondu<mode><mode>): Likewise. | |
1080 | (vcond<v_cmp_result><mode>): New. | |
1081 | ||
c4759747 | 1082 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
1083 | ||
1084 | * config/aarch64/aarch64-builtins.c (BUILTIN_VALLDI): Define. | |
1085 | (aarch64_fold_builtin): Add folding for cm<eq,ge,gt,tst>. | |
1086 | * config/aarch64/aarch64-simd-builtins.def | |
1087 | (cmeq): Update to BUILTIN_VALLDI. | |
1088 | (cmgt): Likewise. | |
1089 | (cmge): Likewise. | |
1090 | (cmle): Likewise. | |
1091 | (cmlt): Likewise. | |
1092 | * config/aarch64/arm_neon.h | |
1093 | (vc<eq, lt, le, gt, ge, tst><z><qsd>_<fpsu><8,16,32,64>): Remap | |
1094 | to builtins or C as appropriate. | |
1095 | ||
6ba1316b | 1096 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
1097 | ||
1098 | * config/aarch64/aarch64-simd-builtins.def (cmhs): Rename to... | |
1099 | (cmgeu): ...This. | |
1100 | (cmhi): Rename to... | |
1101 | (cmgtu): ...This. | |
1102 | * config/aarch64/aarch64-simd.md | |
1103 | (simd_mode): Add SF. | |
1104 | (aarch64_vcond_internal): Use new names for unsigned comparison insns. | |
1105 | (aarch64_cm<optab><mode>): Rewrite to not use UNSPECs. | |
1106 | * config/aarch64/aarch64.md (*cstore<mode>_neg): Rename to... | |
1107 | (cstore<mode>_neg): ...This. | |
1108 | * config/aarch64/iterators.md | |
1109 | (VALLF): new. | |
1110 | (unspec): Remove UNSPEC_CM<EQ, LE, LT, GE, GT, HS, HI, TST>. | |
1111 | (COMPARISONS): New. | |
1112 | (UCOMPARISONS): Likewise. | |
1113 | (optab): Add missing comparisons. | |
1114 | (n_optab): New. | |
1115 | (cmp_1): Likewise. | |
1116 | (cmp_2): Likewise. | |
1117 | (CMP): Likewise. | |
1118 | (cmp): Remove. | |
1119 | (VCMP_S): Likewise. | |
1120 | (VCMP_U): Likewise. | |
1121 | (V_cmp_result): Add DF, SF modes. | |
1122 | (v_cmp_result): Likewise. | |
1123 | (v): Likewise. | |
1124 | (vmtype): Likewise. | |
1125 | * config/aarch64/predicates.md (aarch64_reg_or_fp_zero): New. | |
1126 | ||
50148b9a | 1127 | 2013-05-01 Greta Yorsh <Greta.Yorsh@arm.com> |
1128 | ||
1129 | * config/arm/thumb2.md (thumb2_smaxsi3,thumb2_sminsi3): Convert | |
1130 | define_insn to define_insn_and_split. | |
1131 | (thumb32_umaxsi3,thumb2_uminsi3): Likewise. | |
1132 | (thumb2_negdi2,thumb2_abssi2,thumb2_neg_abssi2): Likewise. | |
1133 | (thumb2_mov_scc,thumb2_mov_negscc,thumb2_mov_notscc): Likewise. | |
1134 | (thumb2_movsicc_insn,thumb2_and_scc,thumb2_ior_scc): Likewise. | |
1135 | (thumb2_negscc): Likewise. | |
1136 | ||
e57907f3 | 1137 | 2013-04-30 Greta Yorsh <Greta.Yorsh@arm.com> |
1138 | ||
1139 | * config/arm/thumb2.md (thumb2_incscc, thumb2_decscc): Delete. | |
1140 | ||
d9eaa291 | 1141 | 2013-04-30 Greta Yorsh <Greta.Yorsh@arm.com> |
1142 | ||
1143 | * config/arm/thumb2.md: Remove trailing whitespaces. | |
1144 | ||
e3fc9ffb | 1145 | 2013-04-30 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
1146 | ||
1147 | * explow.c (plus_constant): Pass "mode" to immed_double_int_const. | |
1148 | Use gen_int_mode rather than GEN_INT. | |
1149 | ||
c350d42f | 1150 | 2013-04-30 H.J. Lu <hongjiu.lu@intel.com> |
1151 | ||
9baae48f | 1152 | * value-prof.c (stream_in_histogram_value): Remove the strayed |
c350d42f | 1153 | debug_gimple_stmt. |
1154 | ||
65a02176 | 1155 | 2013-04-30 Richard Biener <rguenther@suse.de> |
1156 | ||
1157 | PR middle-end/57122 | |
65c52515 | 1158 | * cfghooks.c (split_edge): Properly check for the loop latch edge. |
65a02176 | 1159 | |
0ba38440 | 1160 | 2013-04-30 Richard Biener <rguenther@suse.de> |
1161 | ||
1162 | PR middle-end/57107 | |
1163 | * tree-eh.c (sink_clobbers): Preserve virtual SSA form. | |
1164 | ||
d5897457 | 1165 | 2013-04-30 Andrey Belevantsev <abel@ispras.ru> |
1166 | ||
1167 | PR rtl-optimization/56957 | |
1168 | PR rtl-optimization/57105 | |
d5897457 | 1169 | * sel-sched.c (move_op_orig_expr_found): Remove insn_emitted |
1170 | variable. Use just INSN_UID for determining whether an insn | |
1171 | should be only disconnected from the insn stream. | |
1172 | * sel-sched-ir.h (EXPR_WAS_CHANGED): Remove. | |
1173 | ||
060d11f4 | 1174 | 2013-04-30 Jakub Jelinek <jakub@redhat.com> |
1175 | ||
1176 | PR tree-optimization/57104 | |
1177 | * tsan.c (instrument_expr): Don't instrument accesses to | |
1178 | DECL_HARD_REGISTER VAR_DECLs. | |
1179 | ||
41f75a99 | 1180 | 2013-04-30 Richard Biener <rguenther@suse.de> |
1181 | ||
1182 | * function.h (loops_for_fn): New inline function. | |
1183 | (set_loops_for_fn): Likewise. | |
1184 | * cfgloop.h (place_new_loop): Add struct function parameter. | |
1185 | (get_loop): Likewise. | |
1186 | (get_loops): Likewise. | |
1187 | (number_of_loops): Likewise. | |
1188 | (fel_next): Adjust. | |
1189 | (fel_init): Likewise. | |
1190 | * cfg.c (get_loop_copy): Adjust. | |
1191 | * cfgloop.c (flow_loops_dump): Likewise. | |
1192 | (record_loop_exits): Likewise. | |
1193 | (verify_loop_structure): Likewise. | |
1194 | * cfgloopanal.c (mark_irreducible_loops): Likewise. | |
1195 | (estimate_reg_pressure_cost): Likewise. | |
1196 | (mark_loop_exit_edges): Likewise. | |
1197 | * cfgloopmanip.c (place_new_loop): Likewise. | |
1198 | (add_loop): Likewise. | |
1199 | (duplicate_loop): Likewise. | |
1200 | * graph.c (draw_cfg_nodes): Likewise. | |
1201 | * graphite-clast-to-gimple.c (translate_clast_user): Likewise. | |
1202 | * graphite-sese-to-poly.c (build_scop_scattering): Likewise. | |
1203 | (extract_affine_chrec): Likewise. | |
1204 | (build_scop_iteration_domain): Likewise. | |
1205 | * graphite.c (graphite_initialize): Likewise. | |
1206 | * ira-build.c (create_loop_tree_nodes): Likewise. | |
1207 | (more_one_region_p): Likewise. | |
1208 | (rebuild_regno_allocno_maps): Likewise. | |
1209 | (mark_loops_for_removal): Likewise. | |
1210 | (mark_all_loops_for_removal): Likewise. | |
1211 | (remove_unnecessary_regions): Likewise. | |
1212 | (ira_build): Likewise. | |
1213 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
1214 | * loop-init.c (fix_loop_structure): Likewise. | |
1215 | (gate_rtl_move_loop_invariants): Likewise. | |
1216 | (gate_rtl_unswitch): Likewise. | |
1217 | (gate_rtl_unroll_and_peel_loops): Likewise. | |
1218 | (rtl_doloop): Likewise. | |
1219 | * lto-streamer-in.c (input_cfg): Likewise. | |
1220 | * lto-streamer-out.c (output_cfg): Likewise. | |
1221 | * modulo-sched.c (sms_schedule): Likewise. | |
1222 | * predict.c (tree_estimate_probability): Likewise. | |
1223 | (tree_estimate_probability_driver): Likewise. | |
1224 | (estimate_loops): Likewise. | |
1225 | * tree-cfg.c (fixup_loop_arrays_after_move): Likewise. | |
1226 | (move_sese_region_to_fn): Likewise. | |
1227 | (debug_loop_num): Likewise. | |
1228 | * tree-chrec.c (chrec_evaluate): Likewise. | |
1229 | (hide_evolution_in_other_loops_than_loop): Likewise. | |
1230 | (chrec_component_in_loop_num): Likewise. | |
1231 | (reset_evolution_in_loop): Likewise. | |
1232 | (evolution_function_is_invariant_rec_p): Likewise. | |
1233 | * tree-if-conv.c (main_tree_if_conversion): Likewise. | |
1234 | * tree-inline.c (copy_loops): Likewise. | |
1235 | (copy_cfg_body): Likewise. | |
1236 | (tree_function_versioning): Likewise. | |
1237 | * tree-loop-distribution.c (rdg_flag_loop_exits): Likewise. | |
1238 | * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop): | |
1239 | Likewise. | |
1240 | (add_to_evolution_1): Likewise. | |
1241 | (scev_const_prop): Likewise. | |
1242 | * tree-scalar-evolution.h (get_chrec_loop): Likewise. | |
1243 | * tree-ssa-loop-ch.c (copy_loop_headers): Likewise. | |
1244 | * tree-ssa-loop-im.c (analyze_memory_references): Likewise. | |
1245 | (tree_ssa_lim_initialize): Likewise. | |
1246 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Likewise. | |
1247 | (verify_loop_closed_ssa): Likewise. | |
1248 | * tree-ssa-loop.c (tree_ssa_loop_init): Likewise. | |
1249 | (tree_ssa_loop_im): Likewise. | |
1250 | (tree_ssa_loop_unswitch): Likewise. | |
1251 | (tree_vectorize): Likewise. | |
1252 | (check_data_deps): Likewise. | |
1253 | (tree_ssa_loop_ivcanon): Likewise. | |
1254 | (tree_ssa_loop_bounds): Likewise. | |
1255 | (tree_complete_unroll): Likewise. | |
1256 | (tree_complete_unroll_inner): Likewise. | |
1257 | (tree_parallelize_loops): Likewise. | |
1258 | (tree_ssa_loop_prefetch): Likewise. | |
1259 | (tree_ssa_loop_ivopts): Likewise. | |
1260 | * tree-ssa.c (execute_update_addresses_taken): Liekwise. | |
1261 | * tree-vectorizer.c (vectorize_loops): Likewise. | |
1262 | ||
2090f4f0 | 1263 | 2013-04-29 Mike Frysinger <vapier@gentoo.org> |
1264 | ||
1265 | * config/arm/bpabi.h (EABI_LINK_SPEC): Define. | |
1266 | (BPABI_LINK_SPEC): Use new EABI_LINK_SPEC. | |
1267 | * config/arm/linux-eabi.h (LINK_SPEC): Replace BE8_LINK_SPEC | |
1268 | with EABI_LINK_SPEC. | |
1269 | ||
34e882e1 | 1270 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
1271 | ||
1272 | PR target/44578 | |
1273 | * config/i386/i386.md (*zero_extendsidi2): Add "!" to m->?*y | |
1274 | alternative. | |
1275 | ||
f7c98bb1 | 1276 | 2013-04-29 Vladimir Makarov <vmakarov@redhat.com> |
1277 | ||
1278 | PR target/57097 | |
2090f4f0 | 1279 | * lra-constraints.c (process_alt_operands): Discourage a bit more |
f7c98bb1 | 1280 | using memory for pseudos. Print cost dump for alternatives. |
1281 | Modify cost values for conflicts with early clobbers. | |
1282 | (curr_insn_transform): Spill pseudos reassigned to NO_REGS. | |
1283 | ||
4d9f9757 | 1284 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
1285 | ||
1286 | PR target/57098 | |
1287 | * config/i386/i386.c (ix86_expand_vec_perm): Validize constant memory. | |
1288 | ||
35a93fee | 1289 | 2013-04-29 Ian Bolton <ian.bolton@arm.com> |
1290 | ||
1291 | * config/aarch64/aarch64.md (movsi_aarch64): Support LDR/STR | |
1292 | from/to S register. | |
1293 | (movdi_aarch64): Support LDR/STR from/to D register. | |
1294 | ||
65c4a832 | 1295 | 2013-04-29 Ian Bolton <ian.bolton@arm.com> |
1296 | ||
1297 | * common/config/aarch64/aarch64-common.c: Enable REE pass at O2 | |
1298 | or higher by default. | |
1299 | ||
caf1e632 | 1300 | 2013-04-29 Richard Biener <rguenther@suse.de> |
1301 | ||
1302 | PR middle-end/57075 | |
1303 | * tree-inline.c (copy_edges_for_bb): Still split the bbs, | |
1304 | even if not adding abnormal edges for calls that can make | |
1305 | abnormal gotos. | |
1306 | ||
00ef57e3 | 1307 | 2013-04-29 Richard Biener <rguenther@suse.de> |
1308 | ||
1309 | PR middle-end/57103 | |
1310 | * tree-cfg.c (move_stmt_op): Fix condition under which to update | |
1311 | TREE_BLOCK. | |
1312 | (move_stmt_r): Remove redundant checking. | |
1313 | ||
e2bc4ec8 | 1314 | 2013-04-29 Teresa Johnson <tejohnson@google.com> |
1315 | ||
1316 | PR bootstrap/57077 | |
1317 | * basic-block.h (apply_scale): New function. | |
1318 | (apply_probability): Use apply_scale. | |
1319 | * gimple-streamer-in.c (input_bb): Ditto. | |
1320 | * lto-streamer-in.c (input_cfg): Ditto. | |
1321 | * lto-cgraph.c (merge_profile_summaries): Ditto. | |
1322 | * tree-optimize.c (execute_fixup_cfg): Ditto. | |
4d9f9757 | 1323 | * tree-inline.c (copy_bb): Update comment to use apply_scale. |
e2bc4ec8 | 1324 | (copy_edges_for_bb): Ditto. |
1325 | (copy_cfg_body): Ditto. | |
1326 | ||
c48f77d5 | 1327 | 2013-04-29 Tom de Vries <tom@codesourcery.com> |
1328 | ||
1329 | * tree-ssa-tail-merge.c (find_same_succ_bb): Skip loop latch bbs. | |
1330 | (replace_block_by): Don't set LOOPS_NEED_FIXUP. | |
1331 | (tail_merge_optimize): Handle current_loops == NULL. | |
1332 | ||
3172284a | 1333 | 2013-04-26 Jeff Law <law@redhat.com> |
1334 | ||
1335 | * tree-vrp.c (range_fits_type_p): Move to earlier point in file. | |
1336 | (simplify_cond_using_ranges): Generalize code to simplify | |
1337 | COND_EXPRs where one argument is a constant and the other | |
1338 | is an SSA_NAME created by an integral type conversion. | |
1339 | ||
f15d4d96 | 1340 | 2013-04-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1341 | ||
1342 | * config/arm/arm.md (store_minmaxsi): Use only when | |
1343 | optimize_insn_for_size_p. | |
1344 | ||
7d523484 | 1345 | 2013-04-29 Christian Bruel <christian.bruel@st.com> |
1346 | ||
1347 | PR target/57108 | |
1348 | * sh.md (tstsi_t_zero_extract_eq): Set mode for operand 0. | |
1349 | ||
04c2922b | 1350 | 2013-04-29 Richard Biener <rguenther@suse.de> |
1351 | ||
1352 | PR middle-end/57089 | |
4d9f9757 | 1353 | * omp-low.c (expand_omp_taskreg): If the parent function had a broken |
1354 | loop tree make sure to schedule a fixup for the child as well. | |
04c2922b | 1355 | (expand_omp_for_generic): Properly add loops. |
1356 | (expand_omp_for_static_nochunk): Likewise. | |
1357 | (expand_omp_for_static_chunk): Likewise. | |
1358 | (expand_omp_for): For the degenerate case fixup loops. | |
1359 | (expand_omp_sections): Fix default bb placement in loops. | |
1360 | (expand_omp_atomic_pipeline): Properly add loops. | |
1361 | ||
3349fabd | 1362 | 2013-04-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1363 | ||
1364 | * predict.c: Fix typo in comment above #define PROB_VERY_UNLIKELY. | |
1365 | ||
a441795e | 1366 | 2013-04-29 Tom de Vries <tom@codesourcery.com> |
1367 | ||
1368 | * tree-ssa-tail-merge.c: Update header comment. | |
1369 | ||
8111d37b | 1370 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
1371 | ||
1372 | * config/aarch64/arm_neon.h | |
1373 | (vcvt<sd>_f<32,64>_s<32,64>): Rewrite in C. | |
1374 | (vcvt<q>_f<32,64>_s<32,64>): Rewrite using builtins. | |
1375 | (vcvt_<high_>_f<32,64>_f<32,64>): Likewise. | |
1376 | (vcvt<qsd>_<su><32,64>_f<32,64>): Likewise. | |
1377 | (vcvta<qsd>_<su><32,64>_f<32,64>): Likewise. | |
1378 | (vcvtm<qsd>_<su><32,64>_f<32,64>): Likewise. | |
1379 | (vcvtn<qsd>_<su><32,64>_f<32,64>): Likewise. | |
1380 | (vcvtp<qsd>_<su><32,64>_f<32,64>): Likewise. | |
1381 | ||
c14c74cf | 1382 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
1383 | ||
1384 | * config/aarch64/aarch64-simd.md | |
1385 | (<optab><VDQF:mode><fcvt_target>2): New, maps to fix, fixuns. | |
1386 | (<fix_trunc_optab><VDQF:mode><fcvt_target>2): New, maps to | |
1387 | fix_trunc, fixuns_trunc. | |
1388 | (ftrunc<VDQF:mode>2): New. | |
1389 | * config/aarch64/iterators.md (optab): Add fix, fixuns. | |
1390 | (fix_trunc_optab): New. | |
1391 | ||
2ddf5043 | 1392 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
1393 | ||
1394 | * config/aarch64/aarch64-builtins.c | |
1395 | (aarch64_builtin_vectorized_function): Vectorize over ifloorf, | |
1396 | iceilf, lround, iroundf. | |
1397 | ||
2a631a93 | 1398 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
1399 | ||
1400 | PR target/54349 | |
1401 | * config/i386/i386.h (enum ix86_tune_indices) | |
1402 | <X86_TUNE_INTER_UNIT_MOVES_TO_VEC, X86_TUNE_INTER_UNIT_MOVES_FROM_VEC>: | |
1403 | New, split from X86_TUNE_INTER_UNIT_MOVES. | |
1404 | <X86_TUNE_INTER_UNIT_MOVES>: Remove. | |
1405 | (TARGET_INTER_UNIT_MOVES_TO_VEC): New define. | |
1406 | (TARGET_INTER_UNIT_MOVES_FROM_VEC): Ditto. | |
1407 | (TARGET_INTER_UNIT_MOVES): Remove. | |
1408 | * config/i386/i386.c (initial_ix86_tune_features): Update. | |
1409 | Disable X86_TUNE_INTER_UNIT_MOVES_FROM_VEC for m_ATHLON_K8 only. | |
1410 | (ix86_expand_convert_uns_didf_sse): Use | |
1411 | TARGET_INTER_UNIT_MOVES_TO_VEC instead of TARGET_INTER_UNIT_MOVES. | |
1412 | (ix86_expand_vector_init_one_nonzero): Ditto. | |
1413 | (ix86_expand_vector_init_interleave): Ditto. | |
1414 | (inline_secondary_memory_needed): Return true for moves from SSE class | |
1415 | registers for !TARGET_INTER_UNIT_MOVES_FROM_VEC targets and for moves | |
1416 | to SSE class registers for !TARGET_INTER_UNIT_MOVES_TO_VEC targets. | |
1417 | * config/i386/constraints.md (Yi, Ym): Depend on | |
1418 | TARGET_INTER_UNIT_MOVES_TO_VEC. | |
1419 | (Yj, Yn): New constraints. | |
1420 | * config/i386/i386.md (*movdi_internal): Change constraints of | |
1421 | operand 1 from Yi to Yj and from Ym to Yn. | |
1422 | (*movsi_internal): Ditto. | |
1423 | (*movdf_internal): Ditto. | |
1424 | (*movsf_internal): Ditto. | |
1425 | (*float<SWI48x:mode><X87MODEF:mode>2_1): Use | |
1426 | TARGET_INTER_UNIT_MOVES_TO_VEC instead of TARGET_INTER_UNIT_MOVES. | |
1427 | (*float<SWI48x:mode><X87MODEF:mode>2_1 splitters): Ditto. | |
1428 | (floatdi<X87MODEF:mode>2_i387_with_xmm): Ditto. | |
1429 | (floatdi<X87MODEF:mode>2_i387_with_xmm splitters): Ditto. | |
1430 | * config/i386/sse.md (movdi_to_sse): Ditto. | |
1431 | (sse2_stored): Change constraint of operand 1 from Yi to Yj. | |
1432 | Use TARGET_INTER_UNIT_MOVES_FROM_VEC instead of | |
1433 | TARGET_INTER_UNIT_MOVES. | |
1434 | (sse_storeq_rex64): Change constraint of operand 1 from Yi to Yj. | |
1435 | (sse_storeq_rex64 splitter): Use TARGET_INTER_UNIT_MOVES_FROM_VEC | |
1436 | instead of TARGET_INTER_UNIT_MOVES. | |
1437 | * config/i386/mmx.md (*mov<mode>_internal): Change constraint of | |
1438 | operand 1 from Yi to Yj and from Ym to Yn. | |
1439 | ||
9f224c46 | 1440 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
1441 | ||
1442 | * config/aarch64/aarch64-simd-builtins.def (vec_unpacks_hi_): New. | |
1443 | (float_truncate_hi_): Likewise. | |
1444 | (float_extend_lo_): Likewise. | |
1445 | (float_truncate_lo_): Likewise. | |
1446 | * config/aarch64/aarch64-simd.md (vec_unpacks_lo_v4sf): New. | |
1447 | (aarch64_float_extend_lo_v2df): Likewise. | |
1448 | (vec_unpacks_hi_v4sf): Likewise. | |
1449 | (aarch64_float_truncate_lo_v2sf): Likewise. | |
1450 | (aarch64_float_truncate_hi_v4sf): Likewise. | |
1451 | (vec_pack_trunc_v2df): Likewise. | |
1452 | (vec_pack_trunc_df): Likewise. | |
1453 | ||
865dd64d | 1454 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
1455 | ||
1456 | * config/aarch64/aarch64-builtins.c | |
1457 | (aarch64_fold_builtin): Fold float conversions. | |
1458 | * config/aarch64/aarch64-simd-builtins.def | |
1459 | (floatv2si, floatv4si, floatv2di): New. | |
1460 | (floatunsv2si, floatunsv4si, floatunsv2di): Likewise. | |
1461 | * config/aarch64/aarch64-simd.md | |
1462 | (<optab><fcvt_target><VDQF:mode>2): New, expands to float and floatuns. | |
1463 | * config/aarch64/iterators.md (FLOATUORS): New. | |
1464 | (optab): Add float, floatuns. | |
1465 | (su_optab): Likewise. | |
1466 | ||
2fc9b3fc | 1467 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
1468 | ||
1469 | * config/aarch64/aarch64-builtins.c | |
1470 | (aarch64_builtin_vectorized_function): Use new names for | |
1471 | fcvt builtins. | |
1472 | * config/aarch64/aarch64-simd-builtins.def (fcvtzs): Split as... | |
1473 | (lbtruncv2sf, lbtruncv4sf, lbtruncv2df): ...This. | |
1474 | (fcvtzu): Split as... | |
1475 | (lbtruncuv2sf, lbtruncuv4sf, lbtruncuv2df): ...This. | |
1476 | (fcvtas): Split as... | |
1477 | (lroundv2sf, lroundv4sf, lroundv2df, lroundsf, lrounddf): ...This. | |
1478 | (fcvtau): Split as... | |
1479 | (lrounduv2sf, lrounduv4sf, lrounduv2df, lroundusf, lroundudf): ...This. | |
1480 | (fcvtps): Split as... | |
1481 | (lceilv2sf, lceilv4sf, lceilv2df): ...This. | |
1482 | (fcvtpu): Split as... | |
1483 | (lceiluv2sf, lceiluv4sf, lceiluv2df, lceilusf, lceiludf): ...This. | |
1484 | (fcvtms): Split as... | |
1485 | (lfloorv2sf, lfloorv4sf, lfloorv2df): ...This. | |
1486 | (fcvtmu): Split as... | |
1487 | (lflooruv2sf, lflooruv4sf, lflooruv2df, lfloorusf, lfloorudf): ...This. | |
1488 | (lfrintnv2sf, lfrintnv4sf, lfrintnv2df, lfrintnsf, lfrintndf): New. | |
1489 | (lfrintnuv2sf, lfrintnuv4sf, lfrintnuv2df): Likewise. | |
1490 | (lfrintnusf, lfrintnudf): Likewise. | |
1491 | * config/aarch64/aarch64-simd.md | |
1492 | (l<fcvt_pattern><su_optab><fcvt_target><VDQF:mode>2): Convert to | |
1493 | define_insn. | |
1494 | (aarch64_fcvt<frint_suffix><su><mode>): Remove. | |
1495 | * config/aarch64/iterators.md (FCVT): Include UNSPEC_FRINTN. | |
1496 | (fcvt_pattern): Likewise. | |
1497 | ||
38c0c992 | 1498 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
1499 | ||
1500 | * config/aarch64/aarch64-simd.md | |
1501 | (l<fcvt_pattern><su_optab><fcvt_target><VDQF:mode>2): Rename to... | |
1502 | (l<fcvt_pattern><su_optab><VDQF:mode><fcvt_target>2): ... This. | |
1503 | ||
0c882306 | 1504 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
1505 | ||
1506 | * config/aarch64/arm_neon.h (vrndq<a,m,n,p>_f<32, 64>): Rename to... | |
1507 | (vrnd<a,m,n,p>q_f<32, 64>): ...This, implement using builtin. | |
1508 | (vrnd<a,m,n,p>_f32): Implement using builtins. | |
1509 | (vrnd<i,x><q>_f<32, 64>): New. | |
1510 | ||
abb2e961 | 1511 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
1512 | ||
1513 | * config/aarch64/aarch64-builtins.c | |
1514 | (aarch64_builtin_vectorized_function): Fold to standard pattern names. | |
1515 | * config/aarch64/aarch64-simd-builtins.def (frintn): New. | |
1516 | (frintz): Rename to... | |
1517 | (btrunc): ...this. | |
1518 | (frintp): Rename to... | |
1519 | (ceil): ...this. | |
1520 | (frintm): Rename to... | |
1521 | (floor): ...this. | |
1522 | (frinti): Rename to... | |
1523 | (nearbyint): ...this. | |
1524 | (frintx): Rename to... | |
1525 | (rint): ...this. | |
1526 | (frinta): Rename to... | |
1527 | (round): ...this. | |
1528 | * config/aarch64/aarch64-simd.md | |
1529 | (aarch64_frint<frint_suffix><mode>): Delete. | |
1530 | (<frint_pattern><mode>2): Convert to insn. | |
1531 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_FRINTN. | |
1532 | * config/aarch64/iterators.md (FRINT): Add UNSPEC_FRINTN. | |
1533 | (frint_pattern): Likewise. | |
1534 | (frint_suffix): Likewise. | |
1535 | ||
9584aa9d | 1536 | 2013-04-29 Richard Biener <rguenther@suse.de> |
1537 | ||
1538 | PR tree-optimization/57081 | |
1539 | * loop-init.c: Include tree-flow.h. | |
1540 | (loop_optimizer_finalize): Free number of iteration estimates. | |
1541 | * Makefile.in (loop-init.o): Add $(TREE_FLOW_H) dependency. | |
1542 | ||
ebdfd365 | 1543 | 2013-04-29 Jakub Jelinek <jakub@redhat.com> |
1544 | ||
5b566583 | 1545 | PR tree-optimization/57083 |
1546 | * tree-vrp.c (extract_range_from_binary_expr_1): For LSHIFT_EXPR with | |
1547 | non-singleton shift count range, zero extend low_bound for uns case. | |
1548 | ||
ebdfd365 | 1549 | * config/i386/predicates.md (general_vector_operand): New predicate. |
1550 | * config/i386/i386.c (const_vector_equal_evenodd_p): New function. | |
1551 | (ix86_expand_mul_widen_evenodd): Force op1 resp. op2 into register | |
1552 | if they aren't nonimmediate operands. If their original values | |
1553 | satisfy const_vector_equal_evenodd_p, don't shift them. | |
1554 | * config/i386/sse.md (mul<mode>3): Use general_vector_operand | |
1555 | predicates. For the SSE4.1 case force operands[{1,2}] into registers | |
1556 | if not nonimmediate_operand. | |
1557 | (vec_widen_smult_even_v4si): Use nonimmediate_operand predicates | |
1558 | instead of register_operand. | |
1559 | (vec_widen_<s>mult_odd_<mode>): Use general_vector_operand predicates. | |
1560 | ||
992a05af | 1561 | 2013-04-28 Eric Botcazou <ebotcazou@adacore.com> |
c6cfb282 | 1562 | |
1563 | * stor-layout.c (finalize_size_functions): Allocate a structure and | |
1564 | reset cfun before dumping the functions. | |
1565 | ||
a31cce64 | 1566 | 2013-04-27 Jakub Jelinek <jakub@redhat.com> |
1567 | ||
95d51e38 | 1568 | * config/i386/i386.c (ix86_expand_call): Make cregs_size unsigned. |
1569 | ||
a31cce64 | 1570 | PR target/56866 |
1571 | * config/i386/i386.c (ix86_expand_mul_widen_evenodd): Don't | |
1572 | use xop_pmacsdqh if uns_p. | |
1573 | * config/i386/sse.md (xop_rotr<mode>3): Fix up computation of | |
1574 | the immediate rotate count. | |
1575 | ||
ea99c7a1 | 1576 | 2013-04-26 Vladimir Makarov <vmakarov@redhat.com> |
1577 | ||
1578 | * rtl.h (struct rtx_def): Add comment for field jump. | |
1579 | (LRA_SUBREG_P): New macro. | |
1580 | * recog.c (register_operand): Check LRA_SUBREG_P. | |
1581 | * lra.c (lra): Add note at the end of RTL code. Align non-empty | |
1582 | stack frame. | |
1583 | * lra-spills.c (lra_spill): Align stack after spilling pseudos. | |
1584 | (lra_final_code_change): Skip subreg change for operators. | |
1585 | * lra-eliminations.c (eliminate_regs_in_insn): Make return earlier | |
1586 | if there are no operand changes. | |
1587 | * lra-constraints.c (curr_insn_set): New. | |
1588 | (match_reload): Set LRA_SUBREG_P. | |
1589 | (emit_spill_move): Ditto. | |
1590 | (check_and_process_move): Use curr_insn_set. Process only single | |
1591 | set insns. Don't initialize sec_mem_p and change_p. | |
1592 | (simplify_operand_subreg): Use LRA_SUBREG_P. | |
1593 | (reg_in_class_p): New function. | |
1594 | (process_alt_operands): Use it. Use #if HAVE_ATTR_enabled instead | |
1595 | of #ifdef. Add code to remove cycling. | |
1596 | (process_address): Check EXTRA_CONSTRAINT_STR. Process even if | |
1597 | non-null disp. Reload inner instead of disp when base and index | |
1598 | are null. Try to put lo_sum into register. | |
1599 | (EBB_PROBABILITY_CUTOFF): Redefine probability in percents. | |
1600 | (check_and_process_move): Move code for move cost check to | |
1601 | simple_move_p. Remove equiv_substitution. | |
1602 | (simple_move_p): New function. | |
1603 | (curr_insn_transform): Initialize sec_mem_p and change_p. Set up | |
1604 | curr_insn_set. Call check_and_process_move only for single set | |
1605 | insns. Use the new function. Move call of check_and_process_move | |
1606 | after operand equiv substitution and address process. | |
1607 | ||
f585c295 | 1608 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
1609 | ||
1610 | PR go/57045 | |
1611 | * tree-ssa-uninit.c (compute_uninit_opnds_pos): In functions | |
1612 | with nonlocal goto receivers or returns twice calls, ignore | |
1613 | unininitialized values from abnormal edges to nl goto receiver | |
1614 | or returns twice call. | |
1615 | ||
b7219196 | 1616 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
1617 | ||
1618 | PR tree-optimization/57051 | |
1619 | * fold-const.c (const_binop): Handle VEC_LSHIFT_EXPR | |
1620 | and VEC_RSHIFT_EXPR if shift count is a multiple of element | |
1621 | bitsize. | |
1622 | ||
82b40354 | 1623 | 2013-04-26 Richard Biener <rguenther@suse.de> |
1624 | ||
1625 | * omp-low.c (finalize_task_copyfn): Do not drop PROP_loops. | |
1626 | (expand_omp_taskreg): Likewise. Mark loops for fixup. | |
1627 | * tree-cfg.c (move_block_to_fn): Remap loop fathers. | |
1628 | (fixup_loop_arrays_after_move): New function. | |
1629 | (move_sese_region_to_fn): Properly outline the loop tree parts | |
1630 | of the SESE region. | |
1631 | ||
baad29fe | 1632 | 2013-04-26 Uros Bizjak <ubizjak@gmail.com> |
1633 | ||
1634 | * config/i386/i386.md (type, unit): Fix long lines. | |
1635 | ||
7a569539 | 1636 | 2013-04-26 Richard Biener <rguenther@suse.de> |
1637 | ||
1638 | * Makefile.in (lto-streamer-in.o): Add $(CFGLOOP_H) dependency. | |
1639 | (lto-streamer-out.o): Likewise. | |
1640 | * cfgloop.c (init_loops_structure): Export, add struct function | |
1641 | argument and adjust. | |
1642 | (flow_loops_find): Adjust. | |
1643 | * cfgloop.h (enum loop_estimation): Add EST_LAST. | |
1644 | (init_loops_structure): Declare. | |
1645 | * lto-streamer-in.c: Include cfgloop.h. | |
1646 | (input_cfg): Input the loop tree. | |
1647 | * lto-streamer-out.c: Include cfgloop.h. | |
1648 | (output_cfg): Output the loop tree. | |
1649 | (output_struct_function_base): Do not drop PROP_loops. | |
1650 | ||
f6568ea4 | 1651 | 2013-03-26 Richard Biener <rguenther@suse.de> |
1652 | ||
1653 | * tree-cfg.c (execute_build_cfg): Build the loop tree. | |
1654 | (pass_build_cfg): Provide PROP_loops. | |
1655 | (move_sese_region_to_fn): Remove loops that are outlined into fn | |
1656 | for now. | |
1657 | * tree-inline.c: Include cfgloop.h. | |
1658 | (initialize_cfun): Do not drop PROP_loops. | |
1659 | (copy_loops): New function. | |
1660 | (copy_cfg_body): Copy loop structure. | |
1661 | (tree_function_versioning): Initialize destination loop tree. | |
1662 | * tree-ssa-loop.c (pass_tree_loop_init): Do not provide PROP_loops. | |
1663 | (pass_parallelize_loops): Do IL verification. | |
1664 | * loop-init.c (loop_optimizer_init): Fixup loops if required. | |
1665 | * tree-optimize.c (execute_fixup_cfg): If we need to cleanup | |
1666 | the CFG make sure we fixup loops as well. | |
1667 | * tree-ssa-tail-merge.c: Include cfgloop.h. | |
1668 | (replace_block_by): When merging loop latches mark loops for fixup. | |
1669 | * lto-streamer-out.c (output_struct_function_base): Drop | |
1670 | PROP_loops for now. | |
1671 | * tree-ssa-phiopt.c: Include tree-scalar-evolution.h. | |
1672 | (tree_ssa_cs_elim): Initialize the loop optimizer and SCEV. | |
1673 | * ipa-split.c: Include cfgloop.h. | |
1674 | (split_function): Add the new return block to the loop tree root. | |
1675 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Return | |
1676 | whether we have removed the forwarder block. | |
1677 | (merge_phi_nodes): If we removed a forwarder mark loops for fixup. | |
1678 | * cfgloop.h (place_new_loop): Declare. | |
1679 | * cfgloopmanip.c (place_new_loop): Export. | |
1680 | * Makefile.in (asan.o): Add $(CFGLOOP_H) dependency. | |
1681 | (tree-switch-conversion.o): Likewise. | |
1682 | (tree-complex.o): Likewise. | |
1683 | (tree-inline.o): Likewise. | |
1684 | (tree-ssa-tailmerge.o): Likewise. | |
1685 | (ipa-split.o): Likewise. | |
1686 | (tree-ssa-phiopt.o): Add $(SCEV_H) dependency. | |
1687 | (tree-ssa-copy.o): Likewise. | |
1688 | * tree-switch-conversion.c: Include cfgloop.h | |
1689 | (process_switch): If we emit a bit-test cascade, schedule loops | |
1690 | for fixup. | |
1691 | * tree-complex.c: Include cfgloop.h. | |
1692 | (expand_complex_div_wide): Properly add new basic-blocks to loops. | |
1693 | * asan.c: Include cfgloop.h. | |
1694 | (create_cond_insert_point): Properly add new basic-blocks to | |
1695 | loops, schedule loop fixup. | |
1696 | * cfgloop.c (verify_loop_structure): Check that looks are not | |
1697 | marked for fixup. | |
1698 | * omp-low.c (expand_parallel_call): Properly add new basic-blocks | |
1699 | to loops. | |
1700 | (expand_omp_for_generic): Likewise. | |
1701 | (expand_omp_sections): Likewise. | |
1702 | (expand_omp_atomic_pipeline): Schedule loops for fixup. | |
1703 | * tree-ssa-copy.c: Include tree-scalar-evolution.h. | |
1704 | (fini_copy_prop): Disable DCE in substitute_and_fold if SCEV | |
1705 | is initialized, not when loops are present. | |
1706 | * tree-parloops.c (parallelize_loops): Remove checking here. | |
1707 | * passes.c (init_optimization_passes): Schedule a copy-propagation | |
1708 | pass before complete unrolling of inner loops. | |
1709 | ||
2cafe211 | 1710 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
1711 | ||
71eeb8d3 | 1712 | * Makefile.in (toplev.o): Depend on diagnostic-color.h. |
1713 | * diagnostic-color.c (should_colorize): Remove _WIN32 version. | |
1714 | (colorize_init): Add argument to _WIN32 version. | |
1715 | * toplev.c: Include diagnostic-color.h. | |
1716 | (process_options): Default to -fdiagnostics-color=auto if | |
1717 | GCC_COLORS env var is in the environment. | |
1718 | * common.opt (fdiagnostics-color=): Add Var and Init. | |
baad29fe | 1719 | * doc/invoke.texi (-fdiagnostics-color=): Document that if GCC_COLORS |
1720 | env var is in the environment, the default is auto rather than never. | |
71eeb8d3 | 1721 | |
2cafe211 | 1722 | * diagnostic.h (file_name_as_prefix): Add context argument. |
1723 | * diagnostic.c (file_name_as_prefix): Likewise. Colorize | |
1724 | the string as locus. | |
1725 | * langhooks.c (lhd_print_error_function): Adjust caller. | |
1726 | ||
33df9a15 | 1727 | 2013-04-25 Lawrence Crowl <crowl@google.com> |
1728 | ||
1729 | * var-tracking.c (shared_hash_def::htab): | |
1730 | Change type to hash_table. Update dependent calls and types. | |
1731 | ||
d9dd21a8 | 1732 | 2013-04-25 Lawrence Crowl <crowl@google.com> |
1733 | ||
1734 | * Makefile.in: Update as needed below. | |
1735 | ||
1736 | * alloc-pool.c (static hash_table <alloc_pool_hasher> alloc_pool_hash): | |
1737 | Move declaration to after the type's method definitons. | |
1738 | ||
1739 | * attribs.c (htab_t scoped_attributes::attribute_hash): | |
1740 | Change type to hash_table. Update dependent calls and types. | |
1741 | ||
1742 | * bitmap.c (htab_t bitmap_desc_hash): | |
1743 | Change type to hash_table. Update dependent calls and types. | |
1744 | ||
1745 | * cselib.c (htab_t cselib_hash_table): | |
1746 | Change type to hash_table. Update dependent calls and types. | |
1747 | ||
1748 | * data-streamer.h (struct string_slot): Move to lto-streamer.h. | |
1749 | (hash_string_slot_node): Move implementation into lto-streamer.h | |
1750 | struct string_slot_hasher. | |
1751 | (eq_string_slot_node): Likewise. | |
1752 | ||
1753 | * data-streamer-out.c: Update output_block::string_hash_table | |
1754 | dependent calls and types. | |
1755 | ||
1756 | * dwarf2cfi.c (htab_t trace_index): | |
1757 | Change type to hash_table. Update dependent calls and types. | |
1758 | ||
1759 | * dwarf2out.c (htab_t break_out_includes::cu_hash_table): | |
1760 | Change type to hash_table. Update dependent calls and types. | |
1761 | (htab_t copy_decls_for_unworthy_types::decl_table): Likewise. | |
1762 | (htab_t optimize_external_refs::map): Likewise. | |
1763 | (htab_t output_comp_unit::extern_map): Likewise. | |
1764 | (htab_t output_comdat_type_unit::extern_map): Likewise. | |
1765 | (htab_t output_macinfo::macinfo_htab): Likewise. | |
1766 | (htab_t optimize_location_lists::htab): Likewise. | |
1767 | (htab_t dwarf2out_finish::comdat_type_table): Likewise. | |
1768 | ||
1769 | * except.c (htab_t ehspec_hash_type): | |
1770 | Change type to hash_table. Update dependent calls and types. | |
1771 | (assign_filter_values::ttypes): Likewise. | |
1772 | (assign_filter_values::ehspec): Likewise. | |
1773 | (sjlj_assign_call_site_values::ar_hash): Likewise. | |
1774 | (convert_to_eh_region_ranges::ar_hash): Likewise. | |
1775 | ||
1776 | * gcse.c (htab_t pre_ldst_table): | |
1777 | Change type to hash_table. Update dependent calls and types. | |
1778 | ||
1779 | * ggc-common.c (htab_t saving_htab): | |
1780 | Change type to hash_table. Update dependent calls and types. | |
1781 | (htab_t loc_hash): Likewise. | |
1782 | (htab_t ptr_hash): Likewise. | |
1783 | (call_count): Rename ggc_call_count. | |
1784 | (call_alloc): Rename ggc_call_alloc. | |
1785 | (loc_descriptor): Rename make_loc_descriptor. | |
1786 | (add_statistics): Rename ggc_add_statistics. | |
1787 | ||
1788 | * ggc-common.c (saving_htab): | |
1789 | Change type to hash_table. Update dependent calls and types. | |
1790 | ||
1791 | * gimple.h (struct gimplify_ctx): Move to gimplify-ctx.h. | |
1792 | (push_gimplify_context): Likewise. | |
1793 | (pop_gimplify_context): Likewise. | |
1794 | (struct gimple_temp_hash_elt): Added. | |
1795 | (struct gimplify_hasher): Likewise. | |
1796 | (struct gimplify_ctx.temp_htab): | |
1797 | Change type to hash_table. Update dependent calls and types. | |
1798 | ||
1799 | * gimple-fold.c: Include gimplify-ctx.h. | |
1800 | ||
1801 | * gimple-ssa-strength-reduction.c (htab_t base_cand_map): | |
1802 | Change type to hash_table. Update dependent calls and types. | |
1803 | (base_cand_dump_callback): Rename to ssa_base_cand_dump_callback to | |
1804 | avoid potential global name collision. | |
1805 | ||
1806 | * gimplify.c: Include gimplify-ctx.h. | |
1807 | (struct gimple_temp_hash_elt): Move to gimplify-ctx.h. | |
1808 | (htab_t gimplify_ctx::temp_htab): | |
1809 | Update dependent calls and types for new type hash_table. | |
1810 | (gimple_tree_hash): Move into gimplify_hasher in gimplify-ctx.h. | |
1811 | (gimple_tree_eq): Move into gimplify_hasher in gimplify-ctx.h. | |
1812 | ||
1813 | * gimplify-ctx.h: New. | |
1814 | (struct gimple_temp_hash_elt): Move from gimplify.c. | |
1815 | (class gimplify_hasher): New. | |
1816 | (struct gimplify_ctx): Move from gimple.h. | |
1817 | (htab_t gimplify_ctx::temp_htab): | |
1818 | Change type to hash_table. Update dependent calls and types. | |
1819 | ||
1820 | * graphite-clast-to-gimple.c: Include graphite-htab.h. | |
1821 | (htab_t ivs_params::newivs_index): | |
1822 | Change type to hash_table. Update dependent calls and types. | |
1823 | (htab_t ivs_params::params_index): Likewise. | |
1824 | (htab_t print_generated_program::params_index): Likewise. | |
1825 | (htab_t gloog::newivs_index): Likewise. | |
1826 | (htab_t gloog::params_index): Likewise. | |
1827 | ||
1828 | * graphite.c: Include graphite-htab.h. | |
1829 | 4htab_t graphite_transform_loops::bb_pbb_mapping): | |
1830 | Change type to hash_table. Update dependent calls and types. | |
1831 | ||
1832 | * graphite-clast-to-gimple.h: (extern gloog) Move to graphite-htab.h. | |
1833 | (bb_pbb_map_hash): Fold into bb_pbb_htab_type in graphite-htab.h. | |
1834 | (eq_bb_pbb_map): Fold into bb_pbb_htab_type in graphite-htab.h. | |
1835 | ||
1836 | * graphite-dependences.c: Include graphite-htab.h. | |
1837 | (loop_is_parallel_p): Change hash table type of parameter. | |
1838 | ||
1839 | * graphite-htab.h: New. | |
1840 | (typedef hash_table <bb_pbb_hasher> bb_pbb_htab_type): New. | |
1841 | (extern find_pbb_via_hash): Move from graphite-poly.h. | |
1842 | (extern loop_is_parallel_p): Move from graphite-poly.h. | |
1843 | (extern get_loop_body_pbbs): Move from graphite-poly.h. | |
1844 | ||
1845 | * graphite-poly.h (extern find_pbb_via_hash): Move to graphite-htab.h. | |
1846 | (extern loop_is_parallel_p): Move to graphite-htab.h. | |
1847 | (extern get_loop_body_pbbs): Move to graphite-htab.h. | |
1848 | ||
1849 | * haifa-sched.c (htab_t delay_htab): | |
1850 | Change type to hash_table. Update dependent calls and types. | |
1851 | (htab_t delay_htab_i2): Likewise. | |
1852 | ||
1853 | * ira-color.c (htab_t allocno_hard_regs_htab): | |
1854 | Change type to hash_table. Update dependent calls and types. | |
1855 | ||
1856 | * ira-costs.c (htab_t cost_classes_htab): | |
1857 | Change type to hash_table. Update dependent calls and types. | |
1858 | ||
1859 | * loop-invariant.c (htab_t merge_identical_invariants::eq): | |
1860 | Change type to hash_table. Update dependent calls and types. | |
1861 | ||
1862 | * loop-iv.c (htab_t bivs): | |
1863 | Change type to hash_table. Update dependent calls and types. | |
1864 | ||
1865 | * loop-unroll.c (htab_t opt_info::insns_to_split): | |
1866 | Change type to hash_table. Update dependent calls and types. | |
1867 | (htab_t opt_info::insns_with_var_to_expand): Likewise. | |
1868 | ||
1869 | * lto-streamer.h (struct string_slot): Move from data-streamer.h | |
1870 | (struct string_slot_hasher): New. | |
1871 | (htab_t output_block::string_hash_table): | |
1872 | Change type to hash_table. Update dependent calls and types. | |
1873 | ||
1874 | * lto-streamer-in.c (freeing_string_slot_hasher): New. | |
1875 | (htab_t file_name_hash_table): | |
1876 | Change type to hash_table. Update dependent calls and types. | |
1877 | ||
1878 | * lto-streamer-out.c: Update output_block::string_hash_table dependent | |
1879 | calls and types. | |
1880 | ||
1881 | * lto-streamer.c (htab_t tree_htab): | |
1882 | Change type to hash_table. Update dependent calls and types. | |
1883 | ||
1884 | * omp-low.c: Include gimplify-ctx.h. | |
1885 | ||
1886 | * passes.c (htab_t name_to_pass_map): | |
1887 | Change type to hash_table. Update dependent calls and types. | |
1888 | (pass_traverse): Rename to passes_pass_traverse. | |
1889 | ||
1890 | * plugin.c (htab_t event_tab): | |
1891 | Change type to hash_table. Update dependent calls and types. | |
1892 | ||
1893 | * postreload-gcse.c (htab_t expr_table): | |
1894 | Change type to hash_table. Update dependent calls and types. | |
1895 | (dump_hash_table_entry): Rename dump_expr_hash_table_entry. | |
1896 | ||
1897 | * sese.c (debug_rename_map_1): Make extern. | |
1898 | (htab_t copy_bb_and_scalar_dependences::rename_map): | |
1899 | Change type to hash_table. Update dependent calls and types. | |
1900 | ||
1901 | * sese.h (extern debug_rename_map): Move to .c file. | |
1902 | ||
1903 | * store-motion.c (htab_t store_motion_mems_table): | |
1904 | Change type to hash_table. Update dependent calls and types. | |
1905 | ||
1906 | * trans-mem.c (htab_t tm_new_mem_hash): | |
1907 | Change type to hash_table. Update dependent calls and types. | |
1908 | ||
1909 | * tree-browser.c (htab_t TB_up_ht): | |
1910 | Change type to hash_table. Update dependent calls and types. | |
1911 | ||
1912 | * tree-cfg.c (htab_t discriminator_per_locus): | |
1913 | Change type to hash_table. Update dependent calls and types. | |
1914 | ||
1915 | * tree-complex.c: Include tree-hasher.h | |
1916 | (htab_t complex_variable_components): | |
1917 | Change type to hash_table. Update dependent calls and types. | |
1918 | ||
1919 | * tree-eh.c (htab_t finally_tree): | |
1920 | Change type to hash_table. Update dependent calls and types. | |
1921 | ||
1922 | * tree-flow.h (extern int_tree_map_hash): Moved into tree-hasher | |
1923 | struct int_tree_hasher. | |
1924 | (extern int_tree_map_eq): Likewise. | |
1925 | (uid_decl_map_hash): Removed. | |
1926 | (extern decl_tree_map_eq): Likewise. | |
1927 | ||
1928 | * tree-hasher.h: New. | |
1929 | (struct int_tree_hasher): New. | |
1930 | (typedef int_tree_htab_type): New. | |
1931 | ||
1932 | * tree-inline.c: Include gimplify-ctx.h. | |
1933 | ||
1934 | * tree-mudflap.c: Include gimplify-ctx.h. | |
1935 | ||
1936 | * tree-parloops.c: Include tree-hasher.h. | |
1937 | (htab_t eliminate_local_variables_stmt::decl_address): | |
1938 | Change type to hash_table. Update dependent calls and types. | |
1939 | (htab_t separate_decls_in_region::decl_copies): Likewise. | |
1940 | ||
1941 | * tree-scalar-evolution.c (htab_t resolve_mixers::cache): | |
1942 | Change type to hash_table. Update dependent calls and types. | |
1943 | ||
1944 | * tree-sra.c (candidates): | |
1945 | Change type to hash_table. Update dependent calls and types. | |
1946 | ||
1947 | * tree-ssa.c (int_tree_map_eq): Moved into struct int_tree_hasher | |
1948 | in tree-flow.h. | |
1949 | (int_tree_map_hash): Likewise. | |
1950 | ||
1951 | * tree-ssa-dom.c (htab_t avail_exprs): | |
1952 | Change type to hash_table. Update dependent calls and types. | |
1953 | ||
1954 | * tree-ssa-live.c (var_map_base_init::tree_to_index): | |
1955 | Change type to hash_table. Update dependent calls and types. | |
1956 | ||
1957 | * tree-ssa-loop-ivopts.c (struct ivopts_data.inv_expr_tab): | |
1958 | Change type to hash_table. Update dependent calls and types. | |
1959 | ||
1960 | * tree-ssa-phiopt.c (seen_ssa_names): | |
1961 | Change type to hash_table. Update dependent calls and types. | |
1962 | ||
1963 | * tree-ssa-strlen.c (decl_to_stridxlist_htab): | |
1964 | Change type to hash_table. Update dependent calls and types. | |
1965 | ||
1966 | * tree-ssa-uncprop.c (equiv): | |
1967 | Change type to hash_table. Update dependent calls and types. | |
1968 | ||
ca719585 | 1969 | 2013-04-25 Jakub Jelinek <jakub@redhat.com> |
1970 | ||
1971 | PR rtl-optimization/57003 | |
1972 | * regcprop.c (copyprop_hardreg_forward_1): If ksvd.ignore_set_reg, | |
1973 | call note_stores with kill_clobbered_value callback again after | |
1974 | killing regs_invalidated_by_call. | |
1975 | ||
0a627f67 | 1976 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
1977 | ||
1978 | * config/aarch64/aarch64-simd.md | |
1979 | (aarch64_simd_bsl<mode>_internal): Rewrite RTL to not use UNSPEC_BSL. | |
1980 | (aarch64_simd_bsl<mode>): Likewise. | |
1981 | * config/aarch64/iterators.md (unspec): Remove UNSPEC_BSL. | |
1982 | ||
7695fea9 | 1983 | 2013-04-25 Marek Polacek <polacek@redhat.com> |
1984 | ||
1985 | PR tree-optimization/57066 | |
65c52515 | 1986 | * builtins.c (fold_builtin_logb): Return +Inf for -Inf. |
7695fea9 | 1987 | |
535e3387 | 1988 | 2013-04-25 James Greenhalgh <jame.greenhalgh@arm.com> |
1989 | ||
1990 | * config/aarch64/aarch64-simd.md (neg<mode>2): Use VDQ iterator. | |
1991 | ||
f164e9a5 | 1992 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
1993 | ||
1994 | * config/aarch64/aarch64-builtins.c | |
1995 | (aarch64_fold_builtin): New. | |
1996 | * config/aarch64/aarch64-protos.h (aarch64_fold_builtin): New. | |
1997 | * config/aarch64/aarch64.c (TARGET_FOLD_BUILTIN): Define. | |
1998 | * config/aarch64/aarch64-simd-builtins.def (abs): New. | |
1999 | * config/aarch64/arm_neon.h | |
2000 | (vabs<q>_<f32, 64>): Implement using __builtin_aarch64_fabs. | |
2001 | ||
58aab7ce | 2002 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
2003 | Tejas Belagod <tejas.belagod@arm.com> | |
2004 | ||
2005 | * config/aarch64/aarch64-builtins.c | |
2006 | (aarch64_gimple_fold_builtin): New. | |
2007 | * config/aarch64/aarch64-protos.h (aarch64_gimple_fold_builtin): New. | |
2008 | * config/aarch64/aarch64-simd-builtins.def (addv): New. | |
2009 | * config/aarch64/aarch64-simd.md (addpv4sf): New. | |
2010 | (addvv4sf): Update. | |
2011 | * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Define. | |
2012 | ||
c7262ba2 | 2013 | 2013-04-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
2014 | ||
baad29fe | 2015 | * config/aarch64/aarch64.md |
c7262ba2 | 2016 | (*cmp_swp_<optab><ALLX:mode>_shft_<GPI:mode>): New pattern. |
2017 | ||
993fed27 | 2018 | 2013-04-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
2019 | ||
2020 | * config/aarch64/aarch64.md (*ngc<mode>): New pattern. | |
2021 | (*ngcsi_uxtw): New pattern. | |
2022 | ||
8518cada | 2023 | 2013-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
65c52515 | 2024 | Julian Brown <julian@codesourcery.com> |
8518cada | 2025 | |
2026 | * config/arm/arm.c (neon_builtin_type_mode): Add T_V4HF. | |
2027 | (TB_DREG): Add T_V4HF. | |
2028 | (v4hf_UP): New macro. | |
2029 | (neon_itype): Add NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. | |
baad29fe | 2030 | (arm_init_neon_builtins): Handle NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. |
8518cada | 2031 | Handle initialisation of V4HF. Adjust initialisation of reinterpret |
2032 | built-ins. | |
baad29fe | 2033 | (arm_expand_neon_builtin): Handle NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. |
8518cada | 2034 | (arm_vector_mode_supported_p): Handle V4HF. |
2035 | (arm_mangle_map): Handle V4HFmode. | |
2036 | * config/arm/arm.h (VALID_NEON_DREG_MODE): Add V4HF. | |
2037 | * config/arm/arm_neon_builtins.def: Add entries for | |
2038 | vcvtv4hfv4sf, vcvtv4sfv4hf. | |
2039 | * config/arm/neon.md (neon_vcvtv4sfv4hf): New pattern. | |
2040 | (neon_vcvtv4hfv4sf): Likewise. | |
2041 | * config/arm/neon-gen.ml: Handle half-precision floating point | |
2042 | features. | |
2043 | * config/arm/neon-testgen.ml: Handle Requires_FP_bit feature. | |
2044 | * config/arm/arm_neon.h: Regenerate. | |
2045 | * config/arm/neon.ml (type elts): Add F16. | |
2046 | (type vectype): Add T_float16x4, T_floatHF. | |
2047 | (type vecmode): Add V4HF. | |
2048 | (type features): Add Requires_FP_bit feature. | |
2049 | (elt_width): Handle F16. | |
2050 | (elt_class): Likewise. | |
2051 | (elt_of_class_width): Likewise. | |
2052 | (mode_of_elt): Refactor. | |
2053 | (type_for_elt): Handle F16, fix error messages. | |
2054 | (vectype_size): Handle T_float16x4. | |
2055 | (vcvt_sh): New function. | |
2056 | (ops): Add entries for vcvt_f16_f32, vcvt_f32_f16. | |
2057 | (string_of_vectype): Handle T_floatHF, T_float16, T_float16x4. | |
2058 | (string_of_mode): Handle V4HF. | |
2059 | * doc/arm-neon-intrinsics.texi: Regenerate. | |
2060 | ||
66a71b3d | 2061 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
2062 | ||
2063 | * config/aarch64/aarch64.c (aarch64_print_operand): Fix asm_fprintf | |
2064 | format specifier in 'X' case. | |
2065 | ||
0ee54873 | 2066 | 2013-04-25 Alan Modra <amodra@gmail.com> |
2067 | ||
2068 | PR target/57052 | |
2069 | * config/rs6000/rs6000.md (rotlsi3_internal7): Rename to | |
2070 | rotlsi3_internal7le and condition on !BYTES_BIG_ENDIAN. | |
2071 | (rotlsi3_internal8be): New BYTES_BIG_ENDIAN insn. | |
2072 | Repeat for many other rotate/shift and mask patterns using subregs. | |
2073 | Name lshiftrt insns. | |
2074 | (ashrdisi3_noppc64): Rename to ashrdisi3_noppc64be and condition | |
2075 | on WORDS_BIG_ENDIAN. | |
2076 | ||
d80dc920 | 2077 | 2013-04-25 Alan Modra <amodra@gmail.com> |
2078 | ||
2079 | * config.gcc: Support little-endian powerpc-linux targets. | |
2080 | * config/rs6000/linux.h (LINK_OS_LINUX_EMUL): Define. | |
2081 | (LINK_OS_LINUX_SPEC): Define. | |
2082 | * config/rs6000/linuxspe.h (TARGET_DEFAULT): | |
2083 | Preserve MASK_LITTLE_ENDIAN. | |
2084 | * config/rs6000/default64.h (TARGET_DEFAULT): Likewise. | |
2085 | * config/rs6000/linuxaltivec.h (TARGET_DEFAULT): Likewise. | |
2086 | * config/rs6000/linux64.h (OPTION_LITTLE_ENDIAN): Don't zero. | |
2087 | (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Define. | |
2088 | (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Use above. | |
2089 | * config/rs6000/rs6000.c (output_toc): Don't use .tc for TARGET_ELF. | |
2090 | Correct fp word order for little-endian. Don't shift toc entries | |
2091 | smaller than a word for little-endian. | |
2092 | * config/rs6000/rs6000.md (bswaphi2, bswapsi2 split): Comment. | |
2093 | (bswapdi2 splits): Correct low-part subreg for little-endian. | |
2094 | Remove wrong BYTES_BIG_ENDIAN tests, and rename vars to remove | |
2095 | low/high where such is correct only for be. | |
2096 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Allow | |
2097 | little-endian for -mcall-aixdesc. | |
2098 | ||
d04c855d | 2099 | 2013-04-25 Alan Modra <amodra@gmail.com> |
2100 | ||
2101 | * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use | |
2102 | replace_equiv_address_nv. | |
2103 | ||
1efbef15 | 2104 | 2013-04-25 Alan Modra <amodra@gmail.com> |
2105 | ||
2106 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Tidy. | |
2107 | ||
50580188 | 2108 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
2109 | ||
2110 | Revert: | |
2111 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> | |
2112 | * rtl.h (struct rtx_def): ... | |
1efbef15 | 2113 | |
74855d08 | 2114 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
2115 | ||
2116 | PR rtl-optimizations/57046 | |
2117 | * lra-constraints (split_reg): Set up lra_risky_transformations_p | |
2118 | for multi-reg splits. | |
2119 | ||
6c4ccb7b | 2120 | 2013-04-24 H.J. Lu <hongjiu.lu@intel.com> |
2121 | ||
2122 | * config/i386/x86-64.h (ASM_SPEC): Support -mx32. | |
2123 | ||
1c74176c | 2124 | 2013-04-24 Sterling Augustine <saugustine@google.com> |
2125 | ||
2126 | * dwarf2out.c (skeleton_debug_str_hash, add_skeleton_AT_string) | |
2127 | (comp_dir_string, debug_str_dwo_section): New. | |
2128 | (DEBUG_STR_DWO_SECTION): Rename to ... | |
2129 | (DEBUG_DWO_STR_SECTION): ... this. | |
2130 | (DEBUG_NORM_STR_SECTION): Delete. | |
2131 | (DEBUG_STR_SECTION, DEBUG_STR_SECTION_FLAGS): Edit definitions. | |
2132 | (DEBUG_STR_DWO_SECTION_FLAGS): New. | |
2133 | (find_AT_string): Move most logic to ... | |
2134 | (find_AT_string_in_table): ... here. New. | |
2135 | (add_top_level_skeleton_die_attrs): Call comp_dir_string and | |
2136 | add_skeleton_AT_string. Delete logic. | |
2137 | (output_skeleton_debug_sections): Remove call to | |
2138 | add_top_level_skeleton_die_attrs. | |
2139 | (add_comp_dir_attribute): Move logic to comp_dir_string. | |
2140 | (dwarf2out_init): Initialize debug_str_dwo_section. | |
2141 | (output_indirect_string): Call find_string_form. | |
2142 | (output_indirect_strings): Rewrite. | |
2143 | (prune_unused_types): Empty skeleton_debug_str_hash. | |
2144 | Call get_skeleton_type_unit and add_top_level_skeleton_die_attrs. | |
2145 | (dwarf2out_finish): Call output_indirect_strings. | |
2146 | ||
949dbf93 | 2147 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
2148 | ||
2149 | * doc/cpp.texi: Remove __GXX_EXPERIMENTAL_CXX1Y__. | |
2150 | ||
bac08f26 | 2151 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
2152 | ||
1efbef15 | 2153 | * rtl.h (struct rtx_def): Add comment for field jump. |
bac08f26 | 2154 | (LRA_SUBREG_P): New macro. |
2155 | * recog.c (register_operand): Check LRA_SUBREG_P. | |
2156 | * lra.c (lra): Add note at the end of RTL code. Align non-empty | |
2157 | stack frame. | |
2158 | * lra-spills.c (lra_spill): Align stack after spilling pseudos. | |
2159 | (lra_final_code_change): Skip subreg change for operators. | |
2160 | * lra-eliminations.c (eliminate_regs_in_insn): Make return earlier | |
2161 | if there are no operand changes. | |
2162 | * lra-constraints.c (curr_insn_set): New. | |
2163 | (match_reload): Set LRA_SUBREG_P. | |
2164 | (emit_spill_move): Ditto. | |
2165 | (check_and_process_move): Use curr_insn_set. Process only single | |
2166 | set insns. Don't initialize sec_mem_p and change_p. | |
2167 | (simplify_operand_subreg): Use LRA_SUBREG_P. | |
2168 | (reg_in_class_p): New function. | |
2169 | (process_alt_operands): Use it. Use #if HAVE_ATTR_enabled instead | |
2170 | of #ifdef. Add code to remove cycling. | |
2171 | (process_address): Check EXTRA_CONSTRAINT_STR. Process even if | |
2172 | non-null disp. Reload inner instead of disp when base and index | |
2173 | are null. Try to put lo_sum into register. | |
2174 | (EBB_PROBABILITY_CUTOFF): Redefine probability in percents. | |
1efbef15 | 2175 | (check_and_process_move): Move code for move cost check to |
bac08f26 | 2176 | simple_move_p. Remove equiv_substitution. |
1efbef15 | 2177 | (simple_move_p): New function. |
bac08f26 | 2178 | (curr_insn_transform): Initialize sec_mem_p and change_p. Set up |
2179 | curr_insn_set. Call check_and_process_move only for single set | |
2180 | insns. Use the new function. Move call of check_and_process_move | |
2181 | after operand equiv substitution and address process. | |
2182 | ||
2d62f55c | 2183 | 2013-04-24 James Greenhalgh <james.greenhalgh@arm.com> |
2184 | ||
2185 | * config/aarch64/arm_neon.h (vld1<q>_lane*): Fix constraints. | |
2186 | (vld1<q>_dup_<sufp><8, 16, 32, 64>): Likewise. | |
2187 | (vld1<q>_<sufp><8, 16, 32, 64>): Likewise. | |
2188 | ||
05d0bce1 | 2189 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
2190 | ||
2191 | * doc/cpp.texi: Document __GXX_EXPERIMENTAL_CXX1Y__. | |
2192 | ||
0d009ac2 | 2193 | 2013-04-24 Marek Polacek <polacek@redhat.com> |
2194 | ||
2195 | * tree-scalar-evolution.h (analyze_scalar_evolution): Remove. | |
2196 | * tree-scalar-evolution.c (get_exit_conditions_rec): Likewise. | |
2197 | (select_loops_exit_conditions): Likewise. | |
2198 | (number_of_iterations_for_all_loops): Likewise. | |
2199 | (analyze_scalar_evolution_for_all_loop_phi_nodes): Likewise. | |
2200 | (scev_analysis): Likewise. | |
2201 | ||
21e02cfa | 2202 | 2013-04-02 Catherine Moore <clm@codesourcery.com> |
2203 | Chao-ying Fu <fu@mips.com> | |
2204 | ||
1efbef15 | 2205 | * config/mips/micromips.md (jraddiusp): New pattern. |
2206 | * config/mips/mips.c (mips_expand_epilogue): Use the JRADDIUSP | |
2207 | instruction if possible. | |
21e02cfa | 2208 | |
99646b03 | 2209 | 2013-04-24 Alan Modra <amodra@gmail.com> |
2210 | ||
2211 | * config/rs6000/driver-rs6000.c (elf_dcachebsize): Fix comment pasto. | |
2212 | ||
47b5e9f1 | 2213 | 2013-04-24 Julian Brown <julian@codesourcery.com> |
2214 | Chung-Lin Tang <cltang@codesourcery.com> | |
2215 | ||
2216 | * dwarf2out.c (gen_enumeration_type_die): Fix HOST_BITS_PER_WIDE_INT | |
baad29fe | 2217 | dependency behavior in enumeration type DIE generation. Add TODO note |
2218 | to comments about future DW_FORM_sdata/udata re-work of related code. | |
47b5e9f1 | 2219 | |
3e871d4d | 2220 | 2013-04-23 Lawrence Crowl <crowl@google.com> |
2221 | ||
2222 | * Makefile.in: Update as needed below. | |
2223 | ||
2224 | * hash-table.h (class hash_table): | |
2225 | Correct many methods with parameter types compare_type to the correct | |
2226 | value_type. (Correct code was unlikely to notice the change.) | |
2227 | (hash_table::elements_with_deleted) New. | |
2228 | (class hashtable::iterator): New. | |
2229 | (hashtable::begin()): New. | |
2230 | (hashtable::end()): New. | |
2231 | (FOR_EACH_HASH_TABLE_ELEMENT): New. | |
2232 | ||
2233 | * statistics.c (statistics_hashes): | |
2234 | Change type to hash_table. Update dependent calls and types. | |
2235 | ||
2236 | * tree-into-ssa.c (var_infos): | |
2237 | Change type to hash_table. Update dependent calls and types. | |
2238 | ||
2239 | * tree-ssa-coalesce.c (struct coalesce_list_d.list): | |
2240 | Change type to hash_table. Update dependent calls and types. | |
2241 | ||
2242 | * tree-ssa-loop-im.c (struct mem_ref.refs): | |
2243 | Change type to hash_table. Update dependent calls and types. | |
2244 | ||
2245 | * tree-ssa-reassoc.c (undistribute_ops_list::ctable): | |
2246 | Change type to hash_table. Update dependent calls and types. | |
2247 | ||
2248 | * tree-ssa-sccvn.c (vn_tables_s::nary): | |
2249 | Change type to hash_table. Update dependent calls and types. | |
2250 | (vn_tables_s::phis): Likewise. | |
2251 | (vn_tables_s::references): Likewise. | |
2252 | ||
2253 | * tree-ssa-sccvn.h (vn_nary_op_eq): Update parameter and return types. | |
2254 | (vn_reference_eq): Update parameter and return types. | |
2255 | ||
2256 | * tree-ssa-structalias.c (pointer_equiv_class_table): | |
2257 | Change type to hash_table. Update dependent calls and types. | |
2258 | (location_equiv_class_table): Likewise. | |
2259 | ||
2260 | * tree-vect-data-refs.c: Consequential changes for making | |
2261 | peeling a hash_table. | |
2262 | ||
2263 | * tree-vect-loop.c (new_loop_vec_info): Dependent hash_table update. | |
2264 | (destroy_loop_vec_info): Dependent hash_table update. | |
2265 | ||
2266 | * tree-vectorizer.h (peeling_htab): | |
2267 | Change type to hash_table. Update dependent calls and types. | |
2268 | ||
a1064490 | 2269 | 2013-04-23 Shiva Chen <shiva0217@gmail.com> |
2270 | ||
1efbef15 | 2271 | * lra-assigns.c (find_hard_regno_for): Use lra_reg_val_equal_p |
2272 | to check the register content is equal or not. | |
2273 | * lra-constraints.c (match_reload): Use lra_assign_reg_val | |
2274 | to assign register content record. | |
2275 | * lra-eliminations.c (update_reg_eliminate): Use | |
a1064490 | 2276 | lra_update_reg_val_offset to update register content offset. |
1efbef15 | 2277 | * lra-int.h (struct lra_reg): Add offset member. |
2278 | (lra_reg_val_equal_p): New static inline function. | |
2279 | (lra_update_reg_val_offset): New static inline function. | |
2280 | (lra_assign_reg_val): New static inline function. | |
2281 | * lra.c (lra_create_new_reg): Use lra_assign_reg_val | |
2282 | to assign register content record. | |
2283 | (initialize_lra_reg_info_element): Initial offset to zero. | |
a1064490 | 2284 | |
5e1781b6 | 2285 | 2013-04-23 Catherine Moore <clm@codesourcery.com> |
2286 | ||
2287 | * config/mips/mips.md (*movhi_internal, *movqi_internal): New | |
2288 | operands. Record compression. | |
2289 | ||
6f2b83c8 | 2290 | 2013-04-23 Xinliang David Li <davidxl@google.com> |
2291 | ||
2292 | * cfghhooks.c (dump_bb_for_graph): Support 'slim' graph dump. | |
2293 | ||
5f0af0d8 | 2294 | 2013-04-23 Richard Biener <rguenther@suse.de> |
2295 | ||
2296 | PR middle-end/57036 | |
2297 | * tree-inline.c (copy_edges_for_bb): Add can_make_abnormal_goto | |
2298 | parameter, only add abnormal goto edges from the copied body | |
2299 | if the call could perform abnormal gotos. | |
2300 | (copy_cfg_body): Adjust. | |
2301 | ||
562e5728 | 2302 | 2013-04-23 Sofiane Naci <sofiane.naci@arm.com> |
2303 | ||
2304 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add simd attribute. | |
2305 | ||
d3c57e54 | 2306 | 2013-04-23 Andreas Schwab <schwab@linux-m68k.org> |
2307 | ||
2308 | * coretypes.h (gimple_stmt_iterator): Add struct to make | |
2309 | compatible with C. | |
2310 | ||
3a4a5c9c | 2311 | 2013-04-23 Richard Biener <rguenther@suse.de> |
2312 | ||
2313 | PR tree-optimization/57026 | |
2314 | * tree-vrp.c (simplify_conversion_using_ranges): Do not propagate | |
2315 | from SSA names occuring in abnormal PHI nodes. | |
2316 | ||
8af0a4fc | 2317 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
2318 | ||
2319 | * lto/lto.c (print_lto_report_1): Fix LTO report names. | |
2320 | ||
f4c8156d | 2321 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
2322 | ||
2323 | * lto/lto.c (print_lto_report_1): Declare early. | |
2324 | (read_cgraph_and_symbols): Call print_lto_report_1 early. | |
2325 | ||
b63a7a3e | 2326 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
2327 | ||
2328 | * common.opt (-flto-report-wpa): Add. | |
2329 | * doc/invoke.texi (-flto-report-wpa): Add. | |
2330 | * lto/lto.c (do_whole_program_analysis): Check for lto-report-wpa. | |
2331 | (lto_main): dito. | |
2332 | ||
5d24e2d1 | 2333 | 2013-04-22 Xinliang David Li <davidxl@google.com> |
2334 | ||
2335 | * graph.c (draw_cfg_node_succ_edges): Add branch probility as label. | |
2336 | * cfghhooks.c (dump_bb_for_graph): Dump profile count and frquency. | |
2337 | * Makefile.in: New dependency | |
2338 | ||
1efbef15 | 2339 | David Daney <ddaney.cavm@gmail.com> |
bcba791d | 2340 | |
1efbef15 | 2341 | * configure.ac (gcc_cv_as_micromips_support): Use the |
2342 | --fatal-warnings option. | |
2343 | * configure: Regenerate. | |
bcba791d | 2344 | |
888b31c9 | 2345 | 2013-04-22 Marek Polacek <polacek@redhat.com> |
2346 | ||
2347 | PR sanitizer/56990 | |
2348 | * tsan.c (instrument_expr): Don't instrument expression | |
2349 | in case its size is zero. | |
2350 | ||
31ba2027 | 2351 | 2013-04-22 Uros Bizjak <ubizjak@gmail.com> |
2352 | ||
2353 | PR target/57032 | |
2354 | Revert: | |
2355 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> | |
2356 | ||
2357 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
2358 | ||
29cad3b6 | 2359 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
2360 | ||
2361 | * coretypes.h (gimple_stmt_iterator_d): Forward declare. | |
2362 | (gimple_stmt_iterator): New typedef. | |
2363 | * gimple.h (gimple_stmt_iterator): Rename to... | |
2364 | (gimple_stmt_iterator_d): ... This. | |
2365 | * doc/tm.texi.in (TARGET_FOLD_BUILTIN): Detail restriction that | |
2366 | trees be valid for GIMPLE and GENERIC. | |
2367 | (TARGET_GIMPLE_FOLD_BUILTIN): New. | |
2368 | * gimple-fold.c (gimple_fold_call): Call target hook | |
2369 | gimple_fold_builtin. | |
2370 | * hooks.c (hook_bool_gsiptr_false): New. | |
2371 | * hooks.h (hook_bool_gsiptr_false): New. | |
2372 | * target.def (fold_stmt): New. | |
2373 | * doc/tm.texi: Regenerate. | |
2374 | ||
fbb45ff1 | 2375 | 2013-04-22 Vladimir Makarov <vmakarov@redhat.com> |
2376 | ||
2377 | PR target/57018 | |
2378 | * lra-eliminations.c (mark_not_eliminable): Prevent elimination of | |
2379 | a set sp if no stack realignment. | |
2380 | ||
ea4d38ee | 2381 | 2013-04-22 Nick Clifton <nickc@redhat.com> |
2382 | ||
2383 | * config.gcc (tilegx-linux): Extend extra_objs rather than | |
2384 | overwriting it. | |
2385 | (tilepro-linux): Likewise. | |
2386 | ||
5a8d54a9 | 2387 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
2388 | ||
2389 | * config/aarch64/aarch64-builtins.c | |
2390 | (CF): Remove. | |
2391 | (CF0, CF1, CF2, CF3, CF4, CF10): New. | |
2392 | (VAR<1-12>): Add MAP parameter. | |
2393 | (BUILTIN_*): Likewise. | |
2394 | * config/aarch64/aarch64-simd-builtins.def: Set MAP parameter. | |
2395 | * config/aarch64/aarch64-simd.md (aarch64_sshl_n<mode>): Remove. | |
2396 | (aarch64_ushl_n<mode>): Likewise. | |
2397 | (aarch64_sshr_n<mode>): Likewise. | |
2398 | (aarch64_ushr_n<mode>): Likewise. | |
2399 | (aarch64_<maxmin><mode>): Likewise. | |
2400 | (aarch64_sqrt<mode>): Likewise. | |
2401 | * config/aarch64/arm_neon.h (vshl<q>_n_*): Use new builtin names. | |
2402 | (vshr<q>_n_*): Likewise. | |
2403 | ||
7b990298 | 2404 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
2405 | ||
2406 | * config/aarch64/aarch64-builtins.c | |
2407 | (aarch64_simd_builtin_type_mode): Handle SF types. | |
2408 | (sf_UP): Define. | |
2409 | (BUILTIN_GPF): Define. | |
2410 | (aarch64_init_simd_builtins): Handle SF types. | |
2411 | * config/aarch64/aarch64-simd-builtins.def (frecpe): Add support. | |
2412 | (frecps): Likewise. | |
2413 | (frecpx): Likewise. | |
2414 | * config/aarch64/aarch64-simd.md | |
2415 | (simd_types): Update simd_frcp<esx> to simd_frecp<esx>. | |
2416 | (aarch64_frecpe<mode>): New. | |
2417 | (aarch64_frecps<mode>): Likewise. | |
2418 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_FRECP<ESX>. | |
2419 | (v8type): Add frecp<esx>. | |
2420 | (aarch64_frecp<FRECP:frecp_suffix><mode>): New. | |
2421 | (aarch64_frecps<mode>): Likewise. | |
2422 | * config/aarch64/iterators.md (FRECP): New. | |
2423 | (frecp_suffix): Likewise. | |
2424 | * config/aarch64/arm_neon.h | |
2425 | (vrecp<esx><qsd>_<fd><32, 64>): Convert to using builtins. | |
2426 | ||
c7a79d83 | 2427 | 2013-04-22 Christian Bruel <christian.bruel@st.com> |
ec3c739c | 2428 | |
2429 | PR target/56995 | |
2430 | * config/sh/sh.h (enum reg_class): Remove DF_HI_REGS. | |
2431 | (REG_CLASS_NAMES): Idem. | |
2432 | (REG_CLASS_CONTENTS): Idem. | |
2433 | (REGCLASS_HAS_FP_REG): Idem. | |
2434 | * config/sh/sh.c (sh_cannot_change_mode_class): Idem. | |
2435 | (sh_conditional_register_usage): Idem. | |
2436 | ||
d23e1965 | 2437 | 2013-04-21 Jeff Law <law@redhat.com> |
2438 | ||
2439 | * tree-ssa-forwprop.c (simplify_conversion_from_bitmask): New function. | |
2440 | (ssa_forward_propagate_and_combine): Use it. | |
2441 | ||
b28ae2d4 | 2442 | 2013-04-19 Vladimir Makarov <vmakarov@redhat.com> |
2443 | ||
2444 | * lra.c: Update the flow chart diagram. | |
2445 | ||
a89f8bac | 2446 | 2013-04-19 Vladimir Makarov <vmakarov@redhat.com> |
2447 | ||
2448 | PR rtl-optimization/56847 | |
2449 | * lra-constraints.c (process_alt_operands): Discourage alternative | |
2450 | with non-matche doffsettable memory constraint fro memory with | |
2451 | known offset. | |
2452 | ||
a5ef9e4d | 2453 | 2013-04-19 Richard Biener <rguenther@suse.de> |
2454 | ||
2455 | PR tree-optimization/56982 | |
2456 | * builtins.def (BUILT_IN_LONGJMP): longjmp is not a leaf | |
2457 | function. | |
2458 | * gimplify.c (gimplify_call_expr): Notice special calls. | |
2459 | (gimplify_modify_expr): Likewise. | |
2460 | * tree-cfg.c (make_abnormal_goto_edges): Handle setjmp-like | |
2461 | abnormal control flow receivers. | |
2462 | (call_can_make_abnormal_goto): Handle cfun->calls_setjmp | |
2463 | in the same way as cfun->has_nonlocal_labels. | |
2464 | (gimple_purge_dead_abnormal_call_edges): Likewise. | |
2465 | (stmt_starts_bb_p): Make setjmp-like abnormal control flow | |
2466 | receivers start a basic-block. | |
2467 | ||
678e3d6e | 2468 | 2013-04-19 Richard Biener <rguenther@suse.de> |
2469 | ||
2470 | * tree-vectorizer.h (struct _slp_instance): Move load_permutation | |
2471 | member ... | |
2472 | (struct _slp_tree): ... here. Make it a vector of unsigned ints. | |
2473 | (SLP_INSTANCE_LOAD_PERMUTATION): Remove. | |
2474 | (SLP_TREE_LOAD_PERMUTATION): Add. | |
2475 | (vect_transform_slp_perm_load): Adjust prototype. | |
2476 | * tree-vect-slp.c (vect_free_slp_tree): Adjust. | |
2477 | (vect_free_slp_instance): Likewise. | |
2478 | (vect_create_new_slp_node): Likewise. | |
2479 | (vect_supported_slp_permutation_p): Remove. | |
2480 | (vect_slp_rearrange_stmts): Adjust. | |
2481 | (vect_supported_load_permutation_p): Likewise. Inline | |
2482 | vect_supported_slp_permutation_p here. | |
2483 | (vect_analyze_slp_instance): Compute load permutations per | |
2484 | slp node instead of per instance. | |
2485 | (vect_get_slp_defs): Adjust. | |
2486 | (vect_transform_slp_perm_load): Likewise. | |
2487 | (vect_schedule_slp_instance): Remove redundant code. | |
2488 | (vect_schedule_slp): Remove hack for PR56270, add it ... | |
2489 | * tree-vect-stmts.c (vectorizable_load): ... here, do not | |
2490 | CSE loads for SLP. Adjust. | |
2491 | ||
c210e3da | 2492 | 2013-04-19 Greta Yorsh <Greta.Yorsh@arm.com> |
2493 | ||
2494 | * config/arm/arm.c (load_multiple_sequence, ldm_stm_operation_p): Fix | |
2495 | spelling in two comments. | |
2496 | ||
a5c5144f | 2497 | 2013-04-19 Greta Yorsh <Greta.Yorsh@arm.com> |
2498 | ||
2499 | PR target/56797 | |
2500 | * config/arm/arm.c (load_multiple_sequence): Require SP | |
2501 | as base register for loads if SP is in the register list. | |
2502 | ||
bee52153 | 2503 | 2013-04-19 Martin Jambor <mjambor@suse.cz> |
2504 | ||
2505 | PR tree-optimization/56718 | |
2506 | * ipa-cp.c (ipa_value_from_known_type_jfunc): Moved... | |
2507 | * ipa-prop.c (ipa_binfo_from_known_type_jfunc): ...here, renamed | |
2508 | and made public. Adjusted all callers. | |
2509 | (ipa_intraprocedural_devirtualization): New function. | |
2510 | * ipa-prop.h (ipa_binfo_from_known_type_jfunc): Declare. | |
2511 | (ipa_intraprocedural_devirtualization): Likewise. | |
2512 | * Makefile.in (tree-ssa-pre.o): Add ipa-prop.h to dependencies. | |
2513 | ||
204c295f | 2514 | 2013-04-19 Richard Biener <rguenther@suse.de> |
2515 | ||
2516 | PR tree-optimization/57000 | |
2517 | * tree-ssa-reassoc.c (pass_reassoc): Add TODO_update_ssa_only_virtuals. | |
2518 | ||
3153fc2e | 2519 | 2013-04-19 Terry Guo <terry.guo@arm.com> |
2520 | ||
2521 | * config/arm/cortex-m4-fpu.md (cortex_m4_v): Delete cpu unit. | |
2522 | Replace with ... | |
2523 | (cortex_m4_v_a, cortex_m4_v_b): ... new cpu units. | |
2524 | (cortex_m4_v, cortex_m4_exa_va, cortex_m4_exb_vb): New reservations. | |
2525 | (cortex_m4_fmacs): Use new reservations. | |
2526 | (cortex_m4_f_load, cortex_m4_f_store): Likewise. | |
2527 | ||
638e746e | 2528 | 2013-04-18 Vladimir Makarov <vmakarov@redhat.com> |
2529 | ||
c0d5925a | 2530 | PR rtl-optimization/56999 |
638e746e | 2531 | * lra-coalesce.c (coalescable_pseudo_p): Remove 2nd parameter and |
2532 | related code. | |
2533 | (lra_coalesce): Remove split_origin_bitmap and related code. | |
2534 | * lra.c (lra): Coalesce after undoing inheritance. Recreate live | |
2535 | ranges if necessary. | |
2536 | ||
17e854e6 | 2537 | 2013-04-18 Uros Bizjak <ubizjak@gmail.com> |
2538 | ||
2539 | * config/i386/i386.c (x86_64_ms_sysv_extra_clobbered_registers): | |
2540 | New array. | |
2541 | (ix86_expand_call): Remove clobbered_registers array and use | |
2542 | x86_64_ms_sysv_extra_clobbered_registers instead. | |
2543 | * config/i386/i386.h (x86_64_ms_sysv_extra_clobbered_registers): | |
2544 | Declare here. | |
2545 | * config/i386/predicates.md (call_rex64_ms_sysv_operation): New | |
2546 | predicate. | |
2547 | * config/i386/i386.md (*call_rex64_ms_sysv): Use | |
2548 | call_rex64_ms_sysv_operation predicate. Remove explicit clobbers. | |
2549 | (*call_value_rex64_ms_sysv): Ditto. | |
2550 | ||
faeb0946 | 2551 | 2013-04-18 Cary Coutant <ccoutant@google.com> |
2552 | ||
2553 | * dwarf2out.c (output_pubnames): Check die_perennial_p of | |
2554 | parent instead of die_mark. | |
2555 | ||
32bd7708 | 2556 | 2013-04-18 Diego Novillo <dnovillo@google.com> |
2557 | ||
2558 | * gimple.c (create_gimple_tmp): New. | |
2559 | (get_expr_type): New. | |
2560 | (build_assign): New. | |
2561 | (build_type_cast): New. | |
2562 | * gimple.h (enum ssa_mode): Define. | |
2563 | (gimple_seq_set_location): New. | |
2564 | * asan.c (build_check_stmt): Change some gimple_build_* calls | |
17e854e6 | 2565 | to use build_assign and build_type_cast. |
32bd7708 | 2566 | |
8bbe6b75 | 2567 | 2013-04-18 Richard Biener <rguenther@suse.de> |
2568 | ||
2569 | * tree-vect-data-refs.c (vect_analyze_group_access): Properly | |
2570 | handle negative step. Remove redundant checks. | |
2571 | (vect_create_data_ref_ptr): Avoid ICEs with non-constant steps. | |
2572 | * tree-vect-stmts.c (vectorizable_load): Instead of asserting | |
2573 | for negative step and grouped loads fail to vectorize. | |
2574 | ||
1e9af25c | 2575 | 2013-04-18 Steven Bosscher <steven@gcc.gnu.org> |
2576 | ||
2577 | * emit-rtl.c (reset_insn_used_flags): New function. | |
2578 | (reset_all_used_flags): Use it. | |
2579 | (verify_insn_sharing): New function. | |
2580 | (verify_rtl_sharing): Fix verification for SEQUENCEs. | |
2581 | ||
7c4be923 | 2582 | 2013-04-18 Jakub Jelinek <jakub@redhat.com> |
2583 | ||
2584 | PR tree-optimization/56984 | |
2585 | * tree-vrp.c (register_edge_assert_for_2): For (x >> M) < N | |
2586 | and (x >> M) >= N don't register any assertion if N << M is the | |
2587 | minimum value. | |
2588 | ||
c7ee1482 | 2589 | 2013-04-18 Steven Bosscher <steven@gcc.gnu.org> |
2590 | ||
2591 | * lower-subreg.c (resolve_simple_move): If called self-recursive, | |
2592 | do not delete_insn insns that have not yet been emitted, only | |
2593 | unlink them with remove_insn. | |
2594 | * df-scan.c (df_insn_delete): Revert r197492. | |
2595 | ||
34f5b9ac | 2596 | 2013-04-17 Steven Bosscher <steven@gcc.gnu.org> |
2597 | ||
2598 | * emit-rtl.c (link_insn_into_chain): Handle chaining of SEQUENCEs. | |
2599 | * reorg.c (emit_delay_sequence): Simplify with emit-rtl API. | |
2600 | ||
2601 | 2013-04-17 Greta Yorsh <Greta.Yorsh@arm.com> | |
190efb17 | 2602 | |
2603 | * config/arm/arm.md (movsicc_insn): Convert define_insn into | |
2604 | define_insn_and_split. | |
2605 | (and_scc,ior_scc,negscc): Likewise. | |
2606 | (cmpsi2_addneg, subsi3_compare): Convert to named patterns. | |
2607 | ||
34f5b9ac | 2608 | 2013-04-17 Greta Yorsh <Greta.Yorsh@arm.com> |
35c10aa8 | 2609 | |
2610 | * config/arm/arm.c (use_return_insn): Return 0 for targets that | |
2611 | can benefit from using a sequence of LDRD instructions in epilogue | |
2612 | instead of a single LDM instruction. | |
2613 | ||
d21e37af | 2614 | 2013-04-17 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2615 | ||
2616 | PR 45688 | |
2617 | * doc/extend.texi: Fix typo. | |
2618 | ||
16513aa4 | 2619 | 2013-04-17 Richard Biener <rguenther@suse.de> |
2620 | ||
2621 | * tree-vect-slp.c (vect_build_slp_tree_1): Split out from ... | |
2622 | (vect_build_slp_tree): ... here. | |
2623 | (vect_build_slp_tree_1): Compute which stmts of the SLP group | |
2624 | match. Remove special-casing of mismatched complex loads. | |
2625 | (vect_build_slp_tree): Based on the result from vect_build_slp_tree_1 | |
2626 | re-try the match with swapped commutative operands. | |
2627 | (vect_supported_load_permutation_p): Remove special-casing of | |
2628 | mismatched complex loads. | |
2629 | (vect_analyze_slp_instance): Adjust. | |
2630 | ||
427286b3 | 2631 | 2013-04-17 Richard Biener <rguenther@suse.de> |
2632 | ||
2633 | PR rtl-optimization/56921 | |
2634 | * cfgloop.h (struct loop): Add simple_loop_desc member. | |
2635 | (struct niter_desc): Mark with GTY(()). | |
2636 | (simple_loop_desc): Do not use aux field but simple_loop_desc. | |
2637 | * loop-iv.c (get_simple_loop_desc): Likewise. | |
2638 | (free_simple_loop_desc): Likewise. | |
2639 | ||
2640 | Revert | |
2641 | 2013-04-16 Richard Biener <rguenther@suse.de> | |
2642 | ||
2643 | PR rtl-optimization/56921 | |
2644 | * loop-init.c (pass_rtl_move_loop_invariants): Add | |
2645 | TODO_do_not_ggc_collect to todo_flags_finish. | |
2646 | (pass_rtl_unswitch): Same. | |
2647 | (pass_rtl_unroll_and_peel_loops): Same. | |
2648 | (pass_rtl_doloop): Same. | |
2649 | ||
740a2cb6 | 2650 | 2013-04-17 Eric Botcazou <ebotcazou@adacore.com> |
2651 | ||
2652 | * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p): New. | |
2653 | (decl_refs_may_alias_p): Add REF1 and REF2 parameters. | |
2654 | Use nonoverlapping_component_refs_of_decl_p to disambiguate component | |
2655 | references. | |
2656 | (refs_may_alias_p_1): Adjust call to decl_refs_may_alias_p. | |
2657 | * tree-streamer.c (record_common_node): Adjust reference in comment. | |
2658 | ||
c20f53ce | 2659 | 2013-04-17 Terry Guo <terry.guo@arm.com> |
2660 | ||
2661 | * config/arm/cortex-m4.md: Add a new bypass. | |
2662 | ||
31ba2027 | 2663 | 2013-04-16 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
7425af27 | 2664 | |
2665 | * config/aarch64/aarch64.md (*adds_<optab><mode>_multp2): | |
2666 | New pattern. | |
2667 | (*subs_<optab><mode>_multp2): New pattern. | |
2668 | (*adds_<optab><ALLX:mode>_<GPI:mode>): New pattern. | |
2669 | (*subs_<optab><ALLX:mode>_<GPI:mode>): New pattern. | |
2670 | ||
31ba2027 | 2671 | 2013-04-16 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
16b547de | 2672 | |
2673 | * config/aarch64/aarch64.md (*adds_mul_imm_<mode>): New pattern. | |
2674 | (*subs_mul_imm_<mode>): New pattern. | |
2675 | ||
bd59dd08 | 2676 | 2013-04-16 David Edelsohn <dje.gcc@gmail.com> |
2677 | ||
2678 | PR target/56948 | |
2679 | * config/rs6000/vsx.md (vsx_mov<mode>): Add j->r alternative. | |
2680 | (vsx_movti_64bit): Change j->wa to O->wa. Add n->r alternative. | |
2681 | (vsx_movti_32bit): Change j->wa to O->wa. | |
2682 | ||
507c20f1 | 2683 | 2013-04-16 Richard Biener <rguenther@suse.de> |
2684 | ||
2685 | PR rtl-optimization/56921 | |
2686 | * loop-init.c (pass_rtl_move_loop_invariants): Add | |
2687 | TODO_do_not_ggc_collect to todo_flags_finish. | |
2688 | (pass_rtl_unswitch): Same. | |
2689 | (pass_rtl_unroll_and_peel_loops): Same. | |
2690 | (pass_rtl_doloop): Same. | |
2691 | ||
1e9af25c | 2692 | 2013-04-16 Greta Yorsh <Greta.Yorsh@arm.com> |
9e0accd9 | 2693 | |
2694 | * config/arm/arm.c (emit_multi_reg_push): New declaration | |
2695 | for an existing function. | |
2696 | (arm_emit_strd_push): New function. | |
2697 | (arm_expand_prologue): Used here. | |
2698 | (arm_emit_ldrd_pop): New function. | |
2699 | (arm_expand_epilogue): Used here. | |
2700 | (arm_get_frame_offsets): Update condition. | |
2701 | (arm_emit_multi_reg_pop): Add a special case for load of a single | |
2702 | register with writeback. | |
2703 | ||
69ac6d73 | 2704 | 2013-04-16 Uros Bizjak <ubizjak@gmail.com> |
2705 | ||
2706 | * doc/invoke.texi (i386 Option): Reword -mstack-protector-guard | |
2707 | description. | |
2708 | ||
bc9af2dd | 2709 | 2013-04-16 Richard Biener <rguenther@suse.de> |
2710 | ||
2711 | PR tree-optimization/56756 | |
2712 | * tree-ssa-loop-im.c (struct first_mem_ref_loc_1): New functor. | |
2713 | (first_mem_ref_loc): New. | |
2714 | (execute_sm): Place the load temporarily before a previous | |
2715 | access instead of in the latch edge to ensure its SSA dependencies | |
2716 | are defined at points dominating the load. | |
2717 | ||
35f3420b | 2718 | 2013-04-16 Steven Bosscher <steven@gcc.gnu.org> |
2719 | ||
eda57d74 | 2720 | * cfgrtl.c (cfg_layout_merge_blocks): Revert r184005, implement |
2721 | correct fix by moving header and footer insn to the footer of | |
2722 | the merged basic block. Clear BB_END of the merged-away block. | |
2723 | ||
35f3420b | 2724 | PR middle-end/43631 |
2725 | * emit-rtl.c (make_note_raw): New function. | |
2726 | (link_insn_into_chain): New static inline function. | |
2727 | (add_insn): Use it. | |
2728 | (add_insn_before, add_insn_after): Factor insn chain linking code... | |
2729 | (add_insn_before_nobb, add_insn_after_nobb): ...here, new functions | |
2730 | using link_insn_into_chain. | |
2731 | (note_outside_basic_block_p): New helper function for emit_note_after | |
2732 | and emit_note_before. | |
2733 | (emit_note_after): Use nobb variant of add_insn_after if the note | |
2734 | should not be contained in a basic block. | |
2735 | (emit_note_before): Use nobb variant of add_insn_before if the note | |
2736 | should not be contained in a basic block. | |
2737 | (emit_note_copy): Use make_note_raw. | |
2738 | (emit_note): Likewise. | |
2739 | * bb-reorder.c (insert_section_boundary_note): Remove hack to set | |
2740 | BLOCK_FOR_INSN to NULL manually for NOTE_INSN_SWITCH_TEXT_SECTIONS. | |
2741 | * jump.c (cleanup_barriers): Use reorder_insns_nobb to avoid making | |
2742 | the moved barrier the tail of the basic block it follows. | |
2743 | * var-tracking.c (pass_variable_tracking): Add TODO_verify_flow. | |
2744 | ||
9de38bc3 | 2745 | 2013-04-15 Jakub Jelinek <jakub@redhat.com> |
2746 | ||
2747 | PR tree-optimization/56962 | |
2748 | * gimple-ssa-strength-reduction.c (record_increment): Only set | |
2749 | initializer if gimple_assign_rhs_code is {,POINTER_}PLUS_EXPR and | |
2750 | either rhs1 or rhs2 is equal to c->base_expr. | |
2751 | ||
4d525783 | 2752 | 2013-04-15 Richard Biener <rguenther@suse.de> |
2753 | ||
2754 | PR tree-optimization/56933 | |
2755 | * tree-vectorizer.h (struct _stmt_vec_info): Remove read_write_dep | |
2756 | member. | |
2757 | (GROUP_READ_WRITE_DEPENDENCE): Remove. | |
2758 | (STMT_VINFO_GROUP_READ_WRITE_DEPENDENCE): Likewise. | |
2759 | * tree-vect-data-refs.c (vect_analyze_group_access): Move | |
2760 | dependence check ... | |
2761 | vect_analyze_data_ref_dependence (vect_analyze_data_ref_dependence): | |
2762 | ... here. | |
2763 | * tree-vect-stmts.c (new_stmt_vec_info): Do not initialize | |
2764 | GROUP_READ_WRITE_DEPENDENCE. | |
2765 | ||
7cdd84a2 | 2766 | 2013-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2767 | ||
2768 | * emit-rtl.c (reset_all_used_flags): New function. | |
2769 | (verify_rtl_sharing): Call reset_all_used_flags before and after | |
2770 | performing the checks. | |
2771 | ||
f6bbdcf6 | 2772 | 2013-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2773 | ||
2774 | * config/arm/arm.c (const_ok_for_dimode_op): Handle AND case. | |
2775 | * config/arm/arm.md (*anddi3_insn): Change to insn_and_split. | |
2776 | * config/arm/constraints.md (De): New constraint. | |
2777 | * config/arm/neon.md (anddi3_neon): Delete. | |
2778 | (neon_vand<mode>): Expand to standard anddi3 pattern. | |
2779 | * config/arm/predicates.md (imm_for_neon_inv_logic_operand): | |
2780 | Move earlier in the file. | |
2781 | (neon_inv_logic_op2): Likewise. | |
2782 | (arm_anddi_operand_neon): New predicate. | |
2783 | ||
8aaed91d | 2784 | 2013-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2785 | ||
2786 | * configure.ac (gcc_cv_ld_as_needed): Set | |
2787 | gcc_cv_ld_as_needed_option, gcc_cv_no_as_needed_option. | |
2788 | Use -z ignore, -z record on *-*-solaris2*. | |
2789 | (HAVE_LD_AS_NEEDED): Update comment. | |
2790 | (LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION): Define. | |
2791 | * configure: Regenerate. | |
2792 | * config.in: Regenerate. | |
2793 | * gcc.c (init_gcc_specs) [USE_LD_AS_NEEDED]: Use | |
2794 | LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION. | |
2795 | * config/sol2.h [HAVE_LD_AS_NEEDED] (USE_LD_AS_NEEDED): Define. | |
2796 | * doc/tm.texi.in (USE_LD_AS_NEEDED): Allow for --as-needed | |
2797 | equivalents. Fix markup. | |
2798 | * doc/tm.texi: Regenerate. | |
2799 | ||
98c0d657 | 2800 | 2013-04-15 Andrew Hsieh <andrewhsieh.google.com> |
2801 | ||
2802 | * config/i386/i386.opt: New option mstack-protector-guard=. | |
2803 | * config/i386/i386-opts.h: Add enum stack_protector_guard. | |
2804 | * config/i386/i386.h: Define TARGET_SSP_GLOBAL_GUARD and | |
2805 | TARGET_SSP_TLS_GUARD. | |
2806 | * config/i386/i386.c (ix86_option_override_internal): Set | |
2807 | ix86_stack_protector_guard. | |
2808 | * config/i386/i386.md (stack_protect_set): Enable for | |
2809 | TARGET_SSP_TLS_GUARD only. | |
2810 | (stack_protect_set_<mode>): Ditto. | |
2811 | (stack_protect_test): Ditto. | |
2812 | (stack_protect_test_<mode>): Ditto. | |
2813 | * doc/invoke.texi (i386 Option): Document. | |
2814 | ||
3eb1f083 | 2815 | 2013-04-15 Eric Botcazou <ebotcazou@adacore.com> |
2816 | ||
2817 | PR target/56890 | |
2818 | * config/sparc/sparc.c (enum sparc_mode_class): Add H_MODE value. | |
2819 | (S_MODES): Set H_MODE bit. | |
2820 | (SF_MODES): Set only S_MODE and SF_MODE bits. | |
2821 | (DF_MODES): Set SF_MODES and only D_MODE and DF_MODE bits. | |
2822 | (sparc_init_modes) <MODE_INT>: Set H_MODE bit for sub-word modes. | |
2823 | <MODE_VECTOR_INT>: Do not set SF_MODE for sub-word modes. | |
2824 | <MODE_FLOAT>: Likewise. | |
2825 | ||
756b7d6a | 2826 | 2013-04-15 Joey Ye <joey.ye@arm.com> |
2827 | ||
2828 | * config/arm/arm.c (thumb_far_jump_used_p): Fix typo in comments. | |
2829 | ||
8d04d59e | 2830 | 2013-04-15 Joey Ye <joey.ye@arm.com> |
2831 | ||
2832 | * config/arm/arm.c (thumb1_final_prescan_insn): Assert lr save | |
2833 | for real far jump. | |
2834 | (thumb_far_jump_used_p): Count instruction size and set | |
2835 | far_jump_used. | |
2836 | ||
fdb35bef | 2837 | 2013-04-14 Eric Botcazou <ebotcazou@adacore.com> |
2838 | ||
2839 | * reorg.c (fill_simple_delay_slots): Reindent block of code. | |
2840 | * resource.c (mark_target_live_regs): Reformat conditional block. | |
2841 | ||
8ea0810a | 2842 | 2013-04-13 Steven Bosscher <steven@gcc.gnu.org> |
2843 | ||
2844 | * sched-deps.c (deps_analyze_insn): Do not check for EH_REGION insn | |
2845 | notes, they are emitted only just before final. | |
2846 | * sched-int.h: Include insn-attr.h before checking INSN_SCHEDULING. | |
2847 | ||
93ff53d3 | 2848 | 2013-04-13 Steven Bosscher <steven@gcc.gnu.org> |
2849 | ||
2850 | * emit-rtl.c (remove_insn): Do not call df_insn_delete here. | |
2851 | * cfgrtl.c (delete_insn): Call it here instead. | |
2852 | * lra-spills.c (lra_final_code_change): Use delete_insn. | |
2853 | * haifa-sched.c (sched_remove_insn): Likewise. | |
2854 | * sel-sched-ir.c (return_nop_to_pool): Clear INSN_DELETED_P for nops | |
2855 | returning to the nop pool. | |
2856 | (sel_remove_insn): Simplify the only_disconnect case via remove_insn, | |
2857 | use delete_insn for definitive removal. Clear BLOCK_FOR_INSN. | |
2858 | ||
720b223d | 2859 | 2013-04-12 Steven Bosscher <steven@gcc.gnu.org> |
2860 | ||
2861 | * doc/tm.texi.in (LOOP_ALIGN): Remove loop note references. | |
2862 | * doc/tm.texi: Regenerated. | |
2863 | ||
8f028904 | 2864 | 2013-04-12 Uros Bizjak <ubizjak@gmail.com> |
2865 | ||
2866 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Use ANY_QI_REGNO_P in | |
2867 | QImode checks. | |
2868 | ||
09f44684 | 2869 | 2013-04-12 Steven Bosscher <steven@gcc.gnu.org> |
2870 | ||
2871 | * df-core.c (df_find_def): Compare register numbers. | |
2872 | (df_find_use): Likewise. | |
2873 | ||
45237259 | 2874 | 2013-04-12 Vladimir Makarov <vmakarov@redhat.com> |
2875 | ||
2876 | PR target/56903 | |
2877 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Add | |
2878 | lra_in_progress for return. | |
2879 | ||
a3b84066 | 2880 | 2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> |
2881 | ||
2882 | * config/arm/arm.md (mov_scc,mov_negscc,mov_notscc): Convert | |
2883 | define_insn into define_insn_and_split and emit movsicc patterns. | |
2884 | ||
b3e65331 | 2885 | 2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> |
2886 | ||
2887 | * config/arm/arm.c (gen_operands_ldrd_strd): Initialize "base". | |
2888 | ||
533c15bc | 2889 | 2013-04-12 Richard Biener <rguenther@suse.de> |
2890 | ||
2891 | * tree-pass.h (TODO_do_not_ggc_collect): New. | |
2892 | * passes.c (execute_one_ipa_transform_pass): Honor | |
2893 | TODO_do_not_ggc_collect. | |
2894 | (execute_one_pass): Likewise. | |
2895 | ||
2896 | Revert | |
2897 | 2013-04-10 Richard Biener <rguenther@suse.de> | |
2898 | ||
2899 | * passes.c (init_optimization_passes): Remove reload pass. | |
2900 | * ira.c (do_reload): Merge into ... | |
2901 | (ira): ... this. | |
2902 | (rest_of_handle_reload): Remove. | |
2903 | (pass_reload): Likewise. | |
2904 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
2905 | of reload for vzeroupper pass placement. | |
2906 | ||
577e2925 | 2907 | 2013-04-12 Jakub Jelinek <jakub@redhat.com> |
2908 | ||
2909 | PR tree-optimization/56918 | |
2910 | PR tree-optimization/56920 | |
2911 | * fold-const.c (int_const_binop_1): Use op1.mul_with_sign (op2, ...) | |
2912 | instead of op1 - op2. Pass 2 * TYPE_PRECISION (type) as second | |
2913 | argument to rshift method. For 2 * HOST_BITS_PER_WIDE_INT precision | |
2914 | use wide_mul_with_sign method. | |
2915 | ||
5b787773 | 2916 | 2013-04-12 Richard Biener <rguenther@suse.de> |
2917 | ||
2918 | * gimple.c (is_gimple_constant): Vector CONSTRUCTORs should | |
2919 | not be considered a gimple constant. | |
2920 | ||
ef4a904b | 2921 | 2013-04-12 Marc Glisse <marc.glisse@inria.fr> |
2922 | ||
2923 | * fold-const.c (const_binop): Handle vector shifts by a scalar. | |
2924 | (fold_binary_loc): Call const_binop also for mixed vector-scalar | |
2925 | operations. | |
2926 | ||
41609f8b | 2927 | 2013-04-12 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2928 | Jakub Jelinek <jakub@redhat.com> | |
2929 | ||
2930 | * opts.c: Include diagnostic-color.h. | |
2931 | (common_handle_option): Handle OPT_fdiagnostics_color_. | |
2932 | * Makefile.in (OBJS-libcommon): Add diagnostic-color.o. | |
2933 | (diagnostic.o, opts.o, pretty-print.o): Depend on diagnostic-color.h. | |
2934 | (diagnostic-color.o): New. | |
2935 | * common.opt (fdiagnostics-color, fdiagnostics-color=): New options. | |
2936 | (diagnostic_color_rule): New enum. | |
2937 | * dwarf2out.c (gen_producer_string): Don't print -fdiagnostics-color*. | |
2938 | * langhooks.c (lhd_print_error_function): Add %r "locus" and %R around | |
2939 | the location string. | |
2940 | * diagnostic.def: Add 3rd argument to DEFINE_DIAGNOSTIC_KIND macros, | |
2941 | either NULL, or color kind. | |
2942 | * diagnostic-color.c: New file. | |
2943 | * diagnostic-color.h: New file. | |
2944 | * diagnostic-core.h (DEFINE_DIAGNOSTIC_KIND): Adjust macro for 3 | |
2945 | arguments. | |
2946 | * doc/invoke.texi (-fdiagnostics-color): Document. | |
2947 | * pretty-print.h (pp_show_color): Define. | |
2948 | (struct pretty_print_info): Add show_color field. | |
2949 | * diagnostic.c: Include diagnostic-color.h. | |
2950 | (diagnostic_build_prefix): Adjust for 3 argument DEFINE_DIAGNOSTIC_KIND | |
2951 | macros. Colorize error:, warning: etc. strings and also the location | |
2952 | string. | |
2953 | (diagnostic_show_locus): Colorize the caret line. | |
2954 | * pretty-print.c: Include diagnostic-color.h. | |
2955 | (pp_base_format): Handle %r and %R format specifiers. Colorize strings | |
2956 | inside of %< %> quotes or quoted through q format modifier. | |
2957 | ||
79f85ed5 | 2958 | 2013-04-12 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2959 | ||
8f028904 | 2960 | * ifcvt.c (end_ifcvt_sequence): Mark a and b for unsharing as well. |
79f85ed5 | 2961 | |
8f028904 | 2962 | 2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
62bad789 | 2963 | |
2964 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Allow NEG | |
2965 | code in CC_NZ mode. | |
2966 | * config/aarch64/aarch64.md (*neg_<shift><mode>3_compare0): New | |
2967 | pattern. | |
2968 | ||
abf3fde4 | 2969 | 2013-04-11 Marek Polacek <polacek@redhat.com> |
2970 | ||
2971 | PR tree-optimization/48184 | |
8f028904 | 2972 | * params.def (PARAM_ALIGN_THRESHOLD): Increase the minimum value to 1. |
abf3fde4 | 2973 | |
3303f1bb | 2974 | 2013-04-11 Eric Botcazou <ebotcazou@adacore.com> |
2975 | ||
2976 | * stor-layout.c (skip_simple_constant_arithmetic): Move to... | |
2977 | * tree.c (skip_simple_constant_arithmetic): ...here and make public. | |
2978 | (skip_simple_arithmetic): Tidy up. | |
2979 | * tree.h (skip_simple_constant_arithmetic): Declare. | |
2980 | ||
8f028904 | 2981 | 2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
d449a7bb | 2982 | |
2983 | * config/aarch64/aarch64.h (REVERSIBLE_CC_MODE): Define. | |
2984 | ||
6c2c88c7 | 2985 | 2013-04-11 Richard Biener <rguenther@suse.de> |
2986 | ||
2987 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
2988 | generate vector constants. | |
2989 | ||
6046367e | 2990 | 2013-04-11 Richard Biener <rguenther@suse.de> |
2991 | ||
2992 | PR tree-optimization/56878 | |
2993 | * tree-flow.h (outermost_invariant_loop_for_expr): Declare. | |
2994 | * tree-ssa-loop-ivopts.c (outermost_invariant_loop_for_expr): | |
2995 | New function. | |
2996 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): | |
2997 | Prefer to align the DR with the most invariant base address. | |
2998 | ||
6c1f6b49 | 2999 | 2013-04-11 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
3000 | ||
3001 | * opts.c (common_handle_option): Fix formatting and add FALLTHRU | |
3002 | comment. | |
3003 | ||
3b11c427 | 3004 | 2013-04-11 James Greenhalgh <james.greenhalgh@arm.com> |
3005 | ||
3006 | * config/aarch64/aarch64-simd.md (aarch64_vcond_internal): Fix | |
3007 | floating-point vector comparisons against 0. | |
3008 | ||
4debb326 | 3009 | 2013-04-11 Jakub Jelinek <jakub@redhat.com> |
3010 | ||
3011 | PR tree-optimization/56899 | |
3012 | * fold-const.c (extract_muldiv_1): Apply distributive law | |
3013 | only if TYPE_OVERFLOW_WRAPS (ctype). | |
3014 | ||
a0ca7f3d | 3015 | 2013-04-11 Bin Cheng <bin.cheng@arm.com> |
3016 | ||
3017 | PR target/56124 | |
3018 | * ira-costs.c (scan_one_insn): Check whether the source rtx of | |
3019 | loading has side effect. | |
3020 | ||
a1adea34 | 3021 | 2013-04-10 Steven Bosscher <steven@gcc.gnu.org> |
3022 | ||
3023 | * config/sparc/sparc.c: Include tree-pass.h. | |
3024 | (TARGET_MACHINE_DEPENDENT_REORG): Do not redefine. | |
3025 | (sparc_reorg): Rename to sparc_do_work_around_errata. Move to | |
3026 | head of file. Change return type. Split off gate function. | |
3027 | (sparc_gate_work_around_errata): New function. | |
3028 | (pass_work_around_errata): New pass definition. | |
3029 | (insert_pass_work_around_errata) New pass insert definition to | |
3030 | insert pass_work_around_errata just after delayed-branch scheduling. | |
3031 | (sparc_option_override): Insert the pass. | |
3032 | * config/sparc/t-sparc (sparc.o): Add TREE_PASS_H dependence. | |
3033 | ||
17f446a0 | 3034 | 2013-04-10 David S. Miller <davem@davemloft.net> |
3035 | ||
c18356f5 | 3036 | * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=supersparc |
3037 | or -mcpu=hypersparc. | |
3038 | ||
17f446a0 | 3039 | * target.def (cstore_mode): New hook. |
3040 | * target.h: Include insn-codes.h | |
3041 | * targhooks.c: Likewise. | |
3042 | (default_cstore_mode): New function. | |
3043 | * targhooks.h: Declare it. | |
3044 | * doc/tm.texi.in: New hook slot for TARGET_CSTORE_MODE. | |
3045 | * doc/tm.texi: Rebuild. | |
3046 | * expmed.c (emit_cstore): Obtain cstore boolean result mode using | |
3047 | target hook, rather than inspecting the insn_data. | |
3048 | * config/sparc/sparc.c (sparc_cstore_mode): New function. | |
3049 | (TARGET_CSTORE_MODE): Redefine. | |
3050 | (emit_scc_insn): When TARGET_ARCH64, emit new 64-bit boolean | |
3051 | result patterns. | |
3052 | * config/sparc/predicates.md (cstore_result_operand): New special | |
3053 | predicate. | |
3054 | * config/sparc/sparc.md (cstoresi4, cstoredi4, cstore<F:mode>4): | |
3055 | Use it for operand 0. | |
3056 | (*seqsi_special): Rewrite using 'P' mode iterator on operand 0. | |
3057 | (*snesi_special): Likewise. | |
3058 | (*snesi_zero): Likewise. | |
3059 | (*seqsi_zero): Likewise. | |
3060 | (*sltu_insn): Likewise. | |
3061 | (*sgeu_insn): Likewise. | |
3062 | (*seqdi_special): Make operand 0 and comparison operation be of | |
3063 | DImode. | |
3064 | (*snedi_special): Likewise. | |
3065 | (*snedi_special_vis3): Likewise. | |
3066 | (*neg_snesi_zero): Rename to *neg_snesisi_zero. | |
3067 | (*neg_snesi_sign_extend): Rename to *neg_snesidi_zero. | |
3068 | (*snesi_zero_extend): Delete, covered by 'P' mode iterator. | |
3069 | (*neg_seqsi_zero): Rename to *neg_seqsisi_zero. | |
3070 | (*neg_seqsi_sign_extend): Rename to *neg_seqsidi_zero. | |
3071 | (*seqsi_zero_extend): Delete, covered by 'P' mode iterator. | |
3072 | (*sltu_extend_sp64): Likewise. | |
3073 | (*neg_sltu_insn): Rename to *neg_sltusi_insn. | |
3074 | (*neg_sltu_extend_sp64): Rename to *neg_sltudi_insn. | |
3075 | (*sgeu_extend_sp64): Delete, covered by 'P' mode iterator. | |
3076 | (*neg_sgeu_insn): Rename to *neg_sgeusi_insn. | |
3077 | (*neg_sgeu_extend_sp64): Rename to *neg_sgeudi_insn. | |
3078 | ||
69b8a0da | 3079 | 2013-04-10 Yufeng Zhang <yufeng.zhang@arm.com> |
3080 | ||
3081 | * config/aarch64/aarch64.c (aarch64_print_extension): New function. | |
3082 | (aarch64_start_file): Use the new function. | |
3083 | ||
8786b72c | 3084 | 2013-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
8f028904 | 3085 | Jason Merrill <jason@redhat.com> |
8786b72c | 3086 | |
3087 | * common.opt: Add -gdwarf. | |
3088 | * opts.c (common_handle_option): Handle it. | |
3089 | * gcc.c (ASM_DEBUG_SPEC): Don't expect "-2" for DWARF. | |
3090 | ||
ef3baff5 | 3091 | 2013-04-10 Richard Biener <rguenther@suse.de> |
3092 | ||
3093 | * passes.c (execute_todo): Do not call ggc_collect conditional here. | |
3094 | (execute_one_ipa_transform_pass): But unconditionally here. | |
3095 | (execute_one_pass): And here. | |
3096 | (init_optimization_passes): Remove reload pass. | |
3097 | * tree-pass.h (TODO_ggc_collect): Remove. | |
3098 | (pass_reload): Likewise. | |
3099 | * ira.c (do_reload): Merge into ... | |
3100 | (ira): ... this. | |
3101 | (rest_of_handle_reload): Remove. | |
3102 | (pass_reload): Likewise. | |
3103 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
3104 | of reload for vzeroupper pass placement. | |
3105 | * <everywhere>: Remove TODO_ggc_collect from todo_flags_start | |
3106 | and todo_flags_finish of all passes. | |
3107 | ||
3533e58d | 3108 | 2013-04-10 Richard Biener <rguenther@suse.de> |
3109 | ||
3110 | * tree-vectorizer.h (struct _slp_oprnd_info): Remove | |
3111 | first_const_oprnd field, rename first_def_type to first_op_type. | |
3112 | * tree-vect-slp.c (vect_create_oprnd_info): Adjust. | |
3113 | (vect_get_and_check_slp_defs): Always use the type of the | |
3114 | operand. Allow mixed vect_external_def, vect_constant_def types. | |
3115 | (vect_get_constant_vectors): Handle mixed vect_external_def, | |
3116 | vect_constant_def types. | |
3117 | ||
b095bd6a | 3118 | 2013-04-10 Joern Rennecke <joern.rennecke@embecosm.com> |
3119 | ||
3120 | PR tree-optimization/55524 | |
3121 | * tree-ssa-math-opts.c | |
3122 | (convert_mult_to_fma): Don't use an fms construct | |
3123 | when we don't have an fms operation, but fnma, and it looks | |
3124 | likely that we'll be able to use the latter. | |
3125 | ||
479b4ace | 3126 | 2013-04-10 Zhouyi Zhou <yizhouzhou@ict.ac.cn> |
3127 | ||
3128 | * cif-code.def (OVERWRITABLE): Correct the comment for overwritable | |
3129 | function. | |
3130 | * ipa-inline.c (can_inline_edge_p): Let dump mechanism report the | |
3131 | inline fail caused by overwritable functions. | |
3132 | ||
241f5399 | 3133 | 2013-04-10 Chung-Ju Wu <jasonwucj@gmail.com> |
3134 | ||
3135 | * combine.c (simplify_compare_const): Use GET_MODE_MASK to filter out | |
3136 | unnecessary bits in the constant power of two case. | |
3137 | ||
0eba4748 | 3138 | 2013-04-10 Richard Biener <rguenther@suse.de> |
3139 | ||
3140 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove | |
3141 | broken code swapping operands. | |
3142 | (vect_build_slp_tree): Do not compute load permutations here. | |
3143 | (vect_analyze_slp_instance): Compute load permutations here, | |
3144 | after building the SLP tree. | |
3145 | ||
60ac2a59 | 3146 | 2013-04-09 Christian Bruel <christian.bruel@st.com> |
3147 | ||
3148 | * config/sh/sh.md (barrier_align): Use next/prev_active_insn instead | |
3149 | of next/prev_real_insn. | |
3150 | ||
7dfe7ce5 | 3151 | 2013-04-09 Jan Hubicka <jh@suse.cz> |
3152 | ||
0eba4748 | 3153 | * ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): |
3154 | Drop aliased parameter. | |
7dfe7ce5 | 3155 | (function_and_variable_visibility): Do not handle alias pairs. |
3156 | * cgraph.c (varpool_externally_visible_p): Update prototype. | |
3157 | * varpool.c (varpool_add_new_variable): Update. | |
3158 | ||
4164bca1 | 3159 | 2013-04-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3160 | ||
3161 | * config/arm/arm.md (minmax_arithsi_non_canon): New pattern. | |
3162 | ||
6ef7d725 | 3163 | 2013-04-09 Steven Bosscher <steven@gcc.gnu.org> |
3164 | ||
adb4cb31 | 3165 | * sched-vis.c (print_pattern): Print SEQUENCE of insns as insns. |
3166 | ||
6ef7d725 | 3167 | * config/sparc/sparc.md: Use define_c_enum for "unspec" and "unspecv". |
3168 | ||
efbfe80e | 3169 | 2013-04-09 Marek Polacek <polacek@redhat.com> |
3170 | ||
3171 | PR tree-optimization/48762 | |
8f028904 | 3172 | * params.def (PARAM_MAX_CSE_INSNS): Increase the minimum value to 1. |
efbfe80e | 3173 | |
ee6e9ba5 | 3174 | 2013-04-09 Richard Biener <rguenther@suse.de> |
3175 | ||
3176 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove code | |
3177 | dealing with cost. | |
3178 | (vect_build_slp_tree): Likewise. | |
3179 | (vect_analyze_slp_cost_1, vect_analyze_slp_cost): New functions | |
3180 | calculating the cost of a SLP instance. | |
3181 | (vect_analyze_slp_instance): Use it from here, after building | |
3182 | the SLP tree. | |
3183 | ||
4abecb72 | 3184 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
3185 | ||
3186 | PR middle-end/56883 | |
3187 | * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk, | |
3188 | expand_omp_for_static_chunk): Use simple_p = true in | |
3189 | force_gimple_operand_gsi calls when assigning to addressable decls. | |
3190 | ||
813adf93 | 3191 | 2013-04-09 Jeff Law <law@redhat.com> |
3192 | ||
3193 | * tree-vrp.c (simplify_cond_using_ranges): Simplify test of boolean | |
3194 | when the boolean was created by converting a wider object which | |
3195 | had a boolean range. | |
3196 | ||
40bcc7c2 | 3197 | 2013-04-09 Richard Biener <rguenther@suse.de> |
3198 | ||
3199 | * tree-vectorizer.h (slp_void_p): Remove. | |
3200 | (slp_tree): Typedef before _slp_tree declaration. | |
3201 | (struct _slp_tree): Use a vector of slp_tree as children. | |
3202 | (vect_get_place_in_interleaving_chain): Remove. | |
3203 | * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain): | |
3204 | Move ... | |
3205 | * tree-vect-slp.c (vect_get_place_in_interleaving_chain): ... here | |
3206 | and make static. | |
3207 | (vect_free_slp_tree, vect_print_slp_tree, vect_mark_slp_stmts, | |
3208 | vect_mark_slp_stmts_relevant, vect_slp_rearrange_stmts, | |
3209 | vect_detect_hybrid_slp_stmts, vect_slp_analyze_node_operations, | |
3210 | vect_schedule_slp_instance, vect_remove_slp_scalar_calls): | |
3211 | Use slp_node instead of slp_void_p and adjust. | |
3212 | ||
c8498e04 | 3213 | 2013-04-09 Richard Biener <rguenther@suse.de> |
3214 | ||
3215 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Avoid | |
3216 | work that is not necessary. | |
3217 | ||
f6e2e4ff | 3218 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
3219 | ||
3220 | PR tree-optimization/56854 | |
3221 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't | |
3222 | forward into clobber stmts if it would change MEM_REF lhs into | |
3223 | non-MEM_REF. | |
3224 | ||
45e5c263 | 3225 | 2013-04-09 Maxim Kuvyrkov <maxim@kugelworks.com> |
3226 | ||
3227 | * tree.c (type_hash_lookup, type_hash_add): Make static. | |
3228 | * tree.h (type_hash_lookup, type_hash_add): Remove global declarations. | |
3229 | ||
26a87c78 | 3230 | 2013-04-09 Richard Biener <rguenther@suse.de> |
3231 | ||
3232 | * tree.h (unsave_expr_now): Remove. | |
3233 | * tree-inline.c (mark_local_for_remap_r): Remove. | |
3234 | (unsave_expr_1): Likewise. | |
3235 | (unsave_r): Likewise. | |
3236 | (unsave_expr_now): Likewise. | |
3237 | * tree-ssa-copy.c (replace_exp_1): Use unshare_expr. | |
3238 | (propagate_tree_value): Likewise. | |
3239 | ||
3ff7f7e7 | 3240 | 2013-04-08 Steven Bosscher <steven@gcc.gnu.org> |
3241 | ||
3242 | * doc/rtl.texi (sequence): Rewrite documentation to match the | |
3243 | current use of SEQUENCE rtl objects. | |
3244 | * rtl.def (SEQUENCE): Likewise. | |
3245 | ||
3246 | * doc/rtl.texi (NOTE_INSN_EH_REGION_BEG, NOTE_INSN_EH_REGION_END): | |
3247 | Update documentation. | |
3248 | (NOTE_INSN_LOOP_BEG, NOTE_INSN_LOOP_END, NOTE_INSN_LOOP_CONT, | |
3249 | NOTE_INSN_LOOP_VTOP): Remove documentation for non-existing notes. | |
3250 | ||
3251 | * reg-notes.def (REG_EH_CONTEXT): Remove unused note. | |
3252 | ||
f9d4b7f4 | 3253 | 2013-04-08 Teresa Johnson <tejohnson@google.com> |
3254 | ||
3255 | * basic-block.h (GCOV_COMPUTE_SCALE): Define. | |
3256 | * ipa-inline-analysis.c (param_change_prob): Use helper rounding divide | |
8f028904 | 3257 | methods. |
f9d4b7f4 | 3258 | (estimate_edge_size_and_time): Add comment to suggest using rounding |
3259 | methods. | |
3260 | (estimate_node_size_and_time): Ditto. | |
3261 | (remap_edge_change_prob): Use helper rounding divide methods. | |
3262 | * value-prof.c (gimple_divmod_fixed_value_transform): Ditto. | |
3263 | (gimple_mod_pow2_value_transform): Ditto. | |
3264 | (gimple_mod_subtract_transform): Ditto. | |
3265 | (gimple_ic_transform): Ditto. | |
3266 | (gimple_stringops_transform): Ditto. | |
3267 | * stmt.c (conditional_probability): Ditto. | |
3268 | (emit_case_dispatch_table): Ditto. | |
3269 | * lto-cgraph.c (merge_profile_summaries): Ditto. | |
3270 | * tree-optimize.c (execute_fixup_cfg): Ditto. | |
3271 | * cfgcleanup.c (try_forward_edges): Ditto. | |
3272 | * cfgloopmanip.c (scale_loop_profile): Ditto. | |
3273 | (loopify): Ditto. | |
3274 | (duplicate_loop_to_header_edge): Ditto. | |
3275 | (lv_adjust_loop_entry_edge): Ditto. | |
3276 | * tree-vect-loop.c (vect_transform_loop): Ditto. | |
3277 | * profile.c (compute_branch_probabilities): Ditto. | |
3278 | * cfgbuild.c (compute_outgoing_frequencies): Ditto. | |
3279 | * lto-streamer-in.c (input_cfg): Ditto. | |
3280 | * gimple-streamer-in.c (input_bb): Ditto. | |
3281 | * ipa-cp.c (update_profiling_info): Ditto. | |
3282 | (update_specialized_profile): Ditto. | |
3283 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Ditto. | |
3284 | * cfg.c (update_bb_profile_for_threading): Add comment to suggest using | |
8f028904 | 3285 | rounding methods. |
f9d4b7f4 | 3286 | * sched-rgn.c (compute_dom_prob_ps): Ditto. |
3287 | (compute_trg_info): Ditto. | |
3288 | * cfgrtl.c (force_nonfallthru_and_redirect): Ditto. | |
3289 | (purge_dead_edges): Ditto. | |
3290 | * loop-unswitch.c (unswitch_loop): Ditto. | |
3291 | * cgraphclones.c (cgraph_clone_edge): Ditto. | |
3292 | (cgraph_clone_node): Ditto. | |
3293 | * tree-inline.c (copy_bb): Ditto. | |
3294 | (copy_edges_for_bb): Ditto. | |
3295 | (initialize_cfun): Ditto. | |
3296 | (copy_cfg_body): Ditto. | |
3297 | (expand_call_inline): Ditto. | |
3298 | ||
5a405481 | 3299 | 2013-04-08 Kai Tietz <ktietz@redhat.com> |
3300 | ||
3301 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Replaced | |
3302 | TARGET_CYGWIN64 by TARGET_64BIT. | |
3303 | ||
88b2f163 | 3304 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
3305 | ||
3306 | * config/epiphany/epiphany.md (GPR_1): New constant. | |
3307 | (define_expand "mov<mode>cc): FAIL if gen_compare_reg returned 0. | |
3308 | * config/epiphany/epiphany.c (gen_compare_reg): | |
3309 | For flag_finite_math_only, avoid swapping operands when r0 and/or r1 | |
3310 | is already in place. | |
3311 | Use GPR_0 / GPR_1 instead of 0/1 for r0/r1 register numbers. | |
3312 | Don't require being called during rtl expansion; If y operlaps r0, | |
3313 | return 0. | |
3314 | (epiphany_compute_frame_size, epiphany_expand_prologue): Use GPR_1. | |
3315 | (epiphany_expand_epilogue): Likewise. | |
3316 | ||
3d5b5f5d | 3317 | * config/epiphany/epiphany.c (epiphany_select_cc_mode): |
3318 | Don't use CC_FPmode for ORDERED / UNORDERED. | |
8f028904 | 3319 | * config/epiphany/epiphany.md (cmpsf_ord): Make pattern unconditional. |
3d5b5f5d | 3320 | |
9864d85d | 3321 | * config/epiphany/constraints.md (CnL): New constraint. |
3322 | * config/epiphany/epiphany.md (addsi3_i): Add r/r/CnL alternative. | |
3323 | * config/epiphany/predicates.md (add_operand): Allow 1024. | |
3324 | ||
309ff476 | 3325 | * config/epiphany/epiphany.md (logical_op): New code iterator. |
3326 | (op_mnc): New code attribute. | |
3327 | (<op_mnc>_f, mov_f, cstoresi4): New patterns. | |
3328 | (mov_f+1, mov_f+2): New peephole2 patterns. | |
3329 | ||
b434a9d7 | 3330 | * config/epiphany/epiphany.md (mov_f+2): New peephole2 pattern. |
3331 | (cstoresi4): Also allow re-use of zero result when doing a NE | |
3332 | comparison to a non-zero operand. | |
2467b384 | 3333 | Use (clobber (scratch)) for first insn if the gpr output is not needed. |
b434a9d7 | 3334 | |
9d8aebe9 | 3335 | * config/epiphany/epiphany.md (<insn_opname>v2si3): |
3336 | Use gen_addsi3_i / gen_subsi3_i. | |
3337 | ||
896a0c42 | 3338 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
3339 | ||
3340 | PR c++/34949 | |
3341 | PR c++/50243 | |
3342 | * tree-eh.c (optimize_clobbers): Only remove clobbers if bb doesn't | |
3343 | contain anything but clobbers, at most one __builtin_stack_restore, | |
3344 | optionally debug stmts and final resx, and if it has at least one | |
3345 | incoming EH edge. Don't check for SSA_NAME on LHS of a clobber. | |
3346 | (sink_clobbers): Don't check for SSA_NAME on LHS of a clobber. | |
3347 | Instead of moving clobbers with MEM_REF LHS with SSA_NAME address | |
3348 | which isn't defaut definition, remove them. | |
3349 | (unsplit_eh, cleanup_empty_eh): Use single_{pred,succ}_{p,edge} | |
3350 | instead of EDGE_COUNT comparisons or EDGE_{PRED,SUCC}. | |
3351 | * tree-ssa-ccp.c (execute_fold_all_builtins): Remove clobbers | |
3352 | with MEM_REF LHS with SSA_NAME address. | |
3353 | ||
d701b871 | 3354 | 2013-04-08 Jeff Law <law@redhat.com> |
3355 | ||
3356 | * gimple.c (canonicalize_cond_expr_cond): Rewrite x ^ y into x != y. | |
813adf93 | 3357 | |
0bf5f81b | 3358 | 2013-04-08 Richard Biener <rguenther@suse.de> |
3359 | ||
3360 | * gimple-pretty-print.c (debug_gimple_stmt): Do not print | |
3361 | extra newline. | |
3362 | * tree-vect-loop.c (vect_determine_vectorization_factor): Dump | |
3363 | determined vector type. | |
3364 | (vect_analyze_data_refs): Likewise. | |
3365 | (vect_get_new_vect_var): Adjust. | |
3366 | (vect_create_destination_var): Preserve SSA name versions. | |
3367 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Do | |
3368 | not dump anything here. | |
3369 | ||
78d11f8a | 3370 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
3371 | ||
3372 | * config/epiphany/epiphany.h (struct GTY (()) machine_function): | |
3373 | Add member lr_slot_known. | |
3374 | * config/epiphany/epiphany.md (reload_insi_ra): Compute lr_slot_offs | |
3375 | if necessary. | |
3376 | * config/epiphany/epiphany.c (epiphany_compute_frame_size): | |
3377 | Remove code that sets lr_slot_offset according to what a previous | |
3378 | version of epiphany_emit_save_restore used to do. | |
3379 | (epiphany_emit_save_restore): When doing an lr save or restore, | |
3380 | set/verify lr_slot_known and lr_slot_offset. | |
3381 | ||
0a36a221 | 3382 | 2013-04-08 Xinyu Qi <xyqi@marvell.com> |
3383 | ||
8f028904 | 3384 | PR target/54338 |
3385 | * config/arm/arm.h (REG_CLASS_CONTENTS): Include IWMMXT_GR_REGS | |
0a36a221 | 3386 | in ALL_REGS. |
3387 | ||
ce0deccc | 3388 | 2013-04-08 Richard Biener <rguenther@suse.de> |
3389 | ||
3390 | * alias.c (find_base_term): Fix thinko in previous change. | |
3391 | ||
0dc30b0c | 3392 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
3393 | ||
3394 | * tree-loop-distribution.c (const_with_all_bytes_same): New function. | |
3395 | (generate_memset_builtin): Only handle integer_all_onesp as -1 val if | |
3396 | TYPE_PRECISION is equal to mode bitsize. Use const_with_all_bytes_same | |
3397 | if possible to compute val. | |
3398 | (classify_partition): Verify CONSTRUCTOR doesn't have any elts. | |
3399 | For QImode integers don't require anything about precision. Use | |
3400 | const_with_all_bytes_same to find out if the constant doesn't have | |
3401 | repeated bytes in it. | |
3402 | ||
31efd1ec | 3403 | 2013-04-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3404 | ||
3405 | * config/s390/s390.c (s390_expand_insv): Only accept insertions | |
3406 | within mode size. | |
3407 | ||
ce4f2aee | 3408 | 2013-04-08 Marek Polacek <polacek@redhat.com> |
3409 | ||
3410 | PR rtl-optimization/48182 | |
3411 | * params.def (PARAM_MIN_CROSSJUMP_INSNS): Increase the minimum | |
3412 | value to 1. | |
3413 | ||
4aa618ec | 3414 | 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3415 | ||
3416 | PR target/55487 | |
3417 | * config/pa/pa.c (legitimize_pic_address): Before incrementing label | |
3418 | nuses, make sure we have a label. | |
3419 | ||
c68f8616 | 3420 | 2013-04-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3421 | ||
3422 | PR target/56843 | |
3423 | * config/rs6000/rs6000.c (rs6000_emit_swdiv_high_precision): Remove. | |
3424 | (rs6000_emit_swdiv_low_precision): Remove. | |
3425 | (rs6000_emit_swdiv): Rewrite to handle between one and four | |
3426 | iterations of Newton-Raphson generally; modify required number of | |
3427 | iterations for some cases. | |
3428 | * config/rs6000/rs6000.h (RS6000_RECIP_HIGH_PRECISION_P): Remove. | |
3429 | ||
b257b412 | 3430 | 2013-04-05 Steven Bosscher <steven@gcc.gnu.org> |
3431 | ||
3432 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove a | |
3433 | set-but-unused variable. | |
3434 | ||
3435 | * cgraph.c (cgraph_release_function_body): Clear cfun->cfg to make | |
3436 | basic blocks of released function bodies garbage-collectable. | |
3437 | ||
3438 | * ree.c (find_and_remove_re): Do not call df_finish_pass here. | |
3439 | (struct rtl_opt_pass): Add TODO_df_finish. | |
3440 | ||
3441 | * rtl.def (DEFINE_SUBST, DEFINE_SUBST_ATTR): Add documentation. | |
3442 | ||
353cf59a | 3443 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
3444 | ||
3445 | * config/arm/constraints.md (q): New constraint. | |
3446 | * config/arm/ldrdstrd.md: New file. | |
3447 | * config/arm/arm.md (ldrdstrd.md) New include. | |
3448 | (arm_movdi): Use "q" instead of "r" constraint | |
3449 | for double-word memory access. | |
3450 | (movdf_soft_insn): Likewise. | |
3451 | * config/arm/vfp.md (movdi_vfp): Likewise. | |
3452 | * config/arm/t-arm (MD_INCLUDES): Add ldrdstrd.md. | |
8f028904 | 3453 | * config/arm/arm-protos.h (gen_operands_ldrd_strd): New declaration. |
353cf59a | 3454 | * config/arm/arm.c (gen_operands_ldrd_strd): New function. |
3455 | (mem_ok_for_ldrd_strd): Likewise. | |
3456 | (output_move_double): Update assertion. | |
3457 | ||
cb860649 | 3458 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
3459 | ||
3460 | * config/arm/arm.md: Comment on splitting Thumb1 patterns. | |
3461 | ||
3dc953f2 | 3462 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
3463 | ||
3464 | * config/arm/arm.md (arm_smax_insn): Convert define_insn into | |
3465 | define_insn_and_split. | |
3466 | (arm_smin_insn,arm_umaxsi3,arm_uminsi3): Likewise. | |
3467 | ||
a5b9aa37 | 3468 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
3469 | ||
3470 | * config/arm/arm.md (arm_ashldi3_1bit): Convert define_insn into | |
3471 | define_insn_and_split. | |
8f028904 | 3472 | (arm_ashrdi3_1bit,arm_lshrdi3_1bit): Likewise. |
a5b9aa37 | 3473 | (shiftsi3_compare): New pattern. |
3474 | (rrx): New pattern. | |
3475 | * config/arm/unspecs.md (UNSPEC_RRX): New. | |
3476 | ||
83e2b922 | 3477 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
3478 | ||
3479 | * config/arm/arm.md (negdi_extendsidi): New pattern. | |
3480 | (negdi_zero_extendsidi): Likewise. | |
3481 | ||
ba6a3b2f | 3482 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
3483 | ||
3484 | * config/arm/arm.md (andsi_iorsi3_notsi): Convert define_insn into | |
3485 | define_insn_and_split. | |
3486 | (arm_negdi2,arm_abssi2,arm_neg_abssi2): Likewise. | |
3487 | (arm_cmpdi_insn,arm_cmpdi_unsigned): Likewise. | |
3488 | ||
2f9b23e3 | 3489 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
3490 | ||
3491 | * config/arm/arm.md (arm_subdi3): Convert define_insn into | |
3492 | define_insn_and_split. | |
3493 | (subdi_di_zesidi,subdi_di_sesidi): Likewise. | |
3494 | (subdi_zesidi_di,subdi_sesidi_di,subdi_zesidi_zesidi): Likewise. | |
3495 | ||
9154bd82 | 3496 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
3497 | ||
3498 | * config/arm/arm.md (subsi3_carryin): New pattern. | |
3499 | (subsi3_carryin_const): Likewise. | |
3500 | (subsi3_carryin_compare,subsi3_carryin_compare_const): Likewise. | |
3501 | (subsi3_carryin_shift,rsbsi3_carryin_shift): Likewise. | |
3502 | ||
560d151e | 3503 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
3504 | ||
3505 | * config/arm/arm.md (incscc,arm_incscc,decscc,arm_decscc): Delete. | |
3506 | ||
a7de272d | 3507 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
3508 | ||
3509 | * config/arm/arm.md (addsi3_carryin_<optab>): Set attribute predicable. | |
9154bd82 | 3510 | (addsi3_carryin_alt2_<optab>,addsi3_carryin_shift_<optab>): Likewise. |
a7de272d | 3511 | |
30441c92 | 3512 | 2013-04-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3513 | ||
3514 | * config/arm/arm.c (arm_expand_builtin): Change fcode | |
3515 | type to unsigned int. | |
3516 | ||
f2ba16e7 | 3517 | 2013-04-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
3518 | ||
3519 | * doc/invoke.texi (ARM Options): Document cortex-a53 support. | |
3520 | ||
224959cb | 3521 | 2013-04-04 Ian Lance Taylor <iant@google.com> |
3522 | ||
8f028904 | 3523 | * doc/standards.texi (Standards): The Go frontend supports the Go 1 |
3524 | language standard. | |
224959cb | 3525 | |
581d1e0f | 3526 | 2013-04-04 Steven Bosscher <steven@gcc.gnu.org> |
3527 | ||
3528 | PR middle-end/56729 | |
3529 | * df-scan.c (df_insn_delete): Disable failing assert. | |
3530 | ||
23877cbc | 3531 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3532 | ||
3533 | * config/arm/arm-protos.h (arm_builtin_vectorized_function): | |
3534 | New function prototype. | |
3535 | * config/arm/arm.c (TARGET_VECTORIZE_BUILTINS): Define. | |
3536 | (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Likewise. | |
3537 | (arm_builtin_vectorized_function): New function. | |
3538 | ||
4bc74efc | 3539 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3540 | ||
3541 | * config/arm/arm_neon_builtins.def: New file. | |
3542 | * config/arm/arm.c (neon_builtin_data): Move contents to | |
3543 | arm_neon_builtins.def. | |
3544 | (enum arm_builtins): Include neon builtin definitions. | |
3545 | (ARM_BUILTIN_NEON_BASE): Move from enum to macro. | |
8f028904 | 3546 | * config/arm/t-arm (arm.o): Add dependency on arm_neon_builtins.def. |
4bc74efc | 3547 | |
6040d650 | 3548 | 2013-04-04 Marek Polacek <polacek@redhat.com> |
3549 | ||
3550 | PR tree-optimization/48186 | |
3551 | * predict.c (maybe_hot_frequency_p): Return false if | |
3552 | HOT_BB_FREQUENCY_FRACTION is 0. | |
3553 | (cgraph_maybe_hot_edge_p): Likewise. | |
3554 | ||
f77a1eec | 3555 | 2013-04-04 Richard Biener <rguenther@suse.de> |
3556 | ||
3557 | PR tree-optimization/56826 | |
3558 | * tree-vect-slp.c (vect_build_slp_tree): Compute ncopies | |
3559 | more accurately. | |
3560 | ||
2dca30a9 | 3561 | 2013-04-04 Richard Biener <rguenther@suse.de> |
3562 | ||
3563 | PR tree-optimization/56213 | |
3564 | * tree-vect-data-refs.c (vect_check_strided_load): Remove. | |
8f028904 | 3565 | (vect_analyze_data_refs): Allow all non-nested loads as strided loads. |
2dca30a9 | 3566 | |
616d052d | 3567 | 2013-04-04 Richard Biener <rguenther@suse.de> |
3568 | ||
3569 | PR tree-optimization/56837 | |
3570 | * tree-loop-distribution.c (classify_partition): For non-zero | |
3571 | values require that the value has the same precision as its | |
3572 | mode to be useful as memset value. | |
3573 | ||
34bcbb16 | 3574 | 2013-04-03 Nick Clifton <nickc@redhat.com> |
3575 | ||
8f028904 | 3576 | * config/v850/v850e3v5.md (fmasf4): Use fmaf.s on E3V5 architectures. |
34bcbb16 | 3577 | (fmssf4): Use fmsf.s on E3V5 architectures. |
3578 | (fnmasf4): Use fnmaf.s on E3V5 architectures. | |
3579 | (fnmssf4): Use fnmsf.s on E3V5 architectures. | |
3580 | ||
2aebdec3 | 3581 | 2013-04-03 Jeff Law <law@redhat.com> |
3582 | ||
3583 | * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H). | |
3584 | (lra-eliminations.o): Likewise. | |
3585 | ||
8515a84d | 3586 | 2013-04-03 Teresa Johnson <tejohnson@google.com> |
3587 | ||
3588 | * gcov-io.c (compute_working_sets): Moved most of body of old | |
8f028904 | 3589 | compute_working_sets here from profile.c. |
8515a84d | 3590 | * gcov-io.h (NUM_GCOV_WORKING_SETS): Moved here from profile.c. |
8f028904 | 3591 | (gcov_working_set_t): Moved typedef here from basic-block.h |
3592 | (compute_working_set): Declare. | |
8515a84d | 3593 | * profile.c (NUM_GCOV_WORKING_SETS): Moved to gcov-io.h. |
3594 | (get_working_sets): Renamed from compute_working_set, | |
8f028904 | 3595 | replace most of body with call to new compute_working_sets. |
8515a84d | 3596 | (get_exec_counts): Replace call to compute_working_sets |
8f028904 | 3597 | to get_working_sets. |
3598 | * profile.h (get_working_sets): Renamed from compute_working_set. | |
8515a84d | 3599 | * lto-cgraph.c (input_symtab): Replace call to compute_working_sets |
8f028904 | 3600 | to get_working_sets. |
8515a84d | 3601 | * basic-block.h (gcov_working_set_t): Moved to gcov-io.h. |
3602 | * gcov-dump.c (dump_working_sets): New function. | |
3603 | ||
687a1ea1 | 3604 | 2013-04-03 Kenneth Zadeck <zadeck@naturalbridge.com> |
3605 | ||
3606 | * hwint.c (sext_hwi, zext_hwi): New functions. | |
3607 | * hwint.h (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT, | |
3608 | HOST_HALF_WIDE_INT_PRINT, HOST_HALF_WIDE_INT_PRINT_C, | |
3609 | HOST_HALF_WIDE_INT_PRINT_DEC, HOST_HALF_WIDE_INT_PRINT_DEC_C, | |
3610 | HOST_HALF_WIDE_INT_PRINT_UNSIGNED, HOST_HALF_WIDE_INT_PRINT_HEX, | |
3611 | HOST_HALF_WIDE_INT_PRINT_HEX_PURE): New symbols. | |
3612 | (sext_hwi, zext_hwi): New functions. | |
34bcbb16 | 3613 | |
99db618c | 3614 | 2013-04-03 Jeff Law <law@redhat.com> |
3615 | ||
3616 | PR tree-optimization/56799 | |
8f028904 | 3617 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Bring |
3618 | back test for widening conversion erroneously dropped in prior change. | |
99db618c | 3619 | |
9743e73f | 3620 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3621 | ||
3622 | PR target/56809 | |
3623 | * config/aarch64/aarch64.c (is_jump_table): Use next_active_insn | |
3624 | instead of next_real_insn. | |
3625 | ||
ef951254 | 3626 | 2013-04-03 Marek Polacek <polacek@redhat.com> |
3627 | ||
3628 | PR sanitizer/55702 | |
8f028904 | 3629 | * tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN functions. |
ef951254 | 3630 | |
795e7242 | 3631 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3632 | ||
3633 | PR target/56809 | |
3634 | * config/arm/arm.c (is_jump_table): Use next_active_insn instead of | |
3635 | next_real_insn. | |
3636 | (thumb1_output_casesi): Likewise. | |
3637 | (thumb2_output_casesi): Likewise. | |
3638 | ||
042301ef | 3639 | 2013-04-03 Richard Biener <rguenther@suse.de> |
3640 | ||
3641 | PR tree-optimization/56817 | |
3642 | * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): | |
3643 | Split out ... | |
3644 | (tree_unroll_loops_completely_1): ... new function to manually | |
3645 | walk the loop tree, properly defering outer loops of unrolled | |
3646 | loops to later iterations. | |
3647 | ||
19bacd59 | 3648 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
3649 | ||
3650 | * tree-vect-stmts.c (vectorizable_store): Accept BIT_FIELD_REF. | |
3651 | (vectorizable_load): Likewise. | |
3652 | * tree-vect-slp.c (vect_build_slp_tree): Likewise. | |
3653 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Handle VECTOR_TYPE. | |
3654 | ||
872e3ff8 | 3655 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
3656 | ||
3657 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle | |
3658 | BIT_FIELD_REF. | |
3659 | ||
b1135d9a | 3660 | 2013-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3661 | ||
3662 | * config/spu/spu.c (emit_nop_for_insn): Handle JUMP_TABLE_DATA. | |
3663 | ||
bb760dac | 3664 | 2013-04-03 Bin Cheng <bin.cheng@arm.com> |
3665 | ||
3666 | * rtl.h (AUTO_INC_DEC): Fix typo of HAVE_POST_MODIFY_DISP. | |
3667 | ||
07681e3a | 3668 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
3669 | ||
3670 | PR tree-optimization/56790 | |
8f028904 | 3671 | * fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Add constant |
3672 | folding. | |
07681e3a | 3673 | |
f0a05bd5 | 3674 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
3675 | ||
3676 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>: | |
3677 | Handle VEC_MERGE. | |
3678 | (simplify_ternary_operation) <VEC_MERGE>: Use unsigned HOST_WIDE_INT | |
3679 | for masks. Test for side effects. Handle nested VEC_MERGE. Handle | |
3680 | equal arguments. | |
3681 | ||
0b049e15 | 3682 | 2013-04-03 Jakub Jelinek <jakub@redhat.com> |
3683 | ||
3684 | PR c/19449 | |
3685 | * tree.h (force_folding_builtin_constant_p): New decl. | |
3686 | * builtins.c (force_folding_builtin_constant_p): New variable. | |
3687 | (fold_builtin_constant_p): Fold immediately also if | |
3688 | force_folding_builtin_constant_p. | |
3689 | ||
1fa434e3 | 3690 | 2013-04-03 Richard Biener <rguenther@suse.de> |
3691 | ||
3692 | PR tree-optimization/56812 | |
3693 | * tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependence): | |
3694 | DRs of the same interleaving chain are independent. | |
3695 | ||
0a56fff4 | 3696 | 2013-04-02 Jason Merrill <jason@redhat.com> |
3697 | ||
3698 | * gdbinit.in (pbb): Use debug fn. | |
3699 | ||
f8477cfc | 3700 | 2013-04-02 Lawrence Crowl <crowl@google.com> |
3701 | ||
3702 | * sese.h (struct ivtype_map_elt_s): Remove unused. | |
3703 | (extern debug_ivtype_map): Remove unused. | |
3704 | (extern eq_ivtype_map_elts): Remove unused. | |
3705 | * sese.c (debug_ivtype_map): Removed unused. | |
3706 | (debug_ivtype_map_1): Removed unused. | |
3707 | (debug_ivtype_elt): Remove unused. | |
3708 | (eq_ivtype_map_elts): Remove unused. | |
3709 | ||
3710 | ||
5496fac8 | 3711 | 2013-04-02 Kai Tietz <ktietz@redhat.com> |
3712 | ||
3713 | PR target/52790 | |
3714 | * config/i386/cygming.h (SUB_TARGET_RECORD_STUB): New sub-target macro. | |
3715 | * config/i386/i386-protos.h (i386_pe_record_stub): Add new prototype. | |
8f028904 | 3716 | * config/i386/i386.c (legitimize_pe_coff_extern_decl): New static |
3717 | function. | |
5496fac8 | 3718 | (legitimize_pe_coff_symbol): Likewise. |
3719 | (is_imported_p): New helper-function. | |
3720 | (ix86_option_override_internal): Make MEDIUM_PIC the default code-model | |
3721 | for Windows x64 targets. | |
3722 | (ix86_expand_prologue): Optimize for pe-coff targets. | |
3723 | (ix86_expand_split_stack_prologue): Adjust for pe-coff targets. | |
3724 | (legitimate_pic_address_disp_p): Adjust for x64 pe-coff to support | |
3725 | medium/large code-model. | |
3726 | (legitimize_pic_address): Likewise. | |
3727 | (legitimize_tls_address): Likewise. | |
3728 | (ix86_expand_call): Likewise. | |
3729 | (x86_output_mi_thunk): Likewise. | |
3730 | (get_dllimport_decl): Add new beimport argument. | |
3731 | (construct_plt_address): Don't assert for x64 pe-coff targets. | |
3732 | * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Adjust for x64 pe-coff | |
3733 | targets. | |
3734 | (SYMBOL_FLAG_STUBVAR): New macro. | |
3735 | (SYMBOL_REF_STUBVAR_P): Likewise. | |
3736 | * config/i386/winnt.c (stub_list): New structure. | |
3737 | (stub_head): New local variable. | |
3738 | (i386_pe_record_stub): New function. | |
3739 | (i386_pe_file_end): Emit refptr-stubs. | |
3740 | ||
9f559b20 | 3741 | 2013-04-02 Jakub Jelinek <jakub@redhat.com> |
3742 | ||
50212417 | 3743 | PR rtl-optimization/56745 |
3744 | * ifcvt.c (cond_exec_find_if_block): Don't try to optimize | |
3745 | if then_bb has no successors and else_bb is EXIT_BLOCK_PTR. | |
3746 | ||
137eddca | 3747 | PR c++/34949 |
3748 | * tree-ssa-alias.c (stmt_kills_ref_p_1): If base != ref->base | |
3749 | and both of them are MEM_REFs, just compare first argument for | |
3750 | equality and attempt to deal even with differing offsets. | |
3751 | ||
9f559b20 | 3752 | PR c++/34949 |
3753 | * tree-cfg.c (verify_gimple_assign_single): Allow lhs | |
3754 | of gimple_clobber_p to be MEM_REF. | |
3755 | * gimplify.c (gimplify_modify_expr): Gimplify *to_p of | |
3756 | an assignment from TREE_CLOBBER_P. Allow it to be MEM_REF | |
3757 | after gimplification. | |
3758 | * asan.c (get_mem_ref_of_assignment): Don't instrument | |
3759 | gimple_clobber_p stmts. | |
3760 | * tree-ssa-dse.c (dse_optimize_stmt): Allow DSE of | |
3761 | gimple_clobber_p stmt if they have MEM_REF lhs and | |
3762 | are dead because of another gimple_clobber_p stmt. | |
3763 | * tree-ssa-live.c (clear_unused_block_pointer): Treat | |
3764 | gimple_clobber_p stmts like debug stmts. | |
3765 | (remove_unused_locals): Remove clobbers with MEM_REF lhs | |
3766 | that refer to unused VAR_DECLs or uninitialized values. | |
3767 | * tree-sra.c (sra_ipa_reset_debug_stmts): Also remove | |
3768 | gimple_clobber_p stmts if they refer to removed parameters. | |
3769 | (get_repl_default_def_ssa_name, sra_ipa_modify_expr): Fix up | |
3770 | formatting. | |
3771 | ||
7d71feb3 | 3772 | 2013-04-02 Uros Bizjak <ubizjak@gmail.com> |
3773 | ||
3774 | * config/i386/i386.md (*testqi_ext_3): Merge with *testqi_ext_3_rex64 | |
3775 | using SWI48 mode attribute. | |
3776 | ||
10ef9b48 | 3777 | 2013-04-02 Wei Mi <wmi@google.com> |
3778 | ||
3779 | * config/i386/i386.c (ix86_rtx_costs): Set proper rtx cost for | |
3780 | ashl<mode>3_mask, *<shift_insn><mode>3_mask and | |
3781 | *<rotate_insn><mode>3_mask in i386.md. | |
3782 | ||
ced500f0 | 3783 | 2013-04-02 Alexander Ivchenko <alexander.ivchenko@intel.com> |
3784 | ||
3785 | * config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android. | |
3786 | ||
95e19962 | 3787 | 2013-04-02 Richard Biener <rguenther@suse.de> |
3788 | ||
3789 | PR tree-optimization/56778 | |
3790 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): | |
3791 | Runtime alias tests are not supported for gather loads. | |
3792 | * tree-vect-loop-manip.c (vect_loop_versioning): Insert | |
3793 | stmts referenced from SSA operands before updating SSA form. | |
3794 | ||
da10bc87 | 3795 | 2013-04-02 Ian Caulfield <ian.caulfield@arm.com> |
3796 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
3797 | ||
3798 | * config/arm/arm-arches.def (armv8-a): Default to cortex-a53. | |
7d71feb3 | 3799 | * config/arm/t-arm (MD_INCLUDES): Depend on cortex-a53.md. |
3800 | * config/arm/cortex-a53.md: New file. | |
3801 | * config/arm/bpabi.h (BE8_LINK_SPEC): Handle cortex-a53. | |
3802 | * config/arm/arm.md (generic_sched, generic_vfp): Handle cortex-a53. | |
3803 | * config/arm/arm.c (arm_issue_rate): Likewise. | |
3804 | * config/arm/arm-tune.md: Regenerate | |
3805 | * config/arm/arm-tables.opt: Regenerate. | |
3806 | * config/arm/arm-cores.def: Add cortex-a53. | |
da10bc87 | 3807 | |
d62eaedc | 3808 | 2013-04-02 Zhenqiang Chen <zhenqiang.chen@arm.com> |
3809 | ||
3810 | * config/arm/uclinux-elf.h: Add %L to LINK_GCC_C_SEQUENCE_SPEC for | |
3811 | non-static link. | |
3812 | ||
fb436d5f | 3813 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
3814 | ||
da10bc87 | 3815 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add variants for |
3816 | scalar load/store operations using B/H registers. | |
fb436d5f | 3817 | (*zero_extend<SHORT:mode><GPI:mode>2_aarch64): Likewise. |
3818 | ||
43bd8f5c | 3819 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
3820 | ||
3821 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add alternatives for | |
3822 | scalar move. | |
3823 | * config/aarch64/aarch64.c | |
3824 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
3825 | * config/aarch64/aarch64-protos.h | |
3826 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
3827 | * config/aarch64/constraints.md (Dh, Dq): New. | |
3828 | * config/aarch64/iterators.md (hq): New. | |
3829 | ||
965df672 | 3830 | 2013-04-02 Eric Botcazou <ebotcazou@adacore.com> |
3831 | ||
3832 | * reorg.c (get_branch_condition): Deal with conditional returns. | |
3833 | (fill_simple_delay_slots): Remove dead code dealing with jumps. | |
3834 | ||
8089c750 | 3835 | 2013-04-01 Wei Mi <wmi@google.com> |
3836 | ||
3837 | * config/i386/i386.md (*ashl<mode>3_mask): Rewrite as define_insn. | |
3838 | Truncate operand 2 using %b asm operand modifier. | |
3839 | (*<shift_insn><mode>3_mask): Ditto. | |
3840 | (*<rotate_insn><mode>3_mask): Ditto. | |
3841 | ||
53859f1c | 3842 | 2013-04-01 Steven Bosscher <steven@gcc.gnu.org> |
3843 | ||
3844 | PR middle-end/56798 | |
3845 | * cfgbuild.c (inside_basic_block_p): Restore check broken at r197234. | |
3846 | ||
262e5908 | 3847 | 2013-03-31 Kaz Kojima <kkojima@gcc.gnu.org> |
3848 | ||
3849 | * config/sh/sh.md (casesi_worker_1): Use next_active_insn instead | |
3850 | of next_real_insn. | |
3851 | (casesi_worker_2, casesi_shift_media, casesi_load_media): Likewise. | |
3852 | ||
e85eaec5 | 3853 | 2013-03-30 Lawrence Crowl <crowl@google.com> |
3854 | ||
3855 | * dse.c (clear_alias_sets): Remove never set. | |
3856 | (disqualified_clear_alias_sets): Remove never set. | |
3857 | (clear_alias_mode_pool): Remove never set. | |
3858 | (dse_step0): Remove condition that is never true. | |
3859 | (canon_address): Remove condition that is never true. | |
3860 | (dse_step7): Remove condition that is never true. | |
3861 | (rest_of_handle_dse): Remove condition that is never true. | |
3862 | (rest_of_handle_dse::did_global): Remove never read from above. | |
3863 | (dse_step2_spill): Remove never called from above. | |
3864 | (dse_step5_spill): Remove never called from above. | |
3865 | ||
91f71fa3 | 3866 | 2013-03-30 Steven Bosscher <steven@gcc.gnu.org> |
3867 | ||
9ddbb404 | 3868 | * doc/md.texi (Standard Names) <casesi>: Update documentation for |
3869 | JUMP_TABLE_DATA changes. | |
3870 | * doc/tm.texi.in (Dispatch Tables) <ASM_OUTPUT_CASE_LABEL>: Likewise. | |
3871 | * doc/rtl.texi (Flags) <INSN_DELETED_P, SCHED_GROUP_P>: Likewise. | |
3872 | (Insns) <jump_table_data>: New entry. | |
3873 | * doc/tm.texi: Regenerate. | |
3874 | ||
91f71fa3 | 3875 | * cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. |
3876 | ||
3877 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Correct test | |
3878 | for table jump at the end of a basic block using tablejump_p. | |
3879 | * targhooks.c (default_invalid_within_doloop): Likewise. | |
3880 | * config/rs6000/rs6000.c (TARGET_INVALID_WITHIN_DOLOOP): Remove | |
3881 | target hook implementation that is identical to the default hook. | |
3882 | (rs6000_invalid_within_doloop): Remove. | |
3883 | ||
3884 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove set but | |
3885 | unused variable from tablejump_p call. | |
3886 | ||
3887 | * rtl.def (JUMP_TABLE_DATA): New RTX_INSN object. | |
3888 | * rtl.h (RTX_PREV, RTX_NEXT): Adjust for new JUMP_TABLE_DATA. | |
3889 | (INSN_DELETED_P): Likewise. | |
3890 | (emit_jump_table_data): New prototype. | |
3891 | * gengtype.c (adjust_field_rtx_def): Handle JUMP_TABLE_DATA fields | |
3892 | after 4th as unused. | |
3893 | * print-rtl.c (print_rtl): Handle JUMP_TABLE_DATA. | |
3894 | * sched-vis.c (print_insn): Likewise. | |
3895 | * emit-rtl.c (active_insn_p): Consider JUMP_TABLE_DATA an active | |
3896 | insn for compatibility with back ends that use next_active_insn to | |
3897 | identify jump table data. | |
3898 | (set_insn_deleted): Remove no longer useful JUMP_TABLE_DATA_P check. | |
3899 | (remove_insn): Likewise. | |
3900 | (emit_insn): Do not accept JUMP_TABLE_DATA objects in insn chains | |
3901 | to be emitted. | |
3902 | (emit_debug_insn, emit_jump_insn, emit_call_insn, emit_label): Idem. | |
3903 | (emit_jump_table_data): New function. | |
3904 | ||
3905 | * cfgbuild.c (inside_basic_block_p): A JUMP_INSN is always inside a | |
3906 | basic block, a JUMP_TABLE_DATA never is. | |
3907 | (control_flow_insn_p): JUMP_TABLE_DATA is not a control flow insn. | |
3908 | * cfgrtl.c (duplicate_insn_chain): Split handling of JUMP_TABLE_DATA | |
3909 | off from code handling real insns. | |
3910 | * final.c (get_attr_length_1): Simplify for JUMP_INSNs. | |
3911 | * function.c (instantiate_virtual_regs): Remove JUMP_TABLE_DATA_P | |
3912 | test, now redundant because JUMP_TABLE_DATA is not an INSN_P insn. | |
3913 | * gcse.c (insert_insn_end_basic_block): Likewise, JUMP_TABLE_DATA_P | |
3914 | is not a NONDEBUG_INSN_P. | |
3915 | * ira-costs.c (scan_one_insn): Likewise. | |
3916 | * jump.c (mark_all_labels): Likewise. | |
3917 | (mark_jump_label_1): Likewise. | |
3918 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
3919 | * lra.c (get_insn_freq): Expect all insns reaching here to be in | |
3920 | a basic block. | |
3921 | (check_rtl): Remove JUMP_TABLE_DATA_P test, not a NONDEBUG_INSN_P insn. | |
3922 | * predict.c (expensive_function_p): Use FOR_BB_INSNS. | |
3923 | * reload1.c (calculate_needs_all_insns): Call set_label_offsets for | |
3924 | JUMP_TABLE_DATA_P insns. | |
3925 | (calculate_elim_costs_all_insns): Likewise. | |
3926 | (set_label_offsets): Recurse on the PATTERN of JUMP_TABLE_DATA insns. | |
3927 | (elimination_costs_in_insn): Remove redundant JUMP_TABLE_DATA_P test. | |
3928 | (delete_output_reload): Code style fixups. | |
3929 | * reorg.c (dbr_schedule): Move JUMP_TABLE_DATA_P up to avoid setting | |
3930 | insn flags on this non-insn. | |
3931 | * sched-rgn.c (add_branch_dependences): Treat JUMP_TABLE_DATA insns | |
3932 | as scheduling barriers, for pre-change compatibility. | |
3933 | * stmt.c (emit_case_dispatch_table): Emit jump table data not as | |
3934 | JUMP_INSN objects but instead as JUMP_TABLE_DATA objects. | |
3935 | ||
3936 | * config/alpha/alpha.c (alpha_does_function_need_gp): Remove | |
3937 | redundant JUMP_TABLE_DATA_P test. | |
3938 | * config/arm/arm.c (thumb_far_jump_used_p): Likewise. | |
3939 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
3940 | (frv_for_each_packet): Likewise. | |
3941 | * config/i386/i386.c (min_insn_size): Likewise. | |
3942 | (ix86_avoid_jump_mispredicts): Likewise. | |
3943 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
3944 | * config/mep/mep.c (mep_reorg_erepeat): Likewise. | |
3945 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
3946 | (mips16_insn_length): Robustify. | |
3947 | (mips_has_long_branch_p): Remove redundant JUMP_TABLE_DATA_P test. | |
3948 | (mips16_split_long_branches): Likewise. | |
3949 | * config/pa/pa.c (pa_combine_instructions): Likewise. | |
3950 | * config/rs6000/rs6000.c (get_next_active_insn): Treat | |
3951 | JUMP_TABLE_DATA objects as active insns, like in active_insn_p. | |
3952 | * config/s390/s390.c (s390_chunkify_start): Treat JUMP_TABLE_DATA | |
3953 | as contributing to pool range lengths. | |
3954 | * config/sh/sh.c (find_barrier): Restore check for ADDR_DIFF_VEC. | |
3955 | Remove redundant JUMP_TABLE_DATA_P test. | |
3956 | (sh_loop_align): Likewise. | |
3957 | (split_branches): Likewise. | |
3958 | (sh_insn_length_adjustment): Likewise. | |
3959 | * config/spu/spu.c (get_branch_target): Likewise. | |
3960 | ||
9e179a64 | 3961 | 2013-03-29 Jan Hubicka <jh@suse.cz> |
3962 | ||
3963 | * lto-cgraph.c (output_profile_summary, input_profile_summary): Use | |
3964 | gcov streaming; stream hot bb threshold to ltrans. | |
3965 | * predict.c (get_hot_bb_threshold): Break out from .... | |
3966 | (maybe_hot_count_p): ... here. | |
3967 | (set_hot_bb_threshold): New function. | |
3968 | * lto-section-in.c (lto_section_name): Add profile. | |
3969 | * profile.h (get_hot_bb_threshold, set_hot_bb_threshold): Declare. | |
3970 | * ipa.c: Include hash-table.h, tree-inline.h, profile.h, lto-streamer.h | |
3971 | and data-streamer.h | |
3972 | (histogram_entry): New structure. | |
3973 | (histogram, histogram_pool): New global vars. | |
3974 | (histogram_hash): New structure. | |
3975 | (histogram_hash::hash): New method. | |
3976 | (histogram_hash::equal): Likewise. | |
3977 | (account_time_size): New function. | |
3978 | (cmp_counts): New function. | |
3979 | (dump_histogram): New function. | |
3980 | (ipa_profile_generate_summary): New function. | |
3981 | (ipa_profile_write_summary): New function. | |
3982 | (ipa_profile_read_summary): New function. | |
3983 | (ipa_profile): Decide on threshold. | |
7d71feb3 | 3984 | (pass_ipa_profile): Add ipa_profile_write_summary and |
3985 | ipa_profile_read_summary. | |
9e179a64 | 3986 | * Makefile.in (ipa.o): Update dependencies. |
3987 | * lto-streamer.h (LTO_section_ipa_profile): New section. | |
3988 | ||
80a58eb0 | 3989 | 2013-03-29 Gabriel Dos Reis <gdr@integrable-solutions.net> |
3990 | ||
3991 | * tree.h (VAR_P): New. | |
3992 | ||
51bad497 | 3993 | 2013-03-29 Paolo Carlini <paolo.carlini@oracle.com> |
3994 | ||
3995 | PR lto/56777 | |
3996 | * doc/invoke.texi ([-fwhole-program]): Fix typo. | |
3997 | ||
77985f1a | 3998 | 2013-03-29 Steven Bosscher <steven@gcc.gnu.org> |
3999 | ||
4000 | * cfgbuild.c (inside_basic_block_p): Use JUMP_TABLE_DATA_P in lieu | |
4001 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
4002 | (control_flow_insn_p): Likewise. | |
4003 | * cfgrtl.c (duplicate_insn_chain): Likewise. | |
4004 | * final.c (get_attr_length_1): Likewise. | |
4005 | (shorten_branches): Likewise. | |
4006 | (final_scan_insn): Likewise. | |
4007 | * function.c (instantiate_virtual_regs): Likewise. | |
4008 | * gcse.c (insert_insn_end_basic_block): Likewise. | |
4009 | * ira-costs.c (scan_one_insn): Likewise. | |
4010 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
4011 | * lra.c (check_rtl): Likewise. | |
4012 | * reload1.c (elimination_costs_in_insn): Likewise. | |
4013 | * reorg.c (follow_jumps): Likewise. | |
4014 | ||
4015 | * config/arm/arm.c (is_jump_table): Use JUMP_TABLE_DATA_P in lieu | |
4016 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
4017 | (thumb_far_jump_used_p): Likewise. | |
4018 | * config/bfin/bfin.c (workaround_rts_anomaly): Likewise. | |
4019 | (workaround_speculation): Likewise. | |
4020 | (add_sched_insns_for_speculation): Likewise. | |
4021 | * config/c6x/c6x.c (reorg_emit_nops): Likewise. | |
4022 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
4023 | (frv_for_each_packet): Likewise. | |
4024 | * config/i386/i386.c (ix86_avoid_jump_mispredicts): Likewise. | |
4025 | * config/ia64/ia64.c (emit_all_insn_group_barriers): Likewise. | |
4026 | (final_emit_insn_group_barriers): Likewise. | |
4027 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
4028 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
4029 | (mips16_insn_length): Likewise. | |
4030 | * config/pa/pa.c (pa_reorg): Likewise. | |
4031 | (pa_combine_instructions): Likewise. | |
4032 | * config/rs6000/rs6000.c (rs6000_invalid_within_doloop): Likewise. | |
4033 | * config/sh/sh.c (fixup_addr_diff_vecs): Likewise. | |
4034 | (sh_reorg): Likewise. | |
4035 | (split_branches): Likewise. | |
4036 | * config/spu/spu.c (get_branch_target): Likewise. | |
4037 | ||
4038 | * config/s390/s390.c (s390_chunkify_start): Simplify logic using | |
4039 | JUMP_TABLE_DATA_P. | |
4040 | ||
78e8d5ff | 4041 | 2013-03-29 Kirill Yukhin <kirill.yukhin@intel.com> |
4042 | ||
51bad497 | 4043 | * config/i386/avx2intrin.h (_mm256_broadcastsi128_si256): |
78e8d5ff | 4044 | Fix declaration name. |
4045 | ||
31d49894 | 4046 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
4047 | ||
4048 | * graphds.h (struct graph.indicies): Remove unused. | |
4049 | * graphite-poly.h (struct graph.original_pddrs): Remove unused. | |
4050 | (SCOP_ORIGINAL_PDDRS): Remove unused. | |
4051 | * sese.h (extern insert_loop_close_phis): Removed unused. | |
4052 | (extern insert_guard_phis): Removed unused. | |
4053 | (extern ivtype_map_elt_info): Removed unused. | |
4054 | (new_ivtype_map_elt): Removed unused. | |
4055 | * sese.c (ivtype_map_elt_info): Removed unused. | |
4056 | ||
c7d89805 | 4057 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
4058 | ||
4059 | * Makefile.in: Add several missing include dependences. | |
4060 | (DUMPFILE_H): New. | |
4061 | (test-dump.o): New. This object is not added to any executable, | |
4062 | but is present for ad-hoc testing. | |
4063 | * bitmap.c | |
4064 | (debug (const bitmap_head_def &)): New. | |
4065 | (debug (const bitmap_head_def *)): New. | |
4066 | * bitmap.h | |
4067 | (extern debug (const bitmap_head_def &)): New. | |
4068 | (extern debug (const bitmap_head_def *)): New. | |
4069 | * cfg.c | |
4070 | (debug (edge_def &)): New. | |
4071 | (debug (edge_def *)): New. | |
4072 | * cfghooks.c | |
4073 | (debug (basic_block_def &)): New. | |
4074 | (debug (basic_block_def *)): New. | |
4075 | * dumpfile.h | |
4076 | (dump_node (const_tree, int, FILE *)): Correct source file. | |
4077 | * dwarf2out.c | |
4078 | (debug (die_struct &)): New. | |
4079 | (debug (die_struct *)): New. | |
4080 | * dwarf2out.h | |
4081 | (extern debug (die_struct &)): New. | |
4082 | (extern debug (die_struct *)): New. | |
4083 | * gimple-pretty-print.c | |
4084 | (debug (gimple_statement_d &)): New. | |
4085 | (debug (gimple_statement_d *)): New. | |
4086 | * gimple-pretty-print.h | |
4087 | (extern debug (gimple_statement_d &)): New. | |
4088 | (extern debug (gimple_statement_d *)): New. | |
4089 | * ira-build.c | |
4090 | (debug (ira_allocno_copy &)): New. | |
4091 | (debug (ira_allocno_copy *)): New. | |
4092 | (debug (ira_allocno &)): New. | |
4093 | (debug (ira_allocno *)): New. | |
4094 | * ira-int.h | |
4095 | (extern debug (ira_allocno_copy &)): New. | |
4096 | (extern debug (ira_allocno_copy *)): New. | |
4097 | (extern debug (ira_allocno &)): New. | |
4098 | (extern debug (ira_allocno *)): New. | |
4099 | * ira-lives.c | |
4100 | (debug (live_range &)): New. | |
4101 | (debug (live_range *)): New. | |
4102 | * lra-int.h | |
4103 | (debug (lra_live_range &)): New. | |
4104 | (debug (lra_live_range *)): New. | |
4105 | * lra-lives.c | |
4106 | (debug (lra_live_range &)): New. | |
4107 | (debug (lra_live_range *)): New. | |
4108 | * omega.c | |
4109 | (debug (omega_pb_d &)): New. | |
4110 | (debug (omega_pb_d *)): New. | |
4111 | * omega.h | |
4112 | (extern debug (omega_pb_d &)): New. | |
4113 | (extern debug (omega_pb_d *)): New. | |
4114 | * print-rtl.c | |
4115 | (debug (const rtx_def &)): New. | |
4116 | (debug (const rtx_def *)): New. | |
4117 | * print-tree.c | |
4118 | (debug_tree (tree): Move within file. | |
4119 | (debug_raw (const tree_node &)): New. | |
4120 | (debug_raw (const tree_node *)): New. | |
4121 | (dump_tree_via_hooks (const tree_node *, int)): New. | |
4122 | (debug (const tree_node &)): New. | |
4123 | (debug (const tree_node *)): New. | |
4124 | (debug_verbose (const tree_node &)): New. | |
4125 | (debug_verbose (const tree_node *)): New. | |
4126 | (debug_head (const tree_node &)): New. | |
4127 | (debug_head (const tree_node *)): New. | |
4128 | (debug_body (const tree_node &)): New. | |
4129 | (debug_body (const tree_node *)): New. | |
4130 | (debug_vec_tree (tree): Move and reimplement in terms of dump. | |
4131 | (debug (vec<tree, va_gc> &)): New. | |
4132 | (debug (vec<tree, va_gc> *)): New. | |
4133 | * rtl.h | |
4134 | (extern debug (const rtx_def &)): New. | |
4135 | (extern debug (const rtx_def *)): New. | |
4136 | * sbitmap.c | |
4137 | (debug_raw (simple_bitmap_def &)): New. | |
4138 | (debug_raw (simple_bitmap_def *)): New. | |
4139 | (debug (simple_bitmap_def &)): New. | |
4140 | (debug (simple_bitmap_def *)): New. | |
4141 | * sbitmap.h | |
4142 | (extern debug (simple_bitmap_def &)): New. | |
4143 | (extern debug (simple_bitmap_def *)): New. | |
4144 | (extern debug_raw (simple_bitmap_def &)): New. | |
4145 | (extern debug_raw (simple_bitmap_def *)): New. | |
4146 | * sel-sched-dump.c | |
4147 | (debug (vinsn_def &)): New. | |
4148 | (debug (vinsn_def *)): New. | |
4149 | (debug_verbose (vinsn_def &)): New. | |
4150 | (debug_verbose (vinsn_def *)): New. | |
4151 | (debug (expr_def &)): New. | |
4152 | (debug (expr_def *)): New. | |
4153 | (debug_verbose (expr_def &)): New. | |
4154 | (debug_verbose (expr_def *)): New. | |
4155 | (debug (vec<rtx> &)): New. | |
4156 | (debug (vec<rtx> *)): New. | |
4157 | * sel-sched-dump.h | |
4158 | (extern debug (vinsn_def &)): New. | |
4159 | (extern debug (vinsn_def *)): New. | |
4160 | (extern debug_verbose (vinsn_def &)): New. | |
4161 | (extern debug_verbose (vinsn_def *)): New. | |
4162 | (extern debug (expr_def &)): New. | |
4163 | (extern debug (expr_def *)): New. | |
4164 | (extern debug_verbose (expr_def &)): New. | |
4165 | (extern debug_verbose (expr_def *)): New. | |
4166 | (extern debug (vec<rtx> &)): New. | |
4167 | (extern debug (vec<rtx> *)): New. | |
4168 | * sel-sched-ir.h | |
4169 | (_list_iter_cond_expr): Make inline instead of static. | |
4170 | * sreal.c | |
4171 | (debug (sreal &)): New. | |
4172 | (debug (sreal *)): New. | |
4173 | * sreal.h | |
4174 | (extern debug (sreal &)): New. | |
4175 | (extern debug (sreal *)): New. | |
4176 | * tree.h | |
4177 | (extern debug_raw (const tree_node &)): New. | |
4178 | (extern debug_raw (const tree_node *)): New. | |
4179 | (extern debug (const tree_node &)): New. | |
4180 | (extern debug (const tree_node *)): New. | |
4181 | (extern debug_verbose (const tree_node &)): New. | |
4182 | (extern debug_verbose (const tree_node *)): New. | |
4183 | (extern debug_head (const tree_node &)): New. | |
4184 | (extern debug_head (const tree_node *)): New. | |
4185 | (extern debug_body (const tree_node &)): New. | |
4186 | (extern debug_body (const tree_node *)): New. | |
4187 | (extern debug (vec<tree, va_gc> &)): New. | |
4188 | (extern debug (vec<tree, va_gc> *)): New. | |
4189 | * tree-cfg.c | |
4190 | (debug (struct loop &)): New. | |
4191 | (debug (struct loop *)): New. | |
4192 | (debug_verbose (struct loop &)): New. | |
4193 | (debug_verbose (struct loop *)): New. | |
4194 | * tree-dump.c: Add header dependence. | |
4195 | * tree-flow.h | |
4196 | (extern debug (struct loop &)): New. | |
4197 | (extern debug (struct loop *)): New. | |
4198 | (extern debug_verbose (struct loop &)): New. | |
4199 | (extern debug_verbose (struct loop *)): New. | |
4200 | * tree-data-ref.c | |
4201 | (debug (data_reference &)): New. | |
4202 | (debug (data_reference *)): New. | |
4203 | (debug (vec<data_reference_p> &)): New. | |
4204 | (debug (vec<data_reference_p> *)): New. | |
4205 | (debug (vec<ddr_p> &)): New. | |
4206 | (debug (vec<ddr_p> *)): New. | |
4207 | * tree-data-ref.h | |
4208 | (extern debug (data_reference &)): New. | |
4209 | (extern debug (data_reference *)): New. | |
4210 | (extern debug (vec<data_reference_p> &)): New. | |
4211 | (extern debug (vec<data_reference_p> *)): New. | |
4212 | (extern debug (vec<ddr_p> &)): New. | |
4213 | (extern debug (vec<ddr_p> *)): New. | |
4214 | * tree-ssa-alias.c | |
4215 | (debug (pt_solution &)): New. | |
4216 | (debug (pt_solution *)): New. | |
4217 | * tree-ssa-alias.h | |
4218 | (extern debug (pt_solution &)): New. | |
4219 | (extern debug (pt_solution *)): New. | |
4220 | * tree-ssa-alias.c | |
4221 | (debug (_var_map &)): New. | |
4222 | (debug (_var_map *)): New. | |
4223 | (debug (tree_live_info_d &)): New. | |
4224 | (debug (tree_live_info_d *)): New. | |
4225 | * tree-ssa-alias.h | |
4226 | (extern debug (_var_map &)): New. | |
4227 | (extern debug (_var_map *)): New. | |
4228 | (extern debug (tree_live_info_d &)): New. | |
4229 | (extern debug (tree_live_info_d *)): New. | |
4230 | ||
ed8b1c1f | 4231 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
4232 | ||
4233 | * lto-cgraph.c (merge_profile_summaries): Fix overflows. | |
4234 | ||
0d62a093 | 4235 | 2013-03-28 Ian Bolton <ian.bolton@arm.com> |
4236 | ||
4237 | * config/aarch64/aarch64.md (aarch64_can_eliminate): Keep frame | |
4238 | record only when desired or required. | |
4239 | ||
cea39eb6 | 4240 | 2013-03-28 Uros Bizjak <ubizjak@gmail.com> |
4241 | ||
4242 | * config/i386/i386.md (*vec_extract2vdi_1): Merge with | |
4243 | *vec_extractv2di_1_rex64. Use x64 isa attribute. | |
4244 | ||
8f028904 | 4245 | 2013-03-28 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
7f4f914a | 4246 | |
4247 | * config/aarch64/aarch64.md (*and<mode>3_compare0): New pattern. | |
4248 | (*andsi3_compare0_uxtw): New pattern. | |
4249 | (*and_<SHIFT:optab><mode>3_compare0): New pattern. | |
4250 | (*and_<SHIFT:optab>si3_compare0_uxtw): New pattern. | |
4251 | ||
fc44a215 | 4252 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
4253 | ||
4254 | * data-streamer-in.c (streamer_read_gcov_count): New function. | |
4255 | * gimple-streamer-out.c: Include value-prof.h. | |
4256 | (output_gimple_stmt): Output histogram. | |
4257 | (output_bb): Use streamer_write_gcov_count. | |
4258 | * value-prof.c: Include data-streamer.h | |
4259 | (dump_histogram_value): Add HIST_TYPE_MAX. | |
4260 | (stream_out_histogram_value): New function. | |
4261 | (stream_in_histogram_value): New function. | |
4262 | * value-prof.h (enum hist_type): Add HIST_TYPE_MAX. | |
4263 | (stream_out_histogram_value, stream_in_histogram_value): Declare. | |
4264 | * data-streamer-out.c (streamer_write_gcov_count): New function. | |
4265 | (streamer_write_gcov_count_stream): New function. | |
4266 | * lto-cgraph.c (lto_output_edge): Update counter streaming. | |
4267 | (lto_output_node): Likewise. | |
4268 | (input_node, input_edge): Likewise. | |
4269 | * lto-streamer-out.c (output_cfg): Update streaming. | |
4270 | * lto-streamer-in.c (input_cfg): Likewise. | |
4271 | * data-streamer.h (streamer_write_gcov_count, | |
4272 | streamer_write_gcov_count_stream, streamer_read_gcov_count): Declare. | |
4273 | * gimple-streamer-in.c: Include value-prof.h | |
4274 | (input_gimple_stmt): Input histograms. | |
4275 | (input_bb): Update profile streaming. | |
4276 | ||
7d71feb3 | 4277 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
64a8b204 | 4278 | |
8f028904 | 4279 | * genmodes.c (emit_max_int): New function. |
f9cb58ae | 4280 | (emit_insn_modes_h): Added call to emit_max_function. |
51bad497 | 4281 | * doc/rtl.texi (MAX_BITSIZE_MODE_ANY_INT, MAX_BITSIZE_MODE_ANY_MODE): |
4282 | Added doc. | |
f9cb58ae | 4283 | * machmode.def: Fixed comment. |
fc44a215 | 4284 | |
7d71feb3 | 4285 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
f9cb58ae | 4286 | |
4287 | * combine.c (try_combine): Removed useless assert. | |
64a8b204 | 4288 | * cselib.c (rtx_equal_for_cselib_1): Removed unnecessary parens. |
4289 | ||
43d7caca | 4290 | 2013-03-28 Marek Polacek <polacek@redhat.com> |
4291 | Richard Biener <rguenther@suse.de> | |
4292 | ||
4293 | PR tree-optimization/56695 | |
4294 | * tree-vect-stmts.c (vectorizable_condition): Unconditionally | |
4295 | build signed result of a vector comparison. | |
4296 | * tree-cfg.c (verify_gimple_comparison): Check that a result | |
4297 | of a vector comparison has signed type. | |
4298 | ||
8f3e4987 | 4299 | 2013-03-28 Richard Biener <rguenther@suse.de> |
4300 | ||
4301 | PR tree-optimization/37021 | |
4302 | * tree-vect-slp.c (vect_build_slp_tree): When not unrolling | |
4303 | do not restrict gaps between groups. | |
4304 | * tree-vect-stmts.c (vectorizable_load): Properly account for | |
4305 | a gap between groups. | |
4306 | ||
5b0d71ce | 4307 | 2013-03-28 Eric Botcazou <ebotcazou@adacore.com> |
4308 | ||
4309 | * toplev.c (process_options): Do not disable -fomit-frame-pointer on a | |
4310 | general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS | |
4311 | is not enabled. | |
4312 | ||
886c5e35 | 4313 | 2013-03-27 Gerald Pfeifer <gerald@pfeifer.com> |
4314 | ||
4315 | * doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual. | |
4316 | * doc/extend.texi (Named Address Spaces): Ditto. | |
4317 | (Variable Attributes): Ditto. | |
4318 | ||
8f3115a2 | 4319 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
4320 | ||
10b0ba24 | 4321 | * config.build: Add support for cygwin x64 target. |
4322 | * config.gcc: Likewise. | |
4323 | * config.host: Likewise. | |
4324 | * configure.ac: Likewise | |
4325 | * configure: Regenerated. | |
8f3115a2 | 4326 | |
cb8160ad | 4327 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
4328 | ||
4329 | * config/i386/cygwin-stdint.h: Add support for cygwin x64 target. | |
4330 | * config/i386/t-cygwin-w64: New file. | |
4331 | * config/i386/cygwin-w64.h: New file. | |
4332 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Extend | |
4333 | and add support for x64-cygwin target. | |
4334 | (CPP_SPEC): Likewise. | |
4335 | (CXX_WRAP_SPEC_LIST): Undefine before define. | |
4336 | (LIBGCJ_SONAME): Use 15 as version. | |
4337 | ||
6c9b05aa | 4338 | 2013-03-27 Richard Biener <rguenther@suse.de> |
4339 | ||
4340 | PR tree-optimization/56716 | |
4341 | * tree-ssa-structalias.c (perform_var_substitution): Adjust | |
4342 | dumping for ref nodes. | |
4343 | ||
4f0c9cf2 | 4344 | 2013-03-27 Martin Jambor <mjambor@suse.cz> |
4345 | ||
4346 | PR tree-optimization/55334 | |
4347 | * ipa-cp.c (initialize_node_lattices): Allow IPA-CP through and to | |
4348 | restricted pointers to arrays. | |
4349 | ||
e79e977d | 4350 | 2013-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
4351 | ||
4352 | * Makefile.in (.SUFFIXES): Add .cc. | |
4353 | (.c.o): Apply same recipe for implicit rule .cc.o. | |
4354 | ||
f837b1f7 | 4355 | 2013-03-27 Richard Biener <rguenther@suse.de> |
4356 | ||
4357 | PR tree-optimization/37021 | |
4358 | * tree-vect-data-refs.c (vect_check_strided_load): Allow | |
4359 | REALPART/IMAGPART_EXPRs around the supported refs. | |
4360 | * tree-ssa-structalias.c (find_func_aliases): Assume that | |
4361 | floating-point values are not used to transfer pointers. | |
4362 | ||
df9f2e40 | 4363 | 2013-03-27 Alexander Ivchenko <alexander.ivchenko@intel.com> |
4364 | ||
51bad497 | 4365 | * target.def (TARGET_HAS_IFUNC_P): New target hook. |
4366 | * doc/tm.texi.in (TARGET_HAS_IFUNC_P): New. | |
4367 | * doc/tm.texi: Regenerate. | |
4368 | * targhooks.h (default_has_ifunc_p): New. | |
4369 | * targhooks.c (default_has_ifunc_p): Ditto. | |
4370 | * config/linux-protos.h: New file. | |
4371 | * config/linux-android.h (TARGET_HAS_IFUNC_P): Using version of | |
df9f2e40 | 4372 | this hook for linux which disables support of indirect functions in |
4373 | android. | |
51bad497 | 4374 | * config/linux-android.c: New file. |
4375 | * config/t-linux-android.c: Ditto. | |
4376 | * config.gcc: Added new object file linux-android.o. | |
4377 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): | |
df9f2e40 | 4378 | Using TARGET_HAS_IFUNC hook instead of HAVE_GNU_INDIRECT_FUNCTION. |
51bad497 | 4379 | * varasm.c (do_assemble_alias): Likewise. |
df9f2e40 | 4380 | * configure.ac: Define HAVE_GNU_INDIRECT_FUNCTION as zero if the target |
4381 | doesn't support indirect functions. | |
4382 | * configure: Regenerate. | |
4383 | ||
d18af62e | 4384 | 2013-03-27 Bin Cheng <bin.cheng@arm.com> |
4385 | ||
4386 | PR target/56102 | |
4387 | * config/arm/arm.c (thumb1_rtx_costs, thumb1_size_rtx_costs): Fix | |
4388 | rtx costs for SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT patterns with | |
4389 | mult-word mode. | |
4390 | ||
2e9f00a3 | 4391 | 2013-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4392 | ||
4393 | * config/s390/s390.h (TARGET_FLT_EVAL_METHOD): Define. | |
4394 | ||
6ee84d16 | 4395 | 2013-03-27 Terry Guo <terry.guo@arm.com> |
4396 | ||
4397 | * config/arm/arm-cores.def: Added core cortex-r7. | |
4398 | * config/arm/arm-tune.md: Regenerated. | |
4399 | * config/arm/arm-tables.opt: Regenerated. | |
4400 | * doc/invoke.texi: Added entry for core cortex-r7. | |
4401 | ||
9f1b21e1 | 4402 | 2013-03-27 Walter Lee <walt@tilera.com> |
4403 | ||
4404 | * config/tilegx/tilegx.c (tilegx_expand_prologue): Avoid | |
4405 | double-decrement of next_scratch_regno. | |
4406 | ||
21743daa | 4407 | 2013-03-27 Walter Lee <walt@tilera.com> |
4408 | ||
7946a1e8 | 4409 | * config/tilegx/tilegx.md (insn_v1mulu): Fix predicates on |
21743daa | 4410 | input operands. |
4411 | (insn_v1mulus): Ditto. | |
4412 | (insn_v2muls): Ditto. | |
4413 | ||
d7c3902f | 4414 | 2013-03-27 Walter Lee <walt@tilera.com> |
4415 | ||
7d71feb3 | 4416 | * config/tilegx/tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete extra tab. |
d7c3902f | 4417 | (ASM_OUTPUT_ADDR_DIFF_ELT): Ditto. |
4418 | ||
cd002190 | 4419 | 2013-03-27 Walter Lee <walt@tilera.com> |
4420 | ||
7d71feb3 | 4421 | * config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute for jr. |
cd002190 | 4422 | (*sibcall_value): Ditto. |
4423 | ||
ddff9023 | 4424 | 2013-03-27 Walter Lee <walt@tilera.com> |
4425 | ||
4426 | * config/tilegx/tilegx.md (insn_mnz_<mode>): Replaced by ... | |
4427 | (insn_mnz_v8qi): ... this ... | |
4428 | (insn_mnz_v4hi): ... and this. Replace (const_int 0) with the | |
4429 | vector equivalent. | |
4430 | (insn_v<n>mnz): Replaced by ... | |
4431 | (insn_v1mnz): ... this ... | |
4432 | (insn_v2mnz): ... and this. Replace (const_int 0) with the vector | |
4433 | equivalent. | |
4434 | (insn_mz_<mode>): Replaced by ... | |
4435 | (insn_mz_v8qi): ... this ... | |
4436 | (insn_mz_v4hi): ... and this. Replace (const_int 0) with the | |
4437 | vector equivalent. | |
4438 | (insn_v<n>mz): Replaced by ... | |
4439 | (insn_v1mz): ... this ... | |
4440 | (insn_v2mz): ... and this. Replace (const_int 0) with the vector | |
4441 | equivalent. | |
4442 | ||
79c96309 | 4443 | 2013-03-26 Eric Botcazou <ebotcazou@adacore.com> |
4444 | ||
4445 | * doc/invoke.texi (SPARC options): Remove -mlittle-endian. | |
4446 | ||
b48eb844 | 4447 | 2013-03-26 Roland McGrath <mcgrathr@google.com> |
4448 | ||
4449 | * config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather | |
4450 | than fprintf with a non-constant, non-format string. | |
4451 | ||
ee9e7384 | 4452 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
4453 | ||
4454 | * config/i386/i386.md (*cmpqi_ext_1): Merge with *cmpqi_ext_1_rex64 | |
4455 | using nox64 isa attribute. Use nonimmediate_x86nomem_operand as | |
4456 | operand 0 predicate. | |
4457 | (*cmpqi_ext_3): Merge with *cmpqi_ext_3_rex64 using nox64 isa | |
4458 | attribute. Use general_x64nomem_operand as operand 1 predicate. | |
4459 | (*movqi_extv_1): Merge with *movqi_extv_1_rex64 using nox64 isa | |
4460 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
4461 | (*movqi_extzv_2): Merge with *movqi_extzv_2_rex64 using nox64 isa | |
4462 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
4463 | (mov<mode>_insv_1): Remove expander. Merge insn with | |
4464 | movsi_insv_1 using SWI48 mode iterator and nox64 isa attribute. | |
4465 | Use general_x64nomem_operand as operand 1 predicate. | |
4466 | (addqi_ext_1): Merge with *addqi_ext_1_rex64 using nox64 isa attribute. | |
4467 | (*testqi_ext_1): Merge with *testqi_ext_1_rex64 using nox64 isa | |
4468 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
4469 | (*andqi_ext_1): Merge with *andqi_ext_1_rex64 using nox64 isa | |
4470 | attribute. Use nonimmediate_x64nomem_operand as operand 2 predicate. | |
4471 | (*<code>qi_ext_1): Merge with *<code>qi_ext_1_rex64 using nox64 isa | |
4472 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
4473 | (*xorqi_cc_ext_1): Merge with *xorqi_cc_ext_1_rex64 using nox64 | |
4474 | isa attribute. Use general_x64nomem_operand as operand 2 predicate. | |
4475 | * config/i386/predicates.md (nonimmediate_x64nomem_operand): New. | |
4476 | (general_x64nomem_operand): Ditto. | |
4477 | ||
57c8b8f0 | 4478 | 2013-03-26 Sebastian Huber <sebastian.huber@embedded-brains.de> |
2c4fdad4 | 4479 | |
4480 | * config/rtems.opt: Add -pthread option. | |
4481 | ||
5abc99e4 | 4482 | 2013-03-26 Richard Biener <rguenther@suse.de> |
4483 | ||
ee9e7384 | 4484 | * alias.c (find_base_term): Avoid redundant and not used recursion. |
4485 | (base_alias_check): Get the initial base term from the caller. | |
5abc99e4 | 4486 | (true_dependence_1): Compute and pass base terms to base_alias_check. |
4487 | (write_dependence_p): Likewise. | |
4488 | (may_alias_p): Likewise. | |
4489 | ||
df67a123 | 4490 | 2013-03-26 Sofiane Naci <sofiane.naci@arm.com> |
4491 | ||
4492 | * config/aarch64/aarch64.c (aarch64_classify_address): Support | |
4493 | PC-relative load in SI modes and above only. | |
4494 | ||
9d4b6482 | 4495 | 2013-03-26 Xinyu Qi <xyqi@marvell.com> |
4496 | ||
4497 | * config/arm/arm.h (FIRST_IWMMXT_GR_REGNUM): Add comment. | |
8f028904 | 4498 | * config/arm/iwmmxt.md (WCGR0): Update. |
4499 | (WCGR1, WCGR2, WCGR3): Likewise. | |
9d4b6482 | 4500 | |
c8244d17 | 4501 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
4502 | ||
4503 | * config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64. | |
4504 | Use x64 and nox64 isa attributes. | |
4505 | ||
9eec20bf | 4506 | 2013-03-26 Richard Biener <rguenther@suse.de> |
4507 | ||
4508 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove | |
4509 | alignment computations and rely on get_object_alignment_1 | |
4510 | for the !TYPE_P case. | |
4511 | Commonize DECL/COMPONENT_REF handling in the ARRAY_REF path. | |
4512 | ||
684c0f06 | 4513 | 2013-03-26 Walter Lee <walt@tilera.com> |
4514 | ||
4515 | * config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define. | |
4516 | * config/tilegx/tilepro.h (PROFILE_BEFORE_PROLOGUE): Define. | |
4517 | ||
96a1fa3a | 4518 | 2013-03-25 Jeff Law <law@redhat.com> |
99db618c | 4519 | |
8f028904 | 4520 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing |
4521 | check for INTEGRAL_TYPE_P that was missing due to checking in | |
96a1fa3a | 4522 | wrong version of prior patch. |
4523 | ||
60cae6e1 | 4524 | 2013-03-25 Walter Lee <walt@tilera.com> |
4525 | ||
4526 | * config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add | |
4527 | TILEGX_INSN_SHUFFLEBYTES1. | |
4528 | * config/tilegx/tilegx.c (tilegx_builtin_info): Add entry for | |
4529 | shufflebytes1. | |
4530 | (tilegx_builtins): Ditto. | |
4531 | * config/tilegx/tilegx.md (insn_shufflebytes1): New pattern. | |
4532 | ||
a116add9 | 4533 | 2013-03-25 Walter Lee <walt@tilera.com> |
4534 | ||
4535 | * config/tilegx/tilegx.md (floatsisf2): New pattern. | |
60cae6e1 | 4536 | (floatunssisf2): New pattern. |
4537 | (floatsidf2): New pattern. | |
4538 | (floatunssidf2): New pattern. | |
a116add9 | 4539 | |
19f27a0c | 4540 | 2013-03-25 Walter Lee <walt@tilera.com> |
4541 | ||
4542 | * config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline | |
4543 | tests for constraint J, K, N, P. | |
4544 | ||
b429d641 | 4545 | 2013-03-25 Walter Lee <walt@tilera.com> |
4546 | ||
4547 | * config/tilegx/tilegx.c (tilegx_asm_preferred_eh_data_format): | |
4548 | Use indirect/pcrel encoding. | |
4549 | * config/tilepro/tilepro.c (tilepro_asm_preferred_eh_data_format): | |
4550 | Ditto. | |
4551 | ||
14844884 | 4552 | 2013-03-25 Steve Ellcey <sellcey@mips.com> |
4553 | ||
4554 | * config/mips/mmips-cpus.def (74kc, 74kf2_1, 74kf, 74kf, 74kf1_1, | |
4555 | 74kfx, 74kx, 74kf3_2): Add PTF_AVOID_IMADD. | |
4556 | * config/mips/mips.c (mips_option_override): Set IMADD default. | |
4557 | * config/mips/mips.h (PTF_AVOID_IMADD): New. | |
4558 | (ISA_HAS_MADD_MSUB): Remove MIPS16 check. | |
4559 | (GENERATE_MADD_MSUB): Remove TUNE_74K check, add MIPS16 check. | |
4560 | * config/mips/mips.md (mimadd): New flag for integer madd/msub. | |
4561 | * doc/invoke.texi (-mimadd/-mno-imadd): New. | |
4562 | ||
5aa24950 | 4563 | 2013-03-25 Jeff Law <law@redhat.com> |
4564 | ||
4565 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Rework | |
4566 | slightly to avoid creating and folding useless trees. Simplify | |
4567 | slightly by restricting to INTEGER_CSTs and using int_fits_type_p. | |
4568 | ||
c7222732 | 4569 | 2013-03-25 Uros Bizjak <ubizjak@gmail.com> |
4570 | ||
4571 | * config/i386/i386.md (*zero_extendsidi2): Merge with | |
4572 | *zero_extendsidi2_rex64. Use x64 and nox64 isa attributes. | |
4573 | * config/i386/predicates.md (x86_64_zext_operand): Rename from | |
4574 | x86_64_zext_general_operand. Use nonimmediate_operand on 32bit | |
4575 | targets. Clarify comment. | |
4576 | ||
30a240df | 4577 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
4578 | ||
4579 | * ipa-prop.c (ipa_write_jump_function): Stream simple and aritmetic | |
4580 | pass-through jump functions differently. | |
4581 | (ipa_read_jump_function): Likewise. Also use setter functions to set | |
4582 | up jump functions. | |
4583 | ||
265c4eb2 | 4584 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
4585 | ||
4586 | * ipa-cp.c (ipa_get_indirect_edge_target): Renamed to | |
4587 | ipa_get_indirect_edge_target_1, added parameter agg_reps and ability to | |
4588 | process it. | |
4589 | (ipa_get_indirect_edge_target): New function. | |
4590 | (devirtualization_time_bonus): New parameter known_aggs, pass it to | |
4591 | ipa_get_indirect_edge_target. Update all callers. | |
4592 | (ipcp_discover_new_direct_edges): New parameter aggvals. Pass it to | |
4593 | ipa_get_indirect_edge_target_1 instead of calling | |
4594 | ipa_get_indirect_edge_target. | |
4595 | (create_specialized_node): Pass aggvlas to | |
4596 | ipcp_discover_new_direct_edges. | |
4597 | ||
91cb50d2 | 4598 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
4599 | ||
4600 | * config/arm/arm.md (f_sels, f_seld): New types. | |
4601 | (*cmov<mode>): New pattern. | |
4602 | * config/arm/predicates.md (arm_vsel_comparison_operator): New | |
4603 | predicate. | |
4604 | ||
1ff5fe3b | 4605 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
4606 | ||
4607 | * config/i386/xm-mingw32.h (__USE_MINGW_ANSI_STDIO): Enable | |
4608 | POSIX-printf for mingw-hosted builds. | |
4609 | ||
0565e0b5 | 4610 | 2013-03-25 Richard Biener <rguenther@suse.de> |
4611 | ||
4612 | PR middle-end/56694 | |
4613 | * tree-eh.c (lower_eh_must_not_throw): Strip BLOCKs from the | |
4614 | must-not-throw stmt location. | |
4615 | ||
47d66364 | 4616 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
4617 | ||
4618 | * config/arm/arm.c (arm_emit_load_exclusive): Add acq parameter. | |
4619 | Emit load-acquire versions when acq is true. | |
4620 | (arm_emit_store_exclusive): Add rel parameter. | |
4621 | Emit store-release versions when rel is true. | |
4622 | (arm_split_compare_and_swap): Use acquire-release instructions | |
4623 | instead. | |
4624 | of barriers when appropriate. | |
4625 | (arm_split_atomic_op): Likewise. | |
4626 | * config/arm/arm.h (TARGET_HAVE_LDACQ): New macro. | |
4627 | * config/arm/unspecs.md (VUNSPEC_LAX): New unspec. | |
4628 | (VUNSPEC_SLX): Likewise. | |
4629 | (VUNSPEC_LDA): Likewise. | |
4630 | (VUNSPEC_STL): Likewise. | |
4631 | * config/arm/sync.md (atomic_load<mode>): New pattern. | |
4632 | (atomic_store<mode>): Likewise. | |
4633 | (arm_load_acquire_exclusive<mode>): Likewise. | |
4634 | (arm_load_acquire_exclusivesi): Likewise. | |
4635 | (arm_load_acquire_exclusivedi): Likewise. | |
4636 | (arm_store_release_exclusive<mode>): Likewise. | |
4637 | ||
087a99ba | 4638 | 2013-03-25 Catherine Moore <clm@codesourcery.com> |
4639 | ||
4640 | * config/mips/constraints.md (u, Udb7 Uead, Uean, Uesp, Uib3, | |
4641 | Uuw6, Usb4, ZS, ZT, ZU, ZV, ZW): New constraints. | |
4642 | * config/mip/predicates.md (lwsp_swsp_operand, | |
4643 | lw16_sw16_operand, lhu16_sh16_operand, lbu16_operand, | |
4644 | sb16_operand, db4_operand, db7_operand, ib3_operand, | |
4645 | sb4_operand, ub4_operand, uh4_operand, uw4_operand, | |
4646 | uw5_operand, uw6_operand, addiur2_operand, addiusp_operand, | |
4647 | andi16_operand): New predicates. | |
4648 | * config/mips/mips.md (compression): New attribute. | |
4649 | (enabled): New attribute. | |
4650 | (length): Consider compression in computing length. | |
4651 | (shift_compression): New code attribute. | |
4652 | (*add<mode>3): New operands. Record compression. | |
4653 | (sub<mode>3): Likewise. | |
4654 | (one_cmpl<mode>2): Likewise. | |
4655 | (*and<mode>3): Likewise. | |
4656 | (*ior<mode>3): Likewise. | |
4657 | (unnamed pattern for xor): Likewise. | |
4658 | (*zero_extend<SHORT:mode><GPR:mode>2): Likewise. | |
4659 | (*<optab><mode>3): Likewise. | |
4660 | (*mov<mode>_internal: Likewise. | |
4661 | * config/mips/mips-protos.h (mips_signed_immediate_p): New. | |
4662 | (mips_unsigned_immediate_p): New. | |
4663 | (umips_lwsp_swsp_address_p): New. | |
4664 | (m16_based_address_p): New. | |
4665 | * config/mips/mips-protos.h (mips_signed_immediate_p): New prototype. | |
4666 | (mips_unsigned_immediate_p): New prototype. | |
4667 | (lwsp_swsp_address_p): New prototype. | |
4668 | (m16_based_address_p): New prototype. | |
4669 | * config/mips/mips.c (mips_unsigned_immediate_p): New function. | |
4670 | (mips_signed_immediate_p): New function. | |
4671 | (m16_based_address_p): New function. | |
4672 | (lwsp_swsp_address_p): New function. | |
4673 | (mips_print_operand_punctuation): Recognize short delay slot insns | |
4674 | for microMIPS.add<mode>3" | |
4675 | ||
2f17f336 | 4676 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
9793b57b | 4677 | |
2f17f336 | 4678 | PR target/56720 |
4679 | * config/arm/iterators.md (v_cmp_result): New mode attribute. | |
4680 | * config/arm/neon.md (vcond<mode><mode>): Handle unordered cases. | |
4681 | ||
d5459a15 | 4682 | 2013-03-25 Richard Biener <rguenther@suse.de> |
4683 | ||
4684 | PR tree-optimization/56689 | |
4685 | * tree-vrp.c (execute_vrp): Mark loops for fixup if we removed | |
4686 | any edge. | |
4687 | ||
feba4360 | 4688 | 2013-03-25 Richard Biener <rguenther@suse.de> |
4689 | ||
4690 | * tree-ssa-loop-im.c (struct mem_ref): Use bitmap_head instead | |
4691 | of bitmap. | |
4692 | (memory_references): Likewise. | |
4693 | (outermost_indep_loop, mem_ref_alloc, mark_ref_stored, | |
4694 | gather_mem_refs_stmt, record_dep_loop, ref_indep_loop_p_1, | |
4695 | ref_indep_loop_p_2, find_refs_for_sm): Adjust. | |
4696 | (gather_mem_refs_in_loops): Fold into ... | |
4697 | (analyze_memory_references): ... this. Move initialization | |
4698 | to tree_ssa_lim_initialize. | |
4699 | (fill_always_executed_in): Rename to ... | |
4700 | (fill_always_executed_in_1): ... this. | |
4701 | (fill_always_executed_in): Move contains_call computation to | |
4702 | this new function from ... | |
4703 | (tree_ssa_lim_initialize): ... here. | |
4704 | (tree_ssa_lim): Call fill_always_executed_in. | |
4705 | ||
7777a939 | 4706 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
4707 | ||
4708 | * postreload.c (reload_combine): Fix code detecting returns. | |
4709 | ||
96129913 | 4710 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
4711 | ||
4712 | * function.c (emit_use_return_register_into_block): On cc0 targets, | |
4713 | do not emit the sequence between cc0 setter and user. | |
4714 | ||
ed5a7307 | 4715 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
4716 | ||
96129913 | 4717 | * config/i386/predicates.md (local_symbolic_operand): Interpret |
4718 | dll-imported symbols as none-local. | |
ed5a7307 | 4719 | |
a2c22c0d | 4720 | 2013-03-25 Richard Biener <rguenther@suse.de> |
4721 | ||
4722 | * tree-ssa-loop-im.c (struct depend): Remove. | |
4723 | (struct lim_aux_data): Make depends a vec of gimples. | |
4724 | (free_lim_aux_data): Adjust. | |
4725 | (add_dependency): Likewise. | |
4726 | (set_level): Likewise. | |
4727 | ||
10836fcc | 4728 | 2013-03-25 Richard Biener <rguenther@suse.de> |
4729 | ||
4730 | PR middle-end/56434 | |
4731 | * calls.c (expand_call): Use MALLOC_ABI_ALIGNMENT to annotate | |
4732 | the pointer returned by calls with ECF_MALLOC set. | |
4733 | ||
1d61c5cb | 4734 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> |
4735 | ||
83b62e99 | 4736 | * config/i386/mmx.md (mov<mode>): Add ?!Ym,r and r,?!Ym alternatives. |
4737 | ||
4738 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> | |
4739 | ||
4740 | * config/i386/mmx.md (mov<mode>): Merge with movv2sf expander | |
1d61c5cb | 4741 | using MMXMODE mode iterator. |
4742 | (*move<mode>_internal): Merge with *movv2sf_internal and | |
4743 | *movv2sf_internal_rex64 using MMXMODE mode iterator. | |
4744 | ||
690973a8 | 4745 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
4746 | ||
37495d69 | 4747 | * gcse.c (oprs_unchanged_p): Respect flag_gcse_lm. |
4748 | (record_last_mem_set_info): Likewise. | |
4749 | ||
690973a8 | 4750 | * df-core.c (rest_of_handle_df_initialize): Use XCNEWVEC instead |
4751 | of XNEWVEC followed by memset. | |
4752 | (df_worklist_dataflow): Use XNEWVEC instead of xmalloc with a cast. | |
4753 | ||
aa90bb35 | 4754 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
4755 | ||
4756 | * config/avr/avr.c, config/bfin/bfin.c, config/c6x/c6x.c, | |
4757 | config/epiphany/epiphany.c, config/frv/frv.c, config/ia64/ia64.c, | |
4758 | config/iq2000/iq2000.c, config/mcore/mcore.c, config/mep/mep.c, | |
4759 | config/mmix/mmix.c, config/pa/pa.c, config/rs6000/rs6000.c, | |
4760 | config/s390/s390.c, config/sparc/sparc.c, config/spu/spu.c, | |
4761 | config/stormy16/stormy16.c, config/v850/v850.c, config/xtensa/xtensa.c, | |
4762 | dwarf2out.c, hw-doloop.c, resource.c, rtl.h : Where applicable, use | |
4763 | the predicates NOTE_P, NONJUMP_INSN_P, JUMP_P, CALL_P, LABEL_P, and | |
4764 | BARRIER_P instead of GET_CODE. | |
4765 | ||
ada2d491 | 4766 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
4767 | ||
4768 | * config/sparc/sparc.c (sparc_emit_probe_stack_range): Fix small | |
4769 | inaccuracy in the probing code. | |
4770 | ||
4771 | * config/sparc/sparc.md (ctrapsi4): Add predicate for operand #3. | |
4772 | (ctrapdi4): Likewise. | |
4773 | ||
d8ef55fc | 4774 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
4775 | ||
4776 | * calls.c (expand_call): Add missing guard to code handling return | |
4777 | of non-BLKmode structures in MSB. | |
4778 | * function.c (expand_function_end): Likewise. | |
4779 | ||
32cf0798 | 4780 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
4781 | ||
4782 | * combine.c (try_combine): Adjust comment. Do not add the set of | |
4783 | insn #0 if the destination indirectly is set or dies in insn #2. | |
4784 | Tidy up code to distribute a new note. | |
4785 | ||
dc624382 | 4786 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
4787 | ||
4788 | * config/i386/i386.md (*movdi_internal): Set prefix_rex attribute | |
4789 | also for alternatives 16 and 17. | |
4790 | ||
76cfb9fa | 4791 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
4792 | ||
4793 | * config/i386/sse.md (*mov<mode>_internal): Merge with | |
4794 | *mov<mode>_internal_rex64. Use x64 and nox64 isa attributes. | |
4795 | Emit insn template depending on type attribute. Use | |
4796 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
4797 | movd instead of movq mnemonic for interunit moves. Rewrite mode | |
4798 | attribute calculation. Remove unit attribute calculation. | |
4799 | Set prefix attribute to maybe_vex for sselog1 and ssemov types. | |
4800 | Set prefix_data16 attribute for DImode ssemov types. | |
4801 | Use Ym instead of y for SSE-MMX conversion alternatives. | |
4802 | Reorder operand constraints. | |
4803 | ||
f09c66e0 | 4804 | 2013-03-22 Steven Bosscher <steven@gcc.gnu.org> |
4805 | ||
4806 | * df.h (df_insn_delete): Adjust prototype. | |
4807 | * emit-rtl.c (remove_insn): Pass a basic block to df_insn_delete | |
4808 | and let it decide whether mark the basic block dirty. | |
4809 | (set_insn_deleted): Only pass INSN_P insns to df_insn_delete. | |
4810 | * df-scan.c (df_insn_info_delete): New helper function, split | |
4811 | off from df_insn_delete. | |
4812 | (df_scan_free_bb_info): Use it. | |
4813 | (df_insn_rescan, df_insn_rescan_all, df_process_deferred_rescans): | |
4814 | Likewise. | |
4815 | (df_insn_delete): Likewise. Take insn rtx as argument. Verify | |
4816 | that the insn is actually an insn and it has a non-NULL basic block. | |
4817 | Do not mark basic block dirty if only deleting a DEBUG_INSN. | |
4818 | ||
c202575b | 4819 | 2013-03-22 Richard Biener <rguenther@suse.de> |
4820 | ||
4821 | * tree-ssa-loop-im.c (struct mem_ref): Remove indep_ref and | |
4822 | dep_ref members. | |
4823 | (mem_ref_alloc): Do not allocate them. | |
4824 | (refs_independent_p): Do not query or maintain a cache. | |
4825 | ||
111767fb | 4826 | 2013-03-22 Richard Biener <rguenther@suse.de> |
4827 | ||
4828 | * tree-ssa-loop-im.c (memory_references): Drop all_refs_in_loop. | |
4829 | (gather_mem_refs_in_loops): Do not compute it. | |
4830 | (analyze_memory_references): Do not allocate it. | |
4831 | (tree_ssa_lim_finalize): Do not free it. | |
4832 | (for_all_locs_in_loop): Do not query all_refs_in_loop. | |
4833 | ||
cd828e36 | 4834 | 2013-03-22 Richard Biener <rguenther@suse.de> |
4835 | ||
4836 | * is-a.h (as_a): Use gcc_checking_assert. | |
76cfb9fa | 4837 | |
c6ed7a1a | 4838 | 2013-03-22 Ian Bolton <ian.bolton@arm.com> |
4839 | ||
4840 | * config/aarch64/aarch64.c (aarch64_print_operand): New | |
4841 | format specifier for printing a constant in hex. | |
4842 | * config/aarch64/aarch64.md (insv_imm<mode>): Use the X | |
4843 | format specifier for printing second operand. | |
4844 | ||
8f9829e8 | 4845 | 2013-03-22 Richard Biener <rguenther@suse.de> |
4846 | ||
4847 | * tree-ssa-loop-im.c (memory_references): Add refs_stored_in_loop | |
4848 | bitmaps. | |
4849 | (gather_mem_refs_in_loops): Perform store accumulation here. | |
4850 | (create_vop_ref_mapping_loop): Remove. | |
4851 | (create_vop_ref_mapping): Likewise. | |
4852 | (analyze_memory_references): Initialize refs_stored_in_loop. | |
76cfb9fa | 4853 | (LOOP_DEP_BIT): New define to map to bits in (in)dep_loop bitmaps. |
8f9829e8 | 4854 | (record_indep_loop): Remove. |
4855 | (record_dep_loop): New function. | |
4856 | (ref_indep_loop_p_1): Adjust to only walk over references | |
4857 | in the loop, not its subloops. | |
4858 | (ref_indep_loop_p): Rename to ... | |
4859 | (ref_indep_loop_p_2): ... this and recurse over the loop tree, | |
4860 | maintaining a more fine-grained cache. | |
4861 | (ref_indep_loop_p): Wrap ref_indep_loop_p_2. | |
4862 | (tree_ssa_lim_finalize): Free refs_stored_in_loop. | |
4863 | ||
5c8a8be3 | 4864 | 2013-03-22 Richard Biener <rguenther@suse.de> |
4865 | ||
4866 | * tree-ssa-loop-im.c (struct mem_ref_locs): Remove. | |
4867 | (struct mem_ref): Make accesses_in_loop a vec of a vec of | |
4868 | aggregate mem_ref_loc. | |
4869 | (free_mem_ref_locs): Inline into ... | |
4870 | (memref_free): ... this and adjust. | |
4871 | (mem_ref_alloc): Adjust. | |
4872 | (mem_ref_locs_alloc): Remove. | |
4873 | (record_mem_ref_loc): Adjust. | |
4874 | (get_all_locs_in_loop): Rewrite into ... | |
4875 | (for_all_locs_in_loop): ... this iterator. | |
4876 | (rewrite_mem_ref_loc): New functor. | |
4877 | (rewrite_mem_refs): Use for_all_locs_in_loop. | |
4878 | (sm_set_flag_if_changed): New functor. | |
4879 | (execute_sm_if_changed_flag_set): Use for_all_locs_in_loop. | |
4880 | (ref_always_accessed): New functor. | |
4881 | (ref_always_accessed_p): Use for_all_locs_in_loop. | |
4882 | ||
7c3b431d | 4883 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
4884 | ||
4885 | * tree-pass.h (PROP_gimple_lvec): New. | |
4886 | * passes.c (dump_properties): Handle PROP_gimple_lvec. | |
4887 | (init_optimization_passes): Move pass_lower_vector. | |
4888 | * tree-vect-generic.c (gate_expand_vector_operations_ssa): Test | |
4889 | PROP_gimple_lvec. | |
4890 | (pass_lower_vector): Provide PROP_gimple_lvec. | |
4891 | (pass_lower_vector_ssa): Likewise. | |
4892 | * cfgexpand.c (pass_expand): Require PROP_gimple_lvec. | |
4893 | ||
0b436012 | 4894 | 2013-03-21 Mark Wielaard <mjw@redhat.com> |
4895 | ||
4896 | * dwarf2out.c (size_of_aranges): Skip DECL_IGNORED_P functions. | |
4897 | ||
5c38eac8 | 4898 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
4899 | ||
4900 | * config/i386/i386.md (*movdi_internal): Disparage slightly | |
4901 | all MMX moves to/from memory. Use Yi instead of x for SSE-MMX | |
4902 | conversion alternatives. | |
4903 | ||
2c8b23a2 | 4904 | 2013-03-21 Jakub Jelinek <jakub@redhat.com> |
4905 | ||
d9d1b0a4 | 4906 | PR middle-end/48087 |
4907 | * diagnostic.def (DK_WERROR): New kind. | |
4908 | * diagnostic.h (werrorcount): Define. | |
4909 | * diagnostic.c (diagnostic_report_diagnostic): For DK_WARNING | |
4910 | promoted to DK_ERROR, increment DK_WERROR counter instead of | |
4911 | DK_ERROR counter. | |
4912 | * toplev.c (toplev_main): Call print_ignored_options even if | |
4913 | just werrorcount is non-zero. Exit with FATAL_EXIT_CODE | |
4914 | even if just werrorcount is non-zero. | |
4915 | ||
2c8b23a2 | 4916 | PR debug/55608 |
4917 | * dwarf2out.c (tree_add_const_value_attribute): Call ggc_free (array) | |
4918 | on failure. | |
4919 | (resolve_one_addr): Fail if referenced STRING_CST hasn't been written. | |
4920 | (string_cst_pool_decl): New function. | |
4921 | (optimize_one_addr_into_implicit_ptr): New function. | |
4922 | (resolve_addr_in_expr): Optimize DWARF location expression | |
4923 | DW_OP_addr DW_OP_stack_value where DW_OP_addr refers to some variable | |
4924 | which doesn't live in memory, but has DW_AT_location or | |
4925 | DW_AT_const_value, or refers to a string literal, into | |
4926 | DW_OP_GNU_implicit_pointer. | |
4927 | (optimize_location_into_implicit_ptr): New function. | |
4928 | (resolve_addr): If removing DW_AT_location of a variable because | |
4929 | it was DW_OP_addr of address of the variable, but the variable doesn't | |
4930 | live in memory, try to emit const value attribute for the initializer. | |
4931 | ||
8ee286c8 | 4932 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
4933 | ||
4934 | * tree.h (VECTOR_TYPE_P): New macro. | |
4935 | (VECTOR_INTEGER_TYPE_P, VECTOR_FLOAT_TYPE_P, FLOAT_TYPE_P, | |
4936 | TYPE_MODE): Use it. | |
4937 | * fold-const.c (fold_cond_expr_with_comparison): Use build_zero_cst. | |
4938 | VEC_COND_EXPR cannot be lvalues. | |
4939 | (fold_ternary_loc) <VEC_COND_EXPR>: Merge with the COND_EXPR case. | |
4940 | ||
d09e949c | 4941 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
4942 | ||
4943 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_CONCAT>: | |
4944 | Restrict the transformation to equal modes. | |
4945 | ||
04911505 | 4946 | 2013-03-21 Richard Biener <rguenther@suse.de> |
4947 | ||
4948 | PR tree-optimization/39326 | |
4949 | * tree-ssa-loop-im.c (UNANALYZABLE_MEM_ID): New define. | |
4950 | (MEM_ANALYZABLE): Adjust. | |
4951 | (record_mem_ref_loc): Move bitmap ops ... | |
4952 | (gather_mem_refs_stmt): ... here. Use the shared mem-ref for | |
4953 | unanalyzable refs, do not record locations for it. | |
4954 | (analyze_memory_references): Allocate ref zero as shared | |
4955 | unanalyzable ref. | |
4956 | (refs_independent_p): Do not test for unanalyzed mems here. | |
4957 | (ref_indep_loop_p_1): Special-case disambiguation against | |
4958 | the unanalyzed ref. | |
5c38eac8 | 4959 | (ref_indep_loop_p): Assert we are not queried for the unanalyzed mem. |
04911505 | 4960 | |
b6779ddc | 4961 | 2013-03-21 Christophe Lyon <christophe.lyon@linaro.org> |
4962 | ||
4963 | * config/arm/arm-protos.h (tune_params): Add | |
4964 | prefer_neon_for_64bits field. | |
4965 | * config/arm/arm.c (prefer_neon_for_64bits): New variable. | |
4966 | (arm_slowmul_tune): Default prefer_neon_for_64bits to false. | |
4967 | (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto. | |
4968 | (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto. | |
4969 | (arm_cortex_a15_tune, arm_cortex_a5_tune): Ditto. | |
4970 | (arm_cortex_a9_tune, arm_v6m_tune, arm_fa726te_tune): Ditto. | |
4971 | (arm_option_override): Handle -mneon-for-64bits new option. | |
4972 | * config/arm/arm.h (TARGET_PREFER_NEON_64BITS): New macro. | |
4973 | (prefer_neon_for_64bits): Declare new variable. | |
4974 | * config/arm/arm.md (arch): Rename neon_onlya8 and neon_nota8 to | |
5c38eac8 | 4975 | avoid_neon_for_64bits and neon_for_64bits. Remove onlya8 and nota8. |
b6779ddc | 4976 | (arch_enabled): Handle new arch types. Remove support for onlya8 |
4977 | and nota8. | |
4978 | (one_cmpldi2): Use new arch names. | |
a1bd99a8 | 4979 | (zero_extend<mode>di2, extend<mode>di2): Ditto. |
b6779ddc | 4980 | * config/arm/arm.opt (mneon-for-64bits): Add option. |
4981 | * config/arm/neon.md (adddi3_neon, subdi3_neon, iordi3_neon) | |
4982 | (anddi3_neon, xordi3_neon, ashldi3_neon, <shift>di3_neon): Use | |
4983 | neon_for_64bits instead of nota8 and avoid_neon_for_64bits instead | |
4984 | of onlya8. | |
4985 | * doc/invoke.texi (-mneon-for-64bits): Document. | |
4986 | ||
7894a3d9 | 4987 | 2013-03-21 Richard Biener <rguenther@suse.de> |
4988 | ||
4989 | PR tree-optimization/39326 | |
4990 | * tree-ssa-loop-im.c (bb_loop_postorder): New global static. | |
4991 | (sort_bbs_in_loop_postorder_cmp): New function. | |
5c38eac8 | 4992 | (gather_mem_refs_in_loops): Assign mem-ref IDs in loop postorder. |
7894a3d9 | 4993 | |
68f15e9d | 4994 | 2013-03-21 Richard Biener <rguenther@suse.de> |
4995 | ||
4996 | * tree-vect-data-refs.c (vect_update_interleaving_chain): Remove. | |
4997 | (vect_insert_into_interleaving_chain): Likewise. | |
4998 | (vect_drs_dependent_in_basic_block): Inline ... | |
4999 | (vect_slp_analyze_data_ref_dependence): ... here. New function, | |
5000 | split out from ... | |
5001 | (vect_analyze_data_ref_dependence): ... here. Simplify. | |
5002 | (vect_check_interleaving): Simplify. | |
5003 | (vect_analyze_data_ref_dependences): Likewise. Split out ... | |
5004 | (vect_slp_analyze_data_ref_dependences): ... this new function. | |
5005 | (dr_group_sort_cmp): New function. | |
5006 | (vect_analyze_data_ref_accesses): Compute data-reference groups | |
5007 | here instead of in vect_analyze_data_ref_dependence. Use | |
5008 | a more efficient algorithm. | |
5009 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Use | |
5010 | vect_slp_analyze_data_ref_dependences. Call | |
5011 | vect_analyze_data_ref_accesses earlier. | |
5012 | * tree-vect-loop.c (vect_analyze_loop_2): Likewise. | |
5013 | * tree-vectorizer.h (vect_analyze_data_ref_dependences): Adjust. | |
5014 | (vect_slp_analyze_data_ref_dependences): New prototype. | |
5015 | ||
39f8afdf | 5016 | 2013-03-21 Richard Biener <rguenther@suse.de> |
5017 | ||
5018 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not test whether | |
5019 | ref is stored in the loop. | |
5020 | (find_refs_for_sm): Walk only over all stores. | |
5021 | (store_motion_loop): Allocate from lim_bitmap_obstack. | |
5022 | (store_motion): Likewise. | |
5023 | ||
f68f7ce8 | 5024 | 2013-03-21 Richard Biener <rguenther@suse.de> |
5025 | ||
5026 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): | |
5027 | Update virtual SSA form. | |
5028 | ||
75d28287 | 5029 | 2013-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5030 | ||
5031 | * configure.ac (gcc_cv_ld_eh_frame_ciev3): New test. | |
5032 | * configure: Regenerate. | |
5033 | * config.in: Regenerate. | |
5034 | * config/sol2.c (solaris_override_options): Only enforce DWARF 2 | |
5035 | if !HAVE_LD_EH_FRAME_CIEV3. | |
5036 | ||
2428e53a | 5037 | 2013-03-21 Richard Biener <rguenther@suse.de> |
5038 | ||
5039 | * tree-cfg.c (verify_expr_no_block): New function. | |
5040 | (verify_expr_location_1): Verify that neither DECL_DEBUG_EXPR | |
5041 | nor DECL_VALUE_EXPR have locations with associated blocks. | |
5042 | * tree-ssa-live.c (clear_unused_block_pointer_1): Remove. | |
5043 | (clear_unused_block_pointer): Remove code dealing with | |
5044 | blocks in DECL_DEBUG_EXPR locations. | |
5045 | ||
8e966116 | 5046 | 2013-03-21 Richard Biener <rguenther@suse.de> |
5047 | ||
5048 | * tree.h (DECL_DEBUG_EXPR_IS_FROM): Rename to ... | |
5049 | (DECL_HAS_DEBUG_EXPR_P): ... this. Guard properly. | |
5050 | * tree.c (copy_node_stat): Do not copy DECL_HAS_DEBUG_EXPR_P. | |
5051 | * dwarf2out.c (add_var_loc_to_decl): Use DECL_HAS_DEBUG_EXPR_P | |
5052 | instead of DECL_DEBUG_EXPR_IS_FROM. | |
5053 | * gimplify.c (gimplify_modify_expr): Likewise. | |
5054 | * tree-cfg.c (verify_expr_location_1): Likewise. | |
5055 | * tree-complex.c (create_one_component_var): Likewise. | |
5056 | * tree-sra.c (create_access_replacement): Likewise. | |
5057 | * tree-ssa-live.c (clear_unused_block_pointer_1): Likewise. | |
5058 | (clear_unused_block_pointer): Likewise. | |
5059 | * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise. | |
5060 | * tree-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. | |
5061 | * var-tracking.c (var_debug_decl): Likewise. | |
5062 | (track_expr_p): Likewise. | |
5063 | * tree-inline.c (add_local_variables): Likewise. Set | |
5064 | DECL_HAS_DEBUG_EXPR_P after copying it. | |
5065 | * tree-diagnostic.c (default_tree_printer): Use DECL_HAS_DEBUG_EXPR_P | |
5066 | instead of DECL_DEBUG_EXPR_IS_FROM. Guard properly. | |
5067 | ||
9e2820ab | 5068 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
5069 | ||
5070 | PR bootstrap/56656 | |
5071 | * configure.ac (HAVE_AS_IX86_INTERUNIT_MOVQ): New test. | |
5072 | * configure: Regenerate. | |
5073 | * config.in: Regenerate. | |
5074 | * config/i386/i386.md (*movdf_internal): Use | |
5075 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
5076 | movd instead of movq mnemonic for interunit moves. | |
5077 | (*movdi_internal): Ditto. | |
5078 | ||
d0360773 | 5079 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
02ab8c72 | 5080 | |
5081 | * config/aarch64/aarch64-simd.md (simd_fabd): New Attribute. | |
5082 | (abd<mode>_3): New pattern. | |
5083 | (aba<mode>_3): New pattern. | |
5084 | (fabd<mode>_3): New pattern. | |
5085 | ||
d0360773 | 5086 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
1b457b76 | 5087 | |
5088 | * config/aarch64/aarch64-elf.h (REGISTER_PREFIX): Remove. | |
5089 | * config/aarch64/aarch64.c (aarch64_print_operand): Remove all | |
5090 | occurrence of REGISTER_PREFIX as its empty string. | |
5091 | ||
799b7423 | 5092 | 2013-03-20 Jeff Law <law@redhat.com> |
5093 | ||
5094 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Record | |
5095 | addititional equivalences for equality comparisons between an SSA_NAME | |
5096 | and a constant where the SSA_NAME was set from a widening conversion. | |
5097 | ||
4e38a95d | 5098 | 2013-03-20 Walter Lee <walt@tilera.com> |
5099 | ||
5100 | * config/tilegx/sync.md (atomic_test_and_set): New pattern. | |
5101 | ||
59ff41d8 | 5102 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
5103 | ||
5104 | * config/i386/i386.md (*movoi_internal_avx): Emit insn template | |
5105 | depending on type attribute. | |
5106 | (*movti_internal): Ditto. | |
5107 | (*movtf_internal): Ditto. | |
5108 | (*movxf_internal): Ditto. | |
5109 | (*movdf_internal): Ditto. | |
5110 | (*movsf_internal): Ditto. | |
5111 | ||
7b536847 | 5112 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
5113 | ||
5114 | * config/i386/i386.md (*movti_internal): Set prefix attribute to | |
5115 | maybe_vex for sselog1 and ssemov types. | |
5116 | (*movdi_internal): Reorder operand constraints. | |
5117 | (*movsi_internal): Ditto. Set prefix attribute to | |
5118 | maybe_vex for sselog1 and ssemov types. | |
5119 | (*movtf_internal): Set prefix attribute to maybe_vex | |
5120 | for sselog1 and ssemov types. | |
5121 | (*movdf_internal): Ditto. Set prefix_data16 attribute for | |
5122 | DImode ssemov types. Reorder operand constraints. | |
5123 | (*movsf_internal): Set type of alternatives 3,4 to imov. Set prefix | |
5124 | attribute to maybe_vex for sselog1 and ssemov types. Set prefix_data16 | |
5125 | attribute for SImode ssemov types. Reorder operand constraints. | |
5126 | ||
3a1cb879 | 5127 | 2013-03-20 Martin Jambor <mjambor@suse.cz> |
5128 | ||
5129 | * params.def (PARAM_IPA_CP_ARRAY_INDEX_HINT_BONUS): New parameter. | |
5130 | * ipa-cp.c (hint_time_bonus): Add abonus for known array indices. | |
5131 | ||
33a2d887 | 5132 | 2013-03-20 Pat Haugen <pthaugen@us.ibm.com> |
5133 | ||
5134 | * config/rs6000/predicates.md (indexed_address, update_address_mem | |
5135 | update_indexed_address_mem): New predicates. | |
5136 | * config/rs6000/vsx.md (vsx_extract_<mode>_zero): Set correct "type" | |
5137 | attribute for load/store instructions. | |
5138 | * config/rs6000/dfp.md (movsd_store): Likewise. | |
5139 | (movsd_load): Likewise. | |
5140 | * config/rs6000/rs6000.md (zero_extend<mode>di2_internal1): Likewise. | |
5141 | (unnamed HI->DI extend define_insn): Likewise. | |
5142 | (unnamed SI->DI extend define_insn): Likewise. | |
5143 | (unnamed QI->SI extend define_insn): Likewise. | |
5144 | (unnamed QI->HI extend define_insn): Likewise. | |
5145 | (unnamed HI->SI extend define_insn): Likewise. | |
5146 | (unnamed HI->SI extend define_insn): Likewise. | |
5147 | (extendsfdf2_fpr): Likewise. | |
5148 | (movsi_internal1): Likewise. | |
5149 | (movsi_internal1_single): Likewise. | |
5150 | (movhi_internal): Likewise. | |
5151 | (movqi_internal): Likewise. | |
5152 | (movcc_internal1): Correct mnemonic for stw insn. Set correct "type" | |
5153 | attribute for load/store instructions. | |
5154 | (mov<mode>_hardfloat): Set correct "type" attribute for load/store | |
5155 | instructions. | |
5156 | (mov<mode>_softfloat): Likewise. | |
5157 | (mov<mode>_hardfloat32): Likewise. | |
5158 | (mov<mode>_hardfloat64): Likewise. | |
5159 | (mov<mode>_softfloat64): Likewise. | |
5160 | (movdi_internal32): Likewise. | |
5161 | (movdi_internal64): Likewise. | |
5162 | (probe_stack_<mode>): Likewise. | |
5163 | ||
5164 | 2013-03-20 Michael Meissner <meissner@linux.vnet.ibm.com> | |
5165 | ||
5166 | * config/rs6000/vector.md (VEC_R): Add 32-bit integer, binary | |
5167 | floating point, and decimal floating point to reload iterator. | |
5168 | ||
5169 | * config/rs6000/constraints.md (wl constraint): New constraints to | |
5170 | return FLOAT_REGS if certain options are used to reduce the number | |
5171 | of separate patterns that exist in the file. | |
5172 | (wx constraint): Likewise. | |
5173 | (wz constraint): Likewise. | |
5174 | ||
5175 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
5176 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
5177 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
5178 | Initialize the reload functions for 64-bit binary/decimal floating | |
5179 | point types. | |
5180 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
5181 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
5182 | create the buffer on the stack to overcome not having a 32-bit | |
5183 | load and store. | |
5184 | (rs6000_emit_move): Likewise. | |
5185 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
5186 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
5187 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
5188 | via xxlxor, just like DFmode 0.0. | |
5189 | ||
5190 | * config/rs6000/rs6000.h (TARGET_NO_SDMODE_STACK): New macro, | |
5191 | define as 1 if we are running on a power7 or newer. | |
5192 | (enum r6000_reg_class_enum): Add new constraints. | |
5193 | ||
5194 | * config/rs6000/dfp.md (movsd): Delete, combine with binary | |
5195 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
5196 | with other moves by using conditional constraits (wg). Use LFIWZX | |
d0360773 | 5197 | and STFIWX for loading SDmode on power7. Use xxlxor to create 0.0f. |
33a2d887 | 5198 | (movsd splitter): Likewise. |
5199 | (movsd_hardfloat): Likewise. | |
5200 | (movsd_softfloat): Likewise. | |
5201 | ||
5202 | * config/rs6000/rs6000.md (FMOVE32): New iterators to combine | |
5203 | binary and decimal floating point moves. | |
5204 | (fmove_ok): New attributes to combine binary and decimal floating | |
5205 | point moves, and to combine power6x (mfpgpr) moves along normal | |
5206 | floating moves. | |
5207 | (real_value_to_target): Likewise. | |
5208 | (f32_lr): Likewise. | |
5209 | (f32_lm): Likewise. | |
5210 | (f32_li): Likewise. | |
5211 | (f32_sr): Likewise. | |
5212 | (f32_sm): Likewise. | |
5213 | (f32_si): Likewise. | |
5214 | (movsf): Combine binary and decimal floating point moves. Combine | |
5215 | power6x (mfpgpr) moves with other moves by using conditional | |
d0360773 | 5216 | constraits (wg). Use LFIWZX and STFIWX for loading SDmode on power7. |
33a2d887 | 5217 | (mov<mode> for SFmode/SDmode); Likewise. |
5218 | (SFmode/SDmode splitters): Likewise. | |
5219 | (movsf_hardfloat): Likewise. | |
5220 | (mov<mode>_hardfloat for SFmode/SDmode): Likewise. | |
5221 | (movsf_softfloat): Likewise. | |
5222 | (mov<mode>_softfloat for SFmode/SDmode): Likewise. | |
5223 | ||
5224 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wl, | |
5225 | wx and wz constraints. | |
5226 | ||
5227 | * config/rs6000/constraints.md (wg constraint): New constraint to | |
5228 | return FLOAT_REGS if -mmfpgpr (power6x) was used. | |
5229 | ||
5230 | * config/rs6000/rs6000.h (enum r6000_reg_class_enum): Add wg | |
5231 | constraint. | |
5232 | ||
5233 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
5234 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
5235 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
5236 | Initialize the reload functions for 64-bit binary/decimal floating | |
5237 | point types. | |
5238 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
5239 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
5240 | create the buffer on the stack to overcome not having a 32-bit | |
5241 | load and store. | |
5242 | (rs6000_emit_move): Likewise. | |
5243 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
5244 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
5245 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
5246 | via xxlxor, just like DFmode 0.0. | |
5247 | ||
33a2d887 | 5248 | * config/rs6000/dfp.md (movdd): Delete, combine with binary |
5249 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
5250 | with other moves by using conditional constraits (wg). Use LFIWZX | |
5251 | and STFIWX for loading SDmode on power7. | |
5252 | (movdd splitters): Likewise. | |
5253 | (movdd_hardfloat32): Likewise. | |
5254 | (movdd_softfloat32): Likewise. | |
5255 | (movdd_hardfloat64_mfpgpr): Likewise. | |
5256 | (movdd_hardfloat64): Likewise. | |
5257 | (movdd_softfloat64): Likewise. | |
5258 | ||
5259 | * config/rs6000/rs6000.md (FMOVE64): New iterators to combine | |
5260 | 64-bit binary and decimal floating point moves. | |
5261 | (FMOVE64X): Likewise. | |
5262 | (movdf): Combine 64-bit binary and decimal floating point moves. | |
5263 | Combine power6x (mfpgpr) moves with other moves by using | |
5264 | conditional constraits (wg). | |
5265 | (mov<mode> for DFmode/DDmode): Likewise. | |
5266 | (DFmode/DDmode splitters): Likewise. | |
5267 | (movdf_hardfloat32): Likewise. | |
5268 | (mov<mode>_hardfloat32 for DFmode/DDmode): Likewise. | |
5269 | (movdf_softfloat32): Likewise. | |
5270 | (movdf_hardfloat64_mfpgpr): Likewise. | |
5271 | (movdf_hardfloat64): Likewise. | |
5272 | (mov<mode>_hardfloat64 for DFmode/DDmode): Likewise. | |
5273 | (movdf_softfloat64): Likewise. | |
5274 | (mov<mode>_softfloat64 for DFmode/DDmode): Likewise. | |
5275 | (reload_<mode>_load): Move to later in the file so they aren't in | |
5276 | the middle of the floating point move insns. | |
5277 | (reload_<mode>_store): Likewise. | |
5278 | ||
5279 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wg | |
5280 | constraint. | |
5281 | ||
5282 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print out wg | |
5283 | constraint if -mdebug=reg. | |
d0360773 | 5284 | (rs6000_initi_hard_regno_mode_ok): Enable wg constraint if -mfpgpr. |
5285 | Enable using dd reload support if needed. | |
33a2d887 | 5286 | |
5287 | * config/rs6000/dfp.md (movtd): Delete, combine with 128-bit | |
5288 | binary and decimal floating point moves in rs6000.md. | |
5289 | (movtd_internal): Likewise. | |
5290 | ||
5291 | * config/rs6000/rs6000.md (FMOVE128): Combine 128-bit binary and | |
5292 | decimal floating point moves. | |
5293 | (movtf): Likewise. | |
5294 | (movtf_internal): Likewise. | |
5295 | (mov<mode>_internal, TDmode/TFmode): Likewise. | |
5296 | (movtf_softfloat): Likewise. | |
5297 | (mov<mode>_softfloat, TDmode/TFmode): Likewise. | |
5298 | ||
5299 | * config/rs6000/rs6000.md (movdi_mfpgpr): Delete, combine with | |
5300 | movdi_internal64, using wg constraint for move direct operations. | |
5301 | (movdi_internal64): Likewise. | |
5302 | ||
5303 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print | |
5304 | MODES_TIEABLE_P for selected modes. Print the numerical value of | |
5305 | the various virtual registers. Use GPR/FPR first/last values, | |
5306 | instead of hard coding the register numbers. Print which modes | |
5307 | have reload functions registered. | |
d0360773 | 5308 | (rs6000_option_override_internal): If -mdebug=reg, trace the options |
5309 | settings before/after setting cpu, target and subtarget settings. | |
5310 | (rs6000_secondary_reload_trace): Improve the RTL dump for -mdebug=addr | |
5311 | and for secondary reload failures in rs6000_secondary_reload_inner. | |
33a2d887 | 5312 | (rs6000_secondary_reload_fail): Likewise. |
5313 | (rs6000_secondary_reload_inner): Likewise. | |
5314 | ||
5315 | * config/rs6000/rs6000.md (FIRST_GPR_REGNO): Add convenience | |
5316 | macros for first/last GPR and FPR registers. | |
5317 | (LAST_GPR_REGNO): Likewise. | |
5318 | (FIRST_FPR_REGNO): Likewise. | |
5319 | (LAST_FPR_REGNO): Likewise. | |
5320 | ||
5321 | * config/rs6000/vector.md (mul<mode>3): Use the combined macro | |
5322 | VECTOR_UNIT_ALTIVEC_OR_VSX_P instead of separate calls to | |
5323 | VECTOR_UNIT_ALTIVEC_P and VECTOR_UNIT_VSX_P. | |
5324 | (vcond<mode><mode>): Likewise. | |
5325 | (vcondu<mode><mode>): Likewise. | |
5326 | (vector_gtu<mode>): Likewise. | |
5327 | (vector_gte<mode>): Likewise. | |
5328 | (xor<mode>3): Don't allow logical operations on TImode in 32-bit | |
d0360773 | 5329 | to prevent the compiler from converting DImode operations to TImode. |
33a2d887 | 5330 | (ior<mode>3): Likewise. |
5331 | (and<mode>3): Likewise. | |
5332 | (one_cmpl<mode>2): Likewise. | |
5333 | (nor<mode>3): Likewise. | |
5334 | (andc<mode>3): Likewise. | |
5335 | ||
5336 | * config/rs6000/constraints.md (wt constraint): New constraint | |
5337 | that returns VSX_REGS if TImode is allowed in VSX registers. | |
5338 | ||
5339 | * config/rs6000/predicates.md (easy_fp_constant): 0.0f is an easy | |
5340 | constant under VSX. | |
5341 | ||
5342 | * config/rs6000/rs6000-modes.def (PTImode): Define, PTImode is | |
5343 | similar to TImode, but it is restricted to being in the GPRs. | |
5344 | ||
5345 | * config/rs6000/rs6000.opt (-mvsx-timode): New switch to allow | |
5346 | TImode to occupy a single VSX register. | |
5347 | ||
5348 | * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Default to | |
5349 | -mvsx-timode for power7/power8. | |
5350 | (power7 cpu): Likewise. | |
5351 | (power8 cpu): Likewise. | |
5352 | ||
5353 | * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Make | |
5354 | sure that TFmode/TDmode take up two registers if they are ever | |
5355 | allowed in the upper VSX registers. | |
5356 | (rs6000_hard_regno_mode_ok): If -mvsx-timode, allow TImode in VSX | |
5357 | registers. | |
5358 | (rs6000_init_hard_regno_mode_ok): Likewise. | |
5359 | (rs6000_debug_reg_global): Add debugging for PTImode and wt | |
5360 | constraint. Print if LRA is turned on. | |
5361 | (rs6000_option_override_internal): Give an error if -mvsx-timode | |
5362 | and VSX is not enabled. | |
5363 | (invalid_e500_subreg): Handle PTImode, restricting it to GPRs. If | |
5364 | -mvsx-timode, restrict TImode to reg+reg addressing, and PTImode | |
5365 | to reg+offset addressing. Use PTImode when checking offset | |
5366 | addresses for validity. | |
5367 | (reg_offset_addressing_ok_p): Likewise. | |
5368 | (rs6000_legitimate_offset_address_p): Likewise. | |
5369 | (rs6000_legitimize_address): Likewise. | |
5370 | (rs6000_legitimize_reload_address): Likewise. | |
5371 | (rs6000_legitimate_address_p): Likewise. | |
5372 | (rs6000_eliminate_indexed_memrefs): Likewise. | |
5373 | (rs6000_emit_move): Likewise. | |
5374 | (rs6000_secondary_reload): Likewise. | |
5375 | (rs6000_secondary_reload_inner): Handle PTImode. Allow 64-bit | |
5376 | reloads to fpr registers to continue to use reg+offset addressing, | |
5377 | but 64-bit reloads to altivec registers need reg+reg addressing. | |
5378 | Drop test for PRE_MODIFY, since VSX loads/stores no longer support | |
5379 | it. Treat LO_SUM like a PLUS operation. | |
5380 | (rs6000_secondary_reload_class): If type is 64-bit, prefer to use | |
d0360773 | 5381 | FLOAT_REGS instead of VSX_RGS to allow use of reg+offset addressing. |
33a2d887 | 5382 | (rs6000_cannot_change_mode_class): Do not allow TImode in VSX |
5383 | registers to share a register with a smaller sized type, since VSX | |
5384 | puts scalars in the upper 64-bits. | |
5385 | (print_operand): Add support for PTImode. | |
5386 | (rs6000_register_move_cost): Use VECTOR_MEM_VSX_P instead of | |
5387 | VECTOR_UNIT_VSX_P to catch types that can be loaded in VSX | |
5388 | registers, but don't have arithmetic support. | |
5389 | (rs6000_memory_move_cost): Add test for VSX. | |
5390 | (rs6000_opt_masks): Add -mvsx-timode. | |
5391 | ||
5392 | * config/rs6000/vsx.md (VSm): Change to use 64-bit aligned moves | |
5393 | for TImode. | |
5394 | (VSs): Likewise. | |
5395 | (VSr): Use wt constraint for TImode. | |
5396 | (VSv): Drop TImode support. | |
5397 | (vsx_movti): Delete, replace with versions for 32-bit and 64-bit. | |
5398 | (vsx_movti_64bit): Likewise. | |
5399 | (vsx_movti_32bit): Likewise. | |
5400 | (vec_store_<mode>): Use VSX iterator instead of vector iterator. | |
5401 | (vsx_and<mode>3): Delete use of '?' constraint on inputs, just put | |
5402 | one '?' on the appropriate output constraint. Do not allow TImode | |
5403 | logical operations on 32-bit systems. | |
5404 | (vsx_ior<mode>3): Likewise. | |
5405 | (vsx_xor<mode>3): Likewise. | |
5406 | (vsx_one_cmpl<mode>2): Likewise. | |
5407 | (vsx_nor<mode>3): Likewise. | |
5408 | (vsx_andc<mode>3): Likewise. | |
5409 | (vsx_concat_<mode>): Likewise. | |
5410 | (vsx_xxpermdi_<mode>): Fix thinko for non V2DF/V2DI modes. | |
5411 | ||
5412 | * config/rs6000/rs6000.h (MASK_VSX_TIMODE): Map from | |
5413 | OPTION_MASK_VSX_TIMODE. | |
5414 | (enum rs6000_reg_class_enum): Add RS6000_CONSTRAINT_wt. | |
5415 | (STACK_SAVEAREA_MODE): Use PTImode instead of TImode. | |
5416 | ||
5417 | * config/rs6000/rs6000.md (INT mode attribute): Add PTImode. | |
5418 | (TI2 iterator): New iterator for TImode, PTImode. | |
5419 | (wd mode attribute): Add values for vector types. | |
d0360773 | 5420 | (movti_string): Replace TI move operations with operations for TImode |
5421 | and PTImode. Add support for TImode being allowed in VSX registers. | |
33a2d887 | 5422 | (mov<mode>_string, TImode/PTImode): Likewise. |
5423 | (movti_ppc64): Likewise. | |
5424 | (mov<mode>_ppc64, TImode/PTImode): Likewise. | |
5425 | (TI mode splitters): Likewise. | |
5426 | ||
5427 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wt | |
5428 | constraint. | |
5429 | ||
a9073c2f | 5430 | 2013-03-20 Marc Glisse <marc.glisse@inria.fr> |
5431 | ||
5432 | PR tree-optimization/56355 | |
5433 | * fold-const.c (tree_binary_nonnegative_warnv_p) <MULT_EXPR>: | |
5434 | Also handle integers with undefined overflow. | |
5435 | ||
ff9c1bc1 | 5436 | 2013-03-20 Catherine Moore <clm@codesourcery.com> |
5437 | Maciej W. Rozycki <macro@codesourcery.com> | |
5438 | Tom de Vries <tom@codesourcery.com> | |
5439 | Nathan Sidwell <nathan@codesourcery.com> | |
5440 | Iain Sandoe <iain@codesourcery.com> | |
5441 | Nathan Froyd <froydnj@codesourcery.com> | |
5442 | Chao-ying Fu <fu@mips.com> | |
5443 | ||
5444 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
7b536847 | 5445 | Document new function attributes. |
ff9c1bc1 | 5446 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
5447 | m14k, m14ke, m14kec): Document new options. | |
5448 | (minterlink-mips16): Update documentation. | |
5449 | * doc/md.texi (ZC, ZD): Document new constraints. | |
5450 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
5451 | supports the .set micromips directive. | |
5452 | * configure: Regenerate. | |
5453 | * config.in: Regenerate. | |
5454 | * config/mips/mips-tables.opt: Regenerate. | |
5455 | * config/mips/micromips.md: New file. | |
5456 | * constraints.md (ZC, ZD): New constraints. | |
5457 | * config/mips/predicates.md (movep_src_register): New predicate. | |
5458 | (movep_src_operand): New predicate. | |
5459 | (non_volatile_mem_operand): New predicate. | |
5460 | * config/mips/mips.md (multimem): New type. | |
5461 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
5462 | (MOVEP1, MOVEP2): New mode iterator. | |
8f028904 | 5463 | (mov_<load>l): Use ZC constraint. |
ff9c1bc1 | 5464 | (mov_<load>r): Likewise. |
5465 | (mov_<store>l): Likewise. | |
5466 | (mov_<store>r): Likewise. | |
5467 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
5468 | (*branch_equality<mode>): Likewise. | |
5469 | (*jump_absolute): Likewise. | |
5470 | (indirect_jump_<mode>): Likewise. | |
5471 | (tablejump_<mode>): Likewise. | |
5472 | (<optab>_internal): Likewise. | |
5473 | (sibcall_internal): Likewise. | |
5474 | (sibcall_value_internal): Likewise. | |
5475 | (prefetch): Use constraint ZD. | |
5476 | * config/mips/mips.opt (minterlink-compressed): New option. | |
5477 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
5478 | (mmicromips): New option. | |
5479 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
5480 | (compare_and_swap_12): Likewise. | |
5481 | (sync_add<mode>): Likewise. | |
5482 | (sync_<optab>_12): Likewise. | |
5483 | (sync_old_<optab>_12): Likewise. | |
5484 | (sync_new_<optab>_12): Likewise. | |
5485 | (sync_nand_12): Likewise. | |
5486 | (sync_old_nand_12): Likewise. | |
5487 | (sync_new_nand_12): Likewise. | |
5488 | (sync_sub<mode>): Likewise. | |
5489 | (sync_old_add<mode>): Likewise. | |
5490 | (sync_old_sub<mode>): Likewise. | |
5491 | (sync_new_add<mode>): Likewise. | |
5492 | (sync_new_sub<mode>): Likewise. | |
5493 | (sync_<optab><mode>): Likewise. | |
5494 | (sync_old_<optab><mode>): Likewise. | |
5495 | (sync_new_<optab><mode>): Likewise. | |
5496 | (sync_nand<mode>): Likewise. | |
5497 | (sync_old_nand<mode>): Likewise. | |
5498 | (sync_new_nand<mode>): Likewise. | |
5499 | (sync_lock_test_and_set<mode>): Likewise. | |
5500 | (test_and_set_12): Likewise. | |
5501 | (atomic_compare_and_swap<mode>): Likewise. | |
5502 | (atomic_exchange<mode>_llsc): Likewise. | |
5503 | (atomic_fetch_add<mode>_llsc): Likewise. | |
5504 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
5505 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
5506 | (umips_save_restore_pattern_p): Likewise. | |
5507 | (umips_load_store_pair_p): Likewise. | |
5508 | (umips_output_load_store_pair): Likewise. | |
5509 | (umips_movep_target_p): Likewise. | |
5510 | (umips_12bit_offset_address_p): Likewise. | |
5511 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
5512 | (mips_base_mips16): Rename this... | |
5513 | (mips_base_compression_flags): ...to this. Update all uses. | |
5514 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
5515 | (mips_mips16_decl_p): Delete. | |
5516 | (mips_nomips16_decl_p): Delete. | |
8f028904 | 5517 | (mips_get_compress_on_flags): New function. |
ff9c1bc1 | 5518 | (mips_get_compress_off_flags): New function. |
5519 | (mips_get_compress_mode): New function. | |
5520 | (mips_get_compress_on_name): New function. | |
5521 | (mips_get_compress_off_name): New function. | |
5522 | (mips_insert_attributes): Support multiple compression types. | |
5523 | (mips_merge_decl_attributes): Likewise. | |
5524 | (umips_12bit_offset_address_p): New function. | |
5525 | (mips_start_function_definition): Emit .set micromips directive. | |
5526 | (mips_call_may_need_jalx_p): New function. | |
5527 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
5528 | (mips_print_operand_punctuation): Support short delay slots and | |
5529 | compact jumps. | |
5530 | (umips_swm_mask, umips_swm_encoding): New. | |
5531 | (umips_build_save_restore): New function. | |
5532 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
5533 | (was_mips16_p): Remove. | |
5534 | (old_compression_mode): New. | |
5535 | (mips_set_compression_mode): New function. | |
5536 | (mips_set_current_function): Add microMIPS support. | |
5537 | (mips_option_override): Likewise. | |
5538 | (umips_save_restore_pattern_p): New function. | |
5539 | (umips_output_save_restore): New function. | |
5540 | (umips_load_store_pair_p_1): New function. | |
5541 | (umips_load_store_pair_p): New function. | |
5542 | (umips_output_load_store_pair_1): New function. | |
5543 | (umips_output_load_store_pair): New function. | |
5544 | (umips_movep_target_p) New function. | |
5545 | (mips_prepare_pch_save): Add microMIPS support. | |
5546 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
5547 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
5548 | to use new compression flags and to support microMIPS. | |
5549 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
5550 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
5551 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
5552 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
5553 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
5554 | (M16STORE_REG_P): New macro. | |
5555 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
5556 | (MICROMIPS_J): New macro. | |
5557 | (mips_base_mips16): Rename this... | |
5558 | (mips_base_compression_flags): ...to this. | |
5559 | (UMIPS_12BIT_OFFSET_P): New macro. | |
5560 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
5561 | (MULTILIB_DIRNAMES): Likewise. | |
affbda71 | 5562 | 2013-03-20 Richard Biener <rguenther@suse.de> |
5563 | ||
5564 | PR tree-optimization/56661 | |
5565 | * tree-ssa-sccvn.c (visit_use): Only value-number calls if | |
5566 | the result does not have to be distinct. | |
5567 | ||
b94b4cf4 | 5568 | 2013-03-20 Richard Biener <rguenther@suse.de> |
5569 | ||
5570 | * tree-inline.c (copy_tree_body_r): Sync MEM_REF code with | |
5571 | remap_gimple_op_r. | |
5572 | ||
a6d46489 | 5573 | 2013-03-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5574 | Steven Bosscher <steven@gcc.gnu.org> | |
5575 | ||
5576 | PR rtl-optimization/56605 | |
5577 | * loop-iv.c (implies_p): Handle equal RTXs and subregs. | |
5578 | ||
76468b73 | 5579 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
5580 | ||
5581 | PR bootstrap/56656 | |
5582 | * config/i386/i386.md (*movdi_internal): Handle broken assemblers | |
5583 | that require movd instead of movq. | |
5584 | ||
5a950977 | 5585 | 2013-03-20 Richard Biener <rguenther@suse.de> |
5586 | ||
5587 | * tree-ssa-structalias.c (struct variable_info): Add pointer | |
5588 | to the first field of an aggregate with sub-vars. Make | |
5589 | this and the pointer to the next subfield its ID. | |
5590 | (vi_next): New function. | |
5591 | (nothing_id, anything_id, readonly_id, escaped_id, nonlocal_id, | |
5592 | storedanything_id, integer_id): Increment by one. | |
5593 | (new_var_info, get_call_vi, lookup_call_clobber_vi, | |
5594 | get_call_clobber_vi): Adjust. | |
5595 | (solution_set_expand): Simplify and speedup. | |
5596 | (solution_set_add): Inline into ... | |
5597 | (set_union_with_increment): ... this. Adjust accordingly. | |
5598 | (do_sd_constraint): Likewise. | |
5599 | (do_ds_constraint): Likewise. | |
5600 | (do_complex_constraint): Simplify. | |
5601 | (build_pred_graph): Adjust. | |
5602 | (solve_graph): Likewise. Simplify and speedup. | |
5603 | (get_constraint_for_ssa_var, get_constraint_for_ptr_offset, | |
5604 | get_constraint_for_component_ref, get_constraint_for_1, | |
5605 | first_vi_for_offset, first_or_preceding_vi_for_offset, | |
5606 | create_function_info_for, create_variable_info_for_1, | |
5607 | create_variable_info_for, intra_create_variable_infos): Adjust. | |
5608 | (init_base_vars): Push NULL for ID zero. | |
5609 | (compute_points_to_sets): Adjust. | |
5610 | ||
cd9916a9 | 5611 | 2013-03-20 Richard Biener <rguenther@suse.de> |
5612 | ||
5613 | * cfgloop.c (verify_loop_structure): Streamline and avoid | |
5614 | ICEing on corrupt loop tree. | |
5615 | * graph.c (draw_cfg_nodes_for_loop): Avoid ICEing on corrupt | |
5616 | loop tree. | |
5617 | ||
3767bd95 | 5618 | 2013-03-20 Richard Biener <rguenther@suse.de> |
5619 | ||
5620 | * tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not | |
5621 | check whether an SSA update is needed. | |
5622 | ||
ac721588 | 5623 | 2013-03-20 Richard Sandiford <rdsandiford@googlemail.com> |
5624 | ||
5625 | * config/mips/constraints.md (T): Rename to... | |
5626 | (Yf): ...this. | |
5627 | (U): Rename to... | |
5628 | (Yd): ...this. | |
5629 | * config/mips/mips.md (*movdi_64bit, *movdi_64bit_mips16) | |
5630 | (*mov<mode>_internal, *mov<mode>_mips16): Update accordingly. | |
5631 | ||
00f5db85 | 5632 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
5633 | ||
5634 | * config/aarch64/aarch64.md (*sub<mode>3_carryin): New pattern. | |
5635 | (*subsi3_carryin_uxtw): Likewise. | |
5636 | ||
4d83c223 | 5637 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
5638 | ||
5639 | * config/aarch64/aarch64.md (*ror<mode>3_insn): New pattern. | |
5640 | (*rorsi3_insn_uxtw): Likewise. | |
5641 | ||
45244f9b | 5642 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
5643 | ||
5644 | * config/aarch64/aarch64.md (*extr<mode>5_insn): New pattern. | |
5645 | (*extrsi5_insn_uxtw): Likewise. | |
5646 | ||
0df18bd2 | 5647 | 2013-03-19 Richard Biener <rguenther@suse.de> |
5648 | ||
5649 | PR tree-optimization/56273 | |
5650 | * passes.c (init_optimization_passes): Move second VRP after DOM. | |
5651 | ||
4c5ef8d5 | 5652 | 2013-03-19 Uros Bizjak <ubizjak@gmail.com> |
5653 | ||
5654 | * config/i386/i386.md (*movti_internal): Merge from | |
5655 | *movti_internal_rex64 and *movti_internal_sse. Use x64 isa attribute. | |
5656 | (*movdi_internal): Merge with *movdi_internal_rex64. Use x64 and | |
5657 | nox64 isa attributes. | |
5658 | ||
6a5ca1fc | 5659 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5660 | ||
5661 | * tree-ssa-structalias.c (find): Use gcc_checking_assert. | |
5662 | (unite): Likewise. | |
5663 | (merge_node_constraints): Likewise. | |
5664 | (build_succ_graph): Likewise. | |
5665 | (valid_graph_edge): Inline into single caller. | |
5666 | (unify_nodes): Likewise. Use bitmap_set_bit return value | |
5667 | and cache varinfo. | |
5668 | (scc_visit): Fix formatting and variable use. | |
5669 | (do_sd_constraint): Use gcc_checking_assert. | |
5670 | (do_ds_constraint): Likewise. | |
5671 | (do_complex_constraint): Likewise. | |
5672 | (condense_visit): Likewise. Cleanup. | |
5673 | (dump_pred_graph): New function. | |
5674 | (perform_var_substitution): Dump the pred-graph before | |
5675 | variable substitution. | |
5676 | (find_equivalent_node): Use gcc_checking_assert. | |
5677 | (rewrite_constraints): Guard checking loop with ENABLE_CHECKING. | |
5678 | ||
90d4c4af | 5679 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5680 | ||
5681 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): | |
5682 | Remove cond_expr_stmt_list argument and do not gimplify the | |
5683 | built expression. | |
5684 | (vect_loop_versioning): Adjust. | |
5685 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
5686 | Cleanup to use less temporaries. | |
5687 | (vect_create_data_ref_ptr): Cleanup. | |
5688 | ||
70347500 | 5689 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
5690 | ||
5691 | PR tree-optimization/56635 | |
5692 | * fold-const.c (operand_equal_p): For MEM_REF and TARGET_MEM_REF, | |
5693 | require types_compatible_p types. | |
5694 | ||
23ecf105 | 5695 | 2013-03-18 Nick Clifton <nickc@redhat.com> |
5696 | ||
c694a5cd | 5697 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): Remove |
5698 | spurious backslash. | |
5699 | ||
23ecf105 | 5700 | * config/mn10300/mn10300.c (mn10300_get_live_callee_saved_regs): |
5701 | Add missing line to comment describing function. | |
5702 | ||
4953672f | 5703 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5704 | ||
5705 | PR tree-optimization/56210 | |
5706 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
5707 | Handle string / character search functions. | |
5708 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
5709 | ||
9532a315 | 5710 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5711 | ||
5712 | PR middle-end/56483 | |
5713 | * cfgexpand.c (expand_gimple_cond): Inline gimple_cond_single_var_p | |
5714 | and implement properly. | |
5715 | * gimple.h (gimple_cond_single_var_p): Remove. | |
5716 | ||
07e3bcbf | 5717 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5718 | ||
5719 | * tree-data-ref.h (find_data_references_in_loop): Declare. | |
5720 | * tree-data-ref.c (get_references_in_stmt): Use a stack | |
5721 | vector pre-allocated in the callers. | |
5722 | (find_data_references_in_stmt): Adjust. | |
5723 | (graphite_find_data_references_in_stmt): Likewise. | |
5724 | (create_rdg_vertices): Likewise. | |
5725 | (find_data_references_in_loop): Export. | |
5726 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependences): | |
5727 | Compute dependences here... | |
5728 | (vect_analyze_data_refs): ...not here. When we encounter | |
5729 | a non-vectorizable data reference in basic-block vectorization | |
5730 | truncate the data reference vector. Do not bother to | |
5731 | fixup data-dependence information for gather loads. | |
5732 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Check the number | |
5733 | of data references, as reported. | |
5734 | ||
cc99c1e1 | 5735 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5736 | ||
5737 | PR tree-optimization/3713 | |
5738 | * tree-ssa-sccvn.c (visit_copy): Simplify. Always propagate | |
5739 | has_constants and expr. | |
5740 | (stmt_has_constants): Properly valueize SSA names when deciding | |
5741 | whether the stmt has constants. | |
5742 | ||
f55f91f5 | 5743 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5744 | ||
5745 | * tree-ssa-loop-manip.c (find_uses_to_rename): Do not scan the | |
5746 | whole function when there is nothing to do. | |
5747 | * tree-ssa-loop.c (pass_vectorize): Remove TODO_update_ssa. | |
5748 | * tree-vectorizer.c (vectorize_loops): Update virtual and | |
5749 | loop-closed SSA once. | |
5750 | * tree-vect-loop.c (vect_transform_loop): Do not update SSA here. | |
5751 | ||
0da53361 | 5752 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5753 | ||
5754 | PR middle-end/56113 | |
5755 | * domwalk.c (bb_postorder): New global static. | |
5756 | (cmp_bb_postorder): New function. | |
5757 | (walk_dominator_tree): Replace scheme imposing an order for | |
5758 | visiting dominator sons by one sorting them at the time they | |
5759 | are pushed on the stack. | |
5760 | ||
09f4cf62 | 5761 | 2013-03-18 Richard Biener <rguenther@suse.de> |
5762 | ||
5763 | PR tree-optimization/39326 | |
5764 | * tree-ssa-loop-im.c (refs_independent_p): Exploit symmetry. | |
5765 | (struct mem_ref): Replace mem member with ao_ref typed member. | |
5766 | (MEM_ANALYZABLE): Adjust. | |
5767 | (memref_eq): Likewise. | |
5768 | (mem_ref_alloc): Likewise. | |
5769 | (gather_mem_refs_stmt): Likewise. | |
5770 | (mem_refs_may_alias_p): Use the ao_ref to query the alias oracle. | |
5771 | (execute_sm_if_changed_flag_set): Adjust. | |
5772 | (execute_sm): Likewise. | |
5773 | (ref_always_accessed_p): Likewise. | |
5774 | (refs_independent_p): Likewise. | |
5775 | (can_sm_ref_p): Likewise. | |
5776 | ||
800469aa | 5777 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
5778 | ||
5779 | PR c/56566 | |
5780 | * tree.c (tree_int_cst_min_precision): For integer_zerop (value) | |
5781 | return 1 even for !unsignedp. | |
5782 | ||
099188cb | 5783 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
5784 | ||
5785 | * config/i386/i386.md (isa): Add x64 and nox64. | |
5786 | (enabled): Define x64 for TARGET_64BIT and nox64 for !TARGET_64BIT. | |
5787 | (*pushtf): Enable *roF alternative for x64 isa only. | |
5788 | (*pushxf): Merge with *pushxf_nointeger. Use Yx*r constraint. Set | |
5789 | mode attribute of integer alternatives to DImode for TARGET_64BIT. | |
5790 | (*pushdf): Merge with *pushdf_rex64. Use x64 and nox64 isa attributes. | |
5791 | (*movtf_internal): Merge from *movtf_internal_rex64 and | |
5792 | *movtf_internal_sse. Use x64 and nox64 isa attributes. | |
5793 | (*movxf_internal): Merge with *movxf_internal_rex64. Use x64 and | |
5794 | nox64 isa attributes. | |
5795 | (*movdf_internal): Merge with *movdf_internal_rex64. Use x64 and | |
5796 | nox64 isa attributes. | |
5797 | * config/i386/constraints.md (Yd): Do not set for TARGET_64BIT. | |
5798 | ||
862c63eb | 5799 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
5800 | ||
5801 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
5802 | ||
595169d8 | 5803 | 2013-03-17 Jakub Jelinek <jakub@redhat.com> |
5804 | ||
5805 | PR target/56640 | |
5806 | * config/arm/arm.h (REG_CLASS_NAMES): Add "SFP_REG" and "AFP_REG" | |
5807 | class names. Remove trailing comma after "ALL_REGS". | |
5808 | ||
7d52f1a3 | 5809 | 2013-03-16 Jan Hubicka <jh@suse.cz> |
5810 | ||
5811 | * cgraph.h (cgraph_get_create_real_symbol_node): Declare. | |
5812 | * cgraph.c (cgraph_get_create_real_symbol_node): New function. | |
5813 | * cgrpahbuild.c: Use cgraph_get_create_real_symbol_node instead | |
5814 | of cgraph_get_create_node. | |
5815 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
5816 | ||
48adf3f3 | 5817 | 2013-03-16 Jason Merrill <jason@redhat.com> |
5818 | ||
5819 | PR debug/49090 | |
5820 | * dwarf2out.c (gen_generic_params_dies): Indicate default arguments | |
5821 | with DW_AT_default_value. | |
5822 | ||
67f9d821 | 5823 | 2013-03-16 Jakub Jelinek <jakub@redhat.com> |
5824 | ||
5825 | * BASE-VER: Set to 4.9.0. | |
5826 | ||
34e2916a | 5827 | 2013-03-14 Andi Kleen <ak@linux.intel.com> |
5828 | ||
5829 | PR target/56619 | |
5830 | * doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE, | |
5831 | __ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs. | |
5832 | Document _x* TSX intrinsics. | |
5833 | ||
5e5f9379 | 5834 | 2013-03-14 Edgar E. Iglesias <edgar.iglesias@xilinx.com> |
5835 | David Holsgrove <david.holsgrove@xilinx.com> | |
4eae25aa | 5836 | |
5837 | * configure.ac: Add MicroBlaze TLS support detection. | |
5838 | * configure: Regenerate. | |
862c63eb | 5839 | * config/microblaze/microblaze-protos.h |
5840 | (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p, | |
5841 | symbol_mentioned_p, label_mentioned_p): Add prototypes. | |
5842 | * config/microblaze/microblaze.c (microblaze_address_type): Add | |
5843 | ADDRESS_TLS and tls_reloc address types. | |
4eae25aa | 5844 | (microblaze_address_info): Add tls_reloc. |
5845 | (TARGET_HAVE_TLS): Define. | |
5846 | (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1, | |
5847 | microblaze_tls_referenced_p, microblaze_cannot_force_const_mem, | |
862c63eb | 5848 | symbol_mentioned_p, label_mentioned_p, tls_mentioned_p, |
5849 | load_tls_operand, microblaze_call_tls_get_addr, | |
5850 | microblaze_legitimize_tls_address): New functions. | |
4eae25aa | 5851 | (microblaze_classify_unspec): Handle UNSPEC_TLS. |
5852 | (get_base_reg): Use microblaze_tls_symbol_p. | |
5853 | (microblaze_classify_address): Handle TLS. | |
862c63eb | 5854 | (microblaze_legitimate_pic_operand): Use symbol_mentioned_p, |
5855 | label_mentioned_p and microblaze_tls_referenced_p. | |
4eae25aa | 5856 | (microblaze_legitimize_address): Handle TLS. |
5857 | (microblaze_address_insns): Handle ADDRESS_TLS. | |
5858 | (pic_address_needs_scratch): Handle TLS. | |
5859 | (print_operand_address): Handle TLS. | |
5860 | (microblaze_expand_prologue): Check TLS_NEEDS_GOT. | |
5861 | (microblaze_expand_move): Handle TLS. | |
862c63eb | 5862 | (microblaze_legitimate_constant_p): Check |
5863 | microblaze_cannot_force_const_mem and microblaze_tls_symbol_p. | |
4eae25aa | 5864 | (TARGET_CANNOT_FORCE_CONST_MEM): Define. |
5865 | * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define | |
5866 | (PIC_OFFSET_TABLE_REGNUM): Set. | |
5867 | * config/microblaze/linux.h (TLS_NEEDS_GOT): Define. | |
5868 | * config/microblaze/microblaze.md (UNSPEC_TLS): Define. | |
5869 | (addsi3, movsi_internal2, movdf_internal): Update constraints | |
5870 | * config/microblaze/predicates.md (arith_plus_operand): Define | |
862c63eb | 5871 | (move_operand): Redefine as move_src_operand, |
5872 | check microblaze_tls_referenced_p. | |
4eae25aa | 5873 | |
341c5ffb | 5874 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
5875 | ||
5876 | * config/aarch64/aarch64.md: (*and<mode>3nr_compare0): Use CC_NZ. | |
5877 | (*and_<SHIFT:optab><mode>3nr_compare0): Likewise. | |
5878 | ||
34cf9362 | 5879 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
5880 | ||
5881 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct | |
5882 | CC mode for AND. | |
5883 | ||
fc162120 | 5884 | 2013-03-14 Jakub Jelinek <jakub@redhat.com> |
5885 | ||
228bf2b8 | 5886 | PR tree-optimization/53265 |
5887 | * common.opt (Waggressive-loop-optimizations): New option. | |
5888 | * tree-ssa-loop-niter.c: Include tree-pass.h. | |
5889 | (do_warn_aggressive_loop_optimizations): New function. | |
5890 | (record_estimate): Call it. Don't add !is_exit bounds to loop->bounds | |
5891 | if number_of_latch_executions returned constant. | |
5892 | (estimate_numbers_of_iterations_loop): Call number_of_latch_executions | |
5893 | early. If number_of_latch_executions returned constant, set | |
5894 | nb_iterations_upper_bound back to it. | |
5895 | * cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations | |
5896 | field. | |
5897 | * Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H). | |
5898 | * doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document. | |
5899 | ||
fc162120 | 5900 | * config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove. |
5901 | (MULTILIB_OSDIRNAMES): Set. | |
5902 | * genmultilib: If defaultosdirname doesn't start with :: , set | |
5903 | defaultosdirname2 instead, clear it and emit two . multilib_raw | |
5904 | entries instead of just one. | |
5905 | ||
ae979f32 | 5906 | 2013-03-14 Kaz Kojima <kkojima@gcc.gnu.org> |
5907 | ||
5908 | * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
5909 | (SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default. | |
5910 | * config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
5911 | (SUBTARGET_OVERRIDE_OPTIONS): New. | |
5912 | ||
bb057878 | 5913 | 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org> |
5914 | ||
5915 | PR target/49880 | |
5916 | * config/sh/sh.opt (FPU_SINGLE_ONLY): New mask. | |
5917 | (musermode): Convert to Var(TARGET_USERMODE). | |
5918 | * config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY, | |
5919 | MASK_ARCH): Add MASK_FPU_SINGLE_ONLY. | |
5920 | * config/sh/sh.c (sh_option_override): Use | |
5921 | TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case. | |
5922 | * config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4 | |
5923 | condition. | |
5924 | (udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of | |
5925 | TARGET_SH4. | |
5926 | (udivsi3_i4_single, divsi3_i4_single): Use | |
5927 | TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4. | |
5928 | ||
cfdddc4b | 5929 | 2013-03-13 Dave Korn <dave.korn.cygwin@....> |
5930 | ||
5931 | * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): Make shared libgcc the | |
5932 | default setting. | |
5933 | ||
814c4f66 | 5934 | 2013-03-13 Richard Biener <rguenther@suse.de> |
5935 | ||
5936 | PR tree-optimization/56608 | |
5937 | * tree-vect-slp.c (vect_schedule_slp): Do not remove scalar | |
5938 | calls when vectorizing basic-blocks. | |
5939 | ||
043cabe3 | 5940 | 2013-03-13 Jakub Jelinek <jakub@redhat.com> |
5941 | ||
5942 | PR plugins/45078 | |
5943 | * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to | |
5944 | tm_file. | |
5945 | ||
1e93bc00 | 5946 | 2013-03-12 Jakub Jelinek <jakub@redhat.com> |
5947 | ||
5948 | * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier. | |
5949 | ||
344cbf0a | 5950 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
5951 | ||
5952 | PR lto/56557 | |
5953 | * lto-streamer-out.c (output_symbol_p): Skip references from | |
5954 | constructors of external variables. | |
5955 | ||
b291008a | 5956 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
5957 | ||
5958 | PR middle-end/56571 | |
5959 | * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating | |
5960 | from pseudos. | |
5961 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
5962 | (copy_insn_1): Likewise. | |
5963 | * rtl.c (copy_rtx): Likewise. | |
5964 | ||
803e7ca1 | 5965 | 2013-03-11 Georg-Johann Lay <avr@gjlay.de> |
5966 | ||
5967 | PR target/56591 | |
5968 | * config/avr/avr.c (avr_print_operand): Add space after '%c' in | |
5969 | output_operand_lossage message. | |
862c63eb | 5970 | |
f8825f5d | 5971 | 2013-03-11 Richard Earnshaw <rearnsha@arm.com> |
5972 | ||
5973 | PR target/56470 | |
5974 | * arm.c (shift_op): Validate RTL pattern on the fly. | |
5975 | (arm_print_operand, case 'S'): Don't use shift_operator to validate | |
5976 | the RTL. | |
5977 | ||
a1fcab4c | 5978 | 2013-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5979 | ||
5980 | PR target/56347 | |
5981 | * config/pa/pa.md (call_value): Check for calls to powf and direct to | |
5982 | new call patterns that clobber %fr12. | |
5983 | (call_val_powf, call_val_powf_pic, call_val_powf_64bit): New insn, | |
5984 | split and postreload patterns. | |
5985 | * config/pa/pa.c (pa_conditional_register_usage): Revert marking | |
5986 | registers %fr12 and %fr12R as call used. | |
5987 | ||
1ca59310 | 5988 | 2013-03-09 Steven Bosscher <steven@gcc.gnu.org> |
5989 | ||
5990 | * dse.c (delete_dead_store_insn): Respect TDF_DETAILS. | |
5991 | (canon_address, record_store, replace_read, check_mem_read_rtx, | |
5992 | scan_insn, dse_step1, dse_step2_init, dse_step2_spill, | |
5993 | dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6, | |
5994 | rest_of_handle_dse): Likewise. | |
5995 | ||
9d3fa937 | 5996 | 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com> |
5997 | ||
5998 | PR middle-end/56524 | |
5999 | * tree.h (tree_optimization_option): Rename target_optabs to optabs. | |
6000 | Add base_optabs. | |
6001 | (TREE_OPTIMIZATION_OPTABS): Update after previous field change. | |
6002 | (TREE_OPTIMIZATION_BASE_OPTABS): New macro. | |
6003 | (save_optabs_if_changed): Replace with... | |
6004 | (init_tree_optimization_optabs): ...this. | |
6005 | * optabs.c (save_optabs_if_changed): Rename to... | |
6006 | (init_tree_optimization_optabs): ...this. Take the optimization node | |
6007 | as argument. Do nothing if the base optabs are already correct. | |
6008 | Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need | |
6009 | to recompute optabs. | |
6010 | * function.h (function): Remove optabs field. | |
6011 | * function.c (invoke_set_current_function_hook): Call | |
6012 | init_tree_optimization_optabs. Use the result to initialize | |
6013 | this_fn_optabs. | |
6014 | ||
1910089e | 6015 | 2013-02-27 Aldy Hernandez <aldyh@redhat.com> |
6016 | ||
6017 | * trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE | |
6018 | if GTMA_HAS_NO_INSTRUMENTATION. | |
6019 | (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit. | |
6020 | (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION. | |
6021 | * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define. | |
6022 | * gimple-pretty-print.c (dump_gimple_transaction): Handle | |
6023 | GTMA_HAS_NO_INSTRUMENTATION. | |
6024 | ||
62efcea5 | 6025 | 2013-03-08 Jakub Jelinek <jakub@redhat.com> |
6026 | ||
6027 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against | |
6028 | libasan_preinit.o. | |
6029 | ||
b3269f54 | 6030 | 2013-03-08 Marek Polacek <polacek@redhat.com> |
6031 | Jakub Jelinek <jakub@redhat.com> | |
6032 | ||
6033 | PR tree-optimization/56478 | |
6034 | * predict.c (is_comparison_with_loop_invariant_p): Change the | |
6035 | type of loop_step to tree. | |
6036 | (predict_loops): Adjust. | |
6037 | (predict_iv_comparison): Perform the computations on double_ints. | |
6038 | ||
4c04afc7 | 6039 | 2013-03-08 Richard Biener <rguenther@suse.de> |
6040 | ||
6041 | PR tree-optimization/56570 | |
6042 | * tree-cfg.c (verify_expr_location_1): Verify locations for | |
6043 | DECL_DEBUG_EXPR. | |
6044 | * tree-sra.c (create_access_replacement): Strip locations | |
6045 | from DECL_DEBUG_EXPRs. | |
6046 | ||
dc426203 | 6047 | 2013-03-08 Richard Biener <rguenther@suse.de> |
6048 | ||
6049 | * tree-inline.c (expand_call_inline): Do not associate | |
6050 | a BLOCK with the location in BLOCK_SOURCE_LOCATION. | |
6051 | * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION. | |
6052 | ||
58fd1738 | 6053 | 2013-03-08 Richard Biener <rguenther@suse.de> |
6054 | ||
6055 | * tree-ssa-ter.c (is_replaceable_p): Do not TER across location | |
6056 | or block changes with -Og. Fix for location / block encoding | |
6057 | changes and PHI arguments with locations. | |
6058 | ||
28d3effc | 6059 | 2013-03-07 Steven Bosscher <steven@gcc.gnu.org> |
6060 | ||
6061 | * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT | |
6062 | for all counters. | |
6063 | (struct output_info): Likewise. | |
6064 | (register_overhead): Remove bad gcc_assert. | |
6065 | (bitmap_find_bit): If there is only a single bitmap element, do not | |
6066 | count a miss as a search. | |
6067 | (print_statistics): Update for counter type changes. | |
6068 | (dump_bitmap_statistics): Likewise. Print headers such that they | |
6069 | are properly lined up with the printed counters. | |
6070 | ||
bdb5a35a | 6071 | 2013-03-07 Jakub Jelinek <jakub@redhat.com> |
6072 | ||
6073 | PR tree-optimization/56559 | |
6074 | * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2, | |
6075 | check that it has only a single use. | |
6076 | ||
f7961441 | 6077 | 2013-03-07 Richard Biener <rguenther@suse.de> |
6078 | ||
6079 | * doc/invoke.texi (fwhole-program): Discourage use in combination | |
6080 | with -flto. | |
6081 | ||
31c66114 | 6082 | 2013-03-06 Jakub Jelinek <jakub@redhat.com> |
6083 | ||
23910ff9 | 6084 | * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def. |
6085 | ||
f5c4bbcd | 6086 | PR tree-optimization/56539 |
6087 | * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT | |
6088 | instead of GSI_CONTINUE_LINKING as last argument to | |
6089 | force_gimple_operand_gsi. Adjust function comment. | |
6090 | ||
48ff81f3 | 6091 | * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Add |
6092 | aarch64-cores.def. | |
6093 | ||
31c66114 | 6094 | PR middle-end/56548 |
6095 | * expr.c (expand_cond_expr_using_cmove): When expanding cmove in | |
6096 | promoted mode, convert the result back to the original mode. | |
6097 | ||
487c79c3 | 6098 | 2013-03-06 Richard Biener <rguenther@suse.de> |
6099 | ||
6100 | PR middle-end/56294 | |
6101 | * tree-into-ssa.c (insert_phi_nodes_for): Add dumping. | |
6102 | (insert_updated_phi_nodes_compare_uids): New function. | |
6103 | (update_ssa): Sort symbols_to_rename after UID before | |
6104 | traversing it to insert PHI nodes. | |
6105 | ||
90a674eb | 6106 | 2013-03-06 Richard Biener <rguenther@suse.de> |
6107 | ||
6108 | PR middle-end/50494 | |
6109 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): | |
6110 | Do not adjust alignment of DECL_IN_CONSTANT_POOL decls. | |
6111 | ||
6112 | Revert | |
6113 | 2013-02-13 Richard Biener <rguenther@suse.de> | |
6114 | ||
6115 | PR lto/50494 | |
6116 | * varasm.c (output_constant_def_1): Get the decl representing | |
6117 | the constant as argument. | |
6118 | (output_constant_def): Wrap output_constant_def_1. | |
6119 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
6120 | representing the constant. | |
6121 | (build_constant_desc): Optionally re-use a decl already | |
6122 | representing the constant. | |
6123 | (tree_output_constant_def): Adjust. | |
6124 | ||
40c059b1 | 6125 | 2013-03-06 Joey Ye <joey.ye@arm.com> |
6126 | ||
6127 | PR lto/50293 | |
6128 | * gcc.c (convert_white_space): New function. | |
6129 | (main): Handles white space in function name. | |
6130 | ||
9fe603c3 | 6131 | 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org> |
6132 | ||
6133 | PR target/56529 | |
6134 | * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT | |
6135 | instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy | |
6136 | to SH_DIV_CALL_TABLE for TARGET_SH2. | |
6137 | * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib | |
6138 | list. | |
6139 | * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp, | |
6140 | call-table options. | |
6141 | ||
24a5ae15 | 6142 | 2013-03-05 Sterling Augustine <saugustine@google.com> |
6143 | Cary Coutant <ccoutant@google.com> | |
6144 | ||
6145 | PR debug/55364 | |
6146 | * dwarf2out.c (resolve_addr): Don't call | |
6147 | remove_loc_list_addr_table_entries a second time for the same | |
6148 | expression. | |
6149 | ||
848d0536 | 6150 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
d9c1b601 | 6151 | |
848d0536 | 6152 | PR debug/56510 |
6153 | * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming. | |
6154 | (avoid_complex_debug_insns): New function. | |
6155 | (expand_debug_locations): Call it. | |
6156 | ||
6157 | PR rtl-optimization/56484 | |
6158 | * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending | |
6159 | lifetimes of hard registers on small register class machines. | |
6160 | ||
6161 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> | |
6162 | ||
6163 | * config/microblaze/microblaze-protos.h: Rename | |
d9c1b601 | 6164 | microblaze_is_interrupt_handler to microblaze_is_interrupt_variant. |
848d0536 | 6165 | * config/microblaze/microblaze.c (microblaze_attribute_table): Add |
d9c1b601 | 6166 | fast_interrupt. |
6167 | (microblaze_fast_interrupt_function_p): New function. | |
6168 | (microblaze_is_interrupt_handler): Rename to | |
6169 | microblaze_is_interrupt_variant and add fast_interrupt check. | |
6170 | (microblaze_must_save_register): Use microblaze_is_interrupt_variant. | |
6171 | (save_restore_insns): Likewise. | |
6172 | (compute_frame_size): Likewise. | |
6173 | (microblaze_function_prologue): Add FAST_INTERRUPT_NAME. | |
6174 | (microblaze_globalize_label): Likewise. | |
848d0536 | 6175 | * config/microblaze/microblaze.h: Define FAST_INTERRUPT_NAME. |
6176 | * config/microblaze/microblaze.md: Use wrapper | |
d9c1b601 | 6177 | microblaze_is_interrupt_variant. |
6178 | ||
d641a4ab | 6179 | 2013-03-05 Kai Tietz <ktietz@redhat.com> |
6180 | ||
6181 | * sdbout.c (sdbout_one_type): Switch to current function's section | |
6182 | supporting cold/hot. | |
6183 | ||
31c66114 | 6184 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> |
76cc869a | 6185 | |
6186 | * doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian, | |
6187 | -mxl-reorder. | |
6188 | ||
a776325f | 6189 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
6190 | ||
5ceebb21 | 6191 | PR middle-end/56461 |
6192 | * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING, | |
6193 | if VALGRIND_GET_VBITS is defined, temporarily make object | |
6194 | memory all defined, and restore previous valgrind addressability | |
6195 | and definability afterwards. Free this_object at the end. | |
6196 | ||
d3d0b390 | 6197 | PR middle-end/56461 |
6198 | * lra.c (lra): Call lra_clear_live_ranges if live_p, | |
6199 | right before calling lra_create_live_ranges, also call it | |
6200 | when clearing live_p. Only call lra_clear_live_ranges | |
6201 | at the end if live_p. | |
6202 | ||
a776325f | 6203 | PR middle-end/56461 |
6204 | * sched-deps.c (delete_dep_node): Free DEP_REPLACE. | |
6205 | ||
63628665 | 6206 | 2013-03-05 Richard Biener <rguenther@suse.de> |
6207 | ||
6208 | PR tree-optimization/56521 | |
6209 | * tree-ssa-sccvn.c (set_value_id_for_result): Always initialize | |
6210 | value-id. | |
6211 | ||
390f4a4b | 6212 | 2013-03-05 Steven Bosscher <steven@gcc.gnu.org> |
6213 | ||
6214 | PR c++/55135 | |
6215 | * except.h (remove_unreachable_eh_regions): New prototype. | |
6216 | * except.c (remove_eh_handler_splicer): New function, split out | |
6217 | of remove_eh_handler. | |
6218 | (remove_eh_handler): Use remove_eh_handler_splicer. Add comment | |
6219 | warning about running it on many EH regions one at a time. | |
6220 | (remove_unreachable_eh_regions_worker): New function, walk the | |
6221 | EH tree in depth-first order and remove non-marked regions. | |
6222 | (remove_unreachable_eh_regions): New function. | |
6223 | * tree-eh.c (mark_reachable_handlers): New function, split out | |
6224 | from remove_unreachable_handlers. | |
6225 | (remove_unreachable_handlers): Use mark_reachable_handlers and | |
6226 | remove_unreachable_eh_regions. | |
6227 | (remove_unreachable_handlers_no_lp): Use mark_reachable_handlers | |
6228 | and remove_unreachable_eh_regions. | |
6229 | ||
84087109 | 6230 | 2013-03-05 Richard Biener <rguenther@suse.de> |
6231 | ||
6232 | PR middle-end/56525 | |
6233 | * loop-init.c (fix_loop_structure): Remove loops in two stages, | |
6234 | not freeing them until the end. | |
6235 | ||
a22cd2a7 | 6236 | 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6237 | ||
6238 | * config/s390/s390.h: Define DWARF2_ASM_LINE_DEBUG_INFO. | |
6239 | ||
6de71799 | 6240 | 2013-03-05 Richard Biener <rguenther@suse.de> |
6241 | ||
6242 | PR tree-optimization/56270 | |
6243 | * tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts | |
6244 | of loads after scheduling an SLP instance. | |
6245 | ||
6ae8a044 | 6246 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
6247 | ||
94ce8195 | 6248 | * Makefile.in (dg_target_exps): Add aarch64.exp, epiphany.exp and |
6249 | tic6x.exp. | |
6250 | (check_gcc_parallelize): Run guality.exp as a separate job from | |
6251 | vect.exp with unsorted.exp and $(dg_target_exps) separately from | |
6252 | struct-layout-1.exp with stackalign.exp. | |
6253 | ||
7a2f311c | 6254 | * alias.c (init_alias_analysis): Clear reg_known_equiv_p bitmap. |
6255 | ||
cae603e9 | 6256 | PR middle-end/56461 |
6257 | * tree-vect-slp.c (vect_supported_load_permutation_p): Free | |
6258 | load_index sbitmap even if some bit in it isn't set. | |
6259 | ||
b71850a1 | 6260 | PR middle-end/56461 |
6261 | * tree-ssa-loop-niter.c (bb_queue): Remove typedef. | |
6262 | (discover_iteration_bound_by_body_walk): Change queues to | |
6263 | vec<vec<basic_block> > and queue to vec<basic_block>. Fix up | |
6264 | spelling in comment. Call safe_push on queues[bound_index] directly. | |
6265 | Release queues[queue_index] in every iteration unconditionally. | |
6266 | Release bounds vector. | |
6267 | ||
6ae8a044 | 6268 | PR middle-end/56461 |
6269 | * tree-vect-stmts.c (free_stmt_vec_info_vec): Call | |
6270 | free_stmt_vec_info on any left-over stmt_vec_info in the vector. | |
6271 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Release | |
6272 | inner_phis vector. | |
6273 | ||
c251ba7f | 6274 | 2013-03-05 Richard Biener <rguenther@suse.de> |
6275 | ||
6276 | PR lto/56515 | |
6277 | * tree-inline.c (remap_blocks_to_null): New function. | |
6278 | (expand_call_inline): When expanding a call stmt without | |
6279 | an associated block inline remap all callee blocks to NULL. | |
6280 | ||
70639a9d | 6281 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
6282 | ||
bdcf717b | 6283 | PR rtl-optimization/56494 |
6284 | * simplify-rtx.c (simplify_truncation): If C is narrower than A, | |
6285 | optimize (truncate:A (subreg:B (truncate:C X) 0)) into | |
6286 | (subreg:A (truncate:C X) 0) instead of (truncate:A X). | |
6287 | ||
862c1934 | 6288 | PR middle-end/56461 |
6289 | * sel-sched-ir.c (free_sched_pools): Release | |
6290 | succs_info_pool.stack[succs_info_pool.max_top] vectors too | |
6291 | if succs_info_pool.max_top isn't -1. | |
6292 | ||
70639a9d | 6293 | PR bootstrap/56509 |
6294 | * opts.c (opts_obstack, opts_concat): Moved to... | |
6295 | * opts-common.c (opts_obstack, opts_concat): ... here. | |
6296 | ||
29d52322 | 6297 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
6298 | ||
6299 | PR middle-end/56461 | |
6300 | * diagnostic.c (diagnostic_append_note): Save and restore old prefix. | |
6301 | ||
a1a00916 | 6302 | 2013-03-04 Martin Jambor <mjambor@suse.cz> |
6303 | ||
6304 | * tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in | |
6305 | all appropriate places. | |
6306 | ||
8ad1eb69 | 6307 | 2013-01-04 Eric Botcazou <ebotcazou@adacore.com> |
6308 | ||
6309 | PR tree-optimization/56424 | |
6310 | * ipa-split.c (split_function): Do not set the RSO flag if result is | |
6311 | not by reference and its type is a register type. | |
6312 | ||
31c66114 | 6313 | 2013-03-04 David Holsgrove <david.holsgrove@xilinx.com> |
4f12cc20 | 6314 | |
862c63eb | 6315 | * config/microblaze/microblaze.c (microblaze_valid_pic_const): New |
4f12cc20 | 6316 | (microblaze_legitimate_pic_operand): Likewise |
862c63eb | 6317 | * config/microblaze/microblaze.h (LEGITIMATE_PIC_OPERAND_P): calls |
4f12cc20 | 6318 | new function microblaze_legitimate_pic_operand |
6319 | * config/microblaze/microblaze-protos.h | |
6320 | (microblaze_legitimate_pic_operand): Declare. | |
6321 | ||
31c66114 | 6322 | 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
ff86513b | 6323 | |
31c66114 | 6324 | * config/microblaze/predicates.md (call_insn_simple_operand): |
ff86513b | 6325 | New predicate for supported rtx code types. |
31c66114 | 6326 | * config/microblaze/microblaze.md (call_internal1): Use |
ff86513b | 6327 | call_insn_simple_operand predicate. |
6328 | ||
033ee56d | 6329 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
6330 | ||
b3df3de1 | 6331 | PR middle-end/56461 |
6332 | * tree-loop-distribution.c (ldist_gen): Call partition_free after each | |
6333 | partitions.ordered_remove. | |
6334 | ||
1d4dcacf | 6335 | PR middle-end/56461 |
6336 | * tree-vect-stmts.c (vectorizable_conversion): Don't call | |
6337 | vec_oprnds0.create (1) for modifier == NONE. | |
6338 | ||
87c0beb4 | 6339 | PR middle-end/56461 |
6340 | * tree-vect-stmts.c (vectorizable_shift): Don't call create methods | |
6341 | on vec_oprnds0 or vec_oprnds1 before loop, only call it on | |
6342 | vec_oprnds1 right before pushing anything to it for | |
6343 | scalar_shift_arg. | |
6344 | ||
033ee56d | 6345 | PR middle-end/56461 |
6346 | * tree-vect-loop.c (destroy_loop_vec_info): For !clean_stmts, just | |
6347 | set nbbs to 0 instead of having separate code path. | |
6348 | (vect_analyze_loop_form): Call destroy_loop_vec_info with true | |
6349 | instead of false as last argument if returning NULL. | |
6350 | ||
090eadfb | 6351 | 2013-03-03 Sandra Loosemore <sandra@codesourcery.com> |
6352 | ||
6353 | * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments; | |
6354 | the attribute is now called "target" instead of "option". | |
6355 | (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma. | |
6356 | * doc/tm.texi.in (Target Attributes): Likewise document the correct | |
6357 | attribute/pragma name for TARGET_OPTION_VALID_P and | |
6358 | TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup. | |
6359 | * doc/tm.texi: Regenerated. | |
6360 | ||
87c0beb4 | 6361 | 2013-03-02 David Holsgrove <david.holsgrove@xilinx.com> |
db38a061 | 6362 | |
87c0beb4 | 6363 | * config/microblaze/microblaze.c: |
db38a061 | 6364 | Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met. |
87c0beb4 | 6365 | * config/microblaze/microblaze.h: Add -mxl-reorder to |
6366 | DRIVER_SELF_SPECS. | |
6367 | * config/microblaze/microblaze.md: New bswapsi2 and bswaphi2. | |
6368 | instructions emitted if TARGET_REORDER. | |
862c63eb | 6369 | * config/microblaze/microblaze.opt: New option -mxl-reorder set to 1 |
6370 | or 0 for -m/-mno case, but initialises as 2 to detect default use case | |
87c0beb4 | 6371 | separately. |
db38a061 | 6372 | |
ae814dd3 | 6373 | 2013-03-01 Xinliang David Li <davidxl@google.com> |
6374 | ||
6375 | * tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom | |
6376 | walk length. | |
6377 | ||
57fad2bf | 6378 | 2013-03-01 Jakub Jelinek <jakub@redhat.com> |
6379 | ||
04437ab6 | 6380 | PR middle-end/56461 |
6381 | * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Release path | |
6382 | vector even when returning true. Fix up function comment formatting. | |
6383 | ||
f9feeefd | 6384 | PR middle-end/56461 |
6385 | * ira-build.c (ira_loop_nodes_count): New variable. | |
6386 | (create_loop_tree_nodes): Initialize it. | |
6387 | (finish_loop_tree_nodes): Use it instead of looking at current_loops. | |
6388 | ||
f40aaf2d | 6389 | PR middle-end/56461 |
6390 | * tree-vect-data-refs.c (vect_permute_store_chain): Avoid using copy | |
6391 | method on dr_chain and result_chain. | |
6392 | * tree-vect-stmts.c (vectorizable_store): Only call | |
6393 | result_chain.create if j == 0. | |
6394 | ||
57fad2bf | 6395 | PR middle-end/56461 |
6396 | * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call | |
6397 | vec_oprnds0->release (); rather than vec_oprnds0->truncate (0) | |
6398 | before overwriting it. | |
6399 | ||
32ddc0d1 | 6400 | 2013-03-01 Tobias Burnus <burnus@net-b.de> |
6401 | ||
6402 | * doc/extended.texi (C Extensions): Change order in @menu | |
6403 | to match @node. | |
6404 | (Other MIPS Built-in Functions): Move last MIPS entry before | |
6405 | "picoChip Built-in Functions". | |
6406 | (SH Built-in Functions): Move after RX Built-in Functions. | |
6407 | * doc/gcc.texi (Introduction): Change order in @menu | |
6408 | to match @node. | |
6409 | * doc/md.texi (Constraints): Ditto. | |
6410 | * gty.texi (Type Information): Ditto. | |
6411 | (User-provided marking routines for template types): Make | |
6412 | subsection. | |
6413 | * doc/invoke.texi (AArch64 Options): Move before | |
6414 | "Adapteva Epiphany Options". | |
6415 | ||
a9196da9 | 6416 | 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com> |
6417 | Jakub Jelinek <jakub@redhat.com> | |
6418 | ||
6419 | PR sanitizer/56454 | |
6420 | * asan.c (gate_asan): Lookup no_sanitize_address instead of | |
6421 | no_address_safety_analysis attribute. | |
6422 | * doc/extend.texi (no_address_safety_attribute): Rename to | |
6423 | no_sanitize_address attribute, mention no_address_safety_analysis | |
6424 | attribute as deprecated alias. | |
6425 | ||
7f7695a7 | 6426 | 2013-02-28 Jakub Jelinek <jakub@redhat.com> |
6427 | ||
6428 | PR middle-end/56461 | |
6429 | * tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument | |
6430 | type to vec<vec<tree> > *. | |
6431 | * tree-vect-slp.c (vect_get_slp_defs): Likewise. Change vec_defs | |
6432 | to be vec<tree> instead of vec<tree> *, set vec_defs | |
6433 | to vNULL and call vec_defs.create (number_of_vects), adjust other | |
6434 | uses of vec_defs. | |
6435 | * tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call, | |
6436 | vectorizable_condition): Adjust vect_get_slp_defs callers. | |
6437 | ||
9439bdfe | 6438 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
6439 | ||
6440 | * config/aarch64/aarch64.c | |
6441 | (aarch64_float_const_representable): Remove unused variable. | |
6442 | ||
147f0a69 | 6443 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
6444 | ||
6445 | * config/aarch64/aarch64.c (aarch64_mangle_type): Make static. | |
6446 | ||
4f164a9f | 6447 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
6448 | ||
6449 | * config/aarch64/aarch64-builtins.c | |
6450 | (aarch64_init_simd_builtins): Make static. | |
6451 | ||
6d57cecd | 6452 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
6453 | ||
6454 | * config/aarch64/aarch64.c | |
6455 | (aarch64_simd_make_constant): Make static. | |
6456 | ||
e3fa6175 | 6457 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
6458 | ||
6459 | * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements | |
6460 | with no initialization to the RHS of debug statements. | |
6461 | ||
2e1d16b0 | 6462 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
6463 | ||
6464 | PR tree-optimization/56294 | |
6465 | * tree-sra.c (analyze_access_subtree): Create replacement declarations. | |
6466 | Adjust dumping. | |
6467 | (get_access_replacement): Do not call create_access_replacement. | |
6468 | Assert a replacement exists. | |
6469 | (get_repl_default_def_ssa_name): Create the replacement declaration | |
6470 | itself. | |
6471 | ||
2c8489a0 | 6472 | 2013-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
6473 | ||
6474 | * config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and | |
6475 | final_end_function. | |
6476 | ||
f3721e91 | 6477 | 2013-02-28 Marek Polacek <polacek@redhat.com> |
6478 | ||
6479 | PR rtl-optimization/56466 | |
6480 | * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure | |
6481 | if we're changing a loop. | |
6482 | (peel_loops_completely): Likewise. | |
6483 | ||
a8877909 | 6484 | 2013-02-28 Paolo Carlini <paolo.carlini@oracle.com> |
6485 | ||
6486 | PR c++/55813 | |
6487 | * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete. | |
6488 | ||
3e88585b | 6489 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
6490 | ||
6491 | PR target/56445 | |
6492 | * config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty | |
6493 | macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX, | |
6494 | INTX_FTYPE_FX, FX_FTYPE_INTX. | |
6495 | * config/avr/builtins.def: Adjust respective DEF_BUILTIN. | |
6496 | ||
724fcbc3 | 6497 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
6498 | ||
6499 | * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285) | |
6500 | (ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795) | |
6501 | (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb) | |
6502 | (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a) | |
6503 | (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1) | |
6504 | (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p) | |
6505 | (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb) | |
6506 | (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161) | |
6507 | (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e) | |
6508 | (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4) | |
6509 | (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3) | |
6510 | (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1) | |
6511 | (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva) | |
6512 | (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3) | |
6513 | (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU. | |
6514 | (avrxmega6): Increase max flash segments from 5 to 6. | |
6515 | * config/avr/t-multilib: Regenerate. | |
6516 | * config/avr/avr-tables.opt: Regenerate. | |
6517 | * doc/avr-mmcu.texi: Regenerate. | |
6518 | ||
28cd3cde | 6519 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
6520 | ||
6521 | * config/avr/avr.h (device_to_arch): Rename to device_to_ld. | |
6522 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
6523 | (avr_device_to_as): New prototype. | |
6524 | (EXTRA_SPEC_FUNCTIONS): Add device_to_as. | |
6525 | (ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=. | |
6526 | * config/avr/driver-avr.c (avr_device_to_as): New. | |
6527 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
6528 | ||
3bda6402 | 6529 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
6530 | ||
1648f21f | 6531 | PR middle-end/56461 |
6532 | * tree-vect-data-refs.c (vect_permute_load_chain): Avoid using copy | |
6533 | method on dr_chain and result_chain. | |
6534 | ||
6a191849 | 6535 | PR middle-end/56461 |
6536 | * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Call | |
6537 | pointer_set_destroy on not_executed_last_iteration. | |
6538 | ||
1224d221 | 6539 | PR middle-end/56461 |
862c63eb | 6540 | * tree-vect-loop.c (vectorizable_reduction): Release vect_defs vector. |
1224d221 | 6541 | |
c6d207aa | 6542 | PR middle-end/56461 |
6543 | * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of | |
6544 | FOR_EACH_DEFINED_FUNCTION when freeing state. | |
6545 | ||
73dcdb84 | 6546 | PR middle-end/56461 |
6547 | * df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before | |
6548 | pool_free. | |
6549 | (df_insn_rescan_debug_internal): Use df_scan_free_mws_vec before | |
6550 | overwriting it. | |
6551 | ||
e4898110 | 6552 | PR middle-end/56461 |
6553 | * ipa-cp.c (decide_whether_version_node): Call vec_free on | |
6554 | known_aggs[i].items and release known_aggs vector. | |
6555 | ||
3bda6402 | 6556 | PR middle-end/56461 |
6557 | * ipa-reference.c (propagate): Free node_info even for alias nodes. | |
6558 | ||
6559 | 2013-02-27 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
e249ec67 | 6560 | |
3bda6402 | 6561 | * config/microblaze/microblaze.c (microblaze_emit_compare): |
6562 | Use xor for EQ/NE comparisions. | |
6563 | * config/microblaze/microblaze.md (cstoresf4): Add constraints | |
6564 | (cbranchsf4): Adjust operator to comparison_operator. | |
e249ec67 | 6565 | |
dcd56d11 | 6566 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
6567 | ||
6568 | PR middle-end/56461 | |
6569 | * tree-flow.h (edge_var_map_vector): Change into va_heap, vl_embed | |
6570 | vector. | |
6571 | * tree-ssa.c (redirect_edge_var_map_add): Use vec_safe_reserve and | |
6572 | vec_safe_push, always update *slot. | |
6573 | (redirect_edge_var_map_clear): Use vec_free. | |
6574 | (redirect_edge_var_map_dup): Use vec_safe_copy and vec_safe_reserve. | |
6575 | (free_var_map_entry): Use vec_free. | |
6576 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Use | |
6577 | FOR_EACH_VEC_SAFE_ELT instead of FOR_EACH_VEC_ELT. | |
6578 | ||
936ab1d9 | 6579 | 2013-02-27 Andrey Belevantsev <abel@ispras.ru> |
6580 | ||
6581 | PR middle-end/45472 | |
936ab1d9 | 6582 | * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr |
6583 | when the may_trap_p bit of the exprs being merged differs. | |
936ab1d9 | 6584 | Reorder tests for speculativeness in the logical and operator. |
6585 | ||
d5417a49 | 6586 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
6587 | ||
632c3914 | 6588 | * incpath.c (add_standard_paths): Use reconcat instead of concat |
6589 | where appropriate and avoid leaking memory. | |
6590 | ||
ba30d337 | 6591 | * opts.h: Include obstack.h. |
6592 | (opts_concat): New prototype. | |
6593 | (opts_obstack): New declaration. | |
6594 | * opts.c (opts_concat): New function. | |
6595 | (opts_obstack): New variable. | |
6596 | (init_options_struct): Call gcc_init_obstack on opts_obstack. | |
6597 | (finish_options): Use opts_concat instead of concat | |
6598 | and XOBNEWVEC instead of XNEWVEC. | |
6599 | * opts-common.c (generate_canonical_option, decode_cmdline_option, | |
6600 | generate_option): Likewise. | |
6601 | * Makefile.in (OPTS_H): Depend on $(OBSTACK_H). | |
6602 | * lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack. | |
6603 | ||
d5417a49 | 6604 | PR target/56455 |
6605 | * stmt.c (expand_switch_as_decision_tree_p): If flag_pic | |
6606 | and ASM_OUTPUT_ADDR_DIFF_ELT isn't defined, return true. | |
6607 | ||
ed8fbc55 | 6608 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
6609 | ||
6610 | PR middle-end/56461 | |
6611 | * lra-spills.c (lra_spill): Free spill_hard_reg at the end. | |
6612 | ||
931645bc | 6613 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
6614 | ||
6615 | * config/arm/arm.c (const_ok_for_dimode_op): Back out last change. | |
6616 | (arm_block_move_unaligned_straight): Likewise. | |
6617 | (arm_adjust_block_mem): Likewise. | |
6618 | ||
7b04a0cb | 6619 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
6620 | ||
6621 | PR target/48901 | |
6622 | * config/lm32/lm32.c (gen_int_relational): Remove unused variables | |
6623 | temp, cond and label. | |
6624 | * config/lm32/lm32.md (ashlsi3): Remove unused variable one. | |
6625 | ||
5d77e25b | 6626 | PR target/52500 |
6627 | * config/c6x/c6x.c (dbx_register_map): Change to unsigned. | |
6628 | * config/c6x/c6x.h (dbx_register_map): Update declaration. | |
6629 | ||
e8b0bf40 | 6630 | PR target/52501 |
6631 | * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end | |
6632 | of prologue/epilogue functions. | |
6633 | ||
7ae884c9 | 6634 | PR target/52550 |
6635 | * config/tilegx/tilegx.c (tilegx_expand_prologue): | |
6636 | Remove unused variable cfa_offset. | |
6637 | * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise. | |
6638 | ||
df70f973 | 6639 | PR target/54639 |
6640 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset | |
6641 | type promotion to unsigned. | |
6642 | ||
5e10bd08 | 6643 | PR target/54640 |
6644 | * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent | |
6645 | for HOST_WIDE_INT of 32 bit / same size as int. | |
6646 | (arm_block_move_unaligned_straight): Likewise. | |
6647 | (arm_adjust_block_mem): Likewise. | |
6648 | ||
46645ed9 | 6649 | PR target/54662 |
6650 | * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of | |
6651 | ALL_CFLAGS. | |
6652 | ||
9df082d2 | 6653 | 2013-02-26 Marek Polacek <polacek@redhat.com> |
6654 | ||
6655 | PR tree-optimization/56426 | |
862c63eb | 6656 | * tree-ssa-loop.c (tree_ssa_loop_init): Always call scev_initialize. |
9df082d2 | 6657 | |
258f96b3 | 6658 | 2013-02-26 Richard Biener <rguenther@suse.de> |
6659 | ||
6660 | PR target/56444 | |
6661 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove | |
6662 | unused variable loops. | |
6663 | ||
50c96f17 | 6664 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
6665 | ||
db08f1c6 | 6666 | PR tree-optimization/56448 |
6667 | * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at | |
6668 | TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF. | |
6669 | Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or | |
6670 | later operands of the references, or even first operand for | |
6671 | INDIRECT_REF, TARGET_MEM_REF or MEM_REF. | |
6672 | ||
50c96f17 | 6673 | PR tree-optimization/56443 |
6674 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For | |
6675 | overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument | |
6676 | to type_for_mode langhook. | |
6677 | ||
28c83d49 | 6678 | 2013-02-25 Matt Turner <mattst88@gmail.com> |
6679 | ||
6680 | * doc/invoke.texi: Document r4700. | |
6681 | ||
750e47f5 | 6682 | 2013-02-25 Richard Biener <rguenther@suse.de> |
6683 | ||
6684 | PR tree-optimization/56175 | |
6685 | * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate, | |
6686 | split out from ... | |
6687 | (simplify_bitwise_binary): ... here. Also guard the conversion | |
6688 | of (type) X op CST to (type) (X op ((type-x) CST)) with it. | |
6689 | ||
ca7a473f | 6690 | 2013-02-25 Catherine Moore <clm@codesourcery.com> |
6691 | ||
6692 | Revert: | |
6693 | 2013-02-24 Catherine Moore <clm@codesourcery.com> | |
6694 | Maciej W. Rozycki <macro@codesourcery.com> | |
6695 | Tom de Vries <tom@codesourcery.com> | |
31c66114 | 6696 | Nathan Sidwell <nathan@codesourcery.com> |
ca7a473f | 6697 | Iain Sandoe <iain@codesourcery.com> |
6698 | Nathan Froyd <froydnj@codesourcery.com> | |
31c66114 | 6699 | Chao-ying Fu <fu@mips.com> |
862c63eb | 6700 | |
ca7a473f | 6701 | * doc/extend.texi: (micromips, nomicromips, nocompression): |
862c63eb | 6702 | Document new function attributes. |
ca7a473f | 6703 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
6704 | m14k, m14ke, m14kec): Document new options. | |
6705 | (minterlink-mips16): Update documentation. | |
6706 | * doc/md.texi (ZC, ZD): Document new constraints. | |
6707 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
6708 | supports the .set micromips directive. | |
6709 | * configure: Regenerate. | |
6710 | * config.in: Regenerate. | |
6711 | * config/mips/mips-tables.opt: Regenerate. | |
6712 | * config/mips/micromips.md: New file. | |
6713 | * constraints.md (ZC, AD): New constraints. | |
6714 | * config/mips/predicates.md (movep_src_register): New predicate. | |
6715 | (movep_src_operand): New predicate. | |
6716 | (non_volatile_mem_operand): New predicate. | |
6717 | * config/mips/mips.md (multimem): New type. | |
6718 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
6719 | (MOVEP1, MOVEP2): New mode iterator. | |
6720 | (mov_<load>l): Use ZC constraint. | |
6721 | (mov_<load>r): Likewise. | |
6722 | (mov_<store>l): Likewise. | |
6723 | (mov_<store>r): Likewise. | |
6724 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
6725 | (*branch_equality<mode>): Likewise. | |
6726 | (*jump_absolute): Likewise. | |
6727 | (indirect_jump_<mode>): Likewise. | |
6728 | (tablejump_<mode>): Likewise. | |
6729 | (<optab>_internal): Likewise. | |
6730 | (sibcall_internal): Likewise. | |
6731 | (sibcall_value_internal): Likewise. | |
6732 | (prefetch): Use constraint ZD. | |
6733 | * config/mips/mips.opt (minterlink-compressed): New option. | |
6734 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
6735 | (mmicromips): New option. | |
6736 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
6737 | (compare_and_swap_12): Likewise. | |
6738 | (sync_add<mode>): Likewise. | |
6739 | (sync_<optab>_12): Likewise. | |
6740 | (sync_old_<optab>_12): Likewise. | |
6741 | (sync_new_<optab>_12): Likewise. | |
6742 | (sync_nand_12): Likewise. | |
6743 | (sync_old_nand_12): Likewise. | |
6744 | (sync_new_nand_12): Likewise. | |
6745 | (sync_sub<mode>): Likewise. | |
6746 | (sync_old_add<mode>): Likewise. | |
6747 | (sync_old_sub<mode>): Likewise. | |
6748 | (sync_new_add<mode>): Likewise. | |
6749 | (sync_new_sub<mode>): Likewise. | |
6750 | (sync_<optab><mode>): Likewise. | |
6751 | (sync_old_<optab><mode>): Likewise. | |
6752 | (sync_new_<optab><mode>): Likewise. | |
6753 | (sync_nand<mode>): Likewise. | |
6754 | (sync_old_nand<mode>): Likewise. | |
6755 | (sync_new_nand<mode>): Likewise. | |
6756 | (sync_lock_test_and_set<mode>): Likewise. | |
6757 | (test_and_set_12): Likewise. | |
6758 | (atomic_compare_and_swap<mode>): Likewise. | |
6759 | (atomic_exchange<mode>_llsc): Likewise. | |
6760 | (atomic_fetch_add<mode>_llsc): Likewise. | |
6761 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
6762 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
6763 | (umips_save_restore_pattern_p): Likewise. | |
6764 | (umips_load_store_pair_p): Likewise. | |
6765 | (umips_output_load_store_pair): Likewise. | |
6766 | (umips_movep_target_p): Likewise. | |
6767 | (umips_12bit_offset_address_p): Likewise. | |
6768 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
6769 | (mips_base_mips16): Rename this... | |
6770 | (mips_base_compression_flags): ...to this. Update all uses. | |
6771 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
6772 | (mips_mips16_decl_p): Delete. | |
6773 | (mips_nomips16_decl_p): Delete. | |
6774 | (mips_get_compress_on_flags): New function. | |
6775 | (mips_get_compress_off_flags): New function. | |
6776 | (mips_get_compress_mode): New function. | |
6777 | (mips_get_compress_on_name): New function. | |
6778 | (mips_get_compress_off_name): New function. | |
6779 | (mips_insert_attributes): Support multiple compression types. | |
6780 | (mips_merge_decl_attributes): Likewise. | |
6781 | (umips_12bit_offset_address_p): New function. | |
6782 | (mips_start_function_definition): Emit .set micromips directive. | |
6783 | (mips_call_may_need_jalx_p): New function. | |
6784 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
6785 | (mips_print_operand_punctuation): Support short delay slots and | |
6786 | compact jumps. | |
6787 | (umips_swm_mask, umips_swm_encoding): New. | |
6788 | (umips_build_save_restore): New function. | |
6789 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
6790 | (was_mips16_p): Remove. | |
6791 | (old_compression_mode): New. | |
6792 | (mips_set_compression_mode): New function. | |
6793 | (mips_set_current_function): Add microMIPS support. | |
6794 | (mips_option_override): Likewise. | |
6795 | (umips_save_restore_pattern_p): New function. | |
6796 | (umips_output_save_restore): New function. | |
6797 | (umips_load_store_pair_p_1): New function. | |
6798 | (umips_load_store_pair_p): New function. | |
6799 | (umips_output_load_store_pair_1): New function. | |
6800 | (umips_output_load_store_pair): New function. | |
6801 | (umips_movep_target_p) New function. | |
6802 | (mips_prepare_pch_save): Add microMIPS support. | |
6803 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
6804 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
6805 | to use new compression flags and to support microMIPS. | |
6806 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
6807 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
6808 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
6809 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
6810 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
6811 | (M16STORE_REG_P): New macro. | |
6812 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
6813 | (MICROMIPS_J): New macro. | |
6814 | (mips_base_mips16): Rename this... | |
6815 | (mips_base_compression_flags): ...to this. | |
6816 | (UMIPS_12BIT_OFFSET_P): New macro. | |
6817 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
6818 | (MULTILIB_DIRNAMES): Likewise. | |
6819 | ||
6de7acd5 | 6820 | 2013-02-25 Tom de Vries <tom@codesourcery.com> |
6821 | ||
6822 | PR rtl-optimization/56131 | |
6823 | * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment. | |
6824 | * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and | |
6825 | NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL. | |
6826 | ||
2d0b2b60 | 6827 | 2013-02-25 Tobias Burnus <burnus@net-b.de> |
6828 | ||
6829 | * doc/invoke.texi (-fsanitize=): Move from optimization | |
6830 | to debugging options. | |
6831 | ||
f22426d2 | 6832 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
6833 | ||
6834 | * sched-deps.c (sched_analyze_insn): Fix typo in comment. | |
6835 | ||
e965825b | 6836 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
6837 | Alexander Monakov <amonakov@ispras.ru> | |
6838 | ||
6839 | PR middle-end/56077 | |
6840 | * sched-deps.c (sched_analyze_insn): When reg_pending_barrier, | |
6841 | flush pending lists also on non-jumps. Adjust comment. | |
6842 | ||
7fd93f9c | 6843 | 2013-02-24 Catherine Moore <clm@codesourcery.com> |
6844 | Maciej W. Rozycki <macro@codesourcery.com> | |
6845 | Tom de Vries <tom@codesourcery.com> | |
31c66114 | 6846 | Nathan Sidwell <nathan@codesourcery.com> |
7fd93f9c | 6847 | Iain Sandoe <iain@codesourcery.com> |
6848 | Nathan Froyd <froydnj@codesourcery.com> | |
31c66114 | 6849 | Chao-ying Fu <fu@mips.com> |
7fd93f9c | 6850 | |
6851 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
862c63eb | 6852 | Document new function attributes. |
7fd93f9c | 6853 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
6854 | m14k, m14ke, m14kec): Document new options. | |
6855 | (minterlink-mips16): Update documentation. | |
6856 | * doc/md.texi (ZC, ZD): Document new constraints. | |
6857 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
6858 | supports the .set micromips directive. | |
6859 | * configure: Regenerate. | |
6860 | * config.in: Regenerate. | |
6861 | * config/mips/mips-tables.opt: Regenerate. | |
6862 | * config/mips/micromips.md: New file. | |
6863 | * constraints.md (ZC, AD): New constraints. | |
6864 | * config/mips/predicates.md (movep_src_register): New predicate. | |
6865 | (movep_src_operand): New predicate. | |
6866 | (non_volatile_mem_operand): New predicate. | |
6867 | * config/mips/mips.md (multimem): New type. | |
6868 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
6869 | (MOVEP1, MOVEP2): New mode iterator. | |
2d0b2b60 | 6870 | (mov_<load>l): Use ZC constraint. |
7fd93f9c | 6871 | (mov_<load>r): Likewise. |
6872 | (mov_<store>l): Likewise. | |
6873 | (mov_<store>r): Likewise. | |
6874 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
6875 | (*branch_equality<mode>): Likewise. | |
6876 | (*jump_absolute): Likewise. | |
6877 | (indirect_jump_<mode>): Likewise. | |
6878 | (tablejump_<mode>): Likewise. | |
6879 | (<optab>_internal): Likewise. | |
6880 | (sibcall_internal): Likewise. | |
6881 | (sibcall_value_internal): Likewise. | |
6882 | (prefetch): Use constraint ZD. | |
6883 | * config/mips/mips.opt (minterlink-compressed): New option. | |
6884 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
6885 | (mmicromips): New option. | |
6886 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
6887 | (compare_and_swap_12): Likewise. | |
6888 | (sync_add<mode>): Likewise. | |
6889 | (sync_<optab>_12): Likewise. | |
6890 | (sync_old_<optab>_12): Likewise. | |
6891 | (sync_new_<optab>_12): Likewise. | |
6892 | (sync_nand_12): Likewise. | |
6893 | (sync_old_nand_12): Likewise. | |
6894 | (sync_new_nand_12): Likewise. | |
6895 | (sync_sub<mode>): Likewise. | |
6896 | (sync_old_add<mode>): Likewise. | |
6897 | (sync_old_sub<mode>): Likewise. | |
6898 | (sync_new_add<mode>): Likewise. | |
6899 | (sync_new_sub<mode>): Likewise. | |
6900 | (sync_<optab><mode>): Likewise. | |
6901 | (sync_old_<optab><mode>): Likewise. | |
6902 | (sync_new_<optab><mode>): Likewise. | |
6903 | (sync_nand<mode>): Likewise. | |
6904 | (sync_old_nand<mode>): Likewise. | |
6905 | (sync_new_nand<mode>): Likewise. | |
6906 | (sync_lock_test_and_set<mode>): Likewise. | |
6907 | (test_and_set_12): Likewise. | |
6908 | (atomic_compare_and_swap<mode>): Likewise. | |
6909 | (atomic_exchange<mode>_llsc): Likewise. | |
6910 | (atomic_fetch_add<mode>_llsc): Likewise. | |
6911 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
6912 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
6913 | (umips_save_restore_pattern_p): Likewise. | |
6914 | (umips_load_store_pair_p): Likewise. | |
6915 | (umips_output_load_store_pair): Likewise. | |
6916 | (umips_movep_target_p): Likewise. | |
6917 | (umips_12bit_offset_address_p): Likewise. | |
6918 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
6919 | (mips_base_mips16): Rename this... | |
6920 | (mips_base_compression_flags): ...to this. Update all uses. | |
6921 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
6922 | (mips_mips16_decl_p): Delete. | |
6923 | (mips_nomips16_decl_p): Delete. | |
2d0b2b60 | 6924 | (mips_get_compress_on_flags): New function. |
7fd93f9c | 6925 | (mips_get_compress_off_flags): New function. |
6926 | (mips_get_compress_mode): New function. | |
6927 | (mips_get_compress_on_name): New function. | |
6928 | (mips_get_compress_off_name): New function. | |
6929 | (mips_insert_attributes): Support multiple compression types. | |
6930 | (mips_merge_decl_attributes): Likewise. | |
6931 | (umips_12bit_offset_address_p): New function. | |
6932 | (mips_start_function_definition): Emit .set micromips directive. | |
6933 | (mips_call_may_need_jalx_p): New function. | |
6934 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
6935 | (mips_print_operand_punctuation): Support short delay slots and | |
6936 | compact jumps. | |
6937 | (umips_swm_mask, umips_swm_encoding): New. | |
6938 | (umips_build_save_restore): New function. | |
6939 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
6940 | (was_mips16_p): Remove. | |
6941 | (old_compression_mode): New. | |
6942 | (mips_set_compression_mode): New function. | |
6943 | (mips_set_current_function): Add microMIPS support. | |
6944 | (mips_option_override): Likewise. | |
6945 | (umips_save_restore_pattern_p): New function. | |
6946 | (umips_output_save_restore): New function. | |
6947 | (umips_load_store_pair_p_1): New function. | |
6948 | (umips_load_store_pair_p): New function. | |
6949 | (umips_output_load_store_pair_1): New function. | |
6950 | (umips_output_load_store_pair): New function. | |
6951 | (umips_movep_target_p) New function. | |
6952 | (mips_prepare_pch_save): Add microMIPS support. | |
6953 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
6954 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
6955 | to use new compression flags and to support microMIPS. | |
6956 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
6957 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
6958 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
6959 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
6960 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
6961 | (M16STORE_REG_P): New macro. | |
6962 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
6963 | (MICROMIPS_J): New macro. | |
6964 | (mips_base_mips16): Rename this... | |
6965 | (mips_base_compression_flags): ...to this. | |
6966 | (UMIPS_12BIT_OFFSET_P): New macro. | |
6967 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
6968 | (MULTILIB_DIRNAMES): Likewise. | |
6969 | ||
9a9a97e2 | 6970 | 2013-02-24 Jakub Jelinek <jakub@redhat.com> |
6971 | ||
6972 | PR target/52555 | |
6973 | * target-globals.c (save_target_globals): For init_reg_sets and | |
6974 | target_reinit remporarily set this_fn_optabs to this_target_optabs. | |
6975 | ||
752358b2 | 6976 | 2013-02-22 James Grennahlgh <james.greenhalgh@arm.com> |
6977 | ||
6978 | * config/aarch64/aarch64-simd-builtins.def: Add copyright header. | |
6979 | * config/aarch64/t-aarch64 | |
6980 | (aarch64-builtins.o): Depend on aarch64-simd-builtins.def. | |
6981 | ||
8c3a9b39 | 6982 | 2013-02-22 Vladimir Makarov <vmakarov@redhat.com> |
6983 | ||
6984 | PR inline-asm/56148 | |
6985 | * lra-constraints.c (process_alt_operands): Reload operand | |
6986 | conflicting with earlier clobber only if no more other conflicting | |
6987 | operands. | |
6988 | ||
a16e0d2d | 6989 | 2013-02-22 Jakub Jelinek <jakub@redhat.com> |
6990 | ||
6991 | PR sanitizer/56393 | |
6992 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o | |
6993 | if not linking a shared library. | |
6994 | ||
0e0256f2 | 6995 | 2013-02-22 Seth LaForge <sethml@google.com> |
6996 | ||
6997 | * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian. | |
6998 | ||
6aa689e8 | 6999 | 2013-02-22 Greta Yorsh <Greta.Yorsh@arm.com> |
7000 | ||
2d0b2b60 | 7001 | * config/arm/arm.md (split for extendsidi): Update condition. |
7002 | (zero_extend<mode>di2,extend<mode>di2): Add an alternative. | |
7003 | * config/arm/iterators.md (qhs_extenddi_cstr): Likewise. | |
7004 | (qhs_zextenddi_cstr): Likewise. | |
6aa689e8 | 7005 | |
4d5cf08a | 7006 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
7007 | ||
af0907da | 7008 | PR middle-end/56420 |
7009 | * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to | |
7010 | avoid signed wrapping. | |
7011 | (expand_mult): Handle properly multiplication by | |
7012 | ((dword_type) -1) << (BITS_PER_WORD - 1). Improve multiplication by | |
7013 | ((dword_type) 1) << (BITS_PER_WORD - 1). Avoid undefined behavior | |
7014 | in the compiler if coeff is HOST_WIDE_INT_MIN. | |
7015 | (expand_divmod): Don't make ext_op1 static, change it's type to | |
7016 | uhwi. Avoid undefined behavior in -INTVAL (op1). | |
7017 | ||
4d5cf08a | 7018 | PR rtl-optimization/50339 |
7019 | * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt | |
7020 | field. | |
7021 | * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT. | |
7022 | (compute_costs): Call compute_splitting_shift also for ASHIFTRT | |
7023 | into splitting_ashiftrt field. | |
7024 | (find_decomposable_shift_zext, resolve_shift_zext): Handle also | |
7025 | ASHIFTRT. | |
7026 | (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT | |
7027 | choices. | |
7028 | ||
ded1a556 | 7029 | 2013-02-20 Aldy Hernandez <aldyh@redhat.com> |
7030 | ||
7031 | PR middle-end/56108 | |
7032 | * trans-mem.c (execute_tm_mark): Do not expand transactions that | |
7033 | are sure to go irrevocable. | |
7034 | ||
16a3d053 | 7035 | 2013-02-21 Hans-Peter Nilsson <hp@axis.com> |
7036 | ||
7037 | * doc/rtl.texi (vec_concat, vec_duplicate): Mention that | |
7038 | scalars are valid operands. | |
7039 | ||
9bd3a517 | 7040 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
7041 | ||
7042 | PR tree-optimization/56310 | |
7043 | * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy | |
7044 | only matching indices and non-negative final offsets. | |
7045 | (intersect_aggregates_with_edge): Pass src_idx to | |
7046 | agg_replacements_to_vector. Pass src_idx insstead of index to | |
7047 | intersect_with_agg_replacements. | |
7048 | ||
cfb368a3 | 7049 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
7050 | ||
7051 | * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold | |
7052 | instead of hard-wired defaults. | |
7053 | ||
c856a95f | 7054 | 2013-02-21 Maciej W. Rozycki <macro@codesourcery.com> |
7055 | ||
7056 | * doc/invoke.texi (MIPS Options): Update documentation of the | |
7057 | floating-point multiply-accumulate instruction restrictions. | |
7058 | ||
9dff5bbc | 7059 | 2013-02-21 Kostya Serebryany <kcc@google.com> |
5a59af67 | 7060 | |
7061 | * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as | |
7062 | asan_shadow_offset on x86_64 linux. | |
7063 | ||
7662ff7e | 7064 | 2013-02-21 Richard Biener <rguenther@suse.de> |
7065 | ||
7066 | PR tree-optimization/56415 | |
7067 | Revert | |
7068 | 2013-02-11 Richard Biener <rguenther@suse.de> | |
7069 | ||
7070 | PR tree-optimization/56273 | |
7071 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
7072 | first VRP run. | |
7073 | ||
28a9e8c4 | 7074 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
7075 | ||
551e6483 | 7076 | PR bootstrap/56258 |
7077 | * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item | |
7078 | instead of @itemx. | |
7079 | ||
28a9e8c4 | 7080 | PR inline-asm/56405 |
7081 | * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't | |
7082 | use movmisalign or extract_bit_field for EXPAND_MEMORY modifier. | |
7083 | ||
16473e06 | 7084 | 2013-02-20 Jan Hubicka <jh@suse.cz> |
7085 | ||
7086 | PR tree-optimization/56265 | |
862c63eb | 7087 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph |
7088 | when target is referenced for first time. | |
16473e06 | 7089 | |
560965e9 | 7090 | 2013-02-20 Richard Biener <rguenther@suse.de> |
7091 | ||
7092 | * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. | |
7093 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise. | |
7094 | * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise. | |
7095 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do | |
7096 | not return anything. | |
7097 | (rename_ssa_copies): Do not remove unused locals. | |
7098 | * tree-ssa-ccp.c (do_ssa_ccp): Likewise. | |
862c63eb | 7099 | * tree-ssanames.c (pass_release_ssa_names): Remove unused locals first. |
560965e9 | 7100 | * passes.c (execute_function_todo): Do not schedule unused locals |
7101 | removal if cleanup_tree_cfg did something. | |
7102 | * tree-ssa-live.c (remove_unused_locals): Dump statistics | |
7103 | about the number of removed locals. | |
7104 | ||
2510e5cd | 7105 | 2013-02-20 Richard Biener <rguenther@suse.de> |
7106 | ||
7107 | PR tree-optimization/56398 | |
862c63eb | 7108 | * tree-vect-loop-manip.c (adjust_debug_stmts): Skip SSA default defs. |
2510e5cd | 7109 | |
170754bc | 7110 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
7111 | ||
7112 | PR tree-optimization/55334 | |
7113 | * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to | |
7114 | restricted pointers to arrays. | |
7115 | ||
285df01b | 7116 | 2013-02-20 Richard Biener <rguenther@suse.de> |
862c63eb | 7117 | Jakub Jelinek <jakub@redhat.com> |
285df01b | 7118 | |
7119 | PR tree-optimization/56396 | |
7120 | * tree-ssa-ccp.c (n_const_val): New static variable. | |
7121 | (get_value): Return NULL for SSA names we don't have a lattice | |
7122 | entry for. | |
7123 | (ccp_initialize): Initialize n_const_val. | |
7124 | * tree-ssa-copy.c (n_copy_of): New static variable. | |
7125 | (init_copy_prop): Initialize n_copy_of. | |
7126 | (get_value): Return NULL_TREE for SSA names we don't have a | |
7127 | lattice entry for. | |
7128 | ||
1cf0acc3 | 7129 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
7130 | ||
7131 | * ipa-cp.c (initialize_node_lattices): Fix dumping condition. | |
7132 | ||
0b588b3d | 7133 | 2013-02-20 Richard Biener <rguenther@suse.de> |
7134 | ||
7135 | * genpreds.c (write_lookup_constraint): Do not compare first | |
7136 | letter of the constraint again. | |
7137 | ||
d2ec9d3b | 7138 | 2013-02-20 Richard Biener <rguenther@suse.de> |
7139 | ||
7140 | * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits | |
7141 | and ceil_log2. | |
7142 | (get_use_iv_cost): Terminate hashtable walk when coming across | |
7143 | an empty entry. | |
7144 | ||
18daa717 | 7145 | 2013-02-20 Igor Zamyatin <igor.zamyatin@intel.com> |
7146 | ||
7147 | * config/i386/i386.c (initial_ix86_tune_features): Turn on fp | |
7148 | reassociation for avx2 targets. | |
7149 | ||
31c66114 | 7150 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
d2ec9d3b | 7151 | |
f8a5cd80 | 7152 | * config/microblaze/microblaze.c: microblaze_has_clz = 0 |
7153 | Add version check for v8.10.a to enable microblaze_has_clz | |
862c63eb | 7154 | * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined |
f8a5cd80 | 7155 | version and TARGET_PATTERN_COMPARE check |
7156 | * config/microblaze/microblaze.md: New clzsi2 instruction | |
2d0b2b60 | 7157 | |
31c66114 | 7158 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
dd21a8f3 | 7159 | |
31c66114 | 7160 | * config/microblaze/microblaze.md (call_value_intern): Check symbol is |
dd21a8f3 | 7161 | function before branching. |
7162 | ||
09a6d85b | 7163 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
7164 | ||
7165 | * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set | |
7166 | DUMP_INSN_RTX_UID. | |
7167 | (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim. | |
7168 | ||
3e1f1f1a | 7169 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
7170 | ||
7171 | PR middle-end/55889 | |
3e1f1f1a | 7172 | * sel-sched.c: Include ira.h. |
7173 | (implicit_clobber_conflict_p): New function. | |
7174 | (moveup_expr): Use it. | |
862c63eb | 7175 | * Makefile.in (sel-sched.o): Depend on ira.h. |
3e1f1f1a | 7176 | |
82a7a70c | 7177 | 2013-02-19 Richard Biener <rguenther@suse.de> |
7178 | ||
7179 | PR tree-optimization/56384 | |
7180 | * tree-ssa-sccvn.h (struct vn_phi_s): Add type member. | |
7181 | (vn_hash_type): Split out from ... | |
7182 | (vn_hash_constant_with_type): ... here. | |
7183 | * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type. | |
7184 | (vn_phi_eq): Compare types from vn_phi_s structure. | |
7185 | (vn_phi_lookup): Populate vn_phi_s type. | |
7186 | (vn_phi_insert): Likewise. | |
7187 | ||
15c27dda | 7188 | 2013-02-19 Jakub Jelinek <jakub@redhat.com> |
7189 | ||
a82fc9c6 | 7190 | PR tree-optimization/56350 |
7191 | * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false | |
7192 | if haven't found reduction or nested cycle operand, rather than | |
7193 | asserting we must find it. | |
7194 | ||
15c27dda | 7195 | PR tree-optimization/56381 |
7196 | * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument | |
7197 | to fold_build3. | |
7198 | ||
7199 | 2013-02-18 Aldy Hernandez <aldyh@redhat.com> | |
08c7d04b | 7200 | Jakub Jelinek <jakub@redhat.com> |
7201 | ||
7202 | PR target/52555 | |
7203 | * genopinit.c (raw_optab_handler): Use this_fn_optabs. | |
7204 | (swap_optab_enable): Same. | |
7205 | (init_all_optabs): Use argument instead of global. | |
862c63eb | 7206 | * tree.h (struct tree_optimization_option): New field target_optabs. |
08c7d04b | 7207 | * expr.h (init_all_optabs): Add argument to prototype. |
7208 | (TREE_OPTIMIZATION_OPTABS): New. | |
7209 | (save_optabs_if_changed): Protoize. | |
7210 | * optabs.h: Declare this_fn_optabs. | |
7211 | * optabs.c (save_optabs_if_changed): New. | |
7212 | Declare this_fn_optabs. | |
7213 | (init_optabs): Add argument to init_all_optabs() call. | |
7214 | * function.c (invoke_set_current_function_hook): Handle per | |
7215 | function optabs. | |
7216 | * function.h (struct function): New field optabs. | |
7217 | * config/mips/mips.c (mips_set_mips16_mode): Handle when | |
7218 | optimization_current_node has changed. | |
7219 | * target-globals.h (save_target_globals_default_opts): Protoize. | |
7220 | * target-globals.c (save_target_globals_default_opts): New. | |
7221 | ||
4883d82f | 7222 | 2013-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7223 | ||
7224 | PR target/56347 | |
7225 | * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark | |
7226 | registers %fr12 and %fr12R as call used. | |
172258a4 | 7227 | |
7228 | PR target/56214 | |
7229 | * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode | |
862c63eb | 7230 | and HImode, require all displacements to be an integer multiple of |
7231 | their mode size. | |
172258a4 | 7232 | * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses, |
7233 | only allow QImode and HImode when reload is in progress and strict is | |
7234 | true. Likewise for symbolic addresses. Use base14_operand to check | |
7235 | displacements in REG+BASE addresses. | |
7236 | ||
abad9af1 | 7237 | 2013-02-18 Richard Biener <rguenther@suse.de> |
7238 | ||
7239 | PR tree-optimization/56366 | |
7240 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
7241 | handle sign-conversion of outer-loop initial induction value. | |
7242 | ||
b375c775 | 7243 | 2013-02-18 Richard Biener <rguenther@suse.de> |
7244 | ||
1450b4dd | 7245 | PR middle-end/56349 |
b375c775 | 7246 | * cfghooks.c (merge_blocks): If we merge a latch into another |
7247 | block adjust references to it. | |
7248 | * cfgloop.c (flow_loops_find): Reset latch before recomputing it. | |
7249 | (verify_loop_structure): Verify that a recorded latch is in fact | |
7250 | a latch. | |
7251 | ||
e6b37e57 | 7252 | 2013-02-18 Richard Biener <rguenther@suse.de> |
7253 | ||
7254 | PR tree-optimization/56321 | |
7255 | * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly | |
7256 | order SSA name release and virtual operand unlinking. | |
7257 | ||
71cfadef | 7258 | 2013-02-17 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
7259 | ||
7260 | * config/microblaze/microblaze.md (save_stack_block): Define. | |
7261 | (restore_stack_block): Likewise. | |
7262 | ||
f9ca9e46 | 7263 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
7264 | ||
7265 | * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1. | |
7266 | * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1. | |
7267 | * config/microblaze/microblaze.c (microblaze_option_override): | |
7268 | Bail out early for PIC modes when target does not support PIC. | |
7269 | ||
10baa3f3 | 7270 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
7271 | ||
862c63eb | 7272 | * config/microblaze/microblaze.c (microblaze_asm_trampoline_template): |
10baa3f3 | 7273 | Replace with a microblaze version. |
7274 | (microblaze_trampoline_init): Adapt for microblaze. | |
9a26e430 | 7275 | * config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for |
10baa3f3 | 7276 | microblaze. |
7277 | ||
d9dc05a1 | 7278 | 2013-02-16 Jakub Jelinek <jakub@redhat.com> |
7279 | Dodji Seketeli <dodji@redhat.com> | |
7280 | ||
7281 | PR asan/56330 | |
862c63eb | 7282 | * asan.c (get_mem_refs_of_builtin_call): White space and style cleanup. |
d9dc05a1 | 7283 | (instrument_mem_region_access): Do not forget to always put |
7284 | instrumentation of the of 'base' and 'base + len' in a "if (len != | |
7285 | 0) statement, even for cases where either 'base' or 'base + len' | |
7286 | are not instrumented -- because they have been previously | |
7287 | instrumented. Simplify the logic by putting all the statements | |
7288 | instrument 'base + len' inside a sequence, and then insert that | |
7289 | sequence right before the current insertion point. Then, to | |
7290 | instrument 'base + len', just get an iterator on that statement. | |
7291 | And do not forget to update the pointer to iterator the function | |
7292 | received as argument. | |
7293 | ||
a27d5d8c | 7294 | 2013-02-15 Vladimir Makarov <vmakarov@redhat.com> |
7295 | ||
7296 | PR rtl-optimization/56348 | |
7297 | * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos. | |
7298 | ||
69df7536 | 7299 | 2013-02-15 Steven Bosscher <steven@gcc.gnu.org> |
7300 | ||
7301 | * graph.c (start_graph_dump): Print dumpfile base as digraph label. | |
7302 | (clean_graph_dump_file): Pass base to start_graph_dump. | |
7303 | ||
36c98bd9 | 7304 | 2013-02-14 Richard Henderson <rth@redhat.com> |
7305 | ||
7306 | PR target/55941 | |
7307 | * lower-subreg.c (simple_move): Check dest mode instead of src mode. | |
7308 | ||
6975c724 | 7309 | 2013-02-14 Steven Bosscher <steven@gcc.gnu.org> |
7310 | ||
7311 | * collect2-aix.h: Define F_LOADONLY. | |
7312 | ||
ca797a74 | 7313 | 2013-02-14 Richard Biener <rguenther@suse.de> |
7314 | ||
7315 | PR lto/50494 | |
7316 | * varasm.c (output_constant_def_1): Get the decl representing | |
7317 | the constant as argument. | |
7318 | (output_constant_def): Wrap output_constant_def_1. | |
7319 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
7320 | representing the constant. | |
7321 | (build_constant_desc): Optionally re-use a decl already | |
7322 | representing the constant. | |
7323 | (tree_output_constant_def): Adjust. | |
7324 | ||
0f2b58ae | 7325 | 2013-02-14 Dodji Seketeli <dodji@redhat.com> |
7326 | ||
7327 | Fix an asan crash | |
7328 | * asan.c (instrument_builtin_call): Really put the length of the | |
7329 | second source argument into src1_len. | |
7330 | ||
e8d4d8a9 | 7331 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
7332 | ||
7333 | * asan.c (create_cond_insert_point): Add create_then_fallthru_edge | |
7334 | argument. If it is false, don't create edge from then_bb to | |
7335 | fallthru_bb. | |
7336 | (insert_if_then_before_iter): Pass true to it. | |
7337 | (build_check_stmt): Pass false to it. | |
7338 | (transform_statements): Flush hash table only on extended basic | |
7339 | block boundaries, rather than at the beginning of every bb. | |
7340 | Don't flush hash table on nonfreeing_call_p calls. | |
7341 | * tree-flow.h (nonfreeing_call_p): New prototype. | |
7342 | * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static. | |
7343 | ||
944c7922 | 7344 | 2013-02-13 David S. Miller <davem@davemloft.net> |
7345 | ||
7346 | * expmed.c (expand_shift_1): Only strip scalar integer subregs. | |
7347 | ||
f03b2d9d | 7348 | 2013-02-13 Vladimir Makarov <vmakarov@redhat.com> |
7349 | ||
7350 | PR target/56184 | |
7351 | * ira.c (max_regno_before_ira): Move from ... | |
7352 | (ira): ... here. | |
7353 | (fix_reg_equiv_init): Use max_regno_before_ira instead of | |
7354 | vec_safe_length. | |
7355 | ||
77c5abed | 7356 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
7357 | ||
7358 | * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change. | |
7359 | ||
ecfa1cec | 7360 | 2013-02-13 Richard Biener <rguenther@suse.de> |
7361 | ||
7362 | PR lto/56295 | |
7363 | * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping | |
7364 | globals in MEM_REFs. | |
7365 | ||
51f707ce | 7366 | 2013-02-13 Richard Biener <rguenther@suse.de> |
7367 | ||
7368 | * loop-init.c (loop_optimizer_init): Clear loop state when | |
7369 | re-initializing preserved loops. | |
7370 | * loop-unswitch.c (unswitch_single_loop): Return whether | |
7371 | we unswitched the loop. Do not verify loop state here. | |
862c63eb | 7372 | (unswitch_loops): When we unswitched a loop discover new loops. |
51f707ce | 7373 | |
7da89e80 | 7374 | 2013-02-13 Kostya Serebryany <kcc@google.com> |
7375 | ||
862c63eb | 7376 | * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset |
7377 | on x86_64 linux. | |
7da89e80 | 7378 | * sanitizer.def: Rename __asan_init to __asan_init_v1. |
7379 | ||
c31c80df | 7380 | 2013-02-12 Dodji Seketeli <dodji@redhat.com> |
7381 | ||
7382 | Avoid instrumenting duplicated memory access in the same basic block | |
7383 | * Makefile.in (asan.o): Add new dependency on hash-table.h | |
7384 | * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types. | |
7385 | (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table) | |
7386 | (has_stmt_been_instrumented_p, empty_mem_ref_hash_table) | |
7387 | (free_mem_ref_resources, has_mem_ref_been_instrumented) | |
7388 | (has_stmt_been_instrumented_p, update_mem_ref_hash_table) | |
7389 | (get_mem_ref_of_assignment): New functions. | |
7390 | (get_mem_refs_of_builtin_call): Extract from | |
7391 | instrument_builtin_call and tweak a little bit to make it fit with | |
7392 | the new signature. | |
7393 | (instrument_builtin_call): Use the new | |
7394 | get_mem_refs_of_builtin_call. Use gimple_call_builtin_p instead | |
7395 | of is_gimple_builtin_call. | |
7396 | (instrument_derefs, instrument_mem_region_access): Insert the | |
7397 | instrumented memory reference into the hash table. | |
7398 | (maybe_instrument_assignment): Renamed instrument_assignment into | |
7399 | this, and change it to advance the iterator when instrumentation | |
7400 | actually happened and return true in that case. This makes it | |
7401 | homogeneous with maybe_instrument_assignment, and thus give a | |
7402 | chance to callers to be more 'regular'. | |
7403 | (transform_statements): Clear the memory reference hash table | |
7404 | whenever we enter a new BB, when we cross a function call, or when | |
7405 | we are done transforming statements. Use | |
7406 | maybe_instrument_assignment instead of instrumentation. No more | |
7407 | need to special case maybe_instrument_assignment and advance the | |
7408 | iterator after calling it; it's now handled just like | |
7409 | maybe_instrument_call. Update comment. | |
7410 | ||
319f4d7d | 7411 | 2013-02-13 Richard Biener <rguenther@suse.de> |
7412 | ||
7413 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): | |
7414 | Fix loop discovery code. | |
7415 | ||
89c2edcf | 7416 | 2013-02-12 Vladimir Makarov <vmakarov@redhat.com> |
7417 | ||
7418 | PR inline-asm/56148 | |
7419 | * lra-constraints.c (process_alt_operands): Match early clobber | |
f03b2d9d | 7420 | operand with itself. Check conflicts with earlyclobber only if |
89c2edcf | 7421 | the operand is not reloaded. Prefer to reload conflicting operand |
7422 | if earlyclobber and matching operands are the same. | |
7423 | ||
d648b2ee | 7424 | 2013-02-12 Richard Biener <rguenther@suse.de> |
7425 | ||
7426 | PR lto/56297 | |
7427 | * lto-streamer-out.c (write_symbol): Do not output symbols | |
7428 | for hard register variables. | |
7429 | ||
cfbcb7d5 | 7430 | 2013-02-12 Georg-Johann Lay <avr@gjlay.de> |
7431 | ||
7432 | PR target/54222 | |
7433 | * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders. | |
7434 | (umulsidi3_insn, mulsidi3_insn): New insns. | |
7435 | ||
31c66114 | 7436 | 2013-02-12 Christophe Lyon <christophe.lyon@linaro.org> |
7ad0a5e6 | 7437 | |
7438 | * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type. | |
7439 | (struct tune_params): Add vec_costs field. | |
7440 | * config/arm/arm.c (arm_builtin_vectorization_cost) | |
7441 | (arm_add_stmt_cost): New functions. | |
7442 | (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST) | |
7443 | (TARGET_VECTORIZE_ADD_STMT_COST): Define. | |
7444 | (arm_default_vec_cost): New struct of type cpu_vec_costs. | |
7445 | (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune) | |
7446 | (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune) | |
7447 | (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune) | |
7448 | (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field. | |
7449 | ||
972031ce | 7450 | 2013-02-12 Richard Biener <rguenther@suse.de> |
7451 | ||
7452 | PR lto/56295 | |
7453 | * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off | |
7454 | decls again if possible. | |
7455 | ||
bcef4e8e | 7456 | 2013-02-12 Richard Biener <rguenther@suse.de> |
7457 | ||
7458 | PR middle-end/56288 | |
7459 | * tree-ssa.c (verify_ssa_name): Fix check, move | |
7460 | SSA_NAME_IN_FREE_LIST check up. | |
7461 | ||
193baafd | 7462 | 2013-02-12 Jakub Jelinek <jakub@redhat.com> |
7463 | Steven Bosscher <steven@gcc.gnu.org> | |
7464 | ||
7465 | PR rtl-optimization/56151 | |
7466 | * optabs.c (add_equal_note): Don't return 0 if target is a MEM, | |
7467 | equal to op0 or op1, and last_insn pattern is CODE operation | |
7468 | with MEM dest and one of the operands matches that MEM. | |
7469 | ||
fd457cef | 7470 | 2013-02-11 Sriraman Tallam <tmsriramgoogle.com> |
7471 | ||
7472 | * doc/extend.texi: Document Function Multiversioning and "default" | |
7473 | parameter string to target attribute. | |
7474 | * config/i386/i386.c (get_builtin_code_for_version): Return 0 if | |
7475 | target attribute parameter is "default". | |
7476 | (ix86_compare_version_priority): Remove checks for target attribute. | |
7477 | (ix86_mangle_function_version_assembler_name): Change error to sorry. | |
7478 | Remove check for target attribute equal to NULL. Add assert. | |
7479 | (ix86_generate_version_dispatcher_body): Change error to sorry. | |
7480 | ||
48b8e70a | 7481 | 2013-02-11 Iain Sandoe <iain@codesourcery.com> |
7482 | Jack Howarth <howarth@bromo.med.uc.edu> | |
7483 | Patrick Marlier <patrick.marlier@gmail.com> | |
7484 | ||
7485 | PR libitm/55693 | |
7486 | * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and | |
7487 | define ENDFILE_SPEC as TM_DESTRUCTOR. | |
7488 | * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR. | |
7489 | ||
31c66114 | 7490 | 2013-02-11 Alexander Potapenko <glider@google.com> |
ed161dab | 7491 | Jack Howarth <howarth@bromo.med.uc.edu> |
7492 | Jakub Jelinek <jakub@redhat.com> | |
7493 | ||
7494 | PR sanitizer/55617 | |
7495 | * config/darwin.c (cdtor_record): Rename ctor_record. | |
7496 | (sort_cdtor_records): Rename sort_ctor_records. | |
7497 | (finalize_dtors): New routine to sort destructors by | |
7498 | priority before use in assemble_integer. | |
7499 | (machopic_asm_out_destructor): Use finalize_dtors if needed. | |
7500 | ||
ffc1977a | 7501 | 2013-02-11 Uros Bizjak <ubizjak@gmail.com> |
7502 | ||
7503 | PR rtl-optimization/56275 | |
7504 | * simplify-rtx.c (avoid_constant_pool_reference): Check that | |
7505 | offset is non-negative and less than cmode size before | |
7506 | calling simplify_subreg. | |
7507 | ||
b6f3c6f1 | 7508 | 2013-02-11 Richard Biener <rguenther@suse.de> |
7509 | ||
7510 | PR tree-optimization/56264 | |
7511 | * cfgloop.h (fix_loop_structure): Adjust prototype. | |
7512 | * loop-init.c (fix_loop_structure): Return the number of | |
7513 | newly discovered loops. | |
7514 | * tree-cfgcleanup.c (repair_loop_structures): When new loops | |
7515 | are discovered, do a full loop-closed SSA rewrite. | |
7516 | ||
4d739378 | 7517 | 2013-02-11 Richard Biener <rguenther@suse.de> |
7518 | ||
7519 | PR tree-optimization/56273 | |
7520 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
7521 | first VRP run. | |
7522 | (check_array_ref): Fix missing newline in dumps. | |
7523 | (search_for_addr_array): Likewise. | |
7524 | ||
31a1ce3e | 7525 | 2013-02-09 David Edelsohn <dje.gcc@gmail.com> |
7526 | ||
7527 | * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine. | |
7528 | ||
18163dd8 | 7529 | 2013-02-09 Jakub Jelinek <jakub@redhat.com> |
7530 | ||
7531 | PR target/56256 | |
7532 | * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define. | |
7533 | ||
4aa54340 | 7534 | 2013-02-08 Vladimir Makarov <vmakarov@redhat.com> |
7535 | ||
7536 | PR rtl-optimization/56246 | |
31a1ce3e | 7537 | * lra-constraints.c (simplify_operand_subreg): Try to reuse |
4aa54340 | 7538 | reload pseudo. |
7539 | * lra.c (lra): Clear lra_optional_reload_pseudos only when all | |
7540 | constraints are satisfied. | |
7541 | ||
ea239197 | 7542 | 2013-02-08 Jeff Law <law@redhat.com> |
7543 | ||
7544 | PR debug/53948 | |
7545 | * emit-rtl.c (reg_is_parm_p): New function. | |
7546 | * regs.h (reg_is_parm_p): New prototype. | |
7547 | * ira-conflicts.c (ira_build_conflicts): Allow parameters in | |
7548 | callee-clobbered registers. | |
7549 | ||
b85af273 | 7550 | 2013-02-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
7551 | ||
7552 | PR target/56043 | |
7553 | * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass): | |
7554 | If there is no implicit builtin declaration, just return NULL. | |
7555 | ||
21a6219e | 7556 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
7557 | ||
7558 | * config/i386/sse.md (FMAMODEM): New mode iterator. | |
7559 | (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM | |
7560 | mode iterator. Do not use TARGET_SSE_MATH in insn constraint. | |
7561 | ||
a3c139e5 | 7562 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
e975e345 | 7563 | |
a3c139e5 | 7564 | * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only |
7565 | when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set. | |
7566 | * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto. | |
7567 | ||
7568 | 2013-02-08 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
7569 | ||
7570 | * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT. | |
7571 | (microblaze*-*-elf): Likewise. | |
7572 | * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to | |
7573 | LINK_SPEC. | |
7574 | * config/microblaze/microblaze-c.c: Add builtin defines for | |
7575 | _LITTLE_ENDIAN and _BIG_ENDIAN. | |
7576 | * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and | |
7577 | add to TARGET_DEFAULT flags. | |
e975e345 | 7578 | Expand ASM_SPEC and LINK_SPEC. |
a3c139e5 | 7579 | Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN. |
7580 | * config/microblaze/microblaze.md: Update extendsidi2 and | |
7581 | movdi_internal instructions to use low-order / high-order reg | |
7582 | print_operands. | |
7583 | * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian | |
7584 | options and inversemask / mask of LITTLE_ENDIAN. | |
7585 | * config/microblaze/t-microblaze: Expand multilib options to | |
7586 | include mlittle-endian (le) and update exceptions patterns. | |
7587 | ||
1a8b7013 | 7588 | 2013-02-08 Jakub Jelinek <jakub@redhat.com> |
7589 | ||
5ef30aea | 7590 | PR rtl-optimization/56195 |
7591 | * lra-constraints.c (get_reload_reg): Don't reuse regs | |
7592 | if they have smaller mode than requested, if they have | |
7593 | wider mode than requested, try to return a SUBREG. | |
7594 | ||
1a8b7013 | 7595 | PR tree-optimization/56250 |
7596 | * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize | |
7597 | if type is unsigned and code isn't MULT_EXPR. | |
7598 | ||
992b7387 | 7599 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
7600 | ||
7601 | PR tree-optimization/56064 | |
7602 | * fixed-value.c (fixed_from_double_int): Sign/zero extend payload | |
7603 | bits according to mode. | |
7604 | * fixed-value.h (fixed_from_double_int) | |
7605 | (const_fixed_from_double_int): Adjust comments. | |
7606 | ||
ab3c0986 | 7607 | 2013-02-08 Richard Biener <rguenther@suse.de> |
7608 | ||
7609 | PR lto/56231 | |
7610 | * lto-streamer.h (struct data_in): Remove current_file, current_line | |
7611 | and current_col members. | |
7612 | * lto-streamer-out.c (lto_output_location): Stream changed bits | |
7613 | en-block for efficiency. | |
7614 | * lto-streamer-in.c (clear_line_info): Remove. | |
7615 | (lto_input_location): Cache current file, line and column | |
7616 | globally via local statics. Read changed bits en-block. | |
7617 | (input_function): Do not call clear_line_info. | |
7618 | (lto_read_body): Likewise. | |
7619 | (lto_input_toplevel_asms): Likewise. | |
7620 | ||
42540642 | 7621 | 2013-02-08 Michael Matz <matz@suse.de> |
7622 | ||
7623 | PR tree-optimization/52448 | |
7624 | * tree-ssa-phiopt.c (struct name_to_bb): Add phase member. | |
7625 | (nt_call_phase): New static. | |
7626 | (add_or_mark_expr): Only mark accesses with newer phase than any | |
7627 | call seen. | |
7628 | (nonfreeing_call_p): New. | |
7629 | (nt_init_block): Update nt_call_phase, mark blocks as visited. | |
7630 | (nt_fini_block): Keep blocks marked as visited. | |
7631 | (get_non_trapping): Initialize nt_call_phase, and reset aux pointer. | |
7632 | ||
1a8dfee2 | 7633 | 2013-02-08 Richard Biener <rguenther@suse.de> |
7634 | ||
7635 | * ira.c (ira): Free broken dominator information. | |
7636 | ||
eaa0ee9f | 7637 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
7638 | ||
7639 | * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro. | |
7640 | ||
14a0d8d7 | 7641 | 2013-02-08 Marek Polacek <polacek@redhat.com> |
7642 | ||
eaa0ee9f | 7643 | * cfgloop.c (verify_loop_structure): Add more checking of headers. |
14a0d8d7 | 7644 | |
ff829efa | 7645 | 2013-02-08 Richard Biener <rguenther@suse.de> |
7646 | ||
7647 | PR middle-end/56181 | |
7648 | * cfgloop.h (flow_loops_find): Adjust. | |
7649 | (bb_loop_header_p): Declare. | |
7650 | * cfgloop.c (bb_loop_header_p): New function split out from ... | |
7651 | (flow_loops_find): ... here. Adjust function signature, | |
7652 | support incremental loop structure update. | |
7653 | (verify_loop_structure): Cleanup. Verify a loop is a loop. | |
7654 | * cfgloopmanip.c (fix_loop_structure): Move ... | |
7655 | * loop-init.c (fix_loop_structure): ... here. | |
7656 | (apply_loop_flags): Split out from ... | |
7657 | (loop_optimizer_init): ... here. | |
7658 | (fix_loop_structure): Use apply_loop_flags. Use flow_loops_find | |
7659 | in incremental mode, only remove dead loops here. | |
7660 | ||
eafea251 | 7661 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
7662 | ||
7663 | PR target/54222 | |
7664 | * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add. | |
7665 | * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators. | |
7666 | (round<mode>3, round<mode>3_const): New expanders for fixed-mode. | |
7667 | (*round<mode>3.libgcc): New insns for fixed-modes. | |
7668 | * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME. | |
7669 | (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs. | |
7670 | (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs. | |
7671 | * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline | |
7672 | implementations. Define to __builtin_avr_absFX, | |
7673 | __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively. | |
7674 | (roundFX, countlsFX): Define to __builtin_avr_roundFX, | |
7675 | __builtin_avr_countlsFX, respectively. | |
7676 | * config/avr/avr-c.c (target.h): Include it. | |
7677 | (enum avr_builtin_id): New enum. | |
7678 | (avr_resolve_overloaded_builtin): New static function. | |
7679 | (avr_register_target_pragmas): Use it to set | |
7680 | targetm.resolve_overloaded_builtin. | |
7681 | * config/avr/avr.c (avr_init_builtins): Supply myriads of local | |
7682 | tree nodes used by DEF_BUILTIN. | |
7683 | (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them. | |
7684 | (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR. | |
7685 | <AVR_BUILTIN_xxBITS>: Same. | |
7686 | ||
1032e48d | 7687 | 2013-02-08 Richard Biener <rguenther@suse.de> |
7688 | ||
7689 | * cfgloop.c (verify_loop_structure): Properly handle | |
7690 | a loop exiting to another loop header. | |
7691 | * ira-int.h (ira_loops): Remove. | |
7692 | * ira.c (ira_loops): Remove. | |
7693 | (ira): Use loop_optimizer_init and loop_optimizer_finalize. | |
7694 | (do_reload): Use loop_optimizer_finalize. | |
7695 | * ira-build.c (create_loop_tree_nodes): Use get_loops and | |
7696 | number_of_loops to access the loop tree. | |
7697 | (more_one_region_p): Likewise. | |
7698 | (finish_loop_tree_nodes): Likewise. | |
7699 | (rebuild_regno_allocno_maps): Likewise. | |
7700 | (mark_loops_for_removal): Likewise. | |
7701 | (mark_all_loops_for_removal): Likewise. | |
7702 | (remove_unnecessary_regions): Likewise. | |
7703 | (ira_build): Likewise. | |
7704 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
7705 | ||
8ff30f9a | 7706 | 2013-02-08 Richard Biener <rguenther@suse.de> |
7707 | ||
7708 | * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency. | |
7709 | * ipa-pure-const.c (analyze_function): Avoid calling | |
7710 | mark_irreducible_loops twice. | |
eaa0ee9f | 7711 | * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup. |
8ff30f9a | 7712 | |
690bfd6a | 7713 | 2013-02-07 David S. Miller <davem@davemloft.net> |
7714 | ||
7715 | * dwarf2out.c (based_loc_descr): Perform leaf register remapping | |
7716 | on 'reg'. | |
7717 | * var-tracking.c (vt_add_function_parameter): Test the presence of | |
7718 | HAVE_window_save properly and do not remap argument registers when | |
7719 | we have a leaf function. | |
7720 | ||
7a87c8e1 | 7721 | 2013-02-07 Uros Bizjak <ubizjak@gmail.com> |
7722 | ||
7723 | PR bootstrap/56227 | |
7724 | * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT | |
7725 | instead of "ll". | |
7726 | * config/i386/i386.c (ix86_print_operand): Ditto. | |
7727 | ||
92dfb77d | 7728 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
7729 | ||
7a87c8e1 | 7730 | * lra-constraints.c (process_alt_operands): Fix recently added comment. |
92dfb77d | 7731 | |
2e620dc7 | 7732 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
7733 | ||
7734 | PR rtl-optimization/56225 | |
7735 | * lra-constraints.c (process_alt_operands): Check that reload hard | |
7736 | reg can hold value for strict_low_part. | |
7737 | ||
67a34241 | 7738 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
7739 | ||
7740 | PR debug/56154 | |
7741 | * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to | |
7742 | dwarf2out_end_function. | |
7743 | (in_first_function_p, maybe_at_text_label_p, | |
7744 | first_loclabel_num_not_at_text_label): New variables. | |
7745 | (dwarf2out_var_location): In the first function find out | |
7a87c8e1 | 7746 | lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0. |
67a34241 | 7747 | (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New |
7748 | functions. | |
7749 | ||
a24ec999 | 7750 | 2013-02-07 Eric Botcazou <ebotcazou@adacore.com> |
7751 | ||
7752 | PR rtl-optimization/56178 | |
7753 | * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a | |
7754 | SUBREG of a register. Tidy up related block of code. | |
7755 | * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL | |
7756 | note if the source is a register or a SUBREG of a register. | |
7757 | ||
bef70214 | 7758 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
7759 | ||
7760 | PR target/56228 | |
7761 | * config/rs6000/rs6000.md (ptrm): New mode attr. | |
7762 | (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11, | |
7763 | call_value_indirect_aix<pttrsize>, | |
7764 | call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of | |
7765 | m in constraints. | |
7766 | ||
f30f08a4 | 7767 | 2013-02-07 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
7768 | ||
7769 | * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable | |
7770 | if -bnortl. Convert to strcmp and strncmp. | |
7771 | ||
9c74eaeb | 7772 | 2013-02-07 Alan Modra <amodra@gmail.com> |
7773 | ||
7774 | PR target/54009 | |
7775 | * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM | |
7776 | addresses won't wrap when offsetting. | |
7777 | (rs6000_secondary_reload): Provide secondary reloads needed for | |
7778 | wrapping LO_SUM addresses. | |
7779 | ||
e7306dad | 7780 | 2013-02-06 Thomas Schwinge <thomas@codesourcery.com> |
7781 | ||
7782 | * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define | |
7783 | MACH, just __MACH__. | |
7784 | ||
caa1ac55 | 7785 | 2013-02-06 Richard Biener <rguenther@suse.de> |
7786 | ||
7787 | * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP | |
7788 | instead of calling fix_loop_structure. | |
7789 | ||
b8214689 | 7790 | 2013-02-06 Jakub Jelinek <jakub@redhat.com> |
7791 | ||
7792 | PR middle-end/56217 | |
7793 | * omp-low.c (use_pointer_for_field): Return false if | |
7794 | lower_send_shared_vars doesn't generate any copy-out code. | |
7795 | ||
fb848efb | 7796 | 2013-02-06 Tom de Vries <tom@codesourcery.com> |
7797 | ||
7798 | PR rtl-optimization/56131 | |
7799 | * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN | |
7800 | to get the bb of a NOTE_INSN_BASIC_BLOCK. Handle the case that the bb | |
7801 | of the label is NULL. Add comment. | |
7802 | ||
2a111350 | 7803 | 2013-02-05 Jakub Jelinek <jakub@redhat.com> |
7804 | ||
4f364235 | 7805 | * tree.h (struct tree_decl_with_vis): Remove thread_local field. |
7806 | ||
5f13745b | 7807 | PR sanitizer/55374 |
7808 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define. | |
7809 | (STATIC_LIBTSAN_LIBS): Likewise. | |
7810 | * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define. | |
7811 | (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC | |
7812 | is defined, don't add anything else beyond that. | |
7813 | (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define. | |
7814 | (LINK_COMMAND_SPEC): Use them. | |
7815 | ||
2a111350 | 7816 | PR tree-optimization/56205 |
7817 | * tree-stdarg.c (check_all_va_list_escapes): Return true if | |
7818 | there are any PHI nodes that set non-va_list_escape_vars SSA_NAME | |
7819 | and some va_list_escape_vars SSA_NAME appears in some PHI argument. | |
7820 | ||
bc17236a | 7821 | 2013-02-05 Richard Biener <rguenther@suse.de> |
7822 | ||
7823 | PR tree-optimization/53342 | |
7824 | PR tree-optimization/53185 | |
7825 | * tree-vectorizer.h (vect_check_strided_load): Remove. | |
7826 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do | |
7827 | not disallow peeling for vectorized strided loads. | |
7828 | (vect_check_strided_load): Make static and simplify. | |
7829 | (vect_analyze_data_refs): Adjust. | |
7830 | * tree-vect-stmts.c (vectorizable_load): Handle peeled loops | |
7831 | correctly when vectorizing strided loads. | |
7832 | ||
b6a9ee95 | 7833 | 2013-02-05 Richard Biener <rguenther@suse.de> |
7834 | ||
7835 | * doc/install.texi: Refer to ISL, not PPL. | |
7836 | ||
8afc926b | 7837 | 2013-02-05 Jan Hubicka <jh@suse.cz> |
7838 | ||
b9b931d9 | 7839 | PR tree-optimization/55789 |
7840 | * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1. | |
7841 | ||
7842 | 2013-02-05 Jan Hubicka <jh@suse.cz> | |
7843 | ||
7844 | PR tree-optimization/55789 | |
8afc926b | 7845 | * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove |
7846 | the dead call anyway. | |
7847 | ||
b514e580 | 7848 | 2013-02-05 Eric Botcazou <ebotcazou@adacore.com> |
7849 | ||
7850 | PR sanitizer/55374 | |
7851 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard. | |
7852 | ||
7853 | 2013-02-04 Alexander Potapenko <glider@google.com> | |
7854 | Jack Howarth <howarth@bromo.med.uc.edu> | |
4b313269 | 7855 | Jakub Jelinek <jakub@redhat.com> |
7856 | ||
7857 | PR sanitizer/55617 | |
7858 | * config/darwin.c (sort_ctor_records): Stabilized qsort | |
7859 | on constructor priority by using original position. | |
7860 | (finalize_ctors): New routine to sort constructors by | |
7861 | priority before use in assemble_integer. | |
7862 | (machopic_asm_out_constructor): Use finalize_ctors if needed. | |
7863 | ||
4475ab54 | 7864 | 2013-02-04 Jakub Jelinek <jakub@redhat.com> |
7865 | ||
7866 | PR libstdc++/54314 | |
7867 | * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn | |
7868 | about visibility on artificial decls. | |
7869 | * config/sol2.c (solaris_assemble_visibility): Likewise. | |
7870 | ||
f04dc164 | 7871 | 2013-02-04 Kai Tietz <ktietz@redhat.com> |
7872 | ||
7873 | PR target/56186 | |
7874 | * config/i386/i386.c (function_value_ms_64): Add additional valtype | |
7875 | argument and improve checking of return-argument types for 16-byte | |
7876 | modes. | |
7877 | (ix86_function_value_1): Add additional valtype argument on call | |
7878 | of function_value_64. | |
7879 | (return_in_memory_ms_64): Sync 16-byte sized mode handling with | |
7880 | handling infunction_value_64 function. | |
7881 | ||
f3567af6 | 7882 | 2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
7883 | ||
4475ab54 | 7884 | * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue. |
f3567af6 | 7885 | |
5342937d | 7886 | 2013-02-04 Richard Biener <rguenther@suse.de> |
7887 | ||
7888 | PR tree-optimization/56188 | |
7889 | * tree-ssa-structalias.c (label_visit): Consider case with | |
7890 | initially non-empty points-to set. | |
7891 | (perform_var_substitution): Dump node mapping and clean up. | |
7892 | ||
871609a8 | 7893 | 2013-02-04 Richard Guenther <rguenther@suse.de> |
7894 | ||
7895 | PR lto/56168 | |
7896 | * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin | |
7897 | node prevail as last resort. | |
7898 | (lto_symtab_merge_decls): Remove guard on LTRANS here. | |
7a87c8e1 | 7899 | (lto_symtab_prevailing_decl): Builtins are their own prevailing decl. |
871609a8 | 7900 | |
98102711 | 7901 | 2013-02-04 Richard Biener <rguenther@suse.de> |
7902 | ||
7903 | PR tree-optimization/56113 | |
7904 | * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add): | |
7905 | Merge into ... | |
7906 | (equiv_class_lookup_or_add): ... this. | |
7907 | (label_visit): Adjust and fix error in previous patch. | |
7908 | (perform_var_substitution): Adjust. | |
7909 | ||
6c049e03 | 7910 | 2013-02-03 Oleg Endo <olegendo@gcc.gnu.org> |
7911 | ||
7912 | * config/sh/divtab.c: Fix formatting and comments throughout the file. | |
7913 | * config/sh/sh4-300.md: Likewise. | |
7914 | * config/sh/sh4a.md: Likewise. | |
7915 | * config/sh/constraints.md: Likewise. | |
7916 | * config/sh/sh.md: Likewise. | |
7917 | * config/sh/netbsd-elf.h: Likewise. | |
7918 | * config/sh/predicates.md: Likewise. | |
7919 | * config/sh/sh-protos.h: Likewise. | |
7920 | * config/sh/ushmedia.h: Likewise. | |
7921 | * config/sh/linux.h: Likewise. | |
7922 | * config/sh/sh.c: Likewise. | |
7923 | * config/sh/superh.h: Likewise. | |
7924 | * config/sh/elf.h: Likewise. | |
7925 | * config/sh/sh4.md: Likewise. | |
7926 | * config/sh/sh.h: Likewise. | |
7927 | ||
e8248b41 | 7928 | 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7929 | ||
7930 | * config/pa/constraints.md: Adjust unused letters. Change "T" | |
7931 | constraint to match_test floating_point_store_memory_operand(). | |
7932 | * config/pa/predicates.md (reg_plus_base_memory_operand): New. | |
7933 | (base14_operand): New. | |
7934 | (floating_point_store_memory_operand): New. | |
7935 | (integer_store_memory_operand): Revise to use base14_operand and | |
7936 | reg_plus_base_memory_operand. | |
7937 | (move_dest_operand): Allow symbolic_memory_operands. | |
7938 | (symbolic_memory_operand): Check for LO_SOM. | |
7939 | (symbolic_operand): Change default case to break. | |
7940 | * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force | |
7941 | CONST_DOUBLE values to be reloaded by putting them into memory when | |
7942 | the destination is a floating point register. | |
7943 | (movdf): Remove code to handle CONST_DOUBLE. | |
7944 | (movsf): Likewise. | |
7945 | (reload_indf_r1): New. | |
7946 | (reload_insf_r1): New. | |
7947 | Consistently use "Q" and "T" constraints with integer and floating | |
7948 | point move instructions, respectively. | |
7949 | (movdi): Remove FAIL. | |
7950 | Change predicate for source operand unamed DImode move from | |
7951 | general_operand to move_src_operand. | |
7952 | (umulsidi3): Change predicate for destination operand to | |
7953 | register_operand. | |
7954 | Likewise for similar unamed patterns. | |
7955 | * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare. | |
7956 | * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis. | |
7957 | (hppa_legitimize_address): Simplify mask calculation. | |
7958 | (pa_emit_move_sequence): Revised handling of secondary reloads from | |
7959 | REG+D addresses for floating point loads and stores. Directly handle | |
7960 | loading CONST0_RTX (mode) to a floating point register. | |
7961 | (pa_secondary_reload): Handle reloading DF and SFmode constant values | |
7962 | to floating point registers. Don't restrict secondary reloads to | |
7963 | floating point registers to integer modes. Revise some comments and | |
7964 | cleanup some code. | |
7965 | (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
7966 | (pa_legitimate_address_p): New. | |
7967 | (pa_legitimize_reload_address): New. | |
7968 | * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New. | |
7969 | (STRICT_REG_OK_FOR_BASE_P): New. | |
7970 | (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments. | |
7971 | (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address. | |
7972 | ||
8bd7002d | 7973 | 2013-02-03 David Edelsohn <dje.gcc@gmail.com> |
7974 | Andrew Dixie <andrewd@gentrack.com> | |
7975 | ||
7976 | * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY | |
7977 | flag set. | |
7978 | ||
bd23a499 | 7979 | 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> |
7980 | ||
7981 | * expmed.c (extract_bit_field_1): Pass the full width of the | |
7982 | structure to get_best_reg_extraction_insn. | |
7983 | ||
a8af2dd5 | 7984 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
7985 | ||
7986 | PR target/54601 | |
7987 | * configure.ac (use_cxa_atexit): Add AIX. | |
7988 | * configure: Regenerate. | |
7989 | ||
7990 | * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o. | |
7991 | ||
2436e54f | 7992 | 2013-02-01 Jakub Jelinek <jakub@redhat.com> |
7993 | ||
7994 | PR debug/54793 | |
7995 | * final.c (need_profile_function): New variable. | |
7996 | (final_start_function): Drop ATTRIBUTE_UNUSED from first argument. | |
7997 | If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG | |
7998 | is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED | |
7999 | notes, targetm.asm_out.function_prologue doesn't emit anything, | |
8000 | HAVE_prologue and profiler should be emitted before prologue, | |
8001 | set need_profile_function instead of emitting it. | |
8002 | (final_scan_insn): If need_profile_function, emit | |
8003 | profile_function on the first NOTE_INSN_BASIC_BLOCK or | |
8004 | NOTE_INSN_FUNCTION_BEG note. | |
8005 | ||
8006 | 2013-02-01 Richard Henderson <rth@redhat.com> | |
5b0b7360 | 8007 | |
8008 | * config/rs6000/rs6000.md (smulditi3): New. | |
8009 | (umulditi3): New. | |
8010 | ||
67336b74 | 8011 | * config/alpha/alpha.md (umulditi3): New. |
8012 | ||
29f92520 | 8013 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
8014 | ||
8015 | * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2. | |
8016 | (ASM_OUTPUT_ALIGNED_LOCAL): New. | |
8017 | ||
c74cfdaf | 8018 | 2013-02-01 Richard Biener <rguenther@suse.de> |
8019 | ||
8020 | PR tree-optimization/56113 | |
8021 | * tree-ssa-structalias.c (label_visit): Reduce work for | |
8022 | single-predecessor nodes. | |
8023 | ||
6b40a1a5 | 8024 | 2013-02-01 Eric Botcazou <ebotcazou@adacore.com> |
8025 | ||
8026 | * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the | |
8027 | range isn't testing for zero. | |
8028 | ||
9add6570 | 8029 | 2013-01-31 Steven Bosscher <steven@gcc.gnu.org> |
8030 | ||
8031 | PR middle-end/56113 | |
8032 | * fwprop.c (fwprop_init): Set up loops without CFG modifications. | |
8033 | ||
9a5788ea | 8034 | 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com> |
8035 | Nick Clifton <nickc@redhat.com> | |
8036 | ||
8037 | * config/v850/constraints.md (Q): Define as a memory constraint. | |
8038 | * config/v850/predicates.md (label_ref_operand): New predicate. | |
8039 | (e3v5_shift_operand): New predicate. | |
8040 | (ior_operator): New predicate. | |
8041 | * config/v850/t-v850: Add e3v5 multilib. | |
8042 | * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype. | |
8043 | (v850_gen_movdi): Prototype. | |
8044 | * config/v850/v850.c: Add support for e3v5 architecture. | |
8045 | Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to | |
8046 | TARGET_V850E_UP. | |
8047 | (construct_save_jarl): Add e3v5 long JARL support. | |
8048 | (v850_adjust_insn_length): New function. Adjust length of call | |
8049 | insns when using e3v5 instructions. | |
8050 | (v850_gen_movdi): New function: Generate instructions to move a | |
8051 | DImode value. | |
8052 | * config/v850/v850.h (TARGET_CPU_v850e3v5): Define. | |
8053 | (CPP_SPEC): Define __v850e3v5__ as appropriate. | |
8054 | (TARGET_USE_FPU): Enable for e3v5. | |
8055 | (CONST_OK_FOR_W): New macro. | |
8056 | (ADJUST_INSN_LENGTH): Define. | |
8057 | * config/v850/v850.md (UNSPEC_LOOP): Define. | |
8058 | (attr cpu): Add v850e3v5. | |
8059 | Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP. | |
8060 | (movdi): New pattern. | |
8061 | (movdi_internal): New pattern. | |
8062 | (cbranchsf4): Conditionalize on TARGET_USE_FPU. | |
8063 | (cbranchdf4): Conditionalize on TARGET_USE_FPU. | |
8064 | (cstoresf4): Likewise. | |
8065 | (cstoredf4): Likewise. | |
8066 | (insv): New pattern. | |
8067 | (rotlso3_a): New pattern. | |
8068 | (rotlsi3_b): New pattern | |
8069 | (rotlsi3_v850e3v5): New pattern. | |
8070 | (doloop_begin): New pattern. | |
8071 | (fix_loop_counter): New pattern. | |
8072 | (doloop_end): New pattern. | |
8073 | (branch_normal): Add e3v5 long branch support. | |
8074 | (branch_invert): Likewise. | |
8075 | (branch_z_normal): Likewise. | |
8076 | (branch_z_invert): Likewise. | |
8077 | (branch_nz_normal): Likewise. | |
8078 | (branch_nz_invert): Likewise. | |
8079 | (call_internal_short): Add e3v5 register-indirect JARL support. | |
8080 | (call_internal_long): Likewise. | |
8081 | (call_value_internal_short): Likewise. | |
8082 | (call_value_internal_long): Likewise. | |
8083 | * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options. | |
8084 | (mloop): New option. | |
8085 | * config.gcc: Add support for configuring v840e3v5 target. | |
7a87c8e1 | 8086 | * doc/invoke.texi: Document new v850 specific command line options. |
9a5788ea | 8087 | |
7a85a361 | 8088 | 2013-01-31 Paul Koning <ni1d@arrl.net> |
8089 | ||
8090 | PR debug/55059 | |
8091 | PR debug/54508 | |
8092 | * dwarf2out.c (prune_unused_types_mark): Mark all of parent's | |
8093 | children if parent is a class. | |
8094 | (prune_unused_types_prune): Don't add DW_AT_declaration. | |
8095 | ||
a8bcfda2 | 8096 | 2013-01-31 Richard Biener <rguenther@suse.de> |
8097 | ||
8098 | PR tree-optimization/56157 | |
8099 | * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to | |
8100 | match up operand with SLP child. | |
8101 | ||
6b71bf7b | 8102 | 2013-01-31 Jason Merrill <jason@redhat.com> |
8103 | ||
ebb59397 | 8104 | PR debug/54410 |
6b71bf7b | 8105 | * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template |
8106 | parameters the first time. | |
8107 | (gen_scheduled_generic_parms_dies): Check completeness here. | |
8108 | ||
56dfa44a | 8109 | 2013-01-31 Richard Biener <rguenther@suse.de> |
8110 | ||
8111 | PR middle-end/53073 | |
8112 | * common.opt (faggressive-loop-optimizations): New flag, | |
8113 | enabled by default. | |
8114 | * doc/invoke.texi (faggressive-loop-optimizations): Document. | |
8115 | * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard | |
8116 | infer_loop_bounds_from_undefined by it. | |
8117 | ||
5789f1f8 | 8118 | 2013-01-31 Richard Biener <rguenther@suse.de> |
8119 | ||
8120 | PR tree-optimization/56150 | |
8121 | * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not | |
8122 | visit virtual operands. | |
8123 | (find_uses_to_rename_bb): Likewise. | |
8124 | ||
8125 | 2013-01-31 Richard Biener <rguenther@suse.de> | |
fad68b9f | 8126 | |
8127 | PR tree-optimization/56150 | |
8128 | * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle | |
8129 | mixed store non-store stmts. | |
8130 | ||
ae0c3984 | 8131 | 2013-01-30 Jakub Jelinek <jakub@redhat.com> |
8132 | ||
53486a83 | 8133 | PR sanitizer/55374 |
8134 | * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if | |
8135 | LIBASAN_EARLY_SPEC is defined. | |
8136 | (LIBASAN_EARLY_SPEC): Define to empty string if not already defined. | |
8137 | (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address, | |
8138 | before %o. | |
8139 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define. | |
8140 | ||
ae0c3984 | 8141 | PR c++/55742 |
8142 | * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose | |
8143 | invalid args instead of ICEing on it. | |
8144 | (ix86_valid_target_attribute_tree): Return error_mark_node if | |
8145 | ix86_valid_target_attribute_inner_p failed. | |
8146 | (ix86_valid_target_attribute_p): Return false only if | |
8147 | ix86_valid_target_attribute_tree returned error_mark_node. Allow | |
8148 | target("default") attribute. | |
8149 | (sorted_attr_string): Change argument from const char * to tree, | |
8150 | merge in all target attribute arguments rather than just one. | |
8151 | Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC | |
8152 | instead of free. Avoid using strcat. | |
8153 | (ix86_mangle_function_version_assembler_name): Mangle | |
8154 | target("default") as if no target attribute is present. Adjust | |
8155 | sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC | |
8156 | instead of xmalloc and XDELETEVEC instead of free. | |
8157 | (ix86_function_versions): Don't return true if one of the decls | |
8158 | doesn't have target attribute. If they don't and one of the decls | |
8159 | is DECL_FUNCTION_VERSIONED, report an error. Adjust | |
8160 | sorted_attr_string caller. Use XDELETEVEC instead of free. | |
8161 | (ix86_supports_function_versions): Remove. | |
8162 | (make_name): Fix up formatting. | |
8163 | (make_dispatcher_decl): Remove resolver_name and its initialization. | |
8164 | Avoid leaking memory. | |
8165 | (is_function_default_version): Return true if there is | |
8166 | target("default") attribute rather than no target attribute at all. | |
8167 | (make_resolver_func): Avoid leaking memory. | |
8168 | (ix86_generate_version_dispatcher_body): Likewise. | |
8169 | (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove. | |
8170 | * target.def (supports_function_versions): Remove. | |
8171 | * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove. | |
8172 | * doc/tm.texi: Regenerated. | |
8173 | ||
85276115 | 8174 | 2013-01-30 Vladimir Makarov <vmakarov@redhat.com> |
8175 | ||
8176 | PR rtl-optimization/56144 | |
8177 | * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo | |
8178 | for values with side effects. | |
8179 | ||
545cf51c | 8180 | 2013-01-30 Richard Biener <rguenther@suse.de> |
8181 | ||
8182 | * sparseset.h (sparseset_bit_p): Use gcc_checking_assert. | |
8183 | (sparseset_pop): Likewise. | |
8184 | * cfganal.c (compute_idf): Likewise. Increase work-stack size | |
8185 | to be able to use quick_push in the worker loop. | |
8186 | ||
022d4ccc | 8187 | 2013-01-30 Marek Polacek <polacek@redhat.com> |
8188 | ||
8189 | * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs. | |
8190 | ||
224a26c5 | 8191 | 2013-01-30 Richard Biener <rguenther@suse.de> |
8192 | ||
8193 | PR lto/56147 | |
7a87c8e1 | 8194 | * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check. |
224a26c5 | 8195 | |
52cd005d | 8196 | 2013-01-30 Georg-Johann Lay <avr@gjlay.de> |
8197 | ||
8198 | PR tree-optimization/56064 | |
8199 | * fixed-value.c (fixed_from_double_int): New function. | |
8200 | * fixed-value.h (fixed_from_double_int): New prototype. | |
8201 | (const_fixed_from_double_int): New static inline function. | |
8202 | * fold-const.c (native_interpret_fixed): New static function. | |
8203 | (native_interpret_expr) <FIXED_POINT_TYPE>: Use it. | |
8204 | (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true. | |
8205 | (native_encode_fixed): New static function. | |
8206 | (native_encode_expr) <FIXED_CST>: Use it. | |
8207 | (native_interpret_int): Move double_int worker code to... | |
8208 | * double-int.c (double_int::from_buffer): ...this new static method. | |
8209 | * double-int.h (double_int::from_buffer): Prototype it. | |
8210 | ||
dd6f8b2c | 8211 | 2013-01-30 Richard Biener <rguenther@suse.de> |
8212 | ||
8213 | * tree-ssa-structalias.c (final_solutions, final_solutions_obstack): | |
8214 | New pointer-map and obstack. | |
8215 | (init_alias_vars): Allocate pointer-map and obstack. | |
8216 | (delete_points_to_sets): Free them. | |
8217 | (find_what_var_points_to): Cache result. | |
8218 | (find_what_p_points_to): Adjust for changed interface of | |
8219 | find_what_var_points_to. | |
8220 | (compute_points_to_sets): Likewise. | |
8221 | (ipa_pta_execute): Likewise. | |
8222 | ||
a602740a | 8223 | 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8224 | ||
8225 | * configure.ac (HAVE_AS_SPARC_NOBITS): New test. | |
8226 | * configure: Regenerate. | |
8227 | * config.in: Regenerate. | |
8228 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit | |
8229 | #nobits/#progbits if supported. | |
8230 | ||
9081e4b3 | 8231 | 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org> |
8232 | ||
8233 | PR target/56121 | |
8234 | * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a, | |
8235 | bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a, | |
8236 | bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition. | |
8237 | ||
a3826176 | 8238 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
8239 | ||
6effa4dc | 8240 | * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove. |
8241 | (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all. | |
a3826176 | 8242 | |
f9e7462d | 8243 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
8244 | ||
6effa4dc | 8245 | * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL. |
8246 | * config/arm/cortex-a7.md (cortex_a7_call): Update required units. | |
f9e7462d | 8247 | |
eca9ccc8 | 8248 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
8249 | ||
6effa4dc | 8250 | * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New |
8251 | declaration. | |
8252 | * config/arm/arm.c (arm_mac_accumulator_is_result): New function. | |
8253 | * config/arm/cortex-a7.md: New bypasses using | |
8254 | arm_mac_accumulator_is_result. | |
eca9ccc8 | 8255 | |
fd923cfd | 8256 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
8257 | ||
6effa4dc | 8258 | * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation. |
fd923cfd | 8259 | (cortex_a7_neon_mla): Likewise. |
6effa4dc | 8260 | (cortex_a7_fpfmad): New reservation. |
8261 | (cortex_a7_fpmacs): Use ffmas and update required units. | |
8262 | (cortex_a7_fpmuld): Update required units and latency. | |
8263 | (cortex_a7_fpmacd): Likewise. | |
8264 | (cortex_a7_fdivs, cortex_a7_fdivd): Likewise. | |
8265 | (cortex_a7_neon). Likewise. | |
8266 | (bypass) Update participating units. | |
fd923cfd | 8267 | |
56df0c05 | 8268 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
8269 | ||
6effa4dc | 8270 | * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute. |
8271 | * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type | |
8272 | from fmac to ffma. | |
8273 | * config/arm/vfp11.md (vfp_farith): Use ffmas. | |
8274 | (vfp_fmul): Use ffmad. | |
8275 | * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas. | |
8276 | (cortex_r4_fmacd): Use ffmad. | |
8277 | * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas. | |
8278 | * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas. | |
8279 | (cortex_a9_fmacd): Use ffmad. | |
8280 | * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas. | |
8281 | (cortex_a8_vfp_macd): Use ffmad. | |
8282 | * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas. | |
8283 | (cortex_a5_fpmacd): Use ffmad. | |
8284 | * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas. | |
8285 | (cortex_a15_vfp_macd): Use ffmad. | |
8286 | * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad. | |
56df0c05 | 8287 | |
f88705ba | 8288 | 2013-01-29 Jason Merrill <jason@redhat.com> |
8289 | ||
8290 | PR libstdc++/54314 | |
8291 | * varasm.c (default_assemble_visibility): Don't warn about | |
8292 | visibility on artificial decls. | |
8293 | ||
783d1e89 | 8294 | 2013-01-29 Richard Biener <rguenther@suse.de> |
8295 | ||
8296 | PR tree-optimization/56113 | |
8297 | * tree-ssa-structalias.c (equiv_class_lookup): Also return | |
8298 | the bitmap leader. | |
8299 | (label_visit): Free duplicate bitmaps and record the leader instead. | |
8300 | (perform_var_substitution): Adjust. | |
8301 | ||
5daac166 | 8302 | 2013-01-29 Richard Biener <rguenther@suse.de> |
8303 | ||
8304 | PR tree-optimization/55270 | |
8305 | * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed | |
8306 | the CFG, schedule loops for fixup. | |
8307 | ||
f716766f | 8308 | 2013-01-29 Nick Clifton <nickc@redhat.com> |
8309 | ||
8310 | * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow | |
8311 | SP_REG. | |
8312 | ||
b433697b | 8313 | 2013-01-28 Leif Ekblad <leif@rdos.net> |
8314 | ||
8315 | * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets. | |
8316 | * config/i386/i386.h (TARGET_RDOS): New macro. | |
8317 | (DEFAULT_LARGE_SECTION_THRESHOLD): New macro. | |
8318 | * config/i386/i386.c (ix86_option_override_internal): For 64bit | |
8319 | TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1. | |
8320 | * config/i386/i386.opt (mlarge-data-threshold): Initialize to | |
8321 | DEFAULT_LARGE_SECTION_THRESHOLD. | |
8322 | * config/i386/i386.md (R14_REG, R15_REG): New constants. | |
8323 | * config/i386/rdos.h: New file. | |
8324 | * config/i386/rdos64.h: New file. | |
8325 | ||
25399338 | 8326 | 2013-01-28 Bernd Schmidt <bernds@codesourcery.com> |
8327 | ||
8328 | PR other/54814 | |
8329 | * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of | |
8330 | TEST_HARD_REG_BIT. | |
8331 | ||
12e51a1d | 8332 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
8333 | ||
8334 | PR rtl-optimization/56117 | |
8335 | * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib | |
8336 | call cselib_lookup_from_insn on the MEM before calling | |
8337 | add_insn_mem_dependence. | |
8338 | ||
688b0b5b | 8339 | 2013-01-28 Richard Biener <rguenther@suse.de> |
8340 | ||
8341 | * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK | |
8342 | to a stmt that didn't have one. | |
8343 | (copy_phis_for_bb): Likewise for PHI arguments. | |
8344 | (copy_debug_stmt): Likewise for debug stmts. | |
8345 | ||
ac7a1007 | 8346 | 2013-01-28 Richard Biener <rguenther@suse.de> |
8347 | ||
8348 | PR tree-optimization/56034 | |
7a87c8e1 | 8349 | * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION. |
ac7a1007 | 8350 | (partition_builtin_p): Adjust. |
8351 | (generate_code_for_partition): Handle PKIND_REDUCTION. Assert | |
8352 | it is the last partition. | |
8353 | (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking | |
8354 | up the vertex for the definition. | |
8355 | (classify_partition): Classify whether a partition is a | |
8356 | PKIND_REDUCTION, thus has uses outside of the loop. | |
8357 | (ldist_gen): Inherit PKIND_REDUCTION when merging partitions. | |
8358 | Merge all PKIND_REDUCTION partitions into the last partition. | |
8359 | (tree_loop_distribution): Seed partitions from reductions as well. | |
8360 | ||
04ff97ce | 8361 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
8362 | ||
0190fe95 | 8363 | PR tree-optimization/56125 |
8364 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize | |
8365 | pow(x,c) into sqrt(x) * powi(x, n/2) or | |
8366 | 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when | |
8367 | optimizing for size. | |
8368 | Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or | |
8369 | 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an | |
8370 | integer. | |
8371 | ||
04ff97ce | 8372 | PR tree-optimization/56094 |
8373 | * gimplify.c (force_gimple_operand_1): Temporarily set input_location | |
8374 | to UNKNOWN_LOCATION while gimplifying expr. | |
8375 | ||
f2897e01 | 8376 | 2013-01-27 Uros Bizjak <ubizjak@gmail.com> |
8377 | ||
8378 | PR target/56114 | |
8379 | * config/i386/i386.md (*movabs<mode>_1): Add square brackets around | |
8380 | operand 0 in movabs insn template for -masm=intel asm alternative. | |
8381 | (*movabs<mode>_2): Ditto for operand 1. | |
8382 | ||
0190fe95 | 8383 | 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com> |
c48df545 | 8384 | |
8385 | PR target/54663 | |
8386 | * config.gcc (microblaze*-linux*): Add tmake_file to allow building | |
8387 | of microblaze-c.o | |
8388 | ||
0190fe95 | 8389 | 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
98f2ac05 | 8390 | |
8391 | * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update | |
8392 | tm_file. | |
8393 | ||
0190fe95 | 8394 | 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
9fc8b0bf | 8395 | |
8396 | * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS): | |
8397 | Undef to avoid warning. | |
8398 | ||
82163b89 | 8399 | 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
8400 | ||
8401 | * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. | |
8402 | * configure: Regenerate. | |
8403 | ||
6cc085b6 | 8404 | 2013-01-25 Jakub Jelinek <jakub@redhat.com> |
8405 | ||
8406 | PR tree-optimization/56098 | |
8407 | * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr | |
8408 | for stmts with volatile ops. | |
8409 | (cond_store_replacement): Don't optimize if assign has volatile ops. | |
8410 | (cond_if_else_store_replacement_1): Don't optimize if either | |
8411 | then_assign or else_assign have volatile ops. | |
8412 | (hoist_adjacent_loads): Don't optimize if either def1 or def2 have | |
8413 | volatile ops. | |
8414 | ||
d2ac69cc | 8415 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
8416 | ||
8417 | * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__. | |
8418 | ||
63b6db20 | 8419 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
8420 | ||
8421 | * doc/extend.texi (Example of asm with clobbered asm reg): Fix | |
8422 | missing ':' in asm example. | |
8423 | ||
431fc079 | 8424 | 2013-01-25 Tejas Belagod <tejas.belagod@arm.com> |
8425 | ||
8426 | * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane | |
8427 | entries into lane and laneq entries. | |
f2897e01 | 8428 | * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>): |
8429 | Remove AdvSIMD scalar modes. | |
431fc079 | 8430 | (aarch64_sq<r>dmulh_laneq<mode>): New. |
8431 | (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD | |
8432 | modes. | |
8433 | * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics' | |
8434 | builtin implementations to relfect changes in RTL in aarch64-simd.md. | |
8435 | * config/aarch64/iterators.md (VCOND): New. | |
8436 | (VCONQ): New. | |
8437 | ||
f3297245 | 8438 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
8439 | ||
8440 | PR target/54222 | |
8441 | * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument. | |
8442 | Add NULL LIBNAME argument to existing definitions. | |
8443 | (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New. | |
8444 | * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument. | |
8445 | * config/avr/avr.c (DEF_BUILTIN): Same. | |
8446 | (avr_init_builtins): Pass down LIBNAME to add_builtin_function. | |
8447 | (avr_expand_builtin): Expand to a vanilla call if a libgcc | |
8448 | implementation is available (DECL_ASSEMBLER_NAME is set). | |
8449 | (avr_fold_absfx): New static function. | |
8450 | (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR, | |
8451 | AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR, | |
8452 | AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK, | |
8453 | AVR_BUILTIN_ABSLLK. | |
8454 | * config/avr/stdfix.h (abshr, absr, abslr, absllr) | |
8455 | (abshk, absk, abslk, absllk): Provide as static inline functions. | |
8456 | ||
8e3bada1 | 8457 | 2013-01-25 Marek Polacek <polacek@redhat.com> |
8458 | ||
8459 | PR tree-optimization/56035 | |
8460 | * cfgloopmanip.c (fix_loop_structure): Remove redundant condition. | |
8461 | ||
cd0e2161 | 8462 | 2012-01-24 Uros Bizjak <ubizjak@gmail.com> |
8463 | ||
8464 | * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative. | |
8465 | (*movtf_internal_rex64): Add (!o,C) alternative | |
8466 | (*movxf_internal_rex64): Ditto. | |
8467 | (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives. | |
8468 | ||
2b139ca6 | 8469 | 2013-01-24 Shenghou Ma <minux.ma@gmail.com> |
8470 | ||
8471 | * doc/invoke.texi: fix typo. | |
8472 | * doc/objc.texi: fix typo. | |
8473 | ||
1283f262 | 8474 | 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
8475 | ||
8476 | * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint | |
8477 | for the first two alternatives. | |
8478 | ||
5cc13354 | 8479 | 2013-01-24 Diego Novillo <dnovillo@google.com> |
8480 | ||
f2897e01 | 8481 | * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o. |
5cc13354 | 8482 | (ggc-zone.o): Remove. |
8483 | * configure.ac: Remove option --with-gc. | |
8484 | * configure: Re-generate. | |
8485 | * doc/install.texi: Remove documentation for --with-gc. | |
8486 | * gengtype.c (write_enum_defn): Remove. Update all users. | |
8487 | (write_Types_process_field): Remove generation of gt_e_* argument. | |
8488 | (output_type_enum): Remove. Update all users. | |
8489 | (write_enum_defn): Remove. Update all users. | |
8490 | (enum alloc_zone): Remove. Update all users. | |
f2897e01 | 8491 | (write_splay_tree_allocator_def): Remove generation of gt_e_* argument. |
5cc13354 | 8492 | * ggc-common.c (ggc_splay_alloc): Remove first argument. |
8493 | Update all callers. | |
8494 | (struct ptr_data): Remove field TYPE. Update all users. | |
f2897e01 | 8495 | (gt_pch_note_object): Remove argument TYPE. Update all users. |
5cc13354 | 8496 | * ggc-internal.h (ggc_pch_alloc_object): Remove last argument. |
8497 | Update all users. | |
96e241e8 | 8498 | * ggc-none.c (ggc_alloc_typed_stat): Remove. |
5cc13354 | 8499 | (struct alloc_zone): Remove. |
8500 | (ggc_internal_alloc_zone_stat): Remove. | |
8501 | (ggc_internal_cleared_alloc_zone_stat): Remove. | |
8502 | * ggc-page.c (ggc_alloc_typed_stat): Remove. | |
f2897e01 | 8503 | (ggc_pch_count_object): Remove last argument. Update all users. |
8504 | (ggc_pch_alloc_object): Remove last argument. Update all users. | |
5cc13354 | 8505 | (struct alloc_zone): Remove. |
8506 | * ggc-zone.c: Remove. | |
f2897e01 | 8507 | * ggc.h (gt_pch_note_object): Remove last argument. Update all users. |
5cc13354 | 8508 | (struct alloc_zone): Remove. |
8509 | (ggc_alloc_typed_stat): Remove. | |
8510 | (ggc_alloc_typed): Remove. | |
8511 | (ggc_splay_alloc): Remove first argument. | |
8512 | (rtl_zone): Remove. Update all users. | |
8513 | (tree_zone): Remove. Update all users. | |
8514 | (tree_id_zone): Remove. Update all users. | |
8515 | (ggc_internal_zone_alloc_stat): Remove. Update all users. | |
f2897e01 | 8516 | (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users. |
5cc13354 | 8517 | (ggc_internal_zone_vec_alloc_stat): Remove. Update all users. |
f2897e01 | 8518 | * tree-ssanames.c: Remove references to zone allocator in comments. |
5cc13354 | 8519 | |
2b5c3dd1 | 8520 | 2013-01-24 Georg-Johann Lay <avr@gjlay.de> |
8521 | ||
8522 | * config/avr/avr.c (avr_out_fract): Make register numbers that | |
8523 | might be outside of source operand signed. | |
8524 | ||
80946863 | 8525 | 2013-01-24 Uros Bizjak <ubizjak@gmail.com> |
8526 | ||
8527 | * config/i386/constraints.md (Yf): New constraint. | |
8528 | * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead | |
8529 | of f constraint to conditionaly disable x87 register preferences. | |
8530 | (*movdf_internal): Ditto. | |
8531 | (*movsf_internal): Ditto. | |
8532 | ||
aa46b107 | 8533 | 2013-01-24 Steven Bosscher <steven@gcc.gnu.org> |
8534 | ||
8535 | PR inline-asm/55934 | |
8536 | * lra-assigns.c (assign_by_spills): Throw away the pattern of asms | |
8537 | that have operands with impossible constraints. | |
8538 | Add a FIXME for a speed-up opportunity. | |
8539 | * lra-constraints.c (process_alt_operands): Verify that a class | |
8540 | selected from constraints on asms is valid for the operand mode. | |
8541 | (curr_insn_transform): Remove incorrect comment. | |
8542 | ||
657dd719 | 8543 | 2013-01-23 David Edelsohn <dje.gcc@gmail.com> |
8544 | ||
8545 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that | |
8546 | TOC operand is a valid symbol ref in the constant pool. | |
8547 | ||
8548 | 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
d6fe7425 | 8549 | |
96e241e8 | 8550 | * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS |
d6fe7425 | 8551 | |
c9b315f4 | 8552 | 2013-01-23 Georg-Johann Lay <avr@gjlay.de> |
8553 | ||
8554 | PR target/54222 | |
8555 | * config/avr/stdfix.h: New file. | |
8556 | * t-avr (stdfix-gcc.h): New rule to build it. | |
8557 | (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h. | |
8558 | ||
4a2c1ffc | 8559 | 2013-01-23 Kostya Serebryany <kcc@google.com> |
8560 | ||
f2897e01 | 8561 | * config/darwin.h: remove dependency on |
8562 | CoreFoundation (asan on Mac OS). | |
4a2c1ffc | 8563 | |
b8eae306 | 8564 | 2013-01-23 Jakub Jelinek <jakub@redhat.com> |
8565 | ||
8566 | PR target/49069 | |
8567 | * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand | |
8568 | instead of cmpdi_operand for first comparison operand. | |
8569 | Don't assert that comparison operands aren't both constants. | |
8570 | ||
feadd43d | 8571 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> |
8572 | ||
8573 | * doc/install.texi (Downloading the Source): Update references to | |
8574 | downloading separate components. | |
8575 | ||
8576 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> | |
32b80c6a | 8577 | |
8578 | * doc/extend.texi (__int128): Improve grammar. | |
8579 | ||
feadd43d | 8580 | 2013-01-22 Uros Bizjak <ubizjak@gmail.com> |
38a03d63 | 8581 | |
8582 | PR target/56028 | |
8583 | * config/i386/i386.md (*movti_internal_rex64): Change (o,riF) | |
8584 | alternative to (o,r). | |
8585 | (*movdi_internal_rex64): Remove (!o,n) alternative. | |
8586 | (DImode immediate->memory splitter): Remove. | |
8587 | (DImode immediate->memory peephole2): Remove. | |
8588 | (movtf): Enable for TARGET_64BIT || TARGET_SSE. | |
8589 | (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r) | |
8590 | alternative to (!o,*r). | |
8591 | (*movtf_internal_sse): New pattern. | |
8592 | (*movxf_internal_rex64): New pattern. | |
8593 | (*movxf_internal): Disable for TARGET_64BIT. | |
8594 | (*movdf_internal_rex64): Remove (!o,F) alternative. | |
8595 | ||
e6d8288f | 8596 | 2013-01-22 Jakub Jelinek <jakub@redhat.com> |
8597 | ||
b2d978a6 | 8598 | PR middle-end/56074 |
8599 | * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc) | |
8600 | isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION. | |
8601 | * tree-vect-loop-manip.c (find_loop_location): Also ignore | |
8602 | stmt locations where LOCATION_LOCUS of the stmt location is | |
8603 | UNKNOWN_LOCATION or BUILTINS_LOCATION. | |
8604 | ||
e6d8288f | 8605 | PR target/55686 |
8606 | * config/i386/i386.md (UNSPEC_STOS): New. | |
8607 | (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1, | |
8608 | *strsetqi_1): Add UNSPEC_STOS. | |
8609 | ||
81b38777 | 8610 | 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com> |
8611 | ||
8612 | PR c++/56067 | |
8613 | * doc/invoke.texi: Remove left over -Wsynth example. | |
8614 | ||
3e97846e | 8615 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
8616 | ||
8617 | PR tree-optimization/56051 | |
8618 | * fold-const.c (fold_binary_loc): Don't fold | |
8619 | X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either | |
8620 | a narrowing conversion, or widening conversion from signed | |
8621 | to unsigned. | |
8622 | ||
feadd43d | 8623 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
ae3eaa0f | 8624 | |
8625 | PR rtl-optimization/56023 | |
8626 | * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions, | |
8627 | dependent on debug instruction. | |
8628 | ||
a956a7a6 | 8629 | 2013-01-21 Martin Jambor <mjambor@suse.cz> |
8630 | ||
8631 | PR middle-end/56022 | |
8632 | * function.c (allocate_struct_function): Call | |
8633 | invoke_set_current_function_hook earlier. | |
8634 | ||
cd5c8367 | 8635 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
8636 | ||
8637 | * reload1.c (init_reload): Only initialize reload_obstack | |
8638 | during the first call. | |
8639 | ||
dcb14b61 | 8640 | 2013-01-21 Marek Polacek <polacek@redhat.com> |
8641 | ||
8642 | * cfgloop.c (verify_loop_structure): Fix up grammar. | |
8643 | ||
1a262a91 | 8644 | 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com> |
8645 | ||
8646 | * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift, | |
8647 | pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift. | |
8648 | ||
43115c41 | 8649 | 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
8650 | ||
8651 | PR target/56058 | |
8652 | * config/arm/marvell-pj4.md: Update copyright year. | |
8653 | Fix up use of alu to alu_reg and simple_alu_imm. | |
8654 | ||
feadd43d | 8655 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
914b013a | 8656 | |
8657 | * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA. | |
8658 | ||
e0420317 | 8659 | 2013-01-20 Vladimir Makarov <vmakarov@redhat.com> |
8660 | ||
8661 | PR target/55433 | |
8662 | * lra-constraints.c (curr_insn_transform): Don't reuse original | |
914b013a | 8663 | insn for secondary memory move when memory mode should be different. |
e0420317 | 8664 | |
e7bca8d9 | 8665 | 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8666 | ||
8667 | * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi, | |
8668 | atomic_storedi_1): New patterns. | |
8669 | ||
6470d004 | 8670 | 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
8671 | ||
8672 | btver2 pipeline descriptions. | |
8673 | * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline | |
8674 | descriptions. | |
8675 | * config/i386/i386.md (btver2_decode): New type attributes. | |
914b013a | 8676 | * config/i386/sse.md (btver2_decode, btver2_sse_attr): New |
6470d004 | 8677 | type attributes. |
8678 | * config/i386/btver2.md: New file describing btver2 pipelines. | |
8679 | ||
3a73dcc2 | 8680 | 2013-01-19 Andrew Pinski <apinski@cavium.com> |
8681 | ||
8682 | PR tree-optimization/52631 | |
8683 | * tree-ssa-sccvn (visit_use): Before looking up the original | |
8684 | statement, try looking up the simplified expression. | |
8685 | ||
a3076649 | 8686 | 2013-01-19 Anthony Green <green@moxielogic.com> |
8687 | ||
8688 | * config/moxie/moxie.c (moxie_expand_prologue): Set | |
8689 | current_function_static_stack_size. | |
8690 | ||
16f02f09 | 8691 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
8692 | ||
8693 | PR tree-optimization/56029 | |
8694 | * tree-phinodes.c (reserve_phi_args_for_new_edge): Set | |
8695 | gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION. | |
8696 | ||
c4c46233 | 8697 | 2013-01-18 Sharad Singhai <singhai@google.com> |
8698 | ||
8699 | PR tree-optimization/55995 | |
8700 | * dumpfile.c (dump_loc): Print location only if available. | |
8701 | * tree-vectorizer.c (increase_alignment): Intialize vect_location. | |
8702 | ||
c47331e3 | 8703 | 2013-01-18 Vladimir Makarov <vmakarov@redhat.com> |
8704 | ||
8705 | PR target/55433 | |
8706 | * lra-constraints.c (curr_insn_transform): Reuse original insn for | |
8707 | secondary memory move. | |
8708 | (inherit_reload_reg): Use rclass instead of cl for | |
8709 | check_secondary_memory_needed_p. | |
8710 | ||
83014b20 | 8711 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
8712 | ||
8713 | PR middle-end/56015 | |
8714 | * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle | |
914b013a | 8715 | the case where writing real complex part of target modifies op1. |
83014b20 | 8716 | |
15953bb4 | 8717 | 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com> |
8718 | ||
8719 | * config/aarch64/aarch64-simd.md | |
8720 | (aarch64_vcond_internal<mode>): Handle unordered cases. | |
8721 | * config/aarch64/iterators.md (v_cmp_result): New. | |
8722 | ||
ea7d210b | 8723 | 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com> |
8724 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
8725 | ||
8726 | * config/arm/marvell-pj4.md: New file. | |
8727 | * config/arm/arm.c (arm_issue_rate): Add marvell_pj4. | |
8728 | * config/arm/arm.md (generic_sched): Add marvell_pj4. | |
8729 | (generic_vfp): Likewise. | |
8730 | * config/arm/arm-cores.def: Add marvell-pj4. | |
8731 | * config/arm/arm-tune.md: Regenerate. | |
8732 | * config/arm/arm-tables.opt: Regenerate. | |
8733 | * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4. | |
8734 | * doc/invoke.texi: Document marvell-pj4. | |
8735 | ||
7a28aaef | 8736 | 2013-01-18 Tejas Belagod <tejas.belagod@arm.com> |
8737 | ||
8738 | * config/aarch64/arm_neon.h: Map scalar types to standard types. | |
8739 | ||
0190fe95 | 8740 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
861a6de4 | 8741 | |
8742 | PR debug/54114 | |
8743 | PR debug/54402 | |
8744 | PR debug/49888 | |
8745 | * var-tracking.c (negative_power_of_two_p): New. | |
8746 | (global_get_addr_cache, local_get_addr_cache): New. | |
8747 | (get_addr_from_global_cache, get_addr_from_local_cache): New. | |
8748 | (vt_canonicalize_addr): Rewrite using the above. Adjust the | |
8749 | heading comment. | |
8750 | (vt_stack_offset_p): Remove. | |
8751 | (vt_canon_true_dep): Always canonicalize loc's address. | |
8752 | (clobber_overlapping_mems): Make sure we have a MEM. | |
8753 | (local_get_addr_clear_given_value): New. | |
8754 | (val_reset): Clear local cached entries. | |
8755 | (compute_bb_dataflow): Create and release the local cache. | |
8756 | Disable duplicate MEMs clobbering. | |
8757 | (emit_notes_in_bb): Clobber MEMs likewise. | |
8758 | (vt_emit_notes): Create and release the local cache. | |
8759 | (vt_initialize, vt_finalize): Create and release the global | |
8760 | cache, respectively. | |
914b013a | 8761 | * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs. |
861a6de4 | 8762 | |
0190fe95 | 8763 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
a9490210 | 8764 | |
8765 | PR libmudflap/53359 | |
8766 | * tree-mudflap.c (mudflap_finish_file): Skip deferred decls | |
8767 | not found in the symtab. | |
8768 | ||
0190fe95 | 8769 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
340ad617 | 8770 | |
1ff3b42b | 8771 | PR debug/56006 |
340ad617 | 8772 | PR rtl-optimization/55547 |
8773 | PR rtl-optimization/53827 | |
8774 | PR debug/53671 | |
8775 | PR debug/49888 | |
8776 | * alias.c (offset_overlap_p): New, factored out of... | |
8777 | (memrefs_conflict_p): ... this. Use absolute sizes. Retain | |
8778 | the conservative special case for symbolic constants. Don't | |
8779 | adjust zero sizes on alignment. | |
8780 | ||
1bcf869e | 8781 | 2013-01-18 Bernd Schmidt <bernds@codesourcery.com> |
8782 | ||
8783 | PR rtl-optimization/52573 | |
8784 | * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a | |
8785 | REG_UNUSED for the same register. | |
8786 | ||
c1f96968 | 8787 | 2013-01-17 Richard Biener <rguenther@suse.de> |
8788 | Marek Polacek <polacek@redhat.com> | |
8789 | ||
8790 | PR rtl-optimization/55833 | |
8791 | * loop-unswitch.c (unswitch_loops): Move loop verification... | |
8792 | (unswitch_single_loop): ...here. Call mark_irreducible_loops. | |
8793 | * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter. | |
8794 | Set it to true when we're removing a loop from hierarchy tree in | |
8795 | an irreducible region. | |
8796 | (fix_bb_placements): Adjust caller. | |
8797 | (fix_loop_placements): Likewise. | |
8798 | ||
73263209 | 8799 | 2013-01-17 Georg-Johann Lay <avr@gjlay.de> |
8800 | ||
8801 | * config/avr/builtins.def (DEF_BUILTIN): Factor out | |
8802 | "__builtin_avr_" from NAME, turn NAME to an uppercase identifier. | |
8803 | Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'. | |
8804 | Remove ID. Adjust comments. | |
8805 | * config/avr/avr-c.c (avr_builtin_name): Remove. | |
8806 | (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop. | |
8807 | * config/avr/avr.c (avr_tolower): New static function. | |
8808 | (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'. | |
8809 | Stringify NAME, prefix it with "__builtin_avr_" and lowercase it. | |
8810 | (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for | |
8811 | default expansion. | |
8812 | ||
9ce07db4 | 8813 | 2013-01-17 Jan Hubicka <jh@suse.cz> |
8814 | ||
cb7b3a2f | 8815 | PR tree-optimization/55273 |
9ce07db4 | 8816 | * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. |
8817 | ||
feadd43d | 8818 | 2013-01-17 Uros Bizjak <ubizjak@gmail.com> |
a5b5a55a | 8819 | |
8820 | PR target/55981 | |
8821 | * config/i386/sync.md (atomic_store<mode>): Always generate SWImode | |
8822 | store through atomic_store<mode>_1. | |
8823 | (atomic_store<mode>_1): Macroize insn using SWI mode iterator. | |
8824 | ||
3f442959 | 8825 | 2013-01-17 Martin Jambor <mjambor@suse.cz> |
8826 | ||
8827 | PR tree-optimizations/55264 | |
8828 | * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true | |
8829 | for virtual methods. | |
8830 | * ipa.c (symtab_remove_unreachable_nodes): Never return true for | |
8831 | virtual methods before inlining is over. | |
8832 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for | |
8833 | virtual functions. | |
8834 | * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as | |
8835 | non-virtual. | |
8836 | ||
a2e20fd2 | 8837 | 2013-01-16 Vladimir Makarov <vmakarov@redhat.com> |
8838 | ||
8839 | PR rtl-optimization/56005 | |
8840 | * sched-deps.c (sched_analyze_2): Check deps->readonly for adding | |
8841 | pending reads for prefetch. | |
8842 | ||
e7e5bbc5 | 8843 | 2013-01-16 Ian Bolton <ian.bolton@arm.com> |
8844 | ||
96e241e8 | 8845 | * config/aarch64/aarch64.md |
e7e5bbc5 | 8846 | (*cstoresi_neg_uxtw): New pattern. |
8847 | (*cmovsi_insn_uxtw): New pattern. | |
8848 | (*<optab>si3_uxtw): New pattern. | |
8849 | (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern. | |
8850 | (*<optab>si3_insn_uxtw): New pattern. | |
8851 | (*bswapsi2_uxtw): New pattern. | |
8852 | ||
a74056fd | 8853 | 2013-01-16 Richard Biener <rguenther@suse.de> |
8854 | ||
8855 | * tree-inline.c (tree_function_versioning): Remove set but | |
8856 | never used variable. | |
8857 | ||
c9b2c569 | 8858 | 2013-01-16 Richard Biener <rguenther@suse.de> |
8859 | ||
8860 | PR tree-optimization/55964 | |
8861 | * tree-flow.h (rename_variables_in_loop): Remove. | |
8862 | (rename_variables_in_bb): Likewise. | |
8863 | * tree-loop-distribution.c (update_phis_for_loop_copy): Remove. | |
8864 | (copy_loop_before): Adjust and delete update-ssa status. | |
8865 | * tree-vect-loop-manip.c (rename_variables_in_bb): Make static. | |
a5b5a55a | 8866 | (rename_variables_in_bb): Likewise. Properly walk over predecessors. |
c9b2c569 | 8867 | (rename_variables_in_loop): Remove. |
8868 | (slpeel_update_phis_for_duplicate_loop): Likewise. | |
8869 | (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops, | |
8870 | use available cfg machinery instead of duplicating it. | |
8871 | Update PHI nodes and perform poor-mans SSA update here. | |
8872 | (slpeel_tree_peel_loop_to_edge): Adjust. | |
8873 | ||
d590d541 | 8874 | 2013-01-16 Richard Biener <rguenther@suse.de> |
8875 | ||
8876 | PR tree-optimization/54767 | |
8877 | PR tree-optimization/53465 | |
8878 | * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465. | |
8879 | (vrp_visit_phi_node): For PHI arguments coming via backedges | |
8880 | drop all symbolical range information. | |
8881 | (execute_vrp): Compute backedges. | |
8882 | ||
c7cd65bf | 8883 | 2013-01-16 Richard Biener <rguenther@suse.de> |
8884 | ||
8885 | * doc/install.texi: Update CLooG and ISL requirements to | |
8886 | 0.18.0 and 0.11.1. | |
8887 | ||
31fd081d | 8888 | 2013-01-16 Christian Bruel <christian.bruel@st.com> |
8889 | ||
8890 | PR target/55301 | |
8891 | * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol. | |
8892 | (broken_move): Handle UNSPECV_SP_SWITCH_B. | |
8893 | * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG). | |
8894 | ||
8895 | 2013-01-16 DJ Delorie <dj@redhat.com> | |
8896 | ||
8897 | * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New. | |
8898 | (UNSPECV_SP_SWITCH_E): New. | |
8899 | (sp_switch_1): Change to an unspec. | |
8900 | (sp_switch_2): Change to an unspec. Don't use post-inc when we | |
8901 | replace $r15. | |
8902 | ||
8903 | 2013-01-16 Uros Bizjak <ubizjak@gmail.com> | |
1a9fa1dd | 8904 | |
8905 | * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument | |
8906 | with MEMMODEL_MASK before comparing with MEMMODEL_* memory types. | |
8907 | * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto. | |
8908 | (expand_mem_thread_fence): Ditto. | |
8909 | (expand_mem_signal_fence): Ditto. | |
8910 | (expand_atomic_load): Ditto. | |
8911 | (expand_atomic_store): Ditto. | |
8912 | ||
0190fe95 | 8913 | 2013-01-16 Alexandre Oliva <aoliva@redhat.com> |
bb2bc4f3 | 8914 | |
8915 | PR rtl-optimization/55547 | |
8916 | PR rtl-optimization/53827 | |
8917 | PR debug/53671 | |
8918 | PR debug/49888 | |
8919 | * alias.c (memrefs_conflict_p): Set sizes to negative after | |
8920 | AND adjustments. | |
8921 | ||
392a7dd5 | 8922 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
8923 | ||
8924 | PR target/55940 | |
8925 | * function.c (thread_prologue_and_epilogue_insns): Always | |
8926 | add crtl->drap_reg to set_up_by_prologue.set, even if | |
8927 | stack_realign_drap is false. | |
8928 | ||
8aaf4223 | 8929 | 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
8930 | ||
8931 | * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3, | |
8932 | and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3, | |
8933 | *call): Fix indention. | |
8934 | ||
c35e21be | 8935 | 2013-01-15 Tom de Vries <tom@codesourcery.com> |
8936 | ||
8937 | PR target/55876 | |
8938 | * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG. | |
8939 | Update comment. | |
8940 | ||
42fb263f | 8941 | 2013-01-15 Vladimir Makarov <vmakarov@redhat.com> |
8942 | ||
392a7dd5 | 8943 | PR rtl-optimization/55153 |
42fb263f | 8944 | * sched-deps.c (sched_analyze_2): Add pending reads for prefetch. |
8945 | ||
1789bced | 8946 | 2013-01-15 Martin Jambor <mjambor@suse.cz> |
8947 | ||
8948 | PR tree-optimization/55920 | |
8949 | * tree-sra.c (analyze_access_subtree): Do not mark non-removable | |
8950 | accesses as grp_to_be_debug_replaced. | |
8951 | ||
ddce22b8 | 8952 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
8953 | ||
8954 | PR tree-optimization/55920 | |
8955 | * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced | |
8956 | there is non-useless type conversion needed from debug rhs to lhs, | |
8957 | use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR. | |
8958 | ||
1969f96d | 8959 | 2013-01-15 Joseph Myers <joseph@codesourcery.com> |
8960 | Mikael Pettersson <mikpe@it.uu.se> | |
8961 | ||
8962 | PR target/43961 | |
8963 | * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for | |
8964 | Thumb. | |
8965 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
8966 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty. | |
8967 | * final.c (shorten_branches): Update alignment of labels before | |
8968 | jump tables if CASE_VECTOR_SHORTEN_MODE. | |
8969 | ||
21be23eb | 8970 | 2013-01-15 Richard Biener <rguenther@suse.de> |
8971 | ||
8972 | PR bootstrap/55961 | |
8973 | * system.h: Do not include gmp.h for building host tools. | |
8974 | ||
323cf38f | 8975 | 2013-01-15 Richard Biener <rguenther@suse.de> |
8976 | ||
8977 | PR middle-end/55882 | |
8978 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly | |
8979 | account for bitpos when computing alignment. | |
8980 | ||
56de744c | 8981 | 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com> |
8982 | ||
8983 | * config/i386/i386-c.c (ix86_target_macros_internal): New case. | |
8984 | (ix86_target_macros_internal): Likewise. | |
8985 | ||
8986 | * config/i386/i386.c (m_CORE2I7): Removed. | |
8987 | (m_CORE_HASWELL): New macro. | |
8988 | (m_CORE_ALL): Likewise. | |
8989 | (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL. | |
8990 | (initial_ix86_arch_features): Likewise. | |
8991 | (processor_target_table): Initializations for Core avx2. | |
8992 | (cpu_names): New names "core-avx2". | |
8993 | (ix86_option_override_internal): Changed PROCESSOR_COREI7 by | |
8994 | PROCESSOR_CORE_HASWELL. | |
8995 | (ix86_issue_rate): New case. | |
8996 | (ia32_multipass_dfa_lookahead): Likewise. | |
8997 | (ix86_sched_init_global): Likewise. | |
8998 | ||
8999 | * config/i386/i386.h (TARGET_HASWELL): New macro. | |
9000 | (target_cpu_default): New TARGET_CPU_DEFAULT_haswell. | |
9001 | (processor_type): New PROCESSOR_HASWELL. | |
9002 | ||
8365f6c8 | 9003 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
9004 | ||
2d788f29 | 9005 | PR tree-optimization/55955 |
9006 | * tree-vect-loop.c (vectorizable_reduction): Give up early on | |
9007 | *SHIFT_EXPR and *ROTATE_EXPR codes. | |
9008 | ||
8365f6c8 | 9009 | PR tree-optimization/48766 |
9010 | * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for | |
9011 | -ftrapv disable -fwrapv. | |
9012 | ||
02edff68 | 9013 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
9014 | ||
9015 | PR target/55974 | |
9016 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH | |
9017 | etc. to 1 and not to __flash. | |
9018 | Use LL suffix for __INT24_MAX__ with -mint8. | |
9019 | Use ULL suffix for __UINT24_MAX__ with -mint8. | |
9020 | ||
ce544647 | 9021 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
9022 | ||
9023 | * config/avr/avr-arch.h | |
9024 | (struct base_arch_s): Use typedef avr_arch_t instead. | |
9025 | (struct arch_info_s): Use typedef avr_arch_info_t instead. | |
9026 | (struct mcu_type_s): Use typedef avr_mcu_t instead. | |
9027 | * config/avr/avr.c: Same. | |
9028 | * config/avr/avr-devices.c: Same. | |
9029 | * config/avr/driver-avr.c: Same. | |
9030 | * config/avr/gen-avr-mmcu-texi.c: Same. | |
9031 | * config/avr/avr-mcus.def: Adjust comment. | |
9032 | ||
df83fa4d | 9033 | 2013-01-14 Tejas Belagod <tejas.belagod@arm.com> |
9034 | ||
1a9fa1dd | 9035 | * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New. |
9036 | * config/aarch64/iterators.md (VALLDI): New. | |
df83fa4d | 9037 | |
feadd43d | 9038 | 2013-01-14 Uros Bizjak <ubizjak@gmail.com> |
5fc510c2 | 9039 | Andi Kleen <ak@linux.intel.com> |
9040 | ||
9041 | PR target/55948 | |
9042 | * config/i386/sync.md (atomic_store<mode>_1): New pattern. | |
9043 | (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE | |
9044 | memmodel flag. | |
9045 | ||
0dff9558 | 9046 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
9047 | ||
9048 | * config/avr/avr-stdint.h: Remove trailing blanks. | |
9049 | * config/avr/avr-log.h: Same. | |
9050 | * config/avr/avr-arch.h: Same. | |
9051 | * config/avr/avr-devices.c: Same. | |
9052 | * config/avr/avr-dimode.md: Same. | |
9053 | * config/avr/predicates.md: Same. | |
9054 | * config/avr/avr-c.c: Same. And fix typo. | |
5fc510c2 | 9055 | |
0dff9558 | 9056 | * config/avr/avr-protos.h: Same. And: |
9057 | (function_arg_regno_p): Rename to avr_function_arg_regno_p. | |
9058 | (init_cumulative_args): Rename to avr_init_cumulative_args. | |
9059 | (expand_prologue): Rename to avr_expand_prologue. | |
9060 | (expand_epilogue): Rename to avr_expand_epilogue. | |
9061 | (adjust_insn_length): Rename to avr_adjust_insn_length. | |
9062 | (notice_update_cc): Rename to avr_notice_update_cc. | |
9063 | (final_prescan_insn): Rename to avr_final_prescan_insn. | |
9064 | * config/avr/avr.c: Same. | |
9065 | * config/avr/avr.h: Same. | |
9066 | * config/avr/avr.md: Remove trailing blanks. | |
9067 | (prologue): Use avr_expand_prologue. | |
9068 | (epilogue, sibcall_epilogue): Use avr_expand_epilogue. | |
9069 | ||
66366b96 | 9070 | 2013-01-14 Richard Biener <rguenther@suse.de> |
9071 | ||
9072 | * tree-cfg.c (verify_expr_location, verify_expr_location_1, | |
9073 | verify_location, collect_subblocks): New functions. | |
9074 | (verify_gimple_in_cfg): Verify that locations only reference | |
9075 | BLOCKs in the functions BLOCK tree. | |
9076 | ||
11db727d | 9077 | 2013-01-14 Richard Biener <rguenther@suse.de> |
9078 | ||
9079 | * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated | |
9080 | PHI argument. | |
9081 | * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly | |
9082 | unshare reference. | |
9083 | (insert_out_of_ssa_copy_on_edge): Likewise. | |
9084 | (rewrite_close_phi_out_of_ssa): Likewise. | |
9085 | * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare | |
9086 | debug expressions. | |
9087 | * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare | |
9088 | propagated constants. | |
9089 | * tree-cfg.c (tree_node_can_be_shared): Handled component-refs | |
9090 | can not be shared. | |
9091 | ||
1e6735ea | 9092 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
9093 | ||
9094 | * config/avr/avr-modes.def: Add GPL copyright notice. | |
9095 | ||
86eac679 | 9096 | 2013-01-13 Uros Bizjak <ubizjak@gmail.com> |
9097 | ||
9098 | * config/i386/sync.md (mem_thread_fence): Mask operands[0] with | |
9099 | MEMMODEL_MASK to determine memory model. | |
9100 | (atomic_store<mode>): Ditto from operands[2]. | |
9101 | * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool. | |
9102 | ||
8f266cd9 | 9103 | 2013-01-13 Jakub Jelinek <jakub@redhat.com> |
9104 | ||
9105 | PR fortran/55935 | |
86eac679 | 9106 | * gimple-fold.c (get_symbol_constant_value): Call unshare_expr. |
8f266cd9 | 9107 | (fold_gimple_assign): Don't call unshare_expr here. |
9108 | (fold_ctor_reference): Call unshare_expr. | |
9109 | ||
7137cdac | 9110 | 2013-01-13 Terry Guo <terry.guo@arm.com> |
9111 | ||
96e241e8 | 9112 | * Makefile.in (s-mlib): New argument MULTILIB_REUSE. |
9113 | * doc/fragments.texi: Document MULTILIB_REUSE. | |
9114 | * gcc.c (multilib_reuse): New internal spec. | |
7137cdac | 9115 | (set_multilib_dir): Also search multilib from multilib_reuse. |
96e241e8 | 9116 | * genmultilib (tmpmultilib3): Refactor code. |
7137cdac | 9117 | (tmpmultilib4): Ditto. |
9118 | (multilib_reuse): New multilib argument. | |
9119 | ||
9231cb67 | 9120 | 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com> |
9121 | ||
9122 | * Makefile.in: Update copyright. | |
9123 | ||
3d38d682 | 9124 | 2013-01-12 Tom de Vries <tom@codesourcery.com> |
9125 | ||
9126 | PR middle-end/55890 | |
9127 | * calls.c (expand_call): Check if arg_nr is valid. | |
9128 | ||
5c598e22 | 9129 | 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
9130 | ||
9131 | * doc/extend.texi (X86 Built-in Functions): Add whitespace in | |
9132 | __builtin_ia32_paddb256 and __builtin_ia32_pavgb256 | |
21b14971 | 9133 | documentation. Add missing '__' in front of |
9134 | __builtin_ia32_packssdw256. | |
5c598e22 | 9135 | |
de47476b | 9136 | 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9137 | ||
9138 | PR target/55719 | |
9139 | * config/s390/s390.c (s390_preferred_reload_class): Do not return | |
9140 | NO_REGS for larl operands. | |
9141 | (s390_reload_larl_operand): Use s390_load_address instead of | |
9142 | emit_move_insn. | |
9143 | ||
bf27bcdd | 9144 | 2013-01-11 Richard Biener <rguenther@suse.de> |
9145 | ||
9146 | * tree-cfg.c (verify_node_sharing_1): Split out from ... | |
9147 | (verify_node_sharing): ... here. | |
9148 | (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree. | |
9149 | ||
1410e798 | 9150 | 2013-01-11 Eric Botcazou <ebotcazou@adacore.com> |
9151 | ||
9152 | * configure.ac (Tree checking): Set TREECHECKING to yes if enabled. | |
9153 | Substitute TREECHECKING. | |
9154 | * configure: Regenerate. | |
9155 | * Makefile.in (TREECHECKING): New. | |
9156 | ||
feadd43d | 9157 | 2013-01-11 Richard Guenther <rguenther@suse.de> |
742ca2be | 9158 | |
9159 | PR tree-optimization/44061 | |
9160 | * tree-vrp.c (extract_range_basic): Compute zero as | |
9161 | value-range for __builtin_constant_p of function parameters. | |
9162 | ||
711789cc | 9163 | 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com> |
9164 | ||
86eac679 | 9165 | Update copyright years. |
711789cc | 9166 | |
9441d07f | 9167 | 2013-01-10 Vladimir Makarov <vmakarov@redhat.com> |
9168 | ||
8f266cd9 | 9169 | PR rtl-optimization/55672 |
8b599a09 | 9170 | * lra-eliminations.c (mark_not_eliminable): Permit addition with |
9171 | const to be eliminable. | |
9441d07f | 9172 | |
e69effa4 | 9173 | 2013-01-10 David Edelsohn <dje.gcc@gmail.com> |
9174 | ||
9175 | * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix. | |
9176 | * configure: Regenerate. | |
9177 | ||
f4146cb8 | 9178 | 2013-01-10 Richard Biener <rguenther@suse.de> |
9179 | ||
91f28fc1 | 9180 | * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes. |
f4146cb8 | 9181 | |
e60062ea | 9182 | 2013-01-10 Richard Biener <rguenther@suse.de> |
9183 | ||
9184 | PR bootstrap/55792 | |
9185 | * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set | |
9186 | locations for virtual PHI arguments. | |
9187 | (rewrite_update_phi_arguments): Likewise. | |
9188 | ||
efc3a86d | 9189 | 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com> |
9190 | ||
9191 | * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi | |
9192 | on to assembler. | |
9193 | ||
349ff920 | 9194 | 2013-01-10 Jakub Jelinek <jakub@redhat.com> |
9195 | ||
9196 | PR tree-optimization/55921 | |
9197 | * tree-complex.c (expand_complex_asm): New function. | |
9198 | (expand_complex_operations_1): Call it for GIMPLE_ASM. | |
9199 | ||
2a672556 | 9200 | 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9201 | ||
9202 | PR target/55718 | |
9203 | * config/s390/s390.c (s390_symref_operand_p) | |
9204 | (s390_loadrelative_operand_p): Merge the two functions. | |
9205 | (s390_check_qrst_address, print_operand_address): Add parameters | |
9206 | to s390_loadrelative_operand_p invokation. | |
9207 | (s390_check_symref_alignment): Use s390_loadrelative_operand_p. | |
9208 | (s390_reload_larl_operand, s390_secondary_reload): Use | |
9209 | s390_loadrelative_operand_p instead of s390_symref_operand_p. | |
9210 | (legitimize_pic_address): Handle @GOTENT and @PLT + addend. | |
9211 | ||
e4209874 | 9212 | 2013-01-09 Mike Stump <mikestump@comcast.net> |
9213 | ||
9214 | * dse.c (record_store): Remove unnecessary assert. | |
9215 | ||
dde4834c | 9216 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
9217 | ||
9218 | PR tree-optimization/55569 | |
9219 | * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type. | |
9220 | * cfgloop.h (scale_loop_profile): Likewise. | |
9221 | ||
c7fbaa62 | 9222 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
9223 | ||
9224 | PR lto/45375 | |
91f28fc1 | 9225 | * ipa-inline.c (ipa_inline): Remove extern inlines and virtual |
9226 | functions. | |
c7fbaa62 | 9227 | * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data. |
9228 | ||
933eb13a | 9229 | 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com> |
9230 | ||
9231 | PR middle-end/55114 | |
9232 | * expr.h (maybe_emit_group_store): Declare. | |
9233 | * expr.c (maybe_emit_group_store): New function. | |
9234 | * builtins.c (expand_builtin_int_roundingfn): Call it. | |
9235 | (expand_builtin_int_roundingfn_2): Likewise. | |
9236 | ||
aa3ce8ba | 9237 | 2013-01-09 Vladimir Makarov <vmakarov@redhat.com> |
9238 | ||
701835de | 9239 | PR rtl-optimization/55829 |
aa3ce8ba | 9240 | * lra-constraints.c (match_reload): Add code for absent output. |
9241 | (curr_insn_transform): Add code for reloads of matched inputs | |
9242 | without output. | |
9243 | ||
889d67a8 | 9244 | 2013-01-09 Uros Bizjak <ubizjak@gmail.com> |
9245 | ||
9246 | * config/i386/sse.md (*vec_interleave_highv2df): Change mode | |
9247 | attribute of movddup insn to DF. | |
9248 | (*vec_interleave_lowv2df): Ditto. | |
9249 | (vec_dupv2df): Ditto. | |
9250 | ||
64552007 | 9251 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
9252 | ||
9253 | PR tree-optimiation/55875 | |
9254 | * tree-ssa-loop-niter.c (number_of_iterations_cond): Add | |
9255 | EVERY_ITERATION parameter. | |
889d67a8 | 9256 | (number_of_iterations_exit): Check if exit is executed every iteration. |
64552007 | 9257 | (idx_infer_loop_bounds): Similarly here. |
9258 | (n_of_executions_at_most): Simplify | |
9259 | to only test for cases where statement is dominated by the | |
889d67a8 | 9260 | particular bound; handle correctly the "postdominance" test. |
64552007 | 9261 | (scev_probably_wraps_p): Use max loop iterations info |
9262 | as a global bound first. | |
9263 | ||
e1181777 | 9264 | 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com> |
bd38291a | 9265 | Nick Clifton <nickc@redhat.com> |
9266 | ||
9267 | * config/v850/v850.md (cbranchsf4): New pattern. | |
9268 | (cstoresf4): New pattern. | |
9269 | (cbranchdf4): New pattern. | |
9270 | (cstoredf4): New pattern. | |
9271 | (movsicc): Disallow floating point comparisons. | |
9272 | (cmpsf_le_insn): Fix order of operators. | |
9273 | (cmpsf_lt_insn): Likewise. | |
9274 | (cmpsf_eq_insn): Likewise. | |
9275 | (cmpdf_le_insn): Likewise. | |
9276 | (cmpdf_lt_insn): Likewise. | |
9277 | (cmpdf_eq_insn): Likewise. | |
9278 | (cmpsf_ge_insn): Use LE comparison. | |
9279 | (cmpdf_ge_insn): Likewise. | |
9280 | (cmpsf_gt_insn): Use LT comparison. | |
9281 | (cmpdf_gt_insn): Likewise. | |
9282 | (cmpsf_ne_insn): Delete pattern. | |
9283 | (cmpdf_ne_insn): Delete pattern. | |
9284 | * config/v850/v850.c (v850_gen_float_compare): Use | |
9285 | gen_cmpdf_eq_insn for NE comparison. | |
9286 | (v850_float_z_comparison_operator) | |
9287 | (v850_float_nz_comparison_operator): Move from here ... | |
9288 | * config/v850/predicates.md: ... to here. Move GT and GE | |
9289 | comparisons into v850_float_z_comparison_operator. | |
9290 | * config/v850/v850-protos.h (v850_float_z_comparison_operator): | |
9291 | Delete prototype. | |
9292 | (v850_float_nz_comparison_operator): Likewise. | |
9293 | ||
81d5e322 | 9294 | 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
9295 | ||
9296 | * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv | |
9297 | with calls to gen_insvsi/gen_insvdi. | |
9298 | ||
3a33f4ce | 9299 | 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
9300 | ||
9301 | * config/i386/i386.c (initial_ix86_tune_features): Set up | |
9302 | X86_TUNE_AVX128_OPTIMAL for m_BTVER2. | |
9303 | ||
ed60f27f | 9304 | 2013-01-09 Steven Bosscher <steven@gcc.gnu.org> |
9305 | Jakub Jelinek <jakub@redhat.com> | |
9306 | ||
9307 | PR tree-optimization/48189 | |
9308 | * predict.c (predict_loops): If max is 0, don't call compare_tree_int. | |
9309 | If nitercst is 0, don't predict the exit edge. | |
9310 | ||
7a87c8e1 | 9311 | 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
b9ccfbdf | 9312 | |
9313 | * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r | |
9314 | in asm_fprintf with reg_names. | |
9315 | (aarch64_print_operand_address): Likewise. | |
9316 | (aarch64_return_addr): Likewise. | |
9317 | * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove. | |
9318 | ||
21522827 | 9319 | 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
9320 | ||
9321 | * config/pa/pa.h (VAL_U6_BITS_P): Define. | |
9322 | (INT_U6_BITS): Likewise. | |
9323 | * config/pa/predicates.md (uint6_operand): New predicate. | |
9324 | (shift5_operand, shift6_operand): Likewise. | |
9325 | * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of | |
9326 | arith32_operand. | |
9327 | (lshrdi3): Use shift6_operand. | |
9328 | (shrpsi4, shrpdi4): New insn patterns. | |
9329 | (extzv): Delete expander. | |
9330 | (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand | |
9331 | predicates in unamed zero extract patterns. Tighten common constraint. | |
9332 | (extv): Delete expander. | |
9333 | (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand | |
9334 | predicates in unamed sign extract patterns. Tighten common constraint. | |
9335 | (insv): Delete expander. | |
9336 | (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand | |
9337 | predicates in unamed insert patterns. Tighten common constraint. | |
9338 | Change uint32_operand predicate to uint6_operand predicate in unamed | |
9339 | DImode pattern to insert constant values of type 1...1xxxx. | |
9340 | ||
a240d038 | 9341 | 2013-01-04 Jan Hubicka <jh@suse.cz> |
9342 | ||
9343 | PR tree-optimization/55823 | |
889d67a8 | 9344 | * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering |
9345 | issue. | |
a240d038 | 9346 | |
feadd43d | 9347 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
bbfdbc02 | 9348 | Uros Bizjak <ubizjak@gmail.com> |
9349 | ||
9350 | PR rtl-optimization/55845 | |
9351 | * df-problems.c (can_move_insns_across): Stop scanning at | |
9352 | volatile_insn_p source instruction or give up if | |
9353 | across_from .. across_to range contains any volatile_insn_p | |
9354 | instructions. | |
9355 | ||
501336f7 | 9356 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
9357 | ||
889d67a8 | 9358 | * config/aarch64/aarch64-simd.md (vec_init<mode>): New. |
9359 | * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init): | |
9360 | Declare. | |
501336f7 | 9361 | * config/aarch64/aarch64.c (aarch64_simd_dup_constant, |
889d67a8 | 9362 | aarch64_simd_make_constant, aarch64_expand_vector_init): New. |
501336f7 | 9363 | |
cc72d6e9 | 9364 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
9365 | ||
9366 | PR fortran/55341 | |
9367 | * asan.c (asan_clear_shadow): New function. | |
9368 | (asan_emit_stack_protection): Use it. | |
9369 | ||
b3f1c89d | 9370 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
9371 | ||
9372 | * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>, | |
9373 | aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand | |
9374 | with tab instead of space. | |
9375 | ||
8d5f09ff | 9376 | 2013-01-08 Nick Clifton <nickc@redhat.com> |
9377 | ||
9378 | * config/rl78/rl78.c (rl78_expand_prologue): Always select | |
9379 | register bank 0 at the start of an interrupt handler. | |
50008a8e | 9380 | * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and |
9381 | MDBH registers. | |
8d5f09ff | 9382 | |
1eb525c3 | 9383 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
9384 | ||
9385 | * config/aarch64/aarch64-simd.md | |
9386 | (aarch64_simd_bsl<mode>_internal): Add floating-point modes. | |
9387 | (aarch64_simd_bsl): Likewise. | |
9388 | (aarch64_vcond_internal<mode>): Likewise. | |
9389 | (vcond<mode><mode>): Likewise. | |
9390 | (aarch64_cm<cmp><mode>): Fix constraints, add new modes. | |
9391 | * config/aarch64/iterators.md (V_cmp_result): Add V2DF. | |
9392 | ||
5b4374a1 | 9393 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
9394 | ||
9395 | * config/aarch64/aarch64-builtins.c | |
9396 | (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf. | |
9397 | ||
5721b378 | 9398 | 2013-01-08 Martin Jambor <mjambor@suse.cz> |
9399 | ||
9400 | PR debug/55579 | |
9401 | * tree-sra.c (analyze_access_subtree): Return true also after | |
9402 | potentially creating a debug-only replacement. | |
9403 | ||
4b9630f0 | 9404 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
9405 | ||
0b4f0116 | 9406 | PR middle-end/55890 |
9407 | * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p. | |
9408 | ||
4b9630f0 | 9409 | PR tree-optimization/54120 |
9410 | * tree-vrp.c (range_fits_type_p): Don't allow | |
9411 | src_precision < precision from signed vr to unsigned_p | |
9412 | if vr->min or vr->max is negative. | |
9413 | (simplify_float_conversion_using_ranges): Test can_float_p | |
9414 | against CODE_FOR_nothing. | |
9415 | ||
100d7996 | 9416 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
9417 | Richard Biener <rguenther@suse.de> | |
9418 | ||
9419 | PR middle-end/55851 | |
9420 | * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P | |
9421 | types instead of just INTEGER_TYPE types. | |
9422 | ||
6e029611 | 9423 | 2013-01-07 Mark Kettenis <kettenis@openbsd.org> |
9424 | ||
9425 | * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, | |
9426 | TF_SIZE): Define. | |
8d5f09ff | 9427 | |
8a5bc191 | 9428 | 2013-01-07 Steve Ellcey <sellcey@mips.com> |
9429 | ||
9430 | PR target/42661 | |
9431 | * config/mips/mips.opt: Change mad to mmad to match documentation. | |
9432 | ||
975036ab | 9433 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
9434 | ||
9435 | PR target/55897 | |
9436 | * doc/extend.texi (AVR Named Address Spaces): __memx goes into | |
9437 | .progmemx.data now. | |
9438 | ||
0558f5da | 9439 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
9440 | ||
9441 | PR target/55897 | |
9442 | * config/avr/avr.h (ADDR_SPACE_COUNT): New enum. | |
9443 | (avr_addrspace_t): Add .section_name field. | |
9444 | * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as | |
9445 | array size. | |
9446 | (avr_addrspace): Same. Initialize .section_name. Remove last | |
9447 | NULL entry. Put __memx into .progmemx.data. | |
9448 | (progmem_section_prefix): Remove. | |
9449 | (avr_asm_init_sections): No need to initialize progmem_section. | |
9450 | (avr_asm_named_section): Use avr_addrspace[].section_name to get | |
9451 | section name prefix. | |
9452 | (avr_asm_select_section): Ditto. And use get_unnamed_section to | |
9453 | retrieve the progmem section. | |
9454 | * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop | |
9455 | boundary to run over avr_addrspace[]. | |
9456 | (avr_register_target_pragmas): Ditto. | |
9457 | ||
046a838d | 9458 | 2013-01-06 Jakub Jelinek <jakub@redhat.com> |
9459 | ||
9460 | * varasm.c (output_constant_def_contents): For asan_protect_global | |
9461 | protected strings, adjust DECL_ALIGN if needed, before testing for | |
9462 | anchored symbols. | |
9463 | (place_block_symbol): Adjust size for asan protected STRING_CSTs if | |
9464 | TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected | |
9465 | normal decls. | |
9466 | (output_object_block): For asan protected decls, emit asan padding | |
9467 | after their contents. | |
9468 | * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here. | |
9469 | (asan_finish_file): Test it here instead. | |
9470 | ||
7a87c8e1 | 9471 | 2013-01-07 Nick Clifton <nickc@redhat.com> |
9472 | Matthias Klose <doko@debian.org> | |
9473 | Doug Kwan <dougkwan@google.com> | |
9474 | H.J. Lu <hongjiu.lu@intel.com> | |
99d5fe2d | 9475 | |
9476 | PR driver/55470 | |
9477 | * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold. | |
9478 | ||
9479 | * common.opt: Add fuse-ld=bfd and fuse-ld=gold. | |
9480 | ||
9481 | * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2. | |
9482 | ||
889d67a8 | 9483 | * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold. |
99d5fe2d | 9484 | |
9485 | * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold. | |
9486 | ||
67cec000 | 9487 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
9488 | ||
5b804f86 | 9489 | PR target/54461 |
67cec000 | 9490 | * doc/install.texi (Cross-Compiler-Specific Options): Document |
9491 | --with-avrlibc. | |
9492 | ||
9de19dd2 | 9493 | 2013-01-07 Tejas Belagod <tejas.belagod@arm.com> |
9494 | ||
9495 | * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32, | |
9496 | vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64, | |
9497 | vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16, | |
9498 | vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32, | |
9499 | vqmovun_high_s64): Fix source operand number and update copyright. | |
9500 | ||
789a8d72 | 9501 | 2013-01-07 Richard Biener <rguenther@suse.de> |
9502 | ||
9503 | PR middle-end/55890 | |
9504 | * gimple.h (gimple_call_builtin_p): New overload. | |
9505 | * gimple.c (validate_call): New function. | |
9506 | (gimple_call_builtin_p): Likewise. | |
9507 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
9508 | Use gimple_call_builtin_p. | |
9509 | (find_func_clobbers): Likewise. | |
9510 | * tree-ssa-strlen.c (adjust_last_stmt): Likewise. | |
9511 | (strlen_optimize_stmt): Likewise. | |
9512 | ||
71e72cc2 | 9513 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
9514 | ||
9515 | * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const. | |
9516 | (vld1q_dup_*): Likewise. | |
9517 | (vld1_*): Likewise. | |
9518 | (vld1q_*): Likewise. | |
9519 | (vld1_lane_*): Likewise. | |
9520 | (vld1q_lane_*): Likewise. | |
9521 | ||
85fd8f96 | 9522 | 2013-01-07 Richard Biener <rguenther@suse.de> |
9523 | ||
9524 | * lto-streamer.h (LTO_minor_version): Bump to 2. | |
9525 | ||
72841352 | 9526 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
9527 | ||
9528 | * config/aarch64/aarch64-protos.h | |
9529 | (aarch64_const_double_zero_rtx_p): Rename to... | |
9530 | (aarch64_float_const_zero_rtx_p): ...this. | |
9531 | (aarch64_float_const_representable_p): New. | |
9532 | (aarch64_output_simd_mov_immediate): Likewise. | |
9533 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor | |
9534 | move immediate case. | |
9535 | * config/aarch64/aarch64.c | |
9536 | (aarch64_const_double_zero_rtx_p): Rename to... | |
9537 | (aarch64_float_const_zero_rtx_p): ...this. | |
9538 | (aarch64_print_operand): Allow printing of new constants. | |
9539 | (aarch64_valid_floating_const): New. | |
9540 | (aarch64_legitimate_constant_p): Check for valid floating-point | |
9541 | constants. | |
9542 | (aarch64_simd_valid_immediate): Likewise. | |
9543 | (aarch64_vect_float_const_representable_p): New. | |
9544 | (aarch64_float_const_representable_p): Likewise. | |
9545 | (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0. | |
9546 | (aarch64_output_simd_mov_immediate): New. | |
9547 | * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative. | |
9548 | (*movdf_aarch64): Likewise. | |
9549 | * config/aarch64/constraints.md (Ufc): New. | |
9550 | (Y): call aarch64_float_const_zero_rtx. | |
9551 | * config/aarch64/predicates.md (aarch64_fp_compare_operand): New. | |
9552 | ||
4a101a28 | 9553 | 2013-01-07 Richard Biener <rguenther@suse.de> |
9554 | ||
9555 | PR tree-optimization/55888 | |
9556 | PR tree-optimization/55862 | |
9557 | * tree-ssa-pre.c (phi_translate_1): Revert previous change. | |
9558 | (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT, | |
9559 | not if it is contained therein. | |
9560 | ||
3b808880 | 9561 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
9562 | ||
9563 | * config/avr/t-avr: Typo. | |
9564 | ||
8d0c391e | 9565 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
9566 | ||
9567 | PR55243 | |
9568 | * config/avr/t-avr: Don't automatically rebuild | |
9569 | $(srcdir)/config/avr/t-multilib | |
9570 | $(srcdir)/config/avr/avr-tables.opt | |
9571 | $(srcdir)/doc/avr-mmcu.texi | |
9572 | (avr-mcus): New phony target to build them on request. | |
9573 | (s-avr-mlib, s-avr-mmcu-texi): Remove. | |
9574 | * avr/avr-mcus.def: Adjust comments. | |
9575 | ||
e655d10e | 9576 | 2013-01-07 Uros Bizjak <ubizjak@gmail.com> |
9577 | ||
9578 | * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove. | |
9579 | ||
e2585731 | 9580 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
9581 | ||
9582 | * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder. | |
9583 | ||
e19a420f | 9584 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
9585 | ||
9586 | * config/tilepro/gen-mul-tables.cc: Put copyright on one line. | |
9587 | ||
eab80725 | 9588 | 2013-01-05 David Edelsohn <dje.gcc@gmail.com> |
9589 | ||
9590 | * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling | |
9591 | to generate profiling. | |
9592 | * config/rs6000/aix64.h (LIB_SPEC): Same. | |
9593 | ||
b49f35d1 | 9594 | 2013-01-04 Andrew Pinski <apinski@cavium.com> |
9595 | ||
9596 | * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs): | |
9597 | New function. | |
9598 | (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
9599 | ||
370a62b6 | 9600 | 2013-01-04 Uros Bizjak <ubizjak@gmail.com> |
9601 | ||
9602 | * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode | |
9603 | unconditionally. | |
9604 | (ix86_expand_move): Ditto. | |
9605 | (ix86_zero_extend_to_Pmode): Ditto. | |
9606 | (ix86_expand_call): Ditto. | |
9607 | (ix86_expand_special_args_builtin): Ditto. | |
9608 | (ix86_expand_builtin): Ditto. | |
9609 | ||
15b93bb9 | 9610 | 2013-01-04 Richard Biener <rguenther@suse.de> |
9611 | ||
9612 | PR tree-optimization/55862 | |
9613 | * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after | |
9614 | translating them through PHI nodes. | |
9615 | ||
d210dffc | 9616 | 2013-01-04 Martin Jambor <mjambor@suse.cz> |
9617 | ||
9618 | PR tree-optimization/55755 | |
9619 | * tree-sra.c (sra_modify_assign): Do not check that an access has no | |
9620 | children when trying to avoid producing a VIEW_CONVERT_EXPR. | |
9621 | ||
9448cf4a | 9622 | 2013-01-04 Marek Polacek <polacek@redhat.com> |
9623 | ||
9624 | PR middle-end/55859 | |
9625 | * opts.c (default_options_optimization): Clarify error message. | |
9626 | ||
65afafea | 9627 | 2013-01-04 Richard Biener <rguenther@suse.de> |
9628 | ||
9629 | PR middle-end/55863 | |
9630 | * fold-const.c (split_tree): Undo -X - 1 to ~X folding for | |
9631 | reassociation. | |
9632 | ||
dfb5e2bf | 9633 | 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
9634 | ||
9635 | PR target/53789 | |
9636 | * config/pa/pa.md (movsi): Revert previous change. | |
a97fe562 | 9637 | * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol |
9638 | references. | |
dfb5e2bf | 9639 | |
8c7f6993 | 9640 | 2013-01-03 Richard Henderson <rth@redhat.com> |
9641 | ||
9642 | * config/i386/i386.c (ix86_expand_move): Always assign to op1 | |
9643 | after eliminating TLS symbols. | |
9644 | ||
de2e6b8a | 9645 | 2013-01-03 Marc Glisse <marc.glisse@inria.fr> |
9646 | ||
9647 | PR bootstrap/50167 | |
9648 | * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf. | |
9649 | * graphite-poly.c (debug_gmp_value): Likewise. | |
9650 | ||
a678c584 | 9651 | 2013-01-03 Uros Bizjak <ubizjak@gmail.com> |
9652 | ||
9653 | PR target/55712 | |
9654 | * config/i386/i386-c.c (ix86_target_macros_internal): Depending on | |
9655 | selected code model, define __code_mode_small__, __code_model_medium__, | |
9656 | __code_model_large__, __code_model_32__ or __code_model_kernel__. | |
9657 | * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix | |
9658 | xchg temporary register with %k. Declare temporary register as | |
9659 | early clobbered. | |
9660 | [__x86_64__]: For medium and large code models, preserve %rbx register. | |
9661 | ||
984cebc1 | 9662 | 2013-01-03 Richard Biener <rguenther@suse.de> |
9663 | ||
98e7c1f5 | 9664 | * tree-data-ref.c (dump_conflict_function): Use less vertical spacing. |
984cebc1 | 9665 | (dump_subscript): Adjust. |
9666 | (finalize_ddr_dependent): Do not dump redundant info. | |
9667 | (analyze_siv_subscript): Adjust. | |
9668 | (subscript_dependence_tester): Likewise. | |
9669 | (compute_affine_dependence): Likewise. | |
9670 | ||
6f75c845 | 9671 | 2013-01-03 Richard Biener <rguenther@suse.de> |
9672 | ||
9673 | Revert | |
9674 | 2013-01-03 Richard Biener <rguenther@suse.de> | |
9675 | ||
9676 | PR tree-optimization/55857 | |
9677 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
9678 | re-alignment for invariant loads. | |
9679 | ||
9680 | 2013-01-02 Richard Biener <rguenther@suse.de> | |
9681 | ||
9682 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
98e7c1f5 | 9683 | invariant load do not generate a vector load from the scalar location. |
6f75c845 | 9684 | |
3c18ea71 | 9685 | 2013-01-03 Richard Biener <rguenther@suse.de> |
9686 | ||
9687 | * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason | |
9688 | for not vectorizing. | |
9689 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do | |
9690 | not build INDIRECT_REFs, call get_name once only. | |
9691 | (vect_create_data_ref_ptr): Likewise. Dump base object kind | |
9692 | based on DR_BASE_OBJECT, not DR_BASE_ADDRESS. | |
9693 | ||
59ff1f4a | 9694 | 2013-01-03 Richard Biener <rguenther@suse.de> |
9695 | ||
9696 | PR tree-optimization/55857 | |
9697 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
9698 | re-alignment for invariant loads. | |
9699 | ||
5b777cea | 9700 | 2013-01-03 Richard Biener <rguenther@suse.de> |
9701 | ||
9702 | PR lto/55848 | |
9703 | * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always | |
9704 | prefer a built-in decl. | |
9705 | ||
e4bef271 | 9706 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
9707 | ||
1f3894c9 | 9708 | * gcc.c (process_command): Update copyright notice dates. |
9709 | * gcov.c (print_version): Likewise. | |
9710 | * gcov-dump.c (print_version): Likewise. | |
9711 | ||
e4bef271 | 9712 | PR rtl-optimization/55838 |
9713 | * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on | |
9714 | iv0.step, iv1.step and step. | |
9715 | ||
d871c5dc | 9716 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
9717 | Marc Glisse <marc.glisse@inria.fr> | |
9718 | ||
9719 | PR tree-optimization/55832 | |
9720 | * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and | |
9721 | ABS_EXPR<x> < 0 folding use constant_boolean_node instead of | |
9722 | integer_{one,zero}_node. | |
9723 | ||
78ea005d | 9724 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
9725 | ||
9726 | PR debug/54402 | |
9727 | * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param. | |
9728 | * var-tracking.c (reverse_op): Don't add reverse ops to | |
9729 | VALUEs that have already | |
98e7c1f5 | 9730 | PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list. |
78ea005d | 9731 | |
df8f46da | 9732 | 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com> |
9733 | ||
9734 | * doc/contrib.texi: Note years as release manager for Mark Mitchell. | |
9735 | ||
f55775aa | 9736 | 2013-01-02 Teresa Johnson <tejohnson@google.com> |
9737 | ||
9738 | * dumpfile.c (dump_loc): Print filename with location. | |
9739 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use | |
9740 | new location_t parameter to emit complete unroll message with | |
9741 | new dump framework. | |
9742 | (canonicalize_loop_induction_variables): Compute loops location | |
9743 | and pass to try_unroll_loop_completely. | |
9744 | * loop-unroll.c (report_unroll_peel): New function. | |
9745 | (peel_loops_completely): Use new dump format with location | |
9746 | for main dumpfile message, and invoke report_unroll_peel on success. | |
9747 | (decide_unrolling_and_peeling): Ditto. | |
9748 | (decide_peel_once_rolling): Remove old dumpfile message subsumed | |
9749 | by report_unroll_peel. | |
9750 | (decide_peel_completely): Ditto. | |
9751 | (decide_unroll_constant_iterations): Ditto. | |
9752 | (decide_unroll_runtime_iterations): Ditto. | |
9753 | (decide_peel_simple): Ditto. | |
9754 | (decide_unroll_stupid): Ditto. | |
9755 | * cfgloop.c (get_loop_location): New function. | |
9756 | * cfgloop.h (get_loop_location): Declare. | |
9757 | ||
13367f52 | 9758 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
9759 | ||
9760 | * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for | |
9761 | NULL. | |
9762 | ||
7b642468 | 9763 | 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
9764 | ||
9765 | PR middle-end/55198 | |
9766 | * expr.c (expand_expr_real_1): Don't use bitfield extraction for non | |
9767 | BLKmode objects when EXPAND_MEMORY is specified. | |
9768 | ||
bad821ff | 9769 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
9770 | ||
9771 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug | |
9772 | in loop predicate. | |
9773 | (fold_builtin_cpu): Do not share cpu model decls across statements. | |
9774 | ||
c5cfcf40 | 9775 | 2013-01-02 Jason Merrill <jason@redhat.com> |
9776 | ||
9777 | PR c++/55804 | |
9778 | * tree.c (build_array_type_1): Revert earlier change. | |
9779 | ||
47509174 | 9780 | 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com> |
9781 | ||
9782 | * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and | |
9783 | "cortex-a57". | |
9784 | * config/aarch64/aarch64-tune.md: Re-generate. | |
9785 | ||
bca2a61e | 9786 | 2013-01-02 Richard Biener <rguenther@suse.de> |
9787 | ||
9788 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
98e7c1f5 | 9789 | invariant load do not generate a vector load from the scalar location. |
bca2a61e | 9790 | |
f67e1abf | 9791 | 2013-01-02 Richard Biener <rguenther@suse.de> |
9792 | ||
9793 | PR bootstrap/55784 | |
9794 | * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS. | |
9795 | * configure: Regenerate. | |
9796 | ||
de2e453e | 9797 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
9798 | ||
9799 | * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2) | |
9800 | (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3) | |
9801 | (expand_builtin_int_roundingfn_2): Keep the original target around | |
9802 | for the fallback case. | |
9803 | ||
ab4cb266 | 9804 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
9805 | ||
9806 | * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int | |
9807 | to be clear for sign changes. | |
9808 | ||
e876d531 | 9809 | 2013-01-01 Jan Hubicka <jh@suse.cz> |
9810 | ||
9811 | * ipa-inline-analysis.c: Fix formatting. | |
9812 | ||
c3c33891 | 9813 | 2013-01-01 Jakub Jelinek <jakub@redhat.com> |
9814 | ||
9815 | PR tree-optimization/55831 | |
9816 | * tree-vect-loop.c (get_initial_def_for_induction): Use | |
9817 | gsi_after_labels instead of gsi_start_bb. | |
7dfbd804 | 9818 | \f |
b3c5d881 | 9819 | Copyright (C) 2013 Free Software Foundation, Inc. |
7dfbd804 | 9820 | |
9821 | Copying and distribution of this file, with or without modification, | |
9822 | are permitted in any medium without royalty provided the copyright | |
9823 | notice and this notice are preserved. |