1 2014-01-14 Kirill Yukhin <kirill.yukhin@intel.com>
3 * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): New.
4 (_mm_rcp28_round_ss): Ditto.
5 (_mm_rsqrt28_round_sd): Ditto.
6 (_mm_rsqrt28_round_ss): Ditto.
9 (_mm_rsqrt28_sd): Ditto.
10 (_mm_rsqrt28_ss): Ditto.
11 * config/i386/avx512fintrin.h (_mm512_stream_load_si512): Ditto.
12 * config/i386/i386-builtin-types.def (V8DI_FTYPE_PV8DI): Ditto.
13 * config/i386/i386.c (IX86_BUILTIN_MOVNTDQA512): Ditto.
14 (IX86_BUILTIN_RCP28SD): Ditto.
15 (IX86_BUILTIN_RCP28SS): Ditto.
16 (IX86_BUILTIN_RSQRT28SD): Ditto.
17 (IX86_BUILTIN_RSQRT28SS): Ditto.
18 (bdesc_special_args): Define __builtin_ia32_movntdqa512,
19 __builtin_ia32_rcp28sd_round, __builtin_ia32_rcp28ss_round,
20 __builtin_ia32_rsqrt28sd_round, __builtin_ia32_rsqrt28ss_round.
21 (ix86_expand_special_args_builtin): Expand new FTYPE.
22 * config/i386/sse.md (define_mode_attr "sse4_1_avx2"): Expand to V8DI.
23 (srcp14<mode>): Make insn unary.
24 (avx512f_vmscalef<mode><round_name>): Use substed predicate.
25 (avx512f_sgetexp<mode><round_saeonly_name>): Ditto.
26 (avx512f_rndscale<mode><round_saeonly_name>): Ditto.
27 (<sse4_1_avx2>_movntdqa): Extend to 512 bits.
28 (avx512er_exp2<mode><mask_name><round_saeonly_name>):
29 Fix rounding: make it SAE only.
30 (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>): Ditto.
31 (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>): Ditto.
32 (avx512er_vmrcp28<mode><round_saeonly_name>): Ditto.
33 (avx512er_vmrsqrt28<mode><round_saeonly_name>): Ditto.
34 (avx512f_getmant<mode><mask_name><round_saeonly_name>): Ditto.
35 * config/i386/subst.md (round_saeonly_mask_scalar_operand3): Remove.
36 (round_saeonly_mask_scalar_operand4): Ditto.
37 (round_saeonly_mask_scalar_op3): Ditto.
38 (round_saeonly_mask_scalar_op4): Ditto.
40 2014-01-13 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
42 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
43 Implement -maltivec=be for vec_insert and vec_extract.
45 2014-01-10 DJ Delorie <dj@redhat.com>
47 * config/msp430/msp430.md (call_internal): Don't allow memory
48 references with SP as the base register.
49 (call_value_internal): Likewise.
50 * config/msp430/constraints.md (Yc): New. For memory references
51 that don't use SP as a base register.
53 * config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean
54 "an integer without a # prefix"
55 * config/msp430/msp430.md (epilogue_helper): Use it.
57 2014-01-13 Jakub Jelinek <jakub@redhat.com>
60 * config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment
61 AVX512F gather builtins.
62 * tree-vect-stmts.c (vectorizable_mask_load_store): For now punt
63 on gather decls with INTEGER_TYPE masktype.
64 (vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST
65 directly into the builtin rather than hoisting it before loop.
67 PR tree-optimization/59387
68 * tree-scalar-evolution.c: Include gimple-fold.h and gimplify-me.h.
69 (scev_const_prop): If folded_casts and type has undefined overflow,
70 use force_gimple_operand instead of force_gimple_operand_gsi and
71 for each added stmt if it is assign with
72 arith_code_with_undefined_signed_overflow, call
73 rewrite_to_defined_overflow.
74 * tree-ssa-loop-im.c: Don't include gimplify-me.h, include
75 gimple-fold.h instead.
76 (arith_code_with_undefined_signed_overflow,
77 rewrite_to_defined_overflow): Moved to ...
78 * gimple-fold.c (arith_code_with_undefined_signed_overflow,
79 rewrite_to_defined_overflow): ... here. No longer static.
80 Include gimplify-me.h.
81 * gimple-fold.h (arith_code_with_undefined_signed_overflow,
82 rewrite_to_defined_overflow): New prototypes.
84 2014-01-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
86 * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Fix typo in description.
88 2014-01-13 Eric Botcazou <ebotcazou@adacore.com>
90 * builtins.c (get_object_alignment_2): Minor tweak.
91 * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Rewrite.
93 2014-01-13 Christian Bruel <christian.bruel@st.com>
95 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Unroll small sizes and
96 optimized non constant lengths.
98 2014-01-13 Jakub Jelinek <jakub@redhat.com>
101 * omp-low.c (expand_omp_atomic_pipeline): Expand the initial
102 load as __atomic_load_N if possible.
104 2014-01-11 David Edelsohn <dje.gcc@gmail.com>
106 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
108 (rs6000_expand_builtin): Adjust call.
110 2014-01-11 David Edelsohn <dje.gcc@gmail.com>
113 * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define.
114 * config/rs6000/rs6000.c: Include target-globals.h.
115 (rs6000_set_current_function): Instead of doing target_reinit
116 unconditionally, use save_target_globals_default_opts and
117 restore_target_globals.
119 * config/rs6000/rs6000-builtin.def (mffs, mtfsf): Add builtins for
121 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): New.
122 (rs6000_expand_builtin): Handle mffs and mtfsf.
123 (rs6000_init_builtins): Define mffs and mtfsf.
124 * config/rs6000/rs6000.md (UNSPECV_MFFS, UNSPECV_MTFSF): New constants.
125 (rs6000_mffs): New pattern.
126 (rs6000_mtfsf): New pattern.
128 2014-01-11 Bin Cheng <bin.cheng@arm.com>
130 * tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter.
131 Start narrowing with START. Apply candidate-use pair
132 and check overall cost in narrowing.
133 (iv_ca_prune): Pass new argument.
135 2014-01-10 Jeff Law <law@redhat.com>
138 * ree.c (combine_reaching_defs): Ensure the defining statement
139 occurs before the extension when optimizing extensions with
140 different source and destination hard registers.
142 2014-01-10 Jan Hubicka <jh@suse.cz>
145 * ipa-devirt.c (build_type_inheritance_graph): Also add types of vtables
146 into the type inheritance graph.
148 2014-01-10 Jakub Jelinek <jakub@redhat.com>
150 PR rtl-optimization/59754
151 * ree.c (combine_reaching_defs): Disallow !SCALAR_INT_MODE_P
152 modes in the REGNO != REGNO case.
154 2014-01-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
156 * config/rs6000/rs6000-builtin.def: Fix pasto for VPKSDUS.
158 2014-01-10 Jakub Jelinek <jakub@redhat.com>
160 PR tree-optimization/59745
161 * tree-predcom.c (tree_predictive_commoning_loop): Call
162 free_affine_expand_cache if giving up because components is NULL.
164 * target-globals.c (save_target_globals): Allocate < 4KB structs using
165 GC in payload of target_globals struct instead of allocating them on
166 the heap and the larger structs separately using GC.
167 * target-globals.h (struct target_globals): Make regs, hard_regs,
168 reload, expmed, ira, ira_int and lra_fields GTY((atomic)) instead
169 of GTY((skip)) and change type to void *.
170 (reset_target_globals): Cast loads from those fields to corresponding
173 2014-01-10 Steve Ellcey <sellcey@mips.com>
176 * Makefile.in (PLUGIN_HEADERS): Add gimplify.h, gimple-iterator.h,
177 gimple-ssa.h, fold-const.h, tree-cfg.h, tree-into-ssa.h,
178 tree-ssanames.h, print-tree.h, varasm.h, and context.h.
180 2014-01-10 Richard Earnshaw <rearnsha@arm.com>
183 * aarch64-modes.def (CC_Zmode): New flags mode.
184 * aarch64.c (aarch64_select_cc_mode): Only allow NEG when the condition
185 represents an equality.
186 (aarch64_get_condition_code): Handle CC_Zmode.
187 * aarch64.md (compare_neg<mode>): Restrict to equality operations.
189 2014-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
191 * config/s390/s390.c (s390_expand_tbegin): Remove jump over CC
192 extraction in good case.
194 2014-01-10 Richard Biener <rguenther@suse.de>
196 PR tree-optimization/59374
197 * tree-vect-slp.c (vect_slp_analyze_bb_1): Move dependence
198 checking after SLP discovery. Mark stmts not participating
199 in any SLP instance properly.
201 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
203 * config/arm/arm.c (arm_new_rtx_costs): Use destination mode
204 when handling a SET rtx.
206 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
208 * config/arm/arm-cores.def (cortex-a53): Specify FL_CRC32.
209 (cortex-a57): Likewise.
210 (cortex-a57.cortex-a53): Likewise. Remove redundant flags.
212 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
214 * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
217 2014-01-10 Jan Hubicka <hubicka@ucw.cz>
221 * ipa-devirt.c record_target_from_binfo): Take as argument
222 stack of binfos and lookup matching one for virtual inheritance.
223 (possible_polymorphic_call_targets_1): Update.
225 2014-01-10 Huacai Chen <chenhc@lemote.com>
227 * config/mips/driver-native.c (host_detect_local_cpu): Handle new
228 kernel strings for Loongson-2E/2F/3A.
230 2014-01-10 Jakub Jelinek <jakub@redhat.com>
233 * tree-vect-data-refs.c (vect_analyze_data_refs): Check
234 is_gimple_call before calling gimple_call_internal_p.
236 2014-01-09 Steve Ellcey <sellcey@mips.com>
238 * Makefile.in (TREE_FLOW_H): Remove.
239 (TREE_SSA_H): Add file names from tree-flow.h.
240 * doc/tree-ssa.texi (Annotations): Remove reference to tree-flow.h
241 * tree.h: Remove tree-flow.h reference.
242 * hash-table.h: Remove tree-flow.h reference.
243 * tree-ssa-loop-niter.c (dump_affine_iv): Replace tree-flow.h
244 reference with tree-ssa-loop.h.
246 2014-01-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
248 * doc/invoke.texi: Add -maltivec={be,le} options, and document
249 default element-order behavior for -maltivec.
250 * config/rs6000/rs6000.opt: Add -maltivec={be,le} options.
251 * config/rs6000/rs6000.c (rs6000_option_override_internal): Ensure
252 that -maltivec={le,be} implies -maltivec; disallow -maltivec=le
253 when targeting big endian, at least for now.
254 * config/rs6000/rs6000.h: Add #define of VECTOR_ELT_ORDER_BIG.
256 2014-01-09 Jakub Jelinek <jakub@redhat.com>
259 * cfgexpand.c (expand_one_var): For SSA_NAMEs, if the underlying
260 var satisfies use_register_for_decl, just take into account type
261 alignment, rather than decl alignment.
263 PR tree-optimization/59622
264 * gimple-fold.c (gimple_fold_call): Fix a typo in message. For
265 __builtin_unreachable replace the OBJ_TYPE_REF call with a call to
266 __builtin_unreachable and add if needed a setter of the lhs SSA_NAME.
267 Don't devirtualize for inplace at all. For targets.length () == 1,
268 if the call is noreturn and cfun isn't in SSA form yet, clear lhs.
270 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
272 * config/i386/i386.md (cpu): Remove the unused btver1.
274 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
276 * gdbasan.in: Put a breakpoint on __sanitizer::Report.
278 2014-01-09 Jakub Jelinek <jakub@redhat.com>
281 * tree-core.h (struct target_globals): New forward declaration.
282 (struct tree_target_option): Add globals field.
283 * tree.h (TREE_TARGET_GLOBALS): Define.
284 (prepare_target_option_nodes_for_pch): New prototype.
285 * target-globals.h (struct target_globals): Define even if
287 * tree.c (prepare_target_option_node_for_pch,
288 prepare_target_option_nodes_for_pch): New functions.
289 * config/i386/i386.h (SWITCHABLE_TARGET): Define.
290 * config/i386/i386.c: Include target-globals.h.
291 (ix86_set_current_function): Instead of doing target_reinit
292 unconditionally, use save_target_globals_default_opts and
293 restore_target_globals.
295 2014-01-09 Richard Biener <rguenther@suse.de>
297 PR tree-optimization/59715
298 * tree-cfg.h (split_critical_edges): Declare.
299 * tree-cfg.c (split_critical_edges): Export.
300 * tree-ssa-sink.c (execute_sink_code): Split critical edges.
302 2014-01-09 Max Ostapenko <m.ostapenko@partner.samsung.com>
304 * cfgexpand.c (expand_stack_vars): Optionally disable
305 asan stack protection.
306 (expand_used_vars): Likewise.
307 (partition_stack_vars): Likewise.
308 * asan.c (asan_emit_stack_protection): Optionally disable
309 after return stack usage.
310 (instrument_derefs): Optionally disable memory
311 access instrumentation.
312 (instrument_builtin_call): Likewise.
313 (instrument_strlen_call): Likewise.
314 (asan_protect_global): Optionally disable
315 global variables protection.
316 * doc/invoke.texi: Added doc for new options.
317 * params.def: Added new options.
318 * params.h: Likewise.
320 2014-01-09 Jakub Jelinek <jakub@redhat.com>
322 PR rtl-optimization/59724
323 * ifcvt.c (cond_exec_process_if_block): Don't call
324 flow_find_head_matching_sequence with 0 longest_match.
325 * cfgcleanup.c (flow_find_head_matching_sequence): Count even
326 non-active insns if !stop_after.
327 (try_head_merge_bb): Revert 2014-01-07 changes.
329 2014-01-08 Jeff Law <law@redhat.com>
331 * ree.c (get_sub_rtx): New function, extracted from...
332 (merge_def_and_ext): Here.
333 (combine_reaching_defs): Use get_sub_rtx.
335 2014-01-08 Eric Botcazou <ebotcazou@adacore.com>
337 * cgraph.h (varpool_variable_node): Do not choke on null node.
339 2014-01-08 Catherine Moore <clm@codesourcery.com>
341 * config/mips/mips.md (simple_return): Attempt to use JRC for microMIPS.
342 * config/mips/mips.h (MIPS_CALL): Attempt to use JALS for microMIPS.
344 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
346 PR rtl-optimization/59137
347 * reorg.c (steal_delay_list_from_target): Call update_block for
349 (steal_delay_list_from_fallthrough, relax_delay_slots): Likewise.
351 2014-01-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
353 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
354 two duplicate entries.
356 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
359 2012-10-07 Richard Sandiford <rdsandiford@googlemail.com>
361 * config/mips/mips.c (mips_truncated_op_cost): New function.
362 (mips_rtx_costs): Adjust test for BADDU.
363 * config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.
365 2012-10-02 Richard Sandiford <rdsandiford@googlemail.com>
367 * config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into...
368 (*baddu_si): ...this new pattern.
370 2014-01-08 Jakub Jelinek <jakub@redhat.com>
373 * ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts.
375 2014-01-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
378 * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter
380 (expand_expr, expand_normal): Adjust.
381 * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter
382 inner_reference_p. Use inner_reference_p to expand inner references.
383 (store_expr): Adjust.
384 * cfgexpand.c (expand_call_stmt): Adjust.
386 2014-01-08 Rong Xu <xur@google.com>
388 * gcov-io.c (gcov_var): Move from gcov-io.h.
389 (gcov_position): Ditto.
390 (gcov_is_error): Ditto.
391 (gcov_rewrite): Ditto.
392 * gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
393 only part to libgcc/libgcov.h.
395 2014-01-08 Marek Polacek <polacek@redhat.com>
398 * omp-low.c (simd_clone_adjust): Don't crash if def is NULL.
400 2014-01-08 Marek Polacek <polacek@redhat.com>
403 * ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2.
405 2014-01-08 Jakub Jelinek <jakub@redhat.com>
407 PR rtl-optimization/59649
408 * stor-layout.c (get_mode_bounds): For BImode return
409 0 and STORE_FLAG_VALUE.
411 2014-01-08 Richard Biener <rguenther@suse.de>
414 * gimple.h (is_gimple_builtin_call): Remove.
415 (gimple_builtin_call_types_compatible_p): New.
416 (gimple_call_builtin_p): New overload.
417 * gimple.c (is_gimple_builtin_call): Remove.
418 (validate_call): Rename to ...
419 (gimple_builtin_call_types_compatible_p): ... this and export. Also
421 (validate_type): New static function.
422 (gimple_call_builtin_p): New overload and adjust.
423 * gimple-fold.c (gimple_fold_builtin): Fold the return value.
424 (gimple_fold_call): Likewise. Use gimple_call_builtin_p.
425 (gimple_fold_stmt_to_constant_1): Likewise.
426 * tsan.c (instrument_gimple): Use gimple_call_builtin_p.
428 2014-01-08 Richard Biener <rguenther@suse.de>
431 * gimplify.c (gimplify_expr): Gimplify register-register type
432 VIEW_CONVERT_EXPRs to separate stmts.
434 2014-01-07 Jeff Law <law@redhat.com>
437 * ree.c (combine_set_extension): Handle case where source
438 and destination registers in an extension insn are different.
439 (combine_reaching_defs): Allow source and destination
440 registers in extension to be different under limited
442 (add_removable_extension): Remove restriction that the
443 source and destination registers in the extension are the
445 (find_and_remove_re): Emit a copy from the extension's
446 destination to its source after the defining insn if
447 the source and destination registers are different.
450 * ifcvt.c (merge_if_block): If we are merging a block with more than
451 one successor with a block with no successors, remove any BARRIER
452 after the second block.
454 2014-01-07 Dan Xio Qiang <ziyan01@163.com>
456 * hw-doloop.c (reorg_loops): Release the bitmap obstack.
458 2014-01-07 John David Anglin <danglin@gcc.gnu.org>
461 * config/pa/pa.c (pa_legitimate_address_p): Return false before reload
462 for 14-bit register offsets when INT14_OK_STRICT is false.
464 2014-01-07 Roland Stigge <stigge@antcom.de>
465 Michael Meissner <meissner@linux.vnet.ibm.com>
468 * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
469 Only check TFmode for SPE constants. Don't check TImode or
472 2014-01-07 James Greenhalgh <james.greenhalgh@arm.com>
474 * config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
477 2014-01-07 Yufeng Zhang <yufeng.zhang@arm.com>
479 * config/arm/arm.c (arm_expand_neon_args): Call expand_expr
480 with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
481 rtx is const0_rtx or not.
483 2014-01-07 Richard Sandiford <rdsandiford@googlemail.com>
486 * target-globals.c (save_target_globals): Remove this_fn_optab
488 * toplev.c: Include optabs.h.
489 (target_reinit): Temporarily restore the global options if another
490 set of options are in force.
492 2014-01-07 Jakub Jelinek <jakub@redhat.com>
494 PR rtl-optimization/58668
495 * cfgcleanup.c (flow_find_cross_jump): Don't count
496 any jumps if dir_p is NULL. Remove p1 variable, use active_insn_p
497 to determine what is counted.
498 (flow_find_head_matching_sequence): Use active_insn_p to determine
500 (try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
502 * ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
503 determine what is counted.
505 PR tree-optimization/59643
506 * tree-predcom.c (split_data_refs_to_components): If one dr is
507 read and one write, determine_offset fails and the write isn't
508 in the bad component, just put the read into the bad component.
510 2014-01-07 Mike Stump <mikestump@comcast.net>
511 Jakub Jelinek <jakub@redhat.com>
514 * tree-core.h (struct tree_optimization_option): Change optabs
515 type from unsigned char * to void *.
516 * optabs.c (init_tree_optimization_optabs): Adjust
517 TREE_OPTIMIZATION_OPTABS initialization.
519 2014-01-06 Jakub Jelinek <jakub@redhat.com>
522 * config/i386/i386.h (struct machine_function): Add
523 no_drap_save_restore field.
524 * config/i386/i386.c (ix86_save_reg): Use
525 !cfun->machine->no_drap_save_restore instead of
526 crtl->stack_realign_needed.
527 (ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
528 this function clears frame_pointer_needed. Set
529 cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
530 and DRAP reg is needed.
532 2014-01-06 Marek Polacek <polacek@redhat.com>
535 * doc/implement-c.texi: Mention that other integer types are
536 permitted as bit-field types in strictly conforming mode.
538 2014-01-06 Felix Yang <fei.yang0953@gmail.com>
540 * modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
543 2014-01-06 Richard Earnshaw <rearnsha@arm.com>
545 * aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
547 2014-01-06 Martin Jambor <mjambor@suse.cz>
550 * ipa-cp.c (ipcp_discover_new_direct_edges): Changed param_index type
552 * ipa-prop.c (ipa_print_node_params): Fix indentation.
554 2014-01-06 Eric Botcazou <ebotcazou@adacore.com>
558 * var-tracking.c (add_stores): Preserve the value of the source even if
559 we don't record the store.
561 2014-01-06 Terry Guo <terry.guo@arm.com>
563 * config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.
565 2014-01-05 Iain Sandoe <iain@codesourcery.com>
568 * config/darwin.c (darwin_function_section): Adjust return values to
569 correspond to optimisation changes made in r206070.
571 2014-01-05 Uros Bizjak <ubizjak@gmail.com>
573 * config/i386/i386.c (ix86_data_alignment): Calculate max_align
574 from prefetch_block tune setting.
575 (nocona_cost): Correct size of prefetch block to 64.
577 2014-01-04 Eric Botcazou <ebotcazou@adacore.com>
579 * config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
580 (arm_expand_epilogue_apcs_frame): Take into account the number of bytes
581 used to save the static chain register in the computation of the offset
582 from which the FP registers need to be restored.
584 2014-01-04 Jakub Jelinek <jakub@redhat.com>
586 PR tree-optimization/59519
587 * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't
588 ICE if get_current_def (current_new_name) is already non-NULL, as long
589 as it is a phi result of some other phi in *new_exit_bb that has
592 * config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
593 or vmovdqu* for misaligned_operand.
594 (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>,
595 <sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>.
596 * config/i386/i386.c (ix86_expand_special_args_builtin): Set
597 aligned_mem for AVX512F masked aligned load and store builtins and for
600 2014-01-03 Bingfeng Mei <bmei@broadcom.com>
602 PR tree-optimization/59651
603 * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
604 Address range for negative step should be added by TYPE_SIZE_UNIT.
606 2014-01-03 Andreas Schwab <schwab@linux-m68k.org>
608 * config/m68k/m68k.c (handle_move_double): Handle pushes with
609 overlapping registers also for registers other than the stack
612 2014-01-03 Marek Polacek <polacek@redhat.com>
615 * doc/extend.texi: Fix the return value of __builtin_FUNCTION and
618 2014-01-03 Jakub Jelinek <jakub@redhat.com>
621 * config/i386/i386.c (ix86_avoid_jump_mispredicts): Don't consider
624 * config/i386/i386.md (MODE_SIZE): New mode attribute.
625 (push splitter): Use <P:MODE_SIZE> instead of
626 GET_MODE_SIZE (<P:MODE>mode).
627 (lea splitter): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
628 (mov -1, reg peephole2): Likewise.
629 * config/i386/sse.md (*mov<mode>_internal,
630 <sse>_storeu<ssemodesuffix><avxsizesuffix>,
631 <sse2_avx_avx512f>_storedqu<mode>, <sse>_andnot<mode>3,
632 *<code><mode>3, *andnot<mode>3<mask_name>,
633 <mask_codefor><code><mode>3<mask_name>): Likewise.
634 * config/i386/subst.md (mask_mode512bit_condition,
635 sd_mask_mode512bit_condition): Likewise.
637 2014-01-02 Xinliang David Li <davidxl@google.com>
639 PR tree-optimization/59303
640 * tree-ssa-uninit.c (is_use_properly_guarded): Main cleanup.
641 (dump_predicates): Better output format.
642 (pred_equal_p): New function.
643 (is_neq_relop_p): Ditto.
644 (is_neq_zero_form_p): Ditto.
645 (pred_expr_equal_p): Ditto.
647 (simplify_pred): Ditto.
648 (simplify_preds_2): Ditto.
649 (simplify_preds_3): Ditto.
650 (simplify_preds_4): Ditto.
651 (simplify_preds): Ditto.
653 (push_to_worklist): Ditto.
654 (get_pred_info_from_cmp): Ditto.
655 (is_degenerated_phi): Ditto.
656 (normalize_one_pred_1): Ditto.
657 (normalize_one_pred): Ditto.
658 (normalize_one_pred_chain): Ditto.
659 (normalize_preds): Ditto.
660 (normalize_cond_1): Remove function.
661 (normalize_cond): Ditto.
662 (is_gcond_subset_of): Ditto.
663 (is_subset_of_any): Ditto.
664 (is_or_set_subset_of): Ditto.
665 (is_and_set_subset_of): Ditto.
666 (is_norm_cond_subset_of): Ditto.
667 (pred_chain_length_cmp): Ditto.
668 (convert_control_dep_chain_into_preds): Type change.
669 (find_predicates): Ditto.
670 (find_def_preds): Ditto.
671 (destroy_predicates_vecs): Ditto.
672 (find_matching_predicates_in_rest_chains): Ditto.
673 (use_pred_not_overlap_with_undef_path_pred): Ditto.
674 (is_pred_expr_subset): Ditto.
675 (is_pred_chain_subset_of): Ditto.
676 (is_included_in): Ditto.
677 (is_superset_of): Ditto.
679 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
681 Update copyright years.
683 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
685 * common/config/arc/arc-common.c, config/arc/arc-modes.def,
686 config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
687 config/arc/arc.md, config/arc/arc.opt,
688 config/arm/arm_neon_builtins.def, config/arm/crypto.def,
689 config/i386/avx512cdintrin.h, config/i386/avx512erintrin.h,
690 config/i386/avx512fintrin.h, config/i386/avx512pfintrin.h,
691 config/i386/btver2.md, config/i386/shaintrin.h, config/i386/slm.md,
692 config/linux-protos.h, config/linux.c, config/winnt-c.c,
693 diagnostic-color.c, diagnostic-color.h, gimple-ssa-isolate-paths.c,
694 vtable-verify.c, vtable-verify.h: Use the standard form for the
697 2014-01-02 Tobias Burnus <burnus@net-b.de>
699 * gcc.c (process_command): Update copyright notice dates.
700 * gcov-dump.c: Ditto.
702 * doc/cpp.texi: Bump @copying's copyright year.
703 * doc/cppinternals.texi: Ditto.
704 * doc/gcc.texi: Ditto.
705 * doc/gccint.texi: Ditto.
706 * doc/gcov.texi: Ditto.
707 * doc/install.texi: Ditto.
708 * doc/invoke.texi: Ditto.
710 2014-01-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
712 * config/nios2/nios2.h (BITS_PER_UNIT): Don't define it.
714 2014-01-01 Jakub Jelinek <jakub@redhat.com>
716 * config/i386/sse.md (*mov<mode>_internal): Guard
717 EXT_REX_SSE_REGNO_P (REGNO ()) uses with REG_P.
719 PR rtl-optimization/59647
720 * cse.c (cse_process_notes_1): Don't substitute negative VOIDmode
721 new_rtx into UNSIGNED_FLOAT rtxes.
723 Copyright (C) 2014 Free Software Foundation, Inc.
725 Copying and distribution of this file, with or without modification,
726 are permitted in any medium without royalty provided the copyright
727 notice and this notice are preserved.