]>
Commit | Line | Data |
---|---|---|
0de86a92 JU |
1 | 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de> |
2 | ||
3 | * config/mips/mips.h (ISA_HAS_MUL3): Include TARGET_MIPS5900. | |
4 | (ISA_HAS_MULT, ISA_HAS_DMULT, ISA_HAS_DIV, ISA_HAS_DDIV): New macros. | |
5 | * config/mips/mips.md (mul<mode>3, mul<mode>3_internal) | |
6 | (mul<mode>3_r4000): Require ISA_HAS_<D>MULT. | |
7 | (mul<mode>3_mul3): Handle TARGET_MIPS5900. | |
8 | (mulsidi3_64bit_dmul): Remove redundant TARGET_64BIT test. | |
9 | (<su>muldi3_highpart, <su>muldi3_highpart_internal, <u>mulditi3) | |
10 | (<u>mulditi3_internal, <u>mulditi3_r4000): Require ISA_HAS_DMULT | |
11 | instead of TARGET_64BIT. | |
12 | (divmod<mode>4, udivmod<mode>4, <u>divmod<GPR:mode>4_hilo_<HILO:mode>): | |
13 | Require ISA_HAS_<D>DIV. | |
14 | ||
74240413 RS |
15 | 2013-06-16 Richard Sandiford <rdsandiford@googlemail.com> |
16 | ||
17 | * config.gcc (mips*-mti-linux*, mips64*-*-linux*, mipsisa64*-*-linux*) | |
18 | (mips*-*-linux*): Move default with_llsc setting to where other | |
19 | defaults are set. | |
20 | (mips*-*-vxworks*): Move with_arch default from with_cpu block to | |
21 | with_arch block. | |
22 | (mips64r5900-*-*, mips64r5900el-*-*, mipsr5900-*-*, mipsr5900el-*-*): | |
23 | Likewise. Remove default with_tune setting. Move default float | |
24 | setting to its own block. Handle with_llsc in the same block as above. | |
25 | ||
393f9fed JR |
26 | 2013-06-16 Joern Rennecke <joern.rennecke@embecosm.com> |
27 | ||
28 | PR rtl-optimization/57425 | |
29 | PR rtl-optimization/57569 | |
30 | * alias.c (write_dependence_p): Add new parameters mem_size, | |
31 | canon_mem_addr and mem_canonicalized. Change type of writep to bool. | |
32 | Changed all callers. | |
33 | (canon_anti_dependence): New function. | |
34 | * cse.c (check_dependence): Use canon_anti_dependence. | |
35 | * cselib.c (cselib_invalidate_mem): Likewise. | |
36 | * rtl.h (canon_anti_dependence): Declare. | |
37 | ||
b259d352 JU |
38 | 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de> |
39 | ||
40 | * config/mips/mips.h (ISA_HAS_LL_SC): Exclude TARGET_MIPS5900. | |
41 | * config/mips/mips.c (mips_start_ll_sc_sync_block): Output | |
42 | ".set mips3" for 64-bit targets. | |
43 | ||
4de09b85 DC |
44 | 2013-06-15 Dehao Chen <dehao@google.com> |
45 | ||
46 | * tree-flow.h (gimple_check_call_matching_types): Add new argument. | |
47 | * gimple-low.c (gimple_check_call_matching_types): Likewise. | |
48 | (gimple_check_call_args): Likewise. | |
49 | * value-prof.c (check_ic_target): Likewise. | |
50 | * ipa-inline.c (early_inliner): Likewise. | |
51 | * ipa-prop.c (update_indirect_edges_after_inlining): Likewise. | |
52 | * cgraph.c (cgraph_create_edge_1): Likewise. | |
53 | (cgraph_make_edge_direct): Likewise. | |
54 | ||
d1aa4a76 MM |
55 | 2013-06-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
56 | ||
57 | PR target/57615 | |
58 | * config/rs6000/rs6000.md (mov<mode>_ppc64): Call | |
59 | rs6000_output_move_128bit to handle emitting quad memory | |
60 | operations. Set attribute length to 8 bytes. | |
61 | ||
24244e4d VP |
62 | 2013-06-14 Vidya Praveen <vidyapraveen@arm.com> |
63 | ||
64 | * config/aarch64/aarch64-simd.md (aarch64_<su>mlal_lo<mode>): | |
65 | New pattern. | |
66 | (aarch64_<su>mlal_hi<mode>, aarch64_<su>mlsl_lo<mode>): Likewise. | |
67 | (aarch64_<su>mlsl_hi<mode>, aarch64_<su>mlal<mode>): Likewise. | |
68 | (aarch64_<su>mlsl<mode>): Likewise. | |
69 | ||
f5273574 MS |
70 | 2013-06-14 Mike Stump <mikestump@comcast.net> |
71 | ||
72 | * Makefile.in (TARGET_H): Add insn-codes.h. | |
73 | ||
ef7e7ab2 AM |
74 | 2013-06-14 Alan Modra <amodra@gmail.com> |
75 | ||
76 | PR middle-end/57134 | |
77 | PR middle-end/57586 | |
78 | * expr.c (expand_expr_real_1 <normal_inner_ref>): Pass | |
79 | EXPAND_MEMORY and EXPAND_WRITE to recursive call. Don't use | |
80 | bitfield expansion when EXPAND_MEMORY. | |
81 | (expand_expr_real_1 <VIEW_CONVERT_EXPR>): Pass modifier likewise. | |
82 | ||
135faab6 MM |
83 | 2013-06-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
84 | ||
85 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Move | |
86 | test for clearing quad memory on 32-bit later. | |
87 | ||
948a1fd9 MG |
88 | 2013-06-13 Marc Glisse <marc.glisse@inria.fr> |
89 | ||
90 | * fold-const.c (negate_expr_p): Handle VECTOR_CST. | |
91 | (fold_negate_expr): Likewise. | |
92 | (fold_real_zero_addition_p): Handle vectors. | |
93 | (fold_binary_loc) <PLUS_EXPR, MINUS_EXPR>: Likewise. | |
94 | ||
0597fb9c AM |
95 | 2013-06-14 Alan Modra <amodra@gmail.com> |
96 | ||
97 | * varasm.c (force_const_mem): Revert 2013-06-07 change. | |
98 | ||
e5b962d0 JH |
99 | 2013-06-13 Jan Hubicka <jh@suse.cz> |
100 | ||
101 | * ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): | |
102 | Local comdats are not externally visible. | |
103 | * symtab.c (dump_symtab_base): Dump externally visible. | |
104 | (verify_symtab_base): Verify back links in the symtab hash. | |
105 | ||
a8355e51 BC |
106 | 2013-06-13 Bin Cheng <bin.cheng@arm.com> |
107 | ||
108 | * fold-const.c (operand_equal_p): Consider NOP_EXPR and | |
109 | CONVERT_EXPR as equal nodes. | |
110 | ||
8f7e6e33 BC |
111 | 2013-06-13 Bin Cheng <bin.cheng@arm.com> |
112 | ||
113 | * rtlanal.c (noop_move_p): Check the code to be executed for | |
114 | COND_EXEC. | |
115 | ||
5d418483 MG |
116 | 2013-06-13 Marc Glisse <marc.glisse@inria.fr> |
117 | ||
118 | * tree-ssa-forwprop.c (simplify_bitwise_binary, associate_plusminus): | |
119 | Generalize to complex and vector. | |
120 | * tree.c (build_all_ones_cst): New function. | |
121 | * tree.h (build_all_ones_cst): Declare it. | |
122 | ||
50751417 AM |
123 | 2013-06-13 Alan Modra <amodra@gmail.com> |
124 | ||
125 | * config/rs6000/rs6000.h (LONG_DOUBLE_LARGE_FIRST): Define. | |
126 | * config/rs6000/rs6000.md (signbittf2): New insn. | |
127 | (extenddftf2_internal): Use LONG_DOUBLE_LARGE_FIRST. | |
128 | (abstf2_internal, cmptf_internal2): Likewise. | |
129 | * config/rs6000/spe.md (spe_abstf2_cmp, spe_abstf2_tst): Likewise. | |
130 | ||
4b02c962 MM |
131 | 2013-06-12 Michael Meissner <meissner@linux.vnet.ibm.com> |
132 | Pat Haugen <pthaugen@us.ibm.com> | |
133 | Peter Bergner <bergner@vnet.ibm.com> | |
134 | ||
135 | * config/rs6000/rs6000.c (emit_load_locked): Add support for | |
136 | power8 byte, half-word, and quad-word atomic instructions. | |
137 | (emit_store_conditional): Likewise. | |
138 | (rs6000_expand_atomic_compare_and_swap): Likewise. | |
139 | (rs6000_expand_atomic_op): Likewise. | |
140 | ||
141 | * config/rs6000/sync.md (larx): Add new modes for power8. | |
142 | (stcx): Likewise. | |
143 | (AINT): New mode iterator to include TImode as well as normal | |
144 | integer modes on power8. | |
145 | (fetchop_pred): Use int_reg_operand instead of gpc_reg_operand so | |
146 | that VSX registers are not considered. Use AINT mode iterator | |
147 | instead of INT1 to allow inclusion of quad word atomic operations | |
148 | on power8. | |
149 | (load_locked<mode>): Likewise. | |
150 | (store_conditional<mode>): Likewise. | |
151 | (atomic_compare_and_swap<mode>): Likewise. | |
152 | (atomic_exchange<mode>): Likewise. | |
153 | (atomic_nand<mode>): Likewise. | |
154 | (atomic_fetch_<fetchop_name><mode>): Likewise. | |
155 | (atomic_nand_fetch<mode>): Likewise. | |
156 | (mem_thread_fence): Use gen_loadsync_<mode> instead of enumerating | |
157 | each type. | |
158 | (ATOMIC): On power8, add QImode, HImode modes. | |
159 | (load_locked<QHI:mode>_si): Varients of load_locked for QI/HI | |
160 | modes that promote to SImode. | |
161 | (load_lockedti): Convert TImode arguments to PTImode, so that we | |
162 | get a guaranteed even/odd register pair. | |
163 | (load_lockedpti): Likewise. | |
164 | (store_conditionalti): Likewise. | |
165 | (store_conditionalpti): Likewise. | |
166 | ||
167 | * config/rs6000/rs6000.md (QHI): New mode iterator for power8 | |
168 | atomic load/store instructions. | |
169 | (HSI): Likewise. | |
170 | ||
710b6cc1 RS |
171 | 2013-06-12 Richard Sandiford <rdsandiford@googlemail.com> |
172 | ||
173 | * config/mips/mips.md (extended_mips16): Include GOT and constant-pool | |
174 | loads. | |
175 | (insn_count): New attribute, with most cases extracted from... | |
176 | (length): ...here. Redefine most cases in terms of insn_count. | |
177 | (single_insn): Delete. | |
178 | (can_delay): Use insn_count to check for single instructions. | |
179 | (*mul<mode>3_r4300, mul<mode>3_r4000, *mul_acc_si, *mul_acc_si_r3900) | |
180 | (*msac_using_macc, *mul_sub_si, <u>mulsidi3_32bit_r4000) | |
181 | (<u>mulsidi3_64bit_r4000, <su>muldi3_highpart_internal) | |
182 | (<su>mulsi3_highpart_split, <su>muldi3_highpart_internal) | |
183 | (<u>mulditi3_r4000, *div<mode>3, *recip<mode>3, divmod<mode>4) | |
184 | (udivmod<mode>4, sqrt<mode>2, *rsqrt<mode>a, *rsqrt<mode>b) | |
185 | (fix_truncdfsi2_macro, fix_truncsfsi2_macro, *lea_high64) | |
186 | (*lea64, cprestore_<mode>, clear_hazard_<mode>, <unnamed insn>) | |
187 | (casesi_internal_mips16_<mode>, *tls_get_tp_<mode>_split) | |
188 | (tls_get_tp_mips16, *tls_get_tp_mips16_call_<mode>): Use "insn_count" | |
189 | rather than "length". | |
190 | (tls_get_tp_<mode>): Likewise. Remove redundant "no_delay" attribute. | |
191 | * config/mips/mips-ps-3d.md (mips_c_cond_4s, mips_cabs_cond_4s): | |
192 | Use "insn_count" rather than "length". | |
193 | * config/mips/mips-dsp.md | |
194 | (mips_l<SHORT:size><u>x_ext<GPR:mode>_<P:mode>) | |
195 | (mips_l<GPR:size>x_<P:mode>, *mips_lw<u>x_<P:mode>_ext): Remove | |
196 | length attributes. | |
197 | ||
1951f101 MG |
198 | 2013-06-12 Marc Glisse <marc.glisse@inria.fr> |
199 | ||
200 | PR tree-optimization/57361 | |
201 | * tree-ssa-dse.c (dse_possible_dead_store_p): Handle self-assignment. | |
202 | ||
8b033a8a SN |
203 | 2013-06-12 Sofiane Naci <sofiane.naci@arm.com> |
204 | ||
205 | * config/aarch64/aarch64-simd.md (aarch64_combine<mode>): convert to split. | |
206 | (aarch64_simd_combine<mode>): New instruction expansion. | |
207 | * config/aarch64/aarch64-protos.h (aarch64_split_simd_combine): New | |
208 | function prototype. | |
209 | * config/aarch64/aarch64.c (aarch64_split_combine): New function. | |
210 | * config/aarch64/iterators.md (Vdbl): Add entry for DF. | |
211 | ||
ca0f62a8 JH |
212 | 2013-06-12 Jan Hubicka <jh@suse.cz> |
213 | ||
214 | * cgraph.c (verify_edge_corresponds_to_fndecl): Be lax about | |
215 | decl has when in streaming stage. | |
216 | * lto-symtab.c (lto_symtab_merge_symbols): Likewise. | |
217 | * cgraph.h (cgraph_state): Add CGRAPH_LTO_STREAMING. | |
218 | ||
cddd69eb RS |
219 | 2013-06-12 Roland Stigge <stigge@antcom.de> |
220 | ||
221 | PR target/57578 | |
222 | * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix SPE version detection. | |
223 | ||
bfdeda2c JJ |
224 | 2013-06-12 Jakub Jelinek <jakub@redhat.com> |
225 | ||
226 | PR tree-optimization/57537 | |
227 | * tree-vect-patterns.c (vect_recog_widen_mult_pattern): If | |
228 | vect_handle_widen_op_by_const, convert oprnd1 to half_type1. | |
229 | ||
a4fa02d1 RB |
230 | 2013-06-12 Richard Biener <rguenther@suse.de> |
231 | ||
232 | * data-streamer.h (streamer_write_char_stream): CSE | |
233 | obs->current_pointer. | |
234 | * data-streamer-out.c (streamer_write_uhwi_stream): Inline | |
235 | streamer_write_char_stream manually and optimize the resulting loop. | |
236 | (streamer_write_hwi_stream): Likewise. | |
237 | ||
bbf9ad07 JH |
238 | 2013-06-12 Jan Hubicka <jh@suse.cz> |
239 | ||
240 | * lto-symtab.c (lto_symtab_merge_symbols): Populate symtab hashtable. | |
241 | * cgraph.h (varpool_create_empty_node): Declare. | |
242 | * lto-cgraph.c (input_node, input_varpool_node): Forcingly create | |
243 | duplicated nodes. | |
244 | * symtab.c (symtab_unregister_node): Be lax about missin entries | |
245 | in node hash. | |
246 | (symtab_get_node): Update comment. | |
247 | * varpool.c (varpool_create_empty_node): Break out from ... | |
248 | (varpool_node_for_decl): ... here. | |
249 | * lto-streamer.h (lto_file_decl_data): Add RESOLUTION_MAP. | |
250 | ||
a53f90ad EB |
251 | 2013-06-12 Eric Botcazou <ebotcazou@adacore.com> |
252 | ||
253 | * expr.c (expand_expr_real_1) <TARGET_MEM_REF>: Use straight-line flow. | |
254 | <MEM_REF>: Use 'type' instead of TREE_TYPE (exp) and tidy up the first | |
255 | part. Use straight-line flow at the end. | |
256 | <COMPONENT_REF>: Remove superfluous else. | |
257 | <VIEW_CONVERT_EXPR>: Use 'type' instead of TREE_TYPE (exp). | |
258 | ||
946f9306 JJ |
259 | 2013-06-12 Jakub Jelinek <jakub@redhat.com> |
260 | ||
261 | PR target/56564 | |
262 | * varasm.c (decl_binds_to_current_def_p): Call binds_local_p | |
263 | target hook even for !TREE_PUBLIC decls. If no resolution info | |
264 | is available, return false for common and external decls. | |
265 | ||
a7fca6f0 KP |
266 | 2013-06-12 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
267 | ||
268 | * config/rl78/constraints.md (U): New constraint. | |
269 | * config/rl78/rl78.md (*mulqi3_rl78,*mulhi3_rl78,*mulhi3_g13): Add | |
270 | valloc attribute. | |
271 | ||
c7d8f446 MM |
272 | 2013-06-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
273 | ||
274 | PR target/57589 | |
275 | * config/rs6000/driver-rs6000.c (elf_platform): Make buffer static | |
276 | to allow returning address to AT_PLATFORM name. | |
277 | ||
08346abd JH |
278 | 2013-06-11 Jan Hubicka <jh@suse.cz> |
279 | ||
280 | * cgraph.c (cgraph_create_function_alias): Set weakref flag. | |
281 | * cgraph.h (symtab_node_base): Add weakref flag. | |
282 | * cgraphunit.c (cgraph_reset_node): Clear weakref flag. | |
283 | (handle_alias_pairs): Set weakref flag, do not set DECL_EXTERNAL. | |
284 | (output_weakrefs): Use weakref flag. | |
285 | * fold-const.c (simple_operand_p): Handle WEAK. | |
286 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Drop weakref. | |
287 | * ipa.c (varpool_externally_visible_p): Drop weakref. | |
288 | (function_and_variable_visibility): Update comment; fix weakref | |
289 | sanity checks; do not clear DECL_WEAK on them. | |
290 | * lto-cgraph.c (lto_output_node): update. | |
291 | (lto_output_varpool_node): Update. | |
292 | (input_overwrite_node): Update. | |
293 | (input_node): Update. | |
294 | (input_varpool_node): Update. | |
295 | * lto-symtab.c (lto_symtab_symbol_p): Do not special case weakrefs. | |
296 | (lto_symtab_merge_symbols): Add sanity check. | |
297 | (lto_symtab_prevailing_decl): Do not special case weakrefs. | |
298 | * passes.c (rest_of_decl_compilation): Set static flag, too. | |
299 | * symtab.c (dump_symtab_base): Dump weakref. | |
300 | (verify_symtab_base): Sanity check weakrefs. | |
301 | (symtab_make_decl_local): Remove duplicated code. | |
302 | (symtab_alias_ultimate_target): Simplify. | |
303 | * varpool.c (varpool_create_variable_alias): Set weakref flag. | |
c7d8f446 | 304 | |
d9af3652 DD |
305 | 2013-06-11 DJ Delorie <dj@redhat.com> |
306 | ||
307 | * config/rl78/rl78.c (TARGET_UNWIND_WORD_MODE): Define. | |
308 | (rl78_unwind_word_mode): New. | |
309 | ||
ffa66012 DM |
310 | 2013-06-11 David Malcolm <dmalcolm@redhat.com> |
311 | ||
312 | * final.c (debug_prefix_maps): Make static. | |
313 | ||
783f2d35 DM |
314 | 2013-06-11 David Malcolm <dmalcolm@redhat.com> |
315 | ||
316 | * function.c (initial_trampoline): Remove stray copy. | |
317 | ||
7af26def SN |
318 | 2013-06-11 Sofiane Naci <sofiane.naci@arm.com> |
319 | ||
320 | * config/aarch64/aarch64-simd.md (move_lo_quad_<mode>): Update. | |
321 | ||
97756c0e MJ |
322 | 2013-06-11 Martin Jambor <mjambor@suse.cz> |
323 | ||
324 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that param_index is | |
325 | within bounds at the beginning of the function. | |
326 | ||
2c7b8bf6 AM |
327 | 2013-06-11 Alan Modra <amodra@gmail.com> |
328 | ||
329 | * varasm.c (get_section): Don't die on !DECL_P decl. Tidy error | |
330 | reporting. | |
331 | (get_named_section): Don't NULL !DECL_P decl. | |
332 | ||
77cea46e IZ |
333 | 2013-06-11 Igor Zamyatin <igor.zamyatin@intel.com> |
334 | ||
335 | * doc/invoke.texi (core-avx2): Document. | |
336 | (slm): Likewise. | |
337 | (atom): Updated with MOVBE. | |
338 | ||
888f0920 RB |
339 | 2013-06-11 Richard Biener <rguenther@suse.de> |
340 | ||
341 | * collect2.c (main): Do not redirect ld stdout/stderr when | |
342 | debugging. | |
343 | ||
6b438d58 AB |
344 | 2013-06-11 Anton Blanchard <anton@samba.org> |
345 | ||
346 | * config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Calculate | |
347 | correct shift value in little-endian mode. | |
348 | ||
3bc66938 JJ |
349 | 2013-06-11 Jakub Jelinek <jakub@redhat.com> |
350 | ||
351 | PR target/56564 | |
352 | * varasm.c (get_variable_align): Move #endif to the right place. | |
353 | ||
a5dc7f88 CC |
354 | 2013-06-10 Cary Coutant <ccoutant@google.com> |
355 | ||
356 | * dwarf2out.c (hash_external_ref): Use die_symbol or signature | |
357 | for hash so that hash table traversal order is deterministic. | |
358 | ||
19be72ab MM |
359 | 2013-06-10 Michael Meissner <meissner@linux.vnet.ibm.com> |
360 | Pat Haugen <pthaugen@us.ibm.com> | |
361 | Peter Bergner <bergner@vnet.ibm.com> | |
362 | ||
363 | * config/rs6000/vector.md (GPR move splitter): Do not split moves | |
364 | of vectors in GPRS if they are direct moves or quad word load or | |
365 | store moves. | |
366 | ||
367 | * config/rs6000/rs6000-protos.h (rs6000_output_move_128bit): Add | |
368 | declaration. | |
369 | (direct_move_p): Likewise. | |
370 | (quad_load_store_p): Likewise. | |
371 | ||
372 | * config/rs6000/rs6000.c (enum rs6000_reg_type): Simplify register | |
373 | classes into bins based on the physical register type. | |
374 | (reg_class_to_reg_type): Likewise. | |
375 | (IS_STD_REG_TYPE): Likewise. | |
376 | (IS_FP_VECT_REG_TYPE): Likewise. | |
377 | (reload_fpr_gpr): Arrays to determine what insn to use if we can | |
378 | use direct move instructions. | |
379 | (reload_gpr_vsx): Likewise. | |
380 | (reload_vsx_gpr): Likewise. | |
381 | (rs6000_init_hard_regno_mode_ok): Precalculate the register type | |
382 | information that is a simplification of register classes. Also | |
383 | precalculate direct move reload helpers. | |
384 | (direct_move_p): New function to return true if the operation can | |
385 | be done as a direct move instruciton. | |
386 | (quad_load_store_p): New function to return true if the operation | |
387 | is a quad memory operation. | |
388 | (rs6000_legitimize_address): If quad memory, only allow register | |
389 | indirect for TImode addresses. | |
390 | (rs6000_legitimate_address_p): Likewise. | |
391 | (enum reload_reg_type): Delete, replace with rs6000_reg_type. | |
392 | (rs6000_reload_register_type): Likewise. | |
393 | (register_to_reg_type): Return register type. | |
394 | (rs6000_secondary_reload_simple_move): New helper function for | |
395 | secondary reload and secondary memory needed to identify anything | |
396 | that is a simple move, and does not need reloading. | |
397 | (rs6000_secondary_reload_direct_move): New helper function for | |
398 | secondary reload to identify cases that can be done with several | |
399 | instructions via the direct move instructions. | |
400 | (rs6000_secondary_reload_move): New helper function for secondary | |
401 | reload to identify moves between register types that can be done. | |
402 | (rs6000_secondary_reload): Add support for quad memory operations | |
403 | and for direct move. | |
404 | (rs6000_secondary_memory_needed): Likewise. | |
405 | (rs6000_debug_secondary_memory_needed): Change argument names. | |
406 | (rs6000_output_move_128bit): New function to return the move to | |
407 | use for 128-bit moves, including knowing about the various | |
408 | limitations of quad memory operations. | |
409 | ||
410 | * config/rs6000/vsx.md (vsx_mov<mode>): Add support for quad | |
411 | memory operations. call rs6000_output_move_128bit for the actual | |
412 | instruciton(s) to generate. | |
413 | (vsx_movti_64bit): Likewise. | |
414 | ||
415 | * config/rs6000/rs6000.md (UNSPEC_P8V_FMRGOW): New unspec values. | |
416 | (UNSPEC_P8V_MTVSRWZ): Likewise. | |
417 | (UNSPEC_P8V_RELOAD_FROM_GPR): Likewise. | |
418 | (UNSPEC_P8V_MTVSRD): Likewise. | |
419 | (UNSPEC_P8V_XXPERMDI): Likewise. | |
420 | (UNSPEC_P8V_RELOAD_FROM_VSX): Likewise. | |
421 | (UNSPEC_FUSION_GPR): Likewise. | |
422 | (FMOVE128_GPR): New iterator for direct move. | |
423 | (f32_lv): New mode attribute for load/store of SFmode/SDmode | |
424 | values. | |
425 | (f32_sv): Likewise. | |
426 | (f32_dm): Likewise. | |
427 | (zero_extend<mode>di2_internal1): Add support for power8 32-bit | |
428 | loads and direct move instructions. | |
429 | (zero_extendsidi2_lfiwzx): Likewise. | |
430 | (extendsidi2_lfiwax): Likewise. | |
431 | (extendsidi2_nocell): Likewise. | |
432 | (floatsi<mode>2_lfiwax): Likewise. | |
433 | (lfiwax): Likewise. | |
434 | (floatunssi<mode>2_lfiwzx): Likewise. | |
435 | (lfiwzx): Likewise. | |
436 | (fix_trunc<mode>_stfiwx): Likewise. | |
437 | (fixuns_trunc<mode>_stfiwx): Likewise. | |
438 | (mov<mode>_hardfloat, 32-bit floating point): Likewise. | |
439 | (mov<move>_hardfloat64, 64-bit floating point): Likewise. | |
440 | (parity<mode>2_cmpb): Set length/type attr. | |
441 | (unnamed shift right patterns, mov<mode>_internal2): Change type attr | |
442 | for 'mr.' to fast_compare. | |
443 | (bpermd_<mode>): Change type attr to popcnt. | |
444 | (p8_fmrgow_<mode>): New insns for power8 direct move support. | |
445 | (p8_mtvsrwz_1): Likewise. | |
446 | (p8_mtvsrwz_2): Likewise. | |
447 | (reload_fpr_from_gpr<mode>): Likewise. | |
448 | (p8_mtvsrd_1): Likewise. | |
449 | (p8_mtvsrd_2): Likewise. | |
450 | (p8_xxpermdi_<mode>): Likewise. | |
451 | (reload_vsx_from_gpr<mode>): Likewise. | |
452 | (reload_vsx_from_gprsf): Likewise. | |
453 | (p8_mfvsrd_3_<mode>): LIkewise. | |
454 | (reload_gpr_from_vsx<mode>): Likewise. | |
455 | (reload_gpr_from_vsxsf): Likewise. | |
456 | (p8_mfvsrd_4_disf): Likewise. | |
457 | (multi-word GPR splits): Do not split direct moves or quad memory | |
458 | operations. | |
459 | ||
16876bdc DM |
460 | 2013-06-10 David Malcolm <dmalcolm@redhat.com> |
461 | ||
462 | * tree-into-ssa.c (interesting_blocks): Make static. | |
463 | ||
df8a1d28 JJ |
464 | 2013-06-10 Jakub Jelinek <jakub@redhat.com> |
465 | ||
466 | PR target/56564 | |
467 | * varasm.c (align_variable): Don't use DATA_ALIGNMENT or | |
468 | CONSTANT_ALIGNMENT if !decl_binds_to_current_def_p (decl). | |
469 | Use DATA_ABI_ALIGNMENT for that case instead if defined. | |
470 | (get_variable_align): New function. | |
471 | (get_variable_section, emit_bss, emit_common, | |
472 | assemble_variable_contents, place_block_symbol): Use | |
473 | get_variable_align instead of DECL_ALIGN. | |
474 | (assemble_noswitch_variable): Add align argument, use it | |
475 | instead of DECL_ALIGN. | |
476 | (assemble_variable): Adjust caller. Use get_variable_align | |
477 | instead of DECL_ALIGN. | |
478 | * config/i386/i386.h (DATA_ALIGNMENT): Adjust x86_data_alignment | |
479 | caller. | |
480 | (DATA_ABI_ALIGNMENT): Define. | |
481 | * config/i386/i386-protos.h (x86_data_alignment): Adjust prototype. | |
482 | * config/i386/i386.c (x86_data_alignment): Add opt argument. If | |
483 | opt is false, only return the psABI mandated alignment increase. | |
484 | * config/c6x/c6x.h (DATA_ALIGNMENT): Renamed to... | |
485 | (DATA_ABI_ALIGNMENT): ... this. | |
486 | * config/mmix/mmix.h (DATA_ALIGNMENT): Renamed to... | |
487 | (DATA_ABI_ALIGNMENT): ... this. | |
488 | * config/mmix/mmix.c (mmix_data_alignment): Adjust function comment. | |
489 | * config/s390/s390.h (DATA_ALIGNMENT): Renamed to... | |
490 | (DATA_ABI_ALIGNMENT): ... this. | |
491 | * doc/tm.texi.in (DATA_ABI_ALIGNMENT): Document. | |
492 | * doc/tm.texi: Regenerated. | |
493 | ||
57b29ca6 UB |
494 | 2013-06-10 Uros Bizjak <ubizjak@gmail.com> |
495 | ||
496 | * config/alpha/alpha.c (alpha_emit_xfloating_compare): Also use | |
497 | cmp_code to construct REG_EQUAL note. | |
498 | ||
3e56ed50 JJ |
499 | 2013-06-09 Jakub Jelinek <jakub@redhat.com> |
500 | ||
501 | PR target/57568 | |
502 | * config/i386/i386.md (TARGET_READ_MODIFY_WRITE peepholes): Ensure | |
503 | that operands[2] doesn't overlap with operands[0]. | |
504 | ||
74fe2a1d DE |
505 | 2013-06-09 David Edelsohn <dje.gcc@gmail.com> |
506 | Jan Hubicka <jh@suse.cz> | |
507 | ||
508 | * config/rs6000/rs6000.c (print_operand, 'z'): Remove historical | |
509 | hack to mark symbols as used. | |
510 | ||
ed52a84e VM |
511 | 2013-06-08 Vladimir Makarov <vmakarov@redhat.com> |
512 | ||
513 | PR rtl-optimization/57559 | |
514 | * lra-constraints.c (process_alt_operands): Don't discourage | |
515 | memory with known offset for offsetable memory constraint. | |
516 | * lra.c (lra_emit_add): Exchange y and z for 2-op add insn. | |
517 | ||
299316ed EB |
518 | 2013-06-08 Eric Botcazou <ebotcazou@adacore.com> |
519 | ||
520 | * varasm.c (struct oc_local_state): Reorder fields. | |
521 | (output_constructor_bitfield): Replace OUTER parameter with BIT_OFFSET | |
522 | and adjust accordingly. | |
523 | (output_constructor): Reorder initialization code and adjust call to | |
524 | output_constructor_bitfield. | |
525 | ||
88ac60d3 JH |
526 | 2013-06-07 Jan Hubicka <jh@suse.cz> |
527 | ||
528 | * symtab.c (symtab_resolve_alias): Do not remove alias attribute. | |
529 | ||
4cdce1a8 DM |
530 | 2013-06-07 David Malcolm <dmalcolm@redhat.com> |
531 | ||
532 | * tree-object-size.c (unknown): Make const. | |
533 | ||
b5e0425c AK |
534 | 2013-06-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
535 | ||
536 | * config/s390/s390.md (cpu_facility): Add cpu_zarch. | |
537 | ("*movmem_short", "*clrmem_short", "*cmpmem_short): Use cpu_zarch | |
538 | for last alternative in the cpu_facility attribute. | |
539 | ||
79678d04 KT |
540 | 2013-06-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
541 | ||
542 | PR target/56315 | |
543 | * config/arm/arm.md (*xordi3_insn): Change to insn_and_split. | |
544 | (xordi3): Change operand 2 constraint to arm_xordi_operand. | |
545 | * config/arm/arm.c (const_ok_for_dimode_op): Handle XOR. | |
546 | * config/arm/constraints.md (Dg): New constraint. | |
547 | * config/arm/neon.md (xordi3_neon): Remove. | |
548 | (neon_veor<mode>): Generate xordi3 instead of xordi3_neon. | |
549 | * config/arm/predicates.md (arm_xordi_operand): New predicate. | |
550 | ||
b31ddbdb KT |
551 | 2013-06-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
552 | ||
553 | * config/arm/arm.md (anddi3_insn): Remove duplicate alternatives. | |
554 | Clean up alternatives. | |
555 | ||
8f90b7d4 AM |
556 | 2013-06-07 Alan Modra <amodra@gmail.com> |
557 | ||
558 | * config/rs6000/rs6000.c (setup_incoming_varargs): Round up | |
559 | va_list_gpr_size. | |
560 | ||
961ce119 AM |
561 | 2013-06-07 Alan Modra <amodra@gmail.com> |
562 | ||
563 | * varasm.c (force_const_mem): Assert mode is not VOID or BLK. | |
564 | ||
33e49835 KT |
565 | 2013-06-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
566 | ||
567 | * config/arm/constraints.md (Df): New constraint. | |
568 | * config/arm/arm.md (iordi3_insn): Use Df constraint instead of De. | |
569 | Correct length attribute for last two alternatives. | |
570 | ||
acd17ae6 AM |
571 | 2013-06-07 Alan Modra <amodra@gmail.com> |
572 | ||
573 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
574 | override user -mfp-in-toc. | |
575 | (offsettable_ok_by_alignment): Consider just the current access | |
576 | rather than the whole object, unless BLKmode. Handle | |
577 | CONSTANT_POOL_ADDRESS_P constants that lack a decl too. | |
578 | (use_toc_relative_ref): Allow CONSTANT_POOL_ADDRESS_P constants | |
579 | for -mcmodel=medium. | |
580 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Don't | |
581 | override user -mfp-in-toc or -msum-in-toc. Default to | |
582 | -mno-fp-in-toc for -mcmodel=medium. | |
583 | ||
73310b0e DD |
584 | 2013-06-06 DJ Delorie <dj@redhat.com> |
585 | ||
586 | * config/rl78/rl78.c (rl78_valid_pointer_mode): New, implements | |
587 | TARGET_VALID_POINTER_MODE. | |
588 | ||
0bd62dca MM |
589 | 2013-06-06 Michael Meissner <meissner@linux.vnet.ibm.com> |
590 | Pat Haugen <pthaugen@us.ibm.com> | |
591 | Peter Bergner <bergner@vnet.ibm.com> | |
592 | ||
593 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
594 | Document new power8 builtins. | |
595 | ||
596 | * config/rs6000/vector.md (and<mode>3): Add a clobber/scratch of a | |
597 | condition code register, to allow 128-bit logical operations to be | |
598 | done in the VSX or GPR registers. | |
599 | (nor<mode>3): Use the canonical form for nor. | |
600 | (eqv<mode>3): Add expanders for power8 xxleqv, xxlnand, xxlorc, | |
601 | vclz*, and vpopcnt* vector instructions. | |
602 | (nand<mode>3): Likewise. | |
603 | (orc<mode>3): Likewise. | |
604 | (clz<mode>2): LIkewise. | |
605 | (popcount<mode>2): Likewise. | |
606 | ||
607 | * config/rs6000/predicates.md (int_reg_operand): Rework tests so | |
608 | that only the GPRs are recognized. | |
609 | ||
610 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
611 | support for new power8 builtins. | |
612 | ||
613 | * config/rs6000/rs6000-builtin.def (xscvspdpn): Add new power8 | |
614 | builtin functions. | |
615 | (xscvdpspn): Likewise. | |
616 | (vclz): Likewise. | |
617 | (vclzb): Likewise. | |
618 | (vclzh): Likewise. | |
619 | (vclzw): Likewise. | |
620 | (vclzd): Likewise. | |
621 | (vpopcnt): Likewise. | |
622 | (vpopcntb): Likewise. | |
623 | (vpopcnth): Likewise. | |
624 | (vpopcntw): Likewise. | |
625 | (vpopcntd): Likewise. | |
626 | (vgbbd): Likewise. | |
627 | (vmrgew): Likewise. | |
628 | (vmrgow): Likewise. | |
629 | (eqv): Likewise. | |
630 | (eqv_v16qi3): Likewise. | |
631 | (eqv_v8hi3): Likewise. | |
632 | (eqv_v4si3): Likewise. | |
633 | (eqv_v2di3): Likewise. | |
634 | (eqv_v4sf3): Likewise. | |
635 | (eqv_v2df3): Likewise. | |
636 | (nand): Likewise. | |
637 | (nand_v16qi3): Likewise. | |
638 | (nand_v8hi3): Likewise. | |
639 | (nand_v4si3): Likewise. | |
640 | (nand_v2di3): Likewise. | |
641 | (nand_v4sf3): Likewise. | |
642 | (nand_v2df3): Likewise. | |
643 | (orc): Likewise. | |
644 | (orc_v16qi3): Likewise. | |
645 | (orc_v8hi3): Likewise. | |
646 | (orc_v4si3): Likewise. | |
647 | (orc_v2di3): Likewise. | |
648 | (orc_v4sf3): Likewise. | |
649 | (orc_v2df3): Likewise. | |
650 | ||
651 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Only | |
652 | allow power8 quad mode in 64-bit. | |
653 | (rs6000_builtin_vectorized_function): Add support to vectorize | |
654 | ISA 2.07 count leading zeros, population count builtins. | |
655 | (rs6000_expand_vector_init): On ISA 2.07 use xscvdpspn to form | |
656 | V4SF vectors instead of xscvdpsp to avoid IEEE related traps. | |
657 | (builtin_function_type): Add vgbbd builtin function which takes an | |
658 | unsigned argument. | |
659 | (altivec_expand_vec_perm_const): Add support for new power8 merge | |
660 | instructions. | |
661 | ||
662 | * config/rs6000/vsx.md (VSX_L2): New iterator for 128-bit types, | |
663 | that does not include TImdoe for use with 32-bit. | |
664 | (UNSPEC_VSX_CVSPDPN): Support for power8 xscvdpspn and xscvspdpn | |
665 | instructions. | |
666 | (UNSPEC_VSX_CVDPSPN): Likewise. | |
667 | (vsx_xscvdpspn): Likewise. | |
668 | (vsx_xscvspdpn): Likewise. | |
669 | (vsx_xscvdpspn_scalar): Likewise. | |
670 | (vsx_xscvspdpn_directmove): Likewise. | |
671 | (vsx_and<mode>3): Split logical operations into 32-bit and | |
672 | 64-bit. Add support to do logical operations on TImode as well as | |
673 | VSX vector types. Allow logical operations to be done in either | |
674 | VSX registers or in general purpose registers in 64-bit mode. Add | |
675 | splitters if GPRs were used. For AND, add clobber of CCmode to | |
676 | allow use of ANDI on GPRs. Rewrite nor to use the canonical RTL | |
677 | encoding. | |
678 | (vsx_and<mode>3_32bit): Likewise. | |
679 | (vsx_and<mode>3_64bit): Likewise. | |
680 | (vsx_ior<mode>3): Likewise. | |
681 | (vsx_ior<mode>3_32bit): Likewise. | |
682 | (vsx_ior<mode>3_64bit): Likewise. | |
683 | (vsx_xor<mode>3): Likewise. | |
684 | (vsx_xor<mode>3_32bit): Likewise. | |
685 | (vsx_xor<mode>3_64bit): Likewise. | |
686 | (vsx_one_cmpl<mode>2): Likewise. | |
687 | (vsx_one_cmpl<mode>2_32bit): Likewise. | |
688 | (vsx_one_cmpl<mode>2_64bit): Likewise. | |
689 | (vsx_nor<mode>3): Likewise. | |
690 | (vsx_nor<mode>3_32bit): Likewise. | |
691 | (vsx_nor<mode>3_64bit): Likewise. | |
692 | (vsx_andc<mode>3): Likewise. | |
693 | (vsx_andc<mode>3_32bit): Likewise. | |
694 | (vsx_andc<mode>3_64bit): Likewise. | |
695 | (vsx_eqv<mode>3_32bit): Add support for power8 xxleqv, xxlnand, | |
696 | and xxlorc instructions. | |
697 | (vsx_eqv<mode>3_64bit): Likewise. | |
698 | (vsx_nand<mode>3_32bit): Likewise. | |
699 | (vsx_nand<mode>3_64bit): Likewise. | |
700 | (vsx_orc<mode>3_32bit): Likewise. | |
701 | (vsx_orc<mode>3_64bit): Likewise. | |
702 | ||
703 | * config/rs6000/rs6000.h (VLOGICAL_REGNO_P): Update comment. | |
704 | ||
705 | * config/rs6000/altivec.md (UNSPEC_VGBBD): Add power8 vgbbd | |
706 | instruction. | |
707 | (p8_vmrgew): Add power8 vmrgew and vmrgow instructions. | |
708 | (p8_vmrgow): Likewise. | |
709 | (altivec_and<mode>3): Add clobber of CCmode to allow AND using | |
710 | GPRs to be split under VSX. | |
711 | (p8v_clz<mode>2): Add power8 count leading zero support. | |
712 | (p8v_popcount<mode>2): Add power8 population count support. | |
713 | (p8v_vgbbd): Add power8 gather bits by bytes by doubleword | |
714 | support. | |
715 | ||
716 | * config/rs6000/rs6000.md (eqv<mode>3): Add support for powerp eqv | |
717 | instruction. | |
718 | ||
719 | * config/rs6000/altivec.h (vec_eqv): Add defines to export power8 | |
720 | builtin functions. | |
721 | (vec_nand): Likewise. | |
722 | (vec_vclz): Likewise. | |
723 | (vec_vclzb): Likewise. | |
724 | (vec_vclzd): Likewise. | |
725 | (vec_vclzh): Likewise. | |
726 | (vec_vclzw): Likewise. | |
727 | (vec_vgbbd): Likewise. | |
728 | (vec_vmrgew): Likewise. | |
729 | (vec_vmrgow): Likewise. | |
730 | (vec_vpopcnt): Likewise. | |
731 | (vec_vpopcntb): Likewise. | |
732 | (vec_vpopcntd): Likewise. | |
733 | (vec_vpopcnth): Likewise. | |
734 | (vec_vpopcntw): Likewise. | |
735 | ||
37684c46 VM |
736 | 2013-06-06 Vladimir Makarov <vmakarov@redhat.com> |
737 | ||
738 | PR rtl-optimization/57468 | |
739 | * config/i386/i386.c (inline_secondary_memory_needed): Ignore | |
740 | spilled pseudos. | |
741 | ||
d89ae27c VM |
742 | 2013-06-06 Vladimir Makarov <vmakarov@redhat.com> |
743 | ||
744 | PR rtl-optimization/57459 | |
745 | * lra-constraints.c (update_ebb_live_info): Fix typo for operand | |
746 | type when setting live regs. | |
747 | ||
3597e113 VM |
748 | 2013-06-06 Vladimir Makarov <vmakarov@redhat.com> |
749 | ||
750 | * config/s390/s390.opt (mlra): New option. | |
751 | * config/s390/s390.c (s390_decompose_address): Check displacement | |
752 | for all registers for LRA. | |
753 | (s390_secondary_reload): Don't used secondary reloads for LRA. | |
754 | (s390_lra_p): New function. | |
755 | (TARGET_LRA_P): Define. | |
756 | * config/s390/s390.md (*movmem_short, *clrmem_short): Change value | |
757 | of attribute cpu_facility to zarch for the last alternative. | |
758 | (*cmpmem_short): Ditto. | |
759 | ||
01037aeb EB |
760 | 2013-06-06 Eric Botcazou <ebotcazou@adacore.com> |
761 | ||
762 | * config/arm/arm.c (arm_r3_live_at_start_p): New predicate. | |
763 | (arm_compute_static_chain_stack_bytes): Use it. Tidy up. | |
764 | (arm_expand_prologue): Likewise. | |
765 | ||
3371a64f TJ |
766 | 2013-06-06 Teresa Johnson <tejohnson@google.com> |
767 | ||
768 | PR c++/53743 | |
769 | * ifcvt.c (find_if_case_1): Replace BB_COPY_PARTITION with assert | |
770 | as this is now done by redirect_edge_and_branch_force. | |
771 | * function.c (thread_prologue_and_epilogue_insns): Insert new bb after | |
772 | barriers, and fix interaction with splitting. | |
773 | * emit-rtl.c (try_split): Copy REG_CROSSING_JUMP notes. | |
774 | * cfgcleanup.c (try_forward_edges): Fix early return value to properly | |
775 | reflect changes made in the routine. | |
776 | * bb-reorder.c (emit_barrier_after_bb): Move to cfgrtl.c. | |
777 | (fix_up_fall_thru_edges): Remove incorrect check for bb layout order | |
778 | since this is called in cfglayout mode, and replace partition fixup | |
779 | with assert as that is now done by force_nonfallthru_and_redirect. | |
780 | (add_reg_crossing_jump_notes): Handle the fact that some jumps may | |
781 | already be marked with region crossing note. | |
782 | (insert_section_boundary_note): Make non-static, gate on flag | |
783 | has_bb_partition, rewrite to also check for multiple partitions. | |
784 | (rest_of_handle_reorder_blocks): Remove call to | |
785 | insert_section_boundary_note, now done later during free_cfg. | |
786 | (duplicate_computed_gotos): Don't duplicate partition crossing edge. | |
787 | * bb-reorder.h (insert_section_boundary_note): Declare. | |
788 | * Makefile.in (cfgrtl.o): Depend on bb-reorder.h | |
789 | * cfgrtl.c (rest_of_pass_free_cfg): If partitions exist | |
790 | invoke insert_section_boundary_note. | |
791 | (try_redirect_by_replacing_jump): Remove unnecessary | |
792 | check for region crossing note. | |
793 | (fixup_partition_crossing): New function. | |
794 | (rtl_redirect_edge_and_branch): Fixup partition boundaries. | |
795 | (emit_barrier_after_bb): Move here from bb-reorder.c, handle insertion | |
796 | in non-cfglayout mode. | |
797 | (force_nonfallthru_and_redirect): Fixup partition boundaries, | |
798 | remove old code that tried to do this. Emit barrier correctly | |
799 | when we are in cfglayout mode. | |
800 | (last_bb_in_partition): New function. | |
801 | (rtl_split_edge): Correctly fixup partition boundaries. | |
802 | (commit_one_edge_insertion): Remove old code that tried to | |
803 | fixup region crossing edge since this is now handled in | |
804 | split_block, and set up insertion point correctly since | |
805 | block may now end in a jump. | |
806 | (verify_hot_cold_block_grouping): Guard against checking when not in | |
807 | linearized RTL mode. | |
808 | (rtl_verify_edges): Add checks for incorrect/missing REG_CROSSING_JUMP | |
809 | notes. | |
810 | (rtl_verify_flow_info_1): Move verify_hot_cold_block_grouping to | |
811 | rtl_verify_flow_info, so not called in cfglayout mode. | |
812 | (rtl_verify_flow_info): Move verify_hot_cold_block_grouping here. | |
813 | (fixup_reorder_chain): Remove old code that attempted to fixup region | |
814 | crossing note as this is now handled in force_nonfallthru_and_redirect. | |
815 | (duplicate_insn_chain): Don't duplicate switch section notes. | |
816 | (rtl_can_remove_branch_p): Remove unnecessary check for region crossing | |
817 | note. | |
818 | * basic-block.h (emit_barrier_after_bb): Declare. | |
819 | ||
66071e10 KT |
820 | 2013-06-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
821 | ||
822 | * config/arm/arm-fixed.md (add<mode>3,usadd<mode>3,ssadd<mode>3, | |
823 | sub<mode>3, ussub<mode>3, sssub<mode>3, arm_ssatsihi_shift, | |
824 | arm_usatsihi): Adjust alternatives for arm_restrict_it. | |
825 | ||
0e26bf3d KT |
826 | 2013-06-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
827 | ||
828 | * config/arm/arm-ldmstm.ml: Set "predicable_short_it" to "no" | |
829 | where appropriate. | |
830 | * config/arm/ldmstm.md: Regenerate. | |
831 | ||
12b4e7ef KT |
832 | 2013-06-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
833 | ||
834 | * config/arm/sync.md (atomic_loaddi_1): | |
835 | Disable predication for arm_restrict_it. | |
836 | (arm_load_exclusive<mode>): Likewise. | |
837 | (arm_load_exclusivesi): Likewise. | |
838 | (arm_load_exclusivedi): Likewise. | |
839 | (arm_load_acquire_exclusive<mode>): Likewise. | |
840 | (arm_load_acquire_exclusivesi): Likewise. | |
841 | (arm_load_acquire_exclusivedi): Likewise. | |
842 | (arm_store_exclusive<mode>): Likewise. | |
843 | (arm_store_exclusive<mode>): Likewise. | |
844 | (arm_store_release_exclusivedi): Likewise. | |
845 | (arm_store_release_exclusive<mode>): Likewise. | |
846 | ||
15d16c8a RB |
847 | 2013-06-06 Richard Biener <rguenther@suse.de> |
848 | ||
849 | * lto-streamer.h (enum LTO_tags): Move LTO_tree_pickle_reference | |
850 | after LTO_null. | |
851 | (lto_tag_is_tree_code_p): Adjust. | |
852 | (lto_tag_is_gimple_code_p): Likewise. | |
853 | (lto_gimple_code_to_tag): Likewise. | |
854 | (lto_tag_to_gimple_code): Likewise. | |
855 | (lto_tree_code_to_tag): Likewise. | |
856 | (lto_tag_to_tree_code): Likewise. | |
857 | * data-streamer.h (streamer_write_hwi_in_range): Use | |
858 | uhwi streaming to stream the normalized range. | |
859 | (streamer_read_hwi_in_range): Likewise. | |
860 | ||
17a7fc37 KT |
861 | 2013-06-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
862 | ||
863 | * config/arm/arm.md (enabled_for_depr_it): New attribute. | |
864 | (predicable_short_it): Likewise. | |
865 | (predicated): Likewise. | |
866 | (enabled): Handle above. | |
867 | (define_cond_exec): Set predicated attribute to yes. | |
868 | ||
b57ca59b MS |
869 | 2013-06-05 Mike Stump <mikestump@comcast.net> |
870 | ||
871 | * gdbinit.in (__FUNCTION__): Add. | |
872 | ||
c1e183a9 UB |
873 | 2013-06-05 Uros Bizjak <ubizjak@gmail.com> |
874 | ||
875 | * config/alpha/alpha.c (alpha_emit_conditional_move): Swap all | |
876 | GE, GT, GEU and GTU compares, modulo DImode compares with zero. | |
877 | ||
0378bddb JH |
878 | 2013-06-05 Jan Hubicka <jh@suse.cz> |
879 | ||
880 | * varasm.c (mark_decl_referenced): Revert the removal until targets | |
881 | are fixed. | |
882 | ||
8f8a2057 DE |
883 | 2013-06-05 David Edelsohn <dje.gcc@gmail.com> |
884 | ||
885 | * config/rs6000/rs6000.c (print_operand, 'z'): Use DECL_PRESERVE_P | |
886 | instead of mark_decl_referenced. | |
887 | ||
edb983b2 JH |
888 | 2013-06-05 Jan Hubicka <jh@suse.cz> |
889 | ||
890 | * cgraph.c (cgraph_remove_node): Clear forced_by_abi. | |
891 | (cgraph_node_cannot_be_local_p_1): Honnor symbol.forced_by_abi | |
892 | and symtab_used_from_object_file_p. | |
893 | (cgraph_make_node_local_1): Clear forced_by_abi. | |
894 | (cgraph_can_remove_if_no_direct_calls_and): Use forced_by_abi | |
895 | * cgraph.h (symtab_node_base): Add forced_by_abi. | |
896 | (decide_is_variable_needed): Remove. | |
897 | (varpool_can_remove_if_no_refs): Honnor symbol.forced_by_abi. | |
898 | * cgraphunit.c (cgraph_decide_is_function_needed): Rename to .. | |
899 | (decide_is_symbol_needed): ... this one; handle symbols in general; | |
900 | always analyze virtuals; honnor forced_by_abi. | |
901 | (cgraph_finalize_function): Update. | |
902 | (varpool_finalize_decl): Update. | |
903 | (symbol_defined_and_needed): Remove. | |
904 | (analyze_functions): Update. | |
905 | * lto-cgraph.c (lto_output_node, lto_output_varpool_node, | |
906 | output_refs, input_overwrite_node): Handle forced_by_abi. | |
907 | * ipa.c (cgraph_address_taken_from_non_vtable_p): Rename to ... | |
908 | (address_taken_from_non_vtable_p): ... this one. | |
909 | (comdat_can_be_unshared_p_1): New function. | |
910 | (cgraph_comdat_can_be_unshared_p): Rename to ... | |
911 | (comdat_can_be_unshared_p): ... this one; handle symbols in general. | |
912 | (varpool_externally_visible_p): Use comdat_can_be_unshared_p. | |
913 | (function_and_variable_visibility): Clear forced_by_abi as needed. | |
914 | * trans-mem.c (ipa_tm_mark_forced_by_abi_node): New functoin. | |
915 | (ipa_tm_create_version_alias, ipa_tm_create_version): Update. | |
edb983b2 JH |
916 | * symtab.c (dump_symtab_base): Dump forced_by_abi. |
917 | * varpool.c (decide_is_variable_needed): Remove. | |
918 | ||
9912dbe5 KT |
919 | 2013-06-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
920 | ||
921 | * config/arm/arm.c (MAX_INSN_PER_IT_BLOCK): New macro. | |
922 | (arm_option_override): Override arm_restrict_it where appropriate. | |
923 | (thumb2_final_prescan_insn): Use MAX_INSN_PER_IT_BLOCK. | |
924 | * config/arm/arm.opt (mrestrict-it): New command-line option. | |
925 | * doc/invoke.texi: Document -mrestrict-it. | |
926 | ||
34c136b6 DM |
927 | 2013-06-05 David Malcolm <dmalcolm@redhat.com> |
928 | ||
929 | * tsan.c (tsan_atomic_table): Make const. | |
930 | ||
a367df53 RB |
931 | 2013-06-05 Richard Biener <rguenther@suse.de> |
932 | ||
933 | * tree-streamer.c (streamer_tree_cache_insert_1): Update the | |
934 | index associated with the tree we are supposed to replace. | |
935 | * tree-streamer-out.c (pack_ts_base_value_fields): Output | |
936 | TREE_ASM_WRITTEN as zero for everything but SSA names. | |
937 | ||
70d51a19 DM |
938 | 2013-06-05 David Malcolm <dmalcolm@redhat.com> |
939 | ||
940 | * tree-ssa-structalias.c (call_stmt_vars): Make static. | |
941 | ||
b9bd2075 JH |
942 | 2013-06-04 Jan Hubicka <jh@suse.cz> |
943 | ||
944 | * lto-cgraph.c (get_alias_symbol): Remove weakref sanity check. | |
945 | (input_node, input_varpool_node): Handle correctly external same | |
946 | body aliases. | |
947 | * ipa.c (symtab_remove_unreachable_nodes): Do not remove external | |
948 | nodes at ltrans stage. | |
949 | ||
aaae719d JH |
950 | 2013-06-04 Jan Hubicka <jh@suse.cz> |
951 | ||
952 | * ipa-inline.c (update_caller_keys): Fix availability test. | |
953 | (update_callee_keys): Likewise. | |
954 | * symtab.c (symtab_alias_ultimate_target): Make availaiblity logic | |
955 | to follow ELF standard. | |
956 | ||
107eea2c JU |
957 | 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de> |
958 | ||
959 | * config.gcc (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*) | |
960 | (mips64r5900el-*-elf*): New configurations. | |
961 | * config/mips/mips-cpus.def (r5900): New processor. | |
962 | * config/mips/mips-tables.opt: Regenerate. | |
963 | * config/mips/mips.c (mips_rtx_cost_data): Add an R5900 entry. | |
964 | (mips_issue_rate): Handle PROCESSOR_R5900. | |
965 | (mips_reorg_process_insns): Force reorder mode for the R5900. | |
966 | * config/mips/mips.h (TARGET_MIPS5900): Define. | |
967 | (ISA_HAS_CONDMOVE, ISA_HAS_PREFETCH, ISA_HAS_HILO_INTERLOCKS): Include | |
968 | TARGET_MIPS5900. | |
969 | (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY, ISA_HAS_FCMP_DELAY): Exclude | |
970 | TARGET_MIPS5900. | |
971 | * config/mips/mips.md (processor): Add r5900. | |
972 | (MOVECC): Disallow CCmode conditions for TARGET_MIPS5900. | |
973 | ||
b7342d25 IB |
974 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
975 | ||
976 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Call | |
977 | into function to generate MOVI instruction. | |
c1e183a9 | 978 | * config/aarch64/aarch64.c (aarch64_simd_container_mode): New function. |
b7342d25 IB |
979 | (aarch64_preferred_simd_mode): Turn into wrapper. |
980 | (aarch64_output_scalar_simd_mov_immediate): New function. | |
981 | * config/aarch64/aarch64-protos.h: Add prototype for above. | |
982 | ||
81c2dfb9 IB |
983 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
984 | ||
985 | * config/aarch64/aarch64.c (simd_immediate_info): Remove | |
986 | element_char member. | |
987 | (sizetochar): Return signed char. | |
988 | (aarch64_simd_valid_immediate): Remove elchar and other | |
989 | unnecessary variables. | |
990 | (aarch64_output_simd_mov_immediate): Take rtx instead of &rtx. | |
991 | Calculate element_char as required. | |
992 | * config/aarch64/aarch64-protos.h: Update and move prototype | |
993 | for aarch64_output_simd_mov_immediate. | |
994 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): | |
995 | Update arguments. | |
996 | ||
48063b9d IB |
997 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
998 | ||
999 | * config/aarch64/aarch64.c (simd_immediate_info): Struct to hold | |
1000 | information completed by aarch64_simd_valid_immediate. | |
1001 | (aarch64_legitimate_constant_p): Update arguments. | |
1002 | (aarch64_simd_valid_immediate): Work with struct rather than many | |
1003 | pointers. | |
1004 | (aarch64_simd_scalar_immediate_valid_for_move): Update arguments. | |
1005 | (aarch64_simd_make_constant): Update arguments. | |
1006 | (aarch64_output_simd_mov_immediate): Work with struct rather than | |
1007 | many pointers. Output immediate directly rather than as operand. | |
1008 | * config/aarch64/aarch64-protos.h (aarch64_simd_valid_immediate): | |
1009 | Update prototype. | |
1010 | * config/aarch64/constraints.md (Dn): Update arguments. | |
1011 | ||
3ea63f60 IB |
1012 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
1013 | ||
1014 | * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): No | |
1015 | longer static. | |
1016 | (aarch64_simd_immediate_valid_for_move): Remove. | |
1017 | (aarch64_simd_scalar_immediate_valid_for_move): Update call. | |
1018 | (aarch64_simd_make_constant): Update call. | |
1019 | (aarch64_output_simd_mov_immediate): Update call. | |
1020 | * config/aarch64/aarch64-protos.h (aarch64_simd_valid_immediate): | |
1021 | Add prototype. | |
1022 | * config/aarch64/constraints.md (Dn): Update call. | |
1023 | ||
d8edd899 IB |
1024 | 2013-06-04 Ian Bolton <ian.bolton@arm.com> |
1025 | ||
1026 | * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Change | |
1027 | return type to bool for prototype. | |
1028 | (aarch64_legitimate_constant_p): Check for true instead of not -1. | |
1029 | (aarch64_simd_valid_immediate): Fix up each return to return a bool. | |
1030 | (aarch64_simd_immediate_valid_for_move): Update retval for bool. | |
1031 | ||
44b20bb8 CM |
1032 | 2013-06-04 Catherine Moore <clm@codesourcery.com> |
1033 | ||
1034 | * config/mips/mips.opt (meva): New. | |
c1e183a9 | 1035 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_eva. |
44b20bb8 CM |
1036 | (ASM_SPEC): Handle -meva. |
1037 | * doc/invoke.texi (meva): Document. | |
1038 | ||
52befbd8 AM |
1039 | 2013-06-04 Alan Modra <amodra@gmail.com> |
1040 | ||
1041 | * config/rs6000/rs6000.c (output_toc): Correct little-endian float | |
1042 | constant output. | |
1043 | ||
aadaf24e KT |
1044 | 2013-06-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1045 | ||
1046 | * rtl.def: Add extra fourth optional field to define_cond_exec. | |
1047 | * gensupport.c (process_one_cond_exec): Process attributes from | |
1048 | define_cond_exec. | |
1049 | * doc/md.texi: Document fourth field in define_cond_exec. | |
1050 | ||
0cd9e9ee EB |
1051 | 2013-06-04 Eric Botcazou <ebotcazou@adacore.com> |
1052 | ||
1053 | * expmed.c (extract_bit_field_1): In the larger-than-a-word case, factor | |
1054 | out the processing order as in store_bit_field_1. | |
1055 | ||
cb0f665d JH |
1056 | 2013-06-04 Jan Hubicka <jh@suse.cz> |
1057 | ||
1058 | PR middle-end/57500 | |
1059 | * cgraphunit.c (cgraph_process_same_body_aliases): Create | |
1060 | non-VAR_DECL node if it does not exist yet. | |
1061 | ||
53984b9b RS |
1062 | 2013-06-03 Richard Sandiford <rdsandiford@googlemail.com> |
1063 | ||
1064 | * config.gcc (mipsisa64sr71k-*-elf*, mipsisa64sb1-*-elf*) | |
1065 | (mipsisa64sb1el-*-elf*, mips64-*-elf*, mips64el-*-elf*) | |
1066 | (mips64orion-*-elf*, mips64orionel-*-elf*): Remove | |
1067 | target_cpu_default setting. | |
1068 | ||
5d318fd4 TJ |
1069 | 2013-06-03 Teresa Johnson <tejohnson@google.com> |
1070 | ||
1071 | * dumpfile.c (opt_info_switch_p): Change -fopt-info | |
1072 | default to -fopt-info=optimized instead of all. | |
1073 | * doc/invoke.texi: Ditto. | |
1074 | * tree-vectorizer.c (vectorize_loops): Emit loop vectorization | |
1075 | success under MSG_OPTIMIZED_LOCATIONS, and use dump_printf_loc. | |
1076 | (execute_vect_slp): Emit BB vectorization success under | |
1077 | MSG_OPTIMIZED_LOCATIONS. | |
1078 | * tree-vect-slp.c (vect_slp_transform_bb): Change | |
1079 | MSG_OPTIMIZED_LOCATIONS to MSG_NOTE. | |
1080 | * tree-vect-loop.c (vect_transform_loop): Ditto. | |
1081 | ||
ec3af349 JM |
1082 | 2013-06-03 Jason Merrill <jason@redhat.com> |
1083 | ||
1084 | PR c++/57415 | |
1085 | * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): | |
1086 | Use TARGET_EXPR for C++. | |
1087 | ||
1baf9159 JJ |
1088 | 2013-06-03 Jakub Jelinek <jakub@redhat.com> |
1089 | ||
1090 | PR rtl-optimization/57268 | |
0cd9e9ee | 1091 | * sched-deps.c (sched_analyze_2): Don't flush_pending_lists |
1baf9159 JJ |
1092 | if DEBUG_INSN_P (insn). |
1093 | ||
1094 | Reapply | |
1095 | 2013-05-31 Dinar Temirbulatov <dinar@kugelworks.com> | |
1096 | ||
1097 | PR rtl-optimization/57268 | |
1098 | * sched-deps.c (sched_analyze_2): Flush dependence lists if | |
1099 | the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH. | |
1100 | ||
0f1d3965 YR |
1101 | 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com> |
1102 | ||
1103 | * config/i386/i386.c (ix86_lea_outperforms): Fix formatting. | |
1104 | (ix86_avoid_lea_for_addr): Likewise. | |
1105 | (exact_dependency_1): Likewise. | |
1106 | (ix86_adjust_cost): Likewise. | |
1107 | (swap_top_of_ready_list): Fix formatting and !reload_completed check | |
1108 | removed. | |
1109 | (do_reorder_for_imul): Fix typo, formatting and | |
1110 | !reload_completed check removed. | |
1111 | (ix86_sched_reorder): Fix typo and formatting. | |
1112 | (fold_builtin_cpu): Move M_INTEL_SLM at the end of processor types | |
1113 | list. | |
1114 | ||
3bc30db4 SN |
1115 | 2013-06-03 Sofiane Naci <sofiane.naci@arm.com> |
1116 | ||
1117 | * config/aarch64/aarch64.md (*movdi_aarch64): Define "simd" attribute. | |
1118 | ||
19cc6fac EB |
1119 | 2013-06-03 Eric Botcazou <ebotcazou@adacore.com> |
1120 | ||
1121 | * varasm.c (output_constant) <CONSTRUCTOR>: Minor formatting tweak. | |
1122 | <STRING_CST>: Likewise. | |
1123 | <VECTOR_CST>: Likewise. | |
1124 | ||
c68a6e08 JW |
1125 | 2013-06-01 Janus Weil <janus@gcc.gnu.org> |
1126 | Mikael Morin <mikael@gcc.gnu.org> | |
1127 | ||
1128 | * configure.ac: Add AC_HEADER_TIOCGWINSZ macro. | |
1129 | * config.in: Regenerated. | |
1130 | * configure: Regenerated. | |
1131 | ||
38e55e5c JH |
1132 | 2013-06-01 Jan Hubicka <jh@suse.cz> |
1133 | ||
1134 | PR middle-end/57366 | |
1135 | * cgraphunit.c (compile): When weakref is not supported, | |
1136 | set up transparent aliases before final output pass. | |
1137 | * varasm.c (assemble_alias): Do not try to do it here. | |
1138 | ||
eb51d2ff JH |
1139 | 2013-06-01 Jan Hubicka <jh@suse.cz> |
1140 | ||
1141 | PR middle-end/57467 | |
1142 | * passes.c (for_per_function): Skip unanalyzed functions. | |
1143 | ||
40a7fe1e JH |
1144 | 2013-06-01 Jan Hubicka <jh@suse.cz> |
1145 | ||
1146 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Rename to ... | |
1147 | (lto_symtab_merge_symbols_1): ... this one. | |
1148 | (lto_symtab_merge_cgraph_nodes): Rename to ... | |
1149 | (lto_symtab_merge_symbols): ... this one; simplify. | |
1150 | * cgraph.c (same_body_aliases_done): Rename to ... | |
1151 | (cpp_implicit_aliases_done): ... this one. | |
1152 | (cgraph_create_function_alias): Update. | |
1153 | (cgraph_same_body_alias): Update. | |
c1e183a9 | 1154 | (dump_cgraph_node): Remove alias dumping; simplify thunk dumping. |
40a7fe1e | 1155 | (verify_edge_corresponds_to_fndecl): Simplify. |
c1e183a9 | 1156 | * cgraph.h (symtab_node_base): Add cpp_implicit_alias, alias_target. |
40a7fe1e JH |
1157 | (cgraph_node): Remove same_body_alias. |
1158 | (varpool_node): Remove alias_of and extra_name_alias. | |
1159 | (same_body_aliases_done): Rename to .. | |
1160 | (cpp_implicit_aliases_done): ... this one. | |
1161 | (symtab_alias_ultimate_target): Add default parameter. | |
1162 | (symtab_resolve_alias): New function. | |
1163 | (fixup_same_cpp_alias_visibility): Declare. | |
1164 | (cgraph_function_node): Add default parameter. | |
1165 | (cgraph_node_asm_name): Likewise. | |
1166 | (cgraph_function_or_thunk_node): Add default parameter; do | |
1167 | not ICE when it is NULL. | |
1168 | (varpool_variable_node): Likewise. | |
1169 | * tree-emutls.c (create_emultls_var): Update. | |
1170 | (ipa_lower_emutls): Update. | |
1171 | * cgraphunit.c (cgraph_decide_is_function_needed): Update. | |
1172 | (cgraph_reset_node): Reset alias info. | |
1173 | (cgraph_finalize_function): Update. | |
1174 | (fixup_same_cpp_alias_visibility): Move to symtab.c. | |
1175 | (analyze_function): Simplify. | |
1176 | (cgraph_process_same_body_aliases): Simplify. | |
1177 | (analyze_functions): Fixup same body aliases. | |
1178 | (handle_alias_pairs): Simplify. | |
1179 | (assemble_thunk): Update. | |
1180 | (assemble_thunks_and_aliases): Update. | |
1181 | (output_weakrefs): Rewrite. | |
1182 | * lto-cgraph.c (lto_output_node): Rewrite alias handling. | |
1183 | (lto_output_varpool_node): Likewise. | |
1184 | (compute_ltrans_boundary): Remve assert. | |
1185 | (get_alias_symbol): New functoin. | |
1186 | (input_node): Rewrite alias handling. | |
1187 | (input_varpool_node): Likewise. | |
1188 | * ipa-pure-const.c (propagate_pure_const): Fix formating. | |
1189 | * ipa.c (process_references): Handle weakrefs correctly. | |
1190 | (symtab_remove_unreachable_nodes): Likewise. | |
1191 | * trans-mem.c (get_cg_data): Update. | |
1192 | (ipa_tm_create_version_alias): Update. | |
1193 | (ipa_tm_execute): Update. | |
1194 | * symtab.c (dump_symtab_base): Dump aliases. | |
1195 | (verify_symtab_base): Verify aliases. | |
1196 | (symtab_node_availability): New function. | |
1197 | (symtab_alias_ultimate_target): Simplify. | |
1198 | (fixup_same_cpp_alias_visibility): Move here from cgraphunit.c; | |
1199 | handle all the fixup cases. | |
1200 | (symtab_resolve_alias): New function. | |
1201 | * passes.c (ipa_write_summaries): Handle weakrefs. | |
1202 | * varpool.c (varpool_analyze_node): Simplify. | |
1203 | (assemble_aliases): Update. | |
1204 | (varpool_create_variable_alias): Simplify. | |
1205 | (varpool_extra_name_alias): Simplify. | |
1206 | * lto-streamer.h (lto_symtab_merge_cgraph_nodes): Rename to... | |
1207 | (lto_symtab_merge_symbols): ... this one. | |
1208 | ||
21759881 DT |
1209 | 2013-06-01 Dinar Temirbulatov <dinar@kugelworks.com> |
1210 | ||
1211 | Revert | |
1212 | PR rtl-optimization/57268 | |
1213 | * sched-deps.c (sched_analyze_2): Flush dependence lists if | |
1214 | the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH. | |
1215 | ||
daf4e940 TB |
1216 | 2013-06-01 Tobias Burnus <burnus@net-b.de> |
1217 | ||
1218 | Partially reverted: | |
1219 | 2013-05-31 Tobias Burnus <burnus@net-b.de> | |
1220 | ||
1221 | PR middle-end/57073 | |
1222 | * tree-ssa-math-opts.c (execute_cse_sincos): Move check | |
1223 | further up. | |
1224 | ||
c359d8d0 DT |
1225 | 2013-05-31 Dinar Temirbulatov <dinar@kugelworks.com> |
1226 | ||
1227 | PR rtl-optimization/57268 | |
1228 | * sched-deps.c (sched_analyze_2): Flush dependence lists if | |
1229 | the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH. | |
1230 | ||
4172215d EB |
1231 | 2013-05-31 Eric Botcazou <ebotcazou@adacore.com> |
1232 | ||
1233 | * config/rs6000/predicates.md (rs6000_cbranch_operator): Accept some | |
1234 | unordered comparison operators when -fno-trapping-math is in effect | |
1235 | on the e500. | |
1236 | * config/rs6000/rs6000.c (rs6000_generate_compare): Remove dead code | |
1237 | and implement unordered comparison operators properly on the e500. | |
1238 | ||
a8c50132 EB |
1239 | 2013-05-31 Eric Botcazou <ebotcazou@adacore.com> |
1240 | ||
1241 | * simplify-rtx.c (simplify_byte_swapping_operation): Use proper macro | |
1242 | for constant scalar integers. | |
1243 | (simplify_relational_operation_1): Likewise. | |
1244 | ||
44626634 SB |
1245 | 2013-05-31 Segher Boessenkool <segher@kernel.crashing.org> |
1246 | ||
1247 | * config/rs6000/rs6000-opts.h (enum processor_type): Reorder. | |
1248 | * config/rs6000/rs6000.md (cpu): Reorder. Split long line. | |
1249 | Fix comment. | |
1250 | ||
55805e54 YR |
1251 | 2013-05-31 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com> |
1252 | Igor Zamyatin <igor.zamyatin@intel.com> | |
1253 | ||
1254 | Silvermont (SLM) architecture performance tuning. | |
1255 | * config/i386/i386.h (enum ix86_tune_indices): Add | |
1256 | X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS. | |
1257 | (TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS): New define. | |
1258 | ||
1259 | * config/i386/i386.c (initial_ix86_tune_features) | |
1260 | <X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS>: Initialize. | |
1261 | (ix86_lea_outperforms): Handle Silvermont tuning. | |
1262 | (ix86_avoid_lea_for_add): Add new argument to ix86_lea_outperforms | |
1263 | call. | |
1264 | (ix86_use_lea_for_mov): Likewise. | |
1265 | (ix86_avoid_lea_for_addr): Likewise. | |
1266 | (ix86_lea_for_add_ok): Likewise. | |
1267 | (exact_dependency_1): New function. | |
1268 | (exact_store_load_dependency): Likewise. | |
1269 | (ix86_adjust_cost): Handle Silvermont tuning. | |
1270 | (do_reoder_for_imul): Likewise. | |
1271 | (swap_top_of_ready_list): New function. | |
1272 | (ix86_sched_reorder): Changed to handle Silvermont tuning. | |
1273 | ||
1274 | * config/i386/i386.md (peepholes that split memory operand in fp | |
1275 | converts): New. | |
1276 | ||
e19c9de2 MS |
1277 | 2013-05-31 Marcus Shawcroft <marcus.shawcroft@arm.com> |
1278 | ||
1279 | * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): | |
1280 | Remove un-necessary braces. | |
1281 | ||
38e6c9a6 MS |
1282 | 2013-05-31 Marcus Shawcroft <marcus.shawcroft@arm.com> |
1283 | ||
1284 | * config/aarch64/aarch64.c (aarch64_classify_symbol): | |
1285 | Use SYMBOL_TINY_ABSOLUTE for AARCH64_CMODEL_TINY_PIC. | |
1286 | ||
e3530904 TB |
1287 | 2013-05-31 Tobias Burnus <burnus@net-b.de> |
1288 | ||
1289 | PR middle-end/57073 | |
c1e183a9 | 1290 | * tree-ssa-math-opts.c (execute_cse_sincos): Move check further up. |
e3530904 | 1291 | |
b6af05a9 KT |
1292 | 2013-05-31 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1293 | ||
1294 | PR target/56315 | |
1295 | * config/arm/arm.c (const_ok_for_dimode_op): Handle IOR. | |
1296 | * config/arm/arm.md (*iordi3_insn): Change to insn_and_split. | |
1297 | * config/arm/neon.md (iordi3_neon): Remove. | |
1298 | (neon_vorr<mode>): Generate iordi3 instead of iordi3_neon. | |
1299 | * config/arm/predicates.md (imm_for_neon_logic_operand): | |
1300 | Move to earlier in the file. | |
1301 | (neon_logic_op2): Likewise. | |
1302 | (arm_iordi_operand_neon): New predicate. | |
1303 | ||
f800c166 RB |
1304 | 2013-05-31 Richard Biener <rguenther@suse.de> |
1305 | ||
1306 | PR tree-optimization/57478 | |
1307 | PR tree-optimization/57453 | |
1308 | * tree-vect-slp.c (vect_bb_slp_scalar_cost): Uses in PHI nodes | |
1309 | are life as well. | |
1310 | ||
e571fa59 KP |
1311 | 2013-05-31 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
1312 | ||
1313 | * config/rl78/rl78.md (mulqi3,mulhi3): New define_expands. | |
1314 | (*mulqi3_rl78,*mulhi3_rl78,*mulhi3_g13): New define_insns. | |
1315 | ||
0fa6e0ef TB |
1316 | 2013-05-30 Tobias Burnus <burnus@net-b.de> |
1317 | Thomas Koenig <tkoenig@gcc.gnu.org> | |
1318 | ||
1319 | PR middle-end/57073 | |
1320 | * tree-ssa-math-opts.c (execute_cse_sincos): Optimize | |
1321 | powi (-1.0, k) to (k & 1) ? -1.0 : 1.0. | |
1322 | ||
4688ddf5 SB |
1323 | 2013-05-30 Steven Bosscher <steven@gcc.gnu.org> |
1324 | ||
0fa6e0ef | 1325 | * rtlanal.c (tablejump_p): Expect table and label to be adjacent. |
4688ddf5 | 1326 | |
3b9ceb4b VM |
1327 | 2013-05-30 Vladimir Makarov <vmakarov@redhat.com> |
1328 | ||
1329 | * target.def (register_usage_leveling_p): New hook. | |
1330 | * targhooks.c (default_register_usage_leveling_p): New. | |
1331 | * targhooks.h (default_register_usage_leveling_p): New prototype. | |
1332 | * lra-assigns.c (register_usage_leveling_p): Use the hook. | |
1333 | * doc/tm.texi.in (TARGET_REGISTER_USAGE_LEVELING_P): New hook. | |
1334 | * doc/tm.texi: Update. | |
1335 | * config/i386/i386.c (TARGET_REGISTER_USAGE_LEVELING_P): Define. | |
1336 | ||
65f9e789 IB |
1337 | 2013-05-30 Ian Bolton <ian.bolton@arm.com> |
1338 | ||
1339 | * config/aarch64/aarch64.md (insv<mode>): New define_expand. | |
1340 | (*insv_reg<mode>): New define_insn. | |
1341 | ||
ca035367 JR |
1342 | 2013-05-30 Joern Rennecke <joern.rennecke@embecosm.com> |
1343 | ||
1344 | PR rtl-optimization/57439 | |
1345 | * postreload.c (move2add_valid_value_p): Check that we have | |
1346 | a zero subreg_regno_offset when accessing the register in | |
1347 | the requested mode. | |
1348 | ||
0b871ccf YR |
1349 | 2013-05-30 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com> |
1350 | Igor Zamyatin <igor.zamyatin@intel.com> | |
1351 | ||
1352 | Silvermont (SLM) architecture pipeline model, tuning and | |
1353 | insn selection. | |
1354 | * config.gcc: Add slm config options and target. | |
1355 | ||
1356 | * config/i386/slm.md: New. | |
1357 | ||
1358 | * config/i386/driver-i386.c (host_detect_local_cpu): Check movbe. | |
1359 | ||
1360 | * gcc/config/i386/i386-c.c (ix86_target_macros_internal): New case | |
1361 | PROCESSOR_SLM. | |
1362 | (ix86_target_macros_internal): Likewise. | |
1363 | ||
1364 | * gcc/config/i386/i386.c (slm_cost): New cost. | |
1365 | (m_SLM): New macro flag. | |
1366 | (initial_ix86_tune_features): Set m_SLM. | |
1367 | (x86_accumulate_outgoing_args): Likewise. | |
1368 | (x86_arch_always_fancy_math_387): Likewise. | |
1369 | (processor_target_table): Add slm cost. | |
1370 | (cpu_names): Add slm cpu name. | |
1371 | (x86_option_override_internal): Set SLM ISA. | |
1372 | (ix86_issue_rate): New case PROCESSOR_SLM. | |
1373 | (ia32_multipass_dfa_lookahead): Likewise. | |
1374 | (fold_builtin_cpu): Add slm. | |
1375 | ||
1376 | * config/i386/i386.h (TARGET_SLM): New target macro. | |
1377 | (target_cpu_default): Add TARGET_CPU_DEFAULT_slm. | |
1378 | (processor_type): Add PROCESSOR_SLM. | |
1379 | ||
1380 | * config/i386/i386.md (cpu): Add new value "slm". | |
1381 | (slm.md): Include slm.md. | |
1382 | ||
24d5b097 XG |
1383 | 2013-05-30 Bernd Schmidt <bernds@codesourcery.com> |
1384 | Zhenqiang Chen <zhenqiang.chen@linaro.org> | |
1385 | ||
1386 | * config/arm/arm-protos.h: Add and update function protos. | |
1387 | * config/arm/arm.c (use_simple_return_p): New added. | |
1388 | (thumb2_expand_return): Check simple_return flag. | |
1389 | * config/arm/arm.md: Add simple_return and conditional simple_return. | |
1390 | * config/arm/iterators.md: Add iterator for return and simple_return. | |
1391 | ||
c1cccc15 ZC |
1392 | 2013-05-30 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
1393 | ||
1394 | * config/arm/arm.c (arm_add_cfa_adjust_cfa_note): New added. | |
1395 | (arm_emit_multi_reg_pop): Add REG_CFA_ADJUST_CFA notes. | |
1396 | (arm_emit_vfp_multi_reg_pop): Likewise. | |
1397 | (thumb2_emit_ldrd_pop): Likewise. | |
1398 | (arm_expand_epilogue): Add misc REG_CFA notes. | |
1399 | (arm_unwind_emit): Skip REG_CFA_ADJUST_CFA and REG_CFA_RESTORE. | |
1400 | ||
3a4f280b LC |
1401 | 2013-05-29 Lawrence Crowl <crowl@google.com> |
1402 | ||
1403 | * config/arm/t-arm: Update for below. | |
1404 | ||
1405 | * config/arm/arm.c (arm_libcall_uses_aapcs_base::libcall_htab): | |
1406 | Change type to hash_table. Update dependent calls and types. | |
1407 | ||
1408 | * config/i386/t-cygming: Update for below. | |
1409 | ||
1410 | * config/i386/t-interix: Update for below. | |
1411 | ||
1412 | * config/i386/winnt.c (i386_pe_section_type_flags::htab): | |
1413 | Change type to hash_table. Update dependent calls and types. | |
1414 | (i386_find_on_wrapper_list::wrappers): Likewise. | |
1415 | ||
1416 | * config/ia64/t-ia64: Update for below. | |
1417 | ||
1418 | * config/ia64/ia64.c (bundle_state_table): | |
1419 | Change type to hash_table. Update dependent calls and types. | |
1420 | ||
1421 | * config/mips/mips.c (mips_reorg_process_insns::htab): | |
1422 | Change type to hash_table. Update dependent calls and types. | |
1423 | ||
1424 | * config/sol2.c (solaris_comdat_htab): | |
1425 | Change type to hash_table. Update dependent calls and types. | |
1426 | ||
1427 | * config/t-sol2: Update for above. | |
1428 | ||
1388a0e3 TJ |
1429 | 2013-05-29 Teresa Johnson <tejohnson@google.com> |
1430 | ||
1431 | * passes.c (dump_passes): Use FOR_EACH_FUNCTION since | |
1432 | functions are not yet marked as defined. | |
1433 | ||
a5965b52 MM |
1434 | 2013-05-29 Michael Meissner <meissner@linux.vnet.ibm.com> |
1435 | Pat Haugen <pthaugen@us.ibm.com> | |
1436 | Peter Bergner <bergner@vnet.ibm.com> | |
1437 | ||
1438 | * config/rs6000/vector.md (VEC_I): Add support for new power8 V2DI | |
1439 | instructions. | |
1440 | (VEC_A): Likewise. | |
1441 | (VEC_C): Likewise. | |
1442 | (vrotl<mode>3): Likewise. | |
1443 | (vashl<mode>3): Likewise. | |
1444 | (vlshr<mode>3): Likewise. | |
1445 | (vashr<mode>3): Likewise. | |
1446 | ||
1447 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
1448 | support for power8 V2DI builtins. | |
1449 | ||
1450 | * config/rs6000/rs6000-builtin.def (abs_v2di): Add support for | |
1451 | power8 V2DI builtins. | |
1452 | (vupkhsw): Likewise. | |
1453 | (vupklsw): Likewise. | |
1454 | (vaddudm): Likewise. | |
1455 | (vminsd): Likewise. | |
1456 | (vmaxsd): Likewise. | |
1457 | (vminud): Likewise. | |
1458 | (vmaxud): Likewise. | |
1459 | (vpkudum): Likewise. | |
1460 | (vpksdss): Likewise. | |
1461 | (vpkudus): Likewise. | |
1462 | (vpksdus): Likewise. | |
1463 | (vrld): Likewise. | |
1464 | (vsld): Likewise. | |
1465 | (vsrd): Likewise. | |
1466 | (vsrad): Likewise. | |
1467 | (vsubudm): Likewise. | |
1468 | (vcmpequd): Likewise. | |
1469 | (vcmpgtsd): Likewise. | |
1470 | (vcmpgtud): Likewise. | |
1471 | (vcmpequd_p): Likewise. | |
1472 | (vcmpgtsd_p): Likewise. | |
1473 | (vcmpgtud_p): Likewise. | |
1474 | (vupkhsw): Likewise. | |
1475 | (vupklsw): Likewise. | |
1476 | (vaddudm): Likewise. | |
1477 | (vmaxsd): Likewise. | |
1478 | (vmaxud): Likewise. | |
1479 | (vminsd): Likewise. | |
1480 | (vminud): Likewise. | |
1481 | (vpksdss): Likewise. | |
1482 | (vpksdus): Likewise. | |
1483 | (vpkudum): Likewise. | |
1484 | (vpkudus): Likewise. | |
1485 | (vrld): Likewise. | |
1486 | (vsld): Likewise. | |
1487 | (vsrad): Likewise. | |
1488 | (vsrd): Likewise. | |
1489 | (vsubudm): Likewise. | |
1490 | ||
1491 | * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Add | |
1492 | support for power8 V2DI instructions. | |
1493 | ||
1494 | * config/rs6000/altivec.md (UNSPEC_VPKUHUM): Add support for | |
1495 | power8 V2DI instructions. Combine pack and unpack insns to use an | |
1496 | iterator for each mode. Check whether a particular mode supports | |
1497 | Altivec instructions instead of just checking TARGET_ALTIVEC. | |
1498 | (UNSPEC_VPKUWUM): Likewise. | |
1499 | (UNSPEC_VPKSHSS): Likewise. | |
1500 | (UNSPEC_VPKSWSS): Likewise. | |
1501 | (UNSPEC_VPKUHUS): Likewise. | |
1502 | (UNSPEC_VPKSHUS): Likewise. | |
1503 | (UNSPEC_VPKUWUS): Likewise. | |
1504 | (UNSPEC_VPKSWUS): Likewise. | |
1505 | (UNSPEC_VPACK_SIGN_SIGN_SAT): Likewise. | |
1506 | (UNSPEC_VPACK_SIGN_UNS_SAT): Likewise. | |
1507 | (UNSPEC_VPACK_UNS_UNS_SAT): Likewise. | |
1508 | (UNSPEC_VPACK_UNS_UNS_MOD): Likewise. | |
1509 | (UNSPEC_VUPKHSB): Likewise. | |
1510 | (UNSPEC_VUNPACK_HI_SIGN): Likewise. | |
1511 | (UNSPEC_VUNPACK_LO_SIGN): Likewise. | |
1512 | (UNSPEC_VUPKHSH): Likewise. | |
1513 | (UNSPEC_VUPKLSB): Likewise. | |
1514 | (UNSPEC_VUPKLSH): Likewise. | |
1515 | (VI2): Likewise. | |
1516 | (VI_char): Likewise. | |
1517 | (VI_scalar): Likewise. | |
1518 | (VI_unit): Likewise. | |
1519 | (VP): Likewise. | |
1520 | (VP_small): Likewise. | |
1521 | (VP_small_lc): Likewise. | |
1522 | (VU_char): Likewise. | |
1523 | (add<mode>3): Likewise. | |
1524 | (altivec_vaddcuw): Likewise. | |
1525 | (altivec_vaddu<VI_char>s): Likewise. | |
1526 | (altivec_vadds<VI_char>s): Likewise. | |
1527 | (sub<mode>3): Likewise. | |
1528 | (altivec_vsubcuw): Likewise. | |
1529 | (altivec_vsubu<VI_char>s): Likewise. | |
1530 | (altivec_vsubs<VI_char>s): Likewise. | |
1531 | (altivec_vavgs<VI_char>): Likewise. | |
1532 | (altivec_vcmpbfp): Likewise. | |
1533 | (altivec_eq<mode>): Likewise. | |
1534 | (altivec_gt<mode>): Likewise. | |
1535 | (altivec_gtu<mode>): Likewise. | |
1536 | (umax<mode>3): Likewise. | |
1537 | (smax<mode>3): Likewise. | |
1538 | (umin<mode>3): Likewise. | |
1539 | (smin<mode>3): Likewise. | |
1540 | (altivec_vpkuhum): Likewise. | |
1541 | (altivec_vpkuwum): Likewise. | |
1542 | (altivec_vpkshss): Likewise. | |
1543 | (altivec_vpkswss): Likewise. | |
1544 | (altivec_vpkuhus): Likewise. | |
1545 | (altivec_vpkshus): Likewise. | |
1546 | (altivec_vpkuwus): Likewise. | |
1547 | (altivec_vpkswus): Likewise. | |
1548 | (altivec_vpks<VI_char>ss): Likewise. | |
1549 | (altivec_vpks<VI_char>us): Likewise. | |
1550 | (altivec_vpku<VI_char>us): Likewise. | |
1551 | (altivec_vpku<VI_char>um): Likewise. | |
1552 | (altivec_vrl<VI_char>): Likewise. | |
1553 | (altivec_vsl<VI_char>): Likewise. | |
1554 | (altivec_vsr<VI_char>): Likewise. | |
1555 | (altivec_vsra<VI_char>): Likewise. | |
1556 | (altivec_vsldoi_<mode>): Likewise. | |
1557 | (altivec_vupkhsb): Likewise. | |
1558 | (altivec_vupkhs<VU_char>): Likewise. | |
1559 | (altivec_vupkls<VU_char>): Likewise. | |
1560 | (altivec_vupkhsh): Likewise. | |
1561 | (altivec_vupklsb): Likewise. | |
1562 | (altivec_vupklsh): Likewise. | |
1563 | (altivec_vcmpequ<VI_char>_p): Likewise. | |
1564 | (altivec_vcmpgts<VI_char>_p): Likewise. | |
1565 | (altivec_vcmpgtu<VI_char>_p): Likewise. | |
1566 | (abs<mode>2): Likewise. | |
1567 | (vec_unpacks_hi_v16qi): Likewise. | |
1568 | (vec_unpacks_hi_v8hi): Likewise. | |
1569 | (vec_unpacks_lo_v16qi): Likewise. | |
1570 | (vec_unpacks_hi_<VP_small_lc>): Likewise. | |
1571 | (vec_unpacks_lo_v8hi): Likewise. | |
1572 | (vec_unpacks_lo_<VP_small_lc>): Likewise. | |
1573 | (vec_pack_trunc_v8h): Likewise. | |
1574 | (vec_pack_trunc_v4si): Likewise. | |
1575 | (vec_pack_trunc_<mode>): Likewise. | |
1576 | ||
1577 | * config/rs6000/altivec.h (vec_vaddudm): Add defines for power8 | |
1578 | V2DI builtins. | |
1579 | (vec_vmaxsd): Likewise. | |
1580 | (vec_vmaxud): Likewise. | |
1581 | (vec_vminsd): Likewise. | |
1582 | (vec_vminud): Likewise. | |
1583 | (vec_vpksdss): Likewise. | |
1584 | (vec_vpksdus): Likewise. | |
1585 | (vec_vpkudum): Likewise. | |
1586 | (vec_vpkudus): Likewise. | |
1587 | (vec_vrld): Likewise. | |
1588 | (vec_vsld): Likewise. | |
1589 | (vec_vsrad): Likewise. | |
1590 | (vec_vsrd): Likewise. | |
1591 | (vec_vsubudm): Likewise. | |
1592 | (vec_vupkhsw): Likewise. | |
1593 | (vec_vupklsw): Likewise. | |
1594 | ||
e70670cf JH |
1595 | 2013-05-29 Jan Hubicka <jh@suse.cz> |
1596 | ||
1597 | * cgraph.h (symtab_node_base): Add definition, alias and analyzed | |
1598 | flags; reorder rest of fields in more consistent way. | |
1599 | (varpool_node): Remove analyzed, finalized and alias. | |
1600 | (cgraph_ndoe): Likewise. | |
1601 | (symtab_alias_ultimate_target): New function. | |
1602 | (cgraph_function_node): Move offline. | |
1603 | (cgraph_reset_node): Declare. | |
1604 | (cgraph_comdat_can_be_unshared_p): Remove. | |
1605 | (varpool_remove_initializer): Declare. | |
1606 | (varpool_first_defined_variable, varpool_next_defined_variable | |
1607 | cgraph_first_defined_function, cgraph_next_defined_function): Update. | |
1608 | (cgraph_function_with_gimple_body_p): Update. | |
1609 | (varpool_all_refs_explicit_p): Update. | |
1610 | (symtab_alias_target): New function. | |
1611 | (cgraph_alias_aliased_node, varpool_alias_aliased_node): Rename to ... | |
1612 | (cgraph_alias_target, varpool_alias_target): .. this one; simplify. | |
c1e183a9 UB |
1613 | (cgraph_function_or_thunk_node): Simplify using |
1614 | symtab_alias_ultimate_target. | |
e70670cf JH |
1615 | (varpool_variable_node): Likewise. |
1616 | * cgraph.c (cgraph_create_function_alias): Update. | |
1617 | (cgraph_add_thunk): Update. | |
1618 | (cgraph_remove_node): Update. | |
1619 | (dump_cgraph_node): Do not dump removed flags. | |
1620 | (cgraph_function_body_availability): Update. | |
1621 | (cgraph_propagate_frequency): Update. | |
1622 | (verify_cgraph_node): Check sanity of local flag. | |
1623 | (cgraph_function_node): Move here from cgraph.h; revamp for | |
1624 | cgraph_function_or_thunk_node. | |
1625 | * lto-symtab.c (lto_varpool_replace_node): Update. | |
1626 | (lto_symtab_resolve_can_prevail_p): Update. | |
1627 | (lto_symtab_merge_cgraph_nodes): Update. | |
1628 | * ipa-cp.c (determine_versionability, initialize_node_lattices, | |
1629 | propagate_constants_accross_call, devirtualization_time_bonus, | |
1630 | ipcp_propagate_stage): Update. | |
1631 | * tree-emutls.c (create_emultls_var, ipa_lower_emutls): Update. | |
c1e183a9 UB |
1632 | * ipa-inline-transform.c (clone_inlined_nodes, |
1633 | preserve_function_body_p): Update. | |
e70670cf JH |
1634 | * ipa-reference.c (propagate): Update. |
1635 | (write_node_summary_p): Update. | |
1636 | * toplev.c (wrapup_global_declaration_2): Update. | |
1637 | * cgraphunit.c (cgraph_analyze_function): Rename to ... | |
1638 | (analyze_function) ... this one. | |
1639 | (cgraph_process_new_functions): Update. | |
1640 | (cgraph_reset_node): Export. | |
1641 | (cgraph_finalize_function): Update. | |
1642 | (cgraph_add_new_function): Update. | |
1643 | (process_function_and_variable_attributes): Update. | |
1644 | (varpool_finalize_decl): Update. | |
1645 | (symbol_finalized): Remove. | |
1646 | (symbol_finalized_and_needed): Rename to ... | |
1647 | (symbol_defined_and_needed): ... update. | |
1648 | (cgraph_analyze_functions): Update. | |
1649 | (handle_alias_pairs): Update. | |
1650 | (mark_functions_to_output): Update. | |
1651 | (assemble_thunk): Update. | |
1652 | (output_in_order): Update. | |
1653 | (output_weakrefs): Update. | |
1654 | (finalize_compilation_unit): Update. | |
1655 | * lto-cgraph.c (reachable_from_other_partition_p, lto_output_node, | |
1656 | lto_output_varpool_node, compute_ltrans_boundary, input_overwrite_node, | |
1657 | input_node, input_varpool_node): Update. | |
1658 | * dbxout.c (dbxout_expand_expr): Update. | |
1659 | * cgraphclones.c (cgraph_clone_node): Update. | |
1660 | (cgraph_copy_node_for_versioning): Update. | |
1661 | (cgraph_materialize_clone): Update. | |
1662 | (cgraph_materialize_all_clones): Update. | |
1663 | * ipa-pure-const.c (analyze_function, pure_const_write_summary, | |
1664 | propagate_pure_const, propagate_nothrow): Update. | |
1665 | * lto-streamer-out.c (lto_output, write_symbol): Update. | |
1666 | * ipa-utils.c (ipa_reverse_postorder): Update. | |
1667 | * ipa-inline.c (can_inline_edge_p): Update. | |
1668 | (update_caller_keys, ipa_inline): Update. | |
1669 | * dwarf2out.c (reference_to_unused, | |
1670 | premark_types_used_by_global_vars_helper): Update. | |
1671 | * tree-eh.c (tree_could_trap_p): Update. | |
1672 | * ipa-split.c (consider_split, execute_split_functions): Update. | |
1673 | * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p, | |
c1e183a9 UB |
1674 | has_addr_references_p): Update; move ahead in file for better |
1675 | readability. | |
e70670cf JH |
1676 | (process_references): Simplify. |
1677 | (symtab_remove_unreachable_nodes): Update; cleanup way function/var | |
1678 | bodies are removed. | |
1679 | (cgraph_comdat_can_be_unshared_p): Make static. | |
1680 | (cgraph_externally_visible_p): Update. | |
1681 | (varpool_externally_visible_p): Update. | |
1682 | (function_and_variable_visibility): Update. | |
1683 | * trans-mem.c (get_cg_data, ipa_tm_mayenterirr_function, | |
1684 | ipa_tm_mark_force_output_node): Update. | |
1685 | * ipa-inline-analysis.c (dump_inline_summary, initialize_inline_failed, | |
1686 | estimate_edge_devirt_benefit, inline_generate_summary, | |
1687 | inline_write_summary): Update. | |
1688 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Update. | |
1689 | * ipa-prop.c (ipa_compute_jump_functions): Update. | |
c1e183a9 UB |
1690 | (ipa_print_node_params, ipa_prop_read_section, |
1691 | ipa_update_after_lto_read, read_replacements_section): Update. | |
e70670cf JH |
1692 | * varasm.c (mark_decl_referenced): Update. |
1693 | (assemble_alias, dump_tm_clone_pairs): Update. | |
1694 | * tree-inline.c (copy_bb): Update. | |
1695 | (estimate_num_insns, optimize_inline_calls, tree_function_versioning): | |
1696 | Update. | |
1697 | * symtab.c (dump_symtab_base): Print new flags. | |
1698 | (verify_symtab_base): Verify new flags. | |
1699 | (symtab_alias_ultimate_target): New function. | |
1700 | * tree-ssa-structalias.c (get_constraint_for_ssa_var, | |
1701 | create_variable_info_for, associate_varinfo_to_alias, ipa_pta_execute): | |
1702 | Update. | |
c1e183a9 UB |
1703 | * passes.c (ipa_write_summaries, ipa_write_optimization_summaries): |
1704 | Update. | |
e70670cf JH |
1705 | * i386.c (ix86_get_function_versions_dispatcher, |
1706 | ix86_generate_version_dispatcher_body): Update. | |
1707 | (fold_builtin_cpu): Use varpool_add_new_variable. | |
1708 | * varpool.c (varpool_remove_initializer): Break out from ... | |
1709 | (varpool_remove_node): ... this one. | |
1710 | (dump_varpool_node, varpool_node_for_asm, | |
1711 | cgraph_variable_initializer_availability, varpool_analyze_node, | |
1712 | varpool_assemble_decl, varpool_remove_unreferenced_decls, | |
c1e183a9 UB |
1713 | varpool_finalize_named_section_flags, varpool_create_variable_alias): |
1714 | Update. | |
e70670cf | 1715 | |
182802ad JH |
1716 | 2013-05-29 Jan Hubicka <jh@suse.cz> |
1717 | ||
1718 | * passes.c (init_optimization_passes): Move OMP expansion into lowering. | |
1719 | ||
8190b609 ER |
1720 | 2013-05-29 Easwaran Raman <eraman@google.com> |
1721 | ||
1722 | PR tree-optimization/57442 | |
1723 | * tree-ssa-reassoc.c (appears_later_in_bb): Return correct value | |
1724 | when control exits the main loop. | |
1725 | ||
69f5aa9b SKS |
1726 | 2013-05-29 Sandeep Kumar Singh <Sandeep.Singh2@kpitcummins.com> |
1727 | ||
1728 | * rx/rx.h (TARGET_CPU_CPP_BUILTINS): Add macros for RX100, RX200, | |
1729 | and RX600. | |
c1e183a9 | 1730 | * rx/rx.opt: Add macro for rx100 with string rx100 and value RX100. |
69f5aa9b SKS |
1731 | * rx/rx-opts.h (rx_cpu_types): Add new cpu type rx100. |
1732 | * rx/t-rx: Add rx100 under multi library matches option for nofpu | |
1733 | option. | |
1734 | ||
4b847da9 BS |
1735 | 2013-05-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
1736 | ||
1737 | PR tree-optimization/57441 | |
1738 | * gimple-ssa-strength-reduction.c (analyze_candidates_and_replace): | |
1739 | Don't limit size of incr_vec to number of candidates. | |
1740 | ||
4fc43c39 SE |
1741 | 2013-05-29 Steve Ellcey <sellcey@imgtec.com> |
1742 | ||
1743 | * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Add micromips | |
1744 | and mips16 directories. | |
c1e183a9 | 1745 | * config/mips/t-mti-linux (MULTILIB_OPTIONS): Add micromips and mips16. |
4fc43c39 SE |
1746 | (MULTILIB_DIRNAMES): Ditto. |
1747 | (MULTILIB_EXCEPTIONS): Add new exceptions. | |
1748 | * config/mips/t-mti-elf (MULTILIB_OPTIONS): Add micromips. | |
1749 | (MULTILIB_DIRNAMES): Ditto. | |
1750 | (MULTILIB_EXCEPTIONS): Add new exceptions. | |
1751 | ||
a5350ddc CSS |
1752 | 2012-05-29 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> |
1753 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
1754 | ||
1755 | * config/aarch64/aarch64-protos.h (aarch64_symbol_type): Define | |
1756 | SYMBOL_TINY_ABSOLUTE. | |
1757 | * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Handle | |
1758 | SYMBOL_TINY_ABSOLUTE. | |
1759 | (aarch64_expand_mov_immediate): Likewise. | |
1760 | (aarch64_classify_symbol): Likewise. | |
1761 | (aarch64_mov_operand_p): Remove ATTRIBUTE_UNUSED. | |
1762 | Permit SYMBOL_TINY_ABSOLUTE. | |
1763 | * config/aarch64/predicates.md (aarch64_mov_operand): Permit CONST. | |
1764 | ||
17f4d4bf CSS |
1765 | 2013-05-29 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> |
1766 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
1767 | ||
1768 | * config/aarch64/aarch64.c (aarch64_classify_symbol): Remove comment. | |
1769 | Refactor if/switch. Replace gcc_assert with if. | |
1770 | ||
c0186656 GG |
1771 | 2013-05-29 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> |
1772 | ||
1773 | * config/i386/i386.c (initial_ix86_tune_features): Enable | |
1774 | FP Reassociation for AMD bdver1 and bdver2. | |
1775 | ||
d20188f3 MJ |
1776 | 2013-05-29 Martin Jambor <mjambor@suse.cz> |
1777 | ||
1778 | * tree-cfg.c (verify_expr): Verify that BIT_FIELD_REF, REALPART_EXPR | |
1779 | and IMAGPART_EXPR do not occur within other handled_components. | |
1780 | ||
292cba13 RB |
1781 | 2013-05-29 Richard Biener <rguenther@suse.de> |
1782 | ||
1783 | * tree-vect-slp.c (vect_bb_slp_scalar_cost): Guard vinfo | |
1784 | access on whether the use is in the BB we currently try to | |
1785 | vectorize. | |
1786 | (vect_bb_vectorization_profitable_p): Pass the BB we currently | |
1787 | vectorize to vect_bb_slp_scalar_cost. | |
1788 | ||
6eddf228 RB |
1789 | 2013-05-29 Richard Biener <rguenther@suse.de> |
1790 | ||
1791 | * tree-vect-slp.c (vect_bb_slp_scalar_cost): New function | |
1792 | computing scalar cost offsetted by stmts that are kept live | |
1793 | by scalar uses. | |
1794 | (vect_bb_vectorization_profitable_p): Use vect_bb_slp_scalar_cost | |
1795 | for computation of scalar cost. | |
1796 | ||
7df36117 SE |
1797 | 2013-05-28 Steve Ellcey <sellcey@mips.com> |
1798 | ||
1799 | * config/mips/mips-cpus.def (mips32r2): Change processor type. | |
1800 | ||
36536d79 BI |
1801 | 2013-05-28 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1802 | ||
1803 | * doc/extend.texi (C Extensions): Added documentation about Cilk Plus | |
1804 | array notation built-in reduction functions. | |
1805 | * doc/passes.texi (Passes): Added documentation about changes done | |
1806 | for Cilk Plus. | |
1807 | * doc/invoke.texi (C Dialect Options): Added documentation about | |
1808 | the -fcilkplus flag. | |
1809 | * Makefile.in (C_COMMON_OBJS): Added c-family/array-notation-common.o. | |
1810 | (BUILTINS_DEF): Depend on cilkplus.def. | |
1811 | * builtins.def: Include cilkplus.def. Define DEF_CILKPLUS_BUILTIN. | |
1812 | * builtin-types.def: Define BT_FN_INT_PTR_PTR_PTR. | |
1813 | * cilkplus.def: New file. | |
1814 | ||
b49eefa5 JR |
1815 | 2013-05-28 Joern Rennecke <joern.rennecke@embecosm.com> |
1816 | ||
1817 | PR rtl-optimization/57439 | |
1818 | * postreload.c (move2add_use_add2_insn): Use gen_lowpart_common. | |
1819 | ||
9daf6dbb ER |
1820 | 2013-05-28 Easwaran Raman <eraman@google.com> |
1821 | ||
1822 | PR tree-optimization/57337 | |
1823 | * tree-ssa-reassoc.c (appears_later_in_bb): New function. | |
1824 | (find_insert_point): Correctly identify the insertion point | |
1825 | when two statements with the same UID is compared. | |
1826 | ||
fbd7e877 RB |
1827 | 2013-05-28 Richard Biener <rguenther@suse.de> |
1828 | ||
1829 | PR tree-optimization/56787 | |
1830 | * tree-vect-data-refs.c (vect_analyze_data_refs): Drop clobbers | |
1831 | from the list of data references. | |
1832 | * tree-vect-loop.c (vect_determine_vectorization_factor): Skip | |
1833 | clobbers. | |
1834 | (vect_analyze_loop_operations): Likewise. | |
1835 | (vect_transform_loop): Remove clobbers. | |
1836 | ||
bbba1117 MJ |
1837 | 2013-05-28 Martin Jambor <mjambor@suse.cz> |
1838 | ||
1839 | * tree-cfg.c (verify_expr): Verify that BIT_FIELD_REFs, IMAGPART_EXPRs | |
1840 | and REALPART_EXPRs have scalar type. | |
1841 | ||
bd388c2a RB |
1842 | 2013-05-28 Richard Biener <rguenther@suse.de> |
1843 | ||
1844 | PR tree-optimization/57411 | |
1845 | * tree-ssa-copy.c (may_propagate_copy): Cannot propagate | |
1846 | virtual operands. | |
1847 | * tree-ssa-dom.c (eliminate_const_or_copy): Special-case | |
1848 | virtual operand propagation. | |
1849 | ||
2f56a311 EB |
1850 | 2013-05-28 Eric Botcazou <ebotcazou@adacore.com> |
1851 | ||
1852 | * config/sparc/sparc.c (sparc_expand_vec_perm_bmask): Use %g0 as | |
1853 | destination register for bmasksi_vis. | |
1854 | (vector_init_bshuffle): Likewise. | |
1855 | * config/sparc/sparc.md (vec_perm_constv8qi): Likewise. | |
1856 | ||
5c3eacbb EB |
1857 | 2013-05-28 Eric Botcazou <ebotcazou@adacore.com> |
1858 | ||
1859 | * doc/invoke.texi (SPARC Options): Document -mfix-ut699. | |
1860 | * builtins.c (expand_builtin_mathfn) <BUILT_IN_SQRT>: Try to widen the | |
1861 | mode if the instruction isn't available in the original mode. | |
1862 | * config/sparc/sparc.opt (mfix-ut699): New option. | |
1863 | * config/sparc/sparc.md (muldf3_extend): Disable if -mfix-ut699. | |
1864 | (divdf3): Turn into expander. | |
1865 | (divdf3_nofix): New insn. | |
1866 | (divdf3_fix): Likewise. | |
1867 | (divsf3): Disable if -mfix-ut699. | |
1868 | (sqrtdf2): Turn into expander. | |
1869 | (sqrtdf2_nofix): New insn. | |
1870 | (sqrtdf2_fix): Likewise. | |
1871 | (sqrtsf2): Disable if -mfix-ut699. | |
1872 | ||
a1756c0a RB |
1873 | 2013-05-27 Richard Biener <rguenther@suse.de> |
1874 | ||
1875 | PR middle-end/57412 | |
1876 | * omp-low.c (expand_omp_atomic_pipeline): Use the correct latch | |
1877 | block for the new loop. | |
1878 | ||
5a892248 RB |
1879 | 2013-05-27 Richard Biener <rguenther@suse.de> |
1880 | ||
1881 | PR tree-optimization/57343 | |
1882 | * tree-ssa-loop-niter.c (number_of_iterations_ne_max): Do not | |
1883 | use multiple_of_p if not TYPE_OVERFLOW_UNDEFINED. | |
1884 | (number_of_iterations_cond): Do not build the folded tree. | |
1885 | ||
d1de852b RB |
1886 | 2013-05-27 Richard Biener <rguenther@suse.de> |
1887 | ||
1888 | Revert | |
1889 | PR middle-end/57381 | |
1890 | * fold-const.c (operand_equal_p): Compare FIELD_DECLs with | |
1891 | OEP_CONSTANT_ADDRESS_OF retained. | |
1892 | ||
1893 | PR tree-optimization/57417 | |
1894 | * tree-ssa-sccvn.c (vn_reference_fold_indirect): Fix test | |
1895 | for unchanged base. | |
1896 | (set_ssa_val_to): Compare addresses using | |
1897 | get_addr_base_and_unit_offset. | |
1898 | ||
7894bc6b JR |
1899 | 2013-05-27 Joern Rennecke <joern.rennecke@embecosm.com> |
1900 | ||
1901 | PR rtl-optimization/56833 | |
1902 | * postreload.c (move2add_record_mode): New function. | |
1903 | (move2add_record_sym_value, move2add_valid_value_p): Likewise. | |
1904 | (move2add_use_add2_insn): Use move2add_record_sym_value. | |
1905 | (move2add_use_add3_insn): Likewise. | |
1906 | (reload_cse_move2add): Use move2add_valid_value_p and | |
1907 | move2add_record_mode. Invalidate call-clobbered and REG_INC | |
1908 | affected regs by setting reg_mode to VOIDmode. | |
1909 | (move2add_note_store): Don't pretend the inside of a SUBREG is | |
1910 | the actual destination. Invalidate single/leading registers by | |
1911 | setting reg_mode to VOIDmode. | |
1912 | Use move2add_record_sym_value, move2add_valid_value_p and | |
1913 | move2add_record_mode. | |
1914 | ||
b03be25f RB |
1915 | 2013-05-27 Richard Biener <rguenther@suse.de> |
1916 | ||
1917 | PR tree-optimization/57396 | |
1918 | * tree-affine.c (double_int_constant_multiple_p): Properly | |
1919 | return false for val == 0 and div != 0. | |
1920 | ||
44e88db2 RS |
1921 | 2013-05-25 Richard Sandiford <rdsandiford@googlemail.com> |
1922 | ||
1923 | * config/mips/mips.h: Use #elif in preprocessor conditions. | |
1924 | ||
3b859704 RS |
1925 | 2013-05-25 Richard Sandiford <rdsandiford@googlemail.com> |
1926 | ||
1927 | PR target/53916 | |
1928 | * config/mips/constraints.md (kl): New constraint. | |
1929 | * config/mips/mips.md (divmod<mode>4, udivmod<mode>4): Delete. | |
1930 | (divmod<mode>4_internal): Rename to divmod<mode>4. Use "kl" as the | |
1931 | constraint for operand 0. Split after CSE for MIPS16. Emit a move | |
1932 | from LO for MIPS16. | |
1933 | (udivmod<mode>4_internal): Likewise udivmod<mode>4. | |
1934 | ||
c979d5f5 RS |
1935 | 2013-05-25 Richard Sandiford <rdsandiford@googlemail.com> |
1936 | ||
1937 | PR target/55777 | |
1938 | * config/mips/mips.c (mips_can_inline_p): New function. | |
1939 | (TARGET_CAN_INLINE_P): Define. | |
1940 | ||
8e90de43 SB |
1941 | 2013-05-25 Steven Bosscher <steven@gcc.gnu.org> |
1942 | ||
1943 | * sched-int.h (ds_t, dw_t): Make unsigned int. | |
1944 | Fix documentation that describes how all the ds_t bits are used. | |
1945 | Reserve the last bit for delayed-branch scheduling. | |
1946 | (BITS_PER_DEP_STATUS): Move to ds_t typedef. | |
1947 | (BITS_PER_DEP_WEAK): Fix definition and documentation. | |
1948 | (gen_dep_weak_1): Remove prototype. | |
1949 | * sched-deps.c (get_dep_weak_1): Make static. | |
1950 | * target.def (speculate_insn, needs_block_p, gen_spec_check, | |
1951 | get_insn_spec_ds, get_insn_checked_ds): Adjust hook prototypes. | |
1952 | * doc/tm.texi: Regenerate. | |
1953 | * config/ia64/ia64.c (ia64_needs_block_p): Update prototype. | |
1954 | ||
cb5cb194 SB |
1955 | 2013-05-24 Steven Bosscher <steven@gcc.gnu.org> |
1956 | ||
1957 | PR debug/56950 | |
1958 | * haifa-sched.c (sched_extend_bb): Ignore DEBUG_INSNs. | |
1959 | ||
5bd93ff6 NS |
1960 | 2013-05-24 Nathan Sidwell <nathan@codesourcery.com> |
1961 | Sandra Loosemore <sandra@codesourcery.com> | |
1962 | ||
1963 | * config.gcc (powerpc-*): Allow native for with-cpu. | |
1964 | ||
2343af65 JL |
1965 | 2013-05-24 Jeff Law <law@redhat.com> |
1966 | ||
1967 | PR tree-optimization/57124 | |
1968 | * tree-vrp.c (simplify_cond_using_ranges): Only simplify a | |
1969 | conversion feeding a condition if the range has an overflow | |
1970 | if -fstrict-overflow. Add warnings for when we do make the | |
1971 | transformation. | |
1972 | ||
3ad695b9 DC |
1973 | 2013-05-24 Dehao Chen <dehao@google.com> |
1974 | ||
04960246 | 1975 | * tree-cfg.c (locus_discrim_map): Fix the typo. |
3ad695b9 DC |
1976 | (locus_discrim_hasher): Likewise. |
1977 | (locus_discrim_hasher::hash): Likewise. | |
1978 | (locus_discrim_hasher::equal): Likewise. | |
1979 | ||
82338059 MJ |
1980 | 2013-05-24 Martin Jambor <mjambor@suse.cz> |
1981 | ||
1982 | PR tree-optimization/57294 | |
1983 | * cgraph.h (ipa_record_stmt_references): Declare. | |
1984 | * cgraphbuild.c (ipa_record_stmt_references): New function. | |
1985 | (build_cgraph_edges): Use ipa_record_stmt_references. | |
1986 | (rebuild_cgraph_edges): Likewise. | |
1987 | (cgraph_rebuild_references): Likewise. | |
1988 | * ipa-prop.c (ipa_modify_call_arguments): Discard references | |
1989 | associated with the old statement and build references from the | |
1990 | newly built statements. | |
1991 | * ipa-ref.c (ipa_remove_stmt_references): New function. | |
1992 | * ipa-ref.h (ipa_remove_stmt_references): Declare. | |
1993 | ||
1ccd4874 VM |
1994 | 2013-05-24 Vladimir Makarov <vmakarov@redhat.com> |
1995 | ||
55805e54 | 1996 | * lra-constraints.c (emit_spill_move): Use smaller mode for |
1ccd4874 | 1997 | mem-mem moves. |
55805e54 | 1998 | (check_and_process_move): Consider mem-reg moves for secondary |
1ccd4874 | 1999 | too. |
55805e54 | 2000 | (curr_insn_transform): Don't lose insns emitted before for |
1ccd4874 VM |
2001 | secondary memory moves. |
2002 | (inherit_in_ebb): Mark defined reg. Add usage only if it is not a | |
2003 | reg set up in the current insn. | |
2004 | ||
25e25c73 DC |
2005 | 2013-05-24 Dehao Chen <dehao@google.com> |
2006 | ||
04960246 | 2007 | * tree-cfg.c (locus_descrim_hasher::hash): Change discriminator |
25e25c73 DC |
2008 | hash function. |
2009 | (locus_descrim_hasher::equal): Likewise. | |
04960246 | 2010 | (build_gimple_cfg): New discriminator assignment algorithm. |
25e25c73 DC |
2011 | (make_edges): Likewise. |
2012 | (next_discriminator_for_locus): Likewise. | |
2013 | (same_line_p): Likewise. | |
2014 | (assign_discriminators): Likewise. | |
2015 | (make_cond_expr_edges): Likewise. | |
2016 | (make_gimple_switch_edges): Likewise. | |
2017 | (make_goto_expr_edges): Likewise. | |
2018 | (make_gimple_asm_edges): Likewise. | |
2019 | ||
50d38551 IB |
2020 | 2013-05-24 Ian Bolton <ian.bolton@arm.com> |
2021 | ||
2022 | * config/aarch64/aarch64.c (aarch64_print_operand): Change the | |
2023 | X format specifier to only display bottom 16 bits. | |
2024 | * config/aarch64/aarch64.md (insv_imm<mode>): Allow any size of | |
2025 | immediate to match for operand 2, since it will be masked. | |
2026 | ||
aea0101d RB |
2027 | 2013-05-24 Richard Biener <rguenther@suse.de> |
2028 | ||
2029 | PR tree-optimization/57287 | |
2030 | * tree-ssa-uninit.c (compute_uninit_opnds_pos): Disregard | |
2031 | all SSA names that occur in abnormal PHIs. | |
2032 | ||
634e03d3 AI |
2033 | 2013-05-24 Alexander Ivchenko <alexander.ivchenko@intel.com> |
2034 | ||
2035 | PR tree-ssa/57385 | |
2036 | * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Check | |
2037 | that index is not negative. | |
2038 | ||
b17c024f EB |
2039 | 2013-05-24 Eric Botcazou <ebotcazou@adacore.com> |
2040 | ||
2041 | PR rtl-optimization/55177 | |
2042 | * simplify-rtx.c (simplify_unary_operation_1) <NOT>: Deal with BSWAP. | |
2043 | (simplify_byte_swapping_operation): New. | |
2044 | (simplify_binary_operation_1): Call it for AND, IOR and XOR. | |
2045 | (simplify_relational_operation_1): Deal with BSWAP. | |
2046 | ||
46aeac1b RH |
2047 | 2013-05-23 Richard Henderson <rth@redhat.com> |
2048 | ||
2049 | PR target/56742 | |
2050 | * config/i386/i386.c (ix86_seh_fixup_eh_fallthru): New. | |
2051 | (ix86_reorg): Call it. | |
2052 | ||
70cc1536 UB |
2053 | 2013-05-23 Uros Bizjak <ubizjak@gmail.com> |
2054 | ||
2055 | PR target/57379 | |
2056 | * config/alpha/alpha.md (unspec): Add UNSPEC_XFLT_COMPARE. | |
2057 | * config/alpha/alpha.c (alpha_emit_xfloating_compare): Construct | |
2058 | REG_EQUAL note as UNSPEC_XFLT_COMPARE unspec. | |
2059 | ||
b3851501 CB |
2060 | 2013-05-23 Christian Bruel <christian.bruel@st.com> |
2061 | ||
2062 | PR debug/57351 | |
2063 | * config/arm/arm.c (arm_dwarf_register_span): Do not use dbx number. | |
2064 | ||
4e194912 CSS |
2065 | 2013-05-23 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> |
2066 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
2067 | ||
2068 | * config/aarch64/aarch64.md (*movdi_aarch64): Replace Usa with S. | |
2069 | * config/aarch64/constraints.md (Usa): Remove. | |
2070 | * doc/md.texi (AArch64 Usa): Remove. | |
2071 | ||
83f8c414 CSS |
2072 | 2013-05-23 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> |
2073 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
2074 | ||
2075 | * config/aarch64/aarch64-protos.h (aarch64_mov_operand_p): Define. | |
2076 | * config/aarch64/aarch64.c (aarch64_mov_operand_p): Define. | |
2077 | * config/aarch64/predicates.md (aarch64_const_address): Remove. | |
2078 | (aarch64_mov_operand): Use aarch64_mov_operand_p. | |
2079 | ||
b5574232 VP |
2080 | 2013-05-23 Vidya Praveen <vidyapraveen@arm.com> |
2081 | ||
2082 | * config/aarch64/aarch64-simd.md (clzv4si2): Support for CLZ | |
2083 | instruction (AdvSIMD). | |
2084 | * config/aarch64/aarch64-builtins.c | |
2085 | (aarch64_builtin_vectorized_function): Handler for BUILT_IN_CLZ. | |
2086 | * config/aarch64/aarch-simd-builtins.def: Entry for CLZ. | |
2087 | ||
76c36cb1 | 2088 | 2013-05-23 Martin Jambor <mjambor@suse.cz> |
7d2fb524 MJ |
2089 | |
2090 | PR middle-end/57347 | |
2091 | * tree.h (contains_bitfld_component_ref_p): Declare. | |
2092 | * tree-sra.c (contains_bitfld_comp_ref_p): Move... | |
70cc1536 UB |
2093 | * tree.c (contains_bitfld_component_ref_p): ...here. Adjust its |
2094 | caller. | |
7d2fb524 MJ |
2095 | * ipa-prop.c (determine_known_aggregate_parts): Check that LHS does |
2096 | not access a bit-field. Assert all final offsets are byte-aligned. | |
2097 | ||
ce521ae6 RB |
2098 | 2013-05-23 Richard Biener <rguenther@suse.de> |
2099 | ||
2100 | PR tree-optimization/57380 | |
2101 | * tree-ssa-phiprop.c (propagate_with_phi): Do not require at | |
2102 | least one invariant or re-used load. | |
2103 | * passes.c (init_optimization_passes): Move pass_phiprop before | |
2104 | pass_forwprop. | |
2105 | ||
75c7257f JG |
2106 | 2013-05-23 James Greenhalgh <james.greenhalgh@arm.com> |
2107 | ||
2108 | * config/aarch64/aarch64-simd.md | |
2109 | (aarch64_cm<optab>di): Add clobber of CC_REGNUM to unsplit pattern. | |
2110 | ||
af6d44b5 RB |
2111 | 2013-05-23 Richard Biener <rguenther@suse.de> |
2112 | ||
2113 | PR middle-end/57381 | |
2114 | * fold-const.c (operand_equal_p): Compare FIELD_DECLs with | |
2115 | OEP_CONSTANT_ADDRESS_OF retained. | |
2116 | ||
bd3647bf JJ |
2117 | 2013-05-23 Jakub Jelinek <jakub@redhat.com> |
2118 | ||
2119 | PR middle-end/57344 | |
70cc1536 UB |
2120 | * expmed.c (store_split_bit_field): If op0 is a REG or SUBREG of a REG, |
2121 | don't lower unit. Handle unit not being always BITS_PER_WORD. | |
bd3647bf | 2122 | |
a55757ea RB |
2123 | 2013-05-23 Richard Biener <rguenther@suse.de> |
2124 | ||
2125 | PR rtl-optimization/57341 | |
2126 | * ira.c (validate_equiv_mem_from_store): Use anti_dependence | |
2127 | instead of true_dependence. | |
2128 | ||
cfb00b41 DM |
2129 | 2013-05-22 David Malcolm <dmalcolm@redhat.com> |
2130 | ||
dd1c676f DM |
2131 | * bb-reorder.c (branch_threshold): Make const. |
2132 | (exec_threshold): Ditto. | |
cfb00b41 | 2133 | |
f62511da MM |
2134 | 2013-05-22 Michael Meissner <meissner@linux.vnet.ibm.com> |
2135 | Pat Haugen <pthaugen@us.ibm.com> | |
2136 | Peter Bergner <bergner@vnet.ibm.com> | |
2137 | ||
2138 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): Add | |
2139 | documentation for the power8 crypto builtins. | |
2140 | ||
2141 | * config/rs6000/t-rs6000 (MD_INCLUDES): Add crypto.md. | |
2142 | ||
2143 | * config/rs6000/rs6000-builtin.def (BU_P8V_AV_1): Add support | |
2144 | macros for defining power8 builtin functions. | |
2145 | (BU_P8V_AV_2): Likewise. | |
2146 | (BU_P8V_AV_P): Likewise. | |
2147 | (BU_P8V_VSX_1): Likewise. | |
2148 | (BU_P8V_OVERLOAD_1): Likewise. | |
2149 | (BU_P8V_OVERLOAD_2): Likewise. | |
2150 | (BU_CRYPTO_1): Likewise. | |
2151 | (BU_CRYPTO_2): Likewise. | |
2152 | (BU_CRYPTO_3): Likewise. | |
2153 | (BU_CRYPTO_OVERLOAD_1): Likewise. | |
2154 | (BU_CRYPTO_OVERLOAD_2): Likewise. | |
2155 | (XSCVSPDP): Fix typo, point to the correct instruction. | |
2156 | (VCIPHER): Add power8 crypto builtins. | |
2157 | (VCIPHERLAST): Likewise. | |
2158 | (VNCIPHER): Likewise. | |
2159 | (VNCIPHERLAST): Likewise. | |
2160 | (VPMSUMB): Likewise. | |
2161 | (VPMSUMH): Likewise. | |
2162 | (VPMSUMW): Likewise. | |
2163 | (VPERMXOR_V2DI): Likewise. | |
2164 | (VPERMXOR_V4SI: Likewise. | |
2165 | (VPERMXOR_V8HI: Likewise. | |
2166 | (VPERMXOR_V16QI: Likewise. | |
2167 | (VSHASIGMAW): Likewise. | |
2168 | (VSHASIGMAD): Likewise. | |
2169 | (VPMSUM): Likewise. | |
2170 | (VPERMXOR): Likewise. | |
2171 | (VSHASIGMA): Likewise. | |
2172 | ||
2173 | * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define | |
2174 | __CRYPTO__ if the crypto instructions are available. | |
2175 | (altivec_overloaded_builtins): Add support for overloaded power8 | |
2176 | builtins. | |
2177 | ||
2178 | * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Add | |
2179 | support for power8 crypto builtins. | |
2180 | (builtin_function_type): Likewise. | |
2181 | (altivec_init_builtins): Add support for builtins that take vector | |
2182 | long long (V2DI) arguments. | |
2183 | ||
2184 | * config/rs6000/crypto.md: New file, define power8 crypto | |
2185 | instructions. | |
2186 | ||
2187 | 2013-05-22 Michael Meissner <meissner@linux.vnet.ibm.com> | |
2188 | Pat Haugen <pthaugen@us.ibm.com> | |
2189 | Peter Bergner <bergner@vnet.ibm.com> | |
2190 | ||
2191 | * doc/invoke.texi (Option Summary): Add power8 options. | |
2192 | (RS/6000 and PowerPC Options): Likewise. | |
2193 | ||
2194 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Update to use | |
2195 | constraints.md instead of rs6000.h. Reorder w* constraints. Add | |
2196 | wm, wn, wr documentation. | |
2197 | ||
2198 | * gcc/config/rs6000/constraints.md (wm): New constraint for VSX | |
2199 | registers if direct move instructions are enabled. | |
2200 | (wn): New constraint for no registers. | |
2201 | (wq): New constraint for quad word even GPR registers. | |
2202 | (wr): New constraint if 64-bit instructions are enabled. | |
2203 | (wv): New constraint if power8 vector instructions are enabled. | |
2204 | (wQ): New constraint for quad word memory locations. | |
2205 | ||
2206 | * gcc/config/rs6000/predicates.md (const_0_to_15_operand): New | |
2207 | constraint for 0..15 for crypto instructions. | |
2208 | (gpc_reg_operand): If VSX allow registers in VSX registers as well | |
2209 | as GPR and floating point registers. | |
2210 | (int_reg_operand): New predicate to match only GPR registers. | |
2211 | (base_reg_operand): New predicate to match base registers. | |
2212 | (quad_int_reg_operand): New predicate to match even GPR registers | |
2213 | for quad memory operations. | |
2214 | (vsx_reg_or_cint_operand): New predicate to allow vector logical | |
2215 | operations in both GPR and VSX registers. | |
2216 | (quad_memory_operand): New predicate for quad memory operations. | |
2217 | (reg_or_indexed_operand): New predicate for direct move support. | |
2218 | ||
2219 | * gcc/config/rs6000/rs6000-cpus.def (ISA_2_5_MASKS_EMBEDDED): | |
2220 | Inherit from ISA_2_4_MASKS, not ISA_2_2_MASKS. | |
2221 | (ISA_2_7_MASKS_SERVER): New mask for ISA 2.07 (i.e. power8). | |
2222 | (POWERPC_MASKS): Add power8 options. | |
2223 | (power8 cpu): Use ISA_2_7_MASKS_SERVER instead of specifying the | |
2224 | various options. | |
2225 | ||
2226 | * gcc/config/rs6000/rs6000-c.c (rs6000_target_modify_macros): | |
2227 | Define _ARCH_PWR8 and __POWER8_VECTOR__ for power8. | |
2228 | ||
2229 | * gcc/config/rs6000/rs6000.opt (-mvsx-timode): Add documentation. | |
2230 | (-mpower8-fusion): New power8 options. | |
2231 | (-mpower8-fusion-sign): Likewise. | |
2232 | (-mpower8-vector): Likewise. | |
2233 | (-mcrypto): Likewise. | |
2234 | (-mdirect-move): Likewise. | |
2235 | (-mquad-memory): Likewise. | |
2236 | ||
2237 | * gcc/config/rs6000/rs6000.c (power8_cost): Initial definition for | |
2238 | power8. | |
2239 | (rs6000_hard_regno_mode_ok): Make PTImode only match even GPR | |
2240 | registers. | |
70cc1536 | 2241 | (rs6000_debug_reg_print): Print the base register class if -mdebug=reg. |
f62511da MM |
2242 | (rs6000_debug_vector_unit): Add p8_vector. |
2243 | (rs6000_debug_reg_global): If -mdebug=reg, print power8 constraint | |
2244 | definitions. Also print fusion state. | |
2245 | (rs6000_init_hard_regno_mode_ok): Set up power8 constraints. | |
2246 | (rs6000_builtin_mask_calculate): Add power8 builtin support. | |
2247 | (rs6000_option_override_internal): Add support for power8. | |
2248 | (rs6000_common_init_builtins): Add debugging for skipped builtins | |
2249 | if -mdebug=builtin. | |
2250 | (rs6000_adjust_cost): Add power8 support. | |
2251 | (rs6000_issue_rate): Likewise. | |
2252 | (insn_must_be_first_in_group): Likewise. | |
2253 | (insn_must_be_last_in_group): Likewise. | |
2254 | (force_new_group): Likewise. | |
2255 | (rs6000_register_move_cost): Likewise. | |
2256 | (rs6000_opt_masks): Likewise. | |
2257 | ||
2258 | * config/rs6000/rs6000.h (ASM_CPU_POWER8_SPEC): If we don't have a | |
2259 | power8 capable assembler, default to power7 options. | |
2260 | (TARGET_DIRECT_MOVE): Likewise. | |
2261 | (TARGET_CRYPTO): Likewise. | |
2262 | (TARGET_P8_VECTOR): Likewise. | |
2263 | (VECTOR_UNIT_P8_VECTOR_P): Define power8 vector support. | |
2264 | (VECTOR_UNIT_VSX_OR_P8_VECTOR_P): Likewise. | |
2265 | (VECTOR_MEM_P8_VECTOR_P): Likewise. | |
2266 | (VECTOR_MEM_VSX_OR_P8_VECTOR_P): Likewise. | |
2267 | (VECTOR_MEM_ALTIVEC_OR_VSX_P): Likewise. | |
2268 | (TARGET_XSCVDPSPN): Likewise. | |
2269 | (TARGET_XSCVSPDPN): Likewsie. | |
2270 | (TARGET_SYNC_HI_QI): Likewise. | |
2271 | (TARGET_SYNC_TI): Likewise. | |
2272 | (MASK_CRYPTO): Likewise. | |
2273 | (MASK_DIRECT_MOVE): Likewise. | |
2274 | (MASK_P8_FUSION): Likewise. | |
2275 | (MASK_P8_VECTOR): Likewise. | |
70cc1536 UB |
2276 | (REG_ALLOC_ORDER): Move fr13 to be lower in priority so that the TFmode |
2277 | temporary used by some of the direct move instructions to get two FP | |
2278 | temporary registers does not force creation of a stack frame. | |
f62511da MM |
2279 | (VLOGICAL_REGNO_P): Allow vector logical operations in GPRs. |
2280 | (MODES_TIEABLE_P): Move the VSX tests above the Altivec tests so | |
2281 | that any VSX registers are tieable, even if they are also an | |
2282 | Altivec vector mode. | |
2283 | (r6000_reg_class_enum): Add wm, wr, wv constraints. | |
2284 | (RS6000_BTM_P8_VECTOR): Power8 builtin support. | |
2285 | (RS6000_BTM_CRYPTO): Likewise. | |
2286 | (RS6000_BTM_COMMON): Likewise. | |
2287 | ||
2288 | * config/rs6000/rs6000.md (cpu attribute): Add power8. | |
2289 | * config/rs6000/rs6000-opts.h (PROCESSOR_POWER8): Likewise. | |
2290 | (enum rs6000_vector): Add power8 vector support. | |
2291 | ||
73a1a707 RR |
2292 | 2013-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
2293 | ||
2294 | PR target/19599 | |
2295 | PR target/57340 | |
2296 | * config/arm/arm.c (any_sibcall_uses_r3): Rename to .. | |
2297 | (any_sibcall_could_use_r3): this and handle indirect calls. | |
2298 | (arm_get_frame_offsets): Rename use of any_sibcall_uses_r3. | |
2299 | ||
d28073d4 BS |
2300 | 2013-05-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
2301 | ||
2302 | * config/rs6000/rs6000.h (MALLOC_ABI_ALIGNMENT): New #define. | |
2303 | ||
bee0b10c RB |
2304 | 2013-05-22 Richard Biener <rguenther@suse.de> |
2305 | ||
2306 | PR middle-end/57349 | |
2307 | * profile.c (branch_prob): Do not split blocks that are | |
2308 | abnormally receiving from ECF_RETURNS_TWICE functions. | |
2309 | ||
98409b51 RS |
2310 | 2013-05-22 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
2311 | ||
2312 | * recog.c (offsettable_address_addr_space_p): Fix calculation of | |
2313 | address mode. Move pointer mode initialization to the same place. | |
2314 | ||
c0602ab8 MZ |
2315 | 2013-05-22 Michael Zolotukhin <michael.v.zolotukhin@intel.com> |
2316 | ||
2317 | * read-rtl.c (copy_rtx_for_iterators): Continue applying iterators | |
2318 | while it has any effect. | |
2319 | ||
4f7a634e ER |
2320 | 2013-05-21 Easwaran Raman <eraman@google.com> |
2321 | ||
2322 | PR tree-optimization/57322 | |
9daf6dbb ER |
2323 | * tree-ssa-reassoc.c (build_and_add_sum): If a BB is empty, set the |
2324 | UID of the statement added to the BB to be 1. | |
4f7a634e | 2325 | |
a4ce1258 JJ |
2326 | 2013-05-21 Jakub Jelinek <jakub@redhat.com> |
2327 | ||
2328 | PR tree-optimization/57331 | |
70cc1536 UB |
2329 | * tree-vrp.c (simplify_cond_using_ranges): Don't optimize comparison |
2330 | of conversion from pointer type to integral type with integer. | |
a4ce1258 | 2331 | |
1b14621a MJ |
2332 | 2013-05-21 Martin Jambor <mjambor@suse.cz> |
2333 | ||
2334 | PR lto/57289 | |
2335 | * ipa-prop.c (ipa_read_node_info): Process param_used and | |
2336 | controlled_uses in the same order as when writing. | |
2337 | ||
e60661f0 MG |
2338 | 2013-05-21 Magnus Granberg <baldrick@free.fr> |
2339 | ||
2340 | PR plugins/56754 | |
ee49aa34 | 2341 | * Makefile.in (PLUGIN_HEADERS): Add $(TARGET_H). |
e60661f0 | 2342 | |
4a61be9a RB |
2343 | 2013-05-21 Richard Biener <rguenther@suse.de> |
2344 | ||
2345 | PR tree-optimization/57318 | |
2346 | * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Do not | |
2347 | estimate stmts with side-effects as likely eliminated. | |
2348 | ||
c52da5f7 RB |
2349 | 2013-05-21 Richard Biener <rguenther@suse.de> |
2350 | ||
2351 | PR tree-optimization/57330 | |
2352 | * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Properly | |
2353 | preserve the call stmts fntype. | |
2354 | ||
7ec67e2a RB |
2355 | 2013-05-21 Richard Biener <rguenther@suse.de> |
2356 | ||
2357 | PR tree-optimization/57303 | |
2358 | * tree-ssa-sink.c (statement_sink_location): Improve killing | |
2359 | stmt detection and properly handle self-assignments. | |
2360 | ||
b112d513 CB |
2361 | 2013-05-21 Christian Bruel <christian.bruel@st.com> |
2362 | ||
55805e54 YR |
2363 | * dwarf2out.c (multiple_reg_loc_descriptor): Use dbx_reg_number for |
2364 | spanning registers. LEAF_REG_REMAP is supported only for contiguous | |
b112d513 CB |
2365 | registers. Set register size out of the PARALLEL loop. |
2366 | ||
14c2ec26 OE |
2367 | 2013-05-20 Oleg Endo <olegendo@gcc.gnu.org> |
2368 | ||
2369 | PR target/56547 | |
2370 | * config/sh/sh.md (fmasf4): Remove empty constraints strings. | |
2371 | (*fmasf4, *fmasf4_media): New insns. | |
2372 | ||
da734fa1 RS |
2373 | 2013-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
2374 | ||
2375 | * config/mips/mips.h (BASE_INSN_LENGTH, NOP_INSN_LENGTH): New macros. | |
2376 | * config/mips/mips.c (mips_symbol_insns, mips_address_insns) | |
2377 | (mips_const_insns, mips_split_const_insns, mips_load_store_insns) | |
2378 | (mips_idiv_insns): Update the comments to say that the returned | |
2379 | instruction counts are in units of BASE_INSN_LENGTH. | |
2380 | (mips_adjust_insn_length): Multiply the mips_load_label_num_insns | |
2381 | by BASE_INSN_LENGTH rather than 4. Add the jump separately, | |
2382 | using 2 rather than 4 as the length of indirect MIPS16 and | |
2383 | microMIPS jumps. Use NOP_INSN_LENGTH rather than 4 as the | |
2384 | length of a NOP. Don't divide MIPS16 lengths by 2. | |
2385 | (mips16_split_long_branches): Assume a branch is long if the | |
2386 | length is greater than 4 rather than 8. | |
2387 | * config/mips/mips.md (length): Give MIPS16 lengths directly, | |
2388 | rather than multiplying them by 2. Multiply instruction counts | |
2389 | by BASE_INSN_LENGTH rather than 4. | |
2390 | (*jump_mips16, tls_get_tp_mips16_<mode>) | |
2391 | (*tls_get_tp_mips16_call_<mode>): Divide lengths by 2. | |
2392 | ||
13719e8b RS |
2393 | 2013-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
2394 | ||
2395 | * config/mips/mips.md (extended_mips16): Remove branch case. | |
2396 | (length): Remove duplicated extended_mips16 test. | |
2397 | ||
c3850d14 RS |
2398 | 2013-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
2399 | ||
2400 | * config/mips/t-sde: Don't build 64-bit microMIPS multilibs. | |
2401 | ||
8da2e059 RS |
2402 | 2013-05-18 Richard Sandiford <rdsandiford@googlemail.com> |
2403 | ||
2404 | * recog.h (Recog_data): Rename to... | |
2405 | (recog_data_d): ...this. | |
2406 | (recog_data): Update accordingly. | |
2407 | * recog.c (recog_data): Likewise. | |
2408 | * reload.c (save_recog_data): Likewise. | |
2409 | * config/picochip/picochip.c (picochip_saved_recog_data): Likewise. | |
2410 | (picochip_save_recog_data, picochip_restore_recog_data): Likewise. | |
2411 | ||
2df013f3 JB |
2412 | 2013-05-17 Julian Brown <julian@codesourcery.com> |
2413 | ||
2414 | * gcse.c (compute_ld_motion_mems): If a non-simple MEM is | |
2415 | found in a REG_EQUAL note, invalidate it. | |
2416 | ||
933f507d ER |
2417 | 2013-05-17 Easwaran Raman <eraman@google.com> |
2418 | ||
2419 | * tree-ssa-reassoc.c (find_insert_point): New function. | |
2420 | (insert_stmt_after): Likewise. | |
2421 | (get_def_stmt): Likewise. | |
2422 | (ensure_ops_are_available): Likewise. | |
2423 | (not_dominated_by): Likewise. | |
2424 | (rewrite_expr_tree): Do not move statements beyond what is | |
2425 | necessary. Remove call to swap_ops_for_binary_stmt... | |
2426 | (reassociate_bb): ... and move it here. | |
2427 | (build_and_add_sum): Assign UIDs for new statements. | |
2428 | (linearize_expr): Likewise. | |
2429 | (do_reassoc): Renumber gimple statement UIDs. | |
2430 | ||
e01c7cca JH |
2431 | 2013-05-17 Jan Hubicka <jh@suse.cz> |
2432 | ||
2433 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes): Resolve cross module | |
2434 | weakrefs. | |
2435 | * cgraph.c (dump_cgraph_node): Do not ice on unresolved alias. | |
e2420687 UB |
2436 | * cgraphunit.c (handle_alias_pairs): Store target of unresolved |
2437 | weakrefs. | |
e01c7cca JH |
2438 | (output_weakrefs): Update. |
2439 | ||
c3272a92 PCC |
2440 | 2013-05-17 Po-Chun Chang <pchang9@cs.wisc.edu> |
2441 | Martin Jambor <mjambor@suse.cz> | |
2442 | ||
2443 | PR middle-end/57276 | |
2444 | * ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Break when a | |
2445 | value that corresponds to the given aggval is found in values vector. | |
2446 | ||
11c2aa39 UB |
2447 | 2013-05-17 Uros Bizjak <ubizjak@gmail.com> |
2448 | ||
2449 | * config/i386/driver-i386.c (host_detect_local_cpu): Pass mmx, 3dnow, | |
2450 | sse, sse2, sse3, ssse3 and sse4a flags to options. | |
2451 | ||
abecc8c6 DM |
2452 | 2013-05-17 David Malcolm <dmalcolm@redhat.com> |
2453 | ||
2454 | * gengtype-state.c: (s_expr_writer): New class, to handle | |
2455 | prettifying of output layout of s-expressions. | |
2456 | (state_writer): New class, to write out gtype.state. | |
2457 | (state_written_type_count): Move this variable into member data of | |
2458 | state_writer. | |
2459 | (s_expr_writer::s_expr_writer): New code: constructor for new class | |
2460 | (state_writer::state_writer(): ditto | |
2461 | (s_expr_writer::write_new_line): New function | |
2462 | (s_expr_writer::write_any_indent): ditto | |
2463 | (s_expr_writer::begin_s_expr): ditto | |
2464 | (s_expr_writer::end_s_expr): ditto | |
2465 | (write_state_fileloc): convert to method of state_writer... | |
2466 | (state_writer:: write_state_fileloc): ...and use methods of | |
2467 | s_expr_writer to write indentation into the gtype.state output file | |
2468 | to visually represent the hierarchical structure of the list | |
2469 | structures | |
2470 | (write_state_fields): ditto, renaming to... | |
2471 | (state_writer::write_state_fields) | |
2472 | (write_state_a_string): ditto, renaming to... | |
2473 | (state_writer::write_state_a_string) | |
2474 | (write_state_string_option): ditto, renaming to... | |
2475 | (state_writer::write_state_string_option) | |
2476 | (write_state_type_option): ditto, renaming to... | |
2477 | (state_writer::write_state_type_option) | |
2478 | (write_state_nested_option): ditto, renaming to... | |
2479 | (state_writer::write_state_nested_option) | |
2480 | (write_state_option): ditto, renaming to... | |
2481 | (state_writer::write_state_option) | |
2482 | (write_state_options): ditto, renaming to... | |
2483 | (state_writer::write_state_options) | |
2484 | (write_state_lang_bitmap): ditto, renaming to... | |
2485 | (state_writer::write_state_lang_bitmap) | |
2486 | (write_state_version): ditto, renaming to... | |
2487 | (state_writer::write_state_version) | |
2488 | (write_state_scalar_type): ditto, renaming to... | |
2489 | (state_writer::write_state_scalar_type) | |
2490 | (write_state_string_type): ditto, renaming to... | |
2491 | (state_writer::write_state_string_type) | |
2492 | (write_state_undefined_type): ditto, renaming to... | |
2493 | (state_writer::write_state_undefined_type) | |
2494 | (write_state_struct_union_type): ditto, renaming to... | |
2495 | (state_writer::write_state_struct_union_type) | |
2496 | (write_state_struct_type): ditto, renaming to... | |
2497 | (state_writer::write_state_struct_type) | |
2498 | (write_state_user_struct_type): ditto, renaming to... | |
2499 | (state_writer::write_state_user_struct_type) | |
2500 | (write_state_lang_struct_type): ditto, renaming to... | |
2501 | (state_writer::write_state_lang_struct_type) | |
2502 | (write_state_param_struct_type): ditto, renaming to... | |
2503 | (state_writer::write_state_param_struct_type) | |
2504 | (write_state_pointer_type): ditto, renaming to... | |
2505 | (state_writer::write_state_pointer_type) | |
2506 | (write_state_array_type): ditto, renaming to... | |
2507 | (state_writer::write_state_array_type) | |
2508 | (write_state_gc_used): ditto, renaming to... | |
2509 | (state_writer::write_state_gc_used) | |
2510 | (write_state_common_type_content): ditto, renaming to... | |
2511 | (state_writer::write_state_common_type_content) | |
2512 | (write_state_type): ditto, renaming to... | |
2513 | (state_writer::write_state_type) | |
2514 | (write_state_pair_list): ditto, renaming to... | |
2515 | (state_writer::write_state_pair_list) | |
2516 | (write_state_pair): ditto, renaming to... | |
2517 | (state_writer::write_state_pair) | |
2518 | (write_state_typedefs): ditto, renaming to... | |
2519 | (state_writer::write_state_typedefs) | |
2520 | (write_state_structures): ditto, renaming to... | |
2521 | (state_writer::write_state_structures) | |
2522 | (write_state_param_structs): ditto, renaming to... | |
2523 | (state_writer::write_state_param_structs) | |
2524 | (write_state_variables): ditto, renaming to... | |
2525 | (state_writer::write_state_variables) | |
2526 | (write_state_srcdir): ditto, renaming to... | |
2527 | (state_writer::write_state_srcdir) | |
2528 | (write_state_files_list): ditto, renaming to... | |
2529 | (state_writer::write_state_files_list) | |
2530 | (write_state_languages): ditto, renaming to... | |
2531 | (state_writer::write_state_languages) | |
2532 | (write_state): create a state_writer instance and use it when | |
2533 | writing out the state file | |
2534 | ||
d6545f29 MS |
2535 | 2013-05-17 Mike Stump <mikestump@comcast.net> |
2536 | ||
816a3f73 | 2537 | PR rtl-optimization/57304 |
d6545f29 MS |
2538 | * web.c (union_match_dups): Ensure that DF_REF_LOC exists before |
2539 | accessing DF_REF_REAL_LOC. | |
2540 | ||
38c821cf JJ |
2541 | 2013-05-17 Jakub Jelinek <jakub@redhat.com> |
2542 | ||
2543 | PR rtl-optimization/57281 | |
2544 | PR rtl-optimization/57300 | |
2545 | * config/i386/i386.md (extendsidi2_1 dead reg splitter): Remove. | |
2546 | (extendsidi2_1 peephole2s): Add instead 2 new peephole2s, that undo | |
2547 | what the other splitter did if the registers are dead. | |
2548 | ||
2a293391 RB |
2549 | 2013-05-17 Richard Biener <rguenther@suse.de> |
2550 | ||
2551 | * tree-ssa-alias.c (stmt_kills_ref_p_1): Properly compare | |
2552 | MEM_REF offsets. | |
2553 | ||
17042d2b JJ |
2554 | 2013-05-17 Jakub Jelinek <jakub@redhat.com> |
2555 | ||
2556 | * gcc.c (SANITIZER_SPEC): Reject -fsanitize=address -fsanitize=thread | |
2557 | linking. | |
2558 | ||
5b115c1f MP |
2559 | 2013-05-17 Marek Polacek <polacek@redhat.com> |
2560 | ||
11c2aa39 UB |
2561 | * tree-ssa-strlen.c (handle_char_store): Don't invalidate cached |
2562 | length when doing non-zero store of storing '\0' to '\0'. | |
5b115c1f | 2563 | |
52d84413 JJ |
2564 | 2013-05-17 Jakub Jelinek <jakub@redhat.com> |
2565 | ||
68119618 JJ |
2566 | * tree-vect-patterns.c (vect_recog_rotate_pattern): For |
2567 | vect_external_def oprnd1 with loop_vinfo, try to emit | |
2568 | optional cast, negation and and stmts on the loop preheader | |
2569 | edge instead of into the pattern def seq. | |
2570 | ||
52d84413 JJ |
2571 | PR tree-optimization/57051 |
2572 | * fold-const.c (const_binop) <case VEC_LSHIFT_EXPR, | |
2573 | case VEC_RSHIFT_EXPR>: Fix BYTES_BIG_ENDIAN handling. | |
2574 | ||
17b962bd NC |
2575 | 2013-05-16 Nick Clifton <nickc@redhat.com> |
2576 | ||
2577 | * config/rl78/rl78.c (rl78_attribute_table): Add naked. | |
2578 | (rl78_is_naked_func): New function. | |
56aefbf7 UB |
2579 | (rl78_expand_prologue): Skip prologue generation for naked functions. |
2580 | (rl78_expand_epilogue): Skip epilogue generation for naked functions. | |
17b962bd NC |
2581 | * doc/extend.texi (naked): Add RL78 to the list of processors |
2582 | that supports this attribute. | |
2583 | ||
b1a0f84e JL |
2584 | 2013-05-16 Jeff Law <law@redhat.com> |
2585 | ||
2586 | * Makefile.in (tree-switch-conversion.o): Depend on $(OPTABS_H). | |
2587 | ||
af0e415b UB |
2588 | 2013-05-16 Uros Bizjak <ubizjak@gmail.com> |
2589 | ||
2590 | * config/i386/driver-i386.c (host_detect_local_cpu): Determine | |
2591 | cache parameters using detect_caches_amd also for CYRIX, | |
2592 | NSC and TM2 signatures. | |
2593 | ||
19db293a UB |
2594 | 2013-05-16 Uros Bizjak <ubizjak@gmail.com> |
2595 | Dzianis Kahanovich <mahatma@eu.by> | |
2596 | ||
2597 | PR target/45359 | |
2598 | PR target/46396 | |
2599 | * config/i386/driver-i386.c (host_detect_local_cpu): Detect | |
2600 | VIA/Centaur processors and determine their cache parameters | |
2601 | using detect_caches_amd. | |
2602 | ||
251a41b9 TJ |
2603 | 2013-05-16 Teresa Johnson <tejohnson@google.com> |
2604 | ||
2605 | * cfgrtl.c (verify_hot_cold_block_grouping): Return err. | |
2606 | (rtl_verify_edges): New function. | |
2607 | (rtl_verify_bb_insns): Ditto. | |
2608 | (rtl_verify_bb_pointers): Ditto. | |
2609 | (rtl_verify_bb_insn_chain): Ditto. | |
2610 | (rtl_verify_fallthru): Ditto. | |
2611 | (rtl_verify_bb_layout): Ditto. | |
2612 | (rtl_verify_flow_info_1): Outline checks into new functions. | |
2613 | (rtl_verify_flow_info): Ditto. | |
2614 | ||
f14540b6 SE |
2615 | 2013-05-16 Steve Ellcey <sellcey@imgtec.com> |
2616 | ||
2617 | * cfghooks.c (copy_bbs): Add update_dominance argument. | |
2618 | * cfghooks.h (copy_bbs): Update prototype. | |
2619 | * tree-cfg.c (gimple_duplicate_sese_region): | |
2620 | Add update_dominance argument. | |
2621 | * tree-flow.h (gimple_duplicate_sese_region): Update prototype. | |
2622 | * tree-ssa-loop-ch.c (copy_loop_headers): Update | |
2623 | gimple_duplicate_sese_region call. | |
2624 | * tree-vect-loop-manip.c (slpeel_tree_duplicate_loop_to_edge_cfg): | |
2625 | Update copy_bbs call. | |
2626 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Ditto. | |
2627 | * trans-mem.c (ipa_uninstrument_transaction): Ditto. | |
2628 | ||
7e9a3abb JJ |
2629 | 2013-05-16 Jakub Jelinek <jakub@redhat.com> |
2630 | ||
2631 | * tree-vectorizer.h (NUM_PATTERNS): Increment. | |
2632 | * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Add | |
2633 | vect_recog_rotate_pattern. | |
2634 | (vect_recog_rotate_pattern): New function. | |
2635 | ||
427b248d JM |
2636 | 2013-05-16 Jason Merrill <jason@redhat.com> |
2637 | ||
2638 | * Makefile.in (LLINKER): New variable. | |
2639 | (mostlyclean): Remove link mutex. | |
2640 | * configure.ac: Handle --enable-link-mutex. | |
2641 | * lock-and-run.sh: New script. | |
2642 | ||
b871e3d2 RR |
2643 | 2013-05-16 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
2644 | ||
2645 | PR target/19599 | |
2646 | * config/arm/arm.c (arm_function_ok_for_sibcall): Add check | |
2647 | for NULL decl. | |
2648 | ||
ce858126 RO |
2649 | 2013-05-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2650 | ||
2651 | * reorg.c (link_cc0_insns): Wrap in #ifdef HAVE_cc0. | |
2652 | ||
798d3d04 GY |
2653 | 2013-05-16 Greta Yorsh <Greta.Yorsh@arm.com> |
2654 | ||
2655 | * config/arm/arm-protos.h (gen_movmem_ldrd_strd): New declaration. | |
2656 | * config/arm/arm.c (next_consecutive_mem): New function. | |
2657 | (gen_movmem_ldrd_strd): Likewise. | |
2658 | * config/arm/arm.md (movmemqi): Update condition and code. | |
2659 | (unaligned_loaddi, unaligned_storedi): New patterns. | |
2660 | ||
0baddc45 RO |
2661 | 2013-05-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2662 | ||
2663 | * config.gcc: Obsolete *-*-solaris2.9*. | |
2664 | * doc/install.texi (Specific, *-*-solaris2*): Document it. | |
2665 | ||
aa9d5bcf RB |
2666 | 2013-05-16 Richard Biener <rguenther@suse.de> |
2667 | ||
2668 | * passes.c (init_optimization_passes): Move pass_parallelize_loops | |
2669 | earlier, after GRAPHITE transforms and IV canonicalization. | |
2670 | ||
5a0f4dd3 JJ |
2671 | 2013-05-16 Jakub Jelinek <jakub@redhat.com> |
2672 | ||
2673 | * omp-low.c (extract_omp_for_data): For collapsed loops, | |
2674 | if at least one of the loops is known at compile time to | |
2675 | iterate zero times, set count to 0. | |
2676 | (expand_omp_regimplify_p): New function. | |
2677 | (expand_omp_for_generic): For collapsed loops, if at least | |
2678 | one of the loops isn't known to iterate at least once, | |
2679 | add runtime check with setting count to 0. | |
2680 | (expand_omp_for_static_nochunk, expand_omp_for_static_chunk): | |
2681 | For unsigned types if it isn't known at compile time that | |
2682 | the loop will iterate at least once, add runtime check to bypass | |
2683 | the whole loop if initial condition isn't true. | |
2684 | ||
e3753785 NS |
2685 | 2013-05-16 Nathan Sidwell <nathan@codesourcery.com> |
2686 | ||
2687 | * varasm.c (default_use_anchors_for_symbol_p): Use decl_replaceable_p. | |
2688 | ||
43bb4dd1 MG |
2689 | 2013-05-16 Marc Glisse <marc.glisse@inria.fr> |
2690 | ||
2691 | PR middle-end/57286 | |
2692 | * fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Disable some | |
2693 | transformations to avoid an infinite loop. | |
2694 | ||
3571dde6 MP |
2695 | 2013-05-16 Marek Polacek <polacek@redhat.com> |
2696 | ||
2697 | * tree-scalar-evolution.c (scev_const_prop): Add more dumps. | |
2698 | ||
b8b3f0ca LE |
2699 | 2013-05-15 Leif Ekblad <leif@rdos.net> |
2700 | ||
2701 | * config/i386/i386.c (ix86_decompose_address): Use | |
2702 | DEFAULT_TLS_SEG_REG to access TLS segment register. | |
2703 | * config/i386/i386.h (DEFAULT_TLS_SEG_REG): New define. | |
2704 | * config/i386/rdos.h (DEFAULT_TLS_SEG_REG): Ditto. | |
2705 | (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Ditto. | |
2706 | ||
e299a383 RS |
2707 | 2013-05-15 Richard Sandiford <rdsandiford@googlemail.com> |
2708 | ||
2709 | PR target/57260 | |
2710 | * config/mips/mips.c (mips_function_ok_for_sibcall): Don't allow | |
2711 | sibling calls to functions that would normally be lazily bound, | |
2712 | unless $gp is call-clobbered. | |
2713 | ||
e7208ea3 UB |
2714 | 2013-05-15 Uros Bizjak <ubizjak@gmail.com> |
2715 | ||
19db293a | 2716 | * config/i386/i386.c (ix86_option_override_internal): Update |
e7208ea3 | 2717 | processor_alias_table for missing PTA_PRFCHW and PTA_FXSR flags. Add |
5d280e2b UB |
2718 | PTA_POPCNT to corei7 entry. Do not enable SSE prefetch on |
2719 | non-SSE 3dNow! targets. Enable TARGET_PRFCHW for TARGET_3DNOW targets. | |
e7208ea3 UB |
2720 | * config/i386/i386.md (prefetch): Enable for TARGET_PRFCHW instead |
2721 | of TARGET_3DNOW. | |
2722 | (*prefetch_3dnow): Enable for TARGET_PRFCHW only. | |
2723 | ||
e7413f3d AS |
2724 | 2013-05-15 Andreas Schwab <schwab@suse.de> |
2725 | ||
2726 | * config/m68k/m68k.md (*rotlhi3_lowpart, *rotlqi3_lowpart): Name | |
2727 | for rotlhi3+1 and rotlqi3+1, resp. Fix reference to non-existing | |
2728 | third operand. | |
2729 | ||
ad4db775 TJ |
2730 | 2013-05-15 Teresa Johnson <tejohnson@google.com> |
2731 | ||
2732 | * loop-unroll.c (report_unroll_peel): Check decision before | |
2733 | emitting unroll/peel message. | |
2734 | ||
af205f67 TJ |
2735 | 2013-05-15 Teresa Johnson <tejohnson@google.com> |
2736 | ||
2737 | * function.h (has_bb_partition): New rtl_data flag. | |
2738 | (bb_reorder_complete): Ditto. | |
2739 | * cfgcleanup.c (try_crossjump_to_edge): Check for has_bb_partition | |
2740 | instead of flag_reorder_blocks_and_partition. | |
2741 | * cfgrtl.c (verify_hot_cold_block_grouping): Moved from bb-reorder.c, | |
2742 | with some enhancements. | |
2743 | (rtl_verify_flow_info_1): Call verify_hot_cold_block_grouping. | |
2744 | * bb-reorder.c (connect_traces): Check for has_bb_partition | |
2745 | instead of flag_reorder_blocks_and_partition. | |
2746 | (verify_hot_cold_block_grouping): Moved to cfgrtl.c. | |
2747 | (reorder_basic_blocks): Set bb_reorder_complete flag, remove call to | |
2748 | verify_hot_cold_block_grouping. | |
2749 | (partition_hot_cold_basic_blocks): Set has_bb_partition. | |
2750 | ||
9adcfa3c RR |
2751 | 2013-05-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
2752 | ||
2753 | PR target/19599 | |
2754 | * config/arm/predicates.md (call_insn_operand): New predicate. | |
2755 | * config/arm/constraints.md ("Cs", "Ss"): New constraints. | |
2756 | * config/arm/arm.md (*call_insn, *call_value_insn): Match only | |
2757 | if insn is not a tail call. | |
2758 | (*sibcall_insn, *sibcall_value_insn): Adjust for tailcalling through | |
2759 | registers. | |
2760 | * config/arm/arm.h (enum reg_class): New caller save register class. | |
2761 | (REG_CLASS_NAMES): Likewise. | |
2762 | (REG_CLASS_CONTENTS): Likewise. | |
2763 | * config/arm/arm.c (arm_function_ok_for_sibcall): Allow tailcalling | |
2764 | without decls. | |
2765 | ||
ccb3ad87 RB |
2766 | 2013-05-15 Richard Biener <rguenther@suse.de> |
2767 | ||
2768 | * tree-vect-loop.c (vect_transform_loop): Use MSG_NOTE instead | |
2769 | of MSG_OPTIMIZED_LOCATIONS. | |
2770 | * tree-vect-slp.c (vect_make_slp_decision): Likewise. | |
2771 | (vect_slp_transform_bb): Indicate location in MSG_OPTIMIZED_LOCATIONS | |
2772 | message. | |
2773 | * tree-vectorizer.c (vectorize_loops): Use MSG_NOTE instead | |
2774 | of MSG_OPTIMIZED_LOCATIONS. | |
2775 | (execute_vect_slp): Likewise. | |
2776 | * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Likewise. | |
2777 | (vect_create_cond_for_alias_checks): Likewise. | |
2778 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Likewise. | |
2779 | (vect_recog_widen_mult_pattern): Likewise. | |
2780 | (vect_recog_widen_sum_pattern): Likewise. | |
2781 | (vect_recog_over_widening_pattern): Likewise. | |
2782 | (vect_recog_widen_shift_pattern): Likewise. | |
2783 | (vect_recog_vector_vector_shift_pattern): Likewise. | |
2784 | (vect_recog_divmod_pattern): Likewise. | |
2785 | (vect_recog_mixed_size_cond_pattern): Likewise. | |
2786 | (vect_recog_bool_pattern): Likewise. | |
2787 | (vect_pattern_recog_1): Likewise. | |
2788 | ||
48b1474e MJ |
2789 | 2013-05-15 Martin Jambor <mjambor@suse.cz> |
2790 | ||
2791 | * ipa-prop.c (ipa_make_edge_direct_to_target): Redirect calls to | |
2792 | non-functions to builtin_unreachable. | |
2793 | * ipa-inline-transform.c (inline_call): Do not assert estimates were | |
2794 | correct when new direct edges were discovered. | |
2795 | ||
9de04252 MJ |
2796 | 2013-05-15 Martin Jambor <mjambor@suse.cz> |
2797 | ||
2798 | * ipa-prop.c (ipa_print_node_jump_functions): Print symbol order in | |
2799 | header, print symbol order instead of node uid, print more information | |
2800 | about indirect edge targets. | |
2801 | (ipa_make_edge_direct_to_target): Print symbol order instead of node | |
2802 | uids. | |
2803 | (ipa_make_edge_direct_to_target): Likewise. | |
2804 | (remove_described_reference): Likewise. | |
2805 | (propagate_controlled_uses): Likewise. | |
2806 | (ipa_print_node_params): Also print symbol order. | |
2807 | (ipcp_transform_function): Print symbol order instead of node uids. | |
2808 | * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Likewise. | |
2809 | (cgraph_get_create_real_symbol_node): Likewise. | |
2810 | * ipa-cp.c (print_lattice): Likewise. | |
2811 | (print_all_lattices): Likewise. | |
2812 | (determine_versionability): Likewise. | |
2813 | (initialize_node_lattices): Likewise. | |
2814 | (estimate_local_effects): Likewise. | |
2815 | (update_profiling_info): Likewise. | |
2816 | (create_specialized_node): Likewise. | |
2817 | (perhaps_add_new_callers): Likewise. | |
2818 | (decide_about_value): Likewise. | |
2819 | (decide_whether_version_node): Likewise. | |
2820 | (identify_dead_nodes): Likewise. | |
2821 | * ipa-inline-analysis.c (dump_inline_edge_summary): Likewise. | |
2822 | (dump_inline_summary): Likewise. | |
2823 | (estimate_node_size_and_time): Likewise. | |
2824 | (inline_analyze_function): Likewise. | |
2825 | * ipa-inline.c (report_inline_failed_reason): Likewise. | |
2826 | (want_early_inline_function_p): Likewise. | |
2827 | (edge_badness): Likewise. | |
2828 | (update_edge_key): Likewise. | |
2829 | (inline_small_functions): Likewise. Add dumping of order to two other | |
2830 | dumps. | |
2831 | * ipa-pure-const.c (pure_const_read_summary): Print symbol order | |
2832 | instead of node uids. | |
2833 | (propagate_pure_const): Likewise. | |
2834 | (propagate_pure_const): Likewise. | |
2835 | * ipa-utils.c (dump_cgraph_node_set): Likewise. | |
2836 | * lto-cgraph.c (input_node): Explicitly specify we dump uid. | |
2837 | * lto-symtab.c (lto_cgraph_replace_node): Print symbol order instead | |
2838 | of node uids. | |
2839 | * tree-pretty-print.c (dump_function_header): Likewise. | |
2840 | * tree-sra.c (convert_callers_for_node): Dump in traditional format. | |
2841 | Print symbol order instead of node uids. | |
2842 | ||
1dd03b91 AK |
2843 | 2013-05-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2844 | ||
2845 | * config/s390/s390.c (s390_register_move_cost): Don't impose the | |
2846 | FPR<->GPR move cost penalty if ldgr/lgdr can be used. | |
2847 | ||
fdf6a7b9 RB |
2848 | 2013-05-15 Richard Biener <rguenther@suse.de> |
2849 | ||
2850 | PR tree-optimization/57275 | |
2851 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Fix | |
2852 | return value for fail to do runtime alias checks for gather loads. | |
2853 | ||
2d6e4603 JH |
2854 | 2013-05-15 Jan Hubicka <jh@suse.cz> |
2855 | ||
2856 | PR lto/57038 | |
2857 | PR lto/47375 | |
e7208ea3 UB |
2858 | * lto-symtab.c (lto_symtab_symbol_p): Add external symbol; |
2859 | weakrefs are not external. | |
2860 | (lto_symtab_merge_decls): Fix thinko when dealing with | |
2861 | non-lto_symtab decls. | |
2d6e4603 JH |
2862 | (lto_symtab_merge_cgraph_nodes): Use lto_symtab_symbol_p. |
2863 | (lto_symtab_prevailing_decl): Get int sync with lto_symtab_symbol_p. | |
2864 | * varpool.c (dump_varpool_node): Dump more flags. | |
2865 | ||
83f44b39 GG |
2866 | 2013-05-15 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> |
2867 | ||
2868 | * config/i386/i386.c (processor_alias_table): Add instruction | |
2869 | FSGSBASE for AMD bdver3 architecture. | |
2870 | ||
2e55d062 JJ |
2871 | 2013-05-14 Jakub Jelinek <jakub@redhat.com> |
2872 | ||
2873 | * tree.c (warn_deprecated_use): Print file:line using locus color. | |
2874 | * diagnostic.c (diagnostic_report_current_module): Print file:line | |
2875 | and file:line:column using locus color. | |
2876 | ||
0bfdb81e MS |
2877 | 2013-05-14 Mike Stump <mikestump@comcast.net> |
2878 | ||
2879 | * gdbinit.in: Add __null. | |
2880 | ||
a508ef22 MS |
2881 | 2013-05-14 Mike Stump <mikestump@comcast.net> |
2882 | ||
2883 | * recog.h: Rename struct recog_data to Recog_data. | |
2884 | * recog.c: Likewise. | |
2885 | * reload.c (can_reload_into): Likewise. | |
2886 | * config/picochip/picochip.c: Likewise. | |
2887 | ||
e7180acb MS |
2888 | 2013-05-14 Mike Stump <mikestump@comcast.net> |
2889 | ||
2890 | * web.c (union_match_dups): Also check DF_REF_REAL_LOC. | |
2891 | ||
61216c26 SB |
2892 | 2013-05-14 Steven Bosscher <steven@gcc.gnu.org> |
2893 | ||
fd6beed4 SB |
2894 | * resource.h (struct resources): Remove unch_memory member. |
2895 | (CLEAR_RESOURCE): Don't clear unch_memory. | |
2896 | * resource.c (mark_referenced_resources): Don't set it. | |
2897 | (mark_set_resources): Likewise. | |
2898 | (mark_target_live_regs): Don't clear it. | |
2899 | (init_resource_info): Likewise. | |
2900 | * reorg.c (resource_conflicts_p): Don't compare it. | |
2901 | (redundant_insn): Don't set it. | |
2902 | ||
61216c26 SB |
2903 | * rtl.h (next_label, skip_consecutive_labels, link_cc0_insns): |
2904 | Remove prototypes. | |
2905 | * emit-rtl.c (next_label): Remove unused function. | |
2906 | (skip_consecutive_labels, link_cc0_insns): Move to ... | |
2907 | * reorg.c (skip_consecutive_labels, link_cc0_insns): ... here, the | |
2908 | only place where these functions are used, and make them static. | |
2909 | ||
418d1b87 MG |
2910 | 2013-05-14 Marc Glisse <marc.glisse@inria.fr> |
2911 | ||
2912 | * fold-const.c (fold_negate_expr): Handle vectors. | |
2913 | (fold_truth_not_expr): Make it static. | |
2914 | (fold_invert_truthvalue): New static function. | |
2915 | (invert_truthvalue_loc): Handle vectors. Do not call | |
2916 | fold_truth_not_expr directly. | |
2917 | (fold_unary_loc) <BIT_NOT_EXPR>: Handle comparisons. | |
2918 | <TRUTH_NOT_EXPR>: Do not cast to boolean. | |
2919 | (fold_comparison): Handle vector constants. | |
2920 | (fold_binary_loc) <TRUTH_XOR_EXPR>: Remove redundant code. | |
2921 | (fold_ternary_loc) <VEC_COND_EXPR>: Adapt more COND_EXPR optimizations. | |
2922 | * tree.h (fold_truth_not_expr): Remove declaration. | |
2923 | ||
fc21784d JG |
2924 | 2013-05-14 James Greenhalgh <james.greenhalgh@arm.com> |
2925 | ||
2926 | * config/aarch64/aarch64-simd.md | |
2927 | (aarch64_vcond_internal<mode>): Rename to... | |
2928 | (aarch64_vcond_internal<mode><mode>): ...This, for integer modes. | |
2929 | (aarch64_vcond_internal<VDQF_COND:mode><VDQF:mode>): ...This for | |
2930 | float modes. Clarify all iterator modes. | |
2931 | (vcond<mode><mode>): Use new name for vcond expanders. | |
2932 | (vcond<v_cmp_result><mode>): Likewise. | |
2933 | (vcondu<mode><mode>: Likewise. | |
2934 | * config/aarch64/iterators.md (VDQF_COND): New. | |
2935 | ||
d4c52634 MG |
2936 | 2013-05-14 Marc Glisse <marc.glisse@inria.fr> |
2937 | ||
2938 | PR bootstrap/57266 | |
2939 | * fold-const.c (fold_binary_loc) <shift>: Use an unsigned | |
2940 | variable for the shift amount. Check that we shift by non-negative | |
2941 | amounts. | |
2942 | ||
2b261262 CLT |
2943 | 2013-05-14 Chung-Lin Tang <cltang@codesourcery.com> |
2944 | ||
2945 | PR target/42017 | |
2946 | * config/arm/arm.h (EPILOGUE_USES): Only return true | |
2947 | for LR_REGNUM after epilogue_completed. | |
2948 | ||
6e022d7b JR |
2949 | 2013-05-14 Joern Rennecke <joern.rennecke@embecosm.com> |
2950 | ||
2951 | * config/avr/avr.c (avr_encode_section_info): Bail out if the type | |
e7208ea3 | 2952 | is error_mark_node. |
6e022d7b | 2953 | |
56cf7859 RO |
2954 | 2013-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2955 | ||
2956 | PR target/57261 | |
2957 | * configure.ac (gcc_cv_ld_as_needed): Disable before Solaris 11 | |
2958 | and Solaris 11+/x86 with gld. | |
2959 | * configure: Regenerate. | |
2960 | ||
75776c6d JJ |
2961 | 2013-05-14 Jakub Jelinek <jakub@redhat.com> |
2962 | ||
2963 | * expmed.c (expand_shift_1): Canonicalize rotates by | |
2964 | constant bitsize / 2 to bitsize - 1. | |
7f998021 | 2965 | * simplify-rtx.c (simplify_binary_operation_1) <case ROTATE, |
75776c6d JJ |
2966 | case ROTATERT>: Likewise. |
2967 | ||
2968 | Revert: | |
2969 | 2013-05-10 Jakub Jelinek <jakub@redhat.com> | |
2970 | ||
2971 | * config/i386/i386.md (rotateinv): New code attr. | |
2972 | (*<rotate_insn><mode>3_1, *<rotate_insn>si3_1_zext, | |
2973 | *<rotate_insn>qi3_1_slp): Emit rorl %eax instead of | |
2974 | roll $31, %eax, etc. | |
2975 | ||
df35498a RB |
2976 | 2013-05-14 Richard Biener <rguenther@suse.de> |
2977 | ||
2978 | PR middle-end/57235 | |
2979 | * tree-eh.c (sink_clobbers): Give up for successors with | |
2980 | multiple predecessors and no virtual uses. | |
2981 | ||
cc6e7ece EB |
2982 | 2013-05-14 Eric Botcazou <ebotcazou@adacore.com> |
2983 | ||
2984 | * config/sparc/sp64-elf.h (CPP_SUBTARGET_SPEC): Delete. | |
2985 | * config/sparc/openbsd64.h (CPP_SUBTARGET_SPEC): Likewise. | |
2986 | ||
f778dd4d JJ |
2987 | 2013-05-14 Jakub Jelinek <jakub@redhat.com> |
2988 | ||
2989 | PR middle-end/57251 | |
2990 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Handle | |
2991 | the case when both op0 and op1 have VOIDmode. | |
2992 | ||
bad4df9b KP |
2993 | 2013-05-14 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
2994 | ||
2995 | * config/rl78/rl78.md(mulsi3_g13): Add additional 'nop' required | |
2996 | in multiply-accumulate mode. | |
2997 | ||
56f3e9ac GW |
2998 | 2013-05-13 Guozhi Wei <carrot@google.com> |
2999 | ||
3000 | * dwarf2asm.c (dw2_output_indirect_constant_1): Mark new decl STATIC. | |
3001 | ||
a3d7ab92 KT |
3002 | 2013-05-13 Kai Tietz <ktietz@redhat.com> |
3003 | ||
3004 | PR target/56975 | |
3005 | * config/i386/cygming.h (TARGET_PECOFF): Define as true. | |
e7208ea3 | 3006 | * config/i386/i386.h (TARGET_PECOFF): Define by default as false. |
a3d7ab92 | 3007 | (PIC_OFFSET_TABLE_REGNUM): Use TARGET_PECOFF. |
e7208ea3 | 3008 | * config/i386/i386.c (ix86_option_override_internal): Likewise. |
a3d7ab92 KT |
3009 | (ix86_expand_prologue): Likewise. |
3010 | (ix86_expand_split_stack_prologue): Likewise. | |
3011 | (legitimate_pic_address_disp_p): Likewise. | |
3012 | (legitimize_pic_address): Likewise. | |
3013 | (legitimize_tls_address): Likewise. | |
3014 | (legitimize_pe_coff_symbol): Likewise. | |
3015 | (output_pic_addr_const): Likewise. | |
3016 | (construct_plt_address): Likewise. | |
3017 | (ix86_expand_call): Likewise. | |
3018 | (x86_output_mi_thunk): Likewise. | |
3019 | (x86_function_profiler): Likewise. | |
3020 | ||
c59b7e28 SN |
3021 | 2013-05-13 Sofiane Naci <sofiane.naci@arm.com> |
3022 | ||
3023 | * config/aarch64/aarch64-simd.md (aarch64_simd_mov<mode>): Group | |
3024 | similar switch cases. | |
3025 | (aarch64_simd_mov): Rename to aarch64_split_simd_mov. Update. | |
3026 | (aarch64_simd_mov_to_<mode>low): Delete. | |
3027 | (aarch64_simd_mov_to_<mode>high): Delete. | |
3028 | (move_lo_quad_<mode>): Add w<-r alternative. | |
3029 | (aarch64_simd_move_hi_quad_<mode>): Likewise. | |
3030 | (aarch64_simd_mov_from_*): Update type attribute. | |
3031 | * config/aarch64/aarch64.c (aarch64_split_simd_move): Refacror switch | |
3032 | statement. | |
3033 | ||
5f28524a JH |
3034 | 2013-05-13 Jan Hubicka <jh@suse.cz> |
3035 | ||
3036 | * mode-switching.c (optimize_mode_switching): Set correct RTL profile. | |
3037 | * config/i386/i386.c (ix86_compute_frame_layout, | |
e7208ea3 UB |
3038 | ix86_expand_epilogue, emit_i387_cw_initialization, |
3039 | ix86_expand_vector_move_misalign, ix86_fp_comparison_strategy, | |
3040 | ix86_local_alignment): Fix use of size/speed predicates. | |
5f28524a | 3041 | |
ae6fa899 JJ |
3042 | 2013-05-13 Jakub Jelinek <jakub@redhat.com> |
3043 | ||
3044 | PR tree-optimization/45216 | |
3045 | PR tree-optimization/57157 | |
3046 | * tree-ssa-forwprop.c (simplify_rotate): Only recognize | |
3047 | the (-Y) & (B - 1) variant if OP is |. | |
3048 | * expmed.c (expand_shift_1): For rotations by const0_rtx just | |
3049 | return shifted. Use (-op1) & (prec - 1) as other_amount | |
3050 | instead of prec - op1. | |
3051 | ||
4502fe8d MJ |
3052 | 2013-05-13 Martin Jambor <mjambor@suse.cz> |
3053 | ||
3054 | PR middle-end/42371 | |
3055 | * ipa-prop.h (IPA_UNDESCRIBED_USE): New macro. | |
3056 | (ipa_constant_data): New type. | |
3057 | (ipa_jump_func): Use ipa_constant_data to hold information about | |
3058 | constant jump functions. | |
3059 | (ipa_get_jf_constant): Adjust to jump function type changes. | |
3060 | (ipa_get_jf_constant_rdesc): New function. | |
3061 | (ipa_param_descriptor): New field controlled_uses. | |
3062 | (ipa_get_controlled_uses): New function. | |
3063 | (ipa_set_controlled_uses): Likewise. | |
3064 | * ipa-ref.h (ipa_find_reference): Declare. | |
3065 | * ipa-prop.c (ipa_cst_ref_desc): New type. | |
3066 | (ipa_print_node_jump_functions_for_edge): Adjust for jump function type | |
3067 | changes. | |
3068 | (ipa_set_jf_constant): Likewise. Also create reference descriptions. | |
3069 | New parameter cs. Adjust all callers. | |
3070 | (ipa_analyze_params_uses): Detect uncontrolled and controlled uses. | |
3071 | (remove_described_reference): New function. | |
3072 | (jfunc_rdesc_usable): Likewise. | |
3073 | (try_make_edge_direct_simple_call): Decrement controlled use count, | |
3074 | attempt to remove reference if it hits zero. | |
3075 | (combine_controlled_uses_counters): New function. | |
3076 | (propagate_controlled_uses): Likewise. | |
3077 | (ipa_propagate_indirect_call_infos): Call propagate_controlled_uses. | |
3078 | (ipa_edge_duplication_hook): Duplicate reference descriptions. | |
3079 | (ipa_print_node_params): Print described use counter. | |
3080 | (ipa_write_jump_function): Adjust to jump function type changes. | |
3081 | (ipa_read_jump_function): New parameter CS, pass it to | |
3082 | ipa_set_jf_constant. Adjust caller. | |
3083 | (ipa_write_node_info): Stream controlled use count | |
3084 | (ipa_read_node_info): Likewise. | |
3085 | * cgraph.c (cgraph_mark_address_taken_node): Bail out instead of | |
3086 | asserting. | |
3087 | * ipa-cp.c (ipcp_discover_new_direct_edges): Decrement controlled use | |
3088 | count. Remove cloning-added reference if it reaches zero. | |
3089 | * ipa-ref.c (ipa_find_reference): New function. | |
3090 | ||
0864bfc2 GG |
3091 | 2013-05-13 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> |
3092 | ||
e7208ea3 | 3093 | * config/i386/i386.c (processor_target_table): Modified default |
0864bfc2 GG |
3094 | alignment values for AMD BD and BT architectures. |
3095 | ||
640bfeb2 MG |
3096 | 2013-05-13 Marc Glisse <marc.glisse@inria.fr> |
3097 | ||
3098 | * tree-vect-generic.c (uniform_vector_p): Move ... | |
3099 | * tree.c (uniform_vector_p): ... here. | |
3100 | * tree.h (uniform_vector_p): Declare it. | |
3101 | * fold-const.c (fold_binary_loc) <shift>: Turn the second argument | |
3102 | into a scalar. | |
3103 | ||
3a60f32b JJ |
3104 | 2013-05-13 Jakub Jelinek <jakub@redhat.com> |
3105 | ||
198fe1bf JJ |
3106 | PR tree-optimization/57230 |
3107 | * tree-ssa-strlen.c (handle_char_store): Record length for | |
3108 | array store from STRING_CST. | |
3109 | ||
3a60f32b JJ |
3110 | PR tree-optimization/57230 |
3111 | * tree-ssa-strlen.c (handle_char_store): Add missing integer_zerop | |
3112 | check. | |
3113 | ||
566be57c JR |
3114 | 2013-05-12 Joern Rennecke <joern.rennecke@embecosm.com> |
3115 | ||
3116 | * config/epiphany/epiphany.c (epiphany_init): Check size of | |
3117 | NUM_MODES_FOR_MODE_SWITCHING. | |
3118 | (epiphany_expand_prologue): | |
3119 | Remove CONFIG_REGNUM initial value handling code. | |
3120 | (epiphany_optimize_mode_switching): Handle EPIPHANY_MSW_ENTITY_CONFIG. | |
3121 | (epiphany_mode_needed, epiphany_mode_entry_exit): Likewise. | |
2710a27a | 3122 | (emit_set_fp_mode, epiphany_mode_after): Likewise. |
566be57c JR |
3123 | (epiphany_mode_needed) <Handle EPIPHANY_MSW_ENTITY_AND>: |
3124 | Don't return 1 for FP_MODE_NONE. | |
3125 | * config/epiphany/epiphany.h (NUM_MODES_FOR_MODE_SWITCHING): | |
3126 | Add value for EPIPHANY_MSW_ENTITY_CONFIG. | |
3127 | (EPIPHANY_MSW_ENTITY_CONFIG, EPIPHANY_MSW_ENTITY_NUM): Define. | |
3128 | * config/epiphany/epiphany.md (save_config): New pattern. | |
3129 | ||
0f2c2331 UB |
3130 | 2013-05-12 Uros Bizjak <ubizjak@gmail.com> |
3131 | ||
3132 | * config/i386/i386.md (*zero_extendsidi2): Add *x->?r alternative. | |
3133 | ||
5b3f93c7 UB |
3134 | 2013-05-10 Uros Bizjak <ubizjak@gmail.com> |
3135 | ||
3136 | * config/i386/i386.md (memory): Handle sseishft1. | |
3137 | * config/i386/sse.md (*vec_extractv4si): Remove memory attribute. | |
3138 | (*vec_extractv2di_1): Ditto. | |
3139 | ||
1f873f0e VM |
3140 | 2013-05-10 Vladimir Makarov <vmakarov@redhat.com> |
3141 | ||
3142 | * lra-assigns.c (find_hard_regno_for): Add 1 to the cost of call | |
3143 | saved registers. | |
3144 | ||
341427fa | 3145 | 2013-05-10 Sebastian Huber <sebastian.huber@embedded-brains.de> |
d7de6455 SH |
3146 | |
3147 | * config/arm/t-rtems-eabi: Remove mthumb/march=armv7 multilib. | |
3148 | Add mthumb/march=armv7-a multilib. | |
3149 | Add mthumb/march=armv7-r multilib. | |
3150 | Add mthumb/march=armv7-a/mfpu=neon/mfloat-abi=hard multilib. | |
3151 | ||
9e69bdde RC |
3152 | 2013-05-10 Ralf Corsépius <ralf.corsepius@rtems.org> |
3153 | ||
3154 | * config/v850/t-rtems: Add more multilibs. | |
3155 | ||
9ff09a22 RB |
3156 | 2013-05-10 Richard Biener <rguenther@suse.de> |
3157 | ||
3158 | PR tree-optimization/57214 | |
3159 | * tree-ssa-loop-ivcanon.c (propagate_constants_for_unrolling): Do | |
3160 | not propagate from SSA names that occur in abnormal PHI nodes. | |
3161 | ||
a5e0cd1d MG |
3162 | 2013-05-10 Marc Glisse <marc.glisse@inria.fr> |
3163 | ||
3164 | * stor-layout.c (element_precision): New function. | |
3165 | * machmode.h (element_precision): Declare it. | |
3166 | * tree.c (build_minus_one_cst): New function. | |
3167 | (element_precision): Likewise. | |
3168 | * tree.h (build_minus_one_cst): Declare new function. | |
3169 | (element_precision): Likewise. | |
3170 | * fold-const.c (operand_equal_p): Use element_precision. | |
3171 | (fold_binary_loc): Handle vector types. | |
3172 | * convert.c (convert_to_integer): Use element_precision. | |
3173 | * gimple.c (iterative_hash_canonical_type): Handle complex and vectors | |
3174 | separately. | |
3175 | ||
cb2558bc RS |
3176 | 2013-05-10 Richard Sandiford <rdsandiford@googlemail.com> |
3177 | ||
3178 | * config/mips/mips-protos.h (m16_uimm3_b, m16_simm4_1, m16_nsimm4_1) | |
3179 | (m16_simm5_1, m16_nsimm5_1, m16_uimm5_4, m16_nuimm5_4, m16_simm8_1) | |
3180 | (m16_nsimm8_1, m16_uimm8_1, m16_nuimm8_1, m16_uimm8_m1_1, m16_uimm8_4) | |
3181 | (m16_nuimm8_4, m16_simm8_8, m16_nsimm8_8): Delete. | |
3182 | * config/mips/mips.c (m16_check_op, m16_uimm3_b, m16_simm4_1) | |
3183 | (m16_nsimm4_1, m16_simm5_1, m16_nsimm5_1, m16_uimm5_4, m16_nuimm5_4) | |
3184 | (m16_simm8_1, m16_nsimm8_1, m16_uimm8_1, m16_nuimm8_1, m16_uimm8_m1_1) | |
3185 | (m16_uimm8_4, m16_nuimm8_4, m16_simm8_8, m16_nsimm8_8): Delete. | |
3186 | * config/mips/constraints.md (Udb8, Usb5, Usb8, Usd8, Uub8, Uuw5) | |
3187 | (Uuw8): New constraints. | |
3188 | (Usb4): Move into alphabetical order. | |
3189 | * config/mips/predicates.md (db8_operand, sb5_operand, sb8_operand) | |
3190 | (sd8_operand, ub8_operand, uw8_operand): New predicates. | |
3191 | * config/mips/mips.md (*xor<mode>3, *xor<mode>3_mips16): Name | |
3192 | previously unnamed patterns. | |
3193 | (*add<mode>3_mips16, *xor<mode>3_mips16, *<optab>si3_mips16) | |
3194 | (*ashldi3_mips16, *ashrdi3_mips16, *lshrdi3_mips16) | |
3195 | (*slt<u>_<GPR:mode><GPR2:mode>_mips16) | |
3196 | (*sle<u>_<GPR:mode><GPR2:mode>_mips16): Use constraints instead | |
3197 | of set_attr_alternative/if_then_else. Use extended_mips16 instead | |
3198 | of specific lengths. | |
3199 | ||
cb3b8d33 JJ |
3200 | 2013-05-10 Jakub Jelinek <jakub@redhat.com> |
3201 | ||
6f93c008 JJ |
3202 | * config/i386/i386.md (rotateinv): New code attr. |
3203 | (*<rotate_insn><mode>3_1, *<rotate_insn>si3_1_zext, | |
3204 | *<rotate_insn>qi3_1_slp): Emit rorl %eax instead of | |
3205 | roll $31, %eax, etc. | |
3206 | ||
cb3b8d33 JJ |
3207 | PR tree-optimization/45216 |
3208 | PR tree-optimization/57157 | |
3209 | * tree-ssa-forwprop.c (simplify_rotate): New function. | |
3210 | (ssa_forward_propagate_and_combine): Call it. | |
3211 | ||
afb119be RB |
3212 | 2013-05-10 Richard Biener <rguenther@suse.de> |
3213 | ||
3214 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do not | |
3215 | disable peeling when we version for aliasing. | |
3216 | (vector_alignment_reachable_p): Honor explicit user alignment. | |
3217 | (vect_supportable_dr_alignment): Likewise. | |
3218 | * tree-vect-loop-manip.c (vect_can_advance_ivs_p): Use | |
3219 | STMT_VINFO_LOOP_PHI_EVOLUTION_PART instead of recomputing it. | |
3220 | * tree-vect-loop.c (vect_transform_loop): First apply versioning, | |
3221 | then peeling to arrange for the cost-model check to come first. | |
3222 | ||
01ae4861 AM |
3223 | 2013-05-10 Alan Modra <amodra@gmail.com> |
3224 | ||
3225 | * configure.ac (HAVE_AS_TLS): Swap powerpc64 and powerpc cases. | |
3226 | (HAVE_LD_LARGE_TOC): Don't mention AIX in help text. | |
3227 | * configure: Regenerate. | |
3228 | ||
ebc9a431 AM |
3229 | 2013-05-10 Alan Modra <amodra@gmail.com> |
3230 | ||
3231 | PR target/55033 | |
3232 | * varasm.c (default_elf_select_section): Move !DECL_P check.. | |
3233 | (get_named_section): ..to here before calling get_section_name. | |
3234 | Adjust assertion. | |
3235 | (default_section_type_flags): Add DECL_P check. | |
3236 | * config/i386/winnt.c (i386_pe_section_type_flags): Likewise. | |
3237 | * config/rs6000/rs6000.c (rs6000_xcoff_section_type_flags): Likewise. | |
3238 | ||
d4bca93c JR |
3239 | 2013-05-09 Joern Rennecke <joern.rennecke@embecosm.com> |
3240 | ||
3241 | * config/epiphany/epiphany.c (epiphany_expand_prologue): | |
3242 | When using gen_stack_adjust_str with a register offset, add a | |
3243 | REG_FRAME_RELATED_EXPR note. | |
3244 | ||
60ca9a65 UB |
3245 | 2013-05-09 Uros Bizjak <ubizjak@gmail.com> |
3246 | ||
3247 | * config/i386/sse.md (*vec_extractv4si_0_zext): New pattern. | |
3248 | (*vec_extractv4si_zext_mem): Ditto. | |
3249 | (*vec_extractv2di): Add 0->x and x->x alternatives. | |
3250 | * config/i386/mmx.md (*vec_extractv2si_zext_mem): New pattern. | |
3251 | * config/i386/i386.md (*zero_extendsidi2): Add *Yj->?r alternative. | |
3252 | ||
a3409c02 JM |
3253 | 2013-05-09 Jason Merrill <jason@redhat.com> |
3254 | ||
0138d6b2 JM |
3255 | N3639 C++1y VLA support |
3256 | * gimplify.c (gimplify_vla_decl): Don't touch an existing | |
3257 | DECL_VALUE_EXPR. | |
3258 | ||
a3409c02 JM |
3259 | * tree.c (build_constructor_va): New. |
3260 | * tree.h: Declare it. | |
3261 | ||
66e6b990 MJ |
3262 | 2013-05-09 Martin Jambor <mjambor@suse.cz> |
3263 | ||
3264 | PR lto/57084 | |
3265 | * gimple-fold.c (canonicalize_constructor_val): Call | |
3266 | cgraph_get_create_real_symbol_node instead of cgraph_get_create_node. | |
3267 | ||
64cfa6c0 JH |
3268 | 2013-05-09 Jan Hubicka <jh@suse.cz> |
3269 | Richard Biener <rguenther@suse.de> | |
3270 | ||
3271 | PR lto/54095 | |
3272 | * symtab.c (symtab_make_decl_local): Do not add private names. | |
3273 | ||
c3167b00 JH |
3274 | 2013-05-09 Jan Hubicka <jh@suse.cz> |
3275 | ||
3276 | PR lto/54095 | |
3277 | * symtab.c (insert_to_assembler_name_hash): Handle clones. | |
3278 | (unlink_from_assembler_name_hash): Likewise. | |
3279 | (symtab_prevail_in_asm_name_hash, symtab_register_node, | |
3280 | symtab_unregister_node, symtab_initialize_asm_name_hash, | |
3281 | change_decl_assembler_name): Update. | |
3282 | ||
12dc6974 SN |
3283 | 2013-05-09 Sofiane Naci <sofiane.naci@arm.com> |
3284 | ||
3285 | * config/aarch64/aarch64.md: New movtf split. | |
3286 | (*movtf_aarch64): Update. | |
3287 | (aarch64_movdi_tilow): Handle TF modes and rename to | |
3288 | aarch64_movdi_<mode>low. | |
3289 | (aarch64_movdi_tihigh): Handle TF modes and rename to | |
3290 | aarch64_movdi_<mode>high | |
3291 | (aarch64_movtihigh_di): Handle TF modes and rename to | |
3292 | aarch64_mov<mode>high_di | |
3293 | (aarch64_movtilow_di): Handle TF modes and rename to | |
3294 | aarch64_mov<mode>low_di | |
3295 | (aarch64_movtilow_tilow): Remove spurious whitespace. | |
3296 | * config/aarch64/aarch64.c (aarch64_split_128bit_move): Handle TFmode | |
3297 | splits. | |
3298 | (aarch64_print_operand): Update. | |
3299 | ||
227eb343 AM |
3300 | 2013-05-09 Alan Modra <amodra@gmail.com> |
3301 | ||
3302 | * configure.ac (HAVE_AS_TLS): Enable tests for powerpcle and | |
3303 | powerpc64le. | |
3304 | * configure: Regenerate. | |
3305 | ||
0b013847 UB |
3306 | 2013-05-08 Uros Bizjak <ubizjak@gmail.com> |
3307 | ||
3308 | * config/i386/mmx.md (*vec_extract* splitters): Simplify post-reload | |
3309 | splitter preparation statements. | |
3310 | * config/i386/sse.md (*vec_extract* splitters): Ditto. | |
3311 | (*avx_vperm_broadcast_<mode>): Use adjust_address instead of | |
3312 | adjust_address_nv. | |
3313 | ||
1dc3d6e9 BS |
3314 | 2013-05-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3315 | ||
3316 | * gimple-ssa-strength-reduction.c (count_candidates): Change | |
3317 | return value to int. | |
3318 | (analyze_candidates_and_replace): Change type of length to int. | |
3319 | ||
e61e7d28 UB |
3320 | 2013-05-08 Uros Bizjak <ubizjak@gmail.com> |
3321 | ||
3322 | * config/i386/sse.md (PEXTR_MODE, PEXTR_MODEx): Remove. | |
3323 | (*vec_extract<mode>): Use VI12_128 mode iterator. | |
3324 | (*vec_extract<mode>_mem): Ditto. | |
3325 | (*vec_extract*_mem splitters): Merge splitters using VI_128 mode | |
3326 | attribute. | |
3327 | ||
4fbfcf44 DN |
3328 | 2013-05-08 Diego Novillo <dnovillo@google.com> |
3329 | ||
3330 | PR bootstrap/54659 | |
3331 | ||
3332 | Revert: | |
4fbfcf44 DN |
3333 | 2012-08-17 Diego Novillo <dnovillo@google.com> |
3334 | ||
e61e7d28 UB |
3335 | PR bootstrap/54281 |
3336 | * configure.ac: Add libintl.h to AC_CHECK_HEADERS list. | |
3337 | * config.in: Regenerate. | |
3338 | * configure: Regenerate. | |
3339 | * intl.h: Always include libintl.h if HAVE_LIBINTL_H is set. | |
4fbfcf44 | 3340 | |
702d8703 JH |
3341 | 2013-05-08 Jan Hubicka <jh@suse.cz> |
3342 | ||
3343 | PR lto/54095 | |
3344 | * cgraph.c (cgraph_make_node_local_1): Se unique_name. | |
3345 | * cgraph.h (symtab_node_base): Add unique_name. | |
3346 | * lto-cgraph.c (lto_output_node, lto_output_varpool_node, | |
3347 | input_overwrite_node, input_varpool_node): Stream unique_name. | |
3348 | * cgraphclones.c (cgraph_create_virtual_clone, | |
3349 | cgraph_function_versioning): Set unique_name. | |
3350 | * ipa.c (function_and_variable_visibility): Set unique_name. | |
3351 | ||
8b28cf47 BS |
3352 | 2013-05-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3353 | ||
3354 | * gimple-ssa-strength-reduction.c (find_phi_def): Revert former "fix." | |
3355 | (alloc_cand_and_find_basis): Restrict conditional candidate | |
3356 | processing to CAND_MULTs. | |
3357 | ||
e86074fd JH |
3358 | 2013-05-08 Jan Hubicka <jh@suse.cz> |
3359 | ||
3360 | PR lto/54095 | |
3361 | lto-symtab.c (lto_symtab_symbol_p): New function. | |
3362 | (lto_symtab_resolve_can_prevail_p, lto_symtab_resolve_symbols, | |
3363 | lto_symtab_resolve_symbols, lto_symtab_merge_decls_2, | |
3364 | lto_symtab_merge_decls_1, lto_symtab_merge_cgraph_nodes_1): | |
3365 | Skip static symbols. | |
3366 | ||
44398cbe PC |
3367 | 2013-05-08 Paolo Carlini <paolo.carlini@oracle.com> |
3368 | ||
3369 | PR tree-optimization/57200 | |
3370 | * tree-ssa-loop-niter.c (do_warn_aggressive_loop_optimizations): | |
3371 | Only call inform if the preceding warning_at returns true. | |
3372 | ||
f6bc1c4a HS |
3373 | 2013-05-07 Han Shen <shenhan@google.com> |
3374 | ||
3375 | * cfgexpand.c (record_or_union_type_has_array_p): New function. | |
3376 | (expand_used_vars): Add logic handling '-fstack-protector-strong'. | |
3377 | * common.opt (fstack-protector-strong): New option. | |
3378 | * doc/cpp.texi (__SSP_STRONG__): New builtin "__SSP_STRONG__". | |
3379 | * doc/invoke.texi (Optimization Options): Document | |
3380 | "-fstack-protector-strong". | |
3381 | * gcc.c (LINK_SSP_SPEC): Add 'fstack-protector-strong'. | |
3382 | ||
4ffecb1f SB |
3383 | 2013-05-06 Steven Bosscher <steven@gcc.gnu.org> |
3384 | ||
3385 | * config/mips/mips.c (mips_machine_reorg2): Return 0. | |
3386 | ||
5a107a0f VM |
3387 | 2013-05-07 Vladimir Makarov <vmakarov@redhat.com> |
3388 | ||
3389 | * ira.c (update_equiv_regs): Add insn having equiv memory even if | |
3390 | it is not lhs of the insn. | |
3391 | (setup_reg_equiv): Remove insn having equiv memory which it is not | |
3392 | lhs of the insn. | |
3393 | * lra-constraints.c (process_address): Try to improve generation | |
3394 | code for address base + disp. | |
3395 | (lra_constraints): Make correct the code for checking insn setting | |
3396 | up backward equivalence. Remove insn only if it is in the init | |
3397 | insn list. | |
3398 | * lra-eliminations.c (update_reg_eliminate): Change return value. | |
3399 | (lra_eliminate): Use the result. | |
3400 | ||
3f5783ea UB |
3401 | 2013-05-07 Uros Bizjak <ubizjak@gmail.com> |
3402 | ||
3403 | * config/i386/sse.md (ssescalarnummask): New mode attribute. | |
3404 | (PEXTR_MODE, PEXTR_MODEx): New mode iterators. | |
3405 | (*vec_extract<mode>): Merge from *sse4_1_pextrb_memory and | |
3406 | *sse4_1_pextrw_memory using PEXTR_MODE mode iterator. Handle | |
3407 | register target operands. | |
3408 | (*vec_extractv8hi_sse2): New pattern. | |
3409 | (*vec_extractv16qi_zext): Rename from *sse4_1_pextrb_<mode>. | |
3410 | (*vec_extractv8hi_zext): Rename from *sse2_pextrw_<mode>. | |
3411 | (*vec_extract<mode>_mem): New insn and split pattern. | |
3412 | ||
8a5800b8 CL |
3413 | 2013-05-07 Christophe Lyon <christophe.lyon@linaro.org> |
3414 | ||
3415 | * config/arm/arm.c (arm_asan_shadow_offset): New function. | |
3416 | (TARGET_ASAN_SHADOW_OFFSET): Define. | |
3417 | * config/arm/linux-eabi.h (ASAN_CC1_SPEC): Define. | |
3418 | (LINUX_OR_ANDROID_CC): Add ASAN_CC1_SPEC. | |
3419 | ||
7bf55a70 BS |
3420 | 2013-05-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3421 | ||
3422 | * gimple-ssa-strength-reduction.c (MAX_INCR_VEC_LEN): New constant. | |
3423 | (incr_vec_index): Return -1 if increment not found. | |
3424 | (create_add_on_incoming_edge): Assert if increment not found. | |
3425 | (record_increment): Limit number of increments recorded. | |
3426 | (all_phi_incrs_profitable): Return false if an increment not found. | |
3427 | (replace_profitable_candidates): Don't process increments that were | |
3428 | not recorded. | |
3429 | (analyze_candidates_and_replace): Limit size of incr_vec. | |
3430 | ||
3f8825c0 RB |
3431 | 2013-05-07 Richard Biener <rguenther@suse.de> |
3432 | ||
3433 | * calls.c (special_function_p): setjmp-like functions are leaf. | |
3434 | * builtins.def (BUILT_IN_SETJMP): setjmp is leaf. | |
3435 | * tree-inline.c (update_ssa_across_abnormal_edges): Remove assert. | |
3436 | ||
fd4842cd SN |
3437 | 2013-05-07 Sofiane Naci <sofiane.naci@arm.com> |
3438 | ||
3439 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): call splitter. | |
3440 | (aarch64_simd_mov<mode>): New expander. | |
3441 | (aarch64_simd_mov_to_<mode>low): New instruction pattern. | |
3442 | (aarch64_simd_mov_to_<mode>high): Likewise. | |
3443 | (aarch64_simd_mov_from_<mode>low): Likewise. | |
3444 | (aarch64_simd_mov_from_<mode>high): Likewise. | |
3445 | (aarch64_dup_lane<mode>): Update. | |
3446 | (aarch64_dup_lanedi): New instruction pattern. | |
3447 | * config/aarch64/aarch64-protos.h (aarch64_split_simd_move): New prototype. | |
3448 | * config/aarch64/aarch64.c (aarch64_split_simd_move): New function. | |
3449 | ||
a7a7d10e BS |
3450 | 2013-05-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3451 | ||
3452 | * gimple-ssa-strength-reduction.c (lazy_create_slsr_reg): Remove. | |
3453 | (replace_mult_candidate): Remove unnecessary argument; remove | |
3454 | unnecessary parameter from call to introduce_cast_before_cand. | |
3455 | (replace_unconditional_candidate): Remove unnecessary parameter | |
3456 | from call to replace_mult_candidate. | |
3457 | (replace_conditional_candidate): Likewise. | |
3458 | (insert_initializers): Use make_temp_ssa_name. | |
3459 | (introduce_cast_before_cand): Remove unnecessary argument; use | |
3460 | make_temp_ssa_name. | |
3461 | (replace_one_candidate): Remove unnecessary argument; remove | |
3462 | unnecessary parameter from calls to introduce_cast_before_cand. | |
3463 | (replace_profitable_candidates): Remove unnecessary parameters | |
3464 | from calls to replace_one_candidate. | |
3465 | ||
29105868 BS |
3466 | 2013-05-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3467 | ||
3468 | * gimple-ssa-strength-reduction.c (find_phi_def): Don't record a | |
3469 | phi def as possibly hiding a basis for a CAND_ADD whose operands | |
3470 | have been commuted in the analysis. | |
3471 | (alloc_cand_and_find_basis): Add parms to call to find_phi_def. | |
3472 | ||
4095f9fa N |
3473 | 2013-05-07 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
3474 | ||
3475 | * config/aarch64/aarch64.md | |
3476 | (cmp_swp_<optab><ALLX:mode>_shft_<GPI:mode>): Restrict the | |
3477 | shift value between 0-4. | |
3478 | ||
39e843e8 RB |
3479 | 2013-05-07 Richard Biener <rguenther@suse.de> |
3480 | ||
3481 | * double-int.h (rshift): New overload. | |
3482 | * double-int.c (rshift): New function. | |
3483 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Optimize. | |
3484 | (create_reference_ops_from_ref): Remove. | |
3485 | (vn_reference_insert): Use shared ops for constructing the | |
3486 | reference and copy it. | |
3487 | ||
0a1a83cb RB |
3488 | 2013-05-07 Richard Biener <rguenther@suse.de> |
3489 | ||
3490 | PR middle-end/57190 | |
3491 | * tree-eh.c (sink_clobbers): Properly propagate | |
3492 | SSA_NAME_OCCURS_IN_ABNORMAL_PHI. | |
3493 | ||
43303d6f JJ |
3494 | 2013-05-07 Jakub Jelinek <jakub@redhat.com> |
3495 | ||
ba7e83f8 JJ |
3496 | PR tree-optimization/57149 |
3497 | * tree-ssa-uninit.c (uninit_undefined_value_p): New inline. | |
3498 | (can_skip_redundant_opnd, compute_uninit_opnds_pos, | |
3499 | collect_phi_def_edges, execute_late_warn_uninitialized): Use | |
3500 | uninit_undefined_value_p instead of ssa_undefined_value_p. | |
3501 | ||
43303d6f JJ |
3502 | PR debug/57184 |
3503 | * expr.c (expand_expr_addr_expr_1): Handle COMPOUND_LITERAL_EXPR | |
3504 | for modifier == EXPAND_INITIALIZER. | |
3505 | ||
14523c25 AB |
3506 | 2013-05-07 Anton Blanchard <anton@samba.org> |
3507 | ||
3508 | * configure.ac (HAVE_LD_LARGE_TOC): Use correct linker emulation | |
3509 | for powerpc64 little endian. | |
3510 | * configure: Regenerate. | |
3511 | ||
cb7c8be9 GS |
3512 | 2013-05-06 Graham Stott <grahams@btinternet.com> |
3513 | ||
3514 | * expmed.c (init_expmed_rtl): Remove unused fields reg_fld, plus_fld, | |
3515 | mult_fld, sdiv_fld1, udiv_fld1, sdiv_32_fld1, smod_32_fld1, | |
3516 | wide_mult_fld1, wide_lshr_fld1, shift_fld1, shift_mult_fld1, | |
3517 | shift_add_fld1, shift_sub0_fld1, shift_sub1_fld1. | |
3518 | ||
3519 | 2013-05-06 Graham Stott <grahams@btinternet.com> | |
a8fd4225 GS |
3520 | |
3521 | * gensupport.c (add_predicate_code): Also exclude SCRATCH from rtx | |
3522 | codes which allow non-lvalues. | |
3523 | ||
9a0ee7b0 MG |
3524 | 2013-05-06 Marc Glisse <marc.glisse@inria.fr> |
3525 | ||
3526 | * tree.c (integer_all_onesp) <COMPLEX_CST>: Test that both | |
3527 | components are all 1s. | |
3528 | (integer_minus_onep): New function. | |
3529 | * tree.h (integer_minus_onep): Declare it. | |
3530 | * fold-const.c (fold_binary_loc) <MULT_EXPR>: Test | |
3531 | integer_minus_onep instead of integer_all_onesp. | |
3532 | ||
f2c17ea9 OE |
3533 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
3534 | ||
3535 | PR target/52933 | |
3536 | * config/sh/sh.md (*cmp_div0s_0, *cmp_div0s_1, *movsicc_div0s): Add | |
3537 | variations of these patterns. | |
3538 | ||
f75e6a51 UB |
3539 | 2013-05-06 Uros Bizjak <ubizjak@gmail.com> |
3540 | ||
3541 | * config/i386/i386.md (isa): Add x64_sse4 member. | |
3542 | (enabled): Handle x64_sse4. | |
3543 | (*movdi_internal): Add *x->?r alternative to emit pextrq $0,%xmm,%reg | |
3544 | instruction for 64bit SSE4_1 targets. Update insn attributes. | |
3545 | (*movsi_internal): Add *x->?r alternative to emit pextrd $0,%xmm,%reg | |
3546 | instruction for SSE4_1 targets. Update insn attributes. | |
3547 | * config/i386/sse.md (*vec_extract<ssevecmodelower>_0): Merge | |
3548 | with *sse4_1_pextrd and *sse4_1_pextrq having const_0 selector. | |
3549 | (*vec_extractv2di_1): Merge with *sse4_1_pextrq having | |
3550 | const_1 selector. | |
3551 | (*vec_extractv4si): Rename from *sse4_1_pextrd. | |
3552 | (*vec_extractv4si_zext): Rename from *sse4_1_pextrd_zext. | |
3553 | (*vec_extract<ssevecmodelower>_0 splitters): Merge splitters together. | |
3554 | ||
a986d468 OE |
3555 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
3556 | ||
3557 | PR target/57108 | |
3558 | * config/sh/sh.md (tstsi_t_zero_extract_eq): Use QIHISIDI mode iterator. | |
3559 | ||
382522cb MK |
3560 | 2013-05-06 Maxim Kuznetsov <maks.kuznetsov@gmail.com> |
3561 | ||
3562 | * final.c (do_assembler_dialects): Don't handle curly braces and | |
3563 | vertical bar escaped by % as dialect delimiters. | |
3564 | (output_asm_insn): Print curly braces and vertical bar if escaped | |
3565 | by % and ASSEMBLER_DIALECT defined. | |
3566 | * doc/tm.texi.in (ASSEMBLER_DIALECT): Document new standard escapes. | |
3567 | * doc/tm.texi: Regenerated. | |
3568 | ||
fb0d5c60 SB |
3569 | 2013-05-06 Steven Bosscher <steven@gcc.gnu.org> |
3570 | ||
fb0d5c60 SB |
3571 | * config/mips/mips.c: Include tree-pass.h. |
3572 | (mips_reorg): Split in pre- and post-dbr_schedule parts. | |
3573 | (mips_machine_reorg2): Move mips_reorg post-dbr_schedule parts here. | |
3574 | (pass_mips_machine_reorg2): New machine specific pass. | |
3575 | (insert_pass_mips_machine_reorg2): New pass plugin definition. | |
3576 | (mips_option_override): Register the new pass. | |
3577 | * rtl.h (cleanup_barriers): Remove prototype. | |
3578 | (dbr_schedule): Likewise. | |
3579 | * jump.c (cleanup_barriers): Make static. | |
3580 | * reorg.c (dbr_schedule): Likewise. | |
3581 | ||
aa06a978 RB |
3582 | 2013-05-06 Richard Biener <rguenther@suse.de> |
3583 | ||
3584 | PR tree-optimization/57185 | |
3585 | * tree-parloops.c (add_field_for_reduction): Handle anonymous | |
3586 | SSA names properly. | |
3587 | ||
0b953bec UB |
3588 | 2013-05-06 Uros Bizjak <ubizjak@gmail.com> |
3589 | ||
3590 | PR target/57106 | |
3591 | * config/i386/i386.c (add_parameter_dependencies): Add dependence | |
3592 | between "first_arg" and "insn", not "last" and "insn". | |
3593 | ||
28708525 WS |
3594 | 2013-05-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3595 | ||
3596 | * gimple-ssa-strength-reduction.c (slsr_process_phi): Re-enable. | |
3597 | (find_candidates_in_block): Re-enable slsr_process_phi. | |
3598 | (create_phi_basis): Fix double counting of candidate adjustment. | |
3599 | ||
0107dca2 RB |
3600 | 2013-05-06 Richard Biener <rguenther@suse.de> |
3601 | ||
3602 | PR middle-end/57147 | |
3603 | * tree-cfg.c (gimple_purge_dead_abnormal_call_edges): If | |
3604 | the edge is also fallthru, preserve it and just clear the | |
3605 | abnormal flag. | |
3606 | * tree-cfgcleanup.c (remove_fallthru_edge): If the edge is | |
3607 | also complex, preserve that and just clear the fallthru flag. | |
3608 | * tree-inline.c (update_ssa_across_abnormal_edges): Also | |
3609 | update virtual operands. | |
3610 | ||
470d4d13 AM |
3611 | 2013-05-06 Alan Modra <amodra@gmail.com> |
3612 | ||
3613 | * config/rs6000/linux.h (DEFAULT_ASM_ENDIAN): Define. | |
3614 | (LINK_OS_LINUX_EMUL): Use ENDIAN_SELECT. | |
3615 | * config/rs6000/linux64.h (DEFAULT_ASM_ENDIAN): Define. | |
3616 | * config/rs6000/sysv4le.h (DEFAULT_ASM_ENDIAN): Define. | |
3617 | (LINK_TARGET_SPEC): Use ENDIAN_SELECT. | |
3618 | * config/rs6000/sysv4.h (DEFAULT_ASM_ENDIAN): Define as -mbig. | |
3619 | ||
8f1dbf8d AM |
3620 | 2013-05-06 Alan Modra <amodra@gmail.com> |
3621 | ||
3622 | * config/rs6000/sysv4.h (ENDIAN_SELECT): Define, extracted from | |
3623 | (ASM_SPEC): ..here. Emit DEFAULT_ASM_ENDIAN too. | |
3624 | (DEFAULT_ASM_ENDIAN): Define. | |
3625 | (CC1_SPEC, LINK_TARGET_SPEC): Use ENDIAN_SELECT. | |
3626 | * config/rs6000/linux64.h (ASM_SPEC32): Remove endian options. | |
3627 | Update -K PIC clause from sysv4.h. | |
3628 | (ASM_SPEC_COMMON): Use ENDIAN_SELECT. | |
3629 | (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Likewise. | |
3630 | ||
54890767 AM |
3631 | 2013-05-06 Alan Modra <amodra@gmail.com> |
3632 | ||
3633 | * config/rs6000/rs6000.md (bswapdi 2nd splitter): Don't swap words | |
3634 | twice for little-endian. | |
3635 | (ashrdi3_no_power, ashrdi3): Support little-endian. | |
3636 | ||
2353515d OE |
3637 | 2013-05-06 Oleg Endo <olegendo@gcc.gnu.org> |
3638 | ||
3639 | PR target/55303 | |
3640 | * config/sh/sh.c (sh_rtx_costs): Handle SMIN and SMAX cases. | |
3641 | * config/sh/sh.md (*clips, uminsi3, *clipu, clipu_one): New insns and | |
3642 | related expanders. | |
3643 | * config/sh/iterators.md (SMIN_SMAX): New code iterator. | |
3644 | * config/sh/predicates.md (arith_reg_or_0_or_1_operand, | |
3645 | clips_min_const_int, clips_max_const_int, clipu_max_const_int): | |
3646 | New predicates. | |
3647 | ||
33e67557 SB |
3648 | 2013-05-05 Steven Bosscher <steven@gcc.gnu.org> |
3649 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
3650 | ||
3651 | * config.gcc (hppa*-*-*): Remove MASK_BIG_SWITCH from CPU default. | |
3652 | * config/pa/pa.opt: Make mbig-switch a no-op. | |
3653 | * config/pa/pa.h (TARGET_DEFAULT): Remove MASK_BIG_SWITCH. | |
3654 | (CASE_VECTOR_MODE): Always return SImode. | |
3655 | (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove code | |
3656 | for the !TARGET_BIG_SWITCH case. | |
3657 | * config/pa/pa-linux.h: Likewise. | |
3658 | * config/pa/pa-openbsd.h: Likewise. | |
3659 | * config/pa/pa-hpux.h: Define TARGET_DEFAULT to 0. | |
3660 | * config/pa/pa.md (short_jump): Remove define_insn. | |
3661 | (casesi): Remove code for the !TARGET_BIG_SWITCH case. | |
3662 | (casesi0): Remove define_insn. | |
3663 | (type): Remove btable_branch. | |
3664 | (pa_combine_type): Likewise. | |
3665 | (in_nullified_branch_delay): Likewise. | |
3666 | (in_call_delay): Likewise. | |
3667 | (define_delay): Likewise. | |
3668 | (define_insn_reservation "Z3"): Likewise. | |
3669 | (define_insn_reservation "Z4"): Likewise. | |
3670 | * config/pa/pa.c (pa_reorg): Remove code for !TARGET_BIG_SWITCH. | |
3671 | (pa_adjust_insn_length): Remove adjustment for btable branches. | |
3672 | * doc/invoke.texi (HPPA Options): Delete documentation for mbig-switch | |
3673 | and mno-big-switch | |
3674 | ||
3095685e UB |
3675 | 2013-05-05 Uros Bizjak <ubizjak@gmail.com> |
3676 | ||
3677 | * config/i386/sse.md (*vec_extract<ssevecmodelower>_0): Merge | |
3678 | from sse2_stored and *sse2_storeq_rex64 using SWI48 mode iterator. | |
3679 | Add m->r,x alternatives. | |
3680 | (*vec_extract<ssevecmodelower>_0 splitters): Merge V2DI and V4SI | |
3681 | splitters using SWI48x mode iterator. | |
3682 | (*vec_extract_v2di_0_sse): Rename from *sse2_storeq. Disable for | |
3683 | TARGET_64BIT. Add m->x alternative. | |
3684 | (*vec_extractv4si_mem): Rename from *vec_ext_v4si_mem. | |
3685 | Add o->x alternative. Enable for TARGET_SSE. | |
3686 | (sse_storeq): Remove expander. | |
3687 | (*vec_extractv2di_1): Enable for TARGET_SSE. Split alternatives | |
3688 | with memory input operand. | |
3689 | (*vec_extractv2di_1 splitter): New. | |
3690 | (*vec_extractv4sf_mem): Rename from *vec_extract_v4sf_mem. | |
3691 | * config/i386/i386.md (ssevecmodelower): New mode attribute. | |
3692 | ||
4b36ae28 SB |
3693 | 2013-05-04 Segher Boessenkool <segher@kernel.crashing.org> |
3694 | ||
3695 | * config/rs6000/rs6000.c (INT_P): Reformat. Delete obsolete comment. | |
3696 | (INT_LOWPART): Delete. | |
3697 | (extract_MB): Adjust. | |
3698 | (extract_ME): Adjust. | |
3699 | (print_operand): Adjust. | |
3700 | ||
da226db2 SB |
3701 | 2013-05-04 Segher Boessenkool <segher@kernel.crashing.org> |
3702 | ||
3703 | * config/rs6000/predicates.md (reg_or_add_cint_operand, | |
3704 | reg_or_sub_cint_operand): Delete "HOST_BITS_PER_WIDE_INT == 32" case. | |
3705 | (reg_or_logical_cint_operand, easy_fp_constant, | |
3706 | logical_const_operand): Delete "CONST_DOUBLE" case. | |
3707 | * config/rs6000/rs6000.c (num_insns_constant_wide): Delete | |
3708 | "HOST_BITS_PER_WIDE_INT == 64" test. | |
3095685e | 3709 | (num_insns_constant): Ditto. Delete CONST_DOUBLE DImode/VOIDmode case. |
da226db2 SB |
3710 | (build_mask64_2_operands): Delete "HOST_BITS_PER_WIDE_INT >= 64" test. |
3711 | (rs6000_emit_set_const): Delete CONST_DOUBLE case. | |
3712 | (rs6000_emit_set_long_const): Delete "HOST_BITS_PER_WIDE_INT >= 64" | |
3713 | test. | |
3714 | (includes_rldic_lshift_p, includes_rldicr_lshift_p): Delete | |
3715 | CONST_DOUBLE DImode/VOIDmode case. | |
3716 | (INT_P, INT_LOWPART): Delete CONST_DOUBLE case. | |
3717 | (print_operand): Delete "HOST_BITS_PER_WIDE_INT == 32" case. Delete | |
3718 | CONST_DOUBLE VOIDmode case. | |
3719 | (output_toc): Delete "HOST_BITS_PER_WIDE_INT == 32" case. | |
3720 | (rs6000_rtx_costs): Delete CONST_DOUBLE DImode/VOIDmode case. | |
3721 | * config/rs6000/rs6000.md (iordi3, xordi3, splitter for these): | |
3722 | Delete CONST_DOUBLE case. | |
3723 | (splitters for mov FMOVE64 const_double): Delete | |
3724 | "HOST_BITS_PER_WIDE_INT == 32" case. Delete | |
3725 | "HOST_BITS_PER_WIDE_INT >= 64" test. | |
3726 | (splitter for mov DI const_int): Delete "HOST_BITS_PER_WIDE_INT == 32" | |
3727 | case. | |
3728 | (mov DI const_double): Delete. | |
3729 | ||
40de22d6 JJ |
3730 | 2013-05-04 Jakub Jelinek <jakub@redhat.com> |
3731 | ||
3732 | * combine.c (combine_simplify_rtx) <case SUBREG>: If nonzero_bits | |
3733 | on op shows all bits zero in mode of a lowpart subreg, return zero. | |
3734 | ||
5ec6aff2 MM |
3735 | 2013-05-03 Michael Meissner <meissner@linux.vnet.ibm.com> |
3736 | ||
3737 | PR target/57150 | |
3738 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Use DFmode | |
3739 | to save TFmode registers and DImode to save TImode registers for | |
3740 | caller save operations. | |
3741 | (HARD_REGNO_CALL_PART_CLOBBERED): TFmode and TDmode do not need to | |
3742 | mark being partially clobbered since they only use the first | |
3743 | double word. | |
3744 | ||
3745 | * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): TFmode | |
3746 | and TDmode only use the upper 64-bits of each VSX register. | |
3747 | ||
2cefad90 BS |
3748 | 2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3749 | ||
3750 | * gimple-ssa-strength-reduction.c (slsr_process_phi): Disable. | |
3751 | (find_candidates_in_block): Disable slsr_process_phi. | |
3752 | ||
d6d7eee1 GW |
3753 | 2013-05-03 Guozhi Wei <carrot@google.com> |
3754 | ||
3755 | * coverage.c (coverage_obj_init): Move the construction of gcov | |
3095685e UB |
3756 | constructor to ... |
3757 | (build_init_ctor): ... here. | |
d6d7eee1 | 3758 | |
9b92d12b BS |
3759 | 2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3760 | ||
3761 | * gimple-ssa-strength-reduction.c (cand_kind): Add CAND_PHI. | |
3762 | (slsr_cand_d): Redefine def_phi. | |
3763 | (stride_status, phi_adjust_status, count_phis_status): New enums. | |
3764 | (find_phi_def): New. | |
3765 | (find_basis_for_base_expr): New. | |
3766 | (find_basis_for_candidate): Handle hidden bases. | |
3767 | (alloc_cand_and_find_basis): Handle phi candidates. | |
3768 | (slsr_process_phi): New. | |
3769 | (create_mul_ssa_cand): Exclude phi base candidates; use integer_onep. | |
3770 | (create_mul_imm_cand): Likewise. | |
3771 | (create_add_ssa_cand): Exclude phi base candidates. | |
3772 | (create_add_imm_cand): Likewise. | |
3773 | (slsr_process_cast): Likewise. | |
3774 | (slsr_process_copy): Likewise. | |
3775 | (find_candidates_in_block): Handle phi candidates. | |
3776 | (dump_candidate): Likewise. | |
3777 | (unconditional_cands): Delete. | |
3778 | (unconditional_cands_with_known_stride_p): Delete. | |
3779 | (phi_dependent_cand_p): New. | |
3780 | (cand_increment): Handle phi-dependent candidates. | |
3781 | (replace_dependent): Delete. | |
3782 | (replace_mult_candidate): New. | |
3783 | (replace_unconditional_candidate): New. | |
3784 | (incr_vec_index): Move to avoid forward reference. | |
3785 | (create_add_on_incoming_edge): New. | |
3786 | (create_phi_basis): New. | |
3787 | (replace_dependents): Delete. | |
3788 | (replace_conditional_candidate): New. | |
3789 | (phi_add_costs): New. | |
3790 | (replace_uncond_cands_and_profitable_phis): New. | |
3791 | (record_increment): Handle phi adjustments. | |
3792 | (record_phi_increments): New. | |
3793 | (record_increments): Handle phi adjustments. | |
3794 | (phi_incr_cost): New. | |
3795 | (lowest_cost_path): Handle phis. | |
3796 | (total_savings): Likewise. | |
3797 | (analyze_increments): Likewise. | |
3798 | (ncd_with_phi): New. | |
3799 | (ncd_of_cand_and_phis): New. | |
3800 | (nearest_common_dominator_for_cands): Handle phi increments. | |
3801 | (all_phi_incrs_profitable): New. | |
3802 | (replace_profitable_candidates): Handle phi-dependent candidates. | |
3803 | (analyze_candidates_and_replace): Likewise. | |
3804 | ||
68f073d4 TJ |
3805 | 2013-05-03 Teresa Johnson <tejohnson@google.com> |
3806 | ||
3807 | PR bootstrap/57154 | |
3808 | * sched-rgn.c (compute_dom_prob_ps): Ensure accumulated probabilities | |
3809 | do not exceed REG_BR_PROB_BASE. | |
3810 | ||
a4ee7cb9 JL |
3811 | 2013-05-03 Jeff Law <law@redhat.com> |
3812 | ||
ade67f70 | 3813 | PR tree-optimization/57144 |
a4ee7cb9 JL |
3814 | * tree-vrp.c (simplify_cond_using_ranges): Verify the constant |
3815 | operand of the condition will bit into the new type when eliminating | |
3816 | a cast feeding a condition. | |
3817 | ||
47954c4e JJ |
3818 | 2013-05-03 Jakub Jelinek <jakub@redhat.com> |
3819 | ||
3820 | PR rtl-optimization/57130 | |
3095685e UB |
3821 | * combine.c (make_compound_operation) <case SUBREG>: Pass SET instead |
3822 | of COMPARE as in_code to the recursive call if needed. | |
47954c4e | 3823 | |
3c21604f UB |
3824 | 2013-05-03 Uros Bizjak <ubizjak@gmail.com> |
3825 | ||
3826 | * config/i386/i386.md (isa): Add x64_sse4_noavx and x64_avx members. | |
3827 | (enabled): Handle new members. | |
3828 | * config/i386/sse.md (*vec_concatv2si): Merge from | |
3829 | *vec_concatv2si_sse2 and vec_concatv2si_sse. | |
3830 | (vec_concatv2di): Merge with *vec_concatv2di_rex64. | |
3831 | ||
95c03b36 JR |
3832 | 2013-05-03 Joern Rennecke <joern.rennecke@embecosm.com> |
3833 | ||
3834 | PR tree-optimization/57027 | |
3835 | * tree-ssa-math-opts.c (convert_mult_to_fma): When checking | |
3836 | for fnms opportunity, check we got the prerequisite kind | |
3837 | of tree / gimple before using accessor functions. | |
3838 | ||
07bfc9ec RB |
3839 | 2013-05-03 Richard Biener <rguenther@suse.de> |
3840 | ||
3841 | * double-int.h (lshift): New overload without precision | |
3842 | and arith argument. | |
3843 | (operator *=, operator +=, operator -=): Move ... | |
3844 | * double-int.c (operator *=, operator +=, operator -=): ... here | |
3845 | and implement more efficiently. | |
3846 | (mul_double_with_sign): Remove. | |
3847 | (lshift_double): Adjust to take unsinged shift argument, push | |
3848 | dispatching code to callers. | |
3849 | (mul_double_wide_with_sign): Add early out for callers that | |
3850 | are not interested in high parts or overflow. | |
3851 | (lshift): New function. | |
3852 | (lshift, rshift, alshift, arshift, llshift, lrshift): Add | |
3853 | dispatch code here. | |
3854 | (lrotate, rrotate): Use logical shifts. | |
3855 | * expr.c (get_inner_reference): Use lshift. | |
3856 | * fixed-value.c (do_fixed_divide): Likewise. | |
3857 | * tree-dfa.c (get_ref_base_and_extent): Likewise. | |
3858 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise. | |
3859 | (indirect_refs_may_alias_p): Likewise. | |
3860 | (stmt_kills_ref_p_1): Likewise. | |
3861 | ||
7769bb64 VP |
3862 | 2013-05-03 Vidya Praveen <vidyapraveen@arm.com> |
3863 | ||
3864 | * config/aarch64/aarch64-simd.md (simd_fabd): Correct the description. | |
3865 | ||
1d0c8e5c VP |
3866 | 2013-05-03 Vidya Praveen <vidyapraveen@arm.com> |
3867 | ||
3868 | * config/aarch64/aarch64-simd.md (*fabd_scalar<mode>3): Support | |
3869 | scalar form of FABD instruction. | |
3870 | ||
f15feaf9 VM |
3871 | 2013-05-02 Vladimir Makarov <vmakarov@redhat.com> |
3872 | ||
3873 | * lra-constraints.c (process_alt_operands): Add checking alt | |
3874 | number to choose the best alternative. | |
3875 | ||
d90e76d4 RB |
3876 | 2013-05-02 Richard Biener <rguenther@suse.de> |
3877 | ||
3878 | * tree-eh.c (cleanup_empty_eh_merge_phis): Remove rename_virts | |
3879 | bitmap and its handling. | |
3880 | (pass_cleanup_eh): Set todo_flags_finish to TODO_verify_ssa. | |
3881 | ||
9f8e7a96 RB |
3882 | 2013-05-02 Richard Biener <rguenther@suse.de> |
3883 | ||
3884 | PR middle-end/57140 | |
3885 | * tree-inline.c (copy_loops): Properly handle removed loops. | |
3886 | (copy_cfg_body): Mark destination loops for fixup if source | |
3887 | loops needed fixup. | |
3888 | ||
f3a81b39 GY |
3889 | 2013-05-02 Greta Yorsh <Greta.Yorsh@arm.com> |
3890 | ||
3891 | PR target/56732 | |
3892 | * config/arm/arm.c (arm_expand_epilogue): Check really_return before | |
3893 | generating simple_return for naked functions. | |
3894 | ||
7b920a9a MJ |
3895 | 2013-05-02 Martin Jambor <mjambor@suse.cz> |
3896 | ||
3897 | PR middle-end/56988 | |
3898 | * ipa-prop.h (ipa_agg_replacement_value): New flag by_ref. | |
3899 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Also check that by_ref | |
3900 | flags match. | |
3901 | (find_aggregate_values_for_callers_subset): Fill in the by_ref flag of | |
3902 | ipa_agg_replacement_value structures. | |
3903 | (known_aggs_to_agg_replacement_list): Likewise. | |
3904 | * ipa-prop.c (write_agg_replacement_chain): Stream by_ref flag. | |
3905 | (read_agg_replacement_chain): Likewise. | |
3906 | (ipcp_transform_function): Also check that by_ref flags match. | |
3907 | ||
2c41c19d RB |
3908 | 2013-05-02 Richard Biener <rguenther@suse.de> |
3909 | ||
3910 | * graphds.h (struct graph): Add obstack member. | |
3911 | * graphds.c (new_graph): Initialize obstack and allocate | |
3912 | vertices from it. | |
3913 | (add_edge): Allocate edge from the obstack. | |
3c21604f | 3914 | (free_graph): Free the obstack instead of all edges and vertices. |
2c41c19d | 3915 | |
8b47039c TJ |
3916 | 2013-05-02 Teresa Johnson <tejohnson@google.com> |
3917 | ||
3918 | * loop-unswitch.c (unswitch_loop): Use helper routines with rounding | |
3919 | divides. | |
3920 | * cfg.c (update_bb_profile_for_threading): Ditto. | |
3921 | * tree-inline.c (copy_bb): Ditto. | |
3922 | (copy_edges_for_bb): Ditto. | |
3923 | (initialize_cfun): Ditto. | |
3924 | (copy_cfg_body): Ditto. | |
3925 | (expand_call_inline): Ditto. | |
3926 | * ipa-inline-analysis.c (estimate_edge_size_and_time): Ditto. | |
3927 | (estimate_node_size_and_time): Ditto. | |
3928 | (inline_merge_summary): Ditto. | |
3929 | * cgraphclones.c (cgraph_clone_edge): Ditto. | |
3930 | (cgraph_clone_node): Ditto. | |
3931 | * sched-rgn.c (compute_dom_prob_ps): Ditto. | |
3932 | (compute_trg_info): Ditto. | |
3933 | ||
da65928c IB |
3934 | 2013-05-02 Ian Bolton <ian.bolton@arm.com> |
3935 | ||
3936 | * config/aarch64/aarch64.md (movsi_aarch64): Only allow to/from | |
3937 | S reg when fp attribute set. | |
3938 | (movdi_aarch64): Only allow to/from D reg when fp attribute set. | |
3939 | ||
add3c965 IB |
3940 | 2013-05-02 Ian Bolton <ian.bolton@arm.com> |
3941 | ||
3942 | * config/aarch64/aarch64.md (*and_one_cmpl<mode>3_compare0): | |
3943 | New pattern. | |
3944 | (*and_one_cmplsi3_compare0_uxtw): Likewise. | |
3945 | (*and_one_cmpl_<SHIFT:optab><mode>3_compare0): Likewise. | |
3946 | (*and_one_cmpl_<SHIFT:optab>si3_compare0_uxtw): Likewise. | |
3947 | ||
fdd43ac4 RB |
3948 | 2013-05-02 Richard Biener <rguenther@suse.de> |
3949 | ||
3950 | * tree-scalar-evolution.c (scev_info_hasher): Remove. | |
3951 | (struct instantiate_cache_entry): New type. | |
3952 | (struct instantiate_cache_entry_hasher): New hashtable descriptor. | |
3953 | (struct instantiate_cache_type): New type. | |
3954 | (set_instantiated_value, get_instantiated_value): Remove. | |
3955 | (get_instantiated_value_entry): New function. | |
3956 | (instantiate_scev_name): Use the new cache and adjust. | |
3957 | (instantiate_scev_poly): Adjust. | |
3958 | (instantiate_scev_binary): Likewise. | |
3959 | (instantiate_array_ref): Likewise. | |
3960 | (instantiate_scev_convert): Likewise. | |
3961 | (instantiate_scev_not): Likewise. | |
3962 | (instantiate_scev_3): Likewise. | |
3963 | (instantiate_scev_2): Likewise. | |
3964 | (instantiate_scev_r): Likewise. | |
3965 | (instantiate_scev): Likewise. | |
3966 | (resolve_mixers): Likewise. | |
3967 | ||
36ff9dfb VM |
3968 | 2013-05-01 Vladimir Makarov <vmakarov@redhat.com> |
3969 | ||
3970 | PR target/57091 | |
3971 | * lra-constraints.c (best_small_class_operands_num): Remove. | |
3972 | (process_alt_operands): Remove small_class_operands_num. Take | |
3973 | small classes operands into losers and only if the operand is not | |
3974 | matched. Modify debugging output. | |
3975 | (curr_insn_transform): Remove best_small_class_operands_num. | |
3976 | Print insn name. | |
3977 | ||
36054fab JG |
3978 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
3979 | ||
3980 | * config/aarch64/aarch64-builtins.c | |
3981 | (aarch64_gimple_fold_builtin.c): Fold more modes for reduc_splus_. | |
3982 | * config/aarch64/aarch64-simd-builtins.def | |
3983 | (reduc_splus_): Add new modes. | |
3984 | (reduc_uplus_): New. | |
3985 | * config/aarch64/aarch64-simd.md (aarch64_addvv4sf): Remove. | |
3986 | (reduc_uplus_v4sf): Likewise. | |
3987 | (reduc_splus_v4sf): Likewise. | |
3988 | (aarch64_addv<mode>): Likewise. | |
3989 | (reduc_uplus_<mode>): Likewise. | |
3990 | (reduc_splus_<mode>): Likewise. | |
3991 | (aarch64_addvv2di): Likewise. | |
3992 | (reduc_uplus_v2di): Likewise. | |
3993 | (reduc_splus_v2di): Likewise. | |
3994 | (aarch64_addvv2si): Likewise. | |
3995 | (reduc_uplus_v2si): Likewise. | |
3996 | (reduc_splus_v2si): Likewise. | |
3997 | (reduc_<sur>plus_<mode>): New. | |
3998 | (reduc_<sur>plus_v2di): Likewise. | |
3999 | (reduc_<sur>plus_v2si): Likewise. | |
4000 | (reduc_<sur>plus_v4sf): Likewise. | |
4001 | (aarch64_addpv4sf): Likewise. | |
4002 | * config/aarch64/arm_neon.h | |
4003 | (vaddv<q>_<s,u,f><8, 16, 32, 64): Rewrite using builtins. | |
4004 | * config/aarch64/iterators.md (unspec): Remove UNSPEC_ADDV, | |
4005 | add UNSPEC_SADDV, UNSPEC_UADDV. | |
4006 | (SUADDV): New. | |
4007 | (sur): Add UNSPEC_SADDV, UNSPEC_UADDV. | |
4008 | ||
6dce23a8 JG |
4009 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
4010 | ||
4011 | * config/aarch64/arm_neon.h | |
4012 | (v<max,min><nm><q><v>_<sfu><8, 16, 32, 64>): Rewrite using builtins. | |
4013 | ||
1598945b JG |
4014 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
4015 | ||
4016 | * config/aarch64/aarch64-builtins | |
4017 | (aarch64_gimple_fold_builtin): Fold reduc_<su><maxmin>_ builtins. | |
4018 | ||
998eaf97 JG |
4019 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
4020 | ||
4021 | * config/aarch64/aarch64-simd-builtins.def | |
4022 | (reduc_smax_): New. | |
4023 | (reduc_smin_): Likewise. | |
4024 | (reduc_umax_): Likewise. | |
4025 | (reduc_umin_): Likewise. | |
4026 | (reduc_smax_nan_): Likewise. | |
4027 | (reduc_smin_nan_): Likewise. | |
4028 | (fmax): Remove. | |
4029 | (fmin): Likewise. | |
4030 | (smax): Update for V2SF, V4SF and V2DF modes. | |
4031 | (smin): Likewise. | |
4032 | (smax_nan): New. | |
4033 | (smin_nan): Likewise. | |
4034 | * config/aarch64/aarch64-simd.md (<maxmin><mode>3): Rename to... | |
4035 | (<su><maxmin><mode>3): ...This, refactor. | |
4036 | (s<maxmin><mode>3): New. | |
4037 | (<maxmin_uns><mode>3): Likewise. | |
4038 | (reduc_<maxmin_uns>_<mode>): Refactor. | |
4039 | (reduc_<maxmin_uns>_v4sf): Likewise. | |
4040 | (reduc_<maxmin_uns>_v2si): Likewise. | |
4041 | (aarch64_<fmaxmin><mode>: Remove. | |
4042 | * config/aarch64/arm_neon.h (vmax<q>_f<32,64>): Rewrite to use | |
4043 | new builtin names. | |
4044 | (vmin<q>_f<32,64>): Likewise. | |
4045 | * config/iterators.md (unspec): Add UNSPEC_FMAXNMV, UNSPEC_FMINNMV. | |
4046 | (FMAXMIN): New. | |
4047 | (su): Add mappings for smax, smin, umax, umin. | |
4048 | (maxmin): New. | |
4049 | (FMAXMINV): Add UNSPEC_FMAXNMV, UNSPEC_FMINNMV. | |
4050 | (FMAXMIN): Rename as... | |
4051 | (FMAXMIN_UNS): ...This. | |
4052 | (maxminv): Remove. | |
4053 | (fmaxminv): Likewise. | |
4054 | (fmaxmin): Likewise. | |
4055 | (maxmin_uns): New. | |
4056 | (maxmin_uns_op): Likewise. | |
4057 | ||
bd11644e JG |
4058 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
4059 | ||
4060 | * config/aarch64/arm_neon.h | |
4061 | (vac<ge, gt><sd>_f<32, 64>): Rename to... | |
4062 | (vca<ge, gt><sd>_f<32, 64>): ...this, reimpliment in C. | |
4063 | (vca<ge, gt, lt, le><q>_f<32, 64>): Reimpliment in C. | |
4064 | ||
75dd5ace JG |
4065 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
4066 | ||
4067 | * config/aarch64/aarch64-simd.md (*aarch64_fac<optab><mode>): New. | |
4068 | * config/aarch64/iterators.md (FAC_COMPARISONS): New. | |
4069 | ||
7c19979f JG |
4070 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
4071 | ||
4072 | * config/aarch64/aarch64-simd.md | |
4073 | (vcond<mode>_internal): Handle special cases for constant masks. | |
4074 | (vcond<mode><mode>): Allow nonmemory_operands for outcome vectors. | |
4075 | (vcondu<mode><mode>): Likewise. | |
4076 | (vcond<v_cmp_result><mode>): New. | |
4077 | ||
bb60efd9 JG |
4078 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
4079 | ||
4080 | * config/aarch64/aarch64-builtins.c (BUILTIN_VALLDI): Define. | |
4081 | (aarch64_fold_builtin): Add folding for cm<eq,ge,gt,tst>. | |
4082 | * config/aarch64/aarch64-simd-builtins.def | |
4083 | (cmeq): Update to BUILTIN_VALLDI. | |
4084 | (cmgt): Likewise. | |
4085 | (cmge): Likewise. | |
4086 | (cmle): Likewise. | |
4087 | (cmlt): Likewise. | |
4088 | * config/aarch64/arm_neon.h | |
4089 | (vc<eq, lt, le, gt, ge, tst><z><qsd>_<fpsu><8,16,32,64>): Remap | |
4090 | to builtins or C as appropriate. | |
4091 | ||
889b9412 JG |
4092 | 2013-05-01 James Greenhalgh <james.greenhalgh@arm.com> |
4093 | ||
4094 | * config/aarch64/aarch64-simd-builtins.def (cmhs): Rename to... | |
4095 | (cmgeu): ...This. | |
4096 | (cmhi): Rename to... | |
4097 | (cmgtu): ...This. | |
4098 | * config/aarch64/aarch64-simd.md | |
4099 | (simd_mode): Add SF. | |
4100 | (aarch64_vcond_internal): Use new names for unsigned comparison insns. | |
4101 | (aarch64_cm<optab><mode>): Rewrite to not use UNSPECs. | |
4102 | * config/aarch64/aarch64.md (*cstore<mode>_neg): Rename to... | |
4103 | (cstore<mode>_neg): ...This. | |
4104 | * config/aarch64/iterators.md | |
4105 | (VALLF): new. | |
4106 | (unspec): Remove UNSPEC_CM<EQ, LE, LT, GE, GT, HS, HI, TST>. | |
4107 | (COMPARISONS): New. | |
4108 | (UCOMPARISONS): Likewise. | |
4109 | (optab): Add missing comparisons. | |
4110 | (n_optab): New. | |
4111 | (cmp_1): Likewise. | |
4112 | (cmp_2): Likewise. | |
4113 | (CMP): Likewise. | |
4114 | (cmp): Remove. | |
4115 | (VCMP_S): Likewise. | |
4116 | (VCMP_U): Likewise. | |
4117 | (V_cmp_result): Add DF, SF modes. | |
4118 | (v_cmp_result): Likewise. | |
4119 | (v): Likewise. | |
4120 | (vmtype): Likewise. | |
4121 | * config/aarch64/predicates.md (aarch64_reg_or_fp_zero): New. | |
4122 | ||
0a7dbb76 GY |
4123 | 2013-05-01 Greta Yorsh <Greta.Yorsh@arm.com> |
4124 | ||
4125 | * config/arm/thumb2.md (thumb2_smaxsi3,thumb2_sminsi3): Convert | |
4126 | define_insn to define_insn_and_split. | |
4127 | (thumb32_umaxsi3,thumb2_uminsi3): Likewise. | |
4128 | (thumb2_negdi2,thumb2_abssi2,thumb2_neg_abssi2): Likewise. | |
4129 | (thumb2_mov_scc,thumb2_mov_negscc,thumb2_mov_notscc): Likewise. | |
4130 | (thumb2_movsicc_insn,thumb2_and_scc,thumb2_ior_scc): Likewise. | |
4131 | (thumb2_negscc): Likewise. | |
4132 | ||
fb614ca6 GY |
4133 | 2013-04-30 Greta Yorsh <Greta.Yorsh@arm.com> |
4134 | ||
4135 | * config/arm/thumb2.md (thumb2_incscc, thumb2_decscc): Delete. | |
4136 | ||
9e64a0bf GY |
4137 | 2013-04-30 Greta Yorsh <Greta.Yorsh@arm.com> |
4138 | ||
4139 | * config/arm/thumb2.md: Remove trailing whitespaces. | |
4140 | ||
d6b28156 RS |
4141 | 2013-04-30 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
4142 | ||
4143 | * explow.c (plus_constant): Pass "mode" to immed_double_int_const. | |
4144 | Use gen_int_mode rather than GEN_INT. | |
4145 | ||
f91674c3 L |
4146 | 2013-04-30 H.J. Lu <hongjiu.lu@intel.com> |
4147 | ||
b0dec607 | 4148 | * value-prof.c (stream_in_histogram_value): Remove the strayed |
f91674c3 L |
4149 | debug_gimple_stmt. |
4150 | ||
3551257c RB |
4151 | 2013-04-30 Richard Biener <rguenther@suse.de> |
4152 | ||
4153 | PR middle-end/57122 | |
3c21604f | 4154 | * cfghooks.c (split_edge): Properly check for the loop latch edge. |
3551257c | 4155 | |
4c1aff1c RB |
4156 | 2013-04-30 Richard Biener <rguenther@suse.de> |
4157 | ||
4158 | PR middle-end/57107 | |
4159 | * tree-eh.c (sink_clobbers): Preserve virtual SSA form. | |
4160 | ||
54b8379a AB |
4161 | 2013-04-30 Andrey Belevantsev <abel@ispras.ru> |
4162 | ||
4163 | PR rtl-optimization/56957 | |
4164 | PR rtl-optimization/57105 | |
54b8379a AB |
4165 | * sel-sched.c (move_op_orig_expr_found): Remove insn_emitted |
4166 | variable. Use just INSN_UID for determining whether an insn | |
4167 | should be only disconnected from the insn stream. | |
4168 | * sel-sched-ir.h (EXPR_WAS_CHANGED): Remove. | |
4169 | ||
abc27962 JJ |
4170 | 2013-04-30 Jakub Jelinek <jakub@redhat.com> |
4171 | ||
4172 | PR tree-optimization/57104 | |
4173 | * tsan.c (instrument_expr): Don't instrument accesses to | |
4174 | DECL_HARD_REGISTER VAR_DECLs. | |
4175 | ||
0fc822d0 RB |
4176 | 2013-04-30 Richard Biener <rguenther@suse.de> |
4177 | ||
4178 | * function.h (loops_for_fn): New inline function. | |
4179 | (set_loops_for_fn): Likewise. | |
4180 | * cfgloop.h (place_new_loop): Add struct function parameter. | |
4181 | (get_loop): Likewise. | |
4182 | (get_loops): Likewise. | |
4183 | (number_of_loops): Likewise. | |
4184 | (fel_next): Adjust. | |
4185 | (fel_init): Likewise. | |
4186 | * cfg.c (get_loop_copy): Adjust. | |
4187 | * cfgloop.c (flow_loops_dump): Likewise. | |
4188 | (record_loop_exits): Likewise. | |
4189 | (verify_loop_structure): Likewise. | |
4190 | * cfgloopanal.c (mark_irreducible_loops): Likewise. | |
4191 | (estimate_reg_pressure_cost): Likewise. | |
4192 | (mark_loop_exit_edges): Likewise. | |
4193 | * cfgloopmanip.c (place_new_loop): Likewise. | |
4194 | (add_loop): Likewise. | |
4195 | (duplicate_loop): Likewise. | |
4196 | * graph.c (draw_cfg_nodes): Likewise. | |
4197 | * graphite-clast-to-gimple.c (translate_clast_user): Likewise. | |
4198 | * graphite-sese-to-poly.c (build_scop_scattering): Likewise. | |
4199 | (extract_affine_chrec): Likewise. | |
4200 | (build_scop_iteration_domain): Likewise. | |
4201 | * graphite.c (graphite_initialize): Likewise. | |
4202 | * ira-build.c (create_loop_tree_nodes): Likewise. | |
4203 | (more_one_region_p): Likewise. | |
4204 | (rebuild_regno_allocno_maps): Likewise. | |
4205 | (mark_loops_for_removal): Likewise. | |
4206 | (mark_all_loops_for_removal): Likewise. | |
4207 | (remove_unnecessary_regions): Likewise. | |
4208 | (ira_build): Likewise. | |
4209 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
4210 | * loop-init.c (fix_loop_structure): Likewise. | |
4211 | (gate_rtl_move_loop_invariants): Likewise. | |
4212 | (gate_rtl_unswitch): Likewise. | |
4213 | (gate_rtl_unroll_and_peel_loops): Likewise. | |
4214 | (rtl_doloop): Likewise. | |
4215 | * lto-streamer-in.c (input_cfg): Likewise. | |
4216 | * lto-streamer-out.c (output_cfg): Likewise. | |
4217 | * modulo-sched.c (sms_schedule): Likewise. | |
4218 | * predict.c (tree_estimate_probability): Likewise. | |
4219 | (tree_estimate_probability_driver): Likewise. | |
4220 | (estimate_loops): Likewise. | |
4221 | * tree-cfg.c (fixup_loop_arrays_after_move): Likewise. | |
4222 | (move_sese_region_to_fn): Likewise. | |
4223 | (debug_loop_num): Likewise. | |
4224 | * tree-chrec.c (chrec_evaluate): Likewise. | |
4225 | (hide_evolution_in_other_loops_than_loop): Likewise. | |
4226 | (chrec_component_in_loop_num): Likewise. | |
4227 | (reset_evolution_in_loop): Likewise. | |
4228 | (evolution_function_is_invariant_rec_p): Likewise. | |
4229 | * tree-if-conv.c (main_tree_if_conversion): Likewise. | |
4230 | * tree-inline.c (copy_loops): Likewise. | |
4231 | (copy_cfg_body): Likewise. | |
4232 | (tree_function_versioning): Likewise. | |
4233 | * tree-loop-distribution.c (rdg_flag_loop_exits): Likewise. | |
4234 | * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop): | |
4235 | Likewise. | |
4236 | (add_to_evolution_1): Likewise. | |
4237 | (scev_const_prop): Likewise. | |
4238 | * tree-scalar-evolution.h (get_chrec_loop): Likewise. | |
4239 | * tree-ssa-loop-ch.c (copy_loop_headers): Likewise. | |
4240 | * tree-ssa-loop-im.c (analyze_memory_references): Likewise. | |
4241 | (tree_ssa_lim_initialize): Likewise. | |
4242 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Likewise. | |
4243 | (verify_loop_closed_ssa): Likewise. | |
4244 | * tree-ssa-loop.c (tree_ssa_loop_init): Likewise. | |
4245 | (tree_ssa_loop_im): Likewise. | |
4246 | (tree_ssa_loop_unswitch): Likewise. | |
4247 | (tree_vectorize): Likewise. | |
4248 | (check_data_deps): Likewise. | |
4249 | (tree_ssa_loop_ivcanon): Likewise. | |
4250 | (tree_ssa_loop_bounds): Likewise. | |
4251 | (tree_complete_unroll): Likewise. | |
4252 | (tree_complete_unroll_inner): Likewise. | |
4253 | (tree_parallelize_loops): Likewise. | |
4254 | (tree_ssa_loop_prefetch): Likewise. | |
4255 | (tree_ssa_loop_ivopts): Likewise. | |
4256 | * tree-ssa.c (execute_update_addresses_taken): Liekwise. | |
4257 | * tree-vectorizer.c (vectorize_loops): Likewise. | |
4258 | ||
37953bd3 MF |
4259 | 2013-04-29 Mike Frysinger <vapier@gentoo.org> |
4260 | ||
4261 | * config/arm/bpabi.h (EABI_LINK_SPEC): Define. | |
4262 | (BPABI_LINK_SPEC): Use new EABI_LINK_SPEC. | |
4263 | * config/arm/linux-eabi.h (LINK_SPEC): Replace BE8_LINK_SPEC | |
4264 | with EABI_LINK_SPEC. | |
4265 | ||
f9ed28db UB |
4266 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
4267 | ||
4268 | PR target/44578 | |
4269 | * config/i386/i386.md (*zero_extendsidi2): Add "!" to m->?*y | |
4270 | alternative. | |
4271 | ||
deca73f5 VM |
4272 | 2013-04-29 Vladimir Makarov <vmakarov@redhat.com> |
4273 | ||
4274 | PR target/57097 | |
37953bd3 | 4275 | * lra-constraints.c (process_alt_operands): Discourage a bit more |
deca73f5 VM |
4276 | using memory for pseudos. Print cost dump for alternatives. |
4277 | Modify cost values for conflicts with early clobbers. | |
4278 | (curr_insn_transform): Spill pseudos reassigned to NO_REGS. | |
4279 | ||
fdca7d03 UB |
4280 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
4281 | ||
4282 | PR target/57098 | |
4283 | * config/i386/i386.c (ix86_expand_vec_perm): Validize constant memory. | |
4284 | ||
0b064172 IB |
4285 | 2013-04-29 Ian Bolton <ian.bolton@arm.com> |
4286 | ||
4287 | * config/aarch64/aarch64.md (movsi_aarch64): Support LDR/STR | |
4288 | from/to S register. | |
4289 | (movdi_aarch64): Support LDR/STR from/to D register. | |
4290 | ||
473cec55 IB |
4291 | 2013-04-29 Ian Bolton <ian.bolton@arm.com> |
4292 | ||
4293 | * common/config/aarch64/aarch64-common.c: Enable REE pass at O2 | |
4294 | or higher by default. | |
4295 | ||
a6f30e66 RB |
4296 | 2013-04-29 Richard Biener <rguenther@suse.de> |
4297 | ||
4298 | PR middle-end/57075 | |
4299 | * tree-inline.c (copy_edges_for_bb): Still split the bbs, | |
4300 | even if not adding abnormal edges for calls that can make | |
4301 | abnormal gotos. | |
4302 | ||
0c2b2040 RB |
4303 | 2013-04-29 Richard Biener <rguenther@suse.de> |
4304 | ||
4305 | PR middle-end/57103 | |
4306 | * tree-cfg.c (move_stmt_op): Fix condition under which to update | |
4307 | TREE_BLOCK. | |
4308 | (move_stmt_r): Remove redundant checking. | |
4309 | ||
f41f80f9 TJ |
4310 | 2013-04-29 Teresa Johnson <tejohnson@google.com> |
4311 | ||
4312 | PR bootstrap/57077 | |
4313 | * basic-block.h (apply_scale): New function. | |
4314 | (apply_probability): Use apply_scale. | |
4315 | * gimple-streamer-in.c (input_bb): Ditto. | |
4316 | * lto-streamer-in.c (input_cfg): Ditto. | |
4317 | * lto-cgraph.c (merge_profile_summaries): Ditto. | |
4318 | * tree-optimize.c (execute_fixup_cfg): Ditto. | |
fdca7d03 | 4319 | * tree-inline.c (copy_bb): Update comment to use apply_scale. |
f41f80f9 TJ |
4320 | (copy_edges_for_bb): Ditto. |
4321 | (copy_cfg_body): Ditto. | |
4322 | ||
315bbd2e TV |
4323 | 2013-04-29 Tom de Vries <tom@codesourcery.com> |
4324 | ||
4325 | * tree-ssa-tail-merge.c (find_same_succ_bb): Skip loop latch bbs. | |
4326 | (replace_block_by): Don't set LOOPS_NEED_FIXUP. | |
4327 | (tail_merge_optimize): Handle current_loops == NULL. | |
4328 | ||
ebbd90d8 JL |
4329 | 2013-04-26 Jeff Law <law@redhat.com> |
4330 | ||
4331 | * tree-vrp.c (range_fits_type_p): Move to earlier point in file. | |
4332 | (simplify_cond_using_ranges): Generalize code to simplify | |
4333 | COND_EXPRs where one argument is a constant and the other | |
4334 | is an SSA_NAME created by an integral type conversion. | |
4335 | ||
8b9b57eb KT |
4336 | 2013-04-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
4337 | ||
4338 | * config/arm/arm.md (store_minmaxsi): Use only when | |
4339 | optimize_insn_for_size_p. | |
4340 | ||
9498e5dc CB |
4341 | 2013-04-29 Christian Bruel <christian.bruel@st.com> |
4342 | ||
4343 | PR target/57108 | |
4344 | * sh.md (tstsi_t_zero_extract_eq): Set mode for operand 0. | |
4345 | ||
6093bc06 RB |
4346 | 2013-04-29 Richard Biener <rguenther@suse.de> |
4347 | ||
4348 | PR middle-end/57089 | |
fdca7d03 UB |
4349 | * omp-low.c (expand_omp_taskreg): If the parent function had a broken |
4350 | loop tree make sure to schedule a fixup for the child as well. | |
6093bc06 RB |
4351 | (expand_omp_for_generic): Properly add loops. |
4352 | (expand_omp_for_static_nochunk): Likewise. | |
4353 | (expand_omp_for_static_chunk): Likewise. | |
4354 | (expand_omp_for): For the degenerate case fixup loops. | |
4355 | (expand_omp_sections): Fix default bb placement in loops. | |
4356 | (expand_omp_atomic_pipeline): Properly add loops. | |
4357 | ||
84aacbfd KT |
4358 | 2013-04-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
4359 | ||
4360 | * predict.c: Fix typo in comment above #define PROB_VERY_UNLIKELY. | |
4361 | ||
8dee4479 TV |
4362 | 2013-04-29 Tom de Vries <tom@codesourcery.com> |
4363 | ||
4364 | * tree-ssa-tail-merge.c: Update header comment. | |
4365 | ||
47934dc4 JG |
4366 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
4367 | ||
4368 | * config/aarch64/arm_neon.h | |
4369 | (vcvt<sd>_f<32,64>_s<32,64>): Rewrite in C. | |
4370 | (vcvt<q>_f<32,64>_s<32,64>): Rewrite using builtins. | |
4371 | (vcvt_<high_>_f<32,64>_f<32,64>): Likewise. | |
4372 | (vcvt<qsd>_<su><32,64>_f<32,64>): Likewise. | |
4373 | (vcvta<qsd>_<su><32,64>_f<32,64>): Likewise. | |
4374 | (vcvtm<qsd>_<su><32,64>_f<32,64>): Likewise. | |
4375 | (vcvtn<qsd>_<su><32,64>_f<32,64>): Likewise. | |
4376 | (vcvtp<qsd>_<su><32,64>_f<32,64>): Likewise. | |
4377 | ||
384be29f JG |
4378 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
4379 | ||
4380 | * config/aarch64/aarch64-simd.md | |
4381 | (<optab><VDQF:mode><fcvt_target>2): New, maps to fix, fixuns. | |
4382 | (<fix_trunc_optab><VDQF:mode><fcvt_target>2): New, maps to | |
4383 | fix_trunc, fixuns_trunc. | |
4384 | (ftrunc<VDQF:mode>2): New. | |
4385 | * config/aarch64/iterators.md (optab): Add fix, fixuns. | |
4386 | (fix_trunc_optab): New. | |
4387 | ||
0386b123 JG |
4388 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
4389 | ||
4390 | * config/aarch64/aarch64-builtins.c | |
4391 | (aarch64_builtin_vectorized_function): Vectorize over ifloorf, | |
4392 | iceilf, lround, iroundf. | |
4393 | ||
00fcb892 UB |
4394 | 2013-04-29 Uros Bizjak <ubizjak@gmail.com> |
4395 | ||
4396 | PR target/54349 | |
4397 | * config/i386/i386.h (enum ix86_tune_indices) | |
4398 | <X86_TUNE_INTER_UNIT_MOVES_TO_VEC, X86_TUNE_INTER_UNIT_MOVES_FROM_VEC>: | |
4399 | New, split from X86_TUNE_INTER_UNIT_MOVES. | |
4400 | <X86_TUNE_INTER_UNIT_MOVES>: Remove. | |
4401 | (TARGET_INTER_UNIT_MOVES_TO_VEC): New define. | |
4402 | (TARGET_INTER_UNIT_MOVES_FROM_VEC): Ditto. | |
4403 | (TARGET_INTER_UNIT_MOVES): Remove. | |
4404 | * config/i386/i386.c (initial_ix86_tune_features): Update. | |
4405 | Disable X86_TUNE_INTER_UNIT_MOVES_FROM_VEC for m_ATHLON_K8 only. | |
4406 | (ix86_expand_convert_uns_didf_sse): Use | |
4407 | TARGET_INTER_UNIT_MOVES_TO_VEC instead of TARGET_INTER_UNIT_MOVES. | |
4408 | (ix86_expand_vector_init_one_nonzero): Ditto. | |
4409 | (ix86_expand_vector_init_interleave): Ditto. | |
4410 | (inline_secondary_memory_needed): Return true for moves from SSE class | |
4411 | registers for !TARGET_INTER_UNIT_MOVES_FROM_VEC targets and for moves | |
4412 | to SSE class registers for !TARGET_INTER_UNIT_MOVES_TO_VEC targets. | |
4413 | * config/i386/constraints.md (Yi, Ym): Depend on | |
4414 | TARGET_INTER_UNIT_MOVES_TO_VEC. | |
4415 | (Yj, Yn): New constraints. | |
4416 | * config/i386/i386.md (*movdi_internal): Change constraints of | |
4417 | operand 1 from Yi to Yj and from Ym to Yn. | |
4418 | (*movsi_internal): Ditto. | |
4419 | (*movdf_internal): Ditto. | |
4420 | (*movsf_internal): Ditto. | |
4421 | (*float<SWI48x:mode><X87MODEF:mode>2_1): Use | |
4422 | TARGET_INTER_UNIT_MOVES_TO_VEC instead of TARGET_INTER_UNIT_MOVES. | |
4423 | (*float<SWI48x:mode><X87MODEF:mode>2_1 splitters): Ditto. | |
4424 | (floatdi<X87MODEF:mode>2_i387_with_xmm): Ditto. | |
4425 | (floatdi<X87MODEF:mode>2_i387_with_xmm splitters): Ditto. | |
4426 | * config/i386/sse.md (movdi_to_sse): Ditto. | |
4427 | (sse2_stored): Change constraint of operand 1 from Yi to Yj. | |
4428 | Use TARGET_INTER_UNIT_MOVES_FROM_VEC instead of | |
4429 | TARGET_INTER_UNIT_MOVES. | |
4430 | (sse_storeq_rex64): Change constraint of operand 1 from Yi to Yj. | |
4431 | (sse_storeq_rex64 splitter): Use TARGET_INTER_UNIT_MOVES_FROM_VEC | |
4432 | instead of TARGET_INTER_UNIT_MOVES. | |
4433 | * config/i386/mmx.md (*mov<mode>_internal): Change constraint of | |
4434 | operand 1 from Yi to Yj and from Ym to Yn. | |
4435 | ||
4c871069 JG |
4436 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
4437 | ||
4438 | * config/aarch64/aarch64-simd-builtins.def (vec_unpacks_hi_): New. | |
4439 | (float_truncate_hi_): Likewise. | |
4440 | (float_extend_lo_): Likewise. | |
4441 | (float_truncate_lo_): Likewise. | |
4442 | * config/aarch64/aarch64-simd.md (vec_unpacks_lo_v4sf): New. | |
4443 | (aarch64_float_extend_lo_v2df): Likewise. | |
4444 | (vec_unpacks_hi_v4sf): Likewise. | |
4445 | (aarch64_float_truncate_lo_v2sf): Likewise. | |
4446 | (aarch64_float_truncate_hi_v4sf): Likewise. | |
4447 | (vec_pack_trunc_v2df): Likewise. | |
4448 | (vec_pack_trunc_df): Likewise. | |
4449 | ||
1709ff9b JG |
4450 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
4451 | ||
4452 | * config/aarch64/aarch64-builtins.c | |
4453 | (aarch64_fold_builtin): Fold float conversions. | |
4454 | * config/aarch64/aarch64-simd-builtins.def | |
4455 | (floatv2si, floatv4si, floatv2di): New. | |
4456 | (floatunsv2si, floatunsv4si, floatunsv2di): Likewise. | |
4457 | * config/aarch64/aarch64-simd.md | |
4458 | (<optab><fcvt_target><VDQF:mode>2): New, expands to float and floatuns. | |
4459 | * config/aarch64/iterators.md (FLOATUORS): New. | |
4460 | (optab): Add float, floatuns. | |
4461 | (su_optab): Likewise. | |
4462 | ||
ce966824 JG |
4463 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
4464 | ||
4465 | * config/aarch64/aarch64-builtins.c | |
4466 | (aarch64_builtin_vectorized_function): Use new names for | |
4467 | fcvt builtins. | |
4468 | * config/aarch64/aarch64-simd-builtins.def (fcvtzs): Split as... | |
4469 | (lbtruncv2sf, lbtruncv4sf, lbtruncv2df): ...This. | |
4470 | (fcvtzu): Split as... | |
4471 | (lbtruncuv2sf, lbtruncuv4sf, lbtruncuv2df): ...This. | |
4472 | (fcvtas): Split as... | |
4473 | (lroundv2sf, lroundv4sf, lroundv2df, lroundsf, lrounddf): ...This. | |
4474 | (fcvtau): Split as... | |
4475 | (lrounduv2sf, lrounduv4sf, lrounduv2df, lroundusf, lroundudf): ...This. | |
4476 | (fcvtps): Split as... | |
4477 | (lceilv2sf, lceilv4sf, lceilv2df): ...This. | |
4478 | (fcvtpu): Split as... | |
4479 | (lceiluv2sf, lceiluv4sf, lceiluv2df, lceilusf, lceiludf): ...This. | |
4480 | (fcvtms): Split as... | |
4481 | (lfloorv2sf, lfloorv4sf, lfloorv2df): ...This. | |
4482 | (fcvtmu): Split as... | |
4483 | (lflooruv2sf, lflooruv4sf, lflooruv2df, lfloorusf, lfloorudf): ...This. | |
4484 | (lfrintnv2sf, lfrintnv4sf, lfrintnv2df, lfrintnsf, lfrintndf): New. | |
4485 | (lfrintnuv2sf, lfrintnuv4sf, lfrintnuv2df): Likewise. | |
4486 | (lfrintnusf, lfrintnudf): Likewise. | |
4487 | * config/aarch64/aarch64-simd.md | |
4488 | (l<fcvt_pattern><su_optab><fcvt_target><VDQF:mode>2): Convert to | |
4489 | define_insn. | |
4490 | (aarch64_fcvt<frint_suffix><su><mode>): Remove. | |
4491 | * config/aarch64/iterators.md (FCVT): Include UNSPEC_FRINTN. | |
4492 | (fcvt_pattern): Likewise. | |
4493 | ||
b9de24fe JG |
4494 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
4495 | ||
4496 | * config/aarch64/aarch64-simd.md | |
4497 | (l<fcvt_pattern><su_optab><fcvt_target><VDQF:mode>2): Rename to... | |
4498 | (l<fcvt_pattern><su_optab><VDQF:mode><fcvt_target>2): ... This. | |
4499 | ||
77a205be JG |
4500 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
4501 | ||
4502 | * config/aarch64/arm_neon.h (vrndq<a,m,n,p>_f<32, 64>): Rename to... | |
4503 | (vrnd<a,m,n,p>q_f<32, 64>): ...This, implement using builtin. | |
4504 | (vrnd<a,m,n,p>_f32): Implement using builtins. | |
4505 | (vrnd<i,x><q>_f<32, 64>): New. | |
4506 | ||
0659ce6f JG |
4507 | 2013-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
4508 | ||
4509 | * config/aarch64/aarch64-builtins.c | |
4510 | (aarch64_builtin_vectorized_function): Fold to standard pattern names. | |
4511 | * config/aarch64/aarch64-simd-builtins.def (frintn): New. | |
4512 | (frintz): Rename to... | |
4513 | (btrunc): ...this. | |
4514 | (frintp): Rename to... | |
4515 | (ceil): ...this. | |
4516 | (frintm): Rename to... | |
4517 | (floor): ...this. | |
4518 | (frinti): Rename to... | |
4519 | (nearbyint): ...this. | |
4520 | (frintx): Rename to... | |
4521 | (rint): ...this. | |
4522 | (frinta): Rename to... | |
4523 | (round): ...this. | |
4524 | * config/aarch64/aarch64-simd.md | |
4525 | (aarch64_frint<frint_suffix><mode>): Delete. | |
4526 | (<frint_pattern><mode>2): Convert to insn. | |
4527 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_FRINTN. | |
4528 | * config/aarch64/iterators.md (FRINT): Add UNSPEC_FRINTN. | |
4529 | (frint_pattern): Likewise. | |
4530 | (frint_suffix): Likewise. | |
4531 | ||
ea78906a RB |
4532 | 2013-04-29 Richard Biener <rguenther@suse.de> |
4533 | ||
4534 | PR tree-optimization/57081 | |
4535 | * loop-init.c: Include tree-flow.h. | |
4536 | (loop_optimizer_finalize): Free number of iteration estimates. | |
4537 | * Makefile.in (loop-init.o): Add $(TREE_FLOW_H) dependency. | |
4538 | ||
baee1763 JJ |
4539 | 2013-04-29 Jakub Jelinek <jakub@redhat.com> |
4540 | ||
94dc5332 JJ |
4541 | PR tree-optimization/57083 |
4542 | * tree-vrp.c (extract_range_from_binary_expr_1): For LSHIFT_EXPR with | |
4543 | non-singleton shift count range, zero extend low_bound for uns case. | |
4544 | ||
baee1763 JJ |
4545 | * config/i386/predicates.md (general_vector_operand): New predicate. |
4546 | * config/i386/i386.c (const_vector_equal_evenodd_p): New function. | |
4547 | (ix86_expand_mul_widen_evenodd): Force op1 resp. op2 into register | |
4548 | if they aren't nonimmediate operands. If their original values | |
4549 | satisfy const_vector_equal_evenodd_p, don't shift them. | |
4550 | * config/i386/sse.md (mul<mode>3): Use general_vector_operand | |
4551 | predicates. For the SSE4.1 case force operands[{1,2}] into registers | |
4552 | if not nonimmediate_operand. | |
4553 | (vec_widen_smult_even_v4si): Use nonimmediate_operand predicates | |
4554 | instead of register_operand. | |
4555 | (vec_widen_<s>mult_odd_<mode>): Use general_vector_operand predicates. | |
4556 | ||
a9073727 | 4557 | 2013-04-28 Eric Botcazou <ebotcazou@adacore.com> |
22ad5e0a EB |
4558 | |
4559 | * stor-layout.c (finalize_size_functions): Allocate a structure and | |
4560 | reset cfun before dumping the functions. | |
4561 | ||
ba8011e6 JJ |
4562 | 2013-04-27 Jakub Jelinek <jakub@redhat.com> |
4563 | ||
d6fde69e JJ |
4564 | * config/i386/i386.c (ix86_expand_call): Make cregs_size unsigned. |
4565 | ||
ba8011e6 JJ |
4566 | PR target/56866 |
4567 | * config/i386/i386.c (ix86_expand_mul_widen_evenodd): Don't | |
4568 | use xop_pmacsdqh if uns_p. | |
4569 | * config/i386/sse.md (xop_rotr<mode>3): Fix up computation of | |
4570 | the immediate rotate count. | |
4571 | ||
2c62cbaa VM |
4572 | 2013-04-26 Vladimir Makarov <vmakarov@redhat.com> |
4573 | ||
4574 | * rtl.h (struct rtx_def): Add comment for field jump. | |
4575 | (LRA_SUBREG_P): New macro. | |
4576 | * recog.c (register_operand): Check LRA_SUBREG_P. | |
4577 | * lra.c (lra): Add note at the end of RTL code. Align non-empty | |
4578 | stack frame. | |
4579 | * lra-spills.c (lra_spill): Align stack after spilling pseudos. | |
4580 | (lra_final_code_change): Skip subreg change for operators. | |
4581 | * lra-eliminations.c (eliminate_regs_in_insn): Make return earlier | |
4582 | if there are no operand changes. | |
4583 | * lra-constraints.c (curr_insn_set): New. | |
4584 | (match_reload): Set LRA_SUBREG_P. | |
4585 | (emit_spill_move): Ditto. | |
4586 | (check_and_process_move): Use curr_insn_set. Process only single | |
4587 | set insns. Don't initialize sec_mem_p and change_p. | |
4588 | (simplify_operand_subreg): Use LRA_SUBREG_P. | |
4589 | (reg_in_class_p): New function. | |
4590 | (process_alt_operands): Use it. Use #if HAVE_ATTR_enabled instead | |
4591 | of #ifdef. Add code to remove cycling. | |
4592 | (process_address): Check EXTRA_CONSTRAINT_STR. Process even if | |
4593 | non-null disp. Reload inner instead of disp when base and index | |
4594 | are null. Try to put lo_sum into register. | |
4595 | (EBB_PROBABILITY_CUTOFF): Redefine probability in percents. | |
4596 | (check_and_process_move): Move code for move cost check to | |
4597 | simple_move_p. Remove equiv_substitution. | |
4598 | (simple_move_p): New function. | |
4599 | (curr_insn_transform): Initialize sec_mem_p and change_p. Set up | |
4600 | curr_insn_set. Call check_and_process_move only for single set | |
4601 | insns. Use the new function. Move call of check_and_process_move | |
4602 | after operand equiv substitution and address process. | |
4603 | ||
e7d764f3 JJ |
4604 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
4605 | ||
4606 | PR go/57045 | |
4607 | * tree-ssa-uninit.c (compute_uninit_opnds_pos): In functions | |
4608 | with nonlocal goto receivers or returns twice calls, ignore | |
4609 | unininitialized values from abnormal edges to nl goto receiver | |
4610 | or returns twice call. | |
4611 | ||
41e10689 JJ |
4612 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
4613 | ||
4614 | PR tree-optimization/57051 | |
4615 | * fold-const.c (const_binop): Handle VEC_LSHIFT_EXPR | |
4616 | and VEC_RSHIFT_EXPR if shift count is a multiple of element | |
4617 | bitsize. | |
4618 | ||
d7ed20db RB |
4619 | 2013-04-26 Richard Biener <rguenther@suse.de> |
4620 | ||
4621 | * omp-low.c (finalize_task_copyfn): Do not drop PROP_loops. | |
4622 | (expand_omp_taskreg): Likewise. Mark loops for fixup. | |
4623 | * tree-cfg.c (move_block_to_fn): Remap loop fathers. | |
4624 | (fixup_loop_arrays_after_move): New function. | |
4625 | (move_sese_region_to_fn): Properly outline the loop tree parts | |
4626 | of the SESE region. | |
4627 | ||
df93505e UB |
4628 | 2013-04-26 Uros Bizjak <ubizjak@gmail.com> |
4629 | ||
4630 | * config/i386/i386.md (type, unit): Fix long lines. | |
4631 | ||
dd366ec3 RB |
4632 | 2013-04-26 Richard Biener <rguenther@suse.de> |
4633 | ||
4634 | * Makefile.in (lto-streamer-in.o): Add $(CFGLOOP_H) dependency. | |
4635 | (lto-streamer-out.o): Likewise. | |
4636 | * cfgloop.c (init_loops_structure): Export, add struct function | |
4637 | argument and adjust. | |
4638 | (flow_loops_find): Adjust. | |
4639 | * cfgloop.h (enum loop_estimation): Add EST_LAST. | |
4640 | (init_loops_structure): Declare. | |
4641 | * lto-streamer-in.c: Include cfgloop.h. | |
4642 | (input_cfg): Input the loop tree. | |
4643 | * lto-streamer-out.c: Include cfgloop.h. | |
4644 | (output_cfg): Output the loop tree. | |
4645 | (output_struct_function_base): Do not drop PROP_loops. | |
4646 | ||
a9e0d843 RB |
4647 | 2013-03-26 Richard Biener <rguenther@suse.de> |
4648 | ||
4649 | * tree-cfg.c (execute_build_cfg): Build the loop tree. | |
4650 | (pass_build_cfg): Provide PROP_loops. | |
4651 | (move_sese_region_to_fn): Remove loops that are outlined into fn | |
4652 | for now. | |
4653 | * tree-inline.c: Include cfgloop.h. | |
4654 | (initialize_cfun): Do not drop PROP_loops. | |
4655 | (copy_loops): New function. | |
4656 | (copy_cfg_body): Copy loop structure. | |
4657 | (tree_function_versioning): Initialize destination loop tree. | |
4658 | * tree-ssa-loop.c (pass_tree_loop_init): Do not provide PROP_loops. | |
4659 | (pass_parallelize_loops): Do IL verification. | |
4660 | * loop-init.c (loop_optimizer_init): Fixup loops if required. | |
4661 | * tree-optimize.c (execute_fixup_cfg): If we need to cleanup | |
4662 | the CFG make sure we fixup loops as well. | |
4663 | * tree-ssa-tail-merge.c: Include cfgloop.h. | |
4664 | (replace_block_by): When merging loop latches mark loops for fixup. | |
4665 | * lto-streamer-out.c (output_struct_function_base): Drop | |
4666 | PROP_loops for now. | |
4667 | * tree-ssa-phiopt.c: Include tree-scalar-evolution.h. | |
4668 | (tree_ssa_cs_elim): Initialize the loop optimizer and SCEV. | |
4669 | * ipa-split.c: Include cfgloop.h. | |
4670 | (split_function): Add the new return block to the loop tree root. | |
4671 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Return | |
4672 | whether we have removed the forwarder block. | |
4673 | (merge_phi_nodes): If we removed a forwarder mark loops for fixup. | |
4674 | * cfgloop.h (place_new_loop): Declare. | |
4675 | * cfgloopmanip.c (place_new_loop): Export. | |
4676 | * Makefile.in (asan.o): Add $(CFGLOOP_H) dependency. | |
4677 | (tree-switch-conversion.o): Likewise. | |
4678 | (tree-complex.o): Likewise. | |
4679 | (tree-inline.o): Likewise. | |
4680 | (tree-ssa-tailmerge.o): Likewise. | |
4681 | (ipa-split.o): Likewise. | |
4682 | (tree-ssa-phiopt.o): Add $(SCEV_H) dependency. | |
4683 | (tree-ssa-copy.o): Likewise. | |
4684 | * tree-switch-conversion.c: Include cfgloop.h | |
4685 | (process_switch): If we emit a bit-test cascade, schedule loops | |
4686 | for fixup. | |
4687 | * tree-complex.c: Include cfgloop.h. | |
4688 | (expand_complex_div_wide): Properly add new basic-blocks to loops. | |
4689 | * asan.c: Include cfgloop.h. | |
4690 | (create_cond_insert_point): Properly add new basic-blocks to | |
4691 | loops, schedule loop fixup. | |
4692 | * cfgloop.c (verify_loop_structure): Check that looks are not | |
4693 | marked for fixup. | |
4694 | * omp-low.c (expand_parallel_call): Properly add new basic-blocks | |
4695 | to loops. | |
4696 | (expand_omp_for_generic): Likewise. | |
4697 | (expand_omp_sections): Likewise. | |
4698 | (expand_omp_atomic_pipeline): Schedule loops for fixup. | |
4699 | * tree-ssa-copy.c: Include tree-scalar-evolution.h. | |
4700 | (fini_copy_prop): Disable DCE in substitute_and_fold if SCEV | |
4701 | is initialized, not when loops are present. | |
4702 | * tree-parloops.c (parallelize_loops): Remove checking here. | |
4703 | * passes.c (init_optimization_passes): Schedule a copy-propagation | |
4704 | pass before complete unrolling of inner loops. | |
4705 | ||
e78e8a0b JJ |
4706 | 2013-04-26 Jakub Jelinek <jakub@redhat.com> |
4707 | ||
a2e836b2 JJ |
4708 | * Makefile.in (toplev.o): Depend on diagnostic-color.h. |
4709 | * diagnostic-color.c (should_colorize): Remove _WIN32 version. | |
4710 | (colorize_init): Add argument to _WIN32 version. | |
4711 | * toplev.c: Include diagnostic-color.h. | |
4712 | (process_options): Default to -fdiagnostics-color=auto if | |
4713 | GCC_COLORS env var is in the environment. | |
4714 | * common.opt (fdiagnostics-color=): Add Var and Init. | |
df93505e UB |
4715 | * doc/invoke.texi (-fdiagnostics-color=): Document that if GCC_COLORS |
4716 | env var is in the environment, the default is auto rather than never. | |
a2e836b2 | 4717 | |
e78e8a0b JJ |
4718 | * diagnostic.h (file_name_as_prefix): Add context argument. |
4719 | * diagnostic.c (file_name_as_prefix): Likewise. Colorize | |
4720 | the string as locus. | |
4721 | * langhooks.c (lhd_print_error_function): Adjust caller. | |
4722 | ||
013e5ef9 LC |
4723 | 2013-04-25 Lawrence Crowl <crowl@google.com> |
4724 | ||
4725 | * var-tracking.c (shared_hash_def::htab): | |
4726 | Change type to hash_table. Update dependent calls and types. | |
4727 | ||
4a8fb1a1 LC |
4728 | 2013-04-25 Lawrence Crowl <crowl@google.com> |
4729 | ||
4730 | * Makefile.in: Update as needed below. | |
4731 | ||
4732 | * alloc-pool.c (static hash_table <alloc_pool_hasher> alloc_pool_hash): | |
4733 | Move declaration to after the type's method definitons. | |
4734 | ||
4735 | * attribs.c (htab_t scoped_attributes::attribute_hash): | |
4736 | Change type to hash_table. Update dependent calls and types. | |
4737 | ||
4738 | * bitmap.c (htab_t bitmap_desc_hash): | |
4739 | Change type to hash_table. Update dependent calls and types. | |
4740 | ||
4741 | * cselib.c (htab_t cselib_hash_table): | |
4742 | Change type to hash_table. Update dependent calls and types. | |
4743 | ||
4744 | * data-streamer.h (struct string_slot): Move to lto-streamer.h. | |
4745 | (hash_string_slot_node): Move implementation into lto-streamer.h | |
4746 | struct string_slot_hasher. | |
4747 | (eq_string_slot_node): Likewise. | |
4748 | ||
4749 | * data-streamer-out.c: Update output_block::string_hash_table | |
4750 | dependent calls and types. | |
4751 | ||
4752 | * dwarf2cfi.c (htab_t trace_index): | |
4753 | Change type to hash_table. Update dependent calls and types. | |
4754 | ||
4755 | * dwarf2out.c (htab_t break_out_includes::cu_hash_table): | |
4756 | Change type to hash_table. Update dependent calls and types. | |
4757 | (htab_t copy_decls_for_unworthy_types::decl_table): Likewise. | |
4758 | (htab_t optimize_external_refs::map): Likewise. | |
4759 | (htab_t output_comp_unit::extern_map): Likewise. | |
4760 | (htab_t output_comdat_type_unit::extern_map): Likewise. | |
4761 | (htab_t output_macinfo::macinfo_htab): Likewise. | |
4762 | (htab_t optimize_location_lists::htab): Likewise. | |
4763 | (htab_t dwarf2out_finish::comdat_type_table): Likewise. | |
4764 | ||
4765 | * except.c (htab_t ehspec_hash_type): | |
4766 | Change type to hash_table. Update dependent calls and types. | |
4767 | (assign_filter_values::ttypes): Likewise. | |
4768 | (assign_filter_values::ehspec): Likewise. | |
4769 | (sjlj_assign_call_site_values::ar_hash): Likewise. | |
4770 | (convert_to_eh_region_ranges::ar_hash): Likewise. | |
4771 | ||
4772 | * gcse.c (htab_t pre_ldst_table): | |
4773 | Change type to hash_table. Update dependent calls and types. | |
4774 | ||
4775 | * ggc-common.c (htab_t saving_htab): | |
4776 | Change type to hash_table. Update dependent calls and types. | |
4777 | (htab_t loc_hash): Likewise. | |
4778 | (htab_t ptr_hash): Likewise. | |
4779 | (call_count): Rename ggc_call_count. | |
4780 | (call_alloc): Rename ggc_call_alloc. | |
4781 | (loc_descriptor): Rename make_loc_descriptor. | |
4782 | (add_statistics): Rename ggc_add_statistics. | |
4783 | ||
4784 | * ggc-common.c (saving_htab): | |
4785 | Change type to hash_table. Update dependent calls and types. | |
4786 | ||
4787 | * gimple.h (struct gimplify_ctx): Move to gimplify-ctx.h. | |
4788 | (push_gimplify_context): Likewise. | |
4789 | (pop_gimplify_context): Likewise. | |
4790 | (struct gimple_temp_hash_elt): Added. | |
4791 | (struct gimplify_hasher): Likewise. | |
4792 | (struct gimplify_ctx.temp_htab): | |
4793 | Change type to hash_table. Update dependent calls and types. | |
4794 | ||
4795 | * gimple-fold.c: Include gimplify-ctx.h. | |
4796 | ||
4797 | * gimple-ssa-strength-reduction.c (htab_t base_cand_map): | |
4798 | Change type to hash_table. Update dependent calls and types. | |
4799 | (base_cand_dump_callback): Rename to ssa_base_cand_dump_callback to | |
4800 | avoid potential global name collision. | |
4801 | ||
4802 | * gimplify.c: Include gimplify-ctx.h. | |
4803 | (struct gimple_temp_hash_elt): Move to gimplify-ctx.h. | |
4804 | (htab_t gimplify_ctx::temp_htab): | |
4805 | Update dependent calls and types for new type hash_table. | |
4806 | (gimple_tree_hash): Move into gimplify_hasher in gimplify-ctx.h. | |
4807 | (gimple_tree_eq): Move into gimplify_hasher in gimplify-ctx.h. | |
4808 | ||
4809 | * gimplify-ctx.h: New. | |
4810 | (struct gimple_temp_hash_elt): Move from gimplify.c. | |
4811 | (class gimplify_hasher): New. | |
4812 | (struct gimplify_ctx): Move from gimple.h. | |
4813 | (htab_t gimplify_ctx::temp_htab): | |
4814 | Change type to hash_table. Update dependent calls and types. | |
4815 | ||
4816 | * graphite-clast-to-gimple.c: Include graphite-htab.h. | |
4817 | (htab_t ivs_params::newivs_index): | |
4818 | Change type to hash_table. Update dependent calls and types. | |
4819 | (htab_t ivs_params::params_index): Likewise. | |
4820 | (htab_t print_generated_program::params_index): Likewise. | |
4821 | (htab_t gloog::newivs_index): Likewise. | |
4822 | (htab_t gloog::params_index): Likewise. | |
4823 | ||
4824 | * graphite.c: Include graphite-htab.h. | |
4825 | 4htab_t graphite_transform_loops::bb_pbb_mapping): | |
4826 | Change type to hash_table. Update dependent calls and types. | |
4827 | ||
4828 | * graphite-clast-to-gimple.h: (extern gloog) Move to graphite-htab.h. | |
4829 | (bb_pbb_map_hash): Fold into bb_pbb_htab_type in graphite-htab.h. | |
4830 | (eq_bb_pbb_map): Fold into bb_pbb_htab_type in graphite-htab.h. | |
4831 | ||
4832 | * graphite-dependences.c: Include graphite-htab.h. | |
4833 | (loop_is_parallel_p): Change hash table type of parameter. | |
4834 | ||
4835 | * graphite-htab.h: New. | |
4836 | (typedef hash_table <bb_pbb_hasher> bb_pbb_htab_type): New. | |
4837 | (extern find_pbb_via_hash): Move from graphite-poly.h. | |
4838 | (extern loop_is_parallel_p): Move from graphite-poly.h. | |
4839 | (extern get_loop_body_pbbs): Move from graphite-poly.h. | |
4840 | ||
4841 | * graphite-poly.h (extern find_pbb_via_hash): Move to graphite-htab.h. | |
4842 | (extern loop_is_parallel_p): Move to graphite-htab.h. | |
4843 | (extern get_loop_body_pbbs): Move to graphite-htab.h. | |
4844 | ||
4845 | * haifa-sched.c (htab_t delay_htab): | |
4846 | Change type to hash_table. Update dependent calls and types. | |
4847 | (htab_t delay_htab_i2): Likewise. | |
4848 | ||
4849 | * ira-color.c (htab_t allocno_hard_regs_htab): | |
4850 | Change type to hash_table. Update dependent calls and types. | |
4851 | ||
4852 | * ira-costs.c (htab_t cost_classes_htab): | |
4853 | Change type to hash_table. Update dependent calls and types. | |
4854 | ||
4855 | * loop-invariant.c (htab_t merge_identical_invariants::eq): | |
4856 | Change type to hash_table. Update dependent calls and types. | |
4857 | ||
4858 | * loop-iv.c (htab_t bivs): | |
4859 | Change type to hash_table. Update dependent calls and types. | |
4860 | ||
4861 | * loop-unroll.c (htab_t opt_info::insns_to_split): | |
4862 | Change type to hash_table. Update dependent calls and types. | |
4863 | (htab_t opt_info::insns_with_var_to_expand): Likewise. | |
4864 | ||
4865 | * lto-streamer.h (struct string_slot): Move from data-streamer.h | |
4866 | (struct string_slot_hasher): New. | |
4867 | (htab_t output_block::string_hash_table): | |
4868 | Change type to hash_table. Update dependent calls and types. | |
4869 | ||
4870 | * lto-streamer-in.c (freeing_string_slot_hasher): New. | |
4871 | (htab_t file_name_hash_table): | |
4872 | Change type to hash_table. Update dependent calls and types. | |
4873 | ||
4874 | * lto-streamer-out.c: Update output_block::string_hash_table dependent | |
4875 | calls and types. | |
4876 | ||
4877 | * lto-streamer.c (htab_t tree_htab): | |
4878 | Change type to hash_table. Update dependent calls and types. | |
4879 | ||
4880 | * omp-low.c: Include gimplify-ctx.h. | |
4881 | ||
4882 | * passes.c (htab_t name_to_pass_map): | |
4883 | Change type to hash_table. Update dependent calls and types. | |
4884 | (pass_traverse): Rename to passes_pass_traverse. | |
4885 | ||
4886 | * plugin.c (htab_t event_tab): | |
4887 | Change type to hash_table. Update dependent calls and types. | |
4888 | ||
4889 | * postreload-gcse.c (htab_t expr_table): | |
4890 | Change type to hash_table. Update dependent calls and types. | |
4891 | (dump_hash_table_entry): Rename dump_expr_hash_table_entry. | |
4892 | ||
4893 | * sese.c (debug_rename_map_1): Make extern. | |
4894 | (htab_t copy_bb_and_scalar_dependences::rename_map): | |
4895 | Change type to hash_table. Update dependent calls and types. | |
4896 | ||
4897 | * sese.h (extern debug_rename_map): Move to .c file. | |
4898 | ||
4899 | * store-motion.c (htab_t store_motion_mems_table): | |
4900 | Change type to hash_table. Update dependent calls and types. | |
4901 | ||
4902 | * trans-mem.c (htab_t tm_new_mem_hash): | |
4903 | Change type to hash_table. Update dependent calls and types. | |
4904 | ||
4905 | * tree-browser.c (htab_t TB_up_ht): | |
4906 | Change type to hash_table. Update dependent calls and types. | |
4907 | ||
4908 | * tree-cfg.c (htab_t discriminator_per_locus): | |
4909 | Change type to hash_table. Update dependent calls and types. | |
4910 | ||
4911 | * tree-complex.c: Include tree-hasher.h | |
4912 | (htab_t complex_variable_components): | |
4913 | Change type to hash_table. Update dependent calls and types. | |
4914 | ||
4915 | * tree-eh.c (htab_t finally_tree): | |
4916 | Change type to hash_table. Update dependent calls and types. | |
4917 | ||
4918 | * tree-flow.h (extern int_tree_map_hash): Moved into tree-hasher | |
4919 | struct int_tree_hasher. | |
4920 | (extern int_tree_map_eq): Likewise. | |
4921 | (uid_decl_map_hash): Removed. | |
4922 | (extern decl_tree_map_eq): Likewise. | |
4923 | ||
4924 | * tree-hasher.h: New. | |
4925 | (struct int_tree_hasher): New. | |
4926 | (typedef int_tree_htab_type): New. | |
4927 | ||
4928 | * tree-inline.c: Include gimplify-ctx.h. | |
4929 | ||
4930 | * tree-mudflap.c: Include gimplify-ctx.h. | |
4931 | ||
4932 | * tree-parloops.c: Include tree-hasher.h. | |
4933 | (htab_t eliminate_local_variables_stmt::decl_address): | |
4934 | Change type to hash_table. Update dependent calls and types. | |
4935 | (htab_t separate_decls_in_region::decl_copies): Likewise. | |
4936 | ||
4937 | * tree-scalar-evolution.c (htab_t resolve_mixers::cache): | |
4938 | Change type to hash_table. Update dependent calls and types. | |
4939 | ||
4940 | * tree-sra.c (candidates): | |
4941 | Change type to hash_table. Update dependent calls and types. | |
4942 | ||
4943 | * tree-ssa.c (int_tree_map_eq): Moved into struct int_tree_hasher | |
4944 | in tree-flow.h. | |
4945 | (int_tree_map_hash): Likewise. | |
4946 | ||
4947 | * tree-ssa-dom.c (htab_t avail_exprs): | |
4948 | Change type to hash_table. Update dependent calls and types. | |
4949 | ||
4950 | * tree-ssa-live.c (var_map_base_init::tree_to_index): | |
4951 | Change type to hash_table. Update dependent calls and types. | |
4952 | ||
4953 | * tree-ssa-loop-ivopts.c (struct ivopts_data.inv_expr_tab): | |
4954 | Change type to hash_table. Update dependent calls and types. | |
4955 | ||
4956 | * tree-ssa-phiopt.c (seen_ssa_names): | |
4957 | Change type to hash_table. Update dependent calls and types. | |
4958 | ||
4959 | * tree-ssa-strlen.c (decl_to_stridxlist_htab): | |
4960 | Change type to hash_table. Update dependent calls and types. | |
4961 | ||
4962 | * tree-ssa-uncprop.c (equiv): | |
4963 | Change type to hash_table. Update dependent calls and types. | |
4964 | ||
c5a44004 JJ |
4965 | 2013-04-25 Jakub Jelinek <jakub@redhat.com> |
4966 | ||
4967 | PR rtl-optimization/57003 | |
4968 | * regcprop.c (copyprop_hardreg_forward_1): If ksvd.ignore_set_reg, | |
4969 | call note_stores with kill_clobbered_value callback again after | |
4970 | killing regs_invalidated_by_call. | |
4971 | ||
09962a4a JG |
4972 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
4973 | ||
4974 | * config/aarch64/aarch64-simd.md | |
4975 | (aarch64_simd_bsl<mode>_internal): Rewrite RTL to not use UNSPEC_BSL. | |
4976 | (aarch64_simd_bsl<mode>): Likewise. | |
4977 | * config/aarch64/iterators.md (unspec): Remove UNSPEC_BSL. | |
4978 | ||
ea28bb0b MP |
4979 | 2013-04-25 Marek Polacek <polacek@redhat.com> |
4980 | ||
4981 | PR tree-optimization/57066 | |
3c21604f | 4982 | * builtins.c (fold_builtin_logb): Return +Inf for -Inf. |
ea28bb0b | 4983 | |
96659611 JG |
4984 | 2013-04-25 James Greenhalgh <jame.greenhalgh@arm.com> |
4985 | ||
4986 | * config/aarch64/aarch64-simd.md (neg<mode>2): Use VDQ iterator. | |
4987 | ||
9697e620 JG |
4988 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
4989 | ||
4990 | * config/aarch64/aarch64-builtins.c | |
4991 | (aarch64_fold_builtin): New. | |
4992 | * config/aarch64/aarch64-protos.h (aarch64_fold_builtin): New. | |
4993 | * config/aarch64/aarch64.c (TARGET_FOLD_BUILTIN): Define. | |
4994 | * config/aarch64/aarch64-simd-builtins.def (abs): New. | |
4995 | * config/aarch64/arm_neon.h | |
4996 | (vabs<q>_<f32, 64>): Implement using __builtin_aarch64_fabs. | |
4997 | ||
0ac198d3 JG |
4998 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
4999 | Tejas Belagod <tejas.belagod@arm.com> | |
5000 | ||
5001 | * config/aarch64/aarch64-builtins.c | |
5002 | (aarch64_gimple_fold_builtin): New. | |
5003 | * config/aarch64/aarch64-protos.h (aarch64_gimple_fold_builtin): New. | |
5004 | * config/aarch64/aarch64-simd-builtins.def (addv): New. | |
5005 | * config/aarch64/aarch64-simd.md (addpv4sf): New. | |
5006 | (addvv4sf): Update. | |
5007 | * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Define. | |
5008 | ||
58cff58c N |
5009 | 2013-04-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
5010 | ||
df93505e | 5011 | * config/aarch64/aarch64.md |
58cff58c N |
5012 | (*cmp_swp_<optab><ALLX:mode>_shft_<GPI:mode>): New pattern. |
5013 | ||
7e0228bf N |
5014 | 2013-04-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
5015 | ||
5016 | * config/aarch64/aarch64.md (*ngc<mode>): New pattern. | |
5017 | (*ngcsi_uxtw): New pattern. | |
5018 | ||
5819f96f | 5019 | 2013-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3c21604f | 5020 | Julian Brown <julian@codesourcery.com> |
5819f96f KT |
5021 | |
5022 | * config/arm/arm.c (neon_builtin_type_mode): Add T_V4HF. | |
5023 | (TB_DREG): Add T_V4HF. | |
5024 | (v4hf_UP): New macro. | |
5025 | (neon_itype): Add NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. | |
df93505e | 5026 | (arm_init_neon_builtins): Handle NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. |
5819f96f KT |
5027 | Handle initialisation of V4HF. Adjust initialisation of reinterpret |
5028 | built-ins. | |
df93505e | 5029 | (arm_expand_neon_builtin): Handle NEON_FLOAT_WIDEN, NEON_FLOAT_NARROW. |
5819f96f KT |
5030 | (arm_vector_mode_supported_p): Handle V4HF. |
5031 | (arm_mangle_map): Handle V4HFmode. | |
5032 | * config/arm/arm.h (VALID_NEON_DREG_MODE): Add V4HF. | |
5033 | * config/arm/arm_neon_builtins.def: Add entries for | |
5034 | vcvtv4hfv4sf, vcvtv4sfv4hf. | |
5035 | * config/arm/neon.md (neon_vcvtv4sfv4hf): New pattern. | |
5036 | (neon_vcvtv4hfv4sf): Likewise. | |
5037 | * config/arm/neon-gen.ml: Handle half-precision floating point | |
5038 | features. | |
5039 | * config/arm/neon-testgen.ml: Handle Requires_FP_bit feature. | |
5040 | * config/arm/arm_neon.h: Regenerate. | |
5041 | * config/arm/neon.ml (type elts): Add F16. | |
5042 | (type vectype): Add T_float16x4, T_floatHF. | |
5043 | (type vecmode): Add V4HF. | |
5044 | (type features): Add Requires_FP_bit feature. | |
5045 | (elt_width): Handle F16. | |
5046 | (elt_class): Likewise. | |
5047 | (elt_of_class_width): Likewise. | |
5048 | (mode_of_elt): Refactor. | |
5049 | (type_for_elt): Handle F16, fix error messages. | |
5050 | (vectype_size): Handle T_float16x4. | |
5051 | (vcvt_sh): New function. | |
5052 | (ops): Add entries for vcvt_f16_f32, vcvt_f32_f16. | |
5053 | (string_of_vectype): Handle T_floatHF, T_float16, T_float16x4. | |
5054 | (string_of_mode): Handle V4HF. | |
5055 | * doc/arm-neon-intrinsics.texi: Regenerate. | |
5056 | ||
1ef395e4 JG |
5057 | 2013-04-25 James Greenhalgh <james.greenhalgh@arm.com> |
5058 | ||
5059 | * config/aarch64/aarch64.c (aarch64_print_operand): Fix asm_fprintf | |
5060 | format specifier in 'X' case. | |
5061 | ||
41c34e94 AM |
5062 | 2013-04-25 Alan Modra <amodra@gmail.com> |
5063 | ||
5064 | PR target/57052 | |
5065 | * config/rs6000/rs6000.md (rotlsi3_internal7): Rename to | |
5066 | rotlsi3_internal7le and condition on !BYTES_BIG_ENDIAN. | |
5067 | (rotlsi3_internal8be): New BYTES_BIG_ENDIAN insn. | |
5068 | Repeat for many other rotate/shift and mask patterns using subregs. | |
5069 | Name lshiftrt insns. | |
5070 | (ashrdisi3_noppc64): Rename to ashrdisi3_noppc64be and condition | |
5071 | on WORDS_BIG_ENDIAN. | |
5072 | ||
b9a7eb5d AM |
5073 | 2013-04-25 Alan Modra <amodra@gmail.com> |
5074 | ||
5075 | * config.gcc: Support little-endian powerpc-linux targets. | |
5076 | * config/rs6000/linux.h (LINK_OS_LINUX_EMUL): Define. | |
5077 | (LINK_OS_LINUX_SPEC): Define. | |
5078 | * config/rs6000/linuxspe.h (TARGET_DEFAULT): | |
5079 | Preserve MASK_LITTLE_ENDIAN. | |
5080 | * config/rs6000/default64.h (TARGET_DEFAULT): Likewise. | |
5081 | * config/rs6000/linuxaltivec.h (TARGET_DEFAULT): Likewise. | |
5082 | * config/rs6000/linux64.h (OPTION_LITTLE_ENDIAN): Don't zero. | |
5083 | (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Define. | |
5084 | (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Use above. | |
5085 | * config/rs6000/rs6000.c (output_toc): Don't use .tc for TARGET_ELF. | |
5086 | Correct fp word order for little-endian. Don't shift toc entries | |
5087 | smaller than a word for little-endian. | |
5088 | * config/rs6000/rs6000.md (bswaphi2, bswapsi2 split): Comment. | |
5089 | (bswapdi2 splits): Correct low-part subreg for little-endian. | |
5090 | Remove wrong BYTES_BIG_ENDIAN tests, and rename vars to remove | |
5091 | low/high where such is correct only for be. | |
5092 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Allow | |
5093 | little-endian for -mcall-aixdesc. | |
5094 | ||
87f73374 AM |
5095 | 2013-04-25 Alan Modra <amodra@gmail.com> |
5096 | ||
5097 | * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use | |
5098 | replace_equiv_address_nv. | |
5099 | ||
cabf91cd AM |
5100 | 2013-04-25 Alan Modra <amodra@gmail.com> |
5101 | ||
5102 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Tidy. | |
5103 | ||
0ae24cc8 VM |
5104 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
5105 | ||
5106 | Revert: | |
5107 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> | |
5108 | * rtl.h (struct rtx_def): ... | |
cabf91cd | 5109 | |
77bce07c VM |
5110 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
5111 | ||
5112 | PR rtl-optimizations/57046 | |
5113 | * lra-constraints (split_reg): Set up lra_risky_transformations_p | |
5114 | for multi-reg splits. | |
5115 | ||
0db63e7f L |
5116 | 2013-04-24 H.J. Lu <hongjiu.lu@intel.com> |
5117 | ||
5118 | * config/i386/x86-64.h (ASM_SPEC): Support -mx32. | |
5119 | ||
3362b6b6 SA |
5120 | 2013-04-24 Sterling Augustine <saugustine@google.com> |
5121 | ||
5122 | * dwarf2out.c (skeleton_debug_str_hash, add_skeleton_AT_string) | |
5123 | (comp_dir_string, debug_str_dwo_section): New. | |
5124 | (DEBUG_STR_DWO_SECTION): Rename to ... | |
5125 | (DEBUG_DWO_STR_SECTION): ... this. | |
5126 | (DEBUG_NORM_STR_SECTION): Delete. | |
5127 | (DEBUG_STR_SECTION, DEBUG_STR_SECTION_FLAGS): Edit definitions. | |
5128 | (DEBUG_STR_DWO_SECTION_FLAGS): New. | |
5129 | (find_AT_string): Move most logic to ... | |
5130 | (find_AT_string_in_table): ... here. New. | |
5131 | (add_top_level_skeleton_die_attrs): Call comp_dir_string and | |
5132 | add_skeleton_AT_string. Delete logic. | |
5133 | (output_skeleton_debug_sections): Remove call to | |
5134 | add_top_level_skeleton_die_attrs. | |
5135 | (add_comp_dir_attribute): Move logic to comp_dir_string. | |
5136 | (dwarf2out_init): Initialize debug_str_dwo_section. | |
5137 | (output_indirect_string): Call find_string_form. | |
5138 | (output_indirect_strings): Rewrite. | |
5139 | (prune_unused_types): Empty skeleton_debug_str_hash. | |
5140 | Call get_skeleton_type_unit and add_top_level_skeleton_die_attrs. | |
5141 | (dwarf2out_finish): Call output_indirect_strings. | |
5142 | ||
e93e18e9 PC |
5143 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
5144 | ||
5145 | * doc/cpp.texi: Remove __GXX_EXPERIMENTAL_CXX1Y__. | |
5146 | ||
f6ce35ac VM |
5147 | 2013-04-24 Vladimir Makarov <vmakarov@redhat.com> |
5148 | ||
cabf91cd | 5149 | * rtl.h (struct rtx_def): Add comment for field jump. |
f6ce35ac VM |
5150 | (LRA_SUBREG_P): New macro. |
5151 | * recog.c (register_operand): Check LRA_SUBREG_P. | |
5152 | * lra.c (lra): Add note at the end of RTL code. Align non-empty | |
5153 | stack frame. | |
5154 | * lra-spills.c (lra_spill): Align stack after spilling pseudos. | |
5155 | (lra_final_code_change): Skip subreg change for operators. | |
5156 | * lra-eliminations.c (eliminate_regs_in_insn): Make return earlier | |
5157 | if there are no operand changes. | |
5158 | * lra-constraints.c (curr_insn_set): New. | |
5159 | (match_reload): Set LRA_SUBREG_P. | |
5160 | (emit_spill_move): Ditto. | |
5161 | (check_and_process_move): Use curr_insn_set. Process only single | |
5162 | set insns. Don't initialize sec_mem_p and change_p. | |
5163 | (simplify_operand_subreg): Use LRA_SUBREG_P. | |
5164 | (reg_in_class_p): New function. | |
5165 | (process_alt_operands): Use it. Use #if HAVE_ATTR_enabled instead | |
5166 | of #ifdef. Add code to remove cycling. | |
5167 | (process_address): Check EXTRA_CONSTRAINT_STR. Process even if | |
5168 | non-null disp. Reload inner instead of disp when base and index | |
5169 | are null. Try to put lo_sum into register. | |
5170 | (EBB_PROBABILITY_CUTOFF): Redefine probability in percents. | |
cabf91cd | 5171 | (check_and_process_move): Move code for move cost check to |
f6ce35ac | 5172 | simple_move_p. Remove equiv_substitution. |
cabf91cd | 5173 | (simple_move_p): New function. |
f6ce35ac VM |
5174 | (curr_insn_transform): Initialize sec_mem_p and change_p. Set up |
5175 | curr_insn_set. Call check_and_process_move only for single set | |
5176 | insns. Use the new function. Move call of check_and_process_move | |
5177 | after operand equiv substitution and address process. | |
5178 | ||
38047d90 JG |
5179 | 2013-04-24 James Greenhalgh <james.greenhalgh@arm.com> |
5180 | ||
5181 | * config/aarch64/arm_neon.h (vld1<q>_lane*): Fix constraints. | |
5182 | (vld1<q>_dup_<sufp><8, 16, 32, 64>): Likewise. | |
5183 | (vld1<q>_<sufp><8, 16, 32, 64>): Likewise. | |
5184 | ||
13f39b2e PC |
5185 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
5186 | ||
5187 | * doc/cpp.texi: Document __GXX_EXPERIMENTAL_CXX1Y__. | |
5188 | ||
97c116dc MP |
5189 | 2013-04-24 Marek Polacek <polacek@redhat.com> |
5190 | ||
5191 | * tree-scalar-evolution.h (analyze_scalar_evolution): Remove. | |
5192 | * tree-scalar-evolution.c (get_exit_conditions_rec): Likewise. | |
5193 | (select_loops_exit_conditions): Likewise. | |
5194 | (number_of_iterations_for_all_loops): Likewise. | |
5195 | (analyze_scalar_evolution_for_all_loop_phi_nodes): Likewise. | |
5196 | (scev_analysis): Likewise. | |
5197 | ||
83082391 CM |
5198 | 2013-04-02 Catherine Moore <clm@codesourcery.com> |
5199 | Chao-ying Fu <fu@mips.com> | |
5200 | ||
cabf91cd AM |
5201 | * config/mips/micromips.md (jraddiusp): New pattern. |
5202 | * config/mips/mips.c (mips_expand_epilogue): Use the JRADDIUSP | |
5203 | instruction if possible. | |
83082391 | 5204 | |
19e34aa2 AM |
5205 | 2013-04-24 Alan Modra <amodra@gmail.com> |
5206 | ||
5207 | * config/rs6000/driver-rs6000.c (elf_dcachebsize): Fix comment pasto. | |
5208 | ||
fdb6603c JB |
5209 | 2013-04-24 Julian Brown <julian@codesourcery.com> |
5210 | Chung-Lin Tang <cltang@codesourcery.com> | |
5211 | ||
5212 | * dwarf2out.c (gen_enumeration_type_die): Fix HOST_BITS_PER_WIDE_INT | |
df93505e UB |
5213 | dependency behavior in enumeration type DIE generation. Add TODO note |
5214 | to comments about future DW_FORM_sdata/udata re-work of related code. | |
fdb6603c | 5215 | |
bf190e8d LC |
5216 | 2013-04-23 Lawrence Crowl <crowl@google.com> |
5217 | ||
5218 | * Makefile.in: Update as needed below. | |
5219 | ||
5220 | * hash-table.h (class hash_table): | |
5221 | Correct many methods with parameter types compare_type to the correct | |
5222 | value_type. (Correct code was unlikely to notice the change.) | |
5223 | (hash_table::elements_with_deleted) New. | |
5224 | (class hashtable::iterator): New. | |
5225 | (hashtable::begin()): New. | |
5226 | (hashtable::end()): New. | |
5227 | (FOR_EACH_HASH_TABLE_ELEMENT): New. | |
5228 | ||
5229 | * statistics.c (statistics_hashes): | |
5230 | Change type to hash_table. Update dependent calls and types. | |
5231 | ||
5232 | * tree-into-ssa.c (var_infos): | |
5233 | Change type to hash_table. Update dependent calls and types. | |
5234 | ||
5235 | * tree-ssa-coalesce.c (struct coalesce_list_d.list): | |
5236 | Change type to hash_table. Update dependent calls and types. | |
5237 | ||
5238 | * tree-ssa-loop-im.c (struct mem_ref.refs): | |
5239 | Change type to hash_table. Update dependent calls and types. | |
5240 | ||
5241 | * tree-ssa-reassoc.c (undistribute_ops_list::ctable): | |
5242 | Change type to hash_table. Update dependent calls and types. | |
5243 | ||
5244 | * tree-ssa-sccvn.c (vn_tables_s::nary): | |
5245 | Change type to hash_table. Update dependent calls and types. | |
5246 | (vn_tables_s::phis): Likewise. | |
5247 | (vn_tables_s::references): Likewise. | |
5248 | ||
5249 | * tree-ssa-sccvn.h (vn_nary_op_eq): Update parameter and return types. | |
5250 | (vn_reference_eq): Update parameter and return types. | |
5251 | ||
5252 | * tree-ssa-structalias.c (pointer_equiv_class_table): | |
5253 | Change type to hash_table. Update dependent calls and types. | |
5254 | (location_equiv_class_table): Likewise. | |
5255 | ||
5256 | * tree-vect-data-refs.c: Consequential changes for making | |
5257 | peeling a hash_table. | |
5258 | ||
5259 | * tree-vect-loop.c (new_loop_vec_info): Dependent hash_table update. | |
5260 | (destroy_loop_vec_info): Dependent hash_table update. | |
5261 | ||
5262 | * tree-vectorizer.h (peeling_htab): | |
5263 | Change type to hash_table. Update dependent calls and types. | |
5264 | ||
d70a81dd SC |
5265 | 2013-04-23 Shiva Chen <shiva0217@gmail.com> |
5266 | ||
cabf91cd AM |
5267 | * lra-assigns.c (find_hard_regno_for): Use lra_reg_val_equal_p |
5268 | to check the register content is equal or not. | |
5269 | * lra-constraints.c (match_reload): Use lra_assign_reg_val | |
5270 | to assign register content record. | |
5271 | * lra-eliminations.c (update_reg_eliminate): Use | |
d70a81dd | 5272 | lra_update_reg_val_offset to update register content offset. |
cabf91cd AM |
5273 | * lra-int.h (struct lra_reg): Add offset member. |
5274 | (lra_reg_val_equal_p): New static inline function. | |
5275 | (lra_update_reg_val_offset): New static inline function. | |
5276 | (lra_assign_reg_val): New static inline function. | |
5277 | * lra.c (lra_create_new_reg): Use lra_assign_reg_val | |
5278 | to assign register content record. | |
5279 | (initialize_lra_reg_info_element): Initial offset to zero. | |
d70a81dd | 5280 | |
b894a1f3 CM |
5281 | 2013-04-23 Catherine Moore <clm@codesourcery.com> |
5282 | ||
5283 | * config/mips/mips.md (*movhi_internal, *movqi_internal): New | |
5284 | operands. Record compression. | |
5285 | ||
ecd14de9 XDL |
5286 | 2013-04-23 Xinliang David Li <davidxl@google.com> |
5287 | ||
5288 | * cfghhooks.c (dump_bb_for_graph): Support 'slim' graph dump. | |
5289 | ||
92e776e9 RB |
5290 | 2013-04-23 Richard Biener <rguenther@suse.de> |
5291 | ||
5292 | PR middle-end/57036 | |
5293 | * tree-inline.c (copy_edges_for_bb): Add can_make_abnormal_goto | |
5294 | parameter, only add abnormal goto edges from the copied body | |
5295 | if the call could perform abnormal gotos. | |
5296 | (copy_cfg_body): Adjust. | |
5297 | ||
a15ee567 SN |
5298 | 2013-04-23 Sofiane Naci <sofiane.naci@arm.com> |
5299 | ||
5300 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add simd attribute. | |
5301 | ||
08c52234 AS |
5302 | 2013-04-23 Andreas Schwab <schwab@linux-m68k.org> |
5303 | ||
5304 | * coretypes.h (gimple_stmt_iterator): Add struct to make | |
5305 | compatible with C. | |
5306 | ||
999c1171 RB |
5307 | 2013-04-23 Richard Biener <rguenther@suse.de> |
5308 | ||
5309 | PR tree-optimization/57026 | |
5310 | * tree-vrp.c (simplify_conversion_using_ranges): Do not propagate | |
5311 | from SSA names occuring in abnormal PHI nodes. | |
5312 | ||
53669259 AK |
5313 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
5314 | ||
5315 | * lto/lto.c (print_lto_report_1): Fix LTO report names. | |
5316 | ||
1a0ad150 AK |
5317 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
5318 | ||
5319 | * lto/lto.c (print_lto_report_1): Declare early. | |
5320 | (read_cgraph_and_symbols): Call print_lto_report_1 early. | |
5321 | ||
057f8f20 AK |
5322 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
5323 | ||
5324 | * common.opt (-flto-report-wpa): Add. | |
5325 | * doc/invoke.texi (-flto-report-wpa): Add. | |
5326 | * lto/lto.c (do_whole_program_analysis): Check for lto-report-wpa. | |
5327 | (lto_main): dito. | |
5328 | ||
473b1e05 XDL |
5329 | 2013-04-22 Xinliang David Li <davidxl@google.com> |
5330 | ||
5331 | * graph.c (draw_cfg_node_succ_edges): Add branch probility as label. | |
5332 | * cfghhooks.c (dump_bb_for_graph): Dump profile count and frquency. | |
5333 | * Makefile.in: New dependency | |
5334 | ||
cabf91cd | 5335 | David Daney <ddaney.cavm@gmail.com> |
b1485a33 | 5336 | |
cabf91cd AM |
5337 | * configure.ac (gcc_cv_as_micromips_support): Use the |
5338 | --fatal-warnings option. | |
5339 | * configure: Regenerate. | |
b1485a33 | 5340 | |
829d0168 MP |
5341 | 2013-04-22 Marek Polacek <polacek@redhat.com> |
5342 | ||
5343 | PR sanitizer/56990 | |
5344 | * tsan.c (instrument_expr): Don't instrument expression | |
5345 | in case its size is zero. | |
5346 | ||
6d9b7208 UB |
5347 | 2013-04-22 Uros Bizjak <ubizjak@gmail.com> |
5348 | ||
5349 | PR target/57032 | |
5350 | Revert: | |
5351 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> | |
5352 | ||
5353 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
5354 | ||
ea679d55 JG |
5355 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
5356 | ||
5357 | * coretypes.h (gimple_stmt_iterator_d): Forward declare. | |
5358 | (gimple_stmt_iterator): New typedef. | |
5359 | * gimple.h (gimple_stmt_iterator): Rename to... | |
5360 | (gimple_stmt_iterator_d): ... This. | |
5361 | * doc/tm.texi.in (TARGET_FOLD_BUILTIN): Detail restriction that | |
5362 | trees be valid for GIMPLE and GENERIC. | |
5363 | (TARGET_GIMPLE_FOLD_BUILTIN): New. | |
5364 | * gimple-fold.c (gimple_fold_call): Call target hook | |
5365 | gimple_fold_builtin. | |
5366 | * hooks.c (hook_bool_gsiptr_false): New. | |
5367 | * hooks.h (hook_bool_gsiptr_false): New. | |
5368 | * target.def (fold_stmt): New. | |
5369 | * doc/tm.texi: Regenerate. | |
5370 | ||
88a581da VM |
5371 | 2013-04-22 Vladimir Makarov <vmakarov@redhat.com> |
5372 | ||
5373 | PR target/57018 | |
5374 | * lra-eliminations.c (mark_not_eliminable): Prevent elimination of | |
5375 | a set sp if no stack realignment. | |
5376 | ||
92be22dc NC |
5377 | 2013-04-22 Nick Clifton <nickc@redhat.com> |
5378 | ||
5379 | * config.gcc (tilegx-linux): Extend extra_objs rather than | |
5380 | overwriting it. | |
5381 | (tilepro-linux): Likewise. | |
5382 | ||
0ddec79f JG |
5383 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
5384 | ||
5385 | * config/aarch64/aarch64-builtins.c | |
5386 | (CF): Remove. | |
5387 | (CF0, CF1, CF2, CF3, CF4, CF10): New. | |
5388 | (VAR<1-12>): Add MAP parameter. | |
5389 | (BUILTIN_*): Likewise. | |
5390 | * config/aarch64/aarch64-simd-builtins.def: Set MAP parameter. | |
5391 | * config/aarch64/aarch64-simd.md (aarch64_sshl_n<mode>): Remove. | |
5392 | (aarch64_ushl_n<mode>): Likewise. | |
5393 | (aarch64_sshr_n<mode>): Likewise. | |
5394 | (aarch64_ushr_n<mode>): Likewise. | |
5395 | (aarch64_<maxmin><mode>): Likewise. | |
5396 | (aarch64_sqrt<mode>): Likewise. | |
5397 | * config/aarch64/arm_neon.h (vshl<q>_n_*): Use new builtin names. | |
5398 | (vshr<q>_n_*): Likewise. | |
5399 | ||
0050faf8 JG |
5400 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
5401 | ||
5402 | * config/aarch64/aarch64-builtins.c | |
5403 | (aarch64_simd_builtin_type_mode): Handle SF types. | |
5404 | (sf_UP): Define. | |
5405 | (BUILTIN_GPF): Define. | |
5406 | (aarch64_init_simd_builtins): Handle SF types. | |
5407 | * config/aarch64/aarch64-simd-builtins.def (frecpe): Add support. | |
5408 | (frecps): Likewise. | |
5409 | (frecpx): Likewise. | |
5410 | * config/aarch64/aarch64-simd.md | |
5411 | (simd_types): Update simd_frcp<esx> to simd_frecp<esx>. | |
5412 | (aarch64_frecpe<mode>): New. | |
5413 | (aarch64_frecps<mode>): Likewise. | |
5414 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_FRECP<ESX>. | |
5415 | (v8type): Add frecp<esx>. | |
5416 | (aarch64_frecp<FRECP:frecp_suffix><mode>): New. | |
5417 | (aarch64_frecps<mode>): Likewise. | |
5418 | * config/aarch64/iterators.md (FRECP): New. | |
5419 | (frecp_suffix): Likewise. | |
5420 | * config/aarch64/arm_neon.h | |
5421 | (vrecp<esx><qsd>_<fd><32, 64>): Convert to using builtins. | |
5422 | ||
0fad3dbc | 5423 | 2013-04-22 Christian Bruel <christian.bruel@st.com> |
1818d01c CB |
5424 | |
5425 | PR target/56995 | |
5426 | * config/sh/sh.h (enum reg_class): Remove DF_HI_REGS. | |
5427 | (REG_CLASS_NAMES): Idem. | |
5428 | (REG_CLASS_CONTENTS): Idem. | |
5429 | (REGCLASS_HAS_FP_REG): Idem. | |
5430 | * config/sh/sh.c (sh_cannot_change_mode_class): Idem. | |
5431 | (sh_conditional_register_usage): Idem. | |
5432 | ||
3e8a33f9 JL |
5433 | 2013-04-21 Jeff Law <law@redhat.com> |
5434 | ||
5435 | * tree-ssa-forwprop.c (simplify_conversion_from_bitmask): New function. | |
5436 | (ssa_forward_propagate_and_combine): Use it. | |
5437 | ||
f38e1b0a VM |
5438 | 2013-04-19 Vladimir Makarov <vmakarov@redhat.com> |
5439 | ||
5440 | * lra.c: Update the flow chart diagram. | |
5441 | ||
682303da VM |
5442 | 2013-04-19 Vladimir Makarov <vmakarov@redhat.com> |
5443 | ||
5444 | PR rtl-optimization/56847 | |
5445 | * lra-constraints.c (process_alt_operands): Discourage alternative | |
5446 | with non-matche doffsettable memory constraint fro memory with | |
5447 | known offset. | |
5448 | ||
f6b64c35 RB |
5449 | 2013-04-19 Richard Biener <rguenther@suse.de> |
5450 | ||
5451 | PR tree-optimization/56982 | |
5452 | * builtins.def (BUILT_IN_LONGJMP): longjmp is not a leaf | |
5453 | function. | |
5454 | * gimplify.c (gimplify_call_expr): Notice special calls. | |
5455 | (gimplify_modify_expr): Likewise. | |
5456 | * tree-cfg.c (make_abnormal_goto_edges): Handle setjmp-like | |
5457 | abnormal control flow receivers. | |
5458 | (call_can_make_abnormal_goto): Handle cfun->calls_setjmp | |
5459 | in the same way as cfun->has_nonlocal_labels. | |
5460 | (gimple_purge_dead_abnormal_call_edges): Likewise. | |
5461 | (stmt_starts_bb_p): Make setjmp-like abnormal control flow | |
5462 | receivers start a basic-block. | |
5463 | ||
01d8bf07 RB |
5464 | 2013-04-19 Richard Biener <rguenther@suse.de> |
5465 | ||
5466 | * tree-vectorizer.h (struct _slp_instance): Move load_permutation | |
5467 | member ... | |
5468 | (struct _slp_tree): ... here. Make it a vector of unsigned ints. | |
5469 | (SLP_INSTANCE_LOAD_PERMUTATION): Remove. | |
5470 | (SLP_TREE_LOAD_PERMUTATION): Add. | |
5471 | (vect_transform_slp_perm_load): Adjust prototype. | |
5472 | * tree-vect-slp.c (vect_free_slp_tree): Adjust. | |
5473 | (vect_free_slp_instance): Likewise. | |
5474 | (vect_create_new_slp_node): Likewise. | |
5475 | (vect_supported_slp_permutation_p): Remove. | |
5476 | (vect_slp_rearrange_stmts): Adjust. | |
5477 | (vect_supported_load_permutation_p): Likewise. Inline | |
5478 | vect_supported_slp_permutation_p here. | |
5479 | (vect_analyze_slp_instance): Compute load permutations per | |
5480 | slp node instead of per instance. | |
5481 | (vect_get_slp_defs): Adjust. | |
5482 | (vect_transform_slp_perm_load): Likewise. | |
5483 | (vect_schedule_slp_instance): Remove redundant code. | |
5484 | (vect_schedule_slp): Remove hack for PR56270, add it ... | |
5485 | * tree-vect-stmts.c (vectorizable_load): ... here, do not | |
5486 | CSE loads for SLP. Adjust. | |
5487 | ||
ede22fc3 GY |
5488 | 2013-04-19 Greta Yorsh <Greta.Yorsh@arm.com> |
5489 | ||
5490 | * config/arm/arm.c (load_multiple_sequence, ldm_stm_operation_p): Fix | |
5491 | spelling in two comments. | |
5492 | ||
67bc84fb GY |
5493 | 2013-04-19 Greta Yorsh <Greta.Yorsh@arm.com> |
5494 | ||
5495 | PR target/56797 | |
5496 | * config/arm/arm.c (load_multiple_sequence): Require SP | |
5497 | as base register for loads if SP is in the register list. | |
5498 | ||
e248d83f MJ |
5499 | 2013-04-19 Martin Jambor <mjambor@suse.cz> |
5500 | ||
5501 | PR tree-optimization/56718 | |
5502 | * ipa-cp.c (ipa_value_from_known_type_jfunc): Moved... | |
5503 | * ipa-prop.c (ipa_binfo_from_known_type_jfunc): ...here, renamed | |
5504 | and made public. Adjusted all callers. | |
5505 | (ipa_intraprocedural_devirtualization): New function. | |
5506 | * ipa-prop.h (ipa_binfo_from_known_type_jfunc): Declare. | |
5507 | (ipa_intraprocedural_devirtualization): Likewise. | |
5508 | * Makefile.in (tree-ssa-pre.o): Add ipa-prop.h to dependencies. | |
5509 | ||
4891e8f8 RB |
5510 | 2013-04-19 Richard Biener <rguenther@suse.de> |
5511 | ||
5512 | PR tree-optimization/57000 | |
5513 | * tree-ssa-reassoc.c (pass_reassoc): Add TODO_update_ssa_only_virtuals. | |
5514 | ||
dad89f7c TG |
5515 | 2013-04-19 Terry Guo <terry.guo@arm.com> |
5516 | ||
5517 | * config/arm/cortex-m4-fpu.md (cortex_m4_v): Delete cpu unit. | |
5518 | Replace with ... | |
5519 | (cortex_m4_v_a, cortex_m4_v_b): ... new cpu units. | |
5520 | (cortex_m4_v, cortex_m4_exa_va, cortex_m4_exb_vb): New reservations. | |
5521 | (cortex_m4_fmacs): Use new reservations. | |
5522 | (cortex_m4_f_load, cortex_m4_f_store): Likewise. | |
5523 | ||
72ea0d47 VM |
5524 | 2013-04-18 Vladimir Makarov <vmakarov@redhat.com> |
5525 | ||
f1e6512c | 5526 | PR rtl-optimization/56999 |
72ea0d47 VM |
5527 | * lra-coalesce.c (coalescable_pseudo_p): Remove 2nd parameter and |
5528 | related code. | |
5529 | (lra_coalesce): Remove split_origin_bitmap and related code. | |
5530 | * lra.c (lra): Coalesce after undoing inheritance. Recreate live | |
5531 | ranges if necessary. | |
5532 | ||
780a5b71 UB |
5533 | 2013-04-18 Uros Bizjak <ubizjak@gmail.com> |
5534 | ||
5535 | * config/i386/i386.c (x86_64_ms_sysv_extra_clobbered_registers): | |
5536 | New array. | |
5537 | (ix86_expand_call): Remove clobbered_registers array and use | |
5538 | x86_64_ms_sysv_extra_clobbered_registers instead. | |
5539 | * config/i386/i386.h (x86_64_ms_sysv_extra_clobbered_registers): | |
5540 | Declare here. | |
5541 | * config/i386/predicates.md (call_rex64_ms_sysv_operation): New | |
5542 | predicate. | |
5543 | * config/i386/i386.md (*call_rex64_ms_sysv): Use | |
5544 | call_rex64_ms_sysv_operation predicate. Remove explicit clobbers. | |
5545 | (*call_value_rex64_ms_sysv): Ditto. | |
5546 | ||
6f5a366a CC |
5547 | 2013-04-18 Cary Coutant <ccoutant@google.com> |
5548 | ||
5549 | * dwarf2out.c (output_pubnames): Check die_perennial_p of | |
5550 | parent instead of die_mark. | |
5551 | ||
475b8f37 DN |
5552 | 2013-04-18 Diego Novillo <dnovillo@google.com> |
5553 | ||
5554 | * gimple.c (create_gimple_tmp): New. | |
5555 | (get_expr_type): New. | |
5556 | (build_assign): New. | |
5557 | (build_type_cast): New. | |
5558 | * gimple.h (enum ssa_mode): Define. | |
5559 | (gimple_seq_set_location): New. | |
5560 | * asan.c (build_check_stmt): Change some gimple_build_* calls | |
780a5b71 | 5561 | to use build_assign and build_type_cast. |
475b8f37 | 5562 | |
08940f33 RB |
5563 | 2013-04-18 Richard Biener <rguenther@suse.de> |
5564 | ||
5565 | * tree-vect-data-refs.c (vect_analyze_group_access): Properly | |
5566 | handle negative step. Remove redundant checks. | |
5567 | (vect_create_data_ref_ptr): Avoid ICEs with non-constant steps. | |
5568 | * tree-vect-stmts.c (vectorizable_load): Instead of asserting | |
5569 | for negative step and grouped loads fail to vectorize. | |
5570 | ||
0e0f87d4 SB |
5571 | 2013-04-18 Steven Bosscher <steven@gcc.gnu.org> |
5572 | ||
5573 | * emit-rtl.c (reset_insn_used_flags): New function. | |
5574 | (reset_all_used_flags): Use it. | |
5575 | (verify_insn_sharing): New function. | |
5576 | (verify_rtl_sharing): Fix verification for SEQUENCEs. | |
5577 | ||
4c445590 JJ |
5578 | 2013-04-18 Jakub Jelinek <jakub@redhat.com> |
5579 | ||
5580 | PR tree-optimization/56984 | |
5581 | * tree-vrp.c (register_edge_assert_for_2): For (x >> M) < N | |
5582 | and (x >> M) >= N don't register any assertion if N << M is the | |
5583 | minimum value. | |
5584 | ||
6873ecab SB |
5585 | 2013-04-18 Steven Bosscher <steven@gcc.gnu.org> |
5586 | ||
5587 | * lower-subreg.c (resolve_simple_move): If called self-recursive, | |
5588 | do not delete_insn insns that have not yet been emitted, only | |
5589 | unlink them with remove_insn. | |
5590 | * df-scan.c (df_insn_delete): Revert r197492. | |
5591 | ||
3ccb989e SB |
5592 | 2013-04-17 Steven Bosscher <steven@gcc.gnu.org> |
5593 | ||
5594 | * emit-rtl.c (link_insn_into_chain): Handle chaining of SEQUENCEs. | |
5595 | * reorg.c (emit_delay_sequence): Simplify with emit-rtl API. | |
5596 | ||
5597 | 2013-04-17 Greta Yorsh <Greta.Yorsh@arm.com> | |
0480fff0 GY |
5598 | |
5599 | * config/arm/arm.md (movsicc_insn): Convert define_insn into | |
5600 | define_insn_and_split. | |
5601 | (and_scc,ior_scc,negscc): Likewise. | |
5602 | (cmpsi2_addneg, subsi3_compare): Convert to named patterns. | |
5603 | ||
3ccb989e | 5604 | 2013-04-17 Greta Yorsh <Greta.Yorsh@arm.com> |
367075fe GY |
5605 | |
5606 | * config/arm/arm.c (use_return_insn): Return 0 for targets that | |
5607 | can benefit from using a sequence of LDRD instructions in epilogue | |
5608 | instead of a single LDM instruction. | |
5609 | ||
6d10a203 MLI |
5610 | 2013-04-17 Manuel López-Ibáñez <manu@gcc.gnu.org> |
5611 | ||
5612 | PR 45688 | |
5613 | * doc/extend.texi: Fix typo. | |
5614 | ||
6983e6b5 RB |
5615 | 2013-04-17 Richard Biener <rguenther@suse.de> |
5616 | ||
5617 | * tree-vect-slp.c (vect_build_slp_tree_1): Split out from ... | |
5618 | (vect_build_slp_tree): ... here. | |
5619 | (vect_build_slp_tree_1): Compute which stmts of the SLP group | |
5620 | match. Remove special-casing of mismatched complex loads. | |
5621 | (vect_build_slp_tree): Based on the result from vect_build_slp_tree_1 | |
5622 | re-try the match with swapped commutative operands. | |
5623 | (vect_supported_load_permutation_p): Remove special-casing of | |
5624 | mismatched complex loads. | |
5625 | (vect_analyze_slp_instance): Adjust. | |
5626 | ||
ef23e6a2 RB |
5627 | 2013-04-17 Richard Biener <rguenther@suse.de> |
5628 | ||
5629 | PR rtl-optimization/56921 | |
5630 | * cfgloop.h (struct loop): Add simple_loop_desc member. | |
5631 | (struct niter_desc): Mark with GTY(()). | |
5632 | (simple_loop_desc): Do not use aux field but simple_loop_desc. | |
5633 | * loop-iv.c (get_simple_loop_desc): Likewise. | |
5634 | (free_simple_loop_desc): Likewise. | |
5635 | ||
5636 | Revert | |
5637 | 2013-04-16 Richard Biener <rguenther@suse.de> | |
5638 | ||
5639 | PR rtl-optimization/56921 | |
5640 | * loop-init.c (pass_rtl_move_loop_invariants): Add | |
5641 | TODO_do_not_ggc_collect to todo_flags_finish. | |
5642 | (pass_rtl_unswitch): Same. | |
5643 | (pass_rtl_unroll_and_peel_loops): Same. | |
5644 | (pass_rtl_doloop): Same. | |
5645 | ||
fc6f94f5 EB |
5646 | 2013-04-17 Eric Botcazou <ebotcazou@adacore.com> |
5647 | ||
5648 | * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p): New. | |
5649 | (decl_refs_may_alias_p): Add REF1 and REF2 parameters. | |
5650 | Use nonoverlapping_component_refs_of_decl_p to disambiguate component | |
5651 | references. | |
5652 | (refs_may_alias_p_1): Adjust call to decl_refs_may_alias_p. | |
5653 | * tree-streamer.c (record_common_node): Adjust reference in comment. | |
5654 | ||
10a88311 TG |
5655 | 2013-04-17 Terry Guo <terry.guo@arm.com> |
5656 | ||
5657 | * config/arm/cortex-m4.md: Add a new bypass. | |
5658 | ||
6d9b7208 | 5659 | 2013-04-16 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
f3d096b0 N |
5660 | |
5661 | * config/aarch64/aarch64.md (*adds_<optab><mode>_multp2): | |
5662 | New pattern. | |
5663 | (*subs_<optab><mode>_multp2): New pattern. | |
5664 | (*adds_<optab><ALLX:mode>_<GPI:mode>): New pattern. | |
5665 | (*subs_<optab><ALLX:mode>_<GPI:mode>): New pattern. | |
5666 | ||
6d9b7208 | 5667 | 2013-04-16 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
860ad33f N |
5668 | |
5669 | * config/aarch64/aarch64.md (*adds_mul_imm_<mode>): New pattern. | |
5670 | (*subs_mul_imm_<mode>): New pattern. | |
5671 | ||
18a6701e DE |
5672 | 2013-04-16 David Edelsohn <dje.gcc@gmail.com> |
5673 | ||
5674 | PR target/56948 | |
5675 | * config/rs6000/vsx.md (vsx_mov<mode>): Add j->r alternative. | |
5676 | (vsx_movti_64bit): Change j->wa to O->wa. Add n->r alternative. | |
5677 | (vsx_movti_32bit): Change j->wa to O->wa. | |
5678 | ||
07c37b2f RB |
5679 | 2013-04-16 Richard Biener <rguenther@suse.de> |
5680 | ||
5681 | PR rtl-optimization/56921 | |
5682 | * loop-init.c (pass_rtl_move_loop_invariants): Add | |
5683 | TODO_do_not_ggc_collect to todo_flags_finish. | |
5684 | (pass_rtl_unswitch): Same. | |
5685 | (pass_rtl_unroll_and_peel_loops): Same. | |
5686 | (pass_rtl_doloop): Same. | |
5687 | ||
0e0f87d4 | 5688 | 2013-04-16 Greta Yorsh <Greta.Yorsh@arm.com> |
974ba22d GY |
5689 | |
5690 | * config/arm/arm.c (emit_multi_reg_push): New declaration | |
5691 | for an existing function. | |
5692 | (arm_emit_strd_push): New function. | |
5693 | (arm_expand_prologue): Used here. | |
5694 | (arm_emit_ldrd_pop): New function. | |
5695 | (arm_expand_epilogue): Used here. | |
5696 | (arm_get_frame_offsets): Update condition. | |
5697 | (arm_emit_multi_reg_pop): Add a special case for load of a single | |
5698 | register with writeback. | |
5699 | ||
5e8e2af4 UB |
5700 | 2013-04-16 Uros Bizjak <ubizjak@gmail.com> |
5701 | ||
5702 | * doc/invoke.texi (i386 Option): Reword -mstack-protector-guard | |
5703 | description. | |
5704 | ||
9fd9ccf7 RB |
5705 | 2013-04-16 Richard Biener <rguenther@suse.de> |
5706 | ||
5707 | PR tree-optimization/56756 | |
5708 | * tree-ssa-loop-im.c (struct first_mem_ref_loc_1): New functor. | |
5709 | (first_mem_ref_loc): New. | |
5710 | (execute_sm): Place the load temporarily before a previous | |
5711 | access instead of in the latch edge to ensure its SSA dependencies | |
5712 | are defined at points dominating the load. | |
5713 | ||
96fba521 SB |
5714 | 2013-04-16 Steven Bosscher <steven@gcc.gnu.org> |
5715 | ||
4c8af858 SB |
5716 | * cfgrtl.c (cfg_layout_merge_blocks): Revert r184005, implement |
5717 | correct fix by moving header and footer insn to the footer of | |
5718 | the merged basic block. Clear BB_END of the merged-away block. | |
5719 | ||
96fba521 SB |
5720 | PR middle-end/43631 |
5721 | * emit-rtl.c (make_note_raw): New function. | |
5722 | (link_insn_into_chain): New static inline function. | |
5723 | (add_insn): Use it. | |
5724 | (add_insn_before, add_insn_after): Factor insn chain linking code... | |
5725 | (add_insn_before_nobb, add_insn_after_nobb): ...here, new functions | |
5726 | using link_insn_into_chain. | |
5727 | (note_outside_basic_block_p): New helper function for emit_note_after | |
5728 | and emit_note_before. | |
5729 | (emit_note_after): Use nobb variant of add_insn_after if the note | |
5730 | should not be contained in a basic block. | |
5731 | (emit_note_before): Use nobb variant of add_insn_before if the note | |
5732 | should not be contained in a basic block. | |
5733 | (emit_note_copy): Use make_note_raw. | |
5734 | (emit_note): Likewise. | |
5735 | * bb-reorder.c (insert_section_boundary_note): Remove hack to set | |
5736 | BLOCK_FOR_INSN to NULL manually for NOTE_INSN_SWITCH_TEXT_SECTIONS. | |
5737 | * jump.c (cleanup_barriers): Use reorder_insns_nobb to avoid making | |
5738 | the moved barrier the tail of the basic block it follows. | |
5739 | * var-tracking.c (pass_variable_tracking): Add TODO_verify_flow. | |
5740 | ||
7b8265ba JJ |
5741 | 2013-04-15 Jakub Jelinek <jakub@redhat.com> |
5742 | ||
5743 | PR tree-optimization/56962 | |
5744 | * gimple-ssa-strength-reduction.c (record_increment): Only set | |
5745 | initializer if gimple_assign_rhs_code is {,POINTER_}PLUS_EXPR and | |
5746 | either rhs1 or rhs2 is equal to c->base_expr. | |
5747 | ||
5185d248 RB |
5748 | 2013-04-15 Richard Biener <rguenther@suse.de> |
5749 | ||
5750 | PR tree-optimization/56933 | |
5751 | * tree-vectorizer.h (struct _stmt_vec_info): Remove read_write_dep | |
5752 | member. | |
5753 | (GROUP_READ_WRITE_DEPENDENCE): Remove. | |
5754 | (STMT_VINFO_GROUP_READ_WRITE_DEPENDENCE): Likewise. | |
5755 | * tree-vect-data-refs.c (vect_analyze_group_access): Move | |
5756 | dependence check ... | |
5757 | vect_analyze_data_ref_dependence (vect_analyze_data_ref_dependence): | |
5758 | ... here. | |
5759 | * tree-vect-stmts.c (new_stmt_vec_info): Do not initialize | |
5760 | GROUP_READ_WRITE_DEPENDENCE. | |
5761 | ||
a24243a0 AK |
5762 | 2013-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
5763 | ||
5764 | * emit-rtl.c (reset_all_used_flags): New function. | |
5765 | (verify_rtl_sharing): Call reset_all_used_flags before and after | |
5766 | performing the checks. | |
5767 | ||
1c50eada KT |
5768 | 2013-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
5769 | ||
5770 | * config/arm/arm.c (const_ok_for_dimode_op): Handle AND case. | |
5771 | * config/arm/arm.md (*anddi3_insn): Change to insn_and_split. | |
5772 | * config/arm/constraints.md (De): New constraint. | |
5773 | * config/arm/neon.md (anddi3_neon): Delete. | |
5774 | (neon_vand<mode>): Expand to standard anddi3 pattern. | |
5775 | * config/arm/predicates.md (imm_for_neon_inv_logic_operand): | |
5776 | Move earlier in the file. | |
5777 | (neon_inv_logic_op2): Likewise. | |
5778 | (arm_anddi_operand_neon): New predicate. | |
5779 | ||
e927b6ad RO |
5780 | 2013-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5781 | ||
5782 | * configure.ac (gcc_cv_ld_as_needed): Set | |
5783 | gcc_cv_ld_as_needed_option, gcc_cv_no_as_needed_option. | |
5784 | Use -z ignore, -z record on *-*-solaris2*. | |
5785 | (HAVE_LD_AS_NEEDED): Update comment. | |
5786 | (LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION): Define. | |
5787 | * configure: Regenerate. | |
5788 | * config.in: Regenerate. | |
5789 | * gcc.c (init_gcc_specs) [USE_LD_AS_NEEDED]: Use | |
5790 | LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION. | |
5791 | * config/sol2.h [HAVE_LD_AS_NEEDED] (USE_LD_AS_NEEDED): Define. | |
5792 | * doc/tm.texi.in (USE_LD_AS_NEEDED): Allow for --as-needed | |
5793 | equivalents. Fix markup. | |
5794 | * doc/tm.texi: Regenerate. | |
5795 | ||
e0ea8797 AH |
5796 | 2013-04-15 Andrew Hsieh <andrewhsieh.google.com> |
5797 | ||
5798 | * config/i386/i386.opt: New option mstack-protector-guard=. | |
5799 | * config/i386/i386-opts.h: Add enum stack_protector_guard. | |
5800 | * config/i386/i386.h: Define TARGET_SSP_GLOBAL_GUARD and | |
5801 | TARGET_SSP_TLS_GUARD. | |
5802 | * config/i386/i386.c (ix86_option_override_internal): Set | |
5803 | ix86_stack_protector_guard. | |
5804 | * config/i386/i386.md (stack_protect_set): Enable for | |
5805 | TARGET_SSP_TLS_GUARD only. | |
5806 | (stack_protect_set_<mode>): Ditto. | |
5807 | (stack_protect_test): Ditto. | |
5808 | (stack_protect_test_<mode>): Ditto. | |
5809 | * doc/invoke.texi (i386 Option): Document. | |
5810 | ||
811b72f9 EB |
5811 | 2013-04-15 Eric Botcazou <ebotcazou@adacore.com> |
5812 | ||
5813 | PR target/56890 | |
5814 | * config/sparc/sparc.c (enum sparc_mode_class): Add H_MODE value. | |
5815 | (S_MODES): Set H_MODE bit. | |
5816 | (SF_MODES): Set only S_MODE and SF_MODE bits. | |
5817 | (DF_MODES): Set SF_MODES and only D_MODE and DF_MODE bits. | |
5818 | (sparc_init_modes) <MODE_INT>: Set H_MODE bit for sub-word modes. | |
5819 | <MODE_VECTOR_INT>: Do not set SF_MODE for sub-word modes. | |
5820 | <MODE_FLOAT>: Likewise. | |
5821 | ||
5529fdd6 JY |
5822 | 2013-04-15 Joey Ye <joey.ye@arm.com> |
5823 | ||
5824 | * config/arm/arm.c (thumb_far_jump_used_p): Fix typo in comments. | |
5825 | ||
517b1da2 JY |
5826 | 2013-04-15 Joey Ye <joey.ye@arm.com> |
5827 | ||
5828 | * config/arm/arm.c (thumb1_final_prescan_insn): Assert lr save | |
5829 | for real far jump. | |
5830 | (thumb_far_jump_used_p): Count instruction size and set | |
5831 | far_jump_used. | |
5832 | ||
01007ae0 EB |
5833 | 2013-04-14 Eric Botcazou <ebotcazou@adacore.com> |
5834 | ||
5835 | * reorg.c (fill_simple_delay_slots): Reindent block of code. | |
5836 | * resource.c (mark_target_live_regs): Reformat conditional block. | |
5837 | ||
c46f6580 SB |
5838 | 2013-04-13 Steven Bosscher <steven@gcc.gnu.org> |
5839 | ||
5840 | * sched-deps.c (deps_analyze_insn): Do not check for EH_REGION insn | |
5841 | notes, they are emitted only just before final. | |
5842 | * sched-int.h: Include insn-attr.h before checking INSN_SCHEDULING. | |
5843 | ||
1f397f45 SB |
5844 | 2013-04-13 Steven Bosscher <steven@gcc.gnu.org> |
5845 | ||
5846 | * emit-rtl.c (remove_insn): Do not call df_insn_delete here. | |
5847 | * cfgrtl.c (delete_insn): Call it here instead. | |
5848 | * lra-spills.c (lra_final_code_change): Use delete_insn. | |
5849 | * haifa-sched.c (sched_remove_insn): Likewise. | |
5850 | * sel-sched-ir.c (return_nop_to_pool): Clear INSN_DELETED_P for nops | |
5851 | returning to the nop pool. | |
5852 | (sel_remove_insn): Simplify the only_disconnect case via remove_insn, | |
5853 | use delete_insn for definitive removal. Clear BLOCK_FOR_INSN. | |
5854 | ||
58a51369 SB |
5855 | 2013-04-12 Steven Bosscher <steven@gcc.gnu.org> |
5856 | ||
5857 | * doc/tm.texi.in (LOOP_ALIGN): Remove loop note references. | |
5858 | * doc/tm.texi: Regenerated. | |
5859 | ||
33159866 UB |
5860 | 2013-04-12 Uros Bizjak <ubizjak@gmail.com> |
5861 | ||
5862 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Use ANY_QI_REGNO_P in | |
5863 | QImode checks. | |
5864 | ||
226e378f SB |
5865 | 2013-04-12 Steven Bosscher <steven@gcc.gnu.org> |
5866 | ||
5867 | * df-core.c (df_find_def): Compare register numbers. | |
5868 | (df_find_use): Likewise. | |
5869 | ||
fafb9b18 VM |
5870 | 2013-04-12 Vladimir Makarov <vmakarov@redhat.com> |
5871 | ||
5872 | PR target/56903 | |
5873 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Add | |
5874 | lra_in_progress for return. | |
5875 | ||
9a946fd6 GY |
5876 | 2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> |
5877 | ||
5878 | * config/arm/arm.md (mov_scc,mov_negscc,mov_notscc): Convert | |
5879 | define_insn into define_insn_and_split and emit movsicc patterns. | |
5880 | ||
41b83758 GY |
5881 | 2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> |
5882 | ||
5883 | * config/arm/arm.c (gen_operands_ldrd_strd): Initialize "base". | |
5884 | ||
d3afd9aa RB |
5885 | 2013-04-12 Richard Biener <rguenther@suse.de> |
5886 | ||
5887 | * tree-pass.h (TODO_do_not_ggc_collect): New. | |
5888 | * passes.c (execute_one_ipa_transform_pass): Honor | |
5889 | TODO_do_not_ggc_collect. | |
5890 | (execute_one_pass): Likewise. | |
5891 | ||
5892 | Revert | |
5893 | 2013-04-10 Richard Biener <rguenther@suse.de> | |
5894 | ||
5895 | * passes.c (init_optimization_passes): Remove reload pass. | |
5896 | * ira.c (do_reload): Merge into ... | |
5897 | (ira): ... this. | |
5898 | (rest_of_handle_reload): Remove. | |
5899 | (pass_reload): Likewise. | |
5900 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
5901 | of reload for vzeroupper pass placement. | |
5902 | ||
06f9b387 JJ |
5903 | 2013-04-12 Jakub Jelinek <jakub@redhat.com> |
5904 | ||
5905 | PR tree-optimization/56918 | |
5906 | PR tree-optimization/56920 | |
5907 | * fold-const.c (int_const_binop_1): Use op1.mul_with_sign (op2, ...) | |
5908 | instead of op1 - op2. Pass 2 * TYPE_PRECISION (type) as second | |
5909 | argument to rshift method. For 2 * HOST_BITS_PER_WIDE_INT precision | |
5910 | use wide_mul_with_sign method. | |
5911 | ||
953094d2 RB |
5912 | 2013-04-12 Richard Biener <rguenther@suse.de> |
5913 | ||
5914 | * gimple.c (is_gimple_constant): Vector CONSTRUCTORs should | |
5915 | not be considered a gimple constant. | |
5916 | ||
bb506982 MG |
5917 | 2013-04-12 Marc Glisse <marc.glisse@inria.fr> |
5918 | ||
5919 | * fold-const.c (const_binop): Handle vector shifts by a scalar. | |
5920 | (fold_binary_loc): Call const_binop also for mixed vector-scalar | |
5921 | operations. | |
5922 | ||
4b84d650 JJ |
5923 | 2013-04-12 Manuel López-Ibáñez <manu@gcc.gnu.org> |
5924 | Jakub Jelinek <jakub@redhat.com> | |
5925 | ||
5926 | * opts.c: Include diagnostic-color.h. | |
5927 | (common_handle_option): Handle OPT_fdiagnostics_color_. | |
5928 | * Makefile.in (OBJS-libcommon): Add diagnostic-color.o. | |
5929 | (diagnostic.o, opts.o, pretty-print.o): Depend on diagnostic-color.h. | |
5930 | (diagnostic-color.o): New. | |
5931 | * common.opt (fdiagnostics-color, fdiagnostics-color=): New options. | |
5932 | (diagnostic_color_rule): New enum. | |
5933 | * dwarf2out.c (gen_producer_string): Don't print -fdiagnostics-color*. | |
5934 | * langhooks.c (lhd_print_error_function): Add %r "locus" and %R around | |
5935 | the location string. | |
5936 | * diagnostic.def: Add 3rd argument to DEFINE_DIAGNOSTIC_KIND macros, | |
5937 | either NULL, or color kind. | |
5938 | * diagnostic-color.c: New file. | |
5939 | * diagnostic-color.h: New file. | |
5940 | * diagnostic-core.h (DEFINE_DIAGNOSTIC_KIND): Adjust macro for 3 | |
5941 | arguments. | |
5942 | * doc/invoke.texi (-fdiagnostics-color): Document. | |
5943 | * pretty-print.h (pp_show_color): Define. | |
5944 | (struct pretty_print_info): Add show_color field. | |
5945 | * diagnostic.c: Include diagnostic-color.h. | |
5946 | (diagnostic_build_prefix): Adjust for 3 argument DEFINE_DIAGNOSTIC_KIND | |
5947 | macros. Colorize error:, warning: etc. strings and also the location | |
5948 | string. | |
5949 | (diagnostic_show_locus): Colorize the caret line. | |
5950 | * pretty-print.c: Include diagnostic-color.h. | |
5951 | (pp_base_format): Handle %r and %R format specifiers. Colorize strings | |
5952 | inside of %< %> quotes or quoted through q format modifier. | |
5953 | ||
067a1e71 AK |
5954 | 2013-04-12 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
5955 | ||
33159866 | 5956 | * ifcvt.c (end_ifcvt_sequence): Mark a and b for unsharing as well. |
067a1e71 | 5957 | |
33159866 | 5958 | 2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
b056c910 N |
5959 | |
5960 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Allow NEG | |
5961 | code in CC_NZ mode. | |
5962 | * config/aarch64/aarch64.md (*neg_<shift><mode>3_compare0): New | |
5963 | pattern. | |
5964 | ||
7b55f98f MP |
5965 | 2013-04-11 Marek Polacek <polacek@redhat.com> |
5966 | ||
5967 | PR tree-optimization/48184 | |
33159866 | 5968 | * params.def (PARAM_ALIGN_THRESHOLD): Increase the minimum value to 1. |
7b55f98f | 5969 | |
966b587e EB |
5970 | 2013-04-11 Eric Botcazou <ebotcazou@adacore.com> |
5971 | ||
5972 | * stor-layout.c (skip_simple_constant_arithmetic): Move to... | |
5973 | * tree.c (skip_simple_constant_arithmetic): ...here and make public. | |
5974 | (skip_simple_arithmetic): Tidy up. | |
5975 | * tree.h (skip_simple_constant_arithmetic): Declare. | |
5976 | ||
33159866 | 5977 | 2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
f8bf91ab N |
5978 | |
5979 | * config/aarch64/aarch64.h (REVERSIBLE_CC_MODE): Define. | |
5980 | ||
1d42c1ec RB |
5981 | 2013-04-11 Richard Biener <rguenther@suse.de> |
5982 | ||
5983 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
5984 | generate vector constants. | |
5985 | ||
4ba5ea11 RB |
5986 | 2013-04-11 Richard Biener <rguenther@suse.de> |
5987 | ||
5988 | PR tree-optimization/56878 | |
5989 | * tree-flow.h (outermost_invariant_loop_for_expr): Declare. | |
5990 | * tree-ssa-loop-ivopts.c (outermost_invariant_loop_for_expr): | |
5991 | New function. | |
5992 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): | |
5993 | Prefer to align the DR with the most invariant base address. | |
5994 | ||
f0defe58 SKS |
5995 | 2013-04-11 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
5996 | ||
5997 | * opts.c (common_handle_option): Fix formatting and add FALLTHRU | |
5998 | comment. | |
5999 | ||
d07458be JG |
6000 | 2013-04-11 James Greenhalgh <james.greenhalgh@arm.com> |
6001 | ||
6002 | * config/aarch64/aarch64-simd.md (aarch64_vcond_internal): Fix | |
6003 | floating-point vector comparisons against 0. | |
6004 | ||
146b8692 JJ |
6005 | 2013-04-11 Jakub Jelinek <jakub@redhat.com> |
6006 | ||
6007 | PR tree-optimization/56899 | |
6008 | * fold-const.c (extract_muldiv_1): Apply distributive law | |
6009 | only if TYPE_OVERFLOW_WRAPS (ctype). | |
6010 | ||
b8578ff7 BC |
6011 | 2013-04-11 Bin Cheng <bin.cheng@arm.com> |
6012 | ||
6013 | PR target/56124 | |
6014 | * ira-costs.c (scan_one_insn): Check whether the source rtx of | |
6015 | loading has side effect. | |
6016 | ||
0ea8a6f9 SB |
6017 | 2013-04-10 Steven Bosscher <steven@gcc.gnu.org> |
6018 | ||
6019 | * config/sparc/sparc.c: Include tree-pass.h. | |
6020 | (TARGET_MACHINE_DEPENDENT_REORG): Do not redefine. | |
6021 | (sparc_reorg): Rename to sparc_do_work_around_errata. Move to | |
6022 | head of file. Change return type. Split off gate function. | |
6023 | (sparc_gate_work_around_errata): New function. | |
6024 | (pass_work_around_errata): New pass definition. | |
6025 | (insert_pass_work_around_errata) New pass insert definition to | |
6026 | insert pass_work_around_errata just after delayed-branch scheduling. | |
6027 | (sparc_option_override): Insert the pass. | |
6028 | * config/sparc/t-sparc (sparc.o): Add TREE_PASS_H dependence. | |
6029 | ||
42e37616 DM |
6030 | 2013-04-10 David S. Miller <davem@davemloft.net> |
6031 | ||
89deeb3b DM |
6032 | * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=supersparc |
6033 | or -mcpu=hypersparc. | |
6034 | ||
42e37616 DM |
6035 | * target.def (cstore_mode): New hook. |
6036 | * target.h: Include insn-codes.h | |
6037 | * targhooks.c: Likewise. | |
6038 | (default_cstore_mode): New function. | |
6039 | * targhooks.h: Declare it. | |
6040 | * doc/tm.texi.in: New hook slot for TARGET_CSTORE_MODE. | |
6041 | * doc/tm.texi: Rebuild. | |
6042 | * expmed.c (emit_cstore): Obtain cstore boolean result mode using | |
6043 | target hook, rather than inspecting the insn_data. | |
6044 | * config/sparc/sparc.c (sparc_cstore_mode): New function. | |
6045 | (TARGET_CSTORE_MODE): Redefine. | |
6046 | (emit_scc_insn): When TARGET_ARCH64, emit new 64-bit boolean | |
6047 | result patterns. | |
6048 | * config/sparc/predicates.md (cstore_result_operand): New special | |
6049 | predicate. | |
6050 | * config/sparc/sparc.md (cstoresi4, cstoredi4, cstore<F:mode>4): | |
6051 | Use it for operand 0. | |
6052 | (*seqsi_special): Rewrite using 'P' mode iterator on operand 0. | |
6053 | (*snesi_special): Likewise. | |
6054 | (*snesi_zero): Likewise. | |
6055 | (*seqsi_zero): Likewise. | |
6056 | (*sltu_insn): Likewise. | |
6057 | (*sgeu_insn): Likewise. | |
6058 | (*seqdi_special): Make operand 0 and comparison operation be of | |
6059 | DImode. | |
6060 | (*snedi_special): Likewise. | |
6061 | (*snedi_special_vis3): Likewise. | |
6062 | (*neg_snesi_zero): Rename to *neg_snesisi_zero. | |
6063 | (*neg_snesi_sign_extend): Rename to *neg_snesidi_zero. | |
6064 | (*snesi_zero_extend): Delete, covered by 'P' mode iterator. | |
6065 | (*neg_seqsi_zero): Rename to *neg_seqsisi_zero. | |
6066 | (*neg_seqsi_sign_extend): Rename to *neg_seqsidi_zero. | |
6067 | (*seqsi_zero_extend): Delete, covered by 'P' mode iterator. | |
6068 | (*sltu_extend_sp64): Likewise. | |
6069 | (*neg_sltu_insn): Rename to *neg_sltusi_insn. | |
6070 | (*neg_sltu_extend_sp64): Rename to *neg_sltudi_insn. | |
6071 | (*sgeu_extend_sp64): Delete, covered by 'P' mode iterator. | |
6072 | (*neg_sgeu_insn): Rename to *neg_sgeusi_insn. | |
6073 | (*neg_sgeu_extend_sp64): Rename to *neg_sgeudi_insn. | |
6074 | ||
95ca411e YZ |
6075 | 2013-04-10 Yufeng Zhang <yufeng.zhang@arm.com> |
6076 | ||
6077 | * config/aarch64/aarch64.c (aarch64_print_extension): New function. | |
6078 | (aarch64_start_file): Use the new function. | |
6079 | ||
6782438d | 6080 | 2013-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
33159866 | 6081 | Jason Merrill <jason@redhat.com> |
6782438d SKS |
6082 | |
6083 | * common.opt: Add -gdwarf. | |
6084 | * opts.c (common_handle_option): Handle it. | |
6085 | * gcc.c (ASM_DEBUG_SPEC): Don't expect "-2" for DWARF. | |
6086 | ||
bb313b93 RB |
6087 | 2013-04-10 Richard Biener <rguenther@suse.de> |
6088 | ||
6089 | * passes.c (execute_todo): Do not call ggc_collect conditional here. | |
6090 | (execute_one_ipa_transform_pass): But unconditionally here. | |
6091 | (execute_one_pass): And here. | |
6092 | (init_optimization_passes): Remove reload pass. | |
6093 | * tree-pass.h (TODO_ggc_collect): Remove. | |
6094 | (pass_reload): Likewise. | |
6095 | * ira.c (do_reload): Merge into ... | |
6096 | (ira): ... this. | |
6097 | (rest_of_handle_reload): Remove. | |
6098 | (pass_reload): Likewise. | |
6099 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
6100 | of reload for vzeroupper pass placement. | |
6101 | * <everywhere>: Remove TODO_ggc_collect from todo_flags_start | |
6102 | and todo_flags_finish of all passes. | |
6103 | ||
793d9a16 RB |
6104 | 2013-04-10 Richard Biener <rguenther@suse.de> |
6105 | ||
6106 | * tree-vectorizer.h (struct _slp_oprnd_info): Remove | |
6107 | first_const_oprnd field, rename first_def_type to first_op_type. | |
6108 | * tree-vect-slp.c (vect_create_oprnd_info): Adjust. | |
6109 | (vect_get_and_check_slp_defs): Always use the type of the | |
6110 | operand. Allow mixed vect_external_def, vect_constant_def types. | |
6111 | (vect_get_constant_vectors): Handle mixed vect_external_def, | |
6112 | vect_constant_def types. | |
6113 | ||
ee8a9b7b JR |
6114 | 2013-04-10 Joern Rennecke <joern.rennecke@embecosm.com> |
6115 | ||
6116 | PR tree-optimization/55524 | |
6117 | * tree-ssa-math-opts.c | |
6118 | (convert_mult_to_fma): Don't use an fms construct | |
6119 | when we don't have an fms operation, but fnma, and it looks | |
6120 | likely that we'll be able to use the latter. | |
6121 | ||
6957a6f6 ZZ |
6122 | 2013-04-10 Zhouyi Zhou <yizhouzhou@ict.ac.cn> |
6123 | ||
6124 | * cif-code.def (OVERWRITABLE): Correct the comment for overwritable | |
6125 | function. | |
6126 | * ipa-inline.c (can_inline_edge_p): Let dump mechanism report the | |
6127 | inline fail caused by overwritable functions. | |
6128 | ||
34ab4a5b CJW |
6129 | 2013-04-10 Chung-Ju Wu <jasonwucj@gmail.com> |
6130 | ||
6131 | * combine.c (simplify_compare_const): Use GET_MODE_MASK to filter out | |
6132 | unnecessary bits in the constant power of two case. | |
6133 | ||
abf9bfbc RB |
6134 | 2013-04-10 Richard Biener <rguenther@suse.de> |
6135 | ||
6136 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove | |
6137 | broken code swapping operands. | |
6138 | (vect_build_slp_tree): Do not compute load permutations here. | |
6139 | (vect_analyze_slp_instance): Compute load permutations here, | |
6140 | after building the SLP tree. | |
6141 | ||
f408477e CB |
6142 | 2013-04-09 Christian Bruel <christian.bruel@st.com> |
6143 | ||
6144 | * config/sh/sh.md (barrier_align): Use next/prev_active_insn instead | |
6145 | of next/prev_real_insn. | |
6146 | ||
5ac42672 JH |
6147 | 2013-04-09 Jan Hubicka <jh@suse.cz> |
6148 | ||
abf9bfbc RB |
6149 | * ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): |
6150 | Drop aliased parameter. | |
5ac42672 JH |
6151 | (function_and_variable_visibility): Do not handle alias pairs. |
6152 | * cgraph.c (varpool_externally_visible_p): Update prototype. | |
6153 | * varpool.c (varpool_add_new_variable): Update. | |
6154 | ||
5017f1d2 KT |
6155 | 2013-04-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
6156 | ||
6157 | * config/arm/arm.md (minmax_arithsi_non_canon): New pattern. | |
6158 | ||
48eecbee SB |
6159 | 2013-04-09 Steven Bosscher <steven@gcc.gnu.org> |
6160 | ||
a949cf1c SB |
6161 | * sched-vis.c (print_pattern): Print SEQUENCE of insns as insns. |
6162 | ||
48eecbee SB |
6163 | * config/sparc/sparc.md: Use define_c_enum for "unspec" and "unspecv". |
6164 | ||
75ef8e3d MP |
6165 | 2013-04-09 Marek Polacek <polacek@redhat.com> |
6166 | ||
6167 | PR tree-optimization/48762 | |
33159866 | 6168 | * params.def (PARAM_MAX_CSE_INSNS): Increase the minimum value to 1. |
75ef8e3d | 6169 | |
23847df4 RB |
6170 | 2013-04-09 Richard Biener <rguenther@suse.de> |
6171 | ||
6172 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove code | |
6173 | dealing with cost. | |
6174 | (vect_build_slp_tree): Likewise. | |
6175 | (vect_analyze_slp_cost_1, vect_analyze_slp_cost): New functions | |
6176 | calculating the cost of a SLP instance. | |
6177 | (vect_analyze_slp_instance): Use it from here, after building | |
6178 | the SLP tree. | |
6179 | ||
ea3a0fde JJ |
6180 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
6181 | ||
6182 | PR middle-end/56883 | |
6183 | * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk, | |
6184 | expand_omp_for_static_chunk): Use simple_p = true in | |
6185 | force_gimple_operand_gsi calls when assigning to addressable decls. | |
6186 | ||
a32dfe9d JL |
6187 | 2013-04-09 Jeff Law <law@redhat.com> |
6188 | ||
6189 | * tree-vrp.c (simplify_cond_using_ranges): Simplify test of boolean | |
6190 | when the boolean was created by converting a wider object which | |
6191 | had a boolean range. | |
6192 | ||
d755c7ef RB |
6193 | 2013-04-09 Richard Biener <rguenther@suse.de> |
6194 | ||
6195 | * tree-vectorizer.h (slp_void_p): Remove. | |
6196 | (slp_tree): Typedef before _slp_tree declaration. | |
6197 | (struct _slp_tree): Use a vector of slp_tree as children. | |
6198 | (vect_get_place_in_interleaving_chain): Remove. | |
6199 | * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain): | |
6200 | Move ... | |
6201 | * tree-vect-slp.c (vect_get_place_in_interleaving_chain): ... here | |
6202 | and make static. | |
6203 | (vect_free_slp_tree, vect_print_slp_tree, vect_mark_slp_stmts, | |
6204 | vect_mark_slp_stmts_relevant, vect_slp_rearrange_stmts, | |
6205 | vect_detect_hybrid_slp_stmts, vect_slp_analyze_node_operations, | |
6206 | vect_schedule_slp_instance, vect_remove_slp_scalar_calls): | |
6207 | Use slp_node instead of slp_void_p and adjust. | |
6208 | ||
3d741091 RB |
6209 | 2013-04-09 Richard Biener <rguenther@suse.de> |
6210 | ||
6211 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Avoid | |
6212 | work that is not necessary. | |
6213 | ||
39307ba7 JJ |
6214 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
6215 | ||
6216 | PR tree-optimization/56854 | |
6217 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't | |
6218 | forward into clobber stmts if it would change MEM_REF lhs into | |
6219 | non-MEM_REF. | |
6220 | ||
343881fd MK |
6221 | 2013-04-09 Maxim Kuvyrkov <maxim@kugelworks.com> |
6222 | ||
6223 | * tree.c (type_hash_lookup, type_hash_add): Make static. | |
6224 | * tree.h (type_hash_lookup, type_hash_add): Remove global declarations. | |
6225 | ||
3922658a RB |
6226 | 2013-04-09 Richard Biener <rguenther@suse.de> |
6227 | ||
6228 | * tree.h (unsave_expr_now): Remove. | |
6229 | * tree-inline.c (mark_local_for_remap_r): Remove. | |
6230 | (unsave_expr_1): Likewise. | |
6231 | (unsave_r): Likewise. | |
6232 | (unsave_expr_now): Likewise. | |
6233 | * tree-ssa-copy.c (replace_exp_1): Use unshare_expr. | |
6234 | (propagate_tree_value): Likewise. | |
6235 | ||
9fb6b620 SB |
6236 | 2013-04-08 Steven Bosscher <steven@gcc.gnu.org> |
6237 | ||
6238 | * doc/rtl.texi (sequence): Rewrite documentation to match the | |
6239 | current use of SEQUENCE rtl objects. | |
6240 | * rtl.def (SEQUENCE): Likewise. | |
6241 | ||
6242 | * doc/rtl.texi (NOTE_INSN_EH_REGION_BEG, NOTE_INSN_EH_REGION_END): | |
6243 | Update documentation. | |
6244 | (NOTE_INSN_LOOP_BEG, NOTE_INSN_LOOP_END, NOTE_INSN_LOOP_CONT, | |
6245 | NOTE_INSN_LOOP_VTOP): Remove documentation for non-existing notes. | |
6246 | ||
6247 | * reg-notes.def (REG_EH_CONTEXT): Remove unused note. | |
6248 | ||
8ddb5a29 TJ |
6249 | 2013-04-08 Teresa Johnson <tejohnson@google.com> |
6250 | ||
6251 | * basic-block.h (GCOV_COMPUTE_SCALE): Define. | |
6252 | * ipa-inline-analysis.c (param_change_prob): Use helper rounding divide | |
33159866 | 6253 | methods. |
8ddb5a29 TJ |
6254 | (estimate_edge_size_and_time): Add comment to suggest using rounding |
6255 | methods. | |
6256 | (estimate_node_size_and_time): Ditto. | |
6257 | (remap_edge_change_prob): Use helper rounding divide methods. | |
6258 | * value-prof.c (gimple_divmod_fixed_value_transform): Ditto. | |
6259 | (gimple_mod_pow2_value_transform): Ditto. | |
6260 | (gimple_mod_subtract_transform): Ditto. | |
6261 | (gimple_ic_transform): Ditto. | |
6262 | (gimple_stringops_transform): Ditto. | |
6263 | * stmt.c (conditional_probability): Ditto. | |
6264 | (emit_case_dispatch_table): Ditto. | |
6265 | * lto-cgraph.c (merge_profile_summaries): Ditto. | |
6266 | * tree-optimize.c (execute_fixup_cfg): Ditto. | |
6267 | * cfgcleanup.c (try_forward_edges): Ditto. | |
6268 | * cfgloopmanip.c (scale_loop_profile): Ditto. | |
6269 | (loopify): Ditto. | |
6270 | (duplicate_loop_to_header_edge): Ditto. | |
6271 | (lv_adjust_loop_entry_edge): Ditto. | |
6272 | * tree-vect-loop.c (vect_transform_loop): Ditto. | |
6273 | * profile.c (compute_branch_probabilities): Ditto. | |
6274 | * cfgbuild.c (compute_outgoing_frequencies): Ditto. | |
6275 | * lto-streamer-in.c (input_cfg): Ditto. | |
6276 | * gimple-streamer-in.c (input_bb): Ditto. | |
6277 | * ipa-cp.c (update_profiling_info): Ditto. | |
6278 | (update_specialized_profile): Ditto. | |
6279 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Ditto. | |
6280 | * cfg.c (update_bb_profile_for_threading): Add comment to suggest using | |
33159866 | 6281 | rounding methods. |
8ddb5a29 TJ |
6282 | * sched-rgn.c (compute_dom_prob_ps): Ditto. |
6283 | (compute_trg_info): Ditto. | |
6284 | * cfgrtl.c (force_nonfallthru_and_redirect): Ditto. | |
6285 | (purge_dead_edges): Ditto. | |
6286 | * loop-unswitch.c (unswitch_loop): Ditto. | |
6287 | * cgraphclones.c (cgraph_clone_edge): Ditto. | |
6288 | (cgraph_clone_node): Ditto. | |
6289 | * tree-inline.c (copy_bb): Ditto. | |
6290 | (copy_edges_for_bb): Ditto. | |
6291 | (initialize_cfun): Ditto. | |
6292 | (copy_cfg_body): Ditto. | |
6293 | (expand_call_inline): Ditto. | |
6294 | ||
661e6bd7 KT |
6295 | 2013-04-08 Kai Tietz <ktietz@redhat.com> |
6296 | ||
6297 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Replaced | |
6298 | TARGET_CYGWIN64 by TARGET_64BIT. | |
6299 | ||
105766f3 JR |
6300 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
6301 | ||
6302 | * config/epiphany/epiphany.md (GPR_1): New constant. | |
6303 | (define_expand "mov<mode>cc): FAIL if gen_compare_reg returned 0. | |
6304 | * config/epiphany/epiphany.c (gen_compare_reg): | |
6305 | For flag_finite_math_only, avoid swapping operands when r0 and/or r1 | |
6306 | is already in place. | |
6307 | Use GPR_0 / GPR_1 instead of 0/1 for r0/r1 register numbers. | |
6308 | Don't require being called during rtl expansion; If y operlaps r0, | |
6309 | return 0. | |
6310 | (epiphany_compute_frame_size, epiphany_expand_prologue): Use GPR_1. | |
6311 | (epiphany_expand_epilogue): Likewise. | |
6312 | ||
8afab237 JR |
6313 | * config/epiphany/epiphany.c (epiphany_select_cc_mode): |
6314 | Don't use CC_FPmode for ORDERED / UNORDERED. | |
33159866 | 6315 | * config/epiphany/epiphany.md (cmpsf_ord): Make pattern unconditional. |
8afab237 | 6316 | |
fa7707d6 JR |
6317 | * config/epiphany/constraints.md (CnL): New constraint. |
6318 | * config/epiphany/epiphany.md (addsi3_i): Add r/r/CnL alternative. | |
6319 | * config/epiphany/predicates.md (add_operand): Allow 1024. | |
6320 | ||
5138e18d JR |
6321 | * config/epiphany/epiphany.md (logical_op): New code iterator. |
6322 | (op_mnc): New code attribute. | |
6323 | (<op_mnc>_f, mov_f, cstoresi4): New patterns. | |
6324 | (mov_f+1, mov_f+2): New peephole2 patterns. | |
6325 | ||
2ccc703d JR |
6326 | * config/epiphany/epiphany.md (mov_f+2): New peephole2 pattern. |
6327 | (cstoresi4): Also allow re-use of zero result when doing a NE | |
6328 | comparison to a non-zero operand. | |
aefb0819 | 6329 | Use (clobber (scratch)) for first insn if the gpr output is not needed. |
2ccc703d | 6330 | |
093ac0a5 JR |
6331 | * config/epiphany/epiphany.md (<insn_opname>v2si3): |
6332 | Use gen_addsi3_i / gen_subsi3_i. | |
6333 | ||
f223bb13 JJ |
6334 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
6335 | ||
6336 | PR c++/34949 | |
6337 | PR c++/50243 | |
6338 | * tree-eh.c (optimize_clobbers): Only remove clobbers if bb doesn't | |
6339 | contain anything but clobbers, at most one __builtin_stack_restore, | |
6340 | optionally debug stmts and final resx, and if it has at least one | |
6341 | incoming EH edge. Don't check for SSA_NAME on LHS of a clobber. | |
6342 | (sink_clobbers): Don't check for SSA_NAME on LHS of a clobber. | |
6343 | Instead of moving clobbers with MEM_REF LHS with SSA_NAME address | |
6344 | which isn't defaut definition, remove them. | |
6345 | (unsplit_eh, cleanup_empty_eh): Use single_{pred,succ}_{p,edge} | |
6346 | instead of EDGE_COUNT comparisons or EDGE_{PRED,SUCC}. | |
6347 | * tree-ssa-ccp.c (execute_fold_all_builtins): Remove clobbers | |
6348 | with MEM_REF LHS with SSA_NAME address. | |
6349 | ||
4481581f JL |
6350 | 2013-04-08 Jeff Law <law@redhat.com> |
6351 | ||
6352 | * gimple.c (canonicalize_cond_expr_cond): Rewrite x ^ y into x != y. | |
a32dfe9d | 6353 | |
451dabda RB |
6354 | 2013-04-08 Richard Biener <rguenther@suse.de> |
6355 | ||
6356 | * gimple-pretty-print.c (debug_gimple_stmt): Do not print | |
6357 | extra newline. | |
6358 | * tree-vect-loop.c (vect_determine_vectorization_factor): Dump | |
6359 | determined vector type. | |
6360 | (vect_analyze_data_refs): Likewise. | |
6361 | (vect_get_new_vect_var): Adjust. | |
6362 | (vect_create_destination_var): Preserve SSA name versions. | |
6363 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Do | |
6364 | not dump anything here. | |
6365 | ||
3b088b47 JR |
6366 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
6367 | ||
6368 | * config/epiphany/epiphany.h (struct GTY (()) machine_function): | |
6369 | Add member lr_slot_known. | |
6370 | * config/epiphany/epiphany.md (reload_insi_ra): Compute lr_slot_offs | |
6371 | if necessary. | |
6372 | * config/epiphany/epiphany.c (epiphany_compute_frame_size): | |
6373 | Remove code that sets lr_slot_offset according to what a previous | |
6374 | version of epiphany_emit_save_restore used to do. | |
6375 | (epiphany_emit_save_restore): When doing an lr save or restore, | |
6376 | set/verify lr_slot_known and lr_slot_offset. | |
6377 | ||
d8484d41 XQ |
6378 | 2013-04-08 Xinyu Qi <xyqi@marvell.com> |
6379 | ||
33159866 UB |
6380 | PR target/54338 |
6381 | * config/arm/arm.h (REG_CLASS_CONTENTS): Include IWMMXT_GR_REGS | |
d8484d41 XQ |
6382 | in ALL_REGS. |
6383 | ||
481be1c4 RB |
6384 | 2013-04-08 Richard Biener <rguenther@suse.de> |
6385 | ||
6386 | * alias.c (find_base_term): Fix thinko in previous change. | |
6387 | ||
401f3a81 JJ |
6388 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
6389 | ||
6390 | * tree-loop-distribution.c (const_with_all_bytes_same): New function. | |
6391 | (generate_memset_builtin): Only handle integer_all_onesp as -1 val if | |
6392 | TYPE_PRECISION is equal to mode bitsize. Use const_with_all_bytes_same | |
6393 | if possible to compute val. | |
6394 | (classify_partition): Verify CONSTRUCTOR doesn't have any elts. | |
6395 | For QImode integers don't require anything about precision. Use | |
6396 | const_with_all_bytes_same to find out if the constant doesn't have | |
6397 | repeated bytes in it. | |
6398 | ||
03ed99a8 AK |
6399 | 2013-04-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6400 | ||
6401 | * config/s390/s390.c (s390_expand_insv): Only accept insertions | |
6402 | within mode size. | |
6403 | ||
781b2e62 MP |
6404 | 2013-04-08 Marek Polacek <polacek@redhat.com> |
6405 | ||
6406 | PR rtl-optimization/48182 | |
6407 | * params.def (PARAM_MIN_CROSSJUMP_INSNS): Increase the minimum | |
6408 | value to 1. | |
6409 | ||
27e430a2 JDA |
6410 | 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6411 | ||
6412 | PR target/55487 | |
6413 | * config/pa/pa.c (legitimize_pic_address): Before incrementing label | |
6414 | nuses, make sure we have a label. | |
6415 | ||
4902aa64 BS |
6416 | 2013-04-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
6417 | ||
6418 | PR target/56843 | |
6419 | * config/rs6000/rs6000.c (rs6000_emit_swdiv_high_precision): Remove. | |
6420 | (rs6000_emit_swdiv_low_precision): Remove. | |
6421 | (rs6000_emit_swdiv): Rewrite to handle between one and four | |
6422 | iterations of Newton-Raphson generally; modify required number of | |
6423 | iterations for some cases. | |
6424 | * config/rs6000/rs6000.h (RS6000_RECIP_HIGH_PRECISION_P): Remove. | |
6425 | ||
7bca81dc SB |
6426 | 2013-04-05 Steven Bosscher <steven@gcc.gnu.org> |
6427 | ||
6428 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove a | |
6429 | set-but-unused variable. | |
6430 | ||
6431 | * cgraph.c (cgraph_release_function_body): Clear cfun->cfg to make | |
6432 | basic blocks of released function bodies garbage-collectable. | |
6433 | ||
6434 | * ree.c (find_and_remove_re): Do not call df_finish_pass here. | |
6435 | (struct rtl_opt_pass): Add TODO_df_finish. | |
6436 | ||
6437 | * rtl.def (DEFINE_SUBST, DEFINE_SUBST_ATTR): Add documentation. | |
6438 | ||
4542a38a GY |
6439 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
6440 | ||
6441 | * config/arm/constraints.md (q): New constraint. | |
6442 | * config/arm/ldrdstrd.md: New file. | |
6443 | * config/arm/arm.md (ldrdstrd.md) New include. | |
6444 | (arm_movdi): Use "q" instead of "r" constraint | |
6445 | for double-word memory access. | |
6446 | (movdf_soft_insn): Likewise. | |
6447 | * config/arm/vfp.md (movdi_vfp): Likewise. | |
6448 | * config/arm/t-arm (MD_INCLUDES): Add ldrdstrd.md. | |
33159866 | 6449 | * config/arm/arm-protos.h (gen_operands_ldrd_strd): New declaration. |
4542a38a GY |
6450 | * config/arm/arm.c (gen_operands_ldrd_strd): New function. |
6451 | (mem_ok_for_ldrd_strd): Likewise. | |
6452 | (output_move_double): Update assertion. | |
6453 | ||
2385b218 GY |
6454 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
6455 | ||
6456 | * config/arm/arm.md: Comment on splitting Thumb1 patterns. | |
6457 | ||
75fe1cb5 GY |
6458 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
6459 | ||
6460 | * config/arm/arm.md (arm_smax_insn): Convert define_insn into | |
6461 | define_insn_and_split. | |
6462 | (arm_smin_insn,arm_umaxsi3,arm_uminsi3): Likewise. | |
6463 | ||
dd660e8e GY |
6464 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
6465 | ||
6466 | * config/arm/arm.md (arm_ashldi3_1bit): Convert define_insn into | |
6467 | define_insn_and_split. | |
33159866 | 6468 | (arm_ashrdi3_1bit,arm_lshrdi3_1bit): Likewise. |
dd660e8e GY |
6469 | (shiftsi3_compare): New pattern. |
6470 | (rrx): New pattern. | |
6471 | * config/arm/unspecs.md (UNSPEC_RRX): New. | |
6472 | ||
045e472c GY |
6473 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
6474 | ||
6475 | * config/arm/arm.md (negdi_extendsidi): New pattern. | |
6476 | (negdi_zero_extendsidi): Likewise. | |
6477 | ||
3f3bf1a8 GY |
6478 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
6479 | ||
6480 | * config/arm/arm.md (andsi_iorsi3_notsi): Convert define_insn into | |
6481 | define_insn_and_split. | |
6482 | (arm_negdi2,arm_abssi2,arm_neg_abssi2): Likewise. | |
6483 | (arm_cmpdi_insn,arm_cmpdi_unsigned): Likewise. | |
6484 | ||
b0b49556 GY |
6485 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
6486 | ||
6487 | * config/arm/arm.md (arm_subdi3): Convert define_insn into | |
6488 | define_insn_and_split. | |
6489 | (subdi_di_zesidi,subdi_di_sesidi): Likewise. | |
6490 | (subdi_zesidi_di,subdi_sesidi_di,subdi_zesidi_zesidi): Likewise. | |
6491 | ||
d633dd84 GY |
6492 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
6493 | ||
6494 | * config/arm/arm.md (subsi3_carryin): New pattern. | |
6495 | (subsi3_carryin_const): Likewise. | |
6496 | (subsi3_carryin_compare,subsi3_carryin_compare_const): Likewise. | |
6497 | (subsi3_carryin_shift,rsbsi3_carryin_shift): Likewise. | |
6498 | ||
f4499066 GY |
6499 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
6500 | ||
6501 | * config/arm/arm.md (incscc,arm_incscc,decscc,arm_decscc): Delete. | |
6502 | ||
ceef6fd9 GY |
6503 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
6504 | ||
6505 | * config/arm/arm.md (addsi3_carryin_<optab>): Set attribute predicable. | |
d633dd84 | 6506 | (addsi3_carryin_alt2_<optab>,addsi3_carryin_shift_<optab>): Likewise. |
ceef6fd9 | 6507 | |
ddbdd8a7 KT |
6508 | 2013-04-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
6509 | ||
6510 | * config/arm/arm.c (arm_expand_builtin): Change fcode | |
6511 | type to unsigned int. | |
6512 | ||
8456d78a RR |
6513 | 2013-04-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
6514 | ||
6515 | * doc/invoke.texi (ARM Options): Document cortex-a53 support. | |
6516 | ||
526c230f ILT |
6517 | 2013-04-04 Ian Lance Taylor <iant@google.com> |
6518 | ||
33159866 UB |
6519 | * doc/standards.texi (Standards): The Go frontend supports the Go 1 |
6520 | language standard. | |
526c230f | 6521 | |
3cfbe04d SB |
6522 | 2013-04-04 Steven Bosscher <steven@gcc.gnu.org> |
6523 | ||
6524 | PR middle-end/56729 | |
6525 | * df-scan.c (df_insn_delete): Disable failing assert. | |
6526 | ||
dfa3f8d0 KT |
6527 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
6528 | ||
6529 | * config/arm/arm-protos.h (arm_builtin_vectorized_function): | |
6530 | New function prototype. | |
6531 | * config/arm/arm.c (TARGET_VECTORIZE_BUILTINS): Define. | |
6532 | (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Likewise. | |
6533 | (arm_builtin_vectorized_function): New function. | |
6534 | ||
f7837758 KT |
6535 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
6536 | ||
6537 | * config/arm/arm_neon_builtins.def: New file. | |
6538 | * config/arm/arm.c (neon_builtin_data): Move contents to | |
6539 | arm_neon_builtins.def. | |
6540 | (enum arm_builtins): Include neon builtin definitions. | |
6541 | (ARM_BUILTIN_NEON_BASE): Move from enum to macro. | |
33159866 | 6542 | * config/arm/t-arm (arm.o): Add dependency on arm_neon_builtins.def. |
f7837758 | 6543 | |
39c1b6db MP |
6544 | 2013-04-04 Marek Polacek <polacek@redhat.com> |
6545 | ||
6546 | PR tree-optimization/48186 | |
6547 | * predict.c (maybe_hot_frequency_p): Return false if | |
6548 | HOT_BB_FREQUENCY_FRACTION is 0. | |
6549 | (cgraph_maybe_hot_edge_p): Likewise. | |
6550 | ||
314f64eb RB |
6551 | 2013-04-04 Richard Biener <rguenther@suse.de> |
6552 | ||
6553 | PR tree-optimization/56826 | |
6554 | * tree-vect-slp.c (vect_build_slp_tree): Compute ncopies | |
6555 | more accurately. | |
6556 | ||
51a905b2 RB |
6557 | 2013-04-04 Richard Biener <rguenther@suse.de> |
6558 | ||
6559 | PR tree-optimization/56213 | |
6560 | * tree-vect-data-refs.c (vect_check_strided_load): Remove. | |
33159866 | 6561 | (vect_analyze_data_refs): Allow all non-nested loads as strided loads. |
51a905b2 | 6562 | |
f1bf4f3a RB |
6563 | 2013-04-04 Richard Biener <rguenther@suse.de> |
6564 | ||
6565 | PR tree-optimization/56837 | |
6566 | * tree-loop-distribution.c (classify_partition): For non-zero | |
6567 | values require that the value has the same precision as its | |
6568 | mode to be useful as memset value. | |
6569 | ||
0bca7ded NC |
6570 | 2013-04-03 Nick Clifton <nickc@redhat.com> |
6571 | ||
33159866 | 6572 | * config/v850/v850e3v5.md (fmasf4): Use fmaf.s on E3V5 architectures. |
0bca7ded NC |
6573 | (fmssf4): Use fmsf.s on E3V5 architectures. |
6574 | (fnmasf4): Use fnmaf.s on E3V5 architectures. | |
6575 | (fnmssf4): Use fnmsf.s on E3V5 architectures. | |
6576 | ||
b4019227 JL |
6577 | 2013-04-03 Jeff Law <law@redhat.com> |
6578 | ||
6579 | * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H). | |
6580 | (lra-eliminations.o): Likewise. | |
6581 | ||
f57ddb5b TJ |
6582 | 2013-04-03 Teresa Johnson <tejohnson@google.com> |
6583 | ||
6584 | * gcov-io.c (compute_working_sets): Moved most of body of old | |
33159866 | 6585 | compute_working_sets here from profile.c. |
f57ddb5b | 6586 | * gcov-io.h (NUM_GCOV_WORKING_SETS): Moved here from profile.c. |
33159866 UB |
6587 | (gcov_working_set_t): Moved typedef here from basic-block.h |
6588 | (compute_working_set): Declare. | |
f57ddb5b TJ |
6589 | * profile.c (NUM_GCOV_WORKING_SETS): Moved to gcov-io.h. |
6590 | (get_working_sets): Renamed from compute_working_set, | |
33159866 | 6591 | replace most of body with call to new compute_working_sets. |
f57ddb5b | 6592 | (get_exec_counts): Replace call to compute_working_sets |
33159866 UB |
6593 | to get_working_sets. |
6594 | * profile.h (get_working_sets): Renamed from compute_working_set. | |
f57ddb5b | 6595 | * lto-cgraph.c (input_symtab): Replace call to compute_working_sets |
33159866 | 6596 | to get_working_sets. |
f57ddb5b TJ |
6597 | * basic-block.h (gcov_working_set_t): Moved to gcov-io.h. |
6598 | * gcov-dump.c (dump_working_sets): New function. | |
6599 | ||
5e0919f1 KZ |
6600 | 2013-04-03 Kenneth Zadeck <zadeck@naturalbridge.com> |
6601 | ||
6602 | * hwint.c (sext_hwi, zext_hwi): New functions. | |
6603 | * hwint.h (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT, | |
6604 | HOST_HALF_WIDE_INT_PRINT, HOST_HALF_WIDE_INT_PRINT_C, | |
6605 | HOST_HALF_WIDE_INT_PRINT_DEC, HOST_HALF_WIDE_INT_PRINT_DEC_C, | |
6606 | HOST_HALF_WIDE_INT_PRINT_UNSIGNED, HOST_HALF_WIDE_INT_PRINT_HEX, | |
6607 | HOST_HALF_WIDE_INT_PRINT_HEX_PURE): New symbols. | |
6608 | (sext_hwi, zext_hwi): New functions. | |
0bca7ded | 6609 | |
be672e08 JL |
6610 | 2013-04-03 Jeff Law <law@redhat.com> |
6611 | ||
6612 | PR tree-optimization/56799 | |
33159866 UB |
6613 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Bring |
6614 | back test for widening conversion erroneously dropped in prior change. | |
be672e08 | 6615 | |
9d821fa5 KT |
6616 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
6617 | ||
6618 | PR target/56809 | |
6619 | * config/aarch64/aarch64.c (is_jump_table): Use next_active_insn | |
6620 | instead of next_real_insn. | |
6621 | ||
71c581e7 MP |
6622 | 2013-04-03 Marek Polacek <polacek@redhat.com> |
6623 | ||
6624 | PR sanitizer/55702 | |
33159866 | 6625 | * tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN functions. |
71c581e7 | 6626 | |
4a32ef80 KT |
6627 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
6628 | ||
6629 | PR target/56809 | |
6630 | * config/arm/arm.c (is_jump_table): Use next_active_insn instead of | |
6631 | next_real_insn. | |
6632 | (thumb1_output_casesi): Likewise. | |
6633 | (thumb2_output_casesi): Likewise. | |
6634 | ||
1b2253d4 RB |
6635 | 2013-04-03 Richard Biener <rguenther@suse.de> |
6636 | ||
6637 | PR tree-optimization/56817 | |
6638 | * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): | |
6639 | Split out ... | |
6640 | (tree_unroll_loops_completely_1): ... new function to manually | |
6641 | walk the loop tree, properly defering outer loops of unrolled | |
6642 | loops to later iterations. | |
6643 | ||
38000232 MG |
6644 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
6645 | ||
6646 | * tree-vect-stmts.c (vectorizable_store): Accept BIT_FIELD_REF. | |
6647 | (vectorizable_load): Likewise. | |
6648 | * tree-vect-slp.c (vect_build_slp_tree): Likewise. | |
6649 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Handle VECTOR_TYPE. | |
6650 | ||
3fa35298 MG |
6651 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
6652 | ||
6653 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle | |
6654 | BIT_FIELD_REF. | |
6655 | ||
b3d45ff0 UW |
6656 | 2013-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
6657 | ||
6658 | * config/spu/spu.c (emit_nop_for_insn): Handle JUMP_TABLE_DATA. | |
6659 | ||
ec9202a8 BC |
6660 | 2013-04-03 Bin Cheng <bin.cheng@arm.com> |
6661 | ||
6662 | * rtl.h (AUTO_INC_DEC): Fix typo of HAVE_POST_MODIFY_DISP. | |
6663 | ||
6805bd36 MG |
6664 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
6665 | ||
6666 | PR tree-optimization/56790 | |
33159866 UB |
6667 | * fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Add constant |
6668 | folding. | |
6805bd36 | 6669 | |
da694a77 MG |
6670 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
6671 | ||
6672 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>: | |
6673 | Handle VEC_MERGE. | |
6674 | (simplify_ternary_operation) <VEC_MERGE>: Use unsigned HOST_WIDE_INT | |
6675 | for masks. Test for side effects. Handle nested VEC_MERGE. Handle | |
6676 | equal arguments. | |
6677 | ||
4e7d7b3d JJ |
6678 | 2013-04-03 Jakub Jelinek <jakub@redhat.com> |
6679 | ||
6680 | PR c/19449 | |
6681 | * tree.h (force_folding_builtin_constant_p): New decl. | |
6682 | * builtins.c (force_folding_builtin_constant_p): New variable. | |
6683 | (fold_builtin_constant_p): Fold immediately also if | |
6684 | force_folding_builtin_constant_p. | |
6685 | ||
e6c9d234 RB |
6686 | 2013-04-03 Richard Biener <rguenther@suse.de> |
6687 | ||
6688 | PR tree-optimization/56812 | |
6689 | * tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependence): | |
6690 | DRs of the same interleaving chain are independent. | |
6691 | ||
984d07dd JM |
6692 | 2013-04-02 Jason Merrill <jason@redhat.com> |
6693 | ||
6694 | * gdbinit.in (pbb): Use debug fn. | |
6695 | ||
622849c9 LC |
6696 | 2013-04-02 Lawrence Crowl <crowl@google.com> |
6697 | ||
6698 | * sese.h (struct ivtype_map_elt_s): Remove unused. | |
6699 | (extern debug_ivtype_map): Remove unused. | |
6700 | (extern eq_ivtype_map_elts): Remove unused. | |
6701 | * sese.c (debug_ivtype_map): Removed unused. | |
6702 | (debug_ivtype_map_1): Removed unused. | |
6703 | (debug_ivtype_elt): Remove unused. | |
6704 | (eq_ivtype_map_elts): Remove unused. | |
6705 | ||
6706 | ||
82c0e1a0 KT |
6707 | 2013-04-02 Kai Tietz <ktietz@redhat.com> |
6708 | ||
6709 | PR target/52790 | |
6710 | * config/i386/cygming.h (SUB_TARGET_RECORD_STUB): New sub-target macro. | |
6711 | * config/i386/i386-protos.h (i386_pe_record_stub): Add new prototype. | |
33159866 UB |
6712 | * config/i386/i386.c (legitimize_pe_coff_extern_decl): New static |
6713 | function. | |
82c0e1a0 KT |
6714 | (legitimize_pe_coff_symbol): Likewise. |
6715 | (is_imported_p): New helper-function. | |
6716 | (ix86_option_override_internal): Make MEDIUM_PIC the default code-model | |
6717 | for Windows x64 targets. | |
6718 | (ix86_expand_prologue): Optimize for pe-coff targets. | |
6719 | (ix86_expand_split_stack_prologue): Adjust for pe-coff targets. | |
6720 | (legitimate_pic_address_disp_p): Adjust for x64 pe-coff to support | |
6721 | medium/large code-model. | |
6722 | (legitimize_pic_address): Likewise. | |
6723 | (legitimize_tls_address): Likewise. | |
6724 | (ix86_expand_call): Likewise. | |
6725 | (x86_output_mi_thunk): Likewise. | |
6726 | (get_dllimport_decl): Add new beimport argument. | |
6727 | (construct_plt_address): Don't assert for x64 pe-coff targets. | |
6728 | * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Adjust for x64 pe-coff | |
6729 | targets. | |
6730 | (SYMBOL_FLAG_STUBVAR): New macro. | |
6731 | (SYMBOL_REF_STUBVAR_P): Likewise. | |
6732 | * config/i386/winnt.c (stub_list): New structure. | |
6733 | (stub_head): New local variable. | |
6734 | (i386_pe_record_stub): New function. | |
6735 | (i386_pe_file_end): Emit refptr-stubs. | |
6736 | ||
5d751b0c JJ |
6737 | 2013-04-02 Jakub Jelinek <jakub@redhat.com> |
6738 | ||
09bb4c99 JJ |
6739 | PR rtl-optimization/56745 |
6740 | * ifcvt.c (cond_exec_find_if_block): Don't try to optimize | |
6741 | if then_bb has no successors and else_bb is EXIT_BLOCK_PTR. | |
6742 | ||
a1d8947a JJ |
6743 | PR c++/34949 |
6744 | * tree-ssa-alias.c (stmt_kills_ref_p_1): If base != ref->base | |
6745 | and both of them are MEM_REFs, just compare first argument for | |
6746 | equality and attempt to deal even with differing offsets. | |
6747 | ||
5d751b0c JJ |
6748 | PR c++/34949 |
6749 | * tree-cfg.c (verify_gimple_assign_single): Allow lhs | |
6750 | of gimple_clobber_p to be MEM_REF. | |
6751 | * gimplify.c (gimplify_modify_expr): Gimplify *to_p of | |
6752 | an assignment from TREE_CLOBBER_P. Allow it to be MEM_REF | |
6753 | after gimplification. | |
6754 | * asan.c (get_mem_ref_of_assignment): Don't instrument | |
6755 | gimple_clobber_p stmts. | |
6756 | * tree-ssa-dse.c (dse_optimize_stmt): Allow DSE of | |
6757 | gimple_clobber_p stmt if they have MEM_REF lhs and | |
6758 | are dead because of another gimple_clobber_p stmt. | |
6759 | * tree-ssa-live.c (clear_unused_block_pointer): Treat | |
6760 | gimple_clobber_p stmts like debug stmts. | |
6761 | (remove_unused_locals): Remove clobbers with MEM_REF lhs | |
6762 | that refer to unused VAR_DECLs or uninitialized values. | |
6763 | * tree-sra.c (sra_ipa_reset_debug_stmts): Also remove | |
6764 | gimple_clobber_p stmts if they refer to removed parameters. | |
6765 | (get_repl_default_def_ssa_name, sra_ipa_modify_expr): Fix up | |
6766 | formatting. | |
6767 | ||
e594716a UB |
6768 | 2013-04-02 Uros Bizjak <ubizjak@gmail.com> |
6769 | ||
6770 | * config/i386/i386.md (*testqi_ext_3): Merge with *testqi_ext_3_rex64 | |
6771 | using SWI48 mode attribute. | |
6772 | ||
7a80735b WM |
6773 | 2013-04-02 Wei Mi <wmi@google.com> |
6774 | ||
6775 | * config/i386/i386.c (ix86_rtx_costs): Set proper rtx cost for | |
6776 | ashl<mode>3_mask, *<shift_insn><mode>3_mask and | |
6777 | *<rotate_insn><mode>3_mask in i386.md. | |
6778 | ||
f423a9e4 AI |
6779 | 2013-04-02 Alexander Ivchenko <alexander.ivchenko@intel.com> |
6780 | ||
6781 | * config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android. | |
6782 | ||
90eb75f2 RB |
6783 | 2013-04-02 Richard Biener <rguenther@suse.de> |
6784 | ||
6785 | PR tree-optimization/56778 | |
6786 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): | |
6787 | Runtime alias tests are not supported for gather loads. | |
6788 | * tree-vect-loop-manip.c (vect_loop_versioning): Insert | |
6789 | stmts referenced from SSA operands before updating SSA form. | |
6790 | ||
d8c69a92 IC |
6791 | 2013-04-02 Ian Caulfield <ian.caulfield@arm.com> |
6792 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
6793 | ||
6794 | * config/arm/arm-arches.def (armv8-a): Default to cortex-a53. | |
e594716a UB |
6795 | * config/arm/t-arm (MD_INCLUDES): Depend on cortex-a53.md. |
6796 | * config/arm/cortex-a53.md: New file. | |
6797 | * config/arm/bpabi.h (BE8_LINK_SPEC): Handle cortex-a53. | |
6798 | * config/arm/arm.md (generic_sched, generic_vfp): Handle cortex-a53. | |
6799 | * config/arm/arm.c (arm_issue_rate): Likewise. | |
6800 | * config/arm/arm-tune.md: Regenerate | |
6801 | * config/arm/arm-tables.opt: Regenerate. | |
6802 | * config/arm/arm-cores.def: Add cortex-a53. | |
d8c69a92 | 6803 | |
239eb04c ZC |
6804 | 2013-04-02 Zhenqiang Chen <zhenqiang.chen@arm.com> |
6805 | ||
6806 | * config/arm/uclinux-elf.h: Add %L to LINK_GCC_C_SEQUENCE_SPEC for | |
6807 | non-static link. | |
6808 | ||
c902d3c8 SN |
6809 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
6810 | ||
d8c69a92 IC |
6811 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add variants for |
6812 | scalar load/store operations using B/H registers. | |
c902d3c8 SN |
6813 | (*zero_extend<SHORT:mode><GPI:mode>2_aarch64): Likewise. |
6814 | ||
051d0e2f SN |
6815 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
6816 | ||
6817 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add alternatives for | |
6818 | scalar move. | |
6819 | * config/aarch64/aarch64.c | |
6820 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
6821 | * config/aarch64/aarch64-protos.h | |
6822 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
6823 | * config/aarch64/constraints.md (Dh, Dq): New. | |
6824 | * config/aarch64/iterators.md (hq): New. | |
6825 | ||
0ee1e3d9 EB |
6826 | 2013-04-02 Eric Botcazou <ebotcazou@adacore.com> |
6827 | ||
6828 | * reorg.c (get_branch_condition): Deal with conditional returns. | |
6829 | (fill_simple_delay_slots): Remove dead code dealing with jumps. | |
6830 | ||
136fb3f7 WM |
6831 | 2013-04-01 Wei Mi <wmi@google.com> |
6832 | ||
6833 | * config/i386/i386.md (*ashl<mode>3_mask): Rewrite as define_insn. | |
6834 | Truncate operand 2 using %b asm operand modifier. | |
6835 | (*<shift_insn><mode>3_mask): Ditto. | |
6836 | (*<rotate_insn><mode>3_mask): Ditto. | |
6837 | ||
6388c738 SB |
6838 | 2013-04-01 Steven Bosscher <steven@gcc.gnu.org> |
6839 | ||
6840 | PR middle-end/56798 | |
6841 | * cfgbuild.c (inside_basic_block_p): Restore check broken at r197234. | |
6842 | ||
f7a4d826 KK |
6843 | 2013-03-31 Kaz Kojima <kkojima@gcc.gnu.org> |
6844 | ||
6845 | * config/sh/sh.md (casesi_worker_1): Use next_active_insn instead | |
6846 | of next_real_insn. | |
6847 | (casesi_worker_2, casesi_shift_media, casesi_load_media): Likewise. | |
6848 | ||
4b943a49 LC |
6849 | 2013-03-30 Lawrence Crowl <crowl@google.com> |
6850 | ||
6851 | * dse.c (clear_alias_sets): Remove never set. | |
6852 | (disqualified_clear_alias_sets): Remove never set. | |
6853 | (clear_alias_mode_pool): Remove never set. | |
6854 | (dse_step0): Remove condition that is never true. | |
6855 | (canon_address): Remove condition that is never true. | |
6856 | (dse_step7): Remove condition that is never true. | |
6857 | (rest_of_handle_dse): Remove condition that is never true. | |
6858 | (rest_of_handle_dse::did_global): Remove never read from above. | |
6859 | (dse_step2_spill): Remove never called from above. | |
6860 | (dse_step5_spill): Remove never called from above. | |
6861 | ||
39718607 SB |
6862 | 2013-03-30 Steven Bosscher <steven@gcc.gnu.org> |
6863 | ||
da5c6bde SB |
6864 | * doc/md.texi (Standard Names) <casesi>: Update documentation for |
6865 | JUMP_TABLE_DATA changes. | |
6866 | * doc/tm.texi.in (Dispatch Tables) <ASM_OUTPUT_CASE_LABEL>: Likewise. | |
6867 | * doc/rtl.texi (Flags) <INSN_DELETED_P, SCHED_GROUP_P>: Likewise. | |
6868 | (Insns) <jump_table_data>: New entry. | |
6869 | * doc/tm.texi: Regenerate. | |
6870 | ||
39718607 SB |
6871 | * cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. |
6872 | ||
6873 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Correct test | |
6874 | for table jump at the end of a basic block using tablejump_p. | |
6875 | * targhooks.c (default_invalid_within_doloop): Likewise. | |
6876 | * config/rs6000/rs6000.c (TARGET_INVALID_WITHIN_DOLOOP): Remove | |
6877 | target hook implementation that is identical to the default hook. | |
6878 | (rs6000_invalid_within_doloop): Remove. | |
6879 | ||
6880 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove set but | |
6881 | unused variable from tablejump_p call. | |
6882 | ||
6883 | * rtl.def (JUMP_TABLE_DATA): New RTX_INSN object. | |
6884 | * rtl.h (RTX_PREV, RTX_NEXT): Adjust for new JUMP_TABLE_DATA. | |
6885 | (INSN_DELETED_P): Likewise. | |
6886 | (emit_jump_table_data): New prototype. | |
6887 | * gengtype.c (adjust_field_rtx_def): Handle JUMP_TABLE_DATA fields | |
6888 | after 4th as unused. | |
6889 | * print-rtl.c (print_rtl): Handle JUMP_TABLE_DATA. | |
6890 | * sched-vis.c (print_insn): Likewise. | |
6891 | * emit-rtl.c (active_insn_p): Consider JUMP_TABLE_DATA an active | |
6892 | insn for compatibility with back ends that use next_active_insn to | |
6893 | identify jump table data. | |
6894 | (set_insn_deleted): Remove no longer useful JUMP_TABLE_DATA_P check. | |
6895 | (remove_insn): Likewise. | |
6896 | (emit_insn): Do not accept JUMP_TABLE_DATA objects in insn chains | |
6897 | to be emitted. | |
6898 | (emit_debug_insn, emit_jump_insn, emit_call_insn, emit_label): Idem. | |
6899 | (emit_jump_table_data): New function. | |
6900 | ||
6901 | * cfgbuild.c (inside_basic_block_p): A JUMP_INSN is always inside a | |
6902 | basic block, a JUMP_TABLE_DATA never is. | |
6903 | (control_flow_insn_p): JUMP_TABLE_DATA is not a control flow insn. | |
6904 | * cfgrtl.c (duplicate_insn_chain): Split handling of JUMP_TABLE_DATA | |
6905 | off from code handling real insns. | |
6906 | * final.c (get_attr_length_1): Simplify for JUMP_INSNs. | |
6907 | * function.c (instantiate_virtual_regs): Remove JUMP_TABLE_DATA_P | |
6908 | test, now redundant because JUMP_TABLE_DATA is not an INSN_P insn. | |
6909 | * gcse.c (insert_insn_end_basic_block): Likewise, JUMP_TABLE_DATA_P | |
6910 | is not a NONDEBUG_INSN_P. | |
6911 | * ira-costs.c (scan_one_insn): Likewise. | |
6912 | * jump.c (mark_all_labels): Likewise. | |
6913 | (mark_jump_label_1): Likewise. | |
6914 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
6915 | * lra.c (get_insn_freq): Expect all insns reaching here to be in | |
6916 | a basic block. | |
6917 | (check_rtl): Remove JUMP_TABLE_DATA_P test, not a NONDEBUG_INSN_P insn. | |
6918 | * predict.c (expensive_function_p): Use FOR_BB_INSNS. | |
6919 | * reload1.c (calculate_needs_all_insns): Call set_label_offsets for | |
6920 | JUMP_TABLE_DATA_P insns. | |
6921 | (calculate_elim_costs_all_insns): Likewise. | |
6922 | (set_label_offsets): Recurse on the PATTERN of JUMP_TABLE_DATA insns. | |
6923 | (elimination_costs_in_insn): Remove redundant JUMP_TABLE_DATA_P test. | |
6924 | (delete_output_reload): Code style fixups. | |
6925 | * reorg.c (dbr_schedule): Move JUMP_TABLE_DATA_P up to avoid setting | |
6926 | insn flags on this non-insn. | |
6927 | * sched-rgn.c (add_branch_dependences): Treat JUMP_TABLE_DATA insns | |
6928 | as scheduling barriers, for pre-change compatibility. | |
6929 | * stmt.c (emit_case_dispatch_table): Emit jump table data not as | |
6930 | JUMP_INSN objects but instead as JUMP_TABLE_DATA objects. | |
6931 | ||
6932 | * config/alpha/alpha.c (alpha_does_function_need_gp): Remove | |
6933 | redundant JUMP_TABLE_DATA_P test. | |
6934 | * config/arm/arm.c (thumb_far_jump_used_p): Likewise. | |
6935 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
6936 | (frv_for_each_packet): Likewise. | |
6937 | * config/i386/i386.c (min_insn_size): Likewise. | |
6938 | (ix86_avoid_jump_mispredicts): Likewise. | |
6939 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
6940 | * config/mep/mep.c (mep_reorg_erepeat): Likewise. | |
6941 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
6942 | (mips16_insn_length): Robustify. | |
6943 | (mips_has_long_branch_p): Remove redundant JUMP_TABLE_DATA_P test. | |
6944 | (mips16_split_long_branches): Likewise. | |
6945 | * config/pa/pa.c (pa_combine_instructions): Likewise. | |
6946 | * config/rs6000/rs6000.c (get_next_active_insn): Treat | |
6947 | JUMP_TABLE_DATA objects as active insns, like in active_insn_p. | |
6948 | * config/s390/s390.c (s390_chunkify_start): Treat JUMP_TABLE_DATA | |
6949 | as contributing to pool range lengths. | |
6950 | * config/sh/sh.c (find_barrier): Restore check for ADDR_DIFF_VEC. | |
6951 | Remove redundant JUMP_TABLE_DATA_P test. | |
6952 | (sh_loop_align): Likewise. | |
6953 | (split_branches): Likewise. | |
6954 | (sh_insn_length_adjustment): Likewise. | |
6955 | * config/spu/spu.c (get_branch_target): Likewise. | |
6956 | ||
0208f7da JH |
6957 | 2013-03-29 Jan Hubicka <jh@suse.cz> |
6958 | ||
6959 | * lto-cgraph.c (output_profile_summary, input_profile_summary): Use | |
6960 | gcov streaming; stream hot bb threshold to ltrans. | |
6961 | * predict.c (get_hot_bb_threshold): Break out from .... | |
6962 | (maybe_hot_count_p): ... here. | |
6963 | (set_hot_bb_threshold): New function. | |
6964 | * lto-section-in.c (lto_section_name): Add profile. | |
6965 | * profile.h (get_hot_bb_threshold, set_hot_bb_threshold): Declare. | |
6966 | * ipa.c: Include hash-table.h, tree-inline.h, profile.h, lto-streamer.h | |
6967 | and data-streamer.h | |
6968 | (histogram_entry): New structure. | |
6969 | (histogram, histogram_pool): New global vars. | |
6970 | (histogram_hash): New structure. | |
6971 | (histogram_hash::hash): New method. | |
6972 | (histogram_hash::equal): Likewise. | |
6973 | (account_time_size): New function. | |
6974 | (cmp_counts): New function. | |
6975 | (dump_histogram): New function. | |
6976 | (ipa_profile_generate_summary): New function. | |
6977 | (ipa_profile_write_summary): New function. | |
6978 | (ipa_profile_read_summary): New function. | |
6979 | (ipa_profile): Decide on threshold. | |
e594716a UB |
6980 | (pass_ipa_profile): Add ipa_profile_write_summary and |
6981 | ipa_profile_read_summary. | |
0208f7da JH |
6982 | * Makefile.in (ipa.o): Update dependencies. |
6983 | * lto-streamer.h (LTO_section_ipa_profile): New section. | |
6984 | ||
5a6ccc94 GDR |
6985 | 2013-03-29 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6986 | ||
6987 | * tree.h (VAR_P): New. | |
6988 | ||
39385fa6 PC |
6989 | 2013-03-29 Paolo Carlini <paolo.carlini@oracle.com> |
6990 | ||
6991 | PR lto/56777 | |
6992 | * doc/invoke.texi ([-fwhole-program]): Fix typo. | |
6993 | ||
34f0d87a SB |
6994 | 2013-03-29 Steven Bosscher <steven@gcc.gnu.org> |
6995 | ||
6996 | * cfgbuild.c (inside_basic_block_p): Use JUMP_TABLE_DATA_P in lieu | |
6997 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
6998 | (control_flow_insn_p): Likewise. | |
6999 | * cfgrtl.c (duplicate_insn_chain): Likewise. | |
7000 | * final.c (get_attr_length_1): Likewise. | |
7001 | (shorten_branches): Likewise. | |
7002 | (final_scan_insn): Likewise. | |
7003 | * function.c (instantiate_virtual_regs): Likewise. | |
7004 | * gcse.c (insert_insn_end_basic_block): Likewise. | |
7005 | * ira-costs.c (scan_one_insn): Likewise. | |
7006 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
7007 | * lra.c (check_rtl): Likewise. | |
7008 | * reload1.c (elimination_costs_in_insn): Likewise. | |
7009 | * reorg.c (follow_jumps): Likewise. | |
7010 | ||
7011 | * config/arm/arm.c (is_jump_table): Use JUMP_TABLE_DATA_P in lieu | |
7012 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
7013 | (thumb_far_jump_used_p): Likewise. | |
7014 | * config/bfin/bfin.c (workaround_rts_anomaly): Likewise. | |
7015 | (workaround_speculation): Likewise. | |
7016 | (add_sched_insns_for_speculation): Likewise. | |
7017 | * config/c6x/c6x.c (reorg_emit_nops): Likewise. | |
7018 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
7019 | (frv_for_each_packet): Likewise. | |
7020 | * config/i386/i386.c (ix86_avoid_jump_mispredicts): Likewise. | |
7021 | * config/ia64/ia64.c (emit_all_insn_group_barriers): Likewise. | |
7022 | (final_emit_insn_group_barriers): Likewise. | |
7023 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
7024 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
7025 | (mips16_insn_length): Likewise. | |
7026 | * config/pa/pa.c (pa_reorg): Likewise. | |
7027 | (pa_combine_instructions): Likewise. | |
7028 | * config/rs6000/rs6000.c (rs6000_invalid_within_doloop): Likewise. | |
7029 | * config/sh/sh.c (fixup_addr_diff_vecs): Likewise. | |
7030 | (sh_reorg): Likewise. | |
7031 | (split_branches): Likewise. | |
7032 | * config/spu/spu.c (get_branch_target): Likewise. | |
7033 | ||
7034 | * config/s390/s390.c (s390_chunkify_start): Simplify logic using | |
7035 | JUMP_TABLE_DATA_P. | |
7036 | ||
4ac761b0 KY |
7037 | 2013-03-29 Kirill Yukhin <kirill.yukhin@intel.com> |
7038 | ||
39385fa6 | 7039 | * config/i386/avx2intrin.h (_mm256_broadcastsi128_si256): |
4ac761b0 KY |
7040 | Fix declaration name. |
7041 | ||
58a49189 LC |
7042 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
7043 | ||
7044 | * graphds.h (struct graph.indicies): Remove unused. | |
7045 | * graphite-poly.h (struct graph.original_pddrs): Remove unused. | |
7046 | (SCOP_ORIGINAL_PDDRS): Remove unused. | |
7047 | * sese.h (extern insert_loop_close_phis): Removed unused. | |
7048 | (extern insert_guard_phis): Removed unused. | |
7049 | (extern ivtype_map_elt_info): Removed unused. | |
7050 | (new_ivtype_map_elt): Removed unused. | |
7051 | * sese.c (ivtype_map_elt_info): Removed unused. | |
7052 | ||
7b3b6ae4 LC |
7053 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
7054 | ||
7055 | * Makefile.in: Add several missing include dependences. | |
7056 | (DUMPFILE_H): New. | |
7057 | (test-dump.o): New. This object is not added to any executable, | |
7058 | but is present for ad-hoc testing. | |
7059 | * bitmap.c | |
7060 | (debug (const bitmap_head_def &)): New. | |
7061 | (debug (const bitmap_head_def *)): New. | |
7062 | * bitmap.h | |
7063 | (extern debug (const bitmap_head_def &)): New. | |
7064 | (extern debug (const bitmap_head_def *)): New. | |
7065 | * cfg.c | |
7066 | (debug (edge_def &)): New. | |
7067 | (debug (edge_def *)): New. | |
7068 | * cfghooks.c | |
7069 | (debug (basic_block_def &)): New. | |
7070 | (debug (basic_block_def *)): New. | |
7071 | * dumpfile.h | |
7072 | (dump_node (const_tree, int, FILE *)): Correct source file. | |
7073 | * dwarf2out.c | |
7074 | (debug (die_struct &)): New. | |
7075 | (debug (die_struct *)): New. | |
7076 | * dwarf2out.h | |
7077 | (extern debug (die_struct &)): New. | |
7078 | (extern debug (die_struct *)): New. | |
7079 | * gimple-pretty-print.c | |
7080 | (debug (gimple_statement_d &)): New. | |
7081 | (debug (gimple_statement_d *)): New. | |
7082 | * gimple-pretty-print.h | |
7083 | (extern debug (gimple_statement_d &)): New. | |
7084 | (extern debug (gimple_statement_d *)): New. | |
7085 | * ira-build.c | |
7086 | (debug (ira_allocno_copy &)): New. | |
7087 | (debug (ira_allocno_copy *)): New. | |
7088 | (debug (ira_allocno &)): New. | |
7089 | (debug (ira_allocno *)): New. | |
7090 | * ira-int.h | |
7091 | (extern debug (ira_allocno_copy &)): New. | |
7092 | (extern debug (ira_allocno_copy *)): New. | |
7093 | (extern debug (ira_allocno &)): New. | |
7094 | (extern debug (ira_allocno *)): New. | |
7095 | * ira-lives.c | |
7096 | (debug (live_range &)): New. | |
7097 | (debug (live_range *)): New. | |
7098 | * lra-int.h | |
7099 | (debug (lra_live_range &)): New. | |
7100 | (debug (lra_live_range *)): New. | |
7101 | * lra-lives.c | |
7102 | (debug (lra_live_range &)): New. | |
7103 | (debug (lra_live_range *)): New. | |
7104 | * omega.c | |
7105 | (debug (omega_pb_d &)): New. | |
7106 | (debug (omega_pb_d *)): New. | |
7107 | * omega.h | |
7108 | (extern debug (omega_pb_d &)): New. | |
7109 | (extern debug (omega_pb_d *)): New. | |
7110 | * print-rtl.c | |
7111 | (debug (const rtx_def &)): New. | |
7112 | (debug (const rtx_def *)): New. | |
7113 | * print-tree.c | |
7114 | (debug_tree (tree): Move within file. | |
7115 | (debug_raw (const tree_node &)): New. | |
7116 | (debug_raw (const tree_node *)): New. | |
7117 | (dump_tree_via_hooks (const tree_node *, int)): New. | |
7118 | (debug (const tree_node &)): New. | |
7119 | (debug (const tree_node *)): New. | |
7120 | (debug_verbose (const tree_node &)): New. | |
7121 | (debug_verbose (const tree_node *)): New. | |
7122 | (debug_head (const tree_node &)): New. | |
7123 | (debug_head (const tree_node *)): New. | |
7124 | (debug_body (const tree_node &)): New. | |
7125 | (debug_body (const tree_node *)): New. | |
7126 | (debug_vec_tree (tree): Move and reimplement in terms of dump. | |
7127 | (debug (vec<tree, va_gc> &)): New. | |
7128 | (debug (vec<tree, va_gc> *)): New. | |
7129 | * rtl.h | |
7130 | (extern debug (const rtx_def &)): New. | |
7131 | (extern debug (const rtx_def *)): New. | |
7132 | * sbitmap.c | |
7133 | (debug_raw (simple_bitmap_def &)): New. | |
7134 | (debug_raw (simple_bitmap_def *)): New. | |
7135 | (debug (simple_bitmap_def &)): New. | |
7136 | (debug (simple_bitmap_def *)): New. | |
7137 | * sbitmap.h | |
7138 | (extern debug (simple_bitmap_def &)): New. | |
7139 | (extern debug (simple_bitmap_def *)): New. | |
7140 | (extern debug_raw (simple_bitmap_def &)): New. | |
7141 | (extern debug_raw (simple_bitmap_def *)): New. | |
7142 | * sel-sched-dump.c | |
7143 | (debug (vinsn_def &)): New. | |
7144 | (debug (vinsn_def *)): New. | |
7145 | (debug_verbose (vinsn_def &)): New. | |
7146 | (debug_verbose (vinsn_def *)): New. | |
7147 | (debug (expr_def &)): New. | |
7148 | (debug (expr_def *)): New. | |
7149 | (debug_verbose (expr_def &)): New. | |
7150 | (debug_verbose (expr_def *)): New. | |
7151 | (debug (vec<rtx> &)): New. | |
7152 | (debug (vec<rtx> *)): New. | |
7153 | * sel-sched-dump.h | |
7154 | (extern debug (vinsn_def &)): New. | |
7155 | (extern debug (vinsn_def *)): New. | |
7156 | (extern debug_verbose (vinsn_def &)): New. | |
7157 | (extern debug_verbose (vinsn_def *)): New. | |
7158 | (extern debug (expr_def &)): New. | |
7159 | (extern debug (expr_def *)): New. | |
7160 | (extern debug_verbose (expr_def &)): New. | |
7161 | (extern debug_verbose (expr_def *)): New. | |
7162 | (extern debug (vec<rtx> &)): New. | |
7163 | (extern debug (vec<rtx> *)): New. | |
7164 | * sel-sched-ir.h | |
7165 | (_list_iter_cond_expr): Make inline instead of static. | |
7166 | * sreal.c | |
7167 | (debug (sreal &)): New. | |
7168 | (debug (sreal *)): New. | |
7169 | * sreal.h | |
7170 | (extern debug (sreal &)): New. | |
7171 | (extern debug (sreal *)): New. | |
7172 | * tree.h | |
7173 | (extern debug_raw (const tree_node &)): New. | |
7174 | (extern debug_raw (const tree_node *)): New. | |
7175 | (extern debug (const tree_node &)): New. | |
7176 | (extern debug (const tree_node *)): New. | |
7177 | (extern debug_verbose (const tree_node &)): New. | |
7178 | (extern debug_verbose (const tree_node *)): New. | |
7179 | (extern debug_head (const tree_node &)): New. | |
7180 | (extern debug_head (const tree_node *)): New. | |
7181 | (extern debug_body (const tree_node &)): New. | |
7182 | (extern debug_body (const tree_node *)): New. | |
7183 | (extern debug (vec<tree, va_gc> &)): New. | |
7184 | (extern debug (vec<tree, va_gc> *)): New. | |
7185 | * tree-cfg.c | |
7186 | (debug (struct loop &)): New. | |
7187 | (debug (struct loop *)): New. | |
7188 | (debug_verbose (struct loop &)): New. | |
7189 | (debug_verbose (struct loop *)): New. | |
7190 | * tree-dump.c: Add header dependence. | |
7191 | * tree-flow.h | |
7192 | (extern debug (struct loop &)): New. | |
7193 | (extern debug (struct loop *)): New. | |
7194 | (extern debug_verbose (struct loop &)): New. | |
7195 | (extern debug_verbose (struct loop *)): New. | |
7196 | * tree-data-ref.c | |
7197 | (debug (data_reference &)): New. | |
7198 | (debug (data_reference *)): New. | |
7199 | (debug (vec<data_reference_p> &)): New. | |
7200 | (debug (vec<data_reference_p> *)): New. | |
7201 | (debug (vec<ddr_p> &)): New. | |
7202 | (debug (vec<ddr_p> *)): New. | |
7203 | * tree-data-ref.h | |
7204 | (extern debug (data_reference &)): New. | |
7205 | (extern debug (data_reference *)): New. | |
7206 | (extern debug (vec<data_reference_p> &)): New. | |
7207 | (extern debug (vec<data_reference_p> *)): New. | |
7208 | (extern debug (vec<ddr_p> &)): New. | |
7209 | (extern debug (vec<ddr_p> *)): New. | |
7210 | * tree-ssa-alias.c | |
7211 | (debug (pt_solution &)): New. | |
7212 | (debug (pt_solution *)): New. | |
7213 | * tree-ssa-alias.h | |
7214 | (extern debug (pt_solution &)): New. | |
7215 | (extern debug (pt_solution *)): New. | |
7216 | * tree-ssa-alias.c | |
7217 | (debug (_var_map &)): New. | |
7218 | (debug (_var_map *)): New. | |
7219 | (debug (tree_live_info_d &)): New. | |
7220 | (debug (tree_live_info_d *)): New. | |
7221 | * tree-ssa-alias.h | |
7222 | (extern debug (_var_map &)): New. | |
7223 | (extern debug (_var_map *)): New. | |
7224 | (extern debug (tree_live_info_d &)): New. | |
7225 | (extern debug (tree_live_info_d *)): New. | |
7226 | ||
be77e1e5 JH |
7227 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
7228 | ||
7229 | * lto-cgraph.c (merge_profile_summaries): Fix overflows. | |
7230 | ||
777e6976 IB |
7231 | 2013-03-28 Ian Bolton <ian.bolton@arm.com> |
7232 | ||
7233 | * config/aarch64/aarch64.md (aarch64_can_eliminate): Keep frame | |
7234 | record only when desired or required. | |
7235 | ||
9cd347ae UB |
7236 | 2013-03-28 Uros Bizjak <ubizjak@gmail.com> |
7237 | ||
7238 | * config/i386/i386.md (*vec_extract2vdi_1): Merge with | |
7239 | *vec_extractv2di_1_rex64. Use x64 isa attribute. | |
7240 | ||
33159866 | 7241 | 2013-03-28 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
2a1d1991 N |
7242 | |
7243 | * config/aarch64/aarch64.md (*and<mode>3_compare0): New pattern. | |
7244 | (*andsi3_compare0_uxtw): New pattern. | |
7245 | (*and_<SHIFT:optab><mode>3_compare0): New pattern. | |
7246 | (*and_<SHIFT:optab>si3_compare0_uxtw): New pattern. | |
7247 | ||
89ab31c1 JH |
7248 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
7249 | ||
7250 | * data-streamer-in.c (streamer_read_gcov_count): New function. | |
7251 | * gimple-streamer-out.c: Include value-prof.h. | |
7252 | (output_gimple_stmt): Output histogram. | |
7253 | (output_bb): Use streamer_write_gcov_count. | |
7254 | * value-prof.c: Include data-streamer.h | |
7255 | (dump_histogram_value): Add HIST_TYPE_MAX. | |
7256 | (stream_out_histogram_value): New function. | |
7257 | (stream_in_histogram_value): New function. | |
7258 | * value-prof.h (enum hist_type): Add HIST_TYPE_MAX. | |
7259 | (stream_out_histogram_value, stream_in_histogram_value): Declare. | |
7260 | * data-streamer-out.c (streamer_write_gcov_count): New function. | |
7261 | (streamer_write_gcov_count_stream): New function. | |
7262 | * lto-cgraph.c (lto_output_edge): Update counter streaming. | |
7263 | (lto_output_node): Likewise. | |
7264 | (input_node, input_edge): Likewise. | |
7265 | * lto-streamer-out.c (output_cfg): Update streaming. | |
7266 | * lto-streamer-in.c (input_cfg): Likewise. | |
7267 | * data-streamer.h (streamer_write_gcov_count, | |
7268 | streamer_write_gcov_count_stream, streamer_read_gcov_count): Declare. | |
7269 | * gimple-streamer-in.c: Include value-prof.h | |
7270 | (input_gimple_stmt): Input histograms. | |
7271 | (input_bb): Update profile streaming. | |
7272 | ||
e594716a | 7273 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
b4c73eed | 7274 | |
33159866 | 7275 | * genmodes.c (emit_max_int): New function. |
8697be17 | 7276 | (emit_insn_modes_h): Added call to emit_max_function. |
39385fa6 PC |
7277 | * doc/rtl.texi (MAX_BITSIZE_MODE_ANY_INT, MAX_BITSIZE_MODE_ANY_MODE): |
7278 | Added doc. | |
8697be17 | 7279 | * machmode.def: Fixed comment. |
89ab31c1 | 7280 | |
e594716a | 7281 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
8697be17 KZ |
7282 | |
7283 | * combine.c (try_combine): Removed useless assert. | |
b4c73eed KZ |
7284 | * cselib.c (rtx_equal_for_cselib_1): Removed unnecessary parens. |
7285 | ||
74946978 MP |
7286 | 2013-03-28 Marek Polacek <polacek@redhat.com> |
7287 | Richard Biener <rguenther@suse.de> | |
7288 | ||
7289 | PR tree-optimization/56695 | |
7290 | * tree-vect-stmts.c (vectorizable_condition): Unconditionally | |
7291 | build signed result of a vector comparison. | |
7292 | * tree-cfg.c (verify_gimple_comparison): Check that a result | |
7293 | of a vector comparison has signed type. | |
7294 | ||
a64b9c26 RB |
7295 | 2013-03-28 Richard Biener <rguenther@suse.de> |
7296 | ||
7297 | PR tree-optimization/37021 | |
7298 | * tree-vect-slp.c (vect_build_slp_tree): When not unrolling | |
7299 | do not restrict gaps between groups. | |
7300 | * tree-vect-stmts.c (vectorizable_load): Properly account for | |
7301 | a gap between groups. | |
7302 | ||
a9dc2a2f EB |
7303 | 2013-03-28 Eric Botcazou <ebotcazou@adacore.com> |
7304 | ||
7305 | * toplev.c (process_options): Do not disable -fomit-frame-pointer on a | |
7306 | general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS | |
7307 | is not enabled. | |
7308 | ||
53cb97f9 GP |
7309 | 2013-03-27 Gerald Pfeifer <gerald@pfeifer.com> |
7310 | ||
7311 | * doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual. | |
7312 | * doc/extend.texi (Named Address Spaces): Ditto. | |
7313 | (Variable Attributes): Ditto. | |
7314 | ||
b802ae5c KT |
7315 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
7316 | ||
eddae10a KT |
7317 | * config.build: Add support for cygwin x64 target. |
7318 | * config.gcc: Likewise. | |
7319 | * config.host: Likewise. | |
7320 | * configure.ac: Likewise | |
7321 | * configure: Regenerated. | |
b802ae5c | 7322 | |
8269de54 KT |
7323 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
7324 | ||
7325 | * config/i386/cygwin-stdint.h: Add support for cygwin x64 target. | |
7326 | * config/i386/t-cygwin-w64: New file. | |
7327 | * config/i386/cygwin-w64.h: New file. | |
7328 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Extend | |
7329 | and add support for x64-cygwin target. | |
7330 | (CPP_SPEC): Likewise. | |
7331 | (CXX_WRAP_SPEC_LIST): Undefine before define. | |
7332 | (LIBGCJ_SONAME): Use 15 as version. | |
7333 | ||
f49b33cb RB |
7334 | 2013-03-27 Richard Biener <rguenther@suse.de> |
7335 | ||
7336 | PR tree-optimization/56716 | |
7337 | * tree-ssa-structalias.c (perform_var_substitution): Adjust | |
7338 | dumping for ref nodes. | |
7339 | ||
b37a6ce5 MJ |
7340 | 2013-03-27 Martin Jambor <mjambor@suse.cz> |
7341 | ||
7342 | PR tree-optimization/55334 | |
7343 | * ipa-cp.c (initialize_node_lattices): Allow IPA-CP through and to | |
7344 | restricted pointers to arrays. | |
7345 | ||
9469b9b2 GDR |
7346 | 2013-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
7347 | ||
7348 | * Makefile.in (.SUFFIXES): Add .cc. | |
7349 | (.c.o): Apply same recipe for implicit rule .cc.o. | |
7350 | ||
7d24f650 RB |
7351 | 2013-03-27 Richard Biener <rguenther@suse.de> |
7352 | ||
7353 | PR tree-optimization/37021 | |
7354 | * tree-vect-data-refs.c (vect_check_strided_load): Allow | |
7355 | REALPART/IMAGPART_EXPRs around the supported refs. | |
7356 | * tree-ssa-structalias.c (find_func_aliases): Assume that | |
7357 | floating-point values are not used to transfer pointers. | |
7358 | ||
2f251a05 AI |
7359 | 2013-03-27 Alexander Ivchenko <alexander.ivchenko@intel.com> |
7360 | ||
39385fa6 PC |
7361 | * target.def (TARGET_HAS_IFUNC_P): New target hook. |
7362 | * doc/tm.texi.in (TARGET_HAS_IFUNC_P): New. | |
7363 | * doc/tm.texi: Regenerate. | |
7364 | * targhooks.h (default_has_ifunc_p): New. | |
7365 | * targhooks.c (default_has_ifunc_p): Ditto. | |
7366 | * config/linux-protos.h: New file. | |
7367 | * config/linux-android.h (TARGET_HAS_IFUNC_P): Using version of | |
2f251a05 AI |
7368 | this hook for linux which disables support of indirect functions in |
7369 | android. | |
39385fa6 PC |
7370 | * config/linux-android.c: New file. |
7371 | * config/t-linux-android.c: Ditto. | |
7372 | * config.gcc: Added new object file linux-android.o. | |
7373 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): | |
2f251a05 | 7374 | Using TARGET_HAS_IFUNC hook instead of HAVE_GNU_INDIRECT_FUNCTION. |
39385fa6 | 7375 | * varasm.c (do_assemble_alias): Likewise. |
2f251a05 AI |
7376 | * configure.ac: Define HAVE_GNU_INDIRECT_FUNCTION as zero if the target |
7377 | doesn't support indirect functions. | |
7378 | * configure: Regenerate. | |
7379 | ||
78b4e425 BC |
7380 | 2013-03-27 Bin Cheng <bin.cheng@arm.com> |
7381 | ||
7382 | PR target/56102 | |
7383 | * config/arm/arm.c (thumb1_rtx_costs, thumb1_size_rtx_costs): Fix | |
7384 | rtx costs for SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT patterns with | |
7385 | mult-word mode. | |
7386 | ||
a5ba7b92 AK |
7387 | 2013-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
7388 | ||
7389 | * config/s390/s390.h (TARGET_FLT_EVAL_METHOD): Define. | |
7390 | ||
be624986 TG |
7391 | 2013-03-27 Terry Guo <terry.guo@arm.com> |
7392 | ||
7393 | * config/arm/arm-cores.def: Added core cortex-r7. | |
7394 | * config/arm/arm-tune.md: Regenerated. | |
7395 | * config/arm/arm-tables.opt: Regenerated. | |
7396 | * doc/invoke.texi: Added entry for core cortex-r7. | |
7397 | ||
0a514f47 WL |
7398 | 2013-03-27 Walter Lee <walt@tilera.com> |
7399 | ||
7400 | * config/tilegx/tilegx.c (tilegx_expand_prologue): Avoid | |
7401 | double-decrement of next_scratch_regno. | |
7402 | ||
9332b0d2 WL |
7403 | 2013-03-27 Walter Lee <walt@tilera.com> |
7404 | ||
801d9b2a | 7405 | * config/tilegx/tilegx.md (insn_v1mulu): Fix predicates on |
9332b0d2 WL |
7406 | input operands. |
7407 | (insn_v1mulus): Ditto. | |
7408 | (insn_v2muls): Ditto. | |
7409 | ||
f54ea5dd WL |
7410 | 2013-03-27 Walter Lee <walt@tilera.com> |
7411 | ||
e594716a | 7412 | * config/tilegx/tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete extra tab. |
f54ea5dd WL |
7413 | (ASM_OUTPUT_ADDR_DIFF_ELT): Ditto. |
7414 | ||
bf60f4ca WL |
7415 | 2013-03-27 Walter Lee <walt@tilera.com> |
7416 | ||
e594716a | 7417 | * config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute for jr. |
bf60f4ca WL |
7418 | (*sibcall_value): Ditto. |
7419 | ||
e3b51eeb WL |
7420 | 2013-03-27 Walter Lee <walt@tilera.com> |
7421 | ||
7422 | * config/tilegx/tilegx.md (insn_mnz_<mode>): Replaced by ... | |
7423 | (insn_mnz_v8qi): ... this ... | |
7424 | (insn_mnz_v4hi): ... and this. Replace (const_int 0) with the | |
7425 | vector equivalent. | |
7426 | (insn_v<n>mnz): Replaced by ... | |
7427 | (insn_v1mnz): ... this ... | |
7428 | (insn_v2mnz): ... and this. Replace (const_int 0) with the vector | |
7429 | equivalent. | |
7430 | (insn_mz_<mode>): Replaced by ... | |
7431 | (insn_mz_v8qi): ... this ... | |
7432 | (insn_mz_v4hi): ... and this. Replace (const_int 0) with the | |
7433 | vector equivalent. | |
7434 | (insn_v<n>mz): Replaced by ... | |
7435 | (insn_v1mz): ... this ... | |
7436 | (insn_v2mz): ... and this. Replace (const_int 0) with the vector | |
7437 | equivalent. | |
7438 | ||
4fc7b145 EB |
7439 | 2013-03-26 Eric Botcazou <ebotcazou@adacore.com> |
7440 | ||
7441 | * doc/invoke.texi (SPARC options): Remove -mlittle-endian. | |
7442 | ||
6f33817e RM |
7443 | 2013-03-26 Roland McGrath <mcgrathr@google.com> |
7444 | ||
7445 | * config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather | |
7446 | than fprintf with a non-constant, non-format string. | |
7447 | ||
93a4145b UB |
7448 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
7449 | ||
7450 | * config/i386/i386.md (*cmpqi_ext_1): Merge with *cmpqi_ext_1_rex64 | |
7451 | using nox64 isa attribute. Use nonimmediate_x86nomem_operand as | |
7452 | operand 0 predicate. | |
7453 | (*cmpqi_ext_3): Merge with *cmpqi_ext_3_rex64 using nox64 isa | |
7454 | attribute. Use general_x64nomem_operand as operand 1 predicate. | |
7455 | (*movqi_extv_1): Merge with *movqi_extv_1_rex64 using nox64 isa | |
7456 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
7457 | (*movqi_extzv_2): Merge with *movqi_extzv_2_rex64 using nox64 isa | |
7458 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
7459 | (mov<mode>_insv_1): Remove expander. Merge insn with | |
7460 | movsi_insv_1 using SWI48 mode iterator and nox64 isa attribute. | |
7461 | Use general_x64nomem_operand as operand 1 predicate. | |
7462 | (addqi_ext_1): Merge with *addqi_ext_1_rex64 using nox64 isa attribute. | |
7463 | (*testqi_ext_1): Merge with *testqi_ext_1_rex64 using nox64 isa | |
7464 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
7465 | (*andqi_ext_1): Merge with *andqi_ext_1_rex64 using nox64 isa | |
7466 | attribute. Use nonimmediate_x64nomem_operand as operand 2 predicate. | |
7467 | (*<code>qi_ext_1): Merge with *<code>qi_ext_1_rex64 using nox64 isa | |
7468 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
7469 | (*xorqi_cc_ext_1): Merge with *xorqi_cc_ext_1_rex64 using nox64 | |
7470 | isa attribute. Use general_x64nomem_operand as operand 2 predicate. | |
7471 | * config/i386/predicates.md (nonimmediate_x64nomem_operand): New. | |
7472 | (general_x64nomem_operand): Ditto. | |
7473 | ||
c6a9ed5a | 7474 | 2013-03-26 Sebastian Huber <sebastian.huber@embedded-brains.de> |
df599020 SH |
7475 | |
7476 | * config/rtems.opt: Add -pthread option. | |
7477 | ||
31b0a960 RB |
7478 | 2013-03-26 Richard Biener <rguenther@suse.de> |
7479 | ||
93a4145b UB |
7480 | * alias.c (find_base_term): Avoid redundant and not used recursion. |
7481 | (base_alias_check): Get the initial base term from the caller. | |
31b0a960 RB |
7482 | (true_dependence_1): Compute and pass base terms to base_alias_check. |
7483 | (write_dependence_p): Likewise. | |
7484 | (may_alias_p): Likewise. | |
7485 | ||
79517551 SN |
7486 | 2013-03-26 Sofiane Naci <sofiane.naci@arm.com> |
7487 | ||
7488 | * config/aarch64/aarch64.c (aarch64_classify_address): Support | |
7489 | PC-relative load in SI modes and above only. | |
7490 | ||
a76213b9 XQ |
7491 | 2013-03-26 Xinyu Qi <xyqi@marvell.com> |
7492 | ||
7493 | * config/arm/arm.h (FIRST_IWMMXT_GR_REGNUM): Add comment. | |
33159866 UB |
7494 | * config/arm/iwmmxt.md (WCGR0): Update. |
7495 | (WCGR1, WCGR2, WCGR3): Likewise. | |
a76213b9 | 7496 | |
37ff9355 UB |
7497 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
7498 | ||
7499 | * config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64. | |
7500 | Use x64 and nox64 isa attributes. | |
7501 | ||
30b0317c RB |
7502 | 2013-03-26 Richard Biener <rguenther@suse.de> |
7503 | ||
7504 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove | |
7505 | alignment computations and rely on get_object_alignment_1 | |
7506 | for the !TYPE_P case. | |
7507 | Commonize DECL/COMPONENT_REF handling in the ARRAY_REF path. | |
7508 | ||
cbcdb140 WL |
7509 | 2013-03-26 Walter Lee <walt@tilera.com> |
7510 | ||
7511 | * config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define. | |
7512 | * config/tilegx/tilepro.h (PROFILE_BEFORE_PROLOGUE): Define. | |
7513 | ||
dd884525 | 7514 | 2013-03-25 Jeff Law <law@redhat.com> |
be672e08 | 7515 | |
33159866 UB |
7516 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing |
7517 | check for INTEGRAL_TYPE_P that was missing due to checking in | |
dd884525 JL |
7518 | wrong version of prior patch. |
7519 | ||
0051d3ec WL |
7520 | 2013-03-25 Walter Lee <walt@tilera.com> |
7521 | ||
7522 | * config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add | |
7523 | TILEGX_INSN_SHUFFLEBYTES1. | |
7524 | * config/tilegx/tilegx.c (tilegx_builtin_info): Add entry for | |
7525 | shufflebytes1. | |
7526 | (tilegx_builtins): Ditto. | |
7527 | * config/tilegx/tilegx.md (insn_shufflebytes1): New pattern. | |
7528 | ||
065a3605 WL |
7529 | 2013-03-25 Walter Lee <walt@tilera.com> |
7530 | ||
7531 | * config/tilegx/tilegx.md (floatsisf2): New pattern. | |
0051d3ec WL |
7532 | (floatunssisf2): New pattern. |
7533 | (floatsidf2): New pattern. | |
7534 | (floatunssidf2): New pattern. | |
065a3605 | 7535 | |
5b2a3c82 WL |
7536 | 2013-03-25 Walter Lee <walt@tilera.com> |
7537 | ||
7538 | * config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline | |
7539 | tests for constraint J, K, N, P. | |
7540 | ||
192ea533 WL |
7541 | 2013-03-25 Walter Lee <walt@tilera.com> |
7542 | ||
7543 | * config/tilegx/tilegx.c (tilegx_asm_preferred_eh_data_format): | |
7544 | Use indirect/pcrel encoding. | |
7545 | * config/tilepro/tilepro.c (tilepro_asm_preferred_eh_data_format): | |
7546 | Ditto. | |
7547 | ||
855e0d0b SE |
7548 | 2013-03-25 Steve Ellcey <sellcey@mips.com> |
7549 | ||
7550 | * config/mips/mmips-cpus.def (74kc, 74kf2_1, 74kf, 74kf, 74kf1_1, | |
7551 | 74kfx, 74kx, 74kf3_2): Add PTF_AVOID_IMADD. | |
7552 | * config/mips/mips.c (mips_option_override): Set IMADD default. | |
7553 | * config/mips/mips.h (PTF_AVOID_IMADD): New. | |
7554 | (ISA_HAS_MADD_MSUB): Remove MIPS16 check. | |
7555 | (GENERATE_MADD_MSUB): Remove TUNE_74K check, add MIPS16 check. | |
7556 | * config/mips/mips.md (mimadd): New flag for integer madd/msub. | |
7557 | * doc/invoke.texi (-mimadd/-mno-imadd): New. | |
7558 | ||
39e45653 JL |
7559 | 2013-03-25 Jeff Law <law@redhat.com> |
7560 | ||
7561 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Rework | |
7562 | slightly to avoid creating and folding useless trees. Simplify | |
7563 | slightly by restricting to INTEGER_CSTs and using int_fits_type_p. | |
7564 | ||
7482c470 UB |
7565 | 2013-03-25 Uros Bizjak <ubizjak@gmail.com> |
7566 | ||
7567 | * config/i386/i386.md (*zero_extendsidi2): Merge with | |
7568 | *zero_extendsidi2_rex64. Use x64 and nox64 isa attributes. | |
7569 | * config/i386/predicates.md (x86_64_zext_operand): Rename from | |
7570 | x86_64_zext_general_operand. Use nonimmediate_operand on 32bit | |
7571 | targets. Clarify comment. | |
7572 | ||
4a53743e MJ |
7573 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
7574 | ||
7575 | * ipa-prop.c (ipa_write_jump_function): Stream simple and aritmetic | |
7576 | pass-through jump functions differently. | |
7577 | (ipa_read_jump_function): Likewise. Also use setter functions to set | |
7578 | up jump functions. | |
7579 | ||
162712de MJ |
7580 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
7581 | ||
7582 | * ipa-cp.c (ipa_get_indirect_edge_target): Renamed to | |
7583 | ipa_get_indirect_edge_target_1, added parameter agg_reps and ability to | |
7584 | process it. | |
7585 | (ipa_get_indirect_edge_target): New function. | |
7586 | (devirtualization_time_bonus): New parameter known_aggs, pass it to | |
7587 | ipa_get_indirect_edge_target. Update all callers. | |
7588 | (ipcp_discover_new_direct_edges): New parameter aggvals. Pass it to | |
7589 | ipa_get_indirect_edge_target_1 instead of calling | |
7590 | ipa_get_indirect_edge_target. | |
7591 | (create_specialized_node): Pass aggvlas to | |
7592 | ipcp_discover_new_direct_edges. | |
7593 | ||
a5a4c20a KT |
7594 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
7595 | ||
7596 | * config/arm/arm.md (f_sels, f_seld): New types. | |
7597 | (*cmov<mode>): New pattern. | |
7598 | * config/arm/predicates.md (arm_vsel_comparison_operator): New | |
7599 | predicate. | |
7600 | ||
f992b9fc KT |
7601 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
7602 | ||
7603 | * config/i386/xm-mingw32.h (__USE_MINGW_ANSI_STDIO): Enable | |
7604 | POSIX-printf for mingw-hosted builds. | |
7605 | ||
c16fd676 RB |
7606 | 2013-03-25 Richard Biener <rguenther@suse.de> |
7607 | ||
7608 | PR middle-end/56694 | |
7609 | * tree-eh.c (lower_eh_must_not_throw): Strip BLOCKs from the | |
7610 | must-not-throw stmt location. | |
7611 | ||
5ad29f12 KT |
7612 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
7613 | ||
7614 | * config/arm/arm.c (arm_emit_load_exclusive): Add acq parameter. | |
7615 | Emit load-acquire versions when acq is true. | |
7616 | (arm_emit_store_exclusive): Add rel parameter. | |
7617 | Emit store-release versions when rel is true. | |
7618 | (arm_split_compare_and_swap): Use acquire-release instructions | |
7619 | instead. | |
7620 | of barriers when appropriate. | |
7621 | (arm_split_atomic_op): Likewise. | |
7622 | * config/arm/arm.h (TARGET_HAVE_LDACQ): New macro. | |
7623 | * config/arm/unspecs.md (VUNSPEC_LAX): New unspec. | |
7624 | (VUNSPEC_SLX): Likewise. | |
7625 | (VUNSPEC_LDA): Likewise. | |
7626 | (VUNSPEC_STL): Likewise. | |
7627 | * config/arm/sync.md (atomic_load<mode>): New pattern. | |
7628 | (atomic_store<mode>): Likewise. | |
7629 | (arm_load_acquire_exclusive<mode>): Likewise. | |
7630 | (arm_load_acquire_exclusivesi): Likewise. | |
7631 | (arm_load_acquire_exclusivedi): Likewise. | |
7632 | (arm_store_release_exclusive<mode>): Likewise. | |
7633 | ||
03a7dddb CM |
7634 | 2013-03-25 Catherine Moore <clm@codesourcery.com> |
7635 | ||
7636 | * config/mips/constraints.md (u, Udb7 Uead, Uean, Uesp, Uib3, | |
7637 | Uuw6, Usb4, ZS, ZT, ZU, ZV, ZW): New constraints. | |
7638 | * config/mip/predicates.md (lwsp_swsp_operand, | |
7639 | lw16_sw16_operand, lhu16_sh16_operand, lbu16_operand, | |
7640 | sb16_operand, db4_operand, db7_operand, ib3_operand, | |
7641 | sb4_operand, ub4_operand, uh4_operand, uw4_operand, | |
7642 | uw5_operand, uw6_operand, addiur2_operand, addiusp_operand, | |
7643 | andi16_operand): New predicates. | |
7644 | * config/mips/mips.md (compression): New attribute. | |
7645 | (enabled): New attribute. | |
7646 | (length): Consider compression in computing length. | |
7647 | (shift_compression): New code attribute. | |
7648 | (*add<mode>3): New operands. Record compression. | |
7649 | (sub<mode>3): Likewise. | |
7650 | (one_cmpl<mode>2): Likewise. | |
7651 | (*and<mode>3): Likewise. | |
7652 | (*ior<mode>3): Likewise. | |
7653 | (unnamed pattern for xor): Likewise. | |
7654 | (*zero_extend<SHORT:mode><GPR:mode>2): Likewise. | |
7655 | (*<optab><mode>3): Likewise. | |
7656 | (*mov<mode>_internal: Likewise. | |
7657 | * config/mips/mips-protos.h (mips_signed_immediate_p): New. | |
7658 | (mips_unsigned_immediate_p): New. | |
7659 | (umips_lwsp_swsp_address_p): New. | |
7660 | (m16_based_address_p): New. | |
7661 | * config/mips/mips-protos.h (mips_signed_immediate_p): New prototype. | |
7662 | (mips_unsigned_immediate_p): New prototype. | |
7663 | (lwsp_swsp_address_p): New prototype. | |
7664 | (m16_based_address_p): New prototype. | |
7665 | * config/mips/mips.c (mips_unsigned_immediate_p): New function. | |
7666 | (mips_signed_immediate_p): New function. | |
7667 | (m16_based_address_p): New function. | |
7668 | (lwsp_swsp_address_p): New function. | |
7669 | (mips_print_operand_punctuation): Recognize short delay slot insns | |
7670 | for microMIPS.add<mode>3" | |
7671 | ||
f35c297f | 7672 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
a5784ce6 | 7673 | |
f35c297f KT |
7674 | PR target/56720 |
7675 | * config/arm/iterators.md (v_cmp_result): New mode attribute. | |
7676 | * config/arm/neon.md (vcond<mode><mode>): Handle unordered cases. | |
7677 | ||
051b9446 RB |
7678 | 2013-03-25 Richard Biener <rguenther@suse.de> |
7679 | ||
7680 | PR tree-optimization/56689 | |
7681 | * tree-vrp.c (execute_vrp): Mark loops for fixup if we removed | |
7682 | any edge. | |
7683 | ||
374001cb RB |
7684 | 2013-03-25 Richard Biener <rguenther@suse.de> |
7685 | ||
7686 | * tree-ssa-loop-im.c (struct mem_ref): Use bitmap_head instead | |
7687 | of bitmap. | |
7688 | (memory_references): Likewise. | |
7689 | (outermost_indep_loop, mem_ref_alloc, mark_ref_stored, | |
7690 | gather_mem_refs_stmt, record_dep_loop, ref_indep_loop_p_1, | |
7691 | ref_indep_loop_p_2, find_refs_for_sm): Adjust. | |
7692 | (gather_mem_refs_in_loops): Fold into ... | |
7693 | (analyze_memory_references): ... this. Move initialization | |
7694 | to tree_ssa_lim_initialize. | |
7695 | (fill_always_executed_in): Rename to ... | |
7696 | (fill_always_executed_in_1): ... this. | |
7697 | (fill_always_executed_in): Move contains_call computation to | |
7698 | this new function from ... | |
7699 | (tree_ssa_lim_initialize): ... here. | |
7700 | (tree_ssa_lim): Call fill_always_executed_in. | |
7701 | ||
57895947 EB |
7702 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
7703 | ||
7704 | * postreload.c (reload_combine): Fix code detecting returns. | |
7705 | ||
1e1b18c1 EB |
7706 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
7707 | ||
7708 | * function.c (emit_use_return_register_into_block): On cc0 targets, | |
7709 | do not emit the sequence between cc0 setter and user. | |
7710 | ||
9216baf1 KT |
7711 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
7712 | ||
1e1b18c1 EB |
7713 | * config/i386/predicates.md (local_symbolic_operand): Interpret |
7714 | dll-imported symbols as none-local. | |
9216baf1 | 7715 | |
76421b44 RB |
7716 | 2013-03-25 Richard Biener <rguenther@suse.de> |
7717 | ||
7718 | * tree-ssa-loop-im.c (struct depend): Remove. | |
7719 | (struct lim_aux_data): Make depends a vec of gimples. | |
7720 | (free_lim_aux_data): Adjust. | |
7721 | (add_dependency): Likewise. | |
7722 | (set_level): Likewise. | |
7723 | ||
d154bfa2 RB |
7724 | 2013-03-25 Richard Biener <rguenther@suse.de> |
7725 | ||
7726 | PR middle-end/56434 | |
7727 | * calls.c (expand_call): Use MALLOC_ABI_ALIGNMENT to annotate | |
7728 | the pointer returned by calls with ECF_MALLOC set. | |
7729 | ||
2cd9804e UB |
7730 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> |
7731 | ||
acef5fe0 UB |
7732 | * config/i386/mmx.md (mov<mode>): Add ?!Ym,r and r,?!Ym alternatives. |
7733 | ||
7734 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> | |
7735 | ||
7736 | * config/i386/mmx.md (mov<mode>): Merge with movv2sf expander | |
2cd9804e UB |
7737 | using MMXMODE mode iterator. |
7738 | (*move<mode>_internal): Merge with *movv2sf_internal and | |
7739 | *movv2sf_internal_rex64 using MMXMODE mode iterator. | |
7740 | ||
225ccc68 SB |
7741 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
7742 | ||
85c0f02d SB |
7743 | * gcse.c (oprs_unchanged_p): Respect flag_gcse_lm. |
7744 | (record_last_mem_set_info): Likewise. | |
7745 | ||
225ccc68 SB |
7746 | * df-core.c (rest_of_handle_df_initialize): Use XCNEWVEC instead |
7747 | of XNEWVEC followed by memset. | |
7748 | (df_worklist_dataflow): Use XNEWVEC instead of xmalloc with a cast. | |
7749 | ||
b64925dc SB |
7750 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
7751 | ||
7752 | * config/avr/avr.c, config/bfin/bfin.c, config/c6x/c6x.c, | |
7753 | config/epiphany/epiphany.c, config/frv/frv.c, config/ia64/ia64.c, | |
7754 | config/iq2000/iq2000.c, config/mcore/mcore.c, config/mep/mep.c, | |
7755 | config/mmix/mmix.c, config/pa/pa.c, config/rs6000/rs6000.c, | |
7756 | config/s390/s390.c, config/sparc/sparc.c, config/spu/spu.c, | |
7757 | config/stormy16/stormy16.c, config/v850/v850.c, config/xtensa/xtensa.c, | |
7758 | dwarf2out.c, hw-doloop.c, resource.c, rtl.h : Where applicable, use | |
7759 | the predicates NOTE_P, NONJUMP_INSN_P, JUMP_P, CALL_P, LABEL_P, and | |
7760 | BARRIER_P instead of GET_CODE. | |
7761 | ||
b9aaf52e EB |
7762 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
7763 | ||
7764 | * config/sparc/sparc.c (sparc_emit_probe_stack_range): Fix small | |
7765 | inaccuracy in the probing code. | |
7766 | ||
7767 | * config/sparc/sparc.md (ctrapsi4): Add predicate for operand #3. | |
7768 | (ctrapdi4): Likewise. | |
7769 | ||
66de4d7c EB |
7770 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
7771 | ||
7772 | * calls.c (expand_call): Add missing guard to code handling return | |
7773 | of non-BLKmode structures in MSB. | |
7774 | * function.c (expand_function_end): Likewise. | |
7775 | ||
4f25c8fb EB |
7776 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
7777 | ||
7778 | * combine.c (try_combine): Adjust comment. Do not add the set of | |
7779 | insn #0 if the destination indirectly is set or dies in insn #2. | |
7780 | Tidy up code to distribute a new note. | |
7781 | ||
23b7850d UB |
7782 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
7783 | ||
7784 | * config/i386/i386.md (*movdi_internal): Set prefix_rex attribute | |
7785 | also for alternatives 16 and 17. | |
7786 | ||
bed852cf UB |
7787 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
7788 | ||
7789 | * config/i386/sse.md (*mov<mode>_internal): Merge with | |
7790 | *mov<mode>_internal_rex64. Use x64 and nox64 isa attributes. | |
7791 | Emit insn template depending on type attribute. Use | |
7792 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
7793 | movd instead of movq mnemonic for interunit moves. Rewrite mode | |
7794 | attribute calculation. Remove unit attribute calculation. | |
7795 | Set prefix attribute to maybe_vex for sselog1 and ssemov types. | |
7796 | Set prefix_data16 attribute for DImode ssemov types. | |
7797 | Use Ym instead of y for SSE-MMX conversion alternatives. | |
7798 | Reorder operand constraints. | |
7799 | ||
1e8a7937 SB |
7800 | 2013-03-22 Steven Bosscher <steven@gcc.gnu.org> |
7801 | ||
7802 | * df.h (df_insn_delete): Adjust prototype. | |
7803 | * emit-rtl.c (remove_insn): Pass a basic block to df_insn_delete | |
7804 | and let it decide whether mark the basic block dirty. | |
7805 | (set_insn_deleted): Only pass INSN_P insns to df_insn_delete. | |
7806 | * df-scan.c (df_insn_info_delete): New helper function, split | |
7807 | off from df_insn_delete. | |
7808 | (df_scan_free_bb_info): Use it. | |
7809 | (df_insn_rescan, df_insn_rescan_all, df_process_deferred_rescans): | |
7810 | Likewise. | |
7811 | (df_insn_delete): Likewise. Take insn rtx as argument. Verify | |
7812 | that the insn is actually an insn and it has a non-NULL basic block. | |
7813 | Do not mark basic block dirty if only deleting a DEBUG_INSN. | |
7814 | ||
e14d094c RB |
7815 | 2013-03-22 Richard Biener <rguenther@suse.de> |
7816 | ||
7817 | * tree-ssa-loop-im.c (struct mem_ref): Remove indep_ref and | |
7818 | dep_ref members. | |
7819 | (mem_ref_alloc): Do not allocate them. | |
7820 | (refs_independent_p): Do not query or maintain a cache. | |
7821 | ||
e9cf7316 RB |
7822 | 2013-03-22 Richard Biener <rguenther@suse.de> |
7823 | ||
7824 | * tree-ssa-loop-im.c (memory_references): Drop all_refs_in_loop. | |
7825 | (gather_mem_refs_in_loops): Do not compute it. | |
7826 | (analyze_memory_references): Do not allocate it. | |
7827 | (tree_ssa_lim_finalize): Do not free it. | |
7828 | (for_all_locs_in_loop): Do not query all_refs_in_loop. | |
7829 | ||
f046e81b RB |
7830 | 2013-03-22 Richard Biener <rguenther@suse.de> |
7831 | ||
7832 | * is-a.h (as_a): Use gcc_checking_assert. | |
bed852cf | 7833 | |
a05c0ddf IB |
7834 | 2013-03-22 Ian Bolton <ian.bolton@arm.com> |
7835 | ||
7836 | * config/aarch64/aarch64.c (aarch64_print_operand): New | |
7837 | format specifier for printing a constant in hex. | |
7838 | * config/aarch64/aarch64.md (insv_imm<mode>): Use the X | |
7839 | format specifier for printing second operand. | |
7840 | ||
c00217fc RB |
7841 | 2013-03-22 Richard Biener <rguenther@suse.de> |
7842 | ||
7843 | * tree-ssa-loop-im.c (memory_references): Add refs_stored_in_loop | |
7844 | bitmaps. | |
7845 | (gather_mem_refs_in_loops): Perform store accumulation here. | |
7846 | (create_vop_ref_mapping_loop): Remove. | |
7847 | (create_vop_ref_mapping): Likewise. | |
7848 | (analyze_memory_references): Initialize refs_stored_in_loop. | |
bed852cf | 7849 | (LOOP_DEP_BIT): New define to map to bits in (in)dep_loop bitmaps. |
c00217fc RB |
7850 | (record_indep_loop): Remove. |
7851 | (record_dep_loop): New function. | |
7852 | (ref_indep_loop_p_1): Adjust to only walk over references | |
7853 | in the loop, not its subloops. | |
7854 | (ref_indep_loop_p): Rename to ... | |
7855 | (ref_indep_loop_p_2): ... this and recurse over the loop tree, | |
7856 | maintaining a more fine-grained cache. | |
7857 | (ref_indep_loop_p): Wrap ref_indep_loop_p_2. | |
7858 | (tree_ssa_lim_finalize): Free refs_stored_in_loop. | |
7859 | ||
15d19bf8 RB |
7860 | 2013-03-22 Richard Biener <rguenther@suse.de> |
7861 | ||
7862 | * tree-ssa-loop-im.c (struct mem_ref_locs): Remove. | |
7863 | (struct mem_ref): Make accesses_in_loop a vec of a vec of | |
7864 | aggregate mem_ref_loc. | |
7865 | (free_mem_ref_locs): Inline into ... | |
7866 | (memref_free): ... this and adjust. | |
7867 | (mem_ref_alloc): Adjust. | |
7868 | (mem_ref_locs_alloc): Remove. | |
7869 | (record_mem_ref_loc): Adjust. | |
7870 | (get_all_locs_in_loop): Rewrite into ... | |
7871 | (for_all_locs_in_loop): ... this iterator. | |
7872 | (rewrite_mem_ref_loc): New functor. | |
7873 | (rewrite_mem_refs): Use for_all_locs_in_loop. | |
7874 | (sm_set_flag_if_changed): New functor. | |
7875 | (execute_sm_if_changed_flag_set): Use for_all_locs_in_loop. | |
7876 | (ref_always_accessed): New functor. | |
7877 | (ref_always_accessed_p): Use for_all_locs_in_loop. | |
7878 | ||
6f37411d MG |
7879 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
7880 | ||
7881 | * tree-pass.h (PROP_gimple_lvec): New. | |
7882 | * passes.c (dump_properties): Handle PROP_gimple_lvec. | |
7883 | (init_optimization_passes): Move pass_lower_vector. | |
7884 | * tree-vect-generic.c (gate_expand_vector_operations_ssa): Test | |
7885 | PROP_gimple_lvec. | |
7886 | (pass_lower_vector): Provide PROP_gimple_lvec. | |
7887 | (pass_lower_vector_ssa): Likewise. | |
7888 | * cfgexpand.c (pass_expand): Require PROP_gimple_lvec. | |
7889 | ||
511ef689 MW |
7890 | 2013-03-21 Mark Wielaard <mjw@redhat.com> |
7891 | ||
7892 | * dwarf2out.c (size_of_aranges): Skip DECL_IGNORED_P functions. | |
7893 | ||
cc1df30b UB |
7894 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
7895 | ||
7896 | * config/i386/i386.md (*movdi_internal): Disparage slightly | |
7897 | all MMX moves to/from memory. Use Yi instead of x for SSE-MMX | |
7898 | conversion alternatives. | |
7899 | ||
c845cfe1 JJ |
7900 | 2013-03-21 Jakub Jelinek <jakub@redhat.com> |
7901 | ||
37e99116 JJ |
7902 | PR middle-end/48087 |
7903 | * diagnostic.def (DK_WERROR): New kind. | |
7904 | * diagnostic.h (werrorcount): Define. | |
7905 | * diagnostic.c (diagnostic_report_diagnostic): For DK_WARNING | |
7906 | promoted to DK_ERROR, increment DK_WERROR counter instead of | |
7907 | DK_ERROR counter. | |
7908 | * toplev.c (toplev_main): Call print_ignored_options even if | |
7909 | just werrorcount is non-zero. Exit with FATAL_EXIT_CODE | |
7910 | even if just werrorcount is non-zero. | |
7911 | ||
c845cfe1 JJ |
7912 | PR debug/55608 |
7913 | * dwarf2out.c (tree_add_const_value_attribute): Call ggc_free (array) | |
7914 | on failure. | |
7915 | (resolve_one_addr): Fail if referenced STRING_CST hasn't been written. | |
7916 | (string_cst_pool_decl): New function. | |
7917 | (optimize_one_addr_into_implicit_ptr): New function. | |
7918 | (resolve_addr_in_expr): Optimize DWARF location expression | |
7919 | DW_OP_addr DW_OP_stack_value where DW_OP_addr refers to some variable | |
7920 | which doesn't live in memory, but has DW_AT_location or | |
7921 | DW_AT_const_value, or refers to a string literal, into | |
7922 | DW_OP_GNU_implicit_pointer. | |
7923 | (optimize_location_into_implicit_ptr): New function. | |
7924 | (resolve_addr): If removing DW_AT_location of a variable because | |
7925 | it was DW_OP_addr of address of the variable, but the variable doesn't | |
7926 | live in memory, try to emit const value attribute for the initializer. | |
7927 | ||
08e0cda6 MG |
7928 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
7929 | ||
7930 | * tree.h (VECTOR_TYPE_P): New macro. | |
7931 | (VECTOR_INTEGER_TYPE_P, VECTOR_FLOAT_TYPE_P, FLOAT_TYPE_P, | |
7932 | TYPE_MODE): Use it. | |
7933 | * fold-const.c (fold_cond_expr_with_comparison): Use build_zero_cst. | |
7934 | VEC_COND_EXPR cannot be lvalues. | |
7935 | (fold_ternary_loc) <VEC_COND_EXPR>: Merge with the COND_EXPR case. | |
7936 | ||
d08633b4 MG |
7937 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
7938 | ||
7939 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_CONCAT>: | |
7940 | Restrict the transformation to equal modes. | |
7941 | ||
e6647190 RB |
7942 | 2013-03-21 Richard Biener <rguenther@suse.de> |
7943 | ||
7944 | PR tree-optimization/39326 | |
7945 | * tree-ssa-loop-im.c (UNANALYZABLE_MEM_ID): New define. | |
7946 | (MEM_ANALYZABLE): Adjust. | |
7947 | (record_mem_ref_loc): Move bitmap ops ... | |
7948 | (gather_mem_refs_stmt): ... here. Use the shared mem-ref for | |
7949 | unanalyzable refs, do not record locations for it. | |
7950 | (analyze_memory_references): Allocate ref zero as shared | |
7951 | unanalyzable ref. | |
7952 | (refs_independent_p): Do not test for unanalyzed mems here. | |
7953 | (ref_indep_loop_p_1): Special-case disambiguation against | |
7954 | the unanalyzed ref. | |
cc1df30b | 7955 | (ref_indep_loop_p): Assert we are not queried for the unanalyzed mem. |
e6647190 | 7956 | |
65074f54 CL |
7957 | 2013-03-21 Christophe Lyon <christophe.lyon@linaro.org> |
7958 | ||
7959 | * config/arm/arm-protos.h (tune_params): Add | |
7960 | prefer_neon_for_64bits field. | |
7961 | * config/arm/arm.c (prefer_neon_for_64bits): New variable. | |
7962 | (arm_slowmul_tune): Default prefer_neon_for_64bits to false. | |
7963 | (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto. | |
7964 | (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto. | |
7965 | (arm_cortex_a15_tune, arm_cortex_a5_tune): Ditto. | |
7966 | (arm_cortex_a9_tune, arm_v6m_tune, arm_fa726te_tune): Ditto. | |
7967 | (arm_option_override): Handle -mneon-for-64bits new option. | |
7968 | * config/arm/arm.h (TARGET_PREFER_NEON_64BITS): New macro. | |
7969 | (prefer_neon_for_64bits): Declare new variable. | |
7970 | * config/arm/arm.md (arch): Rename neon_onlya8 and neon_nota8 to | |
cc1df30b | 7971 | avoid_neon_for_64bits and neon_for_64bits. Remove onlya8 and nota8. |
65074f54 CL |
7972 | (arch_enabled): Handle new arch types. Remove support for onlya8 |
7973 | and nota8. | |
7974 | (one_cmpldi2): Use new arch names. | |
bc5faa5b | 7975 | (zero_extend<mode>di2, extend<mode>di2): Ditto. |
65074f54 CL |
7976 | * config/arm/arm.opt (mneon-for-64bits): Add option. |
7977 | * config/arm/neon.md (adddi3_neon, subdi3_neon, iordi3_neon) | |
7978 | (anddi3_neon, xordi3_neon, ashldi3_neon, <shift>di3_neon): Use | |
7979 | neon_for_64bits instead of nota8 and avoid_neon_for_64bits instead | |
7980 | of onlya8. | |
7981 | * doc/invoke.texi (-mneon-for-64bits): Document. | |
7982 | ||
5a2d2a79 RB |
7983 | 2013-03-21 Richard Biener <rguenther@suse.de> |
7984 | ||
7985 | PR tree-optimization/39326 | |
7986 | * tree-ssa-loop-im.c (bb_loop_postorder): New global static. | |
7987 | (sort_bbs_in_loop_postorder_cmp): New function. | |
cc1df30b | 7988 | (gather_mem_refs_in_loops): Assign mem-ref IDs in loop postorder. |
5a2d2a79 | 7989 | |
5abe1e05 RB |
7990 | 2013-03-21 Richard Biener <rguenther@suse.de> |
7991 | ||
7992 | * tree-vect-data-refs.c (vect_update_interleaving_chain): Remove. | |
7993 | (vect_insert_into_interleaving_chain): Likewise. | |
7994 | (vect_drs_dependent_in_basic_block): Inline ... | |
7995 | (vect_slp_analyze_data_ref_dependence): ... here. New function, | |
7996 | split out from ... | |
7997 | (vect_analyze_data_ref_dependence): ... here. Simplify. | |
7998 | (vect_check_interleaving): Simplify. | |
7999 | (vect_analyze_data_ref_dependences): Likewise. Split out ... | |
8000 | (vect_slp_analyze_data_ref_dependences): ... this new function. | |
8001 | (dr_group_sort_cmp): New function. | |
8002 | (vect_analyze_data_ref_accesses): Compute data-reference groups | |
8003 | here instead of in vect_analyze_data_ref_dependence. Use | |
8004 | a more efficient algorithm. | |
8005 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Use | |
8006 | vect_slp_analyze_data_ref_dependences. Call | |
8007 | vect_analyze_data_ref_accesses earlier. | |
8008 | * tree-vect-loop.c (vect_analyze_loop_2): Likewise. | |
8009 | * tree-vectorizer.h (vect_analyze_data_ref_dependences): Adjust. | |
8010 | (vect_slp_analyze_data_ref_dependences): New prototype. | |
8011 | ||
cad1735b RB |
8012 | 2013-03-21 Richard Biener <rguenther@suse.de> |
8013 | ||
8014 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not test whether | |
8015 | ref is stored in the loop. | |
8016 | (find_refs_for_sm): Walk only over all stores. | |
8017 | (store_motion_loop): Allocate from lim_bitmap_obstack. | |
8018 | (store_motion): Likewise. | |
8019 | ||
141310ef RB |
8020 | 2013-03-21 Richard Biener <rguenther@suse.de> |
8021 | ||
8022 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): | |
8023 | Update virtual SSA form. | |
8024 | ||
5022315a RO |
8025 | 2013-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8026 | ||
8027 | * configure.ac (gcc_cv_ld_eh_frame_ciev3): New test. | |
8028 | * configure: Regenerate. | |
8029 | * config.in: Regenerate. | |
8030 | * config/sol2.c (solaris_override_options): Only enforce DWARF 2 | |
8031 | if !HAVE_LD_EH_FRAME_CIEV3. | |
8032 | ||
50d4421c RB |
8033 | 2013-03-21 Richard Biener <rguenther@suse.de> |
8034 | ||
8035 | * tree-cfg.c (verify_expr_no_block): New function. | |
8036 | (verify_expr_location_1): Verify that neither DECL_DEBUG_EXPR | |
8037 | nor DECL_VALUE_EXPR have locations with associated blocks. | |
8038 | * tree-ssa-live.c (clear_unused_block_pointer_1): Remove. | |
8039 | (clear_unused_block_pointer): Remove code dealing with | |
8040 | blocks in DECL_DEBUG_EXPR locations. | |
8041 | ||
839b422f RB |
8042 | 2013-03-21 Richard Biener <rguenther@suse.de> |
8043 | ||
8044 | * tree.h (DECL_DEBUG_EXPR_IS_FROM): Rename to ... | |
8045 | (DECL_HAS_DEBUG_EXPR_P): ... this. Guard properly. | |
8046 | * tree.c (copy_node_stat): Do not copy DECL_HAS_DEBUG_EXPR_P. | |
8047 | * dwarf2out.c (add_var_loc_to_decl): Use DECL_HAS_DEBUG_EXPR_P | |
8048 | instead of DECL_DEBUG_EXPR_IS_FROM. | |
8049 | * gimplify.c (gimplify_modify_expr): Likewise. | |
8050 | * tree-cfg.c (verify_expr_location_1): Likewise. | |
8051 | * tree-complex.c (create_one_component_var): Likewise. | |
8052 | * tree-sra.c (create_access_replacement): Likewise. | |
8053 | * tree-ssa-live.c (clear_unused_block_pointer_1): Likewise. | |
8054 | (clear_unused_block_pointer): Likewise. | |
8055 | * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise. | |
8056 | * tree-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. | |
8057 | * var-tracking.c (var_debug_decl): Likewise. | |
8058 | (track_expr_p): Likewise. | |
8059 | * tree-inline.c (add_local_variables): Likewise. Set | |
8060 | DECL_HAS_DEBUG_EXPR_P after copying it. | |
8061 | * tree-diagnostic.c (default_tree_printer): Use DECL_HAS_DEBUG_EXPR_P | |
8062 | instead of DECL_DEBUG_EXPR_IS_FROM. Guard properly. | |
8063 | ||
fe04878d UB |
8064 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
8065 | ||
8066 | PR bootstrap/56656 | |
8067 | * configure.ac (HAVE_AS_IX86_INTERUNIT_MOVQ): New test. | |
8068 | * configure: Regenerate. | |
8069 | * config.in: Regenerate. | |
8070 | * config/i386/i386.md (*movdf_internal): Use | |
8071 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
8072 | movd instead of movq mnemonic for interunit moves. | |
8073 | (*movdi_internal): Ditto. | |
8074 | ||
bd059b26 | 8075 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
fa2e9a58 N |
8076 | |
8077 | * config/aarch64/aarch64-simd.md (simd_fabd): New Attribute. | |
8078 | (abd<mode>_3): New pattern. | |
8079 | (aba<mode>_3): New pattern. | |
8080 | (fabd<mode>_3): New pattern. | |
8081 | ||
bd059b26 | 8082 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
50ce6f88 N |
8083 | |
8084 | * config/aarch64/aarch64-elf.h (REGISTER_PREFIX): Remove. | |
8085 | * config/aarch64/aarch64.c (aarch64_print_operand): Remove all | |
8086 | occurrence of REGISTER_PREFIX as its empty string. | |
8087 | ||
4f1f78b9 JL |
8088 | 2013-03-20 Jeff Law <law@redhat.com> |
8089 | ||
8090 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Record | |
8091 | addititional equivalences for equality comparisons between an SSA_NAME | |
8092 | and a constant where the SSA_NAME was set from a widening conversion. | |
8093 | ||
327a1118 WL |
8094 | 2013-03-20 Walter Lee <walt@tilera.com> |
8095 | ||
8096 | * config/tilegx/sync.md (atomic_test_and_set): New pattern. | |
8097 | ||
813e0036 UB |
8098 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
8099 | ||
8100 | * config/i386/i386.md (*movoi_internal_avx): Emit insn template | |
8101 | depending on type attribute. | |
8102 | (*movti_internal): Ditto. | |
8103 | (*movtf_internal): Ditto. | |
8104 | (*movxf_internal): Ditto. | |
8105 | (*movdf_internal): Ditto. | |
8106 | (*movsf_internal): Ditto. | |
8107 | ||
7cf34aae UB |
8108 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
8109 | ||
8110 | * config/i386/i386.md (*movti_internal): Set prefix attribute to | |
8111 | maybe_vex for sselog1 and ssemov types. | |
8112 | (*movdi_internal): Reorder operand constraints. | |
8113 | (*movsi_internal): Ditto. Set prefix attribute to | |
8114 | maybe_vex for sselog1 and ssemov types. | |
8115 | (*movtf_internal): Set prefix attribute to maybe_vex | |
8116 | for sselog1 and ssemov types. | |
8117 | (*movdf_internal): Ditto. Set prefix_data16 attribute for | |
8118 | DImode ssemov types. Reorder operand constraints. | |
8119 | (*movsf_internal): Set type of alternatives 3,4 to imov. Set prefix | |
8120 | attribute to maybe_vex for sselog1 and ssemov types. Set prefix_data16 | |
8121 | attribute for SImode ssemov types. Reorder operand constraints. | |
8122 | ||
19321415 MJ |
8123 | 2013-03-20 Martin Jambor <mjambor@suse.cz> |
8124 | ||
8125 | * params.def (PARAM_IPA_CP_ARRAY_INDEX_HINT_BONUS): New parameter. | |
8126 | * ipa-cp.c (hint_time_bonus): Add abonus for known array indices. | |
8127 | ||
c6d5ff83 MM |
8128 | 2013-03-20 Pat Haugen <pthaugen@us.ibm.com> |
8129 | ||
8130 | * config/rs6000/predicates.md (indexed_address, update_address_mem | |
8131 | update_indexed_address_mem): New predicates. | |
8132 | * config/rs6000/vsx.md (vsx_extract_<mode>_zero): Set correct "type" | |
8133 | attribute for load/store instructions. | |
8134 | * config/rs6000/dfp.md (movsd_store): Likewise. | |
8135 | (movsd_load): Likewise. | |
8136 | * config/rs6000/rs6000.md (zero_extend<mode>di2_internal1): Likewise. | |
8137 | (unnamed HI->DI extend define_insn): Likewise. | |
8138 | (unnamed SI->DI extend define_insn): Likewise. | |
8139 | (unnamed QI->SI extend define_insn): Likewise. | |
8140 | (unnamed QI->HI extend define_insn): Likewise. | |
8141 | (unnamed HI->SI extend define_insn): Likewise. | |
8142 | (unnamed HI->SI extend define_insn): Likewise. | |
8143 | (extendsfdf2_fpr): Likewise. | |
8144 | (movsi_internal1): Likewise. | |
8145 | (movsi_internal1_single): Likewise. | |
8146 | (movhi_internal): Likewise. | |
8147 | (movqi_internal): Likewise. | |
8148 | (movcc_internal1): Correct mnemonic for stw insn. Set correct "type" | |
8149 | attribute for load/store instructions. | |
8150 | (mov<mode>_hardfloat): Set correct "type" attribute for load/store | |
8151 | instructions. | |
8152 | (mov<mode>_softfloat): Likewise. | |
8153 | (mov<mode>_hardfloat32): Likewise. | |
8154 | (mov<mode>_hardfloat64): Likewise. | |
8155 | (mov<mode>_softfloat64): Likewise. | |
8156 | (movdi_internal32): Likewise. | |
8157 | (movdi_internal64): Likewise. | |
8158 | (probe_stack_<mode>): Likewise. | |
8159 | ||
8160 | 2013-03-20 Michael Meissner <meissner@linux.vnet.ibm.com> | |
8161 | ||
8162 | * config/rs6000/vector.md (VEC_R): Add 32-bit integer, binary | |
8163 | floating point, and decimal floating point to reload iterator. | |
8164 | ||
8165 | * config/rs6000/constraints.md (wl constraint): New constraints to | |
8166 | return FLOAT_REGS if certain options are used to reduce the number | |
8167 | of separate patterns that exist in the file. | |
8168 | (wx constraint): Likewise. | |
8169 | (wz constraint): Likewise. | |
8170 | ||
8171 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
8172 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
8173 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
8174 | Initialize the reload functions for 64-bit binary/decimal floating | |
8175 | point types. | |
8176 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
8177 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
8178 | create the buffer on the stack to overcome not having a 32-bit | |
8179 | load and store. | |
8180 | (rs6000_emit_move): Likewise. | |
8181 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
8182 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
8183 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
8184 | via xxlxor, just like DFmode 0.0. | |
8185 | ||
8186 | * config/rs6000/rs6000.h (TARGET_NO_SDMODE_STACK): New macro, | |
8187 | define as 1 if we are running on a power7 or newer. | |
8188 | (enum r6000_reg_class_enum): Add new constraints. | |
8189 | ||
8190 | * config/rs6000/dfp.md (movsd): Delete, combine with binary | |
8191 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
8192 | with other moves by using conditional constraits (wg). Use LFIWZX | |
bd059b26 | 8193 | and STFIWX for loading SDmode on power7. Use xxlxor to create 0.0f. |
c6d5ff83 MM |
8194 | (movsd splitter): Likewise. |
8195 | (movsd_hardfloat): Likewise. | |
8196 | (movsd_softfloat): Likewise. | |
8197 | ||
8198 | * config/rs6000/rs6000.md (FMOVE32): New iterators to combine | |
8199 | binary and decimal floating point moves. | |
8200 | (fmove_ok): New attributes to combine binary and decimal floating | |
8201 | point moves, and to combine power6x (mfpgpr) moves along normal | |
8202 | floating moves. | |
8203 | (real_value_to_target): Likewise. | |
8204 | (f32_lr): Likewise. | |
8205 | (f32_lm): Likewise. | |
8206 | (f32_li): Likewise. | |
8207 | (f32_sr): Likewise. | |
8208 | (f32_sm): Likewise. | |
8209 | (f32_si): Likewise. | |
8210 | (movsf): Combine binary and decimal floating point moves. Combine | |
8211 | power6x (mfpgpr) moves with other moves by using conditional | |
bd059b26 | 8212 | constraits (wg). Use LFIWZX and STFIWX for loading SDmode on power7. |
c6d5ff83 MM |
8213 | (mov<mode> for SFmode/SDmode); Likewise. |
8214 | (SFmode/SDmode splitters): Likewise. | |
8215 | (movsf_hardfloat): Likewise. | |
8216 | (mov<mode>_hardfloat for SFmode/SDmode): Likewise. | |
8217 | (movsf_softfloat): Likewise. | |
8218 | (mov<mode>_softfloat for SFmode/SDmode): Likewise. | |
8219 | ||
8220 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wl, | |
8221 | wx and wz constraints. | |
8222 | ||
8223 | * config/rs6000/constraints.md (wg constraint): New constraint to | |
8224 | return FLOAT_REGS if -mmfpgpr (power6x) was used. | |
8225 | ||
8226 | * config/rs6000/rs6000.h (enum r6000_reg_class_enum): Add wg | |
8227 | constraint. | |
8228 | ||
8229 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
8230 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
8231 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
8232 | Initialize the reload functions for 64-bit binary/decimal floating | |
8233 | point types. | |
8234 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
8235 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
8236 | create the buffer on the stack to overcome not having a 32-bit | |
8237 | load and store. | |
8238 | (rs6000_emit_move): Likewise. | |
8239 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
8240 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
8241 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
8242 | via xxlxor, just like DFmode 0.0. | |
8243 | ||
c6d5ff83 MM |
8244 | * config/rs6000/dfp.md (movdd): Delete, combine with binary |
8245 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
8246 | with other moves by using conditional constraits (wg). Use LFIWZX | |
8247 | and STFIWX for loading SDmode on power7. | |
8248 | (movdd splitters): Likewise. | |
8249 | (movdd_hardfloat32): Likewise. | |
8250 | (movdd_softfloat32): Likewise. | |
8251 | (movdd_hardfloat64_mfpgpr): Likewise. | |
8252 | (movdd_hardfloat64): Likewise. | |
8253 | (movdd_softfloat64): Likewise. | |
8254 | ||
8255 | * config/rs6000/rs6000.md (FMOVE64): New iterators to combine | |
8256 | 64-bit binary and decimal floating point moves. | |
8257 | (FMOVE64X): Likewise. | |
8258 | (movdf): Combine 64-bit binary and decimal floating point moves. | |
8259 | Combine power6x (mfpgpr) moves with other moves by using | |
8260 | conditional constraits (wg). | |
8261 | (mov<mode> for DFmode/DDmode): Likewise. | |
8262 | (DFmode/DDmode splitters): Likewise. | |
8263 | (movdf_hardfloat32): Likewise. | |
8264 | (mov<mode>_hardfloat32 for DFmode/DDmode): Likewise. | |
8265 | (movdf_softfloat32): Likewise. | |
8266 | (movdf_hardfloat64_mfpgpr): Likewise. | |
8267 | (movdf_hardfloat64): Likewise. | |
8268 | (mov<mode>_hardfloat64 for DFmode/DDmode): Likewise. | |
8269 | (movdf_softfloat64): Likewise. | |
8270 | (mov<mode>_softfloat64 for DFmode/DDmode): Likewise. | |
8271 | (reload_<mode>_load): Move to later in the file so they aren't in | |
8272 | the middle of the floating point move insns. | |
8273 | (reload_<mode>_store): Likewise. | |
8274 | ||
8275 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wg | |
8276 | constraint. | |
8277 | ||
8278 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print out wg | |
8279 | constraint if -mdebug=reg. | |
bd059b26 UB |
8280 | (rs6000_initi_hard_regno_mode_ok): Enable wg constraint if -mfpgpr. |
8281 | Enable using dd reload support if needed. | |
c6d5ff83 MM |
8282 | |
8283 | * config/rs6000/dfp.md (movtd): Delete, combine with 128-bit | |
8284 | binary and decimal floating point moves in rs6000.md. | |
8285 | (movtd_internal): Likewise. | |
8286 | ||
8287 | * config/rs6000/rs6000.md (FMOVE128): Combine 128-bit binary and | |
8288 | decimal floating point moves. | |
8289 | (movtf): Likewise. | |
8290 | (movtf_internal): Likewise. | |
8291 | (mov<mode>_internal, TDmode/TFmode): Likewise. | |
8292 | (movtf_softfloat): Likewise. | |
8293 | (mov<mode>_softfloat, TDmode/TFmode): Likewise. | |
8294 | ||
8295 | * config/rs6000/rs6000.md (movdi_mfpgpr): Delete, combine with | |
8296 | movdi_internal64, using wg constraint for move direct operations. | |
8297 | (movdi_internal64): Likewise. | |
8298 | ||
8299 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print | |
8300 | MODES_TIEABLE_P for selected modes. Print the numerical value of | |
8301 | the various virtual registers. Use GPR/FPR first/last values, | |
8302 | instead of hard coding the register numbers. Print which modes | |
8303 | have reload functions registered. | |
bd059b26 UB |
8304 | (rs6000_option_override_internal): If -mdebug=reg, trace the options |
8305 | settings before/after setting cpu, target and subtarget settings. | |
8306 | (rs6000_secondary_reload_trace): Improve the RTL dump for -mdebug=addr | |
8307 | and for secondary reload failures in rs6000_secondary_reload_inner. | |
c6d5ff83 MM |
8308 | (rs6000_secondary_reload_fail): Likewise. |
8309 | (rs6000_secondary_reload_inner): Likewise. | |
8310 | ||
8311 | * config/rs6000/rs6000.md (FIRST_GPR_REGNO): Add convenience | |
8312 | macros for first/last GPR and FPR registers. | |
8313 | (LAST_GPR_REGNO): Likewise. | |
8314 | (FIRST_FPR_REGNO): Likewise. | |
8315 | (LAST_FPR_REGNO): Likewise. | |
8316 | ||
8317 | * config/rs6000/vector.md (mul<mode>3): Use the combined macro | |
8318 | VECTOR_UNIT_ALTIVEC_OR_VSX_P instead of separate calls to | |
8319 | VECTOR_UNIT_ALTIVEC_P and VECTOR_UNIT_VSX_P. | |
8320 | (vcond<mode><mode>): Likewise. | |
8321 | (vcondu<mode><mode>): Likewise. | |
8322 | (vector_gtu<mode>): Likewise. | |
8323 | (vector_gte<mode>): Likewise. | |
8324 | (xor<mode>3): Don't allow logical operations on TImode in 32-bit | |
bd059b26 | 8325 | to prevent the compiler from converting DImode operations to TImode. |
c6d5ff83 MM |
8326 | (ior<mode>3): Likewise. |
8327 | (and<mode>3): Likewise. | |
8328 | (one_cmpl<mode>2): Likewise. | |
8329 | (nor<mode>3): Likewise. | |
8330 | (andc<mode>3): Likewise. | |
8331 | ||
8332 | * config/rs6000/constraints.md (wt constraint): New constraint | |
8333 | that returns VSX_REGS if TImode is allowed in VSX registers. | |
8334 | ||
8335 | * config/rs6000/predicates.md (easy_fp_constant): 0.0f is an easy | |
8336 | constant under VSX. | |
8337 | ||
8338 | * config/rs6000/rs6000-modes.def (PTImode): Define, PTImode is | |
8339 | similar to TImode, but it is restricted to being in the GPRs. | |
8340 | ||
8341 | * config/rs6000/rs6000.opt (-mvsx-timode): New switch to allow | |
8342 | TImode to occupy a single VSX register. | |
8343 | ||
8344 | * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Default to | |
8345 | -mvsx-timode for power7/power8. | |
8346 | (power7 cpu): Likewise. | |
8347 | (power8 cpu): Likewise. | |
8348 | ||
8349 | * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Make | |
8350 | sure that TFmode/TDmode take up two registers if they are ever | |
8351 | allowed in the upper VSX registers. | |
8352 | (rs6000_hard_regno_mode_ok): If -mvsx-timode, allow TImode in VSX | |
8353 | registers. | |
8354 | (rs6000_init_hard_regno_mode_ok): Likewise. | |
8355 | (rs6000_debug_reg_global): Add debugging for PTImode and wt | |
8356 | constraint. Print if LRA is turned on. | |
8357 | (rs6000_option_override_internal): Give an error if -mvsx-timode | |
8358 | and VSX is not enabled. | |
8359 | (invalid_e500_subreg): Handle PTImode, restricting it to GPRs. If | |
8360 | -mvsx-timode, restrict TImode to reg+reg addressing, and PTImode | |
8361 | to reg+offset addressing. Use PTImode when checking offset | |
8362 | addresses for validity. | |
8363 | (reg_offset_addressing_ok_p): Likewise. | |
8364 | (rs6000_legitimate_offset_address_p): Likewise. | |
8365 | (rs6000_legitimize_address): Likewise. | |
8366 | (rs6000_legitimize_reload_address): Likewise. | |
8367 | (rs6000_legitimate_address_p): Likewise. | |
8368 | (rs6000_eliminate_indexed_memrefs): Likewise. | |
8369 | (rs6000_emit_move): Likewise. | |
8370 | (rs6000_secondary_reload): Likewise. | |
8371 | (rs6000_secondary_reload_inner): Handle PTImode. Allow 64-bit | |
8372 | reloads to fpr registers to continue to use reg+offset addressing, | |
8373 | but 64-bit reloads to altivec registers need reg+reg addressing. | |
8374 | Drop test for PRE_MODIFY, since VSX loads/stores no longer support | |
8375 | it. Treat LO_SUM like a PLUS operation. | |
8376 | (rs6000_secondary_reload_class): If type is 64-bit, prefer to use | |
bd059b26 | 8377 | FLOAT_REGS instead of VSX_RGS to allow use of reg+offset addressing. |
c6d5ff83 MM |
8378 | (rs6000_cannot_change_mode_class): Do not allow TImode in VSX |
8379 | registers to share a register with a smaller sized type, since VSX | |
8380 | puts scalars in the upper 64-bits. | |
8381 | (print_operand): Add support for PTImode. | |
8382 | (rs6000_register_move_cost): Use VECTOR_MEM_VSX_P instead of | |
8383 | VECTOR_UNIT_VSX_P to catch types that can be loaded in VSX | |
8384 | registers, but don't have arithmetic support. | |
8385 | (rs6000_memory_move_cost): Add test for VSX. | |
8386 | (rs6000_opt_masks): Add -mvsx-timode. | |
8387 | ||
8388 | * config/rs6000/vsx.md (VSm): Change to use 64-bit aligned moves | |
8389 | for TImode. | |
8390 | (VSs): Likewise. | |
8391 | (VSr): Use wt constraint for TImode. | |
8392 | (VSv): Drop TImode support. | |
8393 | (vsx_movti): Delete, replace with versions for 32-bit and 64-bit. | |
8394 | (vsx_movti_64bit): Likewise. | |
8395 | (vsx_movti_32bit): Likewise. | |
8396 | (vec_store_<mode>): Use VSX iterator instead of vector iterator. | |
8397 | (vsx_and<mode>3): Delete use of '?' constraint on inputs, just put | |
8398 | one '?' on the appropriate output constraint. Do not allow TImode | |
8399 | logical operations on 32-bit systems. | |
8400 | (vsx_ior<mode>3): Likewise. | |
8401 | (vsx_xor<mode>3): Likewise. | |
8402 | (vsx_one_cmpl<mode>2): Likewise. | |
8403 | (vsx_nor<mode>3): Likewise. | |
8404 | (vsx_andc<mode>3): Likewise. | |
8405 | (vsx_concat_<mode>): Likewise. | |
8406 | (vsx_xxpermdi_<mode>): Fix thinko for non V2DF/V2DI modes. | |
8407 | ||
8408 | * config/rs6000/rs6000.h (MASK_VSX_TIMODE): Map from | |
8409 | OPTION_MASK_VSX_TIMODE. | |
8410 | (enum rs6000_reg_class_enum): Add RS6000_CONSTRAINT_wt. | |
8411 | (STACK_SAVEAREA_MODE): Use PTImode instead of TImode. | |
8412 | ||
8413 | * config/rs6000/rs6000.md (INT mode attribute): Add PTImode. | |
8414 | (TI2 iterator): New iterator for TImode, PTImode. | |
8415 | (wd mode attribute): Add values for vector types. | |
bd059b26 UB |
8416 | (movti_string): Replace TI move operations with operations for TImode |
8417 | and PTImode. Add support for TImode being allowed in VSX registers. | |
c6d5ff83 MM |
8418 | (mov<mode>_string, TImode/PTImode): Likewise. |
8419 | (movti_ppc64): Likewise. | |
8420 | (mov<mode>_ppc64, TImode/PTImode): Likewise. | |
8421 | (TI mode splitters): Likewise. | |
8422 | ||
8423 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wt | |
8424 | constraint. | |
8425 | ||
1fc5eced MG |
8426 | 2013-03-20 Marc Glisse <marc.glisse@inria.fr> |
8427 | ||
8428 | PR tree-optimization/56355 | |
8429 | * fold-const.c (tree_binary_nonnegative_warnv_p) <MULT_EXPR>: | |
8430 | Also handle integers with undefined overflow. | |
8431 | ||
22c4c869 CM |
8432 | 2013-03-20 Catherine Moore <clm@codesourcery.com> |
8433 | Maciej W. Rozycki <macro@codesourcery.com> | |
8434 | Tom de Vries <tom@codesourcery.com> | |
8435 | Nathan Sidwell <nathan@codesourcery.com> | |
8436 | Iain Sandoe <iain@codesourcery.com> | |
8437 | Nathan Froyd <froydnj@codesourcery.com> | |
8438 | Chao-ying Fu <fu@mips.com> | |
8439 | ||
8440 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
7cf34aae | 8441 | Document new function attributes. |
22c4c869 CM |
8442 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
8443 | m14k, m14ke, m14kec): Document new options. | |
8444 | (minterlink-mips16): Update documentation. | |
8445 | * doc/md.texi (ZC, ZD): Document new constraints. | |
8446 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
8447 | supports the .set micromips directive. | |
8448 | * configure: Regenerate. | |
8449 | * config.in: Regenerate. | |
8450 | * config/mips/mips-tables.opt: Regenerate. | |
8451 | * config/mips/micromips.md: New file. | |
8452 | * constraints.md (ZC, ZD): New constraints. | |
8453 | * config/mips/predicates.md (movep_src_register): New predicate. | |
8454 | (movep_src_operand): New predicate. | |
8455 | (non_volatile_mem_operand): New predicate. | |
8456 | * config/mips/mips.md (multimem): New type. | |
8457 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
8458 | (MOVEP1, MOVEP2): New mode iterator. | |
33159866 | 8459 | (mov_<load>l): Use ZC constraint. |
22c4c869 CM |
8460 | (mov_<load>r): Likewise. |
8461 | (mov_<store>l): Likewise. | |
8462 | (mov_<store>r): Likewise. | |
8463 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
8464 | (*branch_equality<mode>): Likewise. | |
8465 | (*jump_absolute): Likewise. | |
8466 | (indirect_jump_<mode>): Likewise. | |
8467 | (tablejump_<mode>): Likewise. | |
8468 | (<optab>_internal): Likewise. | |
8469 | (sibcall_internal): Likewise. | |
8470 | (sibcall_value_internal): Likewise. | |
8471 | (prefetch): Use constraint ZD. | |
8472 | * config/mips/mips.opt (minterlink-compressed): New option. | |
8473 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
8474 | (mmicromips): New option. | |
8475 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
8476 | (compare_and_swap_12): Likewise. | |
8477 | (sync_add<mode>): Likewise. | |
8478 | (sync_<optab>_12): Likewise. | |
8479 | (sync_old_<optab>_12): Likewise. | |
8480 | (sync_new_<optab>_12): Likewise. | |
8481 | (sync_nand_12): Likewise. | |
8482 | (sync_old_nand_12): Likewise. | |
8483 | (sync_new_nand_12): Likewise. | |
8484 | (sync_sub<mode>): Likewise. | |
8485 | (sync_old_add<mode>): Likewise. | |
8486 | (sync_old_sub<mode>): Likewise. | |
8487 | (sync_new_add<mode>): Likewise. | |
8488 | (sync_new_sub<mode>): Likewise. | |
8489 | (sync_<optab><mode>): Likewise. | |
8490 | (sync_old_<optab><mode>): Likewise. | |
8491 | (sync_new_<optab><mode>): Likewise. | |
8492 | (sync_nand<mode>): Likewise. | |
8493 | (sync_old_nand<mode>): Likewise. | |
8494 | (sync_new_nand<mode>): Likewise. | |
8495 | (sync_lock_test_and_set<mode>): Likewise. | |
8496 | (test_and_set_12): Likewise. | |
8497 | (atomic_compare_and_swap<mode>): Likewise. | |
8498 | (atomic_exchange<mode>_llsc): Likewise. | |
8499 | (atomic_fetch_add<mode>_llsc): Likewise. | |
8500 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
8501 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
8502 | (umips_save_restore_pattern_p): Likewise. | |
8503 | (umips_load_store_pair_p): Likewise. | |
8504 | (umips_output_load_store_pair): Likewise. | |
8505 | (umips_movep_target_p): Likewise. | |
8506 | (umips_12bit_offset_address_p): Likewise. | |
8507 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
8508 | (mips_base_mips16): Rename this... | |
8509 | (mips_base_compression_flags): ...to this. Update all uses. | |
8510 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
8511 | (mips_mips16_decl_p): Delete. | |
8512 | (mips_nomips16_decl_p): Delete. | |
33159866 | 8513 | (mips_get_compress_on_flags): New function. |
22c4c869 CM |
8514 | (mips_get_compress_off_flags): New function. |
8515 | (mips_get_compress_mode): New function. | |
8516 | (mips_get_compress_on_name): New function. | |
8517 | (mips_get_compress_off_name): New function. | |
8518 | (mips_insert_attributes): Support multiple compression types. | |
8519 | (mips_merge_decl_attributes): Likewise. | |
8520 | (umips_12bit_offset_address_p): New function. | |
8521 | (mips_start_function_definition): Emit .set micromips directive. | |
8522 | (mips_call_may_need_jalx_p): New function. | |
8523 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
8524 | (mips_print_operand_punctuation): Support short delay slots and | |
8525 | compact jumps. | |
8526 | (umips_swm_mask, umips_swm_encoding): New. | |
8527 | (umips_build_save_restore): New function. | |
8528 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
8529 | (was_mips16_p): Remove. | |
8530 | (old_compression_mode): New. | |
8531 | (mips_set_compression_mode): New function. | |
8532 | (mips_set_current_function): Add microMIPS support. | |
8533 | (mips_option_override): Likewise. | |
8534 | (umips_save_restore_pattern_p): New function. | |
8535 | (umips_output_save_restore): New function. | |
8536 | (umips_load_store_pair_p_1): New function. | |
8537 | (umips_load_store_pair_p): New function. | |
8538 | (umips_output_load_store_pair_1): New function. | |
8539 | (umips_output_load_store_pair): New function. | |
8540 | (umips_movep_target_p) New function. | |
8541 | (mips_prepare_pch_save): Add microMIPS support. | |
8542 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
8543 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
8544 | to use new compression flags and to support microMIPS. | |
8545 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
8546 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
8547 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
8548 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
8549 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
8550 | (M16STORE_REG_P): New macro. | |
8551 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
8552 | (MICROMIPS_J): New macro. | |
8553 | (mips_base_mips16): Rename this... | |
8554 | (mips_base_compression_flags): ...to this. | |
8555 | (UMIPS_12BIT_OFFSET_P): New macro. | |
8556 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
8557 | (MULTILIB_DIRNAMES): Likewise. | |
92a8d7a7 RB |
8558 | 2013-03-20 Richard Biener <rguenther@suse.de> |
8559 | ||
8560 | PR tree-optimization/56661 | |
8561 | * tree-ssa-sccvn.c (visit_use): Only value-number calls if | |
8562 | the result does not have to be distinct. | |
8563 | ||
54714c68 RB |
8564 | 2013-03-20 Richard Biener <rguenther@suse.de> |
8565 | ||
8566 | * tree-inline.c (copy_tree_body_r): Sync MEM_REF code with | |
8567 | remap_gimple_op_r. | |
8568 | ||
cca1130d BS |
8569 | 2013-03-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
8570 | Steven Bosscher <steven@gcc.gnu.org> | |
8571 | ||
8572 | PR rtl-optimization/56605 | |
8573 | * loop-iv.c (implies_p): Handle equal RTXs and subregs. | |
8574 | ||
2a930377 UB |
8575 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
8576 | ||
8577 | PR bootstrap/56656 | |
8578 | * config/i386/i386.md (*movdi_internal): Handle broken assemblers | |
8579 | that require movd instead of movq. | |
8580 | ||
d6d305fe RB |
8581 | 2013-03-20 Richard Biener <rguenther@suse.de> |
8582 | ||
8583 | * tree-ssa-structalias.c (struct variable_info): Add pointer | |
8584 | to the first field of an aggregate with sub-vars. Make | |
8585 | this and the pointer to the next subfield its ID. | |
8586 | (vi_next): New function. | |
8587 | (nothing_id, anything_id, readonly_id, escaped_id, nonlocal_id, | |
8588 | storedanything_id, integer_id): Increment by one. | |
8589 | (new_var_info, get_call_vi, lookup_call_clobber_vi, | |
8590 | get_call_clobber_vi): Adjust. | |
8591 | (solution_set_expand): Simplify and speedup. | |
8592 | (solution_set_add): Inline into ... | |
8593 | (set_union_with_increment): ... this. Adjust accordingly. | |
8594 | (do_sd_constraint): Likewise. | |
8595 | (do_ds_constraint): Likewise. | |
8596 | (do_complex_constraint): Simplify. | |
8597 | (build_pred_graph): Adjust. | |
8598 | (solve_graph): Likewise. Simplify and speedup. | |
8599 | (get_constraint_for_ssa_var, get_constraint_for_ptr_offset, | |
8600 | get_constraint_for_component_ref, get_constraint_for_1, | |
8601 | first_vi_for_offset, first_or_preceding_vi_for_offset, | |
8602 | create_function_info_for, create_variable_info_for_1, | |
8603 | create_variable_info_for, intra_create_variable_infos): Adjust. | |
8604 | (init_base_vars): Push NULL for ID zero. | |
8605 | (compute_points_to_sets): Adjust. | |
8606 | ||
a271b42d RB |
8607 | 2013-03-20 Richard Biener <rguenther@suse.de> |
8608 | ||
8609 | * cfgloop.c (verify_loop_structure): Streamline and avoid | |
8610 | ICEing on corrupt loop tree. | |
8611 | * graph.c (draw_cfg_nodes_for_loop): Avoid ICEing on corrupt | |
8612 | loop tree. | |
8613 | ||
ebd65954 RB |
8614 | 2013-03-20 Richard Biener <rguenther@suse.de> |
8615 | ||
8616 | * tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not | |
8617 | check whether an SSA update is needed. | |
8618 | ||
4547b7ee RS |
8619 | 2013-03-20 Richard Sandiford <rdsandiford@googlemail.com> |
8620 | ||
8621 | * config/mips/constraints.md (T): Rename to... | |
8622 | (Yf): ...this. | |
8623 | (U): Rename to... | |
8624 | (Yd): ...this. | |
8625 | * config/mips/mips.md (*movdi_64bit, *movdi_64bit_mips16) | |
8626 | (*mov<mode>_internal, *mov<mode>_mips16): Update accordingly. | |
8627 | ||
0b8cdc58 IB |
8628 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
8629 | ||
8630 | * config/aarch64/aarch64.md (*sub<mode>3_carryin): New pattern. | |
8631 | (*subsi3_carryin_uxtw): Likewise. | |
8632 | ||
5977a10d IB |
8633 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
8634 | ||
8635 | * config/aarch64/aarch64.md (*ror<mode>3_insn): New pattern. | |
8636 | (*rorsi3_insn_uxtw): Likewise. | |
8637 | ||
bd83ff2c IB |
8638 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
8639 | ||
8640 | * config/aarch64/aarch64.md (*extr<mode>5_insn): New pattern. | |
8641 | (*extrsi5_insn_uxtw): Likewise. | |
8642 | ||
ba65123c RB |
8643 | 2013-03-19 Richard Biener <rguenther@suse.de> |
8644 | ||
8645 | PR tree-optimization/56273 | |
8646 | * passes.c (init_optimization_passes): Move second VRP after DOM. | |
8647 | ||
2eac0476 UB |
8648 | 2013-03-19 Uros Bizjak <ubizjak@gmail.com> |
8649 | ||
8650 | * config/i386/i386.md (*movti_internal): Merge from | |
8651 | *movti_internal_rex64 and *movti_internal_sse. Use x64 isa attribute. | |
8652 | (*movdi_internal): Merge with *movdi_internal_rex64. Use x64 and | |
8653 | nox64 isa attributes. | |
8654 | ||
6e55eda7 RB |
8655 | 2013-03-18 Richard Biener <rguenther@suse.de> |
8656 | ||
8657 | * tree-ssa-structalias.c (find): Use gcc_checking_assert. | |
8658 | (unite): Likewise. | |
8659 | (merge_node_constraints): Likewise. | |
8660 | (build_succ_graph): Likewise. | |
8661 | (valid_graph_edge): Inline into single caller. | |
8662 | (unify_nodes): Likewise. Use bitmap_set_bit return value | |
8663 | and cache varinfo. | |
8664 | (scc_visit): Fix formatting and variable use. | |
8665 | (do_sd_constraint): Use gcc_checking_assert. | |
8666 | (do_ds_constraint): Likewise. | |
8667 | (do_complex_constraint): Likewise. | |
8668 | (condense_visit): Likewise. Cleanup. | |
8669 | (dump_pred_graph): New function. | |
8670 | (perform_var_substitution): Dump the pred-graph before | |
8671 | variable substitution. | |
8672 | (find_equivalent_node): Use gcc_checking_assert. | |
8673 | (rewrite_constraints): Guard checking loop with ENABLE_CHECKING. | |
8674 | ||
4bdd44c4 RB |
8675 | 2013-03-18 Richard Biener <rguenther@suse.de> |
8676 | ||
8677 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): | |
8678 | Remove cond_expr_stmt_list argument and do not gimplify the | |
8679 | built expression. | |
8680 | (vect_loop_versioning): Adjust. | |
8681 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
8682 | Cleanup to use less temporaries. | |
8683 | (vect_create_data_ref_ptr): Cleanup. | |
8684 | ||
38c56a5b JJ |
8685 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
8686 | ||
8687 | PR tree-optimization/56635 | |
8688 | * fold-const.c (operand_equal_p): For MEM_REF and TARGET_MEM_REF, | |
8689 | require types_compatible_p types. | |
8690 | ||
20b2e6a0 NC |
8691 | 2013-03-18 Nick Clifton <nickc@redhat.com> |
8692 | ||
a6178a25 NC |
8693 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): Remove |
8694 | spurious backslash. | |
8695 | ||
20b2e6a0 NC |
8696 | * config/mn10300/mn10300.c (mn10300_get_live_callee_saved_regs): |
8697 | Add missing line to comment describing function. | |
8698 | ||
92608d0e RB |
8699 | 2013-03-18 Richard Biener <rguenther@suse.de> |
8700 | ||
8701 | PR tree-optimization/56210 | |
8702 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
8703 | Handle string / character search functions. | |
8704 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
8705 | ||
31348d52 RB |
8706 | 2013-03-18 Richard Biener <rguenther@suse.de> |
8707 | ||
8708 | PR middle-end/56483 | |
8709 | * cfgexpand.c (expand_gimple_cond): Inline gimple_cond_single_var_p | |
8710 | and implement properly. | |
8711 | * gimple.h (gimple_cond_single_var_p): Remove. | |
8712 | ||
fcac74a1 RB |
8713 | 2013-03-18 Richard Biener <rguenther@suse.de> |
8714 | ||
8715 | * tree-data-ref.h (find_data_references_in_loop): Declare. | |
8716 | * tree-data-ref.c (get_references_in_stmt): Use a stack | |
8717 | vector pre-allocated in the callers. | |
8718 | (find_data_references_in_stmt): Adjust. | |
8719 | (graphite_find_data_references_in_stmt): Likewise. | |
8720 | (create_rdg_vertices): Likewise. | |
8721 | (find_data_references_in_loop): Export. | |
8722 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependences): | |
8723 | Compute dependences here... | |
8724 | (vect_analyze_data_refs): ...not here. When we encounter | |
8725 | a non-vectorizable data reference in basic-block vectorization | |
8726 | truncate the data reference vector. Do not bother to | |
8727 | fixup data-dependence information for gather loads. | |
8728 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Check the number | |
8729 | of data references, as reported. | |
8730 | ||
0d5a1b56 RB |
8731 | 2013-03-18 Richard Biener <rguenther@suse.de> |
8732 | ||
8733 | PR tree-optimization/3713 | |
8734 | * tree-ssa-sccvn.c (visit_copy): Simplify. Always propagate | |
8735 | has_constants and expr. | |
8736 | (stmt_has_constants): Properly valueize SSA names when deciding | |
8737 | whether the stmt has constants. | |
8738 | ||
789c34e3 RB |
8739 | 2013-03-18 Richard Biener <rguenther@suse.de> |
8740 | ||
8741 | * tree-ssa-loop-manip.c (find_uses_to_rename): Do not scan the | |
8742 | whole function when there is nothing to do. | |
8743 | * tree-ssa-loop.c (pass_vectorize): Remove TODO_update_ssa. | |
8744 | * tree-vectorizer.c (vectorize_loops): Update virtual and | |
8745 | loop-closed SSA once. | |
8746 | * tree-vect-loop.c (vect_transform_loop): Do not update SSA here. | |
8747 | ||
076b4605 RB |
8748 | 2013-03-18 Richard Biener <rguenther@suse.de> |
8749 | ||
8750 | PR middle-end/56113 | |
8751 | * domwalk.c (bb_postorder): New global static. | |
8752 | (cmp_bb_postorder): New function. | |
8753 | (walk_dominator_tree): Replace scheme imposing an order for | |
8754 | visiting dominator sons by one sorting them at the time they | |
8755 | are pushed on the stack. | |
8756 | ||
bdb01696 RB |
8757 | 2013-03-18 Richard Biener <rguenther@suse.de> |
8758 | ||
8759 | PR tree-optimization/39326 | |
8760 | * tree-ssa-loop-im.c (refs_independent_p): Exploit symmetry. | |
8761 | (struct mem_ref): Replace mem member with ao_ref typed member. | |
8762 | (MEM_ANALYZABLE): Adjust. | |
8763 | (memref_eq): Likewise. | |
8764 | (mem_ref_alloc): Likewise. | |
8765 | (gather_mem_refs_stmt): Likewise. | |
8766 | (mem_refs_may_alias_p): Use the ao_ref to query the alias oracle. | |
8767 | (execute_sm_if_changed_flag_set): Adjust. | |
8768 | (execute_sm): Likewise. | |
8769 | (ref_always_accessed_p): Likewise. | |
8770 | (refs_independent_p): Likewise. | |
8771 | (can_sm_ref_p): Likewise. | |
8772 | ||
12d2dc5e JJ |
8773 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
8774 | ||
8775 | PR c/56566 | |
8776 | * tree.c (tree_int_cst_min_precision): For integer_zerop (value) | |
8777 | return 1 even for !unsignedp. | |
8778 | ||
286fb677 UB |
8779 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
8780 | ||
8781 | * config/i386/i386.md (isa): Add x64 and nox64. | |
8782 | (enabled): Define x64 for TARGET_64BIT and nox64 for !TARGET_64BIT. | |
8783 | (*pushtf): Enable *roF alternative for x64 isa only. | |
8784 | (*pushxf): Merge with *pushxf_nointeger. Use Yx*r constraint. Set | |
8785 | mode attribute of integer alternatives to DImode for TARGET_64BIT. | |
8786 | (*pushdf): Merge with *pushdf_rex64. Use x64 and nox64 isa attributes. | |
8787 | (*movtf_internal): Merge from *movtf_internal_rex64 and | |
8788 | *movtf_internal_sse. Use x64 and nox64 isa attributes. | |
8789 | (*movxf_internal): Merge with *movxf_internal_rex64. Use x64 and | |
8790 | nox64 isa attributes. | |
8791 | (*movdf_internal): Merge with *movdf_internal_rex64. Use x64 and | |
8792 | nox64 isa attributes. | |
8793 | * config/i386/constraints.md (Yd): Do not set for TARGET_64BIT. | |
8794 | ||
88b97037 UB |
8795 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
8796 | ||
8797 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
8798 | ||
9f4f1735 JJ |
8799 | 2013-03-17 Jakub Jelinek <jakub@redhat.com> |
8800 | ||
8801 | PR target/56640 | |
8802 | * config/arm/arm.h (REG_CLASS_NAMES): Add "SFP_REG" and "AFP_REG" | |
8803 | class names. Remove trailing comma after "ALL_REGS". | |
8804 | ||
48f4a6fa JH |
8805 | 2013-03-16 Jan Hubicka <jh@suse.cz> |
8806 | ||
8807 | * cgraph.h (cgraph_get_create_real_symbol_node): Declare. | |
8808 | * cgraph.c (cgraph_get_create_real_symbol_node): New function. | |
8809 | * cgrpahbuild.c: Use cgraph_get_create_real_symbol_node instead | |
8810 | of cgraph_get_create_node. | |
8811 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
8812 | ||
98e81123 JM |
8813 | 2013-03-16 Jason Merrill <jason@redhat.com> |
8814 | ||
8815 | PR debug/49090 | |
8816 | * dwarf2out.c (gen_generic_params_dies): Indicate default arguments | |
8817 | with DW_AT_default_value. | |
8818 | ||
8a298c04 JJ |
8819 | 2013-03-16 Jakub Jelinek <jakub@redhat.com> |
8820 | ||
8821 | * BASE-VER: Set to 4.9.0. | |
8822 | ||
4323afa0 AK |
8823 | 2013-03-14 Andi Kleen <ak@linux.intel.com> |
8824 | ||
8825 | PR target/56619 | |
8826 | * doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE, | |
8827 | __ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs. | |
8828 | Document _x* TSX intrinsics. | |
8829 | ||
b3c0d469 JJ |
8830 | 2013-03-14 Edgar E. Iglesias <edgar.iglesias@xilinx.com> |
8831 | David Holsgrove <david.holsgrove@xilinx.com> | |
8cc9a5a5 EI |
8832 | |
8833 | * configure.ac: Add MicroBlaze TLS support detection. | |
8834 | * configure: Regenerate. | |
88b97037 UB |
8835 | * config/microblaze/microblaze-protos.h |
8836 | (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p, | |
8837 | symbol_mentioned_p, label_mentioned_p): Add prototypes. | |
8838 | * config/microblaze/microblaze.c (microblaze_address_type): Add | |
8839 | ADDRESS_TLS and tls_reloc address types. | |
8cc9a5a5 EI |
8840 | (microblaze_address_info): Add tls_reloc. |
8841 | (TARGET_HAVE_TLS): Define. | |
8842 | (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1, | |
8843 | microblaze_tls_referenced_p, microblaze_cannot_force_const_mem, | |
88b97037 UB |
8844 | symbol_mentioned_p, label_mentioned_p, tls_mentioned_p, |
8845 | load_tls_operand, microblaze_call_tls_get_addr, | |
8846 | microblaze_legitimize_tls_address): New functions. | |
8cc9a5a5 EI |
8847 | (microblaze_classify_unspec): Handle UNSPEC_TLS. |
8848 | (get_base_reg): Use microblaze_tls_symbol_p. | |
8849 | (microblaze_classify_address): Handle TLS. | |
88b97037 UB |
8850 | (microblaze_legitimate_pic_operand): Use symbol_mentioned_p, |
8851 | label_mentioned_p and microblaze_tls_referenced_p. | |
8cc9a5a5 EI |
8852 | (microblaze_legitimize_address): Handle TLS. |
8853 | (microblaze_address_insns): Handle ADDRESS_TLS. | |
8854 | (pic_address_needs_scratch): Handle TLS. | |
8855 | (print_operand_address): Handle TLS. | |
8856 | (microblaze_expand_prologue): Check TLS_NEEDS_GOT. | |
8857 | (microblaze_expand_move): Handle TLS. | |
88b97037 UB |
8858 | (microblaze_legitimate_constant_p): Check |
8859 | microblaze_cannot_force_const_mem and microblaze_tls_symbol_p. | |
8cc9a5a5 EI |
8860 | (TARGET_CANNOT_FORCE_CONST_MEM): Define. |
8861 | * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define | |
8862 | (PIC_OFFSET_TABLE_REGNUM): Set. | |
8863 | * config/microblaze/linux.h (TLS_NEEDS_GOT): Define. | |
8864 | * config/microblaze/microblaze.md (UNSPEC_TLS): Define. | |
8865 | (addsi3, movsi_internal2, movdf_internal): Update constraints | |
8866 | * config/microblaze/predicates.md (arith_plus_operand): Define | |
88b97037 UB |
8867 | (move_operand): Redefine as move_src_operand, |
8868 | check microblaze_tls_referenced_p. | |
8cc9a5a5 | 8869 | |
d803a491 IB |
8870 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
8871 | ||
8872 | * config/aarch64/aarch64.md: (*and<mode>3nr_compare0): Use CC_NZ. | |
8873 | (*and_<SHIFT:optab><mode>3nr_compare0): Likewise. | |
8874 | ||
a8504f22 IB |
8875 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
8876 | ||
8877 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct | |
8878 | CC mode for AND. | |
8879 | ||
df2dfaea JJ |
8880 | 2013-03-14 Jakub Jelinek <jakub@redhat.com> |
8881 | ||
fbd28bc3 JJ |
8882 | PR tree-optimization/53265 |
8883 | * common.opt (Waggressive-loop-optimizations): New option. | |
8884 | * tree-ssa-loop-niter.c: Include tree-pass.h. | |
8885 | (do_warn_aggressive_loop_optimizations): New function. | |
8886 | (record_estimate): Call it. Don't add !is_exit bounds to loop->bounds | |
8887 | if number_of_latch_executions returned constant. | |
8888 | (estimate_numbers_of_iterations_loop): Call number_of_latch_executions | |
8889 | early. If number_of_latch_executions returned constant, set | |
8890 | nb_iterations_upper_bound back to it. | |
8891 | * cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations | |
8892 | field. | |
8893 | * Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H). | |
8894 | * doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document. | |
8895 | ||
df2dfaea JJ |
8896 | * config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove. |
8897 | (MULTILIB_OSDIRNAMES): Set. | |
8898 | * genmultilib: If defaultosdirname doesn't start with :: , set | |
8899 | defaultosdirname2 instead, clear it and emit two . multilib_raw | |
8900 | entries instead of just one. | |
8901 | ||
ee0d2b68 KK |
8902 | 2013-03-14 Kaz Kojima <kkojima@gcc.gnu.org> |
8903 | ||
8904 | * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
8905 | (SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default. | |
8906 | * config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
8907 | (SUBTARGET_OVERRIDE_OPTIONS): New. | |
8908 | ||
decc676e OE |
8909 | 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org> |
8910 | ||
8911 | PR target/49880 | |
8912 | * config/sh/sh.opt (FPU_SINGLE_ONLY): New mask. | |
8913 | (musermode): Convert to Var(TARGET_USERMODE). | |
8914 | * config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY, | |
8915 | MASK_ARCH): Add MASK_FPU_SINGLE_ONLY. | |
8916 | * config/sh/sh.c (sh_option_override): Use | |
8917 | TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case. | |
8918 | * config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4 | |
8919 | condition. | |
8920 | (udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of | |
8921 | TARGET_SH4. | |
8922 | (udivsi3_i4_single, divsi3_i4_single): Use | |
8923 | TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4. | |
8924 | ||
f4b719c7 DK |
8925 | 2013-03-13 Dave Korn <dave.korn.cygwin@....> |
8926 | ||
8927 | * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): Make shared libgcc the | |
8928 | default setting. | |
8929 | ||
c40eced0 RB |
8930 | 2013-03-13 Richard Biener <rguenther@suse.de> |
8931 | ||
8932 | PR tree-optimization/56608 | |
8933 | * tree-vect-slp.c (vect_schedule_slp): Do not remove scalar | |
8934 | calls when vectorizing basic-blocks. | |
8935 | ||
1bfa5973 JJ |
8936 | 2013-03-13 Jakub Jelinek <jakub@redhat.com> |
8937 | ||
8938 | PR plugins/45078 | |
8939 | * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to | |
8940 | tm_file. | |
8941 | ||
6fcf5434 JJ |
8942 | 2013-03-12 Jakub Jelinek <jakub@redhat.com> |
8943 | ||
8944 | * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier. | |
8945 | ||
4f38fa8c JH |
8946 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
8947 | ||
8948 | PR lto/56557 | |
8949 | * lto-streamer-out.c (output_symbol_p): Skip references from | |
8950 | constructors of external variables. | |
8951 | ||
c5c5ba89 JH |
8952 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
8953 | ||
8954 | PR middle-end/56571 | |
8955 | * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating | |
8956 | from pseudos. | |
8957 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
8958 | (copy_insn_1): Likewise. | |
8959 | * rtl.c (copy_rtx): Likewise. | |
8960 | ||
c2a939b1 GJL |
8961 | 2013-03-11 Georg-Johann Lay <avr@gjlay.de> |
8962 | ||
8963 | PR target/56591 | |
8964 | * config/avr/avr.c (avr_print_operand): Add space after '%c' in | |
8965 | output_operand_lossage message. | |
88b97037 | 8966 | |
3c3279fb RE |
8967 | 2013-03-11 Richard Earnshaw <rearnsha@arm.com> |
8968 | ||
8969 | PR target/56470 | |
8970 | * arm.c (shift_op): Validate RTL pattern on the fly. | |
8971 | (arm_print_operand, case 'S'): Don't use shift_operator to validate | |
8972 | the RTL. | |
8973 | ||
aef5ef9d JDA |
8974 | 2013-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8975 | ||
8976 | PR target/56347 | |
8977 | * config/pa/pa.md (call_value): Check for calls to powf and direct to | |
8978 | new call patterns that clobber %fr12. | |
8979 | (call_val_powf, call_val_powf_pic, call_val_powf_64bit): New insn, | |
8980 | split and postreload patterns. | |
8981 | * config/pa/pa.c (pa_conditional_register_usage): Revert marking | |
8982 | registers %fr12 and %fr12R as call used. | |
8983 | ||
456610d3 SB |
8984 | 2013-03-09 Steven Bosscher <steven@gcc.gnu.org> |
8985 | ||
8986 | * dse.c (delete_dead_store_insn): Respect TDF_DETAILS. | |
8987 | (canon_address, record_store, replace_read, check_mem_read_rtx, | |
8988 | scan_insn, dse_step1, dse_step2_init, dse_step2_spill, | |
8989 | dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6, | |
8990 | rest_of_handle_dse): Likewise. | |
8991 | ||
4b1baac8 RS |
8992 | 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com> |
8993 | ||
8994 | PR middle-end/56524 | |
8995 | * tree.h (tree_optimization_option): Rename target_optabs to optabs. | |
8996 | Add base_optabs. | |
8997 | (TREE_OPTIMIZATION_OPTABS): Update after previous field change. | |
8998 | (TREE_OPTIMIZATION_BASE_OPTABS): New macro. | |
8999 | (save_optabs_if_changed): Replace with... | |
9000 | (init_tree_optimization_optabs): ...this. | |
9001 | * optabs.c (save_optabs_if_changed): Rename to... | |
9002 | (init_tree_optimization_optabs): ...this. Take the optimization node | |
9003 | as argument. Do nothing if the base optabs are already correct. | |
9004 | Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need | |
9005 | to recompute optabs. | |
9006 | * function.h (function): Remove optabs field. | |
9007 | * function.c (invoke_set_current_function_hook): Call | |
9008 | init_tree_optimization_optabs. Use the result to initialize | |
9009 | this_fn_optabs. | |
9010 | ||
b7a78683 AH |
9011 | 2013-02-27 Aldy Hernandez <aldyh@redhat.com> |
9012 | ||
9013 | * trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE | |
9014 | if GTMA_HAS_NO_INSTRUMENTATION. | |
9015 | (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit. | |
9016 | (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION. | |
9017 | * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define. | |
9018 | * gimple-pretty-print.c (dump_gimple_transaction): Handle | |
9019 | GTMA_HAS_NO_INSTRUMENTATION. | |
9020 | ||
6384c29b JJ |
9021 | 2013-03-08 Jakub Jelinek <jakub@redhat.com> |
9022 | ||
9023 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against | |
9024 | libasan_preinit.o. | |
9025 | ||
ecd4f20a MP |
9026 | 2013-03-08 Marek Polacek <polacek@redhat.com> |
9027 | Jakub Jelinek <jakub@redhat.com> | |
9028 | ||
9029 | PR tree-optimization/56478 | |
9030 | * predict.c (is_comparison_with_loop_invariant_p): Change the | |
9031 | type of loop_step to tree. | |
9032 | (predict_loops): Adjust. | |
9033 | (predict_iv_comparison): Perform the computations on double_ints. | |
9034 | ||
64366d35 RB |
9035 | 2013-03-08 Richard Biener <rguenther@suse.de> |
9036 | ||
9037 | PR tree-optimization/56570 | |
9038 | * tree-cfg.c (verify_expr_location_1): Verify locations for | |
9039 | DECL_DEBUG_EXPR. | |
9040 | * tree-sra.c (create_access_replacement): Strip locations | |
9041 | from DECL_DEBUG_EXPRs. | |
9042 | ||
a9d5a059 RB |
9043 | 2013-03-08 Richard Biener <rguenther@suse.de> |
9044 | ||
9045 | * tree-inline.c (expand_call_inline): Do not associate | |
9046 | a BLOCK with the location in BLOCK_SOURCE_LOCATION. | |
9047 | * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION. | |
9048 | ||
b7aa4e9a RB |
9049 | 2013-03-08 Richard Biener <rguenther@suse.de> |
9050 | ||
9051 | * tree-ssa-ter.c (is_replaceable_p): Do not TER across location | |
9052 | or block changes with -Og. Fix for location / block encoding | |
9053 | changes and PHI arguments with locations. | |
9054 | ||
c4c2f9fa SB |
9055 | 2013-03-07 Steven Bosscher <steven@gcc.gnu.org> |
9056 | ||
9057 | * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT | |
9058 | for all counters. | |
9059 | (struct output_info): Likewise. | |
9060 | (register_overhead): Remove bad gcc_assert. | |
9061 | (bitmap_find_bit): If there is only a single bitmap element, do not | |
9062 | count a miss as a search. | |
9063 | (print_statistics): Update for counter type changes. | |
9064 | (dump_bitmap_statistics): Likewise. Print headers such that they | |
9065 | are properly lined up with the printed counters. | |
9066 | ||
5bf6606a JJ |
9067 | 2013-03-07 Jakub Jelinek <jakub@redhat.com> |
9068 | ||
9069 | PR tree-optimization/56559 | |
9070 | * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2, | |
9071 | check that it has only a single use. | |
9072 | ||
2c653d46 RB |
9073 | 2013-03-07 Richard Biener <rguenther@suse.de> |
9074 | ||
9075 | * doc/invoke.texi (fwhole-program): Discourage use in combination | |
9076 | with -flto. | |
9077 | ||
a72d8780 JJ |
9078 | 2013-03-06 Jakub Jelinek <jakub@redhat.com> |
9079 | ||
01a454df JJ |
9080 | * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def. |
9081 | ||
c1781047 JJ |
9082 | PR tree-optimization/56539 |
9083 | * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT | |
9084 | instead of GSI_CONTINUE_LINKING as last argument to | |
9085 | force_gimple_operand_gsi. Adjust function comment. | |
9086 | ||
9772c47a JJ |
9087 | * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Add |
9088 | aarch64-cores.def. | |
9089 | ||
a72d8780 JJ |
9090 | PR middle-end/56548 |
9091 | * expr.c (expand_cond_expr_using_cmove): When expanding cmove in | |
9092 | promoted mode, convert the result back to the original mode. | |
9093 | ||
fa5556de RB |
9094 | 2013-03-06 Richard Biener <rguenther@suse.de> |
9095 | ||
9096 | PR middle-end/56294 | |
9097 | * tree-into-ssa.c (insert_phi_nodes_for): Add dumping. | |
9098 | (insert_updated_phi_nodes_compare_uids): New function. | |
9099 | (update_ssa): Sort symbols_to_rename after UID before | |
9100 | traversing it to insert PHI nodes. | |
9101 | ||
010403d1 RB |
9102 | 2013-03-06 Richard Biener <rguenther@suse.de> |
9103 | ||
9104 | PR middle-end/50494 | |
9105 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): | |
9106 | Do not adjust alignment of DECL_IN_CONSTANT_POOL decls. | |
9107 | ||
9108 | Revert | |
9109 | 2013-02-13 Richard Biener <rguenther@suse.de> | |
9110 | ||
9111 | PR lto/50494 | |
9112 | * varasm.c (output_constant_def_1): Get the decl representing | |
9113 | the constant as argument. | |
9114 | (output_constant_def): Wrap output_constant_def_1. | |
9115 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
9116 | representing the constant. | |
9117 | (build_constant_desc): Optionally re-use a decl already | |
9118 | representing the constant. | |
9119 | (tree_output_constant_def): Adjust. | |
9120 | ||
3c27ce4c JY |
9121 | 2013-03-06 Joey Ye <joey.ye@arm.com> |
9122 | ||
9123 | PR lto/50293 | |
9124 | * gcc.c (convert_white_space): New function. | |
9125 | (main): Handles white space in function name. | |
9126 | ||
8f6d1c86 OE |
9127 | 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org> |
9128 | ||
9129 | PR target/56529 | |
9130 | * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT | |
9131 | instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy | |
9132 | to SH_DIV_CALL_TABLE for TARGET_SH2. | |
9133 | * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib | |
9134 | list. | |
9135 | * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp, | |
9136 | call-table options. | |
9137 | ||
798a209f SA |
9138 | 2013-03-05 Sterling Augustine <saugustine@google.com> |
9139 | Cary Coutant <ccoutant@google.com> | |
9140 | ||
9141 | PR debug/55364 | |
9142 | * dwarf2out.c (resolve_addr): Don't call | |
9143 | remove_loc_list_addr_table_entries a second time for the same | |
9144 | expression. | |
9145 | ||
6cfa417f | 9146 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
ee61ea38 | 9147 | |
6cfa417f JJ |
9148 | PR debug/56510 |
9149 | * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming. | |
9150 | (avoid_complex_debug_insns): New function. | |
9151 | (expand_debug_locations): Call it. | |
9152 | ||
9153 | PR rtl-optimization/56484 | |
9154 | * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending | |
9155 | lifetimes of hard registers on small register class machines. | |
9156 | ||
9157 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> | |
9158 | ||
9159 | * config/microblaze/microblaze-protos.h: Rename | |
ee61ea38 | 9160 | microblaze_is_interrupt_handler to microblaze_is_interrupt_variant. |
6cfa417f | 9161 | * config/microblaze/microblaze.c (microblaze_attribute_table): Add |
ee61ea38 DH |
9162 | fast_interrupt. |
9163 | (microblaze_fast_interrupt_function_p): New function. | |
9164 | (microblaze_is_interrupt_handler): Rename to | |
9165 | microblaze_is_interrupt_variant and add fast_interrupt check. | |
9166 | (microblaze_must_save_register): Use microblaze_is_interrupt_variant. | |
9167 | (save_restore_insns): Likewise. | |
9168 | (compute_frame_size): Likewise. | |
9169 | (microblaze_function_prologue): Add FAST_INTERRUPT_NAME. | |
9170 | (microblaze_globalize_label): Likewise. | |
6cfa417f JJ |
9171 | * config/microblaze/microblaze.h: Define FAST_INTERRUPT_NAME. |
9172 | * config/microblaze/microblaze.md: Use wrapper | |
ee61ea38 DH |
9173 | microblaze_is_interrupt_variant. |
9174 | ||
731aefac KT |
9175 | 2013-03-05 Kai Tietz <ktietz@redhat.com> |
9176 | ||
9177 | * sdbout.c (sdbout_one_type): Switch to current function's section | |
9178 | supporting cold/hot. | |
9179 | ||
a72d8780 | 9180 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> |
e34fd5a7 DH |
9181 | |
9182 | * doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian, | |
9183 | -mxl-reorder. | |
9184 | ||
334e71e8 JJ |
9185 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
9186 | ||
0b50e654 JJ |
9187 | PR middle-end/56461 |
9188 | * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING, | |
9189 | if VALGRIND_GET_VBITS is defined, temporarily make object | |
9190 | memory all defined, and restore previous valgrind addressability | |
9191 | and definability afterwards. Free this_object at the end. | |
9192 | ||
4ccf8f43 JJ |
9193 | PR middle-end/56461 |
9194 | * lra.c (lra): Call lra_clear_live_ranges if live_p, | |
9195 | right before calling lra_create_live_ranges, also call it | |
9196 | when clearing live_p. Only call lra_clear_live_ranges | |
9197 | at the end if live_p. | |
9198 | ||
334e71e8 JJ |
9199 | PR middle-end/56461 |
9200 | * sched-deps.c (delete_dep_node): Free DEP_REPLACE. | |
9201 | ||
9ca966ca RB |
9202 | 2013-03-05 Richard Biener <rguenther@suse.de> |
9203 | ||
9204 | PR tree-optimization/56521 | |
9205 | * tree-ssa-sccvn.c (set_value_id_for_result): Always initialize | |
9206 | value-id. | |
9207 | ||
d273b176 SB |
9208 | 2013-03-05 Steven Bosscher <steven@gcc.gnu.org> |
9209 | ||
9210 | PR c++/55135 | |
9211 | * except.h (remove_unreachable_eh_regions): New prototype. | |
9212 | * except.c (remove_eh_handler_splicer): New function, split out | |
9213 | of remove_eh_handler. | |
9214 | (remove_eh_handler): Use remove_eh_handler_splicer. Add comment | |
9215 | warning about running it on many EH regions one at a time. | |
9216 | (remove_unreachable_eh_regions_worker): New function, walk the | |
9217 | EH tree in depth-first order and remove non-marked regions. | |
9218 | (remove_unreachable_eh_regions): New function. | |
9219 | * tree-eh.c (mark_reachable_handlers): New function, split out | |
9220 | from remove_unreachable_handlers. | |
9221 | (remove_unreachable_handlers): Use mark_reachable_handlers and | |
9222 | remove_unreachable_eh_regions. | |
9223 | (remove_unreachable_handlers_no_lp): Use mark_reachable_handlers | |
9224 | and remove_unreachable_eh_regions. | |
9225 | ||
5e7f1aef RB |
9226 | 2013-03-05 Richard Biener <rguenther@suse.de> |
9227 | ||
9228 | PR middle-end/56525 | |
9229 | * loop-init.c (fix_loop_structure): Remove loops in two stages, | |
9230 | not freeing them until the end. | |
9231 | ||
f276b762 AK |
9232 | 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9233 | ||
9234 | * config/s390/s390.h: Define DWARF2_ASM_LINE_DEBUG_INFO. | |
9235 | ||
12a43ab8 RB |
9236 | 2013-03-05 Richard Biener <rguenther@suse.de> |
9237 | ||
9238 | PR tree-optimization/56270 | |
9239 | * tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts | |
9240 | of loads after scheduling an SLP instance. | |
9241 | ||
93675444 JJ |
9242 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
9243 | ||
db4138e3 JJ |
9244 | * Makefile.in (dg_target_exps): Add aarch64.exp, epiphany.exp and |
9245 | tic6x.exp. | |
9246 | (check_gcc_parallelize): Run guality.exp as a separate job from | |
9247 | vect.exp with unsorted.exp and $(dg_target_exps) separately from | |
9248 | struct-layout-1.exp with stackalign.exp. | |
9249 | ||
dd3d1ec0 JJ |
9250 | * alias.c (init_alias_analysis): Clear reg_known_equiv_p bitmap. |
9251 | ||
b8d381a3 JJ |
9252 | PR middle-end/56461 |
9253 | * tree-vect-slp.c (vect_supported_load_permutation_p): Free | |
9254 | load_index sbitmap even if some bit in it isn't set. | |
9255 | ||
b4f9786b JJ |
9256 | PR middle-end/56461 |
9257 | * tree-ssa-loop-niter.c (bb_queue): Remove typedef. | |
9258 | (discover_iteration_bound_by_body_walk): Change queues to | |
9259 | vec<vec<basic_block> > and queue to vec<basic_block>. Fix up | |
9260 | spelling in comment. Call safe_push on queues[bound_index] directly. | |
9261 | Release queues[queue_index] in every iteration unconditionally. | |
9262 | Release bounds vector. | |
9263 | ||
93675444 JJ |
9264 | PR middle-end/56461 |
9265 | * tree-vect-stmts.c (free_stmt_vec_info_vec): Call | |
9266 | free_stmt_vec_info on any left-over stmt_vec_info in the vector. | |
9267 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Release | |
9268 | inner_phis vector. | |
9269 | ||
3e492e9c RB |
9270 | 2013-03-05 Richard Biener <rguenther@suse.de> |
9271 | ||
9272 | PR lto/56515 | |
9273 | * tree-inline.c (remap_blocks_to_null): New function. | |
9274 | (expand_call_inline): When expanding a call stmt without | |
9275 | an associated block inline remap all callee blocks to NULL. | |
9276 | ||
a5d1569a JJ |
9277 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
9278 | ||
86efb5cd JJ |
9279 | PR rtl-optimization/56494 |
9280 | * simplify-rtx.c (simplify_truncation): If C is narrower than A, | |
9281 | optimize (truncate:A (subreg:B (truncate:C X) 0)) into | |
9282 | (subreg:A (truncate:C X) 0) instead of (truncate:A X). | |
9283 | ||
85f5dbea JJ |
9284 | PR middle-end/56461 |
9285 | * sel-sched-ir.c (free_sched_pools): Release | |
9286 | succs_info_pool.stack[succs_info_pool.max_top] vectors too | |
9287 | if succs_info_pool.max_top isn't -1. | |
9288 | ||
a5d1569a JJ |
9289 | PR bootstrap/56509 |
9290 | * opts.c (opts_obstack, opts_concat): Moved to... | |
9291 | * opts-common.c (opts_obstack, opts_concat): ... here. | |
9292 | ||
4432aa6c JJ |
9293 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
9294 | ||
9295 | PR middle-end/56461 | |
9296 | * diagnostic.c (diagnostic_append_note): Save and restore old prefix. | |
9297 | ||
f3a1fb91 MJ |
9298 | 2013-03-04 Martin Jambor <mjambor@suse.cz> |
9299 | ||
9300 | * tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in | |
9301 | all appropriate places. | |
9302 | ||
22110e6c EB |
9303 | 2013-01-04 Eric Botcazou <ebotcazou@adacore.com> |
9304 | ||
9305 | PR tree-optimization/56424 | |
9306 | * ipa-split.c (split_function): Do not set the RSO flag if result is | |
9307 | not by reference and its type is a register type. | |
9308 | ||
a72d8780 | 9309 | 2013-03-04 David Holsgrove <david.holsgrove@xilinx.com> |
91c4e421 | 9310 | |
88b97037 | 9311 | * config/microblaze/microblaze.c (microblaze_valid_pic_const): New |
91c4e421 | 9312 | (microblaze_legitimate_pic_operand): Likewise |
88b97037 | 9313 | * config/microblaze/microblaze.h (LEGITIMATE_PIC_OPERAND_P): calls |
91c4e421 DH |
9314 | new function microblaze_legitimate_pic_operand |
9315 | * config/microblaze/microblaze-protos.h | |
9316 | (microblaze_legitimate_pic_operand): Declare. | |
9317 | ||
a72d8780 | 9318 | 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
82f8f53a | 9319 | |
a72d8780 | 9320 | * config/microblaze/predicates.md (call_insn_simple_operand): |
82f8f53a | 9321 | New predicate for supported rtx code types. |
a72d8780 | 9322 | * config/microblaze/microblaze.md (call_internal1): Use |
82f8f53a EI |
9323 | call_insn_simple_operand predicate. |
9324 | ||
541d9ac8 JJ |
9325 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
9326 | ||
5eb010bc JJ |
9327 | PR middle-end/56461 |
9328 | * tree-loop-distribution.c (ldist_gen): Call partition_free after each | |
9329 | partitions.ordered_remove. | |
9330 | ||
30862efc JJ |
9331 | PR middle-end/56461 |
9332 | * tree-vect-stmts.c (vectorizable_conversion): Don't call | |
9333 | vec_oprnds0.create (1) for modifier == NONE. | |
9334 | ||
8930f723 JJ |
9335 | PR middle-end/56461 |
9336 | * tree-vect-stmts.c (vectorizable_shift): Don't call create methods | |
9337 | on vec_oprnds0 or vec_oprnds1 before loop, only call it on | |
9338 | vec_oprnds1 right before pushing anything to it for | |
9339 | scalar_shift_arg. | |
9340 | ||
541d9ac8 JJ |
9341 | PR middle-end/56461 |
9342 | * tree-vect-loop.c (destroy_loop_vec_info): For !clean_stmts, just | |
9343 | set nbbs to 0 instead of having separate code path. | |
9344 | (vect_analyze_loop_form): Call destroy_loop_vec_info with true | |
9345 | instead of false as last argument if returning NULL. | |
9346 | ||
7aa7f2e3 SL |
9347 | 2013-03-03 Sandra Loosemore <sandra@codesourcery.com> |
9348 | ||
9349 | * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments; | |
9350 | the attribute is now called "target" instead of "option". | |
9351 | (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma. | |
9352 | * doc/tm.texi.in (Target Attributes): Likewise document the correct | |
9353 | attribute/pragma name for TARGET_OPTION_VALID_P and | |
9354 | TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup. | |
9355 | * doc/tm.texi: Regenerated. | |
9356 | ||
8930f723 | 9357 | 2013-03-02 David Holsgrove <david.holsgrove@xilinx.com> |
cb8a1637 | 9358 | |
8930f723 | 9359 | * config/microblaze/microblaze.c: |
cb8a1637 | 9360 | Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met. |
8930f723 JJ |
9361 | * config/microblaze/microblaze.h: Add -mxl-reorder to |
9362 | DRIVER_SELF_SPECS. | |
9363 | * config/microblaze/microblaze.md: New bswapsi2 and bswaphi2. | |
9364 | instructions emitted if TARGET_REORDER. | |
88b97037 UB |
9365 | * config/microblaze/microblaze.opt: New option -mxl-reorder set to 1 |
9366 | or 0 for -m/-mno case, but initialises as 2 to detect default use case | |
8930f723 | 9367 | separately. |
cb8a1637 | 9368 | |
4dc1d68c XDL |
9369 | 2013-03-01 Xinliang David Li <davidxl@google.com> |
9370 | ||
9371 | * tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom | |
9372 | walk length. | |
9373 | ||
689eaba3 JJ |
9374 | 2013-03-01 Jakub Jelinek <jakub@redhat.com> |
9375 | ||
9d676bf6 JJ |
9376 | PR middle-end/56461 |
9377 | * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Release path | |
9378 | vector even when returning true. Fix up function comment formatting. | |
9379 | ||
caff7edf JJ |
9380 | PR middle-end/56461 |
9381 | * ira-build.c (ira_loop_nodes_count): New variable. | |
9382 | (create_loop_tree_nodes): Initialize it. | |
9383 | (finish_loop_tree_nodes): Use it instead of looking at current_loops. | |
9384 | ||
b6b9227d JJ |
9385 | PR middle-end/56461 |
9386 | * tree-vect-data-refs.c (vect_permute_store_chain): Avoid using copy | |
9387 | method on dr_chain and result_chain. | |
9388 | * tree-vect-stmts.c (vectorizable_store): Only call | |
9389 | result_chain.create if j == 0. | |
9390 | ||
689eaba3 JJ |
9391 | PR middle-end/56461 |
9392 | * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call | |
9393 | vec_oprnds0->release (); rather than vec_oprnds0->truncate (0) | |
9394 | before overwriting it. | |
9395 | ||
40bf31ed TB |
9396 | 2013-03-01 Tobias Burnus <burnus@net-b.de> |
9397 | ||
9398 | * doc/extended.texi (C Extensions): Change order in @menu | |
9399 | to match @node. | |
9400 | (Other MIPS Built-in Functions): Move last MIPS entry before | |
9401 | "picoChip Built-in Functions". | |
9402 | (SH Built-in Functions): Move after RX Built-in Functions. | |
9403 | * doc/gcc.texi (Introduction): Change order in @menu | |
9404 | to match @node. | |
9405 | * doc/md.texi (Constraints): Ditto. | |
9406 | * gty.texi (Type Information): Ditto. | |
9407 | (User-provided marking routines for template types): Make | |
9408 | subsection. | |
9409 | * doc/invoke.texi (AArch64 Options): Move before | |
9410 | "Adapteva Epiphany Options". | |
9411 | ||
e664c61c KS |
9412 | 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com> |
9413 | Jakub Jelinek <jakub@redhat.com> | |
9414 | ||
9415 | PR sanitizer/56454 | |
9416 | * asan.c (gate_asan): Lookup no_sanitize_address instead of | |
9417 | no_address_safety_analysis attribute. | |
9418 | * doc/extend.texi (no_address_safety_attribute): Rename to | |
9419 | no_sanitize_address attribute, mention no_address_safety_analysis | |
9420 | attribute as deprecated alias. | |
9421 | ||
37b5ec8f JJ |
9422 | 2013-02-28 Jakub Jelinek <jakub@redhat.com> |
9423 | ||
9424 | PR middle-end/56461 | |
9425 | * tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument | |
9426 | type to vec<vec<tree> > *. | |
9427 | * tree-vect-slp.c (vect_get_slp_defs): Likewise. Change vec_defs | |
9428 | to be vec<tree> instead of vec<tree> *, set vec_defs | |
9429 | to vNULL and call vec_defs.create (number_of_vects), adjust other | |
9430 | uses of vec_defs. | |
9431 | * tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call, | |
9432 | vectorizable_condition): Adjust vect_get_slp_defs callers. | |
9433 | ||
ba96cdfb JG |
9434 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
9435 | ||
9436 | * config/aarch64/aarch64.c | |
9437 | (aarch64_float_const_representable): Remove unused variable. | |
9438 | ||
6f549691 JG |
9439 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
9440 | ||
9441 | * config/aarch64/aarch64.c (aarch64_mangle_type): Make static. | |
9442 | ||
af55e82d JG |
9443 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
9444 | ||
9445 | * config/aarch64/aarch64-builtins.c | |
9446 | (aarch64_init_simd_builtins): Make static. | |
9447 | ||
1df3f464 JG |
9448 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
9449 | ||
9450 | * config/aarch64/aarch64.c | |
9451 | (aarch64_simd_make_constant): Make static. | |
9452 | ||
f8f42513 MJ |
9453 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
9454 | ||
9455 | * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements | |
9456 | with no initialization to the RHS of debug statements. | |
9457 | ||
b48b3fc4 MJ |
9458 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
9459 | ||
9460 | PR tree-optimization/56294 | |
9461 | * tree-sra.c (analyze_access_subtree): Create replacement declarations. | |
9462 | Adjust dumping. | |
9463 | (get_access_replacement): Do not call create_access_replacement. | |
9464 | Assert a replacement exists. | |
9465 | (get_repl_default_def_ssa_name): Create the replacement declaration | |
9466 | itself. | |
9467 | ||
c3ae224c RR |
9468 | 2013-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
9469 | ||
9470 | * config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and | |
9471 | final_end_function. | |
9472 | ||
45fa0eef MP |
9473 | 2013-02-28 Marek Polacek <polacek@redhat.com> |
9474 | ||
9475 | PR rtl-optimization/56466 | |
9476 | * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure | |
9477 | if we're changing a loop. | |
9478 | (peel_loops_completely): Likewise. | |
9479 | ||
502c067d PC |
9480 | 2013-02-28 Paolo Carlini <paolo.carlini@oracle.com> |
9481 | ||
9482 | PR c++/55813 | |
9483 | * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete. | |
9484 | ||
ff24afc8 GJL |
9485 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
9486 | ||
9487 | PR target/56445 | |
9488 | * config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty | |
9489 | macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX, | |
9490 | INTX_FTYPE_FX, FX_FTYPE_INTX. | |
9491 | * config/avr/builtins.def: Adjust respective DEF_BUILTIN. | |
9492 | ||
c7b1fc1b GJL |
9493 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
9494 | ||
9495 | * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285) | |
9496 | (ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795) | |
9497 | (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb) | |
9498 | (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a) | |
9499 | (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1) | |
9500 | (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p) | |
9501 | (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb) | |
9502 | (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161) | |
9503 | (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e) | |
9504 | (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4) | |
9505 | (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3) | |
9506 | (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1) | |
9507 | (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva) | |
9508 | (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3) | |
9509 | (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU. | |
9510 | (avrxmega6): Increase max flash segments from 5 to 6. | |
9511 | * config/avr/t-multilib: Regenerate. | |
9512 | * config/avr/avr-tables.opt: Regenerate. | |
9513 | * doc/avr-mmcu.texi: Regenerate. | |
9514 | ||
4a0e3cfe GJL |
9515 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
9516 | ||
9517 | * config/avr/avr.h (device_to_arch): Rename to device_to_ld. | |
9518 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
9519 | (avr_device_to_as): New prototype. | |
9520 | (EXTRA_SPEC_FUNCTIONS): Add device_to_as. | |
9521 | (ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=. | |
9522 | * config/avr/driver-avr.c (avr_device_to_as): New. | |
9523 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
9524 | ||
97785e52 JJ |
9525 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
9526 | ||
3f292312 JJ |
9527 | PR middle-end/56461 |
9528 | * tree-vect-data-refs.c (vect_permute_load_chain): Avoid using copy | |
9529 | method on dr_chain and result_chain. | |
9530 | ||
a344216b JJ |
9531 | PR middle-end/56461 |
9532 | * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Call | |
9533 | pointer_set_destroy on not_executed_last_iteration. | |
9534 | ||
f121ad02 | 9535 | PR middle-end/56461 |
88b97037 | 9536 | * tree-vect-loop.c (vectorizable_reduction): Release vect_defs vector. |
f121ad02 | 9537 | |
307f83a3 JJ |
9538 | PR middle-end/56461 |
9539 | * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of | |
9540 | FOR_EACH_DEFINED_FUNCTION when freeing state. | |
9541 | ||
e19624ee JJ |
9542 | PR middle-end/56461 |
9543 | * df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before | |
9544 | pool_free. | |
9545 | (df_insn_rescan_debug_internal): Use df_scan_free_mws_vec before | |
9546 | overwriting it. | |
9547 | ||
90e709fd JJ |
9548 | PR middle-end/56461 |
9549 | * ipa-cp.c (decide_whether_version_node): Call vec_free on | |
9550 | known_aggs[i].items and release known_aggs vector. | |
9551 | ||
97785e52 JJ |
9552 | PR middle-end/56461 |
9553 | * ipa-reference.c (propagate): Free node_info even for alias nodes. | |
9554 | ||
9555 | 2013-02-27 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
bbb3a9e2 | 9556 | |
97785e52 JJ |
9557 | * config/microblaze/microblaze.c (microblaze_emit_compare): |
9558 | Use xor for EQ/NE comparisions. | |
9559 | * config/microblaze/microblaze.md (cstoresf4): Add constraints | |
9560 | (cbranchsf4): Adjust operator to comparison_operator. | |
bbb3a9e2 | 9561 | |
6fa5e0ed JJ |
9562 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
9563 | ||
9564 | PR middle-end/56461 | |
9565 | * tree-flow.h (edge_var_map_vector): Change into va_heap, vl_embed | |
9566 | vector. | |
9567 | * tree-ssa.c (redirect_edge_var_map_add): Use vec_safe_reserve and | |
9568 | vec_safe_push, always update *slot. | |
9569 | (redirect_edge_var_map_clear): Use vec_free. | |
9570 | (redirect_edge_var_map_dup): Use vec_safe_copy and vec_safe_reserve. | |
9571 | (free_var_map_entry): Use vec_free. | |
9572 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Use | |
9573 | FOR_EACH_VEC_SAFE_ELT instead of FOR_EACH_VEC_ELT. | |
9574 | ||
436a956a AB |
9575 | 2013-02-27 Andrey Belevantsev <abel@ispras.ru> |
9576 | ||
9577 | PR middle-end/45472 | |
436a956a AB |
9578 | * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr |
9579 | when the may_trap_p bit of the exprs being merged differs. | |
436a956a AB |
9580 | Reorder tests for speculativeness in the logical and operator. |
9581 | ||
f5c2caca JJ |
9582 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
9583 | ||
0fcb564b JJ |
9584 | * incpath.c (add_standard_paths): Use reconcat instead of concat |
9585 | where appropriate and avoid leaking memory. | |
9586 | ||
dc357798 JJ |
9587 | * opts.h: Include obstack.h. |
9588 | (opts_concat): New prototype. | |
9589 | (opts_obstack): New declaration. | |
9590 | * opts.c (opts_concat): New function. | |
9591 | (opts_obstack): New variable. | |
9592 | (init_options_struct): Call gcc_init_obstack on opts_obstack. | |
9593 | (finish_options): Use opts_concat instead of concat | |
9594 | and XOBNEWVEC instead of XNEWVEC. | |
9595 | * opts-common.c (generate_canonical_option, decode_cmdline_option, | |
9596 | generate_option): Likewise. | |
9597 | * Makefile.in (OPTS_H): Depend on $(OBSTACK_H). | |
9598 | * lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack. | |
9599 | ||
f5c2caca JJ |
9600 | PR target/56455 |
9601 | * stmt.c (expand_switch_as_decision_tree_p): If flag_pic | |
9602 | and ASM_OUTPUT_ADDR_DIFF_ELT isn't defined, return true. | |
9603 | ||
d0163673 JJ |
9604 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
9605 | ||
9606 | PR middle-end/56461 | |
9607 | * lra-spills.c (lra_spill): Free spill_hard_reg at the end. | |
9608 | ||
b5ad2b8e JR |
9609 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
9610 | ||
9611 | * config/arm/arm.c (const_ok_for_dimode_op): Back out last change. | |
9612 | (arm_block_move_unaligned_straight): Likewise. | |
9613 | (arm_adjust_block_mem): Likewise. | |
9614 | ||
9b639e2c JR |
9615 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
9616 | ||
9617 | PR target/48901 | |
9618 | * config/lm32/lm32.c (gen_int_relational): Remove unused variables | |
9619 | temp, cond and label. | |
9620 | * config/lm32/lm32.md (ashlsi3): Remove unused variable one. | |
9621 | ||
e13a0ccb JR |
9622 | PR target/52500 |
9623 | * config/c6x/c6x.c (dbx_register_map): Change to unsigned. | |
9624 | * config/c6x/c6x.h (dbx_register_map): Update declaration. | |
9625 | ||
fbe4f171 JR |
9626 | PR target/52501 |
9627 | * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end | |
9628 | of prologue/epilogue functions. | |
9629 | ||
ae006543 JR |
9630 | PR target/52550 |
9631 | * config/tilegx/tilegx.c (tilegx_expand_prologue): | |
9632 | Remove unused variable cfa_offset. | |
9633 | * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise. | |
9634 | ||
c81369fa JR |
9635 | PR target/54639 |
9636 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset | |
9637 | type promotion to unsigned. | |
9638 | ||
f8a8fea7 JR |
9639 | PR target/54640 |
9640 | * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent | |
9641 | for HOST_WIDE_INT of 32 bit / same size as int. | |
9642 | (arm_block_move_unaligned_straight): Likewise. | |
9643 | (arm_adjust_block_mem): Likewise. | |
9644 | ||
f8be5169 JR |
9645 | PR target/54662 |
9646 | * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of | |
9647 | ALL_CFLAGS. | |
9648 | ||
f1ad3354 MP |
9649 | 2013-02-26 Marek Polacek <polacek@redhat.com> |
9650 | ||
9651 | PR tree-optimization/56426 | |
88b97037 | 9652 | * tree-ssa-loop.c (tree_ssa_loop_init): Always call scev_initialize. |
f1ad3354 | 9653 | |
a6af0f42 RB |
9654 | 2013-02-26 Richard Biener <rguenther@suse.de> |
9655 | ||
9656 | PR target/56444 | |
9657 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove | |
9658 | unused variable loops. | |
9659 | ||
aca43c6c JJ |
9660 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
9661 | ||
cecbe5d9 JJ |
9662 | PR tree-optimization/56448 |
9663 | * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at | |
9664 | TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF. | |
9665 | Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or | |
9666 | later operands of the references, or even first operand for | |
9667 | INDIRECT_REF, TARGET_MEM_REF or MEM_REF. | |
9668 | ||
aca43c6c JJ |
9669 | PR tree-optimization/56443 |
9670 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For | |
9671 | overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument | |
9672 | to type_for_mode langhook. | |
9673 | ||
53e2e141 MT |
9674 | 2013-02-25 Matt Turner <mattst88@gmail.com> |
9675 | ||
9676 | * doc/invoke.texi: Document r4700. | |
9677 | ||
259ee451 RB |
9678 | 2013-02-25 Richard Biener <rguenther@suse.de> |
9679 | ||
9680 | PR tree-optimization/56175 | |
9681 | * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate, | |
9682 | split out from ... | |
9683 | (simplify_bitwise_binary): ... here. Also guard the conversion | |
9684 | of (type) X op CST to (type) (X op ((type-x) CST)) with it. | |
9685 | ||
6d65e8f1 CM |
9686 | 2013-02-25 Catherine Moore <clm@codesourcery.com> |
9687 | ||
9688 | Revert: | |
9689 | 2013-02-24 Catherine Moore <clm@codesourcery.com> | |
9690 | Maciej W. Rozycki <macro@codesourcery.com> | |
9691 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 9692 | Nathan Sidwell <nathan@codesourcery.com> |
6d65e8f1 CM |
9693 | Iain Sandoe <iain@codesourcery.com> |
9694 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 9695 | Chao-ying Fu <fu@mips.com> |
88b97037 | 9696 | |
6d65e8f1 | 9697 | * doc/extend.texi: (micromips, nomicromips, nocompression): |
88b97037 | 9698 | Document new function attributes. |
6d65e8f1 CM |
9699 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
9700 | m14k, m14ke, m14kec): Document new options. | |
9701 | (minterlink-mips16): Update documentation. | |
9702 | * doc/md.texi (ZC, ZD): Document new constraints. | |
9703 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
9704 | supports the .set micromips directive. | |
9705 | * configure: Regenerate. | |
9706 | * config.in: Regenerate. | |
9707 | * config/mips/mips-tables.opt: Regenerate. | |
9708 | * config/mips/micromips.md: New file. | |
9709 | * constraints.md (ZC, AD): New constraints. | |
9710 | * config/mips/predicates.md (movep_src_register): New predicate. | |
9711 | (movep_src_operand): New predicate. | |
9712 | (non_volatile_mem_operand): New predicate. | |
9713 | * config/mips/mips.md (multimem): New type. | |
9714 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
9715 | (MOVEP1, MOVEP2): New mode iterator. | |
9716 | (mov_<load>l): Use ZC constraint. | |
9717 | (mov_<load>r): Likewise. | |
9718 | (mov_<store>l): Likewise. | |
9719 | (mov_<store>r): Likewise. | |
9720 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
9721 | (*branch_equality<mode>): Likewise. | |
9722 | (*jump_absolute): Likewise. | |
9723 | (indirect_jump_<mode>): Likewise. | |
9724 | (tablejump_<mode>): Likewise. | |
9725 | (<optab>_internal): Likewise. | |
9726 | (sibcall_internal): Likewise. | |
9727 | (sibcall_value_internal): Likewise. | |
9728 | (prefetch): Use constraint ZD. | |
9729 | * config/mips/mips.opt (minterlink-compressed): New option. | |
9730 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
9731 | (mmicromips): New option. | |
9732 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
9733 | (compare_and_swap_12): Likewise. | |
9734 | (sync_add<mode>): Likewise. | |
9735 | (sync_<optab>_12): Likewise. | |
9736 | (sync_old_<optab>_12): Likewise. | |
9737 | (sync_new_<optab>_12): Likewise. | |
9738 | (sync_nand_12): Likewise. | |
9739 | (sync_old_nand_12): Likewise. | |
9740 | (sync_new_nand_12): Likewise. | |
9741 | (sync_sub<mode>): Likewise. | |
9742 | (sync_old_add<mode>): Likewise. | |
9743 | (sync_old_sub<mode>): Likewise. | |
9744 | (sync_new_add<mode>): Likewise. | |
9745 | (sync_new_sub<mode>): Likewise. | |
9746 | (sync_<optab><mode>): Likewise. | |
9747 | (sync_old_<optab><mode>): Likewise. | |
9748 | (sync_new_<optab><mode>): Likewise. | |
9749 | (sync_nand<mode>): Likewise. | |
9750 | (sync_old_nand<mode>): Likewise. | |
9751 | (sync_new_nand<mode>): Likewise. | |
9752 | (sync_lock_test_and_set<mode>): Likewise. | |
9753 | (test_and_set_12): Likewise. | |
9754 | (atomic_compare_and_swap<mode>): Likewise. | |
9755 | (atomic_exchange<mode>_llsc): Likewise. | |
9756 | (atomic_fetch_add<mode>_llsc): Likewise. | |
9757 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
9758 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
9759 | (umips_save_restore_pattern_p): Likewise. | |
9760 | (umips_load_store_pair_p): Likewise. | |
9761 | (umips_output_load_store_pair): Likewise. | |
9762 | (umips_movep_target_p): Likewise. | |
9763 | (umips_12bit_offset_address_p): Likewise. | |
9764 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
9765 | (mips_base_mips16): Rename this... | |
9766 | (mips_base_compression_flags): ...to this. Update all uses. | |
9767 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
9768 | (mips_mips16_decl_p): Delete. | |
9769 | (mips_nomips16_decl_p): Delete. | |
9770 | (mips_get_compress_on_flags): New function. | |
9771 | (mips_get_compress_off_flags): New function. | |
9772 | (mips_get_compress_mode): New function. | |
9773 | (mips_get_compress_on_name): New function. | |
9774 | (mips_get_compress_off_name): New function. | |
9775 | (mips_insert_attributes): Support multiple compression types. | |
9776 | (mips_merge_decl_attributes): Likewise. | |
9777 | (umips_12bit_offset_address_p): New function. | |
9778 | (mips_start_function_definition): Emit .set micromips directive. | |
9779 | (mips_call_may_need_jalx_p): New function. | |
9780 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
9781 | (mips_print_operand_punctuation): Support short delay slots and | |
9782 | compact jumps. | |
9783 | (umips_swm_mask, umips_swm_encoding): New. | |
9784 | (umips_build_save_restore): New function. | |
9785 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
9786 | (was_mips16_p): Remove. | |
9787 | (old_compression_mode): New. | |
9788 | (mips_set_compression_mode): New function. | |
9789 | (mips_set_current_function): Add microMIPS support. | |
9790 | (mips_option_override): Likewise. | |
9791 | (umips_save_restore_pattern_p): New function. | |
9792 | (umips_output_save_restore): New function. | |
9793 | (umips_load_store_pair_p_1): New function. | |
9794 | (umips_load_store_pair_p): New function. | |
9795 | (umips_output_load_store_pair_1): New function. | |
9796 | (umips_output_load_store_pair): New function. | |
9797 | (umips_movep_target_p) New function. | |
9798 | (mips_prepare_pch_save): Add microMIPS support. | |
9799 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
9800 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
9801 | to use new compression flags and to support microMIPS. | |
9802 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
9803 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
9804 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
9805 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
9806 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
9807 | (M16STORE_REG_P): New macro. | |
9808 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
9809 | (MICROMIPS_J): New macro. | |
9810 | (mips_base_mips16): Rename this... | |
9811 | (mips_base_compression_flags): ...to this. | |
9812 | (UMIPS_12BIT_OFFSET_P): New macro. | |
9813 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
9814 | (MULTILIB_DIRNAMES): Likewise. | |
9815 | ||
5e5df392 TV |
9816 | 2013-02-25 Tom de Vries <tom@codesourcery.com> |
9817 | ||
9818 | PR rtl-optimization/56131 | |
9819 | * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment. | |
9820 | * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and | |
9821 | NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL. | |
9822 | ||
3fdb53c1 TB |
9823 | 2013-02-25 Tobias Burnus <burnus@net-b.de> |
9824 | ||
9825 | * doc/invoke.texi (-fsanitize=): Move from optimization | |
9826 | to debugging options. | |
9827 | ||
ed358aea AB |
9828 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
9829 | ||
9830 | * sched-deps.c (sched_analyze_insn): Fix typo in comment. | |
9831 | ||
f45e9053 AB |
9832 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
9833 | Alexander Monakov <amonakov@ispras.ru> | |
9834 | ||
9835 | PR middle-end/56077 | |
9836 | * sched-deps.c (sched_analyze_insn): When reg_pending_barrier, | |
9837 | flush pending lists also on non-jumps. Adjust comment. | |
9838 | ||
6941b508 CM |
9839 | 2013-02-24 Catherine Moore <clm@codesourcery.com> |
9840 | Maciej W. Rozycki <macro@codesourcery.com> | |
9841 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 9842 | Nathan Sidwell <nathan@codesourcery.com> |
6941b508 CM |
9843 | Iain Sandoe <iain@codesourcery.com> |
9844 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 9845 | Chao-ying Fu <fu@mips.com> |
6941b508 CM |
9846 | |
9847 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
88b97037 | 9848 | Document new function attributes. |
6941b508 CM |
9849 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
9850 | m14k, m14ke, m14kec): Document new options. | |
9851 | (minterlink-mips16): Update documentation. | |
9852 | * doc/md.texi (ZC, ZD): Document new constraints. | |
9853 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
9854 | supports the .set micromips directive. | |
9855 | * configure: Regenerate. | |
9856 | * config.in: Regenerate. | |
9857 | * config/mips/mips-tables.opt: Regenerate. | |
9858 | * config/mips/micromips.md: New file. | |
9859 | * constraints.md (ZC, AD): New constraints. | |
9860 | * config/mips/predicates.md (movep_src_register): New predicate. | |
9861 | (movep_src_operand): New predicate. | |
9862 | (non_volatile_mem_operand): New predicate. | |
9863 | * config/mips/mips.md (multimem): New type. | |
9864 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
9865 | (MOVEP1, MOVEP2): New mode iterator. | |
3fdb53c1 | 9866 | (mov_<load>l): Use ZC constraint. |
6941b508 CM |
9867 | (mov_<load>r): Likewise. |
9868 | (mov_<store>l): Likewise. | |
9869 | (mov_<store>r): Likewise. | |
9870 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
9871 | (*branch_equality<mode>): Likewise. | |
9872 | (*jump_absolute): Likewise. | |
9873 | (indirect_jump_<mode>): Likewise. | |
9874 | (tablejump_<mode>): Likewise. | |
9875 | (<optab>_internal): Likewise. | |
9876 | (sibcall_internal): Likewise. | |
9877 | (sibcall_value_internal): Likewise. | |
9878 | (prefetch): Use constraint ZD. | |
9879 | * config/mips/mips.opt (minterlink-compressed): New option. | |
9880 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
9881 | (mmicromips): New option. | |
9882 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
9883 | (compare_and_swap_12): Likewise. | |
9884 | (sync_add<mode>): Likewise. | |
9885 | (sync_<optab>_12): Likewise. | |
9886 | (sync_old_<optab>_12): Likewise. | |
9887 | (sync_new_<optab>_12): Likewise. | |
9888 | (sync_nand_12): Likewise. | |
9889 | (sync_old_nand_12): Likewise. | |
9890 | (sync_new_nand_12): Likewise. | |
9891 | (sync_sub<mode>): Likewise. | |
9892 | (sync_old_add<mode>): Likewise. | |
9893 | (sync_old_sub<mode>): Likewise. | |
9894 | (sync_new_add<mode>): Likewise. | |
9895 | (sync_new_sub<mode>): Likewise. | |
9896 | (sync_<optab><mode>): Likewise. | |
9897 | (sync_old_<optab><mode>): Likewise. | |
9898 | (sync_new_<optab><mode>): Likewise. | |
9899 | (sync_nand<mode>): Likewise. | |
9900 | (sync_old_nand<mode>): Likewise. | |
9901 | (sync_new_nand<mode>): Likewise. | |
9902 | (sync_lock_test_and_set<mode>): Likewise. | |
9903 | (test_and_set_12): Likewise. | |
9904 | (atomic_compare_and_swap<mode>): Likewise. | |
9905 | (atomic_exchange<mode>_llsc): Likewise. | |
9906 | (atomic_fetch_add<mode>_llsc): Likewise. | |
9907 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
9908 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
9909 | (umips_save_restore_pattern_p): Likewise. | |
9910 | (umips_load_store_pair_p): Likewise. | |
9911 | (umips_output_load_store_pair): Likewise. | |
9912 | (umips_movep_target_p): Likewise. | |
9913 | (umips_12bit_offset_address_p): Likewise. | |
9914 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
9915 | (mips_base_mips16): Rename this... | |
9916 | (mips_base_compression_flags): ...to this. Update all uses. | |
9917 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
9918 | (mips_mips16_decl_p): Delete. | |
9919 | (mips_nomips16_decl_p): Delete. | |
3fdb53c1 | 9920 | (mips_get_compress_on_flags): New function. |
6941b508 CM |
9921 | (mips_get_compress_off_flags): New function. |
9922 | (mips_get_compress_mode): New function. | |
9923 | (mips_get_compress_on_name): New function. | |
9924 | (mips_get_compress_off_name): New function. | |
9925 | (mips_insert_attributes): Support multiple compression types. | |
9926 | (mips_merge_decl_attributes): Likewise. | |
9927 | (umips_12bit_offset_address_p): New function. | |
9928 | (mips_start_function_definition): Emit .set micromips directive. | |
9929 | (mips_call_may_need_jalx_p): New function. | |
9930 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
9931 | (mips_print_operand_punctuation): Support short delay slots and | |
9932 | compact jumps. | |
9933 | (umips_swm_mask, umips_swm_encoding): New. | |
9934 | (umips_build_save_restore): New function. | |
9935 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
9936 | (was_mips16_p): Remove. | |
9937 | (old_compression_mode): New. | |
9938 | (mips_set_compression_mode): New function. | |
9939 | (mips_set_current_function): Add microMIPS support. | |
9940 | (mips_option_override): Likewise. | |
9941 | (umips_save_restore_pattern_p): New function. | |
9942 | (umips_output_save_restore): New function. | |
9943 | (umips_load_store_pair_p_1): New function. | |
9944 | (umips_load_store_pair_p): New function. | |
9945 | (umips_output_load_store_pair_1): New function. | |
9946 | (umips_output_load_store_pair): New function. | |
9947 | (umips_movep_target_p) New function. | |
9948 | (mips_prepare_pch_save): Add microMIPS support. | |
9949 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
9950 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
9951 | to use new compression flags and to support microMIPS. | |
9952 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
9953 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
9954 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
9955 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
9956 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
9957 | (M16STORE_REG_P): New macro. | |
9958 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
9959 | (MICROMIPS_J): New macro. | |
9960 | (mips_base_mips16): Rename this... | |
9961 | (mips_base_compression_flags): ...to this. | |
9962 | (UMIPS_12BIT_OFFSET_P): New macro. | |
9963 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
9964 | (MULTILIB_DIRNAMES): Likewise. | |
9965 | ||
cdebbc6d JJ |
9966 | 2013-02-24 Jakub Jelinek <jakub@redhat.com> |
9967 | ||
9968 | PR target/52555 | |
9969 | * target-globals.c (save_target_globals): For init_reg_sets and | |
9970 | target_reinit remporarily set this_fn_optabs to this_target_optabs. | |
9971 | ||
18c63565 JG |
9972 | 2013-02-22 James Grennahlgh <james.greenhalgh@arm.com> |
9973 | ||
9974 | * config/aarch64/aarch64-simd-builtins.def: Add copyright header. | |
9975 | * config/aarch64/t-aarch64 | |
9976 | (aarch64-builtins.o): Depend on aarch64-simd-builtins.def. | |
9977 | ||
2194f7a2 VM |
9978 | 2013-02-22 Vladimir Makarov <vmakarov@redhat.com> |
9979 | ||
9980 | PR inline-asm/56148 | |
9981 | * lra-constraints.c (process_alt_operands): Reload operand | |
9982 | conflicting with earlier clobber only if no more other conflicting | |
9983 | operands. | |
9984 | ||
7d613735 JJ |
9985 | 2013-02-22 Jakub Jelinek <jakub@redhat.com> |
9986 | ||
9987 | PR sanitizer/56393 | |
9988 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o | |
9989 | if not linking a shared library. | |
9990 | ||
ac8d93a7 SL |
9991 | 2013-02-22 Seth LaForge <sethml@google.com> |
9992 | ||
9993 | * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian. | |
9994 | ||
e0237780 GY |
9995 | 2013-02-22 Greta Yorsh <Greta.Yorsh@arm.com> |
9996 | ||
3fdb53c1 TB |
9997 | * config/arm/arm.md (split for extendsidi): Update condition. |
9998 | (zero_extend<mode>di2,extend<mode>di2): Add an alternative. | |
9999 | * config/arm/iterators.md (qhs_extenddi_cstr): Likewise. | |
10000 | (qhs_zextenddi_cstr): Likewise. | |
e0237780 | 10001 | |
d7fde18c JJ |
10002 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
10003 | ||
be63b77d JJ |
10004 | PR middle-end/56420 |
10005 | * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to | |
10006 | avoid signed wrapping. | |
10007 | (expand_mult): Handle properly multiplication by | |
10008 | ((dword_type) -1) << (BITS_PER_WORD - 1). Improve multiplication by | |
10009 | ((dword_type) 1) << (BITS_PER_WORD - 1). Avoid undefined behavior | |
10010 | in the compiler if coeff is HOST_WIDE_INT_MIN. | |
10011 | (expand_divmod): Don't make ext_op1 static, change it's type to | |
10012 | uhwi. Avoid undefined behavior in -INTVAL (op1). | |
10013 | ||
d7fde18c JJ |
10014 | PR rtl-optimization/50339 |
10015 | * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt | |
10016 | field. | |
10017 | * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT. | |
10018 | (compute_costs): Call compute_splitting_shift also for ASHIFTRT | |
10019 | into splitting_ashiftrt field. | |
10020 | (find_decomposable_shift_zext, resolve_shift_zext): Handle also | |
10021 | ASHIFTRT. | |
10022 | (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT | |
10023 | choices. | |
10024 | ||
6aad4455 AH |
10025 | 2013-02-20 Aldy Hernandez <aldyh@redhat.com> |
10026 | ||
10027 | PR middle-end/56108 | |
10028 | * trans-mem.c (execute_tm_mark): Do not expand transactions that | |
10029 | are sure to go irrevocable. | |
10030 | ||
38fe784d HPN |
10031 | 2013-02-21 Hans-Peter Nilsson <hp@axis.com> |
10032 | ||
10033 | * doc/rtl.texi (vec_concat, vec_duplicate): Mention that | |
10034 | scalars are valid operands. | |
10035 | ||
0fd44da3 MJ |
10036 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
10037 | ||
10038 | PR tree-optimization/56310 | |
10039 | * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy | |
10040 | only matching indices and non-negative final offsets. | |
10041 | (intersect_aggregates_with_edge): Pass src_idx to | |
10042 | agg_replacements_to_vector. Pass src_idx insstead of index to | |
10043 | intersect_with_agg_replacements. | |
10044 | ||
7a92038b MJ |
10045 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
10046 | ||
10047 | * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold | |
10048 | instead of hard-wired defaults. | |
10049 | ||
c0da9c37 MR |
10050 | 2013-02-21 Maciej W. Rozycki <macro@codesourcery.com> |
10051 | ||
10052 | * doc/invoke.texi (MIPS Options): Update documentation of the | |
10053 | floating-point multiply-accumulate instruction restrictions. | |
10054 | ||
d247ea0c | 10055 | 2013-02-21 Kostya Serebryany <kcc@google.com> |
7df59255 KS |
10056 | |
10057 | * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as | |
10058 | asan_shadow_offset on x86_64 linux. | |
10059 | ||
22deefcb RB |
10060 | 2013-02-21 Richard Biener <rguenther@suse.de> |
10061 | ||
10062 | PR tree-optimization/56415 | |
10063 | Revert | |
10064 | 2013-02-11 Richard Biener <rguenther@suse.de> | |
10065 | ||
10066 | PR tree-optimization/56273 | |
10067 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
10068 | first VRP run. | |
10069 | ||
7bcc6e75 JJ |
10070 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
10071 | ||
a0ad148f JJ |
10072 | PR bootstrap/56258 |
10073 | * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item | |
10074 | instead of @itemx. | |
10075 | ||
7bcc6e75 JJ |
10076 | PR inline-asm/56405 |
10077 | * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't | |
10078 | use movmisalign or extract_bit_field for EXPAND_MEMORY modifier. | |
10079 | ||
a0a7b611 JH |
10080 | 2013-02-20 Jan Hubicka <jh@suse.cz> |
10081 | ||
10082 | PR tree-optimization/56265 | |
88b97037 UB |
10083 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph |
10084 | when target is referenced for first time. | |
a0a7b611 | 10085 | |
c0e50f72 RB |
10086 | 2013-02-20 Richard Biener <rguenther@suse.de> |
10087 | ||
10088 | * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. | |
10089 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise. | |
10090 | * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise. | |
10091 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do | |
10092 | not return anything. | |
10093 | (rename_ssa_copies): Do not remove unused locals. | |
10094 | * tree-ssa-ccp.c (do_ssa_ccp): Likewise. | |
88b97037 | 10095 | * tree-ssanames.c (pass_release_ssa_names): Remove unused locals first. |
c0e50f72 RB |
10096 | * passes.c (execute_function_todo): Do not schedule unused locals |
10097 | removal if cleanup_tree_cfg did something. | |
10098 | * tree-ssa-live.c (remove_unused_locals): Dump statistics | |
10099 | about the number of removed locals. | |
10100 | ||
a52ca739 RB |
10101 | 2013-02-20 Richard Biener <rguenther@suse.de> |
10102 | ||
10103 | PR tree-optimization/56398 | |
88b97037 | 10104 | * tree-vect-loop-manip.c (adjust_debug_stmts): Skip SSA default defs. |
a52ca739 | 10105 | |
ec9c9d1b MJ |
10106 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
10107 | ||
10108 | PR tree-optimization/55334 | |
10109 | * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to | |
10110 | restricted pointers to arrays. | |
10111 | ||
e91c8ed6 | 10112 | 2013-02-20 Richard Biener <rguenther@suse.de> |
88b97037 | 10113 | Jakub Jelinek <jakub@redhat.com> |
e91c8ed6 RB |
10114 | |
10115 | PR tree-optimization/56396 | |
10116 | * tree-ssa-ccp.c (n_const_val): New static variable. | |
10117 | (get_value): Return NULL for SSA names we don't have a lattice | |
10118 | entry for. | |
10119 | (ccp_initialize): Initialize n_const_val. | |
10120 | * tree-ssa-copy.c (n_copy_of): New static variable. | |
10121 | (init_copy_prop): Initialize n_copy_of. | |
10122 | (get_value): Return NULL_TREE for SSA names we don't have a | |
10123 | lattice entry for. | |
10124 | ||
3d916479 MJ |
10125 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
10126 | ||
10127 | * ipa-cp.c (initialize_node_lattices): Fix dumping condition. | |
10128 | ||
71a86758 RB |
10129 | 2013-02-20 Richard Biener <rguenther@suse.de> |
10130 | ||
10131 | * genpreds.c (write_lookup_constraint): Do not compare first | |
10132 | letter of the constraint again. | |
10133 | ||
79836a12 RB |
10134 | 2013-02-20 Richard Biener <rguenther@suse.de> |
10135 | ||
10136 | * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits | |
10137 | and ceil_log2. | |
10138 | (get_use_iv_cost): Terminate hashtable walk when coming across | |
10139 | an empty entry. | |
10140 | ||
bbe4fb2c IZ |
10141 | 2013-02-20 Igor Zamyatin <igor.zamyatin@intel.com> |
10142 | ||
10143 | * config/i386/i386.c (initial_ix86_tune_features): Turn on fp | |
10144 | reassociation for avx2 targets. | |
10145 | ||
a72d8780 | 10146 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
79836a12 | 10147 | |
c77f83d5 EI |
10148 | * config/microblaze/microblaze.c: microblaze_has_clz = 0 |
10149 | Add version check for v8.10.a to enable microblaze_has_clz | |
88b97037 | 10150 | * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined |
c77f83d5 EI |
10151 | version and TARGET_PATTERN_COMPARE check |
10152 | * config/microblaze/microblaze.md: New clzsi2 instruction | |
3fdb53c1 | 10153 | |
a72d8780 | 10154 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
959434e6 | 10155 | |
a72d8780 | 10156 | * config/microblaze/microblaze.md (call_value_intern): Check symbol is |
959434e6 EI |
10157 | function before branching. |
10158 | ||
242387fa AB |
10159 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
10160 | ||
10161 | * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set | |
10162 | DUMP_INSN_RTX_UID. | |
10163 | (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim. | |
10164 | ||
b4979ab9 AB |
10165 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
10166 | ||
10167 | PR middle-end/55889 | |
b4979ab9 AB |
10168 | * sel-sched.c: Include ira.h. |
10169 | (implicit_clobber_conflict_p): New function. | |
10170 | (moveup_expr): Use it. | |
88b97037 | 10171 | * Makefile.in (sel-sched.o): Depend on ira.h. |
b4979ab9 | 10172 | |
24d63016 RB |
10173 | 2013-02-19 Richard Biener <rguenther@suse.de> |
10174 | ||
10175 | PR tree-optimization/56384 | |
10176 | * tree-ssa-sccvn.h (struct vn_phi_s): Add type member. | |
10177 | (vn_hash_type): Split out from ... | |
10178 | (vn_hash_constant_with_type): ... here. | |
10179 | * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type. | |
10180 | (vn_phi_eq): Compare types from vn_phi_s structure. | |
10181 | (vn_phi_lookup): Populate vn_phi_s type. | |
10182 | (vn_phi_insert): Likewise. | |
10183 | ||
a475fd3d JJ |
10184 | 2013-02-19 Jakub Jelinek <jakub@redhat.com> |
10185 | ||
47cc28f5 JJ |
10186 | PR tree-optimization/56350 |
10187 | * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false | |
10188 | if haven't found reduction or nested cycle operand, rather than | |
10189 | asserting we must find it. | |
10190 | ||
a475fd3d JJ |
10191 | PR tree-optimization/56381 |
10192 | * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument | |
10193 | to fold_build3. | |
10194 | ||
10195 | 2013-02-18 Aldy Hernandez <aldyh@redhat.com> | |
135204dd AH |
10196 | Jakub Jelinek <jakub@redhat.com> |
10197 | ||
10198 | PR target/52555 | |
10199 | * genopinit.c (raw_optab_handler): Use this_fn_optabs. | |
10200 | (swap_optab_enable): Same. | |
10201 | (init_all_optabs): Use argument instead of global. | |
88b97037 | 10202 | * tree.h (struct tree_optimization_option): New field target_optabs. |
135204dd AH |
10203 | * expr.h (init_all_optabs): Add argument to prototype. |
10204 | (TREE_OPTIMIZATION_OPTABS): New. | |
10205 | (save_optabs_if_changed): Protoize. | |
10206 | * optabs.h: Declare this_fn_optabs. | |
10207 | * optabs.c (save_optabs_if_changed): New. | |
10208 | Declare this_fn_optabs. | |
10209 | (init_optabs): Add argument to init_all_optabs() call. | |
10210 | * function.c (invoke_set_current_function_hook): Handle per | |
10211 | function optabs. | |
10212 | * function.h (struct function): New field optabs. | |
10213 | * config/mips/mips.c (mips_set_mips16_mode): Handle when | |
10214 | optimization_current_node has changed. | |
10215 | * target-globals.h (save_target_globals_default_opts): Protoize. | |
10216 | * target-globals.c (save_target_globals_default_opts): New. | |
10217 | ||
3f587ca3 JDA |
10218 | 2013-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
10219 | ||
10220 | PR target/56347 | |
10221 | * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark | |
10222 | registers %fr12 and %fr12R as call used. | |
ceaca33e JDA |
10223 | |
10224 | PR target/56214 | |
10225 | * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode | |
88b97037 UB |
10226 | and HImode, require all displacements to be an integer multiple of |
10227 | their mode size. | |
ceaca33e JDA |
10228 | * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses, |
10229 | only allow QImode and HImode when reload is in progress and strict is | |
10230 | true. Likewise for symbolic addresses. Use base14_operand to check | |
10231 | displacements in REG+BASE addresses. | |
10232 | ||
fe0b4796 RB |
10233 | 2013-02-18 Richard Biener <rguenther@suse.de> |
10234 | ||
10235 | PR tree-optimization/56366 | |
10236 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
10237 | handle sign-conversion of outer-loop initial induction value. | |
10238 | ||
6aaf596b RB |
10239 | 2013-02-18 Richard Biener <rguenther@suse.de> |
10240 | ||
73db8ff1 | 10241 | PR middle-end/56349 |
6aaf596b RB |
10242 | * cfghooks.c (merge_blocks): If we merge a latch into another |
10243 | block adjust references to it. | |
10244 | * cfgloop.c (flow_loops_find): Reset latch before recomputing it. | |
10245 | (verify_loop_structure): Verify that a recorded latch is in fact | |
10246 | a latch. | |
10247 | ||
5e97dfb6 RB |
10248 | 2013-02-18 Richard Biener <rguenther@suse.de> |
10249 | ||
10250 | PR tree-optimization/56321 | |
10251 | * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly | |
10252 | order SSA name release and virtual operand unlinking. | |
10253 | ||
825527e8 EI |
10254 | 2013-02-17 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
10255 | ||
10256 | * config/microblaze/microblaze.md (save_stack_block): Define. | |
10257 | (restore_stack_block): Likewise. | |
10258 | ||
debd11d9 EI |
10259 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
10260 | ||
10261 | * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1. | |
10262 | * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1. | |
10263 | * config/microblaze/microblaze.c (microblaze_option_override): | |
10264 | Bail out early for PIC modes when target does not support PIC. | |
10265 | ||
8ec77be0 EI |
10266 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
10267 | ||
88b97037 | 10268 | * config/microblaze/microblaze.c (microblaze_asm_trampoline_template): |
8ec77be0 EI |
10269 | Replace with a microblaze version. |
10270 | (microblaze_trampoline_init): Adapt for microblaze. | |
a752b80f | 10271 | * config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for |
8ec77be0 EI |
10272 | microblaze. |
10273 | ||
b41288b3 JJ |
10274 | 2013-02-16 Jakub Jelinek <jakub@redhat.com> |
10275 | Dodji Seketeli <dodji@redhat.com> | |
10276 | ||
10277 | PR asan/56330 | |
88b97037 | 10278 | * asan.c (get_mem_refs_of_builtin_call): White space and style cleanup. |
b41288b3 JJ |
10279 | (instrument_mem_region_access): Do not forget to always put |
10280 | instrumentation of the of 'base' and 'base + len' in a "if (len != | |
10281 | 0) statement, even for cases where either 'base' or 'base + len' | |
10282 | are not instrumented -- because they have been previously | |
10283 | instrumented. Simplify the logic by putting all the statements | |
10284 | instrument 'base + len' inside a sequence, and then insert that | |
10285 | sequence right before the current insertion point. Then, to | |
10286 | instrument 'base + len', just get an iterator on that statement. | |
10287 | And do not forget to update the pointer to iterator the function | |
10288 | received as argument. | |
10289 | ||
47918951 VM |
10290 | 2013-02-15 Vladimir Makarov <vmakarov@redhat.com> |
10291 | ||
10292 | PR rtl-optimization/56348 | |
10293 | * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos. | |
10294 | ||
3fb7c699 SB |
10295 | 2013-02-15 Steven Bosscher <steven@gcc.gnu.org> |
10296 | ||
10297 | * graph.c (start_graph_dump): Print dumpfile base as digraph label. | |
10298 | (clean_graph_dump_file): Pass base to start_graph_dump. | |
10299 | ||
576fe41a RH |
10300 | 2013-02-14 Richard Henderson <rth@redhat.com> |
10301 | ||
10302 | PR target/55941 | |
10303 | * lower-subreg.c (simple_move): Check dest mode instead of src mode. | |
10304 | ||
bb3accfa SB |
10305 | 2013-02-14 Steven Bosscher <steven@gcc.gnu.org> |
10306 | ||
10307 | * collect2-aix.h: Define F_LOADONLY. | |
10308 | ||
03143140 RB |
10309 | 2013-02-14 Richard Biener <rguenther@suse.de> |
10310 | ||
10311 | PR lto/50494 | |
10312 | * varasm.c (output_constant_def_1): Get the decl representing | |
10313 | the constant as argument. | |
10314 | (output_constant_def): Wrap output_constant_def_1. | |
10315 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
10316 | representing the constant. | |
10317 | (build_constant_desc): Optionally re-use a decl already | |
10318 | representing the constant. | |
10319 | (tree_output_constant_def): Adjust. | |
10320 | ||
8fb06726 DS |
10321 | 2013-02-14 Dodji Seketeli <dodji@redhat.com> |
10322 | ||
10323 | Fix an asan crash | |
10324 | * asan.c (instrument_builtin_call): Really put the length of the | |
10325 | second source argument into src1_len. | |
10326 | ||
c4bfe8bf JJ |
10327 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
10328 | ||
10329 | * asan.c (create_cond_insert_point): Add create_then_fallthru_edge | |
10330 | argument. If it is false, don't create edge from then_bb to | |
10331 | fallthru_bb. | |
10332 | (insert_if_then_before_iter): Pass true to it. | |
10333 | (build_check_stmt): Pass false to it. | |
10334 | (transform_statements): Flush hash table only on extended basic | |
10335 | block boundaries, rather than at the beginning of every bb. | |
10336 | Don't flush hash table on nonfreeing_call_p calls. | |
10337 | * tree-flow.h (nonfreeing_call_p): New prototype. | |
10338 | * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static. | |
10339 | ||
7afe2801 DM |
10340 | 2013-02-13 David S. Miller <davem@davemloft.net> |
10341 | ||
10342 | * expmed.c (expand_shift_1): Only strip scalar integer subregs. | |
10343 | ||
70cc3288 VM |
10344 | 2013-02-13 Vladimir Makarov <vmakarov@redhat.com> |
10345 | ||
10346 | PR target/56184 | |
10347 | * ira.c (max_regno_before_ira): Move from ... | |
10348 | (ira): ... here. | |
10349 | (fix_reg_equiv_init): Use max_regno_before_ira instead of | |
10350 | vec_safe_length. | |
10351 | ||
6422242b JJ |
10352 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
10353 | ||
10354 | * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change. | |
10355 | ||
976a81ee RB |
10356 | 2013-02-13 Richard Biener <rguenther@suse.de> |
10357 | ||
10358 | PR lto/56295 | |
10359 | * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping | |
10360 | globals in MEM_REFs. | |
10361 | ||
c1874a87 RB |
10362 | 2013-02-13 Richard Biener <rguenther@suse.de> |
10363 | ||
10364 | * loop-init.c (loop_optimizer_init): Clear loop state when | |
10365 | re-initializing preserved loops. | |
10366 | * loop-unswitch.c (unswitch_single_loop): Return whether | |
10367 | we unswitched the loop. Do not verify loop state here. | |
88b97037 | 10368 | (unswitch_loops): When we unswitched a loop discover new loops. |
c1874a87 | 10369 | |
b4ab7d34 KS |
10370 | 2013-02-13 Kostya Serebryany <kcc@google.com> |
10371 | ||
88b97037 UB |
10372 | * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset |
10373 | on x86_64 linux. | |
b4ab7d34 KS |
10374 | * sanitizer.def: Rename __asan_init to __asan_init_v1. |
10375 | ||
bdcbe80c DS |
10376 | 2013-02-12 Dodji Seketeli <dodji@redhat.com> |
10377 | ||
10378 | Avoid instrumenting duplicated memory access in the same basic block | |
10379 | * Makefile.in (asan.o): Add new dependency on hash-table.h | |
10380 | * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types. | |
10381 | (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table) | |
10382 | (has_stmt_been_instrumented_p, empty_mem_ref_hash_table) | |
10383 | (free_mem_ref_resources, has_mem_ref_been_instrumented) | |
10384 | (has_stmt_been_instrumented_p, update_mem_ref_hash_table) | |
10385 | (get_mem_ref_of_assignment): New functions. | |
10386 | (get_mem_refs_of_builtin_call): Extract from | |
10387 | instrument_builtin_call and tweak a little bit to make it fit with | |
10388 | the new signature. | |
10389 | (instrument_builtin_call): Use the new | |
10390 | get_mem_refs_of_builtin_call. Use gimple_call_builtin_p instead | |
10391 | of is_gimple_builtin_call. | |
10392 | (instrument_derefs, instrument_mem_region_access): Insert the | |
10393 | instrumented memory reference into the hash table. | |
10394 | (maybe_instrument_assignment): Renamed instrument_assignment into | |
10395 | this, and change it to advance the iterator when instrumentation | |
10396 | actually happened and return true in that case. This makes it | |
10397 | homogeneous with maybe_instrument_assignment, and thus give a | |
10398 | chance to callers to be more 'regular'. | |
10399 | (transform_statements): Clear the memory reference hash table | |
10400 | whenever we enter a new BB, when we cross a function call, or when | |
10401 | we are done transforming statements. Use | |
10402 | maybe_instrument_assignment instead of instrumentation. No more | |
10403 | need to special case maybe_instrument_assignment and advance the | |
10404 | iterator after calling it; it's now handled just like | |
10405 | maybe_instrument_call. Update comment. | |
10406 | ||
4861a1f7 RB |
10407 | 2013-02-13 Richard Biener <rguenther@suse.de> |
10408 | ||
10409 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): | |
10410 | Fix loop discovery code. | |
10411 | ||
1c86bd80 VM |
10412 | 2013-02-12 Vladimir Makarov <vmakarov@redhat.com> |
10413 | ||
10414 | PR inline-asm/56148 | |
10415 | * lra-constraints.c (process_alt_operands): Match early clobber | |
70cc3288 | 10416 | operand with itself. Check conflicts with earlyclobber only if |
1c86bd80 VM |
10417 | the operand is not reloaded. Prefer to reload conflicting operand |
10418 | if earlyclobber and matching operands are the same. | |
10419 | ||
7cbda518 RB |
10420 | 2013-02-12 Richard Biener <rguenther@suse.de> |
10421 | ||
10422 | PR lto/56297 | |
10423 | * lto-streamer-out.c (write_symbol): Do not output symbols | |
10424 | for hard register variables. | |
10425 | ||
e68a4ef6 GJL |
10426 | 2013-02-12 Georg-Johann Lay <avr@gjlay.de> |
10427 | ||
10428 | PR target/54222 | |
10429 | * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders. | |
10430 | (umulsidi3_insn, mulsidi3_insn): New insns. | |
10431 | ||
a72d8780 | 10432 | 2013-02-12 Christophe Lyon <christophe.lyon@linaro.org> |
2597da22 CL |
10433 | |
10434 | * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type. | |
10435 | (struct tune_params): Add vec_costs field. | |
10436 | * config/arm/arm.c (arm_builtin_vectorization_cost) | |
10437 | (arm_add_stmt_cost): New functions. | |
10438 | (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST) | |
10439 | (TARGET_VECTORIZE_ADD_STMT_COST): Define. | |
10440 | (arm_default_vec_cost): New struct of type cpu_vec_costs. | |
10441 | (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune) | |
10442 | (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune) | |
10443 | (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune) | |
10444 | (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field. | |
10445 | ||
43320568 RB |
10446 | 2013-02-12 Richard Biener <rguenther@suse.de> |
10447 | ||
10448 | PR lto/56295 | |
10449 | * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off | |
10450 | decls again if possible. | |
10451 | ||
a011aa39 RB |
10452 | 2013-02-12 Richard Biener <rguenther@suse.de> |
10453 | ||
10454 | PR middle-end/56288 | |
10455 | * tree-ssa.c (verify_ssa_name): Fix check, move | |
10456 | SSA_NAME_IN_FREE_LIST check up. | |
10457 | ||
6da26889 JJ |
10458 | 2013-02-12 Jakub Jelinek <jakub@redhat.com> |
10459 | Steven Bosscher <steven@gcc.gnu.org> | |
10460 | ||
10461 | PR rtl-optimization/56151 | |
10462 | * optabs.c (add_equal_note): Don't return 0 if target is a MEM, | |
10463 | equal to op0 or op1, and last_insn pattern is CODE operation | |
10464 | with MEM dest and one of the operands matches that MEM. | |
10465 | ||
f80e0faf ST |
10466 | 2013-02-11 Sriraman Tallam <tmsriramgoogle.com> |
10467 | ||
10468 | * doc/extend.texi: Document Function Multiversioning and "default" | |
10469 | parameter string to target attribute. | |
10470 | * config/i386/i386.c (get_builtin_code_for_version): Return 0 if | |
10471 | target attribute parameter is "default". | |
10472 | (ix86_compare_version_priority): Remove checks for target attribute. | |
10473 | (ix86_mangle_function_version_assembler_name): Change error to sorry. | |
10474 | Remove check for target attribute equal to NULL. Add assert. | |
10475 | (ix86_generate_version_dispatcher_body): Change error to sorry. | |
10476 | ||
6c59ffd1 IS |
10477 | 2013-02-11 Iain Sandoe <iain@codesourcery.com> |
10478 | Jack Howarth <howarth@bromo.med.uc.edu> | |
10479 | Patrick Marlier <patrick.marlier@gmail.com> | |
10480 | ||
10481 | PR libitm/55693 | |
10482 | * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and | |
10483 | define ENDFILE_SPEC as TM_DESTRUCTOR. | |
10484 | * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR. | |
10485 | ||
a72d8780 | 10486 | 2013-02-11 Alexander Potapenko <glider@google.com> |
6a52ccb3 AP |
10487 | Jack Howarth <howarth@bromo.med.uc.edu> |
10488 | Jakub Jelinek <jakub@redhat.com> | |
10489 | ||
10490 | PR sanitizer/55617 | |
10491 | * config/darwin.c (cdtor_record): Rename ctor_record. | |
10492 | (sort_cdtor_records): Rename sort_ctor_records. | |
10493 | (finalize_dtors): New routine to sort destructors by | |
10494 | priority before use in assemble_integer. | |
10495 | (machopic_asm_out_destructor): Use finalize_dtors if needed. | |
10496 | ||
b63fe007 UB |
10497 | 2013-02-11 Uros Bizjak <ubizjak@gmail.com> |
10498 | ||
10499 | PR rtl-optimization/56275 | |
10500 | * simplify-rtx.c (avoid_constant_pool_reference): Check that | |
10501 | offset is non-negative and less than cmode size before | |
10502 | calling simplify_subreg. | |
10503 | ||
8e89b5b5 RB |
10504 | 2013-02-11 Richard Biener <rguenther@suse.de> |
10505 | ||
10506 | PR tree-optimization/56264 | |
10507 | * cfgloop.h (fix_loop_structure): Adjust prototype. | |
10508 | * loop-init.c (fix_loop_structure): Return the number of | |
10509 | newly discovered loops. | |
10510 | * tree-cfgcleanup.c (repair_loop_structures): When new loops | |
10511 | are discovered, do a full loop-closed SSA rewrite. | |
10512 | ||
b4a4b56d RB |
10513 | 2013-02-11 Richard Biener <rguenther@suse.de> |
10514 | ||
10515 | PR tree-optimization/56273 | |
10516 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
10517 | first VRP run. | |
10518 | (check_array_ref): Fix missing newline in dumps. | |
10519 | (search_for_addr_array): Likewise. | |
10520 | ||
0c885229 DE |
10521 | 2013-02-09 David Edelsohn <dje.gcc@gmail.com> |
10522 | ||
10523 | * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine. | |
10524 | ||
59ac9a55 JJ |
10525 | 2013-02-09 Jakub Jelinek <jakub@redhat.com> |
10526 | ||
10527 | PR target/56256 | |
10528 | * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define. | |
10529 | ||
25bb0bb5 VM |
10530 | 2013-02-08 Vladimir Makarov <vmakarov@redhat.com> |
10531 | ||
10532 | PR rtl-optimization/56246 | |
0c885229 | 10533 | * lra-constraints.c (simplify_operand_subreg): Try to reuse |
25bb0bb5 VM |
10534 | reload pseudo. |
10535 | * lra.c (lra): Clear lra_optional_reload_pseudos only when all | |
10536 | constraints are satisfied. | |
10537 | ||
a698cc03 JL |
10538 | 2013-02-08 Jeff Law <law@redhat.com> |
10539 | ||
10540 | PR debug/53948 | |
10541 | * emit-rtl.c (reg_is_parm_p): New function. | |
10542 | * regs.h (reg_is_parm_p): New prototype. | |
10543 | * ira-conflicts.c (ira_build_conflicts): Allow parameters in | |
10544 | callee-clobbered registers. | |
10545 | ||
e1122ddd MM |
10546 | 2013-02-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
10547 | ||
10548 | PR target/56043 | |
10549 | * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass): | |
10550 | If there is no implicit builtin declaration, just return NULL. | |
10551 | ||
19c5f6e6 UB |
10552 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
10553 | ||
10554 | * config/i386/sse.md (FMAMODEM): New mode iterator. | |
10555 | (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM | |
10556 | mode iterator. Do not use TARGET_SSE_MATH in insn constraint. | |
10557 | ||
2480f2ca | 10558 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
76ef61fb | 10559 | |
2480f2ca UB |
10560 | * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only |
10561 | when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set. | |
10562 | * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto. | |
10563 | ||
10564 | 2013-02-08 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
10565 | ||
10566 | * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT. | |
10567 | (microblaze*-*-elf): Likewise. | |
10568 | * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to | |
10569 | LINK_SPEC. | |
10570 | * config/microblaze/microblaze-c.c: Add builtin defines for | |
10571 | _LITTLE_ENDIAN and _BIG_ENDIAN. | |
10572 | * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and | |
10573 | add to TARGET_DEFAULT flags. | |
76ef61fb | 10574 | Expand ASM_SPEC and LINK_SPEC. |
2480f2ca UB |
10575 | Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN. |
10576 | * config/microblaze/microblaze.md: Update extendsidi2 and | |
10577 | movdi_internal instructions to use low-order / high-order reg | |
10578 | print_operands. | |
10579 | * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian | |
10580 | options and inversemask / mask of LITTLE_ENDIAN. | |
10581 | * config/microblaze/t-microblaze: Expand multilib options to | |
10582 | include mlittle-endian (le) and update exceptions patterns. | |
10583 | ||
600a5961 JJ |
10584 | 2013-02-08 Jakub Jelinek <jakub@redhat.com> |
10585 | ||
5df81313 JJ |
10586 | PR rtl-optimization/56195 |
10587 | * lra-constraints.c (get_reload_reg): Don't reuse regs | |
10588 | if they have smaller mode than requested, if they have | |
10589 | wider mode than requested, try to return a SUBREG. | |
10590 | ||
600a5961 JJ |
10591 | PR tree-optimization/56250 |
10592 | * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize | |
10593 | if type is unsigned and code isn't MULT_EXPR. | |
10594 | ||
ff544649 GJL |
10595 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
10596 | ||
10597 | PR tree-optimization/56064 | |
10598 | * fixed-value.c (fixed_from_double_int): Sign/zero extend payload | |
10599 | bits according to mode. | |
10600 | * fixed-value.h (fixed_from_double_int) | |
10601 | (const_fixed_from_double_int): Adjust comments. | |
10602 | ||
e45cde98 RB |
10603 | 2013-02-08 Richard Biener <rguenther@suse.de> |
10604 | ||
10605 | PR lto/56231 | |
10606 | * lto-streamer.h (struct data_in): Remove current_file, current_line | |
10607 | and current_col members. | |
10608 | * lto-streamer-out.c (lto_output_location): Stream changed bits | |
10609 | en-block for efficiency. | |
10610 | * lto-streamer-in.c (clear_line_info): Remove. | |
10611 | (lto_input_location): Cache current file, line and column | |
10612 | globally via local statics. Read changed bits en-block. | |
10613 | (input_function): Do not call clear_line_info. | |
10614 | (lto_read_body): Likewise. | |
10615 | (lto_input_toplevel_asms): Likewise. | |
10616 | ||
c1ca73d8 MM |
10617 | 2013-02-08 Michael Matz <matz@suse.de> |
10618 | ||
10619 | PR tree-optimization/52448 | |
10620 | * tree-ssa-phiopt.c (struct name_to_bb): Add phase member. | |
10621 | (nt_call_phase): New static. | |
10622 | (add_or_mark_expr): Only mark accesses with newer phase than any | |
10623 | call seen. | |
10624 | (nonfreeing_call_p): New. | |
10625 | (nt_init_block): Update nt_call_phase, mark blocks as visited. | |
10626 | (nt_fini_block): Keep blocks marked as visited. | |
10627 | (get_non_trapping): Initialize nt_call_phase, and reset aux pointer. | |
10628 | ||
57548aa2 RB |
10629 | 2013-02-08 Richard Biener <rguenther@suse.de> |
10630 | ||
10631 | * ira.c (ira): Free broken dominator information. | |
10632 | ||
8e10366f UB |
10633 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
10634 | ||
10635 | * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro. | |
10636 | ||
f64fb0fa MP |
10637 | 2013-02-08 Marek Polacek <polacek@redhat.com> |
10638 | ||
8e10366f | 10639 | * cfgloop.c (verify_loop_structure): Add more checking of headers. |
f64fb0fa | 10640 | |
0375167b RB |
10641 | 2013-02-08 Richard Biener <rguenther@suse.de> |
10642 | ||
10643 | PR middle-end/56181 | |
10644 | * cfgloop.h (flow_loops_find): Adjust. | |
10645 | (bb_loop_header_p): Declare. | |
10646 | * cfgloop.c (bb_loop_header_p): New function split out from ... | |
10647 | (flow_loops_find): ... here. Adjust function signature, | |
10648 | support incremental loop structure update. | |
10649 | (verify_loop_structure): Cleanup. Verify a loop is a loop. | |
10650 | * cfgloopmanip.c (fix_loop_structure): Move ... | |
10651 | * loop-init.c (fix_loop_structure): ... here. | |
10652 | (apply_loop_flags): Split out from ... | |
10653 | (loop_optimizer_init): ... here. | |
10654 | (fix_loop_structure): Use apply_loop_flags. Use flow_loops_find | |
10655 | in incremental mode, only remove dead loops here. | |
10656 | ||
85d768f3 GJL |
10657 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
10658 | ||
10659 | PR target/54222 | |
10660 | * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add. | |
10661 | * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators. | |
10662 | (round<mode>3, round<mode>3_const): New expanders for fixed-mode. | |
10663 | (*round<mode>3.libgcc): New insns for fixed-modes. | |
10664 | * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME. | |
10665 | (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs. | |
10666 | (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs. | |
10667 | * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline | |
10668 | implementations. Define to __builtin_avr_absFX, | |
10669 | __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively. | |
10670 | (roundFX, countlsFX): Define to __builtin_avr_roundFX, | |
10671 | __builtin_avr_countlsFX, respectively. | |
10672 | * config/avr/avr-c.c (target.h): Include it. | |
10673 | (enum avr_builtin_id): New enum. | |
10674 | (avr_resolve_overloaded_builtin): New static function. | |
10675 | (avr_register_target_pragmas): Use it to set | |
10676 | targetm.resolve_overloaded_builtin. | |
10677 | * config/avr/avr.c (avr_init_builtins): Supply myriads of local | |
10678 | tree nodes used by DEF_BUILTIN. | |
10679 | (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them. | |
10680 | (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR. | |
10681 | <AVR_BUILTIN_xxBITS>: Same. | |
10682 | ||
661bc682 RB |
10683 | 2013-02-08 Richard Biener <rguenther@suse.de> |
10684 | ||
10685 | * cfgloop.c (verify_loop_structure): Properly handle | |
10686 | a loop exiting to another loop header. | |
10687 | * ira-int.h (ira_loops): Remove. | |
10688 | * ira.c (ira_loops): Remove. | |
10689 | (ira): Use loop_optimizer_init and loop_optimizer_finalize. | |
10690 | (do_reload): Use loop_optimizer_finalize. | |
10691 | * ira-build.c (create_loop_tree_nodes): Use get_loops and | |
10692 | number_of_loops to access the loop tree. | |
10693 | (more_one_region_p): Likewise. | |
10694 | (finish_loop_tree_nodes): Likewise. | |
10695 | (rebuild_regno_allocno_maps): Likewise. | |
10696 | (mark_loops_for_removal): Likewise. | |
10697 | (mark_all_loops_for_removal): Likewise. | |
10698 | (remove_unnecessary_regions): Likewise. | |
10699 | (ira_build): Likewise. | |
10700 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
10701 | ||
0d5049b2 RB |
10702 | 2013-02-08 Richard Biener <rguenther@suse.de> |
10703 | ||
10704 | * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency. | |
10705 | * ipa-pure-const.c (analyze_function): Avoid calling | |
10706 | mark_irreducible_loops twice. | |
8e10366f | 10707 | * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup. |
0d5049b2 | 10708 | |
499f32e8 DM |
10709 | 2013-02-07 David S. Miller <davem@davemloft.net> |
10710 | ||
10711 | * dwarf2out.c (based_loc_descr): Perform leaf register remapping | |
10712 | on 'reg'. | |
10713 | * var-tracking.c (vt_add_function_parameter): Test the presence of | |
10714 | HAVE_window_save properly and do not remap argument registers when | |
10715 | we have a leaf function. | |
10716 | ||
6edc3e32 UB |
10717 | 2013-02-07 Uros Bizjak <ubizjak@gmail.com> |
10718 | ||
10719 | PR bootstrap/56227 | |
10720 | * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT | |
10721 | instead of "ll". | |
10722 | * config/i386/i386.c (ix86_print_operand): Ditto. | |
10723 | ||
5306401f VM |
10724 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
10725 | ||
6edc3e32 | 10726 | * lra-constraints.c (process_alt_operands): Fix recently added comment. |
5306401f | 10727 | |
027ece11 VM |
10728 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
10729 | ||
10730 | PR rtl-optimization/56225 | |
10731 | * lra-constraints.c (process_alt_operands): Check that reload hard | |
10732 | reg can hold value for strict_low_part. | |
10733 | ||
f980dfdb JJ |
10734 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
10735 | ||
10736 | PR debug/56154 | |
10737 | * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to | |
10738 | dwarf2out_end_function. | |
10739 | (in_first_function_p, maybe_at_text_label_p, | |
10740 | first_loclabel_num_not_at_text_label): New variables. | |
10741 | (dwarf2out_var_location): In the first function find out | |
6edc3e32 | 10742 | lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0. |
f980dfdb JJ |
10743 | (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New |
10744 | functions. | |
10745 | ||
73dd3123 EB |
10746 | 2013-02-07 Eric Botcazou <ebotcazou@adacore.com> |
10747 | ||
10748 | PR rtl-optimization/56178 | |
10749 | * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a | |
10750 | SUBREG of a register. Tidy up related block of code. | |
10751 | * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL | |
10752 | note if the source is a register or a SUBREG of a register. | |
10753 | ||
e3936f47 JJ |
10754 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
10755 | ||
10756 | PR target/56228 | |
10757 | * config/rs6000/rs6000.md (ptrm): New mode attr. | |
10758 | (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11, | |
10759 | call_value_indirect_aix<pttrsize>, | |
10760 | call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of | |
10761 | m in constraints. | |
10762 | ||
d96d674b MH |
10763 | 2013-02-07 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
10764 | ||
10765 | * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable | |
10766 | if -bnortl. Convert to strcmp and strncmp. | |
10767 | ||
921f2dee AM |
10768 | 2013-02-07 Alan Modra <amodra@gmail.com> |
10769 | ||
10770 | PR target/54009 | |
10771 | * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM | |
10772 | addresses won't wrap when offsetting. | |
10773 | (rs6000_secondary_reload): Provide secondary reloads needed for | |
10774 | wrapping LO_SUM addresses. | |
10775 | ||
d09c7dba TS |
10776 | 2013-02-06 Thomas Schwinge <thomas@codesourcery.com> |
10777 | ||
10778 | * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define | |
10779 | MACH, just __MACH__. | |
10780 | ||
a44bbd48 RB |
10781 | 2013-02-06 Richard Biener <rguenther@suse.de> |
10782 | ||
10783 | * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP | |
10784 | instead of calling fix_loop_structure. | |
10785 | ||
6d840d99 JJ |
10786 | 2013-02-06 Jakub Jelinek <jakub@redhat.com> |
10787 | ||
10788 | PR middle-end/56217 | |
10789 | * omp-low.c (use_pointer_for_field): Return false if | |
10790 | lower_send_shared_vars doesn't generate any copy-out code. | |
10791 | ||
0f33baa9 TV |
10792 | 2013-02-06 Tom de Vries <tom@codesourcery.com> |
10793 | ||
10794 | PR rtl-optimization/56131 | |
10795 | * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN | |
10796 | to get the bb of a NOTE_INSN_BASIC_BLOCK. Handle the case that the bb | |
10797 | of the label is NULL. Add comment. | |
10798 | ||
11f1e3ab JJ |
10799 | 2013-02-05 Jakub Jelinek <jakub@redhat.com> |
10800 | ||
31502f9f JJ |
10801 | * tree.h (struct tree_decl_with_vis): Remove thread_local field. |
10802 | ||
a74db9bd JJ |
10803 | PR sanitizer/55374 |
10804 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define. | |
10805 | (STATIC_LIBTSAN_LIBS): Likewise. | |
10806 | * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define. | |
10807 | (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC | |
10808 | is defined, don't add anything else beyond that. | |
10809 | (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define. | |
10810 | (LINK_COMMAND_SPEC): Use them. | |
10811 | ||
11f1e3ab JJ |
10812 | PR tree-optimization/56205 |
10813 | * tree-stdarg.c (check_all_va_list_escapes): Return true if | |
10814 | there are any PHI nodes that set non-va_list_escape_vars SSA_NAME | |
10815 | and some va_list_escape_vars SSA_NAME appears in some PHI argument. | |
10816 | ||
14ac6aa2 RB |
10817 | 2013-02-05 Richard Biener <rguenther@suse.de> |
10818 | ||
10819 | PR tree-optimization/53342 | |
10820 | PR tree-optimization/53185 | |
10821 | * tree-vectorizer.h (vect_check_strided_load): Remove. | |
10822 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do | |
10823 | not disallow peeling for vectorized strided loads. | |
10824 | (vect_check_strided_load): Make static and simplify. | |
10825 | (vect_analyze_data_refs): Adjust. | |
10826 | * tree-vect-stmts.c (vectorizable_load): Handle peeled loops | |
10827 | correctly when vectorizing strided loads. | |
10828 | ||
6f22445a RB |
10829 | 2013-02-05 Richard Biener <rguenther@suse.de> |
10830 | ||
10831 | * doc/install.texi: Refer to ISL, not PPL. | |
10832 | ||
39f9719e JH |
10833 | 2013-02-05 Jan Hubicka <jh@suse.cz> |
10834 | ||
ec4224ac JH |
10835 | PR tree-optimization/55789 |
10836 | * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1. | |
10837 | ||
10838 | 2013-02-05 Jan Hubicka <jh@suse.cz> | |
10839 | ||
10840 | PR tree-optimization/55789 | |
39f9719e JH |
10841 | * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove |
10842 | the dead call anyway. | |
10843 | ||
956d3b33 EB |
10844 | 2013-02-05 Eric Botcazou <ebotcazou@adacore.com> |
10845 | ||
10846 | PR sanitizer/55374 | |
10847 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard. | |
10848 | ||
10849 | 2013-02-04 Alexander Potapenko <glider@google.com> | |
10850 | Jack Howarth <howarth@bromo.med.uc.edu> | |
ae526fe5 AP |
10851 | Jakub Jelinek <jakub@redhat.com> |
10852 | ||
10853 | PR sanitizer/55617 | |
10854 | * config/darwin.c (sort_ctor_records): Stabilized qsort | |
10855 | on constructor priority by using original position. | |
10856 | (finalize_ctors): New routine to sort constructors by | |
10857 | priority before use in assemble_integer. | |
10858 | (machopic_asm_out_constructor): Use finalize_ctors if needed. | |
10859 | ||
7ac3af38 JJ |
10860 | 2013-02-04 Jakub Jelinek <jakub@redhat.com> |
10861 | ||
10862 | PR libstdc++/54314 | |
10863 | * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn | |
10864 | about visibility on artificial decls. | |
10865 | * config/sol2.c (solaris_assemble_visibility): Likewise. | |
10866 | ||
152689dc KT |
10867 | 2013-02-04 Kai Tietz <ktietz@redhat.com> |
10868 | ||
10869 | PR target/56186 | |
10870 | * config/i386/i386.c (function_value_ms_64): Add additional valtype | |
10871 | argument and improve checking of return-argument types for 16-byte | |
10872 | modes. | |
10873 | (ix86_function_value_1): Add additional valtype argument on call | |
10874 | of function_value_64. | |
10875 | (return_in_memory_ms_64): Sync 16-byte sized mode handling with | |
10876 | handling infunction_value_64 function. | |
10877 | ||
2b5987b5 MGD |
10878 | 2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
10879 | ||
7ac3af38 | 10880 | * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue. |
2b5987b5 | 10881 | |
14597080 RB |
10882 | 2013-02-04 Richard Biener <rguenther@suse.de> |
10883 | ||
10884 | PR tree-optimization/56188 | |
10885 | * tree-ssa-structalias.c (label_visit): Consider case with | |
10886 | initially non-empty points-to set. | |
10887 | (perform_var_substitution): Dump node mapping and clean up. | |
10888 | ||
ed73881e RG |
10889 | 2013-02-04 Richard Guenther <rguenther@suse.de> |
10890 | ||
10891 | PR lto/56168 | |
10892 | * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin | |
10893 | node prevail as last resort. | |
10894 | (lto_symtab_merge_decls): Remove guard on LTRANS here. | |
6edc3e32 | 10895 | (lto_symtab_prevailing_decl): Builtins are their own prevailing decl. |
ed73881e | 10896 | |
139a0707 RB |
10897 | 2013-02-04 Richard Biener <rguenther@suse.de> |
10898 | ||
10899 | PR tree-optimization/56113 | |
10900 | * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add): | |
10901 | Merge into ... | |
10902 | (equiv_class_lookup_or_add): ... this. | |
10903 | (label_visit): Adjust and fix error in previous patch. | |
10904 | (perform_var_substitution): Adjust. | |
10905 | ||
50fe8924 OE |
10906 | 2013-02-03 Oleg Endo <olegendo@gcc.gnu.org> |
10907 | ||
10908 | * config/sh/divtab.c: Fix formatting and comments throughout the file. | |
10909 | * config/sh/sh4-300.md: Likewise. | |
10910 | * config/sh/sh4a.md: Likewise. | |
10911 | * config/sh/constraints.md: Likewise. | |
10912 | * config/sh/sh.md: Likewise. | |
10913 | * config/sh/netbsd-elf.h: Likewise. | |
10914 | * config/sh/predicates.md: Likewise. | |
10915 | * config/sh/sh-protos.h: Likewise. | |
10916 | * config/sh/ushmedia.h: Likewise. | |
10917 | * config/sh/linux.h: Likewise. | |
10918 | * config/sh/sh.c: Likewise. | |
10919 | * config/sh/superh.h: Likewise. | |
10920 | * config/sh/elf.h: Likewise. | |
10921 | * config/sh/sh4.md: Likewise. | |
10922 | * config/sh/sh.h: Likewise. | |
10923 | ||
1a04ac2b JDA |
10924 | 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
10925 | ||
10926 | * config/pa/constraints.md: Adjust unused letters. Change "T" | |
10927 | constraint to match_test floating_point_store_memory_operand(). | |
10928 | * config/pa/predicates.md (reg_plus_base_memory_operand): New. | |
10929 | (base14_operand): New. | |
10930 | (floating_point_store_memory_operand): New. | |
10931 | (integer_store_memory_operand): Revise to use base14_operand and | |
10932 | reg_plus_base_memory_operand. | |
10933 | (move_dest_operand): Allow symbolic_memory_operands. | |
10934 | (symbolic_memory_operand): Check for LO_SOM. | |
10935 | (symbolic_operand): Change default case to break. | |
10936 | * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force | |
10937 | CONST_DOUBLE values to be reloaded by putting them into memory when | |
10938 | the destination is a floating point register. | |
10939 | (movdf): Remove code to handle CONST_DOUBLE. | |
10940 | (movsf): Likewise. | |
10941 | (reload_indf_r1): New. | |
10942 | (reload_insf_r1): New. | |
10943 | Consistently use "Q" and "T" constraints with integer and floating | |
10944 | point move instructions, respectively. | |
10945 | (movdi): Remove FAIL. | |
10946 | Change predicate for source operand unamed DImode move from | |
10947 | general_operand to move_src_operand. | |
10948 | (umulsidi3): Change predicate for destination operand to | |
10949 | register_operand. | |
10950 | Likewise for similar unamed patterns. | |
10951 | * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare. | |
10952 | * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis. | |
10953 | (hppa_legitimize_address): Simplify mask calculation. | |
10954 | (pa_emit_move_sequence): Revised handling of secondary reloads from | |
10955 | REG+D addresses for floating point loads and stores. Directly handle | |
10956 | loading CONST0_RTX (mode) to a floating point register. | |
10957 | (pa_secondary_reload): Handle reloading DF and SFmode constant values | |
10958 | to floating point registers. Don't restrict secondary reloads to | |
10959 | floating point registers to integer modes. Revise some comments and | |
10960 | cleanup some code. | |
10961 | (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
10962 | (pa_legitimate_address_p): New. | |
10963 | (pa_legitimize_reload_address): New. | |
10964 | * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New. | |
10965 | (STRICT_REG_OK_FOR_BASE_P): New. | |
10966 | (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments. | |
10967 | (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address. | |
10968 | ||
3bf65591 DE |
10969 | 2013-02-03 David Edelsohn <dje.gcc@gmail.com> |
10970 | Andrew Dixie <andrewd@gentrack.com> | |
10971 | ||
10972 | * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY | |
10973 | flag set. | |
10974 | ||
c0a8a3e6 RS |
10975 | 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> |
10976 | ||
10977 | * expmed.c (extract_bit_field_1): Pass the full width of the | |
10978 | structure to get_best_reg_extraction_insn. | |
10979 | ||
99113dff DE |
10980 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
10981 | ||
10982 | PR target/54601 | |
10983 | * configure.ac (use_cxa_atexit): Add AIX. | |
10984 | * configure: Regenerate. | |
10985 | ||
10986 | * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o. | |
10987 | ||
ddd84654 JJ |
10988 | 2013-02-01 Jakub Jelinek <jakub@redhat.com> |
10989 | ||
10990 | PR debug/54793 | |
10991 | * final.c (need_profile_function): New variable. | |
10992 | (final_start_function): Drop ATTRIBUTE_UNUSED from first argument. | |
10993 | If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG | |
10994 | is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED | |
10995 | notes, targetm.asm_out.function_prologue doesn't emit anything, | |
10996 | HAVE_prologue and profiler should be emitted before prologue, | |
10997 | set need_profile_function instead of emitting it. | |
10998 | (final_scan_insn): If need_profile_function, emit | |
10999 | profile_function on the first NOTE_INSN_BASIC_BLOCK or | |
11000 | NOTE_INSN_FUNCTION_BEG note. | |
11001 | ||
11002 | 2013-02-01 Richard Henderson <rth@redhat.com> | |
749af8ee RH |
11003 | |
11004 | * config/rs6000/rs6000.md (smulditi3): New. | |
11005 | (umulditi3): New. | |
11006 | ||
ff2a9d88 RH |
11007 | * config/alpha/alpha.md (umulditi3): New. |
11008 | ||
14d52b90 DE |
11009 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
11010 | ||
11011 | * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2. | |
11012 | (ASM_OUTPUT_ALIGNED_LOCAL): New. | |
11013 | ||
8c7ca45c RB |
11014 | 2013-02-01 Richard Biener <rguenther@suse.de> |
11015 | ||
11016 | PR tree-optimization/56113 | |
11017 | * tree-ssa-structalias.c (label_visit): Reduce work for | |
11018 | single-predecessor nodes. | |
11019 | ||
9f419393 EB |
11020 | 2013-02-01 Eric Botcazou <ebotcazou@adacore.com> |
11021 | ||
11022 | * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the | |
11023 | range isn't testing for zero. | |
11024 | ||
c5f4be84 SB |
11025 | 2013-01-31 Steven Bosscher <steven@gcc.gnu.org> |
11026 | ||
11027 | PR middle-end/56113 | |
11028 | * fwprop.c (fwprop_init): Set up loops without CFG modifications. | |
11029 | ||
dbdbd982 NC |
11030 | 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com> |
11031 | Nick Clifton <nickc@redhat.com> | |
11032 | ||
11033 | * config/v850/constraints.md (Q): Define as a memory constraint. | |
11034 | * config/v850/predicates.md (label_ref_operand): New predicate. | |
11035 | (e3v5_shift_operand): New predicate. | |
11036 | (ior_operator): New predicate. | |
11037 | * config/v850/t-v850: Add e3v5 multilib. | |
11038 | * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype. | |
11039 | (v850_gen_movdi): Prototype. | |
11040 | * config/v850/v850.c: Add support for e3v5 architecture. | |
11041 | Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to | |
11042 | TARGET_V850E_UP. | |
11043 | (construct_save_jarl): Add e3v5 long JARL support. | |
11044 | (v850_adjust_insn_length): New function. Adjust length of call | |
11045 | insns when using e3v5 instructions. | |
11046 | (v850_gen_movdi): New function: Generate instructions to move a | |
11047 | DImode value. | |
11048 | * config/v850/v850.h (TARGET_CPU_v850e3v5): Define. | |
11049 | (CPP_SPEC): Define __v850e3v5__ as appropriate. | |
11050 | (TARGET_USE_FPU): Enable for e3v5. | |
11051 | (CONST_OK_FOR_W): New macro. | |
11052 | (ADJUST_INSN_LENGTH): Define. | |
11053 | * config/v850/v850.md (UNSPEC_LOOP): Define. | |
11054 | (attr cpu): Add v850e3v5. | |
11055 | Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP. | |
11056 | (movdi): New pattern. | |
11057 | (movdi_internal): New pattern. | |
11058 | (cbranchsf4): Conditionalize on TARGET_USE_FPU. | |
11059 | (cbranchdf4): Conditionalize on TARGET_USE_FPU. | |
11060 | (cstoresf4): Likewise. | |
11061 | (cstoredf4): Likewise. | |
11062 | (insv): New pattern. | |
11063 | (rotlso3_a): New pattern. | |
11064 | (rotlsi3_b): New pattern | |
11065 | (rotlsi3_v850e3v5): New pattern. | |
11066 | (doloop_begin): New pattern. | |
11067 | (fix_loop_counter): New pattern. | |
11068 | (doloop_end): New pattern. | |
11069 | (branch_normal): Add e3v5 long branch support. | |
11070 | (branch_invert): Likewise. | |
11071 | (branch_z_normal): Likewise. | |
11072 | (branch_z_invert): Likewise. | |
11073 | (branch_nz_normal): Likewise. | |
11074 | (branch_nz_invert): Likewise. | |
11075 | (call_internal_short): Add e3v5 register-indirect JARL support. | |
11076 | (call_internal_long): Likewise. | |
11077 | (call_value_internal_short): Likewise. | |
11078 | (call_value_internal_long): Likewise. | |
11079 | * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options. | |
11080 | (mloop): New option. | |
11081 | * config.gcc: Add support for configuring v840e3v5 target. | |
6edc3e32 | 11082 | * doc/invoke.texi: Document new v850 specific command line options. |
dbdbd982 | 11083 | |
73861a41 PK |
11084 | 2013-01-31 Paul Koning <ni1d@arrl.net> |
11085 | ||
11086 | PR debug/55059 | |
11087 | PR debug/54508 | |
11088 | * dwarf2out.c (prune_unused_types_mark): Mark all of parent's | |
11089 | children if parent is a class. | |
11090 | (prune_unused_types_prune): Don't add DW_AT_declaration. | |
11091 | ||
e44978dc RB |
11092 | 2013-01-31 Richard Biener <rguenther@suse.de> |
11093 | ||
11094 | PR tree-optimization/56157 | |
11095 | * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to | |
11096 | match up operand with SLP child. | |
11097 | ||
90b10dec JM |
11098 | 2013-01-31 Jason Merrill <jason@redhat.com> |
11099 | ||
04d2dadd | 11100 | PR debug/54410 |
90b10dec JM |
11101 | * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template |
11102 | parameters the first time. | |
11103 | (gen_scheduled_generic_parms_dies): Check completeness here. | |
11104 | ||
6e616110 RB |
11105 | 2013-01-31 Richard Biener <rguenther@suse.de> |
11106 | ||
11107 | PR middle-end/53073 | |
11108 | * common.opt (faggressive-loop-optimizations): New flag, | |
11109 | enabled by default. | |
11110 | * doc/invoke.texi (faggressive-loop-optimizations): Document. | |
11111 | * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard | |
11112 | infer_loop_bounds_from_undefined by it. | |
11113 | ||
636f59cf RB |
11114 | 2013-01-31 Richard Biener <rguenther@suse.de> |
11115 | ||
11116 | PR tree-optimization/56150 | |
11117 | * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not | |
11118 | visit virtual operands. | |
11119 | (find_uses_to_rename_bb): Likewise. | |
11120 | ||
11121 | 2013-01-31 Richard Biener <rguenther@suse.de> | |
fcfa87ac RB |
11122 | |
11123 | PR tree-optimization/56150 | |
11124 | * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle | |
11125 | mixed store non-store stmts. | |
11126 | ||
32887460 JJ |
11127 | 2013-01-30 Jakub Jelinek <jakub@redhat.com> |
11128 | ||
e60e09a0 JJ |
11129 | PR sanitizer/55374 |
11130 | * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if | |
11131 | LIBASAN_EARLY_SPEC is defined. | |
11132 | (LIBASAN_EARLY_SPEC): Define to empty string if not already defined. | |
11133 | (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address, | |
11134 | before %o. | |
11135 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define. | |
11136 | ||
32887460 JJ |
11137 | PR c++/55742 |
11138 | * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose | |
11139 | invalid args instead of ICEing on it. | |
11140 | (ix86_valid_target_attribute_tree): Return error_mark_node if | |
11141 | ix86_valid_target_attribute_inner_p failed. | |
11142 | (ix86_valid_target_attribute_p): Return false only if | |
11143 | ix86_valid_target_attribute_tree returned error_mark_node. Allow | |
11144 | target("default") attribute. | |
11145 | (sorted_attr_string): Change argument from const char * to tree, | |
11146 | merge in all target attribute arguments rather than just one. | |
11147 | Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC | |
11148 | instead of free. Avoid using strcat. | |
11149 | (ix86_mangle_function_version_assembler_name): Mangle | |
11150 | target("default") as if no target attribute is present. Adjust | |
11151 | sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC | |
11152 | instead of xmalloc and XDELETEVEC instead of free. | |
11153 | (ix86_function_versions): Don't return true if one of the decls | |
11154 | doesn't have target attribute. If they don't and one of the decls | |
11155 | is DECL_FUNCTION_VERSIONED, report an error. Adjust | |
11156 | sorted_attr_string caller. Use XDELETEVEC instead of free. | |
11157 | (ix86_supports_function_versions): Remove. | |
11158 | (make_name): Fix up formatting. | |
11159 | (make_dispatcher_decl): Remove resolver_name and its initialization. | |
11160 | Avoid leaking memory. | |
11161 | (is_function_default_version): Return true if there is | |
11162 | target("default") attribute rather than no target attribute at all. | |
11163 | (make_resolver_func): Avoid leaking memory. | |
11164 | (ix86_generate_version_dispatcher_body): Likewise. | |
11165 | (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove. | |
11166 | * target.def (supports_function_versions): Remove. | |
11167 | * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove. | |
11168 | * doc/tm.texi: Regenerated. | |
11169 | ||
73cca0cc VM |
11170 | 2013-01-30 Vladimir Makarov <vmakarov@redhat.com> |
11171 | ||
11172 | PR rtl-optimization/56144 | |
11173 | * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo | |
11174 | for values with side effects. | |
11175 | ||
11452e7b RB |
11176 | 2013-01-30 Richard Biener <rguenther@suse.de> |
11177 | ||
11178 | * sparseset.h (sparseset_bit_p): Use gcc_checking_assert. | |
11179 | (sparseset_pop): Likewise. | |
11180 | * cfganal.c (compute_idf): Likewise. Increase work-stack size | |
11181 | to be able to use quick_push in the worker loop. | |
11182 | ||
01cb1ef5 MP |
11183 | 2013-01-30 Marek Polacek <polacek@redhat.com> |
11184 | ||
11185 | * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs. | |
11186 | ||
e892936e RB |
11187 | 2013-01-30 Richard Biener <rguenther@suse.de> |
11188 | ||
11189 | PR lto/56147 | |
6edc3e32 | 11190 | * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check. |
e892936e | 11191 | |
cc06c01d GJL |
11192 | 2013-01-30 Georg-Johann Lay <avr@gjlay.de> |
11193 | ||
11194 | PR tree-optimization/56064 | |
11195 | * fixed-value.c (fixed_from_double_int): New function. | |
11196 | * fixed-value.h (fixed_from_double_int): New prototype. | |
11197 | (const_fixed_from_double_int): New static inline function. | |
11198 | * fold-const.c (native_interpret_fixed): New static function. | |
11199 | (native_interpret_expr) <FIXED_POINT_TYPE>: Use it. | |
11200 | (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true. | |
11201 | (native_encode_fixed): New static function. | |
11202 | (native_encode_expr) <FIXED_CST>: Use it. | |
11203 | (native_interpret_int): Move double_int worker code to... | |
11204 | * double-int.c (double_int::from_buffer): ...this new static method. | |
11205 | * double-int.h (double_int::from_buffer): Prototype it. | |
11206 | ||
d394a308 RB |
11207 | 2013-01-30 Richard Biener <rguenther@suse.de> |
11208 | ||
11209 | * tree-ssa-structalias.c (final_solutions, final_solutions_obstack): | |
11210 | New pointer-map and obstack. | |
11211 | (init_alias_vars): Allocate pointer-map and obstack. | |
11212 | (delete_points_to_sets): Free them. | |
11213 | (find_what_var_points_to): Cache result. | |
11214 | (find_what_p_points_to): Adjust for changed interface of | |
11215 | find_what_var_points_to. | |
11216 | (compute_points_to_sets): Likewise. | |
11217 | (ipa_pta_execute): Likewise. | |
11218 | ||
20804d96 RO |
11219 | 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11220 | ||
11221 | * configure.ac (HAVE_AS_SPARC_NOBITS): New test. | |
11222 | * configure: Regenerate. | |
11223 | * config.in: Regenerate. | |
11224 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit | |
11225 | #nobits/#progbits if supported. | |
11226 | ||
a7ad88a2 OE |
11227 | 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org> |
11228 | ||
11229 | PR target/56121 | |
11230 | * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a, | |
11231 | bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a, | |
11232 | bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition. | |
11233 | ||
7af79f92 GY |
11234 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
11235 | ||
91bfca59 OE |
11236 | * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove. |
11237 | (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all. | |
7af79f92 | 11238 | |
753bcf7b GY |
11239 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
11240 | ||
91bfca59 OE |
11241 | * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL. |
11242 | * config/arm/cortex-a7.md (cortex_a7_call): Update required units. | |
753bcf7b | 11243 | |
8cbc2ea8 GY |
11244 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
11245 | ||
91bfca59 OE |
11246 | * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New |
11247 | declaration. | |
11248 | * config/arm/arm.c (arm_mac_accumulator_is_result): New function. | |
11249 | * config/arm/cortex-a7.md: New bypasses using | |
11250 | arm_mac_accumulator_is_result. | |
8cbc2ea8 | 11251 | |
697a3325 GY |
11252 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
11253 | ||
91bfca59 | 11254 | * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation. |
697a3325 | 11255 | (cortex_a7_neon_mla): Likewise. |
91bfca59 OE |
11256 | (cortex_a7_fpfmad): New reservation. |
11257 | (cortex_a7_fpmacs): Use ffmas and update required units. | |
11258 | (cortex_a7_fpmuld): Update required units and latency. | |
11259 | (cortex_a7_fpmacd): Likewise. | |
11260 | (cortex_a7_fdivs, cortex_a7_fdivd): Likewise. | |
11261 | (cortex_a7_neon). Likewise. | |
11262 | (bypass) Update participating units. | |
697a3325 | 11263 | |
29637783 GY |
11264 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
11265 | ||
91bfca59 OE |
11266 | * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute. |
11267 | * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type | |
11268 | from fmac to ffma. | |
11269 | * config/arm/vfp11.md (vfp_farith): Use ffmas. | |
11270 | (vfp_fmul): Use ffmad. | |
11271 | * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas. | |
11272 | (cortex_r4_fmacd): Use ffmad. | |
11273 | * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas. | |
11274 | * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas. | |
11275 | (cortex_a9_fmacd): Use ffmad. | |
11276 | * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas. | |
11277 | (cortex_a8_vfp_macd): Use ffmad. | |
11278 | * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas. | |
11279 | (cortex_a5_fpmacd): Use ffmad. | |
11280 | * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas. | |
11281 | (cortex_a15_vfp_macd): Use ffmad. | |
11282 | * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad. | |
29637783 | 11283 | |
2ee8a2d5 JM |
11284 | 2013-01-29 Jason Merrill <jason@redhat.com> |
11285 | ||
11286 | PR libstdc++/54314 | |
11287 | * varasm.c (default_assemble_visibility): Don't warn about | |
11288 | visibility on artificial decls. | |
11289 | ||
78d087bc RB |
11290 | 2013-01-29 Richard Biener <rguenther@suse.de> |
11291 | ||
11292 | PR tree-optimization/56113 | |
11293 | * tree-ssa-structalias.c (equiv_class_lookup): Also return | |
11294 | the bitmap leader. | |
11295 | (label_visit): Free duplicate bitmaps and record the leader instead. | |
11296 | (perform_var_substitution): Adjust. | |
11297 | ||
83ba4d6f RB |
11298 | 2013-01-29 Richard Biener <rguenther@suse.de> |
11299 | ||
11300 | PR tree-optimization/55270 | |
11301 | * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed | |
11302 | the CFG, schedule loops for fixup. | |
11303 | ||
66dfe13f NC |
11304 | 2013-01-29 Nick Clifton <nickc@redhat.com> |
11305 | ||
11306 | * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow | |
11307 | SP_REG. | |
11308 | ||
5a579c3b LE |
11309 | 2013-01-28 Leif Ekblad <leif@rdos.net> |
11310 | ||
11311 | * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets. | |
11312 | * config/i386/i386.h (TARGET_RDOS): New macro. | |
11313 | (DEFAULT_LARGE_SECTION_THRESHOLD): New macro. | |
11314 | * config/i386/i386.c (ix86_option_override_internal): For 64bit | |
11315 | TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1. | |
11316 | * config/i386/i386.opt (mlarge-data-threshold): Initialize to | |
11317 | DEFAULT_LARGE_SECTION_THRESHOLD. | |
11318 | * config/i386/i386.md (R14_REG, R15_REG): New constants. | |
11319 | * config/i386/rdos.h: New file. | |
11320 | * config/i386/rdos64.h: New file. | |
11321 | ||
51e44392 BS |
11322 | 2013-01-28 Bernd Schmidt <bernds@codesourcery.com> |
11323 | ||
11324 | PR other/54814 | |
11325 | * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of | |
11326 | TEST_HARD_REG_BIT. | |
11327 | ||
db1fb332 JJ |
11328 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
11329 | ||
11330 | PR rtl-optimization/56117 | |
11331 | * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib | |
11332 | call cselib_lookup_from_insn on the MEM before calling | |
11333 | add_insn_mem_dependence. | |
11334 | ||
16917761 RB |
11335 | 2013-01-28 Richard Biener <rguenther@suse.de> |
11336 | ||
11337 | * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK | |
11338 | to a stmt that didn't have one. | |
11339 | (copy_phis_for_bb): Likewise for PHI arguments. | |
11340 | (copy_debug_stmt): Likewise for debug stmts. | |
11341 | ||
b9fc0497 RB |
11342 | 2013-01-28 Richard Biener <rguenther@suse.de> |
11343 | ||
11344 | PR tree-optimization/56034 | |
6edc3e32 | 11345 | * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION. |
b9fc0497 RB |
11346 | (partition_builtin_p): Adjust. |
11347 | (generate_code_for_partition): Handle PKIND_REDUCTION. Assert | |
11348 | it is the last partition. | |
11349 | (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking | |
11350 | up the vertex for the definition. | |
11351 | (classify_partition): Classify whether a partition is a | |
11352 | PKIND_REDUCTION, thus has uses outside of the loop. | |
11353 | (ldist_gen): Inherit PKIND_REDUCTION when merging partitions. | |
11354 | Merge all PKIND_REDUCTION partitions into the last partition. | |
11355 | (tree_loop_distribution): Seed partitions from reductions as well. | |
11356 | ||
aa710d25 JJ |
11357 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
11358 | ||
0bfbca58 JJ |
11359 | PR tree-optimization/56125 |
11360 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize | |
11361 | pow(x,c) into sqrt(x) * powi(x, n/2) or | |
11362 | 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when | |
11363 | optimizing for size. | |
11364 | Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or | |
11365 | 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an | |
11366 | integer. | |
11367 | ||
aa710d25 JJ |
11368 | PR tree-optimization/56094 |
11369 | * gimplify.c (force_gimple_operand_1): Temporarily set input_location | |
11370 | to UNKNOWN_LOCATION while gimplifying expr. | |
11371 | ||
77dc5297 UB |
11372 | 2013-01-27 Uros Bizjak <ubizjak@gmail.com> |
11373 | ||
11374 | PR target/56114 | |
11375 | * config/i386/i386.md (*movabs<mode>_1): Add square brackets around | |
11376 | operand 0 in movabs insn template for -masm=intel asm alternative. | |
11377 | (*movabs<mode>_2): Ditto for operand 1. | |
11378 | ||
0bfbca58 | 11379 | 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com> |
fbf0cf90 DH |
11380 | |
11381 | PR target/54663 | |
11382 | * config.gcc (microblaze*-linux*): Add tmake_file to allow building | |
11383 | of microblaze-c.o | |
11384 | ||
0bfbca58 | 11385 | 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
6f14eef2 EI |
11386 | |
11387 | * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update | |
11388 | tm_file. | |
11389 | ||
0bfbca58 | 11390 | 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
706b2314 N |
11391 | |
11392 | * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS): | |
11393 | Undef to avoid warning. | |
11394 | ||
478f60f9 MH |
11395 | 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
11396 | ||
11397 | * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. | |
11398 | * configure: Regenerate. | |
11399 | ||
d7fa6ee2 JJ |
11400 | 2013-01-25 Jakub Jelinek <jakub@redhat.com> |
11401 | ||
11402 | PR tree-optimization/56098 | |
11403 | * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr | |
11404 | for stmts with volatile ops. | |
11405 | (cond_store_replacement): Don't optimize if assign has volatile ops. | |
11406 | (cond_if_else_store_replacement_1): Don't optimize if either | |
11407 | then_assign or else_assign have volatile ops. | |
11408 | (hoist_adjacent_loads): Don't optimize if either def1 or def2 have | |
11409 | volatile ops. | |
11410 | ||
f8fe87bd GJL |
11411 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
11412 | ||
11413 | * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__. | |
11414 | ||
28398d0d GJL |
11415 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
11416 | ||
11417 | * doc/extend.texi (Example of asm with clobbered asm reg): Fix | |
11418 | missing ':' in asm example. | |
11419 | ||
b7d7d917 TB |
11420 | 2013-01-25 Tejas Belagod <tejas.belagod@arm.com> |
11421 | ||
11422 | * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane | |
11423 | entries into lane and laneq entries. | |
77dc5297 UB |
11424 | * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>): |
11425 | Remove AdvSIMD scalar modes. | |
b7d7d917 TB |
11426 | (aarch64_sq<r>dmulh_laneq<mode>): New. |
11427 | (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD | |
11428 | modes. | |
11429 | * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics' | |
11430 | builtin implementations to relfect changes in RTL in aarch64-simd.md. | |
11431 | * config/aarch64/iterators.md (VCOND): New. | |
11432 | (VCONQ): New. | |
11433 | ||
556f9906 GJL |
11434 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
11435 | ||
11436 | PR target/54222 | |
11437 | * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument. | |
11438 | Add NULL LIBNAME argument to existing definitions. | |
11439 | (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New. | |
11440 | * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument. | |
11441 | * config/avr/avr.c (DEF_BUILTIN): Same. | |
11442 | (avr_init_builtins): Pass down LIBNAME to add_builtin_function. | |
11443 | (avr_expand_builtin): Expand to a vanilla call if a libgcc | |
11444 | implementation is available (DECL_ASSEMBLER_NAME is set). | |
11445 | (avr_fold_absfx): New static function. | |
11446 | (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR, | |
11447 | AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR, | |
11448 | AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK, | |
11449 | AVR_BUILTIN_ABSLLK. | |
11450 | * config/avr/stdfix.h (abshr, absr, abslr, absllr) | |
11451 | (abshk, absk, abslk, absllk): Provide as static inline functions. | |
11452 | ||
1f546bbb MP |
11453 | 2013-01-25 Marek Polacek <polacek@redhat.com> |
11454 | ||
11455 | PR tree-optimization/56035 | |
11456 | * cfgloopmanip.c (fix_loop_structure): Remove redundant condition. | |
11457 | ||
7e184bd7 UB |
11458 | 2012-01-24 Uros Bizjak <ubizjak@gmail.com> |
11459 | ||
11460 | * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative. | |
11461 | (*movtf_internal_rex64): Add (!o,C) alternative | |
11462 | (*movxf_internal_rex64): Ditto. | |
11463 | (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives. | |
11464 | ||
f5ba49ac SM |
11465 | 2013-01-24 Shenghou Ma <minux.ma@gmail.com> |
11466 | ||
11467 | * doc/invoke.texi: fix typo. | |
11468 | * doc/objc.texi: fix typo. | |
11469 | ||
a6343728 RS |
11470 | 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
11471 | ||
11472 | * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint | |
11473 | for the first two alternatives. | |
11474 | ||
cd030c07 DN |
11475 | 2013-01-24 Diego Novillo <dnovillo@google.com> |
11476 | ||
77dc5297 | 11477 | * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o. |
cd030c07 DN |
11478 | (ggc-zone.o): Remove. |
11479 | * configure.ac: Remove option --with-gc. | |
11480 | * configure: Re-generate. | |
11481 | * doc/install.texi: Remove documentation for --with-gc. | |
11482 | * gengtype.c (write_enum_defn): Remove. Update all users. | |
11483 | (write_Types_process_field): Remove generation of gt_e_* argument. | |
11484 | (output_type_enum): Remove. Update all users. | |
11485 | (write_enum_defn): Remove. Update all users. | |
11486 | (enum alloc_zone): Remove. Update all users. | |
77dc5297 | 11487 | (write_splay_tree_allocator_def): Remove generation of gt_e_* argument. |
cd030c07 DN |
11488 | * ggc-common.c (ggc_splay_alloc): Remove first argument. |
11489 | Update all callers. | |
11490 | (struct ptr_data): Remove field TYPE. Update all users. | |
77dc5297 | 11491 | (gt_pch_note_object): Remove argument TYPE. Update all users. |
cd030c07 DN |
11492 | * ggc-internal.h (ggc_pch_alloc_object): Remove last argument. |
11493 | Update all users. | |
aaf1e810 | 11494 | * ggc-none.c (ggc_alloc_typed_stat): Remove. |
cd030c07 DN |
11495 | (struct alloc_zone): Remove. |
11496 | (ggc_internal_alloc_zone_stat): Remove. | |
11497 | (ggc_internal_cleared_alloc_zone_stat): Remove. | |
11498 | * ggc-page.c (ggc_alloc_typed_stat): Remove. | |
77dc5297 UB |
11499 | (ggc_pch_count_object): Remove last argument. Update all users. |
11500 | (ggc_pch_alloc_object): Remove last argument. Update all users. | |
cd030c07 DN |
11501 | (struct alloc_zone): Remove. |
11502 | * ggc-zone.c: Remove. | |
77dc5297 | 11503 | * ggc.h (gt_pch_note_object): Remove last argument. Update all users. |
cd030c07 DN |
11504 | (struct alloc_zone): Remove. |
11505 | (ggc_alloc_typed_stat): Remove. | |
11506 | (ggc_alloc_typed): Remove. | |
11507 | (ggc_splay_alloc): Remove first argument. | |
11508 | (rtl_zone): Remove. Update all users. | |
11509 | (tree_zone): Remove. Update all users. | |
11510 | (tree_id_zone): Remove. Update all users. | |
11511 | (ggc_internal_zone_alloc_stat): Remove. Update all users. | |
77dc5297 | 11512 | (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users. |
cd030c07 | 11513 | (ggc_internal_zone_vec_alloc_stat): Remove. Update all users. |
77dc5297 | 11514 | * tree-ssanames.c: Remove references to zone allocator in comments. |
cd030c07 | 11515 | |
a861ffa4 GJL |
11516 | 2013-01-24 Georg-Johann Lay <avr@gjlay.de> |
11517 | ||
11518 | * config/avr/avr.c (avr_out_fract): Make register numbers that | |
11519 | might be outside of source operand signed. | |
11520 | ||
593c0ddd UB |
11521 | 2013-01-24 Uros Bizjak <ubizjak@gmail.com> |
11522 | ||
11523 | * config/i386/constraints.md (Yf): New constraint. | |
11524 | * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead | |
11525 | of f constraint to conditionaly disable x87 register preferences. | |
11526 | (*movdf_internal): Ditto. | |
11527 | (*movsf_internal): Ditto. | |
11528 | ||
e86c0101 SB |
11529 | 2013-01-24 Steven Bosscher <steven@gcc.gnu.org> |
11530 | ||
11531 | PR inline-asm/55934 | |
11532 | * lra-assigns.c (assign_by_spills): Throw away the pattern of asms | |
11533 | that have operands with impossible constraints. | |
11534 | Add a FIXME for a speed-up opportunity. | |
11535 | * lra-constraints.c (process_alt_operands): Verify that a class | |
11536 | selected from constraints on asms is valid for the operand mode. | |
11537 | (curr_insn_transform): Remove incorrect comment. | |
11538 | ||
f6fee35f DE |
11539 | 2013-01-23 David Edelsohn <dje.gcc@gmail.com> |
11540 | ||
11541 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that | |
11542 | TOC operand is a valid symbol ref in the constant pool. | |
11543 | ||
11544 | 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
c7729184 | 11545 | |
aaf1e810 | 11546 | * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS |
c7729184 | 11547 | |
dc62d7d1 GJL |
11548 | 2013-01-23 Georg-Johann Lay <avr@gjlay.de> |
11549 | ||
11550 | PR target/54222 | |
11551 | * config/avr/stdfix.h: New file. | |
11552 | * t-avr (stdfix-gcc.h): New rule to build it. | |
11553 | (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h. | |
11554 | ||
2660d12d KS |
11555 | 2013-01-23 Kostya Serebryany <kcc@google.com> |
11556 | ||
77dc5297 UB |
11557 | * config/darwin.h: remove dependency on |
11558 | CoreFoundation (asan on Mac OS). | |
2660d12d | 11559 | |
a70418fc JJ |
11560 | 2013-01-23 Jakub Jelinek <jakub@redhat.com> |
11561 | ||
11562 | PR target/49069 | |
11563 | * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand | |
11564 | instead of cmpdi_operand for first comparison operand. | |
11565 | Don't assert that comparison operands aren't both constants. | |
11566 | ||
47876a2a JW |
11567 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> |
11568 | ||
11569 | * doc/install.texi (Downloading the Source): Update references to | |
11570 | downloading separate components. | |
11571 | ||
11572 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> | |
4ebd56a5 JW |
11573 | |
11574 | * doc/extend.texi (__int128): Improve grammar. | |
11575 | ||
47876a2a | 11576 | 2013-01-22 Uros Bizjak <ubizjak@gmail.com> |
32fc5b8a UB |
11577 | |
11578 | PR target/56028 | |
11579 | * config/i386/i386.md (*movti_internal_rex64): Change (o,riF) | |
11580 | alternative to (o,r). | |
11581 | (*movdi_internal_rex64): Remove (!o,n) alternative. | |
11582 | (DImode immediate->memory splitter): Remove. | |
11583 | (DImode immediate->memory peephole2): Remove. | |
11584 | (movtf): Enable for TARGET_64BIT || TARGET_SSE. | |
11585 | (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r) | |
11586 | alternative to (!o,*r). | |
11587 | (*movtf_internal_sse): New pattern. | |
11588 | (*movxf_internal_rex64): New pattern. | |
11589 | (*movxf_internal): Disable for TARGET_64BIT. | |
11590 | (*movdf_internal_rex64): Remove (!o,F) alternative. | |
11591 | ||
3a984f10 JJ |
11592 | 2013-01-22 Jakub Jelinek <jakub@redhat.com> |
11593 | ||
502498d5 JJ |
11594 | PR middle-end/56074 |
11595 | * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc) | |
11596 | isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION. | |
11597 | * tree-vect-loop-manip.c (find_loop_location): Also ignore | |
11598 | stmt locations where LOCATION_LOCUS of the stmt location is | |
11599 | UNKNOWN_LOCATION or BUILTINS_LOCATION. | |
11600 | ||
3a984f10 JJ |
11601 | PR target/55686 |
11602 | * config/i386/i386.md (UNSPEC_STOS): New. | |
11603 | (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1, | |
11604 | *strsetqi_1): Add UNSPEC_STOS. | |
11605 | ||
fa817f7f PC |
11606 | 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com> |
11607 | ||
11608 | PR c++/56067 | |
11609 | * doc/invoke.texi: Remove left over -Wsynth example. | |
11610 | ||
8f498c1b JJ |
11611 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
11612 | ||
11613 | PR tree-optimization/56051 | |
11614 | * fold-const.c (fold_binary_loc): Don't fold | |
11615 | X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either | |
11616 | a narrowing conversion, or widening conversion from signed | |
11617 | to unsigned. | |
11618 | ||
47876a2a | 11619 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
35d59da7 UB |
11620 | |
11621 | PR rtl-optimization/56023 | |
11622 | * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions, | |
11623 | dependent on debug instruction. | |
11624 | ||
5b9db1bc MJ |
11625 | 2013-01-21 Martin Jambor <mjambor@suse.cz> |
11626 | ||
11627 | PR middle-end/56022 | |
11628 | * function.c (allocate_struct_function): Call | |
11629 | invoke_set_current_function_hook earlier. | |
11630 | ||
e8bb7d68 JJ |
11631 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
11632 | ||
11633 | * reload1.c (init_reload): Only initialize reload_obstack | |
11634 | during the first call. | |
11635 | ||
616a4e32 MP |
11636 | 2013-01-21 Marek Polacek <polacek@redhat.com> |
11637 | ||
11638 | * cfgloop.c (verify_loop_structure): Fix up grammar. | |
11639 | ||
4401981b YHH |
11640 | 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com> |
11641 | ||
11642 | * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift, | |
11643 | pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift. | |
11644 | ||
8e87740b RR |
11645 | 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
11646 | ||
11647 | PR target/56058 | |
11648 | * config/arm/marvell-pj4.md: Update copyright year. | |
11649 | Fix up use of alu to alu_reg and simple_alu_imm. | |
11650 | ||
47876a2a | 11651 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
1f6bc337 UB |
11652 | |
11653 | * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA. | |
11654 | ||
89d56d79 VM |
11655 | 2013-01-20 Vladimir Makarov <vmakarov@redhat.com> |
11656 | ||
11657 | PR target/55433 | |
11658 | * lra-constraints.c (curr_insn_transform): Don't reuse original | |
1f6bc337 | 11659 | insn for secondary memory move when memory mode should be different. |
89d56d79 | 11660 | |
fe603553 JDA |
11661 | 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
11662 | ||
11663 | * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi, | |
11664 | atomic_storedi_1): New patterns. | |
11665 | ||
01284895 VK |
11666 | 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
11667 | ||
11668 | btver2 pipeline descriptions. | |
11669 | * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline | |
11670 | descriptions. | |
11671 | * config/i386/i386.md (btver2_decode): New type attributes. | |
1f6bc337 | 11672 | * config/i386/sse.md (btver2_decode, btver2_sse_attr): New |
01284895 VK |
11673 | type attributes. |
11674 | * config/i386/btver2.md: New file describing btver2 pipelines. | |
11675 | ||
5630e3e1 JL |
11676 | 2013-01-19 Andrew Pinski <apinski@cavium.com> |
11677 | ||
11678 | PR tree-optimization/52631 | |
11679 | * tree-ssa-sccvn (visit_use): Before looking up the original | |
11680 | statement, try looking up the simplified expression. | |
11681 | ||
650ae806 AG |
11682 | 2013-01-19 Anthony Green <green@moxielogic.com> |
11683 | ||
11684 | * config/moxie/moxie.c (moxie_expand_prologue): Set | |
11685 | current_function_static_stack_size. | |
11686 | ||
e300ec2d JJ |
11687 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
11688 | ||
11689 | PR tree-optimization/56029 | |
11690 | * tree-phinodes.c (reserve_phi_args_for_new_edge): Set | |
11691 | gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION. | |
11692 | ||
a3d7af04 SS |
11693 | 2013-01-18 Sharad Singhai <singhai@google.com> |
11694 | ||
11695 | PR tree-optimization/55995 | |
11696 | * dumpfile.c (dump_loc): Print location only if available. | |
11697 | * tree-vectorizer.c (increase_alignment): Intialize vect_location. | |
11698 | ||
66aa7879 VM |
11699 | 2013-01-18 Vladimir Makarov <vmakarov@redhat.com> |
11700 | ||
11701 | PR target/55433 | |
11702 | * lra-constraints.c (curr_insn_transform): Reuse original insn for | |
11703 | secondary memory move. | |
11704 | (inherit_reload_reg): Use rclass instead of cl for | |
11705 | check_secondary_memory_needed_p. | |
11706 | ||
3f0fee7b JJ |
11707 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
11708 | ||
11709 | PR middle-end/56015 | |
11710 | * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle | |
1f6bc337 | 11711 | the case where writing real complex part of target modifies op1. |
3f0fee7b | 11712 | |
70c67693 JG |
11713 | 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com> |
11714 | ||
11715 | * config/aarch64/aarch64-simd.md | |
11716 | (aarch64_vcond_internal<mode>): Handle unordered cases. | |
11717 | * config/aarch64/iterators.md (v_cmp_result): New. | |
11718 | ||
df8de9b3 YHH |
11719 | 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com> |
11720 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
11721 | ||
11722 | * config/arm/marvell-pj4.md: New file. | |
11723 | * config/arm/arm.c (arm_issue_rate): Add marvell_pj4. | |
11724 | * config/arm/arm.md (generic_sched): Add marvell_pj4. | |
11725 | (generic_vfp): Likewise. | |
11726 | * config/arm/arm-cores.def: Add marvell-pj4. | |
11727 | * config/arm/arm-tune.md: Regenerate. | |
11728 | * config/arm/arm-tables.opt: Regenerate. | |
11729 | * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4. | |
11730 | * doc/invoke.texi: Document marvell-pj4. | |
11731 | ||
be30c356 TB |
11732 | 2013-01-18 Tejas Belagod <tejas.belagod@arm.com> |
11733 | ||
11734 | * config/aarch64/arm_neon.h: Map scalar types to standard types. | |
11735 | ||
0bfbca58 | 11736 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
af6236c1 AO |
11737 | |
11738 | PR debug/54114 | |
11739 | PR debug/54402 | |
11740 | PR debug/49888 | |
11741 | * var-tracking.c (negative_power_of_two_p): New. | |
11742 | (global_get_addr_cache, local_get_addr_cache): New. | |
11743 | (get_addr_from_global_cache, get_addr_from_local_cache): New. | |
11744 | (vt_canonicalize_addr): Rewrite using the above. Adjust the | |
11745 | heading comment. | |
11746 | (vt_stack_offset_p): Remove. | |
11747 | (vt_canon_true_dep): Always canonicalize loc's address. | |
11748 | (clobber_overlapping_mems): Make sure we have a MEM. | |
11749 | (local_get_addr_clear_given_value): New. | |
11750 | (val_reset): Clear local cached entries. | |
11751 | (compute_bb_dataflow): Create and release the local cache. | |
11752 | Disable duplicate MEMs clobbering. | |
11753 | (emit_notes_in_bb): Clobber MEMs likewise. | |
11754 | (vt_emit_notes): Create and release the local cache. | |
11755 | (vt_initialize, vt_finalize): Create and release the global | |
11756 | cache, respectively. | |
1f6bc337 | 11757 | * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs. |
af6236c1 | 11758 | |
0bfbca58 | 11759 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
7ff37ffa AO |
11760 | |
11761 | PR libmudflap/53359 | |
11762 | * tree-mudflap.c (mudflap_finish_file): Skip deferred decls | |
11763 | not found in the symtab. | |
11764 | ||
0bfbca58 | 11765 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
3aa03517 | 11766 | |
c350ba53 | 11767 | PR debug/56006 |
3aa03517 AO |
11768 | PR rtl-optimization/55547 |
11769 | PR rtl-optimization/53827 | |
11770 | PR debug/53671 | |
11771 | PR debug/49888 | |
11772 | * alias.c (offset_overlap_p): New, factored out of... | |
11773 | (memrefs_conflict_p): ... this. Use absolute sizes. Retain | |
11774 | the conservative special case for symbolic constants. Don't | |
11775 | adjust zero sizes on alignment. | |
11776 | ||
c664546f JL |
11777 | 2013-01-18 Bernd Schmidt <bernds@codesourcery.com> |
11778 | ||
11779 | PR rtl-optimization/52573 | |
11780 | * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a | |
11781 | REG_UNUSED for the same register. | |
11782 | ||
1bd3f750 MP |
11783 | 2013-01-17 Richard Biener <rguenther@suse.de> |
11784 | Marek Polacek <polacek@redhat.com> | |
11785 | ||
11786 | PR rtl-optimization/55833 | |
11787 | * loop-unswitch.c (unswitch_loops): Move loop verification... | |
11788 | (unswitch_single_loop): ...here. Call mark_irreducible_loops. | |
11789 | * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter. | |
11790 | Set it to true when we're removing a loop from hierarchy tree in | |
11791 | an irreducible region. | |
11792 | (fix_bb_placements): Adjust caller. | |
11793 | (fix_loop_placements): Likewise. | |
11794 | ||
e52a8b71 GJL |
11795 | 2013-01-17 Georg-Johann Lay <avr@gjlay.de> |
11796 | ||
11797 | * config/avr/builtins.def (DEF_BUILTIN): Factor out | |
11798 | "__builtin_avr_" from NAME, turn NAME to an uppercase identifier. | |
11799 | Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'. | |
11800 | Remove ID. Adjust comments. | |
11801 | * config/avr/avr-c.c (avr_builtin_name): Remove. | |
11802 | (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop. | |
11803 | * config/avr/avr.c (avr_tolower): New static function. | |
11804 | (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'. | |
11805 | Stringify NAME, prefix it with "__builtin_avr_" and lowercase it. | |
11806 | (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for | |
11807 | default expansion. | |
11808 | ||
8386a7ea JH |
11809 | 2013-01-17 Jan Hubicka <jh@suse.cz> |
11810 | ||
610fb637 | 11811 | PR tree-optimization/55273 |
8386a7ea JH |
11812 | * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. |
11813 | ||
47876a2a | 11814 | 2013-01-17 Uros Bizjak <ubizjak@gmail.com> |
8abaebcd UB |
11815 | |
11816 | PR target/55981 | |
11817 | * config/i386/sync.md (atomic_store<mode>): Always generate SWImode | |
11818 | store through atomic_store<mode>_1. | |
11819 | (atomic_store<mode>_1): Macroize insn using SWI mode iterator. | |
11820 | ||
8222c37e MJ |
11821 | 2013-01-17 Martin Jambor <mjambor@suse.cz> |
11822 | ||
11823 | PR tree-optimizations/55264 | |
11824 | * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true | |
11825 | for virtual methods. | |
11826 | * ipa.c (symtab_remove_unreachable_nodes): Never return true for | |
11827 | virtual methods before inlining is over. | |
11828 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for | |
11829 | virtual functions. | |
11830 | * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as | |
11831 | non-virtual. | |
11832 | ||
79f01c76 VM |
11833 | 2013-01-16 Vladimir Makarov <vmakarov@redhat.com> |
11834 | ||
11835 | PR rtl-optimization/56005 | |
11836 | * sched-deps.c (sched_analyze_2): Check deps->readonly for adding | |
11837 | pending reads for prefetch. | |
11838 | ||
d0b6bb1b IB |
11839 | 2013-01-16 Ian Bolton <ian.bolton@arm.com> |
11840 | ||
aaf1e810 | 11841 | * config/aarch64/aarch64.md |
d0b6bb1b IB |
11842 | (*cstoresi_neg_uxtw): New pattern. |
11843 | (*cmovsi_insn_uxtw): New pattern. | |
11844 | (*<optab>si3_uxtw): New pattern. | |
11845 | (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern. | |
11846 | (*<optab>si3_insn_uxtw): New pattern. | |
11847 | (*bswapsi2_uxtw): New pattern. | |
11848 | ||
cb9cf03b RB |
11849 | 2013-01-16 Richard Biener <rguenther@suse.de> |
11850 | ||
11851 | * tree-inline.c (tree_function_versioning): Remove set but | |
11852 | never used variable. | |
11853 | ||
2cfc56b9 RB |
11854 | 2013-01-16 Richard Biener <rguenther@suse.de> |
11855 | ||
11856 | PR tree-optimization/55964 | |
11857 | * tree-flow.h (rename_variables_in_loop): Remove. | |
11858 | (rename_variables_in_bb): Likewise. | |
11859 | * tree-loop-distribution.c (update_phis_for_loop_copy): Remove. | |
11860 | (copy_loop_before): Adjust and delete update-ssa status. | |
11861 | * tree-vect-loop-manip.c (rename_variables_in_bb): Make static. | |
8abaebcd | 11862 | (rename_variables_in_bb): Likewise. Properly walk over predecessors. |
2cfc56b9 RB |
11863 | (rename_variables_in_loop): Remove. |
11864 | (slpeel_update_phis_for_duplicate_loop): Likewise. | |
11865 | (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops, | |
11866 | use available cfg machinery instead of duplicating it. | |
11867 | Update PHI nodes and perform poor-mans SSA update here. | |
11868 | (slpeel_tree_peel_loop_to_edge): Adjust. | |
11869 | ||
c25a0c60 RB |
11870 | 2013-01-16 Richard Biener <rguenther@suse.de> |
11871 | ||
11872 | PR tree-optimization/54767 | |
11873 | PR tree-optimization/53465 | |
11874 | * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465. | |
11875 | (vrp_visit_phi_node): For PHI arguments coming via backedges | |
11876 | drop all symbolical range information. | |
11877 | (execute_vrp): Compute backedges. | |
11878 | ||
04b535af RB |
11879 | 2013-01-16 Richard Biener <rguenther@suse.de> |
11880 | ||
11881 | * doc/install.texi: Update CLooG and ISL requirements to | |
11882 | 0.18.0 and 0.11.1. | |
11883 | ||
8b0a1e0b CB |
11884 | 2013-01-16 Christian Bruel <christian.bruel@st.com> |
11885 | ||
11886 | PR target/55301 | |
11887 | * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol. | |
11888 | (broken_move): Handle UNSPECV_SP_SWITCH_B. | |
11889 | * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG). | |
11890 | ||
11891 | 2013-01-16 DJ Delorie <dj@redhat.com> | |
11892 | ||
11893 | * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New. | |
11894 | (UNSPECV_SP_SWITCH_E): New. | |
11895 | (sp_switch_1): Change to an unspec. | |
11896 | (sp_switch_2): Change to an unspec. Don't use post-inc when we | |
11897 | replace $r15. | |
11898 | ||
11899 | 2013-01-16 Uros Bizjak <ubizjak@gmail.com> | |
88e784e6 UB |
11900 | |
11901 | * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument | |
11902 | with MEMMODEL_MASK before comparing with MEMMODEL_* memory types. | |
11903 | * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto. | |
11904 | (expand_mem_thread_fence): Ditto. | |
11905 | (expand_mem_signal_fence): Ditto. | |
11906 | (expand_atomic_load): Ditto. | |
11907 | (expand_atomic_store): Ditto. | |
11908 | ||
0bfbca58 | 11909 | 2013-01-16 Alexandre Oliva <aoliva@redhat.com> |
5147bf6a AO |
11910 | |
11911 | PR rtl-optimization/55547 | |
11912 | PR rtl-optimization/53827 | |
11913 | PR debug/53671 | |
11914 | PR debug/49888 | |
11915 | * alias.c (memrefs_conflict_p): Set sizes to negative after | |
11916 | AND adjustments. | |
11917 | ||
305e3ac1 JJ |
11918 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
11919 | ||
11920 | PR target/55940 | |
11921 | * function.c (thread_prologue_and_epilogue_insns): Always | |
11922 | add crtl->drap_reg to set_up_by_prologue.set, even if | |
11923 | stack_realign_drap is false. | |
11924 | ||
f78ac4f2 JBG |
11925 | 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
11926 | ||
11927 | * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3, | |
11928 | and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3, | |
11929 | *call): Fix indention. | |
11930 | ||
a78a8cc4 TV |
11931 | 2013-01-15 Tom de Vries <tom@codesourcery.com> |
11932 | ||
11933 | PR target/55876 | |
11934 | * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG. | |
11935 | Update comment. | |
11936 | ||
0e80383f VM |
11937 | 2013-01-15 Vladimir Makarov <vmakarov@redhat.com> |
11938 | ||
305e3ac1 | 11939 | PR rtl-optimization/55153 |
0e80383f VM |
11940 | * sched-deps.c (sched_analyze_2): Add pending reads for prefetch. |
11941 | ||
207b5956 MJ |
11942 | 2013-01-15 Martin Jambor <mjambor@suse.cz> |
11943 | ||
11944 | PR tree-optimization/55920 | |
11945 | * tree-sra.c (analyze_access_subtree): Do not mark non-removable | |
11946 | accesses as grp_to_be_debug_replaced. | |
11947 | ||
a7818b54 JJ |
11948 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
11949 | ||
11950 | PR tree-optimization/55920 | |
11951 | * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced | |
11952 | there is non-useless type conversion needed from debug rhs to lhs, | |
11953 | use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR. | |
11954 | ||
b0fe107e JM |
11955 | 2013-01-15 Joseph Myers <joseph@codesourcery.com> |
11956 | Mikael Pettersson <mikpe@it.uu.se> | |
11957 | ||
11958 | PR target/43961 | |
11959 | * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for | |
11960 | Thumb. | |
11961 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
11962 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty. | |
11963 | * final.c (shorten_branches): Update alignment of labels before | |
11964 | jump tables if CASE_VECTOR_SHORTEN_MODE. | |
11965 | ||
34ab62ee RB |
11966 | 2013-01-15 Richard Biener <rguenther@suse.de> |
11967 | ||
11968 | PR bootstrap/55961 | |
11969 | * system.h: Do not include gmp.h for building host tools. | |
11970 | ||
783a3a05 RB |
11971 | 2013-01-15 Richard Biener <rguenther@suse.de> |
11972 | ||
11973 | PR middle-end/55882 | |
11974 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly | |
11975 | account for bitpos when computing alignment. | |
11976 | ||
3a579e09 VY |
11977 | 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com> |
11978 | ||
11979 | * config/i386/i386-c.c (ix86_target_macros_internal): New case. | |
11980 | (ix86_target_macros_internal): Likewise. | |
11981 | ||
11982 | * config/i386/i386.c (m_CORE2I7): Removed. | |
11983 | (m_CORE_HASWELL): New macro. | |
11984 | (m_CORE_ALL): Likewise. | |
11985 | (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL. | |
11986 | (initial_ix86_arch_features): Likewise. | |
11987 | (processor_target_table): Initializations for Core avx2. | |
11988 | (cpu_names): New names "core-avx2". | |
11989 | (ix86_option_override_internal): Changed PROCESSOR_COREI7 by | |
11990 | PROCESSOR_CORE_HASWELL. | |
11991 | (ix86_issue_rate): New case. | |
11992 | (ia32_multipass_dfa_lookahead): Likewise. | |
11993 | (ix86_sched_init_global): Likewise. | |
11994 | ||
11995 | * config/i386/i386.h (TARGET_HASWELL): New macro. | |
11996 | (target_cpu_default): New TARGET_CPU_DEFAULT_haswell. | |
11997 | (processor_type): New PROCESSOR_HASWELL. | |
11998 | ||
955f5a07 JJ |
11999 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
12000 | ||
ff784829 JJ |
12001 | PR tree-optimization/55955 |
12002 | * tree-vect-loop.c (vectorizable_reduction): Give up early on | |
12003 | *SHIFT_EXPR and *ROTATE_EXPR codes. | |
12004 | ||
955f5a07 JJ |
12005 | PR tree-optimization/48766 |
12006 | * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for | |
12007 | -ftrapv disable -fwrapv. | |
12008 | ||
aeb8b4e9 GJL |
12009 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
12010 | ||
12011 | PR target/55974 | |
12012 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH | |
12013 | etc. to 1 and not to __flash. | |
12014 | Use LL suffix for __INT24_MAX__ with -mint8. | |
12015 | Use ULL suffix for __UINT24_MAX__ with -mint8. | |
12016 | ||
1c494c6a GJL |
12017 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
12018 | ||
12019 | * config/avr/avr-arch.h | |
12020 | (struct base_arch_s): Use typedef avr_arch_t instead. | |
12021 | (struct arch_info_s): Use typedef avr_arch_info_t instead. | |
12022 | (struct mcu_type_s): Use typedef avr_mcu_t instead. | |
12023 | * config/avr/avr.c: Same. | |
12024 | * config/avr/avr-devices.c: Same. | |
12025 | * config/avr/driver-avr.c: Same. | |
12026 | * config/avr/gen-avr-mmcu-texi.c: Same. | |
12027 | * config/avr/avr-mcus.def: Adjust comment. | |
12028 | ||
a50344cb TB |
12029 | 2013-01-14 Tejas Belagod <tejas.belagod@arm.com> |
12030 | ||
88e784e6 UB |
12031 | * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New. |
12032 | * config/aarch64/iterators.md (VALLDI): New. | |
a50344cb | 12033 | |
47876a2a | 12034 | 2013-01-14 Uros Bizjak <ubizjak@gmail.com> |
e6f0e052 UB |
12035 | Andi Kleen <ak@linux.intel.com> |
12036 | ||
12037 | PR target/55948 | |
12038 | * config/i386/sync.md (atomic_store<mode>_1): New pattern. | |
12039 | (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE | |
12040 | memmodel flag. | |
12041 | ||
00892272 GJL |
12042 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
12043 | ||
12044 | * config/avr/avr-stdint.h: Remove trailing blanks. | |
12045 | * config/avr/avr-log.h: Same. | |
12046 | * config/avr/avr-arch.h: Same. | |
12047 | * config/avr/avr-devices.c: Same. | |
12048 | * config/avr/avr-dimode.md: Same. | |
12049 | * config/avr/predicates.md: Same. | |
12050 | * config/avr/avr-c.c: Same. And fix typo. | |
e6f0e052 | 12051 | |
00892272 GJL |
12052 | * config/avr/avr-protos.h: Same. And: |
12053 | (function_arg_regno_p): Rename to avr_function_arg_regno_p. | |
12054 | (init_cumulative_args): Rename to avr_init_cumulative_args. | |
12055 | (expand_prologue): Rename to avr_expand_prologue. | |
12056 | (expand_epilogue): Rename to avr_expand_epilogue. | |
12057 | (adjust_insn_length): Rename to avr_adjust_insn_length. | |
12058 | (notice_update_cc): Rename to avr_notice_update_cc. | |
12059 | (final_prescan_insn): Rename to avr_final_prescan_insn. | |
12060 | * config/avr/avr.c: Same. | |
12061 | * config/avr/avr.h: Same. | |
12062 | * config/avr/avr.md: Remove trailing blanks. | |
12063 | (prologue): Use avr_expand_prologue. | |
12064 | (epilogue, sibcall_epilogue): Use avr_expand_epilogue. | |
12065 | ||
7bb01996 RB |
12066 | 2013-01-14 Richard Biener <rguenther@suse.de> |
12067 | ||
12068 | * tree-cfg.c (verify_expr_location, verify_expr_location_1, | |
12069 | verify_location, collect_subblocks): New functions. | |
12070 | (verify_gimple_in_cfg): Verify that locations only reference | |
12071 | BLOCKs in the functions BLOCK tree. | |
12072 | ||
2724573f RB |
12073 | 2013-01-14 Richard Biener <rguenther@suse.de> |
12074 | ||
12075 | * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated | |
12076 | PHI argument. | |
12077 | * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly | |
12078 | unshare reference. | |
12079 | (insert_out_of_ssa_copy_on_edge): Likewise. | |
12080 | (rewrite_close_phi_out_of_ssa): Likewise. | |
12081 | * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare | |
12082 | debug expressions. | |
12083 | * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare | |
12084 | propagated constants. | |
12085 | * tree-cfg.c (tree_node_can_be_shared): Handled component-refs | |
12086 | can not be shared. | |
12087 | ||
9a0bbab6 GJL |
12088 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
12089 | ||
12090 | * config/avr/avr-modes.def: Add GPL copyright notice. | |
12091 | ||
45805f17 UB |
12092 | 2013-01-13 Uros Bizjak <ubizjak@gmail.com> |
12093 | ||
12094 | * config/i386/sync.md (mem_thread_fence): Mask operands[0] with | |
12095 | MEMMODEL_MASK to determine memory model. | |
12096 | (atomic_store<mode>): Ditto from operands[2]. | |
12097 | * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool. | |
12098 | ||
9d60be38 JJ |
12099 | 2013-01-13 Jakub Jelinek <jakub@redhat.com> |
12100 | ||
12101 | PR fortran/55935 | |
45805f17 | 12102 | * gimple-fold.c (get_symbol_constant_value): Call unshare_expr. |
9d60be38 JJ |
12103 | (fold_gimple_assign): Don't call unshare_expr here. |
12104 | (fold_ctor_reference): Call unshare_expr. | |
12105 | ||
e7f49d92 TG |
12106 | 2013-01-13 Terry Guo <terry.guo@arm.com> |
12107 | ||
aaf1e810 EB |
12108 | * Makefile.in (s-mlib): New argument MULTILIB_REUSE. |
12109 | * doc/fragments.texi: Document MULTILIB_REUSE. | |
12110 | * gcc.c (multilib_reuse): New internal spec. | |
e7f49d92 | 12111 | (set_multilib_dir): Also search multilib from multilib_reuse. |
aaf1e810 | 12112 | * genmultilib (tmpmultilib3): Refactor code. |
e7f49d92 TG |
12113 | (tmpmultilib4): Ditto. |
12114 | (multilib_reuse): New multilib argument. | |
12115 | ||
fbd03a27 RS |
12116 | 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com> |
12117 | ||
12118 | * Makefile.in: Update copyright. | |
12119 | ||
b3681f13 TV |
12120 | 2013-01-12 Tom de Vries <tom@codesourcery.com> |
12121 | ||
12122 | PR middle-end/55890 | |
12123 | * calls.c (expand_call): Check if arg_nr is valid. | |
12124 | ||
3f287e4b MM |
12125 | 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
12126 | ||
12127 | * doc/extend.texi (X86 Built-in Functions): Add whitespace in | |
12128 | __builtin_ia32_paddb256 and __builtin_ia32_pavgb256 | |
5bc35113 MM |
12129 | documentation. Add missing '__' in front of |
12130 | __builtin_ia32_packssdw256. | |
3f287e4b | 12131 | |
1abcd5eb AK |
12132 | 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
12133 | ||
12134 | PR target/55719 | |
12135 | * config/s390/s390.c (s390_preferred_reload_class): Do not return | |
12136 | NO_REGS for larl operands. | |
12137 | (s390_reload_larl_operand): Use s390_load_address instead of | |
12138 | emit_move_insn. | |
12139 | ||
980d0812 RB |
12140 | 2013-01-11 Richard Biener <rguenther@suse.de> |
12141 | ||
12142 | * tree-cfg.c (verify_node_sharing_1): Split out from ... | |
12143 | (verify_node_sharing): ... here. | |
12144 | (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree. | |
12145 | ||
7cb9fd07 EB |
12146 | 2013-01-11 Eric Botcazou <ebotcazou@adacore.com> |
12147 | ||
12148 | * configure.ac (Tree checking): Set TREECHECKING to yes if enabled. | |
12149 | Substitute TREECHECKING. | |
12150 | * configure: Regenerate. | |
12151 | * Makefile.in (TREECHECKING): New. | |
12152 | ||
47876a2a | 12153 | 2013-01-11 Richard Guenther <rguenther@suse.de> |
c7ab2530 RG |
12154 | |
12155 | PR tree-optimization/44061 | |
12156 | * tree-vrp.c (extract_range_basic): Compute zero as | |
12157 | value-range for __builtin_constant_p of function parameters. | |
12158 | ||
d1e082c2 RS |
12159 | 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com> |
12160 | ||
45805f17 | 12161 | Update copyright years. |
d1e082c2 | 12162 | |
f85021b0 VM |
12163 | 2013-01-10 Vladimir Makarov <vmakarov@redhat.com> |
12164 | ||
9d60be38 | 12165 | PR rtl-optimization/55672 |
0160442c VM |
12166 | * lra-eliminations.c (mark_not_eliminable): Permit addition with |
12167 | const to be eliminable. | |
f85021b0 | 12168 | |
7a8b1ec4 DE |
12169 | 2013-01-10 David Edelsohn <dje.gcc@gmail.com> |
12170 | ||
12171 | * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix. | |
12172 | * configure: Regenerate. | |
12173 | ||
ad2e5b71 RB |
12174 | 2013-01-10 Richard Biener <rguenther@suse.de> |
12175 | ||
ddf9322d | 12176 | * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes. |
ad2e5b71 | 12177 | |
ffc5b2bb RB |
12178 | 2013-01-10 Richard Biener <rguenther@suse.de> |
12179 | ||
12180 | PR bootstrap/55792 | |
12181 | * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set | |
12182 | locations for virtual PHI arguments. | |
12183 | (rewrite_update_phi_arguments): Likewise. | |
12184 | ||
e1f674e4 JS |
12185 | 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com> |
12186 | ||
12187 | * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi | |
12188 | on to assembler. | |
12189 | ||
a57fc743 JJ |
12190 | 2013-01-10 Jakub Jelinek <jakub@redhat.com> |
12191 | ||
12192 | PR tree-optimization/55921 | |
12193 | * tree-complex.c (expand_complex_asm): New function. | |
12194 | (expand_complex_operations_1): Call it for GIMPLE_ASM. | |
12195 | ||
0ff4390d AK |
12196 | 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
12197 | ||
12198 | PR target/55718 | |
12199 | * config/s390/s390.c (s390_symref_operand_p) | |
12200 | (s390_loadrelative_operand_p): Merge the two functions. | |
12201 | (s390_check_qrst_address, print_operand_address): Add parameters | |
12202 | to s390_loadrelative_operand_p invokation. | |
12203 | (s390_check_symref_alignment): Use s390_loadrelative_operand_p. | |
12204 | (s390_reload_larl_operand, s390_secondary_reload): Use | |
12205 | s390_loadrelative_operand_p instead of s390_symref_operand_p. | |
12206 | (legitimize_pic_address): Handle @GOTENT and @PLT + addend. | |
12207 | ||
6f557e0e MS |
12208 | 2013-01-09 Mike Stump <mikestump@comcast.net> |
12209 | ||
12210 | * dse.c (record_store): Remove unnecessary assert. | |
12211 | ||
7770c9e9 JH |
12212 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
12213 | ||
12214 | PR tree-optimization/55569 | |
12215 | * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type. | |
12216 | * cfgloop.h (scale_loop_profile): Likewise. | |
12217 | ||
a19b1432 JH |
12218 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
12219 | ||
12220 | PR lto/45375 | |
ddf9322d UB |
12221 | * ipa-inline.c (ipa_inline): Remove extern inlines and virtual |
12222 | functions. | |
a19b1432 JH |
12223 | * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data. |
12224 | ||
9a002da8 RS |
12225 | 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com> |
12226 | ||
12227 | PR middle-end/55114 | |
12228 | * expr.h (maybe_emit_group_store): Declare. | |
12229 | * expr.c (maybe_emit_group_store): New function. | |
12230 | * builtins.c (expand_builtin_int_roundingfn): Call it. | |
12231 | (expand_builtin_int_roundingfn_2): Likewise. | |
12232 | ||
511dcace VM |
12233 | 2013-01-09 Vladimir Makarov <vmakarov@redhat.com> |
12234 | ||
e1f2b729 | 12235 | PR rtl-optimization/55829 |
511dcace VM |
12236 | * lra-constraints.c (match_reload): Add code for absent output. |
12237 | (curr_insn_transform): Add code for reloads of matched inputs | |
12238 | without output. | |
12239 | ||
7b0fe4f4 UB |
12240 | 2013-01-09 Uros Bizjak <ubizjak@gmail.com> |
12241 | ||
12242 | * config/i386/sse.md (*vec_interleave_highv2df): Change mode | |
12243 | attribute of movddup insn to DF. | |
12244 | (*vec_interleave_lowv2df): Ditto. | |
12245 | (vec_dupv2df): Ditto. | |
12246 | ||
870ca331 JH |
12247 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
12248 | ||
12249 | PR tree-optimiation/55875 | |
12250 | * tree-ssa-loop-niter.c (number_of_iterations_cond): Add | |
12251 | EVERY_ITERATION parameter. | |
7b0fe4f4 | 12252 | (number_of_iterations_exit): Check if exit is executed every iteration. |
870ca331 JH |
12253 | (idx_infer_loop_bounds): Similarly here. |
12254 | (n_of_executions_at_most): Simplify | |
12255 | to only test for cases where statement is dominated by the | |
7b0fe4f4 | 12256 | particular bound; handle correctly the "postdominance" test. |
870ca331 JH |
12257 | (scev_probably_wraps_p): Use max loop iterations info |
12258 | as a global bound first. | |
12259 | ||
6f575fe4 | 12260 | 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com> |
3cd232b5 NDD |
12261 | Nick Clifton <nickc@redhat.com> |
12262 | ||
12263 | * config/v850/v850.md (cbranchsf4): New pattern. | |
12264 | (cstoresf4): New pattern. | |
12265 | (cbranchdf4): New pattern. | |
12266 | (cstoredf4): New pattern. | |
12267 | (movsicc): Disallow floating point comparisons. | |
12268 | (cmpsf_le_insn): Fix order of operators. | |
12269 | (cmpsf_lt_insn): Likewise. | |
12270 | (cmpsf_eq_insn): Likewise. | |
12271 | (cmpdf_le_insn): Likewise. | |
12272 | (cmpdf_lt_insn): Likewise. | |
12273 | (cmpdf_eq_insn): Likewise. | |
12274 | (cmpsf_ge_insn): Use LE comparison. | |
12275 | (cmpdf_ge_insn): Likewise. | |
12276 | (cmpsf_gt_insn): Use LT comparison. | |
12277 | (cmpdf_gt_insn): Likewise. | |
12278 | (cmpsf_ne_insn): Delete pattern. | |
12279 | (cmpdf_ne_insn): Delete pattern. | |
12280 | * config/v850/v850.c (v850_gen_float_compare): Use | |
12281 | gen_cmpdf_eq_insn for NE comparison. | |
12282 | (v850_float_z_comparison_operator) | |
12283 | (v850_float_nz_comparison_operator): Move from here ... | |
12284 | * config/v850/predicates.md: ... to here. Move GT and GE | |
12285 | comparisons into v850_float_z_comparison_operator. | |
12286 | * config/v850/v850-protos.h (v850_float_z_comparison_operator): | |
12287 | Delete prototype. | |
12288 | (v850_float_nz_comparison_operator): Likewise. | |
12289 | ||
f0d54148 JDA |
12290 | 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12291 | ||
12292 | * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv | |
12293 | with calls to gen_insvsi/gen_insvdi. | |
12294 | ||
8f01beca VK |
12295 | 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
12296 | ||
12297 | * config/i386/i386.c (initial_ix86_tune_features): Set up | |
12298 | X86_TUNE_AVX128_OPTIMAL for m_BTVER2. | |
12299 | ||
2aa579ad JJ |
12300 | 2013-01-09 Steven Bosscher <steven@gcc.gnu.org> |
12301 | Jakub Jelinek <jakub@redhat.com> | |
12302 | ||
12303 | PR tree-optimization/48189 | |
12304 | * predict.c (predict_loops): If max is 0, don't call compare_tree_int. | |
12305 | If nitercst is 0, don't predict the exit edge. | |
12306 | ||
6edc3e32 | 12307 | 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
01a3a324 N |
12308 | |
12309 | * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r | |
12310 | in asm_fprintf with reg_names. | |
12311 | (aarch64_print_operand_address): Likewise. | |
12312 | (aarch64_return_addr): Likewise. | |
12313 | * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove. | |
12314 | ||
f6f94d94 JDA |
12315 | 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12316 | ||
12317 | * config/pa/pa.h (VAL_U6_BITS_P): Define. | |
12318 | (INT_U6_BITS): Likewise. | |
12319 | * config/pa/predicates.md (uint6_operand): New predicate. | |
12320 | (shift5_operand, shift6_operand): Likewise. | |
12321 | * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of | |
12322 | arith32_operand. | |
12323 | (lshrdi3): Use shift6_operand. | |
12324 | (shrpsi4, shrpdi4): New insn patterns. | |
12325 | (extzv): Delete expander. | |
12326 | (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand | |
12327 | predicates in unamed zero extract patterns. Tighten common constraint. | |
12328 | (extv): Delete expander. | |
12329 | (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand | |
12330 | predicates in unamed sign extract patterns. Tighten common constraint. | |
12331 | (insv): Delete expander. | |
12332 | (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand | |
12333 | predicates in unamed insert patterns. Tighten common constraint. | |
12334 | Change uint32_operand predicate to uint6_operand predicate in unamed | |
12335 | DImode pattern to insert constant values of type 1...1xxxx. | |
12336 | ||
36b72910 JH |
12337 | 2013-01-04 Jan Hubicka <jh@suse.cz> |
12338 | ||
12339 | PR tree-optimization/55823 | |
7b0fe4f4 UB |
12340 | * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering |
12341 | issue. | |
36b72910 | 12342 | |
47876a2a | 12343 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
c6d851b9 JJ |
12344 | Uros Bizjak <ubizjak@gmail.com> |
12345 | ||
12346 | PR rtl-optimization/55845 | |
12347 | * df-problems.c (can_move_insns_across): Stop scanning at | |
12348 | volatile_insn_p source instruction or give up if | |
12349 | across_from .. across_to range contains any volatile_insn_p | |
12350 | instructions. | |
12351 | ||
4369c11e TB |
12352 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
12353 | ||
7b0fe4f4 UB |
12354 | * config/aarch64/aarch64-simd.md (vec_init<mode>): New. |
12355 | * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init): | |
12356 | Declare. | |
4369c11e | 12357 | * config/aarch64/aarch64.c (aarch64_simd_dup_constant, |
7b0fe4f4 | 12358 | aarch64_simd_make_constant, aarch64_expand_vector_init): New. |
4369c11e | 12359 | |
aeb7e7c1 JJ |
12360 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
12361 | ||
12362 | PR fortran/55341 | |
12363 | * asan.c (asan_clear_shadow): New function. | |
12364 | (asan_emit_stack_protection): Use it. | |
12365 | ||
a02ad1aa TB |
12366 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
12367 | ||
12368 | * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>, | |
12369 | aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand | |
12370 | with tab instead of space. | |
12371 | ||
f90d87f5 NC |
12372 | 2013-01-08 Nick Clifton <nickc@redhat.com> |
12373 | ||
12374 | * config/rl78/rl78.c (rl78_expand_prologue): Always select | |
12375 | register bank 0 at the start of an interrupt handler. | |
83ffd964 NC |
12376 | * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and |
12377 | MDBH registers. | |
f90d87f5 | 12378 | |
385eb93d JG |
12379 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
12380 | ||
12381 | * config/aarch64/aarch64-simd.md | |
12382 | (aarch64_simd_bsl<mode>_internal): Add floating-point modes. | |
12383 | (aarch64_simd_bsl): Likewise. | |
12384 | (aarch64_vcond_internal<mode>): Likewise. | |
12385 | (vcond<mode><mode>): Likewise. | |
12386 | (aarch64_cm<cmp><mode>): Fix constraints, add new modes. | |
12387 | * config/aarch64/iterators.md (V_cmp_result): Add V2DF. | |
12388 | ||
4dcd1054 JG |
12389 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
12390 | ||
12391 | * config/aarch64/aarch64-builtins.c | |
12392 | (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf. | |
12393 | ||
4267a4a6 MJ |
12394 | 2013-01-08 Martin Jambor <mjambor@suse.cz> |
12395 | ||
12396 | PR debug/55579 | |
12397 | * tree-sra.c (analyze_access_subtree): Return true also after | |
12398 | potentially creating a debug-only replacement. | |
12399 | ||
5f4e6de3 JJ |
12400 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
12401 | ||
3138f224 JJ |
12402 | PR middle-end/55890 |
12403 | * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p. | |
12404 | ||
5f4e6de3 JJ |
12405 | PR tree-optimization/54120 |
12406 | * tree-vrp.c (range_fits_type_p): Don't allow | |
12407 | src_precision < precision from signed vr to unsigned_p | |
12408 | if vr->min or vr->max is negative. | |
12409 | (simplify_float_conversion_using_ranges): Test can_float_p | |
12410 | against CODE_FOR_nothing. | |
12411 | ||
f3ef18ff JJ |
12412 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
12413 | Richard Biener <rguenther@suse.de> | |
12414 | ||
12415 | PR middle-end/55851 | |
12416 | * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P | |
12417 | types instead of just INTEGER_TYPE types. | |
12418 | ||
25c210f9 MK |
12419 | 2013-01-07 Mark Kettenis <kettenis@openbsd.org> |
12420 | ||
12421 | * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, | |
12422 | TF_SIZE): Define. | |
f90d87f5 | 12423 | |
81826a7b SE |
12424 | 2013-01-07 Steve Ellcey <sellcey@mips.com> |
12425 | ||
12426 | PR target/42661 | |
12427 | * config/mips/mips.opt: Change mad to mmad to match documentation. | |
12428 | ||
35678514 GJL |
12429 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
12430 | ||
12431 | PR target/55897 | |
12432 | * doc/extend.texi (AVR Named Address Spaces): __memx goes into | |
12433 | .progmemx.data now. | |
12434 | ||
e5669488 GJL |
12435 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
12436 | ||
12437 | PR target/55897 | |
12438 | * config/avr/avr.h (ADDR_SPACE_COUNT): New enum. | |
12439 | (avr_addrspace_t): Add .section_name field. | |
12440 | * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as | |
12441 | array size. | |
12442 | (avr_addrspace): Same. Initialize .section_name. Remove last | |
12443 | NULL entry. Put __memx into .progmemx.data. | |
12444 | (progmem_section_prefix): Remove. | |
12445 | (avr_asm_init_sections): No need to initialize progmem_section. | |
12446 | (avr_asm_named_section): Use avr_addrspace[].section_name to get | |
12447 | section name prefix. | |
12448 | (avr_asm_select_section): Ditto. And use get_unnamed_section to | |
12449 | retrieve the progmem section. | |
12450 | * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop | |
12451 | boundary to run over avr_addrspace[]. | |
12452 | (avr_register_target_pragmas): Ditto. | |
12453 | ||
656e6f37 JJ |
12454 | 2013-01-06 Jakub Jelinek <jakub@redhat.com> |
12455 | ||
12456 | * varasm.c (output_constant_def_contents): For asan_protect_global | |
12457 | protected strings, adjust DECL_ALIGN if needed, before testing for | |
12458 | anchored symbols. | |
12459 | (place_block_symbol): Adjust size for asan protected STRING_CSTs if | |
12460 | TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected | |
12461 | normal decls. | |
12462 | (output_object_block): For asan protected decls, emit asan padding | |
12463 | after their contents. | |
12464 | * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here. | |
12465 | (asan_finish_file): Test it here instead. | |
12466 | ||
6edc3e32 UB |
12467 | 2013-01-07 Nick Clifton <nickc@redhat.com> |
12468 | Matthias Klose <doko@debian.org> | |
12469 | Doug Kwan <dougkwan@google.com> | |
12470 | H.J. Lu <hongjiu.lu@intel.com> | |
b352afba NC |
12471 | |
12472 | PR driver/55470 | |
12473 | * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold. | |
12474 | ||
12475 | * common.opt: Add fuse-ld=bfd and fuse-ld=gold. | |
12476 | ||
12477 | * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2. | |
12478 | ||
7b0fe4f4 | 12479 | * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold. |
b352afba NC |
12480 | |
12481 | * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold. | |
12482 | ||
2a095093 GJL |
12483 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
12484 | ||
f3b503f4 | 12485 | PR target/54461 |
2a095093 GJL |
12486 | * doc/install.texi (Cross-Compiler-Specific Options): Document |
12487 | --with-avrlibc. | |
12488 | ||
383f9b34 TB |
12489 | 2013-01-07 Tejas Belagod <tejas.belagod@arm.com> |
12490 | ||
12491 | * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32, | |
12492 | vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64, | |
12493 | vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16, | |
12494 | vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32, | |
12495 | vqmovun_high_s64): Fix source operand number and update copyright. | |
12496 | ||
3626621a RB |
12497 | 2013-01-07 Richard Biener <rguenther@suse.de> |
12498 | ||
12499 | PR middle-end/55890 | |
12500 | * gimple.h (gimple_call_builtin_p): New overload. | |
12501 | * gimple.c (validate_call): New function. | |
12502 | (gimple_call_builtin_p): Likewise. | |
12503 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
12504 | Use gimple_call_builtin_p. | |
12505 | (find_func_clobbers): Likewise. | |
12506 | * tree-ssa-strlen.c (adjust_last_stmt): Likewise. | |
12507 | (strlen_optimize_stmt): Likewise. | |
12508 | ||
8b2ea410 JG |
12509 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
12510 | ||
12511 | * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const. | |
12512 | (vld1q_dup_*): Likewise. | |
12513 | (vld1_*): Likewise. | |
12514 | (vld1q_*): Likewise. | |
12515 | (vld1_lane_*): Likewise. | |
12516 | (vld1q_lane_*): Likewise. | |
12517 | ||
9713d329 RB |
12518 | 2013-01-07 Richard Biener <rguenther@suse.de> |
12519 | ||
12520 | * lto-streamer.h (LTO_minor_version): Bump to 2. | |
12521 | ||
3520f7cc JG |
12522 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
12523 | ||
12524 | * config/aarch64/aarch64-protos.h | |
12525 | (aarch64_const_double_zero_rtx_p): Rename to... | |
12526 | (aarch64_float_const_zero_rtx_p): ...this. | |
12527 | (aarch64_float_const_representable_p): New. | |
12528 | (aarch64_output_simd_mov_immediate): Likewise. | |
12529 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor | |
12530 | move immediate case. | |
12531 | * config/aarch64/aarch64.c | |
12532 | (aarch64_const_double_zero_rtx_p): Rename to... | |
12533 | (aarch64_float_const_zero_rtx_p): ...this. | |
12534 | (aarch64_print_operand): Allow printing of new constants. | |
12535 | (aarch64_valid_floating_const): New. | |
12536 | (aarch64_legitimate_constant_p): Check for valid floating-point | |
12537 | constants. | |
12538 | (aarch64_simd_valid_immediate): Likewise. | |
12539 | (aarch64_vect_float_const_representable_p): New. | |
12540 | (aarch64_float_const_representable_p): Likewise. | |
12541 | (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0. | |
12542 | (aarch64_output_simd_mov_immediate): New. | |
12543 | * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative. | |
12544 | (*movdf_aarch64): Likewise. | |
12545 | * config/aarch64/constraints.md (Ufc): New. | |
12546 | (Y): call aarch64_float_const_zero_rtx. | |
12547 | * config/aarch64/predicates.md (aarch64_fp_compare_operand): New. | |
12548 | ||
e167c04d RB |
12549 | 2013-01-07 Richard Biener <rguenther@suse.de> |
12550 | ||
12551 | PR tree-optimization/55888 | |
12552 | PR tree-optimization/55862 | |
12553 | * tree-ssa-pre.c (phi_translate_1): Revert previous change. | |
12554 | (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT, | |
12555 | not if it is contained therein. | |
12556 | ||
0139aaab GJL |
12557 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
12558 | ||
12559 | * config/avr/t-avr: Typo. | |
12560 | ||
4a176b23 GJL |
12561 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
12562 | ||
12563 | PR55243 | |
12564 | * config/avr/t-avr: Don't automatically rebuild | |
12565 | $(srcdir)/config/avr/t-multilib | |
12566 | $(srcdir)/config/avr/avr-tables.opt | |
12567 | $(srcdir)/doc/avr-mmcu.texi | |
12568 | (avr-mcus): New phony target to build them on request. | |
12569 | (s-avr-mlib, s-avr-mmcu-texi): Remove. | |
12570 | * avr/avr-mcus.def: Adjust comments. | |
12571 | ||
c7afdc98 UB |
12572 | 2013-01-07 Uros Bizjak <ubizjak@gmail.com> |
12573 | ||
12574 | * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove. | |
12575 | ||
1ab05c31 RS |
12576 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
12577 | ||
12578 | * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder. | |
12579 | ||
488e3acc RS |
12580 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
12581 | ||
12582 | * config/tilepro/gen-mul-tables.cc: Put copyright on one line. | |
12583 | ||
a89599d2 DE |
12584 | 2013-01-05 David Edelsohn <dje.gcc@gmail.com> |
12585 | ||
12586 | * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling | |
12587 | to generate profiling. | |
12588 | * config/rs6000/aix64.h (LIB_SPEC): Same. | |
12589 | ||
70f09188 AP |
12590 | 2013-01-04 Andrew Pinski <apinski@cavium.com> |
12591 | ||
12592 | * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs): | |
12593 | New function. | |
12594 | (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
12595 | ||
918d445f UB |
12596 | 2013-01-04 Uros Bizjak <ubizjak@gmail.com> |
12597 | ||
12598 | * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode | |
12599 | unconditionally. | |
12600 | (ix86_expand_move): Ditto. | |
12601 | (ix86_zero_extend_to_Pmode): Ditto. | |
12602 | (ix86_expand_call): Ditto. | |
12603 | (ix86_expand_special_args_builtin): Ditto. | |
12604 | (ix86_expand_builtin): Ditto. | |
12605 | ||
361618ec RB |
12606 | 2013-01-04 Richard Biener <rguenther@suse.de> |
12607 | ||
12608 | PR tree-optimization/55862 | |
12609 | * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after | |
12610 | translating them through PHI nodes. | |
12611 | ||
87eab554 MJ |
12612 | 2013-01-04 Martin Jambor <mjambor@suse.cz> |
12613 | ||
12614 | PR tree-optimization/55755 | |
12615 | * tree-sra.c (sra_modify_assign): Do not check that an access has no | |
12616 | children when trying to avoid producing a VIEW_CONVERT_EXPR. | |
12617 | ||
33879b9f MP |
12618 | 2013-01-04 Marek Polacek <polacek@redhat.com> |
12619 | ||
12620 | PR middle-end/55859 | |
12621 | * opts.c (default_options_optimization): Clarify error message. | |
12622 | ||
3068819a RB |
12623 | 2013-01-04 Richard Biener <rguenther@suse.de> |
12624 | ||
12625 | PR middle-end/55863 | |
12626 | * fold-const.c (split_tree): Undo -X - 1 to ~X folding for | |
12627 | reassociation. | |
12628 | ||
0e4ae794 JDA |
12629 | 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12630 | ||
12631 | PR target/53789 | |
12632 | * config/pa/pa.md (movsi): Revert previous change. | |
e58d2e48 JDA |
12633 | * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol |
12634 | references. | |
0e4ae794 | 12635 | |
65c88cef RH |
12636 | 2013-01-03 Richard Henderson <rth@redhat.com> |
12637 | ||
12638 | * config/i386/i386.c (ix86_expand_move): Always assign to op1 | |
12639 | after eliminating TLS symbols. | |
12640 | ||
8ac16127 MG |
12641 | 2013-01-03 Marc Glisse <marc.glisse@inria.fr> |
12642 | ||
12643 | PR bootstrap/50167 | |
12644 | * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf. | |
12645 | * graphite-poly.c (debug_gmp_value): Likewise. | |
12646 | ||
bb664f09 UB |
12647 | 2013-01-03 Uros Bizjak <ubizjak@gmail.com> |
12648 | ||
12649 | PR target/55712 | |
12650 | * config/i386/i386-c.c (ix86_target_macros_internal): Depending on | |
12651 | selected code model, define __code_mode_small__, __code_model_medium__, | |
12652 | __code_model_large__, __code_model_32__ or __code_model_kernel__. | |
12653 | * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix | |
12654 | xchg temporary register with %k. Declare temporary register as | |
12655 | early clobbered. | |
12656 | [__x86_64__]: For medium and large code models, preserve %rbx register. | |
12657 | ||
bcf1ef00 RB |
12658 | 2013-01-03 Richard Biener <rguenther@suse.de> |
12659 | ||
0506634a | 12660 | * tree-data-ref.c (dump_conflict_function): Use less vertical spacing. |
bcf1ef00 RB |
12661 | (dump_subscript): Adjust. |
12662 | (finalize_ddr_dependent): Do not dump redundant info. | |
12663 | (analyze_siv_subscript): Adjust. | |
12664 | (subscript_dependence_tester): Likewise. | |
12665 | (compute_affine_dependence): Likewise. | |
12666 | ||
59fd17e3 RB |
12667 | 2013-01-03 Richard Biener <rguenther@suse.de> |
12668 | ||
12669 | Revert | |
12670 | 2013-01-03 Richard Biener <rguenther@suse.de> | |
12671 | ||
12672 | PR tree-optimization/55857 | |
12673 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
12674 | re-alignment for invariant loads. | |
12675 | ||
12676 | 2013-01-02 Richard Biener <rguenther@suse.de> | |
12677 | ||
12678 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 12679 | invariant load do not generate a vector load from the scalar location. |
59fd17e3 | 12680 | |
595c2679 RB |
12681 | 2013-01-03 Richard Biener <rguenther@suse.de> |
12682 | ||
12683 | * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason | |
12684 | for not vectorizing. | |
12685 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do | |
12686 | not build INDIRECT_REFs, call get_name once only. | |
12687 | (vect_create_data_ref_ptr): Likewise. Dump base object kind | |
12688 | based on DR_BASE_OBJECT, not DR_BASE_ADDRESS. | |
12689 | ||
90bb7d7a RB |
12690 | 2013-01-03 Richard Biener <rguenther@suse.de> |
12691 | ||
12692 | PR tree-optimization/55857 | |
12693 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
12694 | re-alignment for invariant loads. | |
12695 | ||
f09b77ca RB |
12696 | 2013-01-03 Richard Biener <rguenther@suse.de> |
12697 | ||
12698 | PR lto/55848 | |
12699 | * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always | |
12700 | prefer a built-in decl. | |
12701 | ||
3461a16e JJ |
12702 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
12703 | ||
df8e2b4f JJ |
12704 | * gcc.c (process_command): Update copyright notice dates. |
12705 | * gcov.c (print_version): Likewise. | |
12706 | * gcov-dump.c (print_version): Likewise. | |
12707 | ||
3461a16e JJ |
12708 | PR rtl-optimization/55838 |
12709 | * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on | |
12710 | iv0.step, iv1.step and step. | |
12711 | ||
8b5546d6 JJ |
12712 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
12713 | Marc Glisse <marc.glisse@inria.fr> | |
12714 | ||
12715 | PR tree-optimization/55832 | |
12716 | * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and | |
12717 | ABS_EXPR<x> < 0 folding use constant_boolean_node instead of | |
12718 | integer_{one,zero}_node. | |
12719 | ||
8ab1d2e9 JJ |
12720 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
12721 | ||
12722 | PR debug/54402 | |
12723 | * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param. | |
12724 | * var-tracking.c (reverse_op): Don't add reverse ops to | |
12725 | VALUEs that have already | |
0506634a | 12726 | PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list. |
8ab1d2e9 | 12727 | |
5b9ad1d4 GP |
12728 | 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com> |
12729 | ||
12730 | * doc/contrib.texi: Note years as release manager for Mark Mitchell. | |
12731 | ||
e25a6711 TJ |
12732 | 2013-01-02 Teresa Johnson <tejohnson@google.com> |
12733 | ||
12734 | * dumpfile.c (dump_loc): Print filename with location. | |
12735 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use | |
12736 | new location_t parameter to emit complete unroll message with | |
12737 | new dump framework. | |
12738 | (canonicalize_loop_induction_variables): Compute loops location | |
12739 | and pass to try_unroll_loop_completely. | |
12740 | * loop-unroll.c (report_unroll_peel): New function. | |
12741 | (peel_loops_completely): Use new dump format with location | |
12742 | for main dumpfile message, and invoke report_unroll_peel on success. | |
12743 | (decide_unrolling_and_peeling): Ditto. | |
12744 | (decide_peel_once_rolling): Remove old dumpfile message subsumed | |
12745 | by report_unroll_peel. | |
12746 | (decide_peel_completely): Ditto. | |
12747 | (decide_unroll_constant_iterations): Ditto. | |
12748 | (decide_unroll_runtime_iterations): Ditto. | |
12749 | (decide_peel_simple): Ditto. | |
12750 | (decide_unroll_stupid): Ditto. | |
12751 | * cfgloop.c (get_loop_location): New function. | |
12752 | * cfgloop.h (get_loop_location): Declare. | |
12753 | ||
77878621 ST |
12754 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
12755 | ||
12756 | * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for | |
12757 | NULL. | |
12758 | ||
9e65d03e JDA |
12759 | 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12760 | ||
12761 | PR middle-end/55198 | |
12762 | * expr.c (expand_expr_real_1): Don't use bitfield extraction for non | |
12763 | BLKmode objects when EXPAND_MEMORY is specified. | |
12764 | ||
6a7da30f ST |
12765 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
12766 | ||
12767 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug | |
12768 | in loop predicate. | |
12769 | (fold_builtin_cpu): Do not share cpu model decls across statements. | |
12770 | ||
e78167f2 JM |
12771 | 2013-01-02 Jason Merrill <jason@redhat.com> |
12772 | ||
12773 | PR c++/55804 | |
12774 | * tree.c (build_array_type_1): Revert earlier change. | |
12775 | ||
8c075fb4 YZ |
12776 | 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com> |
12777 | ||
12778 | * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and | |
12779 | "cortex-a57". | |
12780 | * config/aarch64/aarch64-tune.md: Re-generate. | |
12781 | ||
0682ed3e RB |
12782 | 2013-01-02 Richard Biener <rguenther@suse.de> |
12783 | ||
12784 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 12785 | invariant load do not generate a vector load from the scalar location. |
0682ed3e | 12786 | |
b8f6a302 RB |
12787 | 2013-01-02 Richard Biener <rguenther@suse.de> |
12788 | ||
12789 | PR bootstrap/55784 | |
12790 | * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS. | |
12791 | * configure: Regenerate. | |
12792 | ||
04b80dbb RS |
12793 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
12794 | ||
12795 | * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2) | |
12796 | (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3) | |
12797 | (expand_builtin_int_roundingfn_2): Keep the original target around | |
12798 | for the fallback case. | |
12799 | ||
635b0b0c RS |
12800 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
12801 | ||
12802 | * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int | |
12803 | to be clear for sign changes. | |
12804 | ||
42d57399 JH |
12805 | 2013-01-01 Jan Hubicka <jh@suse.cz> |
12806 | ||
12807 | * ipa-inline-analysis.c: Fix formatting. | |
12808 | ||
5bb6669d JJ |
12809 | 2013-01-01 Jakub Jelinek <jakub@redhat.com> |
12810 | ||
12811 | PR tree-optimization/55831 | |
12812 | * tree-vect-loop.c (get_initial_def_for_induction): Use | |
12813 | gsi_after_labels instead of gsi_start_bb. | |
ad41bd84 | 12814 | \f |
86a2db33 | 12815 | Copyright (C) 2013 Free Software Foundation, Inc. |
ad41bd84 JM |
12816 | |
12817 | Copying and distribution of this file, with or without modification, | |
12818 | are permitted in any medium without royalty provided the copyright | |
12819 | notice and this notice are preserved. |