1 2014-11-17 Michael Meissner <meissner@linux.vnet.ibm.com>
2 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4 * config/rs6000/rs6000.c (RELOAD_REG_AND_M16): Add support for
5 Altivec style vector loads that ignore the bottom 3 bits of the
7 (rs6000_debug_addr_mask): New function to print the addr_mask
9 (rs6000_debug_print_mode): Call rs6000_debug_addr_mask to print
11 (rs6000_setup_reg_addr_masks): Add support for Altivec style
12 vector loads that ignore the bottom 3 bits of the address. Allow
13 pre-increment and pre-decrement on floating point, even if the
14 -mupper-regs-{sf,df} options were used.
15 (rs6000_init_hard_regno_mode_ok): Rework DFmode support if
16 -mupper-regs-df. Add support for -mupper-regs-sf. Rearrange code
17 placement for direct move support.
18 (rs6000_option_override_internal): Add checks for -mupper-regs-df
19 requiring -mvsx, and -mupper-regs-sf requiring -mpower8-vector.
20 If -mupper-regs, set both -mupper-regs-sf and -mupper-regs-df,
21 depending on the underlying cpu.
22 (rs6000_secondary_reload_fail): Add ATTRIBUTE_NORETURN.
23 (rs6000_secondary_reload_toc_costs): Helper function to identify
24 costs of a TOC load for secondary reload support.
25 (rs6000_secondary_reload_memory): Helper function for secondary
26 reload, to determine if a particular memory operation is directly
27 handled by the hardware, or if it needs support from secondary
28 reload to create a valid address.
29 (rs6000_secondary_reload): Rework code, to be clearer. If the
30 appropriate -mupper-regs-{sf,df} is used, use FPR registers to
31 reload scalar values, since the FPR registers have D-form
32 addressing. Move most of the code handling memory to the function
33 rs6000_secondary_reload_memory, and use the reg_addr structure to
34 determine what type of address modes are supported. Print more
35 debug information if -mdebug=addr.
36 (rs6000_secondary_reload_inner): Rework entire function to be more
37 general. Use the reg_addr bits to determine what type of
38 addressing is supported.
39 (rs6000_preferred_reload_class): Rework. Move constant handling
40 into a single place. Prefer using FLOAT_REGS for scalar floating
42 (rs6000_secondary_reload_class): Use a FPR register to move a
43 value from an Altivec register to a GPR, and vice versa. Move VSX
44 handling above traditional floating point.
46 * config/rs6000/rs6000.md (mov<mode>_hardfloat, FMOVE32 case):
47 Delete some spaces in the constraints.
48 (DF->DF move peephole2): Disable if -mupper-regs-{sf,df} to
49 allow using FPR registers to load/store an Altivec register for
50 scalar floating point types.
51 (SF->SF move peephole2): Likewise.
52 (DFmode splitter): Add a define_split to move floating point
53 constants to the constant pool before register allocation.
54 Normally constants are put into the pool immediately, but
55 -ffast-math delays putting them into the constant pool for the
56 reciprocal approximation support.
57 (SFmode splitter): Likewise.
59 * config/rs6000/rs6000.opt (-mupper-regs-df): Make option public.
60 (-mupper-regs-sf): Likewise.
62 * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define
63 __UPPER_REGS_DF__ if -mupper-regs-df. Define __UPPER_REGS_SF__ if
65 (-mupper-regs): New combination option that sets -mupper-regs-sf
66 and -mupper-regs-df by default if the cpu supports the instructions.
68 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
69 -mupper-regs, -mupper-regs-sf, and -mupper-regs-df.
71 * config/rs6000/predicates.md (memory_fp_constant): New predicate
72 to return true if the operand is a floating point constant that
73 must be put into the constant pool, before register allocation
76 * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Enable
77 -mupper-regs-df by default.
78 (ISA_2_7_MASKS_SERVER): Enable -mupper-regs-sf by default.
79 (POWERPC_MASKS): Add -mupper-regs-{sf,df} as options set by the
80 various -mcpu=... options.
81 (power7 cpu): Enable -mupper-regs-df by default.
83 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
86 2014-11-17 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
88 * ira-conflicts.c (build_conflict_bit_table): Add the current
89 object to OBJECTS_LIVE after traversing OBJECTS_LIVE.
91 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
93 * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
94 (ipa_get_indirect_edge_target): Add SPECULATIVE argument.
95 (devirtualization_time_bonus): Use it.
96 (ipcp_discover_new_direct_edges): Likewise.
97 * ipa-inline-analysis.c (estimate_edge_devirt_benefit): Update.
98 * ipa-prop.h (ipa_get_indirect_edge_target): Update prototype.
100 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
102 * tree.c (free_lang_data_in_decl): Set DECL_FUNCTION_SPECIFIC_OPTIMIZATION
103 to optimization_default_node.
105 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
107 * cgraphunit.c (analyze_functions): Use opt_for_fn.
108 * cgraph.h (cgraph_node::optimize_for_size_p): Likewise.
110 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
112 * cgraph.c (symbol_table::create_edge): Use opt_for_fn.
113 (cgraph_node::cannot_return_p): Likewise.
114 (cgraph_edge::cannot_lead_to_return_p): Likewise.
115 (cgraph_edge::maybe_hot_p): Likewise.
117 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
119 * predict.c (maybe_hot_frequency_p): Use opt_for_fn.
120 (optimize_function_for_size_p): Likewise.
121 (probably_never_executed): Likewise; replace cfun by fun.
123 2014-11-17 Alan Lawrence <alan.lawrence@arm.com>
125 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_set<mode>): Add
126 variant reading from memory and assembling to ld1.
128 * config/aarch64/arm_neon.h (vld1_lane_f32, vld1_lane_f64, vld1_lane_p8,
129 vld1_lane_p16, vld1_lane_s8, vld1_lane_s16, vld1_lane_s32,
130 vld1_lane_s64, vld1_lane_u8, vld1_lane_u16, vld1_lane_u32,
131 vld1_lane_u64, vld1q_lane_f32, vld1q_lane_f64, vld1q_lane_p8,
132 vld1q_lane_p16, vld1q_lane_s8, vld1q_lane_s16, vld1q_lane_s32,
133 vld1q_lane_s64, vld1q_lane_u8, vld1q_lane_u16, vld1q_lane_u32,
134 vld1q_lane_u64): Replace asm with vset_lane and pointer dereference.
136 2014-11-17 Jason Merrill <jason@redhat.com>
138 * tree-inline.c (copy_fn): New.
139 * tree-inline.h: Declare it.
141 2014-11-17 Alan Lawrence <alan.lawrence@arm.com>
143 * config/aarch64/aarch64-builtins.c (TYPES_CREATE): Remove.
144 * config/aarch64/aarch64-simd-builtins.def (create): Remove.
145 * config/aarch64/aarch64-simd.md (aarch64_create<mode>): Remove.
146 * config/aarch64/arm_neon.h (vcreate_f64, vreinterpret_f64_s64,
147 vreinterpret_f64_u64): Replace __builtin_aarch64_createv1df with C casts.
148 * config/aarch64/iterators.md (VD1): Remove.
150 2014-11-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
152 * config/aarch64/aarch64-cores.def (cortex-a53): Remove
153 AARCH64_FL_CRYPTO from feature flags.
154 (cortex-a57): Likewise.
155 (cortex-a57.cortex-a53): Likewise.
157 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
159 * tree.c (free_lang_data_in_decl): Annotate all functio nbodies with
160 DECL_FUNCTION_SPECIFIC_TARGET.
161 * i386.c (ix86_set_current_function): Handle explicit default options.
163 2014-11-17 Ilya Enkovich <ilya.enkovich@intel.com>
165 * builtins.c (expand_builtin_memcpy_with_bounds): Use target hook
167 (expand_builtin_mempcpy_with_bounds): Likewise.
168 (expand_builtin_memset_with_bounds): Likewise.
170 2014-11-17 Ilya Enkovich <ilya.enkovich@intel.com>
172 * tree-ssa-strlen.c: include ipa-chkp.h, cgraph.h,
173 ipa-ref.h, plugin-api.h.
174 (get_string_length): Handle calls with bounds.
175 (adjust_last_stmt): Likewise.
176 (handle_builtin_strchr): Likewise.
177 (handle_builtin_strcpy): Likewise.
178 (handle_builtin_memcpy): Likewise.
179 (handle_builtin_strcat): Likewise.
181 2014-11-17 Ilya Enkovich <ilya.enkovich@intel.com>
183 * tree-chkp-opt.c (chkp_get_nobnd_fndecl): New.
184 (chkp_get_nochk_fndecl): New.
185 (chkp_optimize_string_function_calls): New.
186 (chkp_opt_execute): Call chkp_optimize_string_function_calls.
187 * tree-cfg.h (insert_cond_bb): New.
188 * tree-cfg.c (insert_cond_bb): New.
190 2014-11-17 Ilya Enkovich <ilya.enkovich@intel.com>
192 * tree-core.h (built_in_class): Add builtin codes to be used
193 by Pointer Bounds Checker for instrumented builtin functions.
194 * tree-streamer-in.c: Include ipa-chkp.h.
195 (streamer_get_builtin_tree): Created instrumented decl if
197 * ipa-chkp.h (chkp_maybe_clone_builtin_fndecl): New.
198 * ipa-chkp.c (chkp_build_instrumented_fndecl): Support builtin
200 (chkp_maybe_clone_builtin_fndecl): New.
201 (chkp_maybe_create_clone): Support builtin function decls.
202 (chkp_versioning): Clone builtin functions.
203 * tree-chkp.c (chkp_instrument_normal_builtin): New.
204 (chkp_add_bounds_to_call_stmt): Support builtin functions.
205 (chkp_replace_function_pointer): Likewise.
206 * builtins.c (expand_builtin_memcpy_args): New.
207 (expand_builtin_memcpy): Call expand_builtin_memcpy_args.
208 (expand_builtin_memcpy_with_bounds): New.
209 (expand_builtin_mempcpy_with_bounds): New.
210 (expand_builtin_mempcpy_args): Add orig_exp arg. Support
211 BUILT_IN_CHKP_MEMCPY_NOBND_NOCHK
212 (expand_builtin_memset_with_bounds): New.
213 (expand_builtin_memset_args): Support BUILT_IN_CHKP_MEMSET_NOBND_NOCHK.
214 (expand_builtin_with_bounds): New.
215 * builtins.h (expand_builtin_with_bounds): New.
216 * expr.c (expand_expr_real_1): Support instrumented builtin calls.
218 2014-11-17 Dodji Seketeli <dodji@redhat.com>
220 * gimple.h (gimple_set_visited, gimple_visited_p)
221 (gimple_set_plf, gimple_plf, gimple_set_uid, gimple_uid): Add more
222 comments to these accessors.
224 2014-11-17 Georg-Johann Lay <avr@gjlay.de>
226 * config/avr/avr-log.c (avr_log_set_avr_log) [TARGET_ALL_DEBUG]:
227 Set avr_log_details to "all".
229 2014-11-17 Richard Biener <rguenther@suse.de>
232 * match.pd: Guard X / CST -> X * CST' transform against
235 2014-11-17 Terry Guo <terry.guo@arm.com>
237 * config/arm/thumb1.md (*addsi3_cbranch_scratch): Updated to UAL
240 2014-11-17 Zhenqiang Chen <zhenqiang.chen@arm.com>
242 * ifcvt.c (HAVE_cbranchcc4): Define.
243 (noce_emit_cmove, noce_get_alt_condition, noce_get_condition):
246 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
248 * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
249 aarch64_convert_mode, aarch64_gen_ccmp_first,
250 aarch64_gen_ccmp_next): New functions.
251 (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Define.
253 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
255 * config/aarch64/aarch64-protos.h (aarch64_ccmp_mode_to_code): New.
256 * aarch64.c (aarch64_nzcv_codes): New data.
257 (aarch64_ccmp_mode_to_code): New.
258 (aarch64_print_operand): Output nzcv.
259 config/aarch64/aarch64.md (cbranchcc4, *ccmp_and, *ccmp_ior, cstorecc4):
261 (cstore<mode>4): Handle ccmp_cc_register.
262 * config/aarch64/predicates.md (const0_operand): New.
264 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
266 * config/aarch64/aarch64-modes.def: Define ccmp CC mode.
267 * config/aarch64/aarch64.c (aarch64_get_condition_code_1): New function
268 extacted from aarch64_get_condition_code.
269 (aarch64_get_condition_code): Call aarch64_get_condition_code_1.
270 config/aarch64/predicates.md (ccmp_cc_register): New predicate.
272 014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
274 * config/aarch64/constraints.md (Usn, aarch64_ccmp_immediate,
275 aarch64_ccmp_operand): New constraints.
277 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
279 * Makefile.in: Add ccmp.o.
282 * expr.c: include "ccmp.h"
283 (expand_cond_expr_using_cmove): Handle VOIDmode.
284 (expand_expr_real_1): Try to expand ccmp.
286 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
288 * cfgexpand.c (expand_gimple_cond): Check ccmp.
289 * expmed.c (emit_cstore): Make it global.
290 * expmed.h: #include "insn-codes.h"
291 (emit_cstore): New prototype.
292 * expr.c (expand_operands): Make it global.
293 * expr.h (expand_operands): New prototype.
294 * optabs.c (get_rtx_code): Make it global.
295 * optabs.h (get_rtx_code): New prototype.
297 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
299 * target.def (gen_ccmp_first, gen_ccmp_first): Add two new hooks.
300 * doc/tm.texi.in (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New.
301 * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New.
303 2014-11-16 Patrick Palka <ppalka@gcc.gnu.org>
306 * tree-ssa-forwprop.c (forward_propagate_into_comparison_1):
307 Always combine comparisons or conversions from booleans.
309 2014-11-16 Jan Hubicka <hubicka@ucw.cz>
311 * ipa-polymorphic-call.c
312 (ipa_polymorphic_call_context::speculation_consistent_p): Constify.
313 (ipa_polymorphic_call_context::meet_speculation_with): New function.
314 (ipa_polymorphic_call_context::combine_with): Handle types in construction
316 (ipa_polymorphic_call_context::equal_to): Do not bother about useless
318 (ipa_polymorphic_call_context::meet_with): New function.
319 * cgraph.h (class ipa_polymorphic_call_context): Add
320 meet_width, meet_speculation_with; constify speculation_consistent_p.
321 * ipa-cp.c (ipa_context_from_jfunc): Handle speculation; combine with incomming
323 (propagate_context_accross_jump_function): Likewise; be more cureful.
324 about set_contains_variable.
325 (ipa_get_indirect_edge_target_1): Fix handling of dynamic type changes.
326 (find_more_scalar_values_for_callers_subset): Fix.
327 (find_more_contexts_for_caller_subset): Perform meet operation.
329 2014-11-16 Jan Hubicka <hubicka@ucw.cz>
331 * passes.c (execute_one_pass): Do not apply all transforms prior
332 every simple IPA pass.
333 * cgraphunit.c: Do not include fibheap.h
334 (expand_thunk): Use get_untransformed_body.
335 (cgraph_node::expand): Likewise.
336 * tree-ssa-structalias.c (ipa_pta_execute): Skip inline clones.
337 * cgraph.c (release_function_body): Do not push cfun when CFG is not there.
338 (cgraph_node::get_untransformed_body): Break out from ...
339 (cgraph_node::get_body): ... here; add code to apply all transforms.
340 * cgraph.h (cgraph_node): Add get_untransformed_body.
341 * ipa-icf.c (sem_function::init): Use get_untransformed_body.
342 * cgraphclones.c (duplicate_thunk_for_node): Likewise.
343 * tree-inline.c (expand_call_inline): LIkewise.
344 * i386.c (ix86_reset_to_default_globals): Break out from ...
345 (ix86_set_current_function): ... here;
346 (ix86_reset_previous_fndecl): Use it.
347 (ix86_simd_clone_adjust): Use ix86_reset_previous_fndecl.
349 2014-11-16 Eric Botcazou <ebotcazou@adacore.com>
351 * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Move around.
352 * doc/tm.texi: Regenerate.
354 2014-11-16 Uros Bizjak <ubizjak@gmail.com>
356 * config/sh/sh.c: Do not include algorithm.
357 (sh_emit_scc_to_t): Replace open-coded swap with std::swap
359 (sh_emit_compare_and_branch): Ditto.
360 (sh_emit_compare_and_set): Ditto.
361 * config/sh/sh.md (replacement peephole2): Ditto.
362 (cstore4_media): Ditto.
365 2014-11-15 Vladimir Makarov <vmakarov@redhat.com>
367 * lra-remat.c (cand_transf_func): Process regno for
368 rematerialization too.
369 * lra.c (lra): Switch on rematerialization pass.
371 2014-11-15 Vladimir Makarov <vmakarov@redhat.com>
373 * lra.c (lra): Switch off rematerialization pass.
375 2014-11-15 Marc Glisse <marc.glisse@inria.fr>
377 * config/i386/xmmintrin.h (_mm_add_ps, _mm_sub_ps, _mm_mul_ps,
378 _mm_div_ps, _mm_store_ss, _mm_cvtss_f32): Use vector extensions
380 * config/i386/emmintrin.h (__v2du, __v4su, __v8hu, __v16qu): New
382 (_mm_sqrt_sd): Fix comment.
383 (_mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
384 _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
385 _mm_mullo_epi16, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
386 _mm_cmplt_epi8, _mm_cmplt_epi16, _mm_cmplt_epi32, _mm_cmpgt_epi8,
387 _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_and_si128, _mm_or_si128,
388 _mm_xor_si128, _mm_store_sd, _mm_cvtsd_f64, _mm_storeh_pd,
389 _mm_cvtsi128_si64, _mm_cvtsi128_si64x, _mm_add_pd, _mm_sub_pd,
390 _mm_mul_pd, _mm_div_pd, _mm_storel_epi64, _mm_movepi64_pi64):
391 Use vector extensions instead of builtins.
392 * config/i386/smmintrin.h (_mm_cmpeq_epi64, _mm_cmpgt_epi64,
393 _mm_mullo_epi32): Likewise.
394 * config/i386/avxintrin.h (__v4du, __v8su, __v16hu, __v32qu):
396 (_mm256_add_pd, _mm256_add_ps, _mm256_div_pd, _mm256_div_ps,
397 _mm256_mul_pd, _mm256_mul_ps, _mm256_sub_pd, _mm256_sub_ps):
398 Use vector extensions instead of builtins.
399 * config/i386/avx2intrin.h (_mm256_cmpeq_epi8, _mm256_cmpeq_epi16,
400 _mm256_cmpeq_epi32, _mm256_cmpeq_epi64, _mm256_cmpgt_epi8,
401 _mm256_cmpgt_epi16, _mm256_cmpgt_epi32, _mm256_cmpgt_epi64,
402 _mm256_and_si256, _mm256_or_si256, _mm256_xor_si256, _mm256_add_epi8,
403 _mm256_add_epi16, _mm256_add_epi32, _mm256_add_epi64,
404 _mm256_mullo_epi16, _mm256_mullo_epi32, _mm256_sub_epi8,
405 _mm256_sub_epi16, _mm256_sub_epi32, _mm256_sub_epi64): Likewise.
406 * config/i386/avx512fintrin.h (__v8du, __v16su, __v32hu, __v64qu):
408 (_mm512_or_si512, _mm512_or_epi32, _mm512_or_epi64, _mm512_xor_si512,
409 _mm512_xor_epi32, _mm512_xor_epi64, _mm512_and_si512,
410 _mm512_and_epi32, _mm512_and_epi64, _mm512_mullo_epi32,
411 _mm512_add_epi64, _mm512_sub_epi64, _mm512_add_epi32,
412 _mm512_sub_epi32, _mm512_add_pd, _mm512_add_ps, _mm512_sub_pd,
413 _mm512_sub_ps, _mm512_mul_pd, _mm512_mul_ps, _mm512_div_pd,
414 _mm512_div_ps): Use vector extensions instead of builtins.
415 * config/i386/avx512bwintrin.h (_mm512_mullo_epi16, _mm512_add_epi8,
416 _mm512_sub_epi8, _mm512_sub_epi16, _mm512_add_epi16): Likewise.
417 * config/i386/avx512dqintrin.h (_mm512_mullo_epi64): Likewise.
418 * config/i386/avx512vldqintrin.h (_mm256_mullo_epi64, _mm_mullo_epi64):
421 2014-11-15 Jan Hubicka <hubicka@ucw.cz>
423 * lto-streamer-out.c (hash_tree): Use cl_optimization_hash.
424 * lto-streamer.h (cl_optimization_stream_out, cl_optimization_stream_in): Declare.
425 * optc-save-gen.awk: Generate cl_optimization LTO streaming and hashing routines.
426 * opth-gen.awk: Add prototype of cl_optimization_hash.
427 * tree-streamer-in.c (unpack_ts_optimization): Remove.
428 (streamer_unpack_tree_bitfields): Use cl_optimization_stream_in.
429 * tree-streamer-out.c (pack_ts_optimization): Remove.
430 (streamer_pack_tree_bitfields): Use cl_optimization_stream_out.
432 2014-11-15 Mircea Namolaru <mircea.namolaru@inria.fr>
434 * common.opt (flag_loop_unroll_and_jam): New flag.
435 * params.def (PARAM_LOOP_UNROLL_JAM_SIZE): Parameter for unroll and
437 (PARAM_LOOP_UNROLL_JAM_DEPTH): Likewise.
438 * graphite-poly.h (struct poly_bb:map_sepclass): New field
439 * graphite-poly.c (new_poly_bb): Initialization for new field.
440 (apply_poly_transforms): Support for unroll and jam flag.
441 * graphite-isl-ast-to-gimple.c (generate_luj_sepclass): Compute the
443 (generate_luj_sepclass_opt): Build the separation class option.
444 (generate_luj_options): Set unroll and jam options.
445 (set_options): Support for unroll and jam options.
446 (scop_to_isl_ast): Likewise
447 * graphite-optimize-isl.c (getPrevectorMap_full): New function for
448 computing the separating class map.
449 (optimize_isl): Support for the separating class map.
450 (apply_schedule_map_to_scop): Likewise.
451 (getScheduleMap): Likewise.
452 (getScheduleForBand): Likewise.
453 (getScheduleForBandList): Likewise.
454 * graphite.c (gate_graphite_transforms): Add unroll and jam flag.
455 * toplev.c (process_options) Likewise.
457 2014-11-15 Eric Botcazou <ebotcazou@adacore.com>
459 * tree-cfg.c (replace_loop_annotate_in_block): New function extracted
461 (replace_loop_annotate): ...here. Call it on the header and on the
462 latch block, if any. Restore proper behavior of final cleanup.
464 2014-11-15 Eric Botcazou <ebotcazou@adacore.com>
466 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Add log message
467 for max-completely-peeled-insns limit.
469 2014-11-14 Jan Hubicka <hubicka@ucw.cz>
471 * ipa-prop.h (ipa_known_type_data): Remove.
472 (ipa_binfo_from_known_type_jfunc): Remove.
474 2014-11-14 Andrew Pinski <apinski@cavium.com>
476 * config/aarch64/aarch64-cores.def (thunderx): Change the scheduler
478 * config/aarch64/aarch64.md: Include thunderx.md.
479 (generic_sched): Set to no for thunderx.
480 * config/aarch64/thunderx.md: New file.
482 2014-11-14 Michael Meissner <meissner@linux.vnet.ibm.com>
484 * config/rs6000/predicates.md (easy_fp_constant): Delete redunant
487 * config/rs6000/vector.md (VEC_R): Move secondary reload support
488 insns to rs6000.md from vector.md.
489 (reload_<VEC_R:mode>_<P:mptrsize>_store): Likewise.
490 (reload_<VEC_R:mode>_<P:mptrsize>_load): Likewise.
491 (vec_reload_and_plus_<mptrsize>): Likewise.
493 * config/rs6000/rs6000.md (Fa): New mode attribute to give
494 constraint for the Altivec registers for a type.
495 (RELOAD): New mode iterator for all of the types that have
496 secondary reload address support to load up a base register.
497 (extendsfdf2_fpr): Use correct constraint.
498 (copysign<mode>3_fcpsgn): For SFmode, use correct xscpsgndp
500 (floatsi<mode>2_lfiwax): Add support for -mupper-regs-{sf,df}.
501 Generate the non-VSX instruction if all registers were FPRs. Do
502 not use the patterns in vsx.md for scalar operations.
503 (floatsi<mode>2_lfiwax_mem): Likewise.
504 (floatunssi<mode>2_lfiwzx): Likewise.
505 (floatunssi<mode>2_lfiwzx_mem): Likewise.
506 (fix_trunc<mode>di2_fctidz): Likewise.
507 (fixuns_trunc<mode>di2_fctiduz): Likewise.
508 (fctiwz_<mode>): Likewise.
509 (fctiwuz_<mode>): Likewise.
511 (floatdidf2_fpr): Likewise.
512 (floatdidf2_mem): Likewise.
513 (floatunsdidf2): Likewise.
514 (floatunsdidf2_fcfidu): Likewise.
515 (floatunsdidf2_mem): Likewise.
516 (floatdisf2_fcfids): Likewise.
517 (floatdisf2_mem): Likewise.
518 (floatdisf2_internal1): Add explicit test for not FCFIDS to make
519 it more obvious that the code is for pre-ISA 2.06 machines.
520 (floatdisf2_internal2): Likewise.
521 (floatunsdisf2_fcfidus): Add support for -mupper-regs-{sf,df}.
522 Generate the non-VSX instruction if all registers were FPRs. Do
523 not use the patterns in vsx.md for scalar operations.
524 (floatunsdisf2_mem): Likewise.
525 (reload_<RELOAD:mode>_<P:mptrsize>_store): Move the reload
526 handlers here from vector.md, and expand the types we generate
528 (reload_<RELOAD:mode>_<P:mptrsize>_load): Likewise.
529 (vec_reload_and_plus_<mptrsize>): Likewise.
531 * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Only provide the
532 vector forms of the instructions. Move VSX scalar forms to
533 rs6000.md, and add support for -mupper-regs-sf.
534 (vsx_floatuns<VSi><mode>2): Likewise.
535 (vsx_fix_trunc<mode><VSi>2): Likewise.
536 (vsx_fixuns_trunc<mode><VSi>2): Likewise.
537 (vsx_float_fix_<mode>2): Delete DF version, rename to
539 (vsx_float_fix_v2df2): Likewise.
541 2014-11-14 Martin Jambor <mjambor@suse.cz>
543 * ipa-prop.h (jump_func_type): Removed value IPA_JF_KNOWN_TYPE.
544 (ipa_pass_through_data): Removed field type_preserved.
545 (ipa_ancestor_jf_data): removed fields type and type_preserved.
546 (ipa_jump_func): Removed field known_type.
547 (ipa_get_jf_known_type_offset): Removed.
548 (ipa_get_jf_known_type_base_type): Likewise.
549 (ipa_get_jf_known_type_component_type): Likewise.
550 (ipa_get_jf_ancestor_type): Likewise.
551 * ipa-cp.c (print_ipcp_constant_value): Removed BINFO handling.
552 (ipa_get_jf_pass_through_result): Likewise.
553 (ipa_get_jf_ancestor_result): Always build ptr_node_type accesses.
554 (values_equal_for_ipcp_p): Removed BINFO handling.
555 (ipa_get_indirect_edge_target_1): Updated comment.
556 * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Removed handling
557 of IPA_JF_KNOWN_TYPE jump functions. Do not print removed fields.
558 (ipa_set_jf_known_type): Removed.
559 (ipa_set_jf_simple_pass_through): Do not set removed fields. Update
561 (ipa_set_jf_arith_pass_through): Likewise.
562 (ipa_set_ancestor_jf): Likewise.
563 (ipa_binfo_from_known_type_jfunc): Removed.
564 (prop_type_change_info): Removed fields known_current_type and
565 multiple_types_encountered.
566 (extr_type_from_vtbl_ptr_store): Removed.
567 (check_stmt_for_type_change): Do not attempt to identify changed type.
568 (detect_type_change_from_memory_writes): Do not set the removed fields,
569 always set jfunc to unknown.
570 (compute_complex_assign_jump_func): Do not detect dynamic type change.
571 (compute_complex_ancestor_jump_func): Likewise.
572 (compute_known_type_jump_func): Removed.
573 (ipa_compute_jump_functions_for_edge): Do not detect dynamic type
574 change. Do not comute known type jump functions.
575 (combine_known_type_and_ancestor_jfs): Removed.
576 (update_jump_functions_after_inlining): Removed handling of
577 IPA_JF_KNOWN_TYPE jump functions. Do not set removed fields.
578 (ipa_write_jump_function): Do not stream removed fields or known type
580 (ipa_read_jump_function): Likewise.
582 2014-11-14 Vladimir Makarov <vmakarov@redhat.com>
584 * lra-int.h (lra_create_live_ranges): Add parameter.
585 * lra-lives.c (temp_bitmap): Move higher.
586 (initiate_live_solver): Move temp_bitmap initialization into
587 lra_live_ranges_init.
588 (finish_live_solver): Move temp_bitmap clearing into
590 (process_bb_lives): Add parameter. Use it to control live info
591 update and dead insn elimination. Pass it to mark_regno_live and
593 (lra_create_live_ranges): Add parameter. Pass it to
595 (lra_live_ranges_init, lra_live_ranges_finish): See changes in
596 initiate_live_solver and finish_live_solver.
597 * lra-remat.c (do_remat): Process insn non-operand hard regs too.
598 Use temp_bitmap to update avail_cands.
599 * lra.c (lra): Pass new parameter to lra_create_live_ranges. Move
600 check with lra_need_for_spill_p after live range pass. Switch on
601 rematerialization pass.
603 2014-11-14 Martin Jambor <mjambor@suse.cz>
605 * ipa-prop.h (ipa_get_jf_pass_through_type_preserved): use
606 agg_preserved flag instead.
607 (ipa_get_jf_ancestor_type_preserved): Likewise.
608 (ipa_node_params): Rename known_vals to known_csts, update all users.
609 New field known_contexts.
610 (ipa_get_indirect_edge_target): Update prototype.
611 (ipcp_poly_ctx_values_pool): Declare.
612 (ipa_context_from_jfunc): Likewise.
613 * ipa-inline.h (estimate_ipcp_clone_size_and_time): Updated prototype.
614 * cgraph.h (ipa_polymorphic_call_context): New method equal_to. New
615 parameter newline of method dump.
616 * ipa-cp.c (ctxlat): New field.
617 (ipcp_values_pool): Renamed to ipcp_cst_values_pool, updated all users.
618 (ipcp_poly_ctx_values_pool):New variable.
619 (ipa_get_poly_ctx_lat): New function.
620 (print_ipcp_constant_value): New overloaded function for contexts.
621 (print_all_lattices): Also print contexts.
622 (ipa_topo_info): New field contexts;
623 (set_all_contains_variable): Also set the flag in the context lattice.
624 (initialize_node_lattices): Likewise for flag bottom.
625 (ipa_get_jf_ancestor_result): Removed BINFO handling.
626 (ipa_value_from_jfunc): Likewise.
627 (ipa_context_from_jfunc): New function.
628 (values_equal_for_ipcp_p): New overloaded function for contexts.
629 (allocate_and_init_ipcp_value): Construct the value.
630 (allocate_and_init_ipcp_value): New overloaded function for contexts.
631 (propagate_scalar_accross_jump_function): Removed handling of
632 KNOWN_TYPE jump functions.
633 (propagate_context_accross_jump_function): New function.
634 (propagate_constants_accross_call): Also propagate contexts.
635 (ipa_get_indirect_edge_target_1): Work on contexts rather than BINFOs.
636 (ipa_get_indirect_edge_target): Likewise.
637 (devirtualization_time_bonus): Likewise.
638 (gather_context_independent_values): Create and populate known_contexts
639 vector rather than known_binfos.
640 (perform_estimation_of_a_value): Work on contexts rather than BINFOs.
641 (estimate_local_effects): Likewise.
642 (add_all_node_vals_to_toposort): Also add contexts to teir topological
644 (ipcp_propagate_stage): Also propagate effects of contexts.
645 (ipcp_discover_new_direct_edges): Receive and pass known_contexts to
646 ipa_get_indirect_edge_target_1.
647 (cgraph_edge_brings_value_p): New overloaded function for contexts.
648 (create_specialized_node): Work on contexts rather than BINFOs.
649 (find_more_contexts_for_caller_subset): New function.
650 (known_contexts_useful_p): New function.
651 (copy_useful_known_contexts): Likewise.
652 (modify_known_vectors_with_val): Likewise.
653 (ipcp_val_in_agg_replacements_p): Renamed to
654 ipcp_val_agg_replacement_ok_p, return true for all offset indicating
656 (ipcp_val_agg_replacement_ok_p): New overloaded function for contexts.
657 (decide_about_value): Work on contexts rather than BINFOs.
658 (decide_whether_version_node): Likewise.
659 (ipcp_driver): Initialize the new alloc pool.
660 * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Prettify
661 printing of edge contexts.
662 (ipa_set_ancestor_jf): Replace assert with conditional setting of
663 type_preserved to false.
664 (update_jump_functions_after_inlining): Use access function instead of
665 reading agg_preserved directly. Store combined context in the ancestor
667 (try_make_edge_direct_virtual_call): Work on contexts rather than
669 (update_indirect_edges_after_inlining): Get context from
670 ipa_context_from_jfunc.
671 (ipa_free_node_params_substructures): Free also known_contexts.
672 (ipa_free_all_structures_after_ipa_cp): Free the new alloc pool.
673 (ipa_free_all_structures_after_iinln): Likewise.
674 * ipa-inline-analysis.c (evaluate_properties_for_edge): Work on
675 contexts rather than BINFOs.
676 (estimate_edge_devirt_benefit): Likewise.
677 (estimate_edge_size_and_time): Likewise.
678 (estimate_calls_size_and_time): Likewise.
679 (estimate_node_size_and_time): Likewise.
680 (estimate_ipcp_clone_size_and_time): Likewise.
681 (do_estimate_edge_time): Likewise.
682 (do_estimate_edge_size): Likewise.
683 (do_estimate_edge_hints): Likewise.
684 * ipa-polymorphic-call.c (ipa_polymorphic_call_context::dump): New
685 parameter newline, ouput newline only when it is set.
686 (ipa_polymorphic_call_context::equal_to): New method.
688 2014-11-14 Martin Jambor <mjambor@suse.cz>
690 * ipa-cp.c (ipcp_value_source): Converted to a template class. All
691 users converted to the same specialization as the using class/function
692 or specialization on tree.
693 (ipcp_value): Likewise.
694 (ipcp_lattice): Likewise.
695 (ipcp_agg_lattice): Now derived from tree specialization of
697 (values_topo): Moved to new class value_topo_info.
698 (ipa_lat_is_single_const): Turned into ipcp_lattice::is_single_const.
700 (print_lattice): Turned into ipcp_lattice::print. Updated all
702 (value_topo_info): New class template.
703 (ipa_topo_info): New field constants. New constructor.
704 (build_toporder_info): Do not clear stack_top, only checkign assert
706 (set_lattice_to_bottom): Turned into ipcp_lattice::set_to_bottom.
708 (set_lattice_contains_variable): Turned into
709 ipcp_lattice::set_contains_variable. Updated all callers.
710 (add_value_source): Turned into ipcp_value::add_source. Updated all
712 (allocate_and_init_ipcp_value): New function.
713 (add_value_to_lattice): Turned into ipcp_lattice::add_value. Last
714 parameter got default a value. Updated all callers.
715 (add_scalar_value_to_lattice): Removed, users converted to using
716 ipcp_lattice::add_value with default value of the last parameter.
717 (add_val_to_toposort): Turned to value_topo_info::add_val. Updated
719 (propagate_effects): Made method of value_topo_info.
720 (cgraph_edge_brings_value_p): Now a template function.
721 (get_info_about_necessary_edges): Likewise.
722 (gather_edges_for_value): Likewise.
723 (perhaps_add_new_callers): Likewise.
724 (decide_about_value): Likewise.
725 * ipa-prop.h (ipcp_lattice): Remove fowrward declaration.
727 2014-11-14 Jakub Jelinek <jakub@redhat.com>
729 * doc/install.texi (--with-diagnostics-color=): Document.
731 * tree-ssa.dce.c (eliminate_unnecessary_stmts): Eliminate
732 IFN_GOMP_SIMD_LANE without lhs as useless.
734 * ipa-pure-const.c (struct funct_state_d): Add can_free field.
735 (varying_state): Add true for can_free.
736 (check_call): For builtin or internal !nonfreeing_call_p set
738 (check_stmt): For asm volatile and asm with "memory" set
740 (analyze_function): Clear local->can_free initially, continue
741 calling check_stmt until all flags are computed, dump can_free
743 (pure_const_write_summary): Write can_free flag.
744 (pure_const_read_summary): Read it back.
745 (propagate_pure_const): Propagate also can_free flag, set
746 w->nonfreeing_fn if it is false after propagation.
747 * cgraph.h (cgraph_node): Add nonfreeing_fn member.
748 * gimple.c: Include ipa-ref.h, lto-streamer.h and cgraph.h.
749 (nonfreeing_call_p): Return cgraph nonfreeing_fn flag if set.
750 Also return true for IFN_ABNORMAL_DISPATCHER.
751 * cgraph.c (cgraph_node::dump): Dump nonfreeing_fn flag.
752 * lto-cgraph.c (lto_output_node): Write nonfreeing_fn flag.
753 (input_overwrite_node): Read it back.
755 2014-11-14 Jakub Jelinek <jakub@redhat.com>
756 Marek Polacek <polacek@redhat.com>
758 * sanopt.c: Include tree-ssa-operands.h.
759 (struct sanopt_info): Add has_freeing_call_p,
760 has_freeing_call_computed_p, imm_dom_path_with_freeing_call_p,
761 imm_dom_path_with_freeing_call_computed_p, freeing_call_events,
762 being_visited_p fields.
763 (struct sanopt_ctx): Add asan_check_map field.
764 (imm_dom_path_with_freeing_call, maybe_optimize_ubsan_null_ifn,
765 maybe_optimize_asan_check_ifn): New functions.
766 (sanopt_optimize_walker): Use them, optimize even ASAN_CHECK
768 (pass_sanopt::execute): Call sanopt_optimize even for
770 * gimple.c (nonfreeing_call_p): Return true for non-ECF_LEAF
773 2014-11-14 Alan Lawrence <alan.lawrence@arm.com>
775 * tree-vect-loop.c (vect_create_epilog_for_reduction): Move code for
776 'if (extract_scalar_result)' to the only place that it is true.
778 2014-11-14 H.J. Lu <hongjiu.lu@intel.com>
780 * config.gcc (default_gnu_indirect_function): Set to yes
781 for i[34567]86-*-linux* and x86_64-*-linux* if not targeting
784 2014-11-14 Felix Yang <felix.yang@huawei.com>
785 Jiji Jiang <jiangjiji@huawei.com>
787 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): Use
788 VALL mode iterator instead of VALLDI.
791 2014-11-14 Jan Hubicka <hubicka@ucw.cz>
793 * optc-save-gen.awk: Output cl_target_option_eq,
794 cl_target_option_hash, cl_target_option_stream_out,
795 cl_target_option_stream_in functions.
796 * opth-gen.awk: Output prototypes for
797 cl_target_option_eq and cl_target_option_hash.
798 * lto-streamer.h (cl_target_option_stream_out,
799 cl_target_option_stream_in): Declare.
800 * tree.c (cl_option_hash_hash): Use cl_target_option_hash.
801 (cl_option_hash_eq): Use cl_target_option_eq.
802 * tree-streamer-in.c (unpack_value_fields): Stream in
804 * lto-streamer-out.c (DFS::DFS_write_tree_body): Follow
805 DECL_FUNCTION_SPECIFIC_TARGET.
806 (hash_tree): Hash TREE_TARGET_OPTION; visit
807 DECL_FUNCTION_SPECIFIC_TARGET.
808 * tree-streamer-out.c (streamer_pack_tree_bitfields): Skip
810 (streamer_write_tree_body): Output TS_TARGET_OPTION.
812 2014-11-14 Richard Biener <rguenther@suse.de>
814 * gimple-fold.h (gimple_fold_stmt_to_constant_1): Add 2nd
815 valueization hook defaulted to no_follow_ssa_edges.
816 * gimple-fold.c (gimple_fold_stmt_to_constant_1): Pass
817 2nd valueization hook to gimple_simplify.
818 * tree-ssa-ccp.c (valueize_op_1): New function to be
819 used for gimple_simplify called via gimple_fold_stmt_to_constant_1.
821 * tree-vrp.c (vrp_valueize_1): New function to be
822 used for gimple_simplify called via gimple_fold_stmt_to_constant_1.
823 (vrp_visit_assignment_or_call): Adjust.
825 2014-11-14 Marek Polacek <polacek@redhat.com>
827 * fold-const.c (fold_negate_expr): Don't fold INTEGER_CST if
828 that overflows when SANITIZE_SI_OVERFLOW is on. Guard -(-A)
829 folding with TYPE_OVERFLOW_SANITIZED.
831 2014-11-14 Marek Polacek <polacek@redhat.com>
834 * asan.c (ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST,
835 ATTR_COLD_CONST_NORETURN_NOTHROW_LEAF_LIST): Define.
836 * builtin-attrs.def (ATTR_COLD_CONST_NORETURN_NOTHROW_LEAF_LIST):
838 * builtins.c (fold_builtin_0): Don't include ubsan.h. Don't
839 instrument BUILT_IN_UNREACHABLE here.
840 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_BUILTIN_UNREACHABLE): Make
842 * sanopt.c (pass_sanopt::execute): Instrument BUILT_IN_UNREACHABLE.
843 * tree-ssa-ccp.c (optimize_unreachable): Bail out if
844 SANITIZE_UNREACHABLE.
845 * ubsan.c (ubsan_instrument_unreachable): Rewrite for GIMPLE.
846 * ubsan.h (ubsan_instrument_unreachable): Adjust declaration.
848 2014-11-14 Alan Lawrence <alan.lawrence@arm.com>
850 * config/rs6000/vector.md (vec_shl_<mode>): Remove.
851 (vec_shr_<mode>): Reverse shift if BYTES_BIG_ENDIAN.
853 2014-11-14 Alan Lawrence <alan.lawrence@arm.com>
855 * optabs.c (shift_amt_for_vec_perm_mask): Remove code conditional on
857 * tree-vect-loop.c (calc_vec_perm_mask_for_shift,
858 vect_create_epilog_for_reduction): Likewise.
859 * doc/md.texi (vec_shr_m): Clarify direction of shifting.
861 2014-11-14 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
864 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Split out
865 numerical immediate handling to...
866 (aarch64_internal_mov_immediate): ...this. New.
867 (aarch64_rtx_costs): Use aarch64_internal_mov_immediate.
868 (aarch64_mov_operand_p): Relax predicate.
869 * config/aarch64/aarch64.md (mov<mode>:GPI): Do not expand CONST_INTs.
870 (*movsi_aarch64): Turn into define_insn_and_split and new alternative
872 (*movdi_aarch64): Likewise.
874 2014-11-14 Richard Biener <rguenther@suse.de>
876 * match.pd: Implement more binary patterns exercised by
878 * fold-const.c (sing_bit_p): Export.
879 (exact_inverse): Likewise.
880 (fold_binary_loc): Remove patterns here.
881 (tree_unary_nonnegative_warnv_p): Use CASE_CONVERT.
882 * fold-const.h (sing_bit_p): Declare.
883 (exact_inverse): Likewise.
885 2014-11-14 Marek Polacek <polacek@redhat.com>
887 * tree.c (build_common_builtin_nodes): Remove doubled ECF_LEAF.
889 2014-11-14 Richard Biener <rguenther@suse.de>
891 * genmatch.c (add_operator): Allow CONSTRUCTOR.
892 (dt_node::gen_kids): Handle CONSTRUCTOR not as GENERIC.
893 (parser::parse_op): Allow to iterate over predicates.
895 2014-11-14 Jakub Jelinek <jakub@redhat.com>
897 * configure.ac (--with-diagnostics-color): New configure
898 option, default to --with-diagnostics-color=auto.
899 * toplev.c (process_options): Use DIAGNOSTICS_COLOR_DEFAULT
900 to determine -fdiagnostics-color= option default.
901 * doc/invoke.texi (-fdiagnostics-color=): Document new
903 * configure: Regenerated.
904 * config.in: Regenerated.
906 2014-11-13 Teresa Johnson <tejohnson@google.com>
908 PR tree-optimization/63841
909 * tree-ssa-strlen.c (strlen_optimize_stmt): Ignore clobbers.
911 2014-11-14 Bin Cheng <bin.cheng@arm.com>
913 * timevar.def (TV_SCHED_FUSION): New time var.
914 * passes.def (pass_sched_fusion): New pass.
915 * config/arm/arm.c (TARGET_SCHED_FUSION_PRIORITY): New.
916 (extract_base_offset_in_addr, fusion_load_store): New.
917 (arm_sched_fusion_priority): New.
918 (arm_option_override): Disable scheduling fusion by default
919 on non-armv7 processors or ldrd/strd isn't preferred.
920 * sched-int.h (struct _haifa_insn_data): New field.
921 (INSN_FUSION_PRIORITY, FUSION_MAX_PRIORITY, sched_fusion): New.
922 * sched-rgn.c (rest_of_handle_sched_fusion): New.
923 (pass_data_sched_fusion, pass_sched_fusion): New.
924 (make_pass_sched_fusion): New.
925 * haifa-sched.c (sched_fusion): New.
926 (insn_cost): Handle sched_fusion.
927 (priority): Handle sched_fusion by calling target hook.
928 (enum rfs_decision): New enum value.
929 (rfs_str): New element for RFS_FUSION.
930 (rank_for_schedule): Support sched_fusion.
931 (schedule_insn, max_issue, prune_ready_list): Handle sched_fusion.
932 (schedule_block, fix_tick_ready): Handle sched_fusion.
933 * common.opt (flag_schedule_fusion): New.
934 * tree-pass.h (make_pass_sched_fusion): New.
935 * target.def (fusion_priority): New.
936 * doc/tm.texi.in (TARGET_SCHED_FUSION_PRIORITY): New.
937 * doc/tm.texi: Regenerated.
938 * doc/invoke.texi (-fschedule-fusion): New.
940 2014-11-13 Rong Xu <xur@google.com>
943 * cfgrtl.c (emit_barrier_after_bb): Append the barrier to the
944 footer, instead of unconditionally overwritten.
946 2014-11-14 Martin Jambor <mjambor@suse.cz>
948 * cgraph.h (clear_outer_type): Make public. Fix comment.
949 * ipa-devirt.c (possible_polymorphic_call_targets): Use
950 clear_outer_type when resetting the context.
952 2014-11-13 Dominique Dhumieres <dominiq@lps.ens.fr>
955 * gcc.c (handle_foffload_option): Replace strchrnul with strchr.
956 * lto-wrapper.c (parse_env_var, append_offload_options): Likewise.
958 2014-11-13 Alan Lawrence <alan.lawrence@arm.com>
960 * fold-const.c (const_binop): Remove code handling VEC_RSHIFT_EXPR.
961 * tree-cfg.c (verify_gimple_assign_binary): Likewise.
962 * tree-inline.c (estimate_operator_cost): Likewise.
963 * tree-pretty-print.c (dump_generic_node, op_code_prio, op_symbol_code):
966 * tree-vect-generic.c (expand_vector_operations_1): Remove assertion
967 against VEC_RSHIFT_EXPR.
969 * optabs.h (expand_vec_shift_expr): Remove.
970 * optabs.c (optab_for_tree_code): Remove case VEC_RSHIFT_EXPR.
971 (expand_vec_shift_expr): Remove.
972 * tree.def (VEC_RSHIFT_EXPR): Remove
974 2014-11-13 Alan Lawrence <alan.lawrence@arm.com>
976 * optabs.c (can_vec_perm_p): Update comment, does not consider vec_shr.
977 (shift_amt_for_vec_perm_mask): New.
978 (expand_vec_perm_1): Use vec_shr_optab if second vector is const0_rtx
979 and mask appropriate.
981 * tree-vect-loop.c (calc_vec_perm_mask_for_shift): New.
982 (have_whole_vector_shift): New.
983 (vect_model_reduction_cost): Call have_whole_vector_shift instead of
984 looking for vec_shr_optab.
985 (vect_create_epilog_for_reduction): Likewise; also rename local variable
986 have_whole_vector_shift to reduce_with_shift; output VEC_PERM_EXPRs
987 instead of VEC_RSHIFT_EXPRs.
989 * tree-vect-stmts.c (vect_gen_perm_mask_checked): Extend comment.
991 2014-11-13 Alan Lawrence <alan.lawrence@arm.com>
993 * tree-vectorizer.h (vect_gen_perm_mask): Remove.
994 (vect_gen_perm_mask_checked, vect_gen_perm_mask_any): New.
996 tree_vec_data_refs.c (vect_permute_load_chain, vec_permute_store_chain,
997 vec_shift_permute_load_chain): Replace vect_gen_perm_mask & assert
998 with vect_gen_perm_mask_checked.
1000 * tree-vect-stmts.c (vectorizable_mask_load_store, vectorizable_load):
1003 (vect_gen_perm_mask_checked): New.
1004 (vect_gen_perm_mask): Remove can_vec_perm_p check, rename to...
1005 (vect_gen_perm_mask_any): ...this.
1007 (perm_mask_for_reverse): Call can_vec_perm_p and
1008 vect_gen_perm_mask_checked.
1010 2014-11-13 Felix Yang <felix.yang@huawei.com>
1012 * ipa-utils.h: Fix typo in comments.
1013 * ipa-profile.c: Likewise.
1014 * tree-ssa-loop-ivcanon.c: Fix typo in comments and debugging dumps.
1016 2014-11-13 Teresa Johnson <tejohnson@google.com>
1018 PR tree-optimization/63841
1019 * tree-ssa-strlen.c (strlen_optimize_stmt): Ignore clobbers.
1021 2014-11-13 Teresa Johnson <tejohnson@google.com>
1023 PR tree-optimization/63841
1024 * tree.c (initializer_zerop): A clobber does not zero initialize.
1026 2014-11-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1028 * optabs.c (prepare_operand): Gracefully fail if the mode of X
1029 does not match the operand mode expected by the insn pattern.
1031 2014-11-13 Richard Biener <rguenther@suse.de>
1033 * match.pd: Add tcc_comparison, inverted_tcc_comparison
1034 and inverted_tcc_comparison_with_nans operator lists.
1035 Use tcc_comparison in the truth_valued_p predicate definition.
1036 Restrict logical_inverted_value with bit_xor to integral types.
1037 Build a boolean true for simplifying x |^ !x because of
1038 vector types. Implement patterns from forward_propagate_comparison
1039 * tree-ssa-forwprop.c (forward_propagate_comparison): Remove.
1040 (get_prop_dest_stmt): Likewise.
1041 (pass_forwprop::execute): Do not call it.
1042 * fold-const.c (fold_unary_loc): Remove the pattern here.
1044 2014-11-13 Ilya Verbin <ilya.verbin@intel.com>
1045 Andrey Turetskiy <andrey.turetskiy@intel.com>
1047 * config.gcc (*-intelmic-* | *-intelmicemul-*): Add i386/t-intelmic to
1049 (i[34567]86-*-* | x86_64-*-*): Build mkoffload$(exeext) with the
1050 accelerator compiler.
1051 * config/i386/intelmic-mkoffload.c: New file.
1052 * config/i386/t-intelmic: Ditto.
1054 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
1055 Andrey Turetskiy <andrey.turetskiy@intel.com>
1056 Ilya Verbin <ilya.verbin@intel.com>
1058 * common.opt (foffload, foffload-abi): New options.
1059 * config/i386/i386.c (ix86_offload_options): New static function.
1060 (TARGET_OFFLOAD_OPTIONS): Define.
1061 * coretypes.h (enum offload_abi): New enum.
1062 * doc/tm.texi: Regenerate.
1063 * doc/tm.texi.in (TARGET_OFFLOAD_OPTIONS): Document.
1064 * gcc.c (offload_targets): New static variable.
1065 (handle_foffload_option): New static function.
1066 (driver_handle_option): Handle OPT_foffload_.
1067 (driver::maybe_putenv_OFFLOAD_TARGETS): Set OFFLOAD_TARGET_NAMES
1068 according to offload_targets.
1069 * hooks.c (hook_charptr_void_null): New hook.
1070 * hooks.h (hook_charptr_void_null): Declare.
1071 * lto-opts.c: Include lto-section-names.h.
1072 (lto_write_options): Append options from target offload_options hook and
1073 store them to offload_lto section. Do not store target-specific,
1074 driver and diagnostic options in offload_lto section.
1075 * lto-wrapper.c (merge_and_complain): Handle OPT_foffload_ and
1077 (append_compiler_options, append_linker_options)
1078 (append_offload_options): New static functions.
1079 (compile_offload_image): Add new arguments with options.
1080 Call append_compiler_options and append_offload_options.
1081 (compile_images_for_offload_targets): Add new arguments with options.
1082 (find_and_merge_options): New static function.
1083 (run_gcc): Outline options handling into the new functions:
1084 find_and_merge_options, append_compiler_options, append_linker_options.
1085 * opts.c (common_handle_option): Don't handle OPT_foffload_.
1086 Forbid OPT_foffload_abi_ for non-offload compiler.
1087 * target.def (offload_options): New target hook.
1089 2014-11-13 Ilya Verbin <ilya.verbin@intel.com>
1090 Bernd Schmidt <bernds@codesourcery.com>
1091 Andrey Turetskiy <andrey.turetskiy@intel.com>
1092 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1094 * gcc.c (spec_host_machine, accel_dir_suffix): New variables.
1095 (process_command): Tweak path construction for the possibility
1096 of being configured as an offload compiler.
1097 (driver::maybe_putenv_OFFLOAD_TARGETS): New function.
1098 (driver::main): Call maybe_putenv_OFFLOAD_TARGETS.
1099 (driver::set_up_specs): Tweak path construction for the possibility of
1100 being configured as an offload compiler.
1101 * lto-wrapper.c (OFFLOAD_TARGET_NAMES_ENV): Define.
1102 (offload_names, offloadbegin, offloadend): New static variables.
1103 (free_array_of_ptrs, parse_env_var, access_check, compile_offload_image)
1104 (compile_images_for_offload_targets, copy_file, find_offloadbeginend):
1105 New static functions.
1106 (run_gcc): Determine whether offload sections are present. If so, run
1107 compile_images_for_offload_targets and return the names of new generated
1108 objects to linker. If there are offload sections, but no LTO sections,
1109 then return the copies of input objects without link-time recompilation.
1111 2014-11-13 Richard Biener <rguenther@suse.de>
1113 * genmatch.c (dt_node::gen_kids): Fix placement of break statement.
1115 2014-11-13 Ilya Verbin <ilya.verbin@intel.com>
1116 Bernd Schmidt <bernds@codesourcery.com>
1117 Andrey Turetskiy <andrey.turetskiy@intel.com>
1118 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1120 * Makefile.in (GTFILES): Add omp-low.h to list of GC files.
1121 * cgraphunit.c: Include omp-low.h.
1122 * doc/tm.texi: Regenerate.
1123 * doc/tm.texi.in (TARGET_RECORD_OFFLOAD_SYMBOL): Document.
1124 * gengtype.c (open_base_files): Add omp-low.h to ifiles.
1125 * lto-cgraph.c (output_offload_tables): New function.
1126 (input_offload_tables): Likewise.
1127 * lto-section-in.c (lto_section_name): Add "offload_table".
1128 * lto-section-names.h (OFFLOAD_VAR_TABLE_SECTION_NAME): Define.
1129 (OFFLOAD_FUNC_TABLE_SECTION_NAME): Likewise.
1130 * lto-streamer-out.c (lto_output): Call output_offload_tables.
1131 * lto-streamer.h (lto_section_type): Add LTO_section_offload_table.
1132 (output_offload_tables, input_offload_tables): Declare.
1133 * omp-low.c: Include common/common-target.h and lto-section-names.h.
1134 (offload_funcs, offload_vars): New global <tree, va_gc> vectors.
1135 (expand_omp_target): Add child_fn into offload_funcs vector.
1136 (add_decls_addresses_to_decl_constructor): New function.
1137 (omp_finish_file): Likewise.
1138 * omp-low.h (omp_finish_file, offload_funcs, offload_vars): Declare.
1139 * target.def (record_offload_symbol): New DEFHOOK.
1140 * toplev.c: Include omp-low.h.
1141 (compile_file): Call omp_finish_file.
1142 * varpool.c: Include omp-low.h.
1143 (varpool_node::get_create): Add decl into offload_vars vector.
1145 2014-11-13 Ilya Verbin <ilya.verbin@intel.com>
1146 Ilya Tocar <ilya.tocar@intel.com>
1147 Andrey Turetskiy <andrey.turetskiy@intel.com>
1148 Bernd Schmidt <bernds@codesourcery.com>
1150 * cgraph.c: Include context.h.
1151 (cgraph_node::create): Set node->offloadable and g->have_offload if
1152 decl have "omp declare target" attribute.
1153 * cgraph.h (symtab_node): Add need_lto_streaming and offloadable flags.
1154 * cgraphunit.c: Include lto-section-names.h.
1155 (ipa_passes): Call ipa_write_summaries if there is something to write to
1156 OFFLOAD_SECTION_NAME_PREFIX sections.
1157 (symbol_table::compile): Set flag_generate_lto if there is something to
1159 Replace flag_lto with flag_generate_lto before lto_streamer_hooks_init.
1160 * context.c (gcc::context::context): Initialize have_offload with false.
1161 * context.h (class context): Add have_offload flag.
1162 * ipa-inline-analysis.c (inline_generate_summary): Do not exit under
1164 (inline_free_summary): Always remove hooks.
1165 * lto-cgraph.c (referenced_from_other_partition_p): Ignore references
1166 from non-offloadable nodes while streaming a node into offload section.
1167 (reachable_from_other_partition_p): Likewise.
1168 (select_what_to_stream): New function.
1169 (compute_ltrans_boundary): Do not call
1170 lto_set_symtab_encoder_in_partition if the node should not be streamed.
1171 * lto-section-names.h (OFFLOAD_SECTION_NAME_PREFIX): Define.
1172 (section_name_prefix): Declare.
1173 * lto-streamer.c (section_name_prefix): New variable.
1174 (lto_get_section_name): Use section_name_prefix instead of
1175 LTO_SECTION_NAME_PREFIX.
1176 * lto-streamer.h (select_what_to_stream): Declare.
1177 * omp-low.c: Include context.h.
1178 (is_targetreg_ctx): New function.
1179 (scan_sharing_clauses): Use offloadable flag, instead of an attribute.
1180 (create_omp_child_function, check_omp_nesting_restrictions): Use new
1181 is_targetreg_ctx function. Replace usage of "omp declare target"
1182 attribute with a cgraph_node flag offloadable.
1183 (expand_omp_target): Set mark_force_output for offloadable functions.
1184 (lower_omp_critical): Set offloadable flag for omp critical symbol.
1185 * passes.c (ipa_write_summaries): New argument offload_lto_mode. Call
1186 select_what_to_stream. Do not call lto_set_symtab_encoder_in_partition
1187 if the node should not be streamed out.
1188 * tree-pass.h (ipa_write_summaries): New bool argument.
1189 * varpool.c: Include context.h.
1190 (varpool_node::get_create): Set node->offloadable and g->have_offload if
1191 decl have "omp declare target" attribute.
1193 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
1194 Thomas Schwinge <thomas@codesourcery.com>
1195 Ilya Verbin <ilya.verbin@intel.com>
1196 Andrey Turetskiy <andrey.turetskiy@intel.com>
1198 * Makefile.in (real_target_noncanonical, accel_dir_suffix)
1199 (enable_as_accelerator): New variables substituted by configure.
1200 (libsubdir, libexecsubdir, unlibsubdir): Tweak for the possibility of
1201 being configured as an offload compiler.
1202 (DRIVER_DEFINES): Pass new defines DEFAULT_REAL_TARGET_MACHINE and
1204 (install-cpp, install-common, install_driver, install-gcc-ar): Do not
1205 install for the offload compiler.
1206 * config.in: Regenerate.
1207 * configure: Regenerate.
1208 * configure.ac (real_target_noncanonical, accel_dir_suffix)
1209 (enable_as_accelerator): Compute new variables.
1210 (ACCEL_COMPILER): Define if the compiler is built as the accel compiler.
1211 (OFFLOAD_TARGETS): List of target names suitable for offloading.
1212 (ENABLE_OFFLOADING): Define if list of offload targets is not empty.
1213 * doc/install.texi (Options specification): Document
1214 --enable-as-accelerator-for and --enable-offload-targets.
1216 2014-11-13 H.J. Lu <hongjiu.lu@intel.com>
1218 PR tree-optimization/63828
1219 * ipa-polymorphic-call.c (possible_placement_new): Check
1220 POINTER_SIZE, instead of BITS_PER_WORD, for pointer size.
1222 2014-11-13 Eric Botcazou <ebotcazou@adacore.com>
1224 * doc/tm.texi.in (SELECT_CC_MODE): Update example.
1225 (REVERSIBLE_CC_MODE): Fix example.
1226 (REVERSE_CONDITION): Fix typo.
1227 * doc/tm.texi: Regenerate.
1229 2014-11-13 Tom de Vries <tom@codesourcery.com>
1231 * omp-low.c (pass_data_expand_omp): Set properties_provided to
1233 (pass_expand_omp::gate): Remove function. Move gate expression to ...
1234 (pass_expand_omp::execute): ... here, as new variable gate. Add early
1235 exit if gate is false.
1236 (pass_data pass_data_expand_omp_ssa): New pass_data.
1237 (class pass_expand_omp_ssa): New pass.
1238 (make_pass_expand_omp_ssa): New function.
1239 * passes.def (pass_parallelize_loops): Use PUSH_INSERT_PASSES_WITHIN
1240 instead of NEXT_PASS.
1241 (pass_expand_omp_ssa): Add after pass_parallelize_loops.
1242 * tree-parloops.c (gen_parallel_loop): Remove call to omp_expand_local.
1243 (pass_parallelize_loops::execute): Don't do cleanups TODO_cleanup_cfg
1244 and TODO_rebuild_alias yet. Add TODO_update_ssa. Set
1245 cfun->omp_expand_needed.
1246 * tree-pass.h: Add define PROP_gimple_eomp.
1247 (make_pass_expand_omp_ssa): Declare.
1249 2014-11-13 Marek Polacek <polacek@redhat.com>
1251 * tree.h (TYPE_OVERFLOW_SANITIZED): Define.
1252 * fold-const.c (fold_binary_loc): Use it.
1253 * match.pd: Likewise.
1255 2014-11-14 Kirill Yukhin <kirill.yukhin@intel.com>
1257 * lra-lives.c (struct bb_data): Rename to ...
1258 (struct bb_data_pseudos): ... this.
1259 (initiate_live_solver): Update struct name.
1261 2014-11-13 Richard Biener <rguenther@suse.de>
1263 * match.pd: Implement conditional expression patterns.
1264 * tree-ssa-forwprop.c (forward_propagate_into_cond): Remove
1266 (combine_cond_exprs): Remove.
1267 (pass_forwprop::execute): Do not call combine_cond_exprs.
1268 * fold-const.c (fold_ternary_loc): Remove patterns here.
1269 (pedantic_omit_one_operand_loc): Remove.
1271 2014-12-13 Richard Biener <rguenther@suse.de>
1274 * match.pd: Implement bswap patterns for transforms checked by
1275 gcc.dg/builtin-bswap-8.c.
1277 2014-11-13 Vladimir Makarov <vmakarov@redhat.com>
1279 * lra.c (lra): Switch off rematerialization pass.
1281 2014-11-12 Vladimir Makarov <vmakarov@redhat.com>
1283 * common.opt (flra-remat): New.
1284 * opts.c (default_options_table): Add entry for flra_remat.
1285 * timevar_def (TV_LRA_REMAT): New.
1286 * doc/invoke.texi (-flra-remat): Add description of the new
1288 * doc/passes.texi (-flra-remat): Remove lra-equivs.c and
1289 lra-saves.c. Add lra-remat.c.
1290 * Makefile.in (OBJS): Add lra-remat.o.
1291 * lra-remat.c: New file.
1292 * lra.c: Add info about the rematerialization pass in the top
1294 (collect_non_operand_hard_regs, add_regs_to_insn_regno_info):
1295 Process unallocatable regs too.
1296 (lra_constraint_new_insn_uid_start): Remove.
1297 (lra): Add code for calling rematerialization sub-pass.
1298 * lra-int.h (lra_constraint_new_insn_uid_start): Remove.
1299 (lra_constrain_insn, lra_remat): New prototypes.
1300 (lra_eliminate_regs_1): Add parameter.
1301 * lra-lives.c (make_hard_regno_born, make_hard_regno_dead):
1302 Process unallocatable hard regs too.
1303 (process_bb_lives): Ditto.
1304 * lra-spills.c (remove_pseudos): Add argument to
1305 lra_eliminate_regs_1 call.
1306 * lra-eliminations.c (lra_eliminate_regs_1): Add parameter. Use it
1307 for sp offset calculation.
1308 (lra_eliminate_regs): Add argument for lra_eliminate_regs_1 call.
1309 (eliminate_regs_in_insn): Add parameter. Use it for sp offset
1311 (process_insn_for_elimination): Add argument for
1312 eliminate_regs_in_insn call.
1313 * lra-constraints.c (get_equiv_with_elimination): Add argument
1314 for lra_eliminate_regs_1 call.
1315 (process_addr_reg): Add parameter. Use it.
1316 (process_address_1): Ditto. Add argument for process_addr_reg
1318 (process_address): Ditto.
1319 (curr_insn_transform): Add parameter. Use it. Add argument for
1320 process_address calls.
1321 (lra_constrain_insn): New function.
1322 (lra_constraints): Add argument for curr_insn_transform call.
1324 2014-11-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
1326 * opts-global.c (postpone_unknown_option_warning): Fix spelling.
1327 (print_ignored_options): Fix quoting.
1328 * opts.c (common_handle_option): Likewise.
1329 (set_debug_level): Likewise.
1330 * toplev.c (process_options): Likewise.
1332 2014-11-12 Jakub Jelinek <jakub@redhat.com>
1335 * ipa-pure-const.c (propagate_nothrow): Walk w->indirect_calls
1336 chain instead of node->indirect_calls. Put !can_throw into
1337 conditions of all the loops.
1339 2014-11-12 H.J. Lu <hongjiu.lu@intel.com>
1341 * config/i386/i386.c (x86_output_mi_thunk): Use gen_rtx_REG to
1342 set pic_offset_table_rtx.
1344 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
1346 * common/config/mips/mips-common.c (mips_handle_option): Ensure
1347 that -mfp32, -mfp64 disable -mfpxx and -mfpxx disables -mfp64.
1348 * config.gcc (--with-fp-32): New option.
1349 (--with-odd-spreg-32): Likewise.
1350 * config.in (HAVE_AS_DOT_MODULE): New config define.
1351 * config/mips/mips-protos.h
1352 (mips_secondary_memory_needed): New prototype.
1353 (mips_hard_regno_caller_save_mode): Likewise.
1354 * config/mips/mips.c (mips_get_reg_raw_mode): New static prototype.
1355 (mips_get_arg_info): Assert that V2SFmode is only handled specially
1356 with TARGET_PAIRED_SINGLE_FLOAT.
1357 (mips_return_mode_in_fpr_p): Likewise.
1358 (mips16_call_stub_mode_suffix): Likewise.
1359 (mips_get_reg_raw_mode): New static function.
1360 (mips_return_fpr_pair): O32 return values span two registers.
1361 (mips16_build_call_stub): Likewise.
1362 (mips_function_value_regno_p): Support both FP return registers.
1363 (mips_output_64bit_xfer): Use mthc1 whenever TARGET_HAS_MXHC1. Add
1364 specific cases for TARGET_FPXX to move via memory.
1365 (mips_dwarf_register_span): For TARGET_FPXX pretend that modes larger
1366 than UNITS_PER_FPREG 'span' one register.
1367 (mips_dwarf_frame_reg_mode): New static function.
1368 (mips_file_start): Switch to using .module instead of .gnu_attribute.
1369 No longer support FP ABI 4 (-mips32r2 -mfp64), replace with FP ABI 6.
1370 Add FP ABI 5 (-mfpxx) and FP ABI 7 (-mfp64 -mno-odd-spreg).
1371 (mips_save_reg, mips_restore_reg): Always represent DFmode frame
1372 slots with two CFI directives even for O32 FP64.
1373 (mips_for_each_saved_gpr_and_fpr): Account for fixed_regs when
1374 saving/restoring callee-saved registers.
1375 (mips_hard_regno_mode_ok_p): Implement O32 FP64A extension.
1376 (mips_secondary_memory_needed): New function.
1377 (mips_option_override): ABI check for TARGET_FLOATXX. Disable
1378 odd-numbered single-precision registers when using TARGET_FLOATXX.
1379 Implement -modd-spreg and defaults.
1380 (mips_conditional_register_usage): Redefine O32 FP64 to match O32 FP32
1381 callee-saved behaviour.
1382 (mips_hard_regno_caller_save_mode): Implement.
1383 (TARGET_GET_RAW_RESULT_MODE): Define target hook.
1384 (TARGET_GET_RAW_ARG_MODE): Define target hook.
1385 (TARGET_DWARF_FRAME_REG_MODE): Define target hook.
1386 * config/mips/mips.h (TARGET_FLOAT32): New macro.
1387 (TARGET_O32_FP64A_ABI): Likewise.
1388 (TARGET_CPU_CPP_BUILTINS): TARGET_FPXX is __mips_fpr==0. Add
1389 _MIPS_SPFPSET builtin define.
1390 (MIPS_FPXX_OPTION_SPEC): New macro.
1391 (OPTION_DEFAULT_SPECS): Pass through --with-fp-32=* to -mfp and
1392 --with-odd-spreg-32=* to -m[no-]odd-spreg.
1393 (ISA_HAS_ODD_SPREG): New macro.
1394 (ISA_HAS_MXHC1): True for anything other than -mfp32.
1395 (ASM_SPEC): Pass through mfpxx, mfp64, -mno-odd-spreg and -modd-spreg.
1396 (MIN_FPRS_PER_FMT): Redefine in terms of TARGET_ODD_SPREG.
1397 (HARD_REGNO_CALLER_SAVE_MODE): Define. Implement O32 FPXX extension
1398 (HARD_REGNO_CALL_PART_CLOBBERED): Likewise.
1399 (SECONDARY_MEMORY_NEEDED): Likewise.
1400 (FUNCTION_ARG_REGNO_P): Update for O32 FPXX and FP64 extensions.
1401 * config/mips/mips.md (define_attr enabled): Implement O32 FPXX and
1402 FP64A ABI extensions.
1403 (move_doubleword_fpr<mode>): Use ISA_HAS_MXHC1 instead of
1405 * config/mips/mips.opt (mfpxx): New target option.
1406 (modd-spreg): Likewise.
1407 * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Infer FP ABI from arch.
1408 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise and remove
1410 * config/mips/t-mti-elf: Remove fp64 multilib.
1411 * config/mips/t-mti-linux: Likewise.
1412 * configure.ac: Detect .module support.
1413 * configure: Regenerate.
1414 * doc/invoke.texi: Document -mfpxx, -modd-spreg, -mno-odd-spreg option.
1415 * doc/install.texi (--with-fp-32, --with-odd-spreg-32): Document new
1418 2014-11-12 H.J. Lu <hongjiu.lu@intel.com>
1421 * config/i386/i386.c (ix86_init_large_pic_reg): New. Extracted
1423 (ix86_init_pic_reg): Here. Use ix86_init_large_pic_reg.
1424 (x86_output_mi_thunk): Set PIC register to %r11. Call
1425 ix86_init_large_pic_reg to initialize PIC register.
1427 2014-11-12 Kai Tietz <ktietz@redhat.com>
1429 * sdbout.c (sdbout_symbol): Eliminate register only
1430 if decl isn't a global variable.
1432 2014-11-12 Alan Lawrence <alan.lawrence@arm.com>
1434 * config/aarch64/aarch64.c (aarch64_simd_lane_bounds): Display indices.
1436 * config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers): Add
1437 qualifier_lane_index.
1438 (aarch64_types_ternop_lane_qualifiers, TYPES_TERNOP_LANE): Rename to...
1439 (aarch64_types_quadop_lane_qualifiers, TYPES_QUADOP_LANE): ...these.
1440 (aarch64_types_ternop_lane_qualifiers, TYPES_TERNOP_LANE): New.
1442 (aarch64_types_getlane_qualifiers): Rename to...
1443 (aarch64_types_binop_imm_qualifiers): ...this.
1444 (TYPES_SHIFTIMM): Follow renaming.
1445 (TYPES_GETLANE): Rename to...
1446 (TYPE_GETREG): ...this.
1448 (aarch64_types_setlane_qualifiers): Rename to...
1449 (aarch64_type_ternop_imm_qualifiers): ...this.
1450 (TYPES_SHIFTINSERT, TYPES_SHIFTACC): Follow renaming.
1451 (TYPES_SETLANE): Follow renaming above, and rename self to...
1452 (TYPE_SETREG): ...this.
1454 (enum builtin_simd_arg): Add SIMD_ARG_LANE_INDEX.
1455 (aarch64_simd_expand_args): Add range check and endianness-flip.
1457 (aarch64_simd_expand_builtin): Add mapping for qualifier_lane_index.
1459 * config/aarch64/aarch64-simd.md
1460 (aarch64_sq<r>dmulh_lane<mode>_internal *2): Rename to...
1461 (aarch64_sq<r>dmulh_lane<mode>): ...this, and remove lane bounds check.
1462 (aarch64_sqdmulh_lane<mode> *2, aarch64_sqrdmulh_lane<mode> *2): Delete.
1464 (aarch64_sq<r>dmulh_laneq<mode>_internal): Rename to...
1465 (aarch64_sq<r>dmulh_lane<mode>): ...this.
1467 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal *2): Rename to...
1468 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>): ...this.
1470 (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal *2): Rename to...
1471 (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>): ...this.
1473 (aarch64_sqdmull_lane<mode>_internal *2): Rename to...
1474 (aarch64_sqdmull_lane<mode>): ...this.
1476 (aarch64_sqdmull_laneq<mode>_internal *2): Rename to...
1477 (aarch64_sqdmull_laneq<mode>): ...this.
1479 (aarch64_sqdmulh_laneq<mode>, aarch64_sqrdmulh_laneq<mode>,
1480 (aarch64_sqdmlal_lane<mode>, aarch64_sqdmlal_laneq<mode>,
1481 aarch64_sqdmlsl_lane<mode>, aarch64_sqdmlsl_laneq<mode>,
1482 aarch64_sqdmull_lane<mode>, aarch64_sqdmull_laneq<mode>): Delete.
1484 (aarch64_sqdmlal2_lane<mode>, aarch64_sqdmlal2_laneq<mode>,
1485 aarch64_sqdmlsl2_lane<mode>, aarch64_sqdmlsl2_laneq<mode>,
1486 aarch64_sqdmull2_lane<mode>, aarch64_sqdmull2_laneq<mode>): Remove
1487 bounds check and lane flip.
1489 * config/aarch64/aarch64-simd-builtins.def (be_checked_get_lane,
1490 get_dregoi, get_dregci, getdregxi, get_qregoi,get_qregci, get_qregxi,
1491 set_qregoi, set_qregci, set_qregxi): Change qualifiers to GETREG.
1493 (sqdmlal_lane, sqdmlsl_lane, sqdmlal_laneq, sqdmlsl_laneq,
1494 sqdmlal2_lane, sqdmlsl2_lane, sqdmlal2_laneq, sqdmlsl2_laneq): Follow
1495 renaming of TERNOP_LANE to QUADOP_LANE.
1497 (sqdmull_lane, sqdmull_laneq, sqdmull2_lane, sqdmull2_laneq,
1498 sqdmulh_lane, sqdmulh_laneq, sqrdmulh_lane, sqrdmulh_laneq): Set
1499 qualifiers to TERNOP_LANE.
1501 2014-11-12 Tobias Burnus <burnus@net-b.de>
1503 * Makefile.in (CLOOGLIBS, CLOOGINC): Remove.
1504 * configure.ac: Ditto.
1505 * graphite-interchange.c: Remove HAVE_CLOOG block.
1506 * config.in: Regenerate.
1507 * configure: Regenerate.
1509 2014-11-12 Jiong Wang <jiong.wang@arm.com>
1511 * config/aarch64/aarch64.h (CALL_USED_REGISTERS): Mark LR as
1513 (EPILOGUE_USES): Guard the check by epilogue_completed.
1514 * config/aarch64/aarch64.c (aarch64_layout_frame): Explictly check for
1516 (aarch64_can_eliminate): Check LR_REGNUM liveness.
1518 2014-11-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1520 * config/arm/arm.c (*<arith_shift_insn>_shiftsi): Fix typo.
1522 2014-11-12 Marek Polacek <polacek@redhat.com>
1524 * fold-const.c (fold_binary_loc): Don't fold if the result
1526 * match.pd (A + (-B) -> A - B, A - (-B) -> A + B,
1527 -(-A) -> A): Likewise.
1529 2014-11-12 Richard Biener <rguenther@suse.de>
1531 Merge from match-and-simplify branch
1532 2014-11-04 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
1534 * genmatch.c (user_id): Add new member is_oper_list.
1535 (user_id::user_id): Add new default argument.
1536 (parser::parse_operator_list): New function.
1537 (parser::parse_for): Allow operator-list.
1538 (parser::parse_pattern): Call parser::parse_operator_list.
1539 (parser::parse_operation): Reject operator-list.
1540 * match-builtin.pd: Define operator lists POWs, CBRTs and SQRTs.
1542 2014-10-31 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
1544 * genmatch.c (parser::parse_c_expr): Mark user-defined ops as used.
1546 2014-10-30 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
1548 * genmatch.c (parser::parse_op): Check if predicate is used in
1551 2014-10-29 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
1553 * genmatch.c (parser::parse_for): Make sure to have a valid
1554 token to report errors at.
1556 2014-10-28 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
1558 * genmatch.c (parser): Add new member parsing_match_operand.
1559 (parser::parse_operation): Check for conditional convert in result
1561 (parser::parse_expr): Check for commutative operator in result operand.
1562 Check for :type in match operand.
1563 (parser::parse_simplify): Set/unset parsing_match_operand.
1564 (parser::parser): Initialize parsing_match_operand.
1566 2014-10-28 Richard Biener <rguenther@suse.de>
1568 * genmatch.c (parser::parse_for): Properly check for already
1571 2014-10-28 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
1573 * genmatch.c (error_cb): Adjust for printing warnings.
1574 (warning_at): New function.
1575 (user_id): Add new member used.
1576 (get_operator): Mark user_id as used.
1577 (parse_for): Warn for unused operators.
1579 2014-11-12 Richard Biener <rguenther@suse.de>
1581 * match.pd: Implement simple complex operations cancelling.
1582 * fold-const.c (fold_unary_loc): Remove them here.
1584 2014-11-12 Joseph Myers <joseph@codesourcery.com>
1586 * cppbuiltin.c (define_builtin_macros_for_compilation_flags):
1587 Define __NO_MATH_ERRNO__ if -fno-math-errno.
1588 * doc/cpp.texi (__NO_MATH_ERRNO__): Document predefined macro.
1590 2014-11-12 Richard Biener <rguenther@suse.de>
1592 * genmatch.c (::gen_transform): Add capture_info and
1593 expand_compares arguments.
1594 (struct expr): Add is_generic flag.
1595 (lower_cond): New functions lowering [VEC_]COND_EXPR
1596 conditions to a GENERIC and a GIMPLE variant.
1597 (lower): Call lower_cond.
1598 (cmp_operand): Also compare the is_generic flag.
1599 (capture_info::cinfo): Add cond_expr_cond_p flag.
1600 (capture_info::capture_info): Pass down whether the
1601 expression argument is a COND_EXPR condition.
1602 (capture_info::walk_match): Likewise, mark captures
1603 capturing COND_EXPR conditions with cond_expr_cond_p.
1604 (expr::gen_transform): Pass down whether we need to
1605 expand compares from COND_EXPR conditions.
1606 (capture::gen_transform): Expand compares substituted
1607 from COND_EXPR conditions into non-COND_EXPR conditions.
1608 (dt_operand::gen_gimple_expr): Handle explicitely marked
1609 GENERIC expressions as generic.
1610 (dt_simplify::gen): Pass whether we need to expand
1611 conditions to gen_transform. Handle capture results
1612 which are from COND_EXPR conditions.
1613 (main): Pass gimple flag down to lower.
1615 2014-11-12 Jakub Jelinek <jakub@redhat.com>
1618 * builtin-attrs.def (ATTR_NOTHROW_TYPEGENERIC_LEAF): New attribute.
1619 * builtins.c (fold_builtin_arith_overflow): New function.
1620 (fold_builtin_3): Use it.
1621 * builtins.def (BUILT_IN_ADD_OVERFLOW, BUILT_IN_SUB_OVERFLOW,
1622 BUILT_IN_MUL_OVERFLOW, BUILT_IN_SADD_OVERFLOW, BUILT_IN_SADDL_OVERFLOW,
1623 BUILT_IN_SADDLL_OVERFLOW, BUILT_IN_SSUB_OVERFLOW,
1624 BUILT_IN_SSUBL_OVERFLOW, BUILT_IN_SSUBLL_OVERFLOW,
1625 BUILT_IN_SMUL_OVERFLOW, BUILT_IN_SMULL_OVERFLOW,
1626 BUILT_IN_SMULLL_OVERFLOW, BUILT_IN_UADDL_OVERFLOW,
1627 BUILT_IN_UADDLL_OVERFLOW, BUILT_IN_USUB_OVERFLOW,
1628 BUILT_IN_USUBL_OVERFLOW, BUILT_IN_USUBLL_OVERFLOW,
1629 BUILT_IN_UMUL_OVERFLOW, BUILT_IN_UMULL_OVERFLOW,
1630 BUILT_IN_UMULLL_OVERFLOW): New built-in functions.
1631 * builtin-types.def (BT_PTR_UINT, BT_PTR_ULONG, BT_PTR_LONGLONG,
1632 BT_FN_BOOL_INT_INT_INTPTR, BT_FN_BOOL_LONG_LONG_LONGPTR,
1633 BT_FN_BOOL_LONGLONG_LONGLONG_LONGLONGPTR, BT_FN_BOOL_UINT_UINT_UINTPTR,
1634 BT_FN_BOOL_ULONG_ULONG_ULONGPTR,
1635 BT_FN_BOOL_ULONGLONG_ULONGLONG_ULONGLONGPTR, BT_FN_BOOL_VAR): New.
1636 * expr.c (write_complex_part): Remove prototype, no longer static.
1637 * expr.h (write_complex_part): New prototype.
1638 * function.c (aggregate_value_p): For internal functions return 0.
1639 * gimple-fold.c (arith_overflowed_p): New functions.
1640 (gimple_fold_call): Fold {ADD,SUB,MUL}_OVERFLOW internal calls.
1641 * gimple-fold.h (arith_overflowed_p): New prototype.
1642 * tree-ssa-dce.c: Include tree-ssa-propagate.h and gimple-fold.h.
1643 (find_non_realpart_uses, maybe_optimize_arith_overflow): New
1645 (eliminate_unnecessary_stmts): Transform {ADD,SUB,MUL}_OVERFLOW
1646 into COMPLEX_CST/COMPLEX_EXPR if IMAGPART_EXPR of the result is
1648 * gimplify.c (gimplify_call_expr): Handle gimplification of
1649 internal calls with lhs.
1650 * internal-fn.c (get_range_pos_neg, get_min_precision,
1651 expand_arith_overflow_result_store): New functions.
1652 (ubsan_expand_si_overflow_addsub_check): Renamed to ...
1653 (expand_addsub_overflow): ... this. Add LOC, LHS, ARG0, ARG1,
1654 UNSR_P, UNS0_P, UNS1_P, IS_UBSAN arguments, remove STMT argument.
1655 Handle ADD_OVERFLOW and SUB_OVERFLOW expansion.
1656 (ubsan_expand_si_overflow_neg_check): Renamed to ...
1657 (expand_neg_overflow): ... this. Add LOC, LHS, ARG1, IS_UBSAN
1658 arguments, remove STMT argument. Handle SUB_OVERFLOW with
1659 0 as first argument expansion.
1660 (ubsan_expand_si_overflow_mul_check): Renamed to ...
1661 (expand_mul_overflow): ... this. Add LOC, LHS, ARG0, ARG1,
1662 UNSR_P, UNS0_P, UNS1_P, IS_UBSAN arguments, remove STMT argument.
1663 Handle MUL_OVERFLOW expansion.
1664 (expand_UBSAN_CHECK_ADD): Use expand_addsub_overflow, prepare
1666 (expand_UBSAN_CHECK_SUB): Use expand_addsub_overflow or
1667 expand_neg_overflow, prepare arguments for it.
1668 (expand_UBSAN_CHECK_MUL): Use expand_mul_overflow, prepare arguments
1670 (expand_arith_overflow, expand_ADD_OVERFLOW, expand_SUB_OVERFLOW,
1671 expand_MUL_OVERFLOW): New functions.
1672 * internal-fn.def (ADD_OVERFLOW, SUB_OVERFLOW, MUL_OVERFLOW): New
1674 * tree-vrp.c (check_for_binary_op_overflow): New function.
1675 (extract_range_basic): Handle {REAL,IMAG}PART_EXPR if the operand
1676 is SSA_NAME set by {ADD,SUB,MUL}_OVERFLOW internal functions.
1677 (simplify_internal_call_using_ranges): Handle {ADD,SUB,MUL}_OVERFLOW
1679 * optabs.def (umulv4_optab): New optab.
1680 * config/i386/i386.md (umulv<mode>4, <u>mulvqi4): New define_expands.
1681 (*umulv<mode>4, *<u>mulvqi4): New define_insns.
1682 * doc/extend.texi (Integer Overflow Builtins): Document
1683 __builtin_*_overflow.
1685 2014-11-12 Richard Biener <rguenther@suse.de>
1687 * genmatch.c (capture_info::capture_info): Add missing
1689 (capture_info::walk_match): Fix COND_EXPR handling.
1690 (capture_info::walk_result): Likewise.
1692 2014-11-12 Richard Biener <rguenther@suse.de>
1695 * match.pd: Add missing conversion to the -(T)-X pattern.
1697 2014-11-12 Richard Biener <rguenther@suse.de>
1700 * hash-table.h: Include ggc.h also for generator programs.
1701 * genmatch.c (ggc_internal_cleared_alloc): Properly define
1702 using MEM_STAT_DECL instead of CXX_MEM_STAT_INFO.
1704 2014-11-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
1706 PR tree-optimization/63761
1707 * tree-ssa-math-opts.c (bswap_replace): Construct gsi from cur_stmt
1708 rather than taking it as a parameter. Add some comments to explain the
1709 gsi_move_before in case of load and why canonicalization of bswap into
1710 a rotation is only done for 16bit values.
1711 (pass_optimize_bswap::execute): Adapt for loop via gsi to make gsi
1712 refer to the statement just before cur_stmt. Ignore 16bit bswap that
1713 are already in canonical form. Adapt bswap_replace to removal of its
1716 2014-11-12 Richard Sandiford <richard.sandiford@arm.com>
1718 * rtl.h (rtx_function, for_each_rtx, for_each_rtx_in_insn): Delete.
1719 * rtlanal.c (non_rtx_starting_operands, for_each_rtx_1, for_each_rtx):
1720 (for_each_rtx_in_insn): Delete.
1721 (init_rtlanal): Remove initialization of non_rtx_starting_operands.
1722 * df-core.c: Remove reference to for_each_rtx in comment.
1724 2014-11-12 Tejas Belagod <tejas.belagod@arm.com>
1726 * Makefile.in (TEXI_GCC_FILES): Remove arm-acle-intrinsics.texi,
1727 arm-neon-intrinsics.texi, aarch64-acle-intrinsics.texi.
1728 * doc/aarch64-acle-intrinsics.texi: Remove.
1729 * doc/arm-acle-intrinsics.texi: Remove.
1730 * doc/arm-neon-intrinsics.texi: Remove.
1731 * doc/extend.texi: Consolidate sections AArch64 intrinsics,
1732 ARM NEON Intrinsics, ARM ACLE Intrinsics into one ARM C Language
1733 Extension section. Add references to public ACLE specification.
1735 2014-11-11 Patrick Palka <ppalka@gcc.gnu.org>
1737 * tree-vrp.c (register_edge_assert_for_2): Change return type to
1738 void and adjust accordingly.
1739 (register_edge_assert_for_1): Likewise.
1740 (register_edge_assert_for): Likewise.
1741 (find_conditional_asserts): Likewise.
1742 (find_switch_asserts): Likewise.
1743 (find_assert_locations_1): Likewise.
1744 (find_assert_locations): Likewise.
1745 (insert_range_insertions): Inspect the need_assert_for bitmap.
1747 2014-11-11 Andrew Pinski <apinski@cavium.com>
1750 * config.gcc (aarch64*-*-*): Set target_gtfiles to include
1752 * config/aarch64/aarch64-builtins.c: Include gt-aarch64-builtins.h
1753 at the end of the file.
1755 2014-11-11 Anthony Brandon <anthony.brandon@gmail.com>
1756 Manuel López-Ibáñez <manu@gcc.gnu.org>
1759 * diagnostic-core.h: Add prototype for fatal_error.
1760 * diagnostic.c (fatal_error): New function fatal_error.
1761 * gcc.c (store_arg): Remove have_o_argbuf_index.
1762 (process_command): Check if input and output files are the same.
1763 * toplev.c (init_asm_output): Check if input and output files are
1766 2014-11-11 Eric Botcazou <ebotcazou@adacore.com>
1768 * reorg.c (fill_slots_from_thread): Do not copy frame-related insns.
1770 2014-11-11 Eric Botcazou <ebotcazou@adacore.com>
1773 * config/sparc/sparc.c (function_arg_vector_value): Deal with vectors
1774 smaller than 8 bytes.
1775 (sparc_function_arg_1): Tweak.
1776 (sparc_function_value_1): Tweak.
1778 2014-11-11 David Malcolm <dmalcolm@redhat.com>
1780 * ChangeLog.jit: New.
1781 * Makefile.in (doc_build_sys): New variable, set to "sphinx" if
1782 sphinx is installed, falling back to "texinfo" otherwise.
1783 (FULL_DRIVER_NAME): New variable, adapted from the
1784 install-driver target. New target, a symlink within the builddir,
1785 linked to "xgcc", for use when running the JIT library from the
1787 (MOSTLYCLEANFILES): Add FULL_DRIVER_NAME.
1788 (install-driver): Use $(FULL_DRIVER_NAME) rather than spelling it
1790 * configure.ac (doc_build_sys): New variable, set to "sphinx" if
1791 sphinx is installed, falling back to "texinfo" otherwise.
1792 (GCC_DRIVER_NAME): Generate a gcc-driver-name.h file containing
1793 GCC_DRIVER_NAME for the benefit of jit/internal-api.c.
1794 * configure: Regenerate.
1795 * doc/install.texi (--enable-host-shared): Specify that this is
1796 required when building libgccjit.
1797 (Tools/packages necessary for modifying GCC): Add Sphinx.
1798 * timevar.def (TV_JIT_REPLAY): New.
1803 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1806 * configure: Regenerate.
1808 2014-11-11 James Greenhalgh <james.greenhalgh@arm.com>
1810 * config/aarch64/aarch64-simd.md
1811 (aarch64_simd_bsl<mode>_internal): Remove float cases, canonicalize.
1812 (aarch64_simd_bsl<mode>): Add gen_lowpart expressions where we
1813 are punning between float vectors and integer vectors.
1815 2014-11-11 Uros Bizjak <ubizjak@gmail.com>
1817 * config/alpha/alpha.c (alpha_emit_conditional_branch): Replace
1818 open-coded swap with std::swap to swap values.
1819 (alpha_emit_setcc): Ditto.
1820 (alpha_emit_conditional_move): Ditto.
1821 (alpha_split_tmode_pair): Ditto.
1823 2014-11-11 Evgeny Stupachenko <evstupac@gmail.com>
1825 * tree-vect-data-refs.c (vect_shift_permute_load_chain): Extend shift
1826 permutations on power of 2 cases.
1828 2014-11-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1830 * config/aarch64/aarch64.h (MACHMODE): Remove 'enum' keyword.
1831 (CUMULATIVE_ARGS): Guard on !defined(USED_FOR_TARGET).
1833 2014-11-11 Richard Biener <rguenther@suse.de>
1835 * tree-core.h (pedantic_lvalues): Remove.
1836 * fold-const.c (pedantic_lvalues): Likewise.
1837 (pedantic_non_lvalue_loc): Remove conditional non_lvalue_loc call.
1839 2014-11-11 Martin Liska <mliska@suse.cz>
1843 * ipa-icf.c (sem_function::merge): Add new target symbol alias
1845 (sem_variable::merge): Likewise.
1846 * ipa-icf.h (target_supports_symbol_aliases_p): New function.
1848 2014-11-11 Richard Biener <rguenther@suse.de>
1850 * match.pd: Implement patterns from associate_plusminus
1851 and factor in differences from the fold-const.c implementation.
1852 * fold-const.c (fold_binary_loc): Remove patterns here.
1853 * tree-ssa-forwprop.c (associate_plusminus): Remove.
1854 (pass_forwprop::execute): Don't call it.
1855 * tree.c (tree_nop_conversion_p): New function, factored
1856 from tree_nop_conversion.
1857 * tree.h (tree_nop_conversion_p): Declare.
1859 2014-11-11 Uros Bizjak <ubizjak@gmail.com>
1861 * system.h: Include algorithm and utility.
1862 * rtl.h: Do not include utility here.
1863 * wide-int.h: Ditto.
1864 * tree-vect-data-refs.c (swap): Remove template.
1865 (vect_prune_runtime_alias_test_list): Use std::swap instead of swap.
1867 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1871 * system.h: Include <string> before "safe-ctype.h"
1872 * wide-int.h (wi::smin, wi::smax, wi::umin, wi::umax): Prefix
1873 calls to min/max with wi namespace.
1874 * ipa-chkp.c: Don't include <string>.
1876 2014-11-11 Terry Guo <terry.guo@arm.com>
1878 * doc/invoke.texi (-masm-syntax-unified): Reword and fix typo.
1879 * config/arm/thumb1.md (*thumb_mulsi3): Use movs to move low
1881 (*thumb1_movhf): Likewise.
1883 2014-11-11 Uros Bizjak <ubizjak@gmail.com>
1885 * sreal.c (sreal::to_int): Use INTTYPE_MAXIMUM (int64_t)
1886 instead of INT64_MAX.
1888 2014-11-11 Tobias Burnus <burnus@net-b.de>
1890 * doc/install.texi (Prerequisites): Remove CLooG.
1892 2014-11-10 Trevor Saunders <tsaunders@mozilla.com>
1894 * ipa-inline.c (edge_badness): Adjust.
1895 (inline_small_functions): Likewise.
1896 * predict.c (propagate_freq): Likewise.
1897 (estimate_bb_frequencies): Likewise.
1898 * sreal.c (sreal::dump): Rename from dump_sreal.
1900 (copy): Remove function.
1901 (sreal::shift_right): Rename from sreal_sift_right.
1902 (sreal::normalize): Rename from normalize.
1903 (sreal_init): Remove function.
1904 (sreal::to_int): Rename from sreal_to_int.
1905 (sreal_compare): Remove function.
1906 (sreal::operator+): Rename from sreal_add.
1907 (sreal::operator-): Rename from sreal_sub.
1908 (sreal::operator*): Rename from sreal_mul.
1909 (sreal::operator/): Rename from sreal_div.
1910 * sreal.h (class sreal): Adjust.
1911 (inline sreal &operator+=): New operator.
1912 (inline sreal &operator-=): Likewise.
1913 (inline sreal &operator/=): Likewise.
1914 (inline sreal &operator*=): Likewise.
1915 (inline bool operator!=): Likewise.
1916 (inline bool operator>): Likewise.
1917 (inline bool operator<=): Likewise.
1918 (inline bool operator>=): Likewise.
1920 2014-11-11 Bin Cheng <bin.cheng@arm.com>
1922 * sched-deps.c (sched_analyze_1): Check pending list if it is not
1923 less than MAX_PENDING_LIST_LENGTH.
1924 (sched_analyze_2, sched_analyze_insn, deps_analyze_insn): Ditto.
1926 2014-11-11 Uros Bizjak <ubizjak@gmail.com>
1928 * config/i386/i386.c (ix86_decompose_address): Replace open-coded
1929 swap with std::swap to swap values.
1930 (ix86_fixup_binary_operands): Ditto.
1931 (ix86_binary_operator_ok): Ditto.
1932 (ix86_prepare_fp_compare_args): Ditto.
1933 (ix86_expand_branch): Ditto.
1934 (ix86_expand_carry_flag_compare): Ditto.
1935 (ix86_expand_int_movcc): Ditto.
1936 (ix86_prepare_sse_fp_compare_args): Ditto.
1937 (ix86_expand_sse_fp_minmax): Ditto.
1938 (ix86_expand_int_vcond): Ditto.
1939 (ix86_split_long_move): Ditto.
1940 (ix86_expand_sse_comi): Ditto.
1941 (ix86_expand_sse_compare_and_jump): Ditto.
1942 (ix86_expand_sse_compare_mask): Ditto.
1943 * config/i386/i386.md (*add<mode>_1): Ditto.
1944 (addsi_1_zext): Ditto.
1947 (*add<mode>_2): Ditto.
1948 (*addsi_2_zext): Ditto.
1949 (*add<mode>_3): Ditto.
1950 (*addsi_3_zext): Ditto.
1951 (*add<mode>_5): Ditto.
1952 (absneg splitter): Ditto.
1954 2014-11-11 Uros Bizjak <ubizjak@gmail.com>
1957 2014-10-31 Uros Bizjak <ubizjak@gmail.com>
1960 * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): Declare.
1961 * config/i386/i386.c (ix86_use_pseudo_pic_reg): Export.
1962 * config/i386/i386.md (*pushtf): Allow only CONST_DOUBLEs that won't
1963 be reloaded through memory.
1967 2014-11-11 Jakub Jelinek <jakub@redhat.com>
1968 Martin Liska <mliska@suse.cz>
1970 * ipa-icf-gimple.c (func_checker::compare_bb): Fix comment typo.
1971 (func_checker::compare_gimple_call): Compare gimple_call_fn,
1972 gimple_call_chain, gimple_call_fntype and call flags.
1974 2014-11-10 Vladimir Makarov <vmakarov@redhat.com>
1976 PR rtl-optimization/63620
1977 PR rtl-optimization/63799
1978 * lra-lives.c (process_bb_lives): Do not delete EH_REGION, trapped
1979 and setting PIC pseudo insns.
1980 (lra_create_live_ranges): Fix the typo.
1982 2014-11-10 Patrick Palka <ppalka@gcc.gnu.org>
1985 * tree-ssa-propagate.c (may_propagate_copy): Allow propagating
1986 SSA copies whose source and destination names both occur in
1989 2014-11-10 Roman Gareev <gareevroman@gmail.com>
1991 * Makefile.in: Remove the compilation of graphite-clast-to-gimple.o.
1992 * common.opt: Remove using of fgraphite-code-generator flag.
1993 * flag-types.h: Likewise.
1994 * graphite.c: Remove using of CLooG.
1995 * graphite-blocking.c: Likewise.
1996 * graphite-dependences.c: Likewise.
1997 * graphite-poly.c: Likewise.
1998 * graphite-poly.h: Likewise.
1999 * graphite-scop-detection.c: Likewise.
2000 * graphite-sese-to-poly.c: Likewise.
2001 * graphite-clast-to-gimple.c: Removed.
2002 * graphite-clast-to-gimple.h: Likewise.
2003 * graphite-htab.h: Likewise.
2005 2014-11-10 Paolo Carlini <paolo.carlini@oracle.com>
2007 * doc/invoke.texi ([-Wshift-count-negative, -Wshift-count-overflow]):
2010 2014-11-10 Richard Sandiford <richard.sandiford@arm.com>
2012 * config/frv/frv.c (frv_io_handle_use_1): Delete.
2013 (frv_io_handle_use): Use find_all_hard_regs.
2015 2014-11-10 Richard Sandiford <richard.sandiford@arm.com>
2017 * config/frv/frv.c (frv_registers_conflict_p_1): Take an rtx rather
2018 than an rtx *. Take the regstate_t directly rather than via a void *.
2019 Return a bool rather than an int. Iterate over all subrtxes here.
2020 (frv_registers_conflict_p): Update accordingly.
2022 2014-11-10 Richard Sandiford <richard.sandiford@arm.com>
2024 * config/frv/frv.c: Include rtl-iter.h.
2025 (frv_acc_group_1): Delete.
2026 (frv_acc_group): Use FOR_EACH_SUBRTX.
2028 2014-11-10 Richard Sandiford <richard.sandiford@arm.com>
2030 * config/frv/frv.c: Move include of rtl.h after hard-reg-set.h.
2031 (frv_clear_registers_used): Delete.
2032 (frv_ifcvt_modify_tests): Use find_all_hard_regs.
2034 2014-11-10 Jan Hubicka <hubicka@ucw.cz>
2037 * calls.c (initialize_argument_information): When emitting thunk call
2038 use original memory placement of the argument.
2040 2014-11-10 Renlin Li <renlin.li@arm.com>
2043 * tree-ssa-threadupdate.c (compute_path_counts): Bound path_in_freq.
2045 2014-11-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2047 * expmed.c (expand_shift_1): Expand 8 bit rotate of 16 bit value to
2048 bswaphi if available.
2050 2014-11-10 Bernd Schmidt <bernds@codesourcery.com>
2052 * config/nvptx/nvptx.c: New file.
2053 * config/nvptx/nvptx.h: New file.
2054 * config/nvptx/nvptx-protos.h: New file.
2055 * config/nvptx/nvptx.md: New file.
2056 * config/nvptx/t-nvptx: New file.
2057 * config/nvptx/nvptx.opt: New file.
2058 * common/config/nvptx/nvptx-common.c: New file.
2059 * config.gcc: Handle nvptx-*-*.
2061 2014-11-10 Richard Biener <rguenther@suse.de>
2063 * tree-ssa-operands.c (finalize_ssa_uses): Properly put
2064 released operands on the free list.
2066 2014-11-10 Richard Biener <rguenther@suse.de>
2068 * match.pd: Implement pattern from simplify_mult.
2069 * tree-ssa-forwprop.c (simplify_mult): Remove.
2070 (pass_forwprop::execute): Do not call simplify_mult.
2072 2014-11-10 Richard Biener <rguenther@suse.de>
2074 PR tree-optimization/63800
2075 * tree-ssa-pre.c (eliminate_push_avail): Push in a way so
2076 we can restore the previous availability in after_dom_children.
2077 (eliminate_dom_walker::after_dom_children): Restore
2078 previous availability.
2080 2014-11-10 Richard Biener <rguenther@suse.de>
2083 * expr.c (expand_expr_real_2): When expanding FMA_EXPRs
2084 properly treat the embedded multiplication as commutative
2085 when looking for feeding negates.
2087 2014-11-10 Joern Rennecke <joern.rennecke@embecosm.com>
2089 * config/avr/avr.h (CPLUSPLUS_CPP_SPEC): Define.
2091 2014-11-10 Martin Liska <mliska@suse.cz>
2093 * gcc.dg/tree-ssa/ldist-19.c: ICF is disabled
2094 for the test because of default char signedness
2095 on powerpc64 target.
2097 2014-11-10 Richard Biener <rguenther@suse.de>
2099 * match.pd: Implement pattern from simplify_conversion_from_bitmask.
2100 * tree-ssa-forwprop.c (simplify_conversion_from_bitmask): Remove.
2101 (pass_forwprop::execute): Do not call simplify_conversion_from_bitmask.
2103 2014-11-10 Richard Biener <rguenther@suse.de>
2105 * match.pd: Move rest of the conversion combining patterns
2106 from tree-ssa-forwprop.c.
2107 * tree-ssa-forwprop.c (combine_conversions): Remove.
2108 (pass_forwprop::execute): Do not call it.
2110 2014-11-10 Eric Botcazou <ebotcazou@adacore.com>
2112 * gimple-low.c (lower_function_body): Clear the location of the first
2113 inserted representative return if it also fills in for the fallthru.
2115 2014-11-10 Yuri Rumyantsev <ysrumyan@gmail.com>
2117 * tree-if-conv.c (add_to_predicate_list): Check unconditionally
2118 that bb is always executed to early exit. Use predicate of
2119 cd-equivalent block for join blocks if it exists.
2120 (if_convertible_loop_p_1): Recompute POST_DOMINATOR tree.
2121 (tree_if_conversion): Free post-dominance information.
2123 2014-11-09 Jason Merrill <jason@redhat.com>
2125 * config/i386/avx512vldqintrin.h (_mm256_broadcast_f32x2): __mmask8.
2126 * config/i386/avx512vlintrin.h (_mm256_mask_cvtepi32_storeu_epi16)
2127 (_mm_mask_cvtusepi32_storeu_epi16)
2128 (_mm_mask_cvtsepi64_storeu_epi32): Return void.
2130 2014-11-09 Joern Rennecke <joern.rennecke@embecosm.com>
2132 * config/avr/predicates.md (low_io_address_operand): Fix typo.
2134 2014-11-09 Vladimir Makarov <vmakarov@redhat.com>
2136 PR rtl-optimization/63620
2137 * lra-constraints.c (substitute_pseudo): Add prefix lra_ to the
2138 name. Move to lra.c. Make it external.
2139 (substitute_pseudo_within_insn): Ditto.
2140 (inherit_reload_reg, split_reg, remove_inheritance_pseudos): Use
2142 (undo_optional_reloads): Ditto.
2143 * lra-int.h (lra_dump_bitmap_with_title, lra_substitute_pseudo):
2145 (lra_substitute_pseudo_within_insn): Ditto.
2146 * lra-lives.c (bb_killed_pseudos, bb_gen_pseudos): New.
2147 (mark_regno_live): Add parameter. Update bb_gen_pseudos.
2148 (mark_regno_dead): Add parameter. Update bb_gen_pseudos and
2150 (struct bb_data, bb_data_t, bb_data): New.
2151 (get_bb_data, get_bb_data_by_index): Ditto.
2152 (all_hard_regs_bitmap): New.
2153 (live_trans_fun, live_con_fun_0, live_con_fun_n, all_blocks): New.
2154 (initiate_live_solver, finish_live_solver): New.
2155 (process_bb_lives): Change return type. Add code updating local
2156 live data and removing dead insns. Pass new argument to
2157 mark_regno_live and mark_regno_dead. Check changing bb pseudo
2158 life info. Return the result.
2159 (lra_create_live_ranges): Add code to do global pseudo live
2161 (lra_live_ranges_init): Call initiate_live_solver.
2162 (lra_live_ranges_finish): Call finish_live_solver.
2163 * lra.c (lra_dump_bitmap_with_title): New.
2164 (lra_substitute_pseudo, lra_substitute_pseudo_within_insn): Move
2165 from lra-constraints.c.
2167 2014-11-09 Richard Biener <rguenther@suse.de>
2169 * match.pd: Add patterns convering two conversions in a row
2171 * fold-const.c (fold_unary_loc): Remove them here.
2172 * tree-ssa-forwprop.c (combine_conversions): Likewise.
2173 * genmatch.c (dt_node::gen_kids): Check whether we may
2174 follow SSA use-def chains.
2176 2014-11-08 Richard Sandiford <richard.sandiford@arm.com>
2178 * config/aarch64/aarch64.c: Include rtl-iter.h.
2179 (aarch64_tls_operand_p_1): Delete.
2180 (aarch64_tls_operand_p): Use FOR_EACH_SUBRTX.
2182 2014-11-08 Richard Sandiford <richard.sandiford@arm.com>
2184 * config/arm/arm.c (arm_note_pic_base): Delete.
2185 (arm_cannot_copy_insn_p): Use FOR_EACH_SUBRTX.
2187 2014-11-08 Richard Sandiford <richard.sandiford@arm.com>
2189 * config/arm/arm.c: Include rtl-iter.h.
2190 (arm_tls_referenced_p_1): Delete.
2191 (arm_tls_referenced_p): Use FOR_EACH_SUBRTX.
2193 2014-11-08 Richard Sandiford <richard.sandiford@arm.com>
2195 * config/arm/aarch-common.c: Include rtl-iter.h.
2196 (search_term, arm_find_sub_rtx_with_search_term): Delete.
2197 (arm_find_sub_rtx_with_code): Use FOR_EACH_SUBRTX_VAR.
2198 (arm_get_set_operands): Pass the insn pattern rather than the
2200 (arm_no_early_store_addr_dep): Likewise.
2202 2014-11-08 Eric Botcazou <ebotcazou@adacore.com>
2204 * config/arm/arm.c (arm_set_return_address): Mark the store as frame
2206 (thumb_set_return_address): Likewise.
2208 2014-11-07 Jeff Law <law@redhat.com>
2210 PR tree-optimization/61515
2211 * tree-ssa-threadedge.c (invalidate_equivalences): Walk the unwinding
2212 stack rather than looking at every SSA_NAME's value.
2214 2014-11-07 Richard Biener <rguenther@suse.de>
2216 PR tree-optimization/63605
2217 * fold-const.c (fold_binary_loc): Properly use element_precision
2218 for types that may not be scalar.
2220 2014-11-07 Evgeny Stupachenko <evstupac@gmail.com>
2223 * config/i386/i386.md (builtin_setjmp_receiver): Use
2224 pic_offset_table_rtx for PIC register.
2225 (nonlocal_goto_receiver): Delete.
2227 2014-11-07 Daniel Hellstrom <daniel@gaisler.com>
2229 * config.gcc (sparc-*-rtems*): Clean away unused t-elf.
2230 * config/sparc/t-rtems: Add leon3v7 and muser-mode multilibs.
2232 2014-11-07 Martin Liska <mliska@suse.cz>
2235 * cgraphunit.c (cgraph_node::create_wrapper):
2236 TREE_ADDRESSABLE is set to false for a newly created thunk.
2238 2014-11-07 Martin Liska <mliska@suse.cz>
2241 * ipa-icf-gimple.c (func_checker::compare_gimple_switch):
2242 Missing checking for CASE_LOW and CASE_HIGH added.
2244 2014-11-07 Martin Liska <mliska@suse.cz>
2247 * cgraphunit.c (cgraph_node::expand_thunk): DECL_BY_REFERENCE
2248 is correctly handled for thunks created by IPA ICF.
2250 2014-11-07 Jiong Wang <jiong.wang@arm.com>
2251 2014-11-07 Richard Biener <rguenther@suse.de>
2253 PR tree-optimization/63676
2254 * gimple-fold.c (fold_gimple_assign): Do not fold node when
2255 TREE_CLOBBER_P be true.
2257 2014-11-07 Richard Biener <rguenther@suse.de>
2260 * match.pd: Guard conflicting GENERIC pattern properly.
2262 2014-11-07 Richard Biener <rguenther@suse.de>
2264 * match.pd: Add patterns for POINTER_PLUS_EXPR association
2265 and special patterns from tree-ssa-forwprop.c
2266 * fold-const.c (fold_binary_loc): Remove them here.
2267 * tree-ssa-forwprop.c (to_purge): New global bitmap.
2268 (fwprop_set_lattice_val): New function.
2269 (fwprop_invalidate_lattice): Likewise.
2270 (remove_prop_source_from_use): Instead of purging dead EH
2271 edges record blocks to do that in to_purge.
2272 (tidy_after_forward_propagate_addr): Likewise.
2273 (forward_propagate_addr_expr): Invalidate the lattice for
2274 SSA names we release.
2275 (simplify_conversion_from_bitmask): Likewise.
2276 (simplify_builtin_call): Likewise.
2277 (associate_pointerplus_align): Remove.
2278 (associate_pointerplus_diff): Likewise.
2279 (associate_pointerplus): Likewise.
2280 (fold_all_stmts): Merge with ...
2281 (pass_forwprop::execute): ... the original loop over all
2282 basic-blocks. Delay purging dead EH edges and invalidate
2283 the lattice for SSA names we release.
2285 2014-11-07 Terry Guo <terry.guo@arm.com>
2287 * config/arm/arm.opt (masm-syntax-unified): New option.
2288 * doc/invoke.texi (-masm-syntax-unified): Document new option.
2289 * config/arm/arm.h (TARGET_UNIFIED_ASM): Also include thumb1.
2290 (ASM_APP_ON): Redefined.
2291 * config/arm/arm.c (arm_option_override): Thumb2 inline assembly
2292 code always use UAL syntax.
2293 (arm_output_mi_thunk): Use UAL syntax for Thumb1 target.
2294 * config/arm/thumb1.md: Likewise.
2296 2014-11-06 John David Anglin <danglin@gcc.gnu.org>
2298 * config/pa/pa.md (trap): New insn. Add "trap" to attribute type.
2299 Don't allow trap insn in in_branch_delay, in_nullified_branch_delay
2302 2014-11-06 Steve Ellcey <sellcey@imgtec.com>
2304 * config.gcc (mips*-mti-linux*): Remove gnu_ld and gas assignments.
2305 Set default_mips_arch and default_mips_abi instead of tm_defines.
2306 (mips*-*-linux*): Set default_mips_arch and default_mips_abi instead
2308 (mips*-*-*): Check with_arch and with_abi. Set tm_defines.
2309 * config/mips/mips.h (STANDARD_STARTFILE_PREFIX_1): Set default
2310 based on MIPS_ABI_DEFAULT.
2311 (STANDARD_STARTFILE_PREFIX_2): Ditto.
2313 2014-11-06 Joseph Myers <joseph@codesourcery.com>
2315 * doc/invoke.texi (-std=c99, -std=c11): Don't refer to corner
2316 cases of extended identifiers.
2318 2014-11-06 Eric Botcazou <ebotcazou@adacore.com>
2320 * tree-cfgcleanup.c (fixup_noreturn_call): Do not perform DCE here.
2322 2014-11-06 DJ Delorie <dj@redhat.com>
2324 * config/m32c/cond.md (movqicc_<code>_<mode>): Remove mode of
2326 (movhicc_<code>_<mode>): Likewise.
2327 * config/m32c/m32c.c (encode_pattern_1): Specialise PSImode
2329 (m32c_eh_return_data_regno): Change to using memregs to avoid
2330 tying up all the compute regs.
2331 (m32c_legitimate_address_p) Subregs are not valid addresses.
2333 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2335 * function.c (thread_prologue_and_epilogue_insns): No longer static.
2336 * function.h (thread_prologue_and_epilogue_insns): Declare.
2338 * target.def (assemble_undefined_decl): New hooks.
2339 * hooks.c (hook_void_FILEptr_constcharptr_const_tree): New function.
2340 * hooks.h (hook_void_FILEptr_constcharptr_const_tree): Declare.
2341 * doc/tm.texi.in (TARGET_ASM_ASSEMBLE_UNDEFINED_DECL): Add.
2342 * doc/tm.texi: Regenerate.
2343 * output.h (assemble_undefined_decl): Declare.
2344 (get_fnname_from_decl): Declare.
2345 * varasm.c (assemble_undefined_decl): New function.
2346 (get_fnname_from_decl): New function.
2347 * final.c (rest_of_handle_final): Use it.
2348 * varpool.c (varpool_output_variables): Call assemble_undefined_decl
2349 for nodes without a definition.
2351 * target.def (call_args, end_call_args): New hooks.
2352 * hooks.c (hook_void_rtx_tree): New empty function.
2353 * hooks.h (hook_void_rtx_tree): Declare.
2354 * doc/tm.texi.in (TARGET_CALL_ARGS, TARGET_END_CALL_ARGS): Add.
2355 * doc/tm.texi: Regenerate.
2356 * calls.c (expand_call): Slightly rearrange the code. Use the two new
2358 (expand_library_call_value_1): Use the two new hooks.
2360 * expr.c (use_reg_mode): Just return for pseudo registers.
2362 * combine.c (try_combine): Don't allow a call as one of the source
2365 * target.def (decl_end): New hook.
2366 * varasm.c (assemble_variable_contents, assemble_constant_contents):
2368 * doc/tm.texi.in (TARGET_ASM_DECL_END): Add.
2369 * doc/tm.texi: Regenerate.
2371 2014-11-06 Renlin Li <renlin.li@arm.com>
2373 * config/aarch64/aarch64.c (aarch64_architecture_version): New.
2374 (processor): New architecture_version field.
2375 (aarch64_override_options): Initialize aarch64_architecture_version.
2376 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_ARCH,
2377 __ARM_ARCH_PROFILE, aarch64_arch_name macro.
2379 2014-11-06 James Greenhalgh <james.greenhalgh@arm.com>
2381 * params.def (sra-max-scalarization-size-Ospeed): New.
2382 (sra-max-scalarization-size-Osize): Likewise.
2383 * doc/invoke.texi (sra-max-scalarization-size-Ospeed): Document.
2384 (sra-max-scalarization-size-Osize): Likewise.
2385 * toplev.c (process_options): Set default values for new
2387 * tree-sra.c (analyze_all_variable_accesses): Use new parameters.
2388 * targhooks.c (get_move_ratio): Remove static designator.
2389 * target.h (get_move_ratio): Declare.
2391 2014-11-06 Marek Polacek <polacek@redhat.com>
2393 * sanopt.c (sanopt_optimize_walker): Limit removal of the checks.
2394 Remove vector limit.
2396 2014-11-06 Richard Biener <rguenther@suse.de>
2398 * match.pd: Implement bitwise binary and unary simplifications
2399 from tree-ssa-forwprop.c.
2400 * fold-const.c (fold_unary_loc): Remove them here.
2401 (fold_binary_loc): Likewise.
2402 * tree-ssa-forwprop.c (simplify_not_neg_expr): Remove.
2403 (truth_valued_ssa_name): Likewise.
2404 (lookup_logical_inverted_value): Likewise.
2405 (simplify_bitwise_binary_1): Likewise.
2406 (hoist_conversion_for_bitop_p): Likewise.
2407 (simplify_bitwise_binary_boolean): Likewise.
2408 (simplify_bitwise_binary): Likewise.
2409 (pass_forwprop::execute): Remove calls to simplify_not_neg_expr
2410 and simplify_bitwise_binary.
2411 * genmatch.c (dt_node::append_true_op): Use safe_as_a for parent.
2412 (decision_tree::insert): Also insert non-expressions.
2414 2014-11-06 Hale Wang <hale.wang@arm.com>
2416 * config/arm/arm-cores.def: Add support for
2417 -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
2418 cortex-m1.small-multiply.
2419 * config/arm/arm-tables.opt: Regenerate.
2420 * config/arm/arm-tune.md: Regenerate.
2421 * config/arm/arm.c: Update the rtx-costs for MUL.
2422 * config/arm/bpabi.h: Handle
2423 -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
2424 cortex-m1.small-multiply.
2425 * doc/invoke.texi: Document
2426 -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
2427 cortex-m1.small-multiply.
2429 2014-11-06 Hale Wang <hale.wang@arm.com>
2431 * config/arm/arm.c: Add cortex-m7 tune.
2432 * config/arm/arm-cores.def: Use cortex-m7 tune.
2434 2014-11-05 Uros Bizjak <ubizjak@gmail.com>
2437 * config/i386/i386.c (in_large_data_p): Reject automatic variables.
2438 (ix86_encode_section_info): Do not check for non-automatic varibles
2439 when setting SYMBOL_FLAG_FAR_ADDR flag.
2440 (x86_64_elf_select_section): Do not check ix86_cmodel here.
2441 (x86_64_elf_unique_section): Ditto.
2442 (x86_elf_aligned_common): Emit tab before .largecomm.
2444 2014-11-05 Joseph Myers <joseph@codesourcery.com>
2446 PR preprocessor/9449
2447 * doc/cpp.texi (Character sets, Tokenization)
2448 (Implementation-defined behavior): Don't refer to UCNs in
2449 identifiers requiring -fextended-identifiers.
2450 * doc/cppopts.texi (-fextended-identifiers): Document as enabled
2451 by default for C99 and later and C++.
2452 * doc/invoke.texi (-std=c99, -std=c11): Don't refer to extended
2453 identifiers needing -fextended-identifiers.
2455 2014-11-05 Ilya Tocar <ilya.tocar@intel.com>
2457 * config/i386/i386.c (expand_vec_perm_pshufb): Try vpermq/vpermd
2458 for 512-bit wide modes.
2459 (expand_vec_perm_1): Use correct versions of patterns.
2460 * config/i386/sse.md (avx512f_vec_dup<mode>_1): New.
2461 (vashr<mode>3<mask_name>): Split V8HImode and V16QImode.
2463 2014-11-05 Ilya Enkovich <ilya.enkovich@intel.com>
2469 * tree-chkp-opt.c: New.
2472 * Makefile.in (OBJS): Add ipa-chkp.o, rtl-chkp.o, tree-chkp.o
2474 (GTFILES): Add tree-chkp.c.
2475 * mode-classes.def (MODE_POINTER_BOUNDS): New.
2476 * tree.def (POINTER_BOUNDS_TYPE): New.
2477 * genmodes.c (complete_mode): Support MODE_POINTER_BOUNDS.
2478 (POINTER_BOUNDS_MODE): New.
2479 (make_pointer_bounds_mode): New.
2480 * machmode.h (POINTER_BOUNDS_MODE_P): New.
2481 * stor-layout.c (int_mode_for_mode): Support MODE_POINTER_BOUNDS.
2482 (layout_type): Support POINTER_BOUNDS_TYPE.
2483 * tree-pretty-print.c (dump_generic_node): Support POINTER_BOUNDS_TYPE.
2484 * tree-core.h (tree_index): Add TI_POINTER_BOUNDS_TYPE.
2485 * tree.c (build_int_cst_wide): Support POINTER_BOUNDS_TYPE.
2486 (type_contains_placeholder_1): Likewise.
2487 (build_common_tree_nodes): Initialize
2488 pointer_bounds_type_node.
2489 * tree.h (POINTER_BOUNDS_TYPE_P): New.
2490 (pointer_bounds_type_node): New.
2491 (POINTER_BOUNDS_P): New.
2492 (BOUNDED_TYPE_P): New.
2494 (CALL_WITH_BOUNDS_P): New.
2495 * gimple.h (gf_mask): Add GF_CALL_WITH_BOUNDS.
2496 (gimple_call_with_bounds_p): New.
2497 (gimple_call_set_with_bounds): New.
2498 (gimple_return_retbnd): New.
2499 (gimple_return_set_retbnd): New
2500 * gimple.c (gimple_build_return): Increase number of ops
2501 for return statement.
2502 (gimple_build_call_from_tree): Propagate CALL_WITH_BOUNDS_P
2504 * gimple-pretty-print.c (dump_gimple_return): Print second op.
2505 * rtl.h (CALL_EXPR_WITH_BOUNDS_P): New.
2506 * gimplify.c (gimplify_init_constructor): Avoid infinite
2507 loop during gimplification of bounds initializer.
2508 * calls.c: Include tree-chkp.h, rtl-chkp.h, bitmap.h.
2509 (special_function_p): Use original decl name when analyzing
2510 instrumentation clone.
2511 (arg_data): Add fields special_slot, pointer_arg and
2513 (store_bounds): New.
2514 (emit_call_1): Propagate instrumentation flag for CALL.
2515 (initialize_argument_information): Compute pointer_arg,
2516 pointer_offset and special_slot for pointer bounds arguments.
2517 (finalize_must_preallocate): Preallocate when storing bounds
2519 (compute_argument_addresses): Skip pointer bounds.
2520 (expand_call): Store bounds into tables separately. Return
2521 result joined with resulting bounds.
2522 * cfgexpand.c: Include tree-chkp.h, rtl-chkp.h.
2523 (expand_call_stmt): Propagate bounds flag for CALL_EXPR.
2524 (expand_return): Add returned bounds arg. Handle returned bounds.
2525 (expand_gimple_stmt_1): Adjust to new expand_return signature.
2526 (gimple_expand_cfg): Reset rtx bounds map.
2527 * expr.c: Include tree-chkp.h, rtl-chkp.h.
2528 (expand_assignment): Handle returned bounds.
2529 (store_expr_with_bounds): New. Replaces store_expr with new bounds
2530 target argument. Handle bounds returned by calls.
2531 (store_expr): Now wraps store_expr_with_bounds.
2532 * expr.h (store_expr_with_bounds): New.
2533 * function.c: Include tree-chkp.h, rtl-chkp.h.
2534 (bounds_parm_data): New.
2535 (use_register_for_decl): Do not registerize decls used for bounds
2537 (assign_parms_augmented_arg_list): Add bounds of the result
2538 structure pointer as the second argument.
2539 (assign_parm_find_entry_rtl): Mark bounds are never passed on
2541 (assign_parm_is_stack_parm): Likewise.
2542 (assign_parm_load_bounds): New.
2543 (assign_bounds): New.
2544 (assign_parms): Load bounds and determine a location for
2546 (diddle_return_value_1): New.
2547 (diddle_return_value): Handle returned bounds.
2548 * function.h (rtl_data): Add field for returned bounds.
2549 * varasm.c: Include tree-chkp.h.
2550 (output_constant): Support POINTER_BOUNDS_TYPE.
2551 (output_constant_pool_2): Support MODE_POINTER_BOUNDS.
2552 (ultimate_transparent_alias_target): Move up.
2553 (make_decl_rtl): For instrumented function use
2554 name of the original decl.
2555 (assemble_start_function): Mark function as global
2556 in case it is instrumentation clone of the global
2558 (do_assemble_alias): Follow transparent alias chain
2559 for identifier. Check if original alias is public.
2560 (maybe_assemble_visibility): Use visibility of the
2561 original function for instrumented version.
2562 (default_unique_section): Likewise.
2563 * emit-rtl.c (immed_double_const): Support MODE_POINTER_BOUNDS.
2564 (init_emit_once): Build pointer bounds zero constants.
2565 * explow.c (trunc_int_for_mode): Support MODE_POINTER_BOUNDS.
2566 * target.def (builtin_chkp_function): New.
2567 (chkp_bound_type): New.
2568 (chkp_bound_mode): New.
2569 (chkp_make_bounds_constant): New.
2570 (chkp_initialize_bounds): New.
2571 (load_bounds_for_arg): New.
2572 (store_bounds_for_arg): New.
2573 (load_returned_bounds): New.
2574 (store_returned_bounds): New.
2575 (chkp_function_value_bounds): New.
2576 (setup_incoming_vararg_bounds): New.
2577 (function_arg): Update hook description with new possible return
2579 * targhooks.h (default_load_bounds_for_arg): New.
2580 (default_store_bounds_for_arg): New.
2581 (default_load_returned_bounds): New.
2582 (default_store_returned_bounds): New.
2583 (default_chkp_bound_type): New.
2584 (default_chkp_bound_mode): New.
2585 (default_builtin_chkp_function): New.
2586 (default_chkp_function_value_bounds): New.
2587 (default_chkp_make_bounds_constant): New.
2588 (default_chkp_initialize_bounds): New.
2589 (default_setup_incoming_vararg_bounds): New.
2590 * targhooks.c (default_load_bounds_for_arg): New.
2591 (default_store_bounds_for_arg): New.
2592 (default_load_returned_bounds): New.
2593 (default_store_returned_bounds): New.
2594 (default_chkp_bound_type): New.
2595 (default_chkp_bound_mode); New.
2596 (default_builtin_chkp_function): New.
2597 (default_chkp_function_value_bounds): New.
2598 (default_chkp_make_bounds_constant): New.
2599 (default_chkp_initialize_bounds): New.
2600 (default_setup_incoming_vararg_bounds): New.
2601 * builtin-types.def (BT_BND): New.
2602 (BT_FN_PTR_CONST_PTR): New.
2603 (BT_FN_CONST_PTR_CONST_PTR): New.
2604 (BT_FN_BND_CONST_PTR): New.
2605 (BT_FN_CONST_PTR_BND): New.
2606 (BT_FN_PTR_CONST_PTR_SIZE): New.
2607 (BT_FN_PTR_CONST_PTR_CONST_PTR): New.
2608 (BT_FN_VOID_PTRPTR_CONST_PTR): New.
2609 (BT_FN_VOID_CONST_PTR_SIZE): New.
2610 (BT_FN_VOID_PTR_BND): New.
2611 (BT_FN_CONST_PTR_CONST_PTR_CONST_PTR): New.
2612 (BT_FN_BND_CONST_PTR_SIZE): New.
2613 (BT_FN_PTR_CONST_PTR_CONST_PTR_SIZE): New.
2614 (BT_FN_VOID_CONST_PTR_BND_CONST_PTR): New.
2615 * chkp-builtins.def: New.
2616 * builtins.def: include chkp-builtins.def.
2617 (DEF_CHKP_BUILTIN): New.
2618 * builtins.c: Include tree-chkp.h and rtl-chkp.h.
2619 (expand_builtin): Support BUILT_IN_CHKP_INIT_PTR_BOUNDS,
2620 BUILT_IN_CHKP_NULL_PTR_BOUNDS, BUILT_IN_CHKP_COPY_PTR_BOUNDS,
2621 BUILT_IN_CHKP_CHECK_PTR_LBOUNDS, BUILT_IN_CHKP_CHECK_PTR_UBOUNDS,
2622 BUILT_IN_CHKP_CHECK_PTR_BOUNDS, BUILT_IN_CHKP_SET_PTR_BOUNDS,
2623 BUILT_IN_CHKP_NARROW_PTR_BOUNDS, BUILT_IN_CHKP_STORE_PTR_BOUNDS,
2624 BUILT_IN_CHKP_GET_PTR_LBOUND, BUILT_IN_CHKP_GET_PTR_UBOUND,
2625 BUILT_IN_CHKP_BNDMK, BUILT_IN_CHKP_BNDSTX, BUILT_IN_CHKP_BNDCL,
2626 BUILT_IN_CHKP_BNDCU, BUILT_IN_CHKP_BNDLDX, BUILT_IN_CHKP_BNDRET,
2627 BUILT_IN_CHKP_INTERSECT, BUILT_IN_CHKP_NARROW,
2628 BUILT_IN_CHKP_EXTRACT_LOWER, BUILT_IN_CHKP_EXTRACT_UPPER.
2629 (std_expand_builtin_va_start): Init bounds for va_list.
2630 * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Add
2631 __CHKP__ macro when Pointer Bounds Checker is on.
2632 * params.def (PARAM_CHKP_MAX_CTOR_SIZE): New.
2633 * passes.def (pass_ipa_chkp_versioning): New.
2634 (pass_early_local_passes): Renamed to pass_build_ssa_passes.
2635 (pass_fixup_cfg): Moved to pass_chkp_instrumentation_passes.
2636 (pass_chkp_instrumentation_passes): New.
2637 (pass_ipa_chkp_produce_thunks): New.
2638 (pass_local_optimization_passes): New.
2639 (pass_chkp_opt): New.
2640 * tree-pass.h (make_pass_ipa_chkp_versioning): New.
2641 (make_pass_ipa_chkp_produce_thunks): New.
2642 (make_pass_chkp): New.
2643 (make_pass_chkp_opt): New.
2644 (make_pass_early_local_passes): Renamed to ...
2645 (make_pass_build_ssa_passes): This.
2646 (make_pass_chkp_instrumentation_passes): New.
2647 (make_pass_local_optimization_passes): New.
2648 * passes.c (pass_manager::execute_early_local_passes): Execute
2649 early passes in three steps.
2650 (execute_all_early_local_passes): Renamed to ...
2651 (execute_build_ssa_passes): This.
2652 (pass_data_early_local_passes): Renamed to ...
2653 (pass_data_build_ssa_passes): This.
2654 (pass_early_local_passes): Renamed to ...
2655 (pass_build_ssa_passes): This.
2656 (pass_data_chkp_instrumentation_passes): New.
2657 (pass_chkp_instrumentation_passes): New.
2658 (pass_data_local_optimization_passes): New.
2659 (pass_local_optimization_passes): New.
2660 (make_pass_early_local_passes): Renamed to ...
2661 (make_pass_build_ssa_passes): This.
2662 (make_pass_chkp_instrumentation_passes): New.
2663 (make_pass_local_optimization_passes): New.
2664 * c-family/c.opt (fcheck-pointer-bounds): New.
2665 (fchkp-check-incomplete-type): New.
2666 (fchkp-zero-input-bounds-for-main): New.
2667 (fchkp-first-field-has-own-bounds): New.
2668 (fchkp-narrow-bounds): New.
2669 (fchkp-narrow-to-innermost-array): New.
2670 (fchkp-optimize): New.
2671 (fchkp-use-fast-string-functions): New.
2672 (fchkp-use-nochk-string-functions): New.
2673 (fchkp-use-static-bounds): New.
2674 (fchkp-use-static-const-bounds): New.
2675 (fchkp-treat-zero-dynamic-size-as-infinite): New.
2676 (fchkp-check-read): New.
2677 (fchkp-check-write): New.
2678 (fchkp-store-bounds): New.
2679 (fchkp-instrument-calls): New.
2680 (fchkp-instrument-marked-only): New.
2682 * c-family/c-common.c (handle_bnd_variable_size_attribute): New.
2683 (handle_bnd_legacy): New.
2684 (handle_bnd_instrument): New.
2685 (c_common_attribute_table): Add bnd_variable_size, bnd_legacy
2686 and bnd_instrument. Fix documentation.
2687 (c_common_format_attribute_table): Likewsie.
2688 * toplev.c: include tree-chkp.h.
2689 (process_options): Check Pointer Bounds Checker is supported.
2690 (compile_file): Add chkp_finish_file call.
2691 * ipa-cp.c (initialize_node_lattices): Use cgraph_local_p
2692 to handle instrumentation clones properly.
2693 (propagate_constants_accross_call): Do not propagate
2694 through instrumentation thunks.
2695 * ipa-pure-const.c (propagate_pure_const): Support
2697 * ipa-inline.c (early_inliner): Check edge has summary allocated.
2698 * ipa-split.c: Include tree-chkp.h.
2700 (split_part_set_ssa_name_p): New.
2701 (consider_split): Do not split retbnd and retval
2703 (insert_bndret_call_after): new.
2704 (split_function): Propagate Pointer Bounds Checker
2705 instrumentation marks and handle returned bounds.
2706 * tree-ssa-sccvn.h (vn_reference_op_struct): Transform opcode
2707 into bit field and add with_bounds field.
2708 * tree-ssa-sccvn.c (copy_reference_ops_from_call): Set
2709 with_bounds field for instrumented calls.
2710 * tree-ssa-pre.c (create_component_ref_by_pieces_1): Restore
2711 CALL_WITH_BOUNDS_P flag for calls.
2712 * tree-ssa-ccp.c: Include tree-chkp.h.
2713 (insert_clobber_before_stack_restore): Handle
2714 BUILT_IN_CHKP_BNDRET calls.
2715 * tree-ssa-dce.c: Include tree-chkp.h.
2716 (propagate_necessity): For free call fed by alloc check
2717 bounds are also provided by the same alloc.
2718 (eliminate_unnecessary_stmts): Handle BUILT_IN_CHKP_BNDRET
2720 * tree-inline.c: Include tree-chkp.h.
2721 (declare_return_variable): Add arg holding
2722 returned bounds slot. Create and initialize returned bounds var.
2723 (remap_gimple_stmt): Handle returned bounds.
2724 Return sequence of statements instead of a single statement.
2725 (insert_init_stmt): Add declaration.
2726 (remap_gimple_seq): Adjust to new remap_gimple_stmt signature.
2727 (copy_bb): Adjust to changed return type of remap_gimple_stmt.
2728 Properly handle bounds in va_arg_pack and va_arg_pack_len.
2729 (expand_call_inline): Handle returned bounds. Add bounds copy
2730 for generated mem to mem assignments.
2731 * tree-inline.h (copy_body_data): Add fields retbnd and
2733 * value-prof.c: Include tree-chkp.h.
2734 (gimple_ic): Support returned bounds.
2735 * ipa.c (cgraph_build_static_cdtor_1): Support contructors
2736 with "chkp ctor" and "bnd_legacy" attributes.
2737 (symtab_remove_unreachable_nodes): Keep initial values for
2738 pointer bounds to be used for checks eliminations.
2739 (process_references): Handle IPA_REF_CHKP.
2740 (walk_polymorphic_call_targets): Likewise.
2741 * ipa-visibility.c (cgraph_externally_visible_p): Mark
2742 instrumented 'main' as externally visible.
2743 (function_and_variable_visibility): Filter instrumentation
2745 * cgraph.h (cgraph_thunk_info): Add add_pointer_bounds_args
2747 (cgraph_node): Add instrumented_version, orig_decl and
2748 instrumentation_clone fields.
2749 (symtab_node::get_alias_target): Allow IPA_REF_CHKP reference.
2750 (varpool_node): Add need_bounds_init field.
2751 (cgraph_local_p): New.
2752 * cgraph.c: Include tree-chkp.h.
2753 (cgraph_node::remove): Fix instrumented_version
2754 of the referenced node if any.
2755 (cgraph_node::dump): Dump instrumentation_clone and
2756 instrumented_version fields.
2757 (cgraph_node::verify_node): Check correctness of IPA_REF_CHKP
2758 references and instrumentation thunks.
2759 (cgraph_can_remove_if_no_direct_calls_and_refs_p): Keep
2760 all not instrumented instrumentation clones alive.
2761 (cgraph_redirect_edge_call_stmt_to_callee): Support
2763 * cgraphbuild.c (rebuild_cgraph_edges): Rebuild IPA_REF_CHKP
2765 (cgraph_rebuild_references): Likewise.
2766 * cgraphunit.c: Include tree-chkp.h.
2767 (assemble_thunks_and_aliases): Skip thunks calling instrumneted
2769 (varpool_finalize_decl): Register statically initialized decls
2770 in Pointer Bounds Checker.
2771 (walk_polymorphic_call_targets): Do not mark generated call to
2772 __builtin_unreachable as with_bounds.
2773 (output_weakrefs): If there are both instrumented and original
2774 versions, output only one of them.
2775 (cgraph_node::expand_thunk): Set with_bounds flag
2776 for created call statement.
2777 * ipa-ref.h (ipa_ref_use): Add IPA_REF_CHKP.
2778 (ipa_ref): increase size of use field.
2779 * symtab.c (ipa_ref_use_name): Add element for IPA_REF_CHKP.
2780 * varpool.c (dump_varpool_node): Dump need_bounds_init field.
2781 (ctor_for_folding): Do not fold constant bounds vars.
2782 * lto-streamer.h (LTO_minor_version): Change minor version from
2784 * lto-cgraph.c (compute_ltrans_boundary): Keep initial values for
2786 (lto_output_node): Output instrumentation_clone,
2787 thunk.add_pointer_bounds_args and orig_decl field.
2788 (lto_output_ref): Adjust to new ipa_ref::use field size.
2789 (input_overwrite_node): Read instrumentation_clone field.
2790 (input_node): Read thunk.add_pointer_bounds_args and orig_decl
2792 (input_ref): Adjust to new ipa_ref::use field size.
2793 (input_cgraph_1): Compute instrumented_version fields and restore
2794 IDENTIFIER_TRANSPARENT_ALIAS chains.
2795 (lto_output_varpool_node): Output
2796 need_bounds_init value.
2797 (input_varpool_node): Read need_bounds_init value.
2798 * lto-partition.c (add_symbol_to_partition_1): Keep original
2799 and instrumented versions together.
2800 (privatize_symbol_name): Restore transparent alias chain if required.
2801 (add_references_to_partition): Add references to pointer bounds vars.
2802 * dbxout.c (dbxout_type): Ignore POINTER_BOUNDS_TYPE.
2803 * dwarf2out.c (gen_subprogram_die): Ignore bound args.
2804 (gen_type_die_with_usage): Skip pointer bounds.
2805 (dwarf2out_global_decl): Likewise.
2806 (is_base_type): Support POINTER_BOUNDS_TYPE.
2807 (gen_formal_types_die): Skip pointer bounds.
2808 (gen_decl_die): Likewise.
2809 * var-tracking.c (vt_add_function_parameters): Skip
2811 * ipa-icf.c (sem_function::merge): Do not merge when instrumentation
2813 (sem_variable::merge): Reset need_bounds_init flag.
2814 * doc/extend.texi: Document Pointer Bounds Checker built-in functions
2816 * doc/tm.texi.in (TARGET_LOAD_BOUNDS_FOR_ARG): New.
2817 (TARGET_STORE_BOUNDS_FOR_ARG): New.
2818 (TARGET_LOAD_RETURNED_BOUNDS): New.
2819 (TARGET_STORE_RETURNED_BOUNDS): New.
2820 (TARGET_CHKP_FUNCTION_VALUE_BOUNDS): New.
2821 (TARGET_SETUP_INCOMING_VARARG_BOUNDS): New.
2822 (TARGET_BUILTIN_CHKP_FUNCTION): New.
2823 (TARGET_CHKP_BOUND_TYPE): New.
2824 (TARGET_CHKP_BOUND_MODE): New.
2825 (TARGET_CHKP_MAKE_BOUNDS_CONSTANT): New.
2826 (TARGET_CHKP_INITIALIZE_BOUNDS): New.
2827 * doc/tm.texi: Regenerated.
2828 * doc/rtl.texi (MODE_POINTER_BOUNDS): New.
2831 * doc/invoke.texi (-mmpx): New.
2833 (chkp-max-ctor-size): New.
2834 * config/i386/constraints.md (w): New.
2837 * config/i386/i386-c.c (ix86_target_macros_internal): Add __MPX__.
2838 * config/i386/i386-modes.def (BND32): New.
2840 * config/i386/i386-protos.h (ix86_bnd_prefixed_insn_p): New.
2841 * config/i386/i386.c: Include tree-chkp.h, rtl-chkp.h, tree-iterator.h.
2842 (regclass_map): Add bound registers.
2843 (dbx_register_map): Likewise.
2844 (dbx64_register_map): Likewise.
2845 (svr4_dbx_register_map): Likewise.
2846 (isa_opts): Add -mmpx.
2848 (ix86_option_override_internal): Support MPX ISA.
2849 (ix86_conditional_register_usage): Support bound registers.
2850 (ix86_code_end): Add MPX bnd prefix.
2851 (output_set_got): Likewise.
2852 (print_reg): Avoid prefixes for bound registers.
2853 (ix86_print_operand): Add '!' (MPX bnd) print prefix support.
2854 (ix86_print_operand_punct_valid_p): Likewise.
2855 (ix86_print_operand_address): Support UNSPEC_BNDMK_ADDR and
2857 (ix86_output_call_insn): Add MPX bnd prefix to branch instructions.
2858 (ix86_class_likely_spilled_p): Add bound regs support.
2859 (ix86_hard_regno_mode_ok): Likewise.
2860 (x86_order_regs_for_local_alloc): Likewise.
2861 (ix86_bnd_prefixed_insn_p): New.
2862 (ix86_builtins): Add
2863 IX86_BUILTIN_BNDMK, IX86_BUILTIN_BNDSTX,
2864 IX86_BUILTIN_BNDLDX, IX86_BUILTIN_BNDCL,
2865 IX86_BUILTIN_BNDCU, IX86_BUILTIN_BNDRET,
2866 IX86_BUILTIN_BNDNARROW, IX86_BUILTIN_BNDINT,
2867 IX86_BUILTIN_SIZEOF, IX86_BUILTIN_BNDLOWER,
2868 IX86_BUILTIN_BNDUPPER.
2869 (builtin_isa): Add leaf_p and nothrow_p fields.
2870 (def_builtin): Initialize leaf_p and nothrow_p.
2871 (ix86_add_new_builtins): Handle leaf_p and nothrow_p
2874 (bdesc_mpx_const): New.
2875 (ix86_init_mpx_builtins): New.
2876 (ix86_init_builtins): Call ix86_init_mpx_builtins.
2877 (ix86_emit_cmove): New.
2878 (ix86_emit_move_max): New.
2879 (ix86_expand_builtin): Expand IX86_BUILTIN_BNDMK,
2880 IX86_BUILTIN_BNDSTX, IX86_BUILTIN_BNDLDX,
2881 IX86_BUILTIN_BNDCL, IX86_BUILTIN_BNDCU,
2882 IX86_BUILTIN_BNDRET, IX86_BUILTIN_BNDNARROW,
2883 IX86_BUILTIN_BNDINT, IX86_BUILTIN_SIZEOF,
2884 IX86_BUILTIN_BNDLOWER, IX86_BUILTIN_BNDUPPER.
2885 (ix86_function_value_bounds): New.
2886 (ix86_builtin_mpx_function): New.
2887 (ix86_get_arg_address_for_bt): New.
2888 (ix86_load_bounds): New.
2889 (ix86_store_bounds): New.
2890 (ix86_load_returned_bounds): New.
2891 (ix86_store_returned_bounds): New.
2892 (ix86_mpx_bound_mode): New.
2893 (ix86_make_bounds_constant): New.
2894 (ix86_initialize_bounds):
2895 (TARGET_LOAD_BOUNDS_FOR_ARG): New.
2896 (TARGET_STORE_BOUNDS_FOR_ARG): New.
2897 (TARGET_LOAD_RETURNED_BOUNDS): New.
2898 (TARGET_STORE_RETURNED_BOUNDS): New.
2899 (TARGET_CHKP_BOUND_MODE): New.
2900 (TARGET_BUILTIN_CHKP_FUNCTION): New.
2901 (TARGET_CHKP_FUNCTION_VALUE_BOUNDS): New.
2902 (TARGET_CHKP_MAKE_BOUNDS_CONSTANT): New.
2903 (TARGET_CHKP_INITIALIZE_BOUNDS): New.
2904 (ix86_option_override_internal): Do not
2905 support x32 with MPX.
2906 (init_cumulative_args): Init stdarg, bnd_regno, bnds_in_bt
2908 (function_arg_advance_32): Return number of used integer
2910 (function_arg_advance_64): Likewise.
2911 (function_arg_advance_ms_64): Likewise.
2912 (ix86_function_arg_advance): Handle pointer bounds.
2913 (ix86_function_arg): Likewise.
2914 (ix86_function_value_regno_p): Mark fisrt bounds registers as
2915 possible function value.
2916 (ix86_function_value_1): Handle pointer bounds type/mode
2917 (ix86_return_in_memory): Likewise.
2918 (ix86_print_operand): Analyse insn to decide abounf "bnd" prefix.
2919 (ix86_expand_call): Generate returned bounds.
2920 (ix86_setup_incoming_vararg_bounds): New.
2921 (ix86_va_start): Initialize bounds for pointers in va_list.
2922 (TARGET_SETUP_INCOMING_VARARG_BOUNDS): New.
2923 * config/i386/i386.h (TARGET_MPX): New.
2924 (TARGET_MPX_P): New.
2925 (FIRST_PSEUDO_REGISTER): Fix to new value.
2926 (FIXED_REGISTERS): Add bound registers.
2927 (CALL_USED_REGISTERS): Likewise.
2928 (REG_ALLOC_ORDER): Likewise.
2929 (HARD_REGNO_NREGS): Likewise.
2930 (VALID_BND_REG_MODE): New.
2931 (FIRST_BND_REG): New.
2932 (LAST_BND_REG): New.
2933 (reg_class): Add BND_REGS.
2934 (REG_CLASS_NAMES): Likewise.
2935 (REG_CLASS_CONTENTS): Likewise.
2937 (ANY_BND_REG_P): New.
2939 (HI_REGISTER_NAMES): Add bound registers.
2940 (ix86_args): Add bnd_regno, bnds_in_bt, force_bnd_pass and
2942 * config/i386/i386.md (UNSPEC_BNDMK): New.
2943 (UNSPEC_BNDMK_ADDR): New.
2944 (UNSPEC_BNDSTX): New.
2945 (UNSPEC_BNDLDX): New.
2946 (UNSPEC_BNDLDX_ADDR): New.
2947 (UNSPEC_BNDCL): New.
2948 (UNSPEC_BNDCU): New.
2949 (UNSPEC_BNDCN): New.
2950 (UNSPEC_MPX_FENCE): New.
2951 (UNSPEC_SIZEOF): New.
2954 (type): Add mpxmov, mpxmk, mpxchk, mpxld, mpxst.
2955 (length_immediate): Support mpxmov, mpxmk, mpxchk, mpxld, mpxst.
2956 (prefix_rep): Check for bnd prefix.
2957 (prefix_0f): Support mpxmov, mpxmk, mpxchk, mpxld, mpxst.
2958 (length_nobnd): New.
2959 (length): Use length_nobnd when specified.
2960 (memory): Support mpxmov, mpxmk, mpxchk, mpxld, mpxst.
2965 (*jcc_1): Add MPX bnd prefix.
2968 (*indirect_jump): Likewise.
2969 (*tablejump_1): Likewise.
2970 (simple_return_internal): Likewise.
2971 (simple_return_internal_long): Likewise.
2972 (simple_return_pop_internal): Likewise.
2973 (simple_return_indirect_internal): Likewise.
2977 (*mov<mode>_internal_mpx): New.
2978 (<mode>_<bndcheck>): New.
2979 (*<mode>_<bndcheck>): New.
2984 move_size_reloc_<mode>): New.
2985 * config/i386/predicates.md (address_mpx_no_base_operand): New.
2986 (address_mpx_no_index_operand): New.
2987 (bnd_mem_operator): New.
2988 (symbol_operand): New.
2989 (x86_64_immediate_size_operand): New.
2990 * config/i386/i386.opt (mmpx): New.
2991 * config/i386/i386-builtin-types.def (BND): New.
2993 (BND_FTYPE_PCVOID_ULONG): New.
2994 (VOID_FTYPE_BND_PCVOID): New.
2995 (VOID_FTYPE_PCVOID_PCVOID_BND): New.
2996 (BND_FTYPE_PCVOID_PCVOID): New.
2997 (BND_FTYPE_PCVOID): New.
2998 (BND_FTYPE_BND_BND): New.
2999 (PVOID_FTYPE_PVOID_PVOID_ULONG): New.
3000 (PVOID_FTYPE_PCVOID_BND_ULONG): New.
3001 (ULONG_FTYPE_VOID): New.
3002 (PVOID_FTYPE_BND): New.
3004 2014-11-05 Bernd Schmidt <bernds@codesourcery.com>
3006 * passes.def (pass_compute_alignments, pass_duplicate_computed_gotos,
3007 pass_variable_tracking, pass_free_cfg, pass_machine_reorg,
3008 pass_cleanup_barriers, pass_delay_slots,
3009 pass_split_for_shorten_branches, pass_convert_to_eh_region_ranges,
3010 pass_shorten_branches, pass_est_nothrow_function_flags,
3011 pass_dwarf2_frame, pass_final): Move outside of pass_postreload and
3012 into pass_late_compilation.
3013 (pass_late_compilation): Add.
3014 * passes.c (pass_data_late_compilation, pass_late_compilation,
3015 make_pass_late_compilation): New.
3016 * timevar.def (TV_LATE_COMPILATION): New.
3018 * target.def (omit_struct_return_reg): New data hook.
3019 * doc/tm.texi.in: Add @hook TARGET_OMIT_STRUCT_RETURN_REG.
3020 * doc/tm.texi: Regenerate.
3021 * function.c (expand_function_end): Use it.
3023 * target.def (no_register_allocation): New data hook.
3024 * doc/tm.texi.in: Add @hook TARGET_NO_REGISTER_ALLOCATION.
3025 * doc/tm.texi: Regenerate.
3026 * ira.c (gate_ira): New function.
3027 (pass_data_ira): Set has_gate.
3028 (pass_ira): Add a gate function.
3029 (pass_data_reload): Likewise.
3030 (pass_reload): Add a gate function.
3032 * reload1.c (eliminate_regs): If reg_eliminate_is NULL, assert that
3033 no register allocation happens on the target and return.
3034 * final.c (alter_subreg): Ensure register is not a pseudo before
3035 calling simplify_subreg.
3036 (output_operand): Assert that x isn't a pseudo only if doing
3037 register allocation.
3039 * dbxout.c (dbxout_symbol): Don't call eliminate_regs on decls for
3042 * optabs.c (emit_indirect_jump): Test HAVE_indirect_jump and emit a
3045 2014-11-05 Alex Velenko <Alex.Velenko@arm.com>
3047 * simplify-rtx.c (simplify_binary_operation_1): Div check added.
3048 * rtl.h (SUBREG_P): New macro added.
3050 2014-11-05 Tejas Belagod <tejas.belagod@arm.com>
3052 * config/aarch64/aarch64-builtins.c
3053 (aarch64_build_scalar_type): Remove.
3054 (aarch64_scalar_builtin_types, aarch64_simd_type,
3055 aarch64_simd_type, aarch64_mangle_builtin_scalar_type,
3056 aarch64_mangle_builtin_vector_type,
3057 aarch64_mangle_builtin_type, aarch64_simd_builtin_std_type,
3058 aarch64_lookup_simd_builtin_type, aarch64_simd_builtin_type,
3059 aarch64_init_simd_builtin_types,
3060 aarch64_init_simd_builtin_scalar_types): New.
3061 (aarch64_init_simd_builtins): Refactor.
3062 (aarch64_init_crc32_builtins): Fixup with qualifier.
3063 * config/aarch64/aarch64-protos.h
3064 (aarch64_mangle_builtin_type): Export.
3065 * config/aarch64/aarch64-simd-builtin-types.def: New.
3066 * config/aarch64/aarch64.c (aarch64_simd_mangle_map): Remove.
3067 (aarch64_mangle_type): Refactor.
3068 * config/aarch64/arm_neon.h: Declare vector types based on
3070 * config/aarch64/t-aarch64: Update dependency.
3072 2014-11-04 Pat Haugen <pthaugen@us.ibm.com>
3074 * config/rs6000/rs6000.c (atomic_hold_decl, atomic_clear_decl,
3075 atomic_update_decl): Guard declaration with #ifdef.
3077 2014-11-04 Marek Polacek <polacek@redhat.com>
3079 * sanopt.c (sanopt_optimize_walker): Remove unused variables.
3081 2014-11-04 Marek Polacek <polacek@redhat.com>
3083 * Makefile.in (OBJS): Add sanopt.o.
3084 (GTFILES): Add sanopt.c.
3085 * asan.h (asan_expand_check_ifn): Declare.
3086 * asan.c (asan_expand_check_ifn): No longer static.
3087 (class pass_sanopt, pass_sanopt::execute, make_pass_sanopt): Move...
3088 * sanopt.c: ...here. New file.
3090 2014-11-04 Jiong Wang <jiong.wang@arm.com>
3091 2014-11-04 Wilco Dijkstra <wilco.dijkstra@arm.com>
3094 * config/aarch64/aarch64.c (aarch64_expand_epiloue): Add barriers before
3097 2014-11-04 Bernd Schmidt <bernds@codesourcery.com>
3099 * combine.c (combine_simplify_rtx): In STORE_FLAG_VALUE == -1 case,
3100 also verify that mode is equal to the mode of op0.
3102 * bb-reorder.c (get_uncond_jump_length): Avoid using delete_insn,
3103 emit into a sequence instead.
3105 2014-11-04 Jan-Benedict Glaw <jbglaw@lug-owl.de>
3107 * config/sh/sh.c (emit_fpu_switch): Drop unused automatic variable.
3109 2014-11-04 Alan Lawrence <alan.lawrence@arm.com>
3111 config/arm/neon.md (reduc_smin_<mode> *2): Rename to...
3112 (reduc_smin_scal_<mode> *2): ...this; extract scalar result.
3113 (reduc_smax_<mode> *2): Rename to...
3114 (reduc_smax_scal_<mode> *2): ...this; extract scalar result.
3115 (reduc_umin_<mode> *2): Rename to...
3116 (reduc_umin_scal_<mode> *2): ...this; extract scalar result.
3117 (reduc_umax_<mode> *2): Rename to...
3118 (reduc_umax_scal_<mode> *2): ...this; extract scalar result.
3120 2014-11-04 Alan Lawrence <alan.lawrence@arm.com>
3122 config/arm/neon.md (reduc_plus_*): Rename to...
3123 (reduc_plus_scal_*): ...this; reduce to temp and extract scalar result.
3125 2014-11-04 Michael Collison <michael.collison@linaro.org>
3127 * config/aarch64/iterators.md (lconst_atomic): New mode attribute
3128 to support constraints for CONST_INT in atomic operations.
3129 * config/aarch64/atomics.md
3130 (atomic_<atomic_optab><mode>): Use lconst_atomic constraint.
3131 (atomic_nand<mode>): Likewise.
3132 (atomic_fetch_<atomic_optab><mode>): Likewise.
3133 (atomic_fetch_nand<mode>): Likewise.
3134 (atomic_<atomic_optab>_fetch<mode>): Likewise.
3135 (atomic_nand_fetch<mode>): Likewise.
3137 2014-11-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3139 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in definition
3140 of __ARM_FEATURE_IDIV.
3142 2014-11-04 Marek Polacek <polacek@redhat.com>
3144 * ubsan.c (instrument_object_size): Optimize [x & CST] array accesses.
3146 2014-11-03 Jan-Benedict Glaw <jbglaw@lug-owl.de>
3148 * config/rx/rx.c (rx_handle_func_attribute): Mark unused argument.
3150 2014-11-04 Zhenqiang Chen <zhenqiang.chen@arm.com>
3153 2014-11-03 Zhenqiang Chen <zhenqiang.chen@arm.com>
3154 * ifcvt.c (noce_emit_cmove, noce_get_alt_condition, noce_get_condition):
3155 Allow CC mode if HAVE_cbranchcc4.
3157 2014-11-03 Dominik Vogt <vogt@linux.vnet.ibm.com>
3159 * godump.c (go_format_type): Rewrite RECORD_TYPE nad UNION_TYPE support
3160 with -fdump-go-spec. Anonymous substructures are now flattened and
3161 replaced by their fields (record) or the first named, non-bitfield
3164 2014-11-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
3166 * input.c (expand_location_to_spelling_point): Fix typo.
3167 (expansion_point_location_if_in_system_header): Fix comment.
3169 2014-11-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3171 * config/avr/gen-avr-mmcu-specs.c: Remove unnecessary format specifier.
3173 2014-11-03 Richard Biener <rguenther@suse.de>
3175 * tree-eh.c (operation_could_trap_helper_p): Handle conversions
3176 like ordinary operations.
3177 * gimplify.c (gimplify_conversion): Gimplify CONVERT_EXPR
3180 2014-11-03 Joseph Myers <joseph@codesourcery.com>
3182 * configure.ac (TARGET_GLIBC_MAJOR, TARGET_GLIBC_MINOR): Define
3184 * configure, config.h.in: Regenerate.
3185 * config/rs6000/linux.h [TARGET_GLIBC_MAJOR > 2 ||
3186 (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 19)]
3187 (RS6000_GLIBC_ATOMIC_FENV): New macro.
3188 * config/rs6000/linux64.h [TARGET_GLIBC_MAJOR > 2 ||
3189 (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 19)]
3190 (RS6000_GLIBC_ATOMIC_FENV): New macro.
3191 * config/rs6000/rs6000.c (atomic_hold_decl, atomic_clear_decl)
3192 (atomic_update_decl): New static variables.
3193 (rs6000_atomic_assign_expand_fenv) [RS6000_GLIBC_ATOMIC_FENV]:
3194 Generate calls to __atomic_feholdexcept, __atomic_feclearexcept
3195 and __atomic_feupdateenv for soft-float and no-FPRs.
3197 2014-11-03 Richard Biener <rguenther@suse.de>
3199 * match.pd: Add two abs patterns. Announce tree_expr_nonnegative_p.
3200 Also drop bogus FLOAT_EXPR and FIX_TRUNC_EXPR.
3201 * fold-const.c (fold_unary_loc): Remove them here.
3202 (tree_unary_nonnegative_warnv_p): Use CASE_CONVERT.
3203 * gimple-fold.c (fold_gimple_assign): Remove now obsolete
3204 GIMPLE_UNARY_RHS case.
3205 (gimple_fold_stmt_to_constant_1): Likewise.
3206 (replace_stmt_with_simplification): Fix inverted comparison.
3208 2014-11-03 Marc Glisse <marc.glisse@inria.fr>
3210 PR tree-optimization/60770
3211 * tree-into-ssa.c (rewrite_update_stmt): Return whether the
3212 statement should be removed.
3213 (maybe_register_def): Likewise. Replace clobbers with default
3215 (rewrite_dom_walker::before_dom_children): Remove statement if
3216 rewrite_update_stmt says so.
3217 * tree-ssa-live.c: Include tree-ssa.h.
3218 (set_var_live_on_entry): Do not mark undefined variables as live.
3219 (verify_live_on_entry): Do not check undefined variables.
3220 * tree-ssa.h (ssa_undefined_value_p): New parameter for the case
3221 of partially undefined variables.
3222 * tree-ssa.c (ssa_undefined_value_p): Likewise.
3223 (execute_update_addresses_taken): Do not drop clobbers.
3225 2014-11-03 Marc Glisse <marc.glisse@inria.fr>
3227 PR tree-optimization/63666
3228 * fold-const.c: Include "optabs.h".
3229 (fold_ternary_loc) <VEC_PERM_EXPR>: Avoid canonicalizing a
3230 can_vec_perm_p permutation to one that is not.
3232 2014-11-03 Zhenqiang Chen <zhenqiang.chen@arm.com>
3234 * ifcvt.c (noce_try_store_flag_mask): Check rtx cost.
3236 2014-11-03 Andrew Pinski <apinski@cavium.com>
3238 * config/mips/mips-cpus.def (octeon3): New cpu.
3239 * config/mips/mips.c (mips_rtx_cost_data): Add octeon3.
3240 (mips_print_operand <case 'T', case 't'>): Fix a bug as the mode
3241 of the comparison no longer matches mode of the operands.
3242 (mips_issue_rate): Handle PROCESSOR_OCTEON3.
3243 * config/mips/mips.h (TARGET_OCTEON): Add Octeon3.
3244 (TARGET_OCTEON2): Likewise.
3245 (TUNE_OCTEON): Add Octeon3.
3246 * config/mips/mips.md (processor): Add octeon3.
3247 * config/mips/octeon.md (octeon_fpu): New automaton and cpu_unit.
3248 (octeon_arith): Add octeon3.
3249 (octeon_condmove): Remove.
3250 (octeon_condmove_o1): New reservation.
3251 (octeon_condmove_o2): New reservation.
3252 (octeon_condmove_o3_int_on_cc): New reservation.
3253 (octeon_load_o2): Add octeon3.
3254 (octeon_cop_o2): Likewise.
3255 (octeon_store): Likewise.
3256 (octeon_brj_o2): Likewise.
3257 (octeon_imul3_o2): Likewise.
3258 (octeon_imul_o2): Likewise.
3259 (octeon_mfhilo_o2): Likewise.
3260 (octeon_imadd_o2): Likewise.
3261 (octeon_idiv_o2_si): Likewise.
3262 (octeon_idiv_o2_di): Likewise.
3263 (octeon_fpu): Add to the automaton.
3264 (octeon_fpu): New cpu unit.
3265 (octeon_condmove_o2): Check for non floating point modes.
3266 (octeon_load_o2): Add prefetchx.
3267 (octeon_cop_o2): Don't check for octeon3.
3268 (octeon3_faddsubcvt): New reservation.
3269 (octeon3_fmul): Likewise.
3270 (octeon3_fmadd): Likewise.
3271 (octeon3_div_sf): Likewise.
3272 (octeon3_div_df): Likewise.
3273 (octeon3_sqrt_sf): Likewise.
3274 (octeon3_sqrt_df): Likewise.
3275 (octeon3_rsqrt_sf): Likewise.
3276 (octeon3_rsqrt_df): Likewise.
3277 (octeon3_fabsnegmov): Likewise.
3278 (octeon_fcond): Likewise.
3279 (octeon_fcondmov): Likewise.
3280 (octeon_fpmtc1): Likewise.
3281 (octeon_fpmfc1): Likewise.
3282 (octeon_fpload): Likewise.
3283 (octeon_fpstore): Likewise.
3284 * config/mips/mips-tables.opt: Regenerate.
3285 * doc/invoke.texi (-march=@var{arch}): Add octeon3.
3287 2014-11-03 Zhenqiang Chen <zhenqiang.chen@arm.com>
3289 * ifcvt.c (noce_emit_cmove, noce_get_alt_condition, noce_get_condition):
3290 Allow CC mode if HAVE_cbranchcc4.
3292 2014-11-02 Richard Sandiford <richard.sandiford@arm.com>
3294 * config/arc/arc.c (write_ext_corereg_1): Delete.
3295 (arc_write_ext_corereg): Use FOR_EACH_SUBRTX.
3297 2014-11-02 Richard Sandiford <richard.sandiford@arm.com>
3299 * config/arc/arc.c (arc600_corereg_hazard_1): Delete.
3300 (arc600_corereg_hazard): Use FOR_EACH_SUBRTX.
3302 2014-11-02 Richard Sandiford <richard.sandiford@arm.com>
3304 * config/arc/arc.c (arc_rewrite_small_data_p): Constify argument.
3305 (small_data_pattern_1): Delete.
3306 (small_data_pattern): Use FOR_EACH_SUBRTX.
3308 2014-11-02 Richard Sandiford <richard.sandiford@arm.com>
3310 * config/arc/arc.c: Include rtl-iter.h.
3311 (arc_rewrite_small_data_1): Delete.
3312 (arc_rewrite_small_data): Use FOR_EACH_SUBRTX_PTR.
3314 2014-11-02 Michael Collison <michael.collison@linaro.org>
3316 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO) : Update
3317 to support vector modes.
3318 (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
3320 2014-11-01 Andrew MacLeod <amacleod@redhat,com>
3322 * optabs.h: Flatten insn-codes.h to source files. Move some prototypes
3323 and structs to genopinit.c. Adjust protyoptypes to match optabs.c.
3324 * genopinit.c (main): Emit prototypes and structs into insn-opinit.h.
3325 * optabs.c: (gen_move_insn): Move to expr.c.
3326 * expr.h: Move protypes and enums to optabs.h.
3327 * expr.c: (gen_move_insn): Relocate from optabs.c.
3328 * genemit.c (main): Include insn-codes.h.
3329 * gengtype.c (open_base_files): Include insn-codes.h.
3330 * asan.c: Include insn-codes.h.
3331 * bb-reorder.c: Ditto.
3332 * builtins.c: Ditto.
3334 * cfgexpand.c: Ditto.
3335 * cilk-common.c: Ditto.
3342 * function.c: Ditto.
3344 * internal-fn.c: Ditto.
3345 * loop-unroll.c: Ditto.
3347 * modulo-sched.c: Ditto.
3349 * postreload.c: Ditto.
3353 * shrink-wrap.c: Ditto.
3354 * simplify-rtx.c: Ditto.
3356 * target-globals.c: Ditto.
3357 * targhooks.c: Ditto.
3359 * tree-if-conv.c: Ditto.
3360 * tree-ssa-forwprop.c: Ditto.
3361 * tree-ssa-loop-prefetch.c: Ditto.
3362 * tree-ssa-math-opts.c: Ditto.
3363 * tree-ssa-phiopt.c: Ditto.
3364 * tree-ssa-reassoc.c: Ditto.
3365 * tree-switch-conversion.c: Ditto.
3366 * tree-vect-data-refs.c: Ditto.
3367 * tree-vect-generic.c: Ditto.
3368 * tree-vect-loop.c: Ditto.
3369 * tree-vect-patterns.c: Ditto.
3370 * tree-vect-slp.c: Ditto.
3371 * tree-vect-stmts.c: Ditto.
3372 * tree-vrp.c: Ditto.
3373 * value-prof.c: Ditto.
3374 * config/aarch64/aarch64-builtins.c: Ditto.
3375 * config/alpha/alpha.c: Ditto.
3376 * config/arm/arm.c: Ditto.
3377 * config/cris/cris.c: Ditto.
3378 * config/epiphany/epiphany.c: Ditto.
3379 * config/frv/frv.c: Ditto.
3380 * config/h8300/h8300.c: Ditto.
3381 * config/ia64/ia64.c: Ditto.
3382 * config/iq2000/iq2000.c: Ditto.
3383 * config/m32c/m32c.c: Ditto.
3384 * config/mep/mep.c: Ditto.
3385 * config/microblaze/microblaze.c: Ditto.
3386 * config/mips/mips.c: Ditto.
3387 * config/mn10300/mn10300.c: Ditto.
3388 * config/moxie/moxie.c: Ditto.
3389 * config/msp430/msp430.c: Ditto.
3390 * config/nios2/nios2.c: Ditto.
3391 * config/pa/pa.c: Ditto.
3392 * config/rl78/rl78.c: Ditto.
3393 * config/rs6000/rs6000.c: Ditto.
3394 * config/rx/rx.c: Ditto.
3395 * config/s390/s390.c: Ditto.
3396 * config/sh/sh.c: Ditto.
3397 * config/sh/sh_treg_combine.cc: Ditto.
3398 * config/spu/spu.c: Ditto.
3399 * config/stormy16/stormy16.c: Ditto.
3400 * config/tilegx/mul-tables.c: Ditto.
3401 * config/tilegx/tilegx.c: Ditto.
3402 * config/tilepro/mul-tables.c: Ditto.
3403 * config/tilepro/tilepro.c: Ditto.
3404 * config/vax/vax.c: Ditto.
3406 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
3408 * doc/tm.texi.in (MOVE_BY_PIECES_P): Remove.
3409 (CLEAR_BY_PIECES_P): Likewise.
3410 (SET_BY_PIECES_P): Likewise.
3411 (STORE_BY_PIECES_P): Likewise.
3412 * doc/tm.texi: Regenerate.
3413 * system.h: Poison MOVE_BY_PIECES_P, CLEAR_BY_PIECES_P,
3414 SET_BY_PIECES_P, STORE_BY_PIECES_P.
3415 * expr.c (MOVE_BY_PIECES_P): Remove.
3416 (CLEAR_BY_PIECES_P): Likewise.
3417 (SET_BY_PIECES_P): Likewise.
3418 (STORE_BY_PIECES_P): Likewise.
3419 (can_move_by_pieces): Rewrite in terms of
3420 targetm.use_by_pieces_infrastructure_p.
3421 (emit_block_move_hints): Likewise.
3422 (can_store_by_pieces): Likewise.
3423 (store_by_pieces): Likewise.
3424 (clear_storage_hints): Likewise.
3425 (emit_push_insn): Likewise.
3426 (expand_constructor): Likewise.
3428 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
3430 * config/aarch64/aarch64.c
3431 (aarch64_use_by_pieces_infrastructre_p): New.
3432 (TARGET_USE_BY_PIECES_INFRASTRUCTURE): Likewise.
3433 * config/aarch64/aarch64.h (STORE_BY_PIECES_P): Delete.
3435 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
3437 * config/mips/mips.h (MOVE_BY_PIECES_P): Remove.
3438 (STORE_BY_PIECES_P): Likewise.
3439 * config/mips/mips.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
3440 (mips_move_by_pieces_p): Rename to...
3441 (mips_use_by_pieces_infrastructure_p): ...this, use new hook
3442 parameters, use the default hook implementation as a
3445 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
3447 * config/sh/sh.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
3448 (sh_use_by_pieces_infrastructure_p): Likewise.
3449 * config/sh/sh.h (MOVE_BY_PIECES_P): Remove.
3450 (STORE_BY_PIECES_P): Likewise.
3451 (SET_BY_PIECES_P): Likewise.
3453 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
3455 * config/arc/arc.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
3456 (arc_use_by_pieces_infrastructure_p): Likewise.
3457 * confir/arc/arc.h (MOVE_BY_PIECES_P): Delete.
3458 (CAN_MOVE_BY_PIECES): Likewise.
3460 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
3462 * config/s390/s390.c (s390_use_by_pieces_infrastructure_p): New.
3463 (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): Likewise.
3464 * config/s390/s390.h (MOVE_BY_PIECES_P): Remove.
3465 (CLEAR_BY_PIECES): Likewise.
3466 (SET_BY_PIECES): Likewise.
3467 (STORE_BY_PIECES): Likewise.
3469 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
3471 * target.def (use_by_pieces_infrastructure_p): New.
3472 * doc/tm.texi.in (MOVE_BY_PIECES_P): Describe that this macro
3474 (STORE_BY_PIECES_P): Likewise.
3475 (CLEAR_BY_PIECES_P): Likewise.
3476 (SET_BY_PIECES_P): Likewise.
3477 (TARGET_MOVE_BY_PIECES_PROFITABLE_P): Add hook.
3478 * doc/tm.texi: Regenerate.
3479 * expr.c (MOVE_BY_PIECES_P): Rewrite in terms of
3480 TARGET_USE_BY_PIECES_INFRASTRUCTURE_P.
3481 (STORE_BY_PIECES_P): Likewise.
3482 (CLEAR_BY_PIECES_P): Likewise.
3483 (SET_BY_PIECES_P): Likewise.
3484 (STORE_MAX_PIECES): Move to...
3485 * defaults.h (STORE_MAX_PIECES): ...here.
3486 * targhooks.c (get_move_ratio): New.
3487 (default_use_by_pieces_infrastructure_p): Likewise.
3488 * targhooks.h (default_use_by_pieces_infrastructure_p): New.
3489 * target.h (by_pieces_operation): New.
3491 2014-10-31 Uros Bizjak <ubizjak@gmail.com>
3494 * config/i386/i386.c (ix86_expand_args_builtin): Remove extra
3495 assignment to 'nargs' variable.
3497 2014-10-31 Uros Bizjak <ubizjak@gmail.com>
3500 * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): Declare.
3501 * config/i386/i386.c (ix86_use_pseudo_pic_reg): Export.
3502 * config/i386/i386.md (*pushtf): Allow only CONST_DOUBLEs that won't
3503 be reloaded through memory.
3507 2014-10-31 Jakub Jelinek <jakub@redhat.com>
3509 PR rtl-optimization/63659
3510 * ree.c (update_reg_equal_equiv_notes): New function.
3511 (combine_set_extension, transform_ifelse): Use it.
3513 2014-10-31 Jeff Law <law@redhat.com>
3515 * doc/contrib.texi: Add contribution notes for Balaji Iyer (Cilk+)
3516 and Jonny Grant (collect2).
3518 2014-10-31 Richard Biener <rguenther@suse.de>
3520 * builtins.c (fold_builtin_atomic_always_lock_free): Use
3521 CONVERT_EXPR_P, CONVERT_EXPR_CODE_P and CASE_CONVERT where
3523 (fold_builtin_expect): Likewise.
3524 (integer_valued_real_p): Likewise.
3525 * cfgexpand.c (expand_debug_expr): Likewise.
3526 * ipa-inline-analysis.c (eliminated_by_inlining_prob): Likewise.
3527 (find_foldable_builtin_expect): Likewise.
3528 * trans-mem.c (thread_private_new_memory): Likewise.
3529 * tree-affine.c (aff_combination_expand): Likewise.
3530 * tree-data-ref.c (initialize_matrix_A): Likewise.
3531 * tree-inline.c (copy_bb): Likewise.
3532 * tree-pretty-print.c (dump_function_name): Likewise.
3533 (print_call_name): Likewise.
3534 * tree-ssa-forwprop.c (constant_pointer_difference): Likewise.
3535 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Likewise.
3536 * tree-vect-generic.c (expand_vector_operations_1): Likewise.
3537 * tree-vect-patterns.c (vect_handle_widen_op_by_const): Likewise.
3538 (vect_recog_widen_mult_pattern): Likewise.
3539 (vect_operation_fits_smaller_type): Likewise.
3540 * tree-vrp.c (find_assert_locations_1): Likewise.
3541 * tree-ssa-dom.c (initialize_hash_element): Canonicalize
3542 converts to NOP_EXPR.
3544 2014-10-31 Richard Biener <rguenther@suse.de>
3546 * genmatch.c (expr::gen_transform): Use NOP_EXPRs instead of
3547 CONVERT_EXPRs in generated code.
3548 (dt_simplify::gen): Likewise.
3550 2014-10-31 Evgeny Stupachenko <evstupac@gmail.com>
3553 * config/i386/i386.c (ix86_init_pic_reg): Emit SET_GOT to
3554 REAL_PIC_OFFSET_TABLE_REGNUM for mcount profiling.
3555 (ix86_save_reg): Save REAL_PIC_OFFSET_TABLE_REGNUM when profiling
3556 using mcount in 32bit PIC mode.
3557 (ix86_elim_entry_set_got): New.
3558 (ix86_expand_prologue): For the mcount profiling emit new SET_GOT
3559 in PROLOGUE, delete initial if possible.
3561 2014-10-31 Eric Botcazou <ebotcazou@adacore.com>
3563 * ipa-inline.c (want_inline_small_function_p): Fix typo and formatting.
3564 (want_inline_function_to_all_callers_p): Fix formatting and simplify.
3566 2014-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
3568 PR tree-optimization/63259
3569 * tree-ssa-math-opts.c (bswap_replace): Replace expression by a
3570 rotation left if it is a 16 bit byte swap.
3571 (pass_optimize_bswap::execute): Also consider bswap in LROTATE_EXPR
3572 and RROTATE_EXPR statements if it is a byte rotation.
3574 2014-10-31 Jakub Jelinek <jakub@redhat.com>
3577 * tree-vrp.c (simplify_internal_call_using_ranges): For subcode ==
3578 MINUS_EXPR, check overflow on vr0.min - vr1.max and vr0.max - vr1.min
3579 instead of vr0.min - vr1.min and vr0.max - vr1.max.
3581 2014-10-31 Max Ostapenko <m.ostapenko@partner.samsung.com>
3584 * ipa-icf.c (sem_function::~sem_function): Change free to delete to avoid
3585 alloc-dealloc mismatch with new, called in ipa_icf::sem_function::init.
3587 2014-10-30 Felix Yang <felix.yang@huawei.com>
3589 * config/xtensa/xtensa.h (TARGET_LOOPS): New Macro.
3590 * config/xtensa/xtensa.c: Include dumpfile.h and hw-doloop.h.
3591 (xtensa_reorg, xtensa_reorg_loops): New.
3592 (xtensa_can_use_doloop_p, xtensa_invalid_within_doloop): New.
3593 (hwloop_optimize, hwloop_fail, hwloop_pattern_reg): New.
3594 (xtensa_emit_loop_end): Emit the zero-overhead loop end label.
3595 (xtensa_doloop_hooks): Define.
3596 * config/xtensa/xtensa.md (doloop_end, loop_end): New
3597 (zero_cost_loop_start): Rewritten.
3598 (zero_cost_loop_end): Likewise.
3600 2014-10-30 Steve Ellcey <sellcey@imgtec.com>
3602 * config.gcc (mips*-*-linux*): Combine 32 and 64 bit cases.
3604 2014-10-30 Richard Biener <rguenther@suse.de>
3606 * genmatch.c: Remove <map>, <utility> and <string> includes.
3607 Include ggc.h and hash-map.h.
3608 (ggc_internal_cleared_alloc): Provide stub definition.
3609 (ggc_free): Likewise.
3610 (struct capture_id_map_hasher): New traits for hash_map.
3611 (cid_map_t): New typedef.
3612 (everywhere else): Replace std::map use with cid_map_t.
3613 * hash-map.h (hash_map::elements): New member function.
3614 * Makefile.in (build/genmatch.o): Add $(HASH_TABLE_H),
3615 hash-map.h and $(GGC_H) as dependency.
3617 2014-10-30 Richard Biener <rguenther@suse.de>
3619 * genmatch.c (capture_info::walk_c_expr): Ignore capture
3620 uses inside TREE_TYPE ().
3621 * gimple-ssa-strength-reduction.c (stmt_cost): Use CASE_CONVERT.
3622 (find_candidates_dom_walker::before_dom_children): Likewise.
3623 (replace_mult_candidate): Use CONVERT_EXPR_CODE_P.
3624 (replace_profitable_candidates): Likewise.
3625 * tree-ssa-dom.c (initialize_hash_element): Canonicalize
3626 CONVERT_EXPR_CODE_P to CONVERT_EXPR.
3627 * convert.c (convert_to_integer): Use CASE_CONVERT.
3629 2014-10-30 Richard Biener <rguenther@suse.de>
3631 * match.pd: Implement more patterns that simplify to a single value.
3632 * fold-const.c (fold_binary_loc): Remove them here.
3633 * tree-ssa-forwprop.c (simplify_bitwise_binary): Likewise.
3634 (fwprop_ssa_val): Remove restriction on single uses.
3636 2014-10-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>
3638 * config/avr/driver-avr.c (avr_set_current_device): Remove.
3640 2014-10-30 Martin Liska <mliska@suse.cz>
3644 * ipa-icf-gimple.c (func_checker::parse_labels): Missing comment added.
3645 (func_checker::compare_gimple_label): Simlified comparison introduced.
3646 * ipa-icf-gimple.h: Missing comment added.
3648 2014-10-30 Jeff Law <law@redhat.com>
3650 * config/pa/pa-protos.h (pa_output_arg_descriptor): Strengthen
3651 argument from rtx to rtx_insn *.
3652 (compute_movmem_length, compute_clrmem_length): Likewise.
3653 (copy_fp_args, length_fp_args): Likewise.
3654 * config/pa/pa.c (legitimize_pic_address): Promote local variable
3655 "insn" from rtx to rtx_insn *.
3656 (legitimize_tls_address, pa_emit_move_sequence): Likewise.
3657 (pa_output_block_move, store_reg, store_reg_modify): Likewise.
3658 (set_reg_plus_d, pa_expand_prologue, hppa_profile_hook): Likewise.
3659 (branch_to_delay_slot_p, branch_needs_nop_p, use_skip_p): Likewise.
3660 (pa_output_arg_descriptor): Strengthen argument to an rtx_insn *.
3661 (compute_movmem_length, compute_clrmem_length): Likewise.
3662 (copy_fp-args, length_fp_args): Likewise.
3664 2014-10-29 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3666 * config/arm/arm.h (MACHMODE): Treat machine_mode as a
3668 (CUMULATIVE_ARGS): Guard against target includes.
3669 (machine_function): Likewise.
3671 2014-10-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3673 * config/aarch64/aarch64.c (aarch64_madd_needs_nop): Restore
3674 recog state after aarch64_prev_real_insn call.
3676 2014-10-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3678 * config/aarch64/aarch64.h (MACHMODE): Add 'enum' to machine_mode.
3680 2014-10-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3682 * config/arm/arm.h (MACHMODE): Add 'enum' to machine_mode.
3683 (struct machine_function): Gate definition on
3684 !defined(USED_FOR_TARGET).
3686 2014-10-29 DJ Delorie <dj@redhat.com>
3688 * expmed.c (strict_volatile_bitfield_p): Fix off-by-one error.
3690 2014-10-29 Martin Liska <mliska@suse.cz>
3693 * cgraphunit.c (cgraph_node::expand_thunk): Only VAR_DECLs are put
3694 to local declarations.
3695 * function.c (add_local_decl): Implementation moved from header
3696 file, assert introduced for tree type.
3697 * function.h: Likewise.
3699 2014-10-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
3701 * godump.c (go_format_type): Represent "float _Complex" and
3702 "double _Complex" as complex64 or complex128 in Go, as appropriate.
3704 2014-10-29 Richard Biener <rguenther@suse.de>
3706 * match.pd: Implement a first set of conversion patterns.
3707 * fold-const.c (fold_unary_loc): Remove them here.
3708 * tree-ssa-forwprop.c (simplify_vce): Remove.
3709 (pass_forwprop::execute): Do not call simplify_vce.
3711 2014-10-29 Richard Sandiford <richard.sandiford@arm.com>
3713 * addresses.h, alias.c, asan.c, auto-inc-dec.c, bt-load.c, builtins.c,
3714 builtins.h, caller-save.c, calls.c, calls.h, cfgexpand.c, cfgloop.h,
3715 cfgrtl.c, combine.c, compare-elim.c, config/aarch64/aarch64-builtins.c,
3716 config/aarch64/aarch64-protos.h, config/aarch64/aarch64-simd.md,
3717 config/aarch64/aarch64.c, config/aarch64/aarch64.h,
3718 config/aarch64/aarch64.md, config/alpha/alpha-protos.h,
3719 config/alpha/alpha.c, config/arc/arc-protos.h, config/arc/arc.c,
3720 config/arc/arc.h, config/arc/predicates.md,
3721 config/arm/aarch-common-protos.h, config/arm/aarch-common.c,
3722 config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h,
3723 config/arm/arm.md, config/arm/neon.md, config/arm/thumb2.md,
3724 config/avr/avr-log.c, config/avr/avr-protos.h, config/avr/avr.c,
3725 config/avr/avr.md, config/bfin/bfin-protos.h, config/bfin/bfin.c,
3726 config/c6x/c6x-protos.h, config/c6x/c6x.c, config/c6x/c6x.md,
3727 config/cr16/cr16-protos.h, config/cr16/cr16.c,
3728 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.md,
3729 config/darwin-protos.h, config/darwin.c,
3730 config/epiphany/epiphany-protos.h, config/epiphany/epiphany.c,
3731 config/epiphany/epiphany.md, config/fr30/fr30.c,
3732 config/frv/frv-protos.h, config/frv/frv.c, config/frv/predicates.md,
3733 config/h8300/h8300-protos.h, config/h8300/h8300.c,
3734 config/i386/i386-builtin-types.awk, config/i386/i386-protos.h,
3735 config/i386/i386.c, config/i386/i386.md, config/i386/predicates.md,
3736 config/i386/sse.md, config/i386/sync.md, config/ia64/ia64-protos.h,
3737 config/ia64/ia64.c, config/iq2000/iq2000-protos.h,
3738 config/iq2000/iq2000.c, config/iq2000/iq2000.md,
3739 config/lm32/lm32-protos.h, config/lm32/lm32.c,
3740 config/m32c/m32c-protos.h, config/m32c/m32c.c,
3741 config/m32r/m32r-protos.h, config/m32r/m32r.c,
3742 config/m68k/m68k-protos.h, config/m68k/m68k.c,
3743 config/mcore/mcore-protos.h, config/mcore/mcore.c,
3744 config/mcore/mcore.md, config/mep/mep-protos.h, config/mep/mep.c,
3745 config/microblaze/microblaze-protos.h, config/microblaze/microblaze.c,
3746 config/mips/mips-protos.h, config/mips/mips.c,
3747 config/mmix/mmix-protos.h, config/mmix/mmix.c,
3748 config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c,
3749 config/moxie/moxie.c, config/msp430/msp430-protos.h,
3750 config/msp430/msp430.c, config/nds32/nds32-cost.c,
3751 config/nds32/nds32-intrinsic.c, config/nds32/nds32-md-auxiliary.c,
3752 config/nds32/nds32-protos.h, config/nds32/nds32.c,
3753 config/nios2/nios2-protos.h, config/nios2/nios2.c,
3754 config/pa/pa-protos.h, config/pa/pa.c, config/pdp11/pdp11-protos.h,
3755 config/pdp11/pdp11.c, config/rl78/rl78-protos.h, config/rl78/rl78.c,
3756 config/rs6000/altivec.md, config/rs6000/rs6000-c.c,
3757 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
3758 config/rs6000/rs6000.h, config/rx/rx-protos.h, config/rx/rx.c,
3759 config/s390/predicates.md, config/s390/s390-protos.h,
3760 config/s390/s390.c, config/s390/s390.h, config/s390/s390.md,
3761 config/sh/predicates.md, config/sh/sh-protos.h, config/sh/sh.c,
3762 config/sh/sh.md, config/sparc/predicates.md,
3763 config/sparc/sparc-protos.h, config/sparc/sparc.c,
3764 config/sparc/sparc.md, config/spu/spu-protos.h, config/spu/spu.c,
3765 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
3766 config/tilegx/tilegx-protos.h, config/tilegx/tilegx.c,
3767 config/tilegx/tilegx.md, config/tilepro/tilepro-protos.h,
3768 config/tilepro/tilepro.c, config/v850/v850-protos.h,
3769 config/v850/v850.c, config/v850/v850.md, config/vax/vax-protos.h,
3770 config/vax/vax.c, config/vms/vms-c.c, config/xtensa/xtensa-protos.h,
3771 config/xtensa/xtensa.c, coverage.c, cprop.c, cse.c, cselib.c, cselib.h,
3772 dbxout.c, ddg.c, df-problems.c, dfp.c, dfp.h, doc/md.texi,
3773 doc/rtl.texi, doc/tm.texi, doc/tm.texi.in, dojump.c, dse.c,
3774 dwarf2cfi.c, dwarf2out.c, dwarf2out.h, emit-rtl.c, emit-rtl.h,
3775 except.c, explow.c, expmed.c, expmed.h, expr.c, expr.h, final.c,
3776 fixed-value.c, fixed-value.h, fold-const.c, function.c, function.h,
3777 fwprop.c, gcse.c, gengenrtl.c, genmodes.c, genopinit.c, genoutput.c,
3778 genpreds.c, genrecog.c, gensupport.c, gimple-ssa-strength-reduction.c,
3779 graphite-clast-to-gimple.c, haifa-sched.c, hooks.c, hooks.h, ifcvt.c,
3780 internal-fn.c, ira-build.c, ira-color.c, ira-conflicts.c, ira-costs.c,
3781 ira-emit.c, ira-int.h, ira-lives.c, ira.c, ira.h, jump.c, langhooks.h,
3782 libfuncs.h, lists.c, loop-doloop.c, loop-invariant.c, loop-iv.c,
3783 loop-unroll.c, lower-subreg.c, lower-subreg.h, lra-assigns.c,
3784 lra-constraints.c, lra-eliminations.c, lra-int.h, lra-lives.c,
3785 lra-spills.c, lra.c, lra.h, machmode.h, omp-low.c, optabs.c, optabs.h,
3786 output.h, postreload.c, print-tree.c, read-rtl.c, real.c, real.h,
3787 recog.c, recog.h, ree.c, reg-stack.c, regcprop.c, reginfo.c,
3788 regrename.c, regs.h, reload.c, reload.h, reload1.c, rtl.c, rtl.h,
3789 rtlanal.c, rtlhash.c, rtlhooks-def.h, rtlhooks.c, sched-deps.c,
3790 sel-sched-dump.c, sel-sched-ir.c, sel-sched-ir.h, sel-sched.c,
3791 simplify-rtx.c, stmt.c, stor-layout.c, stor-layout.h, target.def,
3792 targhooks.c, targhooks.h, tree-affine.c, tree-call-cdce.c,
3793 tree-complex.c, tree-data-ref.c, tree-dfa.c, tree-if-conv.c,
3794 tree-inline.c, tree-outof-ssa.c, tree-scalar-evolution.c,
3795 tree-ssa-address.c, tree-ssa-ccp.c, tree-ssa-loop-ivopts.c,
3796 tree-ssa-loop-ivopts.h, tree-ssa-loop-manip.c,
3797 tree-ssa-loop-prefetch.c, tree-ssa-math-opts.c, tree-ssa-reassoc.c,
3798 tree-ssa-sccvn.c, tree-streamer-in.c, tree-switch-conversion.c,
3799 tree-vect-data-refs.c, tree-vect-generic.c, tree-vect-loop.c,
3800 tree-vect-patterns.c, tree-vect-slp.c, tree-vect-stmts.c,
3801 tree-vrp.c, tree.c, tree.h, tsan.c, ubsan.c, valtrack.c,
3802 var-tracking.c, varasm.c: Remove redundant enum from
3804 * gengtype.c (main): Treat machine_mode as a scalar typedef.
3805 * genmodes.c (emit_insn_modes_h): Hide inline functions if
3808 2014-10-29 Richard Sandiford <richard.sandiford@arm.com>
3810 PR rtl-optimization/63340 (part 2)
3811 * rtl.h (invalid_mode_change_p): Delete.
3812 (valid_mode_changes_for_regno): New function.
3813 * reginfo.c (invalid_mode_change_p): Delete.
3814 (valid_mode_changes_for_regno): New function.
3815 * ira-costs.c (setup_regno_cost_classes_by_aclass): Restrict the
3816 classes to registers that are allowed by valid_mode_changes_for_regno.
3817 (setup_regno_cost_classes_by_mode): Likewise.
3818 (print_allocno_costs): Remove invalid_mode_change_p test.
3819 (print_pseudo_costs, find_costs_and_classes): Likewise.
3821 2014-10-29 Richard Sandiford <richard.sandiford@arm.com>
3823 PR rtl-optimization/63340 (part 1)
3824 * ira-costs.c (all_cost_classes): New variable.
3825 (complete_cost_classes): New function, split out from...
3826 (setup_cost_classes): ...here.
3827 (initiate_regno_cost_classes): Set up all_cost_classes.
3828 (restrict_cost_classes): New function.
3829 (setup_regno_cost_classes_by_aclass): Restrict the cost classes to
3830 registers that are valid for the register's mode.
3831 (setup_regno_cost_classes_by_mode): Model the mode cache as a
3832 restriction of all_cost_classes to a particular mode.
3833 (print_allocno_costs): Remove contains_reg_of_mode check.
3834 (print_pseudo_costs, find_costs_and_classes): Likewise.
3836 2014-10-29 Richard Biener <rguenther@suse.de>
3838 PR tree-optimization/63666
3839 * tree-vect-slp.c (vect_get_mask_element): Properly handle
3840 accessing out-of-bound elements.
3842 2014-10-29 Alexander Ivchenko <alexander.ivchenko@intel.com>
3843 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
3844 Anna Tikhonova <anna.tikhonova@intel.com>
3845 Ilya Tocar <ilya.tocar@intel.com>
3846 Andrey Turetskiy <andrey.turetskiy@intel.com>
3847 Ilya Verbin <ilya.verbin@intel.com>
3848 Kirill Yukhin <kirill.yukhin@intel.com>
3849 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
3851 * config/i386/i386.md
3852 (movhi_internal): Always detect maskmov.
3853 (movqi_internal): Fix target check.
3855 2014-10-29 Alexander Ivchenko <alexander.ivchenko@intel.com>
3856 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
3857 Anna Tikhonova <anna.tikhonova@intel.com>
3858 Ilya Tocar <ilya.tocar@intel.com>
3859 Andrey Turetskiy <andrey.turetskiy@intel.com>
3860 Ilya Verbin <ilya.verbin@intel.com>
3861 Kirill Yukhin <kirill.yukhin@intel.com>
3862 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
3864 * config/i386/avx512bwintrin.h: Add new intrinsics.
3865 * config/i386/avx512vlbwintrin.h: Ditto.
3866 * config/i386/avx512vlintrin.h: Ditto.
3868 2014-10-28 Dominik Vogt <vogt@linux.vnet.ibm.com>
3870 * godump.c (precision_to_units): New helper function.
3871 (go_append_artificial_name): Ditto.
3872 (go_append_decl_name): Ditto.
3873 (go_append_bitfield): Ditto.
3874 (go_get_uinttype_for_precision): Ditto.
3875 (go_append_padding): Ditto.
3876 (go_force_record_alignment): Ditto.
3877 (go_format_type): Represent unions with an array of uints of the size
3878 of the alignment in go. This fixes the 'random' size of the union's
3879 representation using just the first field.
3880 (go_format_type): Add argument that indicates whether a record is
3881 nested (used for generation of artificial go names).
3882 (go_output_fndecl): Adapt to new go_format_type signature.
3883 (go_output_typedef): Ditto.
3884 (go_output_var): Ditto.
3885 (go_output_var): Prefer to output type as alias (typedef).
3886 (go_format_type): Bitfields in records are simulated as arrays of bytes
3889 * godump.c (go_format_type): Fix handling of arrays with zero elements.
3891 2014-10-28 Andrew MacLeod <amacleod@redhat.com>
3893 * cgraph.h: Flatten. Remove all include files.
3894 (symbol_table::initialize): Move to cgraph.c.
3895 * cgraph.c: Adjust include files.
3896 (symbol_table::initialize): Relocate from cgraph.h.
3897 * gengtype.c (open_base_files): Adjust include files.
3898 * gccplugin.h: Add hash-map.h, is-a.h, plugin-api.h, and ipa-ref.h to
3900 * ipa-inline.h: Remove all include files.
3901 * ipa-prop.h: Ditto.
3902 * ipa-reference.h: Ditto.
3903 * ipa-utils.h: Ditto:
3904 * lto-streamer.h: Remove cgraph.h from include list.
3905 * asan.c: Adjust include files.
3906 * auto-profile.c: Ditto.
3907 * bb-reorder.c: Ditto.
3909 * cfgexpand.c: Ditto.
3910 * cgraphbuild.c: Ditto.
3911 * cgraphclones.c: Ditto.
3912 * cgraphunit.c: Ditto.
3914 * coverage.c: Ditto.
3915 * data-streamer.c: Ditto.
3916 * data-streamer-in.c: Ditto.
3917 * data-streamer-out.c: Ditto.
3919 * dwarf2out.c: Ditto.
3923 * fold-const.c: Ditto.
3924 * ggc-page.c: Ditto.
3925 * gimple-fold.c: Ditto.
3926 * gimple-iterator.c: Ditto.
3927 * gimple-pretty-print.c: Ditto.
3928 * gimple-streamer-in.c: Ditto.
3929 * gimple-streamer-out.c: Ditto.
3930 * gimplify.c: Ditto.
3932 * ipa-comdats.c: Ditto.
3934 * ipa-devirt.c: Ditto.
3936 * ipa-icf-gimple.c: Ditto.
3937 * ipa-inline-analysis.c: Ditto.
3938 * ipa-inline.c: Ditto.
3939 * ipa-inline-transform.c: Ditto.
3940 * ipa-polymorphic-call.c: Ditto.
3941 * ipa-profile.c: Ditto.
3942 * ipa-prop.c: Ditto.
3943 * ipa-pure-const.c: Ditto.
3945 * ipa-reference.c: Ditto.
3946 * ipa-split.c: Ditto.
3947 * ipa-utils.c: Ditto.
3948 * ipa-visibility.c: Ditto.
3949 * langhooks.c: Ditto.
3950 * lto-cgraph.c: Ditto.
3951 * lto-compress.c: Ditto.
3952 * lto-opts.c: Ditto.
3953 * lto-section-in.c: Ditto.
3954 * lto-section-out.c: Ditto.
3955 * lto-streamer.c: Ditto.
3956 * lto-streamer-in.c: Ditto.
3957 * lto-streamer-out.c: Ditto.
3959 * opts-global.c: Ditto.
3962 * print-tree.c: Ditto.
3965 * stor-layout.c: Ditto.
3968 * trans-mem.c: Ditto.
3970 * tree-cfg.c: Ditto.
3972 * tree-emutls.c: Ditto.
3973 * tree-inline.c: Ditto.
3974 * tree-nested.c: Ditto.
3975 * tree-pretty-print.c: Ditto.
3976 * tree-profile.c: Ditto.
3977 * tree-sra.c: Ditto.
3978 * tree-ssa-alias.c: Ditto.
3979 * tree-ssa-loop-ivcanon.c: Ditto.
3980 * tree-ssa-loop-ivopts.c: Ditto.
3981 * tree-ssa-pre.c: Ditto.
3982 * tree-ssa-structalias.c: Ditto.
3983 * tree-streamer.c: Ditto.
3984 * tree-streamer-in.c: Ditto.
3985 * tree-streamer-out.c: Ditto.
3986 * tree-switch-conversion.c: Ditto.
3987 * tree-tailcall.c: Ditto.
3988 * tree-vect-data-refs.c: Ditto.
3989 * tree-vectorizer.c: Ditto.
3990 * tree-vect-stmts.c: Ditto.
3993 * value-prof.c: Ditto.
3996 * config/arm/arm.c: Ditto.
3997 * config/bfin/bfin.c: Ditto.
3998 * config/c6x/c6x.c: Ditto.
3999 * config/cris/cris.c: Ditto.
4000 * config/darwin.c: Ditto.
4001 * config/darwin-c.c: Ditto.
4002 * config/i386/i386.c: Ditto.
4003 * config/i386/winnt.c: Ditto.
4004 * config/microblaze/microblaze.c: Ditto.
4005 * config/mips/mips.c: Ditto.
4006 * config/rs6000/rs6000.c: Ditto.
4007 * config/rx/rx.c: Ditto.
4009 2014-10-28 Richard Biener <rguenther@suse.de>
4011 * gimple-fold.h (follow_single_use_edges): Declare.
4012 * gimple-fold.c (follow_single_use_edges): New function.
4013 (gimple_fold_stmt_to_constant_1): Dispatch to gimple_simplify.
4014 * tree-ssa-propagate.c
4015 (substitute_and_fold_dom_walker::before_dom_children): Allow
4016 following single-use edges when folding stmts we propagated into.
4018 2014-10-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
4019 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
4020 Anna Tikhonova <anna.tikhonova@intel.com>
4021 Ilya Tocar <ilya.tocar@intel.com>
4022 Andrey Turetskiy <andrey.turetskiy@intel.com>
4023 Ilya Verbin <ilya.verbin@intel.com>
4024 Kirill Yukhin <kirill.yukhin@intel.com>
4025 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
4027 * config/i386/avx512bwintrin.h: New.
4028 * config/i386/avx512dqintrin.h: Ditto.
4029 * config/i386/avx512vlbwintrin.h: Ditto.
4030 * config/i386/avx512vldqintrin.h: Ditto.
4031 * config/i386/avx512vlintrin.h: Ditto.
4032 * config/i386/immintrin.h: Include avx512vlintrin.h, avx512bwintrin.h,
4033 avx512dqintrin.h, avx512vlbwintrin.h, avx512vldqintrin.h.
4035 2014-10-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
4036 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
4037 Anna Tikhonova <anna.tikhonova@intel.com>
4038 Ilya Tocar <ilya.tocar@intel.com>
4039 Andrey Turetskiy <andrey.turetskiy@intel.com>
4040 Ilya Verbin <ilya.verbin@intel.com>
4041 Kirill Yukhin <kirill.yukhin@intel.com>
4042 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
4044 * config/i386/i386.c
4045 (ix86_expand_args_builtin): Handle avx_vpermilv4df_mask,
4046 avx_shufpd256_mask, avx_vpermilv2df_mask.
4048 2014-10-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
4049 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
4050 Anna Tikhonova <anna.tikhonova@intel.com>
4051 Ilya Tocar <ilya.tocar@intel.com>
4052 Andrey Turetskiy <andrey.turetskiy@intel.com>
4053 Ilya Verbin <ilya.verbin@intel.com>
4054 Kirill Yukhin <kirill.yukhin@intel.com>
4055 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
4057 * config/i386/i386.c
4058 (ix86_init_mmx_sse_builtins):
4059 Define __builtin_ia32_gather3siv2df, __builtin_ia32_gather3siv4df,
4060 __builtin_ia32_gather3div2df, __builtin_ia32_gather3div4df,
4061 __builtin_ia32_gather3siv4sf, __builtin_ia32_gather3siv8sf,
4062 __builtin_ia32_gather3div4sf, __builtin_ia32_gather3div8sf,
4063 __builtin_ia32_gather3siv2di, __builtin_ia32_gather3siv4di,
4064 __builtin_ia32_gather3div2di, __builtin_ia32_gather3div4di,
4065 __builtin_ia32_gather3siv4si, __builtin_ia32_gather3siv8si,
4066 __builtin_ia32_gather3div4si, __builtin_ia32_gather3div8si,
4067 __builtin_ia32_gather3altsiv4df, __builtin_ia32_gather3altdiv8sf,
4068 __builtin_ia32_gather3altsiv4di, __builtin_ia32_gather3altdiv8si,
4069 __builtin_ia32_scattersiv8sf, __builtin_ia32_scattersiv4sf,
4070 __builtin_ia32_scattersiv4df, __builtin_ia32_scattersiv2df,
4071 __builtin_ia32_scatterdiv8sf, __builtin_ia32_scatterdiv4sf,
4072 __builtin_ia32_scatterdiv4df, __builtin_ia32_scatterdiv2df,
4073 __builtin_ia32_scattersiv8si, __builtin_ia32_scattersiv4si,
4074 __builtin_ia32_scattersiv4di, __builtin_ia32_scattersiv2di,
4075 __builtin_ia32_scatterdiv8si, __builtin_ia32_scatterdiv4si,
4076 __builtin_ia32_scatterdiv4di, __builtin_ia32_scatterdiv2di.
4078 2014-10-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
4079 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
4080 Anna Tikhonova <anna.tikhonova@intel.com>
4081 Ilya Tocar <ilya.tocar@intel.com>
4082 Andrey Turetskiy <andrey.turetskiy@intel.com>
4083 Ilya Verbin <ilya.verbin@intel.com>
4084 Kirill Yukhin <kirill.yukhin@intel.com>
4085 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
4087 * config/i386/i386.c
4088 (ix86_builtins): Add IX86_BUILTIN_GATHER3ALTSIV4DF,
4089 IX86_BUILTIN_GATHER3ALTDIV8SF, IX86_BUILTIN_GATHER3ALTSIV4DI,
4090 IX86_BUILTIN_GATHER3ALTDIV8SI.
4091 (ix86_expand_builtin):
4092 Handle IX86_BUILTIN_GATHER3ALTDIV8SF, IX86_BUILTIN_GATHER3ALTDIV8SI,
4093 IX86_BUILTIN_SCATTERSIV4DF, IX86_BUILTIN_SCATTERSIV4DI,
4094 IX86_BUILTIN_SCATTERDIV2DF, IX86_BUILTIN_SCATTERDIV4DF,
4095 IX86_BUILTIN_GATHER3ALTSIV4DI, IX86_BUILTIN_GATHER3ALTSIV4DF,
4096 IX86_BUILTIN_SCATTERDIV4DI, IX86_BUILTIN_SCATTERDIV2DI,
4097 IX86_BUILTIN_GATHER3SIV8SI, IX86_BUILTIN_GATHER3DIV8SI,
4098 IX86_BUILTIN_GATHER3SIV4DF, IX86_BUILTIN_GATHER3SIV4DI,
4099 IX86_BUILTIN_GATHER3DIV8SF, IX86_BUILTIN_GATHER3SIV8SF,
4100 IX86_BUILTIN_GATHER3DIV4DF, IX86_BUILTIN_GATHER3DIV2DF,
4101 IX86_BUILTIN_GATHER3DIV2DI, IX86_BUILTIN_GATHER3DIV4DI,
4102 IX86_BUILTIN_SCATTERDIV4SF, IX86_BUILTIN_SCATTERSIV2DI,
4103 IX86_BUILTIN_GATHER3SIV2DI, IX86_BUILTIN_GATHER3SIV4SI,
4104 IX86_BUILTIN_GATHER3SIV4SF, IX86_BUILTIN_GATHER3SIV2DF,
4105 IX86_BUILTIN_SCATTERSIV2DF, IX86_BUILTIN_SCATTERDIV4SI,
4106 IX86_BUILTIN_SCATTERSIV4SF, IX86_BUILTIN_SCATTERSIV4SI,
4107 IX86_BUILTIN_SCATTERDIV8SI, IX86_BUILTIN_GATHER3DIV4SI,
4108 IX86_BUILTIN_SCATTERSIV8SI, IX86_BUILTIN_SCATTERSIV8SF,
4109 IX86_BUILTIN_GATHER3DIV4SF, IX86_BUILTIN_SCATTERDIV8SF.
4110 (ix86_vectorize_builtin_gather): Update V2DFmode, V4DFmode, V2DImode,
4111 V4DImode, V4SFmode, V8SFmode, V4SImode, V8SImode.
4113 2014-10-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
4114 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
4115 Anna Tikhonova <anna.tikhonova@intel.com>
4116 Ilya Tocar <ilya.tocar@intel.com>
4117 Andrey Turetskiy <andrey.turetskiy@intel.com>
4118 Ilya Verbin <ilya.verbin@intel.com>
4119 Kirill Yukhin <kirill.yukhin@intel.com>
4120 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
4122 * config/i386/i386-builtin-types.def
4141 (V4SF_FTYPE_V2DF_V4SF_QI): Ditto.
4142 (V4SF_FTYPE_V4DF_V4SF_QI): Ditto.
4143 (V4SF_FTYPE_V8HI_V4SF_QI): Ditto.
4144 (V8SF_FTYPE_V8HI_V8SF_QI): Ditto.
4145 (V16SF_FTYPE_V16HI): Ditto.
4146 (V16SF_FTYPE_V16HI_V16SF_HI): Ditto.
4147 (V16SF_FTYPE_V16SI): Ditto.
4148 (V4DI_FTYPE_V4DI): Ditto.
4149 (V16SI_FTYPE_V16SF): Ditto.
4150 (V8DI_FTYPE_PV2DI): Ditto.
4151 (V8DF_FTYPE_PV2DF): Ditto.
4152 (V4DI_FTYPE_PV2DI): Ditto.
4153 (V4DF_FTYPE_PV2DF): Ditto.
4154 (V16SI_FTYPE_PV2SI): Ditto.
4155 (V16SF_FTYPE_PV2SF): Ditto.
4156 (V8SF_FTYPE_FLOAT): Ditto.
4157 (V4SF_FTYPE_FLOAT): Ditto.
4158 (V4DF_FTYPE_DOUBLE): Ditto.
4159 (V8SF_FTYPE_PV4SF): Ditto.
4160 (V8SI_FTYPE_PV4SI): Ditto.
4161 (V4SI_FTYPE_PV2SI): Ditto.
4162 (V8SF_FTYPE_PV2SF): Ditto.
4163 (V8SI_FTYPE_PV2SI): Ditto.
4164 (V16SF_FTYPE_PV8SF): Ditto.
4165 (V16SI_FTYPE_PV8SI): Ditto.
4166 (V8DI_FTYPE_V8SF): Ditto.
4167 (V4DI_FTYPE_V4SF): Ditto.
4168 (V2DI_FTYPE_V4SF): Ditto.
4169 (V64QI_FTYPE_QI): Ditto.
4170 (V32HI_FTYPE_HI): Ditto.
4171 (V16UHI_FTYPE_V16UHI): Ditto.
4172 (V32UHI_FTYPE_V32UHI): Ditto.
4173 (V2UDI_FTYPE_V2UDI): Ditto.
4174 (V4UDI_FTYPE_V4UDI): Ditto.
4175 (V8UDI_FTYPE_V8UDI): Ditto.
4176 (V4USI_FTYPE_V4USI): Ditto.
4177 (V16USI_FTYPE_V16USI): Ditto.
4178 (V2DF_FTYPE_V4DF_INT_V2DF_QI): Ditto.
4179 (V2DF_FTYPE_V8DF_INT): Ditto.
4180 (V2DF_FTYPE_V8DF_INT_V2DF_QI): Ditto.
4181 (V2DI_FTYPE_V2DI_INT_V2DI_QI): Ditto.
4182 (V8DF_FTYPE_V8DF_INT): Ditto.
4183 (V4SF_FTYPE_V8SF_INT_V4SF_QI): Ditto.
4184 (V4SI_FTYPE_V2DF_V4SI_QI): Ditto.
4185 (V4SI_FTYPE_V4SI_INT_V4SI_QI): Ditto.
4186 (V4SI_FTYPE_V8HI_V8HI_V4SI_QI): Ditto.
4187 (V4SI_FTYPE_V8SI_INT_V4SI_QI): Ditto.
4188 (V8HI_FTYPE_V16QI_V16QI_V8HI_QI): Ditto.
4189 (V8DI_FTYPE_V8DI_INT): Ditto.
4190 (V8HI_FTYPE_V8SF_INT_V8HI_QI): Ditto.
4191 (V8HI_FTYPE_V4SF_INT_V8HI_QI): Ditto.
4192 (V8SF_FTYPE_V16SF_INT): Ditto.
4193 (V8SF_FTYPE_V16SF_INT_V8SF_QI): Ditto.
4194 (V64QI_FTYPE_V32HI_V32HI): Ditto.
4195 (V32HI_FTYPE_V16SI_V16SI): Ditto.
4196 (V8DF_FTYPE_V8DF_V2DF_INT): Ditto.
4197 (V8DF_FTYPE_V8DF_V2DF_INT_V8DF_QI): Ditto.
4198 (V8DF_FTYPE_V8DF_V8DF_INT): Ditto.
4199 (V8DF_FTYPE_V8DF_V8DF_INT_V8DF_QI_INT): Ditto.
4200 (V8DF_FTYPE_V8DF_V8DF_V8DI_INT): Ditto.
4201 (V8DF_FTYPE_V8DF_V8DF_V8DI_INT_QI): Ditto.
4202 (V4DF_FTYPE_V4DF_V4DF_V4DI_INT_QI): Ditto.
4203 (V2DF_FTYPE_V2DF_V2DF_V2DI_INT_QI): Ditto.
4204 (V16SF_FTYPE_V16SF_V16SF_INT_V16SF_HI_INT): Ditto.
4205 (V8SF_FTYPE_V8SF_V8SF_V8SI_INT_QI): Ditto.
4206 (V16SF_FTYPE_V16SF_V8SF_INT_V16SF_HI): Ditto.
4207 (V32HI_FTYPE_V64QI_V64QI): Ditto.
4208 (V16HI_FTYPE_V32QI_V32QI_V16HI_HI): Ditto.
4209 (V32HI_FTYPE_V64QI_V64QI_V32HI_SI): Ditto.
4210 (V32HI_FTYPE_V32HI_V32HI): Ditto.
4211 (V32HI_FTYPE_V32HI_INT): Ditto.
4212 (V16SI_FTYPE_V16SI_V8SI_INT_V16SI_HI): Ditto.
4213 (V16SI_FTYPE_V32HI_V32HI): Ditto.
4214 (V8SI_FTYPE_V16HI_V16HI_V8SI_QI): Ditto.
4215 (V16SI_FTYPE_V32HI_V32HI_V16SI_HI): Ditto.
4216 (V8SI_FTYPE_V8SI_INT_V8SI_QI): Ditto.
4217 (V8SI_FTYPE_V16SI_INT): Ditto.
4218 (V8SI_FTYPE_V16SI_INT_V8SI_QI): Ditto.
4219 (V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI): Ditto.
4220 (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI): Ditto.
4221 (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI): Ditto.
4222 (V8DI_FTYPE_V8DI_V4DI_INT): Ditto.
4223 (V8DI_FTYPE_V8DI_V2DI_INT): Ditto.
4224 (V8DI_FTYPE_V8DI_V2DI_INT_V8DI_QI): Ditto.
4225 (V8DI_FTYPE_V16SI_V16SI): Ditto.
4226 (V8DI_FTYPE_V64QI_V64QI): Ditto.
4227 (V4DI_FTYPE_V4DI_INT_V4DI_QI): Ditto.
4228 (V2DI_FTYPE_V4DI_INT_V2DI_QI): Ditto.
4229 (V2DI_FTYPE_V8DI_INT): Ditto.
4230 (V2DI_FTYPE_V8DI_INT_V2DI_QI): Ditto.
4231 (QI_FTYPE_QI): Ditto.
4232 (SI_FTYPE_SI): Ditto.
4233 (DI_FTYPE_DI): Ditto.
4234 (HI_FTYPE_V16QI): Ditto.
4235 (SI_FTYPE_V32QI): Ditto.
4236 (DI_FTYPE_V64QI): Ditto.
4237 (QI_FTYPE_V8HI): Ditto.
4238 (HI_FTYPE_V16HI): Ditto.
4239 (SI_FTYPE_V32HI): Ditto.
4240 (QI_FTYPE_V4SI): Ditto.
4241 (QI_FTYPE_V8SI): Ditto.
4242 (HI_FTYPE_V16SI): Ditto.
4243 (QI_FTYPE_V2DI): Ditto.
4244 (QI_FTYPE_V4DI): Ditto.
4245 (QI_FTYPE_V8DI): Ditto.
4246 (V16QI_FTYPE_HI): Ditto.
4247 (V32QI_FTYPE_SI): Ditto.
4248 (V64QI_FTYPE_DI): Ditto.
4249 (V8HI_FTYPE_QI): Ditto.
4250 (V16HI_FTYPE_HI): Ditto.
4251 (V32HI_FTYPE_SI): Ditto.
4252 (V4SI_FTYPE_QI): Ditto.
4253 (V4SI_FTYPE_HI): Ditto.
4254 (V8SI_FTYPE_QI): Ditto.
4255 (V8SI_FTYPE_HI): Ditto.
4256 (V2DI_FTYPE_QI): Ditto.
4257 (V4DI_FTYPE_QI): Ditto.
4258 (QI_FTYPE_QI_QI): Ditto.
4259 (SI_FTYPE_SI_SI): Ditto.
4260 (DI_FTYPE_DI_DI): Ditto.
4261 (QI_FTYPE_QI_INT): Ditto.
4262 (SI_FTYPE_SI_INT): Ditto.
4263 (DI_FTYPE_DI_INT): Ditto.
4264 (HI_FTYPE_V16QI_V16QI): Ditto.
4265 (HI_FTYPE_V16QI_V16QI_HI): Ditto.
4266 (HI_FTYPE_V16QI_V16QI_INT_HI): Ditto.
4267 (SI_FTYPE_V32QI_V32QI): Ditto.
4268 (SI_FTYPE_V32QI_V32QI_SI): Ditto.
4269 (SI_FTYPE_V32QI_V32QI_INT_SI): Ditto.
4270 (DI_FTYPE_V64QI_V64QI): Ditto.
4271 (DI_FTYPE_V64QI_V64QI_DI): Ditto.
4272 (DI_FTYPE_V64QI_V64QI_INT_DI): Ditto.
4273 (QI_FTYPE_V8HI_V8HI): Ditto.
4274 (QI_FTYPE_V8HI_V8HI_QI): Ditto.
4275 (QI_FTYPE_V8HI_V8HI_INT_QI): Ditto.
4276 (HI_FTYPE_V16HI_V16HI): Ditto.
4277 (HI_FTYPE_V16HI_V16HI_HI): Ditto.
4278 (HI_FTYPE_V16HI_V16HI_INT_HI): Ditto.
4279 (SI_FTYPE_V32HI_V32HI): Ditto.
4280 (SI_FTYPE_V32HI_V32HI_SI): Ditto.
4281 (SI_FTYPE_V32HI_V32HI_INT_SI): Ditto.
4282 (QI_FTYPE_V4SI_V4SI): Ditto.
4283 (QI_FTYPE_V4SI_V4SI_QI): Ditto.
4284 (QI_FTYPE_V4SI_V4SI_INT_QI): Ditto.
4285 (QI_FTYPE_V8SI_V8SI): Ditto.
4286 (QI_FTYPE_V8SI_V8SI_QI): Ditto.
4287 (QI_FTYPE_V8SI_V8SI_INT_QI): Ditto.
4288 (QI_FTYPE_V2DI_V2DI): Ditto.
4289 (QI_FTYPE_V2DI_V2DI_QI): Ditto.
4290 (QI_FTYPE_V2DI_V2DI_INT_QI): Ditto.
4291 (QI_FTYPE_V4DI_V4DI): Ditto.
4292 (QI_FTYPE_V4DI_V4DI_QI): Ditto.
4293 (QI_FTYPE_V4DI_V4DI_INT_QI): Ditto.
4294 (V32HI_FTYPE_V32HI_V32HI_V32HI): Ditto.
4295 (V4DF_FTYPE_V4DF_V4DI_INT): Ditto.
4296 (V2DF_FTYPE_V2DI_V2DF_V2DF_QI): Ditto.
4297 (V2DF_FTYPE_V2DF_V2DI_V2DF_QI): Ditto.
4298 (V4DF_FTYPE_V4DF_V2DF_INT_V4DF_QI): Ditto.
4299 (V8DI_FTYPE_V8DI_V8DI_INT): Ditto.
4300 (V4SF_FTYPE_V4SI_V4SF_V4SF_QI): Ditto.
4301 (V4SF_FTYPE_V4SF_V4SI_V4SF_QI): Ditto.
4302 (V4SF_FTYPE_V4SF_V4SF_V4SF_QI): Ditto.
4303 (V4SF_FTYPE_V4SF_V2DF_V4SF_QI): Ditto.
4304 (V8SF_FTYPE_V8SF_V4SF_INT_V8SF_QI): Ditto.
4305 (V8SI_FTYPE_V8SI_V4SI_INT_V8SI_QI): Ditto.
4306 (V4DI_FTYPE_V4DI_V2DI_INT_V4DI_QI): Ditto.
4307 (V2DF_FTYPE_V2DF_V2DF_QI): Ditto.
4308 (V2DF_FTYPE_V4SF_V2DF_QI): Ditto.
4309 (V2DF_FTYPE_V4SI_V2DF_QI): Ditto.
4310 (V4DF_FTYPE_V4DF_V4DF_QI): Ditto.
4311 (V4DF_FTYPE_V4SF_V4DF_QI): Ditto.
4312 (V4DF_FTYPE_V4SI_V4DF_QI): Ditto.
4313 (V2DI_FTYPE_V4SI_V2DI_QI): Ditto.
4314 (V2DI_FTYPE_V8HI_V2DI_QI): Ditto.
4315 (V8DI_FTYPE_V8DF_V8DI_QI): Ditto.
4316 (V4DI_FTYPE_V4DF_V4DI_QI): Ditto.
4317 (V2DI_FTYPE_V2DF_V2DI_QI): Ditto.
4318 (V2DI_FTYPE_V2DI_V2DI_V2DI_QI): Ditto.
4319 (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_QI): Ditto.
4320 (V4DI_FTYPE_V4DI_V4DI_V4DI_QI): Ditto.
4321 (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_QI): Ditto.
4322 (V2DI_FTYPE_V16QI_V2DI_QI): Ditto.
4323 (V4DI_FTYPE_V16QI_V4DI_QI): Ditto.
4324 (V4DI_FTYPE_V4DI_V4DI_QI): Ditto.
4325 (V4DI_FTYPE_V4SI_V4DI_QI): Ditto.
4326 (V4DI_FTYPE_V8HI_V4DI_QI): Ditto.
4327 (V4DF_FTYPE_V4DI_V4DF_V4DF_QI): Ditto.
4328 (V4DF_FTYPE_V4DF_V4DI_V4DF_QI): Ditto.
4329 (V4DF_FTYPE_V4DF_V4DF_V4DF_QI): Ditto.
4330 (V16QI_FTYPE_V16QI_V16QI_V16QI_HI): Ditto.
4331 (V16HI_FTYPE_V16HI_V16HI_V16HI_HI): Ditto.
4332 (V32HI_FTYPE_V32HI_V32HI_V32HI_SI): Ditto.
4333 (V64QI_FTYPE_V64QI_V64QI_V64QI_DI): Ditto.
4334 (V32QI_FTYPE_V32QI_V32QI_V32QI_SI): Ditto.
4335 (V8HI_FTYPE_V8HI_V8HI_V8HI_QI): Ditto.
4336 (V4SF_FTYPE_V4SF_V4SF_QI): Ditto.
4337 (V4SF_FTYPE_V4SI_V4SF_QI): Ditto.
4338 (V8SF_FTYPE_V8SF_V8SF_QI): Ditto.
4339 (V8SF_FTYPE_V8SI_V8SF_QI): Ditto.
4340 (V4SI_FTYPE_V16QI_V4SI_QI): Ditto.
4341 (V4SI_FTYPE_V8HI_V4SI_QI): Ditto.
4342 (V8SI_FTYPE_V8SI_V8SI_QI): Ditto.
4343 (V8SI_FTYPE_V8HI_V8SI_QI): Ditto.
4344 (V8SI_FTYPE_V16QI_V8SI_QI): Ditto.
4345 (V4SI_FTYPE_V4SI_V4SI_V4SI_QI): Ditto.
4346 (V4SI_FTYPE_V4SI_V4SI_INT_V4SI_QI): Ditto.
4347 (V8SF_FTYPE_V8SF_V8SF_V8SF_QI): Ditto.
4348 (V8SF_FTYPE_V8SI_V8SF_V8SF_QI): Ditto.
4349 (V8SF_FTYPE_V8SF_V8SI_V8SF_QI): Ditto.
4350 (V8SI_FTYPE_V8SI_V8SI_V8SI_QI): Ditto.
4351 (V8SI_FTYPE_V8SI_V8SI_INT_V8SI_QI): Ditto.
4352 (V16SF_FTYPE_V8SF_V16SF_HI): Ditto.
4353 (V16SI_FTYPE_V8SI_V16SI_HI): Ditto.
4354 (V4SI_FTYPE_V4DF_V4SI_QI): Ditto.
4355 (V8DI_FTYPE_PCCHAR_V8DI_QI): Ditto.
4356 (V8SF_FTYPE_PCFLOAT_V8SF_QI): Ditto.
4357 (V4SF_FTYPE_PCFLOAT_V4SF_QI): Ditto.
4358 (V4DF_FTYPE_PCDOUBLE_V4DF_QI): Ditto.
4359 (V2DF_FTYPE_PCDOUBLE_V2DF_QI): Ditto.
4360 (V8SI_FTYPE_PCCHAR_V8SI_QI): Ditto.
4361 (V4SI_FTYPE_PCCHAR_V4SI_QI): Ditto.
4362 (V4DI_FTYPE_PCCHAR_V4DI_QI): Ditto.
4363 (V2DI_FTYPE_PCCHAR_V2DI_QI): Ditto.
4364 (V16QI_FTYPE_V16SI_V16QI_HI): Ditto.
4365 (V16QI_FTYPE_V8DI_V16QI_QI): Ditto.
4366 (V32HI_FTYPE_V32HI_V32HI_SI): Ditto.
4367 (V32HI_FTYPE_V64QI_V64QI_INT): Ditto.
4368 (V32HI_FTYPE_V32QI_V32HI_SI): Ditto.
4369 (V16HI_FTYPE_V16HI_V16HI_HI): Ditto.
4370 (V16HI_FTYPE_V32QI_V32QI_INT): Ditto.
4371 (V16HI_FTYPE_V16QI_V16HI_HI): Ditto.
4372 (V8HI_FTYPE_V16QI_V8HI_QI): Ditto.
4373 (V8HI_FTYPE_V16QI_V16QI_INT): Ditto.
4374 (V8SF_FTYPE_V4SF_V8SF_QI): Ditto.
4375 (V4DF_FTYPE_V2DF_V4DF_QI): Ditto.
4376 (V8SI_FTYPE_V4SI_V8SI_QI): Ditto.
4377 (V8SI_FTYPE_SI_V8SI_QI): Ditto.
4378 (V4SI_FTYPE_V4SI_V4SI_QI): Ditto.
4379 (V4SI_FTYPE_SI_V4SI_QI): Ditto.
4380 (V4DI_FTYPE_V2DI_V4DI_QI): Ditto.
4381 (V4DI_FTYPE_DI_V4DI_QI): Ditto.
4382 (V2DI_FTYPE_V2DI_V2DI_QI): Ditto.
4383 (V2DI_FTYPE_DI_V2DI_QI): Ditto.
4384 (V64QI_FTYPE_V64QI_V64QI_DI): Ditto.
4385 (V64QI_FTYPE_V16QI_V64QI_DI): Ditto.
4386 (V64QI_FTYPE_QI_V64QI_DI): Ditto.
4387 (V32QI_FTYPE_V32QI_V32QI_SI): Ditto.
4388 (V32QI_FTYPE_V16QI_V32QI_SI): Ditto.
4389 (V32QI_FTYPE_QI_V32QI_SI): Ditto.
4390 (V16QI_FTYPE_V16QI_V16QI_HI): Ditto.
4391 (V16QI_FTYPE_QI_V16QI_HI): Ditto.
4392 (V32HI_FTYPE_V8HI_V32HI_SI): Ditto.
4393 (V32HI_FTYPE_HI_V32HI_SI): Ditto.
4394 (V16HI_FTYPE_V8HI_V16HI_HI): Ditto.
4395 (V16HI_FTYPE_HI_V16HI_HI): Ditto.
4396 (V8HI_FTYPE_V8HI_V8HI_QI): Ditto.
4397 (V8HI_FTYPE_HI_V8HI_QI): Ditto.
4398 (V64QI_FTYPE_PCV64QI_V64QI_DI): Ditto.
4399 (V32HI_FTYPE_PCV32HI_V32HI_SI): Ditto.
4400 (V32QI_FTYPE_PCV32QI_V32QI_SI): Ditto.
4401 (V16SF_FTYPE_PCV8SF_V16SF_HI): Ditto.
4402 (V16SI_FTYPE_PCV8SI_V16SI_HI): Ditto.
4403 (V16HI_FTYPE_PCV16HI_V16HI_HI): Ditto.
4404 (V16QI_FTYPE_PCV16QI_V16QI_HI): Ditto.
4405 (V8DF_FTYPE_PCV2DF_V8DF_QI): Ditto.
4406 (V8SF_FTYPE_PCV8SF_V8SF_QI): Ditto.
4407 (V8SF_FTYPE_PCV4SF_V8SF_QI): Ditto.
4408 (V8DI_FTYPE_PCV2DI_V8DI_QI): Ditto.
4409 (V8SI_FTYPE_PCV8SI_V8SI_QI): Ditto.
4410 (V8SI_FTYPE_PCV4SI_V8SI_QI): Ditto.
4411 (V8HI_FTYPE_PCV8HI_V8HI_QI): Ditto.
4412 (V4DF_FTYPE_PCV2DF_V4DF_QI): Ditto.
4413 (V4DF_FTYPE_PCV4DF_V4DF_QI): Ditto.
4414 (V4SF_FTYPE_PCV4SF_V4SF_QI): Ditto.
4415 (V4DI_FTYPE_PCV4DI_V4DI_QI): Ditto.
4416 (V4DI_FTYPE_PCV2DI_V4DI_QI): Ditto.
4417 (V4SI_FTYPE_PCV4SI_V4SI_QI): Ditto.
4418 (V2DF_FTYPE_PCV2DF_V2DF_QI): Ditto.
4419 (V2DI_FTYPE_PCV2DI_V2DI_QI): Ditto.
4420 (V16QI_FTYPE_V8HI_V16QI_QI): Ditto.
4421 (V16QI_FTYPE_V16HI_V16QI_HI): Ditto.
4422 (V16QI_FTYPE_V4SI_V16QI_QI): Ditto.
4423 (V16QI_FTYPE_V8SI_V16QI_QI): Ditto.
4424 (V8HI_FTYPE_V4SI_V8HI_QI): Ditto.
4425 (V8HI_FTYPE_V8SI_V8HI_QI): Ditto.
4426 (V16QI_FTYPE_V2DI_V16QI_QI): Ditto.
4427 (V16QI_FTYPE_V4DI_V16QI_QI): Ditto.
4428 (V8HI_FTYPE_V2DI_V8HI_QI): Ditto.
4429 (V8HI_FTYPE_V4DI_V8HI_QI): Ditto.
4430 (V4SI_FTYPE_V2DI_V4SI_QI): Ditto.
4431 (V4SI_FTYPE_V4DI_V4SI_QI): Ditto.
4432 (V32QI_FTYPE_V32HI_V32QI_SI): Ditto.
4433 (V2DF_FTYPE_V2DF_INT_V2DF_QI): Ditto.
4434 (V4DF_FTYPE_V4DF_INT_V4DF_QI): Ditto.
4435 (V4SF_FTYPE_V4SF_INT_V4SF_QI): Ditto.
4436 (V8SF_FTYPE_V8SF_INT_V8SF_QI): Ditto.
4437 (V4DF_FTYPE_V4DF_V4DF_INT_V4DF_QI): Ditto.
4438 (V2DF_FTYPE_V2DF_V2DF_INT_V2DF_QI): Ditto.
4439 (V8SF_FTYPE_V8SF_V8SF_INT_V8SF_QI): Ditto.
4440 (V4SF_FTYPE_V4SF_V4SF_INT_V4SF_QI): Ditto.
4441 (VOID_FTYPE_PV8HI_V4DI_QI): Ditto.
4442 (VOID_FTYPE_PV8HI_V2DI_QI): Ditto.
4443 (VOID_FTYPE_PV4SI_V4DI_QI): Ditto.
4444 (VOID_FTYPE_PV4SI_V2DI_QI): Ditto.
4445 (VOID_FTYPE_PV8HI_V8SI_QI): Ditto.
4446 (VOID_FTYPE_PV8HI_V4SI_QI): Ditto.
4447 (VOID_FTYPE_PV4DF_V4DF_QI): Ditto.
4448 (VOID_FTYPE_PV2DF_V2DF_QI): Ditto.
4449 (VOID_FTYPE_PV8SF_V8SF_QI): Ditto.
4450 (VOID_FTYPE_PV4SF_V4SF_QI): Ditto.
4451 (VOID_FTYPE_PV4DI_V4DI_QI): Ditto.
4452 (VOID_FTYPE_PV2DI_V2DI_QI): Ditto.
4453 (VOID_FTYPE_PV16QI_V8SI_QI): Ditto.
4454 (VOID_FTYPE_PV16QI_V4SI_QI): Ditto.
4455 (VOID_FTYPE_PV16QI_V4DI_QI): Ditto.
4456 (VOID_FTYPE_PV16QI_V2DI_QI): Ditto.
4457 (VOID_FTYPE_PV8SI_V8SI_QI): Ditto.
4458 (VOID_FTYPE_PV4SI_V4SI_QI): Ditto.
4459 (VOID_FTYPE_PV32HI_V32HI_SI): Ditto.
4460 (VOID_FTYPE_PV16HI_V16HI_HI): Ditto.
4461 (VOID_FTYPE_PV8HI_V8HI_QI): Ditto.
4462 (VOID_FTYPE_PV64QI_V64QI_DI): Ditto.
4463 (VOID_FTYPE_PV32QI_V32QI_SI): Ditto.
4464 (VOID_FTYPE_PV16QI_V16QI_HI): Ditto.
4465 (V8SI_FTYPE_V8SF_V8SI_QI): Ditto.
4466 (V4SI_FTYPE_V4SF_V4SI_QI): Ditto.
4467 (V8DI_FTYPE_V8SF_V8DI_QI): Ditto.
4468 (V4DI_FTYPE_V4SF_V4DI_QI): Ditto.
4469 (V2DI_FTYPE_V4SF_V2DI_QI): Ditto.
4470 (V8SF_FTYPE_V8DI_V8SF_QI): Ditto.
4471 (V4SF_FTYPE_V4DI_V4SF_QI): Ditto.
4472 (V4SF_FTYPE_V2DI_V4SF_QI): Ditto.
4473 (V8DF_FTYPE_V8DI_V8DF_QI): Ditto.
4474 (V4DF_FTYPE_V4DI_V4DF_QI): Ditto.
4475 (V2DF_FTYPE_V2DI_V2DF_QI): Ditto.
4476 (V32HI_FTYPE_V32HI_INT_V32HI_SI): Ditto.
4477 (V32HI_FTYPE_V32HI_V8HI_V32HI_SI): Ditto.
4478 (V16HI_FTYPE_V16HI_INT_V16HI_HI): Ditto.
4479 (V16HI_FTYPE_V16HI_V8HI_V16HI_HI): Ditto.
4480 (V8HI_FTYPE_V8HI_INT_V8HI_QI): Ditto.
4481 (V32HI_FTYPE_V64QI_V64QI_INT_V32HI_SI): Ditto.
4482 (V16HI_FTYPE_V32QI_V32QI_INT_V16HI_HI): Ditto.
4483 (V8HI_FTYPE_V16QI_V16QI_INT_V8HI_QI): Ditto.
4484 (V64QI_FTYPE_V32HI_V32HI_V64QI_DI): Ditto.
4485 (V32QI_FTYPE_V16HI_V16HI_V32QI_SI): Ditto.
4486 (V16QI_FTYPE_V8HI_V8HI_V16QI_HI): Ditto.
4487 (V32HI_FTYPE_V16SI_V16SI_V32HI_SI): Ditto.
4488 (V16HI_FTYPE_V8SI_V8SI_V16HI_HI): Ditto.
4489 (V8HI_FTYPE_V4SI_V4SI_V8HI_QI): Ditto.
4490 (V8DI_FTYPE_V16SI_V16SI_V8DI_QI): Ditto.
4491 (V4DI_FTYPE_V8SI_V8SI_V4DI_QI): Ditto.
4492 (V2DI_FTYPE_V4SI_V4SI_V2DI_QI): Ditto.
4493 (V8SI_FTYPE_V8SI_V8SI_V8SI_INT_QI): Ditto.
4494 (V4DI_FTYPE_V4DI_V4DI_V4DI_INT_QI): Ditto.
4495 (V4SI_FTYPE_V4SI_V4SI_V4SI_INT_QI): Ditto.
4496 (V2DI_FTYPE_V2DI_V2DI_V2DI_INT_QI): Ditto.
4497 (V2DF_FTYPE_V2DF_V2DI_V2DF): Ditto.
4498 (V4DF_FTYPE_V4DF_V4DI_V4DF): Ditto.
4499 (V4SF_FTYPE_V4SF_V4SI_V4SF): Ditto.
4500 (V8SF_FTYPE_V8SF_V8SI_V8SF): Ditto.
4501 (V8SI_FTYPE_V8SI_V4SI_V8SI_QI): Ditto.
4502 (V4DI_FTYPE_V4DI_V2DI_V4DI_QI): Ditto.
4503 (QI_FTYPE_V8DF_INT): Ditto.
4504 (QI_FTYPE_V4DF_INT): Ditto.
4505 (QI_FTYPE_V4DF_V4DF_INT_QI): Ditto.
4506 (QI_FTYPE_V2DF_INT): Ditto.
4507 (HI_FTYPE_V16SF_INT): Ditto.
4508 (QI_FTYPE_V8SF_INT): Ditto.
4509 (QI_FTYPE_V8SF_V8SF_INT_QI): Ditto.
4510 (QI_FTYPE_V4SF_INT): Ditto.
4511 (QI_FTYPE_V8DF_INT_QI): Ditto.
4512 (QI_FTYPE_V4DF_INT_QI): Ditto.
4513 (QI_FTYPE_V2DF_INT_QI): Ditto.
4514 (HI_FTYPE_V16SF_INT_HI): Ditto.
4515 (QI_FTYPE_V8SF_INT_QI): Ditto.
4516 (QI_FTYPE_V4SF_INT_QI): Ditto.
4517 (V8DI_FTYPE_V8DF_V8DI_QI_INT): Ditto.
4518 (V8DI_FTYPE_V8SF_V8DI_QI_INT): Ditto.
4519 (V8DF_FTYPE_V8DI_V8DF_QI_INT): Ditto.
4520 (V8SF_FTYPE_V8DI_V8SF_QI_INT): Ditto.
4521 (V2DF_FTYPE_V2DF_PCDOUBLE_V4SI_QI_INT): Ditto.
4522 (V4DF_FTYPE_V4DF_PCDOUBLE_V4SI_QI_INT): Ditto.
4523 (V4DF_FTYPE_V4DF_PCDOUBLE_V8SI_QI_INT): Ditto.
4524 (V2DF_FTYPE_V2DF_PCDOUBLE_V2DI_QI_INT): Ditto.
4525 (V4DF_FTYPE_V4DF_PCDOUBLE_V4DI_QI_INT): Ditto.
4526 (V4SF_FTYPE_V4SF_PCFLOAT_V4SI_QI_INT): Ditto.
4527 (V8SF_FTYPE_V8SF_PCFLOAT_V8SI_QI_INT): Ditto.
4528 (V4SF_FTYPE_V4SF_PCFLOAT_V2DI_QI_INT): Ditto.
4529 (V4SF_FTYPE_V4SF_PCFLOAT_V4DI_QI_INT): Ditto.
4530 (V8SF_FTYPE_V8SF_PCFLOAT_V4DI_QI_INT): Ditto.
4531 (V2DI_FTYPE_V2DI_PCINT64_V4SI_QI_INT): Ditto.
4532 (V4DI_FTYPE_V4DI_PCINT64_V4SI_QI_INT): Ditto.
4533 (V4DI_FTYPE_V4DI_PCINT64_V8SI_QI_INT): Ditto.
4534 (V2DI_FTYPE_V2DI_PCINT64_V2DI_QI_INT): Ditto.
4535 (V4DI_FTYPE_V4DI_PCINT64_V4DI_QI_INT): Ditto.
4536 (V4SI_FTYPE_V4SI_PCINT_V4SI_QI_INT): Ditto.
4537 (V8SI_FTYPE_V8SI_PCINT_V8SI_QI_INT): Ditto.
4538 (V4SI_FTYPE_V4SI_PCINT_V2DI_QI_INT): Ditto.
4539 (V4SI_FTYPE_V4SI_PCINT_V4DI_QI_INT): Ditto.
4540 (V8SI_FTYPE_V8SI_PCINT_V4DI_QI_INT): Ditto.
4541 (VOID_FTYPE_PFLOAT_QI_V8SI_V8SF_INT): Ditto.
4542 (VOID_FTYPE_PFLOAT_QI_V4SI_V4SF_INT): Ditto.
4543 (VOID_FTYPE_PDOUBLE_QI_V4SI_V4DF_INT): Ditto.
4544 (VOID_FTYPE_PDOUBLE_QI_V4SI_V2DF_INT): Ditto.
4545 (VOID_FTYPE_PFLOAT_QI_V4DI_V4SF_INT): Ditto.
4546 (VOID_FTYPE_PFLOAT_QI_V2DI_V4SF_INT): Ditto.
4547 (VOID_FTYPE_PDOUBLE_QI_V4DI_V4DF_INT): Ditto.
4548 (VOID_FTYPE_PDOUBLE_QI_V2DI_V2DF_INT): Ditto.
4549 (VOID_FTYPE_PINT_QI_V8SI_V8SI_INT): Ditto.
4550 (VOID_FTYPE_PINT_QI_V4SI_V4SI_INT): Ditto.
4551 (VOID_FTYPE_PLONGLONG_QI_V4SI_V4DI_INT): Ditto.
4552 (VOID_FTYPE_PLONGLONG_QI_V4SI_V2DI_INT): Ditto.
4553 (VOID_FTYPE_PINT_QI_V4DI_V4SI_INT): Ditto.
4554 (VOID_FTYPE_PINT_QI_V2DI_V4SI_INT): Ditto.
4555 (VOID_FTYPE_PLONGLONG_QI_V4DI_V4DI_INT): Ditto.
4556 (VOID_FTYPE_PLONGLONG_QI_V2DI_V2DI_INT): Ditto.
4557 (V8DI_FTYPE_V8DI_INT): Ditto.
4558 (V8DI_FTYPE_V8DI_V8DI_INT): Ditto.
4559 (V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI): Ditto.
4560 (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI): Ditto.
4561 (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI): Ditto.
4562 (V2DF_FTYPE_ V2DF_ V2DF_ V2DI_ INT_ QI): Remove.
4563 (V4SF_FTYPE_ V4SF_ V2DF_ V4SF_ QI): Ditto.
4564 (V4SF_FTYPE_ V4SF_ V4SF_ V4SF_ QI): Ditto.
4565 (V2DF_FTYPE_ PCDOUBLE_ V2DF_ QI): Ditto.
4566 (V4SF_FTYPE_ PCFLOAT_ V4SF_ QI): Ditto.
4567 (V16QI_FTYPE_ V16SI_ V16QI_ HI): Ditto.
4568 (V16QI_FTYPE_ V8DI_ V16QI_ QI): Ditto.
4569 (V4SF_FTYPE_ V4SF_ V4SF_ INT_ V4SF_ QI): Ditto.
4570 (V2DF_FTYPE_ V2DF_ V2DF_ INT_ V2DF_ QI): Ditto.
4571 (V8DI_FTYPE_ V16SI_ V16SI_ V8DI_ QI): Ditto.
4572 * config/i386/i386.c (ix86_builtins):
4573 Add IX86_BUILTIN_PMOVUSQD256_MEM, IX86_BUILTIN_PMOVUSQD128_MEM,
4574 IX86_BUILTIN_PMOVSQD256_MEM, IX86_BUILTIN_PMOVSQD128_MEM,
4575 IX86_BUILTIN_PMOVQD256_MEM, IX86_BUILTIN_PMOVQD128_MEM,
4576 IX86_BUILTIN_PMOVUSQW256_MEM, IX86_BUILTIN_PMOVUSQW128_MEM,
4577 IX86_BUILTIN_PMOVSQW256_MEM, IX86_BUILTIN_PMOVSQW128_MEM,
4578 IX86_BUILTIN_PMOVQW256_MEM, IX86_BUILTIN_PMOVQW128_MEM,
4579 IX86_BUILTIN_PMOVUSQB256_MEM, IX86_BUILTIN_PMOVUSQB128_MEM,
4580 IX86_BUILTIN_PMOVSQB256_MEM, IX86_BUILTIN_PMOVSQB128_MEM,
4581 IX86_BUILTIN_PMOVQB256_MEM, IX86_BUILTIN_PMOVQB128_MEM,
4582 IX86_BUILTIN_PMOVUSDW256_MEM, IX86_BUILTIN_PMOVUSDW128_MEM,
4583 IX86_BUILTIN_PMOVSDW256_MEM, IX86_BUILTIN_PMOVSDW128_MEM,
4584 IX86_BUILTIN_PMOVDW256_MEM, IX86_BUILTIN_PMOVDW128_MEM,
4585 IX86_BUILTIN_PMOVUSDB256_MEM, IX86_BUILTIN_PMOVUSDB128_MEM,
4586 IX86_BUILTIN_PMOVSDB256_MEM, IX86_BUILTIN_PMOVSDB128_MEM,
4587 IX86_BUILTIN_PMOVDB256_MEM, IX86_BUILTIN_PMOVDB128_MEM,
4588 IX86_BUILTIN_MOVDQA64LOAD256_MASK, IX86_BUILTIN_MOVDQA64LOAD128_MASK,
4589 IX86_BUILTIN_MOVDQA32LOAD256_MASK, IX86_BUILTIN_MOVDQA32LOAD128_MASK,
4590 IX86_BUILTIN_MOVDQA64STORE256_MASK, IX86_BUILTIN_MOVDQA64STORE128_MASK,
4591 IX86_BUILTIN_MOVDQA32STORE256_MASK, IX86_BUILTIN_MOVDQA32STORE128_MASK,
4592 IX86_BUILTIN_LOADAPD256_MASK, IX86_BUILTIN_LOADAPD128_MASK,
4593 IX86_BUILTIN_LOADAPS256_MASK, IX86_BUILTIN_LOADAPS128_MASK,
4594 IX86_BUILTIN_STOREAPD256_MASK, IX86_BUILTIN_STOREAPD128_MASK,
4595 IX86_BUILTIN_STOREAPS256_MASK, IX86_BUILTIN_STOREAPS128_MASK,
4596 IX86_BUILTIN_LOADUPD256_MASK, IX86_BUILTIN_LOADUPD128_MASK,
4597 IX86_BUILTIN_LOADUPS256_MASK, IX86_BUILTIN_LOADUPS128_MASK,
4598 IX86_BUILTIN_STOREUPD256_MASK, IX86_BUILTIN_STOREUPD128_MASK,
4599 IX86_BUILTIN_STOREUPS256_MASK, IX86_BUILTIN_STOREUPS128_MASK,
4600 IX86_BUILTIN_LOADDQUDI256_MASK, IX86_BUILTIN_LOADDQUDI128_MASK,
4601 IX86_BUILTIN_LOADDQUSI256_MASK, IX86_BUILTIN_LOADDQUSI128_MASK,
4602 IX86_BUILTIN_LOADDQUHI256_MASK, IX86_BUILTIN_LOADDQUHI128_MASK,
4603 IX86_BUILTIN_LOADDQUQI256_MASK, IX86_BUILTIN_LOADDQUQI128_MASK,
4604 IX86_BUILTIN_STOREDQUDI256_MASK, IX86_BUILTIN_STOREDQUDI128_MASK,
4605 IX86_BUILTIN_STOREDQUSI256_MASK, IX86_BUILTIN_STOREDQUSI128_MASK,
4606 IX86_BUILTIN_STOREDQUHI256_MASK, IX86_BUILTIN_STOREDQUHI128_MASK,
4607 IX86_BUILTIN_STOREDQUQI256_MASK, IX86_BUILTIN_STOREDQUQI128_MASK,
4608 IX86_BUILTIN_COMPRESSPDSTORE256, IX86_BUILTIN_COMPRESSPDSTORE128,
4609 IX86_BUILTIN_COMPRESSPSSTORE256, IX86_BUILTIN_COMPRESSPSSTORE128,
4610 IX86_BUILTIN_PCOMPRESSQSTORE256, IX86_BUILTIN_PCOMPRESSQSTORE128,
4611 IX86_BUILTIN_PCOMPRESSDSTORE256, IX86_BUILTIN_PCOMPRESSDSTORE128,
4612 IX86_BUILTIN_EXPANDPDLOAD256, IX86_BUILTIN_EXPANDPDLOAD128,
4613 IX86_BUILTIN_EXPANDPSLOAD256, IX86_BUILTIN_EXPANDPSLOAD128,
4614 IX86_BUILTIN_PEXPANDQLOAD256, IX86_BUILTIN_PEXPANDQLOAD128,
4615 IX86_BUILTIN_PEXPANDDLOAD256, IX86_BUILTIN_PEXPANDDLOAD128,
4616 IX86_BUILTIN_EXPANDPDLOAD256Z, IX86_BUILTIN_EXPANDPDLOAD128Z,
4617 IX86_BUILTIN_EXPANDPSLOAD256Z, IX86_BUILTIN_EXPANDPSLOAD128Z,
4618 IX86_BUILTIN_PEXPANDQLOAD256Z, IX86_BUILTIN_PEXPANDQLOAD128Z,
4619 IX86_BUILTIN_PEXPANDDLOAD256Z, IX86_BUILTIN_PEXPANDDLOAD128Z,
4620 IX86_BUILTIN_PALIGNR256_MASK, IX86_BUILTIN_PALIGNR128_MASK,
4621 IX86_BUILTIN_MOVDQA64_256_MASK, IX86_BUILTIN_MOVDQA64_128_MASK,
4622 IX86_BUILTIN_MOVDQA32_256_MASK, IX86_BUILTIN_MOVDQA32_128_MASK,
4623 IX86_BUILTIN_MOVAPD256_MASK, IX86_BUILTIN_MOVAPD128_MASK,
4624 IX86_BUILTIN_MOVAPS256_MASK, IX86_BUILTIN_MOVAPS128_MASK,
4625 IX86_BUILTIN_MOVDQUHI256_MASK, IX86_BUILTIN_MOVDQUHI128_MASK,
4626 IX86_BUILTIN_MOVDQUQI256_MASK, IX86_BUILTIN_MOVDQUQI128_MASK,
4627 IX86_BUILTIN_MINPS128_MASK, IX86_BUILTIN_MAXPS128_MASK,
4628 IX86_BUILTIN_MINPD128_MASK, IX86_BUILTIN_MAXPD128_MASK,
4629 IX86_BUILTIN_MAXPD256_MASK, IX86_BUILTIN_MAXPS256_MASK,
4630 IX86_BUILTIN_MINPD256_MASK, IX86_BUILTIN_MINPS256_MASK,
4631 IX86_BUILTIN_MULPS128_MASK, IX86_BUILTIN_DIVPS128_MASK,
4632 IX86_BUILTIN_MULPD128_MASK, IX86_BUILTIN_DIVPD128_MASK,
4633 IX86_BUILTIN_DIVPD256_MASK, IX86_BUILTIN_DIVPS256_MASK,
4634 IX86_BUILTIN_MULPD256_MASK, IX86_BUILTIN_MULPS256_MASK,
4635 IX86_BUILTIN_ADDPD128_MASK, IX86_BUILTIN_ADDPD256_MASK,
4636 IX86_BUILTIN_ADDPS128_MASK, IX86_BUILTIN_ADDPS256_MASK,
4637 IX86_BUILTIN_SUBPD128_MASK, IX86_BUILTIN_SUBPD256_MASK,
4638 IX86_BUILTIN_SUBPS128_MASK, IX86_BUILTIN_SUBPS256_MASK,
4639 IX86_BUILTIN_XORPD256_MASK, IX86_BUILTIN_XORPD128_MASK,
4640 IX86_BUILTIN_XORPS256_MASK, IX86_BUILTIN_XORPS128_MASK,
4641 IX86_BUILTIN_ORPD256_MASK, IX86_BUILTIN_ORPD128_MASK,
4642 IX86_BUILTIN_ORPS256_MASK, IX86_BUILTIN_ORPS128_MASK,
4643 IX86_BUILTIN_BROADCASTF32x2_256, IX86_BUILTIN_BROADCASTI32x2_256,
4644 IX86_BUILTIN_BROADCASTI32x2_128, IX86_BUILTIN_BROADCASTF64X2_256,
4645 IX86_BUILTIN_BROADCASTI64X2_256, IX86_BUILTIN_BROADCASTF32X4_256,
4646 IX86_BUILTIN_BROADCASTI32X4_256, IX86_BUILTIN_EXTRACTF32X4_256,
4647 IX86_BUILTIN_EXTRACTI32X4_256, IX86_BUILTIN_DBPSADBW256,
4648 IX86_BUILTIN_DBPSADBW128, IX86_BUILTIN_CVTTPD2QQ256,
4649 IX86_BUILTIN_CVTTPD2QQ128, IX86_BUILTIN_CVTTPD2UQQ256,
4650 IX86_BUILTIN_CVTTPD2UQQ128, IX86_BUILTIN_CVTPD2QQ256,
4651 IX86_BUILTIN_CVTPD2QQ128, IX86_BUILTIN_CVTPD2UQQ256,
4652 IX86_BUILTIN_CVTPD2UQQ128, IX86_BUILTIN_CVTPD2UDQ256_MASK,
4653 IX86_BUILTIN_CVTPD2UDQ128_MASK, IX86_BUILTIN_CVTTPS2QQ256,
4654 IX86_BUILTIN_CVTTPS2QQ128, IX86_BUILTIN_CVTTPS2UQQ256,
4655 IX86_BUILTIN_CVTTPS2UQQ128, IX86_BUILTIN_CVTTPS2DQ256_MASK,
4656 IX86_BUILTIN_CVTTPS2DQ128_MASK, IX86_BUILTIN_CVTTPS2UDQ256,
4657 IX86_BUILTIN_CVTTPS2UDQ128, IX86_BUILTIN_CVTTPD2DQ256_MASK,
4658 IX86_BUILTIN_CVTTPD2DQ128_MASK, IX86_BUILTIN_CVTTPD2UDQ256_MASK,
4659 IX86_BUILTIN_CVTTPD2UDQ128_MASK, IX86_BUILTIN_CVTPD2DQ256_MASK,
4660 IX86_BUILTIN_CVTPD2DQ128_MASK, IX86_BUILTIN_CVTDQ2PD256_MASK,
4661 IX86_BUILTIN_CVTDQ2PD128_MASK, IX86_BUILTIN_CVTUDQ2PD256_MASK,
4662 IX86_BUILTIN_CVTUDQ2PD128_MASK, IX86_BUILTIN_CVTDQ2PS256_MASK,
4663 IX86_BUILTIN_CVTDQ2PS128_MASK, IX86_BUILTIN_CVTUDQ2PS256_MASK,
4664 IX86_BUILTIN_CVTUDQ2PS128_MASK, IX86_BUILTIN_CVTPS2PD256_MASK,
4665 IX86_BUILTIN_CVTPS2PD128_MASK, IX86_BUILTIN_PBROADCASTB256_MASK,
4666 IX86_BUILTIN_PBROADCASTB256_GPR_MASK, IX86_BUILTIN_PBROADCASTB128_MASK,
4667 IX86_BUILTIN_PBROADCASTB128_GPR_MASK, IX86_BUILTIN_PBROADCASTW256_MASK,
4668 IX86_BUILTIN_PBROADCASTW256_GPR_MASK, IX86_BUILTIN_PBROADCASTW128_MASK,
4669 IX86_BUILTIN_PBROADCASTW128_GPR_MASK, IX86_BUILTIN_PBROADCASTD256_MASK,
4670 IX86_BUILTIN_PBROADCASTD256_GPR_MASK, IX86_BUILTIN_PBROADCASTD128_MASK,
4671 IX86_BUILTIN_PBROADCASTD128_GPR_MASK, IX86_BUILTIN_PBROADCASTQ256_MASK,
4672 IX86_BUILTIN_PBROADCASTQ256_GPR_MASK, IX86_BUILTIN_PBROADCASTQ256_MEM_MASK,
4673 IX86_BUILTIN_PBROADCASTQ128_MASK, IX86_BUILTIN_PBROADCASTQ128_GPR_MASK,
4674 IX86_BUILTIN_PBROADCASTQ128_MEM_MASK, IX86_BUILTIN_BROADCASTSS256,
4675 IX86_BUILTIN_BROADCASTSS128, IX86_BUILTIN_BROADCASTSD256,
4676 IX86_BUILTIN_EXTRACTF64X2_256, IX86_BUILTIN_EXTRACTI64X2_256,
4677 IX86_BUILTIN_INSERTF32X4_256, IX86_BUILTIN_INSERTI32X4_256,
4678 IX86_BUILTIN_PMOVSXBW256_MASK, IX86_BUILTIN_PMOVSXBW128_MASK,
4679 IX86_BUILTIN_PMOVSXBD256_MASK, IX86_BUILTIN_PMOVSXBD128_MASK,
4680 IX86_BUILTIN_PMOVSXBQ256_MASK, IX86_BUILTIN_PMOVSXBQ128_MASK,
4681 IX86_BUILTIN_PMOVSXWD256_MASK, IX86_BUILTIN_PMOVSXWD128_MASK,
4682 IX86_BUILTIN_PMOVSXWQ256_MASK, IX86_BUILTIN_PMOVSXWQ128_MASK,
4683 IX86_BUILTIN_PMOVSXDQ256_MASK, IX86_BUILTIN_PMOVSXDQ128_MASK,
4684 IX86_BUILTIN_PMOVZXBW256_MASK, IX86_BUILTIN_PMOVZXBW128_MASK,
4685 IX86_BUILTIN_PMOVZXBD256_MASK, IX86_BUILTIN_PMOVZXBD128_MASK,
4686 IX86_BUILTIN_PMOVZXBQ256_MASK, IX86_BUILTIN_PMOVZXBQ128_MASK,
4687 IX86_BUILTIN_PMOVZXWD256_MASK, IX86_BUILTIN_PMOVZXWD128_MASK,
4688 IX86_BUILTIN_PMOVZXWQ256_MASK, IX86_BUILTIN_PMOVZXWQ128_MASK,
4689 IX86_BUILTIN_PMOVZXDQ256_MASK, IX86_BUILTIN_PMOVZXDQ128_MASK,
4690 IX86_BUILTIN_REDUCEPD256_MASK, IX86_BUILTIN_REDUCEPD128_MASK,
4691 IX86_BUILTIN_REDUCEPS256_MASK, IX86_BUILTIN_REDUCEPS128_MASK,
4692 IX86_BUILTIN_REDUCESD_MASK, IX86_BUILTIN_REDUCESS_MASK,
4693 IX86_BUILTIN_VPERMVARHI256_MASK, IX86_BUILTIN_VPERMVARHI128_MASK,
4694 IX86_BUILTIN_VPERMT2VARHI256, IX86_BUILTIN_VPERMT2VARHI256_MASKZ,
4695 IX86_BUILTIN_VPERMT2VARHI128, IX86_BUILTIN_VPERMT2VARHI128_MASKZ,
4696 IX86_BUILTIN_VPERMI2VARHI256, IX86_BUILTIN_VPERMI2VARHI128,
4697 IX86_BUILTIN_RCP14PD256, IX86_BUILTIN_RCP14PD128,
4698 IX86_BUILTIN_RCP14PS256, IX86_BUILTIN_RCP14PS128,
4699 IX86_BUILTIN_RSQRT14PD256_MASK, IX86_BUILTIN_RSQRT14PD128_MASK,
4700 IX86_BUILTIN_RSQRT14PS256_MASK, IX86_BUILTIN_RSQRT14PS128_MASK,
4701 IX86_BUILTIN_SQRTPD256_MASK, IX86_BUILTIN_SQRTPD128_MASK,
4702 IX86_BUILTIN_SQRTPS256_MASK, IX86_BUILTIN_SQRTPS128_MASK,
4703 IX86_BUILTIN_PADDB128_MASK, IX86_BUILTIN_PADDW128_MASK,
4704 IX86_BUILTIN_PADDD128_MASK, IX86_BUILTIN_PADDQ128_MASK,
4705 IX86_BUILTIN_PSUBB128_MASK, IX86_BUILTIN_PSUBW128_MASK,
4706 IX86_BUILTIN_PSUBD128_MASK, IX86_BUILTIN_PSUBQ128_MASK,
4707 IX86_BUILTIN_PADDSB128_MASK, IX86_BUILTIN_PADDSW128_MASK,
4708 IX86_BUILTIN_PSUBSB128_MASK, IX86_BUILTIN_PSUBSW128_MASK,
4709 IX86_BUILTIN_PADDUSB128_MASK, IX86_BUILTIN_PADDUSW128_MASK,
4710 IX86_BUILTIN_PSUBUSB128_MASK, IX86_BUILTIN_PSUBUSW128_MASK,
4711 IX86_BUILTIN_PADDB256_MASK, IX86_BUILTIN_PADDW256_MASK,
4712 IX86_BUILTIN_PADDD256_MASK, IX86_BUILTIN_PADDQ256_MASK,
4713 IX86_BUILTIN_PADDSB256_MASK, IX86_BUILTIN_PADDSW256_MASK,
4714 IX86_BUILTIN_PADDUSB256_MASK, IX86_BUILTIN_PADDUSW256_MASK,
4715 IX86_BUILTIN_PSUBB256_MASK, IX86_BUILTIN_PSUBW256_MASK,
4716 IX86_BUILTIN_PSUBD256_MASK, IX86_BUILTIN_PSUBQ256_MASK,
4717 IX86_BUILTIN_PSUBSB256_MASK, IX86_BUILTIN_PSUBSW256_MASK,
4718 IX86_BUILTIN_PSUBUSB256_MASK, IX86_BUILTIN_PSUBUSW256_MASK,
4719 IX86_BUILTIN_SHUF_F64x2_256, IX86_BUILTIN_SHUF_I64x2_256,
4720 IX86_BUILTIN_SHUF_I32x4_256, IX86_BUILTIN_SHUF_F32x4_256,
4721 IX86_BUILTIN_PMOVWB128, IX86_BUILTIN_PMOVWB256,
4722 IX86_BUILTIN_PMOVSWB128, IX86_BUILTIN_PMOVSWB256,
4723 IX86_BUILTIN_PMOVUSWB128, IX86_BUILTIN_PMOVUSWB256,
4724 IX86_BUILTIN_PMOVDB128, IX86_BUILTIN_PMOVDB256,
4725 IX86_BUILTIN_PMOVSDB128, IX86_BUILTIN_PMOVSDB256,
4726 IX86_BUILTIN_PMOVUSDB128, IX86_BUILTIN_PMOVUSDB256,
4727 IX86_BUILTIN_PMOVDW128, IX86_BUILTIN_PMOVDW256,
4728 IX86_BUILTIN_PMOVSDW128, IX86_BUILTIN_PMOVSDW256,
4729 IX86_BUILTIN_PMOVUSDW128, IX86_BUILTIN_PMOVUSDW256,
4730 IX86_BUILTIN_PMOVQB128, IX86_BUILTIN_PMOVQB256,
4731 IX86_BUILTIN_PMOVSQB128, IX86_BUILTIN_PMOVSQB256,
4732 IX86_BUILTIN_PMOVUSQB128, IX86_BUILTIN_PMOVUSQB256,
4733 IX86_BUILTIN_PMOVQW128, IX86_BUILTIN_PMOVQW256,
4734 IX86_BUILTIN_PMOVSQW128, IX86_BUILTIN_PMOVSQW256,
4735 IX86_BUILTIN_PMOVUSQW128, IX86_BUILTIN_PMOVUSQW256,
4736 IX86_BUILTIN_PMOVQD128, IX86_BUILTIN_PMOVQD256,
4737 IX86_BUILTIN_PMOVSQD128, IX86_BUILTIN_PMOVSQD256,
4738 IX86_BUILTIN_PMOVUSQD128, IX86_BUILTIN_PMOVUSQD256,
4739 IX86_BUILTIN_RANGEPD256, IX86_BUILTIN_RANGEPD128,
4740 IX86_BUILTIN_RANGEPS256, IX86_BUILTIN_RANGEPS128,
4741 IX86_BUILTIN_GETEXPPS256, IX86_BUILTIN_GETEXPPD256,
4742 IX86_BUILTIN_GETEXPPS128, IX86_BUILTIN_GETEXPPD128,
4743 IX86_BUILTIN_FIXUPIMMPD256_MASK, IX86_BUILTIN_FIXUPIMMPD256_MASKZ,
4744 IX86_BUILTIN_FIXUPIMMPS256_MASK, IX86_BUILTIN_FIXUPIMMPS256_MASKZ,
4745 IX86_BUILTIN_FIXUPIMMPD128_MASK, IX86_BUILTIN_FIXUPIMMPD128_MASKZ,
4746 IX86_BUILTIN_FIXUPIMMPS128_MASK, IX86_BUILTIN_FIXUPIMMPS128_MASKZ,
4747 IX86_BUILTIN_PABSQ256, IX86_BUILTIN_PABSQ128,
4748 IX86_BUILTIN_PABSD256_MASK, IX86_BUILTIN_PABSD128_MASK,
4749 IX86_BUILTIN_PMULHRSW256_MASK, IX86_BUILTIN_PMULHRSW128_MASK,
4750 IX86_BUILTIN_PMULHUW128_MASK, IX86_BUILTIN_PMULHUW256_MASK,
4751 IX86_BUILTIN_PMULHW256_MASK, IX86_BUILTIN_PMULHW128_MASK,
4752 IX86_BUILTIN_PMULLW256_MASK, IX86_BUILTIN_PMULLW128_MASK,
4753 IX86_BUILTIN_PMULLQ256, IX86_BUILTIN_PMULLQ128,
4754 IX86_BUILTIN_ANDPD256_MASK, IX86_BUILTIN_ANDPD128_MASK,
4755 IX86_BUILTIN_ANDPS256_MASK, IX86_BUILTIN_ANDPS128_MASK,
4756 IX86_BUILTIN_ANDNPD256_MASK, IX86_BUILTIN_ANDNPD128_MASK,
4757 IX86_BUILTIN_ANDNPS256_MASK, IX86_BUILTIN_ANDNPS128_MASK,
4758 IX86_BUILTIN_PSLLWI128_MASK, IX86_BUILTIN_PSLLDI128_MASK,
4759 IX86_BUILTIN_PSLLQI128_MASK, IX86_BUILTIN_PSLLW128_MASK,
4760 IX86_BUILTIN_PSLLD128_MASK, IX86_BUILTIN_PSLLQ128_MASK,
4761 IX86_BUILTIN_PSLLWI256_MASK , IX86_BUILTIN_PSLLW256_MASK,
4762 IX86_BUILTIN_PSLLDI256_MASK, IX86_BUILTIN_PSLLD256_MASK,
4763 IX86_BUILTIN_PSLLQI256_MASK, IX86_BUILTIN_PSLLQ256_MASK,
4764 IX86_BUILTIN_PSRADI128_MASK, IX86_BUILTIN_PSRAD128_MASK,
4765 IX86_BUILTIN_PSRADI256_MASK, IX86_BUILTIN_PSRAD256_MASK,
4766 IX86_BUILTIN_PSRAQI128_MASK, IX86_BUILTIN_PSRAQ128_MASK,
4767 IX86_BUILTIN_PSRAQI256_MASK, IX86_BUILTIN_PSRAQ256_MASK,
4768 IX86_BUILTIN_PANDD256, IX86_BUILTIN_PANDD128,
4769 IX86_BUILTIN_PSRLDI128_MASK, IX86_BUILTIN_PSRLD128_MASK,
4770 IX86_BUILTIN_PSRLDI256_MASK, IX86_BUILTIN_PSRLD256_MASK,
4771 IX86_BUILTIN_PSRLQI128_MASK, IX86_BUILTIN_PSRLQ128_MASK,
4772 IX86_BUILTIN_PSRLQI256_MASK, IX86_BUILTIN_PSRLQ256_MASK,
4773 IX86_BUILTIN_PANDQ256, IX86_BUILTIN_PANDQ128,
4774 IX86_BUILTIN_PANDND256, IX86_BUILTIN_PANDND128,
4775 IX86_BUILTIN_PANDNQ256, IX86_BUILTIN_PANDNQ128,
4776 IX86_BUILTIN_PORD256, IX86_BUILTIN_PORD128,
4777 IX86_BUILTIN_PORQ256, IX86_BUILTIN_PORQ128,
4778 IX86_BUILTIN_PXORD256, IX86_BUILTIN_PXORD128,
4779 IX86_BUILTIN_PXORQ256, IX86_BUILTIN_PXORQ128,
4780 IX86_BUILTIN_PACKSSWB256_MASK, IX86_BUILTIN_PACKSSWB128_MASK,
4781 IX86_BUILTIN_PACKUSWB256_MASK, IX86_BUILTIN_PACKUSWB128_MASK,
4782 IX86_BUILTIN_RNDSCALEPS256, IX86_BUILTIN_RNDSCALEPD256,
4783 IX86_BUILTIN_RNDSCALEPS128, IX86_BUILTIN_RNDSCALEPD128,
4784 IX86_BUILTIN_VTERNLOGQ256_MASK, IX86_BUILTIN_VTERNLOGQ256_MASKZ,
4785 IX86_BUILTIN_VTERNLOGD256_MASK, IX86_BUILTIN_VTERNLOGD256_MASKZ,
4786 IX86_BUILTIN_VTERNLOGQ128_MASK, IX86_BUILTIN_VTERNLOGQ128_MASKZ,
4787 IX86_BUILTIN_VTERNLOGD128_MASK, IX86_BUILTIN_VTERNLOGD128_MASKZ,
4788 IX86_BUILTIN_SCALEFPD256, IX86_BUILTIN_SCALEFPS256,
4789 IX86_BUILTIN_SCALEFPD128, IX86_BUILTIN_SCALEFPS128,
4790 IX86_BUILTIN_VFMADDPD256_MASK, IX86_BUILTIN_VFMADDPD256_MASK3,
4791 IX86_BUILTIN_VFMADDPD256_MASKZ, IX86_BUILTIN_VFMADDPD128_MASK,
4792 IX86_BUILTIN_VFMADDPD128_MASK3, IX86_BUILTIN_VFMADDPD128_MASKZ,
4793 IX86_BUILTIN_VFMADDPS256_MASK, IX86_BUILTIN_VFMADDPS256_MASK3,
4794 IX86_BUILTIN_VFMADDPS256_MASKZ, IX86_BUILTIN_VFMADDPS128_MASK,
4795 IX86_BUILTIN_VFMADDPS128_MASK3, IX86_BUILTIN_VFMADDPS128_MASKZ,
4796 IX86_BUILTIN_VFMSUBPD256_MASK3, IX86_BUILTIN_VFMSUBPD128_MASK3,
4797 IX86_BUILTIN_VFMSUBPS256_MASK3, IX86_BUILTIN_VFMSUBPS128_MASK3,
4798 IX86_BUILTIN_VFNMADDPD256_MASK, IX86_BUILTIN_VFNMADDPD128_MASK,
4799 IX86_BUILTIN_VFNMADDPS256_MASK, IX86_BUILTIN_VFNMADDPS128_MASK,
4800 IX86_BUILTIN_VFNMSUBPD256_MASK, IX86_BUILTIN_VFNMSUBPD256_MASK3,
4801 IX86_BUILTIN_VFNMSUBPD128_MASK, IX86_BUILTIN_VFNMSUBPD128_MASK3,
4802 IX86_BUILTIN_VFNMSUBPS256_MASK, IX86_BUILTIN_VFNMSUBPS256_MASK3,
4803 IX86_BUILTIN_VFNMSUBPS128_MASK, IX86_BUILTIN_VFNMSUBPS128_MASK3,
4804 IX86_BUILTIN_VFMADDSUBPD256_MASK, IX86_BUILTIN_VFMADDSUBPD256_MASK3,
4805 IX86_BUILTIN_VFMADDSUBPD256_MASKZ, IX86_BUILTIN_VFMADDSUBPD128_MASK,
4806 IX86_BUILTIN_VFMADDSUBPD128_MASK3, IX86_BUILTIN_VFMADDSUBPD128_MASKZ,
4807 IX86_BUILTIN_VFMADDSUBPS256_MASK, IX86_BUILTIN_VFMADDSUBPS256_MASK3,
4808 IX86_BUILTIN_VFMADDSUBPS256_MASKZ, IX86_BUILTIN_VFMADDSUBPS128_MASK,
4809 IX86_BUILTIN_VFMADDSUBPS128_MASK3, IX86_BUILTIN_VFMADDSUBPS128_MASKZ,
4810 IX86_BUILTIN_VFMSUBADDPD256_MASK3, IX86_BUILTIN_VFMSUBADDPD128_MASK3,
4811 IX86_BUILTIN_VFMSUBADDPS256_MASK3, IX86_BUILTIN_VFMSUBADDPS128_MASK3,
4812 IX86_BUILTIN_INSERTF64X2_256, IX86_BUILTIN_INSERTI64X2_256,
4813 IX86_BUILTIN_PSRAVV16HI, IX86_BUILTIN_PSRAVV8HI,
4814 IX86_BUILTIN_PMADDUBSW256_MASK, IX86_BUILTIN_PMADDUBSW128_MASK,
4815 IX86_BUILTIN_PMADDWD256_MASK, IX86_BUILTIN_PMADDWD128_MASK,
4816 IX86_BUILTIN_PSRLVV16HI, IX86_BUILTIN_PSRLVV8HI,
4817 IX86_BUILTIN_CVTPS2DQ256_MASK, IX86_BUILTIN_CVTPS2DQ128_MASK,
4818 IX86_BUILTIN_CVTPS2UDQ256, IX86_BUILTIN_CVTPS2UDQ128,
4819 IX86_BUILTIN_CVTPS2QQ256, IX86_BUILTIN_CVTPS2QQ128,
4820 IX86_BUILTIN_CVTPS2UQQ256, IX86_BUILTIN_CVTPS2UQQ128,
4821 IX86_BUILTIN_GETMANTPS256, IX86_BUILTIN_GETMANTPS128,
4822 IX86_BUILTIN_GETMANTPD256, IX86_BUILTIN_GETMANTPD128,
4823 IX86_BUILTIN_MOVDDUP256_MASK, IX86_BUILTIN_MOVDDUP128_MASK,
4824 IX86_BUILTIN_MOVSHDUP256_MASK, IX86_BUILTIN_MOVSHDUP128_MASK,
4825 IX86_BUILTIN_MOVSLDUP256_MASK, IX86_BUILTIN_MOVSLDUP128_MASK,
4826 IX86_BUILTIN_CVTQQ2PS256, IX86_BUILTIN_CVTQQ2PS128,
4827 IX86_BUILTIN_CVTUQQ2PS256, IX86_BUILTIN_CVTUQQ2PS128,
4828 IX86_BUILTIN_CVTQQ2PD256, IX86_BUILTIN_CVTQQ2PD128,
4829 IX86_BUILTIN_CVTUQQ2PD256, IX86_BUILTIN_CVTUQQ2PD128,
4830 IX86_BUILTIN_VPERMT2VARQ256, IX86_BUILTIN_VPERMT2VARQ256_MASKZ,
4831 IX86_BUILTIN_VPERMT2VARD256, IX86_BUILTIN_VPERMT2VARD256_MASKZ,
4832 IX86_BUILTIN_VPERMI2VARQ256, IX86_BUILTIN_VPERMI2VARD256,
4833 IX86_BUILTIN_VPERMT2VARPD256, IX86_BUILTIN_VPERMT2VARPD256_MASKZ,
4834 IX86_BUILTIN_VPERMT2VARPS256, IX86_BUILTIN_VPERMT2VARPS256_MASKZ,
4835 IX86_BUILTIN_VPERMI2VARPD256, IX86_BUILTIN_VPERMI2VARPS256,
4836 IX86_BUILTIN_VPERMT2VARQ128, IX86_BUILTIN_VPERMT2VARQ128_MASKZ,
4837 IX86_BUILTIN_VPERMT2VARD128, IX86_BUILTIN_VPERMT2VARD128_MASKZ,
4838 IX86_BUILTIN_VPERMI2VARQ128, IX86_BUILTIN_VPERMI2VARD128,
4839 IX86_BUILTIN_VPERMT2VARPD128, IX86_BUILTIN_VPERMT2VARPD128_MASKZ,
4840 IX86_BUILTIN_VPERMT2VARPS128, IX86_BUILTIN_VPERMT2VARPS128_MASKZ,
4841 IX86_BUILTIN_VPERMI2VARPD128, IX86_BUILTIN_VPERMI2VARPS128,
4842 IX86_BUILTIN_PSHUFB256_MASK, IX86_BUILTIN_PSHUFB128_MASK,
4843 IX86_BUILTIN_PSHUFHW256_MASK, IX86_BUILTIN_PSHUFHW128_MASK,
4844 IX86_BUILTIN_PSHUFLW256_MASK, IX86_BUILTIN_PSHUFLW128_MASK,
4845 IX86_BUILTIN_PSHUFD256_MASK, IX86_BUILTIN_PSHUFD128_MASK,
4846 IX86_BUILTIN_SHUFPD256_MASK, IX86_BUILTIN_SHUFPD128_MASK,
4847 IX86_BUILTIN_SHUFPS256_MASK, IX86_BUILTIN_SHUFPS128_MASK,
4848 IX86_BUILTIN_PROLVQ256, IX86_BUILTIN_PROLVQ128,
4849 IX86_BUILTIN_PROLQ256, IX86_BUILTIN_PROLQ128,
4850 IX86_BUILTIN_PRORVQ256, IX86_BUILTIN_PRORVQ128,
4851 IX86_BUILTIN_PRORQ256, IX86_BUILTIN_PRORQ128,
4852 IX86_BUILTIN_PSRAVQ128, IX86_BUILTIN_PSRAVQ256,
4853 IX86_BUILTIN_PSLLVV4DI_MASK, IX86_BUILTIN_PSLLVV2DI_MASK,
4854 IX86_BUILTIN_PSLLVV8SI_MASK, IX86_BUILTIN_PSLLVV4SI_MASK,
4855 IX86_BUILTIN_PSRAVV8SI_MASK, IX86_BUILTIN_PSRAVV4SI_MASK,
4856 IX86_BUILTIN_PSRLVV4DI_MASK, IX86_BUILTIN_PSRLVV2DI_MASK,
4857 IX86_BUILTIN_PSRLVV8SI_MASK, IX86_BUILTIN_PSRLVV4SI_MASK,
4858 IX86_BUILTIN_PSRAWI256_MASK, IX86_BUILTIN_PSRAW256_MASK,
4859 IX86_BUILTIN_PSRAWI128_MASK, IX86_BUILTIN_PSRAW128_MASK,
4860 IX86_BUILTIN_PSRLWI256_MASK, IX86_BUILTIN_PSRLW256_MASK,
4861 IX86_BUILTIN_PSRLWI128_MASK, IX86_BUILTIN_PSRLW128_MASK,
4862 IX86_BUILTIN_PRORVD256, IX86_BUILTIN_PROLVD256,
4863 IX86_BUILTIN_PRORD256, IX86_BUILTIN_PROLD256,
4864 IX86_BUILTIN_PRORVD128, IX86_BUILTIN_PROLVD128,
4865 IX86_BUILTIN_PRORD128, IX86_BUILTIN_PROLD128,
4866 IX86_BUILTIN_FPCLASSPD256, IX86_BUILTIN_FPCLASSPD128,
4867 IX86_BUILTIN_FPCLASSSD, IX86_BUILTIN_FPCLASSPS256,
4868 IX86_BUILTIN_FPCLASSPS128, IX86_BUILTIN_FPCLASSSS,
4869 IX86_BUILTIN_CVTB2MASK128, IX86_BUILTIN_CVTB2MASK256,
4870 IX86_BUILTIN_CVTW2MASK128, IX86_BUILTIN_CVTW2MASK256,
4871 IX86_BUILTIN_CVTD2MASK128, IX86_BUILTIN_CVTD2MASK256,
4872 IX86_BUILTIN_CVTQ2MASK128, IX86_BUILTIN_CVTQ2MASK256,
4873 IX86_BUILTIN_CVTMASK2B128, IX86_BUILTIN_CVTMASK2B256,
4874 IX86_BUILTIN_CVTMASK2W128, IX86_BUILTIN_CVTMASK2W256,
4875 IX86_BUILTIN_CVTMASK2D128, IX86_BUILTIN_CVTMASK2D256,
4876 IX86_BUILTIN_CVTMASK2Q128, IX86_BUILTIN_CVTMASK2Q256,
4877 IX86_BUILTIN_PCMPEQB128_MASK, IX86_BUILTIN_PCMPEQB256_MASK,
4878 IX86_BUILTIN_PCMPEQW128_MASK, IX86_BUILTIN_PCMPEQW256_MASK,
4879 IX86_BUILTIN_PCMPEQD128_MASK, IX86_BUILTIN_PCMPEQD256_MASK,
4880 IX86_BUILTIN_PCMPEQQ128_MASK, IX86_BUILTIN_PCMPEQQ256_MASK,
4881 IX86_BUILTIN_PCMPGTB128_MASK, IX86_BUILTIN_PCMPGTB256_MASK,
4882 IX86_BUILTIN_PCMPGTW128_MASK, IX86_BUILTIN_PCMPGTW256_MASK,
4883 IX86_BUILTIN_PCMPGTD128_MASK, IX86_BUILTIN_PCMPGTD256_MASK,
4884 IX86_BUILTIN_PCMPGTQ128_MASK, IX86_BUILTIN_PCMPGTQ256_MASK,
4885 IX86_BUILTIN_PTESTMB128, IX86_BUILTIN_PTESTMB256,
4886 IX86_BUILTIN_PTESTMW128, IX86_BUILTIN_PTESTMW256,
4887 IX86_BUILTIN_PTESTMD128, IX86_BUILTIN_PTESTMD256,
4888 IX86_BUILTIN_PTESTMQ128, IX86_BUILTIN_PTESTMQ256,
4889 IX86_BUILTIN_PTESTNMB128, IX86_BUILTIN_PTESTNMB256,
4890 IX86_BUILTIN_PTESTNMW128, IX86_BUILTIN_PTESTNMW256,
4891 IX86_BUILTIN_PTESTNMD128, IX86_BUILTIN_PTESTNMD256,
4892 IX86_BUILTIN_PTESTNMQ128, IX86_BUILTIN_PTESTNMQ256,
4893 IX86_BUILTIN_PBROADCASTMB128, IX86_BUILTIN_PBROADCASTMB256,
4894 IX86_BUILTIN_PBROADCASTMW128, IX86_BUILTIN_PBROADCASTMW256,
4895 IX86_BUILTIN_COMPRESSPD256, IX86_BUILTIN_COMPRESSPD128,
4896 IX86_BUILTIN_COMPRESSPS256, IX86_BUILTIN_COMPRESSPS128,
4897 IX86_BUILTIN_PCOMPRESSQ256, IX86_BUILTIN_PCOMPRESSQ128,
4898 IX86_BUILTIN_PCOMPRESSD256, IX86_BUILTIN_PCOMPRESSD128,
4899 IX86_BUILTIN_EXPANDPD256, IX86_BUILTIN_EXPANDPD128,
4900 IX86_BUILTIN_EXPANDPS256, IX86_BUILTIN_EXPANDPS128,
4901 IX86_BUILTIN_PEXPANDQ256, IX86_BUILTIN_PEXPANDQ128,
4902 IX86_BUILTIN_PEXPANDD256, IX86_BUILTIN_PEXPANDD128,
4903 IX86_BUILTIN_EXPANDPD256Z, IX86_BUILTIN_EXPANDPD128Z,
4904 IX86_BUILTIN_EXPANDPS256Z, IX86_BUILTIN_EXPANDPS128Z,
4905 IX86_BUILTIN_PEXPANDQ256Z, IX86_BUILTIN_PEXPANDQ128Z,
4906 IX86_BUILTIN_PEXPANDD256Z, IX86_BUILTIN_PEXPANDD128Z,
4907 IX86_BUILTIN_PMAXSD256_MASK, IX86_BUILTIN_PMINSD256_MASK,
4908 IX86_BUILTIN_PMAXUD256_MASK, IX86_BUILTIN_PMINUD256_MASK,
4909 IX86_BUILTIN_PMAXSD128_MASK, IX86_BUILTIN_PMINSD128_MASK,
4910 IX86_BUILTIN_PMAXUD128_MASK, IX86_BUILTIN_PMINUD128_MASK,
4911 IX86_BUILTIN_PMAXSQ256_MASK, IX86_BUILTIN_PMINSQ256_MASK,
4912 IX86_BUILTIN_PMAXUQ256_MASK, IX86_BUILTIN_PMINUQ256_MASK,
4913 IX86_BUILTIN_PMAXSQ128_MASK, IX86_BUILTIN_PMINSQ128_MASK,
4914 IX86_BUILTIN_PMAXUQ128_MASK, IX86_BUILTIN_PMINUQ128_MASK,
4915 IX86_BUILTIN_PMINSB256_MASK, IX86_BUILTIN_PMINUB256_MASK,
4916 IX86_BUILTIN_PMAXSB256_MASK, IX86_BUILTIN_PMAXUB256_MASK,
4917 IX86_BUILTIN_PMINSB128_MASK, IX86_BUILTIN_PMINUB128_MASK,
4918 IX86_BUILTIN_PMAXSB128_MASK, IX86_BUILTIN_PMAXUB128_MASK,
4919 IX86_BUILTIN_PMINSW256_MASK, IX86_BUILTIN_PMINUW256_MASK,
4920 IX86_BUILTIN_PMAXSW256_MASK, IX86_BUILTIN_PMAXUW256_MASK,
4921 IX86_BUILTIN_PMINSW128_MASK, IX86_BUILTIN_PMINUW128_MASK,
4922 IX86_BUILTIN_PMAXSW128_MASK, IX86_BUILTIN_PMAXUW128_MASK,
4923 IX86_BUILTIN_VPCONFLICTQ256, IX86_BUILTIN_VPCONFLICTD256,
4924 IX86_BUILTIN_VPCLZCNTQ256, IX86_BUILTIN_VPCLZCNTD256,
4925 IX86_BUILTIN_UNPCKHPD256_MASK, IX86_BUILTIN_UNPCKHPD128_MASK,
4926 IX86_BUILTIN_UNPCKHPS256_MASK, IX86_BUILTIN_UNPCKHPS128_MASK,
4927 IX86_BUILTIN_UNPCKLPD256_MASK, IX86_BUILTIN_UNPCKLPD128_MASK,
4928 IX86_BUILTIN_UNPCKLPS256_MASK, IX86_BUILTIN_VPCONFLICTQ128,
4929 IX86_BUILTIN_VPCONFLICTD128, IX86_BUILTIN_VPCLZCNTQ128,
4930 IX86_BUILTIN_VPCLZCNTD128, IX86_BUILTIN_UNPCKLPS128_MASK,
4931 IX86_BUILTIN_ALIGND256, IX86_BUILTIN_ALIGNQ256,
4932 IX86_BUILTIN_ALIGND128, IX86_BUILTIN_ALIGNQ128,
4933 IX86_BUILTIN_CVTPS2PH256_MASK, IX86_BUILTIN_CVTPS2PH_MASK,
4934 IX86_BUILTIN_CVTPH2PS_MASK, IX86_BUILTIN_CVTPH2PS256_MASK,
4935 IX86_BUILTIN_PUNPCKHDQ128_MASK, IX86_BUILTIN_PUNPCKHDQ256_MASK,
4936 IX86_BUILTIN_PUNPCKHQDQ128_MASK, IX86_BUILTIN_PUNPCKHQDQ256_MASK,
4937 IX86_BUILTIN_PUNPCKLDQ128_MASK, IX86_BUILTIN_PUNPCKLDQ256_MASK,
4938 IX86_BUILTIN_PUNPCKLQDQ128_MASK, IX86_BUILTIN_PUNPCKLQDQ256_MASK,
4939 IX86_BUILTIN_PUNPCKHBW128_MASK, IX86_BUILTIN_PUNPCKHBW256_MASK,
4940 IX86_BUILTIN_PUNPCKHWD128_MASK, IX86_BUILTIN_PUNPCKHWD256_MASK,
4941 IX86_BUILTIN_PUNPCKLBW128_MASK, IX86_BUILTIN_PUNPCKLBW256_MASK,
4942 IX86_BUILTIN_PUNPCKLWD128_MASK, IX86_BUILTIN_PUNPCKLWD256_MASK,
4943 IX86_BUILTIN_PSLLVV16HI, IX86_BUILTIN_PSLLVV8HI,
4944 IX86_BUILTIN_PACKSSDW256_MASK, IX86_BUILTIN_PACKSSDW128_MASK,
4945 IX86_BUILTIN_PACKUSDW256_MASK, IX86_BUILTIN_PACKUSDW128_MASK,
4946 IX86_BUILTIN_PAVGB256_MASK, IX86_BUILTIN_PAVGW256_MASK,
4947 IX86_BUILTIN_PAVGB128_MASK, IX86_BUILTIN_PAVGW128_MASK,
4948 IX86_BUILTIN_VPERMVARSF256_MASK, IX86_BUILTIN_VPERMVARDF256_MASK,
4949 IX86_BUILTIN_VPERMDF256_MASK, IX86_BUILTIN_PABSB256_MASK,
4950 IX86_BUILTIN_PABSB128_MASK, IX86_BUILTIN_PABSW256_MASK,
4951 IX86_BUILTIN_PABSW128_MASK, IX86_BUILTIN_VPERMILVARPD_MASK,
4952 IX86_BUILTIN_VPERMILVARPS_MASK, IX86_BUILTIN_VPERMILVARPD256_MASK,
4953 IX86_BUILTIN_VPERMILVARPS256_MASK, IX86_BUILTIN_VPERMILPD_MASK,
4954 IX86_BUILTIN_VPERMILPS_MASK, IX86_BUILTIN_VPERMILPD256_MASK,
4955 IX86_BUILTIN_VPERMILPS256_MASK, IX86_BUILTIN_BLENDMQ256,
4956 IX86_BUILTIN_BLENDMD256, IX86_BUILTIN_BLENDMPD256,
4957 IX86_BUILTIN_BLENDMPS256, IX86_BUILTIN_BLENDMQ128,
4958 IX86_BUILTIN_BLENDMD128, IX86_BUILTIN_BLENDMPD128,
4959 IX86_BUILTIN_BLENDMPS128, IX86_BUILTIN_BLENDMW256,
4960 IX86_BUILTIN_BLENDMB256, IX86_BUILTIN_BLENDMW128,
4961 IX86_BUILTIN_BLENDMB128, IX86_BUILTIN_PMULLD256_MASK,
4962 IX86_BUILTIN_PMULLD128_MASK, IX86_BUILTIN_PMULUDQ256_MASK,
4963 IX86_BUILTIN_PMULDQ256_MASK, IX86_BUILTIN_PMULDQ128_MASK,
4964 IX86_BUILTIN_PMULUDQ128_MASK, IX86_BUILTIN_CVTPD2PS256_MASK,
4965 IX86_BUILTIN_CVTPD2PS_MASK, IX86_BUILTIN_VPERMVARSI256_MASK,
4966 IX86_BUILTIN_VPERMVARDI256_MASK, IX86_BUILTIN_VPERMDI256_MASK,
4967 IX86_BUILTIN_CMPQ256, IX86_BUILTIN_CMPD256,
4968 IX86_BUILTIN_UCMPQ256, IX86_BUILTIN_UCMPD256,
4969 IX86_BUILTIN_CMPB256, IX86_BUILTIN_CMPW256,
4970 IX86_BUILTIN_UCMPB256, IX86_BUILTIN_UCMPW256,
4971 IX86_BUILTIN_CMPPD256_MASK, IX86_BUILTIN_CMPPS256_MASK,
4972 IX86_BUILTIN_CMPQ128, IX86_BUILTIN_CMPD128,
4973 IX86_BUILTIN_UCMPQ128, IX86_BUILTIN_UCMPD128,
4974 IX86_BUILTIN_CMPB128, IX86_BUILTIN_CMPW128,
4975 IX86_BUILTIN_UCMPB128, IX86_BUILTIN_UCMPW128,
4976 IX86_BUILTIN_CMPPD128_MASK, IX86_BUILTIN_CMPPS128_MASK,
4977 IX86_BUILTIN_GATHER3SIV8SF, IX86_BUILTIN_GATHER3SIV4SF,
4978 IX86_BUILTIN_GATHER3SIV4DF, IX86_BUILTIN_GATHER3SIV2DF,
4979 IX86_BUILTIN_GATHER3DIV8SF, IX86_BUILTIN_GATHER3DIV4SF,
4980 IX86_BUILTIN_GATHER3DIV4DF, IX86_BUILTIN_GATHER3DIV2DF,
4981 IX86_BUILTIN_GATHER3SIV8SI, IX86_BUILTIN_GATHER3SIV4SI,
4982 IX86_BUILTIN_GATHER3SIV4DI, IX86_BUILTIN_GATHER3SIV2DI,
4983 IX86_BUILTIN_GATHER3DIV8SI, IX86_BUILTIN_GATHER3DIV4SI,
4984 IX86_BUILTIN_GATHER3DIV4DI, IX86_BUILTIN_GATHER3DIV2DI,
4985 IX86_BUILTIN_SCATTERSIV8SF, IX86_BUILTIN_SCATTERSIV4SF,
4986 IX86_BUILTIN_SCATTERSIV4DF, IX86_BUILTIN_SCATTERSIV2DF,
4987 IX86_BUILTIN_SCATTERDIV8SF, IX86_BUILTIN_SCATTERDIV4SF,
4988 IX86_BUILTIN_SCATTERDIV4DF, IX86_BUILTIN_SCATTERDIV2DF,
4989 IX86_BUILTIN_SCATTERSIV8SI, IX86_BUILTIN_SCATTERSIV4SI,
4990 IX86_BUILTIN_SCATTERSIV4DI, IX86_BUILTIN_SCATTERSIV2DI,
4991 IX86_BUILTIN_SCATTERDIV8SI, IX86_BUILTIN_SCATTERDIV4SI,
4992 IX86_BUILTIN_SCATTERDIV4DI, IX86_BUILTIN_SCATTERDIV2DI,
4993 IX86_BUILTIN_RANGESD128, IX86_BUILTIN_RANGESS128,
4994 IX86_BUILTIN_KUNPCKWD, IX86_BUILTIN_KUNPCKDQ,
4995 IX86_BUILTIN_BROADCASTF32x2_512, IX86_BUILTIN_BROADCASTI32x2_512,
4996 IX86_BUILTIN_BROADCASTF64X2_512, IX86_BUILTIN_BROADCASTI64X2_512,
4997 IX86_BUILTIN_BROADCASTF32X8_512, IX86_BUILTIN_BROADCASTI32X8_512,
4998 IX86_BUILTIN_EXTRACTF64X2_512, IX86_BUILTIN_EXTRACTF32X8,
4999 IX86_BUILTIN_EXTRACTI64X2_512, IX86_BUILTIN_EXTRACTI32X8,
5000 IX86_BUILTIN_REDUCEPD512_MASK, IX86_BUILTIN_REDUCEPS512_MASK,
5001 IX86_BUILTIN_PMULLQ512, IX86_BUILTIN_XORPD512,
5002 IX86_BUILTIN_XORPS512, IX86_BUILTIN_ORPD512,
5003 IX86_BUILTIN_ORPS512, IX86_BUILTIN_ANDPD512,
5004 IX86_BUILTIN_ANDPS512, IX86_BUILTIN_ANDNPD512,
5005 IX86_BUILTIN_ANDNPS512, IX86_BUILTIN_INSERTF32X8,
5006 IX86_BUILTIN_INSERTI32X8, IX86_BUILTIN_INSERTF64X2_512,
5007 IX86_BUILTIN_INSERTI64X2_512, IX86_BUILTIN_FPCLASSPD512,
5008 IX86_BUILTIN_FPCLASSPS512, IX86_BUILTIN_CVTD2MASK512,
5009 IX86_BUILTIN_CVTQ2MASK512, IX86_BUILTIN_CVTMASK2D512,
5010 IX86_BUILTIN_CVTMASK2Q512, IX86_BUILTIN_CVTPD2QQ512,
5011 IX86_BUILTIN_CVTPS2QQ512, IX86_BUILTIN_CVTPD2UQQ512,
5012 IX86_BUILTIN_CVTPS2UQQ512, IX86_BUILTIN_CVTQQ2PS512,
5013 IX86_BUILTIN_CVTUQQ2PS512, IX86_BUILTIN_CVTQQ2PD512,
5014 IX86_BUILTIN_CVTUQQ2PD512, IX86_BUILTIN_CVTTPS2QQ512,
5015 IX86_BUILTIN_CVTTPS2UQQ512, IX86_BUILTIN_CVTTPD2QQ512,
5016 IX86_BUILTIN_CVTTPD2UQQ512, IX86_BUILTIN_RANGEPS512,
5017 IX86_BUILTIN_RANGEPD512, IX86_BUILTIN_PACKUSDW512,
5018 IX86_BUILTIN_PACKSSDW512, IX86_BUILTIN_LOADDQUHI512_MASK,
5019 IX86_BUILTIN_LOADDQUQI512_MASK, IX86_BUILTIN_PSLLDQ512,
5020 IX86_BUILTIN_PSRLDQ512, IX86_BUILTIN_STOREDQUHI512_MASK,
5021 IX86_BUILTIN_STOREDQUQI512_MASK, IX86_BUILTIN_PALIGNR512,
5022 IX86_BUILTIN_PALIGNR512_MASK, IX86_BUILTIN_MOVDQUHI512_MASK,
5023 IX86_BUILTIN_MOVDQUQI512_MASK, IX86_BUILTIN_PSADBW512,
5024 IX86_BUILTIN_DBPSADBW512, IX86_BUILTIN_PBROADCASTB512,
5025 IX86_BUILTIN_PBROADCASTB512_GPR, IX86_BUILTIN_PBROADCASTW512,
5026 IX86_BUILTIN_PBROADCASTW512_GPR, IX86_BUILTIN_PMOVSXBW512_MASK,
5027 IX86_BUILTIN_PMOVZXBW512_MASK, IX86_BUILTIN_VPERMVARHI512_MASK,
5028 IX86_BUILTIN_VPERMT2VARHI512, IX86_BUILTIN_VPERMT2VARHI512_MASKZ,
5029 IX86_BUILTIN_VPERMI2VARHI512, IX86_BUILTIN_PAVGB512,
5030 IX86_BUILTIN_PAVGW512, IX86_BUILTIN_PADDB512,
5031 IX86_BUILTIN_PSUBB512, IX86_BUILTIN_PSUBSB512,
5032 IX86_BUILTIN_PADDSB512, IX86_BUILTIN_PSUBUSB512,
5033 IX86_BUILTIN_PADDUSB512, IX86_BUILTIN_PSUBW512,
5034 IX86_BUILTIN_PADDW512, IX86_BUILTIN_PSUBSW512,
5035 IX86_BUILTIN_PADDSW512, IX86_BUILTIN_PSUBUSW512,
5036 IX86_BUILTIN_PADDUSW512, IX86_BUILTIN_PMAXUW512,
5037 IX86_BUILTIN_PMAXSW512, IX86_BUILTIN_PMINUW512,
5038 IX86_BUILTIN_PMINSW512, IX86_BUILTIN_PMAXUB512,
5039 IX86_BUILTIN_PMAXSB512, IX86_BUILTIN_PMINUB512,
5040 IX86_BUILTIN_PMINSB512, IX86_BUILTIN_PMOVWB512,
5041 IX86_BUILTIN_PMOVSWB512, IX86_BUILTIN_PMOVUSWB512,
5042 IX86_BUILTIN_PMULHRSW512_MASK, IX86_BUILTIN_PMULHUW512_MASK,
5043 IX86_BUILTIN_PMULHW512_MASK, IX86_BUILTIN_PMULLW512_MASK,
5044 IX86_BUILTIN_PSLLWI512_MASK, IX86_BUILTIN_PSLLW512_MASK,
5045 IX86_BUILTIN_PACKSSWB512, IX86_BUILTIN_PACKUSWB512,
5046 IX86_BUILTIN_PSRAVV32HI, IX86_BUILTIN_PMADDUBSW512_MASK,
5047 IX86_BUILTIN_PMADDWD512_MASK, IX86_BUILTIN_PSRLVV32HI,
5048 IX86_BUILTIN_PUNPCKHBW512, IX86_BUILTIN_PUNPCKHWD512,
5049 IX86_BUILTIN_PUNPCKLBW512, IX86_BUILTIN_PUNPCKLWD512,
5050 IX86_BUILTIN_PSHUFB512, IX86_BUILTIN_PSHUFHW512,
5051 IX86_BUILTIN_PSHUFLW512, IX86_BUILTIN_PSRAWI512,
5052 IX86_BUILTIN_PSRAW512, IX86_BUILTIN_PSRLWI512,
5053 IX86_BUILTIN_PSRLW512, IX86_BUILTIN_CVTB2MASK512,
5054 IX86_BUILTIN_CVTW2MASK512, IX86_BUILTIN_CVTMASK2B512,
5055 IX86_BUILTIN_CVTMASK2W512, IX86_BUILTIN_PCMPEQB512_MASK,
5056 IX86_BUILTIN_PCMPEQW512_MASK, IX86_BUILTIN_PCMPGTB512_MASK,
5057 IX86_BUILTIN_PCMPGTW512_MASK, IX86_BUILTIN_PTESTMB512,
5058 IX86_BUILTIN_PTESTMW512, IX86_BUILTIN_PTESTNMB512,
5059 IX86_BUILTIN_PTESTNMW512, IX86_BUILTIN_PSLLVV32HI,
5060 IX86_BUILTIN_PABSB512, IX86_BUILTIN_PABSW512,
5061 IX86_BUILTIN_BLENDMW512, IX86_BUILTIN_BLENDMB512,
5062 IX86_BUILTIN_CMPB512, IX86_BUILTIN_CMPW512,
5063 IX86_BUILTIN_UCMPB512, IX86_BUILTIN_UCMPW512.
5064 (bdesc_special_args):
5065 Add __builtin_ia32_loaddquhi512_mask, __builtin_ia32_loaddquqi512_mask,
5066 __builtin_ia32_storedquhi512_mask, __builtin_ia32_storedquqi512_mask,
5067 __builtin_ia32_loaddquhi256_mask, __builtin_ia32_loaddquhi128_mask,
5068 __builtin_ia32_loaddquqi256_mask, __builtin_ia32_loaddquqi128_mask,
5069 __builtin_ia32_movdqa64load256_mask, __builtin_ia32_movdqa64load128_mask,
5070 __builtin_ia32_movdqa32load256_mask, __builtin_ia32_movdqa32load128_mask,
5071 __builtin_ia32_movdqa64store256_mask, __builtin_ia32_movdqa64store128_mask,
5072 __builtin_ia32_movdqa32store256_mask, __builtin_ia32_movdqa32store128_mask,
5073 __builtin_ia32_loadapd256_mask, __builtin_ia32_loadapd128_mask,
5074 __builtin_ia32_loadaps256_mask, __builtin_ia32_loadaps128_mask,
5075 __builtin_ia32_storeapd256_mask, __builtin_ia32_storeapd128_mask,
5076 __builtin_ia32_storeaps256_mask, __builtin_ia32_storeaps128_mask,
5077 __builtin_ia32_loadupd256_mask, __builtin_ia32_loadupd128_mask,
5078 __builtin_ia32_loadups256_mask, __builtin_ia32_loadups128_mask,
5079 __builtin_ia32_storeupd256_mask, __builtin_ia32_storeupd128_mask,
5080 __builtin_ia32_storeups256_mask, __builtin_ia32_storeups128_mask,
5081 __builtin_ia32_loaddqudi256_mask, __builtin_ia32_loaddqudi128_mask,
5082 __builtin_ia32_loaddqusi256_mask, __builtin_ia32_loaddqusi128_mask,
5083 __builtin_ia32_storedqudi256_mask, __builtin_ia32_storedqudi128_mask,
5084 __builtin_ia32_storedqusi256_mask, __builtin_ia32_storedqusi128_mask,
5085 __builtin_ia32_storedquhi256_mask, __builtin_ia32_storedquhi128_mask,
5086 __builtin_ia32_storedquqi256_mask, __builtin_ia32_storedquqi128_mask,
5087 __builtin_ia32_compressstoredf256_mask, __builtin_ia32_compressstoredf128_mask,
5088 __builtin_ia32_compressstoresf256_mask, __builtin_ia32_compressstoresf128_mask,
5089 __builtin_ia32_compressstoredi256_mask, __builtin_ia32_compressstoredi128_mask,
5090 __builtin_ia32_compressstoresi256_mask, __builtin_ia32_compressstoresi128_mask,
5091 __builtin_ia32_expandloaddf256_mask, __builtin_ia32_expandloaddf128_mask,
5092 __builtin_ia32_expandloadsf256_mask, __builtin_ia32_expandloadsf128_mask,
5093 __builtin_ia32_expandloaddi256_mask, __builtin_ia32_expandloaddi128_mask,
5094 __builtin_ia32_expandloadsi256_mask, __builtin_ia32_expandloadsi128_mask,
5095 __builtin_ia32_expandloaddf256_maskz, __builtin_ia32_expandloaddf128_maskz,
5096 __builtin_ia32_expandloadsf256_maskz, __builtin_ia32_expandloadsf128_maskz,
5097 __builtin_ia32_expandloaddi256_maskz, __builtin_ia32_expandloaddi128_maskz,
5098 __builtin_ia32_expandloadsi256_maskz, __builtin_ia32_expandloadsi128_maskz,
5099 __builtin_ia32_pmovqd256mem_mask, __builtin_ia32_pmovqd128mem_mask,
5100 __builtin_ia32_pmovsqd256mem_mask, __builtin_ia32_pmovsqd128mem_mask,
5101 __builtin_ia32_pmovusqd256mem_mask, __builtin_ia32_pmovusqd128mem_mask,
5102 __builtin_ia32_pmovqw256mem_mask, __builtin_ia32_pmovqw128mem_mask,
5103 __builtin_ia32_pmovsqw256mem_mask, __builtin_ia32_pmovsqw128mem_mask,
5104 __builtin_ia32_pmovusqw256mem_mask, __builtin_ia32_pmovusqw128mem_mask,
5105 __builtin_ia32_pmovqb256mem_mask, __builtin_ia32_pmovqb128mem_mask,
5106 __builtin_ia32_pmovsqb256mem_mask, __builtin_ia32_pmovsqb128mem_mask,
5107 __builtin_ia32_pmovusqb256mem_mask, __builtin_ia32_pmovusqb128mem_mask,
5108 __builtin_ia32_pmovdb256mem_mask, __builtin_ia32_pmovdb128mem_mask,
5109 __builtin_ia32_pmovsdb256mem_mask, __builtin_ia32_pmovsdb128mem_mask,
5110 __builtin_ia32_pmovusdb256mem_mask, __builtin_ia32_pmovusdb128mem_mask,
5111 __builtin_ia32_pmovdw256mem_mask, __builtin_ia32_pmovdw128mem_mask,
5112 __builtin_ia32_pmovsdw256mem_mask, __builtin_ia32_pmovsdw128mem_mask,
5113 __builtin_ia32_pmovusdw256mem_mask, __builtin_ia32_pmovusdw128mem_mask,
5114 __builtin_ia32_palignr256_mask, __builtin_ia32_palignr128_mask,
5115 __builtin_ia32_movdqa64_256_mask, __builtin_ia32_movdqa64_128_mask,
5116 __builtin_ia32_movdqa32_256_mask, __builtin_ia32_movdqa32_128_mask,
5117 __builtin_ia32_movapd256_mask, __builtin_ia32_movapd128_mask,
5118 __builtin_ia32_movaps256_mask, __builtin_ia32_movaps128_mask,
5119 __builtin_ia32_movdquhi256_mask, __builtin_ia32_movdquhi128_mask,
5120 __builtin_ia32_movdquqi256_mask, __builtin_ia32_movdquqi128_mask,
5121 __builtin_ia32_minps_mask, __builtin_ia32_maxps_mask,
5122 __builtin_ia32_minpd_mask, __builtin_ia32_maxpd_mask,
5123 __builtin_ia32_maxpd256_mask, __builtin_ia32_maxps256_mask,
5124 __builtin_ia32_minpd256_mask, __builtin_ia32_minps256_mask,
5125 __builtin_ia32_mulps_mask, __builtin_ia32_divps_mask,
5126 __builtin_ia32_mulpd_mask, __builtin_ia32_divpd_mask,
5127 __builtin_ia32_divpd256_mask, __builtin_ia32_divps256_mask,
5128 __builtin_ia32_mulpd256_mask, __builtin_ia32_mulps256_mask,
5129 __builtin_ia32_addpd128_mask, __builtin_ia32_addpd256_mask,
5130 __builtin_ia32_addps128_mask, __builtin_ia32_addps256_mask,
5131 __builtin_ia32_subpd128_mask, __builtin_ia32_subpd256_mask,
5132 __builtin_ia32_subps128_mask, __builtin_ia32_subps256_mask,
5133 __builtin_ia32_xorpd256_mask, __builtin_ia32_xorpd128_mask,
5134 __builtin_ia32_xorps256_mask, __builtin_ia32_xorps128_mask,
5135 __builtin_ia32_orpd256_mask, __builtin_ia32_orpd128_mask,
5136 __builtin_ia32_orps256_mask, __builtin_ia32_orps128_mask,
5137 __builtin_ia32_broadcastf32x2_256_mask, __builtin_ia32_broadcasti32x2_256_mask,
5138 __builtin_ia32_broadcasti32x2_128_mask, __builtin_ia32_broadcastf64x2_256_mask,
5139 __builtin_ia32_broadcasti64x2_256_mask, __builtin_ia32_broadcastf32x4_256_mask,
5140 __builtin_ia32_broadcasti32x4_256_mask, __builtin_ia32_extractf32x4_256_mask,
5141 __builtin_ia32_extracti32x4_256_mask, __builtin_ia32_dbpsadbw256_mask,
5142 __builtin_ia32_dbpsadbw128_mask, __builtin_ia32_cvttpd2qq256_mask,
5143 __builtin_ia32_cvttpd2qq128_mask, __builtin_ia32_cvttpd2uqq256_mask,
5144 __builtin_ia32_cvttpd2uqq128_mask, __builtin_ia32_cvtpd2qq256_mask,
5145 __builtin_ia32_cvtpd2qq128_mask, __builtin_ia32_cvtpd2uqq256_mask,
5146 __builtin_ia32_cvtpd2uqq128_mask, __builtin_ia32_cvtpd2udq256_mask,
5147 __builtin_ia32_cvtpd2udq128_mask, __builtin_ia32_cvttps2qq256_mask,
5148 __builtin_ia32_cvttps2qq128_mask, __builtin_ia32_cvttps2uqq256_mask,
5149 __builtin_ia32_cvttps2uqq128_mask, __builtin_ia32_cvttps2dq256_mask,
5150 __builtin_ia32_cvttps2dq128_mask, __builtin_ia32_cvttps2udq256_mask,
5151 __builtin_ia32_cvttps2udq128_mask, __builtin_ia32_cvttpd2dq256_mask,
5152 __builtin_ia32_cvttpd2dq128_mask, __builtin_ia32_cvttpd2udq256_mask,
5153 __builtin_ia32_cvttpd2udq128_mask, __builtin_ia32_cvtpd2dq256_mask,
5154 __builtin_ia32_cvtpd2dq128_mask, __builtin_ia32_cvtdq2pd256_mask,
5155 __builtin_ia32_cvtdq2pd128_mask, __builtin_ia32_cvtudq2pd256_mask,
5156 __builtin_ia32_cvtudq2pd128_mask, __builtin_ia32_cvtdq2ps256_mask,
5157 __builtin_ia32_cvtdq2ps128_mask, __builtin_ia32_cvtudq2ps256_mask,
5158 __builtin_ia32_cvtudq2ps128_mask, __builtin_ia32_cvtps2pd256_mask,
5159 __builtin_ia32_cvtps2pd128_mask, __builtin_ia32_pbroadcastb256_mask,
5160 __builtin_ia32_pbroadcastb256_gpr_mask, __builtin_ia32_pbroadcastb128_mask,
5161 __builtin_ia32_pbroadcastb128_gpr_mask, __builtin_ia32_pbroadcastw256_mask,
5162 __builtin_ia32_pbroadcastw256_gpr_mask, __builtin_ia32_pbroadcastw128_mask,
5163 __builtin_ia32_pbroadcastw128_gpr_mask, __builtin_ia32_pbroadcastd256_mask,
5164 __builtin_ia32_pbroadcastd256_gpr_mask, __builtin_ia32_pbroadcastd128_mask,
5165 __builtin_ia32_pbroadcastd128_gpr_mask, __builtin_ia32_pbroadcastq256_mask,
5166 __builtin_ia32_pbroadcastq256_gpr_mask, __builtin_ia32_pbroadcastq256_mem_mask,
5167 __builtin_ia32_pbroadcastq128_mask, __builtin_ia32_pbroadcastq128_gpr_mask,
5168 __builtin_ia32_pbroadcastq128_mem_mask, __builtin_ia32_broadcastss256_mask,
5169 __builtin_ia32_broadcastss128_mask, __builtin_ia32_broadcastsd256_mask,
5170 __builtin_ia32_extractf64x2_256_mask, __builtin_ia32_extracti64x2_256_mask,
5171 __builtin_ia32_insertf32x4_256_mask, __builtin_ia32_inserti32x4_256_mask,
5172 __builtin_ia32_pmovsxbw256_mask, __builtin_ia32_pmovsxbw128_mask,
5173 __builtin_ia32_pmovsxbd256_mask, __builtin_ia32_pmovsxbd128_mask,
5174 __builtin_ia32_pmovsxbq256_mask, __builtin_ia32_pmovsxbq128_mask,
5175 __builtin_ia32_pmovsxwd256_mask, __builtin_ia32_pmovsxwd128_mask,
5176 __builtin_ia32_pmovsxwq256_mask, __builtin_ia32_pmovsxwq128_mask,
5177 __builtin_ia32_pmovsxdq256_mask, __builtin_ia32_pmovsxdq128_mask,
5178 __builtin_ia32_pmovzxbw256_mask, __builtin_ia32_pmovzxbw128_mask,
5179 __builtin_ia32_pmovzxbd256_mask, __builtin_ia32_pmovzxbd128_mask,
5180 __builtin_ia32_pmovzxbq256_mask, __builtin_ia32_pmovzxbq128_mask,
5181 __builtin_ia32_pmovzxwd256_mask, __builtin_ia32_pmovzxwd128_mask,
5182 __builtin_ia32_pmovzxwq256_mask, __builtin_ia32_pmovzxwq128_mask,
5183 __builtin_ia32_pmovzxdq256_mask, __builtin_ia32_pmovzxdq128_mask,
5184 __builtin_ia32_reducepd256_mask, __builtin_ia32_reducepd128_mask,
5185 __builtin_ia32_reduceps256_mask, __builtin_ia32_reduceps128_mask,
5186 __builtin_ia32_reducesd, __builtin_ia32_reducess,
5187 __builtin_ia32_permvarhi256_mask, __builtin_ia32_permvarhi128_mask,
5188 __builtin_ia32_vpermt2varhi256_mask, __builtin_ia32_vpermt2varhi256_maskz,
5189 __builtin_ia32_vpermt2varhi128_mask, __builtin_ia32_vpermt2varhi128_maskz,
5190 __builtin_ia32_vpermi2varhi256_mask, __builtin_ia32_vpermi2varhi128_mask,
5191 __builtin_ia32_rcp14pd256_mask, __builtin_ia32_rcp14pd128_mask,
5192 __builtin_ia32_rcp14ps256_mask, __builtin_ia32_rcp14ps128_mask,
5193 __builtin_ia32_rsqrt14pd256_mask, __builtin_ia32_rsqrt14pd128_mask,
5194 __builtin_ia32_rsqrt14ps256_mask, __builtin_ia32_rsqrt14ps128_mask,
5195 __builtin_ia32_sqrtpd256_mask, __builtin_ia32_sqrtpd128_mask,
5196 __builtin_ia32_sqrtps256_mask, __builtin_ia32_sqrtps128_mask,
5197 __builtin_ia32_paddb128_mask, __builtin_ia32_paddw128_mask,
5198 __builtin_ia32_paddd128_mask, __builtin_ia32_paddq128_mask,
5199 __builtin_ia32_psubb128_mask, __builtin_ia32_psubw128_mask,
5200 __builtin_ia32_psubd128_mask, __builtin_ia32_psubq128_mask,
5201 __builtin_ia32_paddsb128_mask, __builtin_ia32_paddsw128_mask,
5202 __builtin_ia32_psubsb128_mask, __builtin_ia32_psubsw128_mask,
5203 __builtin_ia32_paddusb128_mask, __builtin_ia32_paddusw128_mask,
5204 __builtin_ia32_psubusb128_mask, __builtin_ia32_psubusw128_mask,
5205 __builtin_ia32_paddb256_mask, __builtin_ia32_paddw256_mask,
5206 __builtin_ia32_paddd256_mask, __builtin_ia32_paddq256_mask,
5207 __builtin_ia32_paddsb256_mask, __builtin_ia32_paddsw256_mask,
5208 __builtin_ia32_paddusb256_mask, __builtin_ia32_paddusw256_mask,
5209 __builtin_ia32_psubb256_mask, __builtin_ia32_psubw256_mask,
5210 __builtin_ia32_psubd256_mask, __builtin_ia32_psubq256_mask,
5211 __builtin_ia32_psubsb256_mask, __builtin_ia32_psubsw256_mask,
5212 __builtin_ia32_psubusb256_mask, __builtin_ia32_psubusw256_mask,
5213 __builtin_ia32_shuf_f64x2_256_mask, __builtin_ia32_shuf_i64x2_256_mask,
5214 __builtin_ia32_shuf_i32x4_256_mask, __builtin_ia32_shuf_f32x4_256_mask,
5215 __builtin_ia32_pmovwb128_mask, __builtin_ia32_pmovwb256_mask,
5216 __builtin_ia32_pmovswb128_mask, __builtin_ia32_pmovswb256_mask,
5217 __builtin_ia32_pmovuswb128_mask, __builtin_ia32_pmovuswb256_mask,
5218 __builtin_ia32_pmovdb128_mask, __builtin_ia32_pmovdb256_mask,
5219 __builtin_ia32_pmovsdb128_mask, __builtin_ia32_pmovsdb256_mask,
5220 __builtin_ia32_pmovusdb128_mask, __builtin_ia32_pmovusdb256_mask,
5221 __builtin_ia32_pmovdw128_mask, __builtin_ia32_pmovdw256_mask,
5222 __builtin_ia32_pmovsdw128_mask, __builtin_ia32_pmovsdw256_mask,
5223 __builtin_ia32_pmovusdw128_mask, __builtin_ia32_pmovusdw256_mask,
5224 __builtin_ia32_pmovqb128_mask, __builtin_ia32_pmovqb256_mask,
5225 __builtin_ia32_pmovsqb128_mask, __builtin_ia32_pmovsqb256_mask,
5226 __builtin_ia32_pmovusqb128_mask, __builtin_ia32_pmovusqb256_mask,
5227 __builtin_ia32_pmovqw128_mask, __builtin_ia32_pmovqw256_mask,
5228 __builtin_ia32_pmovsqw128_mask, __builtin_ia32_pmovsqw256_mask,
5229 __builtin_ia32_pmovusqw128_mask, __builtin_ia32_pmovusqw256_mask,
5230 __builtin_ia32_pmovqd128_mask, __builtin_ia32_pmovqd256_mask,
5231 __builtin_ia32_pmovsqd128_mask, __builtin_ia32_pmovsqd256_mask,
5232 __builtin_ia32_pmovusqd128_mask, __builtin_ia32_pmovusqd256_mask,
5233 __builtin_ia32_rangepd256_mask, __builtin_ia32_rangepd128_mask,
5234 __builtin_ia32_rangeps256_mask, __builtin_ia32_rangeps128_mask,
5235 __builtin_ia32_getexpps256_mask, __builtin_ia32_getexppd256_mask,
5236 __builtin_ia32_getexpps128_mask, __builtin_ia32_getexppd128_mask,
5237 __builtin_ia32_fixupimmpd256, __builtin_ia32_fixupimmpd256_mask,
5238 __builtin_ia32_fixupimmpd256_maskz, __builtin_ia32_fixupimmps256,
5239 __builtin_ia32_fixupimmps256_mask, __builtin_ia32_fixupimmps256_maskz,
5240 __builtin_ia32_fixupimmpd128, __builtin_ia32_fixupimmpd128_mask,
5241 __builtin_ia32_fixupimmpd128_maskz, __builtin_ia32_fixupimmps128,
5242 __builtin_ia32_fixupimmps128_mask, __builtin_ia32_fixupimmps128_maskz,
5243 __builtin_ia32_pabsq256_mask, __builtin_ia32_pabsq128_mask,
5244 __builtin_ia32_pabsd256_mask, __builtin_ia32_pabsd128_mask,
5245 __builtin_ia32_pmulhrsw256_mask, __builtin_ia32_pmulhrsw128_mask,
5246 __builtin_ia32_pmulhuw128_mask, __builtin_ia32_pmulhuw256_mask,
5247 __builtin_ia32_pmulhw256_mask, __builtin_ia32_pmulhw128_mask,
5248 __builtin_ia32_pmullw256_mask, __builtin_ia32_pmullw128_mask,
5249 __builtin_ia32_pmullq256_mask, __builtin_ia32_pmullq128_mask,
5250 __builtin_ia32_andpd256_mask, __builtin_ia32_andpd128_mask,
5251 __builtin_ia32_andps256_mask, __builtin_ia32_andps128_mask,
5252 __builtin_ia32_andnpd256_mask, __builtin_ia32_andnpd128_mask,
5253 __builtin_ia32_andnps256_mask, __builtin_ia32_andnps128_mask,
5254 __builtin_ia32_psllwi128_mask, __builtin_ia32_pslldi128_mask,
5255 __builtin_ia32_psllqi128_mask, __builtin_ia32_psllw128_mask,
5256 __builtin_ia32_pslld128_mask, __builtin_ia32_psllq128_mask,
5257 __builtin_ia32_psllwi256_mask, __builtin_ia32_psllw256_mask,
5258 __builtin_ia32_pslldi256_mask, __builtin_ia32_pslld256_mask,
5259 __builtin_ia32_psllqi256_mask, __builtin_ia32_psllq256_mask,
5260 __builtin_ia32_psradi128_mask, __builtin_ia32_psrad128_mask,
5261 __builtin_ia32_psradi256_mask, __builtin_ia32_psrad256_mask,
5262 __builtin_ia32_psraqi128_mask, __builtin_ia32_psraq128_mask,
5263 __builtin_ia32_psraqi256_mask, __builtin_ia32_psraq256_mask,
5264 __builtin_ia32_pandd256_mask, __builtin_ia32_pandd128_mask,
5265 __builtin_ia32_psrldi128_mask, __builtin_ia32_psrld128_mask,
5266 __builtin_ia32_psrldi256_mask, __builtin_ia32_psrld256_mask,
5267 __builtin_ia32_psrlqi128_mask, __builtin_ia32_psrlq128_mask,
5268 __builtin_ia32_psrlqi256_mask, __builtin_ia32_psrlq256_mask,
5269 __builtin_ia32_pandq256_mask, __builtin_ia32_pandq128_mask,
5270 __builtin_ia32_pandnd256_mask, __builtin_ia32_pandnd128_mask,
5271 __builtin_ia32_pandnq256_mask, __builtin_ia32_pandnq128_mask,
5272 __builtin_ia32_pord256_mask, __builtin_ia32_pord128_mask,
5273 __builtin_ia32_porq256_mask, __builtin_ia32_porq128_mask,
5274 __builtin_ia32_pxord256_mask, __builtin_ia32_pxord128_mask,
5275 __builtin_ia32_pxorq256_mask, __builtin_ia32_pxorq128_mask,
5276 __builtin_ia32_packsswb256_mask, __builtin_ia32_packsswb128_mask,
5277 __builtin_ia32_packuswb256_mask, __builtin_ia32_packuswb128_mask,
5278 __builtin_ia32_rndscaleps_256_mask, __builtin_ia32_rndscalepd_256_mask,
5279 __builtin_ia32_rndscaleps_128_mask, __builtin_ia32_rndscalepd_128_mask,
5280 __builtin_ia32_pternlogq256_mask, __builtin_ia32_pternlogq256_maskz,
5281 __builtin_ia32_pternlogd256_mask, __builtin_ia32_pternlogd256_maskz,
5282 __builtin_ia32_pternlogq128_mask, __builtin_ia32_pternlogq128_maskz,
5283 __builtin_ia32_pternlogd128_mask, __builtin_ia32_pternlogd128_maskz,
5284 __builtin_ia32_scalefpd256_mask, __builtin_ia32_scalefps256_mask,
5285 __builtin_ia32_scalefpd128_mask, __builtin_ia32_scalefps128_mask,
5286 __builtin_ia32_vfmaddpd256_mask, __builtin_ia32_vfmaddpd256_mask3,
5287 __builtin_ia32_vfmaddpd256_maskz, __builtin_ia32_vfmaddpd128_mask,
5288 __builtin_ia32_vfmaddpd128_mask3, __builtin_ia32_vfmaddpd128_maskz,
5289 __builtin_ia32_vfmaddps256_mask, __builtin_ia32_vfmaddps256_mask3,
5290 __builtin_ia32_vfmaddps256_maskz, __builtin_ia32_vfmaddps128_mask,
5291 __builtin_ia32_vfmaddps128_mask3, __builtin_ia32_vfmaddps128_maskz,
5292 __builtin_ia32_vfmsubpd256_mask3, __builtin_ia32_vfmsubpd128_mask3,
5293 __builtin_ia32_vfmsubps256_mask3, __builtin_ia32_vfmsubps128_mask3,
5294 __builtin_ia32_vfnmaddpd256_mask, __builtin_ia32_vfnmaddpd128_mask,
5295 __builtin_ia32_vfnmaddps256_mask, __builtin_ia32_vfnmaddps128_mask,
5296 __builtin_ia32_vfnmsubpd256_mask, __builtin_ia32_vfnmsubpd256_mask3,
5297 __builtin_ia32_vfnmsubpd128_mask, __builtin_ia32_vfnmsubpd128_mask3,
5298 __builtin_ia32_vfnmsubps256_mask, __builtin_ia32_vfnmsubps256_mask3,
5299 __builtin_ia32_vfnmsubps128_mask, __builtin_ia32_vfnmsubps128_mask3,
5300 __builtin_ia32_vfmaddsubpd256_mask, __builtin_ia32_vfmaddsubpd256_mask3,
5301 __builtin_ia32_vfmaddsubpd256_maskz, __builtin_ia32_vfmaddsubpd128_mask,
5302 __builtin_ia32_vfmaddsubpd128_mask3, __builtin_ia32_vfmaddsubpd128_maskz,
5303 __builtin_ia32_vfmaddsubps256_mask, __builtin_ia32_vfmaddsubps256_mask3,
5304 __builtin_ia32_vfmaddsubps256_maskz, __builtin_ia32_vfmaddsubps128_mask,
5305 __builtin_ia32_vfmaddsubps128_mask3, __builtin_ia32_vfmaddsubps128_maskz,
5306 __builtin_ia32_vfmsubaddpd256_mask3, __builtin_ia32_vfmsubaddpd128_mask3,
5307 __builtin_ia32_vfmsubaddps256_mask3, __builtin_ia32_vfmsubaddps128_mask3,
5308 __builtin_ia32_insertf64x2_256_mask, __builtin_ia32_inserti64x2_256_mask,
5309 __builtin_ia32_psrav16hi_mask, __builtin_ia32_psrav8hi_mask,
5310 __builtin_ia32_pmaddubsw256_mask, __builtin_ia32_pmaddubsw128_mask,
5311 __builtin_ia32_pmaddwd256_mask, __builtin_ia32_pmaddwd128_mask,
5312 __builtin_ia32_psrlv16hi_mask, __builtin_ia32_psrlv8hi_mask,
5313 __builtin_ia32_cvtps2dq256_mask, __builtin_ia32_cvtps2dq128_mask,
5314 __builtin_ia32_cvtps2udq256_mask, __builtin_ia32_cvtps2udq128_mask,
5315 __builtin_ia32_cvtps2qq256_mask, __builtin_ia32_cvtps2qq128_mask,
5316 __builtin_ia32_cvtps2uqq256_mask, __builtin_ia32_cvtps2uqq128_mask,
5317 __builtin_ia32_getmantps256_mask, __builtin_ia32_getmantps128_mask,
5318 __builtin_ia32_getmantpd256_mask, __builtin_ia32_getmantpd128_mask,
5319 __builtin_ia32_movddup256_mask, __builtin_ia32_movddup128_mask,
5320 __builtin_ia32_movshdup256_mask, __builtin_ia32_movshdup128_mask,
5321 __builtin_ia32_movsldup256_mask, __builtin_ia32_movsldup128_mask,
5322 __builtin_ia32_cvtqq2ps256_mask, __builtin_ia32_cvtqq2ps128_mask,
5323 __builtin_ia32_cvtuqq2ps256_mask, __builtin_ia32_cvtuqq2ps128_mask,
5324 __builtin_ia32_cvtqq2pd256_mask, __builtin_ia32_cvtqq2pd128_mask,
5325 __builtin_ia32_cvtuqq2pd256_mask, __builtin_ia32_cvtuqq2pd128_mask,
5326 __builtin_ia32_vpermt2varq256_mask, __builtin_ia32_vpermt2varq256_maskz,
5327 __builtin_ia32_vpermt2vard256_mask, __builtin_ia32_vpermt2vard256_maskz,
5328 __builtin_ia32_vpermi2varq256_mask, __builtin_ia32_vpermi2vard256_mask,
5329 __builtin_ia32_vpermt2varpd256_mask, __builtin_ia32_vpermt2varpd256_maskz,
5330 __builtin_ia32_vpermt2varps256_mask, __builtin_ia32_vpermt2varps256_maskz,
5331 __builtin_ia32_vpermi2varpd256_mask, __builtin_ia32_vpermi2varps256_mask,
5332 __builtin_ia32_vpermt2varq128_mask, __builtin_ia32_vpermt2varq128_maskz,
5333 __builtin_ia32_vpermt2vard128_mask, __builtin_ia32_vpermt2vard128_maskz,
5334 __builtin_ia32_vpermi2varq128_mask, __builtin_ia32_vpermi2vard128_mask,
5335 __builtin_ia32_vpermt2varpd128_mask, __builtin_ia32_vpermt2varpd128_maskz,
5336 __builtin_ia32_vpermt2varps128_mask, __builtin_ia32_vpermt2varps128_maskz,
5337 __builtin_ia32_vpermi2varpd128_mask, __builtin_ia32_vpermi2varps128_mask,
5338 __builtin_ia32_pshufb256_mask, __builtin_ia32_pshufb128_mask,
5339 __builtin_ia32_pshufhw256_mask, __builtin_ia32_pshufhw128_mask,
5340 __builtin_ia32_pshuflw256_mask, __builtin_ia32_pshuflw128_mask,
5341 __builtin_ia32_pshufd256_mask, __builtin_ia32_pshufd128_mask,
5342 __builtin_ia32_shufpd256_mask, __builtin_ia32_shufpd128_mask,
5343 __builtin_ia32_shufps256_mask, __builtin_ia32_shufps128_mask,
5344 __builtin_ia32_prolvq256_mask, __builtin_ia32_prolvq128_mask,
5345 __builtin_ia32_prolq256_mask, __builtin_ia32_prolq128_mask,
5346 __builtin_ia32_prorvq256_mask, __builtin_ia32_prorvq128_mask,
5347 __builtin_ia32_prorq256_mask, __builtin_ia32_prorq128_mask,
5348 __builtin_ia32_psravq128_mask, __builtin_ia32_psravq256_mask,
5349 __builtin_ia32_psllv4di_mask, __builtin_ia32_psllv2di_mask,
5350 __builtin_ia32_psllv8si_mask, __builtin_ia32_psllv4si_mask,
5351 __builtin_ia32_psrav8si_mask, __builtin_ia32_psrav4si_mask,
5352 __builtin_ia32_psrlv4di_mask, __builtin_ia32_psrlv2di_mask,
5353 __builtin_ia32_psrlv8si_mask, __builtin_ia32_psrlv4si_mask,
5354 __builtin_ia32_psrawi256_mask, __builtin_ia32_psraw256_mask,
5355 __builtin_ia32_psrawi128_mask, __builtin_ia32_psraw128_mask,
5356 __builtin_ia32_psrlwi256_mask, __builtin_ia32_psrlw256_mask,
5357 __builtin_ia32_psrlwi128_mask, __builtin_ia32_psrlw128_mask,
5358 __builtin_ia32_prorvd256_mask, __builtin_ia32_prolvd256_mask,
5359 __builtin_ia32_prord256_mask, __builtin_ia32_prold256_mask,
5360 __builtin_ia32_prorvd128_mask, __builtin_ia32_prolvd128_mask,
5361 __builtin_ia32_prord128_mask, __builtin_ia32_prold128_mask,
5362 __builtin_ia32_fpclasspd256_mask, __builtin_ia32_fpclasspd128_mask,
5363 __builtin_ia32_fpclasssd, __builtin_ia32_fpclassps256_mask,
5364 __builtin_ia32_fpclassps128_mask, __builtin_ia32_fpclassss,
5365 __builtin_ia32_cvtb2mask128, __builtin_ia32_cvtb2mask256,
5366 __builtin_ia32_cvtw2mask128, __builtin_ia32_cvtw2mask256,
5367 __builtin_ia32_cvtd2mask128, __builtin_ia32_cvtd2mask256,
5368 __builtin_ia32_cvtq2mask128, __builtin_ia32_cvtq2mask256,
5369 __builtin_ia32_cvtmask2b128, __builtin_ia32_cvtmask2b256,
5370 __builtin_ia32_cvtmask2w128, __builtin_ia32_cvtmask2w256,
5371 __builtin_ia32_cvtmask2d128, __builtin_ia32_cvtmask2d256,
5372 __builtin_ia32_cvtmask2q128, __builtin_ia32_cvtmask2q256,
5373 __builtin_ia32_pcmpeqb128_mask, __builtin_ia32_pcmpeqb256_mask,
5374 __builtin_ia32_pcmpeqw128_mask, __builtin_ia32_pcmpeqw256_mask,
5375 __builtin_ia32_pcmpeqd128_mask, __builtin_ia32_pcmpeqd256_mask,
5376 __builtin_ia32_pcmpeqq128_mask, __builtin_ia32_pcmpeqq256_mask,
5377 __builtin_ia32_pcmpgtb128_mask, __builtin_ia32_pcmpgtb256_mask,
5378 __builtin_ia32_pcmpgtw128_mask, __builtin_ia32_pcmpgtw256_mask,
5379 __builtin_ia32_pcmpgtd128_mask, __builtin_ia32_pcmpgtd256_mask,
5380 __builtin_ia32_pcmpgtq128_mask, __builtin_ia32_pcmpgtq256_mask,
5381 __builtin_ia32_ptestmb128, __builtin_ia32_ptestmb256,
5382 __builtin_ia32_ptestmw128, __builtin_ia32_ptestmw256,
5383 __builtin_ia32_ptestmd128, __builtin_ia32_ptestmd256,
5384 __builtin_ia32_ptestmq128, __builtin_ia32_ptestmq256,
5385 __builtin_ia32_ptestnmb128, __builtin_ia32_ptestnmb256,
5386 __builtin_ia32_ptestnmw128, __builtin_ia32_ptestnmw256,
5387 __builtin_ia32_ptestnmd128, __builtin_ia32_ptestnmd256,
5388 __builtin_ia32_ptestnmq128, __builtin_ia32_ptestnmq256,
5389 __builtin_ia32_broadcastmb128, __builtin_ia32_broadcastmb256,
5390 __builtin_ia32_broadcastmw128, __builtin_ia32_broadcastmw256,
5391 __builtin_ia32_compressdf256_mask, __builtin_ia32_compressdf128_mask,
5392 __builtin_ia32_compresssf256_mask, __builtin_ia32_compresssf128_mask,
5393 __builtin_ia32_compressdi256_mask, __builtin_ia32_compressdi128_mask,
5394 __builtin_ia32_compresssi256_mask, __builtin_ia32_compresssi128_mask,
5395 __builtin_ia32_expanddf256_mask, __builtin_ia32_expanddf128_mask,
5396 __builtin_ia32_expandsf256_mask, __builtin_ia32_expandsf128_mask,
5397 __builtin_ia32_expanddi256_mask, __builtin_ia32_expanddi128_mask,
5398 __builtin_ia32_expandsi256_mask, __builtin_ia32_expandsi128_mask,
5399 __builtin_ia32_expanddf256_maskz, __builtin_ia32_expanddf128_maskz,
5400 __builtin_ia32_expandsf256_maskz, __builtin_ia32_expandsf128_maskz,
5401 __builtin_ia32_expanddi256_maskz, __builtin_ia32_expanddi128_maskz,
5402 __builtin_ia32_expandsi256_maskz, __builtin_ia32_expandsi128_maskz,
5403 __builtin_ia32_pmaxsd256_mask, __builtin_ia32_pminsd256_mask,
5404 __builtin_ia32_pmaxud256_mask, __builtin_ia32_pminud256_mask,
5405 __builtin_ia32_pmaxsd128_mask, __builtin_ia32_pminsd128_mask,
5406 __builtin_ia32_pmaxud128_mask, __builtin_ia32_pminud128_mask,
5407 __builtin_ia32_pmaxsq256_mask, __builtin_ia32_pminsq256_mask,
5408 __builtin_ia32_pmaxuq256_mask, __builtin_ia32_pminuq256_mask,
5409 __builtin_ia32_pmaxsq128_mask, __builtin_ia32_pminsq128_mask,
5410 __builtin_ia32_pmaxuq128_mask, __builtin_ia32_pminuq128_mask,
5411 __builtin_ia32_pminsb256_mask, __builtin_ia32_pminub256_mask,
5412 __builtin_ia32_pmaxsb256_mask, __builtin_ia32_pmaxub256_mask,
5413 __builtin_ia32_pminsb128_mask, __builtin_ia32_pminub128_mask,
5414 __builtin_ia32_pmaxsb128_mask, __builtin_ia32_pmaxub128_mask,
5415 __builtin_ia32_pminsw256_mask, __builtin_ia32_pminuw256_mask,
5416 __builtin_ia32_pmaxsw256_mask, __builtin_ia32_pmaxuw256_mask,
5417 __builtin_ia32_pminsw128_mask, __builtin_ia32_pminuw128_mask,
5418 __builtin_ia32_pmaxsw128_mask, __builtin_ia32_pmaxuw128_mask,
5419 __builtin_ia32_vpconflictdi_256_mask, __builtin_ia32_vpconflictsi_256_mask,
5420 __builtin_ia32_vplzcntq_256_mask, __builtin_ia32_vplzcntd_256_mask,
5421 __builtin_ia32_unpckhpd256_mask, __builtin_ia32_unpckhpd128_mask,
5422 __builtin_ia32_unpckhps256_mask, __builtin_ia32_unpckhps128_mask,
5423 __builtin_ia32_unpcklpd256_mask, __builtin_ia32_unpcklpd128_mask,
5424 __builtin_ia32_unpcklps256_mask, __builtin_ia32_vpconflictdi_128_mask,
5425 __builtin_ia32_vpconflictsi_128_mask, __builtin_ia32_vplzcntq_128_mask,
5426 __builtin_ia32_vplzcntd_128_mask, __builtin_ia32_unpcklps128_mask,
5427 __builtin_ia32_alignd256_mask, __builtin_ia32_alignq256_mask,
5428 __builtin_ia32_alignd128_mask, __builtin_ia32_alignq128_mask,
5429 __builtin_ia32_vcvtps2ph256_mask, __builtin_ia32_vcvtps2ph_mask,
5430 __builtin_ia32_vcvtph2ps_mask, __builtin_ia32_vcvtph2ps256_mask,
5431 __builtin_ia32_punpckhdq128_mask, __builtin_ia32_punpckhdq256_mask,
5432 __builtin_ia32_punpckhqdq128_mask, __builtin_ia32_punpckhqdq256_mask,
5433 __builtin_ia32_punpckldq128_mask, __builtin_ia32_punpckldq256_mask,
5434 __builtin_ia32_punpcklqdq128_mask, __builtin_ia32_punpcklqdq256_mask,
5435 __builtin_ia32_punpckhbw128_mask, __builtin_ia32_punpckhbw256_mask,
5436 __builtin_ia32_punpckhwd128_mask, __builtin_ia32_punpckhwd256_mask,
5437 __builtin_ia32_punpcklbw128_mask, __builtin_ia32_punpcklbw256_mask,
5438 __builtin_ia32_punpcklwd128_mask, __builtin_ia32_punpcklwd256_mask,
5439 __builtin_ia32_psllv16hi_mask, __builtin_ia32_psllv8hi_mask,
5440 __builtin_ia32_packssdw256_mask, __builtin_ia32_packssdw128_mask,
5441 __builtin_ia32_packusdw256_mask, __builtin_ia32_packusdw128_mask,
5442 __builtin_ia32_pavgb256_mask, __builtin_ia32_pavgw256_mask,
5443 __builtin_ia32_pavgb128_mask, __builtin_ia32_pavgw128_mask,
5444 __builtin_ia32_permvarsf256_mask, __builtin_ia32_permvardf256_mask,
5445 __builtin_ia32_permdf256_mask, __builtin_ia32_pabsb256_mask,
5446 __builtin_ia32_pabsb128_mask, __builtin_ia32_pabsw256_mask,
5447 __builtin_ia32_pabsw128_mask, __builtin_ia32_vpermilvarpd_mask,
5448 __builtin_ia32_vpermilvarps_mask, __builtin_ia32_vpermilvarpd256_mask,
5449 __builtin_ia32_vpermilvarps256_mask, __builtin_ia32_vpermilpd_mask,
5450 __builtin_ia32_vpermilps_mask, __builtin_ia32_vpermilpd256_mask,
5451 __builtin_ia32_vpermilps256_mask, __builtin_ia32_blendmq_256_mask,
5452 __builtin_ia32_blendmd_256_mask, __builtin_ia32_blendmpd_256_mask,
5453 __builtin_ia32_blendmps_256_mask, __builtin_ia32_blendmq_128_mask,
5454 __builtin_ia32_blendmd_128_mask, __builtin_ia32_blendmpd_128_mask,
5455 __builtin_ia32_blendmps_128_mask, __builtin_ia32_blendmw_256_mask,
5456 __builtin_ia32_blendmb_256_mask, __builtin_ia32_blendmw_128_mask,
5457 __builtin_ia32_blendmb_128_mask, __builtin_ia32_pmulld256_mask,
5458 __builtin_ia32_pmulld128_mask, __builtin_ia32_pmuludq256_mask,
5459 __builtin_ia32_pmuldq256_mask, __builtin_ia32_pmuldq128_mask,
5460 __builtin_ia32_pmuludq128_mask, __builtin_ia32_cvtpd2ps256_mask,
5461 __builtin_ia32_cvtpd2ps_mask, __builtin_ia32_permvarsi256_mask,
5462 __builtin_ia32_permvardi256_mask, __builtin_ia32_permdi256_mask,
5463 __builtin_ia32_cmpq256_mask, __builtin_ia32_cmpd256_mask,
5464 __builtin_ia32_ucmpq256_mask, __builtin_ia32_ucmpd256_mask,
5465 __builtin_ia32_cmpb256_mask, __builtin_ia32_cmpw256_mask,
5466 __builtin_ia32_ucmpb256_mask, __builtin_ia32_ucmpw256_mask,
5467 __builtin_ia32_cmppd256_mask, __builtin_ia32_cmpps256_mask,
5468 __builtin_ia32_cmpq128_mask, __builtin_ia32_cmpd128_mask,
5469 __builtin_ia32_ucmpq128_mask, __builtin_ia32_ucmpd128_mask,
5470 __builtin_ia32_cmpb128_mask, __builtin_ia32_cmpw128_mask,
5471 __builtin_ia32_ucmpb128_mask, __builtin_ia32_ucmpw128_mask,
5472 __builtin_ia32_cmppd128_mask, __builtin_ia32_cmpps128_mask,
5473 __builtin_ia32_broadcastf32x2_512_mask, __builtin_ia32_broadcasti32x2_512_mask,
5474 __builtin_ia32_broadcastf64x2_512_mask, __builtin_ia32_broadcasti64x2_512_mask,
5475 __builtin_ia32_broadcastf32x8_512_mask, __builtin_ia32_broadcasti32x8_512_mask,
5476 __builtin_ia32_extractf64x2_512_mask, __builtin_ia32_extractf32x8_mask,
5477 __builtin_ia32_extracti64x2_512_mask, __builtin_ia32_extracti32x8_mask,
5478 __builtin_ia32_reducepd512_mask, __builtin_ia32_reduceps512_mask,
5479 __builtin_ia32_pmullq512_mask, __builtin_ia32_xorpd512_mask,
5480 __builtin_ia32_xorps512_mask, __builtin_ia32_orpd512_mask,
5481 __builtin_ia32_orps512_mask, __builtin_ia32_andpd512_mask,
5482 __builtin_ia32_andps512_mask, __builtin_ia32_andnpd512_mask,
5483 __builtin_ia32_andnps512_mask, __builtin_ia32_insertf32x8_mask,
5484 __builtin_ia32_inserti32x8_mask, __builtin_ia32_insertf64x2_512_mask,
5485 __builtin_ia32_inserti64x2_512_mask, __builtin_ia32_fpclasspd512_mask,
5486 __builtin_ia32_fpclassps512_mask, __builtin_ia32_cvtd2mask512,
5487 __builtin_ia32_cvtq2mask512, __builtin_ia32_cvtmask2d512,
5488 __builtin_ia32_cvtmask2q512, __builtin_ia32_kunpcksi,
5489 __builtin_ia32_kunpckdi, __builtin_ia32_packusdw512_mask,
5490 __builtin_ia32_pslldq512, __builtin_ia32_psrldq512,
5491 __builtin_ia32_packssdw512_mask, __builtin_ia32_palignr512,
5492 __builtin_ia32_palignr512_mask, __builtin_ia32_movdquhi512_mask,
5493 __builtin_ia32_movdquqi512_mask, __builtin_ia32_psadbw512,
5494 __builtin_ia32_dbpsadbw512_mask, __builtin_ia32_pbroadcastb512_mask,
5495 __builtin_ia32_pbroadcastb512_gpr_mask, __builtin_ia32_pbroadcastw512_mask,
5496 __builtin_ia32_pbroadcastw512_gpr_mask, __builtin_ia32_pmovsxbw512_mask,
5497 __builtin_ia32_pmovzxbw512_mask, __builtin_ia32_permvarhi512_mask,
5498 __builtin_ia32_vpermt2varhi512_mask, __builtin_ia32_vpermt2varhi512_maskz,
5499 __builtin_ia32_vpermi2varhi512_mask, __builtin_ia32_pavgb512_mask,
5500 __builtin_ia32_pavgw512_mask, __builtin_ia32_paddb512_mask,
5501 __builtin_ia32_psubb512_mask, __builtin_ia32_psubsb512_mask,
5502 __builtin_ia32_paddsb512_mask, __builtin_ia32_psubusb512_mask,
5503 __builtin_ia32_paddusb512_mask, __builtin_ia32_psubw512_mask,
5504 __builtin_ia32_paddw512_mask, __builtin_ia32_psubsw512_mask,
5505 __builtin_ia32_paddsw512_mask, __builtin_ia32_psubusw512_mask,
5506 __builtin_ia32_paddusw512_mask, __builtin_ia32_pmaxuw512_mask,
5507 __builtin_ia32_pmaxsw512_mask, __builtin_ia32_pminuw512_mask,
5508 __builtin_ia32_pminsw512_mask, __builtin_ia32_pmaxub512_mask,
5509 __builtin_ia32_pmaxsb512_mask, __builtin_ia32_pminub512_mask,
5510 __builtin_ia32_pminsb512_mask, __builtin_ia32_pmovwb512_mask,
5511 __builtin_ia32_pmovswb512_mask, __builtin_ia32_pmovuswb512_mask,
5512 __builtin_ia32_pmulhrsw512_mask, __builtin_ia32_pmulhuw512_mask,
5513 __builtin_ia32_pmulhw512_mask, __builtin_ia32_pmullw512_mask,
5514 __builtin_ia32_psllwi512_mask, __builtin_ia32_psllw512_mask,
5515 __builtin_ia32_packsswb512_mask, __builtin_ia32_packuswb512_mask,
5516 __builtin_ia32_psrav32hi_mask, __builtin_ia32_pmaddubsw512_mask,
5517 __builtin_ia32_pmaddwd512_mask, __builtin_ia32_psrlv32hi_mask,
5518 __builtin_ia32_punpckhbw512_mask, __builtin_ia32_punpckhwd512_mask,
5519 __builtin_ia32_punpcklbw512_mask, __builtin_ia32_punpcklwd512_mask,
5520 __builtin_ia32_pshufb512_mask, __builtin_ia32_pshufhw512_mask,
5521 __builtin_ia32_pshuflw512_mask, __builtin_ia32_psrawi512_mask,
5522 __builtin_ia32_psraw512_mask, __builtin_ia32_psrlwi512_mask,
5523 __builtin_ia32_psrlw512_mask, __builtin_ia32_cvtb2mask512,
5524 __builtin_ia32_cvtw2mask512, __builtin_ia32_cvtmask2b512,
5525 __builtin_ia32_cvtmask2w512, __builtin_ia32_pcmpeqb512_mask,
5526 __builtin_ia32_pcmpeqw512_mask, __builtin_ia32_pcmpgtb512_mask,
5527 __builtin_ia32_pcmpgtw512_mask, __builtin_ia32_ptestmb512,
5528 __builtin_ia32_ptestmw512, __builtin_ia32_ptestnmb512,
5529 __builtin_ia32_ptestnmw512, __builtin_ia32_psllv32hi_mask,
5530 __builtin_ia32_pabsb512_mask, __builtin_ia32_pabsw512_mask,
5531 __builtin_ia32_blendmw_512_mask, __builtin_ia32_blendmb_512_mask,
5532 __builtin_ia32_cmpb512_mask, __builtin_ia32_cmpw512_mask,
5533 __builtin_ia32_ucmpb512_mask, __builtin_ia32_ucmpw512_mask,
5534 __builtin_ia32_rangesd128_round, __builtin_ia32_rangess128_round,
5535 __builtin_ia32_cvtpd2qq512_mask, __builtin_ia32_cvtps2qq512_mask,
5536 __builtin_ia32_cvtpd2uqq512_mask, __builtin_ia32_cvtps2uqq512_mask,
5537 __builtin_ia32_cvtqq2ps512_mask, __builtin_ia32_cvtuqq2ps512_mask,
5538 __builtin_ia32_cvtqq2pd512_mask, __builtin_ia32_cvtuqq2pd512_mask,
5539 __builtin_ia32_cvttps2qq512_mask, __builtin_ia32_cvttps2uqq512_mask,
5540 __builtin_ia32_cvttpd2qq512_mask, __builtin_ia32_cvttpd2uqq512_mask,
5541 __builtin_ia32_rangeps512_mask, __builtin_ia32_rangepd512_mask.
5542 (ix86_expand_args_builtin): Handle HI_FTYPE_V16QI, SI_FTYPE_V32QI,
5543 DI_FTYPE_V64QI, V16QI_FTYPE_HI, V32QI_FTYPE_SI, V64QI_FTYPE_DI,
5544 V8HI_FTYPE_QI, V16HI_FTYPE_HI, V32HI_FTYPE_SI, V4SI_FTYPE_QI,
5545 V8SI_FTYPE_QI, V4SI_FTYPE_HI, V8SI_FTYPE_HI, QI_FTYPE_V8HI,
5546 HI_FTYPE_V16HI, SI_FTYPE_V32HI, QI_FTYPE_V4SI, QI_FTYPE_V8SI,
5547 HI_FTYPE_V16SI, QI_FTYPE_V2DI, QI_FTYPE_V4DI, QI_FTYPE_V8DI,
5548 V2DI_FTYPE_QI, V4DI_FTYPE_QI, V8DI_FTYPE_V64QI_V64QI,
5549 SI_FTYPE_SI_SI,DI_FTYPE_DI_DI, V8DI_FTYPE_V8DI_INT_CONVERT,
5550 QI_FTYPE_V4SF_INT, QI_FTYPE_V2DF_INT,
5551 V8SF_FTYPE_V4SF_V8SF_QI, V4DF_FTYPE_V2DF_V4DF_QI,
5552 V8SI_FTYPE_V4SI_V8SI_QI, V8SI_FTYPE_SI_V8SI_QI,
5553 V4SI_FTYPE_V4SI_V4SI_QI, V4SI_FTYPE_SI_V4SI_QI,
5554 V4DI_FTYPE_V2DI_V4DI_QI, V4DI_FTYPE_DI_V4DI_QI,
5555 V2DI_FTYPE_V2DI_V2DI_QI, V2DI_FTYPE_DI_V2DI_QI,
5556 V64QI_FTYPE_V64QI_V64QI_DI, V64QI_FTYPE_V16QI_V64QI_DI,
5557 V64QI_FTYPE_QI_V64QI_DI, V32QI_FTYPE_V32QI_V32QI_SI,
5558 V32QI_FTYPE_V16QI_V32QI_SI, V32QI_FTYPE_QI_V32QI_SI,
5559 V16QI_FTYPE_V16QI_V16QI_HI, V16QI_FTYPE_QI_V16QI_HI,
5560 V32HI_FTYPE_V8HI_V32HI_SI, V32HI_FTYPE_HI_V32HI_SI,
5561 V16HI_FTYPE_V8HI_V16HI_HI, V16HI_FTYPE_HI_V16HI_HI,
5562 V8HI_FTYPE_V8HI_V8HI_QI, V8HI_FTYPE_HI_V8HI_QI,
5563 V8SF_FTYPE_V8HI_V8SF_QI, V4SF_FTYPE_V8HI_V4SF_QI,
5564 V8SI_FTYPE_V8SF_V8SI_QI, V4SI_FTYPE_V4SF_V4SI_QI,
5565 V8DI_FTYPE_V8SF_V8DI_QI, V4DI_FTYPE_V4SF_V4DI_QI,
5566 V2DI_FTYPE_V4SF_V2DI_QI, V8SF_FTYPE_V8DI_V8SF_QI,
5567 V4SF_FTYPE_V4DI_V4SF_QI, V4SF_FTYPE_V2DI_V4SF_QI,
5568 V8DF_FTYPE_V8DI_V8DF_QI, V4DF_FTYPE_V4DI_V4DF_QI,
5569 V2DF_FTYPE_V2DI_V2DF_QI, V16QI_FTYPE_V8HI_V16QI_QI,
5570 V16QI_FTYPE_V16HI_V16QI_HI, V16QI_FTYPE_V4SI_V16QI_QI,
5571 V16QI_FTYPE_V8SI_V16QI_QI, V8HI_FTYPE_V4SI_V8HI_QI,
5572 V8HI_FTYPE_V8SI_V8HI_QI, V16QI_FTYPE_V2DI_V16QI_QI,
5573 V16QI_FTYPE_V4DI_V16QI_QI, V8HI_FTYPE_V2DI_V8HI_QI,
5574 V8HI_FTYPE_V4DI_V8HI_QI, V4SI_FTYPE_V2DI_V4SI_QI,
5575 V4SI_FTYPE_V4DI_V4SI_QI, V32QI_FTYPE_V32HI_V32QI_SI,
5576 HI_FTYPE_V16QI_V16QI_HI, SI_FTYPE_V32QI_V32QI_SI,
5577 DI_FTYPE_V64QI_V64QI_DI, QI_FTYPE_V8HI_V8HI_QI,
5578 HI_FTYPE_V16HI_V16HI_HI, SI_FTYPE_V32HI_V32HI_SI,
5579 QI_FTYPE_V4SI_V4SI_QI, QI_FTYPE_V8SI_V8SI_QI,
5580 QI_FTYPE_V2DI_V2DI_QI, QI_FTYPE_V4DI_V4DI_QI,
5581 V4SF_FTYPE_V2DF_V4SF_QI, V4SF_FTYPE_V4DF_V4SF_QI,
5582 V2DI_FTYPE_V4SI_V2DI_QI, V2DI_FTYPE_V8HI_V2DI_QI,
5583 V2DI_FTYPE_V16QI_V2DI_QI, V4DI_FTYPE_V4DI_V4DI_QI,
5584 V4DI_FTYPE_V4SI_V4DI_QI, V4DI_FTYPE_V8HI_V4DI_QI,
5585 V4DI_FTYPE_V16QI_V4DI_QI, V8DI_FTYPE_V8DF_V8DI_QI,
5586 V4DI_FTYPE_V4DF_V4DI_QI, V2DI_FTYPE_V2DF_V2DI_QI,
5587 V4SI_FTYPE_V4DF_V4SI_QI, V4SI_FTYPE_V2DF_V4SI_QI,
5588 V4SI_FTYPE_V8HI_V4SI_QI, V4SI_FTYPE_V16QI_V4SI_QI,
5589 V8SI_FTYPE_V8SI_V8SI_V8SI, V8SF_FTYPE_V8SF_V8SF_QI,
5590 V8SF_FTYPE_V8SI_V8SF_QI, V4DF_FTYPE_V4DF_V4DF_QI,
5591 V4SF_FTYPE_V4SF_V4SF_QI, V2DF_FTYPE_V2DF_V2DF_QI,
5592 V2DF_FTYPE_V4SF_V2DF_QI, V2DF_FTYPE_V4SI_V2DF_QI,
5593 V4SF_FTYPE_V4SI_V4SF_QI, V4DF_FTYPE_V4SF_V4DF_QI,
5594 V4DF_FTYPE_V4SI_V4DF_QI, V8SI_FTYPE_V8SI_V8SI_QI,
5595 V8SI_FTYPE_V8HI_V8SI_QI, V8SI_FTYPE_V16QI_V8SI_QI,
5596 V16SF_FTYPE_V8SF_V16SF_HI, V16SI_FTYPE_V8SI_V16SI_HI,
5597 V16HI_FTYPE_V16HI_V16HI_HI, V8HI_FTYPE_V16QI_V8HI_QI,
5598 V16HI_FTYPE_V16QI_V16HI_HI, V32HI_FTYPE_V32HI_V32HI_SI,
5599 V32HI_FTYPE_V32QI_V32HI_SI, V8DI_FTYPE_V8DI_V8DI_INT_CONVERT,
5600 V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI_CONVERT, QI_FTYPE_V8DF_INT_QI,
5601 QI_FTYPE_V4DF_INT_QI, QI_FTYPE_V2DF_INT_QI,
5602 HI_FTYPE_V16SF_INT_HI, QI_FTYPE_V8SF_INT_QI,
5603 QI_FTYPE_V4SF_INT_QI, V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI_CONVERT,
5604 V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI_CONVERT, V32QI_FTYPE_V32QI_V32QI_V32QI_SI,
5605 V32HI_FTYPE_V32HI_V32HI_V32HI_SI, V32HI_FTYPE_V64QI_V64QI_V32HI_SI,
5606 V16SI_FTYPE_V32HI_V32HI_V16SI_HI, V64QI_FTYPE_V64QI_V64QI_V64QI_DI,
5607 V32HI_FTYPE_V32HI_V8HI_V32HI_SI, V16HI_FTYPE_V16HI_V8HI_V16HI_HI,
5608 V8SI_FTYPE_V8SI_V4SI_V8SI_QI, V4DI_FTYPE_V4DI_V2DI_V4DI_QI,
5609 V64QI_FTYPE_V32HI_V32HI_V64QI_DI, V32QI_FTYPE_V16HI_V16HI_V32QI_SI,
5610 V16QI_FTYPE_V8HI_V8HI_V16QI_HI, V32HI_FTYPE_V16SI_V16SI_V32HI_SI,
5611 V16HI_FTYPE_V8SI_V8SI_V16HI_HI, V8HI_FTYPE_V4SI_V4SI_V8HI_QI,
5612 V4DF_FTYPE_V4DF_V4DI_V4DF_QI, V8SF_FTYPE_V8SF_V8SI_V8SF_QI,
5613 V4SF_FTYPE_V4SF_V4SI_V4SF_QI, V2DF_FTYPE_V2DF_V2DI_V2DF_QI,
5614 V2DI_FTYPE_V4SI_V4SI_V2DI_QI, V4DI_FTYPE_V8SI_V8SI_V4DI_QI,
5615 V4DF_FTYPE_V4DI_V4DF_V4DF_QI, V8SF_FTYPE_V8SI_V8SF_V8SF_QI,
5616 V2DF_FTYPE_V2DI_V2DF_V2DF_QI, V4SF_FTYPE_V4SI_V4SF_V4SF_QI,
5617 V8HI_FTYPE_V8HI_V8HI_V8HI_QI, V8SI_FTYPE_V8SI_V8SI_V8SI_QI,
5618 V4SI_FTYPE_V4SI_V4SI_V4SI_QI, V8SF_FTYPE_V8SF_V8SF_V8SF_QI,
5619 V16QI_FTYPE_V16QI_V16QI_V16QI_HI, V16HI_FTYPE_V16HI_V16HI_V16HI_HI,
5620 V2DI_FTYPE_V2DI_V2DI_V2DI_QI, V4DI_FTYPE_V4DI_V4DI_V4DI_QI,
5621 V4DF_FTYPE_V4DF_V4DF_V4DF_QI, V8HI_FTYPE_V16QI_V16QI_V8HI_QI,
5622 V16HI_FTYPE_V32QI_V32QI_V16HI_HI, V8SI_FTYPE_V16HI_V16HI_V8SI_QI,
5623 V4SI_FTYPE_V8HI_V8HI_V4SI_QI, QI_FTYPE_V4DI_V4DI_INT_QI,
5624 QI_FTYPE_V8SI_V8SI_INT_QI, QI_FTYPE_V4DF_V4DF_INT_QI,
5625 QI_FTYPE_V8SF_V8SF_INT_QI, QI_FTYPE_V2DI_V2DI_INT_QI,
5626 QI_FTYPE_V4SI_V4SI_INT_QI, DI_FTYPE_V64QI_V64QI_INT_DI,
5627 SI_FTYPE_V32QI_V32QI_INT_SI, HI_FTYPE_V16QI_V16QI_INT_HI,
5628 SI_FTYPE_V32HI_V32HI_INT_SI, HI_FTYPE_V16HI_V16HI_INT_HI,
5629 QI_FTYPE_V8HI_V8HI_INT_QI, V8SF_FTYPE_V8SF_INT_V8SF_QI,
5630 V4SF_FTYPE_V4SF_INT_V4SF_QI, V2DF_FTYPE_V4DF_INT_V2DF_QI,
5631 V2DI_FTYPE_V4DI_INT_V2DI_QI, V8SF_FTYPE_V16SF_INT_V8SF_QI,
5632 V8SI_FTYPE_V16SI_INT_V8SI_QI, V2DF_FTYPE_V8DF_INT_V2DF_QI,
5633 V2DI_FTYPE_V8DI_INT_V2DI_QI, V4SF_FTYPE_V8SF_INT_V4SF_QI,
5634 V4SI_FTYPE_V8SI_INT_V4SI_QI, V8HI_FTYPE_V8SF_INT_V8HI_QI,
5635 V8HI_FTYPE_V4SF_INT_V8HI_QI, V32HI_FTYPE_V32HI_INT_V32HI_SI,
5636 V16HI_FTYPE_V16HI_INT_V16HI_HI, V8HI_FTYPE_V8HI_INT_V8HI_QI,
5637 V4DI_FTYPE_V4DI_INT_V4DI_QI, V2DI_FTYPE_V2DI_INT_V2DI_QI,
5638 V8SI_FTYPE_V8SI_INT_V8SI_QI, V4SI_FTYPE_V4SI_INT_V4SI_QI,
5639 V4DF_FTYPE_V4DF_INT_V4DF_QI, V2DF_FTYPE_V2DF_INT_V2DF_QI,
5640 V4DF_FTYPE_V4DF_V4DF_INT_V4DF_QI, V8SF_FTYPE_V8SF_V8SF_INT_V8SF_QI,
5641 V8DF_FTYPE_V8DF_V2DF_INT_V8DF_QI, V8DI_FTYPE_V8DI_V2DI_INT_V8DI_QI,
5642 V8SI_FTYPE_V8SI_V8SI_INT_V8SI_QI, V4DI_FTYPE_V4DI_V4DI_INT_V4DI_QI,
5643 V4SI_FTYPE_V4SI_V4SI_INT_V4SI_QI, V2DI_FTYPE_V2DI_V2DI_INT_V2DI_QI,
5644 V32HI_FTYPE_V64QI_V64QI_INT_V32HI_SI, V16HI_FTYPE_V32QI_V32QI_INT_V16HI_HI,
5645 V8HI_FTYPE_V16QI_V16QI_INT_V8HI_QI, V16SF_FTYPE_V16SF_V8SF_INT_V16SF_HI,
5646 V16SI_FTYPE_V16SI_V8SI_INT_V16SI_HI, V8SF_FTYPE_V8SF_V4SF_INT_V8SF_QI,
5647 V8SI_FTYPE_V8SI_V4SI_INT_V8SI_QI, V4DI_FTYPE_V4DI_V2DI_INT_V4DI_QI,
5648 V4DF_FTYPE_V4DF_V2DF_INT_V4DF_QI, V8SF_FTYPE_V8SF_V8SF_V8SI_INT_QI,
5649 V8SI_FTYPE_V8SI_V8SI_V8SI_INT_QI, V4DF_FTYPE_V4DF_V4DF_V4DI_INT_QI,
5650 V4DI_FTYPE_V4DI_V4DI_V4DI_INT_QI, V4SI_FTYPE_V4SI_V4SI_V4SI_INT_QI,
5651 V2DI_FTYPE_V2DI_V2DI_V2DI_INT_QI, V8DI_FTYPE_V8DF_V8DI_QI_INT,
5652 V8SF_FTYPE_V8DI_V8SF_QI_INT, V8DF_FTYPE_V8DI_V8DF_QI_INT,
5653 V8DI_FTYPE_V8SF_V8DI_QI_INT, V16SF_FTYPE_V16SF_V16SF_INT_V16SF_HI_INT,
5654 V8DF_FTYPE_V8DF_V8DF_INT_V8DF_QI_INT, VOID_FTYPE_PV4DI_V4DI_QI,
5655 VOID_FTYPE_PV2DI_V2DI_QI, VOID_FTYPE_PV8SI_V8SI_QI,
5656 VOID_FTYPE_PV4SI_V4SI_QI, VOID_FTYPE_PV4SI_V4DI_QI,
5657 VOID_FTYPE_PV4SI_V2DI_QI, VOID_FTYPE_PV8HI_V4DI_QI,
5658 VOID_FTYPE_PV8HI_V2DI_QI, VOID_FTYPE_PV8HI_V8SI_QI,
5659 VOID_FTYPE_PV8HI_V4SI_QI, VOID_FTYPE_PV16QI_V4DI_QI,
5660 VOID_FTYPE_PV16QI_V2DI_QI, VOID_FTYPE_PV16QI_V8SI_QI,
5661 VOID_FTYPE_PV16QI_V4SI_QI, VOID_FTYPE_PV8HI_V8HI_QI,
5662 VOID_FTYPE_PV16HI_V16HI_HI, VOID_FTYPE_PV32HI_V32HI_SI,
5663 VOID_FTYPE_PV16QI_V16QI_HI, VOID_FTYPE_PV32QI_V32QI_SI,
5664 VOID_FTYPE_PV64QI_V64QI_DI, VOID_FTYPE_PV4DF_V4DF_QI,
5665 VOID_FTYPE_PV2DF_V2DF_QI, VOID_FTYPE_PV8SF_V8SF_QI,
5666 VOID_FTYPE_PV4SF_V4SF_QI, V4SF_FTYPE_PCV4SF_V4SF_QI,
5667 V8SF_FTYPE_PCV8SF_V8SF_QI, V4SI_FTYPE_PCV4SI_V4SI_QI,
5668 V8SI_FTYPE_PCV8SI_V8SI_QI, V2DF_FTYPE_PCV2DF_V2DF_QI,
5669 V4DF_FTYPE_PCV4DF_V4DF_QI, V2DI_FTYPE_PCV2DI_V2DI_QI,
5670 V4DI_FTYPE_PCV4DI_V4DI_QI, V8HI_FTYPE_PCV8HI_V8HI_QI,
5671 V16HI_FTYPE_PCV16HI_V16HI_HI, V32HI_FTYPE_PCV32HI_V32HI_SI,
5672 V16QI_FTYPE_PCV16QI_V16QI_HI, V32QI_FTYPE_PCV32QI_V32QI_SI,
5673 V64QI_FTYPE_PCV64QI_V64QI_DI, do not handle V8USI_FTYPE_V8USI.
5675 2014-10-28 Jakub Jelinek <jakub@redhat.com>
5677 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Use uint64_t
5678 type for the left shift in CASE_CONVERT case.
5680 2014-10-28 Max Ostapenko <m.ostapenko@partner.samsung.com>
5682 * asan.h (asan_intercepted_p): New function.
5683 * asan.c (asan_mem_ref_hasher::hash): Remove MEM_REF access size from
5684 hash value construction. Call iterative_hash_expr instead of explicit
5686 (asan_mem_ref_hasher::equal): Change condition.
5687 (has_mem_ref_been_instrumented): Likewise.
5688 (update_mem_ref_hash_table): Likewise.
5689 (maybe_update_mem_ref_hash_table): New function.
5690 (instrument_strlen_call): Removed.
5691 (get_mem_refs_of_builtin_call): Handle new parameter.
5692 (instrument_builtin_call): Call maybe_update_mem_ref_hash_table instead
5693 of instrument_mem_region_access if intercepted_p is true.
5694 (instrument_mem_region_access): Instrument only base with len instead of
5695 base and end with 1.
5696 (build_check_stmt): Remove start_instrumented and end_instrumented
5698 (enum asan_check_flags): Remove ASAN_CHECK_START_INSTRUMENTED and
5699 ASAN_CHECK_END_INSTRUMENTED. Change ASAN_CHECK_LAST.
5700 (asan_expand_check_ifn): Remove start_instrumented and end_instrumented.
5701 * builtins.c (expand_builtin): Include asan.h. Don't expand string/memory
5702 builtin functions that have interceptors if ASan is enabled.
5704 2014-10-28 Richard Biener <rguenther@suse.de>
5707 * fold-const.c (fold_comparison): Properly guard simplifying
5708 against INT_MAX/INT_MIN with !TYPE_OVERFLOW_WRAPS.
5710 2014-10-28 Alan Lawrence <alan.lawrence@arm.com>
5712 * expr.c (expand_expr_real_2): Remove code handling VEC_LSHIFT_EXPR.
5713 * fold-const.c (const_binop): Likewise.
5714 * cfgexpand.c (expand_debug_expr): Likewise.
5715 * tree-inline.c (estimate_operator_cost): Likewise.
5716 * tree-vect-generic.c (expand_vector_operations_1): Likewise.
5717 * optabs.c (optab_for_tree_code): Likewise.
5718 (expand_vec_shift_expr): Likewise, update comment.
5719 * tree.def: Delete VEC_LSHIFT_EXPR, remove comment.
5720 * optabs.h (expand_vec_shift_expr): Remove comment re. VEC_LSHIFT_EXPR.
5721 * optabs.def: Remove vec_shl_optab.
5722 * doc/md.texi: Remove references to vec_shr_m.
5724 2014-10-28 Yury Gribov <y.gribov@samsung.com>
5726 * asan.c (report_error_func): Add noabort path.
5727 (check_func): Ditto. Formatting.
5728 (asan_expand_check_ifn): Handle noabort path.
5729 * common.opt (flag_sanitize_recover): Add SANITIZE_KERNEL_ADDRESS
5731 * doc/invoke.texi (-fsanitize-recover=): Mention KASan.
5732 * opts.c (finish_options): Reword comment.
5733 * sanitizer.def: Add noabort ASan builtins.
5735 2014-10-28 Yury Gribov <y.gribov@samsung.com>
5737 * asan.c (set_asan_shadow_offset): New function.
5738 (asan_shadow_offset): Likewise.
5739 (asan_emit_stack_protection): Call asan_shadow_offset.
5740 (build_shadow_mem_access): Likewise.
5741 * asan.h (set_asan_shadow_offset): Declare.
5742 * common.opt (fasan-shadow-offset): New option.
5743 (frandom-seed): Fixed parameter name.
5744 * doc/invoke.texi (fasan-shadow-offset): Describe new option.
5745 (frandom-seed): Fixed parameter name.
5746 * opts-global.c (handle_common_deferred_options): Handle
5747 -fasan-shadow-offset.
5748 * opts.c (common_handle_option): Likewise.
5750 2014-10-27 Jiong Wang <jiong.wang@arm.com>
5753 * optabs.c (prepare_cmp_insn): Use "ret_mode" instead of "word_mode".
5755 2014-10-27 DJ Delorie <dj@redhat.com>
5757 * tree.c (build_common_tree_nodes): Don't even store the
5758 __int128 types if they're not supported.
5760 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
5762 * config/i386/i386.c (ix86_loop_memcount): Delete.
5763 (ix86_loop_unroll_adjust): Use FOR_EACH_SUBRTX.
5765 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
5767 * config/i386/i386.c (find_constant_1): Delete.
5768 (find_constant): Use FOR_EACH_SUBRTX.
5770 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
5772 * config/i386/i386.c (extended_reg_mentioned_1): Delete.
5773 (x86_extended_reg_mentioned_p): Use FOR_EACH_SUBRTX.
5775 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
5777 * config/i386/i386.c: Include rtl-iter.h
5778 (ix86_check_avx256_register): Take a const_rtx and return a bool.
5779 (ix86_check_avx256_stores): Update call accordingly.
5780 (ix86_avx_u128_mode_entry, ix86_avx_u128_mode_exit): Likewise.
5781 (ix86_avx_u128_mode_needed): Likewise. Use FOR_EACH_SUBRTX.
5783 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
5785 * config/alpha/alpha-protos.h (some_small_symbolic_operand_int):
5786 Take an rtx and return a bool.
5787 * config/alpha/alpha.c (some_small_symbolic_operand_int): Likewise.
5788 Use FOR_EACH_SUBRTX_VAR.
5789 * config/alpha/predicates.md (some_small_symbolic_operand): Update
5792 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
5794 * config/alpha/alpha-protos.h (alpha_find_lo_sum_using_gp): Return
5796 * config/alpha/alpha.c (find_lo_sum_using_gp): Delete.
5797 (alpha_find_lo_sum_using_gp): Use FOR_EACH_SUBRTX. Return a bool.
5799 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
5801 * config/alpha/alpha.c (alpha_set_memflags_1): Delete.
5802 (alpha_set_memflags): Use FOR_EACH_SUBRTX_VAR.
5804 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
5806 * config/alpha/alpha.c: Include rtl-iter.h.
5807 (split_small_symbolic_operand_1): Delete.
5808 (split_small_symbolic_operand): Use FOR_EACH_SUBRTX_PTR.
5810 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
5812 * config/s390/s390.c: Include rtl-iter.h.
5813 (check_dpu): Delete.
5814 (s390_loop_unroll_adjust): Only iterate over patterns.
5815 Use FOR_EACH_SUBRTX.
5817 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
5819 * config/spu/spu.c: Include rtl-iter.h
5820 (ea_symbol_ref): Replace with...
5821 (ea_symbol_ref_p): ...this new function.
5822 (spu_legitimate_address_p): Update call accordingly.
5823 (spu_legitimate_constant_p): Likewise. Use FOR_EACH_SUBRTX.
5825 2014-10-27 Phil Muldoon <pmuldoon@redhat.com>
5826 Tom Tromey <tromey@redhat.com>
5828 * aclocal.m4, configure: Rebuild.
5829 * Makefile.in (aclocal_deps): Add gcc-plugin.m4.
5830 * configure.ac: Use GCC_ENABLE_PLUGINS.
5831 * stor-layout.c (finish_bitfield_layout): Now public. Change
5832 argument type to 'tree'.
5833 (finish_record_layout): Update.
5834 * stor-layout.h (finish_bitfield_layout): Declare.
5836 2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
5838 * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Define again.
5839 * config/aarch64/aarch64-builtins.c (aarch64_gimple_fold_builtin):
5840 Restore, enable for bigendian, update to use __builtin..._scal...
5842 2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
5844 * config/aarch64/aarch64-simd-builtins.def (reduc_smax_, reduc_smin_,
5845 reduc_umax_, reduc_umin_, reduc_smax_nan_, reduc_smin_nan_): Remove.
5846 (reduc_smax_scal_, reduc_smin_scal_, reduc_umax_scal_,
5847 reduc_umin_scal_, reduc_smax_nan_scal_, reduc_smin_nan_scal_): New.
5849 * config/aarch64/aarch64-simd.md
5850 (reduc_<maxmin_uns>_<mode>): Rename VDQV_S variant to...
5851 (reduc_<maxmin_uns>_internal<mode>): ...this.
5852 (reduc_<maxmin_uns>_<mode>): New (VDQ_BHSI).
5853 (reduc_<maxmin_uns>_scal_<mode>): New (*2).
5855 (reduc_<maxmin_uns>_v2si): Combine with below, renaming...
5856 (reduc_<maxmin_uns>_<mode>): Combine V2F with above, renaming...
5857 (reduc_<maxmin_uns>_internal_<mode>): ...to this (VDQF).
5859 * config/aarch64/arm_neon.h (vmaxv_f32, vmaxv_s8, vmaxv_s16,
5860 vmaxv_s32, vmaxv_u8, vmaxv_u16, vmaxv_u32, vmaxvq_f32, vmaxvq_f64,
5861 vmaxvq_s8, vmaxvq_s16, vmaxvq_s32, vmaxvq_u8, vmaxvq_u16, vmaxvq_u32,
5862 vmaxnmv_f32, vmaxnmvq_f32, vmaxnmvq_f64, vminv_f32, vminv_s8,
5863 vminv_s16, vminv_s32, vminv_u8, vminv_u16, vminv_u32, vminvq_f32,
5864 vminvq_f64, vminvq_s8, vminvq_s16, vminvq_s32, vminvq_u8, vminvq_u16,
5865 vminvq_u32, vminnmv_f32, vminnmvq_f32, vminnmvq_f64): Update to use
5866 __builtin_aarch64_reduc_..._scal; remove vget_lane wrapper.
5868 2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
5870 * config/aarch64/aarch64-simd-builtins.def
5871 (reduc_splus_<mode>/VDQF, reduc_uplus_<mode>/VDQF, reduc_splus_v4sf):
5873 (reduc_plus_scal_<mode>, reduc_plus_scal_v4sf): New.
5875 * config/aarch64/aarch64-simd.md (reduc_<sur>plus_mode): Remove.
5876 (reduc_splus_<mode>, reduc_uplus_<mode>, reduc_plus_scal_<mode>): New.
5878 (reduc_<sur>plus_mode): Change SUADDV -> UNSPEC_ADDV, rename to...
5879 (aarch64_reduc_plus_internal<mode>): ...this.
5881 (reduc_<sur>plus_v2si): Change SUADDV -> UNSPEC_ADDV, rename to...
5882 (aarch64_reduc_plus_internalv2si): ...this.
5884 (reduc_splus_<mode>/V2F): Rename to...
5885 (aarch64_reduc_plus_internal<mode>): ...this.
5887 * config/aarch64/iterators.md
5888 (UNSPEC_SADDV, UNSPEC_UADDV, SUADDV): Remove.
5890 (sur): Remove elements for UNSPEC_SADDV and UNSPEC_UADDV.
5892 * config/aarch64/arm_neon.h (vaddv_s8, vaddv_s16, vaddv_s32, vaddv_u8,
5893 vaddv_u16, vaddv_u32, vaddvq_s8, vaddvq_s16, vaddvq_s32, vaddvq_s64,
5894 vaddvq_u8, vaddvq_u16, vaddvq_u32, vaddvq_u64, vaddv_f32, vaddvq_f32,
5895 vaddvq_f64): Change __builtin_aarch64_reduc_[us]plus_... to
5896 __builtin_aarch64_reduc_plus_scal, remove vget_lane wrapper.
5898 2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
5900 PR tree-optimization/61114
5901 * doc/md.texi (Standard Names): Add reduc_(plus,[us](min|max))|scal
5902 optabs, and note in reduc_[us](plus|min|max) to prefer the former.
5904 * expr.c (expand_expr_real_2): Use reduc_..._scal if available, fall
5905 back to old reduc_... + BIT_FIELD_REF only if not.
5907 * optabs.c (optab_for_tree_code): for REDUC_(MAX,MIN,PLUS)_EXPR,
5908 return the reduce-to-scalar (reduc_..._scal) optab.
5909 (scalar_reduc_to_vector): New.
5911 * optabs.def (reduc_smax_scal_optab, reduc_smin_scal_optab,
5912 reduc_plus_scal_optab, reduc_umax_scal_optab, reduc_umin_scal_optab):
5915 * optabs.h (scalar_reduc_to_vector): Declare.
5917 * tree-vect-loop.c (vectorizable_reduction): Look for optabs reducing
5918 to either scalar or vector.
5920 2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
5922 PR tree-optimization/61114
5923 * expr.c (expand_expr_real_2): For REDUC_{MIN,MAX,PLUS}_EXPR, add
5924 extract_bit_field around optab result.
5926 * fold-const.c (fold_unary_loc): For REDUC_{MIN,MAX,PLUS}_EXPR, produce
5929 * tree-cfg.c (verify_gimple_assign_unary): Check result vs operand type
5930 for REDUC_{MIN,MAX,PLUS}_EXPR.
5932 * tree-vect-loop.c (vect_analyze_loop): Update comment.
5933 (vect_create_epilog_for_reduction): For direct vector reduction, use
5934 result of tree code directly without extract_bit_field.
5936 * tree.def (REDUC_MAX_EXPR, REDUC_MIN_EXPR, REDUC_PLUS_EXPR): Update
5939 2014-10-27 Andrew MacLeod <amacleod@redhat.com>
5941 * basic-block.h: Remove all includes.
5942 (enum profile_status_d, struct control_flow_graph): Move to cfg.h
5943 * cfg.h (profile_status_d, struct control_flow_graph): Relocate here.
5944 * Makefile.in (GTFILES): Add cfg.h to list.
5945 * cgraph.h (symbol_table::create_empty): Move to cgraph.c.
5946 * cgraph.c (symbol_table::create_empty): Relocate from cgraph.h.
5947 * genconditions.c (write_header): Add predict.h and basic-block.h to
5949 * genemit.c (main): Ditto.
5950 * genpreds.c (write_insn_preds_c): Ditto.
5951 * genrecog.c (write_header): Ditto.
5952 * gengtype.c (open_base_files): Add predict.h, basic-block.h, and cfg.h
5953 to list of includes.
5954 * alias.c: Adjust include files.
5956 * auto-inc-dec.c: Ditto.
5957 * auto-profile.c: Ditto.
5958 * bb-reorder.c: Ditto.
5960 * builtins.c: Ditto.
5961 * caller-save.c: Ditto.
5965 * cfgbuild.c: Ditto.
5966 * cfgcleanup.c: Ditto.
5967 * cfgexpand.c: Ditto.
5968 * cfghooks.c: Ditto.
5970 * cfgloopanal.c: Ditto.
5971 * cfgloopmanip.c: Ditto.
5973 * cgraphbuild.c: Ditto.
5974 * cgraphclones.c: Ditto.
5975 * cgraphunit.c: Ditto.
5976 * combine-stack-adj.c: Ditto.
5978 * compare-elim.c: Ditto.
5979 * coverage.c: Ditto.
5983 * data-streamer-in.c: Ditto.
5984 * data-streamer-out.c: Ditto.
5985 * data-streamer.c: Ditto.
5990 * df-problems.c: Ditto.
5994 * dominance.c: Ditto.
5997 * dwarf2cfi.c: Ditto.
5998 * emit-rtl.c: Ditto.
5999 * et-forest.c: Ditto.
6004 * fold-const.c: Ditto.
6005 * function.c: Ditto.
6007 * gcc-plugin.h: Ditto.
6009 * generic-match-head.c: Ditto.
6010 * ggc-page.c: Ditto.
6011 * gimple-builder.c: Ditto.
6012 * gimple-expr.c: Ditto.
6013 * gimple-fold.c: Ditto.
6014 * gimple-iterator.c: Ditto.
6015 * gimple-low.c: Ditto.
6016 * gimple-match-head.c: Ditto.
6017 * gimple-pretty-print.c: Ditto.
6018 * gimple-ssa-isolate-paths.c: Ditto.
6019 * gimple-ssa-strength-reduction.c: Ditto.
6020 * gimple-streamer-in.c: Ditto.
6021 * gimple-streamer-out.c: Ditto.
6022 * gimple-streamer.h: Ditto.
6023 * gimple-walk.c: Ditto.
6025 * gimplify-me.c: Ditto.
6026 * gimplify.c: Ditto.
6028 * graphite-blocking.c: Ditto.
6029 * graphite-clast-to-gimple.c: Ditto.
6030 * graphite-dependences.c: Ditto.
6031 * graphite-interchange.c: Ditto.
6032 * graphite-isl-ast-to-gimple.c: Ditto.
6033 * graphite-optimize-isl.c: Ditto.
6034 * graphite-poly.c: Ditto.
6035 * graphite-scop-detection.c: Ditto.
6036 * graphite-sese-to-poly.c: Ditto.
6037 * graphite.c: Ditto.
6038 * haifa-sched.c: Ditto.
6039 * hw-doloop.c: Ditto.
6041 * init-regs.c: Ditto.
6042 * internal-fn.c: Ditto.
6044 * ipa-devirt.c: Ditto.
6045 * ipa-icf-gimple.c: Ditto.
6047 * ipa-inline-analysis.c: Ditto.
6048 * ipa-inline.c: Ditto.
6049 * ipa-polymorphic-call.c: Ditto.
6050 * ipa-profile.c: Ditto.
6051 * ipa-prop.c: Ditto.
6052 * ipa-pure-const.c: Ditto.
6053 * ipa-reference.c: Ditto.
6054 * ipa-split.c: Ditto.
6055 * ipa-utils.c: Ditto.
6057 * ira-build.c: Ditto.
6058 * ira-color.c: Ditto.
6059 * ira-conflicts.c: Ditto.
6060 * ira-costs.c: Ditto.
6061 * ira-emit.c: Ditto.
6062 * ira-lives.c: Ditto.
6066 * loop-doloop.c: Ditto.
6067 * loop-init.c: Ditto.
6068 * loop-invariant.c: Ditto.
6070 * loop-unroll.c: Ditto.
6071 * lower-subreg.c: Ditto.
6072 * lra-assigns.c: Ditto.
6073 * lra-coalesce.c: Ditto.
6074 * lra-constraints.c: Ditto.
6075 * lra-eliminations.c: Ditto.
6076 * lra-lives.c: Ditto.
6077 * lra-spills.c: Ditto.
6079 * lto-cgraph.c: Ditto.
6080 * lto-compress.c: Ditto.
6081 * lto-opts.c: Ditto.
6082 * lto-section-in.c: Ditto.
6083 * lto-section-out.c: Ditto.
6084 * lto-streamer-in.c: Ditto.
6085 * lto-streamer-out.c: Ditto.
6086 * lto-streamer.c: Ditto.
6088 * mode-switching.c: Ditto.
6089 * modulo-sched.c: Ditto.
6092 * opts-global.c: Ditto.
6094 * postreload-gcse.c: Ditto.
6095 * postreload.c: Ditto.
6097 * print-rtl.c: Ditto.
6101 * reg-stack.c: Ditto.
6102 * regcprop.c: Ditto.
6103 * regcprop.h: Ditto.
6105 * regrename.c: Ditto.
6110 * resource.c: Ditto.
6112 * sched-deps.c: Ditto.
6113 * sched-ebb.c: Ditto.
6114 * sched-int.h: Ditto.
6115 * sched-rgn.c: Ditto.
6116 * sched-vis.c: Ditto.
6117 * sel-sched-dump.c: Ditto.
6118 * sel-sched-ir.c: Ditto.
6119 * sel-sched-ir.h: Ditto.
6120 * sel-sched.c: Ditto.
6122 * shrink-wrap.c: Ditto.
6123 * stack-ptr-mod.c: Ditto.
6125 * store-motion.c: Ditto.
6129 * trans-mem.c: Ditto.
6130 * tree-affine.c: Ditto.
6131 * tree-call-cdce.c: Ditto.
6132 * tree-cfg.c: Ditto.
6133 * tree-cfgcleanup.c: Ditto.
6134 * tree-chrec.c: Ditto.
6135 * tree-complex.c: Ditto.
6136 * tree-data-ref.c: Ditto.
6137 * tree-dfa.c: Ditto.
6139 * tree-emutls.c: Ditto.
6140 * tree-if-conv.c: Ditto.
6141 * tree-inline.c: Ditto.
6142 * tree-into-ssa.c: Ditto.
6143 * tree-loop-distribution.c: Ditto.
6144 * tree-nested.c: Ditto.
6145 * tree-nrv.c: Ditto.
6146 * tree-object-size.c: Ditto.
6147 * tree-outof-ssa.c: Ditto.
6148 * tree-parloops.c: Ditto.
6149 * tree-phinodes.c: Ditto.
6150 * tree-predcom.c: Ditto.
6151 * tree-pretty-print.c: Ditto.
6152 * tree-profile.c: Ditto.
6153 * tree-scalar-evolution.c: Ditto.
6154 * tree-sra.c: Ditto.
6155 * tree-ssa-address.c: Ditto.
6156 * tree-ssa-alias.c: Ditto.
6157 * tree-ssa-ccp.c: Ditto.
6158 * tree-ssa-coalesce.c: Ditto.
6159 * tree-ssa-copy.c: Ditto.
6160 * tree-ssa-copyrename.c: Ditto.
6161 * tree-ssa-dce.c: Ditto.
6162 * tree-ssa-dom.c: Ditto.
6163 * tree-ssa-dse.c: Ditto.
6164 * tree-ssa-forwprop.c: Ditto.
6165 * tree-ssa-ifcombine.c: Ditto.
6166 * tree-ssa-live.c: Ditto.
6167 * tree-ssa-loop-ch.c: Ditto.
6168 * tree-ssa-loop-im.c: Ditto.
6169 * tree-ssa-loop-ivcanon.c: Ditto.
6170 * tree-ssa-loop-ivopts.c: Ditto.
6171 * tree-ssa-loop-manip.c: Ditto.
6172 * tree-ssa-loop-niter.c: Ditto.
6173 * tree-ssa-loop-prefetch.c: Ditto.
6174 * tree-ssa-loop-unswitch.c: Ditto.
6175 * tree-ssa-loop.c: Ditto.
6176 * tree-ssa-math-opts.c: Ditto.
6177 * tree-ssa-operands.c: Ditto.
6178 * tree-ssa-phiopt.c: Ditto.
6179 * tree-ssa-phiprop.c: Ditto.
6180 * tree-ssa-pre.c: Ditto.
6181 * tree-ssa-propagate.c: Ditto.
6182 * tree-ssa-reassoc.c: Ditto.
6183 * tree-ssa-sccvn.c: Ditto.
6184 * tree-ssa-sink.c: Ditto.
6185 * tree-ssa-strlen.c: Ditto.
6186 * tree-ssa-structalias.c: Ditto.
6187 * tree-ssa-tail-merge.c: Ditto.
6188 * tree-ssa-ter.c: Ditto.
6189 * tree-ssa-threadedge.c: Ditto.
6190 * tree-ssa-threadupdate.c: Ditto.
6191 * tree-ssa-uncprop.c: Ditto.
6192 * tree-ssa-uninit.c: Ditto.
6193 * tree-ssa.c: Ditto.
6194 * tree-ssanames.c: Ditto.
6195 * tree-stdarg.c: Ditto.
6196 * tree-streamer-in.c: Ditto.
6197 * tree-streamer-out.c: Ditto.
6198 * tree-streamer.c: Ditto.
6199 * tree-switch-conversion.c: Ditto.
6200 * tree-tailcall.c: Ditto.
6201 * tree-vect-data-refs.c: Ditto.
6202 * tree-vect-generic.c: Ditto.
6203 * tree-vect-loop-manip.c: Ditto.
6204 * tree-vect-loop.c: Ditto.
6205 * tree-vect-patterns.c: Ditto.
6206 * tree-vect-slp.c: Ditto.
6207 * tree-vect-stmts.c: Ditto.
6208 * tree-vectorizer.c: Ditto.
6209 * tree-vrp.c: Ditto.
6213 * valtrack.c: Ditto.
6214 * valtrack.h: Ditto.
6215 * value-prof.c: Ditto.
6216 * var-tracking.c: Ditto.
6219 * vtable-verify.c: Ditto.
6221 * config/aarch64/aarch64-builtins.c: Ditto.
6222 * config/aarch64/aarch64.c: Ditto.
6223 * config/alpha/alpha.c: Ditto.
6224 * config/arc/arc.c: Ditto.
6225 * config/arm/arm.c: Ditto.
6226 * config/avr/avr.c: Ditto.
6227 * config/bfin/bfin.c: Ditto.
6228 * config/c6x/c6x.c: Ditto.
6229 * config/cr16/cr16.c: Ditto.
6230 * config/cris/cris.c: Ditto.
6231 * config/darwin-c.c: Ditto.
6232 * config/darwin.c: Ditto.
6233 * config/epiphany/epiphany.c: Ditto.
6234 * config/epiphany/mode-switch-use.c: Ditto.
6235 * config/epiphany/resolve-sw-modes.c: Ditto.
6236 * config/fr30/fr30.c: Ditto.
6237 * config/frv/frv.c: Ditto.
6238 * config/h8300/h8300.c: Ditto.
6239 * config/i386/i386.c: Ditto.
6240 * config/i386/winnt.c: Ditto.
6241 * config/ia64/ia64.c: Ditto.
6242 * config/iq2000/iq2000.c: Ditto.
6243 * config/lm32/lm32.c: Ditto.
6244 * config/m32c/m32c.c: Ditto.
6245 * config/m32r/m32r.c: Ditto.
6246 * config/m68k/m68k.c: Ditto.
6247 * config/mcore/mcore.c: Ditto.
6248 * config/mep/mep.c: Ditto.
6249 * config/microblaze/microblaze.c: Ditto.
6250 * config/mips/mips.c: Ditto.
6251 * config/mmix/mmix.c: Ditto.
6252 * config/mn10300/mn10300.c: Ditto.
6253 * config/moxie/moxie.c: Ditto.
6254 * config/msp430/msp430.c: Ditto.
6255 * config/nds32/nds32-cost.c: Ditto.
6256 * config/nds32/nds32-fp-as-gp.c: Ditto.
6257 * config/nds32/nds32-intrinsic.c: Ditto.
6258 * config/nds32/nds32-isr.c: Ditto.
6259 * config/nds32/nds32-md-auxiliary.c: Ditto.
6260 * config/nds32/nds32-memory-manipulation.c: Ditto.
6261 * config/nds32/nds32-pipelines-auxiliary.c: Ditto.
6262 * config/nds32/nds32-predicates.c: Ditto.
6263 * config/nds32/nds32.c: Ditto.
6264 * config/nios2/nios2.c: Ditto.
6265 * config/pa/pa.c: Ditto.
6266 * config/pdp11/pdp11.c: Ditto.
6267 * config/rl78/rl78.c: Ditto.
6268 * config/rs6000/rs6000.c: Ditto.
6269 * config/rx/rx.c: Ditto.
6270 * config/s390/s390.c: Ditto.
6271 * config/sh/sh-mem.cc: Ditto.
6272 * config/sh/sh.c: Ditto.
6273 * config/sh/sh_optimize_sett_clrt.cc: Ditto.
6274 * config/sh/sh_treg_combine.cc: Ditto.
6275 * config/sparc/sparc.c: Ditto.
6276 * config/spu/spu.c: Ditto.
6277 * config/stormy16/stormy16.c: Ditto.
6278 * config/tilegx/tilegx.c: Ditto.
6279 * config/tilepro/tilepro.c: Ditto.
6280 * config/v850/v850.c: Ditto.
6281 * config/vax/vax.c: Ditto.
6282 * config/xtensa/xtensa.c: Ditto.
6284 2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
6286 * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Comment out.
6287 * config/aarch64/aarch64-builtins.c (aarch64_gimple_fold_builtin):
6288 Remove using preprocessor directives.
6290 2014-10-27 Richard Biener <rguenther@suse.de>
6292 * match.pd (0 % X): Properly use the iterator iterating over
6293 all modulo operators.
6296 2014-10-27 Richard Biener <rguenther@suse.de>
6298 * tree-ssa-forwprop.c: Include tree-cfgcleanup.h and tree-into-ssa.h.
6299 (lattice): New global.
6300 (fwprop_ssa_val): New function.
6301 (fold_all_stmts): Likewise.
6302 (pass_forwprop::execute): Finally fold all stmts.
6304 2014-10-26 Manuel López-Ibáñez <manu@gcc.gnu.org>
6307 * doc/invoke.texi (fmessage-length): Update text to match reality.
6309 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6311 * config/microblaze/microblaze.c: Include rtl-iter.h.
6312 (microblaze_tls_referenced_p_1): Delete.
6313 (microblaze_tls_referenced_p): Use FOR_EACH_SUBRTX.
6315 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6317 * config/mips/mips.c (mips_at_reg_p): Delete.
6318 (mips_need_noat_wrapper_p): Use FOR_EACH_SUBRTX.
6320 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6322 * config/mips/mips.c (mips_record_lo_sum): Replace with...
6323 (mips_record_lo_sums): ...this new function.
6324 (mips_reorg_process_insns): Update accordingly.
6326 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6328 * config/mips/mips.c (mips_sim_insn): Update comment.
6329 (mips_sim_wait_regs_2): Delete.
6330 (mips_sim_wait_regs_1): Use FOR_EACH_SUBRTX_VAR.
6332 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6334 * config/mips/mips.c (r10k_needs_protection_p_call): Take a const_rtx
6335 and return a bool. Iterate over all subrtxes here.
6336 (r10k_needs_protection_p): Update accordingly.
6338 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6340 * config/mips/mips.c (r10k_needs_protection_p_1): Take an rtx
6341 rather than an rtx pointer. Change type of insn from "void *"
6342 to its real type. Return bool rather than int. Iterate over
6344 (r10k_needs_protection_p_store): Update accordingly.
6345 (r10k_needs_protection_p): Likewise.
6347 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6349 * config/mips/mips.c (mips16_rewrite_pool_refs_info): Delete.
6350 (mips16_rewrite_pool_refs): Take the insn and constant pool as
6351 parameters. Iterate over the instruction's pattern and return void.
6352 (mips16_lay_out_constants): Update accordingly.
6354 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6356 * config/mips/mips.c (mips_kernel_reg_p): Replace with...
6357 (mips_refers_to_kernel_reg_p): ...this new function.
6358 (mips_expand_prologue): Update accordingly.
6360 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6362 * config/mips/mips.c (mips_rewrite_small_data_1): Take the context
6363 as a parameter instead of the containing MEM. Iterate over all
6364 subrtxes. Don't return a value.
6365 (mips_rewrite_small_data): Update call accordingly.
6367 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6369 * config/mips/mips.c: Include rtl-iter.h.
6370 (mips_small_data_pattern_1): Take an rtx rather than an rtx pointer.
6371 Take the context as a parameter instead of the containing MEM.
6372 Iterate over all subrtxes.
6373 (mips_small_data_pattern_p): Update call accordingly.
6375 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6377 * config/mep/mep.c (mep_mul_hilo_bypass_1): Delete.
6378 (mep_mul_hilo_bypass_p): Use FOR_EACH_SUBRTX.
6380 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6382 * config/mep/mep.c (mep_store_find_set): Take a const_rtx and
6383 return a bool. Replace "void *" with specific type. Iterate
6385 (mep_store_data_bypass_1): Update calls accordingly.
6387 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6389 * config/mep/mep.c: Include rtl-iter.h.
6390 (global_reg_mentioned_p_1): Take a const_rtx and return a bool.
6391 (xtensa_tls_referenced_p): Return a bool. Use FOR_EACH_SUBRTX.
6393 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6395 * config/xtensa/xtensa.c: Include rtl-iter.h.
6396 (xtensa_tls_referenced_p_1): Delete.
6397 (xtensa_tls_referenced_p): Use FOR_EACH_SUBRTX.
6399 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6401 * config/sh/sh.c (sh_contains_memref_p_1): Delete.
6402 (sh_contains_memref_p): Use FOR_EACH_SUBRTX.
6404 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6406 * config/sh/sh-protos.h (shmedia_cleanup_truncate): Take an
6407 rtx as argument and return the number of changes.
6408 * config/sh/sh.c: Include rtl-iter.h.
6409 (shmedia_cleanup_truncate): Take an rtx as argument and iterate
6410 over all subrtxes. Return the number of changes made.
6411 * config/sh/sh.md: Update caller accordingly.
6413 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6415 * config/m68k/m68k.c (m68k_tls_reference_p_1): Delete.
6416 (m68k_tls_reference_p): Use FOR_EACH_SUBRTX_VAR.
6418 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
6420 * config/m68k/m68k.c: Include rtl-iter.h.
6421 (m68k_final_prescan_insn_1): Delete.
6422 (m68k_final_prescan_insn): Use FOR_EACH_SUBRTX_VAR.
6424 2014-10-25 Jakub Jelinek <jakub@redhat.com>
6426 PR tree-optimization/63641
6427 * tree-ssa-reassoc.c (optimize_range_tests_to_bit_test): Set high
6428 to low + prec - 1 - clz (mask) instead of low + prec - clz (mask).
6430 2014-10-25 Alan Modra <amodra@gmail.com>
6432 PR rtl-optimization/63615
6433 * simplify-rtx.c (simplify_plus_minus): Set "canonicalized" on
6434 decomposing PLUS or MINUS if operands are not placed adjacent
6437 2014-10-25 Joseph Myers <joseph@codesourcery.com>
6439 * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Do
6440 not allow e500 double in registers not satisyfing
6443 2014-10-24 Aldy Hernandez <aldyh@redhat.com>
6445 * dwarf2out.c (declare_in_namespace): Only emit external
6446 declarations in the local scope once.
6448 2014-10-24 Jonathan Wakely <jwakely@redhat.com>
6450 * ginclude/stdbool.h: Do not define bool, true or false in C++11.
6452 2014-10-24 Charles Baylis <charles.baylis@linaro.org>
6454 * config/aarch64/arm_neon.h (__LD2_LANE_FUNC): Rewrite using builtins,
6455 update uses to use new macro arguments.
6456 (__LD3_LANE_FUNC): Likewise.
6457 (__LD4_LANE_FUNC): Likewise.
6459 2014-10-24 Charles Baylis <charles.baylis@linaro.org>
6461 * config/aarch64/aarch64-builtins.c
6462 (aarch64_types_loadstruct_lane_qualifiers): Define.
6463 * config/aarch64/aarch64-simd-builtins.def (ld2_lane, ld3_lane,
6464 ld4_lane): New builtins.
6465 * config/aarch64/aarch64-simd.md (aarch64_vec_load_lanesoi_lane<mode>):
6467 (aarch64_vec_load_lanesci_lane<mode>): Likewise.
6468 (aarch64_vec_load_lanesxi_lane<mode>): Likewise.
6469 (aarch64_ld2_lane<mode>): New expand.
6470 (aarch64_ld3_lane<mode>): Likewise.
6471 (aarch64_ld4_lane<mode>): Likewise.
6472 * config/aarch64/aarch64.md (define_c_enum "unspec"): Add
6473 UNSPEC_LD2_LANE, UNSPEC_LD3_LANE, UNSPEC_LD4_LANE.
6475 2014-10-24 Georg-Johann Lay <avr@gjlay.de>
6477 * avr-protos.h (avr_out_sign_extend): New.
6478 * avr.c (avr_adjust_insn_length) [ADJUST_LEN_SEXT]: Handle.
6479 (avr_out_sign_extend): New function.
6480 * avr.md (extendqihi2, extendqipsi2, extendqisi2, extendhipsi2)
6481 (extendhisi2, extendpsisi2): Use it.
6482 (adjust_len) [sext]: New.
6484 2014-10-24 Martin Liska <mliska@suse.cz>
6486 * ipa-icf.c (sem_function::compare_phi_node): PHI result comparison
6489 2014-10-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
6491 * config/aarch64/aarch64-elf-raw.h (CA53_ERR_835769_SPEC): Define.
6492 (LINK_SPEC): Include CA53_ERR_835769_SPEC.
6493 * config/aarch64/aarch64-linux.h (CA53_ERR_835769_SPEC): Define.
6494 (LINK_SPEC): Include CA53_ERR_835769_SPEC.
6496 2014-10-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
6498 * config/aarch64/aarch64.h (ADJUST_INSN_LENGTH): Wrap definition in
6500 * config/aarch64/aarch64.c (is_mem_p): Delete.
6501 (is_memory_op): Rename to...
6502 (has_memory_op): ... This. Use FOR_EACH_SUBRTX.
6503 (dep_between_memop_and_curr): Assert that the input is a SET.
6504 (aarch64_madd_needs_nop): Add comment. Do not call
6505 dep_between_memop_and_curr on NULL body.
6506 (aarch64_final_prescan_insn): Add comment.
6509 2014-10-24 Richard Biener <rguenther@suse.de>
6511 * Makefile.in (BUILD_CPPLIB): Move $(LIBINTL) $(LIBICONV)
6512 to genmatch BUILD_LIBS instead.
6514 2014-10-24 Richard Biener <rguenther@suse.de>
6516 * genmatch.c (expr::gen_transform): Use fold_buildN_loc
6517 and build_call_expr_loc.
6518 (dt_simplify::gen): Drop non_lvalue for GIMPLE, use
6519 non_lvalue_loc to build it for GENERIC.
6520 (decision_tree::gen_generic): Add location argument to
6521 generic_simplify prototype.
6522 (capture_info): New class.
6523 (capture_info::capture_info): New constructor.
6524 (capture_info::walk_match): New method.
6525 (capture_info::walk_result): New method.
6526 (capture_info::walk_c_expr): New method.
6527 (dt_simplify::gen): Handle preserving side-effects for
6528 GENERIC code generation.
6529 (decision_tree::gen_generic): Do not reject operands
6530 with TREE_SIDE_EFFECTS.
6531 * generic-match.h: New file.
6532 * generic-match-head.c: Include generic-match.h, not gimple-match.h.
6533 * match.pd: Add some constant folding patterns from fold-const.c.
6534 * fold-const.c: Include generic-match.h.
6535 (fold_unary_loc): Dispatch to generic_simplify.
6536 (fold_ternary_loc): Likewise.
6537 (fold_binary_loc): Likewise. Remove patterns now implemented
6538 by generic_simplify.
6539 * gimple-fold.c (replace_stmt_with_simplification): New function.
6540 (fold_stmt_1): Add valueize parameter, dispatch to gimple_simplify.
6541 (no_follow_ssa_edges): New function.
6542 (fold_stmt): New overload with valueization hook. Use
6543 no_follow_ssa_edges for the overload without hook.
6544 (fold_stmt_inplace): Likewise.
6545 * gimple-fold.h (no_follow_ssa_edges): Declare.
6547 2014-10-24 Felix Yang <felix.yang@huawei.com>
6548 Jiji Jiang <jiangjiji@huawei.com>
6551 * config/aarch64/arm_neon.h (__LD2R_FUNC): Remove macro.
6552 (__LD3R_FUNC): Ditto.
6553 (__LD4R_FUNC): Ditto.
6554 (vld2_dup_s8, vld2_dup_s16, vld2_dup_s32, vld2_dup_f32, vld2_dup_f64,
6555 vld2_dup_u8, vld2_dup_u16, vld2_dup_u32, vld2_dup_p8, vld2_dup_p16
6556 vld2_dup_s64, vld2_dup_u64, vld2q_dup_s8, vld2q_dup_p8,
6557 vld2q_dup_s16, vld2q_dup_p16, vld2q_dup_s32, vld2q_dup_s64,
6558 vld2q_dup_u8, vld2q_dup_u16, vld2q_dup_u32, vld2q_dup_u64
6559 vld2q_dup_f32, vld2q_dup_f64): Rewrite using builtin functions.
6560 (vld3_dup_s64, vld3_dup_u64, vld3_dup_f64, vld3_dup_s8
6561 vld3_dup_p8, vld3_dup_s16, vld3_dup_p16, vld3_dup_s32
6562 vld3_dup_u8, vld3_dup_u16, vld3_dup_u32, vld3_dup_f32
6563 vld3q_dup_s8, vld3q_dup_p8, vld3q_dup_s16, vld3q_dup_p16
6564 vld3q_dup_s32, vld3q_dup_s64, vld3q_dup_u8, vld3q_dup_u16
6565 vld3q_dup_u32, vld3q_dup_u64, vld3q_dup_f32, vld3q_dup_f64): Likewise.
6566 (vld4_dup_s64, vld4_dup_u64, vld4_dup_f64, vld4_dup_s8
6567 vld4_dup_p8, vld4_dup_s16, vld4_dup_p16, vld4_dup_s32
6568 vld4_dup_u8, vld4_dup_u16, vld4_dup_u32, vld4_dup_f32
6569 vld4q_dup_s8, vld4q_dup_p8, vld4q_dup_s16, vld4q_dup_p16
6570 vld4q_dup_s32, vld4q_dup_s64, vld4q_dup_u8, vld4q_dup_u16
6571 vld4q_dup_u32, vld4q_dup_u64, vld4q_dup_f32, vld4q_dup_f64): Likewise.
6572 * config/aarch64/aarch64.md (define_c_enum "unspec"): Add
6573 UNSPEC_LD2_DUP, UNSPEC_LD3_DUP, UNSPEC_LD4_DUP.
6574 * config/aarch64/aarch64-simd-builtins.def (ld2r, ld3r, ld4r): New
6576 * config/aarch64/aarch64-simd.md (aarch64_simd_ld2r<mode>): New pattern.
6577 (aarch64_simd_ld3r<mode>): Likewise.
6578 (aarch64_simd_ld4r<mode>): Likewise.
6579 (aarch64_ld2r<mode>): New expand.
6580 (aarch64_ld3r<mode>): Likewise.
6581 (aarch64_ld4r<mode>): Likewise.
6583 2014-10-24 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6585 * rtlanal.c (get_base_term): Handle SCRATCH.
6587 2014-10-24 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6589 * haifa-sched.c (sched_init): Disable max_issue when scheduling for
6592 2014-10-24 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6594 * haifa-sched.c (cached_first_cycle_multipass_dfa_lookahead,)
6595 (cached_issue_rate): Remove. Use dfa_lookahead and issue_rate instead.
6596 (max_issue, choose_ready, sched_init): Update.
6598 2014-10-24 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6600 * sched-int.h (struct _haifa_insn_data:last_rfs_win): New field.
6601 * haifa-sched.c (INSN_LAST_RFS_WIN): New access macro.
6602 (rfs_result): Set INSN_LAST_RFS_WIN. Update signature.
6603 (rank_for_schedule): Update calls to rfs_result to pass new parameters.
6604 (print_rank_for_schedule_stats): Print out elements of ready list that
6605 ended up on their respective places due to each of the sorting
6607 (ready_sort): Update.
6608 (debug_ready_list_1): Improve printout for SCHED_PRESSURE_MODEL.
6609 (schedule_block): Update.
6611 2014-10-24 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6613 * haifa-sched.c (sched_class_regs_num, call_used_regs_num): New static
6614 arrays. Use sched_class_regs_num instead of ira_class_hard_regs_num.
6615 (print_curr_reg_pressure, setup_insn_reg_pressure_info,)
6616 (model_update_pressure, model_spill_cost): Use sched_class_regs_num.
6617 (model_start_schedule): Update.
6618 (sched_pressure_start_bb): New static function. Calculate
6619 sched_class_regs_num.
6620 (schedule_block): Use it.
6621 (alloc_global_sched_pressure_data): Calculate call_used_regs_num.
6623 2014-10-24 Richard Biener <rguenther@suse.de>
6625 * Makefile.in (BUILD_CPPLIB): When in stage2+ use the
6626 host library and make sure to pull in the required libintl
6627 and libiconv dependencies.
6629 2014-10-24 Richard Biener <rguenther@suse.de>
6631 * fold-const.c (fold_binary_loc): Fix copy-and-pasto.
6633 2014-10-24 Markus Trippelsdorf <markus@trippelsdorf.de>
6636 * collect2.c (main): Filter out -fno-lto.
6638 2014-10-24 Martin Liska <mliska@suse.cz>
6640 * ipa-icf.c (sem_item_optimizer::parse_nonsingleton_classes): Guard
6641 division by zero in dumps.
6642 (sem_item_optimizer::merge_classes): Ditto.
6644 2014-10-23 John David Anglin <danglin@gcc.gnu.org>
6646 * config/pa/pa.c (pa_can_combine_p): Fix typo in last change.
6648 2014-10-23 Ian Lance Taylor <iant@google.com>
6650 * tree-vrp.c (extract_range_from_assert): Fix typo in comment.
6652 2014-10-23 Ian Lance Taylor <iant@google.com>
6654 * config/mep/mep.h (TARGET_HAS_F_SETLKW): Don't undefine.
6656 2014-10-23 Jakub Jelinek <jakub@redhat.com>
6659 * var-tracking.c (stack_adjust_offset_pre_post_cb): New function.
6660 (stack_adjust_offset_pre_post): Use it through for_each_inc_dec,
6661 instead of only handling autoinc in dest if it is a MEM.
6662 (vt_stack_adjustments): Fix up formatting.
6664 2014-10-23 DJ Delorie <dj@redhat.com>
6666 * config/msp430/msp430.c (msp430_print_operand): 'x' modifier is
6667 independend of -mlarge.
6668 * config/msp430/constraints.md (Ys): Update comment.
6670 2014-10-23 Evgeny Stupachenko <evstupac@gmail.com>
6674 * cse.c (delete_trivially_dead_insns): Consider PIC register is used
6676 * dse.c (deletable_insn_p): Likewise.
6678 2014-10-23 Georg-Johann Lay <avr@gjlay.de>
6680 * config/avr/avr.c: Fix GNU coding rules and typos.
6681 * config/avr/avr.h: Dito.
6682 * config/avr/avr-c.c: Dito.
6683 * config/avr/avr.md: Dito.
6685 2014-10-23 Kirill Yukhin <kirill.yukhin@intel.com>
6687 * config/i386/sse.md (define_mode_iterator VI1248_AVX512VL_AVX512BW):
6689 (define_insn "*abs<mode>2"): Use VI1248_AVX512VL_AVX512BW mode
6691 (define_expand "abs<mode>2"): Ditto.
6693 2014-10-23 Kirill Yukhin <kirill.yukhin@intel.com>
6695 * tree-core.h (tree_var_decl): Extend `function_code' field
6696 by one bit, move `regdecl_flag' field to ...
6697 (tree_decl_with_vis): Here.
6698 * tree.h (DECL_STATIC_CHAIN): Update struct name.
6700 2014-10-23 Richard Biener <rguenther@suse.de>
6702 * Makefile.in (BUILD_CPPLIB): Add.
6703 (build/genmatch$(build_exeext)): Use BUILD_CPPLIB, not CPPLIB.
6706 2014-10-23 Richard Biener <rguenther@suse.de>
6708 * fold-const.c (fold_binary_loc): Preserve side-effects of
6709 X - X when simplifying to 0.
6710 * stor-layout.c (finish_bitfield_representative): Strip
6711 side-effects of evaluating the difference of two DECL_FIELD_OFFSET.
6713 2014-10-22 Richard Biener <rguenther@suse.de>
6714 Tobias Burnus <burnus@net-b.de>
6717 * gcc.c (LINK_COMMAND_SPEC): Add %{fno-lto}.
6719 2014-10-22 Dehao Chen <dehao@google.com>
6721 * auto-profile.c: Change order of header files.
6723 2014-10-22 Guozhi Wei <carrot@google.com>
6725 PR tree-optimization/63530
6726 tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Set
6727 pointer alignment according to DR_MISALIGNMENT.
6729 2014-10-22 David Malcolm <dmalcolm@redhat.com>
6731 * ipa-icf.c (ipa_icf_driver): Set optimizer to NULL when done.
6733 2014-10-22 Andrew MacLeod <amacleod@redhat.com>
6735 * cfgbuild.h: New. Add prototypes for cfgbuild.c.
6736 * cfgcleanup.h: New. Add prototypes for cfgcleanup.c.
6737 * cfgloopmanip.h: New. Add prototypes for cfgloopmanip.c.
6738 * dominance.h: New. Add prototypes for dominance.c.
6739 * cfgloop.h: Move some prototypes/enum to cfgloopmanip.h and include it.
6740 * cfghooks.h: (struct profile_record) Relocate here.
6741 Relocate 2 prototypes from basic-block.h.
6742 * basic-block.h: Move prototypes and struct to new header files.
6743 Include cfgbuild.h, cfgcleanup.h, and dominance.h.
6744 * rtl.h: Move a few prototypes to new header files.
6745 * cfgcleanup.c (merge_memattrs): Make static.
6746 * genopinit.c (main): Add predict.h to list of includes.
6747 * predict.h: Update prototype list to match predict.c.
6748 * predict.c (maybe_hot_count_p): Export.
6749 (cgraph_edge::maybe_hot_p): Move to cgraph.c.
6750 (cgraph_node::optimize_for_size_p): Move to cgraph.h.
6751 * cgraph.h (cgraph_node::optimize_for_size_p): Relocate here.
6752 * cgraph.c (cgraph_edge::maybe_hot_p): Relocate here.
6753 * profile.h: Adjust prototypes.
6754 * ifcvt.h: New. Relocate struct ce_if_block here.
6755 * ifcvt.c: Include ifcvt.h.
6756 * config/frv/frv.c: Include ifcvt.h.
6757 * config/frv/frv-protos.h: Add 'struct' to ce_if_block * parameters.
6759 2014-10-22 Richard Sandiford <richard.sandiford@arm.com>
6761 * lra.c (lra): Remove call to recog_init.
6762 * config/i386/i386.md (preferred_for_speed): New attribute
6763 (*float<SWI48:mode><MODEF:mode>2_sse): Override it instead of
6764 "enabled". Remove check for sched1.
6766 2014-10-22 Richard Sandiford <richard.sandiford@arm.com>
6768 * recog.h (recog_data_d): Remove enabled_alternatives.
6769 * recog.c (extract_insn): Don't set it.
6770 * reload.c (find_reloads): Call get_enabled_alternatives.
6772 2014-10-22 Richard Sandiford <richard.sandiford@arm.com>
6774 * recog.h (constrain_operands): Add an alternative_mask parameter.
6775 (constrain_operands_cached): Likewise.
6776 (get_preferred_alternatives): Declare new form.
6777 * recog.c (get_preferred_alternatives): New bb-taking instance.
6778 (constrain_operands): Take the set of available alternatives as
6780 (check_asm_operands, insn_invalid_p, extract_constrain_insn)
6781 (extract_constrain_insn_cached): Update calls to constrain_operands.
6782 * caller-save.c (reg_save_code): Likewise.
6783 * ira.c (setup_prohibited_mode_move_regs): Likewise.
6784 * postreload-gcse.c (eliminate_partially_redundant_load): Likewise.
6785 * ree.c (combine_reaching_defs): Likewise.
6786 * reload.c (can_reload_into): Likewise.
6787 * reload1.c (reload, reload_as_needed, inc_for_reload): Likewise.
6788 (gen_reload_chain_without_interm_reg_p, emit_input_reload_insns)
6789 (emit_insn_if_valid_for_reload): Likewise.
6790 * reorg.c (fill_slots_from_thread): Likewise.
6791 * config/i386/i386.c (ix86_attr_length_address_default): Likewise.
6792 * config/pa/pa.c (pa_can_combine_p): Likewise.
6793 * config/rl78/rl78.c (insn_ok_now): Likewise.
6794 * config/sh/sh.md (define_peephole2): Likewise.
6795 * final.c (final_scan_insn): Update call to constrain_operands_cached.
6797 2014-10-22 Richard Sandiford <richard.sandiford@arm.com>
6799 * doc/md.texi: Document "preferred_for_size" and "preferred_for_speed"
6801 * genattr.c (main): Handle "preferred_for_size" and
6802 "preferred_for_speed" in the same way as "enabled".
6803 * recog.h (bool_attr): New enum.
6804 (target_recog): Replace x_enabled_alternatives with x_bool_attr_masks.
6805 (get_preferred_alternatives, check_bool_attrs): Declare.
6806 * recog.c (have_bool_attr, get_bool_attr, get_bool_attr_mask_uncached)
6807 (get_bool_attr_mask, get_preferred_alternatives, check_bool_attrs):
6809 (get_enabled_alternatives): Use get_bool_attr_mask.
6810 * ira-costs.c (record_reg_classes): Use get_preferred_alternatives
6811 instead of recog_data.enabled_alternatives.
6812 * ira.c (ira_setup_alts): Likewise.
6813 * postreload.c (reload_cse_simplify_operands): Likewise.
6814 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
6815 * ira-lives.c (preferred_alternatives): New variable.
6816 (process_bb_node_lives): Set it.
6817 (check_and_make_def_conflict, make_early_clobber_and_input_conflicts)
6818 (single_reg_class, ira_implicitly_set_insn_hard_regs): Use it instead
6819 of recog_data.enabled_alternatives.
6820 * lra-int.h (lra_insn_recog_data): Replace enabled_alternatives
6821 to preferred_alternatives.
6822 * lra-constraints.c (process_alt_operands): Update accordingly.
6823 * lra.c (lra_set_insn_recog_data): Likewise.
6824 (lra_update_insn_recog_data): Assert check_bool_attrs.
6826 2014-10-22 Richard Sandiford <richard.sandiford@arm.com>
6828 * recog.h (extract_constrain_insn): Declare.
6829 * recog.c (extract_constrain_insn): New function.
6830 * lra.c (check_rtl): Use it.
6831 * postreload.c (reload_cse_simplify_operands): Likewise.
6832 * reg-stack.c (check_asm_stack_operands): Likewise.
6833 (subst_asm_stack_regs): Likewise.
6834 * regcprop.c (copyprop_hardreg_forward_1): Likewise.
6835 * regrename.c (build_def_use): Likewise.
6836 * sel-sched.c (get_reg_class): Likewise.
6837 * config/arm/arm.c (note_invalid_constants): Likewise.
6838 * config/s390/predicates.md (execute_operation): Likewise.
6840 2014-10-22 Jakub Jelinek <jakub@redhat.com>
6841 Yury Gribov <y.gribov@samsung.com>
6843 * common.opt (flag_sanitize_recover): New variable.
6844 (fsanitize-recover): Remove Var/Init, deprecate.
6845 (fsanitize-recover=): New option.
6846 * doc/invoke.texi (fsanitize-recover): Update docs.
6847 * opts.c (finish_options): Use opts->x_flag_sanitize
6848 instead of flag_sanitize. Prohibit -fsanitize-recover
6849 for anything besides UBSan. Formatting.
6850 (common_handle_option): Handle OPT_fsanitize_recover_
6851 and OPT_fsanitize_recover. Use opts->x_flag_sanitize
6852 instead of flag_sanitize.
6853 * asan.c (pass_sanopt::execute): Fix up formatting.
6854 * ubsan.c (ubsan_expand_bounds_ifn, ubsan_expand_null_ifn,
6855 ubsan_expand_objsize_ifn, ubsan_build_overflow_builtin,
6856 instrument_bool_enum_load, ubsan_instrument_float_cast,
6857 instrument_nonnull_arg, instrument_nonnull_return): Check
6858 bits in flag_sanitize_recover bitmask instead of
6859 flag_sanitize_recover as bool flag.
6861 2014-10-22 Jiong Wang <jiong.wang@arm.com>
6863 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Add missing '\'.
6865 2014-10-22 Renlin Li <renlin.li@arm.com>
6867 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define
6868 __ARM_FEATURE_IDIV__.
6870 2014-10-22 Richard Biener <rguenther@suse.de>
6872 * Makefile.in (s-match): Adjust dependencies to only catch
6875 2014-10-22 Richard Biener <rguenther@suse.de>
6876 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
6878 * Makefile.in (OBJS): Add gimple-match.o and generic-match.o.
6879 (MOSTLYCLEANFILES): Add gimple-match.c and generic-match.c.
6880 (gimple-match.c): Generate by triggering s-match.
6881 (generic-match.c): Likewise.
6882 (s-match): Rule to build gimple-match.c and generic-match.c
6883 by running the genmatch generator program.
6884 (build/hash-table.o): Dependencies to build hash-table.c for the host.
6885 (build/genmatch.o): Dependencies to build genmatch.
6886 (genprog): Add match.
6887 (build/genmatch): Likewise.
6888 (TEXI_GCCINT_FILES): Add match-and-simplify.texi.
6889 * generic-match-head.c: New file.
6890 * gimple-match-head.c: Likewise.
6891 * gimple-match.h: Likewise.
6892 * genmatch.c: Likewise.
6893 * match.pd: Likewise.
6894 * builtins.h (fold_builtin_n): Export.
6895 * builtins.c (fold_builtin_n): Likewise.
6896 * gimple-fold.h (gimple_build): Declare various overloads.
6897 (gimple_simplify): Likewise.
6898 (gimple_convert): Re-implement in terms of gimple_build.
6899 * gimple-fold.c (gimple_convert): Remove.
6900 (gimple_build): New functions.
6901 * doc/match-and-simplify.texi: New file.
6902 * doc/gccint.texi: Add menu item Match and Simplify and include
6903 match-and-simplify.texi.
6905 2014-10-22 Jakub Jelinek <jakub@redhat.com>
6908 * config/i386/i386.c (ix86_expand_vector_init_duplicate): For
6909 V{8HI,16QI,16HI,32QI}mode call ix86_vector_duplicate_value
6910 even for just TARGET_AVX2, not only for
6911 TARGET_AVX512VL && TARGET_AVX512BW. For V{32HI,64QI}mode,
6912 call ix86_vector_duplicate_value only if TARGET_AVX512BW,
6913 otherwise build it using concatenation of 256-bit
6915 * config/i386/sse.md (AVX_VEC_DUP_MODE): Moved after
6916 avx512 broadcast patterns.
6917 (vec_dup<mode>): Likewise. For avx2 use
6918 v<sseintprefix>broadcast<bcstscalarsuff> instead of
6919 vbroadcast<ssescalarmodesuffix>.
6920 (AVX2_VEC_DUP_MODE): New mode iterator.
6921 (*vec_dup<mode>): New TARGET_AVX2 define_insn with
6922 AVX2_VEC_DUP_MODE iterator, add a splitter for that.
6925 * config/i386/i386.c (ix86_pic_register_p): Also return
6926 true if x is a hard register with ORIGINAL_REGNO equal to
6927 pic_offset_table_rtx pseudo REGNO.
6928 (ix86_delegitimize_address): For ix86_use_pseudo_pic_reg ()
6929 after reload, subtract GOT_SYMBOL_NAME symbol if possible.
6931 2014-10-22 Alan Modra <amodra@gmail.com>
6933 * gengtype.h (obstack_chunk_alloc, obstack_chunk_free): Remove cast.
6934 * coretypes.h (obstack_chunk_alloc, obstack_chunk_free): Likewise.
6935 (gcc_obstack_init): Use obstack_specify_allocation in place of
6937 * genautomata.c (next_sep_el): Cast result of obstack_base to (char *).
6938 (regexp_representation): Likewise.
6939 * godump.c (go_output_type): Likewise.
6941 2014-10-21 John David Anglin <danglin@gcc.gnu.org>
6943 * config.gcc: Remove MASK_JUMP_IN_DELAY from target_cpu_default2.
6944 * config/pa/pa.h (TARGET_DEFAULT): Remove MASK_JUMP_IN_DELAY.
6945 * config/pa/pa.opt (mjump-in-delay): Ignore option. Update comment.
6947 2014-10-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
6949 * doc/invoke.texi (pedantic-errors): Explain better.
6951 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
6952 Vidya Praveen <vidya.praveen@atmel.com>
6953 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6954 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6955 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
6957 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Don't define
6959 * config/avr/avr.c (avr_insert_attributes): Reject __memx for avrtiny.
6960 (avr_nonconst_pointer_addrspace): Likewise.
6961 * config/avr/avr.h (AVR_HAVE_LPM): Define.
6963 Added AVRTINY architecture to avr target.
6964 * config/avr/avr-arch.h (avr_arch): Added AVRTINY architecture.
6965 (base_arch_s): member added for AVRTINY architecture.
6966 * config/avr/avr.c: Added TINY_ADIW, TINY_SBIW macros as AVRTINY
6967 alternate for adiw/sbiw instructions. Added AVR_TMP_REGNO and
6968 AVR_ZERO_REGNO macros for tmp and zero registers. Replaced TMP_REGNO
6969 and ZERO_REGNO occurrences by AVR_TMP_REGNO and AVR_ZERO_REGNO
6970 respectively. LAST_CALLEE_SAVED_REG macro added for the last register
6971 in callee saved register list.
6972 (avr_option_override): CCP address updated for AVRTINY.
6973 (avr_init_expanders): tmp and zero rtx initialized as per arch.
6974 Reset avr_have_dimode if AVRTINY.
6975 (sequent_regs_live): Use LAST_CALLEE_SAVED_REG instead magic number.
6976 (emit_push_sfr): Use AVR_TMP_REGNO for tmp register number.
6977 (avr_prologue_setup_frame): Don't minimize prologue if AVRTINY.
6978 Use LAST_CALLEE_SAVED_REG to refer last callee saved register.
6979 (expand_epilogue): Likewise.
6980 (avr_print_operand): Print CCP address in case of AVRTINY also.
6982 (function_arg_regno_p): Check different register list for arguments
6984 (init_cumulative_args): Check for AVRTINY to update number of argument
6986 (tiny_valid_direct_memory_access_range): New function. Return false if
6987 direct memory access range is not in accepted range for AVRTINY.
6988 (avr_out_movqi_r_mr_reg_disp_tiny): New function to handle register
6989 indirect load (with displacement) for AVRTINY.
6990 (out_movqi_r_mr): Updated instruction length for AVRTINY. Call
6991 avr_out_movqi_r_mr_reg_disp_tiny for load from reg+displacement.
6992 (avr_out_movhi_r_mr_reg_no_disp_tiny): New function to handle register
6993 indirect load (no displacement) for AVRTINY.
6994 (avr_out_movhi_r_mr_reg_disp_tiny): New function to handle register
6995 indirect load (with displacement) for AVRTINY.
6996 (avr_out_movhi_r_mr_pre_dec_tiny): New function to handle register
6997 indirect load for pre-decrement address.
6998 (out_movhi_r_mr): In case of AVRTINY, call tiny register indirect load
6999 functions. Update instruction length for AVRTINY.
7000 (avr_out_movsi_r_mr_reg_no_disp_tiny): New function. Likewise, for
7002 (avr_out_movsi_r_mr_reg_disp_tiny): New function. Likewise, for SImode.
7003 (out_movsi_r_mr): Likewise, for SImode.
7004 (avr_out_movsi_mr_r_reg_no_disp_tiny): New function to handle register
7005 indirect store (no displacement) for AVRTINY.
7006 (avr_out_movsi_mr_r_reg_disp_tiny): New function to handle register
7007 indirect store (with displacement) for AVRTINY.
7008 (out_movsi_mr_r): Emit out insn for IO address store. Update store
7009 instruction's size for AVRTINY. For AVRTINY, call tiny SImode indirect
7011 (avr_out_load_psi_reg_no_disp_tiny): New function to handle register
7012 indirect load (no displacement) for PSImode in AVRTINY.
7013 (avr_out_load_psi_reg_disp_tiny): New function to handle register
7014 indirect load (with displacement) for PSImode in AVRTINY.
7015 (avr_out_load_psi): Call PSImode register indirect load functions for
7016 AVRTINY. Update instruction length for AVRTINY.
7017 (avr_out_store_psi_reg_no_disp_tiny): New function to handle register
7018 indirect store (no displacement) for PSImode in AVRTINY.
7019 (avr_out_store_psi_reg_disp_tiny): New function to handle register
7020 indirect store (with displacement) for PSImode in AVRTINY.
7021 (avr_out_store_psi): Update instruction length for AVRTINY. Call tiny
7022 register indirect store functions for AVRTINY.
7023 (avr_out_movqi_mr_r_reg_disp_tiny): New function to handle QImode
7024 register indirect store (with displacement) for AVRTINY.
7025 (out_movqi_mr_r): Update instruction length for AVRTINY. Call tiny
7026 register indirect store function for QImode in AVRTINY.
7027 (avr_out_movhi_mr_r_xmega): Update instruction length for AVRTINY.
7028 (avr_out_movhi_mr_r_reg_no_disp_tiny): New function to handle register
7029 indirect store (no displacement) for HImode in AVRTINY.
7030 (avr_out_movhi_mr_r_reg_disp_tiny): New function to handle register
7031 indirect store (with displacement) for HImode in AVRTINY.
7032 (avr_out_movhi_mr_r_post_inc_tiny): New function to handle register
7033 indirect store for post-increment address in HImode.
7034 (out_movhi_mr_r): Update instruction length for AVRTINY. Call tiny
7035 register indirect store function for HImode in AVRTINY.
7036 (avr_out_compare): Use TINY_SBIW/ TINY_ADIW in place of sbiw/adiw
7038 (order_regs_for_local_alloc): Updated register allocation order for
7040 (avr_conditional_register_usage): New function. It is a target hook
7041 (TARGET_CONDITIONAL_REGISTER_USAGE) function which updates fixed, call
7042 used registers list and register allocation order for AVRTINY.
7043 (avr_return_in_memory): Update return value size for AVRTINY.
7044 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Added builtin macros
7045 for AVRTINY arch and tiny program memory base address.
7046 * config/avr/avr-devices.c (avr_arch_types): Added AVRTINY arch.
7047 (avr_texinfo): Added description for AVRTINY arch.
7048 * config/avr/avr.h: Added macro to identify AVRTINY arch. Updated
7049 STATIC_CHAIN_REGNUM for AVRTINY.
7050 * config/avr/avr-mcus.def: Added AVRTINY arch devices.
7051 * config/avr/avr.md: Added constants for tmp/ zero registers in
7052 AVRTINY. Attributes for AVRTINY added.
7053 (mov<mode>): Move src/ dest address to register if it is not in AVRTINY
7054 memory access range.
7055 (mov<mode>_insn): Avoid QImode direct load for AVRTINY if address not
7056 in AVRTINY memory access range.
7057 (*mov<mode>): Likewise for HImode and SImode.
7058 (*movsf): Likewise for SFmode.
7059 (delay_cycles_2): Updated instructions to be emitted as AVRTINY does
7061 * config/avr/avr-protos.h: Added function prototype for
7062 tiny_valid_direct_memory_access_range.
7063 * config/avr/avr-tables.opt: Regenerate.
7064 * gcc/config/avr/t-multilib: Regenerate.
7065 * doc/avr-mmcu.texi: Regenerate.
7067 2014-10-21 Andrew Pinski <apinski@cavium.com>
7069 * doc/invoke.texi (AARCH64/mtune): Document thunderx as an
7070 available option also.
7071 * config/aarch64/aarch64-cost-tables.h: New file.
7072 * config/aarch64/aarch64-cores.def (thunderx): New core.
7073 * config/aarch64/aarch64-tune.md: Regenerate.
7074 * config/aarch64/aarch64.c: Include aarch64-cost-tables.h instead
7075 of config/arm/aarch-cost-tables.h.
7076 (thunderx_regmove_cost): New variable.
7077 (thunderx_tunings): New variable.
7079 2014-10-21 Dehao Chen <dehao@google.com>
7081 * auto-profile.c: New file.
7082 * auto-profile.h: New file.
7083 * basic-block.h (maybe_hot_count_p): New export func.
7084 (add_working_set): New export func.
7085 * gcov-io.h (GCOV_TAG_AFDO_FILE_NAMES): New tag.
7086 (GCOV_TAG_AFDO_FUNCTION): Likewise.
7087 (GCOV_TAG_AFDO_WORKING_SET): Likewise.
7088 * opts.c (enable_fdo_optimizations): New func.
7089 (common_handle_option): Handle -fauto-profile flag.
7090 * ipa-inline.c (want_early_inline_function_p): Iterative-einline.
7091 (class pass_early_inline): Export early_inliner.
7092 (early_inliner): Likewise.
7093 (pass_early_inline::execute): Likewise.
7094 * ipa-inline.h (early_inliner): Likewise.
7095 * predict.c (maybe_hot_count_p): New export func.
7096 (counts_to_freqs): AutoFDO logic.
7097 (rebuild_frequencies): Likewise.
7098 * tree-profile.c (pass_ipa_tree_profile::gate): Likewise.
7099 * profile.c (add_working_set): New func.
7100 * Makefile.in (auto-profile.o): New object file.
7101 * passes.def (pass_ipa_auto_profile): New pass.
7102 * tree-ssa-live.c (remove_unused_scope_block_p): AutoFDO logic.
7103 * tree-pass.h (make_pass_ipa_auto_profile): New pass.
7104 * toplev.c (compile_file): AutoFDO logic.
7105 * doc/invoke.texi (-fauto-profile): New doc.
7106 * coverage.c (coverage_init): AutoFDO logic.
7107 * common.opt (-fauto-profile): New flag.
7108 * timevar.def (TV_IPA_AUTOFDO): New tag.
7109 * value-prof.c (gimple_alloc_histogram_value): New export func.
7110 (check_ic_target): Likewise.
7111 * value-prof.h (gimple_alloc_histogram_value): Likewise.
7112 (check_ic_target): Likewise.
7114 2014-10-21 David Malcolm <dmalcolm@redhat.com>
7116 * cgraph.c (cgraph_c_finalize): New function.
7117 * cgraph.h (cgraph_c_finalize): New prototype.
7118 (cgraphunit_c_finalize): New prototype.
7119 * cgraphunit.c (first_analyzed): Move from analyze_functions
7121 (first_analyzed_var): Likewise.
7122 (analyze_functions): Move static variables into file-scope.
7123 (cgraphunit_c_finalize): New function.
7124 * diagnostic.c (diagnostic_finish): Free the memory for
7125 context->classify_diagnostic and context->printer, running the
7126 destructor for the latter.
7127 (bt_stop): Use toplev::main.
7128 * dwarf2out.c (dwarf2out_finalize): New function.
7129 * dwarf2out.h (dwarf2out_c_finalize): New prototype.
7130 * gcse.c (gcse_c_finalize): New function.
7131 * gcse.h (gcse_c_finalize): New prototype.
7132 * ggc-page.c (init_ggc): Make idempotent.
7133 * input.c (input_location): Initialize to UNKNOWN_LOCATION.
7134 * ipa-cp.c (ipa_cp_c_finalize): New function.
7135 * ipa-prop.h (ipa_cp_c_finalize): New prototype.
7136 * ipa-pure-const.c (function_insertion_hook_holder): Move to be
7137 a field of class pass_ipa_pure_const.
7138 (node_duplication_hook_holder): Likewise.
7139 (node_removal_hook_holder): Likewise.
7140 (register_hooks): Convert to method...
7141 (pass_ipa_pure_const::register_hooks): ...here, converting
7142 static variable init_p into...
7143 (pass_ipa_pure_const::init_p): ...new field.
7144 (pure_const_generate_summary): Update invocation of
7145 register_hooks to invoke as a method of current_pass.
7146 (pure_const_read_summary): Likewise.
7147 (propagate): Convert to...
7148 (pass_ipa_pure_const::execute): ...method.
7149 * ipa-reference.c (ipa_init): Move static bool init_p from here
7151 (ipa_init_p): New file-scope variable, so that it can be reset
7152 when repeatedly invoking the compiler within one process by...
7153 (ipa_reference_c_finalize): New function.
7154 * ipa-reference.h (ipa_reference_c_finalize): New.
7155 * main.c (main): Replace invocation of toplev_main with
7156 construction of a toplev instance, and call its "main" method.
7157 * params.c (global_init_params): Add an assert that
7158 params_finished is false.
7159 (params_c_finalize): New.
7160 * params.h (params_c_finalize): New.
7161 * passes.c (execute_ipa_summary_passes): Set "current_pass" before
7162 invoking generate_summary, for the benefit of pass_ipa_pure_const.
7163 (ipa_write_summaries_2): Assign "pass" to "current_pass" global
7164 before calling write_summary hook.
7165 (ipa_write_optimization_summaries_1): Likewise when calling
7166 write_optimization_summary hook.
7167 (ipa_read_summaries_1): Likewise for read_summary hook.
7168 (ipa_read_optimization_summaries_1): Likewise for
7169 read_optimization_summary hook.
7170 (execute_ipa_stmt_fixups): Likewise.
7171 * stringpool.c (init_stringpool): Clean up if we're called more
7173 * timevar.c (timevar_init): Ignore repeated calls.
7174 * toplev.c: Include "dwarf2out.h", "ipa-reference.h", "gcse.h",
7176 (general_init): Reset "input_location" to UNKNOWN_LOCATION.
7177 (initialize_rtl): Move static local "initialized_once"
7178 into file scope, and rename to...
7179 (rtl_initialized): New variable.
7180 (do_compile): Move timevar initialization from here to
7181 toplev::start_timevars.
7182 (toplev::toplev, toplev::~toplev, toplev::start_timevars,
7183 toplev::finalize): New functions.
7184 (toplev_main): Rename to...
7185 (toplev::main): ...this.
7186 * toplev.h (class toplev): New class.
7188 2014-10-21 Andrew MacLeod <amacleod@redhat.com>
7190 * loop-doloop.c: Include loop-unroll.h.
7192 2014-10-21 Andrew MacLeod <amacleod@redhat.com>
7194 * cfg.h: New. Header file for cfg.c.
7195 * cfganal.h: New. Header file for cfganal.c.
7196 * lcm.h: New. Header file for lcm.c.
7197 * loop-unroll.h: New. Header file for loop-unroll.h.
7198 * cfgloop.h: (unroll_loops): Remove prototype.
7199 * basic-block.h: Move prototypes and structs to new header files.
7200 Include cfg.h, cfganal.h, and lcm.h.
7201 * loop-init.c: Include loop-unroll.h.
7202 * loop-unroll.c: (referenced_in_one_insn_in_loop_p): Make static.
7203 * modulo-sched.c: Include loop-unroll.h.
7205 2014-10-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
7207 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Fix creation of
7208 MARKER_BYTE_UNKNOWN markers when handling casts.
7210 2014-10-21 Richard Biener <rguenther@suse.de>
7212 * tree-ssa-phiopt.c (value_replacement): Properly verify we
7213 are the non-singleton PHI.
7215 2014-10-21 Jakub Jelinek <jakub@redhat.com>
7217 PR tree-optimization/63563
7218 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Bail out
7219 if either dra or drb stmts are not normal loads/stores.
7221 2014-10-21 Ilya Tocar <ilya.tocar@intel.com>
7223 * config/i386/i386.c (expand_vec_perm_1): Fix
7224 expand_vec_perm_palignr case.
7225 * config/i386/sse.md (<ssse3_avx2>_palignr<mode>_mask): Use
7228 2014-10-21 Zhenqiang Chen <zhenqiang.chen@arm.com>
7230 * cfgloopanal.c (seq_cost): Delete.
7231 * rtl.h (seq_cost): New prototype.
7232 * rtlanal.c (seq_cost): New function.
7233 * tree-ssa-loop-ivopts.c (seq_cost): Delete.
7235 2014-10-20 Andrew MacLeod <amacleod@redhat.com>
7237 * cfgrtl.h: New. Add prototypes for cfgrtl.c.
7238 * basic-block.h: Remove prototypes for cfgrtl.c.
7239 * cfghooks.h (cfg_layout_initialize, cfg_layout_finalize): Move
7240 prototypes to cfgrtl.h.
7241 * profile.h (profile_info): Add extern export declaration.
7242 * rtl.h: Remove prototypes for cfgrtl.h.
7243 * tree-cfg.h (gt_ggc_mx, gt_pch_nx): Move prototypes to here.
7244 * ipa-inline.c: Include profile.h.
7245 * loop-unroll.c: Ditto.
7246 * modulo-sched.c: Ditto.
7247 * postreload-gcse.c: Ditto.
7249 * sched-ebb.c: Ditto.
7250 * sched-rgn.c: Ditto.
7252 * tree-ssa-loop-ivcanon.c: Ditto.
7254 2014-10-20 Richard Biener <rguenther@suse.de>
7256 * tree-vect-slp.c (vect_get_and_check_slp_defs): Try swapping
7257 operands to get a def operand kind match. Signal mismatches
7258 to the parent so we can try swapping its operands.
7259 (vect_build_slp_tree): Try swapping operands if they have
7260 a mismatched operand kind.
7262 2014-10-20 Alan Modra <amodra@gmail.com>
7265 * simplify-rtx.c (simplify_plus_minus): Delete unused "input_ops".
7266 Increase "ops" array size. Correct array size tests. Init
7267 n_constants in loop. Break out of innermost loop when finding
7268 a trivial CONST expression.
7270 2014-10-20 Martin Liska <mliska@suse.cz>
7273 * ipa-icf-gimple.c (func_checker::compare_gimple_asm):
7274 Gimple tempate string is compared.
7276 2014-10-20 Uros Bizjak <ubizjak@gmail.com>
7278 * varasm.c (const_alias_set): Remove.
7279 (init_varasm_once): Remove initialization of const_alias_set.
7280 (build_constant_desc): Do not set alias set to const_alias_set.
7282 2014-10-19 Ilya Verbin <ilya.verbin@intel.com>
7284 * configure: Regenerate.
7285 * configure.ac: Move the test for section attribute specifier "e" in GAS
7286 out to all i[34567]86-*-* | x86_64-*-* targets and add --fatal-warnings.
7287 * langhooks.c (lhd_begin_section): Set SECTION_EXCLUDE flag.
7288 * varasm.c (default_elf_asm_named_section): Guard SECTION_EXCLUDE with
7289 ifdef HAVE_GAS_SECTION_EXCLUDE.
7291 2014-10-19 Andreas Schwab <schwab@linux-m68k.org>
7293 * doc/md.texi (RTL Template) [match_scratch]: Correct equivalent
7294 match_operand expression.
7296 2014-10-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7297 David Edelsohn <dje.gcc@gmail.com>
7299 * config/rs6000/rs6000.c (rs6000_atomic_assign_expand_fenv): New
7301 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
7303 2014-10-18 Manuel López-Ibáñez <manu@gcc.gnu.org>
7305 * doc/invoke.texi (Options to Request or Suppress Warnings):
7306 Explain options precedence.
7307 (Wtrampolines): Do not indent paragraph.
7309 2014-10-18 John David Anglin <danglin@gcc.gnu.org>
7311 * doc/invoke.texi: Update documentation of hppa -mjump-in-delay option.
7312 * config/pa/pa-protos.h (pa_following_call): Delete declaration.
7313 (pa_jump_in_call_delay): Likewise.
7314 * config/pa/pa.c (pa_option_override): Remove jump in call delay
7316 (pa_output_millicode_call): Remove support for jump in call delay.
7317 (pa_output_call): Likewise.
7318 (pa_jump_in_call_delay): Delete.
7319 (pa_following_call): Likewise.
7320 * config/pa/pa.md (in_call_delay): Remove jump in delay check.
7321 (uncond_branch): Remove following call check from attribute length.
7323 2014-10-18 Oleg Endo <olegendo@gcc.gnu.org>
7326 * config/sh/sh-modes.def (PSI): Remove.
7327 * config/sh/sh-protos.h (get_fpscr_rtx): Remove.
7328 * config/sh/sh.c (fpscr_rtx, get_fpscr_rtx): Remove.
7329 (sh_reorg): Remove commented out FPSCR code.
7330 (fpscr_set_from_mem): Use SImode instead of PSImode. Emit lds_fpscr
7331 insn instead of move insn.
7332 (sh_hard_regno_mode_ok): Return SImode for FPSCR.
7333 (sh_legitimate_address_p, sh_legitimize_reload_address): Remove PSImode
7335 (sh_emit_mode_set): Emit lds_fpscr and sts_fpscr insns.
7336 (sh1_builtin_p): Uncomment.
7337 (SH_BLTIN_UV 25, SH_BLTIN_VU 26): New macros.
7338 (bdesc): Add __builtin_sh_get_fpscr and __builtin_sh_set_fpscr.
7339 * config/sh/sh/predicates.md (fpscr_operand): Simplify.
7340 (fpscr_movsrc_operand, fpscr_movdst_operand): New predicates.
7341 (general_movsrc_operand, general_movdst_operand): Disallow
7343 * config/sh/sh.md (FPSCR_FR): New constant.
7344 (push_fpscr): Emit sts_fpscr insn.
7345 (pop_fpscr): Emit lds_fpscr_insn.
7346 (movsi_ie): Disallow FPSCR operands.
7347 (fpu_switch, unnamed related split, extend_psi_si,
7348 truncate_si_psi): Remove insns.
7349 (lds_fpscr, sts_fpscr): New insns.
7350 (toggle_sz, toggle_pr): Use SImode for FPSCR_REG instead of PSImode.
7353 2014-10-17 Eric Botcazou <ebotcazou@adacore.com>
7355 * ipa-inline-transform.c (master_clone_with_noninline_clones_p): New.
7356 (clone_inlined_nodes): Do not overwrite the clone if above predicate
7359 2014-10-17 Ilya Tocar <ilya.tocar@intel.com>
7361 * config/i386/i386.c (MAX_VECT_LEN): Move earlier.
7362 (expand_vec_perm_d): Ditto.
7363 (ix86_expand_vec_perm_vpermi2): Handle V8HImode, V16HImode, V32HImode,
7364 V32HImode, V4SImode, V8SImode, V4SFmode, V8SFmode, V2DImode, V4DImode,
7366 (ix86_expand_vec_perm): Update call to ix86_expand_vec_perm_vpermi2.
7367 (ix86_expand_sse_unpack): Handle V64QImode.
7368 (expand_vec_perm_blend): Update conditions for TARGET, handle
7369 V8DFmode, V16SFmode, V32HImode, V64QImode, V16SImode, V8DImode.
7370 (expand_vec_perm_pshufb): Handle V64QImode.
7371 (expand_vec_perm_1): Handle V64QImode, V32HImode, V16SImode, V16SFmode,
7372 V8DFmode, V8DImode, V4DFmode, V2DFmode, V8SFmode, V4SFmode.
7373 (ix86_expand_vec_perm_const_1): Call ix86_expand_vec_perm_vpermi2.
7374 (ix86_vectorize_vec_perm_const_ok): Handle V32HImode, V64QImode.
7375 (ix86_expand_vecop_qihi): Handle V64QImode.
7376 * config/i386/sse.md (define_mode_iterator VI1_AVX512): New.
7377 (define_mode_iterator VEC_PERM_AVX2): Add V32HI.
7378 (define_mode_iterator VEC_PERM_CONST): Add V32HI.
7379 (define_insn "<ssse3_avx2>_pshufb<mode>3<mask_name>"): Add masking.
7380 (mul<mode>3): Use VI1_AVX512.
7381 (<sse2_avx2>_packsswb): Ditto.
7382 (<sse2_avx2>_packuswb): Ditto.
7383 (<ssse3_avx2>_pshufb<mode>3): Ditto.
7384 (<shift_insn><mode>3): Ditto.
7386 2014-10-17 Kirill Yukhin <kirill.yukhin@intel.com>
7388 * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Refactor
7389 conditions to fix bootstrap.
7391 2014-10-17 Andrew MacLeod <amacleod@redhat.com>
7393 gcc-plugin.h: Add tm.h and flattened includes from function.h.
7395 2014-10-17 Alexander Ivchenko <alexander.ivchenko@intel.com>
7396 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
7397 Anna Tikhonova <anna.tikhonova@intel.com>
7398 Ilya Tocar <ilya.tocar@intel.com>
7399 Andrey Turetskiy <andrey.turetskiy@intel.com>
7400 Ilya Verbin <ilya.verbin@intel.com>
7401 Kirill Yukhin <kirill.yukhin@intel.com>
7402 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
7404 * config/i386/i386.c (ix86_expand_vector_init_duplicate): Handle V64QI
7405 and V32HI modes, update V8HI, V16QI, V32QI modes handling.
7406 (ix86_expand_vector_init_general): Handle V64QI and V32HI modes.
7407 * config/i386/sse.md (define_mode_iterator VI48F_512): Rename to ...
7408 (define_mode_iterator VF48_I1248): ... this. Extend to AVX-512 modes.
7409 (define_expand "vec_init<mode>"): Use VF48_I1248.
7411 2014-10-17 Alexander Ivchenko <alexander.ivchenko@intel.com>
7412 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
7413 Anna Tikhonova <anna.tikhonova@intel.com>
7414 Ilya Tocar <ilya.tocar@intel.com>
7415 Andrey Turetskiy <andrey.turetskiy@intel.com>
7416 Ilya Verbin <ilya.verbin@intel.com>
7417 Kirill Yukhin <kirill.yukhin@intel.com>
7418 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
7420 * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Extend
7421 expand_sse2_mulvxdi3.
7423 2014-10-17 Richard Biener <rguenther@suse.de>
7425 * fold-const.c (fold_comparison): Remove redundant constant
7426 folding and operand swapping.
7427 (fold_binary_loc): Do comparison operand swapping here.
7428 (fold_ternary_loc): Canonicalize operand order for
7429 commutative ternary operations.
7430 * tree.c (commutative_ternary_tree_code): Add DOT_PROD_EXPR
7433 2014-10-17 Jakub Jelinek <jakub@redhat.com>
7435 PR tree-optimization/63464
7436 * gimple.h (gimple_seq_discard): New prototype.
7437 * gimple.c: Include stringpool.h and tree-ssanames.h.
7438 (gimple_seq_discard): New function.
7439 * optabs.h (lshift_cheap_p): New prototype.
7440 * optabs.c (lshift_cheap_p): New function, moved from...
7441 * tree-switch-conversion.c (lshift_cheap_p): ... here.
7442 * tree-ssa-reassoc.c: Include gimplify.h and optabs.h.
7443 (reassoc_branch_fixups): New variable.
7444 (update_range_test): Add otherrangep and seq arguments.
7445 Unshare exp. If otherrange is NULL, use for other ranges
7446 array of pointers pointed by otherrangep instead.
7447 Emit seq before gimplified statements for tem.
7448 (optimize_range_tests_diff): Adjust update_range_test
7450 (optimize_range_tests_xor): Likewise. Fix up comment.
7451 (extract_bit_test_mask, optimize_range_tests_to_bit_test): New
7453 (optimize_range_tests): Adjust update_range_test caller.
7454 Call optimize_range_tests_to_bit_test.
7455 (branch_fixup): New function.
7456 (execute_reassoc): Call branch_fixup.
7458 PR tree-optimization/63302
7459 * tree-ssa-reassoc.c (optimize_range_tests_xor,
7460 optimize_range_tests_diff): Use !integer_pow2p () instead of
7463 2014-10-17 Martin Liska <mliska@suse.cz>
7465 * ipa-icf.c (sem_function::merge): Local flags are set to false
7466 to enforce equal calling convention to be used.
7467 * opts.c (common_handle_option): Indentation fix.
7469 2014-10-17 Marc Glisse <marc.glisse@inria.fr>
7471 * tree-into-ssa.c (is_old_name): Replace "new" with "old".
7473 2014-10-17 Tom de Vries <tom@codesourcery.com>
7475 PR rtl-optimization/61605
7476 * regcprop.c (copyprop_hardreg_forward_1): Use
7477 regs_invalidated_by_this_call instead of regs_invalidated_by_call.
7479 2014-10-17 Tom de Vries <tom@codesourcery.com>
7481 PR rtl-optimization/61605
7482 * regcprop.c (copyprop_hardreg_forward_1): Add copy_p and noop_p. Don't
7483 notice stores for noops. Don't regard noops as copies.
7485 2014-10-17 Uros Bizjak <ubizjak@gmail.com>
7487 * config/i386/cpuid.h (__cpuid): Remove definitions that handle %ebx
7488 register in a special way.
7489 (__cpuid_count): Ditto.
7490 * config/i386/driver-i386.h: Protect with
7491 "#if defined(__GNUC__) && (__GNUC__ >= 5 || !defined(__PIC__))".
7492 (host_detect_local_cpu): Mention that GCC with non-fixed %ebx
7493 is required to compile the function.
7495 2014-10-16 DJ Delorie <dj@redhat.com>
7497 * flag-types.h (sanitize_code): Don't assume targets have 32-bit
7500 * config/rs6000/rs6000-c.c (rid_int128): New.
7501 (rs6000_macro_to_expand): Use instead of RID_INT128.
7503 2014-10-16 Andrew MacLeod <amacleod@redhat.com>
7505 * function.h: Flatten file. Remove includes, adjust prototypes to
7506 reflect only what is in function.h.
7507 (enum direction, struct args_size, struct locate_and_pad_arg_data,
7508 ADD_PARM_SIZE, SUB_PARM_SIZE, ARGS_SIZE_TREE, ARGS_SIZE_RTX): Relocate
7510 (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Relocate from rtl.h.
7511 (optimize_function_for_size_p, optimize_function_for_speed_p): Move
7512 prototypes to predict.h.
7513 (init_varasm_status): Move prototype to varasm.h.
7514 * expr.h: Adjust include files.
7515 (enum direction, struct args_size, struct locate_and_pad_arg_data,
7516 ADD_PARM_SIZE, SUB_PARM_SIZE, ARGS_SIZE_TREE, ARGS_SIZE_RTX): Move
7518 (locate_and_pad_parm): Move prototype to function.h.
7519 * rtl.h: (assign_stack_local, ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD,
7520 assign_stack_local_1, assign_stack_temp, assign_stack_temp_for_type,
7521 assign_temp, reposition_prologue_and_epilogue_notes,
7522 prologue_epilogue_contains, sibcall_epilogue_contains,
7523 update_temp_slot_address, maybe_copy_prologue_epilogue_insn,
7524 set_return_jump_label): Move prototypes to function.h.
7525 * predict.h (optimize_function_for_size_p,
7526 optimize_function_for_speed_p): Relocate prototypes from function.h.
7527 * shrink-wrap.h (emit_return_into_block, active_insn_between,
7528 convert_jumps_to_returns, emit_return_for_exit): Move prototypes to
7530 * varasm.h (init_varasm_status): Relocate prototype from function.h.
7531 * genattrtab.c (write_header): Add predict.h to include list.
7532 * genconditions.c (write_header): Add predict.h to include list.
7533 * genemit.c (main): Adjust header file includes.
7534 * gengtype.c (ifiles): Add flattened function.h header files.
7535 * genoutput.c (output_prologue): Add predict.h to include list.
7536 * genpreds.c (write_insn_preds_c): Adjust header file includes.
7537 * genrecog.c (write_header): Add flattened function.h header files.
7538 * alias.c: Adjust include files.
7539 * auto-inc-dec.c: Likewise.
7540 * basic-block.h: Likewise.
7541 * bb-reorder.c: Likewise.
7542 * bt-load.c: Likewise.
7543 * builtins.c: Likewise.
7544 * caller-save.c: Likewise.
7545 * calls.c: Likewise.
7546 * cfgbuild.c: Likewise.
7547 * cfgcleanup.c: Likewise.
7548 * cfgexpand.c: Likewise.
7549 * cfgloop.c: Likewise.
7550 * cfgloop.h: Likewise.
7551 * cfgrtl.c: Likewise.
7552 * cgraph.h: Likewise.
7553 * cgraphclones.c: Likewise.
7554 * cgraphunit.c: Likewise.
7555 * combine-stack-adj.c: Likewise.
7556 * combine.c: Likewise.
7557 * coverage.c: Likewise.
7558 * cprop.c: Likewise.
7560 * cselib.c: Likewise.
7561 * dbxout.c: Likewise.
7563 * df-core.c: Likewise.
7564 * df-problems.c: Likewise.
7565 * df-scan.c: Likewise.
7566 * dojump.c: Likewise.
7567 * dwarf2cfi.c: Likewise.
7568 * dwarf2out.c: Likewise.
7569 * emit-rtl.c: Likewise.
7570 * except.c: Likewise.
7571 * explow.c: Likewise.
7573 * final.c: Likewise.
7574 * function.c: Likewise.
7576 * gimple-fold.c: Likewise.
7577 * gimple-low.c: Likewise.
7578 * gimple-streamer.h: Likewise.
7579 * haifa-sched.c: Likewise.
7580 * ifcvt.c: Likewise.
7584 * loop-invariant.c: Likewise.
7585 * lra-assigns.c: Likewise.
7586 * lra-coalesce.c: Likewise.
7587 * lra-constraints.c: Likewise.
7588 * lra-eliminations.c: Likewise.
7589 * lra-lives.c: Likewise.
7590 * lra-spills.c: Likewise.
7592 * lto-cgraph.c: Likewise.
7593 * lto-section-in.c: Likewise.
7594 * lto-section-out.c: Likewise.
7595 * lto-streamer-in.c: Likewise.
7596 * lto-streamer-out.c: Likewise.
7597 * mode-switching.c: Likewise.
7598 * modulo-sched.c: Likewise.
7599 * omp-low.c: Likewise.
7600 * optabs.c: Likewise.
7601 * passes.c: Likewise.
7602 * postreload-gcse.c: Likewise.
7603 * postreload.c: Likewise.
7604 * predict.c: Likewise.
7605 * profile.c: Likewise.
7606 * recog.c: Likewise.
7608 * reg-stack.c: Likewise.
7609 * regcprop.c: Likewise.
7610 * reginfo.c: Likewise.
7611 * regrename.c: Likewise.
7612 * reload.c: Likewise.
7613 * reload1.c: Likewise.
7614 * reorg.c: Likewise.
7615 * resource.c: Likewise.
7616 * rtlanal.c: Likewise.
7617 * sched-deps.c: Likewise.
7618 * sched-ebb.c: Likewise.
7619 * sched-rgn.c: Likewise.
7620 * sel-sched-dump.c: Likewise.
7621 * sel-sched-ir.c: Likewise.
7622 * sel-sched.c: Likewise.
7623 * shrink-wrap.c: Likewise.
7624 * simplify-rtx.c: Likewise.
7625 * statistics.c: Likewise.
7627 * stor-layout.c: Likewise.
7628 * store-motion.c: Likewise.
7629 * symtab.c: Likewise.
7630 * targhooks.c: Likewise.
7631 * toplev.c: Likewise.
7632 * trans-mem.c: Likewise.
7633 * tree-cfg.c: Likewise.
7634 * tree-cfgcleanup.c: Likewise.
7635 * tree-dfa.c: Likewise.
7636 * tree-eh.c: Likewise.
7637 * tree-inline.c: Likewise.
7638 * tree-into-ssa.c: Likewise.
7639 * tree-nested.c: Likewise.
7640 * tree-nrv.c: Likewise.
7641 * tree-profile.c: Likewise.
7642 * tree-ssa-alias.c: Likewise.
7643 * tree-ssa-ccp.c: Likewise.
7644 * tree-ssa-copy.c: Likewise.
7645 * tree-ssa-copyrename.c: Likewise.
7646 * tree-ssa-dom.c: Likewise.
7647 * tree-ssa-operands.c: Likewise.
7648 * tree-ssa-propagate.c: Likewise.
7649 * tree-ssa-structalias.c: Likewise.
7650 * tree-ssa-tail-merge.c: Likewise.
7651 * tree-ssa-threadedge.c: Likewise.
7652 * tree-ssa-threadupdate.c: Likewise.
7653 * tree-ssa-uncprop.c: Likewise.
7654 * tree-ssa-uninit.c: Likewise.
7655 * tree-ssa.c: Likewise.
7656 * tree-stdarg.c: Likewise.
7657 * tree-tailcall.c: Likewise.
7660 * valtrack.c: Likewise.
7661 * varasm.c: Likewise.
7662 * vmsdbgout.c: Likewise.
7664 * config/aarch64/aarch64.c: Add flattened includes from function.h.
7665 * config/alpha/alpha.c: Likewise.
7666 * config/arc/arc.c: Likewise.
7667 * config/arm/arm.c: Likewise.
7668 * config/avr/avr-log.c: Likewise.
7669 * config/avr/avr.c: Likewise.
7670 * config/bfin/bfin.c: Likewise.
7671 * config/c6x/c6x.c: Likewise.
7672 * config/cr16/cr16.c: Likewise.
7673 * config/cris/cris.c: Likewise.
7674 * config/darwin.c: Likewise.
7675 * config/epiphany/epiphany.c: Likewise.
7676 * config/epiphany/mode-switch-use.c: Likewise.
7677 * config/epiphany/resolve-sw-modes.c: Likewise.
7678 * config/fr30/fr30.c: Likewise.
7679 * config/frv/frv.c: Likewise.
7680 * config/h8300/h8300.c: Likewise.
7681 * config/i386/i386.c: Likewise.
7682 * config/ia64/ia64.c: Likewise.
7683 * config/iq2000/iq2000.c: Likewise.
7684 * config/lm32/lm32.c: Likewise.
7685 * config/m32c/m32c.c: Likewise.
7686 * config/m32r/m32r.c: Likewise.
7687 * config/m68k/m68k.c: Likewise.
7688 * config/mcore/mcore.c: Likewise.
7689 * config/mep/mep-pragma.c: Likewise.
7690 * config/mep/mep.c: Likewise.
7691 * config/microblaze/microblaze.c: Likewise.
7692 * config/mips/mips.c: Likewise.
7693 * config/mmix/mmix.c: Likewise.
7694 * config/mn10300/mn10300.c: Likewise.
7695 * config/moxie/moxie.c: Likewise.
7696 * config/msp430/msp430.c: Likewise.
7697 * config/nds32/nds32-cost.c: Likewise.
7698 * config/nds32/nds32-fp-as-gp.c: Likewise.
7699 * config/nds32/nds32-intrinsic.c: Likewise.
7700 * config/nds32/nds32-isr.c: Likewise.
7701 * config/nds32/nds32-md-auxiliary.c: Likewise.
7702 * config/nds32/nds32-memory-manipulation.c: Likewise.
7703 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
7704 * config/nds32/nds32-predicates.c: Likewise.
7705 * config/nds32/nds32.c: Likewise.
7706 * config/nios2/nios2.c: Likewise.
7707 * config/pa/pa.c: Likewise.
7708 * config/pdp11/pdp11.c: Likewise.
7709 * config/rl78/rl78.c: Likewise.
7710 * config/rs6000/rs6000.c: Likewise.
7711 * config/rx/rx.c: Likewise.
7712 * config/s390/s390.c: Likewise.
7713 * config/score/score.c: Likewise.
7714 * config/sh/sh.c: Likewise.
7715 * config/sparc/sparc.c: Likewise.
7716 * config/spu/spu.c: Likewise.
7717 * config/stormy16/stormy16.c: Likewise.
7718 * config/tilegx/tilegx.c: Likewise.
7719 * config/tilepro/tilepro.c: Likewise.
7720 * config/v850/v850.c: Likewise.
7721 * config/vax/vax.c: Likewise.
7722 * config/xtensa/xtensa.c: Likewise.
7724 2014-10-16 Richard Earnshaw <rearnsha@arm.com>
7726 * config/aarch64/aarch64.c (aarch64_legitimize_address): New function.
7727 (TARGET_LEGITIMIZE_ADDRESS): Redefine.
7729 2014-10-16 Oleg Endo <olegendo@gcc.gnu.org>
7731 * config/sh/sh-protos.h (fldi_ok): Remove.
7732 * config/sh/sh.c (fldi_ok): Likewise.
7733 (sh_secondary_reload): Don't use fldi_ok.
7734 * config/sh/constraints.md (G constraint, H constraint): Don't use
7737 2014-10-16 Martin Liska <mliska@suse.cz>
7739 * ipa-icf.c (sem_item_optimizer::process_cong_reduction):
7740 Cast to unsigned long.
7741 (sem_item_optimizer::dump_cong_classes): Likewise.
7743 2014-10-16 Tom de Vries <tom@codesourcery.com>
7745 * tree-into-ssa.c (update_ssa): Assert that there's no ssa use operand
7746 with SSA_NAME_IN_FREELIST.
7748 2014-10-16 Richard Biener <rguenther@suse.de>
7751 * builtins.c (fold_builtin_4): Do not call fold_builtin_strncat_chk.
7752 (fold_builtin_strncat_chk): Move ...
7753 * gimple-fold.c (gimple_fold_builtin_strncat_chk): ... here.
7754 (gimple_fold_builtin): Call gimple_fold_builtin_strncat_chk.
7756 2014-10-16 Oleg Endo <olegendo@gcc.gnu.org>
7759 * config/sh/sh.h (CALL_REALLY_USED_REGISTERS): Expand macro and set
7762 2014-10-16 Alexander Ivchenko <alexander.ivchenko@intel.com>
7763 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
7764 Anna Tikhonova <anna.tikhonova@intel.com>
7765 Ilya Tocar <ilya.tocar@intel.com>
7766 Andrey Turetskiy <andrey.turetskiy@intel.com>
7767 Ilya Verbin <ilya.verbin@intel.com>
7768 Kirill Yukhin <kirill.yukhin@intel.com>
7769 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
7771 * config/i386/i386.c (ix86_expand_mul_widen_hilo): Handle V32HI, V16SI,
7774 2014-10-16 Alexander Ivchenko <alexander.ivchenko@intel.com>
7775 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
7776 Anna Tikhonova <anna.tikhonova@intel.com>
7777 Ilya Tocar <ilya.tocar@intel.com>
7778 Andrey Turetskiy <andrey.turetskiy@intel.com>
7779 Ilya Verbin <ilya.verbin@intel.com>
7780 Kirill Yukhin <kirill.yukhin@intel.com>
7781 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
7783 * config/i386/i386.c (ix86_expand_vector_set): Handle V8DF, V8DI, V16SF,
7784 V16SI, V32HI, V64QI modes.
7786 2014-10-16 Oleg Endo <olegendo@gcc.gnu.org>
7789 * config/sh/sh-protos.h (emit_sf_insn, emit_df_insn, expand_sf_unop,
7790 expand_sf_binop, expand_df_unop, expand_df_binop): Remove.
7792 * config/sh/sh.c (sh_emit_set_t_insn): Adjust generated insn pattern
7793 to match fp insn patterns.
7794 (calc_live_regs): Add FPSCR_MODES_REG and FPSCR_STAT_REG to the ignore
7796 (emit_sf_insn, emit_df_insn, expand_sf_unop, expand_sf_binop,
7797 expand_df_unop, expand_df_binop): Remove.
7798 (sh_conditional_register_usage): Mark FPSCR_MODES_REG and
7799 FPSCR_STAT_REG as not call clobbered.
7800 (sh_emit_mode_set): Emit fpscr store-modify-load sequence instead of
7801 invoking fpscr_set_from_mem.
7803 * config/sh/sh.h (MAX_REGISTER_NAME_LENGTH): Increase to 6.
7804 (SH_REGISTER_NAMES_INITIALIZER): Add names for FPSCR_MODES_REG and
7806 (REGISTER_NAMES): Adjust.
7807 (SPECIAL_REGISTER_P): Add FPSCR_MODES_REG and FPSCR_STAT_REG.
7808 (FIRST_PSEUDO_REGISTER): Increase to 156.
7809 (DWARF_FRAME_REGISTERS): Define as 153 to keep the original value.
7810 (FIXED_REGISTERS, CALL_USED_REGISTERS): Add FPSCR_MODES_REG and
7812 (REG_CLASS_CONTENTS): Adjust ALL_REGS bit mask to include
7813 FPSCR_MODES_REG and FPSCR_STAT_REG.
7814 (REG_ALLOC_ORDER): Add FPSCR_MODES_REG and FPSCR_STAT_REG.
7816 * config/sh/sh.md (FPSCR_MODES_REG, FPSCR_STAT_REG, FPSCR_PR,
7817 FPSCR_SZ): Add new constants.
7818 (UNSPECV_FPSCR_MODES, UNSPECV_FPSCR_STAT): Add new unspecv constants.
7820 (movpsi): Use TARGET_FPU_ANY condition, invoke gen_fpu_switch.
7821 (fpu_switch): Add use and set of FPSCR_STAT_REG and FPSCR_MODES_REG.
7822 Use TARGET_FPU_ANY condition.
7823 (fpu_switch peephole2): Remove.
7824 (fpu_switch split): Use simple_mem_operand to capture the mem and
7825 adjust split implementation.
7826 (extend_psi_si, truncate_si_psi): New insns.
7827 (toggle_sz, toggle_pr): Use FPSCR_SZ, FPSCR_PR constants. Add
7828 set of FPSCR_MODES_REG.
7830 (push_e, push_4, pop_e, pop_4, movdf_i4, reload_indf__frn, movsf_ie,
7831 reload_insf__frn, force_mode_for_call, calli, calli_tbr_rel,
7832 calli_pcrel, call_pcrel, call_compact, call_compact_rettramp,
7833 call_valuei, call_valuei_tbr_rel, call_valuei_pcrel, call_value_pcrel,
7834 call_value_compact, call_value_compact_rettramp, call,
7835 call_pop_compact, call_pop_compact_rettramp, call_value, sibcalli,
7836 sibcalli_pcrel, sibcalli_thunk, sibcall_pcrel, sibcall_compact,
7837 sibcall, sibcall_valuei, sibcall_valuei_pcrel, sibcall_value_pcrel,
7838 sibcall_value_compact, sibcall_value, call_value_pop_compact,
7839 call_value_pop_compact_rettramp, various unnamed splits):
7840 Replace use of FPSCR_REG with use of FPSCR_MODES_REG. Adjust gen_*
7843 (floatsisf2_i4, *floatsisf2_ie): Merge into floatsisf2_i4.
7844 (fix_truncsfsi2_i4, *fixsfsi): Merge into fix_truncsfsi2_i4.
7845 (cmpgtsf_t, cmpgtsf_t_i4): Merge into cmpgtsf_t.
7846 (cmpeqsf_t, cmpeqsf_t_i4): Merge into cmpeqsf_t.
7847 (ieee_ccmpeqsf_t, *ieee_ccmpeqsf_t_4): Merge into ieee_ccmpeqsf_t.
7849 (udivsi3_i4, divsi3_i4, addsf3_i, subsf3_i, mulsf3_i, fmasf4_i,
7850 *fmasf4, divsf3_i, floatsisf2_i4, fix_truncsfsi2_i4, cmpgtsf_t,
7851 cmpeqsf_t, ieee_ccmpeqsf_t, sqrtsf2_i, rsqrtsf2, fsca, adddf3_i,
7852 subdf3_i, muldf3_i, divdf3_i, floatsidf2_i, fix_truncdfsi2_i,
7853 cmpgtdf_t, cmpeqdf_t, *ieee_ccmpeqdf_t, sqrtdf2_i, extendsfdf2_i4,
7854 truncdfsf2_i4): Replace use of FPSCR_REG with clobber of FPSCR_STAT_REG
7855 and use of FPSCR_MODES_REG. Adjust gen_* function uses.
7857 2014-10-16 Martin Liska <mliska@suse.cz>
7858 Jan Hubicka <hubicka@ucw.cz>
7860 * Makefile.in: New object files included.
7861 * cgraph.c (cgraph_node::dump): New cgraph_node flag icf_merged
7863 (verify_edge_corresponds_to_fndecl): More sensitive verification
7864 of nodes that are merged by IPA ICF.
7865 * cgraph.h (cgraph_node::num_references): New function.
7866 * cgraphunit.c (cgraph_node::expand_thunk): White space fixed.
7867 * common.opt: New options ipa-icf, ipa-icf-functions and
7868 ipa-icf-variables introduced.
7869 * doc/invoke.texi: Documentation of new options introduced.
7870 * ipa-icf-gimple.c: New file.
7871 * ipa-icf-gimple.h: New file.
7872 * ipa-icf.c: New file.
7873 * ipa-icf.h: New file.
7874 * lto-cgraph.c (lto_output_node): Streaming of icf_merged flag added.
7875 (input_overwrite_node): Likewise.
7876 * lto-section-in.c: New icf section added.
7877 * lto-streamer.h (enum lto_section_type): Likewise.
7878 * opts.c (common_handle_option): New option added.
7879 * passes.def: New pass included.
7880 * timevar.def: Time variable for IPA ICF added.
7881 * tree-pass.h: New IPA ICF pass entry point added.
7883 2014-10-16 Richard Biener <rguenther@suse.de>
7885 PR tree-optimization/63168
7886 * tree-cfg.c (gimple_can_merge_blocks_p): Only protect
7887 latches if after merging they are no longer simple.
7888 * cfghooks.c (merge_blocks): Handle merging a latch block
7891 2014-10-16 Alexander Ivchenko <alexander.ivchenko@intel.com>
7892 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
7893 Anna Tikhonova <anna.tikhonova@intel.com>
7894 Ilya Tocar <ilya.tocar@intel.com>
7895 Andrey Turetskiy <andrey.turetskiy@intel.com>
7896 Ilya Verbin <ilya.verbin@intel.com>
7897 Kirill Yukhin <kirill.yukhin@intel.com>
7898 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
7900 * config/i386/sse.md
7901 (define_expand "floatuns<sseintvecmodelower><mode>2"): Extend to
7902 support AVX-512VL instructions.
7904 2014-10-16 DJ Delorie <dj@redhat.com>
7906 * tree-core.h: Fix comment to not assume pointers are multiples of
7909 2014-10-15 Tom Tromey <tromey@redhat.com>
7911 * timevar.h (class auto_timevar): New class.
7913 2014-10-15 Uros Bizjak <ubizjak@gmail.com>
7916 * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
7917 Remove the second alternative.
7918 (regprefix): Remove mode attribute.
7919 (atomic_compare_and_swap<mode>): Do not fixup operand 2.
7920 * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): Remove.
7923 2013-11-05 Ian Lance Taylor <iant@google.com>
7925 * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
7926 If possible, add .cfi directives to record change to bx.
7927 * config/i386/i386.c (ix86_emit_cfi): New function.
7928 * config/i386/i386-protos.h (ix86_emit_cfi): Declare.
7930 2014-10-15 Jan Hubicka <hubicka@ucw.cz>
7933 * cgraphclones.c (duplicate_thunk_for_node): Get body to have args
7935 * lto-streamer-out.c (lto_output): Handle correctly thunks that was born
7938 2014-10-15 Vladimir Makarov <vmakarov@redhat.com>
7940 PR rtl-optimization/63448
7941 * lra-int.h (LRA_MAX_CONSTRAINT_ITERATION_NUMBER): Remove.
7942 (LRA_MAX_ASSIGNMENT_ITERATION_NUMBER): New.
7943 (LRA_MAX_INHERITANCE_PASSES): Use it.
7944 (lra_constraint_iter_after_spill): Remove.
7945 (lra_assignment_iter): New.
7946 (lra_assignment_iter_after_spill): New.
7947 * lra-assigns.c (lra_assignment_iter): New.
7948 (lra_assignment_iter_after_spill): New.
7949 (former_reload_pseudo_spill_p): New.
7950 (spill_for): Set up former_reload_pseudo_spill_p.
7951 (setup_live_pseudos_and_spill_after_risky): Ditto.
7952 (assign_by_spills): Ditto.
7953 (lra_assign): Increment lra_assignment_iter. Print the iteration
7954 number. Reset former_reload_pseudo_spill_p. Check
7955 lra_assignment_iter_after_spill.
7956 * lra.c (lra): Remove lra_constraint_iter_after_spill. Initialize
7957 lra_assignment_iter and lra_assignment_iter_after_spill.
7958 * lra-constraints.c (lra_constraint_iter_after_spill): Remove.
7959 (lra_constraints): Remove code with
7960 lra_assignment_iter_after_spill.
7962 2014-10-15 Teresa Johnson <tejohnson@google.com>
7965 * tree-ssa-threadupdate.c (recompute_probabilities): Better
7968 2014-10-15 Renlin Li <renlin.li@arm.com>
7970 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
7971 __ARM_BIG_ENDIAN, __ARM_SIZEOF_MINIMAL_ENUM. Add __ARM_64BIT_STATE,
7972 __ARM_ARCH_ISA_A64, __ARM_FEATURE_CLZ, __ARM_FEATURE_IDIV,
7973 __ARM_FEATURE_UNALIGNED, __ARM_PCS_AAPCS64, __ARM_SIZEOF_WCHAR_T.
7975 2014-10-15 Richard Biener <rguenther@suse.de>
7977 * gimple-fold.c (gimple_fold_call): Properly keep virtual
7978 SSA form up-to-date when devirtualizing a call to
7979 __builtin_unreachable and avoid fixing up EH info here.
7981 2014-10-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
7982 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
7983 Anna Tikhonova <anna.tikhonova@intel.com>
7984 Ilya Tocar <ilya.tocar@intel.com>
7985 Andrey Turetskiy <andrey.turetskiy@intel.com>
7986 Ilya Verbin <ilya.verbin@intel.com>
7987 Kirill Yukhin <kirill.yukhin@intel.com>
7988 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
7990 * config/i386/sse.md (define_mode_iterator VI_AVX2): Extend
7991 to support AVX-512BW.
7992 (define_mode_iterator VI124_AVX2_48_AVX512F): Remove.
7993 (define_expand "<plusminus_insn><mode>3"): Remove masking support.
7994 (define_insn "*<plusminus_insn><mode>3"): Ditto.
7995 (define_expand "<plusminus_insn><VI48_AVX512VL:mode>3_mask"): New.
7996 (define_expand "<plusminus_insn><VI12_AVX512VL:mode>3_mask"): Ditto.
7997 (define_insn "*<plusminus_insn><VI48_AVX512VL:mode>3_mask"): Ditto.
7998 (define_insn "*<plusminus_insn><VI12_AVX512VL:mode>3_mask"): Ditto.
7999 (define_expand "<sse2_avx2>_andnot<mode>3"): Remove masking support.
8000 (define_insn "*andnot<mode>3"): Ditto.
8001 (define_expand "<sse2_avx2>_andnot<VI48_AVX512VL:mode>3_mask"): New.
8002 (define_expand "<sse2_avx2>_andnot<VI12_AVX512VL:mode>3_mask"): Ditto.
8003 (define_insn "*andnot<VI48_AVX512VL:mode>3<mask_name>"): Ditto.
8004 (define_insn "*andnot<VI12_AVX512VL:mode>3<mask_name>"): Ditto.
8005 (define_insn "*abs<mode>2"): Remove masking support.
8006 (define_insn "abs<VI48_AVX512VL:mode>2_mask"): New.
8007 (define_insn "abs<VI12_AVX512VL:mode>2_mask"): Ditto.
8008 (define_expand "abs<mode>2"): Use VI_AVX2 mode iterator.
8010 2014-10-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
8011 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8012 Anna Tikhonova <anna.tikhonova@intel.com>
8013 Ilya Tocar <ilya.tocar@intel.com>
8014 Andrey Turetskiy <andrey.turetskiy@intel.com>
8015 Ilya Verbin <ilya.verbin@intel.com>
8016 Kirill Yukhin <kirill.yukhin@intel.com>
8017 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8019 * config/i386/predicates.md (define_predicate "constm1_operand"): New.
8020 * config/i386/sse.md
8021 (define_c_enum "unspec"): Add UNSPEC_CVTINT2MASK.
8022 (define_insn "<avx512>_cvt<ssemodesuffix>2mask<VI12_AVX512VL:mode>"): New.
8023 (define_insn "<avx512>_cvt<ssemodesuffix>2mask<VI48_AVX512VL:mode>"): Ditto.
8024 (define_expand "<avx512>_cvtmask2<ssemodesuffix><VI12_AVX512VL:mode>"): Ditto.
8025 (define_insn "*<avx512>_cvtmask2<ssemodesuffix><VI12_AVX512VL:mode>"): Ditto.
8026 (define_expand "<avx512>_cvtmask2<ssemodesuffix><VI48_AVX512VL:mode>"): Ditto.
8027 (define_insn "*<avx512>_cvtmask2<ssemodesuffix><VI48_AVX512VL:mode>"): Ditto.
8029 2014-10-15 Renlin Li <renlin.li@arm.com>
8031 * config/aarch64/aarch64.h (ARM_DEFAULT_PCS, arm_pcs_variant): Delete.
8033 2014-10-15 Jakub Jelinek <jakub@redhat.com>
8035 * tree-ssa-reassoc.c (optimize_range_tests_diff): Perform
8036 MINUS_EXPR in unsigned type to avoid undefined behavior.
8038 2014-10-15 Eric Botcazou <ebotcazou@adacore.com>
8040 * stor-layout.c (self_referential_size): Do not promote arguments.
8042 2014-10-15 Marek Polacek <polacek@redhat.com>
8044 * doc/invoke.texi: Update to reflect that GNU11 is the default
8046 * c-common.h (c_language_kind): Update comment.
8048 2014-10-15 Richard Biener <rguenther@suse.de>
8050 * hash-table.c: Include bconfig.h if building for the host.
8051 * hash-table.h: Do not include ggc.h on the host but just declare
8052 a few ggc allocation templates.
8054 2014-10-15 Joern Rennecke <joern.rennecke@embecosm.com>
8055 Jeff Law <law@redhat.com>
8057 * caller-save.c (replace_reg_with_saved_mem): If saved_mode covers
8058 multiple hard registers, use smaller mode derived from MODE.
8060 2014-10-15 Andreas Schwab <schwab@suse.de>
8062 * explow.c (convert_memory_address_addr_space_1): Mark in_const
8063 as ATTRIBUTE_UNUSED.
8065 2014-10-14 Jan Hubicka <hubicka@ucw.cz>
8067 * loop-unroll.c: (decide_unrolling_and_peeling): Rename to
8068 (decide_unrolling): ... this one.
8069 (peel_loops_completely): Remove.
8070 (decide_peel_simple): Remove.
8071 (decide_peel_once_rolling): Remove.
8072 (decide_peel_completely): Remove.
8073 (peel_loop_simple): Remove.
8074 (peel_loop_completely): Remove.
8075 (unroll_and_peel_loops): Rename to ...
8076 (unroll_loops): ... this one; handle only unrolling.
8077 * cfgloop.h (lpt_dec): Remove LPT_PEEL_COMPLETELY and
8080 (unroll_and_peel_loops): Remove.
8081 (unroll_loops): New.
8082 * passes.def: Replace
8083 pass_rtl_unroll_and_peel_loops by pass_rtl_unroll_loops.
8084 * loop-init.c (gate_rtl_unroll_and_peel_loops,
8085 rtl_unroll_and_peel_loops): Rename to ...
8086 (gate_rtl_unroll_loops, rtl_unroll_loops): ... these; update.
8087 (pass_rtl_unroll_and_peel_loops): Rename to ...
8088 (pass_rtl_unroll_loops): ... this one.
8089 * tree-pass.h (make_pass_rtl_unroll_and_peel_loops): Remove.
8090 (make_pass_rtl_unroll_loops): New.
8091 * tree-ssa-loop-ivcanon.c: (estimated_peeled_sequence_size, try_peel_loop): New.
8092 (canonicalize_loop_induction_variables): Update.
8094 2014-10-14 Max Filippov <jcmvbkbc@gmail.com>
8096 * config/xtensa/xtensa.h (TARGET_HARD_FLOAT_POSTINC): new macro.
8097 * config/xtensa/xtensa.md (*lsiu, *ssiu): add dependency on
8098 !TARGET_HARD_FLOAT_POSTINC.
8099 (*lsip, *ssip): new instructions.
8101 2014-10-14 Max Filippov <jcmvbkbc@gmail.com>
8103 * config/xtensa/xtensa.md (divsf3, *recipsf2, sqrtsf2, *rsqrtsf2):
8106 2014-10-14 Andrew Pinski <apinski@cavium.com>
8108 * explow.c (convert_memory_address_addr_space): Rename to ...
8109 (convert_memory_address_addr_space_1): This. Add in_const argument.
8110 Inside a CONST RTL, permute the conversion and addition of constant
8111 for zero and sign extended pointers.
8112 (convert_memory_address_addr_space): New function.
8114 2014-10-14 Andrew Pinski <apinski@cavium.com>
8117 2011-08-19 H.J. Lu <hongjiu.lu@intel.com>
8120 * explow.c (convert_memory_address_addr_space): Also permute the
8121 conversion and addition of constant for zero-extend.
8123 2014-10-14 DJ Delorie <dj@redhat.com>
8125 * config/msp430/msp430-modes.def (PSI): Add.
8127 * config/msp430/msp430-protos.h (msp430_hard_regno_nregs_has_padding): New.
8128 (msp430_hard_regno_nregs_with_padding): New.
8129 * config/msp430/msp430.c (msp430_scalar_mode_supported_p): New.
8130 (msp430_hard_regno_nregs_has_padding): New.
8131 (msp430_hard_regno_nregs_with_padding): New.
8132 (msp430_unwind_word_mode): Use PSImode instead of SImode.
8133 (msp430_addr_space_legitimate_address_p): New.
8134 (msp430_asm_integer): New.
8135 (msp430_init_dwarf_reg_sizes_extra): New.
8136 (msp430_print_operand): Use X suffix for PSImode even in small model.
8137 * config/msp430/msp430.h (POINTER_SIZE): Use 20 bits, not 32.
8138 (PTR_SIZE): ...but 4 bytes for EH.
8139 (SIZE_TYPE): Use __int20.
8140 (PTRDIFF_TYPE): Likewise.
8141 (INCOMING_FRAME_SP_OFFSET): Adjust.
8142 * config/msp430/msp430.md (movqi_topbyte): New.
8143 (movpsi): Use fixed suffixes.
8144 (movsipsi2): Enable for 430X, not large model.
8145 (extendhipsi2): Likewise.
8146 (zero_extendhisi2): Likewise.
8147 (zero_extendhisipsi2): Likewise.
8148 (extend_and_shift1_hipsi2): Likewise.
8149 (extendpsisi2): Likewise.
8150 (*bitbranch<mode>4_z): Fix suffix logic.
8152 2014-10-14 Eric Botcazou <ebotcazou@adacore.com>
8155 * tree-eh.c (tree_could_trap) <FUNCTION_DECL>: Revamp and really
8156 do not choke on null node.
8157 <VAR_DECL>: Likewise.
8159 2014-10-14 DJ Delorie <dj@redhat.com>
8161 * machmode.h (int_n_data_t): New.
8162 (int_n_enabled_p): New.
8164 * tree.c (int_n_enabled_p): New.
8166 (make_or_reuse_type): Check for all __intN types, not just
8168 (build_common_tree_nodes): Likewise. Also fill in integer_typs[]
8170 * tree.h (int128_integer_type_node): Remove.
8171 (int128_unsigned_type_node): Remove.
8172 (int_n_trees_t): New.
8173 (int_n_enabled_p): New.
8175 * toplev.c (standard_type_bitsize): New.
8176 (do_compile): Check which __intN types are enabled for the current
8178 * builtin-types.def (BT_INT128): Remove.
8179 (BT_UINT128): Remove.
8180 * machmode.def: Add macro to create __int128 for all targets.
8181 * stor-layout.c (mode_for_size): Support __intN types.
8182 (smallest_mode_for_size): Likewise.
8183 (initialize_sizetypes): Support __intN types.
8184 * genmodes.c (struct mode_data): Add int_n field.
8185 (blank_mode): Likewise.
8188 (emit_insn_modes_h): Count __intN entries and define
8190 (emit_mode_int_n): New.
8191 (emit_insn_modes_c): Call it.
8192 * gimple.c (gimple_signed_or_unsigned_type): Check for all __intN
8193 types, not just __int128.
8194 * tree-core.h (integer_type_kind): Remove __int128-specific
8195 entries, reserve spots for __intN entries.
8197 * config/msp430/msp430-modes.def (PSI): Add.
8199 2014-10-14 Kito Cheng <kito@0xlab.org>
8201 * ira.c: Fix typo in comment.
8203 * ira-build.c: Ditto.
8204 * ira-color.c: Ditto.
8205 * ira-emit.c: Ditto.
8207 * ira-lives.c: Ditto.
8209 2014-10-14 Uros Bizjak <ubizjak@gmail.com>
8211 PR rtl-optimization/63475
8212 * alias.c (true_dependence_1): Always use get_addr to extract
8213 true address operands from x_addr and mem_addr. Use extracted
8214 address operands to check for references with alignment ANDs.
8215 Use extracted address operands with find_base_term and
8216 base_alias_check. For noncanonicalized operands call canon_rtx with
8217 extracted address operand.
8218 (write_dependence_1): Ditto.
8219 (may_alias_p): Ditto. Remove unused calls to canon_rtx.
8221 2014-10-14 Evgeny Stupachenko <evstupac@gmail.com>
8224 * config/i386/i386.c (ix86_expand_split_stack_prologue): Make
8227 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8228 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8229 Anna Tikhonova <anna.tikhonova@intel.com>
8230 Ilya Tocar <ilya.tocar@intel.com>
8231 Andrey Turetskiy <andrey.turetskiy@intel.com>
8232 Ilya Verbin <ilya.verbin@intel.com>
8233 Kirill Yukhin <kirill.yukhin@intel.com>
8234 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8236 * config/i386/i386.c
8237 (ix86_expand_sse_movcc): Handle V64QI and V32HI mode.
8238 (ix86_expand_int_vcond): Ditto.
8240 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8241 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8242 Anna Tikhonova <anna.tikhonova@intel.com>
8243 Ilya Tocar <ilya.tocar@intel.com>
8244 Andrey Turetskiy <andrey.turetskiy@intel.com>
8245 Ilya Verbin <ilya.verbin@intel.com>
8246 Kirill Yukhin <kirill.yukhin@intel.com>
8247 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8249 * config/i386/i386.c
8250 (emit_reduc_half): Handle V64QI and V32HI mode.
8251 * config/i386/sse.md
8252 (define_mode_iterator VI_AVX512BW): New.
8253 (define_expand "reduc_<code>_<mode>"): Use VI512_48F_12BW.
8255 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8256 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8257 Anna Tikhonova <anna.tikhonova@intel.com>
8258 Ilya Tocar <ilya.tocar@intel.com>
8259 Andrey Turetskiy <andrey.turetskiy@intel.com>
8260 Ilya Verbin <ilya.verbin@intel.com>
8261 Kirill Yukhin <kirill.yukhin@intel.com>
8262 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8264 * config/i386/sse.md
8265 (define_mode_iterator REDUC_SMINMAX_MODE): Add V64QI and V32HI modes.
8267 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8268 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8269 Anna Tikhonova <anna.tikhonova@intel.com>
8270 Ilya Tocar <ilya.tocar@intel.com>
8271 Andrey Turetskiy <andrey.turetskiy@intel.com>
8272 Ilya Verbin <ilya.verbin@intel.com>
8273 Kirill Yukhin <kirill.yukhin@intel.com>
8274 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8276 * config/i386/i386.c
8277 (ix86_expand_vector_logical_operator): Handle V16SF and V8DF modes.
8278 * config/i386/sse.md
8279 (define_mode_iterator VI): Add V64QI and V32HI modes.
8281 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8282 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8283 Anna Tikhonova <anna.tikhonova@intel.com>
8284 Ilya Tocar <ilya.tocar@intel.com>
8285 Andrey Turetskiy <andrey.turetskiy@intel.com>
8286 Ilya Verbin <ilya.verbin@intel.com>
8287 Kirill Yukhin <kirill.yukhin@intel.com>
8288 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8290 * config/i386/sse.md (define_mode_attr avx2_avx512f): Remove.
8292 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8293 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8294 Anna Tikhonova <anna.tikhonova@intel.com>
8295 Ilya Tocar <ilya.tocar@intel.com>
8296 Andrey Turetskiy <andrey.turetskiy@intel.com>
8297 Ilya Verbin <ilya.verbin@intel.com>
8298 Kirill Yukhin <kirill.yukhin@intel.com>
8299 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8301 * config/i386/sse.md
8302 (define_insn "*sse4_1_<code><mode>3<mask_name>"): Add masking.
8303 (define_insn "*sse4_1_<code><mode>3<mask_name>"): Ditto.
8305 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8306 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8307 Anna Tikhonova <anna.tikhonova@intel.com>
8308 Ilya Tocar <ilya.tocar@intel.com>
8309 Andrey Turetskiy <andrey.turetskiy@intel.com>
8310 Ilya Verbin <ilya.verbin@intel.com>
8311 Kirill Yukhin <kirill.yukhin@intel.com>
8312 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8314 * config/i386/sse.md
8315 (define_insn "avx512bw_umulhrswv32hi3<mask_name>"): New.
8316 (define_expand "<ssse3_avx2>_pmulhrsw<mode>3_mask"): Ditto.
8318 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8319 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8320 Anna Tikhonova <anna.tikhonova@intel.com>
8321 Ilya Tocar <ilya.tocar@intel.com>
8322 Andrey Turetskiy <andrey.turetskiy@intel.com>
8323 Ilya Verbin <ilya.verbin@intel.com>
8324 Kirill Yukhin <kirill.yukhin@intel.com>
8325 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8327 * config/i386/sse.md
8328 (define_c_enum "unspec"): Add UNSPEC_PMADDWD512.
8329 (define_mode_iterator VI2_AVX2): Add V32HI mode.
8330 (define_expand "mul<mode>3<mask_name>"): Add masking.
8331 (define_insn "*mul<mode>3<mask_name>"): Ditto.
8332 (define_expand "<s>mul<mode>3_highpart<mask_name>"): Ditto.
8333 (define_insn "*<s>mul<mode>3_highpart<mask_name>"): Ditto.
8334 (define_insn "avx512bw_pmaddwd512<mode><mask_name>"): New.
8335 (define_mode_attr SDOT_PMADD_SUF): Ditto.
8336 (define_expand "sdot_prod<mode>"): Add <SDOT_PMADD_SUF>.
8337 (define_insn "<sse2_avx2>_packssdw<mask_name>"): Add masking.
8338 (define_insn "*<ssse3_avx2>_pmulhrsw<mode>3<mask_name>"): Ditto.
8339 (define_insn "avx2_packusdw"): Delete.
8340 (define_insn "sse4_1_packusdw"): Ditto.
8341 (define_insn "<sse4_1_avx2>_packusdw<mask_name>"): New.
8343 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8344 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8345 Anna Tikhonova <anna.tikhonova@intel.com>
8346 Ilya Tocar <ilya.tocar@intel.com>
8347 Andrey Turetskiy <andrey.turetskiy@intel.com>
8348 Ilya Verbin <ilya.verbin@intel.com>
8349 Kirill Yukhin <kirill.yukhin@intel.com>
8350 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8352 * config/i386/sse.md
8353 (define_insn "vec_dup<mode>"): Update constraints.
8355 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8356 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8357 Anna Tikhonova <anna.tikhonova@intel.com>
8358 Ilya Tocar <ilya.tocar@intel.com>
8359 Andrey Turetskiy <andrey.turetskiy@intel.com>
8360 Ilya Verbin <ilya.verbin@intel.com>
8361 Kirill Yukhin <kirill.yukhin@intel.com>
8362 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8364 * config/i386/sse.md
8365 (define_mode_iterator SSESCALARMODE): Add V4TI mode.
8366 (define_insn "<ssse3_avx2>_palignr<mode>_mask"): New.
8367 (define_insn "<ssse3_avx2>_palignr<mode>"): Add EVEX version.
8369 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8370 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8371 Anna Tikhonova <anna.tikhonova@intel.com>
8372 Ilya Tocar <ilya.tocar@intel.com>
8373 Andrey Turetskiy <andrey.turetskiy@intel.com>
8374 Ilya Verbin <ilya.verbin@intel.com>
8375 Kirill Yukhin <kirill.yukhin@intel.com>
8376 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8378 * config/i386/sse.md
8379 (define_expand "mul<mode>3<mask_name>"): Add masking.
8381 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8382 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8383 Anna Tikhonova <anna.tikhonova@intel.com>
8384 Ilya Tocar <ilya.tocar@intel.com>
8385 Andrey Turetskiy <andrey.turetskiy@intel.com>
8386 Ilya Verbin <ilya.verbin@intel.com>
8387 Kirill Yukhin <kirill.yukhin@intel.com>
8388 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8390 * config/i386/sse.md
8391 (define_insn "<sse2_avx2>_packsswb<mask_name>"): Add masking.
8392 (define_insn "<sse2_avx2>_packuswb<mask_name>"): Ditto.
8394 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8395 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8396 Anna Tikhonova <anna.tikhonova@intel.com>
8397 Ilya Tocar <ilya.tocar@intel.com>
8398 Andrey Turetskiy <andrey.turetskiy@intel.com>
8399 Ilya Verbin <ilya.verbin@intel.com>
8400 Kirill Yukhin <kirill.yukhin@intel.com>
8401 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8403 * config/i386/sse.md
8404 (define_c_enum "unspec"): Add UNSPEC_DBPSADBW, UNSPEC_PMADDUBSW512.
8405 (define_insn "avx512bw_pmaddubsw512<mode><mask_name>"): New.
8406 (define_insn "<mask_codefor>avx512bw_dbpsadbw<mode><mask_name>"):
8409 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8410 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8411 Anna Tikhonova <anna.tikhonova@intel.com>
8412 Ilya Tocar <ilya.tocar@intel.com>
8413 Andrey Turetskiy <andrey.turetskiy@intel.com>
8414 Ilya Verbin <ilya.verbin@intel.com>
8415 Kirill Yukhin <kirill.yukhin@intel.com>
8416 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8418 * config/i386/sse.md
8419 (define_insn "<sse>_andnot<VF_128_256:mode>3<mask_name>"): Add masking,
8420 use VF_128_256 mode iterator and update assembler emit code.
8421 (define_insn "<sse>_andnot<VF_512:mode>3<mask_name>"): New.
8422 (define_expand "<any_logic:code><VF_128_256:mode>3<mask_name>"):
8423 Add masking, use VF_128_256 mode iterator.
8424 (define_expand "<any_logic:code><VF_512:mode>3<mask_name>"): New.
8425 (define_insn "*<any_logic:code><VF_128_256:mode>3<mask_name>"):
8426 Add masking, use VF_128_256 mode iterator and update assembler emit
8428 (define_insn "*<any_logic:code><VF_512:mode>3<mask_name>"): New.
8429 (define_mode_attr avx512flogicsuff): Delete.
8430 (define_insn "avx512f_<logic><mode>"): Ditto.
8431 (define_insn "*andnot<mode>3<mask_name>"): Update MODE_XI, MODE_OI,
8433 (define_insn "<mask_codefor><code><mode>3<mask_name>"): Ditto.
8435 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8436 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8437 Anna Tikhonova <anna.tikhonova@intel.com>
8438 Ilya Tocar <ilya.tocar@intel.com>
8439 Andrey Turetskiy <andrey.turetskiy@intel.com>
8440 Ilya Verbin <ilya.verbin@intel.com>
8441 Kirill Yukhin <kirill.yukhin@intel.com>
8442 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8444 * config/i386/sse.md
8445 (define_mode_iterator VI128_128 [V16QI V8HI V2DI]): Delete.
8446 (define_expand "vashr<mode>3<mask_name>"): Add masking,
8447 use VI12_128 mode iterator.
8448 (define_expand "ashrv2di3<mask_name>"): New.
8450 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8451 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8452 Anna Tikhonova <anna.tikhonova@intel.com>
8453 Ilya Tocar <ilya.tocar@intel.com>
8454 Andrey Turetskiy <andrey.turetskiy@intel.com>
8455 Ilya Verbin <ilya.verbin@intel.com>
8456 Kirill Yukhin <kirill.yukhin@intel.com>
8457 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8459 * config/i386/i386.c
8460 (ix86_expand_args_builtin): Handle CODE_FOR_avx512vl_cmpv4di3_mask,
8461 CODE_FOR_avx512vl_cmpv8si3_mask, CODE_FOR_avx512vl_ucmpv4di3_mask,
8462 CODE_FOR_avx512vl_ucmpv8si3_mask, CODE_FOR_avx512vl_cmpv2di3_mask,
8463 CODE_FOR_avx512vl_cmpv4si3_mask, CODE_FOR_avx512vl_ucmpv2di3_mask,
8464 CODE_FOR_avx512vl_ucmpv4si3_mask.
8465 * config/i386/sse.md
8466 (define_insn "avx512f_ucmp<mode>3<mask_scalar_merge_name>"): Delete.
8467 "<avx512>_ucmp<VI12_AVX512VL:mode>3<mask_scalar_merge_name>"):New.
8469 "<avx512>_ucmp<VI48_AVX512VL:mode>3<mask_scalar_merge_name>"):Ditto.
8470 (define_expand "<avx512>_eq<mode>3<mask_scalar_merge_name>"): Ditto.
8471 (define_insn "<avx512>_eq<mode>3<mask_scalar_merge_name>_1"): Ditto.
8472 (define_insn "<avx512>_gt<mode>3<mask_scalar_merge_name>"): Ditto.
8473 (define_insn "<avx512>_testm<mode>3<mask_scalar_merge_name>"): Ditto.
8474 (define_insn "<avx512>_testnm<mode>3<mask_scalar_merge_name>"): Ditto.
8476 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8477 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8478 Anna Tikhonova <anna.tikhonova@intel.com>
8479 Ilya Tocar <ilya.tocar@intel.com>
8480 Andrey Turetskiy <andrey.turetskiy@intel.com>
8481 Ilya Verbin <ilya.verbin@intel.com>
8482 Kirill Yukhin <kirill.yukhin@intel.com>
8483 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8485 * config/i386/sse.md
8486 (define_expand "vec_widen_umult_even_v8si<mask_name>"): Add masking.
8487 (define_insn "*vec_widen_umult_even_v8si<mask_name>"): Ditto.
8488 (define_expand "vec_widen_umult_even_v4si<mask_name>"): Ditto.
8489 (define_insn "*vec_widen_umult_even_v4si<mask_name>"): Ditto.
8490 (define_expand "vec_widen_smult_even_v8si<mask_name>"): Ditto.
8491 (define_insn "*vec_widen_smult_even_v8si<mask_name>"): Ditto.
8492 (define_expand "sse4_1_mulv2siv2di3<mask_name>"): Ditto.
8493 (define_insn "*sse4_1_mulv2siv2di3<mask_name>"): Ditto.
8494 (define_insn "avx512dq_mul<mode>3<mask_name>"): New.
8496 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
8497 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
8498 Anna Tikhonova <anna.tikhonova@intel.com>
8499 Ilya Tocar <ilya.tocar@intel.com>
8500 Andrey Turetskiy <andrey.turetskiy@intel.com>
8501 Ilya Verbin <ilya.verbin@intel.com>
8502 Kirill Yukhin <kirill.yukhin@intel.com>
8503 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
8505 * config/i386/sse.md
8506 (define_insn "avx512f_blendm<mode>"): Delete.
8507 (define_insn "<avx512>_blendm<VI48_AVX512VL:mode>"): New.
8508 (define_insn "<avx512>_blendm<VI12_AVX512VL:mode>"): Ditto..
8509 (define_mode_attr cmp_imm_predicate): Add V8SF, V4DF, V8SI, V4DI, V4SF,
8510 V2DF, V4SI, V2DI, V32HI, V64QI, V16HI, V32QI, V8HI, V16QI modes.
8512 "avx512f_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>"):
8515 "<avx512>_cmp<VI48_AVX512VL:mode>3<mask_scalar_merge_name><round_saeonly_name>"):
8518 "<avx512>_cmp<VI12_AVX512VL:mode>3<mask_scalar_merge_name><round_saeonly_name>"):
8520 (define_insn "<mask_codefor>avx512f_vec_dup<mode><mask_name>"): Delete.
8521 (define_insn "<avx512>_vec_dup<V48_AVX512VL:mode><mask_name>"): New.
8522 (define_insn "<avx512>_vec_dup<V12_AVX512VL:mode><mask_name>"): Ditto.
8523 (define_insn "<mask_codefor>avx512f_vec_dup_gpr<mode><mask_name>"):
8526 "<mask_codefor><avx512>_vec_dup_gpr<VI48_AVX512VL:mode><mask_name>"):
8529 "<mask_codefor><avx512>_vec_dup_gpr<VI12_AVX512VL:mode><mask_name>"):
8531 (define_insn·"<mask_codefor>avx512f_vec_dup_mem<mode><mask_name>"):
8534 "<mask_codefor><avx512>_vec_dup_mem<VI48_AVX512VL:mode><mask_name>"):
8537 "<mask_codefor><avx512>_vec_dup_mem<VI12_AVX512VL:mode><mask_name>"):
8540 2014-10-14 Richard Biener <rguenther@suse.de>
8542 PR tree-optimization/63512
8543 * tree-ssa-pre.c (create_expression_by_pieces): Mark stmts
8546 2014-10-14 Oleg Endo <olegendo@gcc.gnu.org>
8549 * config/sh/sh.md (negsf2, negsf2_i, negdf2, negdf2_i, abssf2,
8550 abssf2_i, absdf2, absdf2_i): Remove fp_mode attribute. Remove use
8552 (negsf2_i): Rename to *negsf2_i.
8553 (abssf2_i): Rename to *abssf2_i.
8554 (negdf2_i): Rename to *negdf2_i.
8555 (absdf2_i): Rename to *absdf2_i.
8557 2014-10-14 Felix Yang <felix.yang@huawei.com>
8558 Jeff Law <law@redhat.com>
8560 * ira.c (struct equivalence): Change member "is_arg_equivalence" and
8561 "replace" into boolean bitfields; turn member "loop_depth" into a short
8562 integer; add new member "no_equiv" and "reserved".
8563 (no_equiv): Set no_equiv of struct equivalence if register is marked
8564 as having no known equivalence.
8565 (update_equiv_regs): Check all definitions for a multiple-set
8566 register to make sure that the RHS have the same value.
8568 2014-10-13 Richard Henderson <rth@redhat.com>
8570 * combine-stack-adj.c (no_unhandled_cfa): New.
8571 (maybe_merge_cfa_adjust): New.
8572 (combine_stack_adjustments_for_block): Use them.
8574 2014-10-13 Aldy Hernandez <aldyh@redhat.com>
8576 * Makefile.in (TAGS): Tag ../include files.
8578 2014-10-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8580 * config/rs6000/rs6000.h (DBX_REGISTER_NUMBER): Pass format argument
8581 to rs6000_dbx_register_number.
8582 (DWARF_FRAME_REGNUM): Redefine as identity map.
8583 (DWARF2_FRAME_REG_OUT): Call rs6000_dbx_register_number.
8584 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Update.
8585 * config/rs6000/rs6000.c (rs6000_dbx_register_number): Add format
8586 argument to handle .debug_frame and .eh_frame directly. Always
8587 translate SPE high register numbers. Add special treatment for CR,
8588 but only in .debug_frame. Respect RS6000_USE_DWARF_NUMBERING.
8590 * config/rs6000/sysv.h (DBX_REGISTER_NUMBER): Do not undefine.
8591 * config/rs6000/freebsd.h (DBX_REGISTER_NUMBER): Remove.
8592 (RS6000_USE_DWARF_NUMBERING): Define.
8593 * config/rs6000/freebsd64.h (DBX_REGISTER_NUMBER): Remove.
8594 (RS6000_USE_DWARF_NUMBERING): Define.
8595 * config/rs6000/netbsd.h (DBX_REGISTER_NUMBER): Remove.
8596 (RS6000_USE_DWARF_NUMBERING): Define.
8597 * config/rs6000/lynx.h (DBX_REGISTER_NUMBER): Remove.
8598 (RS6000_USE_DWARF_NUMBERING): Define.
8599 * config/rs6000/aix.h (RS6000_USE_DWARF_NUMBERING): Define.
8600 * config/rs6000/darwin.h (RS6000_USE_DWARF_NUMBERING): Define.
8602 2014-10-13 Evgeny Stupachenko <evstupac@gmail.com>
8604 * config/i386/i386.c (ix86_address_cost): Lower cost for
8605 when address contains GOT register.
8607 2014-10-13 Ilya Enkovich <ilya.enkovich@intel.com>
8608 Vladimir Makarov <vmakarov@redhat.com>
8612 PR rtl-optimization/55458
8613 * config/i386/i386.c (ix86_use_pseudo_pic_reg): New.
8614 (ix86_init_pic_reg): New.
8615 (ix86_select_alt_pic_regnum): Add check on pseudo register.
8616 (ix86_save_reg): Likewise.
8617 (ix86_expand_prologue): Remove PIC register initialization
8618 now performed in ix86_init_pic_reg.
8619 (ix86_output_function_epilogue): Add check on pseudo register.
8620 (set_pic_reg_ever_alive): New.
8621 (legitimize_pic_address): Replace df_set_regs_ever_live with new
8622 set_pic_reg_ever_alive.
8623 (legitimize_tls_address): Likewise.
8624 (ix86_pic_register_p): New check.
8625 (ix86_delegitimize_address): Add check on pseudo register.
8626 (ix86_expand_call): Insert move from pseudo PIC register to ABI
8627 defined REAL_PIC_OFFSET_TABLE_REGNUM.
8628 (TARGET_INIT_PIC_REG): New.
8629 (TARGET_USE_PSEUDO_PIC_REG): New.
8630 * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Return INVALID_REGNUM
8631 if pic_offset_table_rtx exists.
8632 * doc/tm.texi.in (TARGET_USE_PSEUDO_PIC_REG, TARGET_INIT_PIC_REG):
8634 * doc/tm.texi: Regenerate.
8635 * function.c (assign_parms): Generate pseudo register for PIC.
8636 * init-regs.c (initialize_uninitialized_regs): Ignor pseudo PIC
8638 * ira-color.c (color_pass): Add check on pseudo register.
8639 * ira-emit.c (change_loop): Don't create copies for PIC pseudo
8641 * ira.c (split_live_ranges_for_shrink_wrap): Add check on pseudo
8643 (ira): Add target specific PIC register initialization.
8644 (do_reload): Keep PIC pseudo register.
8645 * lra-assigns.c (spill_for): Add checks on pseudo register.
8646 * lra-constraints.c (contains_symbol_ref_p): New.
8647 (lra_constraints): Enable lra risky transformations when PIC is pseudo
8649 * shrink-wrap.c (try_shrink_wrapping): Add check on pseudo register.
8650 * target.def (use_pseudo_pic_reg): New.
8651 (init_pic_reg): New.
8653 2014-10-13 Evgeny Stupachenko <evstupac@gmail.com>
8655 * config/i386/x86-tune.def (X86_TUNE_SSE_PARTIAL_REG_DEPENDENCY):
8656 Remove m_SILVERMONT and m_INTEL from the tune.
8658 2014-10-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8661 * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT
8662 when _HPUX_SOURCE is defined.
8664 2014-10-13 Jan Hubicka <hubicka@ucw.cz>
8666 PR tree-optimization/62127
8667 * tree.c (remap_type_1): When remapping array, remap
8670 2014-10-13 Christophe Lyon <christophe.lyon@linaro.org>
8672 * Makefile.in: (check-%): Update comment, as RUNTESTFLAGS no
8673 longer impact parallelization.
8675 2014-10-13 Jan Hubicka <hubicka@ucw.cz>
8678 * ipa-polymorphic-call.c (extr_type_from_vtbl_ptr_store): Fix pasto.
8680 2014-10-13 Marat Zakirov <m.zakirov@samsung.com>
8682 * asan.c (instrument_derefs): BIT_FIELD_REF added.
8684 2014-10-13 Richard Biener <rguenther@suse.de>
8686 PR tree-optimization/63419
8687 * gimple-fold.h (gimple_convert): New function.
8688 * gimple-fold.c (gimple_convert): Likewise.
8689 * tree-ssa-pre.c (create_expression_by_pieces): Use gimple_convert
8690 to split out required conversions early.
8692 2014-10-13 Richard Sandiford <richard.sandiford@arm.com>
8694 * rtlanal.c (generic_subrtx_iterator <T>::add_subrtxes_to_queue):
8695 Add the parts of an insn in reverse order, with the pattern at
8696 the top of the queue. Detect when we're iterating over a SEQUENCE
8697 pattern and in that case just consider patterns of subinstructions.
8699 2014-10-12 Oleg Endo <olegendo@gcc.gnu.org>
8702 * config/sh/sh-protos (sh_find_equiv_gbr_addr): Use rtx_insn* instead
8704 * config/sh/sh.c (sh_find_equiv_gbr_addr): Use def chains instead of
8706 (sh_find_equiv_gbr_addr): Do nothing if input mem is already a GBR
8707 address. Use def chains to handle GBR clobbering call insns.
8709 2014-10-12 Trevor Saunders <tsaunders@mozilla.com>
8711 * asan.c, cfgloop.c, cfgloop.h, cgraph.c, cgraph.h,
8712 config/darwin.c, config/m32c/m32c.c, config/mep/mep.c,
8713 config/mips/mips.c, config/rs6000/rs6000.c, dwarf2out.c,
8714 function.c, function.h, gimple-ssa.h, libfuncs.h, optabs.c,
8715 output.h, rtl.h, sese.c, symtab.c, tree-cfg.c, tree-dfa.c,
8716 tree-ssa.c, varasm.c: Use hash-table instead of hashtab.
8717 * doc/gty.texi (for_user): Document new option.
8718 * gengtype.c (create_user_defined_type): Don't try to get a struct for
8720 (walk_type): Don't error out on for_user option.
8721 (write_func_for_structure): Emit user marking routines if requested by
8723 (write_local_func_for_structure): Likewise.
8724 (main): Mark types with for_user option as used.
8725 * ggc.h (gt_pch_nx): Add overload for unsigned int.
8726 * hash-map.h (hash_map::hash_entry::pch_nx_helper): AddOverloads.
8727 * hash-table.h (ggc_hasher): New struct.
8728 (hash_table::create_ggc): New function.
8729 (gt_pch_nx): New overload for hash_table.
8731 2014-10-11 Oleg Endo <olegendo@gcc.gnu.org>
8733 * config/sh/sh.h (TARGET_SH4A_ARCH): Remove macro.
8734 * config/sh/sh.h: Replace uses of TARGET_SH4A_ARCH with TARGET_SH4A.
8735 * config/sh/sh.c: Likewise.
8736 * config/sh/sh-mem.cc: Likewise.
8737 * config/sh/sh.md: Likewise.
8738 * config/sh/predicates.md: Likewise.
8739 * config/sh/sync.md: Likewise.
8741 2014-10-11 Martin Liska <mliska@suse.cz>
8744 * cgraphunit.c (symbol_table::process_new_functions): Missing call
8745 for call_cgraph_insertion_hooks added.
8747 2014-10-10 Jakub Jelinek <jakub@redhat.com>
8750 * stor-layout.c (min_align_of_type): Don't decrease alignment
8751 through BIGGEST_FIELD_ALIGNMENT or ADJUST_FIELD_ALIGN if
8752 TYPE_USER_ALIGN is set.
8754 2014-10-10 Uros Bizjak <ubizjak@gmail.com>
8756 PR rtl-optimization/63483
8757 * alias.c (true_dependence_1): Do not exit early for MEM_READONLY_P
8758 references when alignment ANDs are involved.
8759 (write_dependence_p): Ditto.
8760 (may_alias_p): Ditto.
8762 2014-10-10 Marek Polacek <polacek@redhat.com>
8764 * asan.c (pass_sanopt::execute): Handle IFN_UBSAN_OBJECT_SIZE.
8765 * doc/invoke.texi: Document -fsanitize=object-size.
8766 * flag-types.h (enum sanitize_code): Add SANITIZE_OBJECT_SIZE and
8767 or it into SANITIZE_UNDEFINED.
8768 * gimple-fold.c (gimple_fold_call): Optimize IFN_UBSAN_OBJECT_SIZE.
8769 * internal-fn.c (expand_UBSAN_OBJECT_SIZE): New function.
8770 * internal-fn.def (UBSAN_OBJECT_SIZE): Define.
8771 * opts.c (common_handle_option): Handle -fsanitize=object-size.
8772 * ubsan.c: Include tree-object-size.h.
8773 (ubsan_type_descriptor): Call tree_to_uhwi instead of tree_to_shwi.
8774 (ubsan_expand_bounds_ifn): Use false instead of 0.
8775 (ubsan_expand_objsize_ifn): New function.
8776 (instrument_object_size): New function.
8777 (pass_ubsan::execute): Add object size instrumentation.
8778 * ubsan.h (ubsan_expand_objsize_ifn): Declare.
8780 2014-10-10 Richard Henderson <rth@redhat.com>
8783 * shrink-wrap.c (move_insn_for_shrink_wrap): Don't use single_set.
8784 Restrict the set of expressions we're willing to move.
8786 2014-10-10 Jeff Law <law@redhat.com>
8788 * ira.c (struct equivalence): Promote INIT_INSNs field to
8789 an rtx_insn_list. Add comments.
8790 (no_equiv): Promote LIST to an rtx_insn_list. Update
8791 testing for and creating the special marker. Use methods
8792 to extract the insn and next pointers. Promote INSN to an
8794 (update_equiv_regs): Update test for special marker in the
8797 2014-10-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8799 * configure.ac: Add --enable-fix-cortex-a53-835769 option.
8800 * configure: Regenerate.
8801 * config/aarch64/aarch64.c (aarch64_override_options): Handle
8802 TARGET_FIX_ERR_A53_835769_DEFAULT.
8803 * config/aarch64/aarch64.opt (mfix-cortex-a53-835769): Set Init
8805 * doc/install.texi (aarch64*-*-*): Document
8806 new --enable-fix-cortex-a53-835769 option.
8808 2014-10-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8809 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8811 * config/aarch64/aarch64.h (FINAL_PRESCAN_INSN): Define.
8812 (ADJUST_INSN_LENGTH): Define.
8813 * config/aarch64/aarch64.opt (mfix-cortex-a53-835769): New option.
8814 * config/aarch64/aarch64.c (is_mem_p): New function.
8815 (is_memory_op): Likewise.
8816 (aarch64_prev_real_insn): Likewise.
8817 (is_madd_op): Likewise.
8818 (dep_between_memop_and_curr): Likewise.
8819 (aarch64_madd_needs_nop): Likewise.
8820 (aarch64_final_prescan_insn): Likewise.
8821 * doc/invoke.texi (AArch64 Options): Document -mfix-cortex-a53-835769
8822 and -mno-fix-cortex-a53-835769 options.
8824 2014-10-10 Jakub Jelinek <jakub@redhat.com>
8826 PR tree-optimization/63464
8827 * tree-switch-conversion.c (struct case_bit_test): Remove
8828 hi and lo fields, add wide_int mask field.
8829 (emit_case_bit_tests): Add MAXVAL argument, rewrite uses of
8830 hi/lo fields into wide_int mask operations, optimize by pretending
8831 minval to be 0 if maxval is small enough.
8832 (process_switch): Adjust caller.
8834 2014-10-10 Richard Biener <rguenther@suse.de>
8836 PR tree-optimization/63379
8837 * tree-vect-slp.c (vect_get_constant_vectors): Do not compute
8838 a neutral operand for min/max when it is not a reduction chain.
8840 2014-10-10 Richard Biener <rguenther@suse.de>
8842 PR tree-optimization/63476
8843 * tree-ssa-pre.c (struct bb_bitmap_sets): Add vop_on_exit member.
8844 (BB_LIVE_VOP_ON_EXIT): New define.
8845 (create_expression_by_pieces): Assign VUSEs to stmts.
8846 (compute_avail): Track BB_LIVE_VOP_ON_EXIT.
8847 (pass_pre::execute): Assert virtual SSA form is up-to-date
8850 2014-10-10 Eric Botcazou <ebotcazou@adacore.com>
8852 * lra-assigns.c (assign_by_spills): Error out on spill failure.
8854 2014-10-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8856 * pa-polymorphic-call.c (check_stmt_for_type_change): Move
8859 2014-10-09 Richard Biener <rguenther@suse.de>
8861 PR tree-optimization/63380
8862 * tree-ssa-tail-merge.c (stmt_local_def): Exclude stmts that
8865 2014-10-09 Joern Rennecke <joern.rennecke@embecosm.com>
8867 * config/avr/avr.opt (mmcu=): Change to have a string value.
8868 (mn-flash=, mskip-bug, march=, mrmw): New options.
8869 (HeaderInclude): New.
8870 (mmcu=): Remove Var / Init clauses.
8871 * config/avr/avr.h (DRIVER_SELF_SPECS): Translate -mmcu into a
8873 (SYMBOL_FLAG_IO, SYMBOL_FLAG_ADDRESS): Define.
8874 (ASM_OUTPUT_ALIGNED_BSS): Use avr_asm_asm_output_aligned_bss.
8875 (SYMBOL_FLAG_IO_LOW): Define.
8876 (avr_device_to_as, avr_device_to_ld): Don't declare.
8877 (avr_device_to_data_start, avr_device_to_startfiles): Likewise.
8878 (avr_device_to_devicelib, avr_device_to_sp8): Likewise.
8879 (EXTRA_SPEC_FUNCTIONS): Don't define.
8880 (ASM_SPEC): Translate -arch= option to -mmcu= option.
8881 (LINK_SPEC): Translate -arch= option to -m= option.
8882 Don't use device_to_ld / device_to_data_start.
8883 (STARTFILE_SPEC): Now empty.
8884 (ASM_SPEC): Add -%{mrelax: --mlink-relax}.
8885 * config/avr/gen-avr-mmcu-specs.c: New file.
8886 * config/avr/t-avr (gen-avr-mmcu-specs$(build_exeext)): New rule.
8887 (s-device-specs): Likewise.
8888 (GCC_PASSES): Add s-device-specs.
8889 (install-driver): Depend on install-device-specs.
8890 (install-device-specs): New rule.
8891 * config/avr/avr.c (avr_option_override): Look up mcu arch by
8892 avr_arch_index and provide fallback initialization for avr_n_flash.
8893 (varasm.h): #include.
8894 (avr_print_operand) <i>: Allow SYMBOL_REF with SYMBOL_FLAG_IO;
8895 (avr_handle_addr_attribute, avr_eval_addr_attrib): New functions.
8896 (avr_attribute_table): Add "io", "address" and "io_low".
8897 (avr_asm_output_aligned_decl_common): Change type of decl to tree.
8898 Add special handling for symbols with "io" and/or "address" attributes.
8899 (avr_asm_asm_output_aligned_bss): New function.
8900 (avr_encode_section_info): Set SYMBOL_FLAG_IO and SYMBOL_FLAG_ADDRESS
8901 as appropriate. Handle io_low attribute.
8902 (avr_out_sbxx_branch): Handle symbolic io addresses.
8903 (avr_xload_libgcc_p, avr_nonconst_pointer_addrspace): Use
8904 avr_n_flash instead of avr_current_device->n_flash.
8905 (avr_pgm_check_var_decl, avr_insert_attributes): Likewise.
8906 (avr_emit_movmemhi): Likewise.
8907 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Likewise.
8908 Use TARGET_RMW instead of avr_current_device->dev_attributes.
8909 Don't define avr_current_device->macro (that's the specfile's job).
8910 Use TARGET_SKIP_BUG instead of avr_current_device->errata_skip.
8911 * config/avr/avr.c (avr_2word_insn_p): Likewise.
8912 * config/avr/avr.md (*cpse.ne): Likewise.
8913 (mov<mode>): Use avr_eval_addr_attrib.
8914 (cbi): Change constraint for low_io_address_operand operand to "i".
8915 (sbi, sbix_branch, sbix_branch_bit7, insv.io, insv.not.io): Likewise.
8916 * config/avr/predicates.md (io_address_operand):
8917 Allow SYMBOL_REF with SYMBOL_FLAG_IO.
8918 (low_io_address_operand): Allow SYMBOL_REF with SYMBOL_FLAG_IO_LOW.
8919 * config/avr/avr-protos.h (avr_asm_output_aligned_decl_common):
8921 (avr_eval_addr_attrib, avr_asm_asm_output_aligned_bss): Prototype.
8922 * config/avr/genmultilib.awk: Use -march=.
8923 Remove Multilib matches processing.
8924 * config/avr/t-multilib, config/avr/avr-tables.opt: Regenerate.
8925 * config/avr/avr-arch.h: Add double include guard.
8926 (avr_mcu_t) <library_name>: Update comment.
8927 * config/avr/driver-avr.c (avr_device_to_as): Delete.
8928 (avr_device_to_ld, avr_device_to_data_start): Likewise.
8929 (avr_device_to_startfiles, avr_device_to_devicelib): Likewise.
8930 (avr_device_to_sp8): Likewise.
8931 * config/avr/genopt.sh: Instead avr_mcu, emit an Enum for avr_arch.
8933 * doc/extend.texi (io, address): Document new AVR variable attributes.
8936 2014-10-09 Marek Polacek <polacek@redhat.com>
8938 * doc/invoke.texi: Document -fsanitize=bool and -fsanitize=enum.
8940 2014-10-08 Richard Biener <rguenther@suse.de>
8942 PR tree-optimization/61969
8943 * tree-nrv.c (pass_nrv::execute): Properly test for automatic
8946 2014-10-09 Richard Biener <rguenther@suse.de>
8948 PR tree-optimization/63445
8949 * tree-vrp.c (simplify_cond_using_ranges): Only warn about
8950 overflow for non-equality compares.
8952 2014-10-09 Uros Bizjak <ubizjak@gmail.com>
8954 PR rtl-optimization/57003
8955 * regcprop.c (copyprop_hardreg_forward_1): If ksvd.ignore_set_reg,
8956 also check CALL_INSN_FUNCTION_USAGE for clobbers again after
8957 killing regs_invalidated_by_call.
8959 2014-10-08 Teresa Johnson <tejohnson@google.com>
8962 * tree-ssa-threadupdate.c (estimated_freqs_path): New function.
8963 (ssa_fix_duplicate_block_edges): Invoke it.
8964 (mark_threaded_blocks): Make two passes to avoid ordering dependences.
8966 2014-10-08 Oleg Endo <olegendo@gcc.gnu.org>
8969 * config/sh/sync.md (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
8970 atomic_fetch_<fetchop_name>si_hard,
8971 atomic_fetch_<fetchop_name><mode>_hard, atomic_fetch_nandsi_hard,
8972 atomic_fetch_nand<mode>_hard, atomic_<fetchop_name>_fetchsi_hard,
8973 atomic_<fetchop_name>_fetch<mode>_hard, atomic_nand_fetchsi_hard,
8974 atomic_nand_fetch<mode>_hard): Add missing set of T_REG.
8976 2014-10-08 Rong Xu <xur@google.com>
8978 * gcov-tool.c (profile_overlap): New driver function
8979 to compute profile overlap.
8980 (print_overlap_usage_message): New.
8981 (overlap_usage): New.
8983 (print_usage): Add calls to overlap function.
8985 * doc/gcov-tool.texi: Add documentation.
8987 2014-10-08 Steve Ellcey <sellcey@mips.com>
8989 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Change
8990 LINUX64_DRIVER_SELF_SPECS to LINUX_DRIVER_SELF_SPECS
8992 2014-10-08 Jan Hubicka <hubicka@ucw.cz>
8994 * ipa-polymorphic-call.c (extr_type_from_vtbl_store): Do better
8995 pattern matching of MEM_REF.
8996 (check_stmt_for_type_change): Update.
8998 2014-10-08 Steve Ellcey <sellcey@mips.com>
9000 * config/mips/linux64.h: Remove.
9001 * config/mips/gnu-user64.h: Remove.
9002 * gcc.config (mips*-*-*): Remove references to linux64.h and
9004 * config/mips/gnu-user.h (GNU_USER_TARGET_LINK_SPEC): Replace
9005 with modified version from gnu-user64.h.
9006 (LINUX_DRIVER_SELF_SPECS): Update parts from gnu-user64.h.
9007 (LOCAL_LABEL_PREFIX): Copy from gnu-user64.h.
9008 * config/mips/linux.h (GNU_USER_LINK_EMULATION32): Copy from
9010 (GNU_USER_LINK_EMULATION64): Ditto.
9011 (GNU_USER_LINK_EMULATIONN32): Ditto.
9012 (GLIBC_DYNAMIC_LINKER32): Ditto.
9013 (GLIBC_DYNAMIC_LINKER64): Ditto.
9014 (GLIBC_DYNAMIC_LINKERN32): Ditto.
9015 (UCLIBC_DYNAMIC_LINKER32): Ditto.
9016 (UCLIBC_DYNAMIC_LINKER64): Ditto.
9017 (UCLIBC_DYNAMIC_LINKERN32): Ditto.
9018 (BIONIC_DYNAMIC_LINKERN32): Ditto.
9019 (GNU_USER_DYNAMIC_LINKERN32): Ditto.
9020 (GLIBC_DYNAMIC_LINKER): Delete.
9021 (UCLIBC_DYNAMIC_LINKER): Delete.
9023 2014-10-08 Joern Rennecke <joern.rennecke@embecosm.com>
9024 Richard Biener <rguenther@suse.de>
9026 * cfgexpand.c (expand_debug_expr) <TARGET_MEM_REF>:
9027 Get address space from operand 0 (BASE).
9029 2014-10-07 Iain Sandoe <iain@codesourcery.com>
9032 * config/i386/i386.c (x86_output_mi_thunk): Fix darwin fallout.
9034 2014-10-07 Aldy Hernandez <aldyh@redhat.com>
9036 * dwarf2out.c: Remove current_function_has_inlines.
9037 (gen_subprogram_die): Same.
9038 (gen_inlined_subroutine_die): Same.
9040 2014-10-07 Ilya Tocar <ilya.tocar@intel.com>
9042 * config/i386/adxintrin.h (_subborrow_u64): Use long long for param
9044 (_addcarry_u64): Ditto.
9045 (_addcarryx_u64): Ditto.
9047 2014-10-07 Eric Botcazou <ebotcazou@adacore.com>
9049 * cgraph.h (cgraph_node::get_fun): Declare.
9050 * cgraph.c (cgraph_node::get_fun): New method.
9051 * ipa-inline.c (can_inline_edge_p): Use it.
9053 2014-10-07 Eric Botcazou <ebotcazou@adacore.com>
9055 * lto-opts.c (lto_write_options): Handle -fmath-errno, -fsigned-zeros
9056 and -ftrapping-math.
9057 * lto-wrapper.c (merge_and_complain): Likewise.
9058 (run_gcc): Likewise.
9060 2014-10-06 Rong Xu <xur@google.com>
9062 * params.def (PARAM_INDIR_CALL_TOPN_PROFILE): New param.
9063 * tree-profile.c: (params.h): New include.
9064 (init_ic_make_global_vars): Make __gcov_indirect_call_topn_callee
9065 and __gcov_indirect_call_topn_counters for
9066 indirect_call_topn_profile.
9067 (gimple_init_edge_profiler): New decls for
9068 __gcov_indirect_call_topn_profiler.
9069 (gimple_gen_ic_profiler): Generate the correct profiler call.
9070 (gimple_gen_ic_func_profiler): Fix format.
9071 * value-prof.c (params.h): New include.
9072 (dump_histogram_value): Hanlde indirect_call_topn counters.
9073 (stream_in_histogram_value): Ditto.
9074 (gimple_indirect_call_to_profile): Use indirect_call_topn
9075 profile when PARAM_INDIR_CALL_TOPN_PROFILE is set.
9076 (gimple_find_values_to_profile): Hanlde indirect_call_topn
9078 * value-prof.h (enum hist_type): Histrogram type for
9079 indirect_call_topn counters.
9080 * profile.c (instrument_values): Instrument
9081 indirect_call_topn counters.
9083 2014-10-06 Rong Xu <xur@google.com>
9085 * Makefile.in: Fix dependence.
9086 * gcov-counter.def (GCOV_COUNTER_ICALL_TOPNV): Add
9087 indirect call topn profiler.
9090 2014-10-06 Eric Botcazou <ebotcazou@adacore.com>
9092 * calls.c (expand_call): Do not use the target as the return slot if
9093 it is not sufficiently aligned.
9095 2014-10-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
9097 * config/rs6000/rs6000.c (analyze_swaps commentary): Add
9098 discussion of permutes and why we don't handle them.
9100 2014-10-06 Eric Botcazou <ebotcazou@adacore.com>
9102 * config/sparc/predicates.md (int_register_operand): Delete.
9104 2014-10-06 Eric Botcazou <ebotcazou@adacore.com>
9106 * dwarf2cfi.c (create_pseudo_cfg): Fix trace numbering.
9108 2014-10-06 Jakub Jelinek <jakub@redhat.com>
9110 * ubsan.h (ubsan_get_source_location): New prototype.
9111 * ubsan.c (ubsan_source_location_type): New variable.
9112 Function renamed to ...
9113 (ubsan_get_source_location_type): ... this. Cache
9114 return value in ubsan_source_location_type variable.
9115 (ubsan_source_location, ubsan_create_data): Use
9116 ubsan_get_source_location_type instead of
9117 ubsan_source_location_type.
9118 * asan.c (asan_protect_global): Don't protect globals
9119 with ubsan_get_source_location_type () type.
9120 (asan_add_global): Provide global decl location info
9123 2014-10-04 Jan Hubicka <hubicka@ucw.cz>
9125 * ipa-prop.c (try_make_edge_direct_virtual_call): Remove overactive
9128 2014-10-04 Jan Hubicka <hubicka@ucw.cz>
9130 * ipa-polymorphic-call.c (possible_placement_new): Fix condition
9132 (ipa_polymorphic_call_context::restrict_to_inner_type): Do not walk
9134 (ipa_polymorphic_call_context::dump): Fix formating.
9135 (walk_ssa_copies): Add logic avoiding loops; update uses.
9136 * ipa-prop.c (ipa_analyze_call_uses): Compute vptr_changed.
9138 2014-10-02 Mark Wielaard <mjw@redhat.com>
9141 * dwarf2out.c (gen_subprogram_die): When a member function is
9142 explicitly deleted then add a DW_AT_GNU_deleted attribute.
9143 * langhooks.h (struct lang_hooks_for_decls): Add
9144 function_decl_deleted_p langhook.
9145 * langhooks-def.h (LANG_HOOKS_FUNCTION_DECL_DELETED_P): Define.
9146 (LANG_HOOKS_DECLS): Add LANG_HOOKS_FUNCTION_DECL_DELETED_P.
9148 2014-10-04 Jan Hubicka <hubicka@ucw.cz>
9150 * ipa-polymorphic-call.c (walk_ssa_copies): Recognize
9151 NULL pointer checks.
9152 (ipa_polymorphic_call_context::get_dynamic_type): Return true
9153 if type doesn't change.
9154 * cgraph.h (cgraph_indirect_call_info): New flag.
9155 * cgraph.c (cgraph_node::create_indirect_edge): Initialize it.
9156 (cgraph_node::dump): Dump it.
9157 * ipa-prop.c (ipa_analyze_call_uses): Ignore return valud
9158 of context.get_dynamic_type.
9159 (ipa_make_edge_direct_to_target): Do not speculate
9160 edge that is already speuclative.
9161 (try_make_edge_direct_virtual_call): Use VPTR_CHANGED; Do not
9162 speculate to __builtin_unreachable
9163 (ipa_write_indirect_edge_info, ipa_read_indirect_edge_info): Stream
9165 * ipa-cp.c (ipa_get_indirect_edge_target_1): Use vptr_changed.
9167 2014-10-04 Jan Hubicka <hubicka@ucw.cz>
9169 * ipa-prop.c (ipa_compute_jump_functions_for_edge): Call
9170 get_dynamic_type; drop TODO.
9171 * ipa-polymorphic-call.c
9172 (ipa_polymorphic_call_context::get_dynamic_type): Be ready
9173 for otr_type to be unknown.
9175 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
9177 * common/config/score/score-common.c: Remove.
9178 * config.gcc: Remove support for score-*.
9179 * config/score/constraints.md: Remove.
9180 * config/score/elf.h: Remove.
9181 * config/score/predicates.md: Remove.
9182 * config/score/score-conv.h: Remove.
9183 * config/score/score-generic.md: Remove.
9184 * config/score/score-modes.def: Remove.
9185 * config/score/score-protos.h: Remove.
9186 * config/score/score.c: Remove.
9187 * config/score/score.h: Remove.
9188 * config/score/score.md: Remove.
9189 * config/score/score.opt: Remove.
9190 * doc/md.texi: Don't document score-*.
9192 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
9195 * genconditions.c: Directly include ggc.h before rtl.h.
9197 2014-10-03 Jan Hubicka <hubicka@ucw.cz>
9199 * ipa-polymorphic-call.c
9200 (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Fix
9201 code determining speculative type.
9202 (ipa_polymorphic_call_context::combine_with): Fix speculation merge.
9204 2014-10-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
9206 * altivec.md (altivec_lvsl): New define_expand.
9207 (altivec_lvsl_direct): Rename define_insn from altivec_lvsl.
9208 (altivec_lvsr): New define_expand.
9209 (altivec_lvsr_direct): Rename define_insn from altivec_lvsr.
9210 * rs6000.c (rs6000_expand_builtin): Change to use
9211 altivec_lvs[lr]_direct; remove commented-out code.
9213 2014-10-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
9215 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
9216 Issue a warning message when vec_lvsl or vec_lvsr is used with a
9217 little endian target.
9219 2014-10-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
9221 * tree-pretty-print.c (dump_location): Make it extern. Dump also
9223 * tree-pretty-print.h (dump_location): Declare.
9224 * gimple-pretty-print.c (dump_gimple_phi): Use dump_location.
9225 (pp_gimple_stmt_1): Likewise.
9226 (dump_implicit_edges): Likewise.
9227 * gimplify.c (gimplify_call_expr): Use LOCATION_FILE and
9231 2014-10-03 David Malcolm <dmalcolm@redhat.com>
9233 * gcc.c (driver::global_initializations): Remove "const" so
9234 that GCC_DRIVER_HOST_INITIALIZATION can modify decoded_options
9235 and decoded_options_count.
9237 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
9239 * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Remove
9241 * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Handle
9242 TARGET_E500_DOUBLE case here.
9244 2014-10-03 Marc Glisse <marc.glisse@inria.fr>
9249 * doc/extend.texi (Vector Extensions): Document &&, ||, ! in C++.
9251 2014-10-03 Jan Hubicka <hubicka@ucw.cz>
9253 * cgraph.h (struct indirect_call_info): Add IN_POLYMORPHIC_CDTOR
9254 * lto-cgraph.c (lto_output_edge, input_edge): Stream
9255 in_polymorphic_cdtor
9256 * cgraph.c (symbol_table::create_edge): Compute in_polymorphic_cdtor.
9257 (cgraph_edge::make_speculative): Copy in_polymorphic_cdtor.
9258 * cgraphclones.c (cgraph_edge::clone): Likewise.
9259 * ipa-prop.c (update_jump_functions_after_inlining,
9260 try_make_edge_direct_virtual_call): Pass in_polymorphic_cdtor
9261 to possible_dynamic_type_change.
9262 (decl_maybe_in_construction_p): Allow empty OUTER_TYPE and BASE.
9263 (ipa_polymorphic_call_context::possible_dynamic_type_change): Add
9264 IN_POLY_CDOTR argument.
9266 * ipa-polymorphic-call.c (decl_maybe_in_construction_p): Be ready
9267 for BASE and OUTER_TYPE being NULL.
9268 (ipa_polymorphic_call_context::possible_dynamic_type_change): Add
9269 in_poly_cdtor parameter.
9271 2014-10-03 Jakub Jelinek <jakub@redhat.com>
9273 * config/i386/i386.c (ix86_expand_vec_perm_vpermi2): Fix up formatting.
9274 (ix86_expand_vec_perm): Only call ix86_expand_vec_perm_vpermi2 if
9276 (expand_vec_perm_1): Likewise.
9278 2014-10-03 Jakub Jelinek <jakub@redhat.com>
9279 Uros Bizjak <ubizjak@gmail.com>
9281 PR tree-optimization/61403
9282 * config/i386/i386.c (expand_vec_perm_palignr): Fix a spelling
9283 error in comment. Also optimize 256-bit vectors for AVX2
9284 or AVX (floating vectors only), provided the first permutation
9285 can be performed in one insn.
9287 2014-10-03 David Malcolm <dmalcolm@redhat.com>
9289 * gcc.c (class driver): New class.
9290 (main): Reimplement in terms of driver::main, moving most of the
9291 locals to be locals within individual methods of class driver.
9292 The remaining locals "explicit_link_files", "decoded_options" and
9293 "decoded_options_count" are used by multiple driver:: methods, and
9294 so become member data. Doing so isolates the argc/argv reads and
9295 writes. Replace "goto out" with a special exit code from
9296 new method driver::prepare_infiles. Split out the old
9297 implementation of main into the following...
9298 (driver::main): New function, corresponding to the old "main"
9300 (driver::set_progname): New function, taken from the old
9301 "main" implementation.
9302 (driver::expand_at_files): Likewise.
9303 (driver::decode_argv): Likewise.
9304 (driver::global_initializations): Likewise.
9305 (driver::build_multilib_strings): Likewise.
9306 (driver::set_up_specs): Likewise.
9307 (driver::putenv_COLLECT_GCC): Likewise.
9308 (driver::maybe_putenv_COLLECT_LTO_WRAPPER): Likewise.
9309 (driver::handle_unrecognized_options): Likewise.
9310 (driver::maybe_print_and_exit): Likewise.
9311 (driver::prepare_infiles): Likewise.
9312 (driver::do_spec_on_infiles): Likewise.
9313 (driver::maybe_run_linker): Likewise.
9314 (driver::final_actions): Likewise.
9315 (driver::get_exit_code): Likewise.
9317 2014-10-03 Yury Gribov <y.gribov@samsung.com>
9319 * asan.c (asan_finish_file): Disable __asan_init calls for KASan;
9320 don't emit empty ctors.
9322 2014-10-03 Eric Botcazou <ebotcazou@adacore.com>
9324 * convert.c (convert_to_integer): Do not introduce useless conversions
9325 between integral types.
9327 2014-10-03 David Sherwood <david.sherwood@arm.com>
9329 * ira-int.h (ira_allocno): Mark hard_regno as signed.
9331 2014-10-03 Ilya Enkovich <ilya.enkovich@intel.com>
9333 * lra-constraints.c (inherit_in_ebb): Handle calls with
9334 multiple return values.
9335 * caller-save.c (save_call_clobbered_regs): Likewise.
9337 2014-10-03 Jakub Jelinek <jakub@redhat.com>
9339 * tree-vect-data-refs.c (vect_permute_load_chain,
9340 vect_shift_permute_load_chain): Fix a typo in temporary var names,
9341 suffle3 to shuffle3.
9344 * omp-low.c (taskreg_contexts): New variable.
9345 (scan_omp_parallel): Push newly created context into taskreg_contexts
9346 vector and move record layout code to finish_taskreg_scan.
9347 (scan_omp_task): Likewise.
9348 (finish_taskreg_scan): New function.
9349 (execute_lower_omp): Call finish_taskreg_scan on all taskreg_contexts
9350 vector elements and release it.
9353 * config/i386/i386.c (expand_vec_perm_palignr): If op1, op0 order
9354 of palignr arguments can't be used due to min 0 or max - min
9355 too high, try also op0, op1 order of palignr arguments.
9357 2014-10-02 Jan Hubicka <hubicka@ucw.cz>
9359 * cgraph.h (ipa_polymorphic_call_context):
9360 Turn bools into bitfields; add DYNAMIC; make MAKE_SPECULATIVE
9361 private, add POSSIBLE_DYNAMIC_TYPE_CHANGE.
9362 * ipa-polymorphic-call.c
9363 (ipa_polymorphic_call_context::restrict_to_inner_class): Allow accesses
9364 past end of dynamic types.
9365 (ipa_polymorphic_call_context::stream_out,
9366 speculative_outer_type): Stream dynamic flag.
9367 (ipa_polymorphic_call_context::set_by_decl): Clear DYNAMIC.
9368 (ipa_polymorphic_call_context::ipa_polymorphic_call_context):
9370 (ipa_polymorphic_call_context::get_dynamic_type): Use DYNAMIC;
9372 (ipa_polymorphic_call_context::combine_with): Propagate dynamic.
9373 * ipa-prop.c (update_jump_functions_after_inlining,
9374 try_make_edge_direct_virtual_call): Use possible_dynamic_type_change.
9376 2014-10-02 Teresa Johnson <tejohnson@google.com>
9378 * tree-ssa-threadupdate.c (freqs_to_counts_path): Scale frequencies
9379 up when synthesizing counts to avoid rounding errors.
9381 2014-10-02 Teresa Johnson <tejohnson@google.com>
9384 * tree-ssa-threadupdate.c (freqs_to_counts_path): Remove
9385 asserts to handle incoming insanities.
9387 2014-10-02 Martin Jambor <mjambor@suse.cz>
9389 PR tree-optimization/63375
9390 * tree-sra.c (build_access_from_expr_1): Disqualify volatile
9393 2014-10-02 Olivier Hainque <hainque@adacore.com>
9395 * Makefile.in (CROSS): Define, to @CROSS.
9397 2014-10-02 Jakub Jelinek <jakub@redhat.com>
9400 * config/i386/i386.c (expand_vec_perm_1): Try expand_vec_perm_palignr
9401 if it expands to a single insn only.
9402 (expand_vec_perm_palignr): Add SINGLE_INSN_ONLY_P argument. If true,
9403 fail unless in_order is true. Add forward declaration.
9404 (expand_vec_perm_vperm2f128): Fix up comment about which permutation
9405 is useful for one_operand_p.
9406 (ix86_expand_vec_perm_const_1): Adjust expand_vec_perm_palignr caller.
9408 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
9410 * cgraphclones.c (build_function_type_skip_args): Do not make new
9411 type variant of old.
9413 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
9415 * ipa-prop.h (ipa_get_controlled_uses): Add hack to avoid ICE
9416 when speculation is added.
9417 (ipa_edge_args): Add polymorphic_call_contexts.
9418 (ipa_get_ith_polymorhic_call_context): New accesor.
9419 (ipa_make_edge_direct_to_target): Add SPECULATIVE parameter.
9420 * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Print contexts.
9421 (ipa_compute_jump_functions_for_edge): Compute contexts.
9422 (update_jump_functions_after_inlining): Update contexts.
9423 (ipa_make_edge_direct_to_target): Add SPECULATIVE argument;
9424 update dumping; add speculative edge creation.
9425 (try_make_edge_direct_virtual_call): Add CTX_PTR parameter; handle
9427 (update_indirect_edges_after_inlining): Pass down context.
9428 (ipa_edge_duplication_hook): Duplicate contexts.
9429 (ipa_write_node_info): Stream out contexts.
9430 (ipa_read_node_info): Stream in contexts.
9431 * ipa-devirt.c (type_all_derivations_known_p): Avoid ICE on non-ODR
9433 (try_speculative_devirtualization): New function.
9434 * ipa-utils.h (try_speculative_devirtualization): Declare.
9436 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
9438 * ipa.c (walk_polymorphic_call_targets): Avoid ICE when
9441 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
9443 * ipa-prop.c (ipa_modify_formal_parameters): Do not merge
9446 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
9448 * ipa-polymorphic-call.c
9449 (ipa_polymorphic_call_context::restrict_to_inner_class):
9450 Rename EXPECTED_TYPE to OTR_TYPE; Validate speculation late;
9451 use speculation_consistent_p to do so; Add CONSDER_BASES
9452 and CONSIDER_PLACEMENT_NEW parameters.
9453 (contains_type_p): Add CONSDER_PLACEMENT_NEW and CONSIDER_BASES;
9454 short circuit obvious cases.
9455 (ipa_polymorphic_call_context::dump): Improve formatting.
9456 (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Use
9457 combine_speculation_with to record speculations; Do not ICE when
9458 object is located in pointer type decl; do not ICE for methods
9459 of UNION_TYPE; do not record nonpolymorphic types.
9460 (ipa_polymorphic_call_context::speculation_consistent_p): New method.
9461 (ipa_polymorphic_call_context::combine_speculation_with): New method.
9462 (ipa_polymorphic_call_context::combine_with): New method.
9463 (ipa_polymorphic_call_context::make_speculative): Move here; use
9464 combine speculation.
9465 * cgraph.h (ipa_polymorphic_call_context): Update
9466 restrict_to_inner_class prototype; add offset_by, make_speculative,
9467 combine_with, useless_p, combine_speculation_with and
9468 speculation_consistent_p methods.
9469 (ipa_polymorphic_call_context::offset_by): New method.
9470 (ipa_polymorphic_call_context::useless_p): New method.
9472 2014-10-01 Segher Boessenkool <segher@kernel.crashing.org>
9474 PR rtl-optimization/62151
9475 * combine.c (can_combine_p): Allow the destination register of INSN
9476 to be clobbered in I3.
9477 (subst): Do not substitute into clobbers of registers.
9479 2014-10-01 Jakub Jelinek <jakub@redhat.com>
9482 * dwarf2out.c (loc_list_from_tree): Handle MEM_REF with non-zero
9483 offset, TARGET_MEM_REF and SSA_NAME.
9485 * config/i386/i386.c (expand_vec_perm_palignr): Handle
9486 256-bit vectors for TARGET_AVX2.
9488 * config/i386/i386.c (expand_vec_perm_vperm2f128): Canonicalize
9492 * config/i386/i386.c (expand_vec_perm_pshufb): Fix up rperm[0]
9493 argument to avx2_permv2ti.
9495 2014-10-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
9497 * config/arm/arm.md (*store_minmaxsi): Disable for arm_restrict_it.
9499 2014-09-30 Uros Bizjak <ubizjak@gmail.com>
9501 * config/i386/i386.md (fmodxf3): Enable for flag_finite_math_only only.
9502 (fmod<mode>3): Ditto.
9503 (fpremxf4_i387): Ditto.
9504 (reminderxf3): Ditto.
9505 (reminder<mode>3): Ditto.
9506 (fprem1xf4_i387): Ditto.
9508 2014-09-30 Teresa Johnson <tejohnson@google.com>
9510 * tree-ssa-threadupdate.c (struct ssa_local_info_t): New
9511 duplicate_blocks bitmap.
9512 (remove_ctrl_stmt_and_useless_edges): Ditto.
9513 (create_block_for_threading): Ditto.
9514 (compute_path_counts): New function.
9515 (update_profile): Ditto.
9516 (recompute_probabilities): Ditto.
9517 (update_joiner_offpath_counts): Ditto.
9518 (freqs_to_counts_path): Ditto.
9519 (clear_counts_path): Ditto.
9520 (ssa_fix_duplicate_block_edges): Update profile info.
9521 (ssa_create_duplicates): Pass new parameter.
9522 (ssa_redirect_edges): Remove old profile update.
9523 (thread_block_1): New duplicate_blocks bitmap,
9524 remove old profile update.
9525 (thread_single_edge): Pass new parameter.
9527 2014-09-30 Ilya Tocar <ilya.tocar@intel.com>
9530 * varasm.c (decode_reg_name_and_count): Check availability for
9531 registers from ADDITIONAL_REGISTER_NAMES.
9533 2014-09-30 David Malcolm <dmalcolm@redhat.com>
9536 * Makefile.in (PRETTY_PRINT_H): Add wide-int-print.h.
9537 (PLUGIN_HEADERS): Add pass-instances.def.
9539 2014-09-30 James Greenhalgh <james.greenhalgh@arm.com>
9541 * config/aarch64/aarch64-simd-builtins.def (sqdmull_laneq): Expand
9543 * config/aarch64/aarch64-simd.md
9544 (aarch64_sqdmull_laneq<mode>): Expand iterator.
9545 * config/aarch64/arm_neon.h (vqdmullh_laneq_s16): New.
9546 (vqdmulls_lane_s32): Fix return type.
9547 (vqdmulls_laneq_s32): New.
9549 2014-09-30 Jakub Jelinek <jakub@redhat.com>
9552 * ifcvt.c (dead_or_predicable): Don't call redirect_jump_1
9553 or invert_jump_1 if jump isn't any_condjump_p.
9555 2014-09-30 Terry Guo <terry.guo@arm.com>
9557 * config/arm/arm-cores.def (cortex-m7): New core name.
9558 * config/arm/arm-fpus.def (fpv5-sp-d16): New fpu name.
9560 * config/arm/arm-tables.opt: Regenerated.
9561 * config/arm/arm-tune.md: Regenerated.
9562 * config/arm/arm.h (TARGET_VFP5): New macro.
9563 * config/arm/bpabi.h (BE8_LINK_SPEC): Include cortex-m7.
9564 * config/arm/vfp.md (<vrint_pattern><SDF:mode>2,
9565 smax<mode>3, smin<mode>3): Enabled for FPU FPv5.
9566 * doc/invoke.texi: Document new cpu and fpu names.
9568 2014-09-30 Jiong Wang <jiong.wang@arm.com>
9570 * shrink-wrap.c (move_insn_for_shrink_wrap): Check "can_throw_internal"
9571 before sinking insn.
9573 2014-09-30 David Sherwood <david.sherwood@arm.com>
9575 * ira-int.h (ira_allocno): Add "wmode" field.
9576 * ira-build.c (create_insn_allocnos): Add new "parent" function
9578 * ira-conflicts.c (ira_build_conflicts): Add conflicts for registers
9579 that cannot be accessed in wmode.
9581 2014-09-30 Markus Trippelsdorf <markus@trippelsdorf.de>
9583 * data-streamer.c (bp_unpack_var_len_int): Avoid signed
9586 2014-09-29 Andi Kleen <ak@linux.intel.com>
9588 * opts.c (print_filtered_help): Print --param min/max/default
9591 2014-09-29 Kaz Kojima <kkojima@gcc.gnu.org>
9593 * config/sh/sh.md: Use define_c_enum for "unspec" and "unspecv".
9595 2014-09-29 Eric Botcazou <ebotcazou@adacore.com>
9597 * tree-vrp.c (get_single_symbol): New function.
9598 (build_symbolic_expr): Likewise.
9599 (symbolic_range_based_on_p): New predicate.
9600 (extract_range_from_binary_expr_1): Deal with single-symbolic ranges
9601 for PLUS and MINUS. Do not drop symbolic ranges at the end.
9602 (extract_range_from_binary_expr): Try harder for PLUS and MINUS if
9603 operand is symbolic and based on the other operand.
9605 2014-09-29 Chen Gang <gang.chen.5i5j@gmail.com>
9607 * config/microblaze/microblaze.md (call_internal1): Use VOID
9608 instead of SI to fix "((void (*)(void)) 0)()" issue
9610 2014-09-29 Nick Clifton <nickc@redhat.com>
9612 * config/msp430/msp430.c (msp430_expand_prologue): Return a
9613 CLOBBER rtx for naked functions.
9614 (msp430_expand_epilogue): Likewise.
9615 (msp430_use_f5_series_hwmult): Cache result.
9616 (use_32bit_hwmult): Cache result.
9617 (msp430_no_hwmult): New function.
9618 (msp430_output_labelref): Use it.
9620 2014-09-29 Jakub Jelinek <jakub@redhat.com>
9623 * omp-low.c (lower_omp_target): For OMP_CLAUSE_MAP_POINTER
9624 of ARRAY_TYPE, if not OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION
9625 use the alignment of avar rather than ovar.
9627 2014-09-28 John David Anglin <danglin@gcc.gnu.org>
9629 * config/pa/pa.c (pa_output_function_epilogue): Only update
9630 last_address when a nonnote insn is found.
9632 2014-09-26 Jan Hubicka <hubicka@ucw.cz>
9635 * ipa-devirt.c (possible_polymorphic_call_targets): Silence clang warning.
9637 2014-09-26 Jan Hubicka <hubicka@ucw.cz>
9640 * ipa-polymorphic-call.c (ipa_polymorphic_call_context::restrict_to_inner_class):
9641 fix pasto in checking array size.
9643 2014-09-26 Jan Hubicka <hubicka@ucw.cz>
9646 * passes.def (pass_tracer): Move before last dominator pass.
9648 2014-09-26 Thomas Schwinge <thomas@codesourcery.com>
9650 * gcc.c (try_generate_repro): Remove argument "prog". Change all
9652 (run_attempt): Handle errors of "pex_run" invocation.
9654 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
9656 * config/aarch64/aarch64-linux.h (ASAN_CC1_SPEC): Define.
9658 * config/aarch64/aarch64.c (aarch64_asan_shadow_offset): New function.
9659 (TARGET_ASAN_SHADOW_OFFSET): Define.
9661 2014-09-26 Martin Liska <mliska@suse.cz>
9663 * cgraph.c (cgraph_node::release_body): New argument keep_arguments
9665 * cgraph.h: Likewise.
9666 * cgraphunit.c (cgraph_node::create_wrapper): Usage of new argument introduced.
9667 * ipa-utils.h (polymorphic_type_binfo_p): Safe check for binfos created by Java.
9668 * tree-ssa-alias.c (ao_ref_base_alias_set): Static function transformed to global.
9669 * tree-ssa-alias.h: Likewise.
9671 2014-09-26 Jakub Jelinek <jakub@redhat.com>
9672 Max Ostapenko <m.ostapenko@partner.samsung.com>
9674 * common.opt: New option.
9675 * doc/invoke.texi: Describe new option.
9676 * gcc.c (execute): Don't free first string early, but at the end
9677 of the function. Call retry_ice if compiler exited with
9679 (main): Factor out common code.
9680 (print_configuration): New function.
9681 (files_equal_p): Likewise.
9682 (check_repro): Likewise.
9683 (run_attempt): Likewise.
9684 (do_report_bug): Likewise.
9685 (append_text): Likewise.
9686 (try_generate_repro): Likewise
9688 2014-09-25 Andi Kleen <ak@linux.intel.com>
9690 * config/i386/i386.c (x86_print_call_or_nop): New function.
9691 (x86_function_profiler): Support -mnop-mcount and
9693 * config/i386/i386.opt (-mnop-mcount, -mrecord-mcount): Add
9694 * doc/invoke.texi: Document -mnop-mcount, -mrecord-mcount.
9696 2014-09-25 Jan Hubicka <hubicka@ucw.cz>
9698 * ipa-prop.c (ipa_intraprocedural_devirtualization): Remove.
9699 * ipa-prop.h (ipa_intraprocedural_devirtualization): Remove.
9700 * tree-ssa-prop.c (eliminate_dom_walker::before_dom_children):
9703 2014-09-25 Jan Hubicka <hubicka@ucw.cz>
9705 * ipa-utils.h (subbinfo_with_vtable_at_offset, type_all_derivations_known_p,
9706 type_known_to_have_no_deriavations_p, types_must_be_same_for_odr,
9707 types_odr_comparable): Declare.
9708 (polymorphic_type_binfo_p): Move here from ipa-devirt.c
9709 * ipa-polymorphic-call.c: New file.
9710 (contains_polymorphic_type_p, possible_placement_new,
9711 ipa_polymorphic_call_context::restrict_to_inner_class,
9712 contains_type_p, decl_maybe_in_construction_p,
9713 ipa_polymorphic_call_context::stream_out,
9714 ipa_polymorphic_call_context::debug,
9715 ipa_polymorphic_call_context::stream_in,
9716 ipa_polymorphic_call_context::set_by_decl,
9717 ipa_polymorphic_call_context::set_by_invariant,
9719 ipa_polymorphic_call_context::ipa_polymorphic_call_context,
9720 type_change_info, noncall_stmt_may_be_vtbl_ptr_store,
9721 extr_type_from_vtbl_ptr_store, record_known_type
9722 check_stmt_for_type_change,
9723 ipa_polymorphic_call_context::get_dynamic_type): Move here from
9725 * ipa-devirt.c: No longer include data-streamer.h, lto-streamer.h
9726 and streamer-hooks.h
9727 (contains_polymorphic_type_p, possible_placement_new,
9728 ipa_polymorphic_call_context::restrict_to_inner_class,
9729 contains_type_p, decl_maybe_in_construction_p,
9730 ipa_polymorphic_call_context::stream_out,
9731 ipa_polymorphic_call_context::debug,
9732 ipa_polymorphic_call_context::stream_in,
9733 ipa_polymorphic_call_context::set_by_decl,
9734 ipa_polymorphic_call_context::set_by_invariant,
9736 ipa_polymorphic_call_context::ipa_polymorphic_call_context,
9737 type_change_info, noncall_stmt_may_be_vtbl_ptr_store,
9738 extr_type_from_vtbl_ptr_store, record_known_type
9739 check_stmt_for_type_change,
9740 ipa_polymorphic_call_context::get_dynamic_type): Move to
9741 ipa-polymorphic-call.c
9742 (type_all_derivations_known_p, types_odr_comparable,
9743 types_must_be_same_for_odr): Export.
9744 (type_known_to_have_no_deriavations_p): New function.
9745 * Makefile.in: Add ipa-polymorphic-call.c
9747 2014-09-25 Jan Hubicka <hubicka@ucw.cz>
9749 * ipa-devirt.c (polymorphic_call_target_d): Add SPECULATIVE; reorder
9751 (polymorphic_call_target_hasher::hash): Hash SPECULATIVE.
9752 (possible_polymorphic_call_targets): Instead of computing both
9753 speculative and non-speculative answers, do just one at a time.
9754 Replace NONSPECULATIVE_TARGETSP parameter with SPECULATIVE flag.
9755 (dump_targets): Break out from ...
9756 (dump_possible_polymorphic_call_targets): ... here; dump both speculative
9757 and non-speculative lists.
9758 (ipa_devirt): Update for new possible_polymorphic_call_targets API.
9759 * ipa-utils.h (possible_polymorphic_call_targets): Update.
9761 2014-09-25 Uros Bizjak <ubizjak@gmail.com>
9763 PR rtl-optimization/63348
9764 * emit-rtl.c (try_split): Do not emit extra barrier.
9766 2014-09-25 James Greenhalgh <james.greenhalgh@arm.com>
9768 * config/aarch64/aarch64-protos.h (aarch64_simd_const_bounds): Delete.
9769 * config/aarch64/aarch64-simd.md (aarch64_<sur>q<r>shl<mode>): Use
9771 (aarch64_<sur>shll2_n<mode>): Likewise.
9772 (aarch64_<sur>shr_n<mode>): Likewise.
9773 (aarch64_<sur>sra_n<mode>: Likewise.
9774 (aarch64_<sur>s<lr>i_n<mode>): Likewise.
9775 (aarch64_<sur>qshl<u>_n<mode>): Likewise.
9776 * config/aarch64/aarch64.c (aarch64_simd_const_bounds): Delete.
9777 * config/aarch64/iterators.md (ve_mode): New.
9778 (offsetlr): Remap to infix text for use in new predicates.
9779 * config/aarch64/predicates.md (aarch64_simd_shift_imm_qi): New.
9780 (aarch64_simd_shift_imm_hi): Likewise.
9781 (aarch64_simd_shift_imm_si): Likewise.
9782 (aarch64_simd_shift_imm_di): Likewise.
9783 (aarch64_simd_shift_imm_offset_qi): Likewise.
9784 (aarch64_simd_shift_imm_offset_hi): Likewise.
9785 (aarch64_simd_shift_imm_offset_si): Likewise.
9786 (aarch64_simd_shift_imm_offset_di): Likewise.
9787 (aarch64_simd_shift_imm_bitsize_qi): Likewise.
9788 (aarch64_simd_shift_imm_bitsize_hi): Likewise.
9789 (aarch64_simd_shift_imm_bitsize_si): Likewise.
9790 (aarch64_simd_shift_imm_bitsize_di): Likewise.
9792 2014-09-25 Jiong Wang <jiong.wang@arm.com>
9794 * shrink-wrap.c (move_insn_for_shrink_wrap): Initialize the live-in of
9795 new created BB as the intersection of live-in from "old_dest" and
9798 2014-09-25 Felix Yang <felix.yang@huawei.com>
9800 * lra.c (lra_set_insn_recog_data): Fix typo in comment.
9801 * genautomata.c (merge_states): Ditto.
9803 2014-09-25 Oleg Endo <olegendo@gcc.gnu.org>
9806 * config/sh/sync.md (atomic_test_and_set_soft_imask): Fix typo
9807 in instruction sequence.
9809 2014-09-25 Nick Clifton <nickc@redhat.com>
9812 * config/sh/sync.md (atomic_fetch_nand<mode>_soft_imask): Fix typo
9813 in instruction sequence.
9815 2014-09-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
9818 * config/rs6000/rs6000-c.c (altivec_build_resolved_builtin):
9819 Exclude VSX_BUILTIN_XVCMPGEDP_P from special handling.
9821 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
9822 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
9823 Anna Tikhonova <anna.tikhonova@intel.com>
9824 Ilya Tocar <ilya.tocar@intel.com>
9825 Andrey Turetskiy <andrey.turetskiy@intel.com>
9826 Ilya Verbin <ilya.verbin@intel.com>
9827 Kirill Yukhin <kirill.yukhin@intel.com>
9828 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
9830 * config/i386/sse.md
9831 (define_expand "<avx2_avx512f>_perm<mode>"): Rename to ...
9832 (define_expand "<avx2_avx512>_perm<mode>"): ... this.
9833 (define_expand "avx512f_perm<mode>_mask"): Rename to ...
9834 (define_expand "<avx512>_perm<mode>_mask"): ... this.
9835 Use VI8F_256_512 mode iterator.
9836 (define_insn "<avx2_avx512f>_perm<mode>_1<mask_name>"): Rename to ...
9837 (define_insn "<avx2_avx512bw>_perm<mode>_1<mask_name>"): ... this.
9839 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
9840 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
9841 Anna Tikhonova <anna.tikhonova@intel.com>
9842 Ilya Tocar <ilya.tocar@intel.com>
9843 Andrey Turetskiy <andrey.turetskiy@intel.com>
9844 Ilya Verbin <ilya.verbin@intel.com>
9845 Kirill Yukhin <kirill.yukhin@intel.com>
9846 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
9848 * config/i386/sse.md
9849 (define_insn "avx_movshdup256<mask_name>"): Add masking.
9850 (define_insn "sse3_movshdup<mask_name>"): Ditto.
9851 (define_insn "avx_movsldup256<mask_name>"): Ditto.
9852 (define_insn "sse3_movsldup<mask_name>"): Ditto.
9853 (define_insn "vec_dupv2df<mask_name>"): Ditto.
9854 (define_insn "*vec_concatv2df"): Add EVEX version.
9856 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
9857 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
9858 Anna Tikhonova <anna.tikhonova@intel.com>
9859 Ilya Tocar <ilya.tocar@intel.com>
9860 Andrey Turetskiy <andrey.turetskiy@intel.com>
9861 Ilya Verbin <ilya.verbin@intel.com>
9862 Kirill Yukhin <kirill.yukhin@intel.com>
9863 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
9865 * config/i386/sse.md
9866 (define_insn "vec_set<mode>_0"): Add EVEX version.
9868 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
9869 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
9870 Anna Tikhonova <anna.tikhonova@intel.com>
9871 Ilya Tocar <ilya.tocar@intel.com>
9872 Andrey Turetskiy <andrey.turetskiy@intel.com>
9873 Ilya Verbin <ilya.verbin@intel.com>
9874 Kirill Yukhin <kirill.yukhin@intel.com>
9875 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
9877 * config/i386/sse.md
9879 "<fixsuffix>fix_trunc<mode><sselongvecmodelower>2<mask_name><round_saeonly_name>"):
9881 (define_insn "<fixsuffix>fix_truncv2sfv2di2<mask_name>"): Ditto.
9882 (define_insn "ufix_trunc<mode><sseintvecmodelower>2<mask_name>"): Ditto.
9883 (define_insn "sse2_cvtss2sd<round_saeonly_name>"): Change
9884 "nonimmediate_operand" to "<round_saeonly_nimm_predicate>".
9885 (define_insn "avx_cvtpd2ps256<mask_name>"): Add masking.
9886 (define_expand "sse2_cvtpd2ps_mask): New.
9887 (define_insn "*sse2_cvtpd2ps<mask_name>"): Add masking.
9888 (define_insn "sse2_cvtps2pd<mask_name>"): Add masking.
9890 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
9891 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
9892 Anna Tikhonova <anna.tikhonova@intel.com>
9893 Ilya Tocar <ilya.tocar@intel.com>
9894 Andrey Turetskiy <andrey.turetskiy@intel.com>
9895 Ilya Verbin <ilya.verbin@intel.com>
9896 Kirill Yukhin <kirill.yukhin@intel.com>
9897 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
9899 * config/i386/i386.c
9900 (avx512f_ufix_notruncv8dfv8si_mask_round): Rename to ...
9901 (ufix_notruncv8dfv8si2_mask_round): ... this.
9902 * config/i386/sse.md
9903 (define_insn "avx512f_cvtdq2pd512_2): Update TARGET check.
9904 (define_insn "avx_cvtdq2pd256_2"): Add EVEX version.
9905 (define_insn "sse2_cvtdq2pd<mask_name>"): Add masking.
9906 (define_insn "avx_cvtpd2dq256<mask_name>"): Ditto.
9907 (define_expand "sse2_cvtpd2dq"): Delete.
9908 (define_insn "sse2_cvtpd2dq<mask_name>"): Add masking and
9909 make 2nd operand const0 vector.
9910 (define_insn "avx512f_ufix_notruncv8dfv8si<mask_name><round_name>"):
9912 (define_mode_attr pd2udqsuff): New.
9914 "ufix_notrunc<mode><si2dfmodelower>2<mask_name><round_name>"): Ditto.
9915 (define_insn "ufix_notruncv2dfv2si2<mask_name>"): Ditto.
9916 (define_insn "*avx_cvttpd2dq256_2"): Delete.
9917 (define_expand "sse2_cvttpd2dq"): Ditto.
9918 (define_insn "sse2_cvttpd2dq<mask_name>"): Add masking and
9919 make 2nd operand const0 vector.
9921 2014-09-25 Jakub Jelinek <jakub@redhat.com>
9923 PR tree-optimization/63341
9924 * tree-vectorizer.h (vect_create_data_ref_ptr,
9925 vect_create_addr_base_for_vector_ref): Add another tree argument
9926 defaulting to NULL_TREE.
9927 * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add byte_offset
9928 argument, pass it down to vect_create_addr_base_for_vector_ref.
9929 (vect_create_addr_base_for_vector_ref): Add byte_offset argument,
9930 add that to base_offset too if non-NULL.
9931 * tree-vect-stmts.c (vectorizable_load): Add byte_offset variable,
9932 for dr_explicit_realign_optimized set it to vector byte size
9933 - 1 instead of setting offset, pass byte_offset down to
9934 vect_create_data_ref_ptr.
9936 2014-09-24 Jan Hubicka <hubicka@ucw.cz>
9938 * ipa-devirt.c (possible_polymorphic_call_targets): Remove
9939 forgotten debug output; canonicalize querries more wtih LTO.
9941 2014-09-24 Jan Hubicka <hubicka@ucw.cz>
9943 * cgraph.h (class ipa_polymorphic_call_context): Move here from
9944 ipa-utils.h; add stream_int and stream_out methods.
9945 (cgraph_indirect_call_info): Remove SPECILATIVE_OFFSET,
9946 OUTER_TYPE, SPECULATIVE_OUTER_TYPE, MAYBE_IN_CONSTRUCTION
9947 MAYBE_DERIVED_TYPE and SPECULATIEVE_MAYBE_DERIVED_TYPE;
9949 (ipa_polymorphic_call_context::ipa_polymorphic_call_context,
9950 ipa_polymorphic_call_context::ipa_polymorphic_call_context,
9951 ipa_polymorphic_call_context::clear_speculation,
9952 ipa_polymorphic_call_context::clear_outer_type): Move here from
9954 * ipa-utils.h (class ipa_polymorphic_call_context): Move to cgraph.h
9955 (ipa_polymorphic_call_context::ipa_polymorphic_call_context,
9956 ipa_polymorphic_call_context::ipa_polymorphic_call_context,
9957 ipa_polymorphic_call_context::clear_speculation,
9958 ipa_polymorphic_call_context::clear_outer_type): Likewise.
9959 * ipa-devirt.c: Include data-streamer.h, lto-streamer.h and
9961 (ipa_polymorphic_call_context::stream_out): New method.
9962 (ipa_polymorphic_call_context::stream_in): New method.
9963 (noncall_stmt_may_be_vtbl_ptr_store): Add forgotten static.
9964 * ipa-prop.c (ipa_analyze_indirect_call_uses): Do not care about
9966 (ipa_analyze_call_uses): Simplify.
9967 (update_indirect_edges_after_inlining): Do not care about outer_type.
9968 (ipa_write_indirect_edge_info): Update.
9969 (ipa_write_indirect_edge_info): Likewise.
9970 * cgraph.c (cgraph_node::create_indirect_edge): Simplify.
9971 (dump_edge_flags): Break out from ...
9972 (cgraph_node::dump): ... here; dump indirect edges.
9974 2014-09-24 Jan Hubicka <hubicka@ucw.cz>
9976 * ipa-utils.h (polymorphic_call_context): Add
9977 metdhos dump, debug and clear_outer_type.
9978 (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Simplify.
9979 (ipa_polymorphic_call_context::clear_outer_type): New method.
9980 * ipa-prop.c (ipa_analyze_call_uses): Do not overwrite offset.
9981 * ipa-devirt.c (types_odr_comparable): New function.
9982 (types_must_be_same_for_odr): New function.
9983 (odr_subtypes_equivalent_p): Simplify.
9984 (possible_placement_new): Break out from ...
9985 (ipa_polymorphic_call_context::restrict_to_inner_type): ... here;
9986 be more cuatious about returning false in cases the context may be
9987 valid in derived type or via placement new.
9988 (contains_type_p): Clear maybe_derived_type
9989 (ipa_polymorphic_call_context::dump): New method.
9990 (ipa_polymorphic_call_context::debug): New method.
9991 (ipa_polymorphic_call_context::set_by_decl): Cleanup comment.
9992 (ipa_polymorphic_call_context::set_by_invariant): Simplify.
9993 (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Simplify.
9994 (possible_polymorphic_call_targets): Trust context.restrict_to_inner_class
9995 to suceed on all valid cases; remove confused sanity check.
9996 (dump_possible_polymorphic_call_targets): Simplify.
9998 2014-09-24 Aldy Hernandez <aldyh@redhat.com>
10000 * cgraph.h, dbxout.c, dwarfout2.c, gimple-fold.c,
10001 lto-streamer-out.c, print-tree.c, symtab.c, tree-inline.c,
10002 tree-streamer-in.c, tree-streamer-out.c, tree.c, tree.h,
10003 varpool.c: Rename all instances of DECL_ABSTRACT to
10006 2014-09-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
10008 * config/rs6000/rs6000.c (insn_is_swappable_p): Don't provide
10009 special handling for stores whose SET_SRC is an UNSPEC (such as
10012 2014-09-24 Jiong Wang <jiong.wang@arm.com>
10014 * shrink-wrap.c (move_insn_for_shrink_wrap): Add further check when
10015 !REG_P (src) to release more instruction sink opportunities.
10017 2014-09-24 Wilco Dijkstra <wilco.dijkstra@arm.com>
10019 * config/aarch64/aarch64.c (aarch64_register_move_cost): Add register
10020 move costs for 128-bit types.
10022 2014-09-24 Martin Jambor <mjambor@suse.cz>
10024 * ipa-prop.c (ipa_edge_duplication_hook): Update controlled_use_count
10025 when duplicating a PASS_THROUGH jump function when creating a
10028 2014-09-24 Marek Polacek <polacek@redhat.com>
10032 * asan.c (maybe_instrument_call): Add default case.
10033 * ipa-pure-const.c (special_builtin_state): Likewise.
10034 * predict.c (expr_expected_value_1): Likewise.
10035 * lto-streamer-out.c (write_symbol): Initialize variable.
10037 2014-09-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
10039 * config/aarch64/arm_neon.h (vmuld_lane_f64): Use macro for getting
10041 (vmuld_laneq_f64): Likewise.
10042 (vmuls_lane_f32): Likewise.
10043 (vmuls_laneq_f32): Likewise.
10045 2014-09-24 Kirill Yukhin <kirill.yukhin@intel.com>
10048 * varpool.c (varpool_node::add): Pass decl attributes
10049 to lookup_attribute.
10051 2014-09-24 Jakub Jelinek <jakub@redhat.com>
10054 * asan.c (asan_expand_check_ifn): Fix up align >= 8 optimization.
10056 2014-09-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
10058 PR tree-optimization/63266
10059 * tree-ssa-math-opts.c (struct symbolic_number): Add comment about
10060 marker for unknown byte value.
10061 (MARKER_MASK): New macro.
10062 (MARKER_BYTE_UNKNOWN): New macro.
10063 (HEAD_MARKER): New macro.
10064 (do_shift_rotate): Mark bytes with unknown values due to sign
10065 extension when doing an arithmetic right shift. Replace hardcoded
10066 mask for marker by new MARKER_MASK macro.
10067 (find_bswap_or_nop_1): Likewise and adjust ORing of two symbolic
10068 numbers accordingly.
10070 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
10071 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10072 Anna Tikhonova <anna.tikhonova@intel.com>
10073 Ilya Tocar <ilya.tocar@intel.com>
10074 Andrey Turetskiy <andrey.turetskiy@intel.com>
10075 Ilya Verbin <ilya.verbin@intel.com>
10076 Kirill Yukhin <kirill.yukhin@intel.com>
10077 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10079 * config/i386/sse.md
10081 "<sse2_avx_avx512f>_fix_notrunc<sf2simodelower><mode><mask_name>"):
10083 (define_insn "fix_truncv8sfv8si2<mask_name>"): Ditto.
10084 (define_insn "fix_truncv4sfv4si2<mask_name>"): Ditto.
10086 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
10087 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10088 Anna Tikhonova <anna.tikhonova@intel.com>
10089 Ilya Tocar <ilya.tocar@intel.com>
10090 Andrey Turetskiy <andrey.turetskiy@intel.com>
10091 Ilya Verbin <ilya.verbin@intel.com>
10092 Kirill Yukhin <kirill.yukhin@intel.com>
10093 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10095 * config/i386/sse.md
10096 (define_c_enum "unspec"): Add UNSPEC_PSHUFHW, UNSPEC_PSHUFLW.
10097 (define_insn "<mask_codefor>avx512bw_pshuflwv32hi<mask_name>"): New.
10098 (define_expand "avx512vl_pshuflwv3_mask"): Ditto.
10099 (define_insn "avx2_pshuflw_1<mask_name>"): Add masking.
10100 (define_expand "avx512vl_pshuflw_mask"): New.
10101 (define_insn "sse2_pshuflw_1<mask_name>"): Add masking.
10102 (define_insn "<mask_codefor>avx512bw_pshufhwv32hi<mask_name>"): New.
10103 (define_expand "avx512vl_pshufhwv3_mask"): Ditto.
10104 (define_insn "avx2_pshufhw_1<mask_name>"): Add masking.
10105 (define_expand "avx512vl_pshufhw_mask"): New.
10106 (define_insn "sse2_pshufhw_1<mask_name>"): Add masking.
10108 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
10109 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10110 Anna Tikhonova <anna.tikhonova@intel.com>
10111 Ilya Tocar <ilya.tocar@intel.com>
10112 Andrey Turetskiy <andrey.turetskiy@intel.com>
10113 Ilya Verbin <ilya.verbin@intel.com>
10114 Kirill Yukhin <kirill.yukhin@intel.com>
10115 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10117 * config/i386/i386.c
10118 (ix86_expand_args_builtin): Handle CODE_FOR_sse2_shufpd,
10119 CODE_FOR_sse2_sse2_shufpd_mask, CODE_FOR_sse2_avx512dq_shuf_f64x2_mask,
10120 CODE_FOR_sse2_avx512dq_shuf_i64x2_mask,
10121 CODE_FOR_sse2_avx512vl_shuf_i32x4_mask and
10122 CODE_FOR_sse2_avx512vl_shuf_f32x4_mask.
10123 * config/i386/sse.md
10124 (define_expand "avx512dq_shuf_<shuffletype>64x2_mask"): New.
10126 "<mask_codefor>avx512dq_shuf_<shuffletype>64x2_1<mask_name>"): Ditto.
10127 (define_expand "avx512vl_shuf_<shuffletype>32x4_mask"): Ditto.
10129 "<mask_codefor>avx512vl_shuf_<shuffletype>32x4_1<mask_name>"): Ditto.
10130 (define_expand "avx512vl_pshufdv3_mask"): Ditto.
10131 (define_insn "avx2_pshufd_1<mask_name>"): Add masking.
10132 (define_expand "avx512vl_pshufd_mask"): New.
10133 (define_insn "sse2_pshufd_1<mask_name>"): Add masking.
10135 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
10136 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10137 Anna Tikhonova <anna.tikhonova@intel.com>
10138 Ilya Tocar <ilya.tocar@intel.com>
10139 Andrey Turetskiy <andrey.turetskiy@intel.com>
10140 Ilya Verbin <ilya.verbin@intel.com>
10141 Kirill Yukhin <kirill.yukhin@intel.com>
10142 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10144 * config/i386/i386.c
10145 (CODE_FOR_avx2_extracti128): Rename to ...
10146 (CODE_FOR_avx_vextractf128v4di): this.
10147 (CODE_FOR_avx2_inserti128): Rename to ...
10148 (CODE_FOR_avx_vinsertf128v4di): this.
10149 (ix86_expand_args_builtin): Handle CODE_FOR_avx_vinsertf128v4di,
10150 CODE_FOR_avx_vextractf128v4di.
10151 (ix86_expand_args_builtin): Handle CODE_FOR_avx512dq_vinsertf32x8_mask,
10152 CODE_FOR_avx512dq_vinserti32x8_mask, CODE_FOR_avx512vl_vinsertv4df,
10153 CODE_FOR_avx512vl_vinsertv4di, CODE_FOR_avx512vl_vinsertv8sf,
10154 CODE_FOR_avx512vl_vinsertv8si.
10155 * config/i386/sse.md
10157 "<extract_type>_vinsert<shuffletype><extract_suf>_mask"): Use
10158 AVX512_VEC mode iterator.
10160 "<mask_codefor><extract_type>_vinsert<shuffletype><extract_suf>_1<mask_name>"):
10163 "<extract_type_2>_vinsert<shuffletype><extract_suf_2>_mask"): Use
10164 AVX512_VEC_2 mode iterator.
10165 (define_insn "vec_set_lo_<mode><mask_name>"): New.
10166 (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
10167 (define_expand "avx512vl_vinsert<mode>"): Ditto.
10168 (define_insn "avx2_vec_set_lo_v4di"): Delete.
10169 (define_insn "avx2_vec_set_hi_v4di"): Ditto.
10170 (define_insn "vec_set_lo_<mode><mask_name>"): Add masking.
10171 (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
10172 (define_insn "vec_set_lo_<mode><mask_name>"): Ditto.
10173 (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
10174 (define_expand "avx2_extracti128"): Delete.
10175 (define_expand "avx2_inserti128"): Ditto.
10177 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
10178 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10179 Anna Tikhonova <anna.tikhonova@intel.com>
10180 Ilya Tocar <ilya.tocar@intel.com>
10181 Andrey Turetskiy <andrey.turetskiy@intel.com>
10182 Ilya Verbin <ilya.verbin@intel.com>
10183 Kirill Yukhin <kirill.yukhin@intel.com>
10184 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10186 * config/i386/sse.md
10187 (define_insn "avx2_<code>v16qiv16hi2<mask_name>"): Add masking.
10188 (define_insn "avx512bw_<code>v32qiv32hi2<mask_name>"): New.
10189 (define_insn "sse4_1_<code>v8qiv8hi2<mask_name>"): Add masking.
10190 (define_insn "avx2_<code>v8qiv8si2<mask_name>"): Ditto.
10191 (define_insn "sse4_1_<code>v4qiv4si2<mask_name>"): Ditto.
10192 (define_insn "avx2_<code>v8hiv8si2<mask_name>"): Ditto.
10193 (define_insn "sse4_1_<code>v4hiv4si2<mask_name>"): Ditto.
10194 (define_insn "avx2_<code>v4qiv4di2<mask_name>"): Ditto.
10195 (define_insn "sse4_1_<code>v2qiv2di2<mask_name>"): Ditto.
10196 (define_insn "avx2_<code>v4hiv4di2<mask_name>"): Ditto.
10197 (define_insn "sse4_1_<code>v2hiv2di2<mask_name>"): Ditto.
10198 (define_insn "avx2_<code>v4siv4di2<mask_name>"): Ditto.
10199 (define_insn "sse4_1_<code>v2siv2di2<mask_name>"): Ditto.
10201 2014-09-24 Zhenqiang Chen <zhenqiang.chen@arm.com>
10203 PR rtl-optimization/63210
10204 * ira-color.c (assign_hard_reg): Ignore conflict cost if the
10205 HARD_REGNO is not available for CONFLICT_A.
10207 2014-09-23 Andi Kleen <ak@linux.intel.com>
10209 * cgraph.h (symtab_node): Add no_reorder attribute.
10210 (symbol_table::output_asm_statements): Remove.
10211 * cgraphclones.c (cgraph_node::create_clone): Copy no_reorder.
10212 (cgraph_node::create_version_clone): Dito.
10213 (symbol_table::output_asm_statements): Remove.
10214 * trans-mem.c (ipa_tm_create_version_alias): Dito.
10215 * cgraphunit.c (varpool_node::finalize_decl): Check no_reorder.
10216 (output_in_order): Add no_reorder flag. Only handle no_reorder
10218 (symbol_table::compile): Add separate pass for no_reorder nodes.
10219 (process_common_attributes): Set no_reorder flag in symtab node.
10221 (process_function_and_variable_attributes): Pass symtab nodes to
10222 process_common_attributes.
10223 * doc/extend.texi (no_reorder): Document no_reorder attribute.
10224 * lto-cgraph.c (lto_output_node): Serialize no_reorder.
10225 (lto_output_varpool_node): Dito.
10226 (input_overwrite_node): Dito.
10227 (input_varpool_node): Dito.
10228 * varpool.c (varpool_node::add): Set no_reorder attribute.
10229 (symbol_table::remove_unreferenced_decls): Handle no_reorder.
10230 (symbol_table::output_variables): Dito.
10231 * symtab.c (symtab_node::dump_base): Print no_reorder.
10233 2014-09-23 Jiong Wang <jiong.wang@arm.com>
10235 * shrink-wrap.c (try_shrink_wrapping): Check PIC_OFFSET_TABLE_REGNUM not
10238 2014-09-23 Thomas Schwinge <thomas@codesourcery.com>
10240 * configure: Regenerate.
10242 2014-09-23 Alan Lawrence <alan.lawrence@arm.com>
10244 * combine.c (simplify_shift_const_1): Allow commuting (ashiftrt (xor))
10245 when result_mode == shift_mode.
10247 2014-09-23 Kostya Serebryany <kcc@google.com>
10249 Update to match the changed asan API.
10250 * asan.c (asan_global_struct): Update the __asan_global definition
10251 to match the new API.
10252 (asan_add_global): Ditto.
10253 * sanitizer.def (BUILT_IN_ASAN_INIT): Rename __asan_init_v3
10256 2014-09-23 Michael Meissner <meissner@linux.vnet.ibm.com>
10258 * config/rs6000/rs6000.md (f32_vsx): New mode attributes to
10259 refine the constraints used on 32/64-bit floating point moves.
10260 (f32_av): Likewise.
10261 (f64_vsx): Likewise.
10262 (f64_dm): Likewise.
10263 (f64_av): Likewise.
10264 (BOOL_REGS_OUTPUT): Use wt constraint for TImode instead of wa.
10265 (BOOL_REGS_OP1): Likewise.
10266 (BOOL_REGS_OP2): Likewise.
10267 (BOOL_REGS_UNARY): Likewise.
10268 (mov<mode>_hardfloat, SFmode/SDmode): Tighten down constraints for
10269 32/64-bit floating point moves. Do not use wa, instead use ww/ws
10270 for moves involving VSX registers. Do not use constraints that
10271 target VSX registers for decimal types.
10272 (mov<mode>_hardfloat32, DFmode/DDmode): Likewise.
10273 (mov<mode>_hardfloat64, DFmode/DDmode): Likewise.
10275 2014-09-23 Jan Hubicka <hubicka@ucw.cz>
10277 * tree.h (int_bit_position): Turn into inline function;
10278 implement using wide int.
10279 * tree.c (int_bit_position): Remove.
10281 2014-09-23 Richard Sandiford <richard.sandiford@arm.com>
10284 * target-globals.c (target_globals::~target_globals): Fix location
10285 of ira_int destruction.
10287 2014-09-23 Renlin Li <renlin.li@arm.com>
10289 * config/aarch64/aarch64.md (return): New.
10290 (simple_return): Likewise.
10291 * config/aarch64/aarch64.c (aarch64_use_return_insn_p): New.
10292 * config/aarch64/aarch64-protos.h (aarch64_use_return_insn_p): New.
10294 2014-09-23 Wilco Dijkstra <wdijkstr@arm.com>
10296 * common/config/aarch64/aarch64-common.c:
10297 (default_options aarch_option_optimization_table):
10298 Default to -fsched-pressure.
10300 2014-09-23 Ilya Enkovich <ilya.enkovich@intel.com>
10302 * cfgcleanup.c (try_optimize_cfg): Do not remove label
10303 with LABEL_PRESERVE_P flag set.
10305 2014-09-23 Alexander Ivchenko <alexander.ivchenko@intel.com>
10306 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10307 Anna Tikhonova <anna.tikhonova@intel.com>
10308 Ilya Tocar <ilya.tocar@intel.com>
10309 Andrey Turetskiy <andrey.turetskiy@intel.com>
10310 Ilya Verbin <ilya.verbin@intel.com>
10311 Kirill Yukhin <kirill.yukhin@intel.com>
10312 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10314 * config/i386/sse.md
10315 (define_expand "avx_shufpd256<mask_expand4_name>"): Add masking.
10316 (define_insn "avx_shufpd256_1<mask_name>"): Ditto.
10317 (define_expand "sse2_shufpd<mask_expand4_name>"): Ditto.
10318 (define_insn "sse2_shufpd_v2df_mask"): New.
10320 2014-09-23 Alexander Ivchenko <alexander.ivchenko@intel.com>
10321 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10322 Anna Tikhonova <anna.tikhonova@intel.com>
10323 Ilya Tocar <ilya.tocar@intel.com>
10324 Andrey Turetskiy <andrey.turetskiy@intel.com>
10325 Ilya Verbin <ilya.verbin@intel.com>
10326 Kirill Yukhin <kirill.yukhin@intel.com>
10327 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10329 * config/i386/sse.md
10330 (define_expand "avx_shufps256<mask_expand4_name>"): Add masking.
10331 (define_insn "avx_shufps256_1<mask_name>"): Ditto.
10332 (define_expand "sse_shufps<mask_expand4_name>"): Ditto.
10333 (define_insn "sse_shufps_v4sf_mask"): New.
10335 2014-09-23 Alexander Ivchenko <alexander.ivchenko@intel.com>
10336 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10337 Anna Tikhonova <anna.tikhonova@intel.com>
10338 Ilya Tocar <ilya.tocar@intel.com>
10339 Andrey Turetskiy <andrey.turetskiy@intel.com>
10340 Ilya Verbin <ilya.verbin@intel.com>
10341 Kirill Yukhin <kirill.yukhin@intel.com>
10342 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10344 * config/i386/sse.md
10345 (define_insn "avx_unpckhps256<mask_name>"): Add masking.
10346 (define_insn "vec_interleave_highv4sf<mask_name>"): Ditto.
10347 (define_insn "avx_unpcklps256<mask_name>"): Ditto.
10348 (define_insn "unpcklps128_mask"): New.
10350 2014-09-23 Alexander Ivchenko <alexander.ivchenko@intel.com>
10351 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10352 Anna Tikhonova <anna.tikhonova@intel.com>
10353 Ilya Tocar <ilya.tocar@intel.com>
10354 Andrey Turetskiy <andrey.turetskiy@intel.com>
10355 Ilya Verbin <ilya.verbin@intel.com>
10356 Kirill Yukhin <kirill.yukhin@intel.com>
10357 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10359 * config/i386/sse.md
10360 (define_insn "avx_unpckhpd256<mask_name>"): Add masking.
10361 (define_insn "avx512vl_unpckhpd128_mask"): New.
10362 (define_expand "avx_movddup256<mask_name>"): Add masking.
10363 (define_expand "avx_unpcklpd256<mask_name>"): Ditto.
10364 (define_insn "*avx_unpcklpd256<mask_name>"): Ditto.
10365 (define_insn "avx512vl_unpcklpd128_mask"): New.
10367 2014-09-22 Joseph Myers <joseph@codesourcery.com>
10369 * doc/tm.texi.in (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10370 * doc/tm.texi: Regenerate.
10371 * system.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Poison.
10372 * config/alpha/alpha.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10373 * config/i386/i386-interix.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
10375 * config/i386/i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10376 * config/i386/rtemself.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10377 * config/ia64/ia64.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10378 * config/m68k/m68k.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10379 * config/m68k/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
10381 * config/mips/mips.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10382 * config/mips/n32-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10383 * config/msp430/msp430.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10384 * config/rl78/rl78.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10385 * config/rs6000/rs6000.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10386 * config/rx/rx.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10387 * config/s390/s390.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10388 * config/sparc/freebsd.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10389 * config/sparc/linux.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10390 * config/sparc/linux64.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
10391 * config/sparc/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
10394 2014-09-22 Jan Hubicka <hubicka@ucw.cz>
10396 * tree-ssa-ccp.c (prop_value_d): Rename to ...
10397 (ccp_prop_value_t): ... this one to avoid ODR violation; update uses.
10398 * ipa-prop.c (struct type_change_info): Rename to ...
10399 (prop_type_change_info): ... this; update uses.
10400 * ggc-page.c (globals): Rename to ...
10401 (static struct ggc_globals): ... this; update uses.
10402 * tree-ssa-loop-im.c (mem_ref): Rename to ...
10403 (im_mem_ref): ... this; update uses.
10404 * ggc-common.c (loc_descriptor): Rename to ...
10405 (ggc_loc_descriptor): ... this; update uses.
10406 * lra-eliminations.c (elim_table): Rename to ...
10407 (lra_elim_table): ... this; update uses.
10408 * bitmap.c (output_info): Rename to ...
10409 (bitmap_output_info): ... this; update uses.
10410 * gcse.c (expr): Rename to ...
10411 (gcse_expr) ... this; update uses.
10412 (occr): Rename to ...
10413 (gcse_occr): .. this; update uses.
10414 * tree-ssa-copy.c (prop_value_d): Rename to ...
10415 (prop_value_t): ... this.
10416 * predict.c (block_info_def): Rename to ...
10417 (block_info): ... this; update uses.
10418 (edge_info_def): Rename to ...
10419 (edge_info): ... this; update uses.
10420 * profile.c (bb_info): Rename to ...
10421 (bb_profile_info): ... this; update uses.
10422 * alloc-pool.c (output_info): Rename to ...
10423 (pool_output_info): ... this; update uses.
10424 * ipa-cp.c (topo_info): Rename to ..
10425 (ipa_topo_info): ... this; update uses.
10426 * tree-nrv.c (nrv_data): Rename to ...
10427 (nrv_data_t): ... this; update uses.
10428 * ipa-split.c (bb_info): Rename to ...
10429 (split_bb_info): ... this one.
10430 * profile.h (edge_info): Rename to ...
10431 (edge_profile_info): ... this one; update uses.
10432 * dse.c (bb_info): Rename to ...
10433 (dse_bb_info): ... this one; update uses.
10434 * cprop.c (occr): Rename to ...
10435 (cprop_occr): ... this one; update uses.
10436 (expr): Rename to ...
10437 (cprop_expr): ... this one; update uses.
10439 2014-09-22 Jason Merrill <jason@redhat.com>
10441 * Makefile.in (check-parallel-%): Add @.
10443 2014-09-22 James Greenhalgh <james.greenhalgh@arm.com>
10445 * config/aarch64/geniterators.sh: New.
10446 * config/aarch64/iterators.md (VDQF_DF): New.
10447 * config/aarch64/t-aarch64: Generate aarch64-builtin-iterators.h.
10448 * config/aarch64/aarch64-builtins.c (BUILTIN_*) Remove.
10450 2014-09-22 Peter A. Bigot <pab@pabigot.com>
10452 * config/msp430/msp430.h (LIB_SPEC): Remove automatic addition of
10453 -lnosys when -msim absent.
10455 2014-09-22 Alan Lawrence <alan.lawrence@arm.com>
10457 * fold-const.c (tree_swap_operands_p): Strip only sign-preserving NOPs.
10459 2014-09-22 Richard Biener <rguenther@suse.de>
10461 * gimplify.c (gimplify_init_constructor): Do not leave
10462 non-GIMPLE vector constructors around.
10463 * tree-cfg.c (verify_gimple_assign_single): Verify that
10464 CONSTRUCTORs have gimple elements.
10466 2014-09-22 Jakub Jelinek <jakub@redhat.com>
10469 * omp-low.c (ipa_simd_modify_stmt_ops): For debug stmts
10470 insert a debug source bind stmt setting DEBUG_EXPR_DECL
10471 instead of a normal gimple assignment stmt.
10473 2014-09-22 James Greenhalgh <james.greenhalgh@arm.com>
10475 * config/bfin/bfin.md: Fix use of constraints in define_split.
10477 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
10479 * config/i386/i386.c (ix86_cannot_change_mode_class): Remove
10480 GET_MODE_SIZE (to) < GET_MODE_SIZE (from) test.
10482 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
10484 * hard-reg-set.h: Include hash-table.h.
10485 (target_hard_regs): Add a finalize method and a x_simplifiable_subregs
10487 * target-globals.c (target_globals::~target_globals): Call
10488 hard_regs->finalize.
10489 * rtl.h (subreg_shape): New structure.
10490 (shape_of_subreg): New function.
10491 (simplifiable_subregs): Declare.
10492 * reginfo.c (simplifiable_subreg): New structure.
10493 (simplifiable_subregs_hasher): Likewise.
10494 (simplifiable_subregs): New function.
10495 (invalid_mode_changes): Delete.
10496 (alid_mode_changes, valid_mode_changes_obstack): New variables.
10497 (record_subregs_of_mode): Remove subregs_of_mode parameter.
10498 Record valid mode changes in valid_mode_changes.
10499 (find_subregs_of_mode): Remove subregs_of_mode parameter.
10500 Update calls to record_subregs_of_mode.
10501 (init_subregs_of_mode): Remove invalid_mode_changes and bitmap
10502 handling. Initialize new variables. Update call to
10503 find_subregs_of_mode.
10504 (invalid_mode_change_p): Check new variables instead of
10505 invalid_mode_changes.
10506 (finish_subregs_of_mode): Finalize new variables instead of
10507 invalid_mode_changes.
10508 (target_hard_regs::finalize): New function.
10509 * ira-costs.c (print_allocno_costs): Call invalid_mode_change_p
10510 even when CLASS_CANNOT_CHANGE_MODE is undefined.
10512 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
10514 * combine.c (subst): Use simplify_subreg_regno rather than
10515 REG_CANNOT_CHANGE_MODE_P to detect invalid mode changes.
10517 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
10519 * rtl.h (subreg_info): Expand commentary
10520 * rtlanal.c (subreg_get_info): Likewise.
10522 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
10524 * hard-reg-set.h (COPY_HARD_REG_SET, COMPL_HARD_REG_SET)
10525 (AND_HARD_REG_SET, AND_COMPL_HARD_REG_SET, IOR_HARD_REG_SET)
10526 (IOR_COMPL_HARD_REG_SET): Allow the "from" set to be constant.
10528 2014-09-22 Zhenqiang Chen <zhenqiang.chen@arm.com>
10530 * config/arm/arm.c: #include "tm-constrs.h"
10531 (thumb1_size_rtx_costs): Adjust rtx costs.
10533 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
10535 * configure.ac (target_header_dir): Move block defining
10536 this to before the block setting inhibit_libc.
10537 (inhibit_libc): When considering $with_headers, just
10538 check it it's explicitly "no". If not, also check if
10539 $target_header_dir/stdio.h is present. If not, set
10541 * configure: Regenerate.
10543 2014-09-21 Patrick Oppenlander <pattyo.lists@gmail.com>
10545 * config/rs6000/t-spe (MULTILIB_EXCEPTIONS): Allow isel without SPE.
10547 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
10549 * config/rs6000/rs6000.md (div<mode>3): Fix comment. Use a different
10550 insn for divides by integer powers of two.
10551 (div<mode>3_sra, *div<mode>3_sra_dot, *div<mode>3_sra_dot2): New.
10552 (mod<mode>3): Fix formatting.
10553 (three anonymous define_insn and two define_split): Delete.
10555 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
10557 * config/rs6000/rs6000.md (ashr<mode>3, *ashr<mode>3, *ashrsi3_64,
10558 *ashr<mode>3_dot, *ashr<mode>3_dot2): Clobber CA_REGNO.
10559 (floatdisf2_internal2): Ditto.
10560 (ashrdi3_no_power): Ditto. Fix formatting.
10562 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
10564 * config/rs6000/rs6000.md (ctz<mode>2, ffs<mode>2, popcount<mode>2,
10565 popcntb<mode>2, popcntd<mode>2, parity<mode>2, parity<mode>2_cmpb):
10568 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
10570 * config/rs6000/rs6000.md (strlensi): Don't use subsi3 with a
10571 constant, use addsi3 directly.
10572 (three anonymous define_insn, two define_split): Delete.
10573 (sub<mode>3): Move. Do not allow constant second operand.
10574 Generate different insn for constant first operand.
10575 (*subf<mode>3, *subf<mode>3_dot, *subf<mode>3_dot2): New.
10576 (subf<mode>3_imm): New.
10577 (ctz<mode>2, ffs<mode>2): Clobber CA_REGNO where required.
10578 (*plus_ltu<mode>): Only handle registers.
10579 (*plus_ltu<mode>_1): New. Handle integer third operand.
10580 (*plus_gtu<mode>): Only handle registers.
10581 (*plus_gtu<mode>_1): New. Handle integer third operand.
10583 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
10585 * config/rs6000/rs6000.md (iorxor): New code_iterator.
10586 (iorxor): New code_attr.
10587 (IORXOR): New code_attr.
10588 (*and<mode>3, *and<mode>3_dot, *and<mode>3_dot2): Delete.
10589 (ior<mode>3, xor<mode>3): Delete.
10590 (<iorxor><mode>3): New.
10591 (splitter for "big" integer ior, xor): New.
10592 (*bool<mode>3): Move. Also handle AND.
10593 (*bool<mode>3_dot, *bool<mode>3_dot2): Also handle AND.
10594 (splitter for "big" integer ior, xor): Delete.
10596 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
10598 * config/rs6000/rs6000.md (*neg<mode>2_internal): Delete.
10599 (two anonymous define_insn and two define_split): Delete.
10600 (*neg<mode>2, *neg<mode>2_dot, *neg<mode>2_dot2): New.
10602 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
10604 * config/rs6000/rs6000.md (*one_cmpl<mode>2): Generate "not" insn.
10605 (two anonymous define_insn and two define_split): Delete.
10606 (*one_cmpl<mode>2_dot, *one_cmpl<mode>2_dot2): New.
10608 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
10610 * config/rs6000/rs6000.c (rs6000_rtx_costs) <NE>: New.
10612 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
10614 * config/rs6000/predicates.md (ca_operand): Allow subregs.
10615 (input_operand): Do not allow ca_operand.
10616 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): For the
10617 carry bit, allow SImode and Pmode.
10618 (rs6000_init_hard_regno_mode_ok): Make the carry bit class NO_REGS.
10620 2014-09-21 Uros Bizjak <ubizjak@gmail.com>
10622 * config/i386/i386.c (ix86_expand_call): Generate MS->SYSV extra
10623 clobbered registers using clobber_reg. Remove UNSPEC decoration.
10624 * config/i386/i386.md (unspec) <UNSPEC_MS_TO_SYSV_CALL>: Remove.
10625 (*call_rex64_ms_sysv): Remove.
10626 (*call_value_rex64_ms_sysv): Ditto.
10627 * config/i386/predicates.md (call_rex64_ms_sysv_operation): Remove.
10629 2014-09-20 Joern Rennecke <joern.rennecke@embecosm.com>
10631 * config/epiphany/epiphany.md (sub_f_add_imm): Change constraint of
10632 operand 3 to "CnL".
10634 2014-09-20 Andreas Schwab <schwab@suse.de>
10636 * config/ia64/ia64.md: Remove constraints from define_split
10639 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
10641 * ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
10642 (possible_polymorphic_call_targets, dump_possible_polymorphic_call_targets,
10643 possible_polymorphic_call_target_p, possible_polymorphic_call_target_p): Simplify.
10644 (get_dynamic_type): Remove.
10645 * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
10646 (clear_speculation): Bring to ipa-deivrt.h
10647 (get_class_context): Rename to ...
10648 (ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
10649 (contains_type_p): Update.
10650 (get_dynamic_type): Rename to ...
10651 ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
10652 (possible_polymorphic_call_targets): UPdate.
10653 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
10654 * ipa-prop.c (ipa_analyze_call_uses): Update.
10656 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
10658 * ipa-visibility.c (varpool_node::externally_visible_p): Do not
10659 privatize dynamic TLS variables.
10661 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
10663 * diagnostic.c (warning_n): New function.
10664 * diagnostic-core.h (warning_n): Declare.
10665 * ipa-devirt.c (ipa_devirt): Handle singulars correctly;
10666 output dynamic counts when available.
10668 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
10670 PR tree-optimization/63255
10671 * ipa.c (symbol_table::remove_unreachable_nodes): Fix ordering
10672 issue in setting body_removed flag.
10674 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
10677 * c-family/c-common.c (handle_alias_ifunc_attribute): Check
10678 that visibility change is possible
10679 (handle_weakref_attribute): Likewise.
10680 * cgraph.h (symtab_node): Add method get_create and
10681 field refuse_visibility_changes.
10682 (symtab_node::get_create): New method.
10683 * fold-const.c (tree_single_nonzero_warnv_p): Use get_create.
10684 * varasm.c (mark_weak): Verify that visibility change is
10687 2014-09-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10689 * config/rs6000/predicates.md (fusion_gpr_mem_load): Move testing
10690 for base_reg_operand to be common between LO_SUM and PLUS.
10691 (fusion_gpr_mem_combo): New predicate to match a fused address
10692 that combines the addis and memory offset address.
10694 * config/rs6000/rs6000-protos.h (fusion_gpr_load_p): Change
10696 (emit_fusion_gpr_load): Likewise.
10698 * config/rs6000/rs6000.c (fusion_gpr_load_p): Change calling
10699 signature to pass each argument separately, rather than
10700 using an operands array. Rewrite the insns found by peephole2 to
10701 be a single insn, rather than hoping the insns will still be
10702 together when the peephole pass is done. Drop being called via a
10704 (emit_fusion_gpr_load): Change calling signature to be called from
10705 the fusion_gpr_load_<mode> insns with a combined memory address
10706 instead of the peephole pass passing the addis and offset
10709 * config/rs6000/rs6000.md (UNSPEC_FUSION_GPR): New unspec for GPR
10711 (power8 fusion peephole): Drop support for doing power8 via a
10712 normal peephole that was created by the peephole2 pass.
10713 (power8 fusion peephole2): Create a new insn with the fused
10714 address, so that the fused operation is kept together after
10715 register allocation is done.
10716 (fusion_gpr_load_<mode>): Likewise.
10718 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
10721 * tree.c (need_assembler_name_p): Do not mangle variadic types.
10723 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
10725 * recog.c (scratch_operand): Do not simply allow all hard registers:
10726 only allow those that are allocatable.
10728 2014-09-19 Felix Yang <felix.yang@huawei.com>
10730 * cfgrtl.c ira.c ira-color.c ira-conflicts ira-lives.c: Update
10731 comments and fix spacing to conform to coding style.
10733 2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
10735 * genrecog.c (validate_pattern): Allow empty constraints in
10738 2014-09-19 Aldy Hernandez <aldyh@redhat.com>
10740 * dwarf2out.c (decl_ultimate_origin): Update comment.
10741 * tree.c (block_ultimate_origin): Same.
10743 2014-09-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10745 * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p):
10746 Update GCC version name to GCC 5.
10747 (rs6000_function_arg_boundary): Likewise.
10748 (rs6000_function_arg): Likewise.
10750 2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
10752 * config/sh/sh.md: Fix use of constraints in define_split.
10754 2014-09-19 Markus Trippelsdorf <markus@trippelsdorf.de>
10757 * ipa-devirt.c (ipa_devirt): Bail out if odr_types_ptr is NULL.
10759 2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
10761 * doc/md.texi (Modifiers): Consistently use "read/write"
10762 nomenclature rather than "input/output".
10763 * genrecog.c (constraints_supported_in_insn_p): New.
10764 (validate_pattern): If needed, also check constraints on
10765 MATCH_SCRATCH operands.
10766 * genoutput.c (validate_insn_alternatives): Catch earlyclobber
10767 operands with no '=' or '+' modifier.
10769 2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
10771 * config/aarch64/aarch64.md (stack_protect_test_<mode>): Mark
10772 scratch register as written.
10774 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10776 * config/s390/s390.c (s390_emit_epilogue): Remove bogus
10779 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10781 * config/s390/s390.md ("trunctdsd2", "extendsdtd2"): New
10784 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10787 * config/s390/s390.c (s390_emit_epilogue): When doing the return
10788 address load optimization force s390_optimize_prologue to leave it
10789 that way. Only do the optimization if we already decided to push
10790 r14 into a stack slot.
10792 2014-09-19 Marat Zakirov <m.zakirov@samsung.com>
10794 * asan.c (build_check_stmt): Alignment arg was added.
10795 (asan_expand_check_ifn): Optimization for alignment >= 8.
10797 2014-09-19 Olivier Hainque <hainque@adacore.com>
10799 * config/i386/vxworksae.h: Remove obsolete definitions.
10800 (STACK_CHECK_PROTECT): Define.
10801 * config/i386/vx-common.h: Remove. Merge contents within
10802 config/i386/vxworks.h.
10803 * config.gcc (i?86-vxworks*): Use i386/vxworks.h instead of
10806 2014-09-19 Olivier Hainque <hainque@adacore.com>
10808 * config.gcc (powerpc-wrs-vxworksmils): New configuration.
10809 * config/rs6000/t-vxworksmils: New file.
10810 * config/rs6000/vxworksmils.h: New file.
10812 2014-09-19 Olivier Hainque <hainque@adacore.com>
10814 * varasm.c (default_section_type_flags): Flag .persistent.bss
10815 sections as SECTION_BSS.
10817 2014-09-19 Nick Clifton <nickc@redhat.com>
10819 * config/rl78/rl78.c (rl78_expand_epilogue): Generate a USE of the
10820 pop'ed registers so that DCE does not eliminate them.
10822 2014-09-18 Jan Hubicka <hubicka@ucw.cz>
10825 * ipa-devirt.c (odr_subtypes_equivalent_p): Fix thinko in a condition.
10827 2014-09-18 Joseph Myers <joseph@codesourcery.com>
10829 * system.h (LIBGCC2_TF_CEXT): Poison.
10830 * config/i386/cygming.h (LIBGCC2_TF_CEXT): Remove.
10831 * config/i386/darwin.h (LIBGCC2_TF_CEXT): Likewise.
10832 * config/i386/dragonfly.h (LIBGCC2_TF_CEXT): Likewise.
10833 * config/i386/freebsd.h (LIBGCC2_TF_CEXT): Likewise.
10834 * config/i386/gnu-user-common.h (LIBGCC2_TF_CEXT): Likewise.
10835 * config/i386/openbsdelf.h (LIBGCC2_TF_CEXT): Likewise.
10836 * config/i386/sol2.h (LIBGCC2_TF_CEXT): Likewise.
10837 * config/ia64/ia64.h (LIBGCC2_TF_CEXT): Likewise.
10838 * config/ia64/linux.h (LIBGCC2_TF_CEXT): Likewise.
10840 2014-09-19 Kito Cheng <kito@0xlab.org>
10842 * except.h: Fix header guard.
10843 * addresses.h: Add missing header guard.
10844 * cfghooks.h: Likewise.
10845 * collect-utils.h: Likewise.
10846 * collect2-aix.h: Likewise.
10847 * conditions.h: Likewise.
10848 * cselib.h: Likewise.
10849 * dwarf2asm.h: Likewise.
10850 * graphds.h: Likewise.
10851 * graphite-scop-detection.h: Likewise.
10852 * gsyms.h: Likewise.
10853 * hw-doloop.h: Likewise.
10854 * incpath.h: Likewise.
10855 * ipa-inline.h: Likewise.
10856 * ipa-ref.h: Likewise.
10857 * ira-int.h: Likewise.
10859 * lra-int.h: Likewise.
10861 * lto-section-names.h: Likewise.
10862 * read-md.h: Likewise.
10863 * reload.h: Likewise.
10864 * rtl-error.h: Likewise.
10865 * sdbout.h: Likewise.
10866 * targhooks.h: Likewise.
10867 * tree-affine.h: Likewise.
10868 * xcoff.h: Likewise.
10869 * xcoffout.h: Likewise.
10871 2014-09-18 Vladimir Makarov <vmakarov@redhat.com>
10874 * haifa-sched.c (schedule_block): Advance cycle at the end of BB
10877 2014-09-18 Vladimir Makarov <vmakarov@redhat.com>
10880 * lra.c (lra): Call recog_init.
10882 2014-09-18 Jakub Jelinek <jakub@redhat.com>
10885 * asan.c (transform_statements): Don't instrument clobber statements.
10887 2014-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
10889 * config/arm/neon.md (*movmisalign<mode>_neon_load): Change type
10890 to neon_load1_1reg<q>.
10892 2014-09-17 Jakub Jelinek <jakub@redhat.com>
10895 * tree-cfgcleanup.c (fixup_noreturn_call): Don't split block
10896 if there are only debug stmts after the noreturn call, instead
10897 remove the debug stmts.
10899 2014-09-17 Jan Hubicka <hubicka@ucw.cz>
10901 * ipa-devirt.c (type_pair, default_hashset_traits): New types.
10902 (odr_types_equivalent_p): Use pair hash.
10903 (odr_subtypes_equivalent_p): Likewise, do structural compare
10904 on ODR types that may be mismatched.
10905 (warn_odr): Support warning when only one field is given.
10906 (odr_types_equivalent_p): Strenghten comparsions made;
10908 (add_type_duplicate): Update VISITED hash set.
10910 2014-09-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
10912 * config.gcc (*-*-rtems*): Default to 'rtems' thread model.
10913 Enable selection of 'posix' or no thread model.
10915 2014-09-17 Andrew Stubbs <ams@codesourcery.com>
10917 * config/arm/arm.c (arm_option_override): Reject -mfpu=neon
10918 when architecture is older than ARMv7.
10920 2014-09-16 John David Anglin <danglin@gcc.gnu.org>
10923 * config/pa/pa.c (pa_function_value): Directly handle aggregates
10924 that fit exactly in a word or double word.
10926 2014-09-16 Ilya Tocar <ilya.tocar@intel.com>
10928 * config/i386/driver-i386.c (host_detect_local_cpu): Detect lack of
10929 zmm/k regs support.
10931 2014-09-16 Alexander Ivchenko <alexander.ivchenko@intel.com>
10932 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10933 Anna Tikhonova <anna.tikhonova@intel.com>
10934 Ilya Tocar <ilya.tocar@intel.com>
10935 Andrey Turetskiy <andrey.turetskiy@intel.com>
10936 Ilya Verbin <ilya.verbin@intel.com>
10937 Kirill Yukhin <kirill.yukhin@intel.com>
10938 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10940 * config/i386/i386.c
10941 (ix86_expand_vector_extract): Handle V32HI and V64QI modes.
10942 * config/i386/sse.md
10943 (define_mode_iterator VI48F_256): New.
10944 (define_mode_attr extract_type): Ditto.
10945 (define_mode_attr extract_suf): Ditto.
10946 (define_mode_iterator AVX512_VEC): Ditto.
10948 "<extract_type>_vextract<shuffletype><extract_suf>_mask"): Use
10950 (define_insn "avx512dq_vextract<shuffletype>64x2_1_maskm"): New.
10952 "<mask_codefor>avx512dq_vextract<shuffletype>64x2_1<mask_name>"):
10954 (define_mode_attr extract_type_2): Ditto.
10955 (define_mode_attr extract_suf_2): Ditto.
10956 (define_mode_iterator AVX512_VEC_2): Ditto.
10958 "<extract_type_2>_vextract<shuffletype><extract_suf_2>_mask"): Use
10959 AVX512_VEC_2 mode iterator.
10960 (define_insn "vec_extract_hi_<mode>_maskm"): Ditto.
10961 (define_expand "avx512vl_vextractf128<mode>"): Ditto.
10962 (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
10963 (define_insn "vec_extract_lo_<mode><mask_name>"): New.
10964 (define_split for V16FI mode): Ditto.
10965 (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
10966 (define_insn "vec_extract_lo_<mode><mask_name>"): New.
10967 (define_split for VI8F_256 mode): Ditto.
10968 (define_insn "vec_extract_hi_<mode><mask_name>"): Add masking.
10969 (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
10970 (define_insn "vec_extract_lo_<mode><mask_name>"): New.
10971 (define_split for VI4F_256 mode): Ditto.
10972 (define_insn "vec_extract_lo_<mode>_maskm"): Ditto.
10973 (define_insn "vec_extract_hi_<mode>_maskm"): Ditto.
10974 (define_insn "vec_extract_hi_<mode><mask_name>"): Add masking.
10975 (define_mode_iterator VEC_EXTRACT_MODE): Add V64QI and V32HI modes.
10976 (define_insn "vcvtph2ps<mask_name>"): Fix pattern condition.
10977 (define_insn "avx512f_vextract<shuffletype>32x4_1_maskm"): Ditto.
10978 (define_insn "<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>"):
10979 Update `type' attribute, remove explicit `memory' attribute calculation.
10981 2014-09-16 Kito Cheng <kito@0xlab.org>
10983 * ira.c (ira): Don't initialize ira_spilled_reg_stack_slots and
10984 ira_spilled_reg_stack_slots_num if using lra.
10985 (do_reload): Remove release ira_spilled_reg_stack_slots part.
10986 * ira-color.c (ira_sort_regnos_for_alter_reg): Add assertion to
10987 make sure not using lra.
10988 (ira_reuse_stack_slot): Likewise.
10989 (ira_mark_new_stack_slot): Likewise.
10991 2014-09-15 Andi Kleen <ak@linux.intel.com>
10993 * function.c (allocate_struct_function): Force
10994 DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT to one when
10995 profiling is disabled.
10997 2014-09-15 Trevor Saunders <tsaunders@mozilla.com>
10999 * cfgrtl.c, combine.c, config/arc/arc.c, config/mcore/mcore.c,
11000 config/rs6000/rs6000.c, config/sh/sh.c, cprop.c, dwarf2out.c,
11001 emit-rtl.c, final.c, function.c, gcse.c, jump.c, reg-stack.c,
11002 reload1.c, reorg.c, resource.c, sel-sched-ir.c: Replace INSN_DELETED_P
11003 macro with statically checked member functions.
11004 * rtl.h (rtx_insn::deleted): New method.
11005 (rtx_insn::set_deleted): Likewise.
11006 (rtx_insn::set_undeleted): Likewise.
11007 (INSN_DELETED_P): Remove.
11009 2014-09-15 Trevor Saunders <tsaunders@mozilla.com>
11011 * config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Assign the
11012 result of emit_jump_insn_before to a new variable.
11013 * jump.c (mark_jump_label): Change the type of insn to rtx_insn *.
11014 (mark_jump_label_1): Likewise.
11015 (mark_jump_label_asm): Likewise.
11016 * reload1.c (gen_reload): Change type of tem to rtx_insn *.
11017 * rtl.h (mark_jump_label): Adjust.
11019 2014-09-15 Jakub Jelinek <jakub@redhat.com>
11021 * Makefile.in (dg_target_exps): Remove.
11022 (check_gcc_parallelize): Change to just an upper bound number.
11023 (check-%-subtargets): Always print the non-parallelized goals.
11024 (check_p_vars, check_p_comma, check_p_subwork): Remove.
11025 (check_p_count, check_p_numbers0, check_p_numbers1, check_p_numbers2,
11026 check_p_numbers3, check_p_numbers4, check_p_numbers5,
11027 check_p_numbers6): New variables.
11028 (check_p_numbers): Set to sequence from 1 to 9999.
11029 (check_p_subdirs): Set to sequence from 1 to minimum of
11030 $(check_p_count) and either GCC_TEST_PARALLEL_SLOTS env var if set,
11032 (check-%, check-parallel-%): Rewritten so that for parallelized
11033 testing each job runs all the *.exp files, with
11034 GCC_RUNTEST_PARALLELIZE_DIR set in environment.
11036 2014-09-15 David Malcolm <dmalcolm@redhat.com>
11038 * config/arc/arc-protos.h (arc_attr_type): Strengthen param from
11040 (arc_sets_cc_p): Likewise.
11041 * config/arc/arc.c (arc_print_operand): Use methods of
11042 "final_sequence" for clarity, and to enable strengthening of
11043 locals "jump" and "delay" from rtx to rtx_insn *.
11044 (arc_adjust_insn_length): Strengthen local "prev" from rtx to
11045 rtx_insn *; use method of rtx_sequence for typesafety.
11046 (arc_get_insn_variants): Use insn method of rtx_sequence for
11048 (arc_pad_return): Likewise.
11049 (arc_attr_type): Strengthen param from rtx to rtx_insn *.
11050 (arc_sets_cc_p): Likewise. Also, convert a GET_CODE check to a
11051 dyn_cast to rtx_sequence *, using insn method for typesafety.
11052 * config/arc/arc.h (ADJUST_INSN_LENGTH): Add checked casts to
11053 rtx_sequence * and use insn method when invoking get_attr_length.
11054 * config/bfin/bfin.c (type_for_anomaly): Strengthen param from rtx
11055 to rtx_insn *. Replace a GET_CODE check with a dyn_cast to
11056 rtx_sequence *, introducing a local "seq", using its insn method
11057 from typesafety and clarity.
11058 (add_sched_insns_for_speculation): Strengthen local "next" from
11060 * config/c6x/c6x.c (get_insn_side): Likewise for param "insn".
11061 (predicate_insn): Likewise.
11062 * config/cris/cris-protos.h (cris_notice_update_cc): Likewise for
11064 * config/cris/cris.c (cris_notice_update_cc): Likewise.
11065 * config/epiphany/epiphany-protos.h
11066 (extern void epiphany_insert_mode_switch_use): Likewise for param
11068 (get_attr_sched_use_fpu): Likewise for param.
11069 * config/epiphany/epiphany.c (epiphany_insert_mode_switch_use):
11070 Likewise for param "insn".
11071 * config/epiphany/mode-switch-use.c (insert_uses): Likewise for
11072 param "insn" of "target_insert_mode_switch_use" callback.
11073 * config/frv/frv.c (frv_insn_unit): Likewise for param "insn".
11074 (frv_issues_to_branch_unit_p): Likewise.
11075 (frv_pack_insn_p): Likewise.
11076 (frv_compare_insns): Strengthen locals "insn1" and "insn2" from
11077 const rtx * (i.e. mutable rtx_def * const *) to
11078 rtx_insn * const *.
11079 * config/i386/i386-protos.h (standard_sse_constant_opcode):
11080 Strengthen first param from rtx to rtx_insn *.
11081 (output_fix_trunc): Likewise.
11082 * config/i386/i386.c (standard_sse_constant_opcode): Likewise.
11083 (output_fix_trunc): Likewise.
11084 (core2i7_first_cycle_multipass_filter_ready_try): Likewise for
11086 (min_insn_size): Likewise for param "insn".
11087 (get_mem_group): Likewise.
11088 (is_cmp): Likewise.
11089 (get_insn_path): Likewise.
11090 (get_insn_group): Likewise.
11091 (count_num_restricted): Likewise.
11092 (fits_dispatch_window): Likewise.
11093 (add_insn_window): Likewise.
11094 (add_to_dispatch_window): Likewise.
11095 (debug_insn_dispatch_info_file): Likewise.
11096 * config/m32c/m32c-protos.h (m32c_output_compare): Likewise for
11098 * config/m32c/m32c.c (m32c_compare_redundant): Likewise for param
11099 "cmp" and local "prev".
11100 (m32c_output_compare): Likewise for param "insn".
11101 * config/m32r/predicates.md (define_predicate "small_insn_p"): Add
11102 a checked cast to rtx_insn * on "op" after we know it's an INSN_P.
11103 (define_predicate "large_insn_p"): Likewise.
11104 * config/m68k/m68k-protos.h (m68k_sched_attr_size): Strengthen
11105 param from rtx to rtx_insn *.
11106 (attr_op_mem m68k_sched_attr_op_mem): Likewise.
11107 * config/m68k/m68k.c (sched_get_attr_size_int): Likewise.
11108 (m68k_sched_attr_size): Likewise.
11109 (sched_get_opxy_mem_type): Likewise for param "insn".
11110 (m68k_sched_attr_op_mem): Likewise.
11111 (sched_mem_operand_p): Likewise.
11112 * config/mep/mep-protos.h (mep_multi_slot): Likewise for param.
11113 * config/mep/mep.c (mep_multi_slot): Likewise.
11114 * config/mips/mips-protos.h (mips_output_sync_loop): Likewise for
11116 (mips_sync_loop_insns): Likewise.
11117 * config/mips/mips.c (mips_print_operand_punctuation): Use insn
11118 method of "final_sequence" for typesafety.
11119 (mips_process_sync_loop): Strengthen param "insn" from rtx to
11121 (mips_output_sync_loop): Likewise.
11122 (mips_sync_loop_insns): Likewise.
11123 (mips_74k_agen_init): Likewise.
11124 (mips_sched_init): Use NULL rather than NULL_RTX when working with
11126 * config/nds32/nds32-fp-as-gp.c (nds32_symbol_load_store_p):
11127 Strengthen param "insn" from rtx to rtx_insn *.
11128 * config/nds32/nds32.c (nds32_target_alignment): Likewise for
11130 * config/pa/pa-protos.h (pa_insn_refs_are_delayed): Likewise for
11132 * config/pa/pa.c (pa_output_function_epilogue): Likewise for local
11133 "insn". Use method of rtx_sequence for typesafety.
11134 (branch_to_delay_slot_p): Strengthen param "insn" from rtx to
11136 (branch_needs_nop_p): Likewise.
11137 (use_skip_p): Likewise.
11138 (pa_insn_refs_are_delayed): Likewise.
11139 * config/rl78/rl78.c (rl78_propogate_register_origins): Likewise
11140 for locals "insn", "ninsn".
11141 * config/rs6000/rs6000.c (is_microcoded_insn): Likewise for param
11143 (is_cracked_insn): Likewise.
11144 (is_branch_slot_insn): Likewise.
11145 (is_nonpipeline_insn): Likewise.
11146 (insn_terminates_group_p): Likewise.
11147 (insn_must_be_first_in_group): Likewise.
11148 (insn_must_be_last_in_group): Likewise.
11149 (force_new_group): Likewise for param "next_insn".
11150 * config/s390/s390.c (s390_get_sched_attrmask): Likewise for param
11152 (s390_sched_score): Likewise.
11153 * config/sh/sh-protos.h (output_branch): Likewise for param 2.
11154 (rtx sfunc_uses_reg): Likewise for sole param.
11155 * config/sh/sh.c (sh_print_operand): Use insn method of
11156 final_sequence for typesafety.
11157 (output_branch): Strengthen param "insn" from rtx to rtx_insn *.
11158 Use insn method of final_sequence for typesafety.
11159 (sfunc_uses_reg): Strengthen param "insn" from rtx to rtx_insn *.
11160 * config/sparc/sparc-protos.h (eligible_for_call_delay): Likewise
11162 (eligible_for_return_delay): Likewise.
11163 (eligible_for_sibcall_delay): Likewise.
11164 * config/sparc/sparc.c (eligible_for_call_delay): Likewise.
11165 (eligible_for_return_delay): Likewise.
11166 (eligible_for_sibcall_delay): Likewise.
11167 * config/stormy16/stormy16-protos.h
11168 (xstormy16_output_cbranch_hi): Likewise for final param.
11169 (xstormy16_output_cbranch_si): Likewise.
11170 * config/stormy16/stormy16.c (xstormy16_output_cbranch_hi): LIkewise.
11171 (xstormy16_output_cbranch_si): Likewise.
11172 * config/v850/v850-protos.h (notice_update_cc): Likewise.
11173 * config/v850/v850.c (notice_update_cc): Likewise.
11175 * final.c (get_attr_length_1): Strengthen param "insn" and param
11176 of "fallback_fn" from rtx to rtx_insn *, eliminating a checked cast.
11177 (get_attr_length): Strengthen param "insn" from rtx to rtx_insn *.
11178 (get_attr_min_length): Likewise.
11179 (shorten_branches): Likewise for signature of locals "length_fun"
11180 and "inner_length_fun". Introduce local rtx_sequence * "seqn"
11181 from a checked cast and use its methods for clarity and to enable
11182 strengthening local "inner_insn" from rtx to rtx_insn *.
11183 * genattr.c (gen_attr): When writing out the prototypes of the
11184 various generated "get_attr_" functions, strengthen the params of
11185 the non-const functions from rtx to rtx_insn *.
11186 Similarly, strengthen the params of insn_default_length,
11187 insn_min_length, insn_variable_length_p, insn_current_length.
11188 (main): Similarly, strengthen the param of num_delay_slots,
11189 internal_dfa_insn_code, insn_default_latency, bypass_p,
11190 insn_latency, min_issue_delay, print_reservation,
11191 insn_has_dfa_reservation_p and of the "internal_dfa_insn_code" and
11192 "insn_default_latency" callbacks. Rename hook_int_rtx_unreachable
11193 to hook_int_rtx_insn_unreachable.
11194 * genattrtab.c (write_attr_get): When writing out the generated
11195 "get_attr_" functions, strengthen the param "insn" from rtx to
11196 rtx_insn *, eliminating a checked cast.
11197 (make_automaton_attrs): When writing out prototypes of
11198 "internal_dfa_insn_code_", "insn_default_latency_" functions
11199 and the "internal_dfa_insn_code" and "insn_default_latency"
11200 callbacks, strengthen their params from rtx to rtx_insn *
11201 * genautomata.c (output_internal_insn_code_evaluation): When
11202 writing out code, add a checked cast from rtx to rtx_insn * when
11203 invoking DFA_INSN_CODE_FUNC_NAME aka dfa_insn_code.
11204 (output_dfa_insn_code_func): Strengthen param of generated
11205 function "dfa_insn_code_enlarge" from rtx to rtx_insn *.
11206 (output_trans_func): Likewise for generated function
11207 "state_transition".
11208 (output_internal_insn_latency_func): When writing out generated
11209 function "internal_insn_latency", rename params from "insn" and
11210 "insn2" to "insn_or_const0" and "insn2_or_const0". Reintroduce
11211 locals "insn" and "insn2" as rtx_insn * with checked casts once
11212 we've proven that we're not dealing with const0_rtx.
11213 (output_insn_latency_func): Strengthen param of generated
11214 function "insn_latency" from rtx to rtx_insn *.
11215 (output_print_reservation_func): Likewise for generated function
11216 "print_reservation".
11217 (output_insn_has_dfa_reservation_p): Likewise for generated
11218 function "insn_has_dfa_reservation_p".
11219 * hooks.c (hook_int_rtx_unreachable): Rename to...
11220 (hook_int_rtx_insn_unreachable): ...this, and strengthen param
11221 from rtx to rtx_insn *.
11222 * hooks.h (hook_int_rtx_unreachable): Likewise.
11223 (extern int hook_int_rtx_insn_unreachable): Likewise.
11224 * output.h (get_attr_length): Strengthen param from rtx to rtx_insn *.
11225 (get_attr_min_length): Likewise.
11226 * recog.c (get_enabled_alternatives): Likewise.
11227 * recog.h (alternative_mask get_enabled_alternatives): Likewise.
11228 * reorg.c (find_end_label): Introduce local rtx "pat" and
11229 strengthen local "insn" from rtx to rtx_insn *.
11230 (redundant_insn): Use insn method of "seq" rather than element for
11231 typesafety; strengthen local "control" from rtx to rtx_insn *.
11232 * resource.c (mark_referenced_resources): Add checked cast to
11233 rtx_insn * within INSN/JUMP_INSN case.
11234 (mark_set_resources): Likewise.
11235 * sel-sched.c (estimate_insn_cost): Strengthen param "insn" from
11238 2014-09-15 David Malcolm <dmalcolm@redhat.com>
11240 * config/rs6000/rs6000.c (rs6000_loop_align_max_skip): Strengthen
11241 param "label" from rtx to rtx_insn *.
11242 * config/rx/rx.c (rx_max_skip_for_label): Likewise for param "lab"
11244 * doc/tm.texi (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Autogenerated changes.
11245 (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Likewise.
11246 (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Likewise.
11247 (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Likewise.
11248 * final.c (default_label_align_after_barrier_max_skip): Strengthen
11249 param from rtx to rtx_insn *.
11250 (default_loop_align_max_skip): Likewise.
11251 (default_label_align_max_skip): Likewise.
11252 (default_jump_align_max_skip): Likewise.
11253 * target.def (label_align_after_barrier_max_skip): Likewise.
11254 (loop_align_max_skip): Likewise.
11255 (label_align_max_skip): Likewise.
11256 (jump_align_max_skip): Likewise.
11257 * targhooks.h (default_label_align_after_barrier_max_skip):
11259 (default_loop_align_max_skip): Likewise.
11260 (default_label_align_max_skip): Likewise.
11261 (default_jump_align_max_skip): Likewise.
11263 2014-09-15 David Malcolm <dmalcolm@redhat.com>
11265 * config/arc/arc.c (arc_can_follow_jump): Strengthen both params
11266 from const_rtx to const rtx_insn *. Update union members from rtx
11268 * doc/tm.texi (TARGET_CAN_FOLLOW_JUMP): Autogenerated change.
11269 * hooks.c (hook_bool_const_rtx_const_rtx_true): Rename to...
11270 (hook_bool_const_rtx_insn_const_rtx_insn_true): ...this, and
11271 strengthen both params from const_rtx to const rtx_insn *.
11272 * hooks.h (hook_bool_const_rtx_const_rtx_true): Likewise.
11273 (hook_bool_const_rtx_insn_const_rtx_insn_true): Likewise.
11274 * reorg.c (follow_jumps): Strengthen param "jump" from rtx to
11276 * target.def (can_follow_jump): Strengthen both params from
11277 const_rtx to const rtx_insn *, and update default implementation
11278 from hook_bool_const_rtx_const_rtx_true to
11279 hook_bool_const_rtx_insn_const_rtx_insn_true.
11281 2014-09-15 David Malcolm <dmalcolm@redhat.com>
11283 * sched-deps.c (deps_start_bb): Strengthen param "head" and local
11284 "insn" from rtx to rtx_insn *.
11285 * sched-int.h (deps_start_bb): Likewise for 2nd param.
11287 2014-09-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
11288 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11289 Anna Tikhonova <anna.tikhonova@intel.com>
11290 Ilya Tocar <ilya.tocar@intel.com>
11291 Andrey Turetskiy <andrey.turetskiy@intel.com>
11292 Ilya Verbin <ilya.verbin@intel.com>
11293 Kirill Yukhin <kirill.yukhin@intel.com>
11294 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11296 * config/i386/sse.md
11297 (define_insn "vcvtph2ps<mask_name>"): Add masking.
11298 (define_insn "*vcvtph2ps_load<mask_name>"): Ditto.
11299 (define_insn "vcvtph2ps256<mask_name>"): Ditto.
11300 (define_expand "vcvtps2ph_mask"): New.
11301 (define_insn "*vcvtps2ph<mask_name>"): Add masking.
11302 (define_insn "*vcvtps2ph_store<mask_name>"): Ditto.
11303 (define_insn "vcvtps2ph256<mask_name>"): Ditto.
11305 2014-09-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
11306 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11307 Anna Tikhonova <anna.tikhonova@intel.com>
11308 Ilya Tocar <ilya.tocar@intel.com>
11309 Andrey Turetskiy <andrey.turetskiy@intel.com>
11310 Ilya Verbin <ilya.verbin@intel.com>
11311 Kirill Yukhin <kirill.yukhin@intel.com>
11312 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11314 * config/i386/sse.md (define_mode_iterator VI248_AVX512BW_AVX512VL):
11316 (define_mode_iterator VI24_AVX512BW_1): Ditto.
11317 (define_insn "<mask_codefor>ashr<mode>3<mask_name>"): Ditto.
11318 (define_insn "<mask_codefor>ashrv2di3<mask_name>"): Ditto.
11319 (define_insn "ashr<VI248_AVX512BW_AVX512VL:mode>3<mask_name>"): Enable
11320 also for TARGET_AVX512VL.
11321 (define_expand "ashrv2di3"): Update to enable TARGET_AVX512VL.
11323 2014-09-15 Markus Trippelsdorf <markus@trippelsdorf.de>
11325 * doc/install.texi (Options specification): add
11326 --disable-libsanitizer item.
11328 2014-09-14 James Clarke <jrtc27@jrtc27.com>
11329 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
11332 * config/darwin-c.c (version_as_macro): Added extra 0 for OS X 10.10
11334 * config/darwin-driver.c (darwin_find_version_from_kernel): Removed
11335 kernel version check to avoid incrementing it after every major OS X
11337 (darwin_default_min_version): Avoid static memory buffer.
11339 2014-09-13 Jan Hubicka <hubicka@ucw.cz>
11341 * tree.c (need_assembler_name_p): Store C++ type mangling only
11344 2014-09-13 Marek Polacek <polacek@redhat.com>
11346 * tree.c (protected_set_expr_location): Don't check whether T is
11349 2014-09-12 DJ Delorie <dj@redhat.com>
11351 * config/msp430/msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM.
11352 (extend_and_shift1_hipsi2): Likewise.
11353 (extend_and_shift2_hipsi2): Likewise.
11355 2014-09-12 David Malcolm <dmalcolm@redhat.com>
11357 * config/alpha/alpha.c (alpha_ra_ever_killed): Replace NULL_RTX
11358 with NULL when dealing with an insn.
11359 * config/sh/sh.c (sh_reorg): Strengthen local "last_float_move"
11360 from rtx to rtx_insn *.
11361 * rtl.h (reg_set_between_p): Strengthen params 2 and 3 from
11362 const_rtx to const rtx_insn *.
11363 * rtlanal.c (reg_set_between_p): Likewise, removing a checked cast.
11365 2014-09-12 Trevor Saunders <tsaunders@mozilla.com>
11367 * hash-table.h (gt_pch_nx): Don't call gt_pch_note_object within an
11370 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11372 * target.def (libgcc_floating_mode_supported_p): New hook.
11373 * targhooks.c (default_libgcc_floating_mode_supported_p): New
11375 * targhooks.h (default_libgcc_floating_mode_supported_p): Declare.
11376 * doc/tm.texi.in (LIBGCC2_HAS_DF_MODE, LIBGCC2_HAS_XF_MODE)
11377 (LIBGCC2_HAS_TF_MODE): Remove.
11378 (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): New @hook.
11379 * doc/tm.texi: Regenerate.
11380 * genmodes.c (emit_insn_modes_h): Define HAVE_%smode for each
11382 * system.h (LIBGCC2_HAS_SF_MODE, LIBGCC2_HAS_DF_MODE)
11383 (LIBGCC2_HAS_XF_MODE, LIBGCC2_HAS_TF_MODE): Poison.
11384 * config/i386/cygming.h (LIBGCC2_HAS_TF_MODE): Remove.
11385 * config/i386/darwin.h (LIBGCC2_HAS_TF_MODE): Remove.
11386 * config/i386/djgpp.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
11387 * config/i386/dragonfly.h (LIBGCC2_HAS_TF_MODE): Remove.
11388 * config/i386/freebsd.h (LIBGCC2_HAS_TF_MODE): Remove.
11389 * config/i386/gnu-user-common.h (LIBGCC2_HAS_TF_MODE): Remove.
11390 * config/i386/i386-interix.h (IX86_NO_LIBGCC_TFMODE): Define.
11391 * config/i386/i386.c (ix86_libgcc_floating_mode_supported_p): New
11393 (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): Define.
11394 * config/i386/i386elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
11395 * config/i386/lynx.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
11396 * config/i386/netbsd-elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
11397 * config/i386/netbsd64.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
11398 * config/i386/nto.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
11399 * config/i386/openbsd.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
11400 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE): Remove.
11401 * config/i386/rtemself.h (IX86_NO_LIBGCC_TFMODE): Define.
11402 * config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Remove.
11403 * config/i386/vx-common.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
11404 * config/ia64/elf.h (IA64_NO_LIBGCC_TFMODE): Define.
11405 * config/ia64/freebsd.h (IA64_NO_LIBGCC_TFMODE): Define.
11406 * config/ia64/hpux.h (LIBGCC2_HAS_XF_MODE, LIBGCC2_HAS_TF_MODE):
11408 * config/ia64/ia64.c (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P):
11410 (ia64_libgcc_floating_mode_supported_p): New function.
11411 * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): Remove.
11412 * config/ia64/vms.h (IA64_NO_LIBGCC_XFMODE)
11413 (IA64_NO_LIBGCC_TFMODE): Define.
11414 * config/msp430/msp430.h (LIBGCC2_HAS_DF_MODE): Remove.
11415 * config/pdp11/pdp11.c (TARGET_SCALAR_MODE_SUPPORTED_P): New
11417 (pdp11_scalar_mode_supported_p): New function.
11418 * config/rl78/rl78.h (LIBGCC2_HAS_DF_MODE): Remove.
11419 * config/rx/rx.h (LIBGCC2_HAS_DF_MODE): Remove.
11421 2014-09-12 Richard Biener <rguenther@suse.de>
11423 PR middle-end/63237
11424 * gimple-fold.c (get_maxval_strlen): Gimplify string length.
11426 2014-09-12 Marc Glisse <marc.glisse@inria.fr>
11428 * tree.c (integer_each_onep): New function.
11429 * tree.h (integer_each_onep): Declare it.
11430 * fold-const.c (fold_binary_loc): Use it for ~A + 1 to -A and
11431 -A - 1 to ~A. Disable (X & 1) ^ 1, (X ^ 1) & 1 and ~X & 1 to
11432 (X & 1) == 0 for vector and complex.
11434 2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
11436 * gcc/config/aarch64/aarch64.c (cortexa57_regmove_cost): New cost table
11438 (cortexa53_regmove_cost): New cost table for A53. Increase GP2FP/FP2GP
11439 cost to spilling from integer to FP registers.
11441 2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
11443 * config/aarch64/aarch64.c (aarch64_register_move_cost): Fix Q register
11445 (generic_regmove_cost): Undo raised FP2FP move cost as Q register moves
11446 are now handled correctly.
11448 2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
11450 * config/aarch64/aarch64.c (aarch64_register_move_cost): Add cost
11451 handling of CALLER_SAVE_REGS and POINTER_REGS.
11453 2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
11455 * gcc/ree.c (combine_reaching_defs): Ensure inserted copy don't change
11456 the number of hard registers.
11458 2014-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
11459 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11460 Anna Tikhonova <anna.tikhonova@intel.com>
11461 Ilya Tocar <ilya.tocar@intel.com>
11462 Andrey Turetskiy <andrey.turetskiy@intel.com>
11463 Ilya Verbin <ilya.verbin@intel.com>
11464 Kirill Yukhin <kirill.yukhin@intel.com>
11465 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11467 * config/i386/sse.md
11468 (define_mode_iterator VI48_AVX512VL): New.
11469 (define_expand "<avx512>_vternlog<mode>_maskz"): Rename from
11470 "avx512f_vternlog<mode>_maskz" and update mode iterator.
11471 (define_insn "<avx512>_vternlog<mode><sd_maskz_name>"): Rename
11472 from "avx512f_vternlog<mode><sd_maskz_name>" and update mode iterator.
11473 (define_insn "<avx512>_vternlog<mode>_mask"): Rename from
11474 "avx512f_vternlog<mode>_mask" and update mode iterator.
11475 (define_insn "<mask_codefor><avx512>_align<mode><mask_name>"): Rename
11476 from "<mask_codefor>avx512f_align<mode><mask_name>" and update mode
11478 (define_insn "<avx512>_<rotate>v<mode><mask_name>"): Rename from
11479 "avx512f_<rotate>v<mode><mask_name>" and update mode iterator.
11480 (define_insn "<avx512>_<rotate><mode><mask_name>"): Rename from
11481 "avx512f_<rotate><mode><mask_name>" and update mode iterator.
11482 (define_insn "clz<mode>2<mask_name>"): Use VI48_AVX512VL mode iterator.
11483 (define_insn "<mask_codefor>conflict<mode><mask_name>"): Ditto.
11485 2014-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
11486 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11487 Anna Tikhonova <anna.tikhonova@intel.com>
11488 Ilya Tocar <ilya.tocar@intel.com>
11489 Andrey Turetskiy <andrey.turetskiy@intel.com>
11490 Ilya Verbin <ilya.verbin@intel.com>
11491 Kirill Yukhin <kirill.yukhin@intel.com>
11492 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11494 * config/i386/sse.md (VI128_256): Delete.
11495 (define_mode_iterator VI124_256): New.
11496 (define_mode_iterator VI124_256_AVX512F_AVX512BW): Ditto.
11497 (define_expand "<code><mode>3<mask_name><round_name>"): Delete.
11498 (define_expand "<code><VI124_256_AVX512F_AVX512BW:mode>3"): New.
11499 (define_insn "*avx2_<code><VI124_256:mode>3"): Rename from
11500 "*avx2_<code><mode>3<mask_name><round_name>" and update mode iterator.
11501 (define_expand "<code><VI48_AVX512VL:mode>3_mask"): New.
11502 (define_insn "*avx512bw_<code><VI48_AVX512VL:mode>3<mask_name>"): Ditto.
11503 (define_insn "<mask_codefor><code><mode>3<mask_name>"): Update mode
11505 (define_expand "<code><VI8_AVX2:mode>3"): Update pettern generation
11506 in presence of AVX-512.
11508 2014-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
11509 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11510 Anna Tikhonova <anna.tikhonova@intel.com>
11511 Ilya Tocar <ilya.tocar@intel.com>
11512 Andrey Turetskiy <andrey.turetskiy@intel.com>
11513 Ilya Verbin <ilya.verbin@intel.com>
11514 Kirill Yukhin <kirill.yukhin@intel.com>
11515 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11517 * config/i386/sse.md
11518 (define_expand "<avx512>_gathersi<mode>"): Rename from
11519 "avx512f_gathersi<mode>".
11520 (define_insn "*avx512f_gathersi<mode>"): Use VI48F.
11521 (define_insn "*avx512f_gathersi<mode>_2"): Ditto.
11522 (define_expand "<avx512>_gatherdi<mode>"): Rename from
11523 "avx512f_gatherdi<mode>".
11524 (define_insn "*avx512f_gatherdi<mode>"): Use VI48F.
11525 (define_insn "*avx512f_gatherdi<mode>_2"): Use VI48F, add 128/256-bit
11527 (define_expand "<avx512>_scattersi<mode>"): Rename from
11528 "avx512f_scattersi<mode>".
11529 (define_insn "*avx512f_scattersi<mode>"): Use VI48F.
11530 (define_expand "<avx512>_scatterdi<mode>"): Rename from
11531 "avx512f_scatterdi<mode>".
11532 (define_insn "*avx512f_scatterdi<mode>"): Use VI48F.
11534 2014-09-12 Richard Sandiford <richard.sandiford@arm.com>
11536 * ira.h (ira_finish_once): Delete.
11537 * ira-int.h (target_ira_int::~target_ira_int): Declare.
11538 (target_ira_int::free_ira_costs): Likewise.
11539 (target_ira_int::free_register_move_costs): Likewise.
11540 (ira_finish_costs_once): Delete.
11541 * ira.c (free_register_move_costs): Replace with...
11542 (target_ira_int::free_register_move_costs): ...this new function.
11543 (target_ira_int::~target_ira_int): Define.
11544 (ira_init): Call free_register_move_costs as a member function rather
11545 than a global function.
11546 (ira_finish_once): Delete.
11547 * ira-costs.c (free_ira_costs): Replace with...
11548 (target_ira_int::free_ira_costs): ...this new function.
11549 (ira_init_costs): Call free_ira_costs as a member function rather
11550 than a global function.
11551 (ira_finish_costs_once): Delete.
11552 * target-globals.c (target_globals::~target_globals): Call the
11553 target_ira_int destructor.
11554 * toplev.c: Include lra.h.
11555 (finalize): Call lra_finish_once rather than ira_finish_once.
11557 2014-09-11 Jan Hubicka <hubicka@ucw.cz>
11559 * common.opt (flto-odr-type-merging): New flag.
11560 * ipa-deivrt.c (hash_type_name): Use ODR names for hasing if availale.
11561 (types_same_for_odr): Likewise.
11562 (odr_subtypes_equivalent_p): Likewise.
11563 (add_type_duplicate): Do not walk type variants.
11564 (register_odr_type): New function.
11565 * ipa-utils.h (register_odr_type): Declare.
11566 (odr_type_p): New function.
11567 * langhooks.c (lhd_set_decl_assembler_name): Do not compute
11569 * doc/invoke.texi (-flto-odr-type-merging): Document.
11570 * tree.c (need_assembler_name_p): Compute ODR names when asked
11572 * tree.h (DECL_ASSEMBLER_NAME): Update comment.
11574 2014-09-11 H.J. Lu <hongjiu.lu@intel.com>
11577 * config/i386/i386.c (ix86_option_override_internal): Also turn
11578 off OPTION_MASK_ABI_X32 for -m16.
11580 2014-09-11 Segher Boessenkool <segher@kernel.crashing.org>
11582 * config/rs6000/rs6000.md (rs6000_mftb_<mode>): Use mode iterator
11585 2014-09-11 Marc Glisse <marc.glisse@inria.fr>
11588 * ginclude/float.h (FLT_TRUE_MIN, DBL_TRUE_MIN, LDBL_TRUE_MIN):
11589 Directly forward to __*_DENORM_MIN__.
11591 2014-09-11 David Malcolm <dmalcolm@redhat.com>
11593 * rtl.h (LABEL_REF_LABEL): New macro.
11595 * alias.c (rtx_equal_for_memref_p): Use LABEL_REF_LABEL in place
11596 of XEXP (, 0), where we know that we have a LABEL_REF.
11597 * cfgbuild.c (make_edges): Likewise.
11598 (purge_dead_tablejump_edges): Likewise.
11599 * cfgexpand.c (convert_debug_memory_address): Likewise.
11600 * cfgrtl.c (patch_jump_insn): Likewise.
11601 * combine.c (distribute_notes): Likewise.
11602 * cse.c (hash_rtx_cb): Likewise.
11603 (exp_equiv_p): Likewise.
11604 (fold_rtx): Likewise.
11605 (check_for_label_ref): Likewise.
11606 * cselib.c (rtx_equal_for_cselib_1): Likewise.
11607 (cselib_hash_rtx): Likewise.
11608 * emit-rtl.c (mark_label_nuses): Likewise.
11609 * explow.c (convert_memory_address_addr_space): Likewise.
11610 * final.c (output_asm_label): Likewise.
11611 (output_addr_const): Likewise.
11612 * gcse.c (add_label_notes): Likewise.
11613 * genconfig.c (walk_insn_part): Likewise.
11614 * genrecog.c (validate_pattern): Likewise.
11615 * ifcvt.c (cond_exec_get_condition): Likewise.
11616 (noce_emit_store_flag): Likewise.
11617 (noce_get_alt_condition): Likewise.
11618 (noce_get_condition): Likewise.
11619 * jump.c (maybe_propagate_label_ref): Likewise.
11620 (mark_jump_label_1): Likewise.
11621 (redirect_exp_1): Likewise.
11622 (rtx_renumbered_equal_p): Likewise.
11623 * lra-constraints.c (operands_match_p): Likewise.
11624 * reload.c (operands_match_p): Likewise.
11625 (find_reloads): Likewise.
11626 * reload1.c (set_label_offsets): Likewise.
11627 * reorg.c (get_branch_condition): Likewise.
11628 * rtl.c (rtx_equal_p_cb): Likewise.
11629 (rtx_equal_p): Likewise.
11630 * rtlanal.c (reg_mentioned_p): Likewise.
11631 (rtx_referenced_p): Likewise.
11632 (get_condition): Likewise.
11633 * sched-vis.c (print_value): Likewise.
11634 * varasm.c (const_hash_1): Likewise.
11635 (compare_constant): Likewise.
11636 (const_rtx_hash_1): Likewise.
11637 (output_constant_pool_1): Likewise.
11639 2014-09-11 Segher Boessenkool <segher@kernel.crashing.org>
11641 * config/rs6000/htm.md (tabort, tabortdc, tabortdci, tabortwc,
11642 tabortwci, tbegin, tcheck, tend, trechkpt, treclaim, tsr): Use xor
11644 * config/rs6000/vector.md (cr6_test_for_zero_reverse,
11645 cr6_test_for_lt_reverse): Ditto.
11647 2014-09-11 Paolo Carlini <paolo.carlini@oracle.com>
11650 * doc/invoke.texi ([-Wmissing-field-initializers]): Update.
11652 2014-09-11 Alan Lawrence <alan.lawrence@arm.com>
11654 * config/aarch64/aarch64-builtins.c (aarch64_types_unop_su_qualifiers,
11655 TYPES_REINTERP_SU, aarch64_types_unop_sp_qualifiers, TYPE_REINTERP_SP,
11656 aarch64_types_unop_us_qualifiers, TYPES_REINTERP_US,
11657 aarch64_types_unop_ps_qualifiers, TYPES_REINTERP_PS, BUILTIN_VD):
11660 (aarch64_fold_builtin): Remove all reinterpret cases.
11662 * config/aarch64/aarch64-protos.h (aarch64_simd_reinterpret): Delete.
11664 * config/aarch64/aarch64-simd-builtins.def (reinterpret*) : Delete.
11666 * config/aarch64/aarch64-simd.md (aarch64_reinterpretv8qi<mode>,
11667 aarch64_reinterpretv4hi<mode>, aarch64_reinterpretv2si<mode>,
11668 aarch64_reinterpretv2sf<mode>, aarch64_reinterpretdi<mode>,
11669 aarch64_reinterpretv1df<mode>, aarch64_reinterpretv16qi<mode>,
11670 aarch64_reinterpretv8hi<mode>, aarch64_reinterpretv4si<mode>,
11671 aarch64_reinterpretv4sf<mode>, aarch64_reinterpretv2di<mode>,
11672 aarch64_reinterpretv2df<mode>): Delete.
11674 * config/aarch64/aarch64.c (aarch64_simd_reinterpret): Delete.
11676 * config/aarch64/arm_neon.h (vreinterpret_p8_f64,
11677 vreinterpret_p16_f64, vreinterpret_f32_f64, vreinterpret_f64_f32,
11678 vreinterpret_f64_p8, vreinterpret_f64_p16, vreinterpret_f64_s8,
11679 vreinterpret_f64_s16, vreinterpret_f64_s32, vreinterpret_f64_u8,
11680 vreinterpret_f64_u16, vreinterpret_f64_u32, vreinterpret_s64_f64,
11681 vreinterpret_u64_f64, vreinterpret_s8_f64, vreinterpret_s16_f64,
11682 vreinterpret_s32_f64, vreinterpret_u8_f64, vreinterpret_u16_f64,
11683 vreinterpret_u32_f64): Use cast.
11685 * config/aarch64/iterators.md (VD_RE): Delete.
11687 2014-09-11 Alan Lawrence <alan.lawrence@arm.com>
11689 * config/aarch64/arm_neon.h (aarch64_vset_lane_any): New (*2).
11690 (vset_lane_f32, vset_lane_f64, vset_lane_p8, vset_lane_p16,
11691 vset_lane_s8, vset_lane_s16, vset_lane_s32, vset_lane_s64,
11692 vset_lane_u8, vset_lane_u16, vset_lane_u32, vset_lane_u64,
11693 vsetq_lane_f32, vsetq_lane_f64, vsetq_lane_p8, vsetq_lane_p16,
11694 vsetq_lane_s8, vsetq_lane_s16, vsetq_lane_s32, vsetq_lane_s64,
11695 vsetq_lane_u8, vsetq_lane_u16, vsetq_lane_u32, vsetq_lane_u64):
11696 Replace inline assembler with __aarch64_vset_lane_any.
11698 2014-09-11 James Greenhalgh <james.greenhalgh@arm.com>
11700 * config/aarch64/arm_neon.h (vmull_high_lane_s16): Fix argument
11702 (vmull_high_lane_s32): Likewise.
11703 (vmull_high_lane_u16): Likewise.
11704 (vmull_high_lane_u32): Likewise.
11706 2014-09-11 Jason Merrill <jason@redhat.com>
11709 * ipa-devirt.c (ipa_devirt): Don't check DECL_COMDAT.
11711 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
11714 * config/avr/avr.md (*tablejump.3byte-pc): New insn.
11715 (*tablejump): Restrict to !AVR_HAVE_EIJMP_EICALL. Add void clobber.
11716 (casesi): Expand to *tablejump.3byte-pc if AVR_HAVE_EIJMP_EICALL.
11718 2014-09-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
11719 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11720 Anna Tikhonova <anna.tikhonova@intel.com>
11721 Ilya Tocar <ilya.tocar@intel.com>
11722 Andrey Turetskiy <andrey.turetskiy@intel.com>
11723 Ilya Verbin <ilya.verbin@intel.com>
11724 Kirill Yukhin <kirill.yukhin@intel.com>
11725 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11727 * config/i386/sse.md
11728 (define_expand "<avx512>_vpermi2var<VI48F:mode>3_maskz"): Rename from
11729 "avx512f_vpermi2var<mode>3_maskz" and update mode iterator.
11730 (define_expand "<avx512>_vpermi2var<VI2_AVX512VL:mode>3_maskz"):
11732 (define_insn "<avx512>_vpermi2var<VI48F:mode>3<sd_maskz_name>"): Rename
11733 from "avx512f_vpermi2var<mode>3<sd_maskz_name>" and update mode
11735 (define_insn "<avx512>_vpermi2var<VI2_AVX512VL:mode>3<sd_maskz_name>"):
11737 (define_insn "<avx512>_vpermi2var<VI48F:mode>3_mask"): Rename from
11738 "avx512f_vpermi2var<mode>3_mask" and update mode iterator.
11739 (define_insn "<avx512>_vpermi2var<VI2_AVX512VL:mode>3_mask"): New.
11740 (define_expand "<avx512>_vpermt2var<VI48F:mode>3_maskz"): Rename from
11741 "avx512f_vpermt2var<mode>3_maskz" and update mode iterator.
11742 (define_expand "<avx512>_vpermt2var<VI2_AVX512VL:mode>3_maskz"): New.
11743 (define_insn "<avx512>_vpermt2var<VI48F:mode>3<sd_maskz_name>"): Rename
11744 from "avx512f_vpermt2var<mode>3<sd_maskz_name>" and update mode
11746 (define_insn "<avx512>_vpermt2var<VI2_AVX512VL:mode>3<sd_maskz_name>"):
11748 (define_insn "<avx512>_vpermt2var<VI48F:mode>3_mask"): Rename from
11749 "avx512f_vpermt2var<mode>3_mask" and update mode iterator.
11750 (define_insn "<avx512>_vpermt2var<VI2_AVX512VL:mode>3_mask"): New.
11752 2014-09-10 Jan Hubicka <hubicka@ucw.cz>
11754 * varpool.c (varpool_node::ctor_useable_for_folding_p): Do not try
11755 to access removed nodes.
11757 2014-09-10 Jan Hubicka <hubicka@ucw.cz>
11759 PR tree-optimization/63186
11760 * ipa-split.c (test_nonssa_use): Skip nonforced labels.
11761 (mark_nonssa_use): Likewise.
11762 (verify_non_ssa_vars): Verify all header blocks for label
11765 2014-09-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
11766 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11767 Anna Tikhonova <anna.tikhonova@intel.com>
11768 Ilya Tocar <ilya.tocar@intel.com>
11769 Andrey Turetskiy <andrey.turetskiy@intel.com>
11770 Ilya Verbin <ilya.verbin@intel.com>
11771 Kirill Yukhin <kirill.yukhin@intel.com>
11772 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11774 * config/i386/sse.md
11775 (define_mode_attr avx2_avx512): Rename from avx2_avx512bw.
11776 (define_mode_iterator VI48F_256_512): Extend to AVX-512VL.
11777 (define_insn "<avx2_avx512>_permvar<mode><mask_name>"): Rename from
11778 "<avx2_avx512f>_permvar<mode><mask_name>".
11779 (define_insn "<avx512>_permvar<mode><mask_name>"): New.
11780 (define_insn "<avx2_avx512>_ashrv<VI48_AVX512F_AVX512VL:mode><mask_name>"):
11781 Rename from "<avx2_avx512f>_ashrv<mode><mask_name>".
11782 (define_insn "<avx2_avx512>_ashrv<VI2_AVX512VL:mode><mask_name>"):
11784 (define_insn "<avx2_avx512>_<shift_insn>v<VI48_AVX512F:mode><mask_name>"):
11785 Rename from "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>".
11786 (define_insn "<avx2_avx512>_<shift_insn>v<VI2_AVX512VL:mode><mask_name>"):
11787 Rename from "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>".
11789 2014-09-10 Michael Meissner <meissner@linux.vnet.ibm.com>
11791 * config/rs6000/vsx.md (vsx_fmav4sf4): Use correct constraints for
11792 V2DF, V4SF, DF, and DI modes.
11793 (vsx_fmav2df2): Likewise.
11794 (vsx_float_fix_<mode>2): Likewise.
11795 (vsx_reduc_<VEC_reduc_name>_v2df_scalar): Likewise.
11797 2014-09-10 Xinliang David Li <davidxl@google.com>
11800 * config/arm/arm.md (movcond_addsi): Handle case where source
11801 and target operands are the same.
11803 2014-09-10 David Malcolm <dmalcolm@redhat.com>
11805 * final.c (this_is_asm_operands): Strengthen this variable from
11806 rtx to const rtx_insn *.
11807 * output.h (this_is_asm_operands): Likewise.
11808 * rtl-error.c (location_for_asm): Strengthen param "insn" from
11809 const_rtx to const rtx_insn *.
11810 (diagnostic_for_asm): Likewise.
11811 * rtl-error.h (error_for_asm): Likewise.
11812 (warning_for_asm): Likewise.
11814 2014-09-10 David Malcolm <dmalcolm@redhat.com>
11816 * genextract.c (print_header): When writing out insn_extract to
11817 insn-extract.c, strengthen the param "insn" from rtx to rtx_insn *.
11818 * recog.h (insn_extract): Strengthen the param from rtx to
11821 2014-09-10 Mike Stump <mikestump@comcast.net>
11823 * doc/install.texi (Prerequisites): Note Tcl 8.6 bug fixed in
11826 2014-09-10 Martin Jambor <mjambor@suse.cz>
11828 * cgraphunit.c (expand_thunk): If not expanding, set analyzed flag.
11829 (analyze): Do not set analyze flag if expand_thunk returns false;.
11830 (create_wrapper): Likewise.
11831 * cgraphclones.c (duplicate_thunk_for_node): Likewise.
11833 2014-09-10 Martin Jambor <mjambor@suse.cz>
11836 * cgraphclones.c (duplicate_thunk_for_node): Copy arguments of the
11837 new decl properly. Analyze the new thunk if it is expanded.
11839 2014-09-10 Andreas Schwab <schwab@suse.de>
11841 * coretypes.h (struct _dont_use_rtx_insn_here_, rtx_insn)
11842 [USED_FOR_TARGET]: Define.
11844 2014-09-10 Matthew Fortune <matthew.fortune@imgtec.com>
11846 * config/mips/mips.c (mips_secondary_reload_class): Handle
11849 2014-09-10 Robert Suchanek <robert.suchanek@imgtec.com>
11851 * lra-lives.c (process_bb_lives): Replace assignment with bitwise OR
11854 2014-09-10 Jakub Jelinek <jakub@redhat.com>
11856 * flag-types.h (enum sanitize_code): Add SANITIZE_NONNULL_ATTRIBUTE
11857 and SANITIZE_RETURNS_NONNULL_ATTRIBUTE, or them into SANITIZE_UNDEFINED.
11858 * opts.c (common_handle_option): Handle SANITIZE_NONNULL_ATTRIBUTE and
11859 SANITIZE_RETURNS_NONNULL_ATTRIBUTE and disable
11860 flag_delete_null_pointer_checks for them.
11861 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_NONNULL_ARG,
11862 BUILT_IN_UBSAN_HANDLE_NONNULL_ARG_ABORT,
11863 BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
11864 BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): New.
11865 * ubsan.c (instrument_bool_enum_load): Set *gsi back to
11867 (instrument_nonnull_arg, instrument_nonnull_return): New functions.
11868 (pass_ubsan::gate): Return true even for SANITIZE_NONNULL_ATTRIBUTE
11869 or SANITIZE_RETURNS_NONNULL_ATTRIBUTE.
11870 (pass_ubsan::execute): Call instrument_nonnull_{arg,return}.
11871 * doc/invoke.texi (-fsanitize=nonnull-attribute,
11872 -fsanitize=returns-nonnull-attribute): Document.
11874 * ubsan.h (struct ubsan_mismatch_data): Removed.
11875 (ubsan_create_data): Remove MISMATCH argument, add LOCCNT argument.
11876 * ubsan.c (ubsan_source_location): For unknown locations,
11877 pass { NULL, 0, 0 } instead of { "<unknown>", x, y }.
11878 (ubsan_create_data): Remove MISMATCH argument, add LOCCNT argument.
11879 Allow more than one location and arbitrary extra arguments passed
11880 in ... instead of through MISMATCH pointer.
11881 (ubsan_instrument_unreachable, ubsan_expand_bounds_ifn,
11882 ubsan_expand_null_ifn, ubsan_build_overflow_builtin,
11883 instrument_bool_enum_load, ubsan_instrument_float_cast): Adjust
11886 2014-09-10 Alexander Ivchenko <alexander.ivchenko@intel.com>
11887 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11888 Anna Tikhonova <anna.tikhonova@intel.com>
11889 Ilya Tocar <ilya.tocar@intel.com>
11890 Andrey Turetskiy <andrey.turetskiy@intel.com>
11891 Ilya Verbin <ilya.verbin@intel.com>
11892 Kirill Yukhin <kirill.yukhin@intel.com>
11893 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11895 * config/i386/sse.md
11896 (define_mode_iterator VI48F): New.
11897 (define_insn "<avx512>_compress<mode>_mask"): Rename from
11898 "avx512f_compress<mode>_mask" and update mode iterator.
11899 (define_insn "<avx512>_compressstore<mode>_mask"): Rename from
11900 "avx512f_compressstore<mode>_mask" and update mode iterator.
11901 (define_expand "<avx512>_expand<mode>_maskz"): Rename from
11902 "avx512f_expand<mode>_maskz" and update mode iterator.
11903 (define_insn "<avx512>_expand<mode>_mask"): Rename from
11904 "avx512f_expand<mode>_mask" and update mode iterator.
11906 2014-09-10 Alexander Ivchenko <alexander.ivchenko@intel.com>
11907 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11908 Anna Tikhonova <anna.tikhonova@intel.com>
11909 Ilya Tocar <ilya.tocar@intel.com>
11910 Andrey Turetskiy <andrey.turetskiy@intel.com>
11911 Ilya Verbin <ilya.verbin@intel.com>
11912 Kirill Yukhin <kirill.yukhin@intel.com>
11913 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11915 * config/i386/i386.c
11916 (ix86_expand_args_builtin): Handle avx512dq_rangepv8df_mask_round,
11917 avx512dq_rangepv16sf_mask_round, avx512dq_rangepv4df_mask,
11918 avx512dq_rangepv8sf_mask, avx512dq_rangepv2df_mask,
11919 avx512dq_rangepv4sf_mask.
11920 * config/i386/sse.md
11921 (define_c_enum "unspec"): Add UNSPEC_REDUCE, UNSPEC_FPCLASS,
11923 (define_insn "<mask_codefor>reducep<mode><mask_name>"): New.
11924 (define_insn "reduces<mode>"): Ditto.
11925 (define_insn "avx512dq_rangep<mode><mask_name><round_saeonly_name>"):
11927 (define_insn "avx512dq_ranges<mode><round_saeonly_name>"): Ditto.
11928 (define_insn "avx512dq_fpclass<mode><mask_scalar_merge_name>"): Ditto.
11929 (define_insn "avx512dq_vmfpclass<mode>"): Ditto..
11931 2014-09-10 Alexander Ivchenko <alexander.ivchenko@intel.com>
11932 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11933 Anna Tikhonova <anna.tikhonova@intel.com>
11934 Ilya Tocar <ilya.tocar@intel.com>
11935 Andrey Turetskiy <andrey.turetskiy@intel.com>
11936 Ilya Verbin <ilya.verbin@intel.com>
11937 Kirill Yukhin <kirill.yukhin@intel.com>
11938 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11940 * config/i386/i386.c
11941 (avx512f_vgetmantv2df_round): Rename from "avx512f_getmantv2df_round".
11942 (avx512f_vgetmantv4sf_round): Rename from "avx512f_vgetmantv4sf_round".
11943 (ix86_expand_args_builtin): Handle avx512vl_getmantv8sf_mask,
11944 avx512vl_getmantv4df_mask, avx512vl_getmantv4sf_mask,
11945 avx512vl_getmantv2df_mask.
11946 (ix86_expand_round_builtin): Handle avx512f_vgetmantv2df_round,
11947 avx512f_vgetmantv4sf_round.
11948 * config/i386/sse.md
11949 (define_insn "<avx512>_storeu<ssemodesuffix><avxsizesuffix>_mask"):
11950 Rename from "avx512f_storeu<ssemodesuffix>512_mask" and update
11952 (define_insn "<mask_codefor>rcp14<mode><mask_name>"): Use VF_AVX512VL.
11953 (define_insn "<mask_codefor>rsqrt14<mode><mask_name>"): Ditto.
11954 (define_insn "<avx512>_scalef<mode><mask_name><round_name>"): Rename
11955 from "avx512f_scalef<mode><mask_name><round_name>" and update mode
11957 (define_insn "<avx512>_getexp<mode><mask_name><round_saeonly_name>"):
11958 Rename from "avx512f_getexp<mode><mask_name><round_saeonly_name>" and
11959 update mode iterator.
11961 "<avx512>_fixupimm<mode>_maskz<round_saeonly_expand_name>"): Rename from
11962 "avx512f_fixupimm<mode>_maskz<round_saeonly_expand_name>" and update
11965 "<avx512>_fixupimm<mode><sd_maskz_name><round_saeonly_name>"): Rename
11966 from "avx512f_fixupimm<mode><sd_maskz_name><round_saeonly_name>" and
11967 update mode iterator.
11968 (define_insn "<avx512>_fixupimm<mode>_mask<round_saeonly_name>"): Rename
11969 from "avx512f_fixupimm<mode>_mask<round_saeonly_name>" and update mode
11972 "<avx512>_rndscale<mode><mask_name><round_saeonly_name>"): rename from
11973 "avx512f_rndscale<mode><mask_name><round_saeonly_name>" and update
11975 (define_insn "<avx512>_getmant<mode><mask_name><round_saeonly_name>"):
11976 Rename from "avx512f_getmant<mode><mask_name><round_saeonly_name>" and
11977 update mode iterator.
11978 (define_insn "avx512f_vgetmant<mode><round_saeonly_name>"): Rename from
11979 "avx512f_getmant<mode><round_saeonly_name>".
11981 2014-09-10 Jan Hubicka <hubicka@ucw.cz>
11984 * ipa-prop.c (compute_known_type_jump_func): Fix conditional.
11986 2014-09-10 Alexander Ivchenko <alexander.ivchenko@intel.com>
11987 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11988 Anna Tikhonova <anna.tikhonova@intel.com>
11989 Ilya Tocar <ilya.tocar@intel.com>
11990 Andrey Turetskiy <andrey.turetskiy@intel.com>
11991 Ilya Verbin <ilya.verbin@intel.com>
11992 Kirill Yukhin <kirill.yukhin@intel.com>
11993 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11995 * config/i386/sse.md (define_mode_iterator VF_AVX512VL): New.
11996 (define_mode_iterator FMAMODEM): Allow 128/256bit EVEX version.
11997 (define_mode_iterator FMAMODE_AVX512): New.
11998 (define_mode_iterator FMAMODE): Remove conditions.
11999 (define_expand "fma4i_fmadd_<mode>"): Use FMAMODE_AVX512 mode iterator.
12000 (define_expand "<avx512>_fmadd_<mode>_maskz<round_expand_name>"): Rename
12001 from "<avx512>_fmadd_<mode>_maskz<round_expand_name>" and use VF_AVX512VL
12003 (define_mode_iterator FMAMODE_NOVF512): Remove.
12004 (define_insn "*fma_fmadd_<mode>"): Rename from
12005 "<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>" and use
12006 FMAMODE mode iterator.
12007 (define_mode_iterator VF_SF_AVX512VL): New.
12008 (define_insn "<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>"):
12009 Use VF_SF_AVX512VL mode iterator.
12010 (define_insn "<avx512>_fmadd_<mode>_mask<round_name>"): Rename from
12011 "avx512f_fmadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
12013 (define_insn "<avx512>_fmadd_<mode>_mask3<round_name>"): Rename from
12014 "avx512f_fmadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
12016 (define_insn "*fma_fmsub_<mode>"): Rename from
12017 "<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>" and use
12018 FMAMODE mode iterator.
12019 (define_insn "<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>"):
12020 Use VF_SF_AVX512VL mode iterator.
12021 (define_insn "<avx512>_fmsub_<mode>_mask<round_name>"): Rename from
12022 "avx512f_fmsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
12024 (define_insn "<avx512>_fmsub_<mode>_mask3<round_name>"): Rename from
12025 "avx512f_fmsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
12027 (define_insn "*fma_fnmadd_<mode>"): Rename from
12028 "<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>" and
12029 use FMAMODE mode iterator.
12030 (define_insn "<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>"):
12031 Use VF_SF_AVX512VL mode iterator.
12032 (define_insn "<avx512>_fnmadd_<mode>_mask<round_name>"): Rename from
12033 "avx512f_fnmadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
12035 (define_insn "<avx512>_fnmadd_<mode>_mask3<round_name>"): Rename from
12036 "avx512f_fnmadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
12038 (define_insn "*fma_fnmsub_<mode>"): Rename from
12039 "<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>" and use
12040 FMAMODE mode iterator.
12041 (define_insn "<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>"):
12042 Use VF_SF_AVX512VL mode iterator.
12043 (define_insn "<avx512>_fnmsub_<mode>_mask<round_name>"): Rename from
12044 "avx512f_fnmsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
12046 (define_insn "<avx512>_fnmsub_<mode>_mask3<round_name>"): Rename from
12047 "avx512f_fnmsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
12049 (define_expand "<avx512>_fmaddsub_<mode>_maskz<round_expand_name>"):
12050 Rename from "avx512f_fmaddsub_<mode>_maskz<round_expand_name>" and
12051 use VF_AVX512VL mode iterator.
12052 (define_insn "*fma_fmaddsub_<mode>"): Rename from
12053 "<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>" and
12054 remove subst usage.
12055 (define_insn "<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>"):
12056 Use VF_SF_AVX512VL mode iterator.
12057 (define_insn "<avx512>_fmaddsub_<mode>_mask<round_name>"): Rename from
12058 "avx512f_fmaddsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
12060 (define_insn "<avx512>_fmaddsub_<mode>_mask3<round_name>"): Rename from
12061 "avx512f_fmaddsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
12063 (define_insn "*fma_fmsubadd_<mode>"): Rename from
12064 "<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>" and
12065 remove usage of subst.
12066 (define_insn "<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>"):
12067 Use VF_SF_AVX512VL mode iterator.
12068 (define_insn "<avx512>_fmsubadd_<mode>_mask<round_name>"): Rename from
12069 "avx512f_fmsubadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
12071 (define_insn "<avx512>_fmsubadd_<mode>_mask3<round_name>"): Rename from
12072 "avx512f_fmsubadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
12075 2014-09-10 Kugan Vivekanandarajah <kuganv@linaro.org>
12078 * calls.c (precompute_arguments): Check
12079 promoted_for_signed_and_unsigned_p and set the promoted mode.
12080 (promoted_for_signed_and_unsigned_p): New function.
12081 (expand_expr_real_1): Check promoted_for_signed_and_unsigned_p
12082 and set the promoted mode.
12083 * expr.h (promoted_for_signed_and_unsigned_p): New function definition.
12084 * cfgexpand.c (expand_gimple_stmt_1): Call emit_move_insn if
12085 SUBREG is promoted with SRP_SIGNED_AND_UNSIGNED.
12087 2014-09-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
12089 * opth-gen.awk: Generate mapping from cpp message reasons to the
12090 options that enable them.
12091 * doc/options.texi (CppReason): Document.
12093 2014-09-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
12095 * doc/invoke.texi (Wnormalized=): Update.
12097 2014-09-09 Segher Boessenkool <segher@kernel.crashing.org>
12100 * config/rs6000/rs6000.md (*bool<mode>3): Allow only register
12101 operands. Split off the constant operand alternative to ...
12102 (*bool<mode>3_imm): New.
12104 2014-09-09 David Malcolm <dmalcolm@redhat.com>
12106 * rtl.h (single_set_2): Strengthen first param from const_rtx to
12107 const rtx_insn *, and move prototype to above...
12108 (single_set): ...this. Convert this from a macro to an inline
12109 function, enforcing the requirement that the param is a const
12111 (find_args_size_adjust): Strengthen param from rtx to rtx_insn *.
12113 * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
12114 Strengthen both params from rtx to rtx_insn *.
12115 * config/arm/aarch-common.c (aarch_crypto_can_dual_issue):
12116 Likewise; introduce locals "producer_set", "consumer_set", using
12117 them in place of "producer" and "consumer" when dealing with SET
12119 * config/avr/avr.c (avr_out_plus): Add checked cast to rtx_insn *
12120 when invoking single_set in region guarded by INSN_P.
12121 (avr_out_bitop): Likewise.
12122 (_reg_unused_after): Introduce local rtx_sequence * "seq" in
12123 region guarded by GET_CODE check, using methods to strengthen
12124 local "this_insn" from rtx to rtx_insn *, and for clarity.
12125 * config/avr/avr.md (define_insn_and_split "xload8<mode>_A"):
12126 Strengthen local "insn" from rtx to rtx_insn *.
12127 (define_insn_and_split "xload<mode>_A"): Likewise.
12128 * config/bfin/bfin.c (trapping_loads_p): Likewise for param
12130 (find_load): Likewise for return type.
12131 (workaround_speculation): Likewise for both locals named
12133 * config/cris/cris.c (cris_cc0_user_requires_cmp): Likewise for
12135 * config/cris/cris.md (define_peephole2 ; moversideqi): Likewise
12137 * config/h8300/h8300-protos.h (notice_update_cc): Likewise for
12139 * config/h8300/h8300.c (notice_update_cc): Likewise.
12140 * config/i386/i386.c (ix86_flags_dependent): Likewise for params
12141 "insn" and "dep_insn".
12142 (exact_store_load_dependency): Likewise for both params.
12143 (ix86_macro_fusion_pair_p): Eliminate local named "single_set"
12144 since this now clashes with inline function. Instead, delay
12145 calling single_set until the point where its needed, and then
12146 assign the result to "compare_set" and rework the conditional that
12148 * config/ia64/ia64.md (define_expand "tablejump"): Strengthen
12149 local "last" from rtx to rtx_insn *.
12150 * config/mips/mips-protos.h (mips_load_store_insns): Likewise for
12152 (mips_store_data_bypass_p): Likewise for both params.
12153 * config/mips/mips.c (mips_load_store_insns): Likewise for second
12155 (mips_store_data_bypass_p): Likewise for both params.
12156 (mips_orphaned_high_part_p): Likewise for param "insn".
12157 * config/mn10300/mn10300.c (extract_bundle): Likewise.
12158 (mn10300_bundle_liw): Likewise for locals "r", "insn1", "insn2".
12159 Introduce local rtx "insn2_pat".
12160 * config/rl78/rl78.c (move_elim_pass): Likewise for locals "insn",
12162 (rl78_remove_unused_sets): Likewise for locals "insn", "ninsn".
12163 Introduce local rtx "set", using it in place of "insn" for the
12164 result of single_set. This appears to fix a bug, since the call
12165 to find_regno_note on a SET does nothing.
12166 * config/rs6000/rs6000.c (set_to_load_agen): Strengthen both
12167 params from rtx to rtx_insn *.
12168 (set_to_load_agen): Likewise.
12169 * config/s390/s390.c (s390_label_align): Likewise for local
12170 "prev_insn". Introduce new rtx locals "set" and "src", using
12171 them in place of "prev_insn" for the results of single_set
12172 and SET_SRC respectively.
12173 (s390_swap_cmp): Strengthen local "jump" from rtx to rtx_insn *.
12174 Introduce new rtx local "set" using in place of "jump" for the
12175 result of single_set. Use SET_SRC (set) rather than plain
12177 * config/sh/sh.c (noncall_uses_reg): Strengthen param 2from
12179 (noncall_uses_reg): Likewise.
12180 (reg_unused_after): Introduce local rtx_sequence * "seq" in region
12181 guarded by GET_CODE check, using its methods for clarity, and to
12182 enable strengthening local "this_insn" from rtx to rtx_insn *.
12183 * config/sh/sh.md (define_expand "mulhisi3"): Strengthen local
12184 "insn" from rtx to rtx_insn *.
12185 (define_expand "umulhisi3"): Likewise.
12186 (define_expand "smulsi3_highpart"): Likewise.
12187 (define_expand "umulsi3_highpart"): Likewise.
12188 * config/sparc/sparc.c (sparc_do_work_around_errata): Likewise for
12189 local "after". Replace GET_CODE check with a dyn_cast,
12190 introducing new local rtx_sequence * "seq", using insn method for
12193 * dwarf2cfi.c (dwarf2out_frame_debug): Strengthen param "insn"
12194 from rtx to rtx_insn *. Introduce local rtx "pat", using it in
12195 place of "insn" once we're dealing with patterns rather than the
12197 (scan_insn_after): Strengthen param "insn" from rtx to rtx_insn *.
12198 (scan_trace): Likewise for local "elt", updating lookups within
12199 sequence to use insn method rather than element method.
12200 * expr.c (find_args_size_adjust): Strengthen param "insn" from rtx
12202 * gcse.c (gcse_emit_move_after): Likewise for local "new_rtx".
12203 * ifcvt.c (noce_try_abs): Likewise for local "insn".
12204 * ira.c (fix_reg_equiv_init): Add checked cast to rtx_insn * when
12205 invoking single_set.
12206 * lra-constraints.c (insn_rhs_dead_pseudo_p): Strengthen param
12207 "insn" from rtx to rtx_insn *.
12208 (skip_usage_debug_insns): Likewise for return type, adding a
12210 (check_secondary_memory_needed_p): Likewise for local "insn".
12211 (inherit_reload_reg): Likewise.
12212 * modulo-sched.c (sms_schedule): Likewise for local "count_init".
12213 * recog.c (peep2_attempt): Likewise for local "old_insn", adding
12215 (store_data_bypass_p): Likewise for both params.
12216 (if_test_bypass_p): Likewise.
12217 * recog.h (store_data_bypass_p): Likewise for both params.
12218 (if_test_bypass_p): Likewise.
12219 * reload.c (find_equiv_reg): Likewise for local "where".
12220 * reorg.c (delete_jump): Likewise for param "insn".
12221 * rtlanal.c (single_set_2): Strenghen param "insn" from const_rtx
12222 to const rtx_insn *.
12223 * store-motion.c (replace_store_insn): Likewise for param "del".
12224 (delete_store): Strengthen local "i" from rtx to rtx_insn_list *,
12225 and use its methods for clarity, and to strengthen local "del"
12226 from rtx to rtx_insn *.
12227 (build_store_vectors): Use insn method of "st" when calling
12228 replace_store_insn for typesafety and clarity.
12230 2014-09-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
12232 * config/rs6000/rs6000.c (rtx_is_swappable_p): Add
12233 UNSPEC_VSX_CVDPSPN as an unswappable operand, and add commentary
12234 on how to make it legal in future.
12236 2014-09-09 David Malcolm <dmalcolm@redhat.com>
12238 * caller-save.c (rtx saveinsn): Strengthen this variable from rtx
12240 (restinsn): Likewise.
12241 * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_move):
12242 Likewise for param.
12243 * config/aarch64/aarch64.c (aarch64_simd_attr_length_move):
12245 * config/arc/arc-protos.h (arc_adjust_insn_length): Likewise for
12247 (arc_hazard): Likewise for both params.
12248 * config/arc/arc.c (arc600_corereg_hazard): Likewise, adding
12249 checked casts to rtx_sequence * and uses of the insn method for
12251 (arc_hazard): Strengthen both params from rtx to rtx_insn *.
12252 (arc_adjust_insn_length): Likewise for param "insn".
12253 (struct insn_length_parameters_s): Likewise for first param of
12254 "get_variants" callback field.
12255 (arc_get_insn_variants): Likewise for first param and local
12256 "inner". Replace a check of GET_CODE with a dyn_cast to
12257 rtx_sequence *, using methods for type-safety and clarity.
12258 * config/arc/arc.h (ADJUST_INSN_LENGTH): Use casts to
12259 rtx_sequence * and uses of the insn method for type-safety when
12260 invoking arc_adjust_insn_length.
12261 * config/arm/arm-protos.h (arm_attr_length_move_neon): Likewise
12263 (arm_address_offset_is_imm): Likewise.
12264 (struct tune_params): Likewise for params 1 and 3 of the
12265 "sched_adjust_cost" callback field.
12266 * config/arm/arm.c (cortex_a9_sched_adjust_cost): Likewise for
12267 params 1 and 3 ("insn" and "dep").
12268 (xscale_sched_adjust_cost): Likewise.
12269 (fa726te_sched_adjust_cost): Likewise.
12270 (cortexa7_older_only): Likewise for param "insn".
12271 (cortexa7_younger): Likewise.
12272 (arm_attr_length_move_neon): Likewise.
12273 (arm_address_offset_is_imm): Likewise.
12274 * config/avr/avr-protos.h (avr_notice_update_cc): Likewise.
12275 * config/avr/avr.c (avr_notice_update_cc): Likewise.
12276 * config/bfin/bfin.c (hwloop_pattern_reg): Likewise.
12277 (workaround_speculation): Likewise for local "last_condjump".
12278 * config/c6x/c6x.c (shadow_p): Likewise for param "insn".
12279 (shadow_or_blockage_p): Likewise.
12280 (get_unit_reqs): Likewise.
12281 (get_unit_operand_masks): Likewise.
12282 (c6x_registers_update): Likewise.
12283 (returning_call_p): Likewise.
12284 (can_use_callp): Likewise.
12285 (convert_to_callp): Likewise.
12286 (find_last_same_clock): Likwise for local "t".
12287 (reorg_split_calls): Likewise for local "shadow".
12288 (hwloop_pattern_reg): Likewise for param "insn".
12289 * config/frv/frv-protos.h (frv_final_prescan_insn): Likewise.
12290 * config/frv/frv.c (frv_final_prescan_insn): Likewise.
12291 (frv_extract_membar): Likewise.
12292 (frv_optimize_membar_local): Strengthen param "last_membar" from
12293 rtx * to rtx_insn **.
12294 (frv_optimize_membar_global): Strengthen param "membar" from rtx
12296 (frv_optimize_membar): Strengthen local "last_membar" from rtx *
12298 * config/ia64/ia64-protos.h (ia64_st_address_bypass_p): Strengthen
12299 both params from rtx to rtx_insn *.
12300 (ia64_ld_address_bypass_p): Likewise.
12301 * config/ia64/ia64.c (ia64_safe_itanium_class): Likewise for param
12303 (ia64_safe_type): Likewise.
12304 (group_barrier_needed): Likewise.
12305 (safe_group_barrier_needed): Likewise.
12306 (ia64_single_set): Likewise.
12307 (is_load_p): Likewise.
12308 (record_memory_reference): Likewise.
12309 (get_mode_no_for_insn): Likewise.
12310 (important_for_bundling_p): Likewise.
12311 (unknown_for_bundling_p): Likewise.
12312 (ia64_st_address_bypass_p): Likewise for both params.
12313 (ia64_ld_address_bypass_p): Likewise.
12314 (expand_vselect): Introduce new local rtx_insn * "insn", using it
12315 in place of rtx "x" after the emit_insn call.
12316 * config/i386/i386-protos.h (x86_extended_QIreg_mentioned_p):
12317 Strengthen param from rtx to rtx_insn *.
12318 (ix86_agi_dependent): Likewise for both params.
12319 (ix86_attr_length_immediate_default): Likewise for param 1.
12320 (ix86_attr_length_address_default): Likewise for param.
12321 (ix86_attr_length_vex_default): Likewise for param 1.
12322 * config/i386/i386.c (ix86_attr_length_immediate_default):
12323 Likewise for param "insn".
12324 (ix86_attr_length_address_default): Likewise.
12325 (ix86_attr_length_vex_default): Likewise.
12326 (ix86_agi_dependent): Likewise for both params.
12327 (x86_extended_QIreg_mentioned_p): Likewise for param "insn".
12328 (vselect_insn): Likewise for this variable.
12329 * config/m68k/m68k-protos.h (m68k_sched_attr_opx_type): Likewise
12331 (m68k_sched_attr_opy_type): Likewise.
12332 * config/m68k/m68k.c (sched_get_operand): Likewise.
12333 (sched_attr_op_type): Likewise.
12334 (m68k_sched_attr_opx_type): Likewise.
12335 (m68k_sched_attr_opy_type): Likewise.
12336 (sched_get_reg_operand): Likewise.
12337 (sched_get_mem_operand): Likewise.
12338 (m68k_sched_address_bypass_p): Likewise for both params.
12339 (sched_get_indexed_address_scale): Likewise.
12340 (m68k_sched_indexed_address_bypass_p): Likewise.
12341 * config/m68k/m68k.h (m68k_sched_address_bypass_p): Likewise.
12342 (m68k_sched_indexed_address_bypass_p): Likewise.
12343 * config/mep/mep.c (mep_jmp_return_reorg): Strengthen locals
12344 "label", "ret" from rtx to rtx_insn *, adding a checked cast and
12346 * config/mips/mips-protos.h (mips_linked_madd_p): Strengthen both
12347 params from rtx to rtx_insn *.
12348 (mips_fmadd_bypass): Likewise.
12349 * config/mips/mips.c (mips_fmadd_bypass): Likewise.
12350 (mips_linked_madd_p): Likewise.
12351 (mips_macc_chains_last_hilo): Likewise for this variable.
12352 (mips_macc_chains_record): Likewise for param.
12353 (vr4130_last_insn): Likewise for this variable.
12354 (vr4130_swap_insns_p): Likewise for both params.
12355 (mips_ls2_variable_issue): Likewise for param.
12356 (mips_need_noat_wrapper_p): Likewise for param "insn".
12357 (mips_expand_vselect): Add a new local rtx_insn * "insn", using it
12358 in place of "x" after the emit_insn.
12359 * config/pa/pa-protos.h (pa_fpstore_bypass_p): Strengthen both
12360 params from rtx to rtx_insn *.
12361 * config/pa/pa.c (pa_fpstore_bypass_p): Likewise.
12362 (pa_combine_instructions): Introduce local "par" for result of
12363 gen_rtx_PARALLEL, moving decl and usage of new_rtx for after call
12365 (pa_can_combine_p): Strengthen param "new_rtx" from rtx to rtx_insn *.
12366 * config/rl78/rl78.c (insn_ok_now): Likewise for param "insn".
12367 (rl78_alloc_physical_registers_op1): Likewise.
12368 (rl78_alloc_physical_registers_op2): Likewise.
12369 (rl78_alloc_physical_registers_ro1): Likewise.
12370 (rl78_alloc_physical_registers_cmp): Likewise.
12371 (rl78_alloc_physical_registers_umul): Likewise.
12372 (rl78_alloc_address_registers_macax): Likewise.
12373 (rl78_alloc_physical_registers): Likewise for locals "insn", "curr".
12374 * config/s390/predicates.md (execute_operation): Likewise for
12376 * config/s390/s390-protos.h (s390_agen_dep_p): Likewise for both
12378 * config/s390/s390.c (s390_safe_attr_type): Likewise for param.
12379 (addr_generation_dependency_p): Likewise for param "insn".
12380 (s390_agen_dep_p): Likewise for both params.
12381 (s390_fpload_toreg): Likewise for param "insn".
12382 * config/sh/sh-protos.h (sh_loop_align): Likewise for param.
12383 * config/sh/sh.c (sh_loop_align): Likewise for param and local
12385 * config/sh/sh.md (define_peephole2): Likewise for local "insn2".
12386 * config/sh/sh_treg_combine.cc
12387 (sh_treg_combine::make_inv_ccreg_insn): Likewise for return type
12389 (sh_treg_combine::try_eliminate_cstores): Likewise for local "i".
12390 * config/stormy16/stormy16.c (combine_bnp): Likewise for locals
12391 "and_insn", "load", "shift".
12392 * config/tilegx/tilegx.c (match_pcrel_step2): Likewise for param
12394 * final.c (final_scan_insn): Introduce local rtx_insn * "other"
12395 for XEXP (note, 0) of the REG_CC_SETTER note.
12396 (cleanup_subreg_operands): Strengthen param "insn" from rtx to
12397 rtx_insn *, eliminating a checked cast made redundant by this.
12398 * gcse.c (process_insert_insn): Strengthen local "insn" from rtx
12400 * genattr.c (main): When writing out the prototype to
12401 const_num_delay_slots, strengthen the param from rtx to
12403 * genattrtab.c (write_const_num_delay_slots): Likewise when
12404 writing out the implementation of const_num_delay_slots.
12405 * hw-doloop.h (struct hw_doloop_hooks): Strengthen the param
12406 "insn" of callback field "end_pattern_reg" from rtx to rtx_insn *.
12407 * ifcvt.c (noce_emit_store_flag): Eliminate local rtx "tmp" in
12408 favor of new rtx locals "src" and "set" and new local rtx_insn *
12410 (noce_emit_move_insn): Strengthen locals "seq" and "insn" from rtx
12412 (noce_emit_cmove): Eliminate local rtx "tmp" in favor of new rtx
12413 locals "cond", "if_then_else", "set" and new rtx_insn * locals
12415 (noce_try_cmove_arith): Strengthen locals "insn_a" and "insn_b",
12416 "last" from rtx to rtx_insn *. Likewise for a local "tmp",
12417 renaming to "tmp_insn". Eliminate the other local rtx "tmp" from
12418 the top-level scope, replacing with new more tightly-scoped rtx
12419 locals "reg", "pat", "mem" and rtx_insn * "insn", "copy_of_a",
12420 "new_insn", "copy_of_insn_b", and make local rtx "set" more
12422 * ira-int.h (ira_setup_alts): Strengthen param "insn" from rtx to
12424 * ira.c (setup_prohibited_mode_move_regs): Likewise for local
12426 (ira_setup_alts): Likewise for param "insn".
12427 * lra-constraints.c (emit_inc): Likewise for local "add_insn".
12428 * lra.c (emit_add3_insn): Split local rtx "insn" in two, an rtx
12430 (lra_emit_add): Eliminate top-level local rtx "insn" in favor of
12431 new more-tightly scoped rtx locals "add3_insn", "insn",
12432 "add2_insn" and rtx_insn * "move_insn".
12433 * postreload-gcse.c (eliminate_partially_redundant_load): Add
12434 checked cast on result of gen_move_insn when invoking
12436 * recog.c (insn_invalid_p): Strengthen param "insn" from rtx to
12438 (verify_changes): Add a checked cast on "object" when invoking
12440 (extract_insn_cached): Strengthen param "insn" from rtx to
12442 (extract_constrain_insn_cached): Likewise.
12443 (extract_insn): Likewise.
12444 * recog.h (insn_invalid_p): Likewise for param 1.
12445 (recog_memoized): Likewise for param.
12446 (extract_insn): Likewise.
12447 (extract_constrain_insn_cached): Likewise.
12448 (extract_insn_cached): Likewise.
12449 * reload.c (can_reload_into): Likewise for local "test_insn".
12450 * reload.h (cleanup_subreg_operands): Likewise for param.
12451 * reload1.c (emit_insn_if_valid_for_reload): Rename param from
12452 "insn" to "pat", reintroducing "insn" as an rtx_insn * on the
12453 result of emit_insn. Remove a checked cast made redundant by this
12455 * sel-sched-ir.c (sel_insn_rtx_cost): Strengthen param "insn" from
12457 * sel-sched.c (get_reg_class): Likewise.
12459 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
12460 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
12462 * config/aarch64/aarch64-elf-raw.h (ENDFILE_SPEC): Add crtfastmath.o.
12463 * config/aarch64/aarch64-linux.h (GNU_USER_TARGET_MATH_ENDFILE_SPEC):
12465 (ENDFILE_SPEC): Define and use GNU_USER_TARGET_MATH_ENDFILE_SPEC.
12467 2014-09-09 David Malcolm <dmalcolm@redhat.com>
12469 * rtl.h (INSN_LOCATION): Strengthen param from const_rtx to
12470 const rtx_insn *, and from rtx to rtx_insn * for the other
12471 overloaded variant.
12472 (RTL_LOCATION): Add a checked cast to rtx_insn * when invoking
12473 INSN_LOCATION, since we know INSN_P holds.
12474 (insn_line): Strengthen param from const_rtx to const rtx_insn *.
12475 (insn_file): Likewise.
12476 (insn_scope): Likewise.
12477 (insn_location): Likewise.
12479 * config/mips/mips.c (mips16_gp_pseudo_reg): Strengthen local
12480 "insn" from rtx to rtx_insn *, introducing a new local rtx "set"
12481 for the result of gen_load_const_gp.
12482 * config/rs6000/rs6000-protos.h (output_call): Strengthen first
12483 param from rtx to rtx_insn *.
12484 * config/rs6000/rs6000.c (output_call): Likewise.
12485 * dwarf2out.c (dwarf2out_var_location): Likewise for local "prev",
12486 introducing a checked cast to rtx_sequence * and use of the insn
12488 * emit-rtl.c (emit_copy_of_insn_after): Strengthen both params
12489 from rtx to rtx_insn *.
12490 (insn_scope): Strengthen param from const_rtx to const rtx_insn *.
12491 (insn_line): Likewise.
12492 (insn_file): Likewise.
12493 (insn_location): Likewise.
12494 * emit-rtl.h (emit_copy_of_insn_after): Strengthen both params
12495 from rtx to rtx_insn *.
12496 * print-rtl.c (print_rtx): Introduce local "in_insn" via a checked
12497 cast, using it for calls to INSN_HAS_LOCATION and insn_location.
12498 * recog.c (peep2_attempt): Introduce local rtx_insn * "peepinsn"
12499 via a checked cast.
12500 * reorg.c (relax_delay_slots): Strengthen locals named "after"
12501 from rtx to rtx_insn *; use methods of "pat" for type-safety.
12503 2014-09-09 David Malcolm <dmalcolm@redhat.com>
12505 * combine.c (try_combine): Eliminate checked cast on result of
12507 * emit-rtl.c (gen_rtx_INSN): New function, improving over the prior
12508 autogenerated one by strengthening the return type and params 2 and 3
12509 from rtx to rtx_insn *, and by naming the params.
12510 * gengenrtl.c (special_rtx): Add INSN to those that are
12512 * rtl.h (gen_rtx_INSN): New prototype.
12514 2014-09-09 David Malcolm <dmalcolm@redhat.com>
12516 * ira.c (ira_update_equiv_info_by_shuffle_insn): Use NULL rather
12518 (no_equiv): Likewise.
12519 (update_equiv_regs): Likewise.
12520 (setup_reg_equiv): Likewise. Strengthen locals "elem",
12521 "prev_elem", "next_elem" from rtx to rtx_insn_list *, and "insn"
12522 from rtx to rtx_insn *. Use methods of "elem" for typesafety and
12524 * ira.h (struct ira_reg_equiv_s): Strengthen field "init_insns"
12525 from rtx to rtx_insn_list *.
12526 * lra-assigns.c (spill_for): Strengthen local "x" from rtx to
12527 rtx_insn_list * and use methods for clarity and typesafety.
12528 * lra-constraints.c (contains_deleted_insn_p): Likewise for param
12530 (init_insn_rhs_dead_pseudo_p): Likewise for local "insns". Remove
12531 redundant check on INSN_P (insns): this cannot hold, as "insns" is
12532 an INSN_LIST, not an insn.
12533 (reverse_equiv_p): Strengthen local "insns" from rtx to
12534 rtx_insn_list * and use methods for clarity and typesafety.
12535 (contains_reloaded_insn_p): Likewise for local "list".
12537 2014-09-09 Jiong Wang <jiong.wang@arm.com>
12539 * config/arm/arm.c (NEON_COPYSIGNF): New enum.
12540 (arm_init_neon_builtins): Support NEON_COPYSIGNF.
12541 (arm_builtin_vectorized_function): Likewise.
12542 * config/arm/arm_neon_builtins.def: New macro for copysignf.
12543 * config/arm/neon.md (neon_copysignf<mode>): New pattern for vector copysignf.
12545 2014-09-09 Richard Sandiford <richard.sandiford@arm.com>
12547 * bb-reorder.h (default_target_bb_reorder): Remove redundant GTY.
12548 * builtins.h (default_target_builtins): Likewise.
12549 * gcse.h (default_target_gcse): Likewise.
12550 * target-globals.h (target_globals): Add a destructor. Convert
12551 void-pointer fields back to their real type and change from
12552 GTY((atomic)) to GTY((skip)).
12553 (restore_target_globals): Remove casts accordingly.
12554 * target-globals.c (save_target_globals): Use XCNEW rather than
12555 ggc_internal_cleared_alloc to allocate non-GC structures.
12556 Use ggc_cleared_alloc to allocate the target_globals structure
12558 (target_globals::~target_globals): Define.
12560 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12562 * config/arm/arm.md (vfp_pop_multiple_with_writeback): Use vldm
12563 mnemonic instead of fldmfdd.
12564 * config/arm/arm.c (vfp_output_fstmd): Rename to...
12565 (vfp_output_vstmd): ... This. Convert output to UAL syntax.
12566 Output vpush when address register is SP.
12567 * config/arm/arm-protos.h (vfp_output_fstmd): Rename to...
12568 (vfp_output_vstmd): ... This.
12569 * config/arm/vfp.md (push_multi_vfp): Update call to
12572 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12574 * config/arm/vfp.md (*movcc_vfp): Use UAL syntax.
12576 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12578 * config/arm/vfp.md (*sqrtsf2_vfp): Use UAL assembly syntax.
12579 (*sqrtdf2_vfp): Likewise.
12580 (*cmpsf_vfp): Likewise.
12581 (*cmpsf_trap_vfp): Likewise.
12582 (*cmpdf_vfp): Likewise.
12583 (*cmpdf_trap_vfp): Likewise.
12585 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12587 * config/arm/vfp.md (*extendsfdf2_vfp): Use UAL assembly syntax.
12588 (*truncdfsf2_vfp): Likewise.
12589 (*truncsisf2_vfp): Likewise.
12590 (*truncsidf2_vfp): Likewise.
12591 (fixuns_truncsfsi2): Likewise.
12592 (fixuns_truncdfsi2): Likewise.
12593 (*floatsisf2_vfp): Likewise.
12594 (*floatsidf2_vfp): Likewise.
12595 (floatunssisf2): Likewise.
12596 (floatunssidf2): Likewise.
12598 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12600 * config/arm/vfp.md (*mulsf3_vfp): Use UAL assembly syntax.
12601 (*muldf3_vfp): Likewise.
12602 (*mulsf3negsf_vfp): Likewise.
12603 (*muldf3negdf_vfp): Likewise.
12604 (*mulsf3addsf_vfp): Likewise.
12605 (*muldf3adddf_vfp): Likewise.
12606 (*mulsf3subsf_vfp): Likewise.
12607 (*muldf3subdf_vfp): Likewise.
12608 (*mulsf3negsfaddsf_vfp): Likewise.
12609 (*fmuldf3negdfadddf_vfp): Likewise.
12610 (*mulsf3negsfsubsf_vfp): Likewise.
12611 (*muldf3negdfsubdf_vfp): Likewise.
12613 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12615 * config/arm/vfp.md (*abssf2_vfp): Use UAL assembly syntax.
12616 (*absdf2_vfp): Likewise.
12617 (*negsf2_vfp): Likewise.
12618 (*negdf2_vfp): Likewise.
12619 (*addsf3_vfp): Likewise.
12620 (*adddf3_vfp): Likewise.
12621 (*subsf3_vfp): Likewise.
12622 (*subdf3_vfp): Likewise.
12623 (*divsf3_vfp): Likewise.
12624 (*divdf3_vfp): Likewise.
12626 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12628 * config/arm/arm.c (output_move_vfp): Use UAL syntax for load/store
12630 (arm_print_operand): Don't convert real values to decimal
12631 representation in default case.
12632 (fp_immediate_constant): Delete.
12633 * config/arm/arm-protos.h (fp_immediate_constant): Likewise.
12634 * config/arm/vfp.md (*arm_movsi_vfp): Convert to VFP moves to UAL
12636 (*thumb2_movsi_vfp): Likewise.
12637 (*movdi_vfp): Likewise.
12638 (*movdi_vfp_cortexa8): Likewise.
12639 (*movhf_vfp_neon): Likewise.
12640 (*movhf_vfp): Likewise.
12641 (*movsf_vfp): Likewise.
12642 (*thumb2_movsf_vfp): Likewise.
12643 (*movdf_vfp): Likewise.
12644 (*thumb2_movdf_vfp): Likewise.
12645 (*movsfcc_vfp): Likewise.
12646 (*thumb2_movsfcc_vfp): Likewise.
12647 (*movdfcc_vfp): Likewise.
12648 (*thumb2_movdfcc_vfp): Likewise.
12650 2014-09-09 James Greenhalgh <james.greenhalgh@arm.com>
12652 * doc/invoke.texi (-march): Use GNU/Linux rather than Linux.
12653 (-mtune): Likewise.
12656 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12659 * config/aarch64/aarch64-builtins.c (aarch64_types_quadop_qualifiers):
12660 Use qualifier_immediate for last operand. Rename to...
12661 (aarch64_types_ternop_lane_qualifiers): ... This.
12662 (TYPES_QUADOP): Rename to...
12663 (TYPES_TERNOP_LANE): ... This.
12664 (aarch64_simd_expand_args): Return const0_rtx when encountering user
12665 error. Change return of 0 to return of NULL_RTX.
12666 (aarch64_crc32_expand_builtin): Likewise.
12667 (aarch64_expand_builtin): Return NULL_RTX instead of 0.
12668 ICE when expanding unknown builtin.
12669 * config/aarch64/aarch64-simd-builtins.def (sqdmlal_lane): Use
12670 TERNOP_LANE qualifiers.
12671 (sqdmlsl_lane): Likewise.
12672 (sqdmlal_laneq): Likewise.
12673 (sqdmlsl_laneq): Likewise.
12674 (sqdmlal2_lane): Likewise.
12675 (sqdmlsl2_lane): Likewise.
12676 (sqdmlal2_laneq): Likewise.
12677 (sqdmlsl2_laneq): Likewise.
12679 2014-09-09 Nick Clifton <nickc@redhat.com>
12681 * doc/invoke.texi (Optimization Options): Add missing @gol to the
12683 (S/390 and zSeries Options): Remove superfluous word from the
12684 description of the -mhotpatch option.
12686 2014-09-09 Zhenqiang Chen <zhenqiang.chen@arm.com>
12688 * shrink-wrap.h: #define SHRINK_WRAPPING_ENABLED.
12689 * ira.c: #include "shrink-wrap.h"
12690 (split_live_ranges_for_shrink_wrap): Use SHRINK_WRAPPING_ENABLED.
12691 * ifcvt.c: #include "shrink-wrap.h"
12692 (dead_or_predicable): Use SHRINK_WRAPPING_ENABLED.
12694 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
12696 * common/config/picochip/picochip-common.c: Remove.
12697 * config.gcc: Remove support for picochip.
12698 * config/picochip/constraints.md: Remove.
12699 * config/picochip/dfa_space.md: Remove.
12700 * config/picochip/dfa_speed.md: Remove.
12701 * config/picochip/picochip-protos.h: Remove.
12702 * config/picochip/picochip.c: Remove.
12703 * config/picochip/picochip.h: Remove.
12704 * config/picochip/picochip.md: Remove.
12705 * config/picochip/picochip.opt: Remove.
12706 * config/picochip/predicates.md: Remove.
12707 * config/picochip/t-picochip: Remove.
12708 * doc/md.texi: Don't document picochi.
12710 2014-09-08 David Malcolm <dmalcolm@redhat.com>
12712 * basic-block.h (control_flow_insn_p): Strengthen param from
12713 const_rtx to const rtx_insn *.
12714 * cfgbuild.c (control_flow_insn_p): Likewise.
12716 2014-09-08 David Malcolm <dmalcolm@redhat.com>
12718 * gcse.c (modify_mem_list): Strengthen this variable from
12719 vec<rtx> * to vec<rtx_insn *> *.
12720 (vec_rtx_heap): Strengthen this typedef from vec<rtx> to
12722 (load_killed_in_block_p): Strengthen local "list" from vec<rtx> to
12723 vec<rtx_insn *>, and local "setter" from rtx to rtx_insn *.
12724 (record_last_mem_set_info): Strengthen param "insn" from rtx to
12726 (record_last_set_info): Likewise for local "last_set_insn".
12728 2014-09-08 DJ Delorie <dj@redhat.com>
12730 * doc/invoke.texi (MSP430 Options): Add -minrt.
12732 2014-09-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
12734 * config/rs6000/rs6000.c (special_handling_values): Add SH_SPLAT.
12735 (rtx_is_swappable_p): Convert UNSPEC cascading ||s to a switch
12736 statement; allow optimization of UNSPEC_VSPLT_DIRECT with special
12738 (adjust_extract): Fix test for VEC_DUPLICATE case; fix adjustment
12740 (adjust_splat): New function.
12741 (handle_special_swappables): Call adjust_splat for SH_SPLAT.
12742 (dump_swap_insn_table): Add case for SH_SPLAT.
12744 2014-09-08 Richard Biener <rguenther@suse.de>
12747 * tree-inline.c (copy_loops): The source loop header should
12748 always be non-NULL.
12749 (tree_function_versioning): If loops need fixup after removing
12750 unreachable blocks fix them.
12751 * omp-low.c (simd_clone_adjust): Do not add incr block to
12752 loop under construction.
12754 2014-09-08 Alan Lawrence <alan.lawrence@arm.com>
12756 * config/aarch64/aarch64-builtins.c
12757 (aarch64_types_cmtst_qualifiers, TYPES_TST): Remove as unused.
12759 2014-09-08 Joseph Myers <joseph@codesourcery.com>
12761 * config/i386/cygming.h (TF_SIZE): Remove.
12762 * config/i386/darwin.h (TF_SIZE): Remove.
12763 * config/i386/dragonfly.h (TF_SIZE): Remove.
12764 * config/i386/freebsd.h (TF_SIZE): Remove.
12765 * config/i386/gnu-user-common.h (TF_SIZE): Remove.
12766 * config/i386/openbsdelf.h (TF_SIZE): Remove.
12767 * config/i386/sol2.h (TF_SIZE): Remove.
12768 * config/ia64/hpux.h (XF_SIZE, TF_SIZE): Remove.
12769 * config/ia64/linux.h (TF_SIZE): Remove.
12770 * doc/tm.texi.in (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Remove.
12771 * doc/tm.texi: Regenerate.
12772 * system.h (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Poison.
12774 2014-09-08 Joseph Myers <joseph@codesourcery.com>
12776 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
12778 * doc/tm.texi.in (ROUND_TOWARDS_ZERO, LARGEST_EXPONENT_IS_NORMAL):
12780 * doc/tm.texi: Regenerate.
12781 * system.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
12783 * config/arm/arm.h (LARGEST_EXPONENT_IS_NORMAL): Remove.
12784 * config/cris/cris.h (__make_dp): Remove.
12786 2014-09-08 Richard Biener <rguenther@suse.de>
12789 * cfgloop.c (mark_loop_for_removal): Track former header
12791 * cfgloop.h (struct loop): Add former_header member unconditionally.
12792 * loop-init.c (fix_loop_structure): Enable bogus loop removal
12793 diagnostic unconditionally.
12795 2014-09-07 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12798 * config/aarch64/aarch64.md (stack_protect_test_<mode>) Add register
12799 constraint for operand0 and remove write only modifier from operand3.
12801 2014-09-07 Richard Sandiford <richard.sandiford@arm.com>
12803 PR rtl-optimization/62208
12804 * simplify-rtx.c (simplify_relational_operation_1): Use CONST0_RTX
12805 rather than const0_rtx in eq/ne-xor simplifications.
12807 2014-09-06 Joern Rennecke <joern.rennecke@embecosm.com>
12809 * config/arc/arc.c (arc_print_operand): Fix format for HOST_WIDE_INT.
12810 (arc_output_mi_thunk): Likewise.
12812 * config/arc/arc.c (arc_predicate_delay_insns): Swap comparison
12813 arguments to silence bogus warning.
12815 2014-09-06 Richard Sandiford <richard.sandiford@arm.com>
12817 PR middle-end/63171
12818 * rtlanal.c (tls_referenced_p): Don't skip constant subrtxes.
12820 2014-09-06 Tom de Vries <tom@codesourcery.com>
12822 * ira-costs.c (ira_tune_allocno_costs): Don't conditionalize
12823 IRA_HARD_REGNO_ADD_COST_MULTIPLIER code on
12824 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
12826 2014-09-05 Dominique Dhumieres <dominiq@lps.ens.fr>
12829 * config/darwin.h (INIT_SECTION_ASM_OP): Define to "".
12830 * config/pa/pa64-hpux.h (INIT_SECTION_ASM_OP): Likewise.
12832 2014-09-05 Easwaran Raman <eraman@google.com>
12834 PR rtl-optimization/62146
12835 * ifcvt.c (dead_or_predicable): Make removal of REG_EQUAL note of
12836 hoisted instruction unconditional.
12838 2014-09-05 Segher Boessenkool <segher@kernel.crashing.org>
12841 * config/rs6000/rs6000.md (*and<mode>3_imm_dot, *and<mode>3_imm_dot2):
12842 Do not allow any_mask_operand for operands[2].
12843 (*and<mode>3_imm_mask_dot, *and<mode>3_imm_mask_dot2): New.
12845 2014-09-05 David Malcolm <dmalcolm@redhat.com>
12847 * config/arc/arc.c (arc_print_operand): Use insn method of
12848 final_sequence for type-safety.
12849 * config/bfin/bfin.c (bfin_hardware_loop): Strengthen param
12850 "insn" from rtx to rtx_insn *.
12851 * config/frv/frv.c (frv_print_operand_jump_hint): Likewise.
12852 * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc):
12853 Likewise for locals "branch", "label".
12854 * config/h8300/h8300.c (same_cmp_preceding_p): Likewise for
12855 locals "i1", "i2". Use NULL rather than NULL_RTX in comparisons.
12856 (same_cmp_following_p): Likewise for locals "i2", "i3".
12857 * config/sh/sh_optimize_sett_clrt.cc
12858 (sh_optimize_sett_clrt::sh_cbranch_ccreg_value): Likewise for
12859 param "cbranch_insn".
12860 * function.c (convert_jumps_to_returns): Likewis for local "jump".
12861 * ifcvt.c (cond_exec_get_condition): Likewise for param "jump".
12862 * jump.c (simplejump_p): Strengthen param "insn" from const_rtx to
12864 (condjump_p): Likewise.
12865 (condjump_in_parallel_p): Likewise.
12866 (pc_set): Likewise.
12867 (any_uncondjump_p): Likewise.
12868 (any_condjump_p): Likewise.
12869 (condjump_label): Likewise.
12870 (returnjump_p): Strengthen param "insn" from rtx to
12872 (onlyjump_p): Strengthen param "insn" from const_rtx to
12874 (jump_to_label_p): Likewise.
12875 (invert_jump_1): Strengthen param "jump" from rtx to rtx_insn *.
12876 (invert_jump): Likewise.
12877 * reorg.c (simplejump_or_return_p): Add checked cast when calling
12879 (get_jump_flags): Strengthen param "insn" from rtx to
12881 (get_branch_condition): Likewise.
12882 (condition_dominates_p): Likewise.
12883 (make_return_insns): Move declaration of local "pat" earlier, to
12884 after we've handled NONJUMP_INSN_P and non-sequences, using its
12885 methods to simplify the code and for type-safety.
12886 * rtl.h (find_constant_src): Strengthen param from const_rtx to
12888 (jump_to_label_p): Strengthen param from rtx to const rtx_insn *.
12889 (condjump_p): Strengthen param from const_rtx to
12891 (any_condjump_p): Likewise.
12892 (any_uncondjump_p): Likewise.
12893 (pc_set): Likewise.
12894 (condjump_label): Likewise.
12895 (simplejump_p): Likewise.
12896 (returnjump_p): Likewise.
12897 (onlyjump_p): Likewise.
12898 (invert_jump_1): Strengthen param 1 from rtx to rtx_insn *.
12899 (invert_jump): Likewise.
12900 (condjump_in_parallel_p): Strengthen param from const_rtx to
12902 * rtlanal.c (find_constant_src): Strengthen param from const_rtx
12903 to const rtx_insn *.
12904 * sel-sched-ir.c (fallthru_bb_of_jump): Strengthen param from rtx
12905 to const rtx_insn *.
12906 * sel-sched-ir.h (fallthru_bb_of_jump): Likewise.
12908 2014-09-05 David Malcolm <dmalcolm@redhat.com>
12910 * reorg.c (relax_delay_slots): Move declaration of "trial_seq"
12911 above the conditional, and convert the check on GET_CODE to a
12912 dyn_cast, so that "trial_seq" is available as an rtx_sequence * in
12913 the conditional. Simplify the conditional by using methods of
12916 2014-09-05 David Malcolm <dmalcolm@redhat.com>
12918 * haifa-sched.c (check_clobbered_conditions): Strengthen local
12919 "link" from rtx to rtx_insn_list *, and use its methods for
12920 clarity and type-safety.
12921 (toggle_cancelled_flags): Likewise.
12922 (restore_last_backtrack_point): Likewise.
12923 (queue_to_ready): Use insn method of "link" in one place.
12924 (schedule_block): Strengthen local "link" from rtx to
12925 rtx_insn_list *, and use its methods for clarity and type-safety.
12927 2014-09-05 David Malcolm <dmalcolm@redhat.com>
12929 * sched-deps.c (sched_get_condition_with_rev_uncached): Strengthen
12930 param "insn" from const_rtx to const rtx_insn *.
12931 (sched_get_reverse_condition_uncached): Likewise.
12932 (sched_get_condition_with_rev): Likewise.
12933 (sched_has_condition_p): Likewise.
12934 (sched_insns_conditions_mutex_p): Likewise for both params.
12935 (sched_insn_is_legitimate_for_speculation_p): Likewise for param
12936 "insn"; conver use of CONST_CAST_RTX to CONST_CAST_RTX_INSN.
12937 (setup_insn_reg_uses): Move local "list" to be more tightly
12938 scoped, strengthening it from an rtx to an rtx_insn_list *. Use
12939 its methods for clarity and type-safety.
12940 (sched_analyze_1): Strengthen local "pending" from rtx to
12941 rtx_insn_list *, and local "pending_mem" from rtx to
12942 rtx_expr_list *. Use methods of each for clarity and type-safety.
12943 (sched_analyze_2): Likewise.
12944 (sched_analyze_insn): Likewise.
12946 * sched-int.h (sched_get_reverse_condition_uncached): Strengthen
12947 param from const_rtx to const rtx_insn *.
12948 (sched_insns_conditions_mutex_p): Likewise for both params.
12949 (sched_insn_is_legitimate_for_speculation_p): Likewise for first
12952 * system.h (CONST_CAST_RTX_INSN): New macro.
12954 2014-09-05 David Malcolm <dmalcolm@redhat.com>
12956 * recog.c (peep2_attempt): Strengthen return type from rtx to
12958 (peep2_update_life): Likewise for params "last", "prev", removing
12959 a checked cast made redundant by this.
12960 (peephole2_optimize): Likewise for local "last".
12962 2014-09-05 David Malcolm <dmalcolm@redhat.com>
12964 * basic-block.h (set_block_for_insn): Eliminate this macro in
12966 * rtl.h (set_block_for_insn): New inline function, imposing the
12967 requirement that the "insn" param is an rtx_insn *.
12969 2014-09-05 David Malcolm <dmalcolm@redhat.com>
12971 * caller-save.c (setup_save_areas): Strengthen local "insn" from
12973 * final.c (get_call_reg_set_usage): Likewise for first param,
12974 eliminating a checked cast.
12975 * regs.h (get_call_reg_set_usage): Likewise for first param.
12976 * resource.c (mark_set_resources): Introduce local rtx_call_insn *
12977 "call_insn" for the case of a MARK_SRC_DEST_CALL via a checked
12978 cast, replacing references to "x" with "call_insn" where
12980 (mark_target_live_regs): Strengthen local "real_insn" from rtx to
12981 rtx_insn *, adding a checked cast.
12983 2014-09-05 David Malcolm <dmalcolm@redhat.com>
12985 * output.h (final_scan_insn): Strengthen first param from rtx to
12988 * final.c (final_scan_insn): Likewise, renaming it back from
12989 "uncast_insn" to "insn", eliminating the checked cast.
12991 * config/h8300/h8300.md (define_insn "jump"): Replace local rtx
12992 "vec" with an rtx_sequence * "seq", taking a copy of
12993 "final_sequence", and using methods of "seq" for clarity, and for
12994 type-safety in the calls to final_scan_insn.
12995 * config/mips/mips.c (mips_output_conditional_branch): Use methods
12996 of "final_sequence" for clarity, and for type-safety in the call to
12998 * config/sh/sh.c (print_slot): Strengthen param from rtx to
12999 rtx_sequence * and rename from "insn" to "seq".
13001 2014-09-05 David Malcolm <dmalcolm@redhat.com>
13003 * jump.c (delete_related_insns): Introduce a new local "table" by
13004 replacing JUMP_TABLE_DATA_P with a dyn_cast, then use the
13005 get_labels method of "table" to simplify access to the labels in
13008 2014-09-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
13010 * config/arm/cortex-a53.md (cortex_a53_fpalu): Add f_rints, f_rintd,
13011 f_minmaxs, f_minmaxd types.
13013 2014-09-05 Richard Biener <rguenther@suse.de>
13015 * cfgloop.c (mark_loop_for_removal): Record former header
13016 when ENABLE_CHECKING.
13017 * cfgloop.h (strut loop): Add former_header member when
13019 * loop-init.c (fix_loop_structure): Sanity check loops
13020 marked for removal if they re-appeared.
13022 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
13024 * config/aarch64/arm_neon.h (int32x1_t, int16x1_t, int8x1_t,
13025 uint32x1_t, uint16x1_t, uint8x1_t): Remove typedefs.
13027 (vqabsb_s8, vqabsh_s16, vqabss_s32, vqaddb_s8, vqaddh_s16, vqadds_s32,
13028 vqaddb_u8, vqaddh_u16, vqadds_u32, vqdmlalh_s16, vqdmlalh_lane_s16,
13029 vqdmlals_s32, vqdmlslh_s16, vqdmlslh_lane_s16, vqdmlsls_s32,
13030 vqdmulhh_s16, vqdmulhh_lane_s16, vqdmulhs_s32, vqdmulhs_lane_s32,
13031 vqdmullh_s16, vqdmullh_lane_s16, vqdmulls_s32, vqdmulls_lane_s32,
13032 vqmovnh_s16, vqmovns_s32, vqmovnd_s64, vqmovnh_u16, vqmovns_u32,
13033 vqmovnd_u64, vqmovunh_s16, vqmovuns_s32, vqmovund_s64, vqnegb_s8,
13034 vqnegh_s16, vqnegs_s32, vqrdmulhh_s16, vqrdmulhh_lane_s16,
13035 vqrdmulhs_s32, vqrdmulhs_lane_s32, vqrshlb_s8, vqrshlh_s16,
13036 vqrshls_s32, vqrshlb_u8, vqrshlh_u16, vqrshls_u32, vqrshrnh_n_s16,
13037 vqrshrns_n_s32, vqrshrnd_n_s64, vqrshrnh_n_u16, vqrshrns_n_u32,
13038 vqrshrnd_n_u64, vqrshrunh_n_s16, vqrshruns_n_s32, vqrshrund_n_s64,
13039 vqshlb_s8, vqshlh_s16, vqshls_s32, vqshlb_u8, vqshlh_u16, vqshls_u32,
13040 vqshlb_n_s8, vqshlh_n_s16, vqshls_n_s32, vqshlb_n_u8, vqshlh_n_u16,
13041 vqshls_n_u32, vqshlub_n_s8, vqshluh_n_s16, vqshlus_n_s32,
13042 vqshrnh_n_s16, vqshrns_n_s32, vqshrnd_n_s64, vqshrnh_n_u16,
13043 vqshrns_n_u32, vqshrnd_n_u64, vqshrunh_n_s16, vqshruns_n_s32,
13044 vqshrund_n_s64, vqsubb_s8, vqsubh_s16, vqsubs_s32, vqsubb_u8,
13045 vqsubh_u16, vqsubs_u32, vsqaddb_u8, vsqaddh_u16, vsqadds_u32,
13046 vuqaddb_s8, vuqaddh_s16, vuqadds_s32): Replace all int{32,16,8}x1_t
13047 with int{32,16,8}_t.
13049 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
13051 * config/aarch64/arm_neon.h (__GET_HIGH): New macro.
13052 (vget_high_f32, vget_high_f64, vget_high_p8, vget_high_p16,
13053 vget_high_s8, vget_high_s16, vget_high_s32, vget_high_s64,
13054 vget_high_u8, vget_high_u16, vget_high_u32, vget_high_u64):
13055 Remove temporary __asm__ and reimplement.
13057 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
13059 * config/aarch64/aarch64-builtins.c (aarch64_fold_builtin): Remove code
13060 handling cmge, cmgt, cmeq, cmtst.
13062 * config/aarch64/aarch64-simd-builtins.def (cmeq, cmge, cmgt, cmle,
13063 cmlt, cmgeu, cmgtu, cmtst): Remove.
13065 * config/aarch64/arm_neon.h (vceq_*, vceqq_*, vceqz_*, vceqzq_*,
13066 vcge_*, vcgeq_*, vcgez_*, vcgezq_*, vcgt_*, vcgtq_*, vcgtz_*,
13067 vcgtzq_*, vcle_*, vcleq_*, vclez_*, vclezq_*, vclt_*, vcltq_*,
13068 vcltz_*, vcltzq_*, vtst_*, vtstq_*): Use gcc vector extensions.
13070 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
13072 * config/aarch64/aarch64-builtins.c (aarch64_types_cmtst_qualifiers,
13073 TYPES_TST): Define.
13074 (aarch64_fold_builtin): Update pattern for cmtst.
13076 * config/aarch64/aarch64-protos.h (aarch64_const_vec_all_same_int_p):
13079 * config/aarch64/aarch64-simd-builtins.def (cmtst): Update qualifiers.
13081 * config/aarch64/aarch64-simd.md (aarch64_vcond_internal<mode><mode>):
13082 Switch operands, separate out more cases, refactor.
13084 (aarch64_cmtst<mode>): Rewrite pattern to match (plus ... -1).
13086 * config/aarch64.c (aarch64_const_vec_all_same_int_p): Take single
13087 argument; rename old version to...
13088 (aarch64_const_vec_all_same_in_range_p): ...this.
13089 (aarch64_print_operand, aarch64_simd_shift_imm_p): Follow renaming.
13091 * config/aarch64/predicates.md (aarch64_simd_imm_minus_one): Define.
13093 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
13095 * config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers):
13096 Remove qualifier_const_pointer, update comment.
13098 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
13100 * config/aarch64/aarch64.md (adddi3_aarch64): set type to neon_add.
13102 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
13104 * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): Replace
13105 varargs with pointer parameter.
13106 (aarch64_simd_expand_builtin): pass pointer into previous.
13108 2014-09-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
13110 * config/arm/cortex-a53.md (cortex_a53_alu_shift): Add alu_ext,
13113 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
13115 * config/aarch64/aarch64-simd.md (aarch64_rbit<mode>): New pattern.
13116 * config/aarch64/aarch64-simd-builtins.def (rbit): New builtin.
13117 * config/aarch64/arm_neon.h (vrbit_s8, vrbit_u8, vrbitq_s8, vrbitq_u8):
13118 Replace temporary asm with call to builtin.
13119 (vrbit_p8, vrbitq_p8): New functions.
13121 2014-09-05 Richard Biener <rguenther@suse.de>
13123 * cfgloop.c (mark_loop_for_removal): New function.
13124 * cfgloop.h (mark_loop_for_removal): Declare.
13125 * cfghooks.c (delete_basic_block): Use mark_loop_for_removal.
13126 (merge_blocks): Likewise.
13127 (duplicate_block): Likewise.
13128 * except.c (sjlj_emit_dispatch_table): Likewise.
13129 * tree-eh.c (cleanup_empty_eh_merge_phis): Likewise.
13130 * tree-ssa-threadupdate.c (ssa_redirect_edges): Likewise.
13131 (thread_through_loop_header): Likewise.
13133 2014-09-05 Richard Biener <rguenther@suse.de>
13135 PR middle-end/63148
13136 * fold-const.c (try_move_mult_to_index): Remove.
13137 (fold_binary_loc): Do not call it.
13138 * tree-data-ref.c (dr_analyze_indices): Strip conversions
13139 from the base object again.
13141 2014-09-05 James Greenhalgh <james.greenhalgh@arm.com>
13143 * config/aarch64/aarch64.md (sibcall_value_insn): Give operand 1
13146 2014-09-05 Bin Cheng <bin.cheng@arm.com>
13149 * config/arm/arm.md (setmem): New pattern.
13150 * config/arm/arm-protos.h (struct tune_params): New fields.
13151 (arm_gen_setmem): New prototype.
13152 * config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
13153 (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
13154 (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
13155 (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
13156 (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
13157 (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
13158 (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
13159 (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
13160 (arm_const_inline_cost): New function.
13161 (arm_block_set_max_insns): New function.
13162 (arm_block_set_non_vect_profit_p): New function.
13163 (arm_block_set_vect_profit_p): New function.
13164 (arm_block_set_unaligned_vect): New function.
13165 (arm_block_set_aligned_vect): New function.
13166 (arm_block_set_unaligned_non_vect): New function.
13167 (arm_block_set_aligned_non_vect): New function.
13168 (arm_block_set_vect, arm_gen_setmem): New functions.
13170 2014-09-05 Bin Cheng <bin.cheng@arm.com>
13172 * config/arm/arm.md (arm_movqi_insn): Use Uh instead of m constraint.
13174 2014-09-05 Bin Cheng <bin.cheng@arm.com>
13176 * config/arm/arm.c (output_move_neon): Handle REG explicitly.
13178 2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
13180 * valtrack.c (dead_debug_insert_temp): Take an rtx_insn * instead of
13182 * valtrack.h: Adjust.
13184 2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
13186 * emit-rtl.c (emit_insn_before_noloc): Take an rtx_insn * instead of
13188 (emit_jump_insn_before_noloc): Likewise.
13189 (emit_call_insn_before_noloc): Likewise.
13190 (emit_label_before): Likewise.
13191 (emit_label_after): Likewise.
13192 (emit_insn_before_setloc): Likewise.
13193 (emit_jump_insn_before_setloc): Likewise.
13194 (emit_call_insn_before_setloc): Likewise.
13195 (emit_call_insn_before): Likewise.
13198 2014-09-05 David Malcolm <dmalcolm@redhat.com>
13200 * cse.c (cse_insn): Strengthen local "new_rtx" from rtx to
13201 rtx_insn *, eliminating a checked cast.
13203 2014-09-05 David Malcolm <dmalcolm@redhat.com>
13205 * rtl.h (modified_between_p): Strengthen params 2 and 3 from
13206 const_rtx to const rtx_insn *.
13207 * rtlanal.c (modified_between_p): Likewise, eliminating a checked
13210 2014-09-05 David Malcolm <dmalcolm@redhat.com>
13212 * emit-rtl.c (try_split): Update NULL_RTX to NULL in call to
13213 fixup_args_size_notes.
13214 * expr.c (fixup_args_size_notes): Strengthen first two params from
13215 rtx to rtx_insn *, eliminating a checked cast.
13216 * rtl.h (fixup_args_size_notes): Strengthen first two params from
13219 2014-09-05 David Malcolm <dmalcolm@redhat.com>
13221 * haifa-sched.c (get_ready_element): Strengthen return type from
13223 * sched-int.h (get_ready_element): Likewise.
13225 2014-09-04 Segher Boessenkool <segher@kernel.crashing.org>
13228 * config/rs6000/rs6000.md (floatsi<mode>2_lfiwax_mem): Use
13229 indexed_or_indirect_operand instead of memory_operand.
13230 (floatsi<mode>2_lfiwzx_mem): Ditto.
13232 2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
13234 * config/bfin/bfin.c, config/c6x/c6x.c, config/m32c/m32c.c,
13235 config/mn10300/mn10300.c, config/s390/s390.c, config/sh/sh.c,
13236 ifcvt.c, reorg.c: Change types of variables from rtx to rtx_insn *.
13238 2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
13240 * emit-rtl.c (get_first_nonnote_insn): Return rtx_insn * instead of
13242 (get_last_nonnote_insn): Likewise.
13243 (next_nonnote_insn_bb): Take rtx_insn * instead of rtx.
13244 * resource.c (find_basic_block): Likewise.
13246 * rtlanal.c (keep_with_call_p): Take const rtx_insn * instead of
13249 2014-09-04 David Malcolm <dmalcolm@redhat.com>
13251 * genattr.c (main): Within the prototype of insn_latency written
13252 out to insn-attr.h, strengthen both params from rtx to rtx_insn *.
13253 * genautomata.c (output_internal_maximal_insn_latency_func):
13254 Within the implementation of insn_latency written out to
13255 insn-automata.c, strengthen both params from rtx to rtx_insn *,
13256 eliminating a pair of checked casts.
13258 2014-09-04 David Malcolm <dmalcolm@redhat.com>
13260 * jump.c (eh_returnjump_p): Strengthen param "insn" from rtx to
13263 * rtl.h (eh_returnjump_p): Likewise.
13265 2014-09-04 Aldy Hernandez <aldyh@redhat.com>
13267 * Makefile.in (TAGS): Handle constructs in timevar.def.
13269 2014-09-04 Guozhi Wei <carrot@google.com>
13272 * config/aarch64/iterators.md (VQ_NO2E, VQ_2E): New iterators.
13273 * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): Split
13274 it into two patterns.
13275 (move_lo_quad_internal_be_<mode>): Likewise.
13277 2014-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
13279 * doc/options.texi: Document that Var and Init are required if CPP
13281 * optc-gen.awk: Require Var and Init if CPP is given.
13282 * common.opt (Wpedantic): Use Init.
13284 2014-09-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
13286 * config/rs6000/rs6000.c (special_handling_values): Add
13288 (rtx_is_swappable_p): Look for patterns with a VEC_SELECT, perhaps
13289 wrapped in a VEC_DUPLICATE, representing an extract. Mark these
13290 as swappable with special handling SH_EXTRACT. Remove
13291 UNSPEC_VSX_XXSPLTW from the list of disallowed unspecs for the
13293 (adjust_extract): New function.
13294 (handle_special_swappables): Add default to case statement; add
13295 case for SH_EXTRACT that calls adjust_extract.
13296 (dump_swap_insn_table): Handle SH_EXTRACT.
13298 2014-09-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
13300 * config/rs6000/vsx.md (*vsx_extract_<mode>_load): Always match
13301 selection of 0th memory doubleword, regardless of endianness.
13303 2014-09-04 Jan-Benedict Glaw <jbglaw@lug-owl.de>
13305 * config/rx/rx.h (HARD_REGNO_MODE_OK): Add braces.
13307 2014-09-04 Alan Modra <amodra@gmail.com>
13310 * dwarf2out.c (mem_loc_descriptor <PLUS>): Return NULL if addend
13313 2014-09-03 Matthew Fortune <matthew.fortune@imgtec.com>
13315 * target.def (TARGET_DWARF_FRAME_REG_MODE): New target hook.
13316 * targhooks.c (default_dwarf_frame_reg_mode): New function.
13317 * targhooks.h (default_dwarf_frame_reg_mode): New prototype.
13318 * doc/tm.texi.in (TARGET_DWARF_FRAME_REG_MODE): Document.
13319 * doc/tm.texi: Regenerate.
13320 * dwarf2cfi.c (expand_builtin_init_dwarf_reg_sizes): Abstract mode
13321 selection logic to default_dwarf_frame_reg_mode.
13323 2014-09-03 Marek Polacek <polacek@redhat.com>
13325 * doc/invoke.texi: Document that -Wlogical-not-parentheses is enabled
13328 2014-09-03 Richard Sandiford <richard.sandiford@arm.com>
13330 * doc/rtl.texi (RTX_AUTOINC): Document that the first operand is
13331 the automodified register.
13333 2014-09-03 Richard Sandiford <richard.sandiford@arm.com>
13335 * output.h (get_some_local_dynamic_name): Declare.
13336 * final.c (some_local_dynamic_name): New variable.
13337 (get_some_local_dynamic_name): New function.
13338 (final_end_function): Clear some_local_dynamic_name.
13339 * config/alpha/alpha.c (machine_function): Remove some_ld_name.
13340 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
13341 (print_operand): Report an error if '%&' is used inappropriately.
13342 * config/i386/i386.c (get_some_local_dynamic_name): Delete.
13343 (get_some_local_dynamic_name_1): Delete.
13344 * config/rs6000/rs6000.c (machine_function): Remove some_ld_name.
13345 (rs6000_get_some_local_dynamic_name): Delete.
13346 (rs6000_get_some_local_dynamic_name_1): Delete.
13347 (print_operand): Report an error if '%&' is used inappropriately.
13348 * config/s390/s390.c (machine_function): Remove some_ld_name.
13349 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
13350 (print_operand): Assert that get_some_local_dynamic_name is nonnull.
13351 * config/sparc/sparc.c: Include rtl-iter.h.
13352 (machine_function): Remove some_ld_name.
13353 (sparc_print_operand): Report an error if '%&' is used inappropriately.
13354 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
13356 2014-09-03 Richard Henderson <rth@redhat.com>
13358 * config/aarch64/aarch64.c (aarch64_popwb_single_reg): Remove.
13359 (aarch64_popwb_pair_reg): Remove.
13360 (aarch64_set_frame_expr): Remove.
13361 (aarch64_restore_callee_saves): Add CFI_OPS argument; fill it with
13362 the restore ops performed by the insns generated.
13363 (aarch64_expand_epilogue): Attach CFI_OPS to the stack deallocation
13364 insn. Perform the calls_eh_return addition later; do not attempt to
13365 preserve the CFA in that case. Don't use aarch64_set_frame_expr.
13366 (aarch64_expand_prologue): Use REG_CFA_ADJUST_CFA directly, or no
13367 special markup at all. Load cfun->machine->frame.hard_fp_offset
13368 into a local variable.
13369 (aarch64_frame_pointer_required): Don't check calls_alloca.
13371 2014-09-03 Richard Biener <rguenther@suse.de>
13373 * opts.c (default_options_optimization): Adjust
13374 max-combine-insns to 2 for -Og.
13376 2014-09-03 Martin Jambor <mjambor@suse.cz>
13379 * ipa-cp.c (intersect_aggregates_with_edge): Handle impermissible
13380 pass-trough jump functions correctly.
13382 2014-09-03 Martin Jambor <mjambor@suse.cz>
13385 * ipa-cp.c (find_aggregate_values_for_callers_subset): Chain
13386 created replacements in ascending order of offsets.
13387 (known_aggs_to_agg_replacement_list): Likewise.
13389 2014-09-03 Martin Liska <mliska@suse.cz>
13391 * tree-ssa-sccvn.c (vn_reference_lookup_call): default (NULL) value
13392 is set to set uninitialized value for vnresult.
13394 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13396 * config/nds32/nds32.c (nds32_must_pass_in_stack): New implementation
13397 for TARGET_MUST_PASS_IN_STACK.
13399 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13401 * config/nds32/nds32.c (nds32_arg_partial_bytes): New implementation
13402 for TARGET_ARG_PARTIAL_BYTES.
13404 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13406 * config/nds32/nds32.c (nds32_expand_prologue): Emit stack push
13407 instructions for varargs implementation.
13408 (nds32_expand_epilogue): Emit stack adjustment instructions for
13409 varargs implementation.
13411 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13413 * config/nds32/nds32.c (nds32_expand_prologue): Suppress fp-as-gp
13414 optimization detection.
13416 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13418 * config/nds32/nds32.c (nds32_function_arg): Deal with nameless
13420 (nds32_function_arg_advance): Deal with nameless arguments.
13421 * config/nds32/nds32.h (NDS32_ARG_PASS_IN_REG_P): Split it into ...
13422 (NDS32_ARG_ENTIRE_IN_GPR_REG_P): ... this one and ...
13423 (NDS32_ARG_PARTIAL_IN_GPR_REG_P): ... this one.
13425 2014-09-03 Richard Biener <rguenther@suse.de>
13427 * tree-ssa-pre.c (alloc_expression_id): Use quick_grow_cleared.
13428 (struct bb_bitmap_sets): Remove deferred member.
13429 (BB_DEFERRED): Remove.
13430 (defer_or_phi_translate_block): Remove.
13431 (compute_antic_aux): Remove deferring of blocks, assert
13432 proper iteration order.
13433 (compute_antic): Do not set BB_DEFERRED.
13434 (eliminate): Allocate el_avail of proper size initially.
13436 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13438 * config/nds32/nds32.h (FIRST_PARM_OFFSET): Set proper location
13439 according to the value of crtl->args.pretend_args_size.
13441 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13443 * config/nds32/nds32.c (nds32_compute_stack_frame): Prepare necessary
13444 varargs information.
13446 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13448 * config/nds32/nds32.c (nds32_setup_incoming_varargs): New
13449 implementation for TARGET_SETUP_INCOMING_VARARGS.
13450 (nds32_strict_argument_naming): Refine comment.
13451 * config/nds32/nds32.h (TARGET_SOFT_FLOAT, TARGET_HARD_FLOAT):
13452 Define for future implementation.
13454 2014-09-03 Ilya Tocar <ilya.tocar@intel.com>
13456 * config/i386/adxintrin.h (_subborrow_u32): New.
13457 (_addcarry_u32): Ditto.
13458 (_subborrow_u64): Ditto.
13459 (_addcarry_u64): Ditto.
13460 * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_SBB32,
13461 IX86_BUILTIN_SBB64.
13462 (ix86_init_mmx_sse_builtins): Handle __builtin_ia32_sbb_u32,
13463 __builtin_ia32_sbb_u64
13465 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13467 * config/nds32/nds32.c (nds32_function_arg): Define and rename some
13468 GPR-specific stuff.
13469 (nds32_function_arg_advance): Likewise.
13470 (nds32_init_cumulative_args): Likewise.
13471 * config/nds32/nds32.h (NDS32_MAX_GPR_REGS_FOR_ARGS): Define.
13472 (NDS32_FIRST_GPR_REGNUM): Define.
13473 (NDS32_LAST_GPR_REGNUM): Define.
13474 (NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG): Define.
13475 (NDS32_ARG_PASS_IN_REG_P): Use NDS32_MAX_GPR_REGS_FOR_ARGS.
13476 (FUNCTION_ARG_REGNO_P): Use NDS32_MAX_GPR_REGS_FOR_ARGS.
13477 (machine_function): Use GRP-specific stuff.
13479 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13481 * config/nds32/nds32.c (nds32_expand_prologue): Remove unused variables.
13482 (nds32_expand_epilogue): Likewise.
13483 (nds32_expand_prologue_v3push): Likewise.
13484 (nds32_expand_epilogue_v3pop): Likewise.
13486 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13488 * config/nds32/nds32.c (nds32_compute_stack_frame): Do not use
13489 v3push/v3pop for variadic function.
13490 * config/nds32/nds32.md (prologue, epilogue): Likewise.
13492 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13494 * config/nds32/nds32-md-auxiliary.c (nds32_output_stack_push):
13495 Check rtx for varargs implementation.
13496 (nds32_output_stack_pop): Likewise.
13497 * config/nds32/nds32-protos.h: Have a rtx argument for
13498 nds32_output_stack_push and nds32_output_stack_pop.
13499 * config/nds32/nds32.md: Likewise.
13501 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13503 * config/nds32/nds32-isr.c (nds32_isr_function_p): Define new function
13504 to check if FUNC is an interrupt service routine.
13505 * config/nds32/nds32-protos.h (nds32_isr_function_p): Declaration.
13507 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13509 * config/nds32/nds32.h (machine_function): Add some fields for variadic
13510 arguments implementation.
13512 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13514 * config/nds32/nds32-predicates.c
13515 (nds32_valid_stack_push_pop): Rename to ...
13516 (nds32_valid_stack_push_pop_p): ... this.
13517 * config/nds32/nds32-protos.h: Likewise.
13518 * config/nds32/predicates.md: Likewise.
13520 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13522 * config/nds32/nds32.c (nds32_gen_stack_v3push): Rename to ...
13523 (nds32_emit_stack_v3push): ... this.
13524 (nds32_gen_stack_v3pop): Rename to ...
13525 (nds32_emit_stack_v3pop): ... this and consider CFA restore
13528 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13530 * config/nds32/nds32.c (nds32_gen_stack_push_multiple): Rename to ...
13531 (nds32_emit_stack_push_multiple): ... this.
13532 (nds32_gen_stack_pop_multiple): Rename to ...
13533 (nds32_emit_stack_pop_multiple): ... this and consider CFA restore
13536 2014-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13539 * config/s390/s390.md ("*negdi2_31"): Add s390_split_ok_p check
13540 and add a second splitter to handle the remaining cases.
13542 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
13544 * config/nds32/nds32.h (PIC_OFFSET_TABLE_REGNUM): Define.
13546 2014-09-02 Trevor Saunders <tsaunders@mozilla.com>
13548 * cfgexpand.c (label_rtx_for_bb): Change type to
13549 hash_map<basic_block, rtx_code_label *> *.
13550 (expand_gimple_basic_block): Adjust.
13551 (pass_expand::execute): Likewise.
13553 2014-09-02 Trevor Saunders <tsaunders@mozilla.com>
13555 * asan.c, cfgexpand.c, config/alpha/alpha.md, config/arm/arm.c,
13556 config/epiphany/epiphany.md, config/h8300/h8300.c, config/i386/i386.md,
13557 config/m32r/m32r.c, config/mcore/mcore.md, config/mips/mips.c,
13558 config/mips/mips.md, config/nios2/nios2.c, config/pa/pa.c,
13559 config/s390/s390.c, config/s390/s390.md, config/sh/sh-mem.cc,
13560 config/sh/sh.c, config/sparc/sparc.c, dojump.c, function.c, optabs.c,
13561 stmt.c: Assign the result of gen_label_rtx to rtx_code_label * instead
13564 2014-09-02 Trevor Saunders <tsaunders@mozilla.com>
13566 * alloc-pool.c: Include coretypes.h.
13567 * cgraph.h, dbxout.c, dwarf2out.c, except.c, except.h, function.c,
13568 function.h, symtab.c, tree-cfg.c, tree-eh.c: Use hash_map and
13569 hash_set instead of htab.
13570 * ggc-page.c (in_gc): New variable.
13571 (ggc_free): Do nothing if a collection is taking place.
13572 (ggc_collect): Set in_gc appropriately.
13573 * ggc.h (gt_ggc_mx(const char *)): New function.
13574 (gt_pch_nx(const char *)): Likewise.
13575 (gt_ggc_mx(int)): Likewise.
13576 (gt_pch_nx(int)): Likewise.
13577 * hash-map.h (hash_map::hash_entry::ggc_mx): Likewise.
13578 (hash_map::hash_entry::pch_nx): Likewise.
13579 (hash_map::hash_entry::pch_nx_helper): Likewise.
13580 (hash_map::hash_map): Adjust.
13581 (hash_map::create_ggc): New function.
13582 (gt_ggc_mx): Likewise.
13583 (gt_pch_nx): Likewise.
13584 * hash-set.h (default_hashset_traits::ggc_mx): Likewise.
13585 (default_hashset_traits::pch_nx): Likewise.
13586 (hash_set::hash_entry::ggc_mx): Likewise.
13587 (hash_set::hash_entry::pch_nx): Likewise.
13588 (hash_set::hash_entry::pch_nx_helper): Likewise.
13589 (hash_set::hash_set): Adjust.
13590 (hash_set::create_ggc): New function.
13591 (hash_set::elements): Likewise.
13592 (gt_ggc_mx): Likewise.
13593 (gt_pch_nx): Likewise.
13594 * hash-table.h (hash_table::hash_table): Adjust.
13595 (hash_table::m_ggc): New member.
13596 (hash_table::~hash_table): Adjust.
13597 (hash_table::expand): Likewise.
13598 (hash_table::empty): Likewise.
13599 (gt_ggc_mx): New function.
13600 (hashtab_entry_note_pointers): Likewise.
13601 (gt_pch_nx): Likewise.
13603 2014-09-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
13605 * config/rs6000/rs6000-builtin.def (XVCVSXDDP_SCALE): New
13606 built-in definition.
13607 (XVCVUXDDP_SCALE): Likewise.
13608 (XVCVDPSXDS_SCALE): Likewise.
13609 (XVCVDPUXDS_SCALE): Likewise.
13610 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
13611 entries for VSX_BUILTIN_XVCVSXDDP_SCALE,
13612 VSX_BUILTIN_XVCVUXDDP_SCALE, VSX_BUILTIN_XVCVDPSXDS_SCALE, and
13613 VSX_BUILTIN_XVCVDPUXDS_SCALE.
13614 * config/rs6000/rs6000-protos.h (rs6000_scale_v2df): New
13616 * config/rs6000/rs6000.c (real.h): New include.
13617 (rs6000_scale_v2df): New function.
13618 * config/rs6000/vsx.md (UNSPEC_VSX_XVCVSXDDP): New unspec.
13619 (UNSPEC_VSX_XVCVUXDDP): Likewise.
13620 (UNSPEC_VSX_XVCVDPSXDS): Likewise.
13621 (UNSPEC_VSX_XVCVDPUXDS): Likewise.
13622 (vsx_xvcvsxddp_scale): New define_expand.
13623 (vsx_xvcvsxddp): New define_insn.
13624 (vsx_xvcvuxddp_scale): New define_expand.
13625 (vsx_xvcvuxddp): New define_insn.
13626 (vsx_xvcvdpsxds_scale): New define_expand.
13627 (vsx_xvcvdpsxds): New define_insn.
13628 (vsx_xvcvdpuxds_scale): New define_expand.
13629 (vsx_xvcvdpuxds): New define_insn.
13630 * doc/extend.texi (vec_ctf): Add new prototypes.
13631 (vec_cts): Likewise.
13632 (vec_ctu): Likewise.
13633 (vec_splat): Likewise.
13634 (vec_div): Likewise.
13635 (vec_mul): Likewise.
13637 2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
13640 * config/arm/neon.md
13641 (neon_vcvt<NEON_VCVT:nvrint_variant><su_optab><VCVTF:mode>
13642 <v_cmp_result>): New pattern.
13643 * config/arm/iterators.md (NEON_VCVT): New int iterator.
13644 * config/arm/arm_neon_builtins.def (vcvtav2sf, vcvtav4sf, vcvtauv2sf,
13645 vcvtauv4sf, vcvtpv2sf, vcvtpv4sf, vcvtpuv2sf, vcvtpuv4sf, vcvtmv2sf,
13646 vcvtmv4sf, vcvtmuv2sf, vcvtmuv4sf): New builtin definitions.
13647 * config/arm/arm.c (arm_builtin_vectorized_function): Handle
13648 BUILT_IN_LROUNDF, BUILT_IN_LFLOORF, BUILT_IN_LCEILF.
13650 2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
13653 * config/arm/iterators.md (FIXUORS): New code iterator.
13654 (VCVT): New int iterator.
13655 (su_optab): New code attribute.
13657 * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): New pattern.
13659 2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
13661 * config/aarch64/predicates.md (aarch64_comparison_operation):
13662 New special predicate.
13663 * config/aarch64/aarch64.md (*csinc2<mode>_insn): Use
13664 aarch64_comparison_operation instead of matching an operator.
13665 Update operand numbers.
13666 (csinc3<mode>_insn): Likewise.
13667 (*csinv3<mode>_insn): Likewise.
13668 (*csneg3<mode>_insn): Likewise.
13669 (ffs<mode>2): Update gen_csinc3<mode>_insn callsite.
13670 * config/aarch64/aarch64.c (aarch64_get_condition_code):
13671 Return -1 instead of aborting on invalid condition codes.
13672 (aarch64_print_operand): Update aarch64_get_condition_code callsites
13673 to assert that the returned condition code is valid.
13674 * config/aarch64/aarch64-protos.h (aarch64_get_condition_code): Export.
13676 2014-09-02 Aldy Hernandez <aldyh@redhat.com>
13678 * Makefile.in (TAGS): Handle constructs in common.opt, rtl.def,
13679 tree.def, and gimple.def
13681 2014-09-02 Jakub Jelinek <jakub@redhat.com>
13682 Balaji V. Iyer <balaji.v.iyer@intel.com>
13683 Igor Zamyatin <igor.zamyatin@intel.com>
13685 * cilk-builtins.def (__cilkrts_cilk_for_32): New.
13686 (__cilkrts_cilk_for_64): Likewise.
13687 * cilk-common.c (declare_cilk_for_builtin): New function.
13688 (cilk_init_builtins): Declare __cilkrts_cilk_for_32 and
13689 __cilkrts_cilk_for_64 bultins.
13690 * cilk.h (enum cilk_tree_index): Added CILK_TI_F_LOOP_32 and
13692 (cilk_for_32_fndecl): New define.
13693 (cilk_for_64_fndecl): Likewise.
13694 * gimple-pretty-print.c (dump_gimple_omp_for): Correct hadling of
13695 GF_OMP_FOR_KIND_CILKFOR cases; Added NE_EXPR case.
13696 * gimple.h (enum gf_mask): Added GF_OMP_FOR_KIND_CILKFOR; adjusted
13697 GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_SIMD, GF_OMP_FOR_COMBINED,
13698 GF_OMP_FOR_COMBINED_INTO.
13699 * gimplify.c (gimplify_scan_omp_clauses): Added
13700 OMP_CLAUSE__CILK_FOR_COUNT_ case.
13701 (gimplify_adjust_omp_clauses): Ditto.
13702 (gimplify_omp_for): Added CILK_FOR case.
13703 (gimplify_expr): Ditto.
13704 * omp-low.c: Include cilk.h.
13705 (extract_omp_for_data): Set appropriate kind for
13706 GF_OMP_FOR_KIND_CILKFOR; added check for GF_OMP_FOR_KIND_CILKFOR.
13707 (scan_sharing_clauses): Added OMP_CLAUSE__CILK_FOR_COUNT_ cases.
13708 (create_omp_child_function_name): Added second argument to handle
13710 (cilk_for_check_loop_diff_type): New function.
13711 (expand_cilk_for_call): Likewise.
13712 (expand_cilk_for): Likewise.
13713 (create_omp_child_function): Set cilk_for_count; handle the cases when
13714 it is true; call create_omp_child_function_name with second argument.
13715 (expand_omp_taskreg): Set is_cilk_for and handle cases when it's true.
13716 (expand_omp_for): Handle case of GF_OMP_FOR_KIND_CILKFOR.
13717 * tree-core.h (omp_clause_code): Added OMP_CLAUSE__CILK_FOR_COUNT_.
13718 * tree-nested.c (convert_nonlocal_omp_clauses): Added
13719 OMP_CLAUSE__CILK_FOR_COUNT_ case.
13720 (convert_local_omp_clauses): Ditto.
13721 * tree-pretty-print.c (dump_omp_clause): Added
13722 OMP_CLAUSE__CILK_FOR_COUNT_ and OMP_CLAUSE_SCHEDULE_CILKFOR cases.
13723 (dump_generic_node): Added CILK_FOR case.
13724 * tree.c (omp_clause_num_ops): New element
13725 OMP_CLAUSE__CILK_FOR_COUNT_ (1).
13726 (omp_clause_code_name): New element _Cilk_for_count_.
13727 (walk_tree_1): Added OMP_CLAUSE__CILK_FOR_COUNT_ case.
13728 * tree.def: Add tree code for CILK_FOR.
13730 2014-09-02 Segher Boessenkool <segher@kernel.crashing.org>
13732 * config/rs6000/40x.md (ppc403-integer): Move "exts" to "no dot".
13733 (ppc403-compare): Add "exts with dot" case.
13734 * config/rs6000/440.md (ppc440-integer, ppc440-compare): As above.
13735 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Ditto.
13736 * config/rs6000/601.md (ppc601-integer, ppc601-compare): Ditto.
13737 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Ditto.
13738 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Ditto.
13739 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Ditto.
13740 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Ditto.
13741 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
13742 cell-cmp-microcoded): Similarly.
13743 * config/rs6000/e300c2c3.md (ppce300c3_iu, ppce300c3_cmp): As before.
13744 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Ditto.
13745 * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Ditto.
13746 * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Ditto.
13747 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Ditto.
13748 * config/rs6000/power4.md (power4-integer, power4-compare): Ditto.
13749 * config/rs6000/power5.md (power5-integer, power5-compare): Ditto.
13750 * config/rs6000/power6.md (power6-exts): Add "no dot" condition.
13751 (power6-compare): Add "exts with dot" case.
13752 * config/rs6000/power7.md (power7-integer, power7-compare): As before.
13753 * config/rs6000/power8.md (power8-1cyc, power8-compare): Ditto.
13754 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Ditto.
13756 * config/rs6000/predicates.md (lwa_operand): Don't allow memory
13757 if avoiding Cell microcode.
13758 * config/rs6000/rs6000.c (rs6000_adjust_cost): Handle exts+dot case.
13759 (is_cracked_insn): Ditto.
13760 (insn_must_be_first_in_group): Ditto.
13761 * config/rs6000/rs6000.md (dot): Adjust comment.
13762 (cell_micro): Handle exts+dot.
13763 (extendqidi2, extendhidi2, extendsidi2, *extendsidi2_lfiwax,
13764 *extendsidi2_nocell, *extendsidi2_nocell, extendqisi2, extendqihi2,
13765 extendhisi2, 16 anonymous instructions, and 12 splitters): Delete.
13766 (extendqi<mode>2, *extendqi<mode>2_dot, *extendqi<mode>2_dot2,
13767 extendhi<mode>2, *extendhi<mode>2, *extendhi<mode>2_noload,
13768 *extendhi<mode>2_dot, *extendhi<mode>2_dot2, extendsi<mode>2,
13769 *extendsi<mode>2_dot, *extendsi<mode>2_dot2): New.
13771 2014-09-02 Segher Boessenkool <segher@kernel.crashing.org>
13773 * config/rs6000/rs6000.md (QHSI): Delete.
13774 (EXTQI, EXTHI, EXTSI): New mode iterators.
13775 (zero_extend<mode>di2, *zero_extend<mode>di2_internal1,
13776 *zero_extend<mode>di2_internal2, *zero_extend<mode>di2_internal3,
13777 *zero_extendsidi2_lfiwzx, zero_extendqisi2, zero_extendhisi2,
13778 9 anonymous instructions, and 8 splitters): Delete.
13779 (zero_extendqi<mode>2, *zero_extendqi<mode>2_dot,
13780 *zero_extendqi<mode>2_dot2, zero_extendhi<mode>2,
13781 *zero_extendhi<mode>2_dot, *zero_extendhi<mode>2_dot2,
13782 zero_extendsi<mode>2, *zero_extendsi<mode>2_dot,
13783 *zero_extendsi<mode>2_dot2): New.
13785 2014-09-02 Segher Boessenkool <segher@kernel.crashing.org>
13787 * config/rs6000/rs6000.md (any_extend): New code iterator.
13788 (u, su): New code attributes.
13789 (dmode, DMODE): New mode attributes.
13790 (<su>mul<mode>3_highpart): New.
13791 (*<su>mul<mode>3_highpart): New.
13792 (<su>mulsi3_highpart_le): New.
13793 (<su>muldi3_highpart_le): New.
13794 (<su>mulsi3_highpart_64): New.
13795 (<u>mul<mode><dmode>3): New.
13796 (mulsidi3, umulsidi3, smulsi3_highpart, umulsi3_highpart, and two
13797 splitters): Delete.
13798 (mulditi3, umulditi3, smuldi3_highpart, umuldi3_highpart, and two
13799 splitters): Delete.
13801 2014-09-02 Segher Boessenkool <segher@kernel.crashing.org>
13803 * config/rs6000/rs6000.md (mulsi3, *mulsi3_internal1,
13804 *mulsi3_internal2, and two splitters): Delete.
13805 (muldi3, *muldi3_internal1, *muldi3_internal2, and two splitters):
13807 (mul<mode>3, mul<mode>3_dot, mul<mode>3_dot2): New.
13809 2014-09-02 Richard Biener <rguenther@suse.de>
13811 PR tree-optimization/62695
13812 * tree-ssa-structalias.c (find_func_clobbers): Add missing
13815 2014-09-01 Oleg Endo <olegendo@gcc.gnu.org>
13818 * config/sh/sh.md (*cmp_div0s_0): Add missing constraints.
13820 2014-09-01 Andi Kleen <ak@linux.intel.com>
13822 * file-find.c (add_prefix_begin): Add.
13823 (do_add_prefix): Rename from add_prefix with first argument.
13824 (add_prefix): Add new wrapper.
13825 * file-find.h (add_prefix_begin): Add.
13826 * gcc-ar.c (main): Support -B option.
13828 2014-09-01 Segher Boessenkool <segher@kernel.crashing.org>
13830 * genemit.c: Include dumpfile.h.
13831 (gen_split): Print name of splitter function to dump file.
13833 2014-09-01 Richard Biener <rguenther@suse.de>
13835 * tree-ssa-struct-aliases.c (find_func_aliases_for_builtin_call):
13836 Use stack auto_vecs for constraint expressions.
13837 (find_func_aliases_for_call): Likewise.
13838 (find_func_aliases): Likewise.
13839 (find_func_clobbers): Likewise.
13841 2014-09-01 Richard Biener <rguenther@suse.de>
13843 * tree-ssa-pre.c (phi_translate_1): Avoid re-allocating the
13844 operands vector in most cases. Remove redundant code.
13846 2014-09-01 Olivier Hainque <hainque@adacore.com>
13848 * config/vxworksae.h (VXWORKSAE_TARGET_DIR): Rely on
13849 $WIND_BASE instead of designating a harcoded arbitrary home dir.
13850 (VXWORKS_ADDITIONAL_CPP_SPEC): Adjust callers.
13852 2014-09-01 Richard Biener <rguenther@suse.de>
13854 * tree-ssa-sccvn.h (copy_reference_ops_from_ref,
13855 copy_reference_ops_from_call, vn_nary_op_compute_hash,
13856 vn_reference_compute_hash, vn_reference_insert): Remove.
13857 (vn_reference_lookup_call): New function.
13858 * tree-ssa-sccvn.c (vn_reference_compute_hash,
13859 copy_reference_ops_from_ref, copy_reference_ops_from_call,
13860 vn_reference_insert, vn_nary_op_compute_hash): Make static.
13861 (create_reference_ops_from_call): Remove.
13862 (vn_reference_lookup_3): Properly update shared_lookup_references.
13863 (vn_reference_lookup_pieces): Assert that we updated
13864 shared_lookup_references properly.
13865 (vn_reference_lookup): Likewise.
13866 (vn_reference_lookup_call): New function.
13867 (visit_reference_op_call): Use it. Avoid re-building the
13869 (visit_reference_op_load): Remove redundant lookup.
13870 (visit_reference_op_store): Perform special tail-merging work
13871 only when possibly doing tail-merging.
13872 (visit_use): Likewise.
13873 * tree-ssa-pre.c (compute_avail): Use vn_reference_lookup_call.
13875 2014-09-01 Jakub Jelinek <jakub@redhat.com>
13878 * sched-deps.c (add_or_update_dep_1): If ask_dependency_caches
13879 returned DEP_PRESENT, make sure to set DEP_MULTIPLE on present_dep.
13880 (find_inc): Revert 2014-08-13 change.
13882 2014-09-01 Marek Polacek <polacek@redhat.com>
13884 PR middle-end/61903
13885 * expmed.c (store_fixed_bit_field_1): Shift UHWI 1 instead of HWI 1.
13886 Change the type of V to unsigned HOST_WIDE_INT.
13888 2014-09-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
13890 * tree-ssa-math-opts.c (struct symbolic_number): Clarify comment about
13891 the size of byte markers.
13892 (do_shift_rotate): Fix confusion between host, target and marker byte
13894 (verify_symbolic_number_p): Likewise.
13895 (find_bswap_or_nop_1): Likewise.
13896 (find_bswap_or_nop): Likewise.
13898 2014-09-01 Olivier Hainque <hainque@adacore.com>
13900 * Makefile.in (FLAGS_TO_PASS): Propagate INSTALL, INSTALL_DATA,
13901 INSTALL_SCRIPT and INSTALL_PROGRAM as well.
13903 2014-09-01 Jakub Jelinek <jakub@redhat.com>
13905 * config/gnu-user.h (LIBLSAN_EARLY_SPEC): Define.
13906 * gcc.c (LIBLSAN_SPEC, LIBLSAN_EARLY_SPEC): Follow LIBTSAN*_SPEC.
13907 (SANITIZER_EARLY_SPEC): Include LIBLSAN_EARLY_SPEC for -fsanitize=leak.
13909 2014-09-01 Yury Gribov <y.gribov@samsung.com>
13913 * asan.c (asan_mem_ref_get_end): Handle non-ptroff_t lengths.
13914 (build_check_stmt): Likewise.
13915 (instrument_strlen_call): Likewise.
13916 (asan_expand_check_ifn): Likewise and fix types.
13917 (maybe_cast_to_ptrmode): New function.
13919 2014-09-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
13921 * config/mcore/mcore.c (try_constant_tricks): Fix declaration.
13923 2014-08-31 Gerald Pfeifer <gerald@pfeifer.com>
13925 * doc/generic.texi (Deficiencies): Add note on exemplary mistakes.
13927 2014-08-30 John David Anglin <danglin@gcc.gnu.org>
13929 * config/pa/pa.c (pa_assemble_integer): Don't add PLABEL relocation
13930 prefix to function labels when generating fast indirect calls.
13932 2014-08-30 David Malcolm <dmalcolm@redhat.com>
13936 * gcc/reorg.c (skip_consecutive_labels): Convert return type and
13937 param back from rtx_insn * to rtx. Rename param from "label" to
13938 "label_or_return", reintroducing "label" as an rtx_insn * after
13939 we've ensured it's not a RETURN.
13940 (first_active_target_insn): Likewise for return type and param;
13941 add a checked cast to rtx_insn * once we've ensured "insn" is not
13943 (steal_delay_list_from_target): Convert param "pnew_thread" back
13944 from rtx_insn ** to rtx *. Replace use of JUMP_LABEL_AS_INSN
13946 (own_thread_p): Convert param "thread" back from an rtx_insn * to
13947 an rtx. Introduce local rtx_insn * "thread_insn" with a checked
13948 cast once we've established we're not dealing with a RETURN,
13949 renaming subsequent uses of "thread" to "thread_insn".
13950 (fill_simple_delay_slots): Convert uses of JUMP_LABEL_AS_INSN back
13952 (follow_jumps): Convert return type and param "label" from
13953 rtx_insn * back to rtx. Move initialization of "value" to after
13954 the handling for ANY_RETURN_P, adding a checked cast there to
13955 rtx_insn *. Convert local rtx_insn * "this_label" to an rtx and
13956 rename to "this_label_or_return", reintroducing "this_label" as
13957 an rtx_insn * once we've handled the case where it could be an
13959 (fill_slots_from_thread): Rename param "thread" to
13960 "thread_or_return", converting from an rtx_insn * back to an rtx.
13961 Reintroduce name "thread" as an rtx_insn * local with a checked
13962 cast once we've handled the case of it being an ANY_RETURN_P.
13963 Convert local "new_thread" from an rtx_insn * back to an rtx.
13964 Add a checked cast when assigning to "trial" from "new_thread".
13965 Convert use of JUMP_LABEL_AS_INSN back to JUMP_LABEL. Add a
13966 checked cast to rtx_insn * from "new_thread" when invoking
13968 (fill_eager_delay_slots): Convert locals "target_label",
13969 "insn_at_target" from rtx_insn * back to rtx.
13970 Convert uses of JUMP_LABEL_AS_INSN back to JUMP_LABEL.
13971 (relax_delay_slots): Convert locals "trial", "target_label" from
13972 rtx_insn * back to rtx. Convert uses of JUMP_LABEL_AS_INSN back
13973 to JUMP_LABEL. Add a checked cast to rtx_insn * on "trial" when
13974 invoking update_block.
13975 (dbr_schedule): Convert use of JUMP_LABEL_AS_INSN back to
13976 JUMP_LABEL; this removes all JUMP_LABEL_AS_INSN from reorg.c.
13978 * resource.h (mark_target_live_regs): Undo erroneous conversion
13979 of second param of r214693, converting it back from rtx_insn * to
13980 rtx, since it could be a RETURN.
13982 * resource.c (find_dead_or_set_registers): Similarly, convert
13983 param "jump_target" back from an rtx_insn ** to an rtx *, as we
13984 could be writing back a RETURN. Rename local rtx_insn * "next" to
13985 "next_insn", and introduce "lab_or_return" as a local rtx,
13986 handling the case where JUMP_LABEL (this_jump_insn) is a RETURN.
13987 (mark_target_live_regs): Undo erroneous conversion
13988 of second param of r214693, converting it back from rtx_insn * to
13989 rtx, since it could be a RETURN. Rename it from "target" to
13990 "target_maybe_return", reintroducing the name "target" as a local
13991 rtx_insn * with a checked cast, after we've handled the case of
13994 2014-08-29 DJ Delorie <dj@redhat.com>
13996 * cppbuiltin.c (define_builtin_macros_for_type_sizes): Round
13997 pointer size up to a power of two.
13998 * defaults.h (DWARF2_ADDR_SIZE): Round up.
13999 (POINTER_SIZE_UNITS): New, rounded up value.
14000 * dwarf2asm.c (size_of_encoded_value): Use it.
14001 (dw2_output_indirect_constant_1): Likewise.
14002 * expmed.c (init_expmed_one_conv): We now know the sizes of
14004 * loop-iv.c (iv_number_of_iterations): Use precision, not size.
14005 * optabs.c (expand_float): Use precision, not size.
14006 (expand_fix): Likewise.
14007 * simplify-rtx (simplify_unary_operation_1): Likewise.
14008 * tree-dfa.c (get_ref_base_and_extent): Likewise.
14009 * varasm.c (assemble_addr_to_section): Round up pointer sizes.
14010 (default_assemble_integer) Likewise.
14011 (dump_tm_clone_pairs): Likewise.
14012 * dwarf2out.c (mem_loc_descriptor): Allow partial-int modes also.
14013 * var-tracking.c (adjust_mems): Allow partial-int modes also.
14014 (prepare_call_arguments): Likewise.
14015 * stor-layout.c (finalize_type_size): Preserve precision.
14016 (layout_type): Use precision, not size.
14018 * expr.c (convert_move): If the target has an explicit converter,
14021 2014-08-29 David Malcolm <dmalcolm@redhat.com>
14023 * gdbinit.in: Skip various inline functions in rtl.h when
14026 2014-08-29 Richard Sandiford <richard.sandiford@arm.com>
14029 * rtlanal.c (rtx_referenced_p): Fix typo in LABEL_P call.
14031 2014-08-29 Richard Biener <rguenther@suse.de>
14033 PR tree-optimization/62291
14034 * tree-ssa-pre.c (sorted_array_from_bitmap_set): Reserve
14035 exactly the vector size needed and use quick_push.
14036 (phi_translate_1): Adjust comment.
14037 (valid_in_sets): Remove block argument and remove pointless
14039 (dependent_clean): Adjust for removal of block argument.
14041 (compute_antic_aux): Likewise.
14042 (compute_partial_antic_aux): Likewise.
14044 2014-08-29 Alexander Ivchenko <alexander.ivchenko@intel.com>
14045 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14046 Anna Tikhonova <anna.tikhonova@intel.com>
14047 Ilya Tocar <ilya.tocar@intel.com>
14048 Andrey Turetskiy <andrey.turetskiy@intel.com>
14049 Ilya Verbin <ilya.verbin@intel.com>
14050 Kirill Yukhin <kirill.yukhin@intel.com>
14051 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14053 * config/i386/sse.md
14054 (define_insn "avx2_interleave_highv4di<mask_name>"): Add masking.
14055 (define_insn "vec_interleave_highv2di<mask_name>"): Ditto.
14056 (define_insn "avx2_interleave_lowv4di<mask_name>"): Ditto.
14057 (define_insn "vec_interleave_lowv2di<mask_name>"): Ditto.
14059 2014-08-29 Alexander Ivchenko <alexander.ivchenko@intel.com>
14060 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14061 Anna Tikhonova <anna.tikhonova@intel.com>
14062 Ilya Tocar <ilya.tocar@intel.com>
14063 Andrey Turetskiy <andrey.turetskiy@intel.com>
14064 Ilya Verbin <ilya.verbin@intel.com>
14065 Kirill Yukhin <kirill.yukhin@intel.com>
14066 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14068 * config/i386/i386-modes.def: Add V12QI, V14QI, V6HI modes.
14069 * config/i386/sse.md
14070 (define_mode_iterator VI4_128_8_256): New.
14071 (define_mode_iterator VI2_128_4_256): Ditto.
14072 (define_mode_iterator PMOV_DST_MODE): Rename into
14073 (define_mode_iterator PMOV_DST_MODE_1): this.
14074 (define_insn "*avx512f_<code><pmov_src_lower><mode>2"):
14075 Use PMOV_DST_MODE_1 mode iterator.
14076 (define_insn "avx512f_<code><pmov_src_lower><mode>2_mask"):
14078 (define_insn "avx512f_<code><pmov_src_lower><mode>2_mask"):
14080 (define_insn "*avx512bw_<code>v32hiv32qi2"): New.
14081 (define_insn "avx512bw_<code>v32hiv32qi2_mask"): Ditto.
14082 (define_expand "avx512bw_<code>v32hiv32qi2_store_mask"): Ditto.
14083 (define_mode_iterator PMOV_DST_MODE_2): New.
14084 (define_insn "*avx512vl_<code><ssedoublemodelower><mode>2"): Ditto.
14085 (define_insn "<avx512>_<code><ssedoublemodelower><mode>2_mask"): Ditto.
14086 (define_expand "<avx512>_<code><ssedoublemodelower><mode>2_store_mask"):
14088 (define_mode_iterator PMOV_SRC_MODE_3): Ditto.
14089 (define_mode_attr pmov_dst_3): Ditto.
14090 (define_mode_attr pmov_dst_zeroed_3): Ditto.
14091 (define_mode_attr pmov_suff_3): Ditto.
14092 (define_insn "*avx512vl_<code><mode>v<ssescalarnum>qi2"): Ditto.
14093 (define_insn "*avx512vl_<code>v2div2qi2_store"): Ditto.
14094 (define_insn "avx512vl_<code>v2div2qi2_mask"): Ditto.
14095 (define_insn "avx512vl_<code>v2div2qi2_store_mask"): Ditto.
14096 (define_insn "*avx512vl_<code><mode>v4qi2_store"): Ditto.
14097 (define_insn "avx512vl_<code><mode>v4qi2_mask"): Ditto.
14098 (define_insn "avx512vl_<code><mode>v4qi2_store_mask"): Ditto.
14099 (define_insn "*avx512vl_<code><mode>v8qi2_store"): Ditto.
14100 (define_insn "avx512vl_<code><mode>v8qi2_mask"): Ditto.
14101 (define_insn "avx512vl_<code><mode>v8qi2_store_mask"): Ditto.
14102 (define_mode_iterator PMOV_SRC_MODE_4): Ditto.
14103 (define_mode_attr pmov_dst_4): Ditto.
14104 (define_mode_attr pmov_dst_zeroed_4): Ditto.
14105 (define_mode_attr pmov_suff_4): Ditto.
14106 (define_insn "*avx512vl_<code><mode>v<ssescalarnum>hi2"): Ditto.
14107 (define_insn "*avx512vl_<code><mode>v4hi2_store"): Ditto.
14108 (define_insn "avx512vl_<code><mode>v4hi2_mask"): Ditto.
14109 (define_insn "avx512vl_<code><mode>v4hi2_store_mask"): Ditto.
14110 (define_insn "*avx512vl_<code>v2div2hi2_store"): Ditto.
14111 (define_insn "avx512vl_<code>v2div2hi2_mask"): Ditto.
14112 (define_insn "avx512vl_<code>v2div2hi2_store_mask"): Ditto.
14113 (define_insn "*avx512vl_<code>v2div2si2"): Ditto.
14114 (define_insn "*avx512vl_<code>v2div2si2_store"): Ditto.
14115 (define_insn "avx512vl_<code>v2div2si2_mask"): Ditto.
14116 (define_insn "avx512vl_<code>v2div2si2_store_mask"): Ditto.
14118 2014-08-29 Richard Biener <rguenther@suse.de>
14120 * tree-cfg.c (verify_gimple_assign_unary): Do not allow
14121 NON_LVALUE_EXPR in gimple.
14123 2014-08-29 Richard Biener <rguenther@suse.de>
14125 PR middle-end/62292
14126 * gimple-fold.c (gimple_fold_builtin_strcpy): Fix error
14127 from previous refactoring.
14128 (gimple_fold_builtin_strncpy): Likewise.
14130 2014-08-29 David Malcolm <dmalcolm@redhat.com>
14133 * function.c (assign_parm_setup_reg): Remove erroneous checked
14134 cast to rtx_insn * on result of gen_extend_insn in favor of
14135 introducing a new local rtx "pat".
14137 2014-08-29 Jan-Benedict Glaw <jbglaw@lug-owl.de>
14139 * config/mep/mep-pragma.c (mep_pragma_coprocessor_subclass): Rework
14140 to silence warning.
14141 * config/mep/mep.c (VECTOR_TYPE_P): Remove duplicate definition.
14143 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14145 * rtl.h (previous_insn): Strengthen param from rtx to rtx_insn *.
14146 (next_insn): Likewise.
14147 * emit-rtl.c (next_insn): Likewise.
14148 (previous_insn): Likewise.
14149 * config/pa/pa.c (remove_useless_addtr_insns): Strenghten locals
14150 "insn" and "next" from rtx to rtx_insn *.
14151 * config/picochip/picochip.c (picochip_reorg): Likewise for locals
14152 "insn", "insn1", "vliw_start", "prologue_end_note",
14153 "last_insn_in_packet".
14155 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14157 * shrink-wrap.h (active_insn_between): Strengthen both params from
14159 * function.c (active_insn_between): Likewise.
14161 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14163 * genattr.c (main): When writing out insn-attr.h, strengthen param
14164 of dfa_clear_single_insn_cache from rtx to rtx_insn *.
14165 * genautomata.c (output_dfa_clean_insn_cache_func): Likewise when
14166 writing out the definition of dfa_clear_single_insn_cache to the
14167 generated insn-automata.c
14169 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14171 * resource.h (clear_hashed_info_for_insn): Strengthen param from
14173 (incr_ticks_for_insn): Likewise.
14174 (init_resource_info): Likewise.
14176 * resource.c (init_resource_info): Likewise.
14177 (clear_hashed_info_for_insn): Likewise.
14178 (incr_ticks_for_insn): Likewise.
14180 * reorg.c (delete_scheduled_jump): Strengthen param "insn" from
14182 (steal_delay_list_from_target): Use methods of "seq".
14183 (try_merge_delay_insns): Use methods of "merged_insns".
14184 (update_block): Strengthen param "insn" from rtx to rtx_insn *.
14185 (reorg_redirect_jump): Likewise for param "jump".
14187 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14189 * insn-addr.h (insn_addresses_new): Strengthen param "insn" from
14191 * config/s390/s390.c (s390_split_branches): Eliminate top-level
14192 local rtx "tmp", in favor of new local rtx "mem" and rtx_insn *
14194 (s390_mainpool_finish): In three places, split out a local rtx
14195 "insn" into a local rtx - "set" or "pat" - and a rtx_insn *
14196 "insn". Strengthen local "pool_end" from rtx to rtx_code_label *
14197 and split another local rtx "insn" out into rtx "pat" and
14199 * config/sh/sh.c (output_branchy_insn): Rather than working
14200 directly on operands[9], introduce local rtx_code_label *
14201 variables named "lab" in two places, working on them, and then
14202 assigning them to operands[9], so that the intervening operations
14203 are known by the type system to be on insns.
14205 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14207 * rtl.h (INSN_HAS_LOCATION): Strengthen param from const_rtx to
14210 * print-rtl.c (print_rtx): Add checked cast to const rtx_insn *
14211 in invocation of INSN_HAS_LOCATION.
14213 2014-08-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
14215 * config/rs6000/altivec.h (vec_xl): New #define.
14216 (vec_xst): Likewise.
14217 * config/rs6000/rs6000-builtin.def (XXSPLTD_V2DF): New built-in.
14218 (XXSPLTD_V2DI): Likewise.
14219 (DIV_V2DI): Likewise.
14220 (UDIV_V2DI): Likewise.
14221 (MUL_V2DI): Likewise.
14222 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
14223 entries for VSX_BUILTIN_XVRDPI, VSX_BUILTIN_DIV_V2DI,
14224 VSX_BUILTIN_UDIV_V2DI, VSX_BUILTIN_MUL_V2DI,
14225 VSX_BUILTIN_XXSPLTD_V2DF, and VSX_BUILTIN_XXSPLTD_V2DI).
14226 * config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTD): New unspec.
14227 (UNSPEC_VSX_DIVSD): Likewise.
14228 (UNSPEC_VSX_DIVUD): Likewise.
14229 (UNSPEC_VSX_MULSD): Likewise.
14230 (vsx_mul_v2di): New insn-and-split.
14231 (vsx_div_v2di): Likewise.
14232 (vsx_udiv_v2di): Likewise.
14233 (vsx_xxspltd_<mode>): New insn.
14235 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14237 * rtl.h (RTX_PREV): Added checked casts to uses of PREV_INSN and
14239 (PREV_INSN): Strengthen param from const_rtx to const rtx_insn *.
14240 (NEXT_INSN): Likewise.
14241 (JUMP_LABEL_AS_INSN): Add a "const" modifier to param.
14242 (reg_used_between_p): Strengthen params 2 and 3 from const_rtx to
14244 (no_labels_between_p): Likewise for both params.
14246 * config/aarch64/aarch64.c (aarch64_output_casesi): Add a checked
14247 cast when using NEXT_INSN on operands[2].
14248 * config/alpha/alpha.c (alpha_set_memflags): Strengthen local
14249 "insn" from rtx to rtx_insn *, adding a checked cast.
14250 (alpha_handle_trap_shadows): Strengthen locals "i", "n" from rtx to
14252 * config/arc/arc-protos.h (arc_ccfsm_record_condition): Likewise
14254 (arc_text_label): Likewise for param "insn".
14255 * config/arc/arc.c (arc_expand_epilogue): Likewise for local
14257 (arc_ccfsm_record_condition): Likewise for param "jump".
14258 (arc_text_label): Likewise for local "label".
14259 * config/arc/arc.md (doloop_begin_i): Likewise for local "scan".
14260 Introduce a local "seq" via a dyn_cast to rtx_sequence *, and use
14261 a method for typesafety. Add a checked cast.
14262 * config/arc/constraints.md (Clb): Add a checked cast when getting
14263 the CODE_LABEL from a LABEL_REF.
14264 * config/arm/arm.c (require_pic_register): Strengthen locals
14265 "seq", "insn" from rtx to rtx_insn *.
14266 (create_fix_barrier): Likewise for locals "selected", "next".
14267 (thumb1_reorg): Likewise for locals "prev", "insn".
14268 (arm_expand_prologue): Likewise for local "last".
14269 (thumb1_output_casesi): Add a checked cast when using NEXT_INSN on
14271 (thumb2_output_casesi): Likewise for operands[2].
14272 * config/avr/avr-log.c (avr_log_vadump): Within 'L' case,
14273 strengthen local "insn" from rtx to rtx_insn *.
14274 * config/bfin/bfin.c (find_next_insn_start): Likewise for return
14275 type and param "insn".
14276 (find_prev_insn_start): Likewise.
14277 (hwloop_optimize): Likewise for locals "insn", "last_insn",
14279 (gen_one_bundle): Likewise for loal "t".
14280 (find_load): Likewise for param "insn".
14281 (workaround_speculation): Likewise for locals "insn", "next",
14282 "target", "next_tgt".
14283 * config/c6x/c6x.c (assign_reservations): Likewise for both params
14284 and for locals "insn", "within", "last".
14285 (count_unit_reqs): Likewise for params "head", "tail" and local
14287 (try_rename_operands): Likewise for params "head", "tail".
14288 (reshuffle_units): Likewise for locals "head", "tail", "insn".
14289 (struct c6x_sched_context): Likewise for fields
14290 "last_scheduled_insn", "last_scheduled_iter0".
14291 (init_sched_state): Replace NULL_RTX with NULL.
14292 (reorg_split_calls): Strengthen local "new_cycle_first" from rtx
14294 (undo_split_delayed_nonbranch): Likewise for param and for local
14296 (conditionalize_after_sched): Likewise for local "insn".
14297 (bb_earliest_end_cycle): Likewise.
14298 (filter_insns_above): Likewise for locals "insn", "next".
14299 (hwloop_optimize): Remove redundant checked cast.
14300 (hwloop_fail): Strengthen local "t" from rtx to rtx_insn *.
14301 * config/cris/cris.c (cris_initial_frame_pointer_offset): Replace
14302 NULL_RTX with NULL.
14303 (cris_simple_epilogue): Likewise.
14304 (cris_expand_prologue): Likewise.
14305 (cris_expand_epilogue): Likewise.
14306 * config/frv/frv.c (frv_function_contains_far_jump): Strengthen
14307 local "insn" from rtx to rtx_insn *.
14308 (frv_ifcvt_modify_tests): Likewise for locals "last_insn", "insn".
14309 (struct frv_packet_group): Likewise for the elements within array
14310 fields "insns", "sorted", and for field "nop".
14311 (frv_packet): Likewise for the elements within array field
14313 (frv_add_insn_to_packet): Likewise for param "insn".
14314 (frv_insert_nop_in_packet): Likewise for param "insn" and local
14316 (frv_for_each_packet): Likewise for locals "insn", "next_insn".
14317 (frv_sort_insn_group_1): Likewise for local "insn".
14318 (frv_optimize_membar_local): Likewise.
14319 (frv_align_label): Likewise for locals "x", "last", "barrier",
14321 * config/ia64/ia64.c (last_scheduled_insn): Likewise for this
14323 (ia64_sched_init): Likewise for local "insn".
14324 (scheduled_good_insn): Likewise for param "last".
14325 (struct _ia64_sched_context): Likewise for field
14326 "last_scheduled_insn".
14327 (ia64_init_sched_context): Replace NULL_RTX with NULL.
14328 (struct bundle_state): Likewise for field "insn".
14329 (issue_nops_and_insn): Likewise for param "insn".
14330 (get_next_important_insn): Likewise for return type and both
14332 (ia64_add_bundle_selector_before): Likewise for param "insn".
14333 (bundling): Likewise for params "prev_head_insn", "tail" and
14334 locals "insn", "next_insn", "b". Eliminate top-level local rtx
14335 "nop" in favor of new locals rtx "nop_pat" and rtx_insn *nop;
14336 * config/iq2000/iq2000-protos.h (iq2000_fill_delay_slot):
14337 Strengthen final param from rtx to rtx_insn *.
14338 (iq2000_move_1word): Likewise for second param.
14339 * config/iq2000/iq2000.c (iq2000_fill_delay_slot): Likewise for
14340 param "cur_insn" and local "next_insn".
14341 (iq2000_move_1word): Likewise for param "insn".
14342 * config/iq2000/iq2000.md (insn before ADDR_DIFF_VEC): Add checked
14343 casts when using NEXT_INSN on operands[1].
14344 * config/m32c/m32c.c (m32c_function_needs_enter): Strengthen local
14345 "insn" from rtx to rtx_insn *.
14346 * config/m68k/m68k.c (m68k_jump_table_ref_p): Split out uses of
14347 "x", introducing local rtx_insn * "insn" for when working with the
14348 CODE_LABEL of the LABEL_REF.
14349 (m68k_sched_md_init_global): Strengthen local "insn" from rtx to
14351 * config/mcore/mcore-protos.h (mcore_is_dead): Likewise for first
14353 * config/mcore/mcore.c (emit_new_cond_insn): Likewise for return
14355 (conditionalize_block): Likewise for return type and param.
14356 (mcore_is_dead): Likewise for param "first" and local "insn".
14357 (emit_new_cond_insn): Likewise for return type.
14358 (conditionalize_block): Likewise for return type, param, and
14359 locals "insn", "blk_1_br", "end_blk_2_insn", "start_blk_3_lab",
14361 (conditionalize_optimization): Likewise for local "insn".
14362 * config/mep/mep.c (mep_jmp_return_reorg): Add checked cast when
14364 * config/microblaze/microblaze.md: Add checked casts when using
14366 * config/mips/mips.c (mips_expand_prologue): Eliminate top-level
14367 rtx "insn" in favor of various more tightly-scoped rtx "insn" and
14368 and rtx_insn * "insn".
14369 * config/mips/mips.md (casesi_internal_mips16_<mode>): Add a
14370 checked cast when using NEXT_INSN on operands[2].
14371 * config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Strengthen
14372 local "insn" from rtx to rtx_insn *.
14373 * config/nds32/nds32-fp-as-gp.c (nds32_fp_as_gp_check_available):
14375 * config/nds32/nds32-md-auxiliary.c (nds32_output_casesi_pc_relative):
14376 Add a checked cast when using NEXT_INSN on operands[1].
14377 * config/pa/pa-protos.h (pa_following_call): Strengthen param from
14379 (pa_output_cbranch): Likewise for final param.
14380 (pa_output_lbranch): Likewise for second param.
14381 (pa_output_bb): Likewise for third param.
14382 (pa_output_bvb): Likewise.
14383 (pa_output_dbra): Likewise for second param.
14384 (pa_output_movb): Likewise.
14385 (pa_output_parallel_movb): Likewise.
14386 (pa_output_parallel_addb): Likewise.
14387 (pa_output_millicode_call): Likewise for first param.
14388 (pa_output_mul_insn): Likewise for second param.
14389 (pa_output_div_insn): Likewise for third param.
14390 (pa_output_mod_insn): Likewise for second param.
14391 (pa_jump_in_call_delay): Likewise for param.
14392 * config/pa/pa.c (pa_output_mul_insn): Likewise for param "insn".
14393 (pa_output_div_insn): Likewise.
14394 (pa_output_mod_insn): Likewise.
14395 (pa_output_cbranch): Likewise.
14396 (pa_output_lbranch): Likewise.
14397 (pa_output_bb): Likewise.
14398 (pa_output_bvb): Likewise.
14399 (pa_output_dbra): Likewise.
14400 (pa_output_movb): Likewise.
14401 (pa_output_millicode_call): Likewise; use method of rtx_sequence *
14402 to simplify and for typesafety.
14403 (pa_output_call): Use method of rtx_sequence *.
14404 (forward_branch_p): Strengthen param "insn" from rtx to rtx_insn *.
14405 (pa_jump_in_call_delay): Likewise.
14406 (pa_output_parallel_movb): Likewise.
14407 (pa_output_parallel_addb): Likewise.
14408 (pa_following_call): Likewise.
14409 (pa_combine_instructions): Likewise for locals "anchor",
14411 (pa_can_combine_p): Likewise for params "anchor", "floater" and
14412 locals "start", "end".
14413 * config/picochip/picochip.c (picochip_reset_vliw): Likewise for
14414 param "insn" and local "local_insn".
14415 (picochip_final_prescan_insn): Likewise for local "local_insn".
14416 * config/rs6000/rs6000.c (compute_save_world_info): Likewise for
14418 (uses_TOC): Likewise.
14419 * config/s390/s390.c (get_some_local_dynamic_name): Likewise.
14420 (s390_mainpool_finish): Eliminate top-level local rtx "insn",
14421 splitting out to more tightly-scoped locals, 3 as rtx and one as
14423 (s390_optimize_nonescaping_tx): Strengthen local "tmp" from rtx
14425 (s390_emit_prologue): Introduce a local "insn" to be an rtx_insn *
14427 * config/sh/sh-protos.h (barrier_align): Strenghten param from rtx
14429 (fixup_addr_diff_vecs): Likewise.
14430 (reg_unused_after): Likewise for param 2.
14431 (sh_can_redirect_branch): Likewise for both params.
14432 (check_use_sfunc_addr): Likewise for param 1.
14433 * config/sh/sh.c (fixup_mova): Likewise for local "worker".
14434 (find_barrier): Likewise for local "last_got".
14435 (gen_block_redirect): Likewise for return type, param "jump" and
14436 locals "prev", "scan", "next", "insn".
14437 (struct far_branch): Likewise for fields "near_label",
14438 "insert_place", "far_label".
14439 (gen_far_branch): Likewise for local "jump".
14440 (fixup_addr_diff_vecs): Likewise for param "first" and locals
14442 (barrier_align): Likewise for param and for locals "prev", "x".
14443 Introduce local rtx_sequence * "prev_seq" and use insn method for
14444 typesafety and clarity.
14445 (sh_reorg): Strengthen local "scan" from rtx to rtx_insn *.
14446 (get_dest_uid): Likewise for local "dest".
14447 (split_branches): Likewise for locals "next", "beyond", "label",
14448 "block", "far_label". Add checked casts when assigning to
14449 bp->far_label and "far_label".
14450 (reg_unused_after): Strengthen param "scan" from rtx to rtx_insn *.
14451 (sequence_insn_p): Likewise.
14452 (mark_constant_pool_use): Likewise for locals "insn", "lab". Add a
14453 more loop-scoped rtx "insn" when walking LABEL_REFS.
14454 (sh_can_redirect_branch): Strengthen both params from rtx to
14456 (check_use_sfunc_addr): Likewise for param "insn". Introduce a
14457 new local rtx_sequence * "seq" via a dyn_cast, and use a method
14458 for clarity and typesafety.
14459 * config/sh/sh.md (define_expand "epilogue"): Strengthen local
14460 "insn" from rtx to rtx_insn *.
14461 (define_insn "casesi_worker_1"): Add a checked cast to rtx_insn *
14462 when using NEXT_INSN on the CODE_LABEL in operands[2].
14463 (define_insn "casesi_worker_2"): Likewise.
14464 (define_insn "casesi_shift_media"): Likewise.
14465 (define_insn "casesi_load_media"): Likewise for the CODE_LABEL in
14467 * config/sh/sh_optimize_sett_clrt.cc (struct ccreg_value):
14468 Strengthen field "insn" from rtx to rtx_insn *.
14469 (sh_optimize_sett_clrt::execute): Likewise for locals "next_i", "i".
14470 (sh_optimize_sett_clrt::find_last_ccreg_values): Likewise for
14471 param "start_insn" and local "start_insn".
14472 * config/sh/sh_treg_combine.cc (struct set_of_reg): Likewise for
14474 (find_set_of_reg_bb): Likewise for param "insn".
14475 (trace_reg_uses_1): Likewise for param "start_insn" and local "i".
14476 (trace_reg_uses): Likewise for param "start_insn".
14477 (sh_treg_combine::cbranch_trace): Likewise for field
14479 (sh_treg_combine::cbranch_trace::cbranch_trace): Likewise for
14481 (sh_treg_combine::record_set_of_reg): Likewise for param
14482 "start_insn" and local "i".
14483 (sh_treg_combine::can_remove_cstore): Likewise for local
14485 (sh_treg_combine::try_optimize_cbranch): Likewise for param
14487 (sh_treg_combine::execute): Likewise for local "i".
14488 * config/sparc/sparc-protos.h (empty_delay_slot): Likewise for
14490 (sparc_check_64): Likewise for second param.
14491 * config/sparc/sparc.c (sparc_do_work_around_errata): Likewise for
14492 locals "insn", "next". Introduce local rtx_sequence * "seq" via a
14493 dyn_cast, using its insn method for typesafety and clarity.
14494 (empty_delay_slot): Strengthen param "insn" from rtx to
14496 (set_extends): Likewise.
14497 (sparc_check_64): Likewise.
14498 * config/stormy16/stormy16.c (xstormy16_split_cbranch): Likewise
14499 for locals "seq", "last_insn".
14500 (combine_bnp): Likewise for param "insn".
14501 (xstormy16_reorg): Likewise for local "insn".
14502 * config/v850/v850.c (substitute_ep_register): Likewise for params
14503 "first_insn", "last_insn" and local "insn".
14504 (v850_reorg): Likewise for fields "first_insn", "last_insn" within
14505 elements of "regs" array, and local "insn".
14506 * except.c (emit_note_eh_region_end): Likewise for param "insn".
14507 * final.c (final_sequence): Strengthen this global from rtx to
14509 (shorten_branches): Strenthen locals "rel_lab", "prev" from rtx to
14511 (final_scan_insn): Update assignment to "final_sequence" to be
14512 from "seq", the cast version of "body", for type-safety.
14513 * function.c (assign_parm_setup_reg): Strengthen locals "insn",
14514 "insns" from rtx to rtx_insn *.
14515 (thread_prologue_and_epilogue_insns): Likewise for local "seq".
14516 * genattr.c (main): When writing out generated insn-attr.h,
14517 strengthen params 1 and 3 of eligible_for_delay,
14518 eligible_for_annul_true, eligible_for_annul_false from rtx to
14520 * genattrtab.c (write_eligible_delay): Likewise when writing out
14521 generated insn-attrtab.c; also local "insn" the generated
14523 * hw-doloop.c (discover_loops): Strengthen local "insn" from rtx
14525 * hw-doloop.h (struct GTY hwloop_info_d): Strengthen field
14526 "start_label" from rtx to rtx_insn *.
14527 * ira.c (decrease_live_ranges_number): Likewise for local "p".
14528 (ira_update_equiv_info_by_shuffle_insn): Likewise for param
14529 "insns" and local "insn".
14530 (validate_equiv_mem): Likewise for param "start" and local "insn".
14531 (memref_used_between_p): Likewise for params "start", "end" and
14533 * ira.h (ira_update_equiv_info_by_shuffle_insn): Likewise for
14535 * loop-doloop.c (doloop_optimize): Within region guarded by
14536 INSN_P (doloop_pat), introduce a new local rtx_insn *
14537 "doloop_insn" via a checked cast, and use it for typesafety,
14538 eventually writing the value back into doloop_pat.
14539 * output.h (final_sequence): Strengthen this global from rtx to
14541 * recog.c (peep2_attempt): Rename param "insn" to "uncast_insn",
14542 reintroducing "insn" as an rtx_insn * via a checked cast.
14543 Strengthen param "attempt" and local "new_insn"from rtx to
14545 (peephole2_optimize): Strengthen locals "insn", "attempt" from rtx
14547 * ree.c (emit_note_eh_region_end): Likewise for local "insn".
14548 * reload1.c (reload_as_needed): Eliminate top-level locals "x" and
14549 "p" in favor of more tightly-scoped replacements, sometimes rtx
14550 and sometimes rtx_insn *, as appropriate.
14551 (delete_output_reload): Eliminate top-level rtx "i1", splitting
14552 into two loop-scoped locals, one an rtx, the other an rtx_insn *.
14553 * reorg.c (delete_scheduled_jump): Add checked cast. Strengthen
14554 local "trial" from rtx to rtx_insn *.
14555 (redirect_with_delay_slots_safe_p): Strengthen param "jump" from
14556 rtx to rtx_insn *. Strenghten local "pat" from rtx to
14557 rtx_sequence * and use methods for clarity and typesafety.
14558 (redirect_with_delay_list_safe_p): Strengthen param "jump" from
14559 rtx to rtx_insn *. Strenghten local "li" from rtx to
14560 rtx_insn_list * and use its methods for clarity and typesafety.
14561 (steal_delay_list_from_target): Strengthen param "insn" from rtx
14563 (steal_delay_list_from_fallthrough): Likewise.
14564 (try_merge_delay_insns): Likewise for param "thread" and locals
14565 "trial", "next_trial", "delay_insn".
14566 (redundant_insn): Likewise for param "target" and local "trial".
14567 (own_thread_p): Likewise for param "thread" and locals
14568 "active_insn", "insn".
14569 (get_label_before): Likewise for param "insn".
14570 (fill_simple_delay_slots): Likewise for local "new_label"; use
14571 JUMP_LABEL_AS_INSN as necessary when calling own_thread_p.
14572 (label_before_next_insn): Strengthen return type and local "insn"
14573 from rtx to rtx_insn *.
14574 (relax_delay_slots): Likewise for locals "other", "tmp".
14575 (make_return_insns): Likewise for param "first" and locals "insn",
14576 "jump_insn", "prev". Move declaration of "pat" to its assignment
14577 and strengthen from rtx to rtx_sequence *. Use its methods for
14578 clarity and typesafety.
14579 * rtlanal.c (no_labels_between_p): Strengthen params from
14580 const_rtx to const rtx_insn *. Strengthen local "p" from rtx to
14582 (reg_used_between_p): Strengthen params "from_insn", "to_insn"
14583 from const_rtx to const rtx_insn *.
14584 (reg_set_between_p): Rename param "from_insn" to
14585 "uncast_from_insn", and reintroduce "from_insn" as a
14586 const rtx_insn * via a checked cast.
14587 (modified_between_p): Likewise for param "start" as "uncast_start".
14588 (tablejump_p): Add a cast when invoking NEXT_INSN on "label".
14589 * sel-sched-ir.c (get_seqno_by_preds): Strengthen param and locals
14590 "tmp", head" from rtx to rtx_insn *.
14591 (recompute_rev_top_order): Likewise for local "insn".
14592 * sel-sched-ir.h (get_seqno_by_preds): Likewise for param.
14593 * store-motion.c (build_store_vectors): Likewise for local "insn".
14594 Strengthen local "st" from rtx to rtx_insn_list * and use methods
14595 for clarity and typesafety.
14596 * tree-ssa-loop-ivopts.c (seq_cost): Strengthen param "seq" from
14598 (computation_cost): Likewise for local "seq".
14599 (get_address_cost): Likewise.
14601 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14603 * rtl.h (tablejump_p): Strengthen first param from const_rtx to
14605 (label_is_jump_target_p): Likewise for second param.
14607 * rtlanal.c (tablejump_p): Likewise for param "insn".
14608 (label_is_jump_target_p): Likewise for param "jump_insn".
14610 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14612 * rtl.h (find_first_parameter_load): Strengthen return type and
14613 both params from rtx to rtx_insn *.
14614 * rtlanal.c (find_first_parameter_load): Strengthen return type,
14615 both params and locals "before", "first_set" from rtx to
14616 rtx_insn *. Remove now-redundant cast.
14617 * except.c (sjlj_mark_call_sites): Use NULL rather than NULL_RTX.
14619 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14621 * rtl.h (find_last_value): Delete.
14622 * rtlanal.c (find_last_value): Delete.
14624 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14626 * cfgexpand.c (pass_expand::execute): Strengthen local "after"
14627 from rtx to rtx_insn *.
14628 * cfgrtl.c (force_nonfallthru_and_redirect): Replace use of local
14629 rtx "note" with new local rtx_insn * "new_head" when calculating
14630 head insn of new basic block.
14631 * combine.c (combine_split_insns): Strengthen return type and local
14632 "ret" from rtx to rtx_insn *.
14633 (likely_spilled_retval_p): Likewise for locals "use" and "p".
14634 (try_combine): Eliminate local "m_split", splitting into new
14635 locals "m_split_insn" and "m_split_pat".
14636 (find_split_point): Strengthen local "seq" from rtx into
14638 * config/spu/spu.c (spu_machine_dependent_reorg): Likewise for
14639 locals "label", "branch".
14640 * config/spu/spu.md (define_expand "smulsi3_highpart"): Likewise
14642 (define_expand "umulsi3_highpart"): Likewise for local "insn".
14643 * dse.c (note_add_store_info): Likewise for fields "first",
14645 (note_add_store): Likewise for local "insn".
14646 (emit_inc_dec_insn_before): Likewise for locals "insn",
14648 (find_shift_sequence): Likewise for locals "shift_seq", "insn".
14649 (replace_read): Likewise for locals "insns", "this_insn".
14650 * dwarf2cfi.c (dw_trace_info): Likewise for field "eh_head".
14651 (notice_eh_throw): Likewise for param "insn".
14652 (before_next_cfi_note): Likewise for return type, param, and local
14654 (connect_traces): Likewise for local "note".
14655 * emit-rtl.c (reset_all_used_flags): Likewise for local "p".
14656 (verify_rtl_sharing): Likewise.
14657 (unshare_all_rtl_in_chain): Likewise for param "insn".
14658 (get_first_nonnote_insn): Likewise for local "insn".
14659 (get_last_nonnote_insn): Likewise. Introduce local rtx_sequence *
14660 "seq" and use its methods to clarify things.
14661 (next_insn): Strengthen return type from rtx to rtx_insn *.
14662 Rename param "insn" to "uncast_insn" and reintroduce "insn" as a
14663 local rtx_insn * using a checked cast, dropping a checked cast
14664 made redundant by this change. Use a cast to and method of
14665 rtx_sequence to clarify the code.
14666 (previous_insn): Rename param "insn" to "uncast_insn" and
14667 reintroduce "insn" as a local rtx_insn * using a checked cast,
14668 dropping a checked cast made redundant by this change. Use a cast
14669 to and method of rtx_sequence to clarify the code.
14670 (next_nonnote_insn): Rename param "insn" to "uncast_insn" and
14671 reintroduce "insn" as a local rtx_insn * using a checked cast,
14672 dropping a checked cast made redundant by this change.
14673 (next_nonnote_insn_bb): Likewise.
14674 (prev_nonnote_insn): Likewise.
14675 (prev_nonnote_insn_bb): Likewise.
14676 (next_nondebug_insn): Likewise.
14677 (prev_nondebug_insn): Likewise.
14678 (next_nonnote_nondebug_insn): Likewise.
14679 (prev_nonnote_nondebug_insn): Likewise.
14680 (next_real_insn): Likewise.
14681 (prev_real_insn): Likewise.
14682 (next_active_insn): Likewise.
14683 (prev_active_insn): Likewise.
14684 (next_cc0_user): Likewise. Use rtx_sequence and a method for
14686 (prev_cc0_setter): Likewise.
14687 (try_split): Rename param "trial" to "uncast_trial" and
14688 reintroduce "insn" as a local rtx_insn * using a checked cast,
14689 dropping checked casts made redundant by this change.
14690 Strengthen locals "seq", "tem", "insn_last", "insn", "next" from
14692 (remove_insn): Rename param "insn" to "uncast_insn" and
14693 reintroduce "insn" as a local rtx_insn * using a checked cast.
14694 (emit_pattern_after_setloc): Likewise for param "after", as
14696 (emit_pattern_after): Likewise. Strengthen local "prev" from
14698 (emit_pattern_before_setloc): Rename param "before" to
14699 "uncast_before" and reintroduce "before" as a local rtx_insn *
14700 using a checked cast. Strengthen locals "first", "last" from
14702 (emit_pattern_before): Likewise rename/cast param "before" to
14703 "uncast_before". Strengthen local "next" from rtx to rtx_insn *.
14704 * except.c (copy_reg_eh_region_note_forward): Strengthen param
14705 "first" and local "insn" from rtx to rtx_insn *.
14706 (copy_reg_eh_region_note_backward): Likewise for param "last"
14708 * expr.c (fixup_args_size_notes): Rename param "last" to
14709 "uncast_last" and reintroduce "last" as a local rtx_insn *
14710 using a checked cast. Strengthen local "insn" from rtx to
14712 * function.c (set_insn_locations): Strengthen param "insn" from
14714 (record_insns): Likewise for param "insns" and local "tmp".
14715 (active_insn_between): Rename param "tail" to
14716 "uncast_tail" and reintroduce "tail" as a local rtx_insn *
14717 using a checked cast.
14718 (thread_prologue_and_epilogue_insns): Split out top-level local
14719 rtx "seq" into three different rtx_insn * locals. Strengthen
14720 local "prologue_seq" from rtx to rtx_insn *.
14721 * gcse.c (insert_insn_end_basic_block): Strenghen local "insn"
14722 from rtx to rtx_insn *.
14723 * haifa-sched.c (initiate_bb_reg_pressure_info): Likewise.
14724 (priority): Likewise for locals "prev_first", "twin".
14725 (setup_insn_max_reg_pressure): Likewise for param "after".
14726 (sched_setup_bb_reg_pressure_info): Likewise.
14727 (no_real_insns_p): Strengthen params from const_rtx to
14729 (schedule_block): Strengthen local "next_tail" from rtx to
14731 * ifcvt.c (find_active_insn_before): Strengthen return type and
14732 param "insn" from rtx to rtx_insn *.
14733 (find_active_insn_after): Likewise.
14734 (cond_exec_process_insns): Likewise for param "start" and local "insn".
14735 (cond_exec_process_if_block): Likewise for locals "then_start",
14736 "then_end", "else_start", "else_end", "insn", "start", "end", "from".
14737 (noce_process_if_block): Likewise for local "jump".
14738 (merge_if_block): Likewise for two locals named "end".
14739 (cond_exec_find_if_block): Likewise for local "last_insn".
14740 * jump.c (delete_related_insns): Rename param "insn" to
14741 "uncast_insn" and reintroduce "insn" as a local rtx_insn * using a
14742 checked cast. Strengthen local "p" from rtx to rtx_insn *.
14743 * lra-constraints.c (inherit_reload_reg): Replace NULL_RTX with
14745 (split_reg): Likewise.
14746 * lra.c (lra_process_new_insns): Likewise.
14747 * modulo-sched.c (permute_partial_schedule): Strengthen param
14748 "last" from rtx to rtx_insn *.
14749 * optabs.c (add_equal_note): Likewise for param "insns" and local
14751 (expand_binop_directly): Add checked casts to rtx_insn * within
14752 NEXT_INSN (pat) uses.
14753 (expand_unop_direct): Likewise.
14754 (maybe_emit_unop_insn): Likewise.
14755 * recog.c (peep2_attempt): Strengthen locals "last",
14756 "before_try", "x" from rtx to rtx_insn *.
14757 * reorg.c (optimize_skip): Strengthen return type and local
14758 "delay_list" from rtx to rtx_insn_list *. Strengthen param "insn"
14759 and locals "trial", "next_trial" from rtx to rtx_insn *.
14760 * resource.c (next_insn_no_annul): Strengthen return type and
14761 param "insn" from rtx to rtx_insn *. Use a cast to and method of
14762 rtx_sequence to clarify the code.
14763 (mark_referenced_resources): Add a checked cast to rtx_insn *
14764 within PREV_INSN (x).
14765 (find_dead_or_set_registers): Strengthen return type, param
14766 "target", locals "insn", "next", "jump_insn", "this_jump_insn"
14767 from rtx to rtx_insn *. Strengthen param "jump_target" from rtx *
14769 (mark_target_live_regs): Strengthen params "insns" and "target",
14770 locals "insn", "jump_target", "start_insn", "stop_insn" from rtx
14771 to rtx_insn *. Use cast to and method of rtx_sequence to clarify
14773 * resource.h (mark_target_live_regs): Strengthen params 1 and 2
14774 from rtx to rtx_insn *.
14775 * rtl.h (copy_reg_eh_region_note_forward): Strengthen second param
14776 from rtx to rtx_insn *.
14777 (copy_reg_eh_region_note_backward): Likewise.
14778 (unshare_all_rtl_in_chain): Likewise for sole param.
14779 (dump_rtl_slim): Strengthen second and third params from const_rtx
14780 to const rtx_insn *.
14781 * sched-deps.c (sched_free_deps): Strengthen params "head" and
14782 "tail" and locals "insn", "next_tail" from rtx to rtx_insn *.
14783 * sched-ebb.c (init_ready_list): Strengthen locals "prev_head",
14784 "next_tail" from rtx to rtx_insn *.
14785 (begin_move_insn): Likewise for local "next".
14786 * sched-int.h (sched_free_deps): Likewise for first and second
14788 (no_real_insns_p): Strengthen both params from const_rtx to
14790 (sched_setup_bb_reg_pressure_info): Strengthen second params from
14792 * sched-rgn.c (init_ready_list): Likewise for locals "prev_head",
14794 * sched-vis.c (dump_rtl_slim): Strengthen params "first", "last"
14795 and locals "insn", "tail" from const_rtx to const rtx_insn *.
14796 (rtl_dump_bb_for_graph): Strengthen local "insn" from rtx to
14798 (debug_rtl_slim): Strengthen params "first" and "last" from
14799 const_rtx to const rtx_insn *.
14800 * shrink-wrap.c (try_shrink_wrapping): Strengthen param
14801 "prologue_seq" and locals "seq", "p_insn" from rtx to rtx_insn *.
14802 (convert_to_simple_return): Likewise for param "returnjump".
14803 * shrink-wrap.h (try_shrink_wrapping): Likewise for param
14805 (convert_to_simple_return): Likewise for param "returnjump".
14806 * valtrack.c (propagate_for_debug): Likewise for params
14808 * valtrack.h (propagate_for_debug): Likewise for second param.
14810 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14812 * output.h (insn_current_reference_address): Strengthen param
14813 from rtx to rtx_insn *.
14814 * final.c (insn_current_reference_address): Likewise.
14816 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14818 * basic-block.h (inside_basic_block_p): Strengthen param from
14819 const_rtx to const rtx_insn *.
14820 * cfgbuild.c (inside_basic_block_p): Likewise.
14822 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14824 * dwarf2cfi.c (dw_trace_info): Strengthen field "head" from rtx to
14826 (get_trace_info): Likewise for param "insn".
14827 (save_point_p): Likewise.
14828 (maybe_record_trace_start): Likewise for both params.
14829 (maybe_record_trace_start_abnormal): Likewise.
14830 (create_trace_edges): Likewise for sole param and for three of the
14831 locals named "lab".
14832 (scan_trace): Strengthen local "prev", "insn", "control" from rtx
14833 to rtx_insn *, and update a call to pat->element to pat->insn.
14835 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14837 * function.h (struct expr_status): Convert field "x_forced_labels"
14838 from rtx_expr_list * to rtx_insn_list *.
14840 * cfgbuild.c (make_edges): Convert local "x" from an
14841 rtx_expr_list * to an rtx_insn_list *, replacing use of
14842 "element" method with "insn" method.
14843 * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
14844 * except.c (sjlj_emit_dispatch_table): Replace use of
14845 gen_rtx_EXPR_LIST with gen_rtx_INSN_LIST when prepending to
14847 * jump.c (rebuild_jump_labels_1): Convert local "insn" from an
14848 rtx_expr_list * to an rtx_insn_list *, replacing use of
14849 "element" method with "insn" method.
14850 * reload1.c (set_initial_label_offsets): Likewise for local "x".
14851 * stmt.c (label_rtx): Strengthen local "ref" from rtx to
14852 rtx_insn *, adding a checked cast. Replace use of
14853 gen_rtx_EXPR_LIST with gen_rtx_INSN_LIST when prepending it to
14855 (expand_label): Likewise for local "label_r".
14857 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14859 * function.h (struct rtl_data): Convert field
14860 "x_nonlocal_goto_handler_labels" from rtx_expr_list * to
14862 * rtl.h (remove_node_from_insn_list): New prototype.
14864 * builtins.c (expand_builtin): When prepending to
14865 nonlocal_goto_handler_labels, use gen_rtx_INSN_LIST rather than
14867 * cfgbuild.c (make_edges): Convert local "x" from rtx_expr_list *
14868 to rtx_insn_list *, and use its "insn" method rather than
14870 * cfgrtl.c (delete_insn): Use new function
14871 remove_node_from_insn_list rather than
14872 remove_node_from_expr_list.
14873 (cfg_layout_initialize): Convert local "x" from rtx_expr_list *
14874 to rtx_insn_list *, and use its "insn" method rather than
14876 * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
14877 * reload1.c (set_initial_label_offsets): Likewise for local "x".
14878 * rtlanal.c (remove_node_from_insn_list): New function, adapted
14879 from remove_node_from_expr_list.
14880 * stmt.c (expand_label): When prepending to
14881 nonlocal_goto_handler_labels, use gen_rtx_INSN_LIST rather than
14884 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14886 * function.h (struct rtl_data): Strengthen fields "x_return_label"
14887 and "x_naked_return_label" from rtx to rtx_code_label *.
14889 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14891 * rtl.h (SET_PREV_INSN): Strengthen param from rtx to rtx_insn *.
14892 (SET_NEXT_INSN): Likewise.
14893 (gen_rtvec_v): Add an overload for param types (int, rtx_insn **).
14895 * config/c6x/c6x.c (gen_one_bundle): Strengthen param "slot" from
14896 rtx * to rtx_insn **. Introduce a new local rtx "seq", using it
14897 to split out the SEQUENCE from local "bundle", strengthening the
14898 latter from rtx to rtx_insn * to hold the insn holding the SEQUENCE.
14899 Strengthen locals "t" and "insn" from rtx to rtx_insn *.
14900 (c6x_gen_bundles): Strengthen locals "insn", "next", "last_call"
14901 and the type of the elements of the "slot" array from rtx to
14903 (reorg_split_calls): Likewise for locals "insn" and "next", and
14904 the type of the elements of the "slot" array.
14906 * config/frv/frv.c (frv_nops): Likewise for the elements of this
14908 (frv_function_prologue): Likewise for locals "insn", "next",
14910 (frv_register_nop): Introduce a local "nop_insn" to be the
14911 rtx_insn * containing rtx "nop".
14913 * config/mep/mep.c (mep_make_bundle): Param "core" is sometimes
14914 used as an insn and sometimes as a pattern, so rename it to
14915 "core_insn_or_pat", and introduce local rtx_insn * "core_insn",
14916 using it where dealing with the core insn.
14918 * config/picochip/picochip.c (reorder_var_tracking_notes):
14919 Strengthen locals "insn", "next", "last_insn", "queue",
14920 "next_queue", "prev" from rtx to rtx_insn *.
14922 * emit-rtl.c (gen_rtvec_v): Add overloaded implementation for when
14923 the second param is an rtx_insn ** rather than an rtx **.
14924 (link_insn_into_chain): Strengthen locals "seq" and "sequence"
14925 from rtx to rtx_sequence *, and introduce local named "sequence",
14926 using methods of rtx_sequence to clarify the code.
14927 (remove_insn): Introduce local rtx_sequence * named "sequence" and
14929 (emit_insn_after_1): Strengthen return type from rtx to rtx_insn *.
14930 Rename param "after" to "uncast_after", reintroducing "after" as a
14931 local rtx_insn * with a checked cast.
14932 (emit_pattern_after_noloc): Rename param "after" to "uncast_after",
14933 reintroducing "after" as a local rtx_insn * with a checked cast.
14934 Strengthen local "last" from rtx to rtx_insn * and remove the
14935 now-redundant checked casts.
14936 (copy_delay_slot_insn): Strengthen return type and param from rtx
14939 * haifa-sched.c (reemit_notes): Strengthen params "insn" and
14940 "last" from rtx to rtx_insn *.
14942 2014-08-28 David Malcolm <dmalcolm@redhat.com>
14944 * emit-rtl.h (copy_delay_slot_insn): Strengthen return type and
14945 param from rtx to rtx_insn *.
14947 * emit-rtl.c (copy_delay_slot_insn): Likewise.
14949 * reorg.c (skip_consecutive_labels): Strengthen return type, param
14950 and local "insn" from rtx to rtx_insn *.
14951 (unfilled_slots_base): Strengthen type from rtx * to rtx_insn **.
14952 (unfilled_slots_next): Likewise.
14953 (function_return_label): Strengthen from rtx to rtx_code_label *.
14954 (function_simple_return_label): Likewise.
14955 (first_active_target_insn): Strengthen return type and param from
14957 (find_end_label): Strengthen return type from rtx to
14958 rtx_code_label *; strengthen locals as appropriate.
14959 (emit_delay_sequence): Strengthen return type, param "insn" and
14960 local "seq_insn" from rtx to rtx_insn *. Strengthen param "list"
14961 and local "li" from rtx to rtx_insn_list *, using methods of
14962 rtx_insn_list for clarity and typesafety.
14963 (add_to_delay_list): Strengthen return type and param "insn" from
14964 rtx to rtx_insn *. Strengthen param "delay_list" from rtx to
14965 rtx_insn_list * and use methods of rtx_insn_list.
14966 (delete_from_delay_slot): Strengthen return type, param "insn",
14967 locals "trial", "seq_insn", "prev" from rtx to rtx_insn *.
14968 Strengthen local "seq" from rtx to rtx_sequence *, and local
14969 "delay_list" from rtx to rtx_insn_list *, using methods of
14970 rtx_sequence for clarity and type-safety.
14971 (delete_scheduled_jump): Add checked cast when invoking
14972 delete_from_delay_slot. Strengthen local "trial" from rtx to
14974 (optimize_skip): Strengthen return type and local "delay_list"
14975 from rtx to rtx_insn_list *. Strengthen local "trial" from rtx to
14977 (steal_delay_list_from_target): Strengthen return type, param
14978 "delay_list" and local "new_delay_list" from rtx to
14979 rtx_insn_list *. Strengthen param "seq" from rtx to
14980 rtx_sequence *. Strengthen param "pnew_thread" from rtx * to
14982 Split out local "temp" into multiple more-tightly scoped locals:
14983 sometimes an rtx_insn_list *, and once a rtx_insn *. Use methods
14984 of rtx_insn_list and rtx_sequence for clarity and typesafety.
14985 Strengthen locals named "trial" from rtx to rtx_insn *.
14986 (steal_delay_list_from_fallthrough): Strengthen return type and
14987 param "delay_list" from rtx to rtx_insn_list *. Strengthen param
14988 "seq" from rtx to rtx_sequence *. Use methods of rtx_sequence.
14989 Strengthen local "trial" from rtx to rtx_insn *.
14990 (try_merge_delay_insns): Strength local "merged_insns" from rtx
14991 to rtx_insn_list * and use its methods. Strengthen local "pat"
14992 from rtx to rtx_sequence * and use its methods. Strengthen locals
14993 "dtrial" and "new_rtx" from rtx to rtx_insn *.
14994 (get_label_before): Strengthen return type and local "label" from
14996 (fill_simple_delay_slots): Likewise for locals "insn", "trial",
14997 "next_trial", "next", prev". Strengthen local "delay_list" from
14998 rtx to rtx_insn_list * Strengthen local "tmp" from rtx * to
15000 (follow_jumps): Strengthen return type, param "label" and locals
15001 "insn", "next", "value", "this_label" from rtx to rtx_insn *.
15002 (fill_slots_from_thread): Strengthen return type, param
15003 "delay_list" from rtx to rtx_insn_list *. Strengthen params
15004 "insn", "thread", "opposite_thread" and locals "new_thread",
15005 "trial", "temp", "ninsn" from rtx to rtx_insn *. Introduce local
15006 "sequence" from a checked cast to rtx_sequence so that we can call
15007 steal_delay_list_from_target and steal_delay_list_from_fallthrough
15008 with an rtx_sequence *.
15009 (fill_eager_delay_slots): Strengthen locals "insn", "target_label",
15010 "insn_at_target", "fallthrough_insn" from rtx to rtx_insn *.
15011 Strengthen local "delay_list" from rtx to rtx_insn_list *.
15012 (relax_delay_slots): Strengthen param "first" and locals "insn",
15013 "next", "trial", "delay_insn", "target_label" from rtx to
15014 rtx_insn *. Strengthen local "pat" from rtx to rtx_sequence *.
15015 Introduce a local "trial_seq" for PATTERN (trial) of type
15016 rtx_sequence *, in both cases using methods of rtx_sequence.
15017 (dbr_schedule): Strengthen param "first" and locals "insn",
15018 "next", "epilogue_insn" from rtx to rtx_insn *.
15020 2014-08-28 Richard Biener <rguenther@suse.de>
15022 PR tree-optimization/62283
15023 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
15024 Do not peel loops for alignment where the vector loop likely
15025 doesn't run at least VF times.
15027 2014-08-28 Bin Cheng <bin.cheng@arm.com>
15029 * tree-ssa-loop-ivopts.c (iv_ca_add_use): Delete parameter
15030 important_candidates. Consider all important candidates if
15031 IVS doesn't give any result. Remove check on ivs->upto.
15032 (try_add_cand_for): Call iv_ca_add_use only once.
15034 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
15035 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
15036 Anna Tikhonova <anna.tikhonova@intel.com>
15037 Ilya Tocar <ilya.tocar@intel.com>
15038 Andrey Turetskiy <andrey.turetskiy@intel.com>
15039 Ilya Verbin <ilya.verbin@intel.com>
15040 Kirill Yukhin <kirill.yukhin@intel.com>
15041 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
15043 (define_mode_iterator VI12_AVX2): Add V64QI and V32HI modes.
15044 (define_expand "<sse2_avx2>_<plusminus_insn><mode>3<mask_name>"): Add
15046 (define_insn "*<sse2_avx2>_<plusminus_insn><mode>3<mask_name>"): Ditto.
15047 (define_expand "<sse2_avx2>_uavg<mode>3<mask_name>"): Ditto.
15048 (define_insn "*<sse2_avx2>_uavg<mode>3<mask_name>"): Ditto.
15049 (define_insn "*mul<mode>3"): Add EVEX version.
15051 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
15052 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
15053 Anna Tikhonova <anna.tikhonova@intel.com>
15054 Ilya Tocar <ilya.tocar@intel.com>
15055 Andrey Turetskiy <andrey.turetskiy@intel.com>
15056 Ilya Verbin <ilya.verbin@intel.com>
15057 Kirill Yukhin <kirill.yukhin@intel.com>
15058 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
15060 * config/i386/sse.md
15061 (define_insn "avx512bw_interleave_highv64qi<mask_name>"): New.
15062 (define_insn "avx2_interleave_highv32qi<mask_name>"): Add masking.
15063 (define_insn "vec_interleave_highv16qi<mask_name>"): Ditto.
15064 (define_insn "avx2_interleave_lowv32qi<mask_name>"): Ditto.
15065 (define_insn "vec_interleave_lowv16qi<mask_name>"): Ditto.
15066 (define_insn "avx2_interleave_highv16hi<mask_name>"): Ditto.
15067 (define_insn "vec_interleave_highv8hi<mask_name>"): Ditto.
15068 (define_insn "avx2_interleave_lowv16hi<mask_name>"): Ditto.
15069 (define_insn "vec_interleave_lowv8hi<mask_name>"): Ditto.
15070 (define_insn "avx2_interleave_highv8si<mask_name>"): Ditto.
15071 (define_insn "vec_interleave_highv4si<mask_name>"): Ditto.
15072 (define_insn "avx2_interleave_lowv8si<mask_name>"): Ditto.
15073 (define_insn "vec_interleave_lowv4si<mask_name>"): Ditto.
15074 (define_insn "vec_interleave_highv16qi<mask_name>"): New.
15075 (define_insn "avx512bw_interleave_highv32hi<mask_name>"): Ditto.
15076 (define_insn "<mask_codefor>avx512bw_interleave_lowv32hi<mask_name>"): Ditto.
15078 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
15079 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
15080 Anna Tikhonova <anna.tikhonova@intel.com>
15081 Ilya Tocar <ilya.tocar@intel.com>
15082 Andrey Turetskiy <andrey.turetskiy@intel.com>
15083 Ilya Verbin <ilya.verbin@intel.com>
15084 Kirill Yukhin <kirill.yukhin@intel.com>
15085 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
15087 * config/i386/sse.md
15088 (define_mode_iterator VIMAX_AVX2): Add V4TI mode.
15089 (define_insn "<sse2_avx2>_ashl<mode>3"): Add EVEX version.
15090 (define_insn "<sse2_avx2>_lshr<mode>3"): Ditto.
15092 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
15093 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
15094 Anna Tikhonova <anna.tikhonova@intel.com>
15095 Ilya Tocar <ilya.tocar@intel.com>
15096 Andrey Turetskiy <andrey.turetskiy@intel.com>
15097 Ilya Verbin <ilya.verbin@intel.com>
15098 Kirill Yukhin <kirill.yukhin@intel.com>
15099 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
15101 * config/i386/sse.md
15102 (define_mode_iterator VI128_256): New.
15103 (define_insn "<mask_codefor><code><mode>3<mask_name>"): Ditto.
15105 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
15106 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
15107 Anna Tikhonova <anna.tikhonova@intel.com>
15108 Ilya Tocar <ilya.tocar@intel.com>
15109 Andrey Turetskiy <andrey.turetskiy@intel.com>
15110 Ilya Verbin <ilya.verbin@intel.com>
15111 Kirill Yukhin <kirill.yukhin@intel.com>
15112 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
15114 * config/i386/sse.md
15115 (define_mode_iterator VI8_256_512): New.
15116 (define_insn "<mask_codefor>avx512dq_cvtps2qq<mode><mask_name><round_name>"):
15118 (define_insn "<mask_codefor>avx512dq_cvtps2qqv2di<mask_name>"): Ditto.
15119 (define_insn "<mask_codefor>avx512dq_cvtps2uqq<mode><mask_name><round_name>"):
15121 (define_insn "<mask_codefor>avx512dq_cvtps2uqqv2di<mask_name>"): Ditto.
15123 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15125 * varasm.c (compute_reloc_for_rtx_1): Take a const_rtx. Remove the
15126 pointer to the cumulative reloc value and return the value for
15127 this reloc instead.
15128 (compute_reloc_for_rtx): Take a const_rtx. Call
15129 compute_reloc_for_rtx_1 directly for SYMBOL_REF and LABEL_REF,
15130 avoiding any recursion. Use FOR_EACH_SUBRTX rather than
15131 for_each_rtx for the CONST case.
15133 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15135 * varasm.c (mark_constant): Replace this for_each_rtx callback with...
15136 (mark_constants_in_pattern): ...this new function to iterate over
15138 (mark_constants): Update accordingly.
15140 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15142 * varasm.c: Include rtl-iter.h.
15143 (const_rtx_hash_1): Take a const_rtx rather than an rtx *.
15144 Remove the pointer to the cumulative hashval_t and just return
15145 the hash for this rtx instead. Remove recursive CONST_VECTOR case.
15146 (const_rtx_hash): Use FOR_EACH_SUBRTX instead of for_each_rtx.
15147 Accumulate the hashval_ts here instead of const_rtx_hash_1.
15149 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15151 * var-tracking.c (add_uses): Take an rtx rather than an rtx *.
15152 Give real type of data parameter. Remove return value.
15153 (add_uses_1): Use FOR_EACH_SUBRTX_VAR rather than for_each_rtx
15154 to iterate over subrtxes.
15156 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15158 * var-tracking.c (use_narrower_mode_test): Turn from being a
15159 for_each_rtx callback to being a function that examines each
15161 (adjust_mems): Update accordingly.
15163 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15165 * var-tracking.c (non_suitable_const): Turn from being a for_each_rtx
15166 callback to being a function that examines each subrtx itself.
15167 Remove handling of null rtxes.
15168 (add_uses): Update accordingly.
15170 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15172 * var-tracking.c: Include rtl-iter.h.
15173 (rtx_debug_expr_p): Turn from being a for_each_rtx callback
15174 to being a function that examines each subrtx itself.
15175 (use_type): Update accordingly.
15177 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15179 * store-motion.c: Include rtl-iter.h.
15180 (extract_mentioned_regs_1): Delete.
15181 (extract_mentioned_regs): Use FOR_EACH_SUBRTX_VAR rather than
15182 for_each_rtx to iterate over subrtxes.
15184 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15186 * sel-sched.c: Include rtl-iter.h
15187 (count_occurrences_1): Delete.
15188 (count_occurrences_equiv): Turn rtxes into const_rtxes.
15189 Use FOR_EACH_SUBRTX rather than for_each_rtx.
15191 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15193 * rtl.h (tls_referenced_p): Take a const_rtx rather than an rtx.
15194 * rtlanal.c (tls_referenced_p_1): Delete.
15195 (tls_referenced_p): Take a const_rtx rather than an rtx.
15196 Use FOR_EACH_SUBRTX rather than for_each_rtx.
15198 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15200 * rtl.h (for_each_inc_dec_fn): Remove special case for -1.
15201 (for_each_inc_dec): Take an rtx rather than an rtx *.
15202 * cselib.c (cselib_record_autoinc_cb): Update accordingly.
15203 (cselib_record_sets): Likewise.
15204 * dse.c (emit_inc_dec_insn_before, check_for_inc_dec_1)
15205 (check_for_inc_dec): Likewise.
15206 * rtlanal.c (for_each_inc_dec_ops): Delete.
15207 (for_each_inc_dec_find_inc_dec): Take the MEM as argument,
15208 rather than a pointer to the memory address. Replace
15209 for_each_inc_dec_ops argument with separate function and data
15210 arguments. Abort on non-autoinc addresses.
15211 (for_each_inc_dec_find_mem): Delete.
15212 (for_each_inc_dec): Take an rtx rather than an rtx *. Use
15213 FOR_EACH_SUBRTX_VAR to visit every autoinc MEM.
15215 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15217 * rtl.h (find_all_hard_regs): Declare.
15218 * rtlanal.c (find_all_hard_regs): New function.
15219 (record_hard_reg_uses_1): Delete.
15220 (record_hard_reg_uses): Use find_all_hard_regs.
15222 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15224 * rtl.h (replace_label_data): Delete.
15225 (replace_label): Take the old label, new label and update-nuses flag
15226 as direct arguments. Return void.
15227 * cfgcleanup.c (outgoing_edges_match): Update accordingly.
15228 * rtlanal.c (replace_label): Update interface as above. Handle
15229 JUMP_TABLE_DATA as a special case. Handle JUMPs outside the
15230 iterator. Use FOR_EACH_SUBRTX_PTR.
15232 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15234 * rtl.h (get_pool_constant, rtx_referenced_p): Replace rtx parameters
15235 with const_rtx parameters.
15236 * varasm.c (get_pool_constant): Likewise.
15237 * rtlanal.c (rtx_referenced_p_1): Delete.
15238 (rtx_referenced_p): Use FOR_EACH_SUBRTX instead of for_each_rtx.
15239 Assert that the rtx we're looking for is nonnull. Allow searches
15240 for constant pool SYMBOL_REFs.
15242 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15244 * reload1.c: Include rtl-iter.h.
15245 (note_reg_elim_costly): Turn from being a for_each_rtx callback
15246 to being a function that examines each subrtx itself.
15247 (eliminate_regs_1, elimination_costs_in_insn): Update accordingly.
15249 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15251 * regcprop.c (cprop_find_used_regs_1): Delete.
15252 (cprop_find_used_regs): Use FOR_EACH_SUBRTX instead of for_each_rtx.
15254 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15256 * regcprop.c: Include rtl-iter.h.
15257 (kill_value): Take a const_rtx.
15258 (kill_autoinc_value): Turn from being a for_each_rtx callback
15259 to being a function that examines each subrtx itself.
15260 (copyprop_hardreg_forward_1): Update accordingly.
15262 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15264 * reg-stack.c: Include rtl-iter.h.
15265 (subst_stack_regs_in_debug_insn): Delete.
15266 (subst_all_stack_regs_in_debug_insn): Use FOR_EACH_SUBRTX_PTR
15267 instead of for_each_rtx.
15269 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15271 * lower-subreg.c (find_decomposable_subregs): Turn from being
15272 a for_each_rtx callback to being a function that examines each
15273 subrtx itself. Remove handling of null rtxes.
15274 (decompose_multiword_subregs): Update accordingly.
15276 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15278 * lower-subreg.c (adjust_decomposed_uses): Delete.
15279 (resolve_debug): Use FOR_EACH_SUBRTX_PTR rather than for_each_rtx.
15280 Remove handling of null rtxes.
15282 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15284 * lower-subreg.c: Include rtl-iter.h.
15285 (resolve_subreg_use): Turn from being a for_each_rtx callback
15286 to being a function that examines each subrtx itself. Remove
15287 handling of null rtxes.
15288 (resolve_reg_notes, resolve_simple_move): Update accordingly.
15289 (decompose_multiword_subregs): Likewise.
15291 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15293 * loop-iv.c (altered_reg_used): Turn from being a for_each_rtx callback
15294 to being a function that examines each subrtx itself.
15295 (simplify_using_condition, simplify_using_initial_values): Update
15298 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15300 * loop-iv.c: Include rtl-iter.h.
15301 (find_single_def_src): New function.
15302 (replace_single_def_regs): Turn from being a for_each_rtx callback
15303 to being a function that examines each subrtx itself.
15304 (replace_in_expr, simplify_using_initial_values): Update accordingly.
15306 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15308 * jump.c (eh_returnjump_p_1): Delete.
15309 (eh_returnjump_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
15310 Remove handling of null rtxes.
15312 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15314 * jump.c: Include rtl-iter.h.
15315 (returnjump_p_1): Delete.
15316 (returnjump_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
15317 Remove handling of null rtxes.
15319 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15321 * ira.c: Include rtl-iter.h.
15322 (set_paradoxical_subreg): Turn from being a for_each_rtx callback
15323 to being a function that examines each subrtx itself. Remove
15324 handling of null rtxes.
15325 (update_equiv_regs): Update call accordingly.
15327 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15329 * fwprop.c: Include rtl-iter.h.
15330 (varying_mem_p): Turn from being a for_each_rtx callback to being
15331 a function that examines each subrtx itself.
15332 (propagate_rtx): Update accordingly.
15334 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15336 * function.c: Include rtl-iter.h
15337 (instantiate_virtual_regs_in_rtx): Turn from being a for_each_rtx
15338 callback to being a function that examines each subrtx itself.
15339 Return the changed flag.
15340 (instantiate_virtual_regs_in_insn, instantiate_decl_rtl)
15341 (instantiate_virtual_regs): Update calls accordingly.
15343 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15345 * final.c: Include rtl-iter.h.
15346 (mark_symbol_ref_as_used): Delete.
15347 (mark_symbol_refs_as_used): Use FOR_EACH_SUBRTX instead of
15350 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15352 * emit-rtl.c: Include rtl-iter.h.
15353 (find_auto_inc): Turn from being a for_each_rtx callback to being
15354 a function that examines each subrtx itself. Assume the first operand
15355 to an RTX_AUTOINC is the automodified register.
15356 (try_split): Update call accordingly.
15358 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15360 * dwarf2out.c (resolve_one_addr): Remove unused data parameter.
15361 Return a bool, inverting the result so that 0/false means "not ok".
15362 Use FOR_EACH_SUBRTX_PTR instead of for_each_rtx to iterate over
15363 subrtxes of a CONST.
15364 (mem_loc_descriptor, add_const_value_attribute)
15365 (resolve_addr_in_expr): Update calls accordingly.
15367 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15369 * dwarf2out.c: Include rtl-iter.h.
15370 (const_ok_for_output_1): Take the rtx instead of a pointer to it.
15371 Remove unused data parameter. Return a bool, inverting the result
15372 so that 0/false means "not ok".
15373 (const_ok_for_output): Update accordingly. Use FOR_EACH_SUBRTX_VAR
15374 instead of for_each_rtx.
15376 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15378 * dse.c: Include rtl-iter.h.
15379 (check_mem_read_rtx): Change void * parameter to real type.
15380 Remove return value.
15381 (check_mem_read_use): Fix comment. Use FOR_EACH_SUBRTX_PTR instead of
15382 for_each_rtx. Don't handle null rtxes.
15384 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15386 * df-problems.c: Include rtl-iter.h.
15387 (find_memory): Turn from being a for_each_rtx callback to being
15388 a function that examines each subrtx itself. Continue to look for
15389 volatile references even after a nonvolatile one has been found.
15390 (can_move_insns_across): Update calls accordingly.
15392 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15394 * ddg.c (walk_mems_2, walk_mems_1): Delete.
15395 (insns_may_alias_p): Use FOR_EACH_SUBRTX rather than for_each_rtx
15396 to iterate over subrtxes. Return a bool rather than an int.
15398 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15400 * ddg.c: Include rtl-iter.h.
15401 (mark_mem_use_1): Rename to...
15402 (mark_mem_use): ...deleting old mark_mem_use. Use FOR_EACH_SUBRTX
15403 instead of for_each_rtx.
15404 (mem_read_insn_p): Update accordingly.
15406 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15408 * cse.c (change_cc_mode_args): Delete.
15409 (cse_change_cc_mode): Turn from being a for_each_rtx callback to being
15410 a function that examines each subrtx itself. Take the fields of
15411 change_cc_mode_args as argument and return void.
15412 (cse_change_cc_mode_insn): Update calls accordingly.
15414 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15416 * cse.c (is_dead_reg): Change argument to const_rtx.
15417 (dead_debug_insn_data): Delete.
15418 (is_dead_debug_insn): Expand commentary. Turn from being a
15419 for_each_rtx callback to being a function that examines
15420 each subrtx itself. Take the fields of dead_debug_insn_data
15422 (delete_trivially_dead_insns): Update call accordingly.
15424 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15426 * cse.c (check_for_label_ref): Move earlier in file. Turn from
15427 being a for_each_rtx callback to being a function that examines
15428 each subrtx itself.
15429 (cse_extended_basic_block): Update call accordingly.
15431 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15433 * cse.c (check_dependence_data): Delete.
15434 (check_dependence): Change from being a for_each_rtx callback to being
15435 a function that examines all subrtxes itself. Don't handle null rtxes.
15436 (invalidate): Update call accordingly.
15438 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15440 * cse.c: Include rtl-iter.h.
15441 (approx_reg_cost_1): Delete.
15442 (approx_reg_cost): Use FOR_EACH_SUBRTX instead of for_each_rtx.
15443 Don't handle null rtxes.
15445 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15447 * cfgcleanup.c: Include rtl-iter.h.
15448 (mentions_nonequal_regs): Turn from being a for_each_rtx callback
15449 to being a function that examines each subrtx itself.
15450 (thread_jump): Update accordingly.
15452 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15454 * combine-stack-adj.c: Include rtl-iter.h.
15455 (record_stack_refs_data): Delete.
15456 (record_stack_refs): Turn from being a for_each_rtx callback
15457 to being a function that examines each subrtx itself.
15458 Take a pointer to the reflist. Invert sense of return value
15459 so that true means success and false means failure. Don't
15461 (combine_stack_adjustments_for_block): Update accordingly.
15463 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15465 * combine.c (record_truncated_value): Turn from being a for_each_rtx
15466 callback to a function that takes an rtx and returns a bool
15467 (record_truncated_values): Use FOR_EACH_SUBRTX_VAR instead of
15470 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15472 * combine.c: Include rtl-iter.h.
15473 (unmentioned_reg_p_1): Delete.
15474 (unmentioned_reg_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
15475 Don't handle null rtxes.
15477 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15479 * calls.c: Include rtl-iter.h.
15480 (internal_arg_pointer_based_exp_1): Delete.
15481 (internal_arg_pointer_based_exp): Take a const_rtx.
15482 Use FOR_EACH_SUBRTX to iterate over subrtxes.
15484 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15486 * caller-save.c: Include rtl-iter.h.
15487 (add_used_regs_1): Delete.
15488 (add_used_regs): Use FOR_EACH_SUBRTX rather than for_each_rtx
15489 to iterate over subrtxes. Assert that any remaining pseudos
15492 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15494 * bt-load.c: Include rtl-iter.h.
15495 (btr_reference_found, find_btr_reference, btr_referenced_p): Delete.
15496 (find_btr_use): Move further up file. Use FOR_EACH_SUBRTX_PTR
15497 to iterate over subrtxes.
15498 (insn_sets_btr_p, new_btr_user, compute_defs_uses_and_gen): Use
15499 find_btr_use rather than btr_referenced_p.
15501 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15503 * alias.c: Include rtl-iter.h.
15504 (refs_newer_value_cb): Delete.
15505 (refs_newer_value_p): Use FOR_EACH_SUBRTX instead of for_each_rtx.
15507 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
15509 * rtl-iter.h: New file.
15510 * rtlanal.c: Include it.
15511 (rtx_all_subrtx_bounds, rtx_nonconst_subrtx_bounds): New variables.
15512 (generic_subrtx_iterator <T>::add_single_to_queue)
15513 (generic_subrtx_iterator <T>::add_subrtxes_to_queue)
15514 (generic_subrtx_iterator <T>::free_array): New functions.
15515 (generic_subrtx_iterator <T>::LOCAL_ELEMS): Define.
15516 (generic_subrtx_iterator <const_rtx_accessor>)
15517 (generic_subrtx_iterator <rtx_var_accessor>
15518 (generic_subrtx_iterator <rtx_ptr_accessor>): Instantiate.
15519 (setup_reg_subrtx_bounds): New function.
15520 (init_rtlanal): Call it.
15522 2014-08-27 Kaz Kojima <kkojima@gcc.gnu.org>
15525 * config/sh/sh.md (ashlsi3): Handle negative shift count for
15527 (ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
15529 2014-08-27 Richard Sandiford <rdsandiford@googlemail.com>
15531 * emit-rtl.c (set_unique_reg_note): Discard notes with side effects.
15533 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15535 * rtl.h (JUMP_LABEL_AS_INSN): New.
15537 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15539 * rtl.h (free_EXPR_LIST_list): Strengthen param from rtx * to
15541 (alloc_EXPR_LIST): Strengthen return type from rtx to
15543 (remove_free_EXPR_LIST_node): Likewise for param.
15544 * reload.h (struct reg_equivs_t): Strengthen field "alt_mem_list"
15545 from rtx to rtx_expr_list *.
15546 * sched-int.h (struct deps_desc): Strengthen fields
15547 "pending_read_mems" and "pending_write_mems" from rtx to
15550 * dwarf2out.c (decl_piece_varloc_ptr): Strengthen return type from
15551 rtx to rtx_expr_list *.
15552 * lists.c (alloc_INSN_LIST): Likewise, also for local "r".
15553 (free_EXPR_LIST_list): Strengthen param "listp" from rtx * to
15555 (remove_free_EXPR_LIST_node): Likewise. Strengthen local "node"
15556 from rtx to rtx_expr_list *.
15557 * loop-iv.c (simplify_using_initial_values): Strengthen local
15558 "cond_list" from rtx to rtx_expr_list *, and locals "pnode",
15559 "pnote_next" from rtx * to rtx_expr_list **.
15560 * sched-deps.c (remove_from_both_dependence_lists): Strengthen
15561 param "exprp" from rtx * to rtx_expr_list **.
15562 (add_insn_mem_dependence): Strengthen local "mem_list" from
15563 rtx * to rtx_expr_list **. Strengthen local "mem_node" from rtx
15564 to rtx_expr_list *.
15565 * sched-rgn.c (concat_insn_mem_list): Strengthen param "copy_mems"
15566 and local "new_mems" from rtx to rtx_expr_list *. Strengthen
15567 param "old_mems_p" from rtx * to rtx_expr_list **.
15568 * var-tracking.c (struct adjust_mem_data): Strengthen field
15569 "side_effects" from rtx to rtx_expr_list *.
15570 (adjust_insn): Replace NULL_RTX with NULL when assigning to
15572 (prepare_call_arguments): Likewise.
15574 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15576 * function.h (struct rtl_data): Strengthen field
15577 "x_stack_slot_list" from rtx to rtx_expr_list *.
15579 * emit-rtl.c (unshare_all_rtl_1): Add a checked cast
15580 when assigning to stack_slot_list.
15582 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15584 * function.h (struct rtl_data): Strengthen field
15585 x_nonlocal_goto_handler_labels from rtx to rtx_expr_list *.
15586 * rtl.h (remove_node_from_expr_list): Strengthen second param from
15587 rtx * to rtx_expr_list **.
15589 * cfgbuild.c (make_edges): In loop over
15590 nonlocal_goto_handler_labels, strengthen local "x" from rtx to
15591 rtx_expr_list *, and use methods of the latter class to clarify
15593 * cfgrtl.c (cfg_layout_initialize): Strengthen local "x" from rtx to
15594 rtx_expr_list *, and use methods of the latter class to clarify
15596 * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
15597 * reload1.c (set_initial_label_offsets): Likewise for local "x".
15598 * rtlanal.c (remove_node_from_expr_list): Strengthen param "listp"
15599 from rtx * to rtx_expr_list **. Strengthen local "temp" from rtx
15600 to rtx_expr_list *. Use methods of the latter class to clarify
15603 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15605 * function.h (struct expr_status): Strengthen field
15606 "x_forced_labels" from rtx to rtx_expr_list *.
15608 * cfgbuild.c (make_edges): Split local "x" into two locals,
15609 strengthening one from rtx to rtx_expr_list *, and using methods
15611 * dwarf2cfi.c (create_trace_edges): Split local "lab" out; within
15612 loop over forced_labels, introduce strengthen it from rtx to
15613 rtx_expr_list *, using methods to clarify the code.
15614 * jump.c (rebuild_jump_labels_1): Strengthen local "insn" from rtx
15615 to rtx_expr_list *, using methods of said class to clarify the
15617 * reload1.c (set_initial_label_offsets): Split local "x" into two
15618 per-loop variables, strengthening the first from rtx to
15619 rtx_expr_list * and using methods.
15621 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15623 * coretypes.h (class rtx_expr_list): Add forward declaration.
15624 * emit-rtl.c (gen_rtx_EXPR_LIST): New.
15625 * gengenrtl.c (special_rtx): Add EXPR_LIST.
15626 * rtl.h (class rtx_expr_list): New subclass of rtx_def, adding
15627 invariant: GET_CODE (X) == EXPR_LIST.
15628 (is_a_helper <rtx_expr_list *>::test): New.
15629 (rtx_expr_list::next): New.
15630 (rtx_expr_list::element): New.
15631 (gen_rtx_EXPR_LIST): New.
15633 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15635 * varasm.c (mark_constants): Convert a GET_CODE check into a
15636 dyn_cast, strengthening local "seq" from rtx to rtx_sequence *.
15637 Use methods of rtx_sequence to clarify the code.
15639 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15641 * sched-vis.c (print_pattern): Within SEQUENCE case, introduce a
15642 local "seq" via a checked cast, and use methods of rtx_sequence
15643 to simplify the code.
15645 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15647 * resource.c (mark_referenced_resources): Strengthen local
15648 "sequence" from rtx to rtx_sequence *, adding a checked cast, and
15649 using methods of rtx_sequence to clarify the code.
15650 (find_dead_or_set_registers): Within the switch statement, convert
15651 a GET_CODE check to a dyn_cast, introducing local "seq". Within
15652 the JUMP_P handling, introduce another local "seq", adding a
15653 checked cast to rtx_sequence *. In both cases, use methods of
15654 rtx_sequence to clarify the code.
15655 (mark_set_resources): Within SEQUENCE case, introduce local "seq"
15656 via a checked cast, and use methods of rtx_sequence to simplify
15659 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15661 * reorg.c (redundant_insn): In two places in the function, replace
15662 a check of GET_CODE with a dyn_cast, introducing local "seq", and
15663 usings methods of rtx_sequence to clarify the code.
15665 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15667 * jump.c (mark_jump_label_1): Within the SEQUENCE case, introduce
15668 local "seq" with a checked cast, and use methods of rtx_sequence
15669 to clarify the code.
15671 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15673 * function.c (contains): Introduce local "seq" for PATTERN (insn),
15674 with a checked cast, in the region for where we know it's a
15675 SEQUENCE. Use methods of rtx_sequence.
15677 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15679 * final.c (get_attr_length_1): Replace GET_CODE check with a
15680 dyn_cast, introducing local "seq" and the use of methods of
15682 (shorten_branches): Likewise, introducing local "body_seq".
15683 Strengthen local "inner_insn" from rtx to rtx_insn *.
15684 (reemit_insn_block_notes): Replace GET_CODE check with a
15685 dyn_cast, strengthening local "body" from rtx to rtx_sequence *.
15686 Use methods of rtx_sequence.
15687 (final_scan_insn): Likewise, introducing local "seq" for when
15688 "body" is known to be a SEQUENCE, using its methods.
15690 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15692 * except.c (can_throw_external): Strengthen local "seq" from rtx
15693 to rtx_sequence *. Use methods of rtx_sequence.
15694 (insn_nothrow_p): Likewise.
15696 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15698 * dwarf2cfi.c (create_trace_edges): Convert GET_CODE check into a
15699 dyn_cast, strengthening local "seq" from rtx to rtx_sequence *.
15700 Use methods of rtx_sequence.
15701 (scan_trace): Likewise for local "pat".
15703 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15705 * coretypes.h (class rtx_sequence): Add forward declaration.
15706 * rtl.h (class rtx_sequence): New subclass of rtx_def, adding
15707 invariant: GET_CODE (X) == SEQUENCE.
15708 (is_a_helper <rtx_sequence *>::test): New.
15709 (is_a_helper <const rtx_sequence *>::test): New.
15710 (rtx_sequence::len): New.
15711 (rtx_sequence::element): New.
15712 (rtx_sequence::insn): New.
15714 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15716 * rtl.h (free_INSN_LIST_list): Strengthen param from rtx * to
15718 (alloc_INSN_LIST): Strengthen return type from rtx to
15720 (copy_INSN_LIST): Likewise for return type and param.
15721 (concat_INSN_LIST): Likewise for both params and return type.
15722 (remove_free_INSN_LIST_elem): Strenghten first param from rtx to
15723 rtx_insn *. Strengthen second param from rtx * to rtx_insn_list **.
15724 (remove_free_INSN_LIST_node): Strenghten return type from rtx to
15725 rtx_insn *. Strengthen param from rtx * to rtx_insn_list **.
15727 * sched-int.h (struct deps_reg): Strengthen fields "uses", "sets",
15728 "implicit_sets", "control_uses", "clobbers" from rtx to
15730 (struct deps_desc): Likewise for fields "pending_read_insns",
15731 "pending_write_insns", "pending_jump_insns",
15732 "last_pending_memory_flush", "last_function_call",
15733 "last_function_call_may_noreturn", "sched_before_next_call",
15734 "sched_before_next_jump".
15735 (struct _haifa_deps_insn_data): Likewise for field "cond_deps".
15736 (remove_from_deps): Strengthen second param from rtx to rtx_insn *.
15738 * gcse.c (struct ls_expr): Strengthen fields "loads" and "stores"
15739 from rtx to rtx_insn_list *.
15740 (ldst_entry): Replace use of NULL_RTX with NULL when dealing with
15743 * haifa-sched.c (insn_queue): Strengthen this variable from rtx *
15744 to rtx_insn_list **.
15745 (dep_cost_1): Strengthen local "dep_cost_rtx_link" from rtx to
15747 (queue_insn): Likewise for local "link".
15748 (struct haifa_saved_data): Strengthen field "insn_queue" from
15749 rtx * to rtx_insn_list **.
15750 (save_backtrack_point): Update allocation of save->insn_queue to
15751 reflect the strengthening of elements from rtx to rtx_insn_list *.
15752 (queue_to_ready): Strengthen local "link" from rtx to
15753 rtx_insn_list *; use methods "next" and "insn" when traversing the
15755 (early_queue_to_ready): Likewise for locals "link", "next_link",
15757 (schedule_block): Update allocation of insn_queue to reflect the
15758 strengthening of elements from rtx to rtx_insn_list *. Strengthen
15759 local "link" from rtx to rtx_insn_list *, and use methods when
15761 (add_to_speculative_block): Strengthen locals "twins" and
15762 "next_node" from rtx to rtx_insn_list *, and use methods when
15763 working with them. Strengthen local "twin" from rtx to
15764 rtx_insn *, eliminating a checked cast.
15765 (fix_recovery_deps): Strengthen locals "ready_list" and "link"
15766 from rtx to rtx_insn_list *, and use methods when working with
15769 * lists.c (alloc_INSN_LIST): Strengthen return type and local "r"
15770 from rtx to rtx_insn_list *, adding a checked cast.
15771 (free_INSN_LIST_list): Strengthen param "listp" from rtx * to
15773 (copy_INSN_LIST): Strengthen return type and locals "new_queue",
15774 "newlink" from rtx to rtx_insn_list *. Strengthen local
15775 "pqueue" from rtx * to rtx_insn_list **. Strengthen local "x"
15776 from rtx to rtx_insn *.
15777 (concat_INSN_LIST): Strengthen return type and local "new_rtx",
15778 from rtx to rtx_insn_list *. Use methods of the latter class.
15779 (remove_free_INSN_LIST_elem): Strengthen param "elem" from rtx to
15780 rtx_insn *, and param "listp" from rtx * to rtx_insn_list **.
15781 (remove_free_INSN_LIST_node): Strengthen return type and local
15782 "elem" from rtx to rtx_insn *. Strenghten param "listp" from
15783 rtx * to rtx_insn_list **. Strengthen local "node" from rtx to
15784 rtx_insn_list *, using "insn" method.
15786 * sched-deps.c (add_dependence_list): Strengthen param "list"
15787 from rtx to rtx_insn_list *, and use methods when working with it.
15788 (add_dependence_list_and_free): Strengthen param "listp" from
15789 rtx * to rtx_insn_list **.
15790 (remove_from_dependence_list): Strenghten param "listp" from rtx *
15791 to rtx_insn_list **, and use methods when working with *listp.
15792 (remove_from_both_dependence_lists): Strengthen param "listp" from
15793 rtx * to rtx_insn_list **
15794 (add_insn_mem_dependence): Strengthen local "insn_list" from rtx *
15795 to rtx_insn_list **. Eliminate local "link", in favor of two new
15796 locals "insn_node" and "mem_node", an rtx_insn_list * and an rtx
15798 (deps_analyze_insn): Split out uses 'f local "t" as an INSN_LIST
15799 by introducing local "cond_deps".
15800 (remove_from_deps): Strengthen param "insn" from rtx to
15803 * sched-rgn.c (concat_insn_mem_list): Strengthen param
15804 "copy_insns" and local "new_insns" from rtx to rtx_insn_list *.
15805 Strengthen param "old_insns_p" from rtx * to rtx_insn_list **.
15806 Use methods of rtx_insn_list.
15808 * store-motion.c (struct st_expr): Strengthen fields
15809 "antic_stores" and "avail_stores" from rtx to rtx_insn_list *.
15810 (st_expr_entry): Replace NULL_RTX with NULL when dealing with
15812 (find_moveable_store): Split out "tmp" into multiple more-tightly
15813 scoped locals. Use methods of rtx_insn_list *.
15814 (compute_store_table): Strengthen local "tmp" from rtx to
15815 rtx_insn *. Use methods of rtx_insn_list *.
15817 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15819 * coretypes.h (class rtx_insn_list): Add forward declaration.
15820 * rtl.h (class rtx_insn_list): New subclass of rtx_def
15821 (is_a_helper <rtx_insn_list *>::test): New.
15822 (rtx_insn_list::next): New.
15823 (rtx_insn_list::insn): New.
15824 (gen_rtx_INSN_LIST): Add prototype.
15825 * emit-rtl.c (gen_rtx_INSN_LIST): New.
15826 * gengenrtl.c (special_rtx): Add INSN_LIST.
15828 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15830 * ira-lives.c (find_call_crossed_cheap_reg): Strengthen local
15831 "prev" from rtx to rtx_insn *.
15833 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15835 * rtl.h (INSN_UID): Convert from a macro to a pair of inline
15836 functions. Require merely an rtx for now, not an rtx_insn *.
15837 (BLOCK_FOR_INSN): Likewise.
15838 (INSN_LOCATION): Likewise.
15839 (INSN_HAS_LOCATION): Convert from a macro to an inline function.
15841 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15843 * rtl.h (PATTERN): Convert this macro into a pair of inline
15844 functions, for now, requiring const_rtx and rtx.
15846 2014-08-27 David Malcolm <dmalcolm@redhat.com>
15848 * target.def (unwind_emit): Strengthen param "insn" from rtx to
15850 (final_postscan_insn): Likewise.
15851 (adjust_cost): Likewise.
15852 (adjust_priority): Likewise.
15853 (variable_issue): Likewise.
15854 (macro_fusion_pair_p): Likewise.
15855 (dfa_post_cycle_insn): Likewise.
15856 (first_cycle_multipass_dfa_lookahead_guard): Likewise.
15857 (first_cycle_multipass_issue): Likewise.
15858 (dfa_new_cycle): Likewise.
15859 (adjust_cost_2): Likewise for params "insn" and "dep_insn".
15860 (speculate_insn): Likewise for param "insn".
15861 (gen_spec_check): Likewise for params "insn" and "label".
15862 (get_insn_spec_ds): Likewise for param "insn".
15863 (get_insn_checked_ds): Likewise.
15864 (dispatch_do): Likewise.
15865 (dispatch): Likewise.
15866 (cannot_copy_insn_p): Likewise.
15867 (invalid_within_doloop): Likewise.
15868 (legitimate_combined_insn): Likewise.
15869 (needed): Likewise.
15872 * doc/tm.texi: Automatically updated to reflect changes to
15875 * haifa-sched.c (choose_ready): Convert NULL_RTX to NULL when
15877 (schedule_block): Likewise.
15878 (sched_init): Likewise.
15879 (sched_speculate_insn): Strengthen param "insn" from rtx to
15881 (ready_remove_first_dispatch): Convert NULL_RTX to NULL when
15883 * hooks.c (hook_bool_rtx_true): Rename to...
15884 hook_bool_rtx_insn_true): ...this, and strengthen first param from
15886 (hook_constcharptr_const_rtx_null): Rename to...
15887 (hook_constcharptr_const_rtx_insn_null): ...this, and strengthen
15888 first param from const_rtx to const rtx_insn *.
15889 (hook_bool_rtx_int_false): Rename to...
15890 (hook_bool_rtx_insn_int_false): ...this, and strengthen first
15891 param from rtx to rtx_insn *.
15892 (hook_void_rtx_int): Rename to...
15893 (hook_void_rtx_insn_int): ...this, and strengthen first param from
15896 * hooks.h (hook_bool_rtx_true): Rename to...
15897 (hook_bool_rtx_insn_true): ...this, and strengthen first param from
15899 (hook_bool_rtx_int_false): Rename to...
15900 (hook_bool_rtx_insn_int_false): ...this, and strengthen first
15901 param from rtx to rtx_insn *.
15902 (hook_void_rtx_int): Rename to...
15903 (hook_void_rtx_insn_int): ...this, and strengthen first param from
15905 (hook_constcharptr_const_rtx_null): Rename to...
15906 (hook_constcharptr_const_rtx_insn_null): ...this, and strengthen
15907 first param from const_rtx to const rtx_insn *.
15909 * sched-deps.c (sched_macro_fuse_insns): Strengthen param "insn"
15910 and local "prev" from rtx to rtx_insn *.
15912 * sched-int.h (sched_speculate_insn): Strengthen first param from
15915 * sel-sched.c (create_speculation_check): Likewise for local "label".
15916 * targhooks.c (default_invalid_within_doloop): Strengthen param
15917 "insn" from const_rtx to const rtx_insn *.
15918 * targhooks.h (default_invalid_within_doloop): Strengthen param
15919 from const_rtx to const rtx_insn *.
15921 * config/alpha/alpha.c (alpha_cannot_copy_insn_p): Likewise.
15922 (alpha_adjust_cost): Likewise for params "insn", "dep_insn".
15924 * config/arc/arc.c (arc_sched_adjust_priority): Likewise for param
15926 (arc_invalid_within_doloop): Likewise, with const.
15928 * config/arm/arm.c (arm_adjust_cost): Likewise for params "insn", "dep".
15929 (arm_cannot_copy_insn_p): Likewise for param "insn".
15930 (arm_unwind_emit): Likewise.
15932 * config/bfin/bfin.c (bfin_adjust_cost): Likewise for params "insn",
15935 * config/c6x/c6x.c (c6x_dfa_new_cycle): Likewise for param "insn".
15936 (c6x_variable_issue): Likewise. Removed now-redundant checked
15938 (c6x_adjust_cost): Likewise for params "insn", "dep_insn".
15940 * config/epiphany/epiphany-protos.h (epiphany_mode_needed):
15941 Likewise for param "insn".
15942 (epiphany_mode_after): Likewise.
15943 * config/epiphany/epiphany.c (epiphany_adjust_cost): Likewise for
15944 params "insn", "dep_insn".
15945 (epiphany_mode_needed): Likewise for param "insn".
15946 (epiphany_mode_after): Likewise.
15948 * config/i386/i386-protos.h (i386_pe_seh_unwind_emit): Likewise.
15949 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
15950 (ix86_avx_u128_mode_needed): Likewise.
15951 (ix86_i387_mode_needed): Likewise.
15952 (ix86_mode_needed): Likewise.
15953 (ix86_avx_u128_mode_after): Likewise.
15954 (ix86_mode_after): Likewise.
15955 (ix86_adjust_cost): Likewise for params "insn", "dep_insn".
15956 (ix86_macro_fusion_pair_p): Likewise for params "condgen", "condjmp".
15957 (ix86_adjust_priority): Likewise for param "insn".
15958 (core2i7_first_cycle_multipass_issue): Likewise for param "insn".
15959 (do_dispatch): Likewise.
15960 (has_dispatch): Likewise.
15961 * config/i386/winnt.c (i386_pe_seh_unwind_emit): Likewise.
15963 * config/ia64/ia64.c (TARGET_INVALID_WITHIN_DOLOOP): Update to
15964 reflect renaming of default hook implementation from
15965 hook_constcharptr_const_rtx_null to
15966 hook_constcharptr_const_rtx_insn_null.
15967 (ia64_adjust_cost_2): Strengthen params "insn", "dep_insn" from
15969 (ia64_variable_issue): Likewise for param "insn".
15970 (ia64_first_cycle_multipass_dfa_lookahead_guard): Likewise.
15971 (ia64_dfa_new_cycle): Likewise.
15972 (ia64_get_insn_spec_ds): Likewise.
15973 (ia64_get_insn_checked_ds): Likewise.
15974 (ia64_speculate_insn): Likewise.
15975 (ia64_gen_spec_check): Likewise for params "insn", "label".
15976 (ia64_asm_unwind_emit): Likewise for param "insn".
15978 * config/m32r/m32r.c (m32r_adjust_priority): Likewise.
15980 * config/m68k/m68k.c (m68k_sched_adjust_cost): Likewise for params
15981 "insn", "def_insn".
15982 (m68k_sched_variable_issue): Likewise for param "insn".
15984 * config/mep/mep.c (mep_adjust_cost): Likewise for params "insn",
15987 * config/microblaze/microblaze.c (microblaze_adjust_cost):
15988 Likewise for params "insn", "dep".
15990 * config/mips/mips.c (mips_adjust_cost): Likewise.
15991 (mips_variable_issue): Likewise for param "insn".
15992 (mips_final_postscan_insn): Likewise.
15994 * config/mn10300/mn10300.c (mn10300_adjust_sched_cost): Likewise
15995 for params "insn", "dep".
15997 * config/pa/pa.c (pa_adjust_cost): Likewise for params "insn",
15999 (pa_adjust_priority): Likewise for param "insn".
16001 * config/picochip/picochip.c (picochip_sched_adjust_cost):
16002 Likewise for params "insn", "dep_insn".
16004 * config/rs6000/rs6000.c (rs6000_variable_issue_1): Likewise for
16006 (rs6000_variable_issue): Likewise.
16007 (rs6000_adjust_cost): Likewise for params "insn", "dep_insn".
16008 (rs6000_debug_adjust_cost): Likewise.
16009 (rs6000_adjust_priority): Likewise for param "insn".
16010 (rs6000_use_sched_lookahead_guard): Likewise.
16011 (get_next_active_insn): Likewise for return type and both params.
16012 (redefine_groups): Likewise for params "prev_head_insn", "tail"
16013 and locals "insn", "next_insn".
16014 (pad_groups): Likewise.
16016 * config/s390/s390.c (s390_adjust_priority): Likewise for param
16018 (s390_cannot_copy_insn_p): Likewise.
16019 (s390_sched_variable_issue): Likewise for third param, eliminating
16021 (TARGET_INVALID_WITHIN_DOLOOP): Update to reflect renaming of
16022 default hook implementation from hook_constcharptr_const_rtx_null
16023 to hook_constcharptr_const_rtx_insn_null.
16025 * config/sh/sh.c (sh_cannot_copy_insn_p): Strengthen param "insn"
16026 from rtx to rtx_insn *.
16027 (sh_adjust_cost): Likewise for params "insn", "dep_insn".
16028 (sh_variable_issue): Likewise for param "insn".
16029 (sh_dfa_new_cycle): Likewise.
16030 (sh_mode_needed): Likewise.
16031 (sh_mode_after): Likewise.
16033 * config/sparc/sparc.c (supersparc_adjust_cost): Likewise for
16034 params "insn", "dep_insn".
16035 (hypersparc_adjust_cost): Likewise.
16036 (sparc_adjust_cost): Likewise.
16038 * config/spu/spu.c (spu_sched_variable_issue): Likewise for third
16039 param, eliminated checked cast.
16040 (spu_sched_adjust_cost): Likewise for first and third params.
16042 * config/tilegx/tilegx.c (tilegx_sched_adjust_cost): Strengthen
16043 params "insn" and "dep_insn" from rtx to rtx_insn *.
16045 * config/tilepro/tilepro.c (tilepro_sched_adjust_cost): Likewise.
16047 2014-08-27 David Malcolm <dmalcolm@redhat.com>
16049 * gcc/config/mn10300/mn10300.c (is_load_insn): Rename to...
16050 (set_is_load_p): ...this, updating to work on a SET pattern rather
16052 (is_store_insn): Rename to...
16053 (set_is_store_p): ...this, updating to work on a SET pattern
16054 rather than an insn.
16055 (mn10300_adjust_sched_cost): Move call to get_attr_timings from
16056 top of function to where it is needed. Rewrite the bogus
16057 condition that checks for "insn" and "dep" being PARALLEL to
16058 instead use single_set, introducing locals "insn_set" and
16059 "dep_set". Given that we only ever returned "cost" for a non-pair
16060 of SETs, bail out early if we don't have a pair of SET.
16061 Rewrite all uses of PATTERN (dep) and PATTERN (insn) to instead
16062 use the new locals "insn_set" and "dep_set", and update calls to
16063 is_load_insn and is_store_insn to be calls to set_is_load_p and
16066 2014-08-27 Guozhi Wei <carrot@google.com>
16069 * config/aarch64/aarch64.md (*andim_ashift<mode>_bfiz): Check the shift
16070 amount before using it.
16072 2014-08-27 Richard Biener <rguenther@suse.de>
16074 * gimple-fold.c (get_maxval_strlen): Add overload wrapping
16075 get_maxval_strlen inside a more useful API.
16076 (gimple_fold_builtin_with_strlen): Remove and fold into ...
16077 (gimple_fold_builtin): ... caller.
16078 (gimple_fold_builtin_strlen, gimple_fold_builtin_strcpy,
16079 gimple_fold_builtin_strncpy, gimple_fold_builtin_strcat,
16080 gimple_fold_builtin_fputs, gimple_fold_builtin_memory_chk,
16081 gimple_fold_builtin_stxcpy_chk, gimple_fold_builtin_stxncpy_chk,
16082 gimple_fold_builtin_snprintf_chk, gimple_fold_builtin_snprintf,
16083 gimple_fold_builtin_sprintf): Adjust to compute maxval
16086 2014-08-27 Yvan Roux <yvan.roux@linaro.org>
16089 * config.gcc (arm*-*-*): Check --with-fpu against arm-fpus.def.
16091 2014-08-27 Alexander Ivchenko <alexander.ivchenko@intel.com>
16092 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16093 Anna Tikhonova <anna.tikhonova@intel.com>
16094 Ilya Tocar <ilya.tocar@intel.com>
16095 Andrey Turetskiy <andrey.turetskiy@intel.com>
16096 Ilya Verbin <ilya.verbin@intel.com>
16097 Kirill Yukhin <kirill.yukhin@intel.com>
16098 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16100 * config/i386/sse.md
16101 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"):
16102 Use `concat_tg_mode' attribute to determine asm register size.
16104 2014-08-27 Alexander Ivchenko <alexander.ivchenko@intel.com>
16105 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16106 Anna Tikhonova <anna.tikhonova@intel.com>
16107 Ilya Tocar <ilya.tocar@intel.com>
16108 Andrey Turetskiy <andrey.turetskiy@intel.com>
16109 Ilya Verbin <ilya.verbin@intel.com>
16110 Kirill Yukhin <kirill.yukhin@intel.com>
16111 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16113 * config/i386/sse.md
16114 (define_mode_iterator VI48_AVX512VL): New.
16115 (define_mode_iterator VI_UNALIGNED_LOADSTORE): Delete.
16116 (define_mode_iterator VI_ULOADSTORE_BW_AVX512VL): New.
16117 (define_mode_iterator VI_ULOADSTORE_F_AVX512VL): Ditto.
16118 (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
16119 with VI1): Change mode iterator.
16120 (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
16121 with VI_ULOADSTORE_BW_AVX512VL): New.
16122 (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
16123 with VI_ULOADSTORE_F_AVX512VL): Ditto.
16124 (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
16125 with VI1): Change mode iterator.
16126 (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
16127 with VI_ULOADSTORE_BW_AVX512VL): New.
16128 (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
16129 with VI_ULOADSTORE_F_AVX512VL): Ditto.
16130 (define_insn "<sse2_avx_avx512f>_storedqu<mode>
16131 with VI1): Change mode iterator.
16132 (define_insn "<sse2_avx_avx512f>_storedqu<mode>
16133 with VI_ULOADSTORE_BW_AVX512VL): New.
16134 (define_insn "<sse2_avx_avx512f>_storedqu<mode>
16135 with VI_ULOADSTORE_BW_AVX512VL): Ditto.
16136 (define_insn "avx512f_storedqu<mode>_mask"): Delete.
16137 (define_insn "<avx512>_storedqu<mode>_mask" with
16138 VI48_AVX512VL): New.
16139 (define_insn "<avx512>_storedqu<mode>_mask" with
16140 VI12_AVX512VL): Ditto.
16142 2014-08-27 Alexander Ivchenko <alexander.ivchenko@intel.com>
16143 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16144 Anna Tikhonova <anna.tikhonova@intel.com>
16145 Ilya Tocar <ilya.tocar@intel.com>
16146 Andrey Turetskiy <andrey.turetskiy@intel.com>
16147 Ilya Verbin <ilya.verbin@intel.com>
16148 Kirill Yukhin <kirill.yukhin@intel.com>
16149 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16151 * config/i386/sse.md
16152 (define_mode_iterator VI48_AVX2_48_AVX512F): Delete.
16153 (define_mode_iterator VI48_AVX512BW): New.
16154 (define_insn "<avx2_avx512f>_<shift_insn>v<mode><mask_name>"): Delete.
16155 (define_insn "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>"
16156 with VI48_AVX2_48_AVX512F): New.
16157 (define_insn "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>"
16158 with VI2_AVX512VL): Ditto.
16160 2014-08-27 Richard Biener <rguenther@suse.de>
16162 PR middle-end/62239
16163 * builtins.c (fold_builtin_strcat_chk): Move to gimple-fold.c.
16164 (fold_builtin_3): Do not fold strcat_chk here.
16165 * gimple-fold.c (gimple_fold_builtin_strcat_chk): Move here
16167 (gimple_fold_builtin): Fold strcat_chk here.
16169 2014-08-26 Aldy Hernandez <aldyh@redhat.com>
16171 * dwarf2out.h (dwarf2out_decl): Remove prototype.
16172 * dwarf2out.c (dwarf2out_decl): Make static.
16174 2014-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>
16176 * doc/invoke.texi: -fno-cxa-atexit should be -fno-use-cxa-atexit.
16178 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16180 * cselib.h (struct elt_loc_list): Strengthen field "setting_insn"
16181 from rtx to rtx_insn *.
16182 (cselib_lookup_from_insn): Likewise for final param.
16183 (cselib_subst_to_values_from_insn): Likewise.
16184 (cselib_add_permanent_equiv): Likewise.
16186 * cselib.c (cselib_current_insn): Likewise for this variable.
16187 (cselib_subst_to_values_from_insn): Likewise for param "insn".
16188 (cselib_lookup_from_insn): Likewise.
16189 (cselib_add_permanent_equiv): Likewise for param "insn" and local
16190 "save_cselib_current_insn".
16191 (cselib_process_insn): Replace use of NULL_RTX with NULL.
16193 * sched-deps.c (add_insn_mem_dependence): Strengthen param "insn"
16194 from rtx to rtx_insn *.
16196 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16198 * dse.c (dse_step6): Strengthen local "rinsn" from rtx to
16201 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16203 * df.h (df_dump_insn_problem_function): Strengthen first param of
16204 this callback from const_rtx to const rtx_insn *.
16205 (struct df_insn_info): Strengthen field "insn" from rtx to
16207 (DF_REF_INSN): Eliminate this function, reinstating the older
16209 (df_find_def): Strengthen param 1 from rtx to rtx_insn *.
16210 (df_reg_defined): Likewise.
16211 (df_find_use): Likewise.
16212 (df_reg_used): Likewise.
16213 (df_dump_insn_top): Strengthen param 1 from const_rtx to
16215 (df_dump_insn_bottom): Likewise.
16216 (df_insn_debug): Strengthen param 1 from rtx to rtx_insn *.
16217 (df_insn_debug_regno): Likewise.
16218 (debug_df_insn): Likewise.
16219 (df_rd_simulate_one_insn): Likewise for param 2.
16220 (df_word_lr_simulate_defs): Likewise for param 1.
16221 (df_word_lr_simulate_uses): Likewise.
16222 (df_md_simulate_one_insn): Likewise for param 2.
16223 (df_simulate_find_noclobber_defs): Likewise for param 1.
16224 (df_simulate_find_defs): Likewise.
16225 (df_simulate_defs): Likewise.
16226 (df_simulate_uses): Likewise.
16227 (df_simulate_one_insn_backwards): Likewise for param 2.
16228 (df_simulate_one_insn_forwards): Likewise.
16229 (df_uses_create): Likewise for param 2.
16230 (df_insn_create_insn_record): Likewise for param 1.
16231 (df_insn_delete): Likewise.
16232 (df_insn_rescan): Likewise.
16233 (df_insn_rescan_debug_internal): Likewise.
16234 (df_insn_change_bb): Likewise.
16235 (df_notes_rescan): Likewise.
16236 * rtl.h (remove_death): Likewise for param 2.
16237 (print_rtl_with_bb): Strengthen param 2 from const_rtx to
16239 * sched-int.h (reemit_notes): Strengthen param from rtx to
16241 * valtrack.h (propagate_for_debug): Likewise for param 1.
16243 * cfgrtl.c (print_rtl_with_bb): Strengthen param "rtx_first" and
16244 local "tmp_rtx" from const_rtx to const rtx_insn *.
16245 * combine.c (remove_death): Strengthen param "insn" from rtx to
16247 (move_deaths): Likewise for local "where_dead".
16248 * cse.c (delete_trivially_dead_insns): Introduce local
16249 "bind_var_loc" so that "bind" can be strengthened to an rtx_insn *.
16250 * df-core.c (df_find_def): Strengthen param "insn" from rtx to
16252 (df_reg_defined): Likewise.
16253 (df_find_use): Likewise.
16254 (df_reg_used): Likewise.
16255 (df_dump_insn_problem_data): Strengthen param "insn" from
16256 const_rtx to const rtx_insn *.
16257 (df_dump_insn_top): Likewise.
16258 (df_dump_insn_bottom): Likewise.
16259 (df_insn_debug): Strengthen param "insn" from rtx to rtx_insn *.
16260 (df_insn_debug_regno): Likewise.
16261 (debug_df_insn): Likewise.
16262 (DF_REF_INSN): Delete.
16263 * df-problems.c (df_rd_simulate_one_insn): Strengthen param "insn"
16264 from rtx to rtx_insn *.
16265 (df_chain_insn_top_dump): Strengthen param "insn" from
16266 const_rtx to const rtx_insn *.
16267 (df_chain_insn_bottom_dump): Likewise.
16268 (df_word_lr_simulate_defs): Strengthen param "insn" from rtx to
16270 (df_word_lr_simulate_uses): Likewise.
16271 (df_print_note): Likewise.
16272 (df_remove_dead_and_unused_notes): Likewise.
16273 (df_set_unused_notes_for_mw): Likewise.
16274 (df_set_dead_notes_for_mw): Likewise.
16275 (df_create_unused_note): Likewise.
16276 (df_simulate_find_defs): Likewise.
16277 (df_simulate_find_uses): Likewise.
16278 (df_simulate_find_noclobber_defs): Likewise.
16279 (df_simulate_defs): Likewise.
16280 (df_simulate_uses): Likewise.
16281 (df_simulate_one_insn_backwards): Likewise.
16282 (df_simulate_one_insn_forwards): Likewise.
16283 (df_md_simulate_one_insn): Likewise.
16284 * df-scan.c (df_uses_create): Likewise.
16285 (df_insn_create_insn_record): Likewise.
16286 (df_insn_delete): Likewise.
16287 (df_insn_rescan): Likewise.
16288 (df_insn_rescan_debug_internal): Likewise.
16289 (df_insn_change_bb): Likewise.
16290 (df_notes_rescan): Likewise.
16291 (df_refs_add_to_chains): Likewise.
16292 (df_insn_refs_verify): Likewise.
16293 * emit-rtl.c (set_insn_deleted): Add checked cast to rtx_insn *
16294 when invoking df_insn_delete.
16295 (reorder_insns): Strengthen local "x" from rtx to rtx_insn *.
16296 (set_unique_reg_note): Add checked cast.
16297 * final.c (cleanup_subreg_operands): Likewise.
16298 * gcse.c (update_ld_motion_stores): Likewise, strengthening local
16299 "insn" from rtx to rtx_insn *.
16300 * haifa-sched.c (reemit_notes): Strengthen param "insn" and local
16301 "last" from rtx to rtx_insn *.
16302 * ira-emit.c (change_regs_in_insn): New function.
16303 (change_loop): Strengthen local "insn" from rtx to rtx_insn *.
16304 Invoke change_regs_in_insn rather than change_regs.
16305 * ira.c (update_equiv_regs): Strengthen locals "insn",
16306 "init_insn", "new_insn" from rtx to rtx_insn *. Invoke
16307 for_each_rtx_in_insn rather than for_each_rtx.
16308 * recog.c (confirm_change_group): Add checked casts.
16309 (peep2_update_life): Strengthen local "x" from rtx to rtx_insn *.
16311 (peep2_fill_buffer): Add checked cast.
16312 * rtlanal.c (remove_note): Likewise.
16313 * valtrack.c (propagate_for_debug): Strengthen param "insn" and
16314 locals "next" "end" from rtx to rtx_insn *.
16316 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16318 * sched-int.h (sched_init_insn_luid): Strengthen param 1 from rtx
16320 (struct reg_use_data): Likewise for field "insn".
16321 (insn_cost): Likewise for param.
16322 (real_insn_for_shadow): Likewise for return type and param.
16323 (increase_insn_priority): Likewise for param 1.
16324 (debug_dependencies): Likewise for both params.
16326 * haifa-sched.c (insn_delay): Likewise for param "insn".
16327 (real_insn_for_shadow): Likewise for return type and param "insn".
16328 (update_insn_after_change): Likewise for param "insn".
16329 (recompute_todo_spec): Likewise for param "next" and locals "pro",
16331 (insn_cost): Likewise for param "insn".
16332 (increase_insn_priority): Likewise.
16333 (calculate_reg_deaths): Likewise.
16334 (setup_insn_reg_pressure_info): Likewise.
16335 (model_schedule): Strengthen from vec<rtx> to vec<rtx_insn *>.
16336 (model_index): Strengthen param "insn" from rtx to rtx_insn *.
16337 (model_recompute): Likewise.
16338 (must_restore_pattern_p): Likewise for param "next".
16339 (model_excess_cost): Likewise for param "insn".
16340 (queue_remove): Likewise.
16341 (adjust_priority): Likewise for param "prev".
16342 (update_register_pressure): Likewise for param "insn".
16343 (setup_insn_max_reg_pressure): Likewise for local "insn".
16344 (update_reg_and_insn_max_reg_pressure): Likewise for param "insn".
16345 (model_add_to_schedule): Likewise.
16346 (model_reset_queue_indices): Likewise for local "insn".
16347 (unschedule_insns_until): Strengthen local "recompute_vec" from
16348 auto_vec<rtx> to auto_vec<rtx_insn *>. Strengthen locals "last",
16349 "con" from rtx to rtx_insn *.
16350 (restore_last_backtrack_point): Likewise for both locals "x". Add
16352 (estimate_insn_tick): Likewise for param "insn".
16353 (commit_schedule): Likewise for params "prev_head", "tail" and
16355 (verify_shadows): Likewise for locals "i1", "i2".
16356 (dump_insn_stream): Likewise for params "head", "tail" and locals
16357 "next_tail", "insn".
16358 (schedule_block): Likewise for locals "insn", "x". Add a checked
16360 (fix_inter_tick): Likewise for params "head", "tail".
16361 (create_check_block_twin): Likewise for local "jump".
16362 (haifa_change_pattern): Likewise for param "insn".
16363 (haifa_speculate_insn): Likewise.
16364 (dump_new_block_header): Likewise for params "head", "tail".
16365 (fix_jump_move): Likewise for param "jump".
16366 (move_block_after_check): Likewise.
16367 (sched_init_insn_luid): Likewise for param "insn".
16368 (sched_init_luids): Likewise for local "insn".
16369 (insn_luid): Likewise for param "insn".
16370 (init_h_i_d): Likewise.
16371 (haifa_init_h_i_d): Likewise for local "insn".
16372 (haifa_init_insn): Likewise for param "insn".
16373 * sched-deps.c (add_dependence): Likewise for local "real_pro",
16375 (create_insn_reg_use): Likewise for param "insn".
16376 (setup_insn_reg_uses): Likewise. Add a checked cast.
16377 * sched-ebb.c (debug_ebb_dependencies): Strengthen params "head",
16378 "tail" from rtx to rtx_insn *.
16379 * sched-rgn.c (void debug_dependencies): Likewise, also for locals
16380 "insn", "next_tail".
16382 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16384 * haifa-sched.c (struct model_insn_info): Strengthen field "insn"
16385 from rtx to rtx_insn *.
16386 (model_add_to_schedule): Likewise for locals "start", "end",
16389 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16391 * rtl.h (duplicate_insn_chain): Strengthen both params from rtx to
16393 * cfgrtl.c (duplicate_insn_chain): Likewise for params "from",
16394 "to" and locals "insn", "next", "copy". Remove now-redundant
16397 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16399 * rtl.h (canonicalize_condition): Strengthen param 1 from rtx to
16400 rtx_insn * and param 4 from rtx * to rtx_insn **.
16401 (get_condition): Strengthen param 1 from rtx to rtx_insn * and
16402 param 2 from rtx * to rtx_insn **.
16404 * df.h (can_move_insns_across): Strengthen params 1-4 from rtx to
16405 rtx_insn * and final param from rtx * to rtx_insn **.
16407 * cfgcleanup.c (try_head_merge_bb): Strengthen local "move_before"
16408 from rtx to rtx_insn *.
16409 (try_head_merge_bb): Likewise for both locals named "move_upto".
16410 * df-problems.c (can_move_insns_across): Likewise for params
16411 "from", "to", "across_from", "across_to" and locals "insn",
16412 "next", "max_to". Strengthen param "pmove_upto" from rtx * to
16414 * ifcvt.c (struct noce_if_info): Strengthen field "cond_earliest"
16415 from rtx to rtx_insn *.
16416 (noce_get_alt_condition): Strengthen param "earliest" from rtx *
16417 to rtx_insn **. Strengthen local "insn" from rtx to rtx_insn *.
16418 (noce_try_minmax): Strengthen locals "earliest", "seq" from rtx to
16420 (noce_try_abs): Likewise.
16421 (noce_get_condition): Likewise for param "jump". Strengthen param
16422 "earliest" from rtx * to rtx_insn **.
16423 (noce_find_if_block): Strengthen local "cond_earliest" from rtx to
16425 (find_cond_trap): Likewise.
16426 (dead_or_predicable): Likewise for local "earliest".
16427 * loop-iv.c (check_simple_exit): Likewise for local "at". Add
16429 * rtlanal.c (canonicalize_condition): Likewise for param "insn"
16430 and local "prev". Strengthen param "earliest" from rtx * to
16432 (get_condition): Strengthen param "jump" from rtx to rtx_insn *
16433 Strengthen param "earliest" from rtx * to rtx_insn **.
16435 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16437 * fwprop.c (local_ref_killed_between_p): Strengthen params "from",
16438 "to" and local "insn" from rtx to rtx_insn *.
16440 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16442 * sel-sched.c (find_place_for_bookkeeping): Strengthen local "insn"
16443 from rtx to rtx_insn *.
16444 (need_nop_to_preserve_insn_bb): Likewise for param "insn".
16445 (code_motion_path_driver): Likewise for local "last_insn".
16446 (simplify_changed_insns): Likewise for local "insn".
16448 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16450 * rtl.h (push_to_sequence): Strengthen param from rtx to
16452 (push_to_sequence2): Likewise for both params.
16453 (delete_insns_since): Likewise for param.
16454 (reorder_insns_nobb): Likewise for all three params.
16455 (set_new_first_and_last_insn): Likewise for both params.
16457 * emit-rtl.h (set_first_insn): Strengthen param "insn" from rtx to
16458 rtx_insn *. Remove now-redundant cast.
16459 (set_last_insn): Likewise.
16461 * builtins.c (expand_builtin_return): Strengthen local
16462 "call_fusage" from rtx to rtx_insn *.
16463 * cfgrtl.c (create_basic_block_structure): Likewise for local
16465 * emit-rtl.c (set_new_first_and_last_insn): Likewise for params
16466 "first", "last" and local "insn".
16467 (delete_insns_since): Likewise for param "from".
16468 (reorder_insns_nobb): Likewise for params "from", "to", "after"
16470 (push_to_sequence): Likewise for param "first" and local "last".
16471 (push_to_sequence2): Likewise for params "first" and "last".
16472 * lra.c (emit_add3_insn): Likewise for local "last".
16473 (lra_emit_add): Likewise.
16474 * lra-constraints.c (base_to_reg): Likewise for locals "insn",
16476 (process_address_1): Likewise for locals "insn", last".
16477 * modulo-sched.c (ps_first_note): Likewise for return type.
16478 * optabs.c (expand_binop_directly): Likewise for param "last".
16480 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16482 * rtl.h (get_last_insn_anywhere): Strengthen return type from rtx
16484 * emit-rtl.c (get_last_insn_anywhere): Likewise.
16486 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16488 * function.h (struct sequence_stack): Strengthen fields "first"
16489 and "last" from rtx to rtx_insn *.
16490 (struct emit_status): Likewise for fields "x_first_insn" and
16493 * emit-rtl.h (get_insns): Remove now-redundant checked cast.
16494 (set_first_insn): Add checked cast.
16495 (get_last_insn): Remove now-redundant checked cast.
16496 (set_last_insn): Add checked cast.
16498 * config/m32c/m32c.c (m32c_leaf_function_p): Strengthen locals
16499 "saved_first" and "saved_last" from rtx to rtx_insn *.
16501 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16503 * rtl.h (add_insn): Strengthen param from rtx to rtx_insn *.
16504 (unlink_insn_chain): Strengthen both params from rtx to
16507 * cfgrtl.c (cfg_layout_function_header): Likewise for this
16509 (unlink_insn_chain): Likewise for params "first" and "last".
16510 Remove now-redundant checked cast.
16511 (record_effective_endpoints): Replace use of NULL_RTX with NULL.
16512 (fixup_reorder_chain): Strengthen local "insn" from rtx to
16514 * emit-rtl.c (link_insn_into_chain): Likewise for all three
16516 (add_insn): Likewise for param "insn" and local "prev".
16517 (add_insn_after_nobb): Likewise for both params and local "next".
16518 (add_insn_before_nobb): Likewise for both params and local "prev".
16519 (add_insn_after): Rename param "after" to "uncast_after",
16520 introducing local "after" with another checked cast.
16521 (add_insn_before): Rename params "insn" and "before", giving them
16522 "uncast_" prefixes, adding the old names back using checked casts.
16523 (emit_note_after): Likewise for param "after".
16524 (emit_note_before): Likewise for param "before".
16525 (emit_label): Add a checked cast.
16527 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16529 * cselib.h (cselib_record_sets_hook): Strengthen initial param
16530 "insn" from rtx to rtx_insn *.
16532 * cselib.c (cselib_record_sets_hook): Likewise.
16534 * var-tracking.c (add_with_sets): Likewise, renaming back from
16535 "uncast_insn" to "insn" and eliminating the checked cast from rtx
16538 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16540 * basic-block.h (struct rtl_bb_info): Strengthen fields "end_"
16541 and "header_" from rtx to rtx_insn *.
16542 (struct basic_block_d): Likewise for field "head_" within "x"
16543 field of union basic_block_il_dependent.
16544 (BB_HEAD): Drop function...
16545 (SET_BB_HEAD): ...and this function in favor of...
16546 (BB_HEAD): ...reinstate macro.
16547 (BB_END): Drop function...
16548 (SET_BB_END): ...and this function in favor of...
16549 (BB_END): ...reinstate macro.
16550 (BB_HEADER): Drop function...
16551 (SET_BB_HEADER): ...and this function in favor of...
16552 (BB_HEADER): ...reinstate macro.
16554 * bb-reorder.c (add_labels_and_missing_jumps): Drop use of BB_END.
16555 (fix_crossing_unconditional_branches): Likewise.
16556 * caller-save.c (save_call_clobbered_regs): Likewise.
16557 (insert_one_insn): Drop use of SET_BB_HEAD and SET_BB_END.
16558 * cfgbuild.c (find_bb_boundaries): Drop use of SET_BB_END.
16559 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
16560 (merge_blocks_move_successor_nojumps): Likewise.
16561 (outgoing_edges_match): Update use of for_each_rtx to
16562 for_each_rtx_in_insn.
16563 * cfgexpand.c (expand_gimple_cond): Drop use of SET_BB_END.
16564 (expand_gimple_cond): Likewise.
16565 (expand_gimple_tailcall): Likewise.
16566 (expand_gimple_basic_block): Drop use of SET_BB_HEAD and
16568 (construct_exit_block): Drop use of SET_BB_END.
16569 * cfgrtl.c (cfg_layout_function_footer): Strengthen from rtx to
16571 (delete_insn): Rename param "insn" to "uncast_insn", introducing
16572 a new local "insn" with a checked cast to rtx_insn *. Drop use of
16573 SET_BB_HEAD and SET_BB_END.
16574 (create_basic_block_structure): Drop use of SET_BB_HEAD and
16576 (rtl_delete_block): Drop use of SET_BB_HEAD.
16577 (rtl_split_block): Drop use of SET_BB_END.
16578 (emit_nop_for_unique_locus_between): Likewise.
16579 (rtl_merge_blocks): Drop use of SET_BB_END and SET_BB_HEAD.
16580 (block_label): Drop use of SET_BB_HEAD.
16581 (fixup_abnormal_edges): Drop use of SET_BB_END.
16582 (record_effective_endpoints): Drop use of SET_BB_HEADER.
16583 (relink_block_chain): Likewise.
16584 (fixup_reorder_chain): Drop use of SET_BB_END.
16585 (cfg_layout_duplicate_bb): Drop use of SET_BB_HEADER.
16586 (cfg_layout_delete_block): Strengthen local "to" from rtx * to
16587 rtx_insn **. Drop use of SET_BB_HEADER.
16588 (cfg_layout_merge_blocks): Drop use of SET_BB_HEADER, SET_BB_END,
16590 (BB_HEAD): Delete this function.
16591 (SET_BB_HEAD): Likewise.
16592 (BB_END): Likewise.
16593 (SET_BB_END): Likewise.
16594 (BB_HEADER): Likewise.
16595 (SET_BB_HEADER): Likewise.
16596 * emit-rtl.c (add_insn_after): Rename param "insn" to
16597 "uncast_insn", adding a new local "insn" and a checked cast to
16598 rtx_insn *. Drop use of SET_BB_END.
16599 (remove_insn): Strengthen locals "next" and "prev" from rtx to
16600 rtx_insn *. Drop use of SET_BB_HEAD and SET_BB_END.
16601 (reorder_insns): Drop use of SET_BB_END.
16602 (emit_insn_after_1): Strengthen param "first" and locals "last",
16603 "after_after" from rtx to rtx_insn *. Drop use of SET_BB_END.
16604 (emit_pattern_after_noloc): Add checked cast.
16605 * haifa-sched.c (get_ebb_head_tail): Drop use of SET_BB_END.
16606 (restore_other_notes): Likewise.
16607 (move_insn): Likewise.
16608 (sched_extend_bb): Likewise.
16609 (fix_jump_move): Likewise.
16610 * ifcvt.c (noce_process_if_block): Likewise.
16611 (dead_or_predicable): Likewise.
16612 * ira.c (update_equiv_regs): Drop use of SET_BB_HEAD.
16613 * reg-stack.c (change_stack): Drop use of SET_BB_END.
16614 * sel-sched-ir.c (sel_move_insn): Likewise.
16615 * sel-sched.c (move_nop_to_previous_block): Likewise.
16617 * config/c6x/c6x.c (hwloop_optimize): Drop use of SET_BB_HEAD and
16619 * config/ia64/ia64.c (emit_predicate_relation_info): Likewise.
16621 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16623 * basic-block.h (create_basic_block_structure): Strengthen params
16624 1 "head" and 2 "end" from rtx to rtx_insn *.
16625 * cfgrtl.c (create_basic_block_structure): Likewise.
16626 (rtl_create_basic_block): Update casts from void * to rtx to
16627 rtx_insn *, so that we can pass them as rtx_insn * to
16628 create_basic_block_structure.
16629 * sel-sched-ir.c (sel_create_basic_block): Likewise.
16631 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16633 * rtl.h (for_each_inc_dec): Strengthen param 1 from rtx * to
16635 (check_for_inc_dec): Strengthen param "insn" from rtx to
16638 * cselib.h (cselib_process_insn): Likewise.
16640 * cselib.c (cselib_record_sets): Likewise.
16641 (cselib_process_insn): Likewise.
16643 * dse.c (struct insn_info): Likewise for field "insn".
16644 (check_for_inc_dec_1): Likewise for local "insn".
16645 (check_for_inc_dec): Likewise for param "insn".
16646 (scan_insn): Likewise.
16647 (dse_step1): Likewise for local "insn".
16649 * rtlanal.c (for_each_inc_dec): Strengthen param 1 from rtx * to
16650 rtx_insn **. Use for_each_rtx_in_insn rather than for_each_rtx.
16652 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16654 * sched-int.h (struct _dep): Strengthen fields "pro" and "con"
16655 from rtx to rtx_insn *.
16656 (DEP_PRO): Delete this function and...
16657 (SET_DEP_PRO): ...this function in favor of...
16658 (DEP_PRO): ...reinstate this macro.
16659 (DEP_CON): Delete this function and...
16660 (SET_DEP_CON): ...this function in favor of...
16661 (DEP_CON): ...reinstate this old macro.
16662 (init_dep_1): Strengthen params 2 and 3 from rtx to rtx_insn *.
16663 (init_dep): Likewise.
16664 (set_priorities): Likewise for both params.
16665 (sd_copy_back_deps): Likewise for params 1 and 2.
16667 * haifa-sched.c (priority): Likewise for param "insn" and local
16669 (set_priorities): Likewise for params "head" and "tail" and local
16671 (process_insn_forw_deps_be_in_spec): Likewise for param "twin" and
16673 (add_to_speculative_block): Add a checked cast.
16674 (create_check_block_twin): Drop use of SET_DEP_CON.
16675 (add_jump_dependencies): Strengthen params "insn" and "jump" from
16678 * sched-deps.c (init_dep_1): Likewise for params "pro" and "con".
16679 Drop use of SET_DEP_PRO
16680 (init_dep): Strengthen params "pro" and "con" from rtx to
16682 (sd_copy_back_deps): Likewise for params "to" and "from". Drop
16683 use of SET_DEP_CON.
16686 (SET_DEP_PRO): Delete.
16687 (SET_DEP_CON): Delete.
16689 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16691 * sel-sched-ir.h (struct vinsn_def): Strengthen field "insn_rtx"
16692 from rtx to rtx_insn *.
16693 (VINSN_INSN_RTX): Eliminate rvalue function and...
16694 (SET_VINSN_INSN): ...lvalue function in favor of...
16695 (VINSN_INSN_RTX): reinstate this old macro.
16697 * sel-sched-ir.c (vinsn_init): Eliminate use of SET_VINSN_INSN_RTX
16698 in favor of VINSN_INSN_RTX.
16699 (VINSN_INSN_RTX): Delete this function.
16700 (SET_VINSN_INSN_RTX): Likewise.
16702 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16704 * sel-sched-ir.h (insn_t): Strengthen from rtx to rtx_insn *.
16705 (BND_TO): Delete this function and...
16706 (SET_BND_TO): ...this functions in favor of...
16707 (BND_TO): ...reinstating this macro.
16708 (struct _fence): Strengthen field "executing_insns" from
16709 vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *. Strengthen fields
16710 "last_scheduled_insn" and "sched_next" from rtx to rtx_insn *.
16711 (_succ_iter_cond): Update param "succp" from rtx * to insn_t *
16712 and param "insn" from rtx to insn_t.
16713 (create_vinsn_from_insn_rtx): Strengthen first param from rtx to
16716 * sched-int.h (insn_vec_t): Strengthen from vec<rtx> to
16718 (rtx_vec_t): Likewise.
16719 (struct sched_deps_info_def): Strengthen param of "start_insn"
16720 callback from rtx to rtx_insn *. Likewise for param "insn2" of
16721 "note_mem_dep" callback and first param of "note_dep" callback.
16723 * haifa-sched.c (add_to_speculative_block): Strengthen param
16724 "insn" from rtx to rtx_insn *.
16725 (clear_priorities): Likewise.
16726 (calc_priorities): Likewise for local "insn".
16728 * sched-deps.c (haifa_start_insn): Likewise for param "insn".
16729 Remove redundant checked cast.
16730 (haifa_note_mem_dep): Likewise for param "pending_insn".
16731 (haifa_note_dep): Likewise for param "elem".
16732 (note_mem_dep): Likewise for param "e".
16733 (sched_analyze_1): Add checked casts.
16734 (sched_analyze_2): Likewise.
16736 * sel-sched-dump.c (dump_insn_vector): Strengthen local "succ"
16737 from rtx to rtx_insn *.
16738 (debug): Update param from vec<rtx> & to vec<rtx_insn *>, and
16739 from vec<rtx> * to vec<rtx_insn *> *.
16741 * sel-sched-ir.c (blist_add): Remove use of SET_BND_TO
16743 (flist_add): Strengthen param "executing_insns" from
16744 vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *.
16745 (advance_deps_context): Remove now-redundant checked cast.
16746 (init_fences): Replace uses of NULL_RTX with NULL.
16747 (merge_fences): Strengthen params "last_scheduled_insn" and
16748 "sched_next" from rtx to rtx_insn * and "executing_insns" from
16749 vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *.
16750 (add_clean_fence_to_fences): Replace uses of NULL_RTX with NULL.
16751 (get_nop_from_pool): Add local "nop_pat" so that "nop" can be
16752 an instruction, rather than doing double-duty as a pattern.
16753 (return_nop_to_pool): Update for change of insn_t.
16754 (deps_init_id): Remove now-redundant checked cast.
16755 (struct sched_scan_info_def): Strengthen param of "init_insn"
16756 callback from rtx to insn_t.
16757 (sched_scan): Strengthen local "insn" from rtx to rtx_insn *.
16758 (init_global_and_expr_for_insn): Replace uses of NULL_RTX with
16760 (get_seqno_by_succs): Strengthen param "insn" and locals "tmp",
16761 "end" from rtx to rtx_insn *.
16762 (create_vinsn_from_insn_rtx): Likewise for param "insn_rtx".
16763 (rtx insn_rtx, bool force_unique_p)
16764 (BND_TO): Delete function.
16765 (SET_BND_TO): Delete function.
16767 * sel-sched.c (advance_one_cycle): Strengthen local "insn" from
16769 (extract_new_fences_from): Replace uses of NULL_RTX with NULL.
16770 (replace_dest_with_reg_in_expr): Strengthen local "insn_rtx" from
16772 (undo_transformations): Likewise for param "insn".
16773 (update_liveness_on_insn): Likewise.
16774 (compute_live_below_insn): Likewise for param "insn" and local
16776 (update_data_sets): Likewise for param "insn".
16777 (fill_vec_av_set): Replace uses of NULL_RTX with NULL.
16778 (convert_vec_av_set_to_ready): Drop now-redundant checked cast.
16779 (invoke_aftermath_hooks): Strengthen param "best_insn" from rtx to
16781 (move_cond_jump): Likewise for param "insn".
16782 (move_cond_jump): Drop use of SET_BND_TO.
16783 (compute_av_set_on_boundaries): Likewise.
16784 (update_fence_and_insn): Replace uses of NULL_RTX with NULL.
16785 (update_and_record_unavailable_insns): Strengthen local "bb_end"
16786 from rtx to rtx_insn *.
16787 (maybe_emit_renaming_copy): Likewise for param "insn".
16788 (maybe_emit_speculative_check): Likewise.
16789 (handle_emitting_transformations): Likewise.
16790 (remove_insn_from_stream): Likewise.
16791 (code_motion_process_successors): Strengthen local "succ" from rtx
16794 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16796 * sel-sched-ir.h (ilist_t): Redefine this typedef in terms of
16797 ilist_t, not _xlist_t;
16798 (ILIST_INSN): Define in terms of new union field "insn".
16799 (ILIST_NEXT): Define in terms of _LIST_NEXT rather than
16801 (struct _list_node): Add new field "insn" to the union, of type
16803 (ilist_add): Replace macro with an inline function, requiring an
16805 (ilist_remove): Define this macro directly in terms of
16806 _list_remove, rather than indirectly via _xlist_remove.
16807 (ilist_clear): Likewise, in terms of _list_clear rather than
16809 (ilist_is_in_p): Replace macro with an inline function, requiring
16811 (_list_iter_cond_insn): New function.
16812 (ilist_iter_remove): Define this macro directly in terms of
16813 _list_iter_remove, rather than indirectly via _xlist_iter_remove.
16814 (ilist_iterator): Define directly in terms of _list_iterator
16815 rather than indirectly through _xlist_iterator.
16816 (FOR_EACH_INSN): Define in terms of _list_iter_cond_insn rather
16817 than in terms of _FOR_EACH_X.
16818 (FOR_EACH_INSN_1): Likewise.
16820 2014-08-26 Joseph Myers <joseph@codesourcery.com>
16824 * varasm.c (make_decl_rtl): Clear DECL_ASSEMBLER_NAME and
16825 DECL_HARD_REGISTER and return for invalid register specifications.
16826 * cfgexpand.c (expand_one_var): If expand_one_hard_reg_var clears
16827 DECL_HARD_REGISTER, call expand_one_error_var.
16828 * config/arm/arm.c (arm_hard_regno_mode_ok): Do not allow
16829 CC_REGNUM with non-MODE_CC modes.
16830 (arm_regno_class): Return NO_REGS for PC_REGNUM.
16832 2014-08-26 Marek Polacek <polacek@redhat.com>
16835 * sel-sched-ir.c (make_regions_from_the_rest): Fix condition.
16837 2014-08-26 Evandro Menezes <e.menezes@samsung.com>
16839 * config/arm/aarch64/aarch64.c (generic_addrcost_table): Delete
16840 qi cost; add di cost.
16841 (cortexa57_addrcost_table): Likewise.
16843 2014-08-26 Marek Polacek <polacek@redhat.com>
16846 * expr.c (is_aligning_offset): Remove logical not.
16848 2014-08-26 Marek Polacek <polacek@redhat.com>
16851 * tree-vectorizer.h (LOOP_REQUIRES_VERSIONING_FOR_ALIGNMENT,
16852 LOOP_REQUIRES_VERSIONING_FOR_ALIAS): Wrap in parens.
16854 2014-08-26 Richard Biener <rguenther@suse.de>
16856 PR tree-optimization/62175
16857 * tree-ssa-loop-niter.c (expand_simple_operations): Do not
16858 expand possibly trapping operations.
16860 2014-08-26 David Malcolm <dmalcolm@redhat.com>
16862 * config/rs6000/rs6000.c (class swap_web_entry): Strengthen field
16863 "insn" from rtx to rtx_insn *.
16864 (permute_load): Likewise for param "insn".
16865 (permute_store): Likewise.
16866 (handle_special_swappables): Likewise for local "insn".
16867 (replace_swap_with_copy): Likewise for locals "insn" and
16869 (rs6000_analyze_swaps): Likewise for local "insn".
16871 2014-08-25 David Malcolm <dmalcolm@redhat.com>
16873 * regrename.h (struct du_chain): Strengthen field "insn" from rtx
16876 2014-08-25 David Malcolm <dmalcolm@redhat.com>
16878 * sel-sched-ir.h (struct sel_region_bb_info_def): Strengthen field
16879 "note_list" from rtx to rtx_insn *.
16880 (BB_NOTE_LIST): Replace this function and...
16881 (SET_BB_NOTE_LIST): ...this function with...
16882 (BB_NOTE_LIST): ...the former macro implementation.
16884 * sched-int.h (concat_note_lists): Strengthen param "from_end" and
16885 local "from_start" from rtx to rtx_insn *. Strengthen param
16886 "to_endp" from rtx * to rtx_insn **.
16888 * haifa-sched.c (concat_note_lists): Likewise.
16889 * sel-sched-ir.c (init_bb): Eliminate SET_BB_NOTE_LIST in favor of
16891 (sel_restore_notes): Likewise.
16892 (move_bb_info): Likewise.
16893 (BB_NOTE_LIST): Delete this function.
16894 (SET_BB_NOTE_LIST): Delete this function.
16895 * sel-sched.c (create_block_for_bookkeeping): Eliminate
16896 SET_BB_NOTE_LIST in favor of BB_NOTE_LIST.
16898 2014-08-25 David Malcolm <dmalcolm@redhat.com>
16900 * target.def (reorder): Strengthen param "ready" of this DEFHOOK
16901 from rtx * to rtx_insn **.
16902 (reorder2): Likewise.
16903 (dependencies_evaluation_hook): Strengthen params "head", "tail"
16904 from rtx to rtx_insn *.
16906 * doc/tm.texi: Update mechanically for above change to target.def.
16908 * sched-int.h (note_list): Strengthen this variable from rtx to
16910 (remove_notes): Likewise for both params.
16911 (restore_other_notes): Likewise for return type and first param.
16912 (struct ready_list): Strengthen field "vec" from rtx * to
16914 (struct dep_replacement): Strenghten field "insn" from rtx to
16916 (struct deps_desc): Likewise for fields "last_debug_insn",
16918 (struct haifa_sched_info): Likewise for callback field
16919 "can_schedule_ready_p"'s param, for first param of "new_ready"
16920 callback field, for both params of "rank" callback field, for
16921 first field of "print_insn" callback field (with a const), for
16922 both params of "contributes_to_priority" callback, for param
16923 of "insn_finishes_block_p" callback, for fields "prev_head",
16924 "next_tail", "head", "tail", for first param of "add_remove_insn"
16925 callback, for first param of "begin_schedule_ready" callback, for
16926 both params of "begin_move_insn" callback, and for second param
16927 of "advance_target_bb" callback.
16928 (add_dependence): Likewise for params 1 and 2.
16929 (sched_analyze): Likewise for params 2 and 3.
16930 (deps_analyze_insn): Likewise for param 2.
16931 (ready_element): Likewise for return type.
16932 (ready_lastpos): Strengthen return type from rtx * to rtx_insn **.
16933 (try_ready): Strenghten param from rtx to rtx_insn *.
16934 (sched_emit_insn): Likewise for return type.
16935 (record_delay_slot_pair): Likewise for params 1 and 2.
16936 (add_delay_dependencies): Likewise for param.
16937 (contributes_to_priority): Likewise for both params.
16938 (find_modifiable_mems): Likewise.
16940 * config/arm/arm.c (cortexa7_sched_reorder): Strengthen param
16941 "ready" from rtx * to rtx_insn **. Strengthen locals "insn",
16942 "first_older_only_insn" from rtx to rtx_insn *.
16943 (arm_sched_reorder): Strengthen param "ready" from rtx * to
16946 * config/c6x/c6x.c (struct c6x_sched_context): Strengthen field
16947 "last_scheduled_iter0" from rtx to rtx_insn *.
16948 (init_sched_state): Replace use of NULL_RTX with NULL for insn.
16949 (c6x_sched_reorder_1): Strengthen param "ready" and locals
16950 "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen local
16951 "insn" from rtx to rtx_insn *.
16952 (c6x_sched_reorder): Strengthen param "ready" from rtx * to
16954 (c6x_sched_reorder2): Strengthen param "ready" and locals
16955 "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen local
16956 "insn" from rtx to rtx_insn *.
16957 (c6x_variable_issue): Add a checked cast when assigning from insn
16958 to ss.last_scheduled_iter0.
16959 (split_delayed_branch): Strengthen param "insn" and local "i1"
16960 from rtx to rtx_insn *.
16961 (split_delayed_nonbranch): Likewise.
16962 (undo_split_delayed_nonbranch): Likewise for local "insn".
16963 (hwloop_optimize): Likewise for locals "seq", "insn", "prev",
16964 "entry_after", "end_packet", "head_insn", "tail_insn",
16965 "new_insns", "last_insn", "this_iter", "prev_stage_insn".
16966 Strengthen locals "orig_vec", "copies", "insn_copies" from rtx *
16967 to rtx_insn **. Remove now-redundant checked cast on last_insn,
16968 but add a checked cast on loop->start_label. Consolidate calls to
16969 avoid assigning result of gen_spkernel to "insn", now an
16972 * config/i386/i386.c (do_reorder_for_imul): Strengthen param
16973 "ready" from rtx * to rtx_insn **. Strengthen local "insn" from
16975 (swap_top_of_ready_list): Strengthen param "ready" from rtx * to
16976 rtx_insn **. Strengthen locals "top", "next" from rtx to
16978 (ix86_sched_reorder): Strengthen param "ready" from rtx * to
16979 rtx_insn **. Strengthen local "insn" from rtx to rtx_insn *.
16980 (add_parameter_dependencies): Strengthen params "call", "head" and
16981 locals "insn", "last", "first_arg" from rtx to rtx_insn *.
16982 (avoid_func_arg_motion): Likewise for params "first_arg", "insn".
16983 (add_dependee_for_func_arg): Likewise for param "arg" and local
16985 (ix86_dependencies_evaluation_hook): Likewise for params "head",
16986 "tail" and locals "insn", "first_arg".
16988 * config/ia64/ia64.c (ia64_dependencies_evaluation_hook): Likewise
16989 for params "head", "tail" and locals "insn", "next", "next_tail".
16990 (ia64_dfa_sched_reorder): Strengthen param "ready" and locals
16991 "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen locals
16992 "insn", "lowest", "highest" from rtx to rtx_insn *.
16993 (ia64_sched_reorder): Strengthen param "ready" from rtx * to
16995 (ia64_sched_reorder2): Likewise.
16997 * config/mep/mep.c (mep_find_ready_insn): Strengthen return type
16998 and local "insn" from rtx to rtx_insn *. Strengthen param "ready"
16999 from rtx * to rtx_insn **.
17000 (mep_move_ready_insn): Strengthen param "ready" from rtx * to
17002 (mep_print_sched_insn): Strengthen param "insn" from rtx to
17004 (mep_sched_reorder): Strengthen param "ready" from rtx * to
17005 rtx_insn **. Strengthen locals "core_insn", "cop_insn" from rtx
17008 * config/mips/mips.c (mips_promote_ready): Strengthen param "ready"
17009 from rtx * to rtx_insn **. Strengthen local "new_head" from rtx
17011 (mips_maybe_swap_ready): Strengthen param "ready" from rtx * to
17012 rtx_insn **. Strengthen local "temp" from rtx to rtx_insn *.
17013 (mips_macc_chains_reorder): Strengthen param "ready" from rtx * to
17015 (vr4130_reorder): Likewise.
17016 (mips_74k_agen_reorder): Likewise. Strengthen local "insn" from
17018 (mips_sched_reorder_1): Strengthen param "ready" from rtx * to
17020 (mips_sched_reorder): Likewise.
17021 (mips_sched_reorder2): Likewise.
17023 * config/picochip/picochip.c (picochip_sched_reorder): Likewise.
17025 * config/rs6000/rs6000.c (rs6000_sched_reorder): Likewise.
17026 Strengthen local "tmp" from rtx to rtx_insn *.
17027 (rs6000_sched_reorder2): Likewise.
17029 * config/s390/s390.c (s390_z10_prevent_earlyload_conflicts):
17030 Likewise. Update sizeof(rtx) to sizeof(rtx_insn *) in memmove.
17031 (s390_sched_reorder): Strengthen param "ready" from rtx * to
17032 rtx_insn **. Strengthen local "tmp" from rtx to rtx_insn *.
17034 * config/sh/sh.c (rank_for_reorder): Strengthen locals "tmp",
17035 "tmp2" from rtx to rtx_insn *.
17036 (swap_reorder): Strengthen param "a" from rtx * to rtx_insn **.
17037 Strengthen local "insn" from rtx to rtx_insn *.
17038 (ready_reorder): Strengthen param "ready" from rtx * to
17039 rtx_insn **. Update sizeof(rtx) to sizeof(rtx_insn *) in qsort.
17040 (sh_reorder): Strengthen param "ready" from rtx * to rtx_insn **.
17041 (sh_reorder2): Likewise.
17043 * config/spu/spu.c (spu_sched_reorder): Likewise. Strengthen
17044 local "insn" from rtx to rtx_insn *.
17046 * haifa-sched.c (note_list): Strengthen this variable from rtx to
17048 (scheduled_insns): Strengthen this variable from vec<rtx> to
17050 (set_modulo_params): Likewise for locals "i1", "i2".
17051 (record_delay_slot_pair): Likewise for params "i1", "i2".
17052 (add_delay_dependencies): Likewise for param "insn".
17053 (cond_clobbered_p): Likewise.
17054 (recompute_todo_spec): Likewise for local "prev".
17055 (last_scheduled_insn): Likewise for this variable.
17056 (nonscheduled_insns_begin): Likewise.
17057 (model_set_excess_costs): Strengthen param "insns" from rtx * to
17059 (rank_for_schedule): Strengthen locals "tmp", "tmp2" from rtx to
17061 (swap_sort): Strengthen param "a" from rtx * to rtx_insn **.
17062 Strengthen local "insn" from rtx to rtx_insn *.
17063 (queue_insn): Strengthen param "insn" from rtx to rtx_insn *.
17064 (ready_lastpos): Strengthen return type from rtx * to rtx_insn **.
17065 (ready_add): Strengthen param "insn" from rtx to rtx_insn *.
17066 (ready_remove_first): Likewise for return type and local "t".
17067 (ready_element): Likewise for return type.
17068 (ready_remove): Likewise for return type and local "t".
17069 (ready_sort): Strengthen local "first" from rtx * to rtx_insn **.
17070 (check_clobbered_conditions): Strengthen local "x" from rtx to
17071 rtx_insn *, adding a checked cast.
17072 (schedule_insn): Likewise for param "insn".
17073 (remove_notes): Likewise for params "head", "tail" and locals
17074 "next_tail", "insn", "next".
17075 (struct haifa_saved_data): Likewise for fields
17076 "last_scheduled_insn", "nonscheduled_insns_begin".
17077 (save_backtrack_point): Update for change to field "vec" of
17079 (toggle_cancelled_flags): Strengthen local "first" from rtx * to
17081 (restore_last_backtrack_point): Likewise. Strengthen local "insn"
17082 from rtx to rtx_insn *
17083 (resolve_dependencies): Strengthen param "insn" from rtx to
17085 (restore_other_notes): Likewise for return type, for param "head"
17086 and local "note_head".
17087 (undo_all_replacements): Likewise for local "insn".
17088 (first_nonscheduled_insn): Likewise for return type and local "insn".
17089 (queue_to_ready): Likewise for local "insn", adding checked casts.
17090 (early_queue_to_ready): Likewise for local "insn".
17091 (debug_ready_list_1): Strengthen local "p" from rtx * to
17093 (move_insn): Strengthen param "insn" and local "note" from rtx to
17095 (insn_finishes_cycle_p): Likewise for param "insn".
17096 (max_issue): Likewise for local "insn".
17097 (choose_ready): Likewise. Strengthen param "insn_ptr" from rtx *
17099 (commit_schedule): Strengthen param "prev_head" and local "insn"
17100 from rtx to rtx_insn *
17101 (prune_ready_list): Likewise for local "insn".
17102 (schedule_block): Likewise for locals "prev_head", "head", "tail",
17103 "skip_insn", "insn", "failed_insn", "x", adding a checked cast.
17104 (set_priorities): Likewise for local "prev_head".
17105 (try_ready): Likewise for param "next".
17106 (fix_tick_ready): Likewise.
17107 (change_queue_index): Likewise.
17108 (sched_extend_ready_list): Update for change to field "vec" of
17110 (generate_recovery_code): Strengthen param "insn" from rtx to
17112 (begin_speculative_block): Likewise.
17113 (create_check_block_twin): Likewise for param "insn" and locals
17114 "label", "check", "twin". Introduce local "check_pat" to avoid
17115 "check" being used as a plain rtx before being used as an insn.
17116 (fix_recovery_deps): Add a checked cast to rtx_insn * when
17117 extracting elements from ready_list.
17118 (sched_remove_insn): Strengthen param "insn" from rtx to
17120 (sched_emit_insn): Likewise for return type.
17121 (ready_remove_first_dispatch): Likewise for return type and local
17124 * hw-doloop.c (discover_loop): Add a checked cast to rtx_insn *.
17126 * modulo-sched.c (sms_print_insn): Strengthen from const_rtx to
17129 * sched-deps.c (add_dependence): Strengthen params "con", "pro"
17130 from rtx to rtx_insn *.
17131 (add_dependence_list): Likewise for param "insn". Add a checked
17133 (add_dependence_list_and_free): Strengthen param "insn" from rtx
17134 to rtx_insn *. Strengthen param "list_p" from rtx * to
17136 (chain_to_prev_insn): Strengthen param "insn" and locals
17137 "prec_nonnote", "i" from rtx to rtx_insn *.
17138 (flush_pending_lists): Likewise for param "insn".
17139 (cur_insn): Likewise for this variable.
17140 (haifa_start_insn): Add a checked cast.
17141 (note_dep): Strengthen param "e" from rtx to rtx_insn *.
17142 (sched_analyze_reg): Likewise for param "insn".
17143 (sched_analyze_1): Likewise.
17144 (sched_analyze_2): Likewise. Add checked casts.
17145 (sched_analyze_insn): Likewise. Also for local "prev".
17146 (deps_analyze_insn): Likewise for param "insn".
17147 (sched_analyze): Likewise for params "head", "tail" and local "insn".
17148 (add_dependence_1): Likewise for params "insn", "elem".
17149 (struct mem_inc_info): Likewise for fields "inc_insn", "mem_insn".
17150 (parse_add_or_inc): Likewise for param "insn".
17151 (find_inc): Likewise for local "inc_cand".
17152 (find_modifiable_mems): Likewise for params "head", "tail" and
17153 locals "insn", "next_tail".
17155 * sched-ebb.c (init_ready_list): Likewise for local "insn".
17156 (begin_schedule_ready): Likewise for param "insn".
17157 (begin_move_insn): Likewise for params "insn" and "last".
17158 (ebb_print_insn): Strengthen param "insn" from const_rtx to
17160 (rank): Strengthen params "insn1", "insn2" from rtx to rtx_insn *.
17161 (ebb_contributes_to_priority): Likewise for params "next", "insn".
17162 (ebb_add_remove_insn): Likewise for param "insn".
17163 (advance_target_bb): Likewise.
17165 * sched-rgn.c (rgn_estimate_number_of_insns): Likewise for local
17167 (check_live): Likewise for param "insn".
17168 (init_ready_list): Likewise for local "insn".
17169 (can_schedule_ready_p): Likewise for param "insn".
17170 (begin_schedule_ready): Likewise.
17171 (new_ready): Likewise for param "next".
17172 (rgn_print_insn): Likewise for param "insn".
17173 (rgn_rank): Likewise for params "insn1", "insn2".
17174 (contributes_to_priority): Likewise for params "next", "insn".
17175 (rgn_insn_finishes_block_p): Likewise for param "insn".
17176 (add_branch_dependences): Likewise for params "head", "tail" and
17177 locals "insn", "last".
17178 (rgn_add_remove_insn): Likewise for param "insn".
17179 (advance_target_bb): Likewise.
17181 * sel-sched-dump.c (sel_print_insn): Strengthen param "insn" from
17182 const_rtx to const rtx_insn *.
17184 * sel-sched-dump.h (sel_print_insn): Likewise.
17186 * sel-sched-ir.c (advance_deps_context): Add a checked cast.
17187 (deps_init_id): Likewise.
17189 * sel-sched.c (convert_vec_av_set_to_ready): Likewise.
17190 (invoke_reorder_hooks): Strengthen local "arr" from rtx * to
17193 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17195 * output.h (final_start_function): Strengthen param 1 from rtx to
17198 * final.c (final_start_function): Likewise, renaming back from
17199 "uncast_first" to "first", and dropping the checked cast from rtx
17202 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17204 * output.h (final): Strengthen param 1 from rtx to rtx_insn *.
17205 * final.c (final): Likewise. Rename param back from
17206 "uncast_first" to "first" and eliminate the checked cast from rtx
17209 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17211 * output.h (shorten_branches): Strengthen param from rtx to
17214 * final.c (shorten_branches): Likewise, renaming param back from
17215 "uncast_first" to "first", and dropping the checked cast from rtx
17218 * genattr.c (gen_attr): Likewise when writing out the prototype of
17221 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17223 * sched-int.h (struct haifa_sched_info): Strengthen fields
17224 "prev_head" and "next_tail" from rtx to rtx_insn *.
17226 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17228 * rtl.h (rtx_jump_table_data::get_labels): New method.
17229 * cfgbuild.c (make_edges): Replace hand-coded lookup of labels
17230 with use of the new rtx_jump_table_data::get_labels method.
17231 (purge_dead_tablejump_edges): Strengthen param "table" from rtx
17232 to rtx_jump_table_data *. Simplify by using get_labels method.
17233 * cfgrtl.c (delete_insn): Replace use of JUMP_TABLE_DATA_P with
17234 a dyn_cast, introducing local "table", using it to replace
17235 label-lookup logic with a get_labels method call.
17236 (patch_jump_insn): Simplify using get_labels method.
17237 * dwarf2cfi.c (create_trace_edges): Likewise.
17238 * rtlanal.c (label_is_jump_target_p): Likewise.
17240 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17242 * rtl.h (unshare_all_rtl_again): Strengthen param "insn" from rtx
17245 * emit-rtl.c (unshare_all_rtl_1): Likewise.
17246 (unshare_all_rtl_again): Likewise, also for local "p".
17248 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17250 * rtl.h (delete_insn_and_edges): Strengthen param "insn" from rtx
17252 * cfgrtl.c (delete_insn_and_edges): Likewise.
17254 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17256 * rtl.h (reorder_insns): Strengthen params "from", "to", "after"
17257 from rtx to rtx_insn *.
17259 * emit-rtl.c (reorder_insns): Likewise, also for local "insn".
17261 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17263 * function.c (thread_prologue_and_epilogue_insns): Likewise for
17264 locals "returnjump", "epilogue_end", "insn", "next".
17266 * shrink-wrap.h (get_unconverted_simple_return): Strengthen param
17267 "returnjump" from rtx * to rtx_insn **.
17268 * shrink-wrap.c (get_unconverted_simple_return): Likewise.
17270 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17272 * basic-block.h (struct edge_def). Strengthen "r" within
17273 union edge_def_insns from rtx to rtx_insn *.
17275 * cfgexpand.c (pass_expand::execute): Remove now-redundant cast
17276 from rtx to rtx_insn *. Strengthen local "insns" from rtx to
17278 * cfgrtl.c (commit_one_edge_insertion): Remove now-redundant cast
17279 from rtx to rtx_insn *.
17280 * cprop.c (find_bypass_set): Strengthen local "insn" from rtx to
17282 * postreload-gcse.c (reg_killed_on_edge): Likewise.
17283 (reg_used_on_edge): Likewise.
17284 * tree-cfg.c (gt_ggc_mx): New overload for rtx_insn *&.
17285 (gt_pch_nx): New overload for rtx_insn *&.
17286 * tree-outof-ssa.c (expand_phi_nodes): Strengthen local "insns"
17287 from rtx to rtx_insn *.
17289 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17291 * basic-block.h (struct rtl_bb_info): Strengthen field "footer_"
17292 from rtx to rtx_insn *.
17293 (BB_FOOTER): Replace function with access macro.
17294 (SET_BB_FOOTER): Delete.
17296 * cfgcleanup.c (try_optimize_cfg): Replace uses of SET_BB_FOOTER
17298 * cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
17299 (emit_barrier_after_bb): Likewise.
17300 (record_effective_endpoints): Likewise.
17301 (relink_block_chain): Likewise.
17302 (fixup_fallthru_exit_predecessor): Likewise.
17303 (cfg_layout_duplicate_bb): Likewise.
17304 (cfg_layout_split_block): Likewise.
17305 (cfg_layout_delete_block): Likewise.
17306 (cfg_layout_merge_blocks): Likewise.
17307 (BB_FOOTER): Delete function.
17308 (SET_BB_FOOTER): Delete function.
17309 * combine.c (update_cfg_for_uncondjump): Replace uses of
17310 SET_BB_FOOTER with BB_FOOTER.
17312 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17314 * except.h (struct eh_landing_pad_d): Strengthen field
17315 "landing_pad" from rtx to rtx_code_label *.
17317 * except.c (sjlj_emit_dispatch_table): Likewise for param
17319 (sjlj_build_landing_pads): Likewise for local "dispatch_label".
17321 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17323 * config/xtensa/xtensa-protos.h (xtensa_emit_loop_end): Strengthen
17324 first param from rtx to rtx_insn *.
17325 * config/xtensa/xtensa.c (struct machine_function): Likewise for
17326 field "set_frame_ptr_insn".
17327 (xtensa_expand_compare_and_swap): Strengthen locals "csloop" and
17328 "csend" from rtx to rtx_code_label *.
17329 (xtensa_expand_atomic): Likewise for local "csloop".
17330 (xtensa_emit_loop_end): Strengthen param "insn" from rtx to
17332 (xtensa_call_tls_desc): Likewise for return type and locals
17333 "call_insn", "insns".
17334 (xtensa_legitimize_tls_address): Likewise for local "insns".
17335 (xtensa_expand_prologue): Likewise for locals "insn", "first".
17337 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17339 * config/v850/v850-protos.h (v850_adjust_insn_length): Strengthen
17340 first param from rtx to rtx_insn *.
17341 * config/v850/v850.c (v850_adjust_insn_length): Likewise for param
17344 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17346 * config/tilepro/tilepro-protos.h (tilepro_output_cbranch_with_opcode):
17347 Strengthen param 1 from rtx to rtx_insn *.
17348 (tilepro_output_cbranch): Likewise.
17349 (tilepro_adjust_insn_length): Likewise.
17350 (tilepro_final_prescan_insn): Likewise for sole param.
17352 * config/tilepro/tilepro.c (tilepro_legitimize_tls_address):
17353 Likewise for local "last".
17354 (cbranch_predicted_p): Likewise for param "insn".
17355 (tilepro_output_simple_cbranch_with_opcode): Likewise.
17356 (tilepro_output_cbranch_with_opcode): Likewise.
17357 (tilepro_output_cbranch): Likewise.
17358 (frame_emit_load): Likewise for return type and locals "seq",
17360 (emit_sp_adjust): Likewise for return type and local "insn".
17361 (tilepro_expand_epilogue): Likewise for locals "last_insn",
17363 (tilepro_adjust_insn_length): Likewise for param "insn".
17364 (next_insn_to_bundle): Likewise for return type and params
17366 (tilepro_gen_bundles): Likewise for locals "insn", "next", "end".
17367 (replace_pc_relative_symbol_ref): Likewise for param "insn" and
17369 (match_addli_pcrel): Likewise for param "insn".
17370 (replace_addli_pcrel): Likewise.
17371 (match_auli_pcrel): Likewise.
17372 (replace_auli_pcrel): Likewise.
17373 (tilepro_fixup_pcrel_references): Likewise for locals "insn",
17375 (reorder_var_tracking_notes): Likewise for locals "insn", "next",
17376 "queue", "next_queue", "prev".
17377 (tilepro_asm_output_mi_thunk): Likewise for local "insn".
17378 (tilepro_final_prescan_insn): Likewise for param "insn".
17380 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17382 * config/tilegx/tilegx-protos.h (tilegx_output_cbranch_with_opcode):
17383 Strengthen param 1 from rtx to rtx_insn *.
17384 (tilegx_output_cbranch): Likewise.
17385 (tilegx_adjust_insn_length): Likewise.
17386 (tilegx_final_prescan_insn): Likewise for sole param.
17388 * config/tilegx/tilegx.c (tilegx_legitimize_tls_address): Likewise
17390 (cbranch_predicted_p): Likewise for param "insn".
17391 (tilegx_output_simple_cbranch_with_opcode): Likewise.
17392 (tilegx_output_cbranch_with_opcode): Likewise.
17393 (tilegx_output_cbranch): Likewise.
17394 (frame_emit_load): Likewise for return type.
17395 (set_frame_related_p): Likewise for locals "seq", "insn".
17396 (emit_sp_adjust): Likewise for return type, and for local "insn".
17397 Introduce local "pat" for use in place of "insn" where the latter
17398 isn't an instruction.
17399 (tilegx_expand_epilogue): Strengthen locals "last_insn", "insn"
17400 from rtx to rtx_insn *.
17401 (tilegx_adjust_insn_length): Likewise for param "insn".
17402 (next_insn_to_bundle): Likewise for return type and params "r" and
17404 (tilegx_gen_bundles): Likewise for locals "insn", "next", "prev",
17406 (replace_insns): Likewise for params "old_insn", "new_insns".
17407 (replace_mov_pcrel_step1): Likewise for param "insn" and local
17409 (replace_mov_pcrel_step2): Likewise.
17410 (replace_mov_pcrel_step3): Likewise.
17411 (tilegx_fixup_pcrel_references): Likewise for locals "insn",
17413 (reorder_var_tracking_notes): Likewise for locals "insn", "next",
17414 "queue", "next_queue", "prev".
17415 (tilegx_output_mi_thunk): Likewise for local "insn".
17416 (tilegx_final_prescan_insn): Likewise for param "insn".
17418 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17420 * config/spu/spu.c (frame_emit_store): Strengthen return type from
17422 (frame_emit_load): Likewise.
17423 (frame_emit_add_imm): Likewise, also for local "insn".
17424 (spu_expand_prologue): Likewise for local "insn".
17425 (struct spu_bb_info): Likewise for field "prop_jump".
17426 (emit_nop_for_insn): Likewise for param "insn" and local
17428 (pad_bb): Likewise for locals "insn", "next_insn", "prev_insn",
17430 (spu_emit_branch_hint): Likewise for params "before", "branch" and
17431 locals "hint", "insn".
17432 (get_branch_target): Likewise for param "branch".
17433 (insn_clobbers_hbr): Likewise for param "insn".
17434 (insert_hbrp_for_ilb_runout): Likewise for param "first" and
17435 locals "insn", "before_4", "before_16".
17436 (insert_hbrp): Likewise for local "insn".
17437 (spu_machine_dependent_reorg): Likewise for locals "branch",
17438 "insn", "next", "bbend".
17439 (uses_ls_unit): Likewise for param "insn".
17440 (get_pipe): Likewise.
17441 (spu_sched_variable_issue): Rename param "insn" to "uncast_insn",
17442 introducing a checked cast.
17443 (spu_sched_adjust_cost): Likewise for params "insn" and
17445 (ea_load_store_inline): Strengthen local "insn" from rtx to rtx_insn *.
17446 (spu_sms_res_mii): Likewise.
17448 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17450 * config/sparc/sparc-protos.h (output_ubranch): Strengthen param 2
17451 from rtx to rtx_insn *.
17452 (output_cbranch): Likewise for param 6.
17453 (output_return): Likewise for param 1.
17454 (output_sibcall): Likewise.
17455 (output_v8plus_shift): Likewise.
17456 (output_v8plus_mult): Likewise.
17457 (output_v9branch): Likewise for param 7.
17458 (output_cbcond): Likewise for param 3.
17460 * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise
17462 (sparc_legitimize_pic_address): Likewise.
17463 (sparc_emit_call_insn): Likewise.
17464 (emit_save_or_restore_regs): Likewise.
17465 (emit_window_save): Likewise for return type and local "insn".
17466 (sparc_expand_prologue): Likewise for local "insn".
17467 (sparc_flat_expand_prologue): Likewise.
17468 (output_return): Likewise for param "insn".
17469 (output_sibcall): Likewise for param "insn" and local "delay".
17470 (output_ubranch): Likewise for param "insn".
17471 (output_cbranch): Likewise.
17472 (output_cbcond): Likewise.
17473 (output_v9branch): Likewise.
17474 (output_v8plus_shift): Likewise.
17475 (sparc_output_mi_thunk): Likewise for local "insn".
17476 (get_some_local_dynamic_name): Likewise.
17477 (output_v8plus_mult): Likewise for param "insn".
17479 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17481 * config/sh/sh-protos.h (output_ieee_ccmpeq): Strengthen param 1
17482 from rtx to rtx_insn *.
17483 (output_branchy_insn): Likewise for param 3.
17484 (output_far_jump): Likewise for param 1.
17485 (final_prescan_insn): Likewise.
17486 (sh_insn_length_adjustment): Likewise for sole param.
17488 * config/sh/sh.c (expand_cbranchsi4): Likewise for local "jump".
17489 (expand_cbranchdi4): Strengthen local "skip_label" from rtx to
17491 (sh_emit_compare_and_set): Likewise for local "lab".
17492 (output_far_jump): Strengthen param "insn" and local "prev" from
17494 (output_branchy_insn): Likewise for param "insn" and local
17496 (output_ieee_ccmpeq): Likewise for param "insn".
17497 (struct label_ref_list_d): Strengthen field "label" from rtx to
17499 (pool_node): Likewise.
17500 (pool_window_label): Likewise for this global.
17501 (add_constant): Likewise for return type and locals "lab", "new_rtx".
17502 (dump_table): Strengthen params "start", "barrier" and local
17503 "scan" from rtx to rtx_insn *.
17504 (broken_move): Likewise for param "insn".
17505 (untangle_mova): Likewise for params "first_mova" and "new_mova".
17506 Strengthen param "first_mova" from rtx * to rtx_insn **.
17507 (mova_p): Likewise for param "insn".
17508 (fixup_mova): Likewise for param "mova".
17509 (find_barrier): Likewise for return type, params "mova" and
17510 "from", and locals "barrier_before_mova", "found_barrier",
17511 "good_barrier", "orig", "last_symoff", "next". Strengthen local
17512 "label" from rtx to rtx_code_label *.
17513 (sh_loop_align): Strengthen locals "first", "insn", "mova" from
17515 (sh_reorg): Likewise for locals "link", "scan", "barrier".
17516 (split_branches): Likewise for param "first" and local "insn".
17517 (final_prescan_insn): Likewise for param "insn".
17518 (sequence_insn_p): Likewise for locals "prev", "next".
17519 (sh_insn_length_adjustment): Likewise for param "insn".
17520 (sh_can_redirect_branch): Likewise for local "insn".
17521 (find_r0_life_regions): Likewise for locals "end", "insn".
17522 (sh_output_mi_thunk): Likewise for local "insns".
17524 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17526 * config/score/score.c (score_output_mi_thunk): Strengthen local
17527 "insn" from rtx to rtx_insn *.
17528 (score_prologue): Likewise.
17530 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17532 * config/s390/s390-protos.h (s390_match_ccmode): Strengthen param
17533 1 from rtx to rtx_insn *.
17534 (s390_emit_jump): Likewise for return type.
17535 (s390_emit_call): Likewise.
17536 (s390_load_got): Likewise.
17538 * config/s390/s390.c (last_scheduled_insn): Likewise for this
17540 (s390_match_ccmode): Likewise for param "insn".
17541 (s390_emit_jump): Likewise for return type.
17542 (s390_split_branches): Likewise for local "label".
17543 (struct constant): Strengthen field "label" from rtx to
17545 (struct constant_pool): Likewise for field "label". Strengthen
17546 fields "first_insn", "pool_insn", "emit_pool_after" from rtx to
17548 (s390_alloc_pool): Replace NULL_RTX with NULL when dealing with
17550 (s390_start_pool): Strengthen param "insn" from rtx to rtx_insn *.
17551 (s390_end_pool): Likewise.
17552 (s390_dump_pool): Likewise for local "insn".
17553 (s390_mainpool_start): Likewise.
17554 (s390_chunkify_start): Likewise.
17555 (s390_chunkify_start): Replace NULL_RTX with NULL when dealing
17556 with insns. Strengthen locals "label", "jump", "barrier", "next",
17557 "prev", "vec_insn", "insn" from rtx to rtx_insn *.
17558 (s390_chunkify_finish): Strengthen local "insn" from rtx to
17560 (s390_chunkify_cancel): Likewise for locals "insn", "barrier",
17561 "jump", "label", "next_insn".
17562 (s390_regs_ever_clobbered): Likewise for local "cur_insn".
17563 (s390_optimize_nonescaping_tx): Likewise for locals "insn",
17565 (s390_load_got): Likewise for return type and local "insns".
17566 (s390_save_gprs_to_fprs): Likewise for local "insn".
17567 (s390_restore_gprs_from_fprs): Likewise.
17568 (pass_s390_early_mach::execute): Likewise.
17569 (s390_emit_prologue): Likewise for local "insns".
17570 (s390_expand_tbegin): Strengthen local "leave_label" from rtx to
17572 (s390_emit_call): Strengthen return type and local "insn" from
17574 (s390_emit_tpf_eh_return): Likewise for local "insn".
17575 (s390_optimize_prologue): Likewise for locals "insn", "new_insn",
17576 "next_insn", introducing locals "s_pat", "rpat" to allow this.
17577 (s390_fix_long_loop_prediction): Likewise for param "insn" and
17579 (s390_non_addr_reg_read_p): Likewise for param "insn".
17580 (find_cond_jump): Likewise for return type and param "insn".
17581 (s390_swap_cmp): Likewise for param "insn".
17582 (s390_z10_optimize_cmp): Likewise for param "insn" and locals
17583 "prev_insn", "next_insn".
17584 (s390_reorg): Likewise for locals "insn", "target".
17585 (s390_z10_prevent_earlyload_conflicts): Likewise for local "insn".
17586 (s390_sched_variable_issue): For now, rename param "insn" to
17587 "uncast_insn", introducing a checked cast.
17588 (s390_sched_init): Replace NULL_RTX with NULL when dealing with
17590 (s390_loop_unroll_adjust): Strengthen local "insn" from rtx to
17591 rtx_insn *. Use for_each_rtx_in_insn rather than for_each_rtx.
17593 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17595 * config/rx/rx-protos.h (rx_adjust_insn_length): Strengthen first
17596 param from rtx to rtx_insn *.
17597 * config/rx/rx.c (rx_adjust_insn_length): Likewise for param "insn".
17599 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17601 * config/rs6000/rs6000-protos.h (output_cbranch): Strengthen param
17602 4 from rtx to rtx_insn *.
17603 (rs6000_final_prescan_insn): Likewise for first param.
17604 * config/rs6000/rs6000.c (rs6000_emit_set_const): Likewise for
17606 (rs6000_get_some_local_dynamic_name): Likewise.
17607 (output_cbranch): Likewise for param "insn".
17608 (spe_func_has_64bit_regs_p): Likewise for locals "insns", "insn".
17609 (rs6000_function_ok_for_sibcall): Likewise for locals "top", "insn".
17610 (rs6000_emit_allocate_stack): Likewise for local "insn".
17611 (load_cr_save): Likewise.
17612 (restore_saved_cr): Likewise.
17613 (restore_saved_lr): Likewise.
17614 (emit_cfa_restores): Likewise.
17615 (rs6000_output_function_epilogue): Likewise for locals "insn" and
17616 "deleted_debug_label".
17617 (rs6000_output_mi_thunk): Likewise for local "insn".
17618 (rs6000_final_prescan_insn): Likewise for param "insn".
17620 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17622 * config/picochip/picochip-protos.h (picochip_final_prescan_insn):
17623 Strengthen param "insn" from rtx to rtx_insn *.
17624 * config/picochip/picochip.c (picochip_current_prescan_insn):
17625 Likewise for this variable.
17626 (picochip_final_prescan_insn): Likewise for param "insn".
17628 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17630 * config/pa/pa-protos.h (pa_output_call): Strengthen first param
17631 from rtx to rtx_insn *.
17632 (pa_output_indirect_call): Likewise.
17633 (pa_adjust_insn_length): Likewise.
17634 (pa_attr_length_millicode_call): Likewise.
17635 (pa_attr_length_call): Likewise.
17636 (pa_attr_length_indirect_call): Likewise.
17638 * config/pa/pa.c (pa_adjust_insn_length): Likewise for param
17640 (pa_attr_length_millicode_call): Likewise.
17641 (pa_attr_length_call): Likewise.
17642 (pa_output_call): Likewise.
17643 (pa_attr_length_indirect_call): Likewise.
17644 (pa_output_indirect_call): Likewise.
17646 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17648 * config/nds32/nds32-protos.h (nds32_adjust_insn_length):
17649 Strengthen first param from rtx to rtx_insn *.
17650 * config/nds32/nds32.c (nds32_adjust_insn_length): Likewise for
17653 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17655 * config/mips/mips-protos.h (mips_emit_move): Strengthen return
17656 type from rtx to rtx_insn *.
17657 (mips_expand_call): Likewise.
17658 (mips_adjust_insn_length): Likewise for first param.
17659 (mips_output_conditional_branch): Likewise.
17660 (mips_output_order_conditional_branch): Likewise.
17661 (mips_final_prescan_insn): Likewise.
17663 * config/mips/mips.c (SEQ_BEGIN): For now, add checked cast to
17664 rtx_insn * for the SEQUENCE case.
17665 (SEQ_END): Likewise.
17666 (mips_emit_move): Strengthen return type from rtx to rtx_insn *.
17667 (mips_emit_call_insn): Likewise, also for local "insn".
17668 (mips16_gp_pseudo_reg): Likewise for local "scan".
17669 (mips16_build_call_stub): Likewise for return type and for local
17670 "insn". Introduce a new local "pattern" so that "insn" can indeed
17672 (mips_expand_call): Strengthen return type and local "insn" from
17674 (mips_block_move_loop): Strengthen local "label" from rtx to
17676 (mips_expand_synci_loop): Likewise for locals "label",
17678 (mips_set_frame_expr): Strengthen local "insn" from rtx to
17680 (mips16e_collect_argument_saves): Likewise for locals "insn",
17682 (mips_find_gp_ref): Likewise for param of callback for "pred"
17683 param, and for local "insn".
17684 (mips_insn_has_inflexible_gp_ref_p): Likewise for param "insn".
17685 (mips_insn_has_flexible_gp_ref_p): Likewise.
17686 (mips_epilogue_emit_cfa_restores): Likewise for return type and
17688 (mips_epilogue_set_cfa): Likewise for local "insn".
17689 (mips_expand_epilogue): Likewise.
17690 (mips_adjust_insn_length): Likewise for param "insn".
17691 (mips_output_conditional_branch): Likewise.
17692 (mips_output_order_conditional_branch): Likewise.
17693 (struct mips_ls2): Likewise for fields "alu1_turn_enabled_insn",
17694 "alu2_turn_enabled_insn", "falu1_turn_enabled_insn",
17695 "falu2_turn_enabled_insn".
17696 (mips_builtin_branch_and_move): Strengthen locals "true_label",
17697 "done_label" from rtx to rtx_code_label *.
17698 (struct mips16_constant): Likewise for field "label".
17699 (mips16_add_constant): Likewise for return type.
17700 (mips16_emit_constants_1): Strengthen return type and param "insn"
17701 from rtx to rtx_insn *.
17702 (mips16_emit_constants): Likewise for param "insn".
17703 (mips16_insn_length): Likewise.
17704 (mips16_rewrite_pool_constant): Strengthen local "label" from rtx
17705 to rtx_code_label *.
17706 (struct mips16_rewrite_pool_refs_info): Strengthen field "insn"
17707 from rtx to rtx_insn *.
17708 (mips16_lay_out_constants): Likewise for locals "insn", "barrier",
17709 "jump". Strengthen local "label" from rtx to rtx_code_label *.
17710 (r10k_simplify_address): Strengthen param "insn" and local
17711 "def_insn" from rtx to rtx_insn *.
17712 (r10k_safe_address_p): Strengthen param "insn" from rtx to
17714 (r10k_needs_protection_p_1): Update target type of cast of data
17715 from to rtx to rtx_insn *.
17716 (r10k_needs_protection_p_store): Strengthen local "insn_ptr" from
17717 rtx * to rtx_insn **.
17718 (r10k_needs_protection_p): Strengthen param "insn" from rtx to
17720 (r10k_insert_cache_barriers): Likewise for locals "insn", "end".
17721 (mips_call_expr_from_insn): Likewise for param "insn".
17722 (mips_pic_call_symbol_from_set): Likewise for local "def_insn".
17723 (mips_find_pic_call_symbol): Likewise for param "insn".
17724 (mips_annotate_pic_calls): Likewise for local "insn".
17725 (mips_sim_insn): Likewise for this variable.
17726 (struct mips_sim): Likewise for field "insn" within elements of
17728 (mips_sim_wait_reg): Likewise for param "insn".
17729 (mips_sim_wait_regs): Likewise.
17730 (mips_sim_wait_units): Likewise.
17731 (mips_sim_wait_insn): Likewise.
17732 (mips_sim_issue_insn): Likewise.
17733 (mips_sim_finish_insn): Likewise.
17734 (mips_seq_time): Likewise for param "seq" and local "insn".
17735 (vr4130_avoid_branch_rt_conflict): Likewise for param "insn" and
17736 locals "first", "second".
17737 (vr4130_align_insns): Likewise for locals "insn", "subinsn",
17738 "last", "last2", "next".
17739 (mips_avoid_hazard): Likewise for params "after", "insn".
17740 (mips_reorg_process_insns): Likewise for locals "insn",
17741 "last_insn", "subinsn", "next_insn".
17742 (mips_has_long_branch_p): Likewise for locals "insn", "subinsn".
17743 (mips16_split_long_branches): Likewise for locals "insn" "jump",
17745 (mips_output_mi_thunk): Likewise for local "insn".
17746 (mips_final_prescan_insn): Likewise for param "insn".
17748 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17750 * config/microblaze/microblaze.c (microblaze_call_tls_get_addr):
17751 Strengthen return type and local "insns" from rtx to rtx_insn *.
17752 (microblaze_legitimize_tls_address): Likewise for local "insns".
17753 (microblaze_block_move_loop): Strengthen local "label" from rtx
17754 to rtx_code_label *.
17755 (microblaze_expand_prologue): Strengthen two locals named "insn"
17756 from rtx to rtx_insn *.
17757 (microblaze_asm_output_mi_thunk): Likewise for local "insn".
17758 (microblaze_expand_divide): Likewise for locals "jump", "cjump",
17759 "insn". Strengthen locals "div_label", "div_end_label" from rtx
17760 to rtx_code_label *.
17762 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17764 * config/mep/mep-protos.h (mep_mulr_source): Strengthen first
17765 param from rtx to rtx_insn *.
17766 (mep_reuse_lo): Likewise for third param.
17767 (mep_use_post_modify_p): Likewise for first param.
17768 (mep_core_address_length): Likewise.
17769 (mep_cop_address_length): Likewise.
17770 (mep_final_prescan_insn): Likewise.
17771 (mep_store_data_bypass_p): Likewise for both params.
17772 (mep_mul_hilo_bypass_p): Likewise.
17773 (mep_ipipe_ldc_p): Likewise for param.
17775 * config/mep/mep.c (mep_mulr_source): Likewise for param "insn".
17776 (mep_rewrite_mult): Likewise.
17777 (mep_rewrite_mulsi3): Likewise.
17778 (mep_rewrite_maddsi3): Likewise.
17779 (mep_reuse_lo_p_1): Likewise.
17780 (mep_reuse_lo_p): Likewise.
17781 (mep_frame_expr): Likewise.
17782 (mep_make_parallel): Likewise for both params.
17783 (mep_use_post_modify_p_1): Likewise for param "set_insn" and
17785 (mep_use_post_modify_p): Likewise for param "insn".
17786 (mep_core_address_length): Likewise.
17787 (mep_cop_address_length): Likewise.
17788 (mep_reg_set_in_function): Likewise for local "insn".
17789 (mep_asm_without_operands_p): Likewise.
17790 (F): Likewise for return type and param "x".
17791 (add_constant): Likewise for local "insn".
17792 (maybe_dead_move): Likewise for return type and local "insn".
17793 (mep_expand_prologue): Likewise for local "insn".
17794 (mep_final_prescan_insn): Likewise for param "insn".
17795 (mep_reorg_regmove): Likewise for param "insns" and locals "insn",
17796 "next", "follow", "x".
17797 (mep_insert_repeat_label_last): Likewise for return type, param
17798 "last_insn", and locals "next", "prev". Strengthen param "label"
17799 from rtx to rtx_code_label *.
17800 (struct mep_doloop_begin): Strengthen field "insn" from rtx to
17802 (struct mep_doloop_end): Likewise for fields "insn" and
17804 (mep_reorg_repeat): Likewise for param "insns" and local "insn".
17805 Strengthen local "repeat_label" from rtx to rtx_code_label *.
17806 (mep_invertable_branch_p): Strengthen param "insn" from rtx to
17808 (mep_invert_branch): Likewise for params "insn" and "after".
17809 (mep_reorg_erepeat): Likewise for param "insns" and locals
17810 "insn", "prev", "new_last", "barrier", "user". Strengthen local
17811 "l" from rtx to rtx_code_label *.
17812 (mep_jmp_return_reorg): Strengthen param "insns" and local "insn"
17813 from rtx to rtx_insn *.
17814 (mep_reorg_addcombine): Likewise for param "insns" and locals
17816 (add_sp_insn_p): Likewise for param "insn".
17817 (mep_reorg_noframe): Likewise for param "insns" and locals
17818 "start_frame_insn", "end_frame_insn", "next".
17819 (mep_reorg): Likewise for local "insns".
17820 (mep_store_data_bypass_1): Likewise for param "prev". Add checked
17822 (mep_store_data_bypass_p): Likewise for params "prev", "insn".
17823 (mep_mul_hilo_bypass_p): Likewise.
17824 (mep_ipipe_ldc_p): Likewise for param "insn".
17825 (mep_make_bundle): Likewise for return type, param "cop" and local
17826 "insn", splitting out the latter into a new local "seq" for when it
17827 is a SEQUENCE rather than an insn.
17828 (core_insn_p): Likewise for param "insn".
17829 (mep_bundle_insns): Likewise for param "insns" and locals "insn",
17830 "last", "first", "note", "prev", "core_insn".
17832 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17834 * config/m68k/m68k-protos.h (output_btst): Strengthen param 4 from
17836 (strict_low_part_peephole_ok): Likewise for param 2 "first_insn".
17837 (m68k_final_prescan_insn): Likewise for first param.
17839 * config/m68k/m68k.c (m68k_emit_movem): Likewise for return type.
17840 (m68k_set_frame_related): Likewise for param "insn".
17841 (output_btst): Likewise for param "insn".
17842 (m68k_final_prescan_insn): Likewise.
17843 (m68k_move_to_reg): Likewise for local "insn".
17844 (m68k_call_tls_get_addr): Likewise for local "insns".
17845 (m68k_call_m68k_read_tp): Likewise.
17846 (strict_low_part_peephole_ok): Likewise for param "first_insn".
17847 (m68k_output_mi_thunk): Likewise for local "insn".
17849 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17851 * config/iq2000/iq2000-protos.h (final_prescan_insn): Strengthen
17852 first param from rtx to rtx_insn *.
17853 (iq2000_adjust_insn_length): Likewise.
17854 (iq2000_output_conditional_branch): Likewise.
17855 * config/iq2000/iq2000.c (final_prescan_insn): Likewise for param
17856 "insn" and local "nop_insn".
17857 (iq2000_annotate_frame_insn): Likewise for param "insn".
17858 (iq2000_expand_prologue): Likewise for both locals "insn".
17859 (iq2000_adjust_insn_length): Likewise for param "insn".
17860 (iq2000_output_conditional_branch): Likewise.
17862 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17864 * config/ia64/ia64.c (ia64_expand_tls_address): Strengthen local
17865 "insns" from rtx to rtx_insn *.
17866 (ia64_emit_cond_move): Likewise for locals "insn", "first".
17867 (struct spill_fill_data): Likewise for field "init_after" and for
17868 elements of array field "prev_insn".
17869 (spill_restore_mem): Likewise for locals "insn", "first".
17870 (do_spill): Likewise for local "insn".
17871 (do_restore): Likewise.
17872 (ia64_expand_prologue): Likewise.
17873 (ia64_expand_epilogue): Likewise.
17874 (emit_insn_group_barriers): Likewise for locals "insn",
17876 (emit_all_insn_group_barriers): Likewise for locals "insn",
17878 (dfa_stop_insn): Likewise for this global.
17879 (dfa_pre_cycle_insn): Likewise.
17880 (ia64_nop): Likewise.
17881 (final_emit_insn_group_barriers): Likewise for locals "insn",
17883 (emit_predicate_relation_info): Likewise for locals "head", "n",
17885 (ia64_reorg): Likewise for local "insn".
17886 (ia64_output_mi_thunk): Likewise.
17887 (expand_vec_perm_interleave_2): Likewise for local "seq".
17889 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17891 * config/i386/i386-protos.h (ix86_avoid_lea_for_add): Strengthen
17892 param 1 "insn" from rtx to rtx_insn *.
17893 (ix86_use_lea_for_mov): Likewise.
17894 (ix86_avoid_lea_for_addr): Likewise.
17895 (ix86_split_lea_for_addr): Likewise.
17896 (ix86_lea_for_add_ok): Likewise.
17897 (ix86_output_call_insn): Likewise.
17899 * config/i386/i386.c (ix86_va_start): Likewise for local "seq".
17900 (ix86_get_drap_rtx): Likewise for locals "seq", "insn".
17901 (ix86_output_function_epilogue): Likewise for locals "insn",
17902 "deleted_debug_label".
17903 (legitimize_tls_address): Likewise for local "insn".
17904 (get_some_local_dynamic_name): Likewise.
17905 (increase_distance): Likewise for params "prev", "next".
17906 (distance_non_agu_define_in_bb): Likewise for params "insn",
17907 "start" and locals "prev", "next".
17908 (distance_non_agu_define): Likewise for param "insn".
17909 (distance_agu_use_in_bb): Likewise for params "insn", "start" and
17910 locals "next", "prev".
17911 (distance_agu_use): Likewise for param "insn".
17912 (ix86_lea_outperforms): Likewise.
17913 (ix86_ok_to_clobber_flags): Likewise.
17914 (ix86_avoid_lea_for_add): Likewise.
17915 (ix86_use_lea_for_mov): Likewise.
17916 (ix86_avoid_lea_for_addr): Likewise.
17917 (find_nearest_reg_def): Likewise, also for locals "prev", "start".
17918 (ix86_split_lea_for_addr): Likewise for param "insn".
17919 (ix86_lea_for_add_ok): Likewise for param "insn".
17920 (ix86_expand_carry_flag_compare): Likewise for local
17922 (ix86_expand_int_movcc): Likewise.
17923 (ix86_output_call_insn): Likewise for param "insn".
17924 (ix86_output_call_insn): Likewise for local "i".
17925 (x86_output_mi_thunk): Introduce local "insn", using it in place
17926 of "tmp" when dealing with insns.
17927 (ix86_avoid_jump_mispredicts): Likewise for locals "insn",
17929 (ix86_pad_returns): Likewise for locals "ret", "prev".
17930 (ix86_count_insn_bb): Likewise for local "insn".
17931 (ix86_pad_short_function): Likewise for locals "ret", "insn".
17932 (ix86_seh_fixup_eh_fallthru): Likewise for locals "insn", "next".
17933 (ix86_vector_duplicate_value): Likewise for local "insn", "seq".
17934 (expand_vec_perm_interleave2): Likewise for local "seq".
17935 (expand_vec_perm_vperm2f128_vblend): Likewise.
17936 (ix86_loop_unroll_adjust): Likewise for local "insn". Convert
17937 call to for_each_rtx with for_each_rtx_in_insn.
17939 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17941 * config/i386/i386.c (setup_incoming_varargs_64): Strengthen local
17942 "label" from rtx to rtx_code_label *.
17943 (ix86_expand_prologue): Likewise.
17944 (ix86_expand_split_stack_prologue): Likewise for locals "label",
17946 (ix86_split_idivmod): Likewise for locals "end_label" and
17948 (ix86_expand_branch): Likewise for local "label2".
17949 (ix86_expand_aligntest): Likewise for return type and local "label".
17950 (expand_set_or_movmem_via_loop): Likewise for locals "out_label" and
17952 (expand_movmem_epilogue): Likewise for the various locals named
17954 (expand_setmem_epilogue): Likewise.
17955 (expand_small_movmem_or_setmem): Likewise for local "label".
17956 (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves):
17957 Strengthen param "done_label" from rtx * to rtx_code_label **.
17958 Strengthen locals "loop_label" and "label" from rtx to
17960 (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves):
17961 Likewise for locals "loop_label", "label".
17962 (ix86_expand_set_or_movmem): Likewise for locals "label",
17963 "jump_around_label", "hot_label".
17964 (ix86_expand_strlensi_unroll_1): Likewise for locals
17965 "align_2_label", align_3_label", "align_4_label", "end_0_label",
17967 (x86_emit_floatuns): Likewise for locals "neglab", "donelab".
17968 (void ix86_emit_i387_log1p): Likewise for locals "label1",
17969 "label2", "jump_label".
17970 (ix86_expand_sse_compare_and_jump): Likewise for return type and
17972 (ix86_expand_lfloorceil): Likewise for local "label".
17973 (ix86_expand_rint): Likewise.
17974 (ix86_expand_floorceildf_32): Likewise.
17975 (ix86_expand_floorceil): Likewise.
17976 (ix86_expand_rounddf_32): Likewise.
17977 (ix86_expand_trunc): Likewise.
17978 (ix86_expand_truncdf_32): Likewise.
17979 (ix86_expand_round): Likewise.
17981 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17983 * config/h8300/h8300-protos.h (final_prescan_insn): Strengthen
17984 first param from rtx to rtx_insn *.
17985 (h8300_insn_length_from_table): Likewise.
17986 * config/h8300/h8300.c (F): Likewise for return type and param
17988 (Fpa): Add a checked cast to rtx_insn *.
17989 (h8300_emit_stack_adjustment): Strengthen local "x" from rtx to
17991 (final_prescan_insn): Likewise for param "insn".
17992 (h8300_binary_length): Likewise.
17993 (h8300_insn_length_from_table): Likewise.
17995 2014-08-25 David Malcolm <dmalcolm@redhat.com>
17997 * config/epiphany/epiphany-protos.h (epiphany_final_prescan_insn):
17998 Strengthen first param "insn" from rtx to rtx_insn *.
18000 * config/epiphany/epiphany.c (epiphany_final_prescan_insn):
18002 (frame_insn): Likewise for return type. Introduce local "insn"
18003 for use in place of local "x" for use as an rtx_insn *.
18004 (frame_move_insn): Strengthen return type from rtx to rtx_insn *.
18005 (epiphany_expand_prologue): Likewise for local "insn".
18006 * config/epiphany/mode-switch-use.c (insert_uses): Likewise.
18007 * config/epiphany/resolve-sw-modes.c
18008 (pass_resolve_sw_modes::execute): Likewise for locals "insn" and
18011 2014-08-25 David Malcolm <dmalcolm@redhat.com>
18013 * config/c6x/c6x-protos.h (c6x_get_unit_specifier): Strengthen
18014 param from rtx to rtx_insn *.
18015 (c6x_final_prescan_insn): Likewise for first param.
18017 * config/c6x/c6x.c (c6x_current_insn): Likewise for this variable.
18018 (c6x_output_mi_thunk): Replace use of NULL_RTX with NULL.
18019 (c6x_expand_compare): Strengthen local "insns" from rtx to
18021 (c6x_get_unit_specifier): Likewise for param "insn".
18022 (c6x_print_unit_specifier_field): Likewise.
18023 (c6x_final_prescan_insn): Likewise.
18024 (emit_add_sp_const): Likewise for local "insn".
18025 (c6x_expand_prologue): Likewise.
18027 2014-08-25 David Malcolm <dmalcolm@redhat.com>
18029 * config/bfin/bfin-protos.h (asm_conditional_branch): Strengthen
18030 param 1 from rtx to rtx_insn *.
18031 * config/bfin/bfin.c (expand_prologue_reg_save): Likewise for
18032 the various locals named "insn".
18033 (expand_epilogue_reg_restore): Likewise.
18034 (frame_related_constant_load): Likewise.
18035 (add_to_reg): Likewise.
18036 (emit_link_insn): Likewise.
18037 (do_link): Likewise.
18038 (expand_interrupt_handler_prologue): Likewise.
18039 (branch_dest): Likewise for param "branch".
18040 (asm_conditional_branch): Likewise for param "insn".
18041 (gen_one_bundle): Likewise for elements of param "slot" and local
18043 (bfin_gen_bundles): Likewise for locals "insn", "next" and
18044 elements of local "slot".
18045 (reorder_var_tracking_notes): Likewise for locals "insn", "next",
18046 "queue", "next_queue", "prev".
18047 (workaround_rts_anomaly): Likewise for locals "insn", "first_insn".
18048 (add_sched_insns_for_speculation): Likewise for local "insn".
18050 2014-08-25 David Malcolm <dmalcolm@redhat.com>
18052 * config/avr/avr-protos.h (output_movqi): Strengthen first param
18053 from rtx to rtx_insn *.
18054 (output_movhi): Likewise.
18055 (output_movsisf): Likewise.
18056 (avr_out_tstsi): Likewise.
18057 (avr_out_tsthi): Likewise.
18058 (avr_out_tstpsi): Likewise.
18059 (avr_out_compare): Likewise.
18060 (avr_out_compare64): Likewise.
18061 (avr_out_movpsi): Likewise.
18062 (ashlqi3_out): Likewise.
18063 (ashlhi3_out): Likewise.
18064 (ashlsi3_out): Likewise.
18065 (ashrqi3_out): Likewise.
18066 (ashrhi3_out): Likewise.
18067 (ashrsi3_out): Likewise.
18068 (lshrqi3_out): Likewise.
18069 (lshrhi3_out): Likewise.
18070 (lshrsi3_out): Likewise.
18071 (avr_out_ashlpsi3): Likewise.
18072 (avr_out_ashrpsi3): Likewise.
18073 (avr_out_lshrpsi3): Likewise.
18074 (avr_out_fract): Likewise.
18075 (avr_out_sbxx_branch): Likewise.
18076 (avr_out_round): Likewise.
18077 (avr_out_xload): Likewise.
18078 (avr_out_movmem): Likewise.
18079 (adjust_insn_length): Likewise.
18080 (avr_out_lpm): Likewise.
18081 (reg_unused_after): Likewise.
18082 (_reg_unused_after): Likewise.
18083 (avr_jump_mode): Likewise for second param.
18084 (jump_over_one_insn): Likewise for first param.
18085 (avr_final_prescan_insn): Likewise.
18086 (out_shift_with_cnt): Likewise for second param.
18088 * config/avr/avr.c (get_sequence_length): Likewise for param
18089 "insns" and local "insn".
18090 (emit_push_byte): Likewise for local "insn".
18091 (emit_push_sfr): Likewise.
18092 (avr_prologue_setup_frame): Likewise for locals "insn",
18093 "fp_plus_insns", "sp_plus_insns".
18094 (avr_expand_epilogue): Likewise for local "fp_plus_insns",
18096 (avr_jump_mode): Likewise for param "insn".
18097 (avr_final_prescan_insn): Likewise.
18098 (avr_find_unused_d_reg): Likewise.
18099 (avr_out_lpm_no_lpmx): Likewise.
18100 (avr_out_lpm): Likewise.
18101 (avr_out_xload): Likewise.
18102 (output_movqi): Likewise.
18103 (output_movhi): Likewise.
18104 (out_movqi_r_mr): Likewise.
18105 (out_movhi_r_mr): Likewise.
18106 (out_movsi_r_mr): Likewise.
18107 (out_movsi_mr_r): Likewise.
18108 (output_movsisf): Likewise.
18109 (avr_out_load_psi): Likewise.
18110 (avr_out_store_psi): Likewise.
18111 (avr_out_movpsi): Likewise.
18112 (out_movqi_mr_r): Likewise.
18113 (avr_out_movhi_mr_r_xmega): Likewise.
18114 (out_movhi_mr_r): Likewise.
18115 (compare_condition): Likewise for param "insn" and local "next".
18116 (compare_sign_p): Likewise for param "insn".
18117 (compare_diff_p): Likewise.
18118 (compare_eq_p): Likewise.
18119 (avr_out_compare): Likewise.
18120 (avr_out_compare64): Likewise.
18121 (avr_out_tsthi): Likewise.
18122 (avr_out_tstpsi): Likewise.
18123 (avr_out_tstsi): Likewise.
18124 (out_shift_with_cnt): Likewise.
18125 (ashlqi3_out): Likewise.
18126 (ashlhi3_out): Likewise.
18127 (avr_out_ashlpsi3): Likewise.
18128 (ashlsi3_out): Likewise.
18129 (ashrqi3_out): Likewise.
18130 (ashrhi3_out): Likewise.
18131 (avr_out_ashrpsi3): Likewise.
18132 (ashrsi3_out): Likewise.
18133 (lshrqi3_out): Likewise.
18134 (lshrhi3_out): Likewise.
18135 (avr_out_lshrpsi3): Likewise.
18136 (lshrsi3_out): Likewise.
18137 (avr_out_fract): Likewise.
18138 (avr_out_round): Likewise.
18139 (avr_adjust_insn_length): Likewise.
18140 (reg_unused_after): Likewise.
18141 (_reg_unused_after): Likewise.
18142 (avr_compare_pattern): Likewise.
18143 (avr_reorg_remove_redundant_compare): Likewise for param "insn1"
18144 and locals "branch1", "branch2", "insn2", "jump".
18145 (avr_reorg): Likewise for local "insn".
18146 (avr_2word_insn_p): Likewise for param "insn".
18147 (jump_over_one_insn_p): Likewise.
18148 (avr_out_sbxx_branch): Likewise.
18149 (avr_out_movmem): Likewise.
18151 2014-08-25 David Malcolm <dmalcolm@redhat.com>
18153 * config/arm/arm-protos.h (arm_final_prescan_insn): Strengthen
18154 param from rtx to rtx_insn *.
18155 (thumb1_final_prescan_insn): Likewise.
18156 (thumb2_final_prescan_insn): Likewise.
18158 * config/arm/arm.c (emit_set_insn): Strengthen return type from
18160 (struct minipool_node): Likewise for field "insn".
18161 (dump_minipool): Likewise for param "scan".
18162 (create_fix_barrier): Likewise for local "from". Strengthen local
18163 "label" from rtx to rtx_code_label *.
18164 (push_minipool_barrier): Strengthen param "insn" from rtx to
18166 (push_minipool_fix): Likewise.
18167 (note_invalid_constants): Likewise.
18168 (thumb2_reorg): Likewise for local "insn".
18169 (arm_reorg): Likewise.
18170 (thumb2_final_prescan_insn): Likewise for param
18171 "insn" and local "first_insn".
18172 (arm_final_prescan_insn): Likewise for param "insn" and locals
18173 "start_insn", "this_insn".
18174 (arm_debugger_arg_offset): Likewise for param "insn".
18175 (thumb1_emit_multi_reg_push): Likewise for return type and local
18177 (thumb1_final_prescan_insn): Likewise for param "insn".
18178 (thumb_far_jump_used_p): Likewise for local "insn".
18179 (thumb1_expand_prologue): Likewise.
18180 (arm_expand_epilogue_apcs_frame): Likewise.
18181 (arm_expand_epilogue): Likewise for locals "insn", "tmp".
18182 (arm_split_compare_and_swap): Strengthen locals "label1", "label2"
18183 from rtx to rtx_code_label *.
18184 (arm_split_atomic_op): Likewise for local "label".
18185 (arm_emit_coreregs_64bit_shift): Likewise for local "done_label".
18187 2014-08-25 David Malcolm <dmalcolm@redhat.com>
18189 * config/arc/arc-protos.h (arc_final_prescan_insn): Strengthen
18190 first param from rtx to rtx_insn *.
18191 (arc_verify_short): Likewise.
18192 (arc_short_long): Likewise.
18193 (arc_need_delay): Likewise.
18195 * config/arc/arc.c (struct arc_ccfsm): Likewise for field
18197 (arc_ccfsm_advance): Likewise for param "insn" and locals
18198 "start_insn", "this_insn".
18199 (arc_ccfsm_record_condition): Likewise for local "seq_insn".
18200 (arc_ccfsm_post_advance): Likewise for param "insn".
18201 (arc_next_active_insn): Likewise for return type and param "insn".
18202 Convert NULL_RTX to NULL as appropriate. Add a checked cast.
18203 (arc_verify_short): Strengthen param "insn" from rtx to rtx_insn *.
18204 (output_short_suffix): Likewise for local "insn".
18205 (arc_final_prescan_insn): Likewise for param "insn". Remove
18206 now-redundant checked cast.
18207 (arc_reorg): Strengthen locals "insn", "top_label", "lp", "prev",
18208 "lp_simple", "next", "mov", "scan", "link_insn" from rtx to
18209 rtx_insn *. Add a checked cast. Introduce local "lc_set_insn"
18210 for use where lc_set became an insn.
18211 (arc_adjust_insn_length): Strengthen locals "prev", "succ" from
18213 (arc_get_insn_variants): Likewise for local "prev".
18214 (arc_ifcvt): Likewise for locals "insn", "seq", "prev", "pprev",
18216 (arc_predicate_delay_insns): Likewise for local "insn".
18217 (arc_pad_return): Likewise for local "prev". For now, add a
18218 checked cast when extracting the insn from "final_sequence".
18219 (arc_short_long): Likewise for param "insn".
18220 (arc_need_delay): Likewise for param "insn" and local "next".
18221 (arc_label_align): Likewise for locals "prev", "next".
18223 2014-08-25 David Malcolm <dmalcolm@redhat.com>
18225 * config/alpha/alpha.c (alpha_emit_set_const): Strengthen local
18226 "insn" from rtx to rtx_insn *.
18227 (alpha_gp_save_rtx): Likewise for local "seq".
18228 (alpha_instantiate_decls): Likewise for local "top".
18229 (get_some_local_dynamic_name): Likewise for local "insn".
18230 (alpha_does_function_need_gp): Likewise.
18231 (set_frame_related_p): Likewise for return type and for locals
18233 (emit_frame_store_1): Likewise for local "insn".
18234 (alpha_expand_prologue): Likewise for locals "insn", "seq".
18235 (alpha_end_function): Likewise for local "insn".
18236 (alpha_output_mi_thunk_osf): Likewise.
18237 (alphaev4_insn_pipe): Likewise for param "insn".
18238 (alphaev5_insn_pipe): Likewise.
18239 (alphaev4_next_group): Likewise for return type and param 1
18241 (alphaev5_next_group): Likewise.
18242 (alpha_align_insns_1): Likewise for return type and param 1 of
18243 callback param "next_group", and for locals "i", "next", "prev",
18244 "where", "where2", "insn".
18246 2014-08-25 Bernd Schmidt <bernds@codesourcery.com>
18248 * tree-nested.c (finalize_nesting_tree_1): Initialize temporary earlier
18249 rather than modifying the stmt.
18251 2014-08-25 Jan-Benedict Glaw <jbglaw@lug-owl.de>
18253 * config/rs6000/rs6000.c (rs6000_return_in_msb): Fix fallout from
18254 cgraph_state conversion.
18256 2014-08-25 David Malcolm <dmalcolm@redhat.com>
18258 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
18259 Strengthen local "insns" from rtx to rtx_insn *.
18260 (aarch64_set_frame_expr): Likewise for local "insn".
18261 (aarch64_save_or_restore_fprs): Likewise.
18262 (aarch64_save_or_restore_callee_save_registers): Likewise.
18263 (aarch64_expand_prologue): Likewise.
18264 (aarch64_expand_epilogue): Likewise.
18265 (aarch64_output_mi_thunk): Likewise.
18266 (aarch64_split_compare_and_swap): Strengthen locals "label1" and
18267 "label2" from rtx to rtx_code_label *.
18268 (aarch64_split_atomic_op): Likewise for local "label".
18270 2014-08-25 Martin Liska <mliska@suse.cz>
18272 * cgraph.h (symtab_node):
18273 (bool needed_p (void)): created from decide_is_symbol_needed
18274 (bool referred_to_p (void)): created from referred_to_p
18275 (static cgraph_node *get_for_asmname (tree asmname)): created from symtab_node_for_asm
18276 * cgraph.h (cgraph_node):
18277 (void assemble_thunks_and_aliases (void)): created from assemble_thunks_and_aliases
18278 (void expand (void)): created from expand_function
18279 (static void finalize_function (tree, bool)): created from cgraph_finalize_function
18280 (static cgraph_local_info *local_info (tree decl)): created from cgraph_local_info
18281 (static cgraph_global_info *global_info (tree)): created from cgraph_global_info
18282 (static cgraph_rtl_info *rtl_info (tree)): created from cgraph_rtl_info
18283 * cgraph.h (varpool_node):
18284 (static void add (tree decl): created from varpool_add_new_variable
18285 * cgraph.h (cgraph_edge):
18286 void remove (void);
18287 (void remove_caller (void)): created from cgraph_edge_remove_caller
18288 (void remove_callee (void)): created from cgraph_edge_remove_callee
18289 (void set_call_stmt (gimple new_stmt, bool update_speculative = true)):
18290 created from cgraph_set_call_stmt
18291 (void redirect_callee (cgraph_node *n)): created from cgraph_redirect_edge_callee
18292 (cgraph_edge *make_direct (cgraph_node *callee)): created from cgraph_make_edge_direct
18293 (cgraph_edge *make_speculative (cgraph_node *n2, gcov_type direct_count,
18294 gimple redirect_call_stmt_to_callee (void)): created from cgraph_turn_edge_to_speculative
18295 (void speculative_call_info (cgraph_edge *&direct, cgraph_edge *&indirect, ipa_ref *&reference)):
18296 created from cgraph_speculative_call_info
18297 (cgraph_edge * clone (cgraph_node *n, gimple call_stmt, unsigned stmt_uid, gcov_type count_scale,
18298 int freq_scale, bool update_original)): created from cgraph_clone_edge
18299 (cgraph_edge *resolve_speculation (tree callee_decl)): created from cgraph_resolve_speculation
18300 (bool cannot_lead_to_return_p (void)): created from cannot_lead_to_return_p
18301 (bool recursive_p (void)): created from cgraph_edge_recursive_p
18302 (bool maybe_hot_p (void)): created from cgraph_maybe_hot_edge_p
18303 (static unsigned int rebuild_edges (void)): created from rebuild_cgraph_edges
18304 (static void rebuild_references (void)): created from cgraph_rebuild_references
18305 * cgraph.h (symbol_table):
18306 (create_reference): renamed from add_reference
18307 (maybe_create_reference): renamed from maybe_add_reference
18308 (void register_symbol (symtab_node *node)): new function
18309 (void clear_asm_symbols (void)): new function
18310 (void unregister (symtab_node *node)): new function
18311 (void release_symbol (cgraph_node *node, int uid)): new function
18312 (cgraph_node * allocate_cgraph_symbol (void)): new function
18313 (void initialize (void)): created from cgraph_init
18314 (symtab_node *first_symbol (void)):new function
18315 (asm_node *first_asm_symbol (void)):new function
18316 (symtab_node *first_defined_symbol (void)):new function
18317 (varpool_node *first_variable (void)):new function
18318 (varpool_node *next_variable (varpool_node *node)):new function
18319 (varpool_node *first_static_initializer (void)):new function
18320 (varpool_node *next_static_initializer (varpool_node *node)):new function
18321 (varpool_node *first_defined_variable (void)):new function
18322 (varpool_node *next_defined_variable (varpool_node *node)):new function
18323 (cgraph_node *first_defined_function (void)):new function
18324 (cgraph_node *next_defined_function (cgraph_node *node)):new function
18325 (cgraph_node *first_function (void)):new function
18326 (cgraph_node *next_function (cgraph_node *node)):new function
18327 (cgraph_node *first_function_with_gimple_body (void)):new function
18328 (asm_node *finalize_toplevel_asm (tree asm_str)): created from add_asm_node
18329 (bool remove_unreachable_nodes (bool before_inlining_p, FILE *file)):
18330 created from symtab_remove_unreachable_nodes
18331 (void remove_unreferenced_decls (void)): created from varpool_remove_unreferenced_decls
18332 (void process_new_functions (void)): created from cgraph_process_new_functions
18333 (void process_same_body_aliases (void)): created from cgraph_process_same_body_aliases
18334 (bool output_variables (void)): created from varpool_node::output_variables
18335 (void output_asm_statements (void)): created from output_asm_statements
18336 (void finalize_compilation_unit (void)): created from finalize_compilation_unit
18337 (void compile (void)): created from compile
18338 (void output_weakrefs (void)): created from output_weakrefs
18339 (cgraph_node *create_empty (void)): created from cgraph_node::create_empty
18340 (cgraph_edge *create_edge (cgraph_node *caller, cgraph_node *callee, gimple call_stmt,
18341 gcov_type count, int freq, bool indir_unknown_callee)): created from cgraph_node::create_edge
18342 (void free_edge (cgraph_edge *e)): created from cgraph_free_edge
18343 (cgraph_node *next_function_with_gimple_body (cgraph_node *node)):
18344 created from cgraph_next_function_with_gimple_body
18345 (void remove_edge_removal_hook (cgraph_edge_hook_list *)):
18346 created from cgraph_remove_edge_removal_hook
18347 (cgraph_node_hook_list *add_cgraph_removal_hook (cgraph_node_hook, void *)):
18348 created from cgraph_add_node_removal_hook
18349 (void remove_cgraph_removal_hook (cgraph_node_hook_list *)):
18350 created from cgraph_remove_node_removal_hook
18351 (varpool_node_hook_list *add_varpool_removal_hook (varpool_node_hook, void *)):
18352 created from varpool_add_node_removal_hook
18353 (void remove_varpool_removal_hook (varpool_node_hook_list *)):
18354 created from varpool_remove_node_removal_hook
18355 (cgraph_node_hook_list *add_cgraph_insertion_hook (cgraph_node_hook, void *)):
18356 created from cgraph_add_function_insertion_hook
18357 (void remove_cgraph_insertion_hook (cgraph_node_hook_list *)):
18358 created from cgraph_remove_function_insertion_hook
18359 (varpool_node_hook_list *add_varpool_insertion_hook (varpool_node_hook, void *)):
18360 created from varpool_add_variable_insertion_hook
18361 (void remove_varpool_insertion_hook (varpool_node_hook_list *)):
18362 created from varpool_remove_variable_insertion_hook
18363 (cgraph_2edge_hook_list *add_edge_duplication_hook (cgraph_2edge_hook, void *)):
18364 created from cgraph_add_edge_duplication_hook
18365 (void remove_edge_duplication_hook (cgraph_2edge_hook_list *)):
18366 created from cgraph_remove_edge_duplication_hook
18367 (cgraph_2node_hook_list *add_cgraph_duplication_hook (cgraph_2node_hook, void *)):
18368 created from cgraph_add_node_duplication_hook
18369 (void remove_cgraph_duplication_hook (cgraph_2node_hook_list *)):
18370 created from cgraph_remove_node_duplication_hook
18371 (void call_edge_removal_hooks (cgraph_edge *e)):
18372 created from cgraph_call_edge_removal_hooks
18373 (void call_cgraph_insertion_hooks (cgraph_node *node)):
18374 created from call_function_insertion_hooks
18375 (void call_cgraph_removal_hooks (cgraph_node *node)):
18376 created from cgraph_call_node_removal_hooks
18377 (void call_cgraph_duplication_hooks (cgraph_node *node, cgraph_node *node2)):
18378 created from cgraph_node::call_duplication_hooks
18379 (void call_edge_duplication_hooks (cgraph_edge *cs1, cgraph_edge *cs2)):
18380 created from cgraph_call_edge_duplication_hooks
18381 (void call_varpool_removal_hooks (varpool_node *node)):
18382 created from varpool_call_node_removal_hooks
18383 (void call_varpool_insertion_hooks (varpool_node *node)):
18384 created from varpool_call_variable_insertion_hooks
18385 (void insert_to_assembler_name_hash (symtab_node *node, bool with_clones)):
18386 created from insert_to_assembler_name_hash
18387 (void unlink_from_assembler_name_hash (symtab_node *node, bool with_clones)):
18388 created from unlink_from_assembler_name_hash
18389 (void symtab_prevail_in_asm_name_hash (symtab_node *node)):
18390 created from symtab_prevail_in_asm_name_hash
18391 (void symtab_initialize_asm_name_hash (void)):
18392 created from symtab_initialize_asm_name_hash
18393 (void change_decl_assembler_name (tree decl, tree name)):
18394 created from change_decl_assembler_name
18395 (void materialize_all_clones (void)): created from cgraph_materialize_all_clones
18396 (static hashval_t decl_assembler_name_hash (const_tree asmname)):
18397 created from decl_assembler_name_hash
18398 (static bool decl_assembler_name_equal (tree decl, const_tree asmname)):
18399 created from decl_assembler_name_equal
18400 (static hashval_t hash_node_by_assembler_name (const void *p)):
18401 created from hash_node_by_assembler_name
18402 (static int eq_assembler_name (const void *p1, const void *p2)):
18403 created from eq_assembler_name
18405 2014-08-25 Marek Polacek <polacek@redhat.com>
18407 * config/i386/i386.md (SWI1248_AVX512BW): Add missing paren.
18409 2014-08-25 Petr Murzin <petr.murzin@intel.com>
18411 * config/i386/i386.md (SWI1248_AVX512BW): New mode iterator.
18412 (*k<logic><mode>): Add *k<logic>qi and *k<logic>hi and use
18413 SWI1248_AVX512BW mode iterator.
18415 2014-08-25 Kaz Kojima <kkojima@gcc.gnu.org>
18418 * config/sh/predicates.md (general_extend_operand): Disable
18419 TRUNCATE before reload completes.
18421 2014-08-24 Gerald Pfeifer <gerald@pfeifer.com>
18423 * doc/invoke.texi (Optimize Options): Fix markup in two cases.
18425 2014-08-24 Oleg Endo <olegendo@gcc.gnu.org>
18428 * config/sh/sh.opt (musermode): Allow negative form.
18429 * config/sh/sh.c (sh_option_override): Disable TARGET_USERMODE for
18430 targets that don't support it.
18431 * doc/invoke.texi (SH Options): Rename sh-*-linux* to sh*-*-linux*.
18432 Document -mno-usermode option.
18434 2014-08-24 Kito Cheng <kito@0xlab.org>
18436 * system.h (CALLER_SAVE_PROFITABLE): Poison.
18437 * regs.h (CALLER_SAVE_PROFITABLE): Remove.
18438 * doc/tm.texi.in (CALLER_SAVE_PROFITABLE): Remove.
18439 * doc/tm.texi: Regenerate.
18441 2014-08-24 Kito Cheng <kito@0xlab.org>
18443 * ira.c: Fix typo in comment.
18445 2014-08-23 Edward Smith-Rowland <3dw4rd@verizon.net>
18447 * doc/invoke.texi: Change c++1y to c++14 and gnu++1y to gnu++14.
18448 Deprecate c++1y. Change language to reflect greater confidence in C++14.
18450 2014-08-23 John David Anglin <danglin@gcc.gnu.org>
18453 * config/pa/pa.c (pa_output_function_epilogue): Don't set
18454 last_address when the current function is a thunk.
18455 (pa_asm_output_mi_thunk): When we don't have named sections or they
18456 are not being used, check that thunk can reach the stub table with a
18459 2014-08-23 David Malcolm <dmalcolm@redhat.com>
18461 * web.c (union_match_dups): Strengthen param "insn" from rtx to
18463 (pass_web::execute): Likewise for local "insn".
18465 2014-08-23 David Malcolm <dmalcolm@redhat.com>
18467 * var-tracking.c (struct micro_operation_def): Strengthen field
18468 "insn" from rtx to rtx_insn *.
18469 (struct emit_note_data_def): Likewise.
18470 (insn_stack_adjust_offset_pre_post): Likewise for param "insn".
18471 (vt_stack_adjustments): Likewise for local "insn".
18472 (adjust_insn): Likewise for param "insn".
18473 (val_store): Likewise.
18474 (val_resolve): Likewise.
18475 (struct count_use_info): Likewise for field "insn".
18476 (log_op_type): Likewise for param "insn".
18477 (reverse_op): Likewise.
18478 (prepare_call_arguments): Likewise.
18479 (add_with_sets): The initial param takes an insn, but we can't
18480 yet strengthen it from rtx to rtx_insn * since it's used as a
18481 cselib_record_sets_hook callback. For now rename initial param
18482 from "insn" to "uncast_insn", and introduce a local "insn" of
18483 the stronger rtx_insn * type, with a checked cast.
18484 (compute_bb_dataflow): Strengthen local "insn" from rtx to
18486 (emit_note_insn_var_location): Likewise.
18487 (emit_notes_for_changes): Likewise.
18488 (emit_notes_for_differences): Likewise.
18489 (next_non_note_insn_var_location): Likewise for return type and
18491 (emit_notes_in_bb): Likewise for locals "insn" and "next_insn".
18492 (vt_initialize): Likewise for local "insn".
18493 (delete_debug_insns): Likewise for locals "insn" and "next".
18495 2014-08-23 David Malcolm <dmalcolm@redhat.com>
18497 * varasm.c (mark_constants): Strengthen param "insn" from rtx to
18499 (mark_constant_pool): Likewise for local "insn".
18501 2014-08-23 David Malcolm <dmalcolm@redhat.com>
18503 * valtrack.c (dead_debug_reset_uses): Strengthen local "insn" from
18505 (dead_debug_promote_uses): Likewise.
18506 (dead_debug_insert_temp): Likewise.
18508 2014-08-23 David Malcolm <dmalcolm@redhat.com>
18510 * store-motion.c (store_killed_in_insn): Strengthen param "insn"
18511 from const_rtx to const rtx_insn *.
18512 (store_killed_after): Likewise. Strengthen locals "last", "act"
18513 from rtx to rtx_insn *.
18514 (store_killed_before): Strengthen param "insn" from const_rtx to
18515 const rtx_insn *. Strengthen local "first" from rtx to rtx_insn *.
18516 (find_moveable_store): Strengthen param "insn" from rtx to
18518 (compute_store_table): Likewise for local "insn".
18519 (insert_insn_start_basic_block): Likewise for param "insn" and
18520 locals "prev", "before", "insn".
18521 (insert_store): For now, add a checked cast to rtx_insn * on the
18522 result of gen_move_insn.
18523 (remove_reachable_equiv_notes): Strengthen local "insn" from rtx
18525 (replace_store_insn): Likewise. For now, add a checked cast to
18526 rtx_insn * on the result of gen_move_insn.
18528 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18530 * stmt.c (expand_case): Strengthen local "before_case" from rtx to
18532 (expand_sjlj_dispatch_table): Likewise.
18534 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18536 * stack-ptr-mod.c (pass_stack_ptr_mod::execute): Strengthen local
18537 "insn" from rtx to rtx_insn *.
18539 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18541 * shrink-wrap.h (requires_stack_frame_p): Strengthen param 1
18542 "insn" from rtx to rtx_insn *.
18543 (dup_block_and_redirect): Likewise for param 3 "before".
18545 * shrink-wrap.c (requires_stack_frame_p): Strengthen param "insn"
18546 from rtx to rtx_insn *.
18547 (move_insn_for_shrink_wrap): Likewise.
18548 (prepare_shrink_wrap): Likewise for locals "insn", "curr".
18549 (dup_block_and_redirect): Likewise for param "before" and local
18551 (try_shrink_wrapping): Likewise for locals "insn", "insert_point",
18553 (convert_to_simple_return): Likewise for local "start".
18555 * config/i386/i386.c (ix86_finalize_stack_realign_flags):
18556 Strengthen local "insn" from rtx to rtx_insn *, for use when
18557 invoking requires_stack_frame_p.
18559 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18561 * sel-sched-ir.c (vinsn_copy): Strengthen local "copy" from rtx to
18563 (speculate_expr): Likewise for locals "orig_insn_rtx",
18565 (eq_transformed_insns): Likewise for locals "i1", "i2".
18566 (check_for_new_jump): Likewise for return type and local "end".
18567 (find_new_jump): Likewise for return type and local "jump".
18568 (sel_split_edge): Likewise for local "jump".
18569 (sel_create_recovery_block): Likewise.
18570 (sel_redirect_edge_and_branch_force): Likewise.
18571 (sel_redirect_edge_and_branch): Likewise.
18573 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18575 * sel-sched.c (substitute_reg_in_expr): Strengthen local
18576 "new_insn" from rtx to rtx_insn *.
18577 (create_insn_rtx_with_rhs): Likewise for return type and for local
18579 (create_insn_rtx_with_lhs): Likewise.
18580 (create_speculation_check): Likewise for local "insn_rtx".
18581 (implicit_clobber_conflict_p): Likewise for local "insn".
18582 (get_expr_cost): Likewise.
18583 (emit_bookkeeping_insn): Likewise for local "new_insn_rtx".
18584 (move_cond_jump): Likewise for locals "next", "prev", "link",
18585 "head", "from", "to".
18587 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18589 * sched-rgn.c (is_cfg_nonregular): Strengthen locals "insn" and
18590 "next" from rtx to rtx_insn *.
18591 (find_conditional_protection): Likewise for local "next".
18592 (is_conditionally_protected): Likewise for local "insn1".
18593 (is_pfree): Likewise for locals "insn1", "insn2".
18595 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18597 * sched-int.h (schedule_ebb): Strengthen params "head", "tail"
18598 from rtx to rtx_insn *.
18600 * sched-ebb.c (earliest_block_with_similiar_load): Strengthen
18601 locals "insn1", "insn2" from rtx to rtx_insn *.
18602 (add_deps_for_risky_insns): Likewise for params "head", "tail" and
18603 locals "insn", "prev", "last_jump", "next_tail".
18604 (schedule_ebb): Likewise for params "head", "tail".
18605 (schedule_ebbs): Likewise for locals "tail", "head".
18607 * config/c6x/c6x.c (hwloop_optimize): For now, add a checked cast
18608 to rtx_insn on "last_insn" in one of the invocations of
18611 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18613 * sched-deps.c (maybe_add_or_update_dep_1): Strengthen locals
18614 "elem", "insn" from rtx to rtx_insn *.
18615 (change_spec_dep_to_hard): Likewise.
18616 (get_back_and_forw_lists): Likewise for local "con".
18617 (sd_add_dep): Likewise for locals "elem", "insn".
18618 (sd_resolve_dep): Likewise for locals "pro", "con".
18619 (sd_unresolve_dep): Likewise.
18620 (sd_delete_dep): Likewise.
18621 (chain_to_prev_insn): Likewise for local "pro".
18622 (find_inc): Likewise for locals "pro", "con".
18624 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18626 * rtlanal.c (reg_used_between_p): Strengthen local "insn" from rtx
18628 (reg_set_between_p): Strengthen local "insn" from const_rtx to
18630 (modified_between_p): Strengthen local "insn" from rtx to
18632 (remove_reg_equal_equiv_notes_for_regno): Likewise.
18633 (keep_with_call_p): Strengthen local "i2" from const_rtx to
18636 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18638 * resource.c (next_insn_no_annul): Strengthen local "next" from
18640 (mark_referenced_resources): Likewise for local "insn".
18642 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18644 * reload.h (struct insn_chain): Strengthen field "insn" from rtx
18646 (find_reloads): Likewise for param 1.
18647 (subst_reloads): Likewise for sole param.
18648 (find_equiv_reg): Likwise for param 2.
18649 (regno_clobbered_p): Likwise for param 2.
18650 (reload): Likewise for param 1.
18652 * caller-save.c (save_call_clobbered_regs): Strengthen local
18653 "insn" from rtx to rtx_insn *.
18654 (insert_one_insn): Likewise for local "insn".
18656 * reload.c (this_insn): Likewise for this global.
18657 (find_reloads): Likewise for param "insn".
18658 (find_reloads_toplev): Likewise.
18659 (find_reloads_address): Likewise.
18660 (subst_reg_equivs): Likewise.
18661 (update_auto_inc_notes): Likewise.
18662 (find_reloads_address_1): Likewise.
18663 (find_reloads_subreg_address): Likewise.
18664 (subst_reloads): Likewise.
18665 (find_equiv_reg): Likewise, also for local "p".
18666 (regno_clobbered_p): Likewise for param "insn".
18668 * reload1.c (reg_reloaded_insn): Likewise for the elements of this
18670 (spill_reg_store): Likewise for the elements of this array.
18671 (remove_init_insns): Likewise for local "equiv_insn".
18672 (will_delete_init_insn_p): Likewise for param "insn".
18673 (reload): Likewise for param ""first" and local "insn".
18674 (calculate_needs_all_insns): Strengthen local "insn" from rtx to
18676 (calculate_elim_costs_all_insns): Likewise.
18677 (delete_caller_save_insns): Likewise.
18678 (spill_failure): Likewise for param "insn".
18679 (delete_dead_insn): Likewise.
18680 (set_label_offsets): Likewise.
18681 (eliminate_regs_in_insn): Likewise, also for locals "base_insn" and
18683 (elimination_costs_in_insn): Likewise for param "insn".
18684 (set_initial_eh_label_offset): Replace use of NULL_RTX with NULL
18685 when referring to an insn.
18686 (set_initial_label_offsets): Likewise.
18687 (set_offsets_for_label): Strengthen param "insn" from rtx to
18689 (init_eliminable_invariants): Likewise for param "first" and local
18691 (fixup_eh_region_note): Likewise for param "insn".
18692 (reload_as_needed): Likewise for locals "prev", "insn",
18693 "old_next", "old_prev", "next".
18694 (gen_reload_chain_without_interm_reg_p): Likewise for locals "insn",
18696 (reload_inheritance_insn): Strengthen elements of this array from
18698 (failed_reload): Likewise for param "insn".
18699 (choose_reload_regs): Likewise for local "insn". Replace use of
18700 NULL_RTX with NULL when referring to an insn.
18701 (input_reload_insns): Strengthen elements of this array from rtx
18703 (other_input_address_reload_insns): Likewise for this global.
18704 (other_input_reload_insns): Likewise for this global.
18705 (input_address_reload_insns): Likwise for the elements of this
18707 (inpaddr_address_reload_insns): Likwise for the elements of this
18709 (output_reload_insns): Likewise for the elements of this array.
18710 (output_address_reload_insns): Likewise for the elements of this
18712 (outaddr_address_reload_insns): Likewise for the elements of this
18714 (operand_reload_insns): Likewise for this global.
18715 (other_operand_reload_insns): Likewise for this global.
18716 (other_output_reload_insns): Likewise for the elements of this
18718 (new_spill_reg_store): Likewise for the elements of this
18720 (emit_input_reload_insns): Likewise for locals "insn", "temp".
18721 Strengthen local "where" from rtx * to rtx_insn **.
18722 (emit_output_reload_insns): Strengthen locals "insn", "p", "next"
18723 from rtx to rtx_insn *.
18724 (do_input_reload): Likewise for local "insn".
18725 (do_output_reload): Likewise for local "insn".
18726 (emit_reload_insns): Likewise for locals "insn" and "store_insn".
18727 (emit_insn_if_valid_for_reload): Likewise for return type and local
18728 "last". Add checked cast to rtx_insn when returning "insn" since
18729 this has been through emit_insn.
18730 (gen_reload): Strengthen return type and locals "last", "insn", "set"
18731 from rtx to rtx_insn *. Add checked cast to rtx_insn when
18732 returning "insn" since it's been through
18733 emit_insn_if_valid_for_reload at this point.
18734 (delete_output_reload): Strengthen param "insn" and locals
18735 "output_reload_insn", "i2" from rtx to rtx_insn *.
18736 (delete_address_reloads): Likewise for params "dead_insn",
18737 "current_insn" and locals "prev", "next".
18738 (delete_address_reloads_1): Likewise for params "dead_insn",
18739 "current_insn" and locals "prev", "i2".
18740 (inc_for_reload): Likewise for locals "last", "add_insn".
18741 (add_auto_inc_notes): Strengthen param "insn" from rtx to
18744 * config/arc/arc-protos.h (regno_clobbered_p): Likewise for 2nd
18745 param of this duplicate of the prototype from reload.h
18747 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18749 * regstat.c (regstat_bb_compute_ri): Strengthen local "insn" from
18751 (regstat_bb_compute_calls_crossed): Likewise.
18753 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18755 * regrename.c (create_new_chain): Strengthen param "insn" from rtx
18757 (init_rename_info): Replace use of NULL_RTX with NULL when dealing
18759 (regrename_analyze): Strengthen local "insn" from rtx to
18761 (scan_rtx_reg): Likewise for param "insn".
18762 (scan_rtx_address): Likewise.
18763 (scan_rtx): Likewise.
18764 (restore_operands): Likewise.
18765 (record_out_operands): Likewise.
18766 (build_def_use): Likewise for local "insn". Replace use of
18767 NULL_RTX with NULL when dealing with an insn.
18769 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18771 * rtl.h (reg_scan): Strengthen param "f" from rtx to rtx_insn *.
18772 * reginfo.c (reg_scan): Likewise, also for local "insn".
18773 (reg_scan_mark_refs): Likewise for param "insn".
18774 (init_subregs_of_mode): Likewise for local "insn".
18776 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18778 * regcprop.c (struct queued_debug_insn_change): Strengthen field
18779 "insn" from rtx to rtx_insn *.
18780 (replace_oldest_value_reg): Likewise for param "insn".
18781 (replace_oldest_value_addr): Likewise.
18782 (replace_oldest_value_mem): Likewise.
18783 (apply_debug_insn_changes): Likewise for local "last_insn".
18784 (copyprop_hardreg_forward_1): Likewise for local "insn".
18786 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18788 * reg-stack.c (next_flags_user): Strengthen return type and param
18789 "insn" from rtx to rtx_insn *.
18790 (straighten_stack): Likewise for param "insn".
18791 (check_asm_stack_operands): Likewise.
18792 (remove_regno_note): Likewise.
18793 (emit_pop_insn): Likewise for return type, param "insn", local
18795 (emit_swap_insn): Strengthen param "insn" and locals "i1", "tmp",
18796 "limit" from rtx to rtx_insn *.
18797 (swap_to_top): Likewise for param "insn".
18798 (move_for_stack_reg): Likewise.
18799 (move_nan_for_stack_reg): Likewise.
18800 (swap_rtx_condition): Likewise.
18801 (compare_for_stack_reg): Likewise.
18802 (subst_all_stack_regs_in_debug_insn): Likewise.
18803 (subst_stack_regs_pat): Likewise, and local "insn2".
18804 (subst_asm_stack_regs): Strengthen param "insn" from rtx to
18806 (subst_stack_regs): Likewise.
18807 (change_stack): Likewise.
18808 (convert_regs_1): Likewise for locals "insn", "next".
18810 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18812 * ree.c (struct ext_cand): Strengthen field "insn" from rtx to
18814 (combine_set_extension): Likewise for param "curr_insn".
18815 (transform_ifelse): Likewise for param "def_insn".
18816 (get_defs): Likewise for param "def_insn". Strengthen param "dest"
18817 from vec<rtx> * to vec<rtx_insn *> *.
18818 (is_cond_copy_insn): Likewise for param "insn".
18819 (struct ext_state): Strengthen the four vec fields from vec<rtx>
18820 to vec<rtx_insn *>.
18821 (make_defs_and_copies_lists): Strengthen param "extend_insn" and
18822 local "def_insn" from rtx to rtx_insn *.
18823 (get_sub_rtx): Likewise for param "def_insn".
18824 (merge_def_and_ext): Likewise.
18825 (combine_reaching_defs): Likewise.
18826 (add_removable_extension): Likewise for param "insn".
18827 (find_removable_extensions): Likewise for local "insn".
18828 (find_and_remove_re): Likewise for locals "curr_insn" and
18829 "def_insn". Strengthen locals "reinsn_del_list" and
18830 "reinsn_del_list" from auto_vec<rtx> to auto_vec<rtx_insn *>.
18832 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18834 * recog.c (split_insn): Strengthen param "insn" and locals
18835 "first", "last" from rtx to rtx_insn *.
18836 (split_all_insns): Likewise for locals "insn", "next".
18837 (split_all_insns_noflow): Likewise.
18839 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18841 * rtl.h (debug_rtx_list): Strengthen param 1 "x" from const_rtx to
18843 (debug_rtx_range): Likewise for params 1 and 2 "start" and "end".
18844 (debug_rtx_find): Likewise for param 1 "x".
18846 * print-rtl.c (debug_rtx_list): Strengthen param 1 "x" from
18847 const_rtx to const rtx_insn *. Likewise for local "insn".
18848 (debug_rtx_range): Likewise for params 1 and 2 "start" and "end".
18849 (debug_rtx_find): Likewise for param 1 "x".
18850 (print_rtl): Likewise for local "tmp_rtx", adding a checked cast
18851 from const_rtx to const rtx_insn * within the appropriate cases of
18852 the switch statement.
18854 * config/rs6000/rs6000.c (rs6000_debug_legitimize_address):
18855 Strengthen local "insns" from rtx to rtx_insn * since this is
18856 passed to a call to debug_rtx_list.
18858 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18860 * predict.h (predict_insn_def): Strengthen param "insn" from rtx
18863 * function.c (stack_protect_epilogue): Add checked cast to
18864 rtx_insn for now when invoking predict_insn_def.
18866 * predict.c (predict_insn): Strengthen param "insn" from rtx to
18868 (predict_insn_def): Likewise.
18869 (rtl_predict_edge): Likewise for local "last_insn".
18870 (can_predict_insn_p): Strengthen param "insn" from const_rtx to
18872 (combine_predictions_for_insn): Strengthen param "insn" from rtx
18874 (bb_estimate_probability_locally): Likewise for local "last_insn".
18875 (expensive_function_p): Likewise for local "insn".
18877 * config/cris/cris.c (cris_emit_trap_for_misalignment): Likewise for
18878 local "jmp", since this is used when invoking predict_insn_def.
18880 2014-08-22 Marek Polacek <polacek@redhat.com>
18883 * doc/invoke.texi: Update -Wlogical-not-parentheses description.
18885 2014-08-22 Marek Polacek <polacek@redhat.com>
18888 * ira-color.c (coalesced_pseudo_reg_slot_compare): Wrap LHS of
18889 a comparison in parens.
18890 * lra-spills.c (pseudo_reg_slot_compare): Wrap LHS of a comparison
18893 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18895 * rtl.h (fis_get_condition): Strengthen param "jump" from rtx to
18898 * cprop.c (fis_get_condition): Likewise.
18900 * postreload.c (reload_cse_regs): Likewise for param "first".
18901 (reload_cse_simplify): Likewise for param "insn".
18902 (reload_cse_regs_1): Likewise for local "insn".
18903 (reload_cse_simplify_set): Likewise for param "insn".
18904 (reload_cse_simplify_operands): Likewise.
18905 (struct reg_use): Likewise for field "insn".
18906 (reload_combine_purge_insn_uses): Likewise for param "insn".
18907 (fixup_debug_insns): Likewise for params "from", "to" and local
18909 (try_replace_in_use): Likewise for local "use_insn".
18910 (reload_combine_recognize_const_pattern): Likewise for param
18911 "insn" and locals "add_moved_after_insn", "use_insn".
18912 (reload_combine_recognize_pattern): Likewise for param "insn" and
18914 (reload_combine): Likewise for locals "insn", "prev".
18915 (reload_combine_note_use): Likewise for param "insn".
18916 (move2add_use_add2_insn): Likewise.
18917 (move2add_use_add3_insn): Likewise.
18918 (reload_cse_move2add): Likewise, also for local "next".
18919 (move2add_note_store): Likewise for local "insn".
18921 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18923 * postreload-gcse.c (struct occr): Strengthen field "insn" from
18925 (struct unoccr): Likewise.
18926 (struct modifies_mem): Likewise.
18927 (alloc_mem): Likewise for local "insn".
18928 (insert_expr_in_table): Likewise for param "insn".
18929 (dump_expr_hash_table_entry): Likewise for local "insn".
18930 (oprs_unchanged_p): Likewise for param "insn".
18931 (load_killed_in_block_p): Likewise for local "setter".
18932 (record_last_reg_set_info): Likewise for param "insn".
18933 (record_last_reg_set_info_regno): Likewise.
18934 (record_last_mem_set_info): Likewise.
18935 (record_last_set_info): Likewise for local "last_set_insn".
18936 (record_opr_changes): Likewise for param "insn".
18937 (hash_scan_set): Likewise.
18938 (compute_hash_table): Likewise for local "insn".
18939 (get_avail_load_store_reg): Likewise for param "insn".
18940 (eliminate_partially_redundant_load): Likewise, also for locals
18941 "avail_insn", "next_pred_bb_end". Replace use of NULL_RTX with
18943 (eliminate_partially_redundant_loads): Likewise for local "insn".
18945 2014-08-22 David Malcolm <dmalcolm@redhat.com>
18947 * optabs.c (expand_doubleword_shift): Strengthen local "insn" from
18949 (expand_binop): Likewise for locals "entry_last", "last", "insns"
18950 (expand_twoval_unop): Likewise for locals entry_last", "last".
18951 (expand_twoval_binop): Likewise.
18952 (expand_twoval_binop_libfunc): Likewise for local "insns".
18953 (widen_leading): Likewise for local "last".
18954 (expand_doubleword_clz): Likewise for local "seq". Strengthen
18955 locals "hi0_label", "after_label" from rtx to rtx_code_label *.
18956 (widen_bswap): Strengthen local "last" from rtx to rtx_insn *.
18957 (expand_parity): Likewise for locals "last" and "seq".
18958 (expand_ffs): Likewise for local "seq". Strengthen local
18959 "nonzero_label" from rtx to rtx_code_label *.
18960 (expand_absneg_bit): Strengthen local "insns" from rtx to
18962 (expand_unop_direct): Likewise for local "last".
18963 (expand_unop): Likewise for locals "last", "insns".
18964 (expand_abs_nojump): Likewise for local "last".
18965 (expand_abs): Strengthen local "op1" from rtx to rtx_code_label *.
18966 (expand_one_cmpl_abs_nojump): Strengthen local "last" from rtx to
18968 (expand_copysign_absneg): Strengthen local "label" from rtx to
18970 (expand_copysign_bit): Strengthen local "insns" from rtx to
18972 (struct no_conflict_data): Likewise for fields "first", "insn".
18973 (emit_libcall_block_1): Likewise for param "insns" and locals
18974 "next", "last", "insn".
18975 (emit_libcall_block): For now, add a checked cast to rtx_insn *
18976 on "insns" when invoking emit_libcall_block_1. Ultimately we
18977 want to strengthen insns itself.
18978 (prepare_cmp_insn): Strengthen local "last" from rtx to
18980 (emit_cmp_and_jump_insn_1): Likewise for local "insn".
18981 (prepare_float_lib_cmp): Likewise for local "insns".
18982 (emit_conditional_move): Likewise for local "last".
18983 (emit_conditional_add): Likewise.
18984 (have_sub2_insn): Likewise for local "seq".
18985 (expand_float): Likewise for local "insns". Strengthen locals
18986 "label", "neglabel" from rtx to rtx_code_label *.
18987 (expand_fix): Likewise for locals "last", "insn", "insns" (to
18988 rtx_insn *) and locals "lab1", "lab2" (to rtx_code_label *).
18989 (expand_fixed_convert): Likewise for local "insns" (to
18991 (expand_sfix_optab): Likewise for local "last".
18992 (expand_compare_and_swap_loop): Strengthen local "label" from rtx
18993 to rtx_code_label *.
18994 (maybe_emit_sync_lock_test_and_set): Strengthen local "last_insn"
18995 from rtx to rtx_insn *.
18996 (expand_atomic_fetch_op): Likewise for local "insn".
18997 (maybe_legitimize_operand_same_code): Likewise for local "last".
18998 (maybe_legitimize_operands): Likewise.
19000 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19002 * modulo-sched.c (struct ps_reg_move_info): Strengthen field
19003 "insn" from rtx to rtx_insn *.
19004 (ps_rtl_insn): Likewise for return type.
19005 (doloop_register_get): Likewise for params "head", "tail" and
19006 locals "insn", "first_insn_not_to_check".
19007 (schedule_reg_move): Likewise for local "this_insn".
19008 (schedule_reg_moves): Add a checked cast to rtx_insn * to result
19009 of gen_move_insn for now.
19010 (reset_sched_times): Strengthen local "insn" from rtx to
19012 (permute_partial_schedule): Likewise.
19013 (duplicate_insns_of_cycles): Likewise for local "u_insn".
19014 (dump_insn_location): Likewise for param "insn".
19015 (loop_canon_p): Likewise for local "insn".
19016 (sms_schedule): Likewise.
19017 (print_partial_schedule): Likewise.
19018 (ps_has_conflicts): Likewise.
19020 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19022 * sched-int.h (get_ebb_head_tail): Strengthen params "headp" and
19023 "tailp" from rtx * to rtx_insn **.
19025 * ddg.c (build_intra_loop_deps): Strengthen locals head", "tail"
19026 from rtx to rtx_insn *.
19027 * haifa-sched.c (get_ebb_head_tail): Strengthen params "headp" and
19028 "tailp" from rtx * to rtx_insn **. Strengthen locals "beg_head",
19029 "beg_tail", "end_head", "end_tail", "note", "next", "prev" from
19031 * modulo-sched.c (const_iteration_count): Strengthen return type
19032 and locals "insn", "head", "tail" from rtx to rtx_insn *. Replace
19033 use of NULL_RTX with NULL when working with insns.
19034 (loop_single_full_bb_p): Strengthen locals "head", "tail" from rtx
19036 (sms_schedule): Likewise.
19037 * sched-rgn.c (init_ready_list): Likewise, also for locals
19038 "src_head" and "src_next_tail".
19039 (compute_block_dependences): Likewise.
19040 (free_block_dependencies): Likewise.
19041 (debug_rgn_dependencies): Likewise.
19042 (free_rgn_deps): Likewise.
19043 (compute_priorities): Likewise.
19044 (schedule_region): Likewise.
19045 * sel-sched.c (find_ebb_boundaries): Likewise.
19047 * config/sh/sh.c (find_insn_regmode_weight): Strengthen locals
19048 "insn", "next_tail", "head", "tail" from rtx to rtx_insn *.
19050 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19052 * mode-switching.c (struct seginfo): Strengthen field "insn_ptr"
19053 from rtx to rtx_insn *.
19054 (new_seginfo): Likewise for param "insn".
19055 (create_pre_exit): Likewise for locals "last_insn",
19056 "before_return_copy", "return_copy".
19057 (optimize_mode_switching): Likewise for locals "insn", "ins_pos",
19060 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19062 * lra-int.h (struct lra_insn_recog_data): Strengthen field "insn"
19063 from rtx to rtx_insn *.
19064 (lra_push_insn): Likewise for 1st param.
19065 (lra_push_insn_and_update_insn_regno_info): Likewise.
19066 (lra_pop_insn): Likewise for return type.
19067 (lra_invalidate_insn_data): Likewise for 1st param.
19068 (lra_set_insn_deleted): Likewise.
19069 (lra_delete_dead_insn): Likewise.
19070 (lra_process_new_insns): Likewise for first 3 params.
19071 (lra_set_insn_recog_data): Likewise for 1st param.
19072 (lra_update_insn_recog_data): Likewise.
19073 (lra_set_used_insn_alternative): Likewise.
19074 (lra_invalidate_insn_regno_info): Likewise.
19075 (lra_update_insn_regno_info): Likewise.
19076 (lra_former_scratch_operand_p): Likewise.
19077 (lra_eliminate_regs_1): Likewise.
19078 (lra_get_insn_recog_data): Likewise.
19080 * lra-assigns.c (assign_by_spills): Strengthen local "insn" from
19083 * lra-coalesce.c (move_freq_compare_func): Likewise for locals
19085 (substitute_within_insn): New.
19086 (lra_coalesce): Strengthen locals "mv", "insn", "next" from rtx to
19087 rtx_insn *. Strengthen sorted_moves from rtx * to rxt_insn **.
19088 Replace call to "substitute" with call to substitute_within_insn.
19090 * lra-constraints.c (curr_insn): Strengthen from rtx to
19092 (get_equiv_with_elimination): Likewise for param "insn".
19093 (match_reload): Strengthen params "before" and "after" from rtx *
19095 (emit_spill_move): Likewise for return type. Add a checked cast
19096 to rtx_insn * on result of gen_move_insn for now.
19097 (check_and_process_move): Likewise for local "before". Replace
19098 NULL_RTX with NULL when referring to insns.
19099 (process_addr_reg): Strengthen params "before" and "after" from
19100 rtx * to rtx_insn **.
19101 (insert_move_for_subreg): Likewise.
19102 (simplify_operand_subreg): Strengthen locals "before" and "after"
19103 from rtx to rtx_insn *.
19104 (process_address_1): Strengthen params "before" and "after" from
19105 rtx * to rtx_insn **. Strengthen locals "insns", "last_insn" from
19107 (process_address): Strengthen params "before" and "after" from
19108 rtx * to rtx_insn **.
19109 (emit_inc): Strengthen local "last" from rtx to rtx_insn *.
19110 (curr_insn_transform): Strengthen locals "before" and "after"
19111 from rtx to rtx_insn *. Replace NULL_RTX with NULL when referring
19113 (loc_equivalence_callback): Update cast of "data", changing
19114 resulting type from rtx to rtx_insn *.
19115 (substitute_pseudo_within_insn): New.
19116 (inherit_reload_reg): Strengthen param "insn" from rtx to
19117 rtx_insn *; likewise for local "new_insns". Replace NULL_RTX with
19118 NULL when referring to insns. Add a checked cast to rtx_insn *
19119 when using usage_insn to invoke lra_update_insn_regno_info.
19120 (split_reg): Strengthen param "insn" from rtx to rtx_insn *;
19121 likewise for locals "restore", "save". Add checked casts to
19122 rtx_insn * when using usage_insn to invoke
19123 lra_update_insn_regno_info and lra_process_new_insns. Replace
19124 NULL_RTX with NULL when referring to insns.
19125 (split_if_necessary): Strengthen param "insn" from rtx to
19127 (update_ebb_live_info): Likewise for params "head", "tail" and local
19129 (get_last_insertion_point): Likewise for return type and local "insn".
19130 (get_live_on_other_edges): Likewise for local "last".
19131 (inherit_in_ebb): Likewise for params "head", "tail" and locals
19132 "prev_insn", "next_insn", "restore".
19133 (remove_inheritance_pseudos): Likewise for local "prev_insn".
19134 (undo_optional_reloads): Likewise for local "insn".
19136 * lra-eliminations.c (lra_eliminate_regs_1): Likewise for param
19138 (lra_eliminate_regs): Replace NULL_RTX with NULL when referring to
19140 (eliminate_regs_in_insn): Strengthen param "insn" from rtx to
19142 (spill_pseudos): Likewise for local "insn".
19143 (init_elimination): Likewise.
19144 (process_insn_for_elimination): Likewise for param "insn".
19146 * lra-lives.c (curr_insn): Likewise.;
19148 * lra-spills.c (assign_spill_hard_regs): Likewise for local "insn".
19149 (remove_pseudos): Likewise for param "insn".
19150 (spill_pseudos): Likewise for local "insn".
19151 (lra_final_code_change): Likewise for locals "insn", "curr".
19153 * lra.c (lra_invalidate_insn_data): Likewise for param "insn".
19154 (lra_set_insn_deleted): Likewise.
19155 (lra_delete_dead_insn): Likewise, and for local "prev".
19156 (new_insn_reg): Likewise for param "insn".
19157 (lra_set_insn_recog_data): Likewise.
19158 (lra_update_insn_recog_data): Likewise.
19159 (lra_set_used_insn_alternative): Likewise.
19160 (get_insn_freq): Likewise.
19161 (invalidate_insn_data_regno_info): Likewise.
19162 (lra_invalidate_insn_regno_info): Likewise.
19163 (lra_update_insn_regno_info): Likewise.
19164 (lra_constraint_insn_stack): Strengthen from vec<rtx> to
19166 (lra_push_insn_1): Strengthen param "insn" from rtx to
19168 (lra_push_insn): Likewise.
19169 (lra_push_insn_and_update_insn_regno_info): Likewise.
19170 (lra_pop_insn): Likewise for return type and local "insn".
19171 (push_insns): Likewise for params "from", "to", and local "insn".
19172 (setup_sp_offset): Likewise for params "from", "last" and locals
19174 (lra_process_new_insns): Likewise for params "insn", "before",
19175 "after" and local "last".
19176 (struct sloc): Likewise for field "insn".
19177 (lra_former_scratch_operand_p): Likewise for param "insn".
19178 (remove_scratches): Likewise for locals "insn", "last".
19179 (check_rtl): Likewise for local "insn".
19180 (add_auto_inc_notes): Likewise for param "insn".
19181 (update_inc_notes): Likewise for local "insn".
19182 (lra): Replace NULL_RTX with NULL when referring to insn.
19184 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19186 * lower-subreg.c (simple_move): Strengthen param "insn" from rtx
19188 (resolve_reg_notes): Likewise.
19189 (resolve_simple_move): Likewise for return type, param "insn", and
19190 locals "insns", "minsn".
19191 (resolve_clobber): Strengthen param "insn" from rtx to rtx_insn *.
19192 (resolve_use): Likewise.
19193 (resolve_debug): Likewise.
19194 (find_decomposable_shift_zext): Likewise.
19195 (resolve_shift_zext): Likewise for return type, param "insn", and
19196 locals "insns", "in". Eliminate use of NULL_RTX in favor of NULL.
19197 (decompose_multiword_subregs): Likewise for local "insn",
19198 "orig_insn", "decomposed_shift", "end".
19200 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19202 * basic-block.h (basic_block split_edge_and_insert): Strengthen
19203 param "insns" from rtx to rtx_insn *.
19205 * loop-unroll.c (struct iv_to_split): Strengthen field "insn" from
19207 (struct iv_to_split): Likewise.
19208 (loop_exit_at_end_p): Likewise for local "insn".
19209 (split_edge_and_insert): Likewise for param "insns".
19210 (compare_and_jump_seq): Likewise for return type, param "cinsn",
19211 and locals "seq", "jump".
19212 (unroll_loop_runtime_iterations): Likewise for locals "init_code",
19213 "branch_code"; update invocations of compare_and_jump_seq to
19214 eliminate NULL_RTX in favor of NULL.
19215 (referenced_in_one_insn_in_loop_p): Strengthen local "insn" from
19217 (reset_debug_uses_in_loop): Likewise.
19218 (analyze_insn_to_expand_var): Likewise for param "insn".
19219 (analyze_iv_to_split_insn): Likewise.
19220 (analyze_insns_in_loop): Likewise for local "insn".
19221 (insert_base_initialization): Likewise for param
19222 "insn" and local "seq".
19223 (split_iv): Likewise for param "insn" and local "seq".
19224 (expand_var_during_unrolling): Likewise for param "insn".
19225 (insert_var_expansion_initialization): Likewise for local "seq".
19226 (combine_var_copies_in_loop_exit): Likewise.
19227 (combine_var_copies_in_loop_exit): Likewise for locals "seq" and
19229 (maybe_strip_eq_note_for_split_iv): Likewise for param "insn".
19230 (apply_opt_in_copies): Likewise for locals "insn", "orig_insn",
19233 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19235 * cfgloop.h (iv_analyze): Strengthen param 1 "insn" from rtx to
19237 (iv_analyze_result): Likewise.
19238 (iv_analyze_expr): Likewise.
19241 * loop-iv.c (iv_get_reaching_def): Strengthen param "insn" and
19242 local "def_insn" from rtx to rtx_insn *.
19243 (get_biv_step_1): Likewise for local "insn".
19244 (iv_analyze_expr): Likewise for param "insn".
19245 (iv_analyze_def): Likewise for local "insn".
19246 (iv_analyze_op): Likewise for param "insn".
19247 (iv_analyze): Likewise.
19248 (iv_analyze_result): Likewise.
19250 (suitable_set_for_replacement): Likewise.
19251 (simplify_using_initial_values): Likewise for local "insn".
19252 (iv_number_of_iterations): Likewise for param "insn".
19253 (check_simple_exit): Add checked cast to rtx_insn when invoking
19254 iv_number_of_iterations for now (until get_condition is
19257 * loop-unroll.c (analyze_iv_to_split_insn): Strengthen param
19258 "insn" from rtx to rtx_insn *.
19259 (analyze_insns_in_loop): Likewise for local "insn".
19261 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19263 * loop-invariant.c (struct use): Strengthen field "insn" from rtx
19265 (struct invariant): Likewise.
19266 (hash_invariant_expr_1): Likewise for param "insn".
19267 (invariant_expr_equal_p): Likewise for param "insn1", "insn2".
19268 (find_exits): Likewise for local "insn".
19269 (create_new_invariant): Likewise for param "insn".
19270 (check_dependencies): Likewise.
19271 (find_invariant_insn): Likewise.
19272 (record_uses): Likewise.
19273 (find_invariants_insn): Likewise.
19274 (find_invariants_bb): Likewise for local "insn".
19275 (get_pressure_class_and_nregs): Likewise for param "insn".
19276 (calculate_loop_reg_pressure): Likewise for local "insn".
19278 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19280 * loop-doloop.c (doloop_valid_p): Strengthen local "insn" from rtx
19282 (add_test): Likewise for locals "seq", "jump".
19283 (doloop_modify): Likewise for locals "sequence", "jump_insn".
19285 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19287 * rtl.h (rebuild_jump_labels): Strengthen param "f" from rtx to
19289 (rebuild_jump_labels_chain): Likewise for param "chain".
19291 * cfgexpand.c (pass_expand::execute): Add checked cast to
19292 rtx_insn * when calling rebuild_jump_labels_chain in region where
19293 we know e->insns.r is non-NULL.
19295 * jump.c (rebuild_jump_labels_1): Strengthen param "f" from rtx to
19297 (rebuild_jump_labels): Likewise.
19298 (rebuild_jump_labels_chain): Likewise for param "chain".
19299 (cleanup_barriers): Likewise for locals "insn", "next", "prev".
19300 (init_label_info): Likewise for param "f".
19301 (maybe_propagate_label_ref): Likewise for params "jump_insn",
19302 "prev_nonjump_insn".
19303 (mark_all_labels): Likewise for param "f" and locals "insn",
19304 "prev_nonjump_insn".
19306 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19308 * ira-int.h (struct ira_allocno_copy): Strengthen field "insn"
19309 from rtx to rtx_insn *insn.
19310 (ira_create_copy): Strengthen param "insn" from rtx to rtx_insn *.
19311 (ira_add_allocno_copy): Likewise.
19312 * ira-build.c (find_allocno_copy): Strengthen param "insn" from
19314 (ira_create_copy): Likewise.
19315 (ira_add_allocno_copy): Likewise.
19316 (create_bb_allocnos): Likewise for local "insn".
19317 * ira-conflicts.c (process_regs_for_copy): Likewise for param "insn".
19318 (process_reg_shuffles): Update NULL_RTX to NULL in invocation of
19319 process_regs_for_copy for rtx_insn * param.
19320 (add_insn_allocno_copies): Strengthen param "insn" from rtx to
19321 rtx_insn *insn. Update NULL_RTX to NULL in invocation of
19322 process_regs_for_copy for rtx_insn * param.
19323 (add_copies): Strengthen local "insn" from rtx to rtx_insn *insn.
19324 * ira-costs.c (record_reg_classes): Likewise for param "insn".
19325 (record_operand_costs): Likewise.
19326 (scan_one_insn): Likewise for return type, and for param "insn".
19327 (process_bb_for_costs): Likewise for local "insn".
19328 (process_bb_node_for_hard_reg_moves): Likewise.
19329 * ira-emit.c (struct move): Likewise for field "insn".
19330 (create_move): Eliminate use of NULL_RTX when dealing with an
19332 (emit_move_list): Strengthen return type and locals "result",
19333 "insn" from rtx to rtx_insn *insn.
19334 (emit_moves): Likewise for locals "insns", "tmp".
19335 (ira_emit): Likewise for local "insn".
19336 * ira-lives.c (mark_hard_reg_early_clobbers): Likewise for param
19338 (find_call_crossed_cheap_reg): Likewise.
19339 (process_bb_node_lives): Likewise for local "insn".
19340 * ira.c (decrease_live_ranges_number): Likewise.
19341 (compute_regs_asm_clobbered): Likewise.
19342 (build_insn_chain): Likewise.
19343 (find_moveable_pseudos): Likewise, also locals "def_insn",
19344 "use_insn", "x". Also strengthen local "closest_uses" from rtx *
19345 to rtx_insn **. Add a checked cast when assigning from
19346 "closest_use" into closest_uses array in a region where we know
19347 it's a non-NULL insn.
19348 (interesting_dest_for_shprep): Strengthen param "insn" from rtx
19350 (split_live_ranges_for_shrink_wrap): Likewise for locals "insn",
19351 "last_interesting_insn", "uin".
19352 (move_unallocated_pseudos): Likewise for locals "def_insn",
19353 "move_insn", "newinsn".
19355 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19357 * internal-fn.c (ubsan_expand_si_overflow_addsub_check):
19358 Strengthen locals "done_label", "do_error" from rtx to
19360 (ubsan_expand_si_overflow_addsub_check): Strengthen local "last"
19361 from rtx to rtx_insn *. Strengthen local "sub_check from rtx to
19363 (ubsan_expand_si_overflow_neg_check): Likewise for locals
19364 "done_label", "do_error" to rtx_code_label * and local "last" to
19366 (ubsan_expand_si_overflow_mul_check): Likewise for locals
19367 "done_label", "do_error", "large_op0", "small_op0_large_op1",
19368 "one_small_one_large", "both_ops_large", "after_hipart_neg",
19369 "after_lopart_neg", "do_overflow", "hipart_different" to
19370 rtx_code_label * and local "last" to rtx_insn *.
19372 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19374 * init-regs.c (initialize_uninitialized_regs): Strengthen locals
19375 "insn" and "move_insn" from rtx to rtx_insn *.
19377 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19379 * ifcvt.c (count_bb_insns): Strengthen local "insn" from rtx to
19381 (cheap_bb_rtx_cost_p): Likewise.
19382 (first_active_insn): Likewise for return type and local "insn".
19383 (last_active_insn): Likewise for return type and locals "insn",
19385 (struct noce_if_info): Likewise for fields "jump", "insn_a",
19387 (end_ifcvt_sequence): Likewise for return type and locals "insn",
19389 (noce_try_move): Likewise for local "seq".
19390 (noce_try_store_flag): Likewise.
19391 (noce_try_store_flag_constants): Likewise.
19392 (noce_try_addcc): Likewise.
19393 (noce_try_store_flag_mask): Likewise.
19394 (noce_try_cmove): Likewise.
19395 (noce_try_minmax): Likewise.
19396 (noce_try_abs): Likewise.
19397 (noce_try_sign_mask): Likewise.
19398 (noce_try_bitop): Likewise.
19399 (noce_can_store_speculate_p): Likewise for local "insn".
19400 (noce_process_if_block): Likewise for locals "insn_a", "insn_b",
19402 (check_cond_move_block): Likewise for local "insn".
19403 (cond_move_convert_if_block): Likewise.
19404 (cond_move_process_if_block): Likewise for locals "seq",
19406 (noce_find_if_block): Likewise for local "jump".
19407 (merge_if_block): Likewise for local "last".
19408 (block_jumps_and_fallthru_p): Likewise for locals "insn", "end".
19409 (find_cond_trap): Likewise for locals "trap", "jump", "newjump".
19410 (block_has_only_trap): Likewise for return type and local "trap".
19411 (find_if_case_1): Likewise for local "jump".
19412 (dead_or_predicable): Likewise for locals "head", "end", "jump",
19415 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19417 * hw-doloop.h (struct hwloop_info_d): Strengthen fields
19418 "last_insn", "loop_end" from rtx to rtx_insn *.
19420 * hw-doloop.c (scan_loop): Likewise for local "insn".
19421 (discover_loop): Likewise for param "tail_insn".
19422 (discover_loops): Likewise for local "tail".
19424 * config/bfin/bfin.c (hwloop_optimize): For now, add a checked
19425 cast to rtx_insn * when assigning from an rtx local to a
19426 hwloop_info's "last_insn" field.
19428 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19430 * haifa-sched.c (bb_header): Strengthen from rtx * to rtx_insn **.
19431 (add_delay_dependencies): Strengthen local "pro" from rtx to
19433 (recompute_todo_spec): Likewise.
19434 (dep_cost_1): Likewise for locals "insn", "used".
19435 (schedule_insn): Likewise for local "dbg".
19436 (schedule_insn): Likewise for locals "pro", "next".
19437 (unschedule_insns_until): Likewise for local "con".
19438 (restore_pattern): Likewise for local "next".
19439 (estimate_insn_tick): Likewise for local "pro".
19440 (resolve_dependencies): Likewise for local "next".
19441 (fix_inter_tick): Likewise.
19442 (fix_tick_ready): Likewise for local "pro".
19443 (add_to_speculative_block): Likewise for locals "check", "twin",
19445 (sched_extend_bb): Likewise for locals "end", "insn".
19446 (init_before_recovery): Likewise for local "x".
19447 (sched_create_recovery_block): Likewise for local "barrier".
19448 (create_check_block_twin): Likewise for local "pro".
19449 (fix_recovery_deps): Likewise for locals "note", "insn", "jump",
19451 (unlink_bb_notes): Update for change to type of bb_header.
19452 Strengthen locals "prev", "label", "note", "next" from rtx to
19454 (clear_priorities): Likewise for local "pro".
19456 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19458 * gcse.c (struct occr): Strengthen field "insn" from rtx to
19460 (test_insn): Likewise for this global.
19461 (oprs_unchanged_p): Strengthen param "insn" from const_rtx to
19463 (oprs_anticipatable_p): Likewise.
19464 (oprs_available_p): Likewise.
19465 (insert_expr_in_table): Strengthen param "insn" from rtx to
19467 (hash_scan_set): Likewise.
19468 (hash_scan_clobber): Likewise.
19469 (hash_scan_call): Likewise.
19470 (hash_scan_insn): Likewise.
19471 (compute_hash_table_work): Likewise for local "insn".
19472 (process_insert_insn): Likewise for return type and local "pat".
19473 (insert_insn_end_basic_block): Likewise for locals "new_insn",
19474 "pat", "pat_end", "maybe_cc0_setter".
19475 (pre_edge_insert): Likewise for local "insn".
19476 (pre_insert_copy_insn): Likewise for param "insn".
19477 (pre_insert_copies): Likewise for local "insn".
19478 (struct set_data): Likewise for field "insn".
19479 (single_set_gcse): Likewise for param "insn".
19480 (gcse_emit_move_after): Likewise.
19481 (pre_delete): Likewise for local "insn".
19482 (update_bb_reg_pressure): Likewise for param "from" and local
19484 (should_hoist_expr_to_dom): Likewise for param "from".
19485 (hoist_code): Likewise for local "insn".
19486 (get_pressure_class_and_nregs): Likewise for param "insn".
19487 (calculate_bb_reg_pressure): Likewise for local "insn".
19488 (compute_ld_motion_mems): Likewise.
19490 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19492 * genpeep.c (main): Rename param back from "uncast_ins1" to
19493 "ins1", strengthening from rtx to rtx_insn *. Drop now-redundant
19496 * output.h (peephole): Strengthen param from rtx to rtx_insn *.
19498 2014-08-22 Michael Meissner <meissner@linux.vnet.ibm.com>
19501 * doc/md.texi (Machine Constraints): Update PowerPC wi constraint
19502 documentation to state it is only for VSX operations.
19504 * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Make wi
19505 constraint only active if VSX.
19507 * config/rs6000/rs6000.md (lfiwax): Use wj constraint instead of
19508 wi cosntraint for ISA 2.07 lxsiwax/lxsiwzx instructions.
19509 (lfiwzx): Likewise.
19511 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19513 * fwprop.c (single_def_use_dom_walker::before_dom_children):
19514 Strengthen local "insn" from rtx to rtx_insn *.
19515 (use_killed_between): Likewise for param "target_insn".
19516 (all_uses_available_at): Likewise for param "target_insn" and
19518 (update_df_init): Likewise for params "def_insn", "insn".
19519 (update_df): Likewise for param "insn".
19520 (try_fwprop_subst): Likewise for param "def_insn" and local
19522 (free_load_extend): Likewise for param "insn".
19523 (forward_propagate_subreg): Likewise for param "def_insn" and
19525 (forward_propagate_asm): Likewise for param "def_insn" and local
19527 (forward_propagate_and_simplify): Likewise for param "def_insn"
19528 and local "use_insn".
19529 (forward_propagate_into): Likewise for locals "def_insn" and
19532 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19534 * function.c (emit_initial_value_sets): Strengthen local "seq"
19535 from rtx to rtx_insn *.
19536 (instantiate_virtual_regs_in_insn): Likewise for param "insn" and
19538 (instantiate_virtual_regs): Likewise for local "insn".
19539 (assign_parm_setup_reg): Likewise for locals "linsn", "sinsn".
19540 (reorder_blocks_1): Likewise for param "insns" and local "insn".
19541 (expand_function_end): Likewise for locals "insn" and "seq".
19542 (epilogue_done): Likewise for local "insn".
19543 (thread_prologue_and_epilogue_insns): Likewise for locals "prev",
19545 (reposition_prologue_and_epilogue_notes): Likewise for locals
19546 "insn", "last", "note", "first".
19547 (match_asm_constraints_1): Likewise for param "insn" and local "insns".
19548 (pass_match_asm_constraints::execute): Likewise for local "insn".
19550 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19552 * output.h (final_scan_insn): Strengthen return type from rtx to
19554 (final_forward_branch_p): Likewise for param.
19555 (current_output_insn): Likewise for this global.
19557 * final.c (rtx debug_insn): Likewise for this variable.
19558 (current_output_insn): Likewise.
19559 (get_attr_length_1): Rename param "insn" to "uncast_insn",
19560 adding "insn" back in as an rtx_insn * with a checked cast, so
19561 that macro ADJUST_INSN_LENGTH can be passed an rtx_insn * as the
19563 (compute_alignments): Strengthen local "label" from rtx to
19565 (shorten_branches): Rename param from "first" to "uncast_first",
19566 introducing a new local rtx_insn * "first" using a checked cast to
19567 effectively strengthen "first" from rtx to rtx_insn * without
19568 affecting the type signature. Strengthen locals "insn", "seq",
19569 "next", "label" from rtx to rtx_insn *.
19570 (change_scope): Strengthen param "orig_insn" and local "insn" from
19572 (final_start_function): Rename param from "first" to "uncast_first",
19573 introducing a new local rtx_insn * "first" using a checked cast to
19574 effectively strengthen "first" from rtx to rtx_insn * without
19575 affecting the type signature. Strengthen local "insn" from rtx to
19577 (dump_basic_block_info): Strengthen param "insn" from rtx to
19579 (final): Rename param from "first" to "uncast_first",
19580 introducing a new local rtx_insn * "first" using a checked cast to
19581 effectively strengthen "first" from rtx to rtx_insn * without
19582 affecting the type signature. Strengthen locals "insn", "next"
19583 from rtx to rtx_insn *.
19584 (output_alternate_entry_point): Strengthen param "insn" from rtx to
19586 (call_from_call_insn): Strengthen param "insn" from rtx to
19588 (final_scan_insn): Rename param from "insn" to "uncast_insn",
19589 introducing a new local rtx_insn * "insn" using a checked cast to
19590 effectively strengthen "insn" from rtx to rtx_insn * without
19591 affecting the type signature. Strengthen return type and locals
19592 "next", "note", "prev", "new_rtx" from rtx to rtx_insn *. Remove
19593 now-redundant checked cast to rtx_insn * from both invocations of
19594 debug_hooks->var_location. Convert CALL_P into a dyn_cast,
19595 introducing a local "call_insn" for use when invoking
19596 call_from_call_insn.
19597 (notice_source_line): Strengthen param "insn" from rtx to
19599 (leaf_function_p): Likewise for local "insn".
19600 (final_forward_branch_p): Likewise.
19601 (leaf_renumber_regs): Likewise for param "first".
19602 (rest_of_clean_state): Likewise for locals "insn" and "next".
19603 (self_recursive_call_p): Likewise for param "insn".
19604 (collect_fn_hard_reg_usage): Likewise for local "insn".
19605 (get_call_fndecl): Likewise for param "insn".
19606 (get_call_cgraph_rtl_info): Likewise.
19607 (get_call_reg_set_usage): Rename param from "insn" to "uncast_insn",
19608 introducing a new local rtx_insn * "insn" using a checked cast to
19609 effectively strengthen "insn" from rtx to rtx_insn * without
19610 affecting the type signature.
19612 * config/arc/arc.c (arc_final_prescan_insn): For now, add checked
19613 cast when assigning from param "insn" to current_output_insn.
19614 (arc_pad_return): Strengthen local "insn" from rtx to rtx_insn *
19615 so that we can assign it back to current_output_insn.
19617 2014-08-20 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
19619 * config/avr/avr-mcus.def: Remove atmega26hvg, atmega64rfa2,
19620 atmega48hvf, atxmega32x1, atmxt224, atmxt224e, atmxt336s,
19621 atmxt540s and atmxt540sreva devices.
19622 * config/avr/avr-tables.opt: Regenerate.
19623 * config/avr/t-multilib: Regenerate.
19624 * doc/avr-mmcu.texi: Regenerate.
19626 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19628 * expr.c (convert_move): Strengthen local "insns" from rtx to
19630 (emit_block_move_via_loop): Strengthen locals "cmp_label" and
19631 "top_label" from rtx to rtx_code_label *.
19632 (move_block_to_reg): Strengthen local "insn", "last" from rtx to
19634 (emit_single_push_insn): Likewise for locals "prev", "last".
19635 (store_expr): Strengthen locals "lab1", "lab2", "label" from rtx
19636 to rtx_code_label *.
19637 (store_constructor): Likewise for locals "loop_start", "loop_end".
19638 (expand_cond_expr_using_cmove): Strengthen local "seq" from rtx to
19640 (expand_expr_real_2): Likewise.
19641 (expand_expr_real_1): Strengthen local "label" from rtx to
19644 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19646 * expmed.c (store_bit_field_using_insv): Strengthen local "last"
19647 from rtx to rtx_insn *.
19648 (store_bit_field_1): Likewise.
19649 (extract_bit_field_1): Likewise.
19650 (expand_mult_const): Likewise for local "insns".
19651 (expmed_mult_highpart): Strengthen local "label" from rtx to
19653 (expand_smod_pow2): Likewise.
19654 (expand_sdiv_pow2): Likewise.
19655 (expand_divmod): Strengthen locals "last", "insn" from rtx to
19656 rtx_insn *. Strengthen locals "label", "label1", "label2",
19657 "label3", "label4", "label5", "lab" from rtx to rtx_code_label *.
19658 (emit_cstore): Strengthen local "last" from rtx to rtx_insn *.
19659 (emit_store_flag): Likewise.
19660 (emit_store_flag_force): Strengthen local "label" from rtx to
19662 (do_cmp_and_jump): Likewise for param "label".
19664 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19666 * explow.c (force_reg): Strengthen local "insn" from rtx to
19668 (adjust_stack_1): Likewise.
19669 (allocate_dynamic_stack_space): Likewise. Strengthen locals
19670 "final_label", "available_label", "space_available" from rtx to
19672 (probe_stack_range): Likewise for locals "loop_lab", "end_lab".
19673 (anti_adjust_stack_and_probe): Likewise.
19675 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19677 * except.h (sjlj_emit_function_exit_after): Strengthen param
19678 "after" from rtx to rtx_insn *. This is only called with
19679 result of get_last_insn (in function.c) so type-change should be
19682 * function.h (struct rtl_eh): Strengthen field "ehr_label" from
19683 rtx to rtx_code_label *, and field "sjlj_exit_after" from rtx
19684 to rtx_insn *. These fields are only used from except.c so this
19685 type-change should be self-contained to this patch.
19687 * except.c (emit_to_new_bb_before): Strengthen param "seq" and
19688 local "last" from rtx to rtx_insn *.
19689 (dw2_build_landing_pads): Likewise for local "seq".
19690 (sjlj_mark_call_sites): Likewise for locals "insn", "before", p".
19691 (sjlj_emit_function_enter): Strengthen param "dispatch_label" from
19692 rtx to rtx_code_label *. Strengthen locals "fn_begin", "seq" from
19694 (sjlj_emit_function_exit_after): Strengthen param "after" from rtx
19696 (sjlj_emit_function_exit): Likewise for locals "seq", "insn".
19697 (sjlj_emit_dispatch_table): Likewise for locals "seq", "seq2".
19698 (sjlj_build_landing_pads): Replace NULL_RTX with NULL when
19699 referring to an insn. Strengthen local "dispatch_label" from
19700 rtx to rtx_code_label *.
19701 (set_nothrow_function_flags): Strengthen local "insn" from rtx to
19703 (expand_eh_return): Strengthen local "around_label" from
19704 rtx to rtx_code_label *.
19705 (convert_to_eh_region_ranges): Strengthen locals "iter",
19706 "last_action_insn", "first_no_action_insn",
19707 "first_no_action_insn_before_switch",
19708 "last_no_action_insn_before_switch", from rtx to rtx_insn *.
19710 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19712 * dwarf2out.c (last_var_location_insn): Strengthen this variable
19713 from rtx to rtx_insn *.
19714 (cached_next_real_insn): Likewise.
19715 (dwarf2out_end_epilogue): Replace use of NULL_RTX with NULL when
19716 working with insns.
19717 (dwarf2out_var_location): Strengthen locals "next_real",
19718 "next_note", "expected_next_loc_note", "last_start", "insn" from
19721 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19723 * dwarf2cfi.c (add_cfis_to_fde): Strengthen locals "insn", "next"
19724 from rtx to rtx_insn *.
19725 (create_pseudo_cfg): Likewise for local "insn".
19727 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19729 * df-core.c (df_bb_regno_first_def_find): Strengthen local "insn"
19730 from rtx to rtx_insn *.
19731 (df_bb_regno_last_def_find): Likewise.
19733 * df-problems.c (df_rd_bb_local_compute): Likewise.
19734 (df_lr_bb_local_compute): Likewise.
19735 (df_live_bb_local_compute): Likewise.
19736 (df_chain_remove_problem): Likewise.
19737 (df_chain_create_bb): Likewise.
19738 (df_word_lr_bb_local_compute): Likewise.
19739 (df_remove_dead_eq_notes): Likewise for param "insn".
19740 (df_note_bb_compute): Likewise for local "insn".
19741 (simulate_backwards_to_point): Likewise.
19742 (df_md_bb_local_compute): Likewise.
19744 * df-scan.c (df_scan_free_bb_info): Likewise.
19745 (df_scan_start_dump): Likewise.
19746 (df_scan_start_block): Likewise.
19747 (df_install_ref_incremental): Likewise for local "insn".
19748 (df_insn_rescan_all): Likewise.
19749 (df_reorganize_refs_by_reg_by_insn): Likewise.
19750 (df_reorganize_refs_by_insn_bb): Likewise.
19751 (df_recompute_luids): Likewise.
19752 (df_bb_refs_record): Likewise.
19753 (df_update_entry_exit_and_calls): Likewise.
19754 (df_bb_verify): Likewise.
19756 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19758 * ddg.h (struct ddg_node): Strengthen fields "insn" and
19759 "first_note" from rtx to rtx_insn *.
19760 (get_node_of_insn): Likewise for param 2 "insn".
19761 (autoinc_var_is_used_p): Likewise for params "def_insn" and "use_insn".
19763 * ddg.c (mem_read_insn_p): Strengthen param "insn" from rtx to
19765 (mem_write_insn_p): Likewise.
19766 (mem_access_insn_p): Likewise.
19767 (autoinc_var_is_used_p): Likewise for params "def_insn" and "use_insn".
19768 (def_has_ccmode_p): Likewise for param "insn".
19769 (add_cross_iteration_register_deps): Likewise for locals
19770 "def_insn" and "use_insn".
19771 (insns_may_alias_p): Likewise for params "insn1" and "insn2".
19772 (build_intra_loop_deps): Likewise for local "src_insn".
19773 (create_ddg): Strengthen locals "insn" and "first_note" from rtx
19775 (get_node_of_insn): Likewise for param "insn".
19777 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19779 * dce.c (worklist): Strengthen from vec<rtx> to vec<rtx_insn *>.
19780 (deletable_insn_p): Strengthen param "insn" from rtx to
19781 rtx_insn *. Add checked cast to rtx_call_insn when invoking
19782 find_call_stack_args, since this is guarded by CALL_P (insn).
19783 (marked_insn_p): Strengthen param "insn" from rtx to
19785 (mark_insn): Likewise. Add checked cast to rtx_call_insn when
19786 invoking find_call_stack_args, since this is guarded by
19788 (mark_nonreg_stores_1): Strengthen cast of "data" from rtx to
19789 rtx_insn *; we know this is an insn since this was called by
19790 mark_nonreg_stores.
19791 (mark_nonreg_stores_2): Likewise.
19792 (mark_nonreg_stores): Strengthen param "insn" from rtx to
19794 (find_call_stack_args): Strengthen param "call_insn" from rtx to
19795 rtx_call_insn *; strengthen locals "insn" and "prev_insn" from rtx
19797 (remove_reg_equal_equiv_notes_for_defs): Strengthen param "insn"
19798 from rtx to rtx_insn *.
19799 (reset_unmarked_insns_debug_uses): Likewise for locals "insn",
19800 "next", "ref_insn".
19801 (delete_unmarked_insns): Likewise for locals "insn", "next".
19802 (prescan_insns_for_dce): Likewise for locals "insn", "prev".
19803 (mark_reg_dependencies): Likewise for param "insn".
19804 (rest_of_handle_ud_dce): Likewise for local "insn".
19805 (word_dce_process_block): Likewise.
19806 (dce_process_block): Likewise.
19808 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19810 * cse.c (struct qty_table_elem): Strengthen field "const_insn"
19811 from rtx to rtx_insn *.
19812 (struct change_cc_mode_args): Likewise for field "insn".
19813 (this_insn): Strengthen from rtx to rtx_insn *.
19814 (make_new_qty): Replace use of NULL_RTX with NULL when dealing
19816 (validate_canon_reg): Strengthen param "insn" from rtx to
19818 (canon_reg): Likewise.
19819 (fold_rtx): Likewise. Replace use of NULL_RTX with NULL when
19821 (record_jump_equiv): Strengthen param "insn" from rtx to
19823 (try_back_substitute_reg): Likewise, also for locals "prev",
19825 (find_sets_in_insn): Likewise for param "insn".
19826 (canonicalize_insn): Likewise.
19827 (cse_insn): Likewise. Add a checked cast.
19828 (invalidate_from_clobbers): Likewise for param "insn".
19829 (invalidate_from_sets_and_clobbers): Likewise.
19830 (cse_process_notes_1): Replace use of NULL_RTX with NULL when
19832 (cse_prescan_path): Strengthen local "insn" from rtx to
19834 (cse_extended_basic_block): Likewise for locals "insn" and
19836 (cse_main): Likewise for param "f".
19837 (check_for_label_ref): Likewise for local "insn".
19838 (set_live_p): Likewise for second param ("insn").
19839 (insn_live_p): Likewise for first param ("insn") and for local
19841 (cse_change_cc_mode_insn): Likewise for first param "insn".
19842 (cse_change_cc_mode_insns): Likewise for first and second params
19844 (cse_cc_succs): Likewise for locals "insns", "last_insns", "insn"
19846 (cse_condition_code_reg): Likewise for locals "last_insn", "insn",
19849 2014-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com>
19850 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
19851 Anna Tikhonova <anna.tikhonova@intel.com>
19852 Ilya Tocar <ilya.tocar@intel.com>
19853 Andrey Turetskiy <andrey.turetskiy@intel.com>
19854 Ilya Verbin <ilya.verbin@intel.com>
19855 Kirill Yukhin <kirill.yukhin@intel.com>
19856 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
19858 * config/i386/subst.md (define_subst_attr "mask_avx512bw_condition"):
19860 * config/i386/sse.md
19861 (define_mode_iterator VI248_AVX2): Delete.
19862 (define_mode_iterator VI2_AVX2_AVX512BW): New.
19863 (define_mode_iterator VI48_AVX2): Ditto.
19864 (define_insn <shift_insn><mode>3): Delete.
19865 (define_insn "<shift_insn><mode>3<mask_name>" with
19866 VI2_AVX2_AVX512BW): New.
19867 (define_insn "<shift_insn><mode>3<mask_name>" with
19870 2014-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com>
19871 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
19872 Anna Tikhonova <anna.tikhonova@intel.com>
19873 Ilya Tocar <ilya.tocar@intel.com>
19874 Andrey Turetskiy <andrey.turetskiy@intel.com>
19875 Ilya Verbin <ilya.verbin@intel.com>
19876 Kirill Yukhin <kirill.yukhin@intel.com>
19877 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
19879 * config/i386/sse.md
19880 (define_mode_iterator VI4F_BRCST32x2): New.
19881 (define_mode_attr 64x2_mode): Ditto.
19882 (define_mode_attr 32x2mode): Ditto.
19883 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>"
19884 with VI4F_BRCST32x2): Ditto.
19885 (define_insn "<mask_codefor>avx512vl_broadcast<mode><mask_name>_1"
19886 with V16FI mode iterator): Ditto.
19887 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"
19888 with V16FI): Ditto.
19889 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"
19890 with VI8F_BRCST64x2): Ditto.
19892 2014-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com>
19893 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
19894 Anna Tikhonova <anna.tikhonova@intel.com>
19895 Ilya Tocar <ilya.tocar@intel.com>
19896 Andrey Turetskiy <andrey.turetskiy@intel.com>
19897 Ilya Verbin <ilya.verbin@intel.com>
19898 Kirill Yukhin <kirill.yukhin@intel.com>
19899 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
19901 * config/i386/sse.md
19902 (define_mode_iterator VI8_AVX512VL): New.
19903 (define_insn "avx512cd_maskb_vec_dup<mode>"): Macroize.
19905 2014-08-22 Kirill Yukhin <kirill.yukhin@intel.com>
19907 * gcc/config/i386/sse.md (define_mode_iterator V_AVX512VL): Delete.
19908 (define_mode_iterator V48_AVX512VL): New.
19909 (define_mode_iterator V12_AVX512VL): Ditto.
19910 (define_insn <avx512>_load<mode>_mask): Split into two similar
19911 patterns which use different mode iterators: V48_AVX512VL V12_AVX512VL.
19912 Refactor output template.
19913 (define_insn "<avx512>_store<mode>_mask"): Ditto.
19915 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19917 * cprop.c (struct occr): Strengthen field "insn" from rtx to
19919 (reg_available_p): Likewise for param "insn".
19920 (insert_set_in_table): Likewise.
19921 (hash_scan_set): Likewise.
19922 (hash_scan_insn): Likewise.
19923 (make_set_regs_unavailable): Likewise.
19924 (compute_hash_table_work): Likewise for local "insn".
19925 (reg_not_set_p): Strengthen param "insn" from const_rtx to
19927 (mark_oprs_set): Strengthen param "insn" from rtx to rtx_insn *.
19928 (try_replace_reg): Likewise.
19929 (find_avail_set): Likewise.
19930 (cprop_jump): Likewise for params "setcc", "jump".
19931 (constprop_register): Likewise for param "insn".
19932 (cprop_insn): Likewise.
19933 (do_local_cprop): Likewise.
19934 (local_cprop_pass): Likewise for local "insn".
19935 (bypass_block): Likewise for params "setcc" and "jump".
19936 (bypass_conditional_jumps): Likewise for locals "setcc" and
19938 (one_cprop_pass): Likewise for local "insn".
19940 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19942 * compare-elim.c (struct comparison_use): Strengthen field "insn"
19943 from rtx to rtx_insn *.
19944 (struct comparison): Likewise, also for field "prev_clobber".
19945 (conforming_compare): Likewise for param "insn".
19946 (arithmetic_flags_clobber_p): Likewise.
19947 (find_flags_uses_in_insn): Likewise.
19948 (find_comparison_dom_walker::before_dom_children): Likewise for
19949 locals "insn", "next", "last_clobber".
19950 (try_eliminate_compare): Likewise for locals "insn", "bb_head".
19952 2014-08-22 David Malcolm <dmalcolm@redhat.com>
19954 * combine-stack-adj.c (struct csa_reflist): Strengthen field
19955 "insn" from rtx to rtx_insn *.
19956 (single_set_for_csa): Likewise for param "insn".
19957 (record_one_stack_ref): Likewise.
19958 (try_apply_stack_adjustment): Likewise.
19959 (struct record_stack_refs_data): Likewise for field "insn".
19960 (maybe_move_args_size_note): Likewise for params "last" and "insn".
19961 (prev_active_insn_bb): Likewise for return type and param "insn".
19962 (next_active_insn_bb): Likewise.
19963 (force_move_args_size_note): Likewise for params "prev" and "last"
19964 and locals "test", "next_candidate", "prev_candidate".
19965 (combine_stack_adjustments_for_block): Strengthen locals
19966 "last_sp_set", "last2_sp_set", "insn", "next" from rtx to
19969 2014-08-21 David Malcolm <dmalcolm@redhat.com>
19971 * combine.c (i2mod): Strengthen this variable from rtx to rtx_insn *.
19972 (struct reg_stat_struct): Likewise for fields "last_death", "last_set".
19973 (subst_insn): Likewise for this variable.
19974 (added_links_insn): Likewise.
19975 (struct insn_link): Likewise for field "insn".
19976 (alloc_insn_link): Likewise for param "insn".
19977 (struct undobuf): Likewise for field "other_insn".
19978 (find_single_use): Likewise for param "insn" and local "next".
19979 (combine_validate_cost): Likewise for params "i0", "i1", "i2", "i3".
19980 (delete_noop_moves): Likewise for locals "insn", "next".
19981 (create_log_links): Likewise for locals "insn", "use_insn".
19982 Strengthen local "next_use" from rtx * to rtx_insn **.
19983 (insn_a_feeds_b): Likewise for params "a", "b".
19984 (combine_instructions): Likewise for param "f" and locals "insn",
19985 "next", "prev", "first", "last_combined_insn", "link", "link1",
19986 "temp". Replace use of NULL_RTX with NULL when referring to
19988 (setup_incoming_promotions): Likewise for param "first"
19989 (set_nonzero_bits_and_sign_copies): Likewise for local "insn".
19990 (can_combine_p): Likewise for params "insn", "i3", "pred",
19991 "pred2", "succ", "succ2" and for local "p".
19992 (combinable_i3pat): Likewise for param "i3".
19993 (cant_combine_insn_p): Likewise for param "insn".
19994 (likely_spilled_retval_p): Likewise.
19995 (adjust_for_new_dest): Likewise.
19996 (update_cfg_for_uncondjump): Likewise, also for local "insn".
19997 (try_combine): Likewise for return type and for params "i3", "i2",
19998 "i1", "i0", "last_combined_insn", and for locals "insn",
19999 "cc_use_insn", "p", "first", "last", "i2_insn", "i1_insn",
20000 "i0_insn". Eliminate local "tem" in favor of new locals
20001 "tem_note" and "tem_insn", the latter being an rtx_insn *. Add a
20002 checked cast for now to rtx_insn * on the return type of
20003 gen_rtx_INSN. Replace use of NULL_RTX with NULL when referring to
20005 (find_split_point): Strengthen param "insn" from rtx to
20007 (simplify_set): Likewise for local "other_insn".
20008 (recog_for_combine): Likewise for param "insn".
20009 (record_value_for_reg): Likewise.
20010 (record_dead_and_set_regs_1): Likewise for local
20011 "record_dead_insn".
20012 (record_dead_and_set_regs): Likewise for param "insn".
20013 (record_promoted_value): Likewise.
20014 (check_promoted_subreg): Likewise.
20015 (get_last_value_validate): Likewise.
20016 (reg_dead_at_p): Likewise.
20017 (move_deaths): Likewise for param "to_insn".
20018 (distribute_notes): Likewise for params "from_insn", "i3", "i2"
20019 and locals "place", "place2", "cc0_setter". Eliminate local "tem
20020 in favor of new locals "tem_note" and "tem_insn", the latter being
20022 (distribute_links): Strengthen locals "place", "insn" from rtx to
20025 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20027 * cfgrtl.c (can_delete_note_p): Require a const rtx_note * rather
20029 (can_delete_label_p): Require a const rtx_code_label * rather than
20031 (delete_insn): Add checked cast to rtx_code_label * when we know
20032 we're dealing with LABEL_P (insn). Strengthen local "bb_note" from
20034 (delete_insn_chain): Strengthen locals "prev" and "current" from
20035 rtx to rtx_insn *. Add a checked cast when assigning from
20036 "finish" (strengthening the params will come later). Add a
20037 checked cast to rtx_note * in region where we know
20039 (rtl_delete_block): Strengthen locals "insn" and "end" from rtx to
20041 (compute_bb_for_insn): Likewise.
20042 (free_bb_for_insn): Likewise for local "insn".
20043 (compute_bb_for_insn): Likewise.
20044 (update_bb_for_insn_chain): Strengthen params "begin", "end" and
20045 local "insn" from rtx to rtx_insn *
20046 (flow_active_insn_p): Require a const rtx_insn * rather than a
20048 (contains_no_active_insn_p): Strengthen local "insn" from rtx to
20050 (can_fallthru): Likewise for locals "insn" and "insn2".
20051 (bb_note): Likewise for local "note".
20052 (first_insn_after_basic_block_note): Likewise for local "note" and
20054 (rtl_split_block): Likewise for locals "insn" and "next".
20055 (unique_locus_on_edge_between_p): Likewise for locals "insn" and
20057 (rtl_merge_blocks): Likewise for locals "b_head", "b_end",
20058 "a_end", "del_first", "del_last", "b_debug_start", "b_debug_end",
20060 (try_redirect_by_replacing_jump): Likewise for locals "insn" (both of
20061 them), "kill_from", "barrier", "new_insn".
20062 (patch_jump_insn): Likewise for params "insn", "old_label".
20063 (redirect_branch_edge): Likewise for locals "old_label", "insn".
20064 (force_nonfallthru_and_redirect): Likewise for locals "insn",
20065 "old_label", "new_label".
20066 (rtl_tidy_fallthru_edge): Likewise for local "q".
20067 (rtl_split_edge): Likewise for locals "before", "last".
20068 (commit_one_edge_insertion): Likewise for locals "before",
20069 "after", "insns", "tmp", "last", adding a checked cast where
20070 currently necessary.
20071 (commit_edge_insertions): Likewise.
20072 (rtl_dump_bb): Likewise for locals "insn", "last".
20073 (print_rtl_with_bb): Likewise for local "x".
20074 (rtl_verify_bb_insns): Likewise for local "x".
20075 (rtl_verify_bb_pointers): Likewise for local "insn".
20076 (rtl_verify_bb_insn_chain): Likewise for locals "x", "last_head",
20078 (rtl_verify_fallthru): Likewise for local "insn".
20079 (rtl_verify_bb_layout): Likewise for locals "x" and "rtx_first".
20080 (purge_dead_edges): Likewise for local "insn".
20081 (fixup_abnormal_edges): Likewise for locals "insn", "stop", "next".
20082 (skip_insns_after_block): Likewise for return type and for locals
20083 "insn", "last_insn", "next_head", "prev".
20084 (record_effective_endpoints): Likewise for locals "next_insn",
20086 (fixup_reorder_chain): Likewise for locals "bb_end_insn" and "end".
20087 (verify_insn_chain): Likewise for locals "x", "prevx", "nextx".
20088 (cfg_layout_can_duplicate_bb_p): Likewise for local "insn".
20089 (duplicate_insn_chain): For now, add checked cast from rtx to
20090 rtx_insn * when returning insn.
20091 (cfg_layout_duplicate_bb): Likewise for local "insn".
20092 (cfg_layout_delete_block): Likewise for locals "insn", "next",
20093 "prev", "remaints".
20094 (cfg_layout_merge_blocks): Likewise for local "insn", "last".
20095 (rtl_block_empty_p): Likewise.
20096 (rtl_split_block_before_cond_jump): Likewise for locals "insn",
20097 "split_point", "last".
20098 (rtl_block_ends_with_call_p): Likewise for local "insn".
20099 (need_fake_edge_p): Strengthen param "insn" from const_rtx to
20101 (rtl_flow_call_edges_add): Strengthen locals "insn", "prev_insn",
20102 "split_at_insn" from rtx to rtx_insn *.
20103 (rtl_lv_add_condition_to_bb): Likewise for locals "seq", "jump".
20104 (rtl_can_remove_branch_p): Strengthen local "insn" from const_rtx
20105 to const rtx_insn *.
20106 (rtl_account_profile_record): Likewise.
20108 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20110 * cfgloopanal.c (num_loop_insns): Strengthen local "insn" from
20112 (average_num_loop_insns): Likewise.
20113 (init_set_costs): Likewise for local "seq".
20114 (seq_cost): Likewise for param "seq", from const_rtx to const
20117 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20119 * cfgloop.c (loop_exits_from_bb_p): Strengthen local "insn" from
20122 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20124 * basic-block.h (flow_find_cross_jump): Strengthen params 3 and 4
20125 "f1" and "f2" from rtx * to rtx_insn **.
20126 (flow_find_head_matching_sequence): Likewise.
20128 * cfgcleanup.c (try_simplify_condjump): Strengthen local
20129 "cbranch_insn" from rtx to rtx_insn *.
20130 (thread_jump): Likewise for local "insn".
20131 (try_forward_edges): Likewise for local "last".
20132 (merge_blocks_move_predecessor_nojumps): Likewise for local "barrier".
20133 (merge_blocks_move_successor_nojumps): Likewise for locals "barrier",
20135 (can_replace_by): Likewise for params "i1", "i2".
20136 (old_insns_match_p): Likewise.
20137 (merge_notes): Likewise.
20138 (walk_to_nondebug_insn): Likewise for param "i1".
20139 (flow_find_cross_jump): Strengthen params "f1" and "f2" from rtx *
20140 to rtx_insn **. Strengthen locals "i1", "i2", "last1", "last2",
20141 "afterlast1", "afterlast2" from rtx to rtx_insn *.
20142 (flow_find_head_matching_sequence): Strengthen params "f1" and
20143 "f2" from rtx * to rtx_insn **. Strengthen locals "i1", "i2",
20144 "last1", "last2", "beforelast1", "beforelast2" from rtx to
20146 (outgoing_edges_match): Likewise for locals "last1", "last2".
20147 (try_crossjump_to_edge): Likewise for local "insn".
20148 Replace call to for_each_rtx with for_each_rtx_in_insn.
20150 (try_crossjump_to_edge): Likewise for locals "newpos1", "newpos2".
20151 (try_head_merge_bb): Likewise for locals "e0_last_head_, "jump",
20152 "e0_last", "e_last", "head", "curr", "insn". Strengthen locals
20153 "headptr", "currptr", "nextptr" from rtx * to rtx_insn **.
20154 (try_optimize_cfg): Strengthen local "last" from rtx to
20156 (delete_dead_jumptables): Likewise for locals "insn", "next",
20159 * ifcvt.c (cond_exec_process_if_block): Likewise for locals
20160 "rtx then_last_head", "rtx else_last_head", "rtx then_first_tail",
20161 "rtx else_first_tail", to reflect the basic-block.h changes above.
20163 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20165 * cfgbuild.c (make_edges): Strengthen local "insn" from rtx to
20167 (purge_dead_tablejump_edges): Likewise.
20168 (find_bb_boundaries): Likewise for locals "insn", "end",
20169 "flow_transfer_insn".
20171 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20173 * caller-save.c (save_call_clobbered_regs): Strengthen locals
20174 "ins" and "prev" from rtx to rtx_insn *.
20176 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20178 * calls.c (emit_call_1): Strengthen local "call_insn" from rtx to
20180 (internal_arg_pointer_exp_state): Likewise for field "scan_start".
20181 (internal_arg_pointer_based_exp_scan): Likewise for locals "insn",
20183 (load_register_parameters): Likewise for local "before_arg".
20184 (check_sibcall_argument_overlap): Likewise for param "insn".
20185 (expand_call): Likewise for locals "normal_call_insns",
20186 "tail_call_insns", "insns", "before_call", "after_args",
20187 "before_arg", "last", "prev". Strengthen one of the "last" from
20188 rtx to rtx_call_insn *.
20189 (fixup_tail_calls): Strengthen local "insn" from rtx to
20191 (emit_library_call_value_1): Likewise for locals "before_call" and
20194 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20196 * builtins.c (expand_builtin_longjmp): Strengthen locals "insn"
20197 and "last" from rtx to rtx_insn *.
20198 (expand_builtin_nonlocal_goto): Likewise for local "insn".
20199 (expand_builtin_apply): Strengthen local "call_insn" from rtx to
20201 (expand_errno_check): Strengthen local "lab" from rtx to
20203 (expand_builtin_mathfn): Strengthen local "insns" from rtx to
20205 (expand_builtin_mathfn_2): Likewise.
20206 (expand_builtin_mathfn_ternary): Likewise.
20207 (expand_builtin_mathfn_3): Likewise.
20208 (expand_builtin_interclass_mathfn): Likewise for local "last".
20209 (expand_builtin_int_roundingfn): Likewise for local "insns".
20210 (expand_builtin_int_roundingfn_2): Likewise.
20211 (expand_builtin_strlen): Likewise for local "before_strlen".
20212 (expand_builtin_strncmp): Likewise for local "seq".
20213 (expand_builtin_signbit): Likewise for local "last".
20214 (expand_builtin_atomic_compare_exchange): Strengthen local "label"
20215 from rtx to rtx_code_label *.
20216 (expand_stack_restore): Strengthen local "prev" from rtx to
20219 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20221 * bt-load.c (struct btr_user_s): Strengthen field "insn" from rtx
20223 (struct btr_def_s): Likewise.
20224 (insn_sets_btr_p): Strengthen param "insn" from const_rtx to
20226 (add_btr_def): Likewise.
20227 (new_btr_user): Likewise.
20228 (compute_defs_uses_and_gen): Strengthen locals "insn", "last" from
20230 (link_btr_uses): Likewise.
20231 (move_btr_def): Likewise for locals "insp", "old_insn",
20232 "new_insn". Add checked cast to rtx_insn * for now on result of
20234 (can_move_up): Strengthen param "insn" from const_rtx to
20237 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20239 * bb-reorder.c (copy_bb_p): Strengthen local "insn" from rtx to
20241 (get_uncond_jump_length): Likewise for locals "label", "jump".
20242 (fix_up_crossing_landing_pad): Likewise for locals "new_label",
20244 (add_labels_and_missing_jumps): Likewise for local "new_jump".
20245 (fix_up_fall_thru_edges): Likewise for local "old_jump".
20246 (find_jump_block): Likewise for local "insn".
20247 (fix_crossing_conditional_branches): Likewise for locals
20248 "old_jump", "new_jump".
20249 (fix_crossing_unconditional_branches): Likewise for locals
20250 "last_insn", "indirect_jump_sequence", "jump_insn", "cur_insn".
20251 (pass_duplicate_computed_gotos::execute): Likewise for local "insn".
20253 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20255 * auto-inc-dec.c (struct inc_insn): Strengthen field "insn" from
20257 (struct mem_insn): Likewise for field "insn".
20258 (reg_next_use): Strengthen from rtx * to rtx_insn **.
20259 (reg_next_inc_use): Likewise.
20260 (reg_next_def): Likewise.
20261 (move_dead_notes): Strengthen params "to_insn" and "from_insn"
20262 from rtx to rtx_insn *.
20263 (move_insn_before): Likewise for param "next_insn" and local "insns".
20264 (attempt_change): Likewise for local "mov_insn".
20265 (try_merge): Likewise for param "last_insn".
20266 (get_next_ref): Likewise for return type and local "insn".
20267 Strengthen param "next_array" from rtx * to rtx_insn **.
20268 (parse_add_or_inc): Strengthen param "insn" from rtx to
20270 (find_inc): Likewise for locals "insn" and "other_insn" (three of
20272 (merge_in_block): Likewise for locals "insn", "curr",
20274 (pass_inc_dec::execute): Update allocations of the arrays to
20275 reflect the stronger types.
20277 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20279 * asan.c (asan_clear_shadow): Strengthen locals "insn", "insns"
20280 and "jump" from rtx to rtx_insn *. Strengthen local "top_label"
20281 from rtx to rtx_code_label *.
20283 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20285 * alias.c (init_alias_analysis): Strengthen local "insn" from rtx
20288 2014-08-21 Michael Meissner <meissner@linux.vnet.ibm.com>
20290 * config/rs6000/rs6000.c (print_operand, 'y' case): Fix code that
20291 generated a warning and prevented bootstrapping the compiler.
20293 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20295 * rtl.h (delete_related_insns): Strengthen return type from rtx to
20298 * jump.c (delete_related_insns): Likewise, also for locals "next"
20301 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20303 * genautomata.c (output_internal_insn_latency_func): When writing
20304 the function "internal_insn_latency" to insn-automata.c,
20305 strengthen params "insn" and "insn2" from rtx to rtx_insn *, thus
20306 allowing the optional guard function of (define_bypass) clauses to
20307 expect a pair of rtx_insn *, rather than a pair of rtx.
20308 (output_insn_latency_func): When writing the function
20309 "insn_latency", add an "uncast_" prefix to params "insn" and
20310 "insn2", reintroducing "insn" and "insn2" as rtx_insn * locals
20311 using checked casts from the params, thus enabling the above
20312 change to the generated "internal_insn_latency" function.
20314 2014-08-21 Jan Hubicka <hubicka@ucw.cz>
20316 PR tree-optimization/62091
20317 * ipa-devirt.c (ipa_polymorphic_call_context::restrict_to_inner_type):
20318 handle correctly arrays.
20319 (extr_type_from_vtbl_ptr_store): Add debug output; handle multiple
20320 inheritance binfos.
20321 (record_known_type): Walk into inner type.
20322 (ipa_polymorphic_call_context::get_dynamic_type): Likewise; strenghten
20323 condition on no type changes.
20325 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20327 * genattrtab.c (write_attr_get): Within the generated get_attr_
20328 functions, rename param "insn" to "uncast_insn" and reintroduce
20329 "insn" as an local rtx_insn * using a checked cast, so that "insn"
20330 is an rtx_insn * within insn-attrtab.c
20332 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20334 * output.h (peephole): Strengthen return type from rtx to
20336 * rtl.h (delete_for_peephole): Likewise for both params.
20337 * genpeep.c (main): In generated "peephole" function, strengthen
20338 return type and local "insn" from rtx to rtx_insn *. For now,
20339 rename param "ins1" to "uncast_ins1", adding "ins1" back as an
20340 rtx_insn *, with a checked cast.
20341 * jump.c (delete_for_peephole): Strengthen params "from", "to" and
20342 locals "insn", "next", "prev" from rtx to rtx_insn *.
20344 2014-08-21 Marc Glisse <marc.glisse@inria.fr>
20346 PR tree-optimization/62112
20347 * gimple-iterator.c (gsi_replace): Return whether EH cleanup is needed.
20348 * gimple-iterator.h (gsi_replace): Return bool.
20349 * tree-ssa-alias.c (ref_may_alias_global_p_1): New helper, code
20350 moved from ref_may_alias_global_p.
20351 (ref_may_alias_global_p, refs_may_alias_p, ref_maybe_used_by_stmt_p):
20353 (ref_maybe_used_by_call_p): Take ao_ref* instead of tree.
20354 (stmt_kills_ref_p_1): Rename...
20355 (stmt_kills_ref_p): ... to this.
20356 * tree-ssa-alias.h (ref_may_alias_global_p, ref_maybe_used_by_stmt_p,
20357 stmt_kills_ref_p): Declare.
20358 * tree-ssa-dse.c (dse_possible_dead_store_p): New argument, use it.
20359 Move the self-assignment case...
20360 (dse_optimize_stmt): ... here. Handle builtin calls. Remove dead code.
20362 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20364 * rtl.h (try_split): Strengthen return type from rtx to rtx_insn *.
20366 * emit-rtl.c (try_split): Likewise, also for locals "before" and
20367 "after". For now, don't strengthen param "trial", which requires
20368 adding checked casts when returning it.
20370 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20372 * debug.h (struct gcc_debug_hooks): Strengthen param 1 of hook
20373 "label" from rtx to rtx_code_label *. Strengthen param 1 of
20374 "var_location" hook from rtx to rtx_insn *.
20375 (debug_nothing_rtx): Delete in favor of...
20376 (debug_nothing_rtx_code_label): New prototype.
20377 (debug_nothing_rtx_rtx): Delete unused prototype.
20378 (debug_nothing_rtx_insn): New prototype.
20380 * final.c (final_scan_insn): Add checked cast to rtx_insn * when
20381 invoking debug_hooks->var_location (in two places, one in a NOTE
20382 case of a switch statement, the other guarded by a CALL_P
20383 conditional. Add checked cast to rtx_code_label * when invoking
20384 debug_hooks->label (within CODE_LABEL case of switch statement).
20386 * dbxout.c (dbx_debug_hooks): Update "label" hook from
20387 debug_nothing_rtx to debug_nothing_rtx_code_label. Update
20388 "var_location" from debug_nothing_rtx to debug_nothing_rtx_insn.
20389 (xcoff_debug_hooks): Likewise.
20390 * debug.c (do_nothing_debug_hooks): Likewise.
20391 (debug_nothing_rtx): Delete in favor of...
20392 (debug_nothing_rtx_insn): New function.
20393 (debug_nothing_rtx_rtx): Delete unused function.
20394 (debug_nothing_rtx_code_label): New function.
20395 * dwarf2out.c (dwarf2_debug_hooks): Update "label" hook from
20396 debug_nothing_rtx to debug_nothing_rtx_code_label.
20397 (dwarf2out_var_location): Strengthen param "loc_note" from rtx
20399 * sdbout.c (sdb_debug_hooks): Update "var_location" hook from
20400 debug_nothing_rtx to debug_nothing_rtx_insn.
20401 (sdbout_label): Strengthen param "insn" from rtx to
20403 * vmsdbgout.c (vmsdbg_debug_hooks): Update "label" hook from
20404 debug_nothing_rtx to debug_nothing_rtx_code_label. Update
20405 "var_location" hook from debug_nothing_rtx to
20406 debug_nothing_rtx_insn.
20408 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20410 * recog.h (insn_output_fn): Update this function typedef to match
20411 the changes below to the generated output functions, strengthening
20412 the 2nd param from rtx to rtx_insn *.
20414 * final.c (get_insn_template): Add a checked cast to rtx_insn * on
20415 insn when invoking an output function, to match the new signature
20416 of insn_output_fn with a stronger second param.
20418 * genconditions.c (write_header): In the generated code for
20419 gencondmd.c, strengthen the global "insn" from rtx to rtx_insn *
20420 to match the other changes in this patch.
20422 * genemit.c (gen_split): Strengthen the 1st param "curr_insn" of
20423 the generated "gen_" functions from rtx to rtx_insn * within their
20426 * genrecog.c (write_subroutine): Strengthen the 2nd param "insn" of
20427 the subfunctions within the generated "recog_", "split", "peephole2"
20428 function trees from rtx to rtx_insn *. For now, the top-level
20429 generated functions ("recog", "split", "peephole2") continue to
20430 take a plain rtx for "insn", to avoid introducing dependencies on
20431 other patches. Rename this 2nd param from "insn" to
20432 "uncast_insn", and reintroduce "insn" as a local variable of type
20433 rtx_insn *, initialized at the top of the generated function with
20434 a checked cast on "uncast_insn".
20435 (make_insn_sequence): Strengthen the 1st param "curr_insn" of
20436 the generated "gen_" functions from rtx to rtx_insn * within their
20439 * genoutput.c (process_template): Strengthen the 2nd param within
20440 the generated "output_" functions "insn" from rtx to rtx_insn *.
20442 2014-08-20 Jan Hubicka <hubicka@ucw.cz>
20444 * tree-profile.c (tree_profiling): Skip external functions
20445 when doing coverage instrumentation.
20446 * cgraphunit.c (compile): Do not assert that all nodes are reachable.
20448 2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
20450 * config/rs6000/altivec.h (vec_cpsgn): New #define.
20451 (vec_mergee): Likewise.
20452 (vec_mergeo): Likewise.
20453 (vec_cntlz): Likewise.
20454 * config/rs600/rs6000-c.c (altivec_overloaded_builtins): Add new
20455 entries for VEC_AND, VEC_ANDC, VEC_MERGEH, VEC_MERGEL, VEC_NOR,
20456 VEC_OR, VEC_PACKSU, VEC_XOR, VEC_PERM, VEC_SEL, VEC_VCMPGT_P,
20457 VMRGEW, and VMRGOW.
20458 * doc/extend.texi: Document various forms of vec_cpsgn,
20459 vec_splats, vec_and, vec_andc, vec_mergeh, vec_mergel, vec_nor,
20460 vec_or, vec_perm, vec_sel, vec_sub, vec_xor, vec_all_eq,
20461 vec_all_ge, vec_all_gt, vec_all_le, vec_all_lt, vec_all_ne,
20462 vec_any_eq, vec_any_ge, vec_any_gt, vec_any_le, vec_any_lt,
20463 vec_any_ne, vec_mergee, vec_mergeo, vec_packsu, and vec_cntlz.
20465 2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
20467 * config/rs6000/rs6000.c (context.h): New include.
20468 (tree-pass.h): Likewise.
20469 (make_pass_analyze_swaps): New decl.
20470 (rs6000_option_override): Register pass_analyze_swaps.
20471 (swap_web_entry): New subsclass of web_entry_base (df.h).
20472 (special_handling_values): New enum.
20473 (union_defs): New function.
20474 (union_uses): Likewise.
20475 (insn_is_load_p): Likewise.
20476 (insn_is_store_p): Likewise.
20477 (insn_is_swap_p): Likewise.
20478 (rtx_is_swappable_p): Likewise.
20479 (insn_is_swappable_p): Likewise.
20480 (chain_purpose): New enum.
20481 (chain_contains_only_swaps): New function.
20482 (mark_swaps_for_removal): Likewise.
20483 (swap_const_vector_halves): Likewise.
20484 (adjust_subreg_index): Likewise.
20485 (permute_load): Likewise.
20486 (permute_store): Likewise.
20487 (handle_special_swappables): Likewise.
20488 (replace_swap_with_copy): Likewise.
20489 (dump_swap_insn_table): Likewise.
20490 (rs6000_analyze_swaps): Likewise.
20491 (pass_data_analyze_swaps): New pass_data.
20492 (pass_analyze_swaps): New rtl_opt_pass.
20493 (make_pass_analyze_swaps): New function.
20494 * config/rs6000/rs6000.opt (moptimize-swaps): New option.
20496 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20498 * sel-sched-ir.h (create_insn_rtx_from_pattern): Strengthen return
20499 type from rtx to rtx_insn *.
20500 (create_copy_of_insn_rtx): Likewise.
20501 * sel-sched-ir.c (create_insn_rtx_from_pattern): Likewise.
20502 (create_copy_of_insn_rtx): Likewise, also for local "res".
20504 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20506 * rtl.h (find_first_parameter_load): Strengthen return type from
20508 * rtlanal.c (find_first_parameter_load): Strengthen return type
20509 from rtx to rtx_insn *. Add checked cast for now, to postpone
20510 strengthening the params.
20512 2014-08-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
20515 * diagnostic.c: Set default caret.
20516 (diagnostic_show_locus): Use it. Tell pretty-printer that a new
20518 * diagnostic.h (struct diagnostic_context):
20520 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20522 * sel-sched-ir.h (exit_insn): Strengthen from rtx to rtx_insn *.
20523 (sel_bb_head): Strengthen return type insn_t (currently just an
20524 rtx) to rtx_insn *.
20525 (sel_bb_end): Likewise.
20527 * sel-sched-ir.c (exit_insn): Strengthen from rtx to rtx_insn *.
20528 (sel_bb_head): Strengthen return type and local "head" from
20529 insn_t (currently just an rtx) to rtx_insn *.
20530 (sel_bb_end): Likewise for return type.
20531 (free_nop_and_exit_insns): Replace use of NULL_RTX with NULL when
20534 2014-08-21 David Malcolm <dmalcolm@redhat.com>
20536 * basic-block.h (get_last_bb_insn): Strengthen return type from
20538 * cfgrtl.c (get_last_bb_insn): Likewise, and for locals "tmp" and
20541 2014-08-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
20544 * diagnostic.c (default_diagnostic_finalizer): Move caret printing
20546 (diagnostic_report_diagnostic): ... from here.
20547 * toplev.c (general_init): Move code to c-family.
20549 2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
20551 * df.h (web_entry_base): Replace existing struct web_entry with a
20552 new class web_entry_base with only the predecessor member.
20553 (unionfind_root): Remove declaration and move to class member.
20554 (unionfind_union): Remove declaration and move to friend
20556 (union_defs): Remove declaration.
20557 * web.c (web_entry_base::unionfind_root): Modify to be member
20558 function and adjust accessors.
20559 (unionfind_union): Modify to be friend function and adjust
20561 (web_entry): New subclass of web_entry_base containing the reg
20563 (union_match_dups): Modify for struct -> class changes.
20564 (union_defs): Likewise.
20565 (entry_register): Likewise.
20566 (pass_web::execute): Likewise.
20568 2014-08-20 Bill Schmidt <wschmidt@vnet.ibm.com>
20570 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Provide
20571 builtin define __VEC_ELEMENT_REG_ORDER__.
20573 2014-08-20 Martin Jambor <mjambor@suse.cz>
20574 Wei Mi <wmi@google.com>
20577 PR middle-end/61776
20578 * tree-ssa-operands.c (update_stmt_operands): Remove
20579 MODIFIED_NORETURN_CALLS.
20580 * tree-cfgcleanup.c (cleanup_call_ctrl_altering_flag): New func.
20581 (cleanup_control_flow_bb): Use cleanup_call_ctrl_altering_flag.
20582 (split_bb_on_noreturn_calls): Renamed from split_bbs_on_noreturn_calls.
20583 (cleanup_tree_cfg_1): Use split_bb_on_noreturn_calls.
20584 * tree-ssanames.h: Remove MODIFIED_NORETURN_CALLS.
20585 * gimple.h (enum gf_mask): Add GF_CALL_CTRL_ALTERING.
20586 (gimple_call_set_ctrl_altering): New func.
20587 (gimple_call_ctrl_altering_p): Ditto.
20588 * tree-cfg.c (gimple_call_initialize_ctrl_altering): Ditto.
20589 (make_blocks): Use gimple_call_initialize_ctrl_altering.
20590 (is_ctrl_altering_stmt): Use gimple_call_ctrl_altering_p.
20591 (execute_fixup_cfg): Use gimple_call_ctrl_altering_p and
20592 remove MODIFIED_NORETURN_CALLS.
20594 2014-08-20 Jan Hubicka <hubicka@ucw.cz>
20596 * coverage.c (coverage_compute_profile_id): Return non-0;
20597 also handle symbols with unique name.
20598 (coverage_end_function): Do not skip DECL_EXTERNAL functions.
20600 2014-08-20 Steve Ellcey <sellcey@mips.com>
20602 PR middle-end/49191
20603 * doc/sourcebuild.texi (non_strict_align): New.
20605 2014-08-20 Jan Hubicka <hubicka@ucw.cz>
20607 * cgraphunit.c (ipa_passes, compile): Reshedule
20608 symtab_remove_unreachable_nodes passes; update comments.
20609 * ipa-inline.c (pass_data_ipa_inline): Do not schedule
20610 TODO_remove_functions before the pass; the functions ought to be
20612 * ipa.c (pass_data_ipa_free_inline_summary): Enable dump; schedule
20613 TODO_remove_functions.
20614 * passes.c (pass_data_early_local_passes): Do not schedule function
20616 (execute_one_pass): Fix call of symtab_remove_unreachable_nodes.
20618 2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
20621 * opts-common.c (set_option): Call diagnostic_classify_diagnostic
20622 before setting the option.
20623 * diagnostic.c (diagnostic_classify_diagnostic): Record
20624 command-line status.
20626 2014-08-20 Richard Biener <rguenther@suse.de>
20629 * tree.c (build_common_tree_nodes): Use make_or_reuse_type
20630 to build uint{16,32,64}_type_node.
20632 2014-08-20 Terry Guo <terry.guo@arm.com>
20634 * config/arm/thumb1.md (64bit splitter): Replace const_double_operand
20635 with immediate_operand.
20637 2014-08-20 David Malcolm <dmalcolm@redhat.com>
20639 * cfgrtl.c (duplicate_insn_chain): Convert the checked cast on
20640 "insn" from an as_a to a safe_as_a, for the case when "insn" is
20643 2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
20645 PR preprocessor/51303
20646 * incpath.c (remove_duplicates): Use cpp_warning.
20648 2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
20652 * doc/options.texi (CPP): Document it.
20653 * doc/invoke.texi (Wvariadic-macros): Fix documentation.
20654 * optc-gen.awk: Handle CPP.
20655 * opth-gen.awk: Likewise.
20657 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20659 * rtl.h (unlink_insn_chain): Strengthen return type from rtx to
20661 (duplicate_insn_chain): Likewise.
20662 * cfgrtl.c (unlink_insn_chain): Strengthen return type from rtx to
20663 rtx_insn *, also for locals "prevfirst" and "nextlast". Add a
20664 checked cast for now (until we can strengthen the params in the
20666 (duplicate_insn_chain): Likewise.
20668 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20670 * rtl.h (next_cc0_user): Strengthen return type from rtx to
20672 (prev_cc0_setter): Likewise.
20674 * emit-rtl.c (next_cc0_user): Strengthen return type from rtx to
20675 rtx_insn *, adding checked casts for now as necessary.
20676 (prev_cc0_setter): Likewise.
20678 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20680 * expr.h (emit_move_insn): Strengthen return type from rtx to
20682 (emit_move_insn_1): Likewise.
20683 (emit_move_complex_push): Likewise.
20684 (emit_move_complex_parts): Likewise.
20686 * expr.c (emit_move_via_integer): Strengthen return type from rtx
20687 to rtx_insn *. Replace use of NULL_RTX with NULL when working
20689 (emit_move_complex_push): Strengthen return type from rtx to
20691 (emit_move_complex): Likewise, also for local "ret".
20692 (emit_move_ccmode): Likewise.
20693 (emit_move_multi_word): Likewise for return type and locals
20694 "last_insn", "seq".
20695 (emit_move_insn_1): Likewise for return type and locals "result",
20697 (emit_move_insn): Likewise for return type and local "last_insn".
20698 (compress_float_constant): Likewise.
20700 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20702 * emit-rtl.h (emit_copy_of_insn_after): Strengthen return type
20703 from rtx to rtx_insn *.
20705 * rtl.h (emit_insn_before): Likewise.
20706 (emit_insn_before_noloc): Likewise.
20707 (emit_insn_before_setloc): Likewise.
20708 (emit_jump_insn_before): Likewise.
20709 (emit_jump_insn_before_noloc): Likewise.
20710 (emit_jump_insn_before_setloc): Likewise.
20711 (emit_call_insn_before): Likewise.
20712 (emit_call_insn_before_noloc): Likewise.
20713 (emit_call_insn_before_setloc): Likewise.
20714 (emit_debug_insn_before): Likewise.
20715 (emit_debug_insn_before_noloc): Likewise.
20716 (emit_debug_insn_before_setloc): Likewise.
20717 (emit_label_before): Likewise.
20718 (emit_insn_after): Likewise.
20719 (emit_insn_after_noloc): Likewise.
20720 (emit_insn_after_setloc): Likewise.
20721 (emit_jump_insn_after): Likewise.
20722 (emit_jump_insn_after_noloc): Likewise.
20723 (emit_jump_insn_after_setloc): Likewise.
20724 (emit_call_insn_after): Likewise.
20725 (emit_call_insn_after_noloc): Likewise.
20726 (emit_call_insn_after_setloc): Likewise.
20727 (emit_debug_insn_after): Likewise.
20728 (emit_debug_insn_after_noloc): Likewise.
20729 (emit_debug_insn_after_setloc): Likewise.
20730 (emit_label_after): Likewise.
20731 (emit_insn): Likewise.
20732 (emit_debug_insn): Likewise.
20733 (emit_jump_insn): Likewise.
20734 (emit_call_insn): Likewise.
20735 (emit_label): Likewise.
20736 (gen_clobber): Likewise.
20737 (emit_clobber): Likewise.
20738 (gen_use): Likewise.
20739 (emit_use): Likewise.
20742 (emit_barrier_before): Strengthen return type from rtx to
20744 (emit_barrier_after): Likewise.
20745 (emit_barrier): Likewise.
20747 * emit-rtl.c (emit_pattern_before_noloc): Strengthen return type
20748 from rtx to rtx_insn *. Add checked casts for now when converting
20749 "last" from rtx to rtx_insn *.
20750 (emit_insn_before_noloc): Likewise for return type.
20751 (emit_jump_insn_before_noloc): Likewise.
20752 (emit_call_insn_before_noloc): Likewise.
20753 (emit_debug_insn_before_noloc): Likewise.
20754 (emit_barrier_before): Strengthen return type and local "insn"
20755 from rtx to rtx_barrier *.
20756 (emit_label_before): Strengthen return type from rtx to
20757 rtx_insn *. Add checked cast for now when returning param
20758 (emit_pattern_after_noloc): Strengthen return type from rtx to
20759 rtx_insn *. Add checked casts for now when converting "last" from
20761 (emit_insn_after_noloc): Strengthen return type from rtx to
20763 (emit_jump_insn_after_noloc): Likewise.
20764 (emit_call_insn_after_noloc): Likewise.
20765 (emit_debug_insn_after_noloc): Likewise.
20766 (emit_barrier_after): Strengthen return type from rtx to
20768 (emit_label_after): Strengthen return type from rtx to rtx_insn *.
20769 Add checked cast for now when converting "label" from rtx to
20771 (emit_pattern_after_setloc): Strengthen return type from rtx to
20772 rtx_insn *. Add checked casts for now when converting "last" from
20774 (emit_pattern_after): Strengthen return type from rtx to
20776 (emit_insn_after_setloc): Likewise.
20777 (emit_insn_after): Likewise.
20778 (emit_jump_insn_after_setloc): Likewise.
20779 (emit_jump_insn_after): Likewise.
20780 (emit_call_insn_after_setloc): Likewise.
20781 (emit_call_insn_after): Likewise.
20782 (emit_debug_insn_after_setloc): Likewise.
20783 (emit_debug_insn_after): Likewise.
20784 (emit_pattern_before_setloc): Likewise. Add checked casts for now
20785 when converting "last" from rtx to rtx_insn *.
20786 (emit_pattern_before): Strengthen return type from rtx to
20788 (emit_insn_before_setloc): Likewise.
20789 (emit_insn_before): Likewise.
20790 (emit_jump_insn_before_setloc): Likewise.
20791 (emit_jump_insn_before): Likewise.
20792 (emit_call_insn_before_setloc): Likewise.
20793 (emit_call_insn_before): Likewise.
20794 (emit_debug_insn_before_setloc): Likewise.
20795 (emit_debug_insn_before): Likewise.
20796 (emit_insn): Strengthen return type and locals "last", "insn",
20797 "next" from rtx to rtx_insn *. Add checked cast to rtx_insn
20798 within cases where we know we have an insn.
20799 (emit_debug_insn): Likewise.
20800 (emit_jump_insn): Likewise.
20801 (emit_call_insn): Strengthen return type and local "insn" from rtx
20803 (emit_label): Strengthen return type from rtx to rtx_insn *. Add
20804 a checked cast to rtx_insn * for now on "label".
20805 (emit_barrier): Strengthen return type from rtx to rtx_barrier *.
20806 (emit_clobber): Strengthen return type from rtx to rtx_insn *.
20807 (emit_use): Likewise.
20808 (gen_use): Likewise, also for local "seq".
20809 (emit): Likewise for return type and local "insn".
20810 (rtx_insn): Likewise for return type and local "new_rtx".
20812 * cfgrtl.c (emit_barrier_after_bb): Strengthen local "barrier"
20813 from rtx to rtx_barrier *.
20815 * config/sh/sh.c (output_stack_adjust): Since emit_insn has
20816 changed return type from rtx to rtx_insn *, we must update
20817 "emit_fn" type, and this in turn means updating...
20818 (frame_insn): ...this. Strengthen return type from rtx to
20819 rtx_insn *. Introduce a new local "insn" of the appropriate type.
20821 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20823 * emit-rtl.c (emit_jump_table_data): Strengthen return type from
20824 rtx to rtx_jump_table_data *. Also for local.
20825 * rtl.h (emit_jump_table_data): Likewise.
20827 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20829 * basic-block.h (create_basic_block_structure): Strengthen third
20830 param "bb_note" from rtx to rtx_note *.
20831 * rtl.h (emit_note_before): Strengthen return type from rtx to
20833 (emit_note_after): Likewise.
20834 (emit_note): Likewise.
20835 (emit_note_copy): Likewise. Also, strengthen param similarly.
20836 * function.h (struct rtl_data): Strengthen field
20837 "x_stack_check_probe_note" from rtx to rtx_note *.
20839 * cfgexpand.c (expand_gimple_basic_block): Strengthen local "note"
20840 from rtx to rtx_note *.
20841 * cfgrtl.c (create_basic_block_structure): Strengthen third param
20842 "bb_note" from rtx to rtx_note *.
20843 (duplicate_insn_chain): Likewise for local "last". Add a checked cast
20844 when calling emit_note_copy.
20845 * emit-rtl.c (make_note_raw): Strengthen return type from rtx to
20847 (emit_note_after): Likewise.
20848 (emit_note_before): Likewise.
20849 (emit_note_copy): Likewise. Also, strengthen param similarly.
20850 (emit_note): Likewise.
20851 * except.c (emit_note_eh_region_end): Likewise for return type.
20852 Strengthen local "next" from rtx to rtx_insn *.
20853 (convert_to_eh_region_ranges): Strengthen local "note"
20854 from rtx to rtx_note *.
20855 * final.c (change_scope): Likewise.
20856 (reemit_insn_block_notes): Likewise, for both locals named "note".
20857 Also, strengthen local "insn" from rtx to rtx_insn *.
20858 * haifa-sched.c (sched_extend_bb): Strengthen local "note" from
20860 * reg-stack.c (compensate_edge): Likewise for local "after". Also,
20861 strengthen local "seq" from rtx to rtx_insn *.
20862 * reload1.c (reload_as_needed): Strengthen local "marker" from rtx
20864 * sel-sched-ir.c (bb_note_pool): Strengthen from rtx_vec_t to
20866 (get_bb_note_from_pool): Strengthen return type from rtx to
20868 (sel_create_basic_block): Strengthen local "new_bb_note" from
20869 insn_t to rtx_note *.
20870 * var-tracking.c (emit_note_insn_var_location): Strengthen local
20871 "note" from rtx to rtx_note *.
20872 (emit_notes_in_bb): Likewise.
20874 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20876 * function.h (struct rtl_data): Strengthen field
20877 "x_parm_birth_insn" from rtx to rtx_insn *.
20878 * function.c (struct assign_parm_data_all): Strengthen fields
20879 "first_conversion_insn" and "last_conversion_insn" from rtx to
20882 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20884 * cfgexpand.c (expand_used_vars): Strengthen return type from rtx
20885 to rtx_insn *; also for local "var_end_seq".
20886 (maybe_dump_rtl_for_gimple_stmt): Likewise for param "since".
20887 (maybe_cleanup_end_of_block): Likewise for param "last" and local
20889 (expand_gimple_cond): Likewise for locals "last2" and "last".
20890 (mark_transaction_restart_calls): Likewise for local "insn".
20891 (expand_gimple_stmt): Likewise for return type and locals "last"
20893 (expand_gimple_tailcall): Likewise for locals "last2" and "last".
20894 (avoid_complex_debug_insns): Likewise for param "insn".
20895 (expand_debug_locations): Likewise for locals "insn", "last",
20896 "prev_insn" and "insn2".
20897 (expand_gimple_basic_block): Likewise for local "last".
20898 (construct_exit_block): Likewise for locals "head", "end",
20900 (pass_expand::execute): Likewise for locals "var_seq",
20901 "var_ret_seq", "next".
20903 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20905 * asan.h (asan_emit_stack_protection): Strengthen return type from
20907 * asan.c (asan_emit_stack_protection): Likewise. Add local
20908 "insns" to hold the return value.
20910 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20912 * basic-block.h (bb_note): Strengthen return type from rtx to
20914 * sched-int.h (bb_note): Likewise.
20915 * cfgrtl.c (bb_note): Likewise. Add a checked cast to rtx_note *.
20917 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20919 * rtl.h (make_insn_raw): Strengthen return type from rtx to
20922 * emit-rtl.c (make_insn_raw): Strengthen return type and local
20923 "insn" from rtx to rtx_insn *.
20924 (make_debug_insn_raw): Strengthen return type from rtx to
20925 rtx_insn *; strengthen local "insn" from rtx to rtx_debug_insn *.
20926 (make_jump_insn_raw): Strengthen return type from rtx to
20927 rtx_insn *; strengthen local "insn" from rtx to rtx_jump_insn *.
20928 (make_call_insn_raw): Strengthen return type from rtx to
20929 rtx_insn *; strengthen local "insn" from rtx to rtx_call_insn *.
20930 (emit_pattern_before_noloc): Strengthen return type of "make_raw"
20931 callback from rtx to rtx_insn *; likewise for local "insn" and
20932 "next", adding a checked cast to rtx_insn in the relevant cases of
20933 the switch statement.
20934 (emit_pattern_after_noloc): Strengthen return type of "make_raw"
20935 callback from rtx to rtx_insn *.
20936 (emit_pattern_after_setloc): Likewise.
20937 (emit_pattern_after): Likewise.
20938 (emit_pattern_before_setloc): Likewise.
20939 (emit_pattern_before): Likewise.
20941 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20943 * emit-rtl.c (last_call_insn): Strengthen return type from rtx to
20945 * rtl.h (is_a_helper <rtx_call_insn *>::test): New overload,
20946 accepting an rtx_insn *.
20947 (last_call_insn): Strengthen return type from rtx to
20950 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20952 * rtl.h (delete_trivially_dead_insns): Strengthen initial param
20953 "insns" from rtx to rtx_insn *.
20954 * cse.c (delete_trivially_dead_insns): Likewise, also do it for
20955 locals "insn" and "prev".
20957 2014-08-19 David Malcolm <dmalcolm@redhat.com>
20959 * rtl.h (tablejump_p): Strengthen third param from rtx * to
20960 rtx_jump_table_data **.
20962 * cfgbuild.c (make_edges): Introduce local "table", using it in
20963 place of "tmp" for jump table data.
20964 (find_bb_boundaries): Strengthen local "table" from rtx to
20965 rtx_jump_table_data *.
20966 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
20967 (outgoing_edges_match): Likewise for locals "table1" and "table2".
20968 (try_crossjump_to_edge): Likewise.
20969 * cfgrtl.c (try_redirect_by_replacing_jump): Likewise for local
20971 (patch_jump_insn): Introduce local "table", using it in place of
20972 "tmp" for jump table data.
20973 (force_nonfallthru_and_redirect): Introduce local "table", so that
20974 call to tablejump_p can receive an rtx_jump_table_data **. Update
20975 logic around the call to overwrite "note" appropriately if
20976 tablejump_p returns non-zero.
20977 (get_last_bb_insn): Introduce local "table", using it in place of
20978 "tmp" for jump table data.
20979 * dwarf2cfi.c (create_trace_edges): Likewise.
20981 * config/arm/arm.c (get_jump_table_size): Strengthen param "insn"
20982 from rtx to rtx_jump_table_data *.
20983 (create_fix_barrier): Strengthen local "tmp" from rtx to
20984 rtx_jump_table_data *.
20985 (arm_reorg): Likewise for local "table".
20987 * config/s390/s390.c (s390_chunkify_start): Likewise.
20989 * config/spu/spu.c (spu_emit_branch_hint): Likewise.
20991 * jump.c (delete_related_insns): Strengthen local "lab_next" from
20992 rtx to rtx_jump_table_data *.
20994 * rtlanal.c (tablejump_p): Strengthen param "tablep" from rtx * to
20995 rtx_jump_table_data **. Add a checked cast when writing through
20996 the pointer: we know there that local "table" is non-NULL and that
20997 JUMP_TABLE_DATA_P (table) holds.
20998 (label_is_jump_target_p): Introduce local "table", using it in
20999 place of "tmp" for jump table data.
21001 2014-08-19 Marek Polacek <polacek@redhat.com>
21004 * doc/invoke.texi: Document -Wbool-compare.
21006 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21008 * rtl.h (entry_of_function): Strengthen return type from rtx to
21010 * cfgrtl.c (entry_of_function): Likewise.
21012 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21014 * emit-rtl.h (get_insns): Strengthen return type from rtx to
21015 rtx_insn *, adding a checked cast for now.
21016 (get_last_insn): Likewise.
21018 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21020 * rtl.h (gen_label_rtx): Strengthen return type from rtx to
21023 * emit-rtl.c (gen_label_rtx): Likewise.
21025 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21027 * rtl.h (previous_insn): Strengthen return type from rtx to
21029 (next_insn): Likewise.
21030 (prev_nonnote_insn): Likewise.
21031 (prev_nonnote_insn_bb): Likewise.
21032 (next_nonnote_insn): Likewise.
21033 (next_nonnote_insn_bb): Likewise.
21034 (prev_nondebug_insn): Likewise.
21035 (next_nondebug_insn): Likewise.
21036 (prev_nonnote_nondebug_insn): Likewise.
21037 (next_nonnote_nondebug_insn): Likewise.
21038 (prev_real_insn): Likewise.
21039 (next_real_insn): Likewise.
21040 (prev_active_insn): Likewise.
21041 (next_active_insn): Likewise.
21043 * emit-rtl.c (next_insn): Strengthen return type from rtx to
21044 rtx_insn *, adding a checked cast.
21045 (previous_insn): Likewise.
21046 (next_nonnote_insn): Likewise.
21047 (next_nonnote_insn_bb): Likewise.
21048 (prev_nonnote_insn): Likewise.
21049 (prev_nonnote_insn_bb): Likewise.
21050 (next_nondebug_insn): Likewise.
21051 (prev_nondebug_insn): Likewise.
21052 (next_nonnote_nondebug_insn): Likewise.
21053 (prev_nonnote_nondebug_insn): Likewise.
21054 (next_real_insn): Likewise.
21055 (prev_real_insn): Likewise.
21056 (next_active_insn): Likewise.
21057 (prev_active_insn): Likewise.
21059 * config/sh/sh-protos.h (sh_find_set_of_reg): Convert function ptr
21060 param "stepfunc" so that it returns an rtx_insn * rather than an
21061 rtx, to track the change to prev_nonnote_insn_bb, which is the
21062 only function this is called with.
21063 * config/sh/sh.c (sh_find_set_of_reg): Likewise.
21065 2014-08-19 Jan Hubicka <hubicka@ucw.cz>
21067 * ipa-visibility.c (update_visibility_by_resolution_info): Fix
21070 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21072 * coretypes.h (class rtx_debug_insn): Add forward declaration.
21073 (class rtx_nonjump_insn): Likewise.
21074 (class rtx_jump_insn): Likewise.
21075 (class rtx_call_insn): Likewise.
21076 (class rtx_jump_table_data): Likewise.
21077 (class rtx_barrier): Likewise.
21078 (class rtx_code_label): Likewise.
21079 (class rtx_note): Likewise.
21081 * rtl.h (class rtx_debug_insn): New, a subclass of rtx_insn,
21082 adding the invariant DEBUG_INSN_P (X).
21083 (class rtx_nonjump_insn): New, a subclass of rtx_insn, adding
21084 the invariant NONJUMP_INSN_P (X).
21085 (class rtx_jump_insn): New, a subclass of rtx_insn, adding
21086 the invariant JUMP_P (X).
21087 (class rtx_call_insn): New, a subclass of rtx_insn, adding
21088 the invariant CALL_P (X).
21089 (class rtx_jump_table): New, a subclass of rtx_insn, adding the
21090 invariant JUMP_TABLE_DATA_P (X).
21091 (class rtx_barrier): New, a subclass of rtx_insn, adding the
21092 invariant BARRIER_P (X).
21093 (class rtx_code_label): New, a subclass of rtx_insn, adding
21094 the invariant LABEL_P (X).
21095 (class rtx_note): New, a subclass of rtx_insn, adding
21096 the invariant NOTE_P(X).
21097 (is_a_helper <rtx_debug_insn *>::test): New.
21098 (is_a_helper <rtx_nonjump_insn *>::test): New.
21099 (is_a_helper <rtx_jump_insn *>::test): New.
21100 (is_a_helper <rtx_call_insn *>::test): New.
21101 (is_a_helper <rtx_jump_table_data *>::test): New functions,
21102 overloaded for both rtx and rtx_insn *.
21103 (is_a_helper <rtx_barrier *>::test): New.
21104 (is_a_helper <rtx_code_label *>::test): New functions, overloaded
21105 for both rtx and rtx_insn *.
21106 (is_a_helper <rtx_note *>::test): New.
21108 2014-08-19 Marek Polacek <polacek@redhat.com>
21110 * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO,
21111 CTZ_DEFINED_VALUE_AT_ZERO): Return 0/1 rather than bool.
21112 * config/i386/i386.h (CLZ_DEFINED_VALUE_AT_ZERO,
21113 CTZ_DEFINED_VALUE_AT_ZERO): Return 0/1 rather than bool.
21115 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21117 * sel-sched-ir.h (BND_TO): insn_t will eventually be an
21118 rtx_insn *. To help with transition, for now, convert from an
21119 access macro into a pair of functions: BND_TO, returning an
21121 (SET_BND_TO): New function, for use where BND_TO is used as an
21124 * sel-sched-ir.c (blist_add): Update lvalue usage of BND_TO to
21126 (BND_TO): New function, adding a checked cast.
21127 (SET_BND_TO): New function.
21129 * sel-sched.c (move_cond_jump): Update lvalue usage of BND_TO to
21131 (compute_av_set_on_boundaries): Likewise.
21133 2014-08-19 H.J. Lu <hongjiu.lu@intel.com>
21135 * config/i386/i386.md (*ctz<mode>2_falsedep_1): Don't clear
21136 destination if it is used in source.
21137 (*clz<mode>2_lzcnt_falsedep_1): Likewise.
21138 (*popcount<mode>2_falsedep_1): Likewise.
21140 2014-08-19 H.J. Lu <hongjiu.lu@intel.com>
21143 * configure.ac: Set install_gold_as_default to no first.
21144 * configure: Regenerated.
21146 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21148 * sel-sched-ir.h (BB_NOTE_LIST): struct sel_region_bb_info_def's
21149 "note_list" field will eventually be an rtx_insn *. To help with
21150 transition, for now, convert from an access macro into a pair of
21151 functions: BB_NOTE_LIST, returning an rtx_insn *, and...
21152 (SET_BB_NOTE_LIST): New function, for use where BB_NOTE_LIST is
21155 * sel-sched.c (create_block_for_bookkeeping): Update lvalue usage
21156 of BB_NOTE_LIST to SET_BB_NOTE_LIST.
21158 * sel-sched-ir.c (init_bb): Likewise.
21159 (sel_restore_notes): Likewise.
21160 (move_bb_info): Likewise.
21161 (BB_NOTE_LIST): New function, adding a checked cast to rtx_insn *.
21162 (SET_BB_NOTE_LIST): New function.
21164 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21166 * sel-sched-ir.h (VINSN_INSN_RTX): struct vinsn_def's "insn_rtx"
21167 field will eventually be an rtx_insn *. To help with transition,
21168 for now, convert from an access macro into a pair of functions:
21169 VINSN_INSN_RTX, returning an rtx_insn *, and...
21170 (SET_VINSN_INSN_RTX): New function, for use where VINSN_INSN_RTX
21171 is used as an lvalue.
21173 * sel-sched-ir.c (vinsn_init): Replace VINSN_INSN_RTX with
21174 SET_VINSN_INSN_RTX where it's used as an lvalue.
21175 (VINSN_INSN_RTX): New function.
21176 (SET_VINSN_INSN_RTX): New function.
21178 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21180 * sched-int.h (DEP_PRO): struct _dep's "pro" and "con" fields will
21181 eventually be rtx_insn *, but to help with transition, for now,
21182 convert from an access macro into a pair of functions: DEP_PRO
21183 returning an rtx_insn * and...
21184 (SET_DEP_PRO): New function, for use where DEP_PRO is used as an
21185 lvalue, returning an rtx&.
21186 (DEP_CON): Analogous changes to DEP_PRO above.
21187 (SET_DEP_CON): Likewise.
21189 * haifa-sched.c (create_check_block_twin): Replace DEP_CON used as
21190 an lvalue to SET_DEP_CON.
21191 * sched-deps.c (init_dep_1): Likewise for DEP_PRO and DEP_CON.
21192 (sd_copy_back_deps): Likewise for DEP_CON.
21193 (DEP_PRO): New function, adding a checked cast for now.
21194 (DEP_CON): Likewise.
21195 (SET_DEP_PRO): New function.
21196 (SET_DEP_CON): Likewise.
21198 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
21200 * config.gcc (*-*-cygwin*): Use __cxa_atexit by default.
21201 (extra_options): Add i386/cygwin.opt.
21202 * config/i386/cygwin.h (STARTFILE_SPEC): Use crtbeginS.o if shared.
21203 (CPP_SPEC): Accept -pthread.
21204 (LINK_SPEC): Ditto.
21205 (GOMP_SELF_SPECS): Update comment.
21206 * config/i386/cygwin.opt: New file for -pthread flag.
21208 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21210 * df-core.c (DF_REF_INSN): New, using a checked cast for now.
21211 * df.h (DF_REF_INSN): Convert from a macro to a function, so
21212 that we can return an rtx_insn *.
21214 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
21216 * config/i386/cygwin.h (LINK_SPEC): Pass --tsaware flag only
21217 when building executables, not DLLs. Add --large-address-aware
21218 under the same conditions.
21219 * config/i386/cygwin-w64.h (LINK_SPEC): Pass --tsaware flag only
21220 when building executables, not DLLs. Add --large-address-aware
21221 under the same conditions when using -m32.
21223 * config/i386/cygwin-stdint.h: Throughout, make type
21224 definitions dependent on target architecture, not host.
21226 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21228 * rtl.h (PREV_INSN): Convert to an inline function. Strengthen
21229 the return type from rtx to rtx_insn *, which will enable various
21230 conversions in followup patches. For now this is is done by a
21232 (NEXT_INSN): Likewise.
21233 (SET_PREV_INSN): Convert to an inline function. This is intended
21234 for use as an lvalue, and so returns an rtx& to allow in-place
21236 (SET_NEXT_INSN): Likewise.
21238 2014-07-08 Mark Wielaard <mjw@redhat.com>
21241 * dwarf2out.c (modified_type_die): Handle TYPE_QUAL_RESTRICT.
21243 2014-08-19 Marek Polacek <polacek@redhat.com>
21246 * cgraphunit.c (handle_alias_pairs): Fix condition.
21248 2014-08-19 Richard Biener <rguenther@suse.de>
21250 * gimple-fold.c (fold_gimple_assign): Properly build a
21251 null-pointer constant when devirtualizing addresses.
21253 2014-07-07 Mark Wielaard <mjw@redhat.com>
21255 * dwarf2out.c (decl_quals): New function.
21256 (modified_type_die): Take one cv_quals argument instead of two,
21257 one for const and one for volatile.
21258 (add_type_attribute): Likewise.
21259 (generic_parameter_die): Call add_type_attribute with one modifier
21261 (base_type_for_mode): Likewise.
21262 (add_bounds_info): Likewise.
21263 (add_subscript_info): Likewise.
21264 (gen_array_type_die): Likewise.
21265 (gen_descr_array_type_die): Likewise.
21266 (gen_entry_point_die): Likewise.
21267 (gen_enumeration_type_die): Likewise.
21268 (gen_formal_parameter_die): Likewise.
21269 (gen_subprogram_die): Likewise.
21270 (gen_variable_die): Likewise.
21271 (gen_const_die): Likewise.
21272 (gen_field_die): Likewise.
21273 (gen_pointer_type_die): Likewise.
21274 (gen_reference_type_die): Likewise.
21275 (gen_ptr_to_mbr_type_die): Likewise.
21276 (gen_inheritance_die): Likewise.
21277 (gen_subroutine_type_die): Likewise.
21278 (gen_typedef_die): Likewise.
21279 (force_type_die): Likewise.
21281 2014-08-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
21283 * configure.ac (gcc_cv_as_comdat_group_group): Only default to no
21285 * configure: Regenerate.
21287 2014-08-19 Richard Biener <rguenther@suse.de>
21289 * lto-streamer-out.c (DFS::DFS_write_tree_body): Stream
21290 DECL_EXTERNALs in BLOCKs as non-references.
21291 * tree-streamer-out.c (streamer_write_chain): Likewise.
21293 2014-08-19 Alexander Ivchenko <alexander.ivchenko@intel.com>
21294 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21295 Anna Tikhonova <anna.tikhonova@intel.com>
21296 Ilya Tocar <ilya.tocar@intel.com>
21297 Andrey Turetskiy <andrey.turetskiy@intel.com>
21298 Ilya Verbin <ilya.verbin@intel.com>
21299 Kirill Yukhin <kirill.yukhin@intel.com>
21300 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21302 * config/i386/sse.md
21303 (define_mode_iterator VI48_AVX512F): Delete.
21304 (define_mode_iterator VI48_AVX512F_AVX512VL): New.
21305 (define_mode_iterator VI2_AVX512VL): Ditto.
21306 (define_insn "<mask_codefor>avx512f_ufix_notruncv16sfv16si<mask_name><round_name>"):
21309 ("<mask_codefor><avx512>_ufix_notrunc<sf2simodelower><mode><mask_name><round_name>"):
21311 (define_insn "avx512cd_maskw_vec_dup<mode>"): Macroize.
21312 (define_insn "<avx2_avx512f>_ashrv<mode><mask_name>"): Delete.
21313 (define_insn "<avx2_avx512bw>_ashrv<mode><mask_name>",
21314 with VI48_AVX512F_AVX512VL): New.
21315 (define_insn "<avx2_avx512bw>_ashrv<mode><mask_name>",
21316 with VI2_AVX512VL): Ditto.
21318 2014-08-19 Marek Polacek <polacek@redhat.com>
21320 * doc/invoke.texi: Document -Wc99-c11-compat.
21322 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21324 * rtl.h (PREV_INSN): Split macro in two: the existing one,
21325 for rvalues, and...
21326 (SET_PREV_INSN): New macro, for use as an lvalue.
21327 (NEXT_INSN, SET_NEXT_INSN): Likewise.
21329 * caller-save.c (save_call_clobbered_regs): Convert lvalue use of
21330 PREV_INSN/NEXT_INSN into SET_PREV_INSN/SET_NEXT_INSN.
21331 * cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
21332 (fixup_abnormal_edges): Likewise.
21333 (unlink_insn_chain): Likewise.
21334 (fixup_reorder_chain): Likewise.
21335 (cfg_layout_delete_block): Likewise.
21336 (cfg_layout_merge_blocks): Likewise.
21337 * combine.c (update_cfg_for_uncondjump): Likewise.
21338 * emit-rtl.c (link_insn_into_chain): Likewise.
21339 (remove_insn): Likewise.
21340 (delete_insns_since): Likewise.
21341 (reorder_insns_nobb): Likewise.
21342 (emit_insn_after_1): Likewise.
21343 * final.c (rest_of_clean_state): Likewise.
21344 (final_scan_insn): Likewise.
21345 * gcse.c (can_assign_to_reg_without_clobbers_p): Likewise.
21346 * haifa-sched.c (concat_note_lists): Likewise.
21347 (remove_notes): Likewise.
21348 (restore_other_notes): Likewise.
21349 (move_insn): Likewise.
21350 (unlink_bb_notes): Likewise.
21351 (restore_bb_notes): Likewise.
21352 * jump.c (delete_for_peephole): Likewise.
21353 * optabs.c (emit_libcall_block_1): Likewise.
21354 * reorg.c (emit_delay_sequence): Likewise.
21355 (fill_simple_delay_slots): Likewise.
21356 * sel-sched-ir.c (sel_move_insn): Likewise.
21357 (sel_remove_insn): Likewise.
21358 (get_bb_note_from_pool): Likewise.
21359 * sel-sched.c (move_nop_to_previous_block): Likewise.
21361 * config/bfin/bfin.c (reorder_var_tracking_notes): Likewise.
21362 * config/c6x/c6x.c (gen_one_bundle): Likewise.
21363 (c6x_gen_bundles): Likewise.
21364 (hwloop_optimize): Likewise.
21365 * config/frv/frv.c (frv_function_prologue): Likewise.
21366 (frv_register_nop): Likewise.
21367 * config/ia64/ia64.c (ia64_init_dfa_pre_cycle_insn): Likewise.
21368 (ia64_reorg): Likewise.
21369 * config/mep/mep.c (mep_reorg_addcombine): Likewise.
21370 (mep_make_bundle): Likewise.
21371 (mep_bundle_insns): Likewise.
21372 * config/picochip/picochip.c (reorder_var_tracking_notes): Likewise.
21373 * config/tilegx/tilegx.c (reorder_var_tracking_notes): Likewise.
21374 * config/tilepro/tilepro.c (reorder_var_tracking_notes): Likewise.
21376 2014-08-19 David Malcolm <dmalcolm@redhat.com>
21378 * basic-block.h (BB_HEAD): Convert to a function. Strengthen the
21379 return type from rtx to rtx_insn *.
21380 (BB_END): Likewise.
21381 (BB_HEADER): Likewise.
21382 (BB_FOOTER): Likewise.
21383 (SET_BB_HEAD): Convert to a function.
21384 (SET_BB_END): Likewise.
21385 (SET_BB_HEADER): Likewise.
21386 (SET_BB_FOOTER): Likewise.
21388 * cfgrtl.c (BB_HEAD): New function, from macro of same name.
21389 Strengthen the return type from rtx to rtx_insn *. For now, this
21390 is done by adding a checked cast, but this will eventually
21391 become a field lookup.
21392 (BB_END): Likewise.
21393 (BB_HEADER): Likewise.
21394 (BB_FOOTER): Likewise.
21395 (SET_BB_HEAD): New function, from macro of same name. This is
21396 intended for use as an lvalue, and so returns an rtx& to allow
21397 in-place modification.
21398 (SET_BB_END): Likewise.
21399 (SET_BB_HEADER): Likewise.
21400 (SET_BB_FOOTER): Likewise.
21402 2014-08-18 David Malcolm <dmalcolm@redhat.com>
21404 * basic-block.h (BB_HEAD): Split macro in two: the existing one,
21405 for rvalues, and...
21406 (SET_BB_HEAD): New macro, for use as a lvalue.
21407 (BB_END, SET_BB_END): Likewise.
21408 (BB_HEADER, SET_BB_HEADER): Likewise.
21409 (BB_FOOTER, SET_BB_FOOTER): Likewise.
21411 * bb-reorder.c (add_labels_and_missing_jumps): Convert lvalue use
21412 of BB_* macros into SET_BB_* macros.
21413 (fix_crossing_unconditional_branches): Likewise.
21414 * caller-save.c (save_call_clobbered_regs): Likewise.
21415 (insert_one_insn): Likewise.
21416 * cfgbuild.c (find_bb_boundaries): Likewise.
21417 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
21418 (outgoing_edges_match): Likewise.
21419 (try_optimize_cfg): Likewise.
21420 * cfgexpand.c (expand_gimple_cond): Likewise.
21421 (expand_gimple_tailcall): Likewise.
21422 (expand_gimple_basic_block): Likewise.
21423 (construct_exit_block): Likewise.
21424 * cfgrtl.c (delete_insn): Likewise.
21425 (create_basic_block_structure): Likewise.
21426 (rtl_delete_block): Likewise.
21427 (rtl_split_block): Likewise.
21428 (emit_nop_for_unique_locus_between): Likewise.
21429 (rtl_merge_blocks): Likewise.
21430 (block_label): Likewise.
21431 (try_redirect_by_replacing_jump): Likewise.
21432 (emit_barrier_after_bb): Likewise.
21433 (fixup_abnormal_edges): Likewise.
21434 (record_effective_endpoints): Likewise.
21435 (relink_block_chain): Likewise.
21436 (fixup_reorder_chain): Likewise.
21437 (fixup_fallthru_exit_predecessor): Likewise.
21438 (cfg_layout_duplicate_bb): Likewise.
21439 (cfg_layout_split_block): Likewise.
21440 (cfg_layout_delete_block): Likewise.
21441 (cfg_layout_merge_blocks): Likewise.
21442 * combine.c (update_cfg_for_uncondjump): Likewise.
21443 * emit-rtl.c (add_insn_after): Likewise.
21444 (remove_insn): Likewise.
21445 (reorder_insns): Likewise.
21446 (emit_insn_after_1): Likewise.
21447 * haifa-sched.c (get_ebb_head_tail): Likewise.
21448 (restore_other_notes): Likewise.
21449 (move_insn): Likewise.
21450 (sched_extend_bb): Likewise.
21451 (fix_jump_move): Likewise.
21452 * ifcvt.c (noce_process_if_block): Likewise.
21453 (dead_or_predicable): Likewise.
21454 * ira.c (update_equiv_regs): Likewise.
21455 * reg-stack.c (change_stack): Likewise.
21456 * sel-sched-ir.c (sel_move_insn): Likewise.
21457 * sel-sched.c (move_nop_to_previous_block): Likewise.
21459 * config/c6x/c6x.c (hwloop_optimize): Likewise.
21460 * config/ia64/ia64.c (emit_predicate_relation_info): Likewise.
21462 2014-08-18 David Malcolm <dmalcolm@redhat.com>
21464 * rtl.h (for_each_rtx_in_insn): New function.
21465 * rtlanal.c (for_each_rtx_in_insn): Likewise.
21467 2014-08-18 David Malcolm <dmalcolm@redhat.com>
21469 * coretypes.h (class rtx_insn): Add forward declaration.
21471 * rtl.h: Include is-a.h.
21472 (struct rtx_def): Add dummy "desc" and "tag" GTY options as a
21473 workaround to ensure gengtype knows inheritance is occurring,
21474 whilst continuing to use the pre-existing special-casing for
21476 (class rtx_insn): New subclass of rtx_def, adding the
21477 invariant that we're dealing with something we can sanely use
21478 INSN_UID, NEXT_INSN, PREV_INSN on.
21479 (is_a_helper <rtx_insn *>::test): New.
21480 (is_a_helper <const rtx_insn *>::test): New.
21482 2014-08-18 David Malcolm <dmalcolm@redhat.com>
21484 * is-a.h (template<T, U> safe_as_a <U *p>) New function.
21486 2014-08-18 Jan Hubicka <hubicka@ucw.cz>
21488 * ipa-visibility.c (update_visibility_by_resolution_info): Do no turn UNDEF
21491 2014-08-18 Jan Hubicka <hubicka@ucw.cz>
21493 * gimple-fold.c (fold_gimple_assign): Do not intorudce referneces
21494 to BUILT_IN_UNREACHABLE.
21496 2014-08-18 Uros Bizjak <ubizjak@gmail.com>
21499 * config/i386/x86-tune.def (X86_TUNE_AVOID_FALSE_DEP_FOR_BMI):
21501 * config/i386/i386.h (TARGET_AVOID_FALSE_DEP_FOR_BMI): New define.
21502 * config/i386/i386.md (unspec) <UNSPEC_INSN_FALSE_DEP>: New unspec.
21503 (ffs<mode>2): Do not expand with tzcnt for
21504 TARGET_AVOID_FALSE_DEP_FOR_BMI.
21505 (ffssi2_no_cmove): Ditto.
21506 (*tzcnt<mode>_1): Disable for TARGET_AVOID_FALSE_DEP_FOR_BMI.
21507 (ctz<mode>2): New expander.
21508 (*ctz<mode>2_falsedep_1): New insn_and_split pattern.
21509 (*ctz<mode>2_falsedep): New insn.
21510 (*ctz<mode>2): Rename from ctz<mode>2.
21511 (clz<mode>2_lzcnt): New expander.
21512 (*clz<mode>2_lzcnt_falsedep_1): New insn_and_split pattern.
21513 (*clz<mode>2_lzcnt_falsedep): New insn.
21514 (*clz<mode>2): Rename from ctz<mode>2.
21515 (popcount<mode>2): New expander.
21516 (*popcount<mode>2_falsedep_1): New insn_and_split pattern.
21517 (*popcount<mode>2_falsedep): New insn.
21518 (*popcount<mode>2): Rename from ctz<mode>2.
21519 (*popcount<mode>2_cmp): Remove.
21520 (*popcountsi2_cmp_zext): Ditto.
21522 2014-08-18 Ajit Agarwal <ajitkum@xilinx.com>
21524 * config/microblaze/microblaze.c (microblaze_elf_asm_cdtor): New.
21525 (microblaze_elf_asm_constructor,microblaze_elf_asm_destructor): New.
21526 * config/microblaze/microblaze.h
21527 (TARGET_ASM_CONSTRUCTOR,TARGET_ASM_DESTRUCTOR): New Macros.
21529 2014-08-18 H.J. Lu <hongjiu.lu@intel.com>
21532 * configure.ac: Set install_gold_as_default to no for
21534 * configure: Regenerated.
21536 2014-08-18 Roman Gareev <gareevroman@gmail.com>
21538 * Makefile.in: Add definition of ISLLIBS, HOST_ISLLIBS.
21539 * config.in: Add undef of HAVE_isl.
21540 * configure: Regenerate.
21541 * configure.ac: Add definition of HAVE_isl.
21542 * graphite-blocking.c: Add checking of HAVE_isl.
21543 * graphite-dependences.c: Likewise.
21544 * graphite-interchange.c: Likewise.
21545 * graphite-isl-ast-to-gimple.c: Likewise.
21546 * graphite-optimize-isl.c: Likewise.
21547 * graphite-poly.c: Likewise.
21548 * graphite-scop-detection.c: Likewise.
21549 * graphite-sese-to-poly.c: Likewise.
21550 * graphite.c: Likewise.
21551 * toplev.c: Replace the checking of HAVE_cloog with the checking
21554 2014-08-18 Richard Biener <rguenther@suse.de>
21556 PR tree-optimization/62090
21557 * builtins.c (fold_builtin_snprintf): Move to gimple-fold.c.
21558 (fold_builtin_3): Do not fold snprintf.
21559 (fold_builtin_4): Likewise.
21560 * gimple-fold.c (gimple_fold_builtin_snprintf): New function
21561 moved from builtins.c.
21562 (gimple_fold_builtin_with_strlen): Fold snprintf and sprintf.
21563 (gimple_fold_builtin): Do not fold sprintf here.
21565 2014-08-18 Richard Biener <rguenther@suse.de>
21567 * gimple-fold.c (maybe_fold_reference): Move re-gimplification
21569 (maybe_canonicalize_mem_ref_addr): ... this function.
21570 (fold_stmt_1): Apply it here before all simplification.
21572 2014-08-18 Ilya Enkovich <ilya.enkovich@intel.com>
21575 * cgraph.h (cgraph_node::create_indirect_edge): Add
21576 compute_indirect_info param.
21577 * cgraph.c (cgraph_node::create_indirect_edge): Compute
21578 indirect_info only when it is required.
21579 * cgraphclones.c (cgraph_clone_edge): Do not recompute
21580 indirect_info fore cloned indirect edge.
21582 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
21583 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21584 Anna Tikhonova <anna.tikhonova@intel.com>
21585 Ilya Tocar <ilya.tocar@intel.com>
21586 Andrey Turetskiy <andrey.turetskiy@intel.com>
21587 Ilya Verbin <ilya.verbin@intel.com>
21588 Kirill Yukhin <kirill.yukhin@intel.com>
21589 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21591 * config/i386/sse.md
21592 (define_mode_iterator VI8_AVX2_AVX512BW): New.
21593 (define_insn "<sse2_avx2>_psadbw"): Add evex version.
21595 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
21596 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21597 Anna Tikhonova <anna.tikhonova@intel.com>
21598 Ilya Tocar <ilya.tocar@intel.com>
21599 Andrey Turetskiy <andrey.turetskiy@intel.com>
21600 Ilya Verbin <ilya.verbin@intel.com>
21601 Kirill Yukhin <kirill.yukhin@intel.com>
21602 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21604 * config/i386/sse.md
21605 (define_mode_iterator VF1_AVX512VL): New.
21606 (define_insn "ufloatv16siv16sf2<mask_name><round_name>"): Delete.
21607 (define_insn "ufloat<sseintvecmodelower><mode>2<mask_name><round_name>"):
21610 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
21611 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21612 Anna Tikhonova <anna.tikhonova@intel.com>
21613 Ilya Tocar <ilya.tocar@intel.com>
21614 Andrey Turetskiy <andrey.turetskiy@intel.com>
21615 Ilya Verbin <ilya.verbin@intel.com>
21616 Kirill Yukhin <kirill.yukhin@intel.com>
21617 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21619 * config/i386/i386.c: Rename ufloatv8siv8df_mask to ufloatv8siv8df2_mask.
21620 * config/i386/i386.md
21621 (define_code_iterator any_float): New.
21622 (define_code_attr floatsuffix): New.
21623 * config/i386/sse.md
21624 (define_mode_iterator VF1_128_256VL): New.
21625 (define_mode_iterator VF2_512_256VL): New.
21626 (define_insn "float<si2dfmodelower><mode>2<mask_name>"): Remove unnecessary
21628 (define_insn "ufloatv8siv8df<mask_name>"): Delete.
21629 (define_insn "<floatsuffix>float<sseintvecmodelower><mode>2<mask_name><round_name>"):
21631 (define_mode_attr qq2pssuff): New.
21632 (define_mode_attr sselongvecmode): New.
21633 (define_mode_attr sselongvecmodelower): New.
21634 (define_mode_attr sseintvecmode3): New.
21635 (define_insn "<floatsuffix>float<sselongvecmodelower><mode>2<mask_name><round_name>"):
21637 (define_insn "*<floatsuffix>floatv2div2sf2"): New.
21638 (define_insn "<floatsuffix>floatv2div2sf2_mask"): New.
21639 (define_insn "ufloat<si2dfmodelower><mode>2<mask_name>"): New.
21640 (define_insn "ufloatv2siv2df2<mask_name>"): New.
21642 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
21643 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21644 Anna Tikhonova <anna.tikhonova@intel.com>
21645 Ilya Tocar <ilya.tocar@intel.com>
21646 Andrey Turetskiy <andrey.turetskiy@intel.com>
21647 Ilya Verbin <ilya.verbin@intel.com>
21648 Kirill Yukhin <kirill.yukhin@intel.com>
21649 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21651 * config/i386/sse.md
21652 (define_mode_iterator VF2_AVX512VL): New.
21653 (define_mode_attr sseintvecmode2): New.
21654 (define_insn "ufix_truncv2dfv2si2<mask_name>"): Add masking.
21655 (define_insn "fix_truncv4dfv4si2<mask_name>"): New.
21656 (define_insn "ufix_truncv4dfv4si2<mask_name>"): Ditto.
21658 "<fixsuffix>fix_trunc<mode><sseintvecmodelower>2<mask_name><round_saeonly_name>"):
21660 (define_insn "fix_notrunc<mode><sseintvecmodelower>2<mask_name><round_name>"):
21662 (define_insn "ufix_notrunc<mode><sseintvecmodelower>2<mask_name><round_name>"):
21665 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
21666 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21667 Anna Tikhonova <anna.tikhonova@intel.com>
21668 Ilya Tocar <ilya.tocar@intel.com>
21669 Andrey Turetskiy <andrey.turetskiy@intel.com>
21670 Ilya Verbin <ilya.verbin@intel.com>
21671 Kirill Yukhin <kirill.yukhin@intel.com>
21672 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21674 * config/i386/i386.md
21675 (define_insn "*movoi_internal_avx"): Add evex version.
21676 (define_insn "*movti_internal"): Ditto.
21678 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
21679 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21680 Anna Tikhonova <anna.tikhonova@intel.com>
21681 Ilya Tocar <ilya.tocar@intel.com>
21682 Andrey Turetskiy <andrey.turetskiy@intel.com>
21683 Ilya Verbin <ilya.verbin@intel.com>
21684 Kirill Yukhin <kirill.yukhin@intel.com>
21685 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21687 * config/i386/i386.md
21688 (define_attr "isa"): Add avx512dq, noavx512dq.
21689 (define_attr "enabled"): Ditto.
21690 * config/i386/sse.md
21691 (define_insn "vec_extract_hi_<mode><mask_name>"): Support masking.
21693 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
21694 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21695 Anna Tikhonova <anna.tikhonova@intel.com>
21696 Ilya Tocar <ilya.tocar@intel.com>
21697 Andrey Turetskiy <andrey.turetskiy@intel.com>
21698 Ilya Verbin <ilya.verbin@intel.com>
21699 Kirill Yukhin <kirill.yukhin@intel.com>
21700 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21702 * config/i386/i386.c
21703 (ix86_expand_special_args_builtin): Handle avx512vl_storev8sf_mask,
21704 avx512vl_storev8si_mask, avx512vl_storev4df_mask, avx512vl_storev4di_mask,
21705 avx512vl_storev4sf_mask, avx512vl_storev4si_mask, avx512vl_storev2df_mask,
21706 avx512vl_storev2di_mask, avx512vl_loadv8sf_mask, avx512vl_loadv8si_mask,
21707 avx512vl_loadv4df_mask, avx512vl_loadv4di_mask, avx512vl_loadv4sf_mask,
21708 avx512vl_loadv4si_mask, avx512vl_loadv2df_mask, avx512vl_loadv2di_mask,
21709 avx512bw_loadv64qi_mask, avx512vl_loadv32qi_mask, avx512vl_loadv16qi_mask,
21710 avx512bw_loadv32hi_mask, avx512vl_loadv16hi_mask, avx512vl_loadv8hi_mask.
21711 * config/i386/i386.md (define_mode_attr ssemodesuffix): Allow V32HI mode.
21712 * config/i386/sse.md
21713 (define_mode_iterator VMOVE): Allow V4TI mode.
21714 (define_mode_iterator V_AVX512VL): New.
21715 (define_mode_iterator V): New handling for AVX512VL.
21716 (define_insn "avx512f_load<mode>_mask"): Delete.
21717 (define_insn "<avx512>_load<mode>_mask"): New.
21718 (define_insn "avx512f_store<mode>_mask"): Delete.
21719 (define_insn "<avx512>_store<mode>_mask"): New.
21722 2014-08-18 Yury Gribov <y.gribov@samsung.com>
21725 * asan.c (instrument_derefs): Fix bitfield check.
21727 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
21729 * config/rs6000/constraints.md ("S"): Require TARGET_POWERPC64.
21730 * config/rs6000/htm.md (ttest): Remove clobber.
21731 * config/rs6000/predicates.md (any_mask_operand): New predicate.
21732 (and_operand): Reformat.
21733 (and_2rld_operand): New predicate.
21734 * config/rs6000/rs6000-protos.h (rs6000_split_logical): Remove last
21736 * config/rs6000/rs6000.c (rs6000_split_logical_inner): Remove last
21737 parameter. Handle AND directly.
21738 (rs6000_split_logical_di): Remove last parameter.
21739 (rs6000_split_logical): Remove last parameter. Remove obsolete
21741 * config/rs6000/rs6000.md (BOOL_REGS_AND_CR0): Delete.
21742 (one_cmpl<mode>2): Adjust call of rs6000_split_logical.
21743 (ctz<mode>2, ffs<mode>2): Delete clobber. Reformat.
21744 (andsi3, andsi3_mc, andsi3_nomc, *andsi3_internal2_mc,
21745 *andsi3_internal3_mc, *andsi3_internal4, *andsi3_internal5_mc,
21746 and 5 anonymous splitters): Delete.
21747 (and<mode>3): New expander.
21748 (*and<mode>3, *and<mode>3_dot, *and<mode>3_dot2): New.
21749 (and<mode>3_imm, *and<mode>3_imm_dot, *and<mode>3_imm_dot2): New.
21750 (*and<mode>3_mask, *and<mode>3_mask_dot, *and<mode>3_mask_dot2): New.
21751 (ior<mode>, xor<mode>3): Adjust call of rs6000_split_logical.
21752 (floatdisf2_internal1): Remove clobbers.
21753 (anddi3, anddi3_mc, anddi3_nomc, anddi3_internal2_mc,
21754 *anddi3_internal3_mc, and 4 anonymous splitters): Delete.
21755 (*anddi3_2rld, *anddi3_2rld_dot, *anddi3_2rld_dot2): New.
21756 (and<mode>3 for BOOL_128): Remove clobber.
21757 (*and<mode>3_internal for BOOL_128): Remove clobber. Adjust call of
21758 rs6000_split_logical.
21759 (*bool<mode>3_internal for BOOL_128): Adjust call of
21760 rs6000_split_logical.
21761 (*boolc<mode>3_internal1 for BOOL_128,
21762 *boolc<mode>3_internal2 for BOOL_128,
21763 *boolcc<mode>3_internal1 for BOOL_128,
21764 *boolcc<mode>3_internal2 for BOOL_128,
21765 *eqv<mode>3_internal1 for BOOL_128,
21766 *eqv<mode>3_internal2 for BOOL_128,
21767 *one_cmpl<mode>3_internal for BOOL_128): Ditto.
21768 * config/rs6000/vector.md (*vec_reload_and_plus_<mptrsize): Remove
21770 (*vec_reload_and_reg_<mptrsize>): Delete.
21772 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
21774 * config/rs6000/rs6000.md (*boolccsi3_internal1, *boolccsi3_internal2
21775 and split, *boolccsi3_internal3 and split): Delete.
21776 (*boolccdi3_internal1, *boolccdi3_internal2 and split,
21777 *boolccdi3_internal3 and split): Delete.
21778 (*boolcc<mode>3, *boolcc<mode>3_dot, *boolcc<mode>3_dot2): New.
21779 (*eqv<mode>3): Move. Add TODO comment. Fix attributes.
21781 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
21783 * config/rs6000/rs6000.md (*boolcsi3_internal1, *boolcsi3_internal2
21784 and split, *boolcsi3_internal3 and split): Delete.
21785 (*boolcdi3_internal1, *boolcdi3_internal2 and split,
21786 *boolcdi3_internal3 and split): Delete.
21787 (*boolc<mode>3, *boolc<mode>3_dot, *boolc<mode>3_dot2): New.
21789 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
21791 * config/rs6000/rs6000.c (print_operand) <'e'>: New.
21792 <'u'>: Also support printing the low-order 16 bits.
21793 * config/rs6000/rs6000.md (iorsi3, xorsi3, *boolsi3_internal1,
21794 *boolsi3_internal2 and split, *boolsi3_internal3 and split): Delete.
21795 (iordi3, xordi3, *booldi3_internal1, *booldi3_internal2 and split,
21796 *booldi3_internal3 and split): Delete.
21797 (ior<mode>3, xor<mode>3, *bool<mode>3, *bool<mode>3_dot,
21798 *bool<mode>3_dot2): New.
21799 (two anonymous define_splits for non_logical_cint_operand): Merge.
21801 2014-08-17 Marek Polacek <polacek@redhat.com>
21802 Manuel López-Ibáñez <manu@gcc.gnu.org>
21805 * diagnostic.c (adjust_line): Add gcc_checking_assert.
21806 (diagnostic_show_locus): Don't print caret diagnostic
21807 if a column is larger than the line_width.
21809 2014-08-17 Roman Gareev <gareevroman@gmail.com>
21811 * common.opt: Make the ISL AST generator to be the main code generator
21814 2014-08-16 Gerald Pfeifer <gerald@pfeifer.com>
21816 * wide-int.h (generic_wide_int): Declare as class instead of struct.
21818 2014-08-16 John David Anglin <danglin@gcc.gnu.org>
21821 * config/pa/pa-protos.h (pa_output_addr_vec, pa_output_addr_diff_vec):
21823 * config/pa/pa.c (pa_reorg): Remove code to insert brtab marker insns.
21824 (pa_output_addr_vec, pa_output_addr_diff_vec): New.
21825 * config/pa/pa.h (ASM_OUTPUT_ADDR_VEC, ASM_OUTPUT_ADDR_DIFF_VEC):
21827 * config/pa/pa.md (begin_brtab): Delete insn.
21828 (end_brtab): Likewise.
21830 2014-08-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
21832 * doc/cppopts.texi (ftrack-macro-expansion): Add missing @code.
21834 2014-08-15 Jan Hubicka <hubicka@ucw.cz>
21836 * ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
21837 (possible_polymorphic_call_targets, dump_possible_polymorphic_call_targets,
21838 possible_polymorphic_call_target_p, possible_polymorphic_call_target_p): Simplify.
21839 (get_dynamic_type): Remove.
21840 * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
21841 (clear_speculation): Bring to ipa-deivrt.h
21842 (get_class_context): Rename to ...
21843 (ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
21844 (contains_type_p): Update.
21845 (get_dynamic_type): Rename to ...
21846 ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
21847 (possible_polymorphic_call_targets): UPdate.
21848 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
21849 * ipa-prop.c (ipa_analyze_call_uses): Update.
21851 2014-08-15 Oleg Endo <olegendo@gcc.gnu.org>
21853 * doc/invoke.texi (SH options): Document missing processor variant
21854 options. Remove references to Hitachi. Undocument deprecated mspace
21857 2014-08-15 Jason Merrill <jason@redhat.com>
21859 * tree.c (type_hash_canon): Uncomment assert.
21861 2014-08-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
21863 * input.h (in_system_header_at): Add comment.
21865 2014-08-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
21868 * diagnostic.c (build_message_string): Make it extern.
21869 * diagnostic.h (build_message_string): Make it extern.
21871 2014-08-15 Vladimir Makarov <vmakarov@redhat.com>
21873 * config/rs6000/rs6000.c (rs6000_emit_move): Use SDmode for
21874 load/store from/to non-floating class pseudo.
21876 2014-08-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
21878 * input.c (diagnostic_file_cache_fini): Fix typo in comment.
21880 2014-08-15 Richard Biener <rguenther@suse.de>
21882 * tree-ssa-structalias.c (readonly_id): Rename to string_id.
21883 (get_constraint_for_ssa_var): Remove dead code.
21884 (get_constraint_for_1): Adjust.
21885 (find_what_var_points_to): Likewise.
21886 (init_base_vars): Likewise. STRING_CSTs do not contain pointers.
21888 2014-08-15 Ilya Tocar <tocarip@gmail.com>
21891 * config/i386/avx512fintrin.h (_mm512_mask_cmpge_epi32_mask): New.
21892 (_mm512_mask_cmpge_epu32_mask): Ditto.
21893 (_mm512_cmpge_epu32_mask): Ditto.
21894 (_mm512_mask_cmpge_epi64_mask): Ditto.
21895 (_mm512_cmpge_epi64_mask): Ditto.
21896 (_mm512_mask_cmpge_epu64_mask): Ditto.
21897 (_mm512_cmpge_epu64_mask): Ditto.
21898 (_mm512_mask_cmple_epi32_mask): Ditto.
21899 (_mm512_cmple_epi32_mask): Ditto.
21900 (_mm512_mask_cmple_epu32_mask): Ditto.
21901 (_mm512_cmple_epu32_mask): Ditto.
21902 (_mm512_mask_cmple_epi64_mask): Ditto.
21903 (_mm512_cmple_epi64_mask): Ditto.
21904 (_mm512_mask_cmple_epu64_mask): Ditto.
21905 (_mm512_cmple_epu64_mask): Ditto.
21906 (_mm512_mask_cmplt_epi32_mask): Ditto.
21907 (_mm512_cmplt_epi32_mask): Ditto.
21908 (_mm512_mask_cmplt_epu32_mask): Ditto.
21909 (_mm512_cmplt_epu32_mask): Ditto.
21910 (_mm512_mask_cmplt_epi64_mask): Ditto.
21911 (_mm512_cmplt_epi64_mask): Ditto.
21912 (_mm512_mask_cmplt_epu64_mask): Ditto.
21913 (_mm512_cmplt_epu64_mask): Ditto.
21914 (_mm512_mask_cmpneq_epi32_mask): Ditto.
21915 (_mm512_mask_cmpneq_epu32_mask): Ditto.
21916 (_mm512_cmpneq_epu32_mask): Ditto.
21917 (_mm512_mask_cmpneq_epi64_mask): Ditto.
21918 (_mm512_cmpneq_epi64_mask): Ditto.
21919 (_mm512_mask_cmpneq_epu64_mask): Ditto.
21920 (_mm512_cmpneq_epu64_mask): Ditto.
21921 (_mm512_castpd_ps): Ditto.
21922 (_mm512_castpd_si512): Ditto.
21923 (_mm512_castps_pd): Ditto.
21924 (_mm512_castps_si512): Ditto.
21925 (_mm512_castsi512_ps): Ditto.
21926 (_mm512_castsi512_pd): Ditto.
21927 (_mm512_castpd512_pd128): Ditto.
21928 (_mm512_castps512_ps128): Ditto.
21929 (_mm512_castsi512_si128): Ditto.
21930 (_mm512_castpd512_pd256): Ditto.
21931 (_mm512_castps512_ps256): Ditto.
21932 (_mm512_castsi512_si256): Ditto.
21933 (_mm512_castpd128_pd512): Ditto.
21934 (_mm512_castps128_ps512): Ditto.
21935 (_mm512_castsi128_si512): Ditto.
21936 (_mm512_castpd256_pd512): Ditto.
21937 (_mm512_castps256_ps512): Ditto.
21938 (_mm512_castsi256_si512): Ditto.
21939 (_mm512_cmpeq_epu32_mask): Ditto.
21940 (_mm512_mask_cmpeq_epu32_mask): Ditto.
21941 (_mm512_mask_cmpeq_epu64_mask): Ditto.
21942 (_mm512_cmpeq_epu64_mask): Ditto.
21943 (_mm512_cmpgt_epu32_mask): Ditto.
21944 (_mm512_mask_cmpgt_epu32_mask): Ditto.
21945 (_mm512_mask_cmpgt_epu64_mask): Ditto.
21946 (_mm512_cmpgt_epu64_mask): Ditto.
21947 * config/i386/i386-builtin-types.def: Add V16SF_FTYPE_V8SF,
21948 V16SI_FTYPE_V8SI, V16SI_FTYPE_V4SI, V8DF_FTYPE_V2DF.
21949 * config/i386/i386.c (enum ix86_builtins): Add
21950 IX86_BUILTIN_SI512_SI256, IX86_BUILTIN_PD512_PD256,
21951 IX86_BUILTIN_PS512_PS256, IX86_BUILTIN_SI512_SI,
21952 IX86_BUILTIN_PD512_PD, IX86_BUILTIN_PS512_PS.
21953 (bdesc_args): Add __builtin_ia32_si512_256si,
21954 __builtin_ia32_ps512_256ps, __builtin_ia32_pd512_256pd,
21955 __builtin_ia32_si512_si, __builtin_ia32_ps512_ps,
21956 __builtin_ia32_pd512_pd.
21957 (ix86_expand_args_builtin): Handle new FTYPEs.
21958 * config/i386/sse.md (castmode): Add 512-bit modes.
21959 (AVX512MODE2P): New.
21960 (avx512f_<castmode><avxsizesuffix>_<castmode): New.
21961 (avx512f_<castmode><avxsizesuffix>_256<castmode): Ditto.
21963 2014-08-15 Richard Biener <rguenther@suse.de>
21965 * fold-const.c (tree_swap_operands_p): Put all constants
21966 last, also strip sign-changing NOPs when considering further
21967 canonicalization. Canonicalize also when optimizing for size.
21969 2014-08-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
21971 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Move
21972 one_match > zero_match case to just before simple_sequence.
21974 2014-08-15 Richard Biener <rguenther@suse.de>
21976 * data-streamer.h (streamer_string_index, string_for_index):
21978 * data-streamer-out.c (streamer_string_index): Make static.
21979 * data-streamer-in.c (string_for_index): Likewise.
21980 * lto-streamer-out.c (lto_output_location): Use bp_pack_string.
21981 * lto-streamer-in.c (lto_input_location): Use bp_unpack_string.
21983 2014-08-15 Richard Biener <rguenther@suse.de>
21985 PR tree-optimization/62031
21986 * tree-data-ref.c (dr_analyze_indices): Do not set
21987 DR_UNCONSTRAINED_BASE.
21988 (dr_may_alias_p): All indirect accesses have to go the
21989 formerly DR_UNCONSTRAINED_BASE path.
21990 * tree-data-ref.h (struct indices): Remove
21991 unconstrained_base member.
21992 (DR_UNCONSTRAINED_BASE): Remove.
21994 2014-08-15 Jakub Jelinek <jakub@redhat.com>
21996 PR middle-end/62092
21997 * gimplify.c (gimplify_adjust_omp_clauses_1): Don't remove
21998 OMP_CLAUSE_SHARED for global vars if the global var is mentioned
21999 in OMP_CLAUSE_MAP in some outer target region.
22001 2014-08-15 Bin Cheng <bin.cheng@arm.com>
22003 * tree-ssa-loop-ivopts.c (ivopts_data): New field
22004 name_expansion_cache.
22005 (tree_ssa_iv_optimize_init): Initialize name_expansion_cache.
22006 (tree_ssa_iv_optimize_finalize): Free name_expansion_cache.
22007 (strip_wrap_conserving_type_conversions, expr_equal_p): Delete.
22008 (difference_cannot_overflow_p): New parameter. Use affine
22009 expansion for equality check.
22010 (iv_elimination_compare_lt): Pass new argument.
22012 2014-08-14 DJ Delorie <dj@redhat.com>
22014 * config/rl78/rl78-real.md (addqi3_real): Allow adding global
22015 variables to the accumulator.
22017 * config/rl78/predicates.md (rl78_near_mem_operand): New.
22018 * config/rl78/rl78-virt.md (movqi_virt_mm, movqi_virt)
22019 (movhi_virt_mm): Split out near mem-mem moves to avoid problems
22020 with far-far moves.
22022 * config/rl78/rl78-expand.md (umulqihi3): Disable for G10.
22023 * config/rl78/rl78-virt.md (umulhi3_shift_virt): Likewise.
22024 (umulqihi3_virt): Likewise.
22025 * config/rl78/rl78-real.md (umulhi3_shift_real): Likewise.
22026 (umulqihi3_real): Likewise.
22028 * config/rl78/rl78-virt.md (movhi_virt): Allow const->far moves.
22030 2014-08-14 Jan Hubicka <hubicka@ucw.cz>
22032 PR tree-optimization/62091
22033 * tree-ssa-alias.c (walk_aliased_vdefs_1): Do not clear
22034 function_entry_reached.
22035 (walk_aliased_vdefs): Clear it here.
22036 * ipa-devirt.c (check_stmt_for_type_change): Handle static storage.
22038 2014-08-14 Jan Hubicka <hubicka@ucw.cz>
22040 * ipa-utils.h (compare_virtual_tables): Declare.
22041 * ipa-devirt.c (odr_subtypes_equivalent_p): New function
22043 2014-08-14 Marek Polacek <polacek@redhat.com>
22046 * ginclude/stdatomic.h (__atomic_type_lock_free): Remove.
22047 (ATOMIC_*_LOCK_FREE): Map to __GCC_ATOMIC_*_LOCK_FREE.
22049 2014-08-14 Tom de Vries <tom@codesourcery.com>
22051 * emit-rtl.h (mem_attrs_eq_p): Remove duplicate declaration.
22053 2014-08-14 Tom de Vries <tom@codesourcery.com>
22055 PR rtl-optimization/62004
22056 PR rtl-optimization/62030
22057 * ifcvt.c (rtx_interchangeable_p): New function.
22058 (noce_try_move, noce_process_if_block): Use rtx_interchangeable_p.
22059 * emit-rtl.h (mem_attrs_eq_p): Declare.
22061 2014-08-14 Roman Gareev <gareevroman@gmail.com>
22063 * graphite-scop-detection.c:
22064 Add inclusion of cp-tree.h.
22065 (graphite_can_represent_scev): Disables the handling of SSA_NAME nodes
22066 in case they are pointers to object types
22068 2014-08-14 Richard Biener <rguenther@suse.de>
22070 * BASE-VER: Change to 5.0.0
22072 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
22073 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
22074 Anna Tikhonova <anna.tikhonova@intel.com>
22075 Ilya Tocar <ilya.tocar@intel.com>
22076 Andrey Turetskiy <andrey.turetskiy@intel.com>
22077 Ilya Verbin <ilya.verbin@intel.com>
22078 Kirill Yukhin <kirill.yukhin@intel.com>
22079 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
22081 * config/i386/sse.md (define_mode_attr avx512): New.
22082 (define_mode_attr sse2_avx_avx512f): Allow V8HI, V16HI, V32HI, V2DI,
22084 (define_mode_attr sse2_avx2): Allow V64QI, V32HI, V4TI modes.
22085 (define_mode_attr ssse3_avx2): Ditto.
22086 (define_mode_attr sse4_1_avx2): Allow V64QI, V32HI, V8DI modes.
22087 (define_mode_attr avx2_avx512bw): New.
22088 (define_mode_attr ssedoublemodelower): New.
22089 (define_mode_attr ssedoublemode): Allow V8SF, V8SI, V4DI, V4DF, V4SI,
22090 V32HI, V64QI modes.
22091 (define_mode_attr ssebytemode): Allow V8DI modes.
22092 (define_mode_attr sseinsnmode): Allow V4TI, V32HI, V64QI modes.
22093 (define_mode_attr sseintvecmodelower): Allow V8DF, V4TI modes.
22094 (define_mode_attr ssePSmode2): New.
22095 (define_mode_attr ssescalarsize): Allow V64QI, V32QI, V16QI, V8HI,
22096 V16HI, V32HI modes.
22097 (define_mode_attr dbpsadbwmode): New.
22098 (define_mode_attr bcstscalarsuff): Allow V64QI, V32QI, V16QI, V32HI,
22099 V16HI, V8HI, V8SI, V4SI, V4DI, V2DI, V8SF, V4SF, V4DF, V2DF modes.
22100 (vi8_sse4_1_avx2_avx512): New.
22101 (define_insn <sse4_1_avx2>_movntdqa): Use <vi8_sse4_1_avx2_avx512>
22103 (define_mode_attr blendbits): Move before its immediate use.
22105 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
22106 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
22107 Anna Tikhonova <anna.tikhonova@intel.com>
22108 Ilya Tocar <ilya.tocar@intel.com>
22109 Andrey Turetskiy <andrey.turetskiy@intel.com>
22110 Ilya Verbin <ilya.verbin@intel.com>
22111 Kirill Yukhin <kirill.yukhin@intel.com>
22112 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
22114 * config/i386/sse.md: Allow V64QI, V32QI, V32HI, V4HI modes.
22115 * config/i386/subst.md
22116 (define_mode_iterator SUBST_V): Update.
22117 (define_mode_iterator SUBST_A): Ditto.
22118 (define_subst_attr "mask_operand7"): New.
22119 (define_subst_attr "mask_operand10"): New.
22120 (define_subst_attr "mask_operand_arg34") : New.
22121 (define_subst_attr "mask_expand_op3"): New.
22122 (define_subst_attr "mask_mode512bit_condition"): Handle TARGET_AVX512VL.
22123 (define_subst_attr "sd_mask_mode512bit_condition"): Ditto.
22124 (define_subst_attr "mask_avx512vl_condition"): New.
22125 (define_subst_attr "round_mask_operand4"): Ditto.
22126 (define_subst_attr "round_mask_scalar_op3"): Delete.
22127 (define_subst_attr "round_mask_op4"): New.
22128 (define_subst_attr "round_mode512bit_condition"): Allow V8DImode,
22130 (define_subst_attr "round_modev8sf_condition"): New.
22131 (define_subst_attr "round_modev4sf_condition"): GET_MODE instead of
22133 (define_subst_attr "round_saeonly_mask_operand4"): New.
22134 (define_subst_attr "round_saeonly_mask_op4"): New.
22135 (define_subst_attr "round_saeonly_mode512bit_condition"): Allow
22136 V8DImode, V16SImode.
22137 (define_subst_attr "round_saeonly_modev8sf_condition"): New.
22138 (define_subst_attr "mask_expand4_name" "mask_expand4"): New.
22139 (define_subst_attr "mask_expand4_args"): New.
22140 (define_subst "mask_expand4"): New.
22142 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
22143 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
22144 Anna Tikhonova <anna.tikhonova@intel.com>
22145 Ilya Tocar <ilya.tocar@intel.com>
22146 Andrey Turetskiy <andrey.turetskiy@intel.com>
22147 Ilya Verbin <ilya.verbin@intel.com>
22148 Kirill Yukhin <kirill.yukhin@intel.com>
22149 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
22151 * config/i386/i386.md
22152 (define_attr "isa"): Add avx512bw,noavx512bw.
22153 (define_attr "enabled"): Ditto.
22154 (define_split): Add 32/64-bit mask logic.
22155 (define_insn "*k<logic>qi"): New.
22156 (define_insn "*k<logic>hi"): New.
22157 (define_insn "*anddi_1"): Add mask version.
22158 (define_insn "*andsi_1"): Ditto.
22159 (define_insn "*<code><mode>_1"): Ditto.
22160 (define_insn "*<code>hi_1"): Ditto.
22161 (define_insn "kxnor<mode>"): New.
22162 (define_insn "kunpcksi"): New.
22163 (define_insn "kunpckdi"): New.
22164 (define_insn "*one_cmpl<mode>2_1"): Add mask version.
22165 (define_insn "*one_cmplhi2_1"): Ditto.
22167 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
22168 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
22169 Anna Tikhonova <anna.tikhonova@intel.com>
22170 Ilya Tocar <ilya.tocar@intel.com>
22171 Andrey Turetskiy <andrey.turetskiy@intel.com>
22172 Ilya Verbin <ilya.verbin@intel.com>
22173 Kirill Yukhin <kirill.yukhin@intel.com>
22174 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
22176 * config/i386/i386.c (ix86_preferred_simd_mode): Allow V64QImode and
22179 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
22180 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
22181 Anna Tikhonova <anna.tikhonova@intel.com>
22182 Ilya Tocar <ilya.tocar@intel.com>
22183 Andrey Turetskiy <andrey.turetskiy@intel.com>
22184 Ilya Verbin <ilya.verbin@intel.com>
22185 Kirill Yukhin <kirill.yukhin@intel.com>
22186 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
22188 * config/i386/i386.c (print_reg): Сorrectly print 64-bit mask
22190 (inline_secondary_memory_needed): Allow 64 bit wide mask registers.
22191 (ix86_hard_regno_mode_ok): Allow 32/64-bit mask registers and
22192 xmm/ymm16+ when availble.
22193 * config/i386/i386.h
22194 (HARD_REGNO_NREGS): Add mask regs.
22195 (VALID_AVX512F_REG_MODE): Ditto.
22196 (VALID_AVX512F_REG_MODE) : Define.
22197 (VALID_MASK_AVX512BW_MODE): Ditto.
22198 (reg_class) (MASK_REG_P(X)): Define.
22199 * config/i386/i386.md: Do not split long moves with mask register,
22200 use kmovb if avx512bw is availible.
22201 (movdi_internal): Handle mask registers.
22203 2014-08-14 Richard Biener <rguenther@suse.de>
22205 PR tree-optimization/62081
22206 * tree-ssa-loop.c (pass_fix_loops): New pass.
22207 (pass_tree_loop::gate): Do not fixup loops here.
22208 * tree-pass.h (make_pass_fix_loops): Declare.
22209 * passes.def: Schedule pass_fix_loops before GIMPLE loop passes.
22211 2014-08-14 Richard Biener <rguenther@suse.de>
22213 * tree.c (type_hash_lookup, type_hash_add): Merge into ...
22214 (type_hash_canon): ... this and avoid 2nd lookup for the add.
22216 2014-08-14 Richard Biener <rguenther@suse.de>
22218 PR tree-optimization/62090
22219 * builtins.c (fold_builtin_sprintf): Move to gimple-fold.c.
22220 (fold_builtin_2): Do not fold sprintf.
22221 (fold_builtin_3): Likewise.
22222 * gimple-fold.c (gimple_fold_builtin_sprintf): New function
22223 moved from builtins.c.
22224 (gimple_fold_builtin): Fold sprintf.
22226 2014-08-14 Richard Biener <rguenther@suse.de>
22228 PR rtl-optimization/62079
22229 * recog.c (peephole2_optimize): If peep2_do_cleanup_cfg
22232 2014-08-14 Ilya Enkovich <ilya.enkovich@intel.com>
22234 * ipa-devirt.c (get_polymorphic_call_info): Use fndecl instead of
22235 current_function_decl.
22237 2014-08-14 Ilya Enkovich <ilya.enkovich@intel.com>
22239 * cgraph.c (cgraph_node::function_symbol): Fix wrong
22240 cgraph_function_node to cgraph_node::function_symbol
22243 2014-08-14 Zhenqiang Chen <zhenqiang.chen@arm.com>
22245 * config/arm/arm.c (arm_option_override): Set max_insns_skipped
22246 to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2.
22248 2014-08-13 Chen Gang gang.chen.5i5j@gmail.com
22250 * microblaze/microblaze.md: Remove redundant '@' to avoid compiling
22253 2014-08-13 Roman Gareev <gareevroman@gmail.com>
22255 * gcc.dg/graphite/pr35356-2.c: Update according to the ISL code
22258 2014-08-12 Jakub Jelinek <jakub@redhat.com>
22261 * sched-deps.c (find_inc): Check if inc_insn doesn't clobber
22262 any registers that are used in mem_insn.
22264 2014-08-12 Steve Ellcey <sellcey@mips.com>
22266 * config/mips/mips.h (ASM_SPEC): Pass float options to assembler.
22268 2014-08-12 Steve Ellcey <sellcey@mips.com>
22270 * config/mips/t-mti-elf (MULTILIB_OPTIONS): Remove fp64 multilib.
22271 (MULTILIB_DIRNAMES): Ditto.
22272 * config/mips/t-mti-elf (MULTILIB_OPTIONS): Ditto.
22273 * config/mips/t-mti-elf (MULTILIB_EXCEPTIONS): Ditto.
22274 * config/mips/t-mti-linux (MULTILIB_OPTIONS): Ditto.
22275 * config/mips/t-mti-linux (MULTILIB_DIRNAMES): Ditto.
22276 * config/mips/t-mti-linux (MULTILIB_EXCEPTIONS): Ditto.
22277 * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Ditto.
22279 2014-08-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
22282 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix definition
22283 of __ARM_SIZEOF_WCHAR_T.
22285 2014-08-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
22288 * config/arm/vfp.md (*combine_vcvtf2i): Fix constraint.
22289 Remove unnecessary attributes.
22291 2014-08-12 Yury Gribov <y.gribov@samsung.com>
22293 * internal-fn.c (init_internal_fns): Fix off-by-one.
22295 2014-08-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
22296 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
22297 Anna Tikhonova <anna.tikhonova@intel.com>
22298 Ilya Tocar <ilya.tocar@intel.com>
22299 Andrey Turetskiy <andrey.turetskiy@intel.com>
22300 Ilya Verbin <ilya.verbin@intel.com>
22301 Kirill Yukhin <kirill.yukhin@intel.com>
22302 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
22304 * config/i386/i386.c (standard_sse_constant_opcode): Use
22305 vpxord/vpternlog if avx512 is availible.
22307 2014-08-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
22309 PR middle-end/62103
22310 * gimple-fold.c (fold_ctor_reference): Don't fold in presence of
22311 bitfields, that is when size doesn't match the size of type or the
22312 size of the constructor.
22314 2014-08-11 Michael Meissner <meissner@linux.vnet.ibm.com>
22316 * config/rs6000/constraints.md (wh constraint): New constraint,
22317 for FP registers if direct move is available.
22318 (wi constraint): New constraint, for VSX/FP registers that can
22319 handle 64-bit integers.
22320 (wj constraint): New constraint for VSX/FP registers that can
22321 handle 64-bit integers for direct moves.
22322 (wk constraint): New constraint for VSX/FP registers that can
22323 handle 64-bit doubles for direct moves.
22324 (wy constraint): Make documentation match implementation.
22326 * config/rs6000/rs6000.c (struct rs6000_reg_addr): Add
22327 scalar_in_vmx_p field to simplify tests of whether SFmode or
22328 DFmode can go in the Altivec registers.
22329 (rs6000_hard_regno_mode_ok): Use scalar_in_vmx_p field.
22330 (rs6000_setup_reg_addr_masks): Likewise.
22331 (rs6000_debug_print_mode): Add debug support for scalar_in_vmx_p
22332 field, and wh/wi/wj/wk constraints.
22333 (rs6000_init_hard_regno_mode_ok): Setup scalar_in_vmx_p field, and
22334 the wh/wi/wj/wk constraints.
22335 (rs6000_preferred_reload_class): If SFmode/DFmode can go in the
22336 upper registers, prefer VSX registers unless the operation is a
22337 memory operation with REG+OFFSET addressing.
22339 * config/rs6000/vsx.md (VSr mode attribute): Add support for
22340 DImode. Change SFmode to use ww constraint instead of d to allow
22341 SF registers in the upper registers.
22344 (VSr5): Fix thinko in comment.
22345 (VSa): New mode attribute that is an alternative to wa, that
22346 returns the VSX register class that a mode can go in, but may not
22347 be the preferred register class.
22348 (VS_64dm): New mode attribute for appropriate register classes for
22349 referencing 64-bit elements of vectors for direct moves and normal
22351 (VS_64reg): Likewise.
22352 (vsx_mov<mode>): Change wa constraint to <VSa> to limit the
22353 register allocator to only registers the data type can handle.
22354 (vsx_le_perm_load_<mode>): Likewise.
22355 (vsx_le_perm_store_<mode>): Likewise.
22356 (vsx_xxpermdi2_le_<mode>): Likewise.
22357 (vsx_xxpermdi4_le_<mode>): Likewise.
22358 (vsx_lxvd2x2_le_<mode>): Likewise.
22359 (vsx_lxvd2x4_le_<mode>): Likewise.
22360 (vsx_stxvd2x2_le_<mode>): Likewise.
22361 (vsx_add<mode>3): Likewise.
22362 (vsx_sub<mode>3): Likewise.
22363 (vsx_mul<mode>3): Likewise.
22364 (vsx_div<mode>3): Likewise.
22365 (vsx_tdiv<mode>3_internal): Likewise.
22366 (vsx_fre<mode>2): Likewise.
22367 (vsx_neg<mode>2): Likewise.
22368 (vsx_abs<mode>2): Likewise.
22369 (vsx_nabs<mode>2): Likewise.
22370 (vsx_smax<mode>3): Likewise.
22371 (vsx_smin<mode>3): Likewise.
22372 (vsx_sqrt<mode>2): Likewise.
22373 (vsx_rsqrte<mode>2): Likewise.
22374 (vsx_tsqrt<mode>2_internal): Likewise.
22375 (vsx_fms<mode>4): Likewise.
22376 (vsx_nfma<mode>4): Likewise.
22377 (vsx_eq<mode>): Likewise.
22378 (vsx_gt<mode>): Likewise.
22379 (vsx_ge<mode>): Likewise.
22380 (vsx_eq<mode>_p): Likewise.
22381 (vsx_gt<mode>_p): Likewise.
22382 (vsx_ge<mode>_p): Likewise.
22383 (vsx_xxsel<mode>): Likewise.
22384 (vsx_xxsel<mode>_uns): Likewise.
22385 (vsx_copysign<mode>3): Likewise.
22386 (vsx_float<VSi><mode>2): Likewise.
22387 (vsx_floatuns<VSi><mode>2): Likewise.
22388 (vsx_fix_trunc<mode><VSi>2): Likewise.
22389 (vsx_fixuns_trunc<mode><VSi>2): Likewise.
22390 (vsx_x<VSv>r<VSs>i): Likewise.
22391 (vsx_x<VSv>r<VSs>ic): Likewise.
22392 (vsx_btrunc<mode>2): Likewise.
22393 (vsx_b2trunc<mode>2): Likewise.
22394 (vsx_floor<mode>2): Likewise.
22395 (vsx_ceil<mode>2): Likewise.
22396 (vsx_<VS_spdp_insn>): Likewise.
22397 (vsx_xscvspdp): Likewise.
22398 (vsx_xvcvspuxds): Likewise.
22399 (vsx_float_fix_<mode>2): Likewise.
22400 (vsx_set_<mode>): Likewise.
22401 (vsx_extract_<mode>_internal1): Likewise.
22402 (vsx_extract_<mode>_internal2): Likewise.
22403 (vsx_extract_<mode>_load): Likewise.
22404 (vsx_extract_<mode>_store): Likewise.
22405 (vsx_splat_<mode>): Likewise.
22406 (vsx_xxspltw_<mode>): Likewise.
22407 (vsx_xxspltw_<mode>_direct): Likewise.
22408 (vsx_xxmrghw_<mode>): Likewise.
22409 (vsx_xxmrglw_<mode>): Likewise.
22410 (vsx_xxsldwi_<mode>): Likewise.
22411 (vsx_xscvdpspn): Tighten constraints to only use register classes
22413 (vsx_xscvspdpn): Likewise.
22414 (vsx_xscvdpspn_scalar): Likewise.
22416 * config/rs6000/rs6000.h (enum rs6000_reg_class_enum): Add wh, wi,
22417 wj, and wk constraints.
22418 (GPR_REG_CLASS_P): New helper macro for register classes targeting
22419 general purpose registers.
22421 * config/rs6000/rs6000.md (f32_dm): Use wh constraint for SDmode
22423 (zero_extendsidi2_lfiwz): Use wj constraint for direct move of
22424 DImode instead of wm. Use wk constraint for direct move of DFmode
22426 (extendsidi2_lfiwax): Likewise.
22427 (lfiwax): Likewise.
22428 (lfiwzx): Likewise.
22429 (movdi_internal64): Likewise.
22431 * doc/md.texi (PowerPC and IBM RS6000): Document wh, wi, wj, and
22432 wk constraints. Make the wy constraint documentation match them
22435 2014-08-11 Mircea Namolaru <mircea.namolaru@inria.fr>
22437 Replacement of isl_int by isl_val
22438 * graphite-clast-to-gimple.c: include isl/val.h, isl/val_gmp.h
22439 (compute_bounds_for_param): use isl_val instead of isl_int
22440 (compute_bounds_for_loop): likewise
22441 * graphite-interchange.c: include isl/val.h, isl/val_gmp.h
22442 (build_linearized_memory_access): use isl_val instead of isl_int
22443 (pdr_stride_in_loop): likewise
22444 * graphite-optimize-isl.c:
22445 (getPrevectorMap): use isl_val instead of isl_int
22447 (pbb_number_of_iterations_at_time): use isl_val instead of isl_int
22448 graphite-sese-to-poly.c: include isl/val.h, isl/val_gmp.h
22449 (extern the_isl_ctx): declare
22450 (build_pbb_scattering_polyhedrons): use isl_val instead of isl_int
22451 (extract_affine_gmp): likewise
22453 (build_loop_iteration_domains): likewise
22454 (add_param_constraints): likewise
22456 2014-08-11 Richard Biener <rguenther@suse.de>
22458 PR tree-optimization/62075
22459 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Properly
22460 handle uses in patterns.
22462 2014-08-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
22463 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
22464 Anna Tikhonova <anna.tikhonova@intel.com>
22465 Ilya Tocar <ilya.tocar@intel.com>
22466 Andrey Turetskiy <andrey.turetskiy@intel.com>
22467 Ilya Verbin <ilya.verbin@intel.com>
22468 Kirill Yukhin <kirill.yukhin@intel.com>
22469 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
22471 * common/config/i386/i386-common.c
22472 (OPTION_MASK_ISA_AVX512VL_SET): Define.
22473 (OPTION_MASK_ISA_AVX512F_UNSET): Update.
22474 (ix86_handle_option): Handle OPT_mavx512vl.
22475 * config/i386/cpuid.h (bit_AVX512VL): Define.
22476 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512vl,
22477 set -mavx512vl accordingly.
22478 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
22479 OPTION_MASK_ISA_AVX512VL.
22480 * config/i386/i386.c (ix86_target_string): Handle -mavx512vl.
22481 (ix86_option_override_internal): Define PTA_AVX512VL, handle
22482 PTA_AVX512VL and OPTION_MASK_ISA_AVX512VL.
22483 (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512vl.
22484 * config/i386/i386.h (TARGET_AVX512VL): Define.
22485 (TARGET_AVX512VL_P(x)): Ditto.
22486 * config/i386/i386.opt: Add mavx512vl.
22488 2014-08-11 Felix Yang <fei.yang0953@gmail.com>
22490 PR tree-optimization/62073
22491 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that DEF1 has
22494 2014-08-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
22495 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
22496 Anna Tikhonova <anna.tikhonova@intel.com>
22497 Ilya Tocar <ilya.tocar@intel.com>
22498 Andrey Turetskiy <andrey.turetskiy@intel.com>
22499 Ilya Verbin <ilya.verbin@intel.com>
22500 Kirill Yukhin <kirill.yukhin@intel.com>
22501 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
22503 * common/config/i386/i386-common.c
22504 (OPTION_MASK_ISA_AVX512BW_SET) : Define.
22505 (OPTION_MASK_ISA_AVX512BW_UNSET): Ditto.
22506 (OPTION_MASK_ISA_AVX512VL_UNSET) : Ditto.
22507 (ix86_handle_option): Handle OPT_mavx512bw.
22508 * config/i386/cpuid.h (bit_AVX512BW): Define.
22509 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512bw,
22510 set -mavx512bw accordingly.
22511 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
22512 OPTION_MASK_ISA_AVX512BW.
22513 * config/i386/i386.c (ix86_target_string): Handle -mavx512bw.
22514 (ix86_option_override_internal): Define PTA_AVX512BW, handle
22515 PTA_AVX512BW and OPTION_MASK_ISA_AVX512BW.
22516 (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512bw.
22517 * config/i386/i386.h (TARGET_AVX512BW): Define.
22518 (TARGET_AVX512BW_P(x)): Ditto.
22519 * config/i386/i386.opt: Add mavx512bw.
22521 2014-08-11 Richard Biener <rguenther@suse.de>
22523 PR tree-optimization/62070
22524 * tree-ssa-loop-manip.c (gimple_duplicate_loop_to_header_edge):
22525 Remove SSA checking.
22527 2014-08-11 Yury Gribov <y.gribov@samsung.com>
22529 * asan.c (asan_check_flags): New enum.
22530 (build_check_stmt_with_calls): Removed function.
22531 (build_check_stmt): Split inlining logic to
22532 asan_expand_check_ifn.
22533 (instrument_derefs): Rename parameter.
22534 (instrument_mem_region_access): Rename parameter.
22535 (instrument_strlen_call): Likewise.
22536 (asan_expand_check_ifn): New function.
22537 (asan_instrument): Remove old code.
22538 (pass_sanopt::execute): Change handling of
22539 asan-instrumentation-with-call-threshold.
22540 (asan_clear_shadow): Fix formatting.
22541 (asan_function_start): Likewise.
22542 (asan_emit_stack_protection): Likewise.
22543 * doc/invoke.texi (asan-instrumentation-with-call-threshold):
22544 Update description.
22545 * internal-fn.c (expand_ASAN_CHECK): New function.
22546 * internal-fn.def (ASAN_CHECK): New internal function.
22547 * params.def (PARAM_ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD):
22548 Update description.
22549 (PARAM_ASAN_USE_AFTER_RETURN): Likewise.
22550 * tree.c: Small comment fix.
22552 2014-08-11 Yury Gribov <y.gribov@samsung.com>
22554 * gimple.c (gimple_call_fnspec): Support internal functions.
22555 (gimple_call_return_flags): Use const.
22556 * Makefile.in (GTFILES): Add internal-fn.h to list of GC files.
22557 * internal-fn.def: Add fnspec information.
22558 * internal-fn.h (internal_fn_fnspec): New function.
22559 (init_internal_fns): Declare new function.
22560 * internal-fn.c (internal_fn_fnspec_array): New global variable.
22561 (init_internal_fns): New function.
22562 * tree-core.h: Update macro call.
22563 * tree.c (build_common_builtin_nodes): Initialize internal fns.
22565 2014-08-10 Gerald Pfeifer <gerald@pfeifer.com>
22567 * lto-streamer.h (struct output_block::symbol): Change from
22568 struct symtab_node to plain symtab_node.
22569 (referenced_from_this_partition_p): Change first parameter
22570 from struct symtab_node to plain symtab_node.
22572 2014-08-10 Marek Polacek <polacek@redhat.com>
22575 * gcc/doc/invoke.texi: Document -Wc90-c99-compat.
22577 2014-08-09 Jan Hubicka <hubicka@ucw.cz>
22579 * ipa-devirt.c (get_dynamic_type): Handle case when instance is in
22580 DECL correctly; do not give up on types in static storage.
22582 2014-08-09 Paolo Carlini <paolo.carlini@oracle.com>
22584 * doc/invoke.texi ([Wnarrowing]): Update for non-constants in C++11.
22586 2014-08-09 Roman Gareev <gareevroman@gmail.com>
22588 * graphite-isl-ast-to-gimple.c:
22589 (translate_isl_ast_node_user): Use nb_loops instead of loop->num + 1.
22591 * gcc.dg/graphite/isl-ast-gen-user-1.c: New testcase.
22593 2014-08-08 Guozhi Wei <carrot@google.com>
22595 * config/rs6000/rs6000.md (*movdi_internal64): Add a new constraint.
22597 2014-08-08 Cary Coutant <ccoutant@google.com>
22599 * dwarf2out.c (get_skeleton_type_unit): Remove.
22600 (output_skeleton_debug_sections): Remove skeleton type units.
22601 (output_comdat_type_unit): Likewise.
22602 (dwarf2out_finish): Likewise.
22604 2014-08-07 Yi Yang <ahyangyi@google.com>
22606 * predict.c (expr_expected_value_1): Remove the redundant assignment.
22608 2014-08-08 Richard Biener <rguenther@suse.de>
22610 * lto-streamer.h (struct lto_input_block): Make it a class
22611 with a constructor.
22612 (LTO_INIT_INPUT_BLOCK, LTO_INIT_INPUT_BLOCK_PTR): Remove.
22613 (struct lto_function_header, struct lto_simple_header,
22614 struct lto_simple_header_with_strings,
22615 struct lto_decl_header, struct lto_function_header): Make
22616 a simple inheritance hieararchy. Remove unused fields.
22617 (struct lto_asm_header): Remove.
22618 * lto-streamer-out.c (produce_asm): Adjust.
22619 (lto_output_toplevel_asms): Likewise.
22620 (produce_asm_for_decls): Likewise.
22621 * lto-section-out.c (lto_destroy_simple_output_block): Likewise.
22622 * data-streamer-in.c (string_for_index): Likewise.
22623 * ipa-inline-analysis.c (inline_read_section): Likewise.
22624 * ipa-prop.c (ipa_prop_read_section): Likewise.
22625 (read_replacements_section): Likewise.
22626 * lto-cgraph.c (input_cgraph_opt_section): Likewise.
22627 * lto-section-in.c (lto_create_simple_input_block): Likewise.
22628 (lto_destroy_simple_input_block): Likewise.
22629 * lto-streamer-in.c (lto_read_body_or_constructor): Likewise.
22630 (lto_input_toplevel_asms): Likewise.
22632 2014-08-08 Alexander Ivchenko <alexander.ivchenko@intel.com>
22633 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
22634 Anna Tikhonova <anna.tikhonova@intel.com>
22635 Ilya Tocar <ilya.tocar@intel.com>
22636 Andrey Turetskiy <andrey.turetskiy@intel.com>
22637 Ilya Verbin <ilya.verbin@intel.com>
22638 Kirill Yukhin <kirill.yukhin@intel.com>
22639 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
22641 * common/config/i386/i386-common.c
22642 (OPTION_MASK_ISA_AVX512DQ_SET): Define.
22643 (OPTION_MASK_ISA_AVX512DQ_UNSET): Ditto.
22644 (ix86_handle_option): Handle OPT_mavx512dq.
22645 * config/i386/cpuid.h (bit_AVX512DQ): Define.
22646 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512dq,
22647 set -mavx512dq accordingly.
22648 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
22649 OPTION_MASK_ISA_AVX512DQ.
22650 * config/i386/i386.c (ix86_target_string): Handle -mavx512dq.
22651 (ix86_option_override_internal): Define PTA_AVX512DQ, handle
22652 PTA_AVX512DQ and OPTION_MASK_ISA_AVX512DQ.
22653 (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512dq.
22654 * config/i386/i386.h (TARGET_AVX512DQ): Define.
22655 (TARGET_AVX512DQ_P(x)): Ditto.
22656 * config/i386/i386.opt: Add mavx512dq.
22658 2014-08-08 Richard Biener <rguenther@suse.de>
22660 * builtins.c (c_getstr, readonly_data_expr, init_target_chars,
22661 target_percent, target_percent_s): Export.
22662 (var_decl_component_p, fold_builtin_memory_op, fold_builtin_memset,
22663 fold_builtin_bzero, fold_builtin_strcpy, fold_builtin_strncpy,
22664 fold_builtin_strcat, fold_builtin_fputs, fold_builtin_memory_chk,
22665 fold_builtin_stxcpy_chk, fold_builtin_stxncpy_chk,
22666 fold_builtin_sprintf_chk_1, fold_builtin_snprintf_chk_1):
22667 Move to gimple-fold.c.
22668 (fold_builtin_2): Remove handling of bzero, fputs, fputs_unlocked,
22670 (fold_builtin_3): Remove handling of memset, bcopy, memcpy,
22671 mempcpy, memmove, strncpy, strcpy_chk and stpcpy_chk.
22672 (fold_builtin_4): Remove handling of memcpy_chk, mempcpy_chk,
22673 memmove_chk, memset_chk, strncpy_chk and stpncpy_chk.
22674 (rewrite_call_expr_array): Remove.
22675 (fold_builtin_sprintf_chk): Likewise.
22676 (fold_builtin_snprintf_chk): Likewise.
22677 (fold_builtin_varargs): Remove handling of sprintf_chk,
22678 vsprintf_chk, snprintf_chk and vsnprintf_chk.
22679 (gimple_fold_builtin_sprintf_chk): Remove.
22680 (gimple_fold_builtin_snprintf_chk): Likewise.
22681 (gimple_fold_builtin_varargs): Likewise.
22682 (fold_call_stmt): Do not call gimple_fold_builtin_varargs.
22683 * predict.c (optimize_bb_for_size_p): Handle NULL bb.
22684 * gimple.c (gimple_seq_add_seq_without_update): New function.
22685 * gimple.h (gimple_seq_add_seq_without_update): Declare.
22686 * gimple-fold.c: Include output.h.
22687 (gsi_replace_with_seq_vops): New function, split out from ...
22688 (gimplify_and_update_call_from_tree): ... here.
22689 (replace_call_with_value): New function.
22690 (replace_call_with_call_and_fold): Likewise.
22691 (var_decl_component_p): Moved from builtins.c.
22692 (gimple_fold_builtin_memory_op): Moved from builtins.c
22693 fold_builtin_memory_op and rewritten to GIMPLE.
22694 (gimple_fold_builtin_memset): Likewise.
22695 (gimple_fold_builtin_strcpy): Likewise.
22696 (gimple_fold_builtin_strncpy): Likewise.
22697 (gimple_fold_builtin_strcat): Likewise.
22698 (gimple_fold_builtin_fputs): Likewise.
22699 (gimple_fold_builtin_memory_chk): Likewise.
22700 (gimple_fold_builtin_stxcpy_chk): Likewise.
22701 (gimple_fold_builtin_stxncpy_chk): Likewise.
22702 (gimple_fold_builtin_snprintf_chk): Likewise.
22703 (gimple_fold_builtin_sprintf_chk): Likewise.
22704 (gimple_fold_builtin_strlen): New function.
22705 (gimple_fold_builtin_with_strlen): New function split out from
22706 gimple_fold_builtin.
22707 (gimple_fold_builtin): Change signature and handle
22708 bzero, memset, bcopy, memcpy, mempcpy and memmove folding
22709 here. Call gimple_fold_builtin_with_strlen.
22710 (gimple_fold_call): Adjust.
22712 2014-08-08 Kugan Vivekanandarajah <kuganv@linaro.org>
22714 * calls.c (precompute_arguments): Check
22715 promoted_for_signed_and_unsigned_p and set the promoted mode.
22716 (promoted_for_signed_and_unsigned_p): New function.
22717 (expand_expr_real_1): Check promoted_for_signed_and_unsigned_p
22718 and set the promoted mode.
22719 * expr.h (promoted_for_signed_and_unsigned_p): New function definition.
22720 * cfgexpand.c (expand_gimple_stmt_1): Call emit_move_insn if
22721 SUBREG is promoted with SRP_SIGNED_AND_UNSIGNED.
22724 2014-08-08 Kugan Vivekanandarajah <kuganv@linaro.org>
22726 * calls.c (precompute_arguments): Use new SUBREG_PROMOTED_SET
22727 instead of SUBREG_PROMOTED_UNSIGNED_SET.
22728 (expand_call): Likewise.
22729 * cfgexpand.c (expand_gimple_stmt_1): Use SUBREG_PROMOTED_SIGN
22730 to get promoted mode.
22731 * combine.c (record_promoted_value): Skip > 0 comparison with
22732 SUBREG_PROMOTED_UNSIGNED_P as it now returns only 0 or 1.
22733 * expr.c (convert_move): Use SUBREG_CHECK_PROMOTED_SIGN instead
22734 of SUBREG_PROMOTED_UNSIGNED_P.
22735 (convert_modes): Likewise.
22736 (store_expr): Use SUBREG_PROMOTED_SIGN to get promoted mode.
22737 Use SUBREG_CHECK_PROMOTED_SIGN instead of SUBREG_PROMOTED_UNSIGNED_P.
22738 (expand_expr_real_1): Use new SUBREG_PROMOTED_SET instead of
22739 SUBREG_PROMOTED_UNSIGNED_SET.
22740 * function.c (assign_parm_setup_reg): Use new SUBREG_PROMOTED_SET
22741 instead of SUBREG_PROMOTED_UNSIGNED_SET.
22742 * ifcvt.c (noce_emit_cmove): Updated to use SUBREG_PROMOTED_GET and
22743 SUBREG_PROMOTED_SET.
22744 * internal-fn.c (ubsan_expand_si_overflow_mul_check): Use
22745 SUBREG_PROMOTED_SET instead of SUBREG_PROMOTED_UNSIGNED_SET.
22746 * optabs.c (widen_operand): Use SUBREG_CHECK_PROMOTED_SIGN instead
22747 of SUBREG_PROMOTED_UNSIGNED_P.
22748 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Remove.
22749 (SUBREG_PROMOTED_SET): New define.
22750 (SUBREG_PROMOTED_GET): Likewise.
22751 (SUBREG_PROMOTED_SIGN): Likewise.
22752 (SUBREG_PROMOTED_SIGNED_P): Likewise.
22753 (SUBREG_CHECK_PROMOTED_SIGN): Likewise.
22754 (SUBREG_PROMOTED_UNSIGNED_P): Updated.
22755 * rtlanal.c (unsigned_reg_p): Use new SUBREG_PROMOTED_GET
22756 instead of SUBREG_PROMOTED_UNSIGNED_GET.
22757 (nonzero_bits1): Skip > 0 comparison with the results as
22758 SUBREG_PROMOTED_UNSIGNED_P now returns only 0 or 1.
22759 (num_sign_bit_copies1): Use SUBREG_PROMOTED_SIGNED_P instead
22760 of !SUBREG_PROMOTED_UNSIGNED_P.
22761 * simplify-rtx.c (simplify_unary_operation_1): Use new
22762 SUBREG_PROMOTED_SIGNED_P instead of !SUBREG_PROMOTED_UNSIGNED_P.
22763 (simplify_subreg): Use new SUBREG_PROMOTED_SIGNED_P,
22764 SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_SET instead of
22765 SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_UNSIGNED_SET.
22767 2014-08-07 Jan Hubicka <hubicka@ucw.cz>
22769 * ipa-devirt.c: Include gimple-pretty-print.h
22770 (referenced_from_vtable_p): Exclude DECL_EXTERNAL from
22772 (decl_maybe_in_construction_p): Fix conditional on cdtor check
22773 (get_polymorphic_call_info): Fix return value
22774 (type_change_info): New sturcture based on ipa-prop
22776 (noncall_stmt_may_be_vtbl_ptr_store): New predicate
22777 based on ipa-prop variant.
22778 (extr_type_from_vtbl_ptr_store): New function
22779 based on ipa-prop variant.
22780 (record_known_type): New function.
22781 (check_stmt_for_type_change): New function.
22782 (get_dynamic_type): New function.
22783 * ipa-prop.c (ipa_analyze_call_uses): Use get_dynamic_type.
22784 * tree-ssa-pre.c: ipa-utils.h
22785 (eliminate_dom_walker::before_dom_children): Use ipa-devirt
22786 machinery; sanity check with ipa-prop devirtualization.
22787 * trans-mem.c (ipa_tm_insert_gettmclone_call): Clear
22790 2014-08-07 Trevor Saunders <tsaunders@mozilla.com>
22792 * Makefile.in: Remove references to pointer-set.c and pointer-set.h.
22793 * alias.c, cfgexpand.c, cgraphbuild.c,
22794 config/aarch64/aarch64-builtins.c, config/aarch64/aarch64.c,
22795 config/alpha/alpha.c, config/darwin.c, config/i386/i386.c,
22796 config/i386/winnt.c, config/ia64/ia64.c, config/m32c/m32c.c,
22797 config/mep/mep.c, config/mips/mips.c, config/rs6000/rs6000.c,
22798 config/s390/s390.c, config/sh/sh.c, config/sparc/sparc.c,
22799 config/spu/spu.c, config/stormy16/stormy16.c, config/tilegx/tilegx.c,
22800 config/tilepro/tilepro.c, config/xtensa/xtensa.c, dominance.c,
22801 dse.c, except.c, gengtype.c, gimple-expr.c,
22802 gimple-ssa-strength-reduction.c, gimplify.c, ifcvt.c,
22803 ipa-visibility.c, lto-streamer.h, omp-low.c, predict.c, stmt.c,
22804 tree-affine.c, tree-cfg.c, tree-eh.c, tree-inline.c, tree-nested.c,
22805 tree-scalar-evolution.c, tree-ssa-loop-im.c, tree-ssa-loop-niter.c,
22806 tree-ssa-phiopt.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
22807 tree-ssa.c, tree.c, var-tracking.c, varpool.c: Remove includes of
22809 * pointer-set.c: Remove file.
22810 * pointer-set.h: Remove file.
22812 2014-08-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22814 * config/arm/arm.md (*cmov<mode>): Set type attribute to fcsel.
22815 * config/arm/types.md (f_sels, f_seld): Delete.
22817 2014-08-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22819 * config/aarch64/aarch64.md (absdi2): Set simd attribute.
22820 (aarch64_reload_mov<mode>): Predicate on TARGET_FLOAT.
22821 (aarch64_movdi_<mode>high): Likewise.
22822 (aarch64_mov<mode>high_di): Likewise.
22823 (aarch64_movdi_<mode>low): Likewise.
22824 (aarch64_mov<mode>low_di): Likewise.
22825 (aarch64_movtilow_tilow): Likewise.
22826 Add comment explaining usage of fp,simd attributes and of
22827 TARGET_FLOAT and TARGET_SIMD.
22829 2014-08-07 Ian Bolton <ian.bolton@arm.com>
22830 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22832 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate):
22833 Use MOVN when one of the half-words is 0xffff.
22835 2014-08-07 Marat Zakirov <m.zakirov@samsung.com>
22837 * config/arm/thumb1.md (*thumb1_movqi_insn): Copy of thumb1_movhi_insn.
22839 2014-08-07 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
22841 * haifa-sched.c (SCHED_SORT): Delete. Macro used exactly once.
22842 (enum rfs_decition:RFS_*): New constants wrapped in an enum.
22843 (rfs_str): String corresponding to RFS_* constants.
22844 (rank_for_schedule_stats_t): New typedef.
22845 (rank_for_schedule_stats): New static variable.
22846 (rfs_result): New static function.
22847 (rank_for_schedule): Track statistics for deciding heuristics.
22848 (rank_for_schedule_stats_diff, print_rank_for_schedule_stats): New
22850 (ready_sort): Use them for debug printouts.
22851 (schedule_block): Init statistics state. Print statistics on
22852 rank_for_schedule decisions.
22854 2014-08-07 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
22856 * haifa-sched.c (rank_for_schedule): Fix INSN_TICK-based heuristics.
22858 2014-08-07 Ilya Tocar <ilya.tocar@intel.com>
22860 * config/i386/sse.md (vec_extract_lo_<mode><mask_name>): Fix
22863 2014-08-07 Trevor Saunders <tsaunders@mozilla.com>
22865 * hash-map.h (default_hashmap_traits): Adjust overloads of hash
22866 function to not conflict.
22867 * alias.c, cfgexpand.c, dse.c, except.h, gimple-expr.c,
22868 gimple-ssa-strength-reduction.c, gimple-ssa.h, ifcvt.c,
22869 lto-streamer-out.c, lto-streamer.h, tree-affine.c, tree-affine.h,
22870 tree-predcom.c, tree-scalar-evolution.c, tree-ssa-loop-im.c,
22871 tree-ssa-loop-niter.c, tree-ssa.c, value-prof.c: Use hash_map instead
22874 2014-08-07 Marek Polacek <polacek@redhat.com>
22876 * fold-const.c (fold_binary_loc): Add folding of
22877 (PTR0 - (PTR1 p+ A) -> (PTR0 - PTR1) - A.
22879 2013-08-07 Ilya Enkovich <ilya.enkovich@intel.com>
22881 * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Use decl size
22882 instead of type size.
22883 (ASM_FINISH_DECLARE_OBJECT): Likewise.
22885 2014-08-07 Marat Zakirov <m.zakirov@samsung.com>
22887 * config/arm/thumb1.md (*thumb1_movhi_insn): Handle stack pointer.
22888 (*thumb1_movqi_insn): Likewise.
22889 * config/arm/thumb2.md (*thumb2_movhi_insn): Likewise.
22891 2014-08-07 Tom de Vries <tom@codesourcery.com>
22893 * doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
22894 (glibc_2_11_or_earlier): Remove effective-target keywords.
22896 2014-08-07 Kugan Vivekanandarajah <kuganv@linaro.org>
22898 * config/arm/arm.c (bdesc_2arg): Fix typo.
22899 (arm_atomic_assign_expand_fenv): Remove The default implementation.
22901 2014-08-07 Zhenqiang Chen <zhenqiang.chen@arm.com>
22903 * tree-ssa-loop-ivopts.c (get_address_cost): Try aligned offset.
22905 2014-08-06 Vladimir Makarov <vmakarov@redhat.com>
22908 * haifa-sched.c (advance_one_cycle): Fix dump.
22909 (schedule_block): Don't advance cycle if we are already at the
22910 beginning of the cycle.
22912 2014-08-06 Martin Jambor <mjambor@suse.cz>
22915 * cgraphclones.c (cgraph_node::create_clone): Also copy tm_clone.
22917 2014-08-06 Richard Biener <rguenther@suse.de>
22920 * lto-streamer-in.c (lto_input_tree_1): Assert we do not read
22922 (lto_input_tree): Pop SCCs here.
22924 2014-08-06 Richard Biener <rguenther@suse.de>
22926 PR tree-optimization/61320
22927 * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Properly
22928 handle misaligned loads.
22930 2014-08-06 Alan Lawrence <alan.lawrence@arm.com>
22932 * config/aarch64/aarch64.c (aarch64_evpc_dup): Enable for bigendian.
22933 (aarch64_expand_vec_perm_const): Check for dup before zip.
22935 2014-08-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22937 * config/aarch64/aarch64.c (aarch64_classify_address): Use REG_P and
22938 CONST_INT_P instead of GET_CODE and compare.
22939 (aarch64_select_cc_mode): Likewise.
22940 (aarch64_print_operand): Likewise.
22941 (aarch64_rtx_costs): Likewise.
22942 (aarch64_simd_valid_immediate): Likewise.
22943 (aarch64_simd_check_vect_par_cnst_half): Likewise.
22944 (aarch64_simd_emit_pair_result_insn): Likewise.
22946 2014-08-05 David Malcolm <dmalcolm@redhat.com>
22948 * gdbhooks.py (find_gcc_source_dir): New helper function.
22949 (class PassNames): New class, locating and parsing passes.def.
22950 (class BreakOnPass): New command "break-on-pass".
22952 2014-08-05 Trevor Saunders <tsaunders@mozilla.com>
22954 * tree-ssa.c (redirect_edge_var_map_dup): insert newe before
22957 2014-08-05 Richard Biener <rguenther@suse.de>
22959 PR rtl-optimization/61672
22960 * emit-rtl.h (mem_attrs_eq_p): Declare.
22961 * emit-rtl.c (mem_attrs_eq_p): Export. Handle NULL mem-attrs.
22962 * cse.c (exp_equiv_p): Use mem_attrs_eq_p.
22963 * cfgcleanup.c (merge_memattrs): Likewise.
22964 Include emit-rtl.h.
22966 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22968 * config/aarch64/arm_neon.h (vqdmlals_lane_s32): Use scalar types
22969 rather than singleton vectors.
22970 (vqdmlsls_lane_s32): Likewise.
22972 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22974 * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_laneq<mode>):
22975 Use VSDQ_HSI mode iterator.
22976 (aarch64_sqrdmulh_laneq<mode>): Likewise.
22977 (aarch64_sq<r>dmulh_laneq<mode>_internal): New define_insn.
22978 * config/aarch64/aarch64-simd-builtins.def (sqdmulh_laneq):
22979 Use BUILTIN_VDQHS macro.
22980 (sqrdmulh_laneq): Likewise.
22981 * config/aarch64/arm_neon.h (vqdmlalh_laneq_s16): New intrinsic.
22982 (vqdmlals_laneq_s32): Likewise.
22983 (vqdmlslh_laneq_s16): Likewise.
22984 (vqdmlsls_laneq_s32): Likewise.
22985 (vqdmulhh_laneq_s16): Likewise.
22986 (vqdmulhs_laneq_s32): Likewise.
22987 (vqrdmulhh_laneq_s16): Likewise.
22988 (vqrdmulhs_laneq_s32): Likewise.
22990 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22992 * config/aarch64/arm_neon.h (vmul_f64): New intrinsic.
22993 (vmuld_laneq_f64): Likewise.
22994 (vmuls_laneq_f32): Likewise.
22995 (vmul_n_f64): Likewise.
22996 (vmuld_lane_f64): Reimplement in C.
22997 (vmuls_lane_f32): Likewise.
22999 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
23001 * config/arm/cortex-a15.md (cortex_a15_alu_shift): Add crc type
23003 * config/arm/cortex-a53.md (cortex_a53_alu_shift): Likewise.
23005 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
23007 * config/arm/arm.md (clzsi2): Set predicable_short_it attr to no.
23008 (rbitsi2): Likewise.
23009 (*arm_rev): Set predicable and predicable_short_it attributes.
23011 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
23013 * convert.c (convert_to_integer): Guard transformation to lrint by
23016 2014-08-05 James Greenhalgh <james.greenhalgh@arm.com>
23018 * config/aarch64/aarch64-builtins.c
23019 (aarch64_simd_builtin_type_mode): Delete.
23020 (v8qi_UP): Remap to V8QImode.
23021 (v4hi_UP): Remap to V4HImode.
23022 (v2si_UP): Remap to V2SImode.
23023 (v2sf_UP): Remap to V2SFmode.
23024 (v1df_UP): Remap to V1DFmode.
23025 (di_UP): Remap to DImode.
23026 (df_UP): Remap to DFmode.
23027 (v16qi_UP):V16QImode.
23028 (v8hi_UP): Remap to V8HImode.
23029 (v4si_UP): Remap to V4SImode.
23030 (v4sf_UP): Remap to V4SFmode.
23031 (v2di_UP): Remap to V2DImode.
23032 (v2df_UP): Remap to V2DFmode.
23033 (ti_UP): Remap to TImode.
23034 (ei_UP): Remap to EImode.
23035 (oi_UP): Remap to OImode.
23036 (ci_UP): Map to CImode.
23037 (xi_UP): Remap to XImode.
23038 (si_UP): Remap to SImode.
23039 (sf_UP): Remap to SFmode.
23040 (hi_UP): Remap to HImode.
23041 (qi_UP): Remap to QImode.
23042 (aarch64_simd_builtin_datum): Make mode a machine_mode.
23043 (VAR1): Build builtin name.
23044 (aarch64_init_simd_builtins): Remove dead code.
23046 2014-08-05 Roman Gareev <gareevroman@gmail.com>
23048 * graphite-isl-ast-to-gimple.c:
23049 (set_options): New function.
23050 (scop_to_isl_ast): Add calling of set_options.
23052 2014-08-05 Jakub Jelinek <jakub@redhat.com>
23054 * loop-unroll.c (struct iv_to_split): Remove n_loc and loc fields.
23055 (analyze_iv_to_split_insn): Don't initialize them.
23056 (get_ivts_expr): Removed.
23057 (allocate_basic_variable, insert_base_initialization): Use
23058 SET_SRC instead of *get_ivts_expr.
23059 (split_iv): Use &SET_SRC instead of get_ivts_expr.
23061 2014-08-05 Roman Gareev <gareevroman@gmail.com>
23063 * graphite-isl-ast-to-gimple.c: Add a new struct ast_build_info.
23064 (translate_isl_ast_for_loop): Add checking of the
23065 flag_loop_parallelize_all.
23066 (ast_build_before_for): New function.
23067 (scop_to_isl_ast): Add checking of the
23068 flag_loop_parallelize_all.
23069 * graphite-dependences.c: Move the defenition of the
23070 scop_get_dependences from graphite-optimize-isl.c to this file.
23071 (apply_schedule_on_deps): Add checking of the ux's emptiness.
23072 (carries_deps): Add checking of the x's value.
23073 * graphite-optimize-isl.c: Move the defenition of the
23074 scop_get_dependences to graphite-dependences.c.
23075 * graphite-poly.h: Add declarations of scop_get_dependences
23078 2014-08-04 Rohit <rohitarulraj@freescale.com>
23081 * config/rs6000/rs6000.c (rs6000_reg_names): Add SPE high register
23083 (alt_reg_names): Likewise.
23084 (rs6000_dwarf_register_span): For SPE high registers, replace
23085 dwarf register numbers with GCC hard register numbers.
23086 (rs6000_init_dwarf_reg_sizes_extra): Likewise.
23087 (rs6000_dbx_register_number): For SPE high registers, return dwarf
23088 register number for the corresponding GCC hard register number.
23089 * config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTER): Update based on 32
23090 newly added GCC hard register numbers for SPE high registers.
23091 (DWARF_FRAME_REGISTERS): Likewise.
23092 (DWARF_REG_TO_UNWIND_COLUMN): Likewise.
23093 (DWARF_FRAME_REGNUM): Likewise.
23094 (FIXED_REGISTERS): Likewise.
23095 (CALL_USED_REGISTERS): Likewise.
23096 (CALL_REALLY_USED_REGISTERS): Likewise.
23097 (REG_ALLOC_ORDER): Likewise.
23098 (enum reg_class): Likewise.
23099 (REG_CLASS_NAMES): Likewise.
23100 (REG_CLASS_CONTENTS): Likewise.
23101 (SPE_HIGH_REGNO_P): New macro to identify SPE high registers.
23103 2014-08-04 Richard Biener <rguenther@suse.de>
23105 * gimple-fold.h (gimple_fold_builtin): Remove.
23106 * gimple-fold.c (gimple_fold_builtin): Make static.
23107 * tree-ssa-ccp.c (pass_fold_builtins::execute): Use
23108 fold_stmt, not gimple_fold_builtin.
23110 2014-08-04 Martin Liska <mliska@suse.cz>
23112 * cgraph.h (csi_end_p): Removed.
23113 (csi_next): Likewise.
23114 (csi_node): Likewise.
23115 (csi_start): Likewise.
23116 (cgraph_node_in_set_p): Likewise.
23117 (cgraph_node_set_size): Likewise.
23118 (vsi_end_p): Likewise.
23119 (vsi_next): Likewise.
23120 (vsi_node): Likewise.
23121 (vsi_start): Likewise.
23122 (varpool_node_set_size): Likewise.
23123 (cgraph_node_set_nonempty_p): Likewise.
23124 (varpool_node_set_nonempty_p): Likewise.
23125 * cgraphunit.c (cgraph_process_new_functions): vec replaces
23127 * ipa-inline-transform.c: Likewise.
23128 * ipa-utils.c (cgraph_node_set_new): Removed.
23129 (cgraph_node_set_add): Likewise.
23130 (cgraph_node_set_remove): Likewise.
23131 (cgraph_node_set_find): Likewise.
23132 (dump_cgraph_node_set): Likewise.
23133 (debug_cgraph_node_set): Likewise.
23134 (free_cgraph_node_set): Likewise.
23135 (varpool_node_set_new): Likewise.
23136 (varpool_node_set_add): Likewise.
23137 (varpool_node_set_remove): Likewise.
23138 (varpool_node_set_find): Likewise.
23139 (dump_varpool_node_set): Likewise.
23140 (free_varpool_node_set): Likewise.
23141 (debug_varpool_node_set): Likewise.
23142 * tree-emutls.c (struct tls_var_data):
23143 (emutls_index): Removed.
23144 (emutls_decl): Likewise.
23145 (gen_emutls_addr): Function implementation uses newly added
23146 hash_map<varpool_node *, tls_var_data>.
23147 (clear_access_vars): Likewise.
23148 (create_emultls_var): Likewise.
23149 (ipa_lower_emutls): Likewise.
23150 (reset_access): New function.
23152 2014-08-04 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
23154 * config/i386/i386.c (ix86_option_override_internal): Add
23155 PTA_RDRND and PTA_MOVBE for bdver4.
23157 2014-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
23158 James Greenhalgh <james.greenhalgh@arm.com>
23160 * doc/md.texi (clrsb): Document.
23161 (clz): Change reference to x into operand 1.
23163 (popcount): Likewise.
23165 2014-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
23168 * gcc/optabs.c (expand_atomic_test_and_set): Do not try to emit
23169 move to subtarget in serial version if result is ignored.
23171 2014-08-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
23172 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
23174 * sched-deps.c (try_group_insn): Generalise macro fusion hook usage
23175 to any two insns. Update comment. Rename to sched_macro_fuse_insns.
23176 (sched_analyze_insn): Update use of try_group_insn to
23177 sched_macro_fuse_insns.
23178 * config/i386/i386.c (ix86_macro_fusion_pair_p): Reject 2nd
23179 arguments that are not conditional jumps.
23181 2014-08-04 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
23183 * config/i386/driver-i386.c (host_detect_local_cpu): Handle AMD's extended
23184 family information. Handle BTVER2 cpu with cpuid family value.
23186 2014-08-04 Tom de Vries <tom@codesourcery.com>
23188 * doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
23189 (glibc_2_11_or_earlier): Document effective-target keywords.
23191 2014-08-01 Jan Hubicka <hubicka@ucw.cz>
23193 * ipa-devirt.c (odr_type_warn_count): Add type.
23194 (possible_polymorphic_call_targets): Set it.
23195 (ipa_devirt): Use it.
23197 2014-08-01 Jan Hubicka <hubicka@ucw.cz>
23199 * doc/invoke.texi (Wsuggest-final-types, Wsuggest-final-methods):
23201 * ipa-devirt.c: Include hash-map.h
23202 (struct polymorphic_call_target_d): Add type_warning and decl_warning.
23203 (clear_speculation): Break out of ...
23204 (get_class_context): ... here; speed up handling obviously useless
23206 (odr_type_warn_count, decl_warn_count): New structures.
23207 (final_warning_record): New structure.
23208 (final_warning_records): New static variable.
23209 (possible_polymorphic_call_targets): Cleanup handling of
23210 speculative info; do not build speculation when user do not care;
23211 record info about warnings when asked for.
23212 (add_decl_warning): New function.
23213 (type_warning_cmp): New function.
23214 (decl_warning_cmp): New function.
23215 (ipa_devirt): Handle -Wsuggest-final-methods and -Wsuggest-final-types.
23216 (gate): Enable pass when warnings are requested.
23217 * common.opt (Wsuggest-final-types, Wsuggest-final-methods): New
23220 2014-08-02 Trevor Saunders <tsaunders@mozilla.com>
23222 * hash-map.h (default_hashmap_traits::mark_key_deleted):
23224 (hash_map::remove): New method.
23225 (hash_map::traverse): New method.
23226 * cgraph.h, except.c, except.h, gimple-ssa-strength-reduction.c,
23227 ipa-utils.c, lto-cgraph.c, lto-streamer.h, omp-low.c, predict.c,
23228 tree-cfg.c, tree-cfgcleanup.c, tree-eh.c, tree-eh.h, tree-inline.c,
23229 tree-inline.h, tree-nested.c, tree-sra.c, tree-ssa-loop-im.c,
23230 tree-ssa-loop-ivopts.c, tree-ssa-reassoc.c, tree-ssa-structalias.c,
23231 tree-ssa.c, tree-ssa.h, var-tracking.c: Use hash_map instead of
23234 2014-08-02 Trevor Saunders <tsaunders@mozilla.com>
23236 * hash-set.h: new File.
23237 * cfgexpand.c, cfgloop.c, cgraph.c, cgraphbuild.c, cgraphunit.c,
23238 cprop.c, cse.c, gimple-walk.c, gimple-walk.h, gimplify.c, godump.c,
23239 ipa-devirt.c, ipa-pure-const.c, ipa-visibility.c, ipa.c, lto-cgraph.c,
23240 lto-streamer-out.c, stmt.c, tree-cfg.c, tree-core.h, tree-eh.c,
23241 tree-inline.c, tree-inline.h, tree-nested.c, tree-pretty-print.c,
23242 tree-ssa-loop-niter.c, tree-ssa-phiopt.c, tree-ssa-threadedge.c,
23243 tree-ssa-uninit.c, tree.c, tree.h, value-prof.c, varasm.c,
23244 varpool.c: Use hash_set instead of pointer_set.
23246 2014-08-01 Alan Lawrence <alan.lawrence@arm.com>
23248 * config/aarch64/aarch64-simd-builtins.def (dup_lane, get_lane): Delete.
23250 2014-08-01 Jiong Wang <jiong.wang@arm.com>
23252 * config/aarch64/aarch64.c (aarch64_classify_address): Accept all offset
23253 for frame access when strict_p is false.
23255 2014-08-01 Renlin Li <renlin.li@arm.com>
23256 2014-08-01 Jiong Wang <jiong.wang@arm.com>
23258 * config/aarch64/aarch64.c (offset_7bit_signed_scaled_p): Rename to
23259 aarch64_offset_7bit_signed_scaled_p, remove static and use it.
23260 * config/aarch64/aarch64-protos.h (aarch64_offset_7bit_signed_scaled_p):
23262 * config/aarch64/predicates.md (aarch64_mem_pair_offset): Define new
23264 * config/aarch64/aarch64.md (loadwb_pair, storewb_pair): Use
23265 aarch64_mem_pair_offset.
23267 2014-08-01 Jiong Wang <jiong.wang@arm.com>
23269 * config/aarch64/aarch64.md (loadwb_pair<GPI:mode>_<P:mode>): Fix
23271 (loadwb_pair<GPI:mode>_<P:mode>): Likewise.
23272 * config/aarch64/aarch64.c (aarch64_gen_loadwb_pair): Likewise.
23274 2014-08-01 Matthew Fortune <matthew.fortune@imgtec.com>
23276 * config/mips/mips.h (REGISTER_PREFIX): Define macro.
23278 2014-08-01 James Greenhalgh <james.greenhalgh@arm.com>
23280 PR regression/61510
23281 * cgraphunit.c (analyze_functions): Use get_create rather than get
23282 for decls which are clones of abstract functions.
23284 2014-08-01 Martin Liska <mliska@suse.cz>
23286 * gimple-iterator.h (gsi_next_nonvirtual_phi): New function.
23287 * ipa-prop.h (count_formal_params): Global function created from static.
23288 * ipa-prop.c (count_formal_params): Likewise.
23289 * ipa-utils.c (ipa_merge_profiles): Be more tolerant if we merge
23290 profiles for semantically equivalent functions.
23291 * passes.c (do_per_function): If we load body of a function
23292 during WPA, this condition should behave same.
23293 * varpool.c (ctor_for_folding): More tolerant assert for variable
23294 aliases created during WPA.
23296 2014-08-01 Martin Liska <mliska@suse.cz>
23298 * doc/invoke.texi (Options That Control Optimization): Documentation
23299 for -foptimize-strlen introduced. Optimization levels default options
23302 2014-08-01 Jakub Jelinek <jakub@redhat.com>
23304 * opts.c (common_handle_option): Handle -fsanitize=alignment.
23305 * ubsan.h (enum ubsan_null_ckind): Add UBSAN_CTOR_CALL.
23306 (ubsan_expand_bounds_ifn, ubsan_expand_null_ifn): Change return
23308 * stor-layout.h (min_align_of_type): New prototype.
23309 * asan.c (pass_sanopt::execute): Don't perform gsi_next if
23310 ubsan_expand* told us not to do it. Remove the extra gsi_end_p
23312 * ubsan.c: Include builtins.h.
23313 (ubsan_expand_bounds_ifn): Change return type to bool,
23314 always return true.
23315 (ubsan_expand_null_ifn): Change return type to bool, change
23316 argument to gimple_stmt_iterator *. Handle both null and alignment
23317 sanitization, take type from ckind argument's type rather than
23319 (instrument_member_call): Removed.
23320 (instrument_mem_ref): Remove t argument, add mem and base arguments.
23321 Handle both null and alignment sanitization, don't say whole
23322 struct access is member access. Build 3 argument IFN_UBSAN_NULL
23323 call instead of 2 argument.
23324 (instrument_null): Adjust instrument_mem_ref caller. Don't
23325 instrument calls here.
23326 (pass_ubsan::gate, pass_ubsan::execute): Handle SANITIZE_ALIGNMENT
23327 like SANITIZE_NULL.
23328 * stor-layout.c (min_align_of_type): New function.
23329 * flag-types.h (enum sanitize_code): Add SANITIZE_ALIGNMENT.
23330 Or it into SANITIZE_UNDEFINED.
23331 * doc/invoke.texi (-fsanitize=alignment): Document.
23333 2014-07-31 Andi Kleen <ak@linux.intel.com>
23335 * tree-ssa-tail-merge.c (same_succ_hash): Convert to inchash.
23337 2014-07-31 Andi Kleen <ak@linux.intel.com>
23339 * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Convert to
23341 (vn_reference_compute_hash): Dito.
23342 (vn_nary_op_compute_hash): Dito.
23343 (vn_phi_compute_hash): Dito.
23344 * tree-ssa-sccvn.h (vn_hash_constant_with_type): Dito.
23346 2014-07-31 Andi Kleen <ak@linux.intel.com>
23348 * tree-ssa-dom.c (iterative_hash_exprs_commutative):
23349 Rename to inchash:add_expr_commutative. Convert to inchash.
23350 (iterative_hash_hashable_expr): Rename to
23351 inchash:add_hashable_expr. Convert to inchash.
23352 (avail_expr_hash): Dito.
23354 2014-07-31 Andi Kleen <ak@linux.intel.com>
23356 * ipa-devirt.c (polymorphic_call_target_hasher::hash):
23357 Convert to inchash.
23359 2014-07-31 Andi Kleen <ak@linux.intel.com>
23361 * asan.c (asan_mem_ref_hasher::hash): Convert to inchash.
23363 2014-07-31 Andi Kleen <ak@linux.intel.com>
23365 * Makefile.in (OBJS): Add rtlhash.o
23366 * dwarf2out.c (addr_table_entry_do_hash): Convert to inchash.
23367 (loc_checksum): Dito.
23368 (loc_checksum_ordered): Dito.
23369 (hash_loc_operands): Dito.
23371 (hash_loc_list): Dito.
23372 * rtl.c (iterative_hash_rtx): Moved to rtlhash.c
23373 * rtl.h (iterative_hash_rtx): Moved to rtlhash.h
23374 * rtlhash.c: New file.
23375 * rtlhash.h: New file.
23377 2014-07-31 Andi Kleen <ak@linux.intel.com>
23379 * inchash.h (inchash): Change inchash class to namespace.
23380 (class hash): ... Rename from inchash.
23381 (add_object): Move from macro to class template.
23382 * lto-streamer-out.c (hash_tree): Change inchash
23384 * tree.c (build_type_attribute_qual_variant): Dito.
23385 (type_hash_list): Dito.
23386 (attribute_hash_list): Dito.
23387 (iterative_hstate_expr): Rename to inchash::add_expr
23388 (build_range_type_1): Change inchash to inchash::hash
23389 and use hash::add_expr.
23390 (build_array_type_1): Dito.
23391 (build_function_type): Dito
23392 (build_method_type_directly): Dito.
23393 (build_offset_type): Dito.
23394 (build_complex_type): Dito.
23395 (make_vector_type): Dito.
23396 * tree.h (iterative_hash_expr): Dito.
23398 2014-07-31 Chen Gang <gang.chen.5i5j@gmail.com>
23400 * gcc.c (do_spec_1): Allocate enough space for saved_suffix.
23402 2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
23404 * config/aarch64/arm_neon.h (vpadd_<suf><8,16,32,64>): Move to
23405 correct alphabetical position.
23406 (vpaddd_f64): Rewrite using builtins.
23407 (vpaddd_s64): Move to correct alphabetical position.
23410 2014-07-31 Oleg Endo <olegendo@gcc.gnu.org>
23413 * config/sh/sh.c (sh_legitimate_address_p,
23414 sh_legitimize_reload_address): Handle reg+reg address modes when
23415 ALLOW_INDEXED_ADDRESS is false.
23416 * config/sh/predicates.md (general_movsrc_operand,
23417 general_movdst_operand): Likewise.
23419 2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
23421 * config/aarch64/aarch64-builtins.c
23422 (aarch64_gimple_fold_builtin): Don't fold reduction operations for
23425 2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
23427 * config/aarch64/aarch64.c (aarch64_simd_vect_par_cnst_half): Vary
23428 the generated mask based on BYTES_BIG_ENDIAN.
23429 (aarch64_simd_check_vect_par_cnst_half): New.
23430 * config/aarch64/aarch64-protos.h
23431 (aarch64_simd_check_vect_par_cnst_half): New.
23432 * config/aarch64/predicates.md (vect_par_cnst_hi_half): Refactor
23433 the check out to aarch64_simd_check_vect_par_cnst_half.
23434 (vect_par_cnst_lo_half): Likewise.
23435 * config/aarch64/aarch64-simd.md
23436 (aarch64_simd_move_hi_quad_<mode>): Always use vec_par_cnst_lo_half.
23437 (move_hi_quad_<mode>): Always generate a low mask.
23439 2014-07-30 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
23441 * doc/invoke.texi (AVR Options): Add documentation about
23442 __AVR_DEVICE_NAME__ built-in macro.
23444 2014-07-31 Charles Baylis <charles.baylis@linaro.org>
23447 * config/arm/neon.md (ashldi3_neon): Don't emit arm_ashldi3_1bit unless
23448 constraints are satisfied.
23449 (<shift>di3_neon): Likewise.
23451 2014-07-31 Richard Biener <rguenther@suse.de>
23453 PR tree-optimization/61964
23454 * tree-ssa-tail-merge.c (gimple_equal_p): Handle non-SSA LHS solely
23455 by structural equality.
23457 2014-07-31 Yury Gribov <y.gribov@samsung.com>
23459 * doc/cpp.texi (__SANITIZE_ADDRESS__): Updated description.
23460 * doc/invoke.texi (-fsanitize=kernel-address): Describe new option.
23461 * flag-types.h (SANITIZE_USER_ADDRESS, SANITIZE_KERNEL_ADDRESS):
23463 * gcc.c (sanitize_spec_function): Support new option.
23464 (SANITIZER_SPEC): Remove now redundant check.
23465 * opts.c (common_handle_option): Support new option.
23466 (finish_options): Check for incompatibilities.
23467 * toplev.c (process_options): Split userspace-specific checks.
23469 2014-07-31 Richard Biener <rguenther@suse.de>
23471 * lto-streamer.h (struct output_block): Remove global.
23472 (struct data_in): Remove labels, num_named_labels and
23473 num_unnamed_labels.
23474 * lto-streamer-in.c (lto_data_in_delete): Do not free labels.
23475 * lto-streamer-out.c (produce_asm_for_decls): Do not set global.
23477 2014-07-31 Marc Glisse <marc.glisse@inria.fr>
23480 * common.opt (-Wreturn-local-addr): Moved from c.opt.
23481 * gimple-ssa-isolate-paths.c: Include diagnostic-core.h and intl.h.
23482 (isolate_path): New argument to avoid inserting a trap.
23483 (find_implicit_erroneous_behaviour): Handle returning the address
23484 of a local variable.
23485 (find_explicit_erroneous_behaviour): Likewise.
23487 2014-07-31 Bingfeng Mei <bmei@broadcom.com>
23490 * toplev.c (init_random_seed): Move piece of code never called to
23492 (set_random_seed): see above.
23494 2014-07-31 Tom de Vries <tom@codesourcery.com>
23496 * tree-ssa-loop.c (pass_tree_loop_init::execute): Remove dead code.
23498 2014-07-31 Richard Sandiford <rdsandiford@googlemail.com>
23500 * ira.c (insn_contains_asm_1, insn_contains_asm): Delete.
23501 (compute_regs_asm_clobbered): Use extract_asm_operands instead.
23503 2014-07-31 Richard Biener <rguenther@suse.de>
23505 * data-streamer.h (streamer_write_data_stream): Declare here,
23507 * lto-streamer.h (lto_output_data_stream): ... this. Remove.
23508 * lto-cgraph.c (lto_output_node): Adjust.
23509 (lto_output_varpool_node): Likewise.
23510 * data-streamer-out.c (streamer_string_index): Likewise.
23511 (streamer_write_data_stream, lto_append_block): Move from ...
23512 * lto-section-out.c (lto_output_data_stream,
23513 lto_append_block): ... here.
23515 2014-07-30 Mike Stump <mikestump@comcast.net>
23517 * configure.ac: Also check for popen.
23518 * tree-loop-distribution.c (dot_rdg): Autoconfize popen use.
23519 * configure: Regenerate.
23520 * config.in: Regenerate.
23522 2014-07-30 Martin Jambor <mjambor@suse.cz>
23524 * tree-sra.c (sra_ipa_modify_assign): Change type of the first
23525 parameter to gimple.
23527 2014-07-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23529 * config/s390/s390.c (s390_emit_tpf_eh_return): Pass original return
23530 address as second parameter to __tpf_eh_return routine.
23532 2014-07-30 Jiong Wang <jiong.wang@arm.com>
23534 * config/arm/arm.c (arm_get_frame_offsets): Adjust condition for
23537 2014-07-30 Tom Tromey <tromey@redhat.com>
23540 * doc/invoke.texi (Warning Options): Document -Wdesignated-init.
23541 * doc/extend.texi (Type Attributes): Document designated_init
23544 2014-07-30 Roman Gareev <gareevroman@gmail.com>
23546 * graphite-isl-ast-to-gimple.c:
23547 (gcc_expression_from_isl_ast_expr_id): Add calling of fold_convert.
23548 (gcc_expression_from_isl_expression): Pass type to
23549 gcc_expression_from_isl_ast_expr_id.
23551 2014-07-30 Richard Biener <rguenther@suse.de>
23553 * lto-streamer.h (lto_write_data): New function.
23554 * langhooks.c (lhd_append_data): Do not free block.
23555 * lto-section-out.c (lto_write_data): New function writing
23556 raw data to the current section.
23557 (lto_write_stream): Adjust for langhook semantic change.
23558 (lto_destroy_simple_output_block): Write header directly.
23559 * lto-opts.c (lto_write_options): Write options directly.
23560 * lto-streamer-out.c (produce_asm): Write heaeder directly.
23561 (lto_output_toplevel_asms): Likewise.
23562 (copy_function_or_variable): Copy data directly.
23563 (write_global_references): Output index table directly.
23564 (lto_output_decl_state_refs): Likewise.
23565 (write_symbol): Write data directly.
23566 (produce_symtab): Adjust.
23567 (produce_asm_for_decls): Output header and refs directly.
23569 2014-07-29 Jan Hubicka <hubicka@ucw.cz>
23571 * ipa-devirt.c (polymorphic_call_target_d): Rename nonconstruction_targets
23572 to speculative_targets
23573 (get_class_context): Fix handling of contextes without outer type;
23574 avoid matching non-polymorphic types in LTO.
23575 (possible_polymorphic_call_targets): Trun nonconstruction_targetsp
23576 parameter to speculative_targetsp; handle speculation.
23577 (dump_possible_polymorphic_call_targets): Update dumping.
23579 2014-07-29 Jan Hubicka <hubicka@ucw.cz>
23581 * common.opt (Wodr): Enable by default.
23583 2014-07-29 Olivier Hainque <hainque@adacore.com>
23585 * config/vxworksae.h (VXWORKS_OVERRIDE_OPTIONS): Define.
23587 2014-07-29 H.J. Lu <hongjiu.lu@intel.com>
23590 * gengtype.c (strtoken): New function.
23591 (create_user_defined_type): Replace strtok with strtoken.
23593 2014-07-29 Nathan Sidwell <nathan@acm.org>
23595 * gcov-io.c (gcov_var): Make hidden.
23596 * gcov-tool.c (gcov_list, gcov_exit): Remove declarations.
23597 (gcov_do_dump): Declare.
23598 (gcov_output_files): Call gcov_do_dump, not gcov_exit).
23600 2014-07-29 Martin Jambor <mjambor@suse.cz>
23602 * tree-sra.c (sra_modify_constructor_assign): Change type of stmt
23603 parameter to gimple.
23604 (sra_modify_assign): Likewise.
23606 2014-07-29 Richard Biener <rguenther@suse.de>
23608 PR middle-end/52478
23609 * expr.c (expand_expr_real_2): Revert last change.
23611 2014-07-28 Jan Hubicka <hubicka@ucw.cz>
23613 * cgraph.c (cgraph_node::create_indirect_edge): Copy speculative data.
23614 * cgraph.h (cgraph_indirect_call_info): Add speculative data.
23615 * gimple-fold.c (fold_gimple_assign): Fix check for virtual
23617 * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Update
23618 (contains_type_p): Forward declare.
23619 (polymorphic_call_target_hasher::hash): Hash speculative info.
23620 (polymorphic_call_target_hasher::equal): Compare speculative info.
23621 (get_class_context): Handle speuclation.
23622 (contains_type_p): Update.
23623 (get_polymorphic_call_info_for_decl): Update.
23624 (walk_ssa_copies): Break out from ...
23625 (get_polymorphic_call_info): ... here; set speculative context
23627 * ipa-prop.c (ipa_write_indirect_edge_info,
23628 ipa_read_indirect_edge_info): Stream speculative context.
23629 * ipa-utils.h (ipa_polymorphic_call_context): Add speculative info
23630 (SPECULATIVE_OFFSET, SPECULATIVE_OUTER_TYPE,
23631 SPECULATIVE_MAYBE_DERIVED_TYPE).
23632 (possible_polymorphic_call_targets overriders): Update.
23633 (dump_possible_polymorphic_call_targets overriders): Update.
23634 (dump_possible_polymorphic_call_target_p overriders): Update.
23636 2014-07-28 Jan Hubicka <hubicka@ucw.cz>
23638 * gimple-fold.c (fold_gimple_assign): Fix condition guarding
23639 ipa-devirt path; fix thinko there.
23641 2014-07-28 Trevor Saunders <tsaunders@mozilla.com>
23643 * config/i386/i386.c (ix86_return_in_memory): Replace one
23644 ATTRIBUTE_UNUSED where the attribute can actually sometimes be unused.
23646 2014-07-28 Marek Polacek <polacek@redhat.com>
23648 * doc/invoke.texi (-Wno-odr): Fix @item entry. Tweak wording.
23650 2014-07-28 Peter Bergner <bergner@vnet.ibm.com>
23652 * config.gcc (powerpc*-*-linux*): Include gnu-user.h in tm_file.
23653 * config/rs6000/sysv4.h (CC1_SPEC): Undefine it before defining it.
23654 * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): Delete define.
23655 (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
23656 (USE_LD_AS_NEEDED): Likewise.
23657 (ASM_APP_ON): Likewise.
23658 (ASM_APP_OFF): Likewise.
23659 (TARGET_POSIX_IO): Likewise.
23660 * config/rs6000/linux64.h (CPLUSPLUS_CPP_SPEC): Likewise.
23661 (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
23662 (USE_LD_AS_NEEDED): Likewise.
23663 (ASM_APP_ON): Likewise.
23664 (ASM_APP_OFF): Likewise.
23665 (TARGET_POSIX_IO): Likewise.
23667 2014-07-28 Eric Botcazou <ebotcazou@adacore.com>
23669 PR middle-end/61734
23670 * fold-const.c (fold_comparison): Disable X - Y CMP 0 to X CMP Y for
23671 operators other than the equality operators.
23673 2014-07-28 Richard Biener <rguenther@suse.de>
23675 PR middle-end/52478
23676 * optabs.c (gen_int_libfunc): For -ftrapv libfuncs make
23677 sure to register SImode ones, not only >= word_mode ones.
23678 * expr.c (expand_expr_real_2): When expanding -ftrapv
23679 binops do not use OPTAB_LIB_WIDEN.
23681 2014-07-28 Richard Sandiford <rdsandiford@googlemail.com>
23683 PR middle-end/61919
23684 * tree-outof-ssa.c (insert_partition_copy_on_edge)
23685 (insert_value_copy_on_edge, insert_rtx_to_part_on_edge)
23686 (insert_part_to_rtx_on_edge): Copy partition_to_pseudo rtxes before
23687 inserting them in the insn stream.
23689 2014-07-28 Marek Polacek <polacek@redhat.com>
23691 PR middle-end/61913
23692 * common.opt (Wodr): Add Var.
23694 2014-07-28 Richard Biener <rguenther@suse.de>
23696 PR tree-optimization/61921
23697 * tree-ssa-structalias.c (create_variable_info_for_1): Check
23698 if there is a varpool node before dereferencing it.
23700 2014-07-28 Roman Gareev <gareevroman@gmail.com>
23702 * graphite-sese-to-poly.c:
23703 (new_pbb_from_pbb): Set a new id of pbb1->domain (instead of using the
23704 id of the pbb), which contains pointer to the pbb1.
23706 * gcc.dg/graphite/isl-ast-gen-if-2.c: New testcase.
23708 2014-07-28 Roman Gareev <gareevroman@gmail.com>
23710 * graphite-isl-ast-to-gimple.c:
23711 (graphite_create_new_guard): New function.
23712 (translate_isl_ast_node_if): New function.
23713 (translate_isl_ast): Add calling of translate_isl_ast_node_if.
23715 * gcc.dg/graphite/isl-ast-gen-if-1.c: New testcase.
23717 2014-07-27 Anthony Green <green@moxielogic.com>
23719 * config.gcc: Add moxie-*-moxiebox* configuration.
23720 * config/moxie/moxiebox.h: New file.
23722 2014-07-26 Andrew Pinski <apinski@cavium.com>
23724 * config/aarch64/aarch64.md (*extr_insv_lower_reg<mode>): Remove +
23725 from the read only register.
23727 2014-07-26 Richard Sandiford <rdsandiford@googlemail.com>
23729 * ira-costs.c (find_costs_and_classes): For -O0, use the best class
23730 as the allocation class if it isn't likely to be spilled.
23732 2014-07-26 Richard Sandiford <rdsandiford@googlemail.com>
23734 * rtl.h (tls_referenced_p): Declare.
23735 * rtlanal.c (tls_referenced_p_1, tls_referenced_p): New functions.
23736 * config/mips/mips.c (mips_tls_symbol_ref_1): Delete.
23737 (mips_cannot_force_const_mem): Use tls_referenced_p.
23738 * config/pa/pa-protos.h (pa_tls_referenced_p): Delete.
23739 * config/pa/pa.h (CONSTANT_ADDRESS_P): Use tls_referenced_p
23740 instead of pa_tls_referenced_p.
23741 * config/pa/pa.c (hppa_legitimize_address, pa_cannot_force_const_mem)
23742 (pa_emit_move_sequence, pa_emit_move_sequence): Likewise.
23743 (pa_legitimate_constant_p): Likewise.
23744 (pa_tls_symbol_ref_1, pa_tls_referenced_p): Delete.
23745 * config/rs6000/rs6000.c (rs6000_tls_referenced_p): Delete.
23746 (rs6000_cannot_force_const_mem, rs6000_emit_move)
23747 (rs6000_address_for_altivec): Use tls_referenced_p instead of
23748 rs6000_tls_referenced_p.
23749 (rs6000_tls_symbol_ref_1): Delete.
23751 2014-07-26 Marc Glisse <marc.glisse@inria.fr>
23754 * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>:
23755 Optimize inverse of a VEC_CONCAT.
23757 2014-07-25 Xinliang David Li <davidxl@google.com>
23759 * params.def: New parameter.
23760 * coverage.c (get_coverage_counts): Check new flag.
23761 (coverage_compute_profile_id): Check new flag.
23762 (coverage_begin_function): Check new flag.
23763 (coverage_end_function): Check new flag.
23764 * value-prof.c (coverage_node_map_initialized_p): New function.
23765 (init_node_map): Populate map with all functions.
23766 * doc/invoke.texi: Document new parameter.
23768 2014-07-25 Jan Hubicka <hubicka@ucw.cz>
23769 Richard Biener <rguenther@suse.de>
23771 * lto-streamer-out.c (struct sccs): Turn to ...
23772 (class DFS): ... this one; refactor the DFS walk so it can
23773 be re-done on per-SCC basis.
23774 (DFS::DFS): New constructor.
23775 (DFS::~DFS): New destructor.
23776 (hash_tree): Add new MAP argument holding in-SCC hash values;
23777 remove POINTER_TYPE hashing hack.
23778 (scc_entry_compare): Rename to ...
23779 (DFS::scc_entry_compare): ... this one.
23780 (hash_scc): Rename to ...
23781 (DFS::hash_scc): ... this one; pass output_block instead
23782 of streamer_cache; work harder to get unique and stable SCC
23784 (DFS_write_tree): Rename to ...
23785 (DFS::DFS_write_tree): ... this one; add SINGLE_P parameter.
23786 (lto_output_tree): Update.
23788 2014-07-25 Andi Kleen <ak@linux.intel.com>
23790 * lto-streamer-out.c (hash_tree): Convert to inchash.
23792 2014-07-25 Andi Kleen <ak@linux.intel.com>
23794 * tree.c (build_type_attribute_qual_variant): Use inchash.
23795 (type_hash_list): Dito.
23796 (attribute_hash_list): Dito
23797 (iterative_hstate_expr): Dito.
23798 (iterative_hash_expr): Dito.
23799 (build_range_type_1): Dito.
23800 (build_array_type_1): Dito.
23801 (build_function_type): Dito.
23802 (build_method_type_directly): Dito.
23803 (build_offset_type): Dito.
23804 (build_complex_type): Dito.
23805 (make_vector_type): Dito.
23806 * tree.h (iterative_hash_expr): Add compat wrapper.
23807 (iterative_hstate_expr): Add.
23809 2014-07-25 Andi Kleen <ak@linux.intel.com>
23811 * Makefile.in (OBJS): Add inchash.o.
23812 (PLUGIN_HEADERS): Add inchash.h.
23813 * ipa-devirt.c: Include inchash.h.
23814 * lto-streamer-out.c: Dito.
23815 * tree-ssa-dom.c: Dito.
23816 * tree-ssa-pre.c: Dito.
23817 * tree-ssa-sccvn.c: Dito.
23818 * tree-ssa-tail-merge.c: Dito.
23820 * tree.c (iterative_hash_hashval_t): Move to ...
23821 (iterative_hash_host_wide_int): Move to ...
23822 * inchash.c: Here. New file.
23823 * tree.h (iterative_hash_hashval_t): Move to ...
23824 (iterative_hash_host_wide_int): Move to ...
23825 * inchash.h: Here. New file.
23827 2014-07-25 Richard Biener <rguenther@suse.de>
23829 PR middle-end/61762
23830 PR middle-end/61894
23831 * fold-const.c (native_encode_int): Add and handle offset
23832 parameter to do partial encodings of expr.
23833 (native_encode_fixed): Likewise.
23834 (native_encode_real): Likewise.
23835 (native_encode_complex): Likewise.
23836 (native_encode_vector): Likewise.
23837 (native_encode_string): Likewise.
23838 (native_encode_expr): Likewise.
23839 * fold-const.c (native_encode_expr): Add offset parameter
23841 * gimple-fold.c (fold_string_cst_ctor_reference): Remove.
23842 (fold_ctor_reference): Handle all reads from tcc_constant
23845 2014-07-25 Richard Biener <rguenther@suse.de>
23847 * tree-inline.c (estimate_move_cost): Mark speed_p argument
23848 as possibly unused.
23850 2014-07-23 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
23852 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Add __AVR_DEVICE_NAME__.
23854 2014-07-24 Kyle McMartin <kyle@redhat.com>
23856 * config/aarch64/aarch64-linux.h (TARGET_ASM_FILE_END): Define.
23858 2014-07-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23860 * config/rs6000/rs6000-protos.h (rs6000_special_adjust_field_align_p):
23862 * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p): New
23864 * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Call it.
23865 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
23866 * config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.
23868 2014-07-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23870 * config/rs6000/rs6000.c (rs6000_function_arg_boundary): In the AIX
23871 and ELFv2 ABI, do not use the "mode == BLKmode" check to test for
23872 aggregate types. Instead, *all* aggregate types, except for single-
23873 element or homogeneous float/vector aggregates, are quadword-aligned
23874 if required by their type alignment. Issue -Wpsabi note when a type
23875 is now treated differently than before.
23877 2014-07-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23879 * config/rs6000/rs6000.c (rs6000_function_arg): If a float argument
23880 does not fit fully into floating-point registers, and there is still
23881 space in the register parameter area, use GPRs to pass those parts
23882 of the argument. Issue -Wpsabi note if any parameter is now treated
23883 differently than before.
23884 (rs6000_arg_partial_bytes): Update.
23886 2014-07-24 Uros Bizjak <ubizjak@gmail.com>
23888 * config/alpha/elf.h: Define TARGET_UNWIND_TABLES_DEFAULT.
23890 2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
23892 * rtl.h (target_rtl): Remove lang_dependent_initialized.
23893 * toplev.c (initialize_rtl): Don't use it. Move previously
23894 "language-dependent" calls to...
23895 (backend_init): ...here.
23896 (lang_dependent_init_target): Don't set lang_dependent_initialized.
23897 Assert that RTL initialization hasn't happend yet.
23899 2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
23901 PR rtl-optimization/61629
23902 * reginfo.c (reinit_regs): Only call ira_init and recog_init if
23903 they have already been initialized.
23905 2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
23907 PR middle-end/61268
23908 * function.c (assign_parm_setup_reg): Prevent invalid sharing of
23909 DECL_INCOMING_RTL and entry_parm.
23910 (get_arg_pointer_save_area): Likewise arg_pointer_save_area.
23911 * calls.c (load_register_parameters): Likewise argument values.
23912 (emit_library_call_value_1, store_one_arg): Likewise argument
23914 * config/i386/i386.c (assign_386_stack_local): Likewise the local
23916 * explow.c (validize_mem): Modify the argument in-place.
23918 2014-07-24 Jiong Wang <jiong.wang@arm.com>
23920 * config/aarch64/aarch64.c (aarch64_popwb_single_reg): New function.
23921 (aarch64_expand_epilogue): Optimize epilogue when !frame_pointer_needed.
23923 2014-07-24 Jiong Wang <jiong.wang@arm.com>
23925 * config/aarch64/aarch64.c (aarch64_pushwb_single_reg): New function.
23926 (aarch64_expand_prologue): Optimize prologue when !frame_pointer_needed.
23928 2014-07-24 Jiong Wang <jiong.wang@arm.com>
23930 * config/aarch64/aarch64.c (aarch64_restore_callee_saves)
23931 (aarch64_save_callee_saves): New parameter "skip_wb".
23932 (aarch64_expand_prologue, aarch64_expand_epilogue): Update call site.
23934 2014-07-24 Jiong Wang <jiong.wang@arm.com>
23936 * config/aarch64/aarch64.h (frame): New fields "wb_candidate1" and
23938 * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize above.
23940 2014-07-24 Roman Gareev <gareevroman@gmail.com>
23942 * graphite-isl-ast-to-gimple.c:
23943 (graphite_create_new_loop): Add calling of isl_id_free to properly
23944 decrement reference counts.
23946 * gcc.dg/graphite/isl-ast-gen-blocks-4.c: New testcase.
23948 2014-07-24 Martin Liska <mliska@suse.cz>
23949 * config/mips/mips.c (mips_start_unique_function): Correct cgraph_node
23951 * config/rs6000/rs6000.c (call_ABI_of_interest): Likewise.
23952 (rs6000_code_end): Likewise.
23954 2014-07-24 Martin Liska <mliska@suse.cz>
23956 * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): Correct
23957 symtab_node funtion used.
23958 (rs6000_xcoff_declare_object_name): Likewise.
23960 2014-07-24 Martin Liska <mliska@suse.cz>
23962 * cgraphunit.c (compile): Correct function used.
23964 2014-07-24 Jan Hubicka <hubicka@ucw.cz>
23966 * lto-streamer-out.c (tree_is_indexable): Consider IMPORTED_DECL
23969 2014-07-24 Jan Hubicka <hubicka@ucw.cz>
23972 * varasm.c (bss_initializer_p): Handle offlined ctors.
23973 (align_variable, get_variable_align): Likewise.
23974 (make_decl_one_only): Likewise.
23975 (default_binds_local_p_1): Likewise.
23976 (decl_binds_to_current_def_p): Likewise.
23977 (get_variable_section): Get constructor if it is offlined.
23978 (assemble_variable_contents): Sanity check that the caller
23979 streamed in the ctor in LTO.
23981 2014-07-24 Roman Gareev <gareevroman@gmail.com>
23983 * graphite-isl-ast-to-gimple.c:
23984 (binary_op_to_tree): Add calling of translate_isl_ast_node_block.
23985 (gcc_expression_from_isl_expr_op): Move isl_ast_op_pdiv_q,
23986 isl_ast_op_pdiv_r to the different case.
23988 * gcc.dg/graphite/isl-ast-gen-blocks-3.c: New testcase.
23990 2014-07-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
23992 PR middle-end/61876
23993 * convert.c (convert_to_integer): Do not convert BUILT_IN_ROUND and cast
23994 when flag_errno_math is on.
23996 2014-07-24 Martin Liska <mliska@suse.cz>
23998 * cgraph.h (varpool_node):
23999 (availability get_availability (void)):
24000 created from cgraph_variable_initializer_availability
24001 (inline varpool_node *ultimate_alias_target (availability *availability = NULL)
24002 created from: cgraph_variable_initializer_availability
24003 (inline varpool_node *get_alias_target (void)): created from varpool_alias_target
24004 (void finalize_named_section_flags (void)):
24005 created from varpool_finalize_named_section_flags
24006 (bool assemble_decl (void)): created from varpool_assemble_decl
24007 (void analyze (void)): created from varpool_analyze_node
24008 (bool call_for_node_and_aliases (bool (*callback) (varpool_node *, void *),
24009 void *data, bool include_overwritable)): created fromvarpool_for_node_and_aliases
24010 (void remove_initializer (void)): created from varpool_remove_initializer
24011 (tree get_constructor (void)): created from varpool_get_constructor
24012 (bool externally_visible_p (void)): created from varpool_externally_visible_p
24013 (bool ctor_useable_for_folding_p (void)): created from varpool_ctor_useable_for_folding_p
24014 (inline bool all_refs_explicit_p ()): created from varpool_all_refs_explicit_p
24015 (inline bool can_remove_if_no_refs_p (void)): created from varpool_can_remove_if_no_refs
24016 (static inline varpool_node *get (const_tree decl)): created from varpool_get_node
24017 (static void finalize_decl (tree decl)): created from varpool_finalize_decl
24018 (static bool output_variables (void)): created from varpool_output_variables
24019 (static varpool_node * create_extra_name_alias (tree alias, tree decl)):
24020 created from varpool_extra_name_alias
24021 (static varpool_node * create_alias (tree, tree)): created from varpool_create_variable_alias
24022 (static void dump_varpool (FILE *f)): created from dump_varpool
24023 (static void DEBUG_FUNCTION debug_varpool (void)): created from debug_varpool
24024 (static varpool_node *create_empty (void)): created from varpool_create_empty_node
24025 (static varpool_node *get_create (tree decl)): created from varpool_node_for_decl
24026 (static varpool_node *get_for_asmname (tree asmname)): created from varpool_node_for_asm
24027 (void assemble_aliases (void)): created from assemble_aliases
24029 2014-07-24 Martin Liska <mliska@suse.cz>
24031 * cgraph.h (symtab_node):
24032 (void register_symbol (void)): created from symtab_register_node
24033 (void remove (void)): created from symtab_remove_node
24034 (void dump (FILE *f)): created from dump_symtab_node
24035 (void DEBUG_FUNCTION debug (void)): created from debug_symtab_node
24036 (void DEBUG_FUNCTION verify (void)): created from verify_symtab_node
24037 (struct ipa_ref *add_reference (symtab_node *referred_node,
24038 enum ipa_ref_use use_type)): created from add_reference
24039 (struct ipa_ref *add_reference (symtab_node *referred_node,
24040 enum ipa_ref_use use_type, gimple stmt)): created from add_reference
24041 (struct ipa_ref *maybe_add_reference (tree val, enum ipa_ref_use use_type,
24042 gimple stmt)): created from maybe_add_reference
24043 (bool semantically_equivalent_p (symtab_node *target)): created from
24044 symtab_semantically_equivalent_p
24045 (void remove_from_same_comdat_group (void)): created from
24046 remove_from_same_comdat_group
24047 (void add_to_same_comdat_group (symtab_node *old_node)): created from
24048 symtab_add_to_same_comdat_group
24049 (void dissolve_same_comdat_group_list (void)): created from
24050 symtab_dissolve_same_comdat_group_list
24051 (bool used_from_object_file_p (void)): created from symtab_used_from_object_file_p
24052 (symtab_node *ultimate_alias_target (enum availability *avail = NULL)):
24053 created from symtab_alias_ultimate_target
24054 (inline symtab_node *next_defined_symbol (void)): created from
24055 symtab_next_defined_symbol
24056 (bool resolve_alias (symtab_node *target)): created from
24057 symtab_resolve_alias
24058 (bool call_for_symbol_and_aliases (bool (*callback) (symtab_node *, void *),
24059 void *data, bool include_overwrite)): created from symtab_for_node_and_aliases
24060 (symtab_node *noninterposable_alias (void)): created from symtab_nonoverwritable_alias
24061 (inline symtab_node *get_alias_target (void)): created from symtab_alias_target
24062 (void set_section (const char *section)): created from set_section_1
24063 (enum availability get_availability (void)): created from symtab_node_availability
24064 (void make_decl_local (void)): created from symtab_make_decl_local
24065 (bool real_symbol_p (void)): created from symtab_read_node
24066 (can_be_discarded_p (void)): created from symtab_can_be_discarded
24067 (inline bool comdat_local_p (void)): created from symtab_comdat_local_p
24068 (inline bool in_same_comdat_group_p (symtab_node *target)): created from
24069 symtab_in_same_comdat_p;
24070 (bool address_taken_from_non_vtable_p (void)): created from
24071 address_taken_from_non_vtable_p
24072 (static inline symtab_node *get (const_tree decl)): created from symtab_get_node
24073 (static void dump_table (FILE *)): created from dump_symtab
24074 (static inline DEBUG_FUNCTION void debug_symtab (void)): created from debug_symtab
24075 (static DEBUG_FUNCTION void verify_symtab_nodes (void)): created from verify_symtab
24076 (static bool used_from_object_file_p_worker (symtab_node *node)): created from
24077 symtab_used_from_object_file_p
24078 (void dump_base (FILE *)): created from dump_symtab_base
24079 (bool DEBUG_FUNCTION verify_base (void)): created from verify_symtab_base
24080 (void unregister (void)): created from symtab_unregister_node
24081 (struct symbol_priority_map *priority_info (void)): created from symtab_priority_info
24082 (static bool set_implicit_section (symtab_node *n, void *)): created from set_implicit_section
24083 (static bool noninterposable_alias (symtab_node *node, void *data)): created from
24084 symtab_nonoverwritable_alias_1
24085 * cgraph.h (cgraph_node):
24086 (bool remove_symbol_and_inline_clones (cgraph_node *forbidden_node = NULL)):
24087 created from cgraph_remove_node_and_inline_clones
24088 (void record_stmt_references (gimple stmt)): created from ipa_record_stmt_references
24089 (void set_call_stmt_including_clones (gimple old_stmt, gimple new_stmt,
24090 bool update_speculative = true)): created from cgraph_set_call_stmt_including_clones
24091 (cgraph_node *function_symbol (enum availability *avail = NULL)):
24092 created from cgraph_function_node
24093 (cgraph_node *create_clone (tree decl, gcov_type count, int freq, bool update_original,
24094 vec<cgraph_edge *> redirect_callers, bool call_duplication_hook,
24095 struct cgraph_node *new_inlined_to, bitmap args_to_skip)):
24096 created from cgraph_create_clone
24097 (cgraph_node *create_virtual_clone (vec<cgraph_edge *> redirect_callers,
24098 vec<ipa_replace_map *, va_gc> *tree_map, bitmap args_to_skip, const char * suffix)):
24099 created from cgraph_create_virtual_clone
24100 (cgraph_node *find_replacement (void)): created from cgraph_find_replacement_node
24101 (cgraph_node *create_version_clone (tree new_decl, vec<cgraph_edge *> redirect_callers,
24102 bitmap bbs_to_copy)): created from cgraph_copy_node_for_versioning
24103 (cgraph_node *create_version_clone_with_body (vec<cgraph_edge *> redirect_callers,
24104 vec<ipa_replace_map *, va_gc> *tree_map, bitmap args_to_skip, bool skip_return,
24105 bitmap bbs_to_copy, basic_block new_entry_block, const char *clone_name)):
24106 created from cgraph_function_version_info
24107 (struct cgraph_function_version_info *insert_new_function_version (void)):
24108 created from insert_new_cgraph_node_version
24109 (struct cgraph_function_version_info *function_version (void)): created from
24110 get_cgraph_node_version
24111 (void analyze (void)): created from analyze_function
24112 (cgraph_node * create_thunk (tree alias, tree, bool this_adjusting,
24113 HOST_WIDE_INT fixed_offset, HOST_WIDE_INT virtual_value, tree virtual_offset,
24114 tree real_alias) cgraph_add_thunk
24115 (inline cgraph_node *get_alias_target (void)): created from cgraph_alias_target
24116 (cgraph_node *ultimate_alias_target (availability *availability = NULL)):
24117 created from cgraph_function_or_thunk_node
24118 (bool expand_thunk (bool output_asm_thunks, bool force_gimple_thunk)):
24119 created from expand_thunk
24120 (void reset (void)): created from cgraph_reset_node
24121 (void create_wrapper (cgraph_node *target)): created from cgraph_make_wrapper
24122 (void DEBUG_FUNCTION verify_node (void)): created from verify_cgraph_node
24123 (void remove (void)): created from cgraph_remove_node
24124 (void dump (FILE *f)): created from dump_cgraph_node
24125 (void DEBUG_FUNCTION debug (void)): created from debug_cgraph_node
24126 (bool get_body (void)): created from cgraph_get_body
24127 (void release_body (void)): created from cgraph_release_function_body
24128 (void unnest (void)): created from cgraph_unnest_node
24129 (void make_local (void)): created from cgraph_make_node_local
24130 (void mark_address_taken (void)): created from cgraph_mark_address_taken_node
24131 (struct cgraph_edge *create_edge (cgraph_node *callee, gimple call_stmt,
24132 gcov_type count, int freq)): created from cgraph_create_edge
24133 (struct cgraph_edge *create_indirect_edge (gimple call_stmt, int ecf_flags,
24134 gcov_type count, int freq)): created from cgraph_create_indirect_edge
24135 (void create_edge_including_clones (struct cgraph_node *callee, gimple old_stmt,
24136 gimple stmt, gcov_type count, int freq, cgraph_inline_failed_t reason)):
24137 created from cgraph_create_edge_including_clones
24138 (cgraph_edge *get_edge (gimple call_stmt)): created from cgraph_edge
24139 (vec<cgraph_edge *> collect_callers (void)): created from collect_callers_of_node
24140 (void remove_callers (void)): created from cgraph_node_remove_callers
24141 (void remove_callees (void)): created from cgraph_node_remove_callees
24142 (enum availability get_availability (void)): created from cgraph_function_body_availability
24143 (void set_nothrow_flag (bool nothrow)): created from cgraph_set_nothrow_flag
24144 (void set_const_flag (bool readonly, bool looping)): created from cgraph_set_const_flag
24145 (void set_pure_flag (bool pure, bool looping)): created from cgraph_set_pure_flag
24146 (void call_duplication_hooks (cgraph_node *node2)): created from
24147 cgraph_call_node_duplication_hooks
24148 (bool call_for_symbol_and_aliases (bool (*callback) (cgraph_node *, void *),
24149 void *data, bool include_overwritable)): created from cgraph_for_node_and_aliases
24150 (bool call_for_symbol_thunks_and_aliases (bool (*callback) (cgraph_node *node, void *data),
24151 void *data, bool include_overwritable)): created from cgraph_for_node_thunks_and_aliases
24152 (void call_function_insertion_hooks (void)):
24153 created from cgraph_call_function_insertion_hooks
24154 (inline void mark_force_output (void)): created from cgraph_mark_force_output_node
24155 (bool local_p (void)): created from cgraph_local_node
24156 (bool can_be_local_p (void)): created from cgraph_node_can_be_local_p
24157 (bool cannot_return_p (void)): created from cgraph_node_cannot_return
24158 (bool only_called_directly_p (void)): created from cgraph_only_called_directly_p
24159 (inline bool only_called_directly_or_aliased_p (void)):
24160 created from cgraph_only_called_directly_or_aliased_p
24161 (bool will_be_removed_from_program_if_no_direct_calls_p (void)):
24162 created from cgraph_will_be_removed_from_program_if_no_direct_calls
24163 (bool can_remove_if_no_direct_calls_and_refs_p (void)):
24164 created from cgraph_can_remove_if_no_direct_calls_and_refs_p
24165 (bool can_remove_if_no_direct_calls_p (void)):
24166 created from cgraph_can_remove_if_no_direct_calls_p
24167 (inline bool has_gimple_body_p (void)):
24168 created from cgraph_function_with_gimple_body_p
24169 (bool optimize_for_size_p (void)): created from cgraph_optimize_for_size_p
24170 (static void dump_cgraph (FILE *f)): created from dump_cgraph
24171 (static inline void debug_cgraph (void)): created from debug_cgraph
24172 (static void record_function_versions (tree decl1, tree decl2)):
24173 created from record_function_versions
24174 (static void delete_function_version (tree decl)):
24175 created from delete_function_version
24176 (static void add_new_function (tree fndecl, bool lowered)):
24177 created from cgraph_add_new_function
24178 (static inline cgraph_node *get (const_tree decl)): created from cgraph_get_node
24179 (static cgraph_node * create (tree decl)): created from cgraph_create_node
24180 (static cgraph_node * create_empty (void)): created from cgraph_create_empty_node
24181 (static cgraph_node * get_create (tree)): created from cgraph_get_create_node
24182 (static cgraph_node *get_for_asmname (tree asmname)):
24183 created from cgraph_node_for_asm
24184 (static cgraph_node * create_same_body_alias (tree alias, tree decl)):
24185 created from cgraph_same_body_alias
24186 (static bool used_from_object_file_p_worker (cgraph_node *node,
24187 void *): new function
24188 (static bool non_local_p (cgraph_node *node, void *)):
24189 created from cgraph_non_local_node_p_1
24190 (static void DEBUG_FUNCTION verify_cgraph_nodes (void)):
24191 created from verify_cgraph
24192 (static bool make_local (cgraph_node *node, void *)):
24193 created from cgraph_make_node_local
24194 (static cgraph_node *create_alias (tree alias, tree target)):
24195 created from cgraph_create_function_alias
24196 (static cgraph_edge * create_edge (cgraph_node *caller, cgraph_node *callee,
24197 gimple call_stmt, gcov_type count, int freq, bool indir_unknown_callee)):
24198 created from cgraph_create_edge_1
24199 * cgraph.h (varpool_node):
24200 (void remove (void)): created from varpool_remove_node
24201 (void dump (FILE *f)): created from dump_varpool_node
24203 2014-07-24 Richard Biener <rguenther@suse.de>
24206 * tree-ssa-structalias.c (create_variable_info_for_1):
24207 Use varpool_get_constructor.
24208 (create_variable_info_for): Likewise.
24210 2014-07-24 Jiong Wang <jiong.wang@arm.com>
24212 * config/aarch64/aarch64.c (aarch64_expand_epilogue): Don't
24213 subtract outgoing area size when restoring stack_pointer_rtx.
24215 2014-07-24 Nick Clifton <nickc@redhat.com>
24217 * config/rx/rx.md (stack_push): Adjust RTL to account for the fact
24218 that operations are taking place in parallel.
24219 * config/rx.h (FRAME_POINTER_CFA_OFFSET): Delete.
24221 2014-07-24 Thomas Schwinge <thomas@codesourcery.com>
24223 * omp-low.c (extract_omp_for_data): Add missing break statement.
24225 2014-07-24 Richard Biener <rguenther@suse.de>
24227 * tree-inline.h (estimate_move_cost): Add speed_p parameter.
24228 * tree-inline.c (estimate_move_cost): Add speed_p parameter
24229 and adjust MOVE_RATIO query accordingly.
24230 (estimate_num_insns): Adjust callers.
24231 * ipa-prop.c (ipa_populate_param_decls): Likewise.
24232 * ipa-cp.c (gather_context_independent_values,
24233 estimate_local_effects): Likewise.
24234 * ipa-split.c (consider_split): Likewise.
24236 2014-07-24 Trevor Saunders <tsaunders@mozilla.com>
24238 * config/i386/driver-i386.c: Remove names of unused arguments and
24239 unnecessary unused attributes.
24240 * config/i386/host-mingw32.c: Likewise.
24241 * config/i386/i386.c: Likewise.
24242 * config/i386/winnt-stubs.c: Likewise.
24243 * config/i386/winnt.c: Likewise.
24245 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24247 * config/aarch64/aarch64.c (aarch64_popwb_pair_reg)
24248 (aarch64_gen_loadwb_pair): New helper function.
24249 (aarch64_expand_epilogue): Simplify code using new helper functions.
24250 * config/aarch64/aarch64.md (loadwb_pair<GPF:mode>_<P:mode>): Define.
24252 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24254 * config/aarch64/aarch64.c (aarch64_pushwb_pair_reg)
24255 (aarch64_gen_storewb_pair): New helper function.
24256 (aarch64_expand_prologue): Simplify code using new helper functions.
24257 * config/aarch64/aarch64.md (storewb_pair<GPF:mode>_<P:mode>): Define.
24259 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24261 * config/aarch64/aarch64.md: (aarch64_save_or_restore_callee_saves):
24262 Rename to aarch64_save_callee_saves, remove restore code.
24263 (aarch64_restore_callee_saves): New function.
24265 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24267 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Deleted.
24268 (aarch64_save_callee_saves): New function to handle reg save
24269 for both core and vectore regs.
24271 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24273 * config/aarch64/aarch64.c (aarch64_gen_load_pair)
24274 (aarch64_gen_store_pair): New helper function.
24275 (aarch64_save_or_restore_callee_save_registers)
24276 (aarch64_save_or_restore_fprs): Use new helper functions.
24278 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24280 * config/aarch64/aarch64.c (aarch64_next_callee_save): New function.
24281 (aarch64_save_or_restore_callee_save_registers)
24282 (aarch64_save_or_restore_fprs): Use aarch64_next_callee_save.
24284 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24286 * config/aarch64/aarch64.c
24287 (aarch64_save_or_restore_callee_save_registers)
24288 (aarch64_save_or_restore_fprs): Hoist calculation of register rtx.
24290 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24292 * config/aarch64/aarch64.c
24293 (aarch64_save_or_restore_callee_save_registers)
24294 (aarch64_save_or_restore_fprs): Remove 'increment'.
24296 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24298 * config/aarch64/aarch64.c
24299 (aarch64_save_or_restore_callee_save_registers)
24300 (aarch64_save_or_restore_fprs): Use register offset in
24301 cfun->machine->frame.reg_offset.
24303 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24305 * config/aarch64/aarch64.c
24306 (aarch64_save_or_restore_callee_save_registers)
24307 (aarch64_save_or_restore_fprs): Remove base_rtx.
24309 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24311 * config/aarch64/aarch64.c
24312 (aarch64_save_or_restore_callee_save_registers): Rename 'offset'
24313 to 'start_offset'. Remove local variable 'start_offset'.
24315 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24317 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Change
24318 type to HOST_WIDE_INT.
24320 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24322 * config/aarch64/aarch64.c (aarch64_expand_prologue)
24323 (aarch64_save_or_restore_fprs)
24324 (aarch64_save_or_restore_callee_save_registers): GNU-Stylize code.
24326 2014-07-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
24328 * config/arm/t-rtems-eabi: Add
24329 mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard,
24330 mthumb/march=armv7-m/mfpu=fpv4-sp-d16/mfloat-abi=hard,
24331 mbig-endian/mthumb/march=armv7-r, and
24332 mbig-endian/mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard
24335 2014-07-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
24336 Chris Johns <chrisj@rtems.org>
24337 Joel Sherrill <joel.sherrill@oarcorp.com>
24339 * config.gcc: Add nios2-*-rtems*.
24340 * config/nios2/rtems.h: New file.
24341 * gcc/config/nios2/t-rtems: New file.
24343 2014-07-23 Segher Boessenkool <segher@kernel.crashing.org>
24346 * config/rs6000/rs6000.c (paired_expand_vector_init): Only allow
24347 constant numbers, not general constants.
24348 (rs6000_expand_vector_init): Ditto.
24350 2014-07-23 Nathan Sidwell <nathan@acm.org>
24352 * gcov-tool.c (gcov_list): Declare here.
24353 (set_gcov_list): Remove.
24354 (gcov_output_files): Set gcov_list directly.
24356 2014-07-23 Host Schirmeier <horst@schirmeier.com>
24358 * doc/invoke.texi: -O3 enables -ftree-loop-distribute-patterns.
24360 2014-07-23 Jiong Wang <jiong.wang@arm.com>
24362 * config/arm/arm.c (arm_get_frame_offsets): If both r3 and other
24363 callee-saved registers are available for padding purpose
24364 and r3 is not mandatory, then prefer use those callee-saved
24367 2014-07-23 Richard Biener <rguenther@suse.de>
24369 * params.def (PARAM_MAX_COMBINE_INSNS): New.
24370 * combine.c: Include statistics.h and params.h.
24371 (combine_instructions): Guard three and four insn combines
24372 with max-combine-insns value. Record statistics for combines
24374 * doc/invoke.texi (max-combine-insns): Document new param.
24376 2014-07-23 Roman Gareev <gareevroman@gmail.com>
24378 * graphite-isl-ast-to-gimple.c:
24379 (translate_isl_ast_node_block): New function.
24380 (translate_isl_ast): Add calling of translate_isl_ast_node_block.
24382 * gcc.dg/graphite/isl-ast-gen-blocks-1.c: New testcase.
24383 * gcc.dg/graphite/isl-ast-gen-blocks-2.c: New testcase.
24385 2014-07-23 Roman Gareev <gareevroman@gmail.com>
24387 * graphite-isl-ast-to-gimple.c:
24388 (get_max_schedule_dimensions): New function.
24389 (extend_schedule): Likewise.
24390 (generate_isl_schedule): Add calling of extend_schedule and
24391 get_max_schedule_dimensions.
24393 2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
24395 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle CLRSB, CLZ.
24396 (case UNSPEC): Handle UNSPEC_RBIT.
24398 2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
24400 * config/aarch64/aarch64.md: Delete UNSPEC_CLS.
24401 (clrsb<mode>2): Use clrsb RTL code instead of UNSPEC_CLS.
24403 2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
24405 * config/aarch64/arm_neon.h (vbsl_f64): New intrinsic.
24407 2014-07-22 Roman Gareev <gareevroman@gmail.com>
24409 * graphite-isl-ast-to-gimple.c:
24410 Add inclusion of gimple-ssa.h, tree-into-ssa.h.
24411 (ivs_params_clear):
24412 (build_iv_mapping): New function.
24413 (translate_isl_ast_node_user): Likewise.
24414 (translate_isl_ast): Add calling of translate_isl_ast_node_user.
24416 * gcc.dg/graphite/isl-ast-gen-single-loop-1.c: New testcase.
24417 * gcc.dg/graphite/isl-ast-gen-single-loop-2.c: New testcase.
24418 * gcc.dg/graphite/isl-ast-gen-single-loop-3.c: New testcase.
24420 2014-07-21 Bin Cheng <bin.cheng@arm.com>
24423 * config/arm/arm.md (setmem): New pattern.
24424 * config/arm/arm-protos.h (struct tune_params): New fields.
24425 (arm_gen_setmem): New prototype.
24426 * config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
24427 (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
24428 (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
24429 (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
24430 (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
24431 (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
24432 (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
24433 (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
24434 (arm_const_inline_cost): New function.
24435 (arm_block_set_max_insns): New function.
24436 (arm_block_set_non_vect_profit_p): New function.
24437 (arm_block_set_vect_profit_p): New function.
24438 (arm_block_set_unaligned_vect): New function.
24439 (arm_block_set_aligned_vect): New function.
24440 (arm_block_set_unaligned_non_vect): New function.
24441 (arm_block_set_aligned_non_vect): New function.
24442 (arm_block_set_vect, arm_gen_setmem): New functions.
24444 2014-07-21 Bin Cheng <bin.cheng@arm.com>
24446 * config/arm/arm.c (output_move_neon): Handle REG explicitly.
24448 2014-07-21 Uros Bizjak <ubizjak@gmail.com>
24451 * config/i386/avx512fintrin.h: Move constants for mantissa extraction
24452 out of #ifdef __OPTIMIZE__.
24454 2014-07-20 Eric Botcazou <ebotcazou@adacore.com>
24456 * cse.c (exp_equiv_p) <MEM>: For GCSE, return 0 for expressions with
24457 different trapping status if -fnon-call-exceptions is enabled.
24459 2014-07-20 Eric Botcazou <ebotcazou@adacore.com>
24461 * expr.c (store_field): Handle VOIDmode for calls that return values
24462 in multiple locations.
24464 2014-07-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
24466 * config/rs6000/altivec.md (unspec enum): Fix typo in UNSPEC_VSLDOI.
24467 (altivec_vsldoi_<mode>): Likewise.
24469 2014-07-20 Roman Gareev <gareevroman@gmail.com>
24471 * graphite-isl-ast-to-gimple.c: Fixes a formatting issue related
24472 to the number of characters in the line.
24474 2014-07-20 Roman Gareev <gareevroman@gmail.com>
24476 * graphite-isl-ast-to-gimple.c: Add using of
24477 build_nonstandard_integer_type instead of int128_integer_type_node.
24479 2014-07-19 Eric Botcazou <ebotcazou@adacore.com>
24481 * toplev.c (output_stack_usage): Adjust the location of the warning.
24483 2014-07-19 Daniel Cederman <cederman@gaisler.com>
24485 * config/sparc/sync.md (*membar_storeload_leon3): New insn.
24486 (*membar_storeload): Disable for LEON3.
24488 2014-07-18 Bernd Edlinger <bernd.edlinger@hotmail.de>
24490 PR rtl-optimization/61461
24491 * sched-vis.c (print_pattern) <ADDR_VEC, ADDR_DIFF_VEC>: Fixed.
24493 2014-07-18 Uros Bizjak <ubizjak@gmail.com>
24496 * config/i386/sse.md (avx512f_vextract<shuffletype>32x4_1_maskm):
24497 Fix instruction constraint.
24498 (<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>): Ditto.
24500 2014-07-18 Jonathan Wakely <jwakely@redhat.com>
24502 * doc/extend.texi (Template Instantiation): Remove stray parenthesis.
24504 2014-07-18 Chung-Ju Wu <jasonwucj@gmail.com>
24506 * config/nds32/nds32.c (nds32_can_eliminate): Follow the
24507 GNU coding standards.
24508 (nds32_register_move_cost): Likewise.
24509 (nds32_memory_move_cost): Likewise.
24510 (nds32_address_cost): Likewise.
24512 2014-07-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
24514 * config/mmix/mmix.c (mmix_intval): Drop unused automatic variable.
24516 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
24518 * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Remove defines for
24519 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
24520 and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
24521 (HAVE_sync_compare_and_swapqi): Define.
24522 (HAVE_sync_compare_and_swaphi): Likewise.
24523 (HAVE_sync_compare_and_swapsi): Likewise.
24525 2014-07-17 Richard Sandiford <rdsandiford@googlemail.com>
24527 * config/mips/p5600.md: Add missing cpu tests.
24529 2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
24531 * config/aarch64/arm_neon.h (vfma_f64): New intrinsic.
24532 (vmla_f64): Likewise.
24533 (vfms_f64): Likewise.
24534 (vmls_f64): Likewise.
24536 2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
24538 * config/aarch64/aarch64.c (aarch64_frint_unspec_p): New function.
24539 (aarch64_rtx_costs): Handle FIX, UNSIGNED_FIX, UNSPEC.
24541 2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
24543 * config/aarch64/arm_neon.h (vmlal_high_lane_s16): Fix type.
24544 (vmlal_high_lane_s32): Likewise.
24545 (vmlal_high_lane_u16): Likewise.
24546 (vmlal_high_lane_u32): Likewise.
24547 (vmlsl_high_lane_s16): Likewise.
24548 (vmlsl_high_lane_s32): Likewise.
24549 (vmlsl_high_lane_u16): Likewise.
24550 (vmlsl_high_lane_u32): Likewise.
24552 2014-07-17 Terry Guo <terry.guo@arm.com>
24554 * config/arm/types.md (alu_reg): Replaced by alu_sreg and alu_dsp_reg.
24555 (alus_reg): Renamed to alus_sreg.
24556 * config/arm/arm-fixed.md: Change type of non-dsp instructions
24557 from alu_reg to alu_sreg. Change type of dsp instructions from
24558 alu_reg to alu_dsp_reg.
24559 * config/arm/thumb1.md: Likewise.
24560 * config/arm/thumb2.md: Likewise.
24561 * config/arm/arm.c (cortexa7_older_only): Use new ALU type names.
24562 * config/arm/arm1020e.md (1020alu_op): Replace alu_reg and alus_reg
24563 with alu_sreg and alus_sreg.
24564 * config/arm/arm1026ejs.md (alu_op): Likewise.
24565 * config/arm/arm1136jfs.md (11_alu_op): Likewise.
24566 * config/arm/arm926ejs.md (9_alu_op): Likewise.
24567 * config/arm/fa526.md (526_alu_op): Likewise.
24568 * config/arm/fa606te.md (606te_alu_op): Likewise.
24569 * config/arm/fa626te.md (626te_alu_op): Likewise.
24570 * config/arm/fa726te.md (726te_alu_op): Likewise.
24571 * config/arm/fmp626.md (mp626_alu_op): Likewise.
24572 * config/arm/arm.md (core_cycles): Replace alu_reg and alus_reg with
24573 alu_sreg, alu_dsp_reg and alus_sreg.
24574 * config/arm/cortex-a15.md (cortex_a15_alu): Likewise.
24575 * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
24576 * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
24577 * config/arm/cortex-a7.md (cortex_a7_alu_sreg): Likewise.
24578 * config/arm/cortex-a8.md (cortex_a8_alu): Likewise.
24579 * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
24580 * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
24581 * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
24582 * config/arm/marvell-pj4.md (pj4_alu, pj4_alu_conds): Likewise.
24583 * config/aarch64/aarch64.md (*addsi3_aarch64, *addsi3_aarch64_uxtw,
24584 subsi3, *adddi3_aarch64, *subsi3_uxtw, subdi3, absdi2, neg<mode>2,
24585 *negsi2_uxtw, tlsle_small_<mode>): Rename type alu_reg to alu_sreg.
24586 (add<mode>3_compare0, *addsi3_compare0_uxtw, *add<mode>3nr_compare0,
24587 sub<mode>3_compare0, *compare_neg<mode>, *neg<mode>2_compare0,
24588 subsi3_compare0_uxtw, *negsi2_compare0_uxtw, *cmp<mode>): Rename type
24589 alus_reg to alus_sreg.
24591 2014-07-17 Andreas Schwab <schwab@linux-m68k.org>
24593 * real.c (encode_ieee_extended_motorola): Clear integer bit in the
24596 2014-07-17 Richard Biener <rguenther@suse.de>
24598 PR rtl-optimization/61801
24599 * sched-deps.c (sched_analyze_2): For ASM_OPERANDS and ASM_INPUT
24600 don't set reg_pending_barrier if it appears in a debug-insn.
24602 2014-07-16 DJ Delorie <dj@redhat.com>
24604 * config/rx/rx.c (rx_option_override): Fix alignment values.
24605 (rx_align_for_label): Likewise.
24607 2014-07-17 Hans-Peter Nilsson <hp@axis.com>
24610 * config/cris/cris.c (TARGET_LEGITIMATE_CONSTANT_P)
24611 (TARGET_CANNOT_FORCE_CONST_MEM): Define.
24612 (cris_cannot_force_const_mem, cris_legitimate_constant_p): New
24614 (cris_print_index, cris_print_operand, cris_constant_index_p)
24615 (cris_side_effect_mode_ok): Replace CONSTANT_P with CRIS_CONSTANT_P.
24616 (cris_address_cost): Ditto last CONSTANT_P.
24617 (cris_symbol_type_of): Rename from cris_pic_symbol_type_of. All
24618 callers changed. Yield cris_offsettable_symbol for non-PIC
24619 constant symbolic expressions including labels. Yield cris_unspec
24621 (cris_expand_pic_call_address): New parameter MARKERP. Set its
24622 target to pic_offset_table_rtx for calls that will likely go
24623 through PLT, const0_rtx when they can't. All callers changed.
24624 Assert flag_pic. Use CONSTANT_P, not CONSTANT_ADDRESS_P, for
24625 symbolic expressions to be PICified. Remove second, redundant,
24626 assert on can_create_pseudo_p returning non-zero. Use
24627 replace_equiv_address_nv, not replace_equiv_address, for final
24629 * config/cris/cris.md ("movsi"): Move variable t to pattern
24630 toplevel. Adjust assert for new cris_symbol_type member. Use
24631 CONSTANT_P instead of CONSTANT_ADDRESS_P.
24632 ("*movsi_internal") <case 9>: Make check for valid unspec operands
24634 <case CRIS_UNSPEC_PCREL, CRIS_UNSPEC_PLT_PCREL>: Clear condition codes.
24635 ("call", "call_value"): Use second incoming operand as a marker
24636 for pic-offset-table-register being used.
24637 ("*expanded_call_non_v32", "*expanded_call_v32")
24638 ("*expanded_call_value_non_v32", "*expanded_call_value_v32"): For
24639 second incoming operand to CALL, match cris_call_type_marker.
24640 ("*expanded_call_value_side"): Ditto. Disable before reload_completed.
24641 ("*expanded_call_side"): Ditto. Fix typo in comment.
24642 (moverside, movemside peepholes): Check for CRIS_CONSTANT_P, not
24644 * config/cris/predicates.md ("cris_call_type_marker"): New predicate.
24645 * config/cris/cris.h (CRIS_CONSTANT_P): New macro.
24646 (enum cris_symbol_type): Rename from cris_pic_symbol_type. All
24647 users changed. Add members cris_offsettable_symbol and cris_unspec.
24648 (cris_symbol_type): Rename from cris_pic_symbol_type.
24649 * config/cris/constraints.md ("T"): Use CRIS_CONSTANT_P, not
24651 * config/cris/cris-protos.h (cris_symbol_type_of,
24652 cris_expand_pic_call_address): Adjust prototypes.
24653 (cris_legitimate_constant_p): New prototype.
24655 * config.gcc (crisv32-*-linux* | cris-*-linux*): Do not override
24656 an existing tmake_file. Don't add t-slibgcc and t-linux.
24658 2014-07-17 Jason Merrill <jason@redhat.com>
24661 * symtab.c (symtab_remove_from_same_comdat_group): Also
24662 set_comdat_group to NULL_TREE.
24663 (verify_symtab): Fix diagnostic.
24665 2014-07-16 David Wohlferd <dw@LimeGreenSocks.com>
24668 * config/i386/ia32intrin.h: Use __LP64__ to determine size of long.
24670 2014-07-16 Dodji Seketeli <dodji@redhat.com>
24672 Support location tracking for built-in macro tokens
24673 * input.h (is_location_from_builtin_token): New function declaration.
24674 * input.c (is_location_from_builtin_token): New function definition.
24675 * toplev.c (general_init): Tell libcpp what the pre-defined
24676 spelling location for built-in tokens is.
24678 2014-07-16 Jakub Jelinek <jakub@redhat.com>
24680 * omp-low.c (create_omp_child_function): Don't set DECL_NAMELESS
24681 on the FUNCTION_DECL.
24683 2014-07-16 Richard Biener <rguenther@suse.de>
24686 * doc/extend.texi (always_inline): Clarify.
24688 2014-07-15 Eric Christopher <echristo@gmail.com>
24690 * doc/invoke.texi (Link Options): Document -z option.
24692 2014-07-15 Uros Bizjak <ubizjak@gmail.com>
24694 * config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): New.
24695 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
24697 2014-07-15 Jan Hubicka <hubicka@ucw.cz>
24699 * fold-const.c (fold_checksum_tree): Fix typo in previous patch.
24701 2014-07-15 Bernd Schmidt <bernds@codesourcery.com>
24703 * asan.c (asan_finish_file): Use varpool_finalize_decl instead of
24704 varpool_assemble_decl.
24705 * varpool.c (varpool_assemble_decl): Assert that node->definition is
24708 2014-07-15 Michael Matz <matz@suse.de>
24710 PR rtl-optimization/61772
24711 * ifcvt.c (dead_or_predicable): Check jump to be free of side effects.
24713 2014-07-15 Richard Biener <rguenther@suse.de>
24715 * opts.c (default_options_table): Disable bit-ccp at -Og.
24717 2014-07-14 Jan Hubicka <hubicka@ucw.cz>
24719 * fold-const.c (fold_checksum_tree): Move checking of DECL_RESULT.
24721 2014-07-14 Jan Hubicka <hubicka@ucw.cz>
24723 * tree.c (tree_code_size): Add TRANSLATION_UNIT_DECL,
24724 NAMESPACE_DECL, IMPORTED_DECL and NAMELIST_DECL;
24725 call langhook for unknown declaration.
24726 (find_decls_types_r): Do not walk DECL_ARGUMENT_FLD.
24727 * tree.h (DECL_ARGUMENTS): Update.
24728 * print-tree.c (print_node): Update.
24729 * tree-core.h (tree_decl_non_common): Remove arguments.
24730 (tree_function_decl): Add arguments.
24732 2014-07-14 Richard Earnshaw <rearnsha@arm.com>
24734 * aarch64.md (add_losym_<mode>): Set type to alu_imm.
24736 2014-07-14 Richard Biener <rguenther@suse.de>
24738 PR tree-optimization/61779
24739 * tree-ssa-copy.c (copy_prop_visit_cond_stmt): Always try
24740 simplifying a condition.
24742 2014-07-14 Richard Biener <rguenther@suse.de>
24744 * builtins.c (c_strlen): Make only_value == 2 really only
24745 affect warning generation.
24747 2014-07-14 Richard Biener <rguenther@suse.de>
24749 PR tree-optimization/61757
24750 PR tree-optimization/61783
24751 PR tree-optimization/61787
24752 * tree-ssa-dom.c (record_equality): Revert canonicalization
24753 change and add comment.
24754 (propagate_rhs_into_lhs): Revert previous fix, removing
24755 loop depth restriction again.
24757 2014-07-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
24759 * config/arm/cortex-a15.md (cortex_a15_alu): Handle clz, rbit.
24760 * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
24761 * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
24762 * config/arm/cortex-a7.md (cortex_a7_alu_reg): Likewise.
24763 * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
24764 * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
24765 * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
24767 2014-07-14 Richard Biener <rguenther@suse.de>
24769 * cgraph.h (decl_in_symtab_p): Make inline.
24771 2014-07-14 Jakub Jelinek <jakub@redhat.com>
24773 PR middle-end/61294
24774 * doc/invoke.texi (-Wmemset-transposed-args): Document.
24777 * config/i386/i386.c (classify_argument): Don't merge classes above
24780 2014-07-13 Jan Hubicka <hubicka@ucw.cz>
24782 * cgraph.h (symtab_node): Add nonzero_address.
24783 (decl_in_symtab_p): Break out from ...
24784 (symtab_get_node): ... here.
24785 * fold-const.c: Include cgraph.h
24786 (tree_single_nonzero_warnv_p): Use symtab to determine
24787 if symbol is non-zero.
24788 * symtab.c (symtab_node::nonzero_address): New method.
24790 2014-07-12 Jan Hubicka <hubicka@ucw.cz>
24792 * ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack
24793 forgotten in previous commit.
24795 2014-07-12 Jan Hubicka <hubicka@ucw.cz>
24797 * tree.c (type_in_anonymous_namespace_p): Ignore TREE_PUBLIC
24799 * ipa-devirt.c: Include stor-layout.h and intl.h
24800 (odr_subtypes_equivalent_p): New function.
24801 (warn_odr): New function.
24802 (warn_type_mismatch): New function.
24803 (odr_types_equivalent_p): New function.
24804 (add_type_duplicate): Use it.
24805 * common.opt (Wodr): New flag.
24806 * doc/invoke.texi (Wodr): Document new warning.
24808 2014-07-12 Jan Hubicka <hubicka@ucw.cz>
24810 * timevar.def (TV_IPA_LTO_DECL_INIT_IO): Remove.
24811 (TV_IPA_LTO_CTORS_IN, TV_IPA_LTO_CTORS_OUT): New timevar.
24812 * cgraph.c (cgraph_get_body): Push GIMPLE_IN timevar.
24813 (varpool_get_constructor): Push CTORS_IN timevar.
24814 * lto-streamer-out.c (lto_output): Push TV_IPA_LTO_CTORS_OUT timevar.
24816 2014-07-12 Uros Bizjak <ubizjak@gmail.com>
24818 * config/i386/i386-builtin-types.def: Add USHORT_FTYPE_VOID.
24819 Remove VOID_FTYPE_PUSHORT.
24820 * config/i386/i386.c (bdesc_special_args) <__builtin_ia32_fnstsw>:
24821 Change code to USHORT_FTYPE_VOID.
24822 (ix86_expand_special_args_builtin): Handle USHORT_FTYPE_VOID.
24823 (ix86_expand_builtin): Remove IX86_BUILTIN_FNSTSW handling.
24824 (ix86_atomic_assign_expand_fenv): Update for
24825 __builtin_ia32_fnstsw changes.
24826 * config/i386/i386.md (x86_fnstsw_1): Set length unconditionally to 2.
24827 (fnstsw): Change operand 0 to nonimmediate operand.
24829 2014-07-11 Jan Hubicka <hubicka@ucw.cz>
24831 * vapool.c: Include tree-ssa-alias.h, gimple.h and lto-streamer.h
24832 (varpool_get_constructor): New function.
24833 (varpool_ctor_useable_for_folding_p): Break out from ...
24834 (ctor_for_folding): ... here; use varpool_get_constructor.
24835 (varpool_assemble_decl): Likewise.
24836 * lto-streamer.h (struct output_block): Turn cgraph_node
24838 (lto_input_variable_constructor): Declare.
24839 * ipa-visibility.c (function_and_variable_visibility): Use
24840 varpool_get_constructor.
24841 * cgraph.h (varpool_get_constructor): Declare.
24842 (varpool_ctor_useable_for_folding_p): New function.
24843 * lto-streamer-out.c (get_symbol_initial_value): Take encoder
24844 parameter; return error_mark_node for non-trivial constructors.
24845 (lto_write_tree_1, DFS_write_tree): Update use of
24846 get_symbol_initial_value.
24847 (output_function): Update initialization of symbol.
24848 (output_constructor): New function.
24849 (copy_function): Rename to ..
24850 (copy_function_or_variable): ... this one; handle vars too.
24851 (lto_output): Output variable sections.
24852 * lto-streamer-in.c (input_constructor): New function.
24853 (lto_read_body): Rename from ...
24854 (lto_read_body_or_constructor): ... this one; handle vars too.
24855 (lto_input_variable_constructor): New function.
24856 * ipa-prop.c (ipa_prop_write_jump_functions,
24857 ipa_prop_write_all_agg_replacement): Update.
24858 * lto-cgraph.c (compute_ltrans_boundary): Use it.
24859 (output_cgraph_opt_summary): Set symbol to NULL.
24861 2014-07-11 Jan Hubicka <hubicka@ucw.cz>
24863 * ipa-prop.c (ipa_binfo_from_known_type_jfunc): In LTO do not walk
24864 non-polymorphic types.
24865 * ipa-cp.c (ipa_get_jf_ancestor_result): Likewise.
24866 * ipa-devirt.c (types_same_for_odr): Do not explode when one
24867 of types is not polymorphic.
24869 2014-07-11 Vladimir Makarov <vmakarov@redhat.com>
24871 * lra-constraints.c (remove_inheritance_pseudos): Process
24872 destination pseudo too.
24874 2014-07-11 Rong Xu <xur@google.com>
24876 * gcov-tool.c (gcov_output_files): Fix build error introduced in
24879 2014-07-11 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
24881 * config/avr/avr-arch.h (avr_mcu_t): Add text section start attribute.
24882 * config/avr/avr-devices.c (AVR_MCU): Same.
24883 (avr_mcu_types): add text start value to end of device list.
24884 * config/avr/avr-mcus.def: Add text section start for all devices.
24885 (ata5782): Add new avr5 device.
24887 * config/avr/avr-tables.opt: Regenerate.
24888 * config/avr/avr.h: Add declaration for text section start handler.
24889 (EXTRA_SPEC_FUNCTIONS): Add text section start handler to
24891 (LINK_SPEC): Include text section start handler to linker spec.
24892 * config/avr/driver-avr.c (avr_device_to_text_start): New function to
24893 pass -Ttext option to linker if the text section start for the device
24895 * config/avr/t-multilib: Regenerate.
24896 * doc/avr-mmcu.texi: Regenerate.
24898 2014-07-11 David Edelsohn <dje.gcc@gmail.com>
24900 * config/rs6000/aix51.h (LINK_SPEC): Remove -bnodelcsect.
24901 * config/rs6000/aix52.h (LINK_SPEC): Same.
24902 * config/rs6000/aix53.h (LINK_SPEC): Same.
24903 * config/rs6000/aix61.h (LINK_SPEC): Same.
24904 * config/rs6000/xcoff.h (MAKE_DECL_ONE_ONLY): Define.
24906 2014-07-11 Roman Gareev <gareevroman@gmail.com>
24908 * graphite-isl-ast-to-gimple.c (gmp_cst_to_tree): New function.
24909 (graphite_verify): New function.
24910 (ivs_params_clear): New function.
24911 (gcc_expression_from_isl_ast_expr_id): New function.
24912 (gcc_expression_from_isl_expr_int): New function.
24913 (binary_op_to_tree): New function.
24914 (ternary_op_to_tree): New function.
24915 (unary_op_to_tree): New function.
24916 (nary_op_to_tree): New function.
24917 (gcc_expression_from_isl_expr_op): New function.
24918 (gcc_expression_from_isl_expression): New function.
24919 (graphite_create_new_loop): New function.
24920 (translate_isl_ast_for_loop): New function.
24921 (get_upper_bound): New function.
24922 (graphite_create_new_loop_guard): New function.
24923 (translate_isl_ast_node_for): New function.
24924 (translate_isl_ast): New function.
24925 (add_parameters_to_ivs_params): New function.
24926 (scop_to_isl_ast): New parameter ip.
24927 (graphite_regenerate_ast_isl): Add generation of GIMPLE code.
24929 2014-07-11 Jan Hubicka <hubicka@ucw.cz>
24931 * config/xtensa/predicates.md (call expander): Update for
24932 DECL_SECTION_NAME being string.
24934 2014-07-11 Richard Biener <rguenther@suse.de>
24936 PR middle-end/61473
24937 * builtins.c (fold_builtin_memory_op): Inline memory moves that
24938 can be implemented with a single load followed by a single store.
24939 (c_strlen): Only warn when only_value is not 2.
24941 2014-07-11 Evgeny Stupachenko <evstupac@gmail.com>
24943 * config/i386/i386.c (expand_vec_perm_pblendv): Disable for AVX.
24945 2014-07-11 Marat Zakirov <m.zakirov@samsung.com>
24948 * config/arm/arm.md (*movhi_insn_arch4): Handle stack pointer.
24949 (*movhi_bytes): Likewise.
24950 (*arm_movqi_insn): Likewise.
24952 2014-07-11 Uros Bizjak <ubizjak@gmail.com>
24955 * config/alpha/alpha.c: Include tree-pass.h, context.h
24956 and pass_manager.h.
24957 (pass_data_handle_trap_shadows): New pass.
24958 (pass_handle_trap_shadows::gate): New pass gate function.
24959 (make_pass_handle_trap_shadows): New function.
24960 (rest_of_handle_trap_shadows): Ditto.
24962 (alpha_align_insns_1): Rename from alpha_align_insns.
24963 (pass_data_align_insns): New pass.
24964 (pass_align_insns::gate): New pass gate function.
24965 (make_pass_aling_insns): New function.
24966 (rest_of_align_insns): Ditto.
24967 (alpha_align_insns): Ditto.
24969 (alpha_option_override): Declare handle_trap_shadows info
24970 and align_insns_info. Register handle_trap_shadows and align_insns
24972 (alpha_reorg): Do not call alpha_trap_shadows and
24973 alpha_align_insn from here.
24975 (alpha_pad_function_end): Do not skip BARRIERs.
24977 2014-07-10 Rong Xu <xur@google.com>
24979 Add gcov-tool: an offline gcda profile processing tool support.
24980 * gcov-io.c (gcov_position): Make avaialble to gcov-tool.
24981 (gcov_is_error): Ditto.
24982 (gcov_read_string): Ditto.
24983 (gcov_read_sync): Ditto.
24984 * gcov-io.h: Move counter defines to gcov-counter.def.
24985 * gcov-dump.c (tag_counters): Use gcov-counter.def.
24986 * coverage.c: Ditto.
24987 * gcov-tool.c: Offline gcda profile processing tool.
24988 (unlink_gcda_file): Remove one gcda file.
24989 (unlink_profile_dir): Remove gcda files from the profile path.
24990 (gcov_output_files): Output gcda files to an output dir.
24991 (profile_merge): Merge two profiles in directory.
24992 (print_merge_usage_message): Print merge usage.
24993 (merge_usage): Print merge usage and exit.
24994 (do_merge): Driver for profile merge sub-command.
24995 (profile_rewrite): Rewrite profile.
24996 (print_rewrite_usage_message): Print rewrite usage.
24997 (rewrite_usage): Print rewrite usage and exit.
24998 (do_rewrite): Driver for profile rewrite sub-command.
24999 (print_usage): Print gcov-info usage and exit.
25000 (print_version): Print gcov-info version.
25001 (process_args): Process arguments.
25002 (main): Main routine for gcov-tool.
25003 * Makefile.in: Build and install gcov-tool.
25004 * gcov-counter.def: New file split from gcov-io.h.
25005 * doc/gcc.texi: Include gcov-tool.texi.
25006 * doc/gcov-tool.texi: Document for gcov-tool.
25008 2014-07-10 Richard Biener <rguenther@suse.de>
25010 PR tree-optimization/61757
25011 * tree-ssa-dom.c (loop_depth_of_name): Restore.
25012 (propagate_rhs_into_lhs): Revert part of last change.
25014 2014-07-10 Thomas Schwinge <thomas@codesourcery.com>
25016 * fold-const.c (fold_checksum_tree): Look at DECL_VINDEX only for
25019 2014-07-10 Eric Botcazou <ebotcazou@adacore.com>
25021 PR middle-end/53590
25022 * function.c (allocate_struct_function): Revert r188667 change.
25024 * gimple-low.c (lower_builtin_setjmp): Use properly-typed constant.
25026 2014-07-10 Tom G. Christensen <tgc@jupiterrise.com>
25028 * doc/install.texi: Remove links to defunct package providers for
25031 2014-07-09 Tom de Vries <tom@codesourcery.com>
25033 * final.c (get_call_fndecl): Declare.
25034 (self_recursive_call_p): New function.
25035 (collect_fn_hard_reg_usage): Handle self-recursive function calls.
25037 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
25039 * ipa-devirt.c (record_node): Walk through aliases.
25041 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
25043 * lto-streamer-out.c (hash_scc): Avoid quadratic hashing loop.
25045 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
25048 * stor-layout.c (finish_builtin_struct): Copy fields into the variants.
25050 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
25052 * ipa-visibility.c (function_and_variable_visibility): Remove
25053 temporary hack disabling local aliases on AIX.
25055 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
25057 * ipa-cp.c (devirtualization_time_bonus): Walk through aliases.
25058 * ipa-inline-analysis.c (estimate_edge_devirt_benefit): Likewise.
25060 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
25062 * rs6000/rs6000-protos.h (rs6000_xcoff_declare_object_name): Declare.
25063 * rs6000/rs6000.c: Inline output of .set instruction.
25064 (declare_alias_data): New struct.
25065 (rs6000_declare_alias): New function.
25066 (rs6000_xcoff_declare_function_name): Use it.
25067 (rs6000_xcoff_declare_object_name): New function.
25068 * config/rs6000/xcoff.h: Define ASM_DECLARE_OBJECT_NAME.
25069 (ASM_OUTPUT_DEF): Turn to empty definition.
25071 2014-07-08 Trevor Saunders <tsaunders@mozilla.com>
25074 * hash-table.h: use hash_table::value_type instead of
25075 Descriptor::value_type in the return types of several methods.
25077 2014-07-08 Trevor Saunders <tsaunders@mozilla.com>
25079 * tree-pass.h (pass_data): Remove has_execute member.
25080 * passes.c (execute_one_pass): Don't check pass->has_execute.
25081 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
25082 cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
25083 compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
25084 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
25085 config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
25086 config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
25087 config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
25088 dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
25089 gimple-low.c, gimple-ssa-isolate-paths.c,
25090 gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
25091 ipa-comdats.c, ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c,
25092 ipa-inline.c, ipa-profile.c, ipa-pure-const.c, ipa-reference.c,
25093 ipa-split.c, ipa-visibility.c, ipa.c, ira.c, jump.c, loop-init.c,
25094 lower-subreg.c, mode-switching.c, modulo-sched.c, omp-low.c, passes.c,
25095 postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
25096 reg-stack.c, regcprop.c, reginfo.c, regrename.c, reorg.c, sched-rgn.c,
25097 stack-ptr-mod.c, store-motion.c, tracer.c, trans-mem.c,
25098 tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, tree-complex.c,
25099 tree-eh.c, tree-emutls.c, tree-if-conv.c, tree-into-ssa.c,
25100 tree-loop-distribution.c, tree-nrv.c, tree-object-size.c,
25101 tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c,
25102 tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
25103 tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
25104 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
25105 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
25106 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
25107 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
25108 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
25109 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
25110 tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
25111 tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
25112 tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c,
25113 web.c: Remove initializer for pass_data::has_execute.
25115 2014-07-08 Trevor Saunders <tsaunders@mozilla.com>
25117 * graphite-htab.h: Use hash_map instead of hash_table.
25118 * graphite-clast-to-gimple.c: Adjust.
25119 * passes.c: Use hash_map instead of hash_table.
25120 * sese.c: Likewise.
25121 * sese.h: Remove now unused code.
25123 2014-07-08 Sriraman Tallam <tmsriram@google.com>
25126 * config/i386/i386.c (ix86_in_large_data_p): Check for size less
25129 2014-07-08 Jakub Jelinek <jakub@redhat.com>
25131 PR rtl-optimization/61673
25132 * combine.c (simplify_comparison): Test just mode's sign bit
25133 in tmode rather than the sign bit and any bits above it.
25135 2014-07-08 Roman Gareev <gareevroman@gmail.com>
25137 * graphite-isl-ast-to-gimple.c (generate_isl_context):
25138 Add __isl_give to the declaration.
25139 (generate_isl_schedule): Likewise.
25140 (scop_to_isl_ast): Likewise.
25142 2014-07-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25144 * config/arm/arm.c (cortexa5_extra_costs): New table.
25145 (arm_cortex_a5_tune): Use cortexa5_extra_costs.
25147 2014-07-08 Jakub Jelinek <jakub@redhat.com>
25149 PR tree-optimization/61725
25150 * tree-vrp.c (extract_range_basic): Don't assume vr0 is unsigned
25151 range, use range_includes_zerop_p instead of integer_zerop on
25152 vr0->min, only use log2 of max if min is not negative.
25154 2014-07-08 Richard Biener <rguenther@suse.de>
25156 * tree-ssa-dom.h (loop_depth_of_name): Remove.
25157 * tree-ssa-dom.c (record_equivalences_from_phis): Remove
25158 restriction on loop depth difference.
25159 (record_equality): Likewise.
25160 (propagate_rhs_into_lhs): Likewise. Simplify condition.
25161 (loop_depth_of_name): Remove.
25162 * tree-ssa-copy.c (copy_prop_visit_phi_node): Remove
25163 restriction on loop depth difference.
25164 (init_copy_prop): Likewise.
25166 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
25168 * tree-ssa-alias.c (walk_aliased_vdefs_1): Add FUNCTION_ENTRY_REACHED
25170 (walk_aliased_vdefs): Likewise.
25171 * tree-ssa-alias.h (walk_aliased_vdefs): Likewise.
25172 * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers
25173 (detect_type_change_from_memory_writes): Check if entry was reached.
25175 2014-07-08 Richard Biener <rguenther@suse.de>
25177 PR tree-optimization/61681
25178 * tree-ssa-structalias.c (find_what_var_points_to): Expand
25179 NONLOCAL inside ESCAPED.
25181 2014-07-08 Richard Biener <rguenther@suse.de>
25183 PR tree-optimization/61680
25184 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence):
25185 Handle properly all read-write dependences with group accesses.
25187 2014-07-08 Yuri Rumyantsev <ysrumyan@gmail.com>
25189 PR tree-optimization/61576
25190 * tree-if-conv.c (is_cond_scalar_reduction): Add check that basic
25191 block containing reduction statement is predecessor of phi basi block.
25193 2014-07-08 Marek Polacek <polacek@redhat.com>
25196 * fold-const.c (round_up_loc): Change the parameter type.
25198 * fold-const.h (round_up_loc): Adjust declaration.
25199 * stor-layout.c (finalize_record_size): Check for too large types.
25201 2014-07-07 Jan Hubicka <hubicka@ucw.cz>
25203 * symtab.c: Include calls.h.
25204 (symtab_nonoverwritable_alias_1): Check sanity of the local alias.
25206 2014-07-07 Maciej W. Rozycki <macro@codesourcery.com>
25208 * config/rs6000/rs6000.c (output_vec_const_move): Handle
25209 little-endian code generation.
25210 * config/rs6000/spe.md (spe_evmergehi): Rename to...
25211 (vec_perm00_v2si): ... this. Handle little-endian code generation.
25212 (spe_evmergehilo): Rename to...
25213 (vec_perm01_v2si): ... this. Handle little-endian code generation.
25214 (spe_evmergelo): Rename to...
25215 (vec_perm11_v2si): ... this. Handle little-endian code generation.
25216 (spe_evmergelohi): Rename to...
25217 (vec_perm10_v2si): ... this. Handle little-endian code generation.
25218 (spe_evmergehi, spe_evmergehilo): New expanders.
25219 (spe_evmergelo, spe_evmergelohi): Likewise.
25220 (*frob_<SPE64:mode>_<DITI:mode>): Handle little-endian code generation.
25221 (*frob_tf_ti): Likewise.
25222 (*frob_<mode>_di_2): Likewise.
25223 (*frob_tf_di_8_2): Likewise.
25224 (*frob_di_<mode>): Likewise.
25225 (*frob_ti_tf): Likewise.
25226 (*frob_<DITI:mode>_<SPE64:mode>_2): Likewise.
25227 (*frob_ti_<mode>_8_2): Likewise.
25228 (*frob_ti_tf_2): Likewise.
25229 (mov_si<mode>_e500_subreg0): Rename to...
25230 (mov_si<mode>_e500_subreg0_be): ... this. Restrict to the big
25232 (*mov_si<mode>_e500_subreg0_le): New instruction pattern.
25233 (*mov_si<mode>_e500_subreg0_elf_low): Rename to...
25234 (*mov_si<mode>_e500_subreg0_elf_low_be): ... this. Restrict to
25235 the big endianness only.
25236 (*mov_si<mode>_e500_subreg0_elf_low_le): New instruction pattern.
25237 (*mov_si<mode>_e500_subreg0_2): Rename to...
25238 (*mov_si<mode>_e500_subreg0_2_be): ... this. Restrict to the
25239 big big endianness only.
25240 (*mov_si<mode>_e500_subreg0_2_le): New instruction pattern.
25241 (*mov_si<mode>_e500_subreg4): Rename to...
25242 (*mov_si<mode>_e500_subreg4_be): ... this. Restrict to the big
25244 (mov_si<mode>_e500_subreg4_le): New instruction pattern.
25245 (*mov_si<mode>_e500_subreg4_elf_low): Rename to...
25246 (*mov_si<mode>_e500_subreg4_elf_low_be): ... this. Restrict to
25247 the big endianness only.
25248 (*mov_si<mode>_e500_subreg4_elf_low_le): New instruction/splitter
25250 (*mov_si<mode>_e500_subreg4_2): Rename to...
25251 (*mov_si<mode>_e500_subreg4_2_be): ... this. Restrict to the big
25253 (*mov_si<mode>_e500_subreg4_2_le): New instruction pattern.
25254 (*mov_sitf_e500_subreg8): Rename to...
25255 (*mov_sitf_e500_subreg8_be): ... this. Restrict to the big
25257 (*mov_sitf_e500_subreg8_le): New instruction pattern.
25258 (*mov_sitf_e500_subreg8_2): Rename to...
25259 (*mov_sitf_e500_subreg8_2_be): ... this. Restrict to the big
25261 (*mov_sitf_e500_subreg8_2_le): New instruction pattern.
25262 (*mov_sitf_e500_subreg12): Rename to...
25263 (*mov_sitf_e500_subreg12_be): ... this. Restrict to the big
25265 (*mov_sitf_e500_subreg12_le): New instruction pattern.
25266 (*mov_sitf_e500_subreg12_2): Rename to...
25267 (*mov_sitf_e500_subreg12_2_be): ... this. Restrict to the big
25269 (*mov_sitf_e500_subreg12_2_le): New instruction pattern.
25271 2014-07-07 Max Ostapenko <m.ostapenko@partner.samsung.com>
25273 * asan.c (instrument_strlen_call): Do not instrument first byte
25274 in strlen if already instrumented.
25276 2014-07-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25278 * config/arm/arm.opt (mwords-little-endian): Delete.
25279 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Remove handling
25280 of TARGET_LITTLE_WORDS.
25281 (WORDS_BIG_ENDIAN): Define to BYTES_BIG_ENDIAN.
25282 * config/arm/arm.c (arm_option_override): Remove TARGET_LITTLE_WORDS
25284 * doc/invoke.texi: Remove references to -mwords-little-endian.
25286 2014-07-07 Jakub Jelinek <jakub@redhat.com>
25288 * expmed.c (struct init_expmed_rtl): Change all fields but
25289 pow2 and cint from struct rtx_def to rtx.
25290 (init_expmed_one_conv, init_expmed_one_mode): Adjust for that change.
25291 (init_expmed): Likewise. Allocate all the 18 rtxes and ggc_free them
25294 2014-07-06 Marek Polacek <polacek@redhat.com>
25297 * doc/invoke.texi: Document -Wsizeof-array-argument.
25299 2014-07-05 Gerald Pfeifer <gerald@pfeifer.com>
25301 * wide-int.h (wide_int_storage): Change declaration from struct
25304 2014-07-05 Jan Hubicka <hubicka@ucw.cz>
25306 * cgraph.c (cgraph_create_indirect_edge): Update call of
25307 get_polymorphic_call_info.
25308 * ipa-utils.h (get_polymorphic_call_info): Add parameter CALL.
25309 (possible_polymorphic_call_targets): Add parameter call.
25310 (decl_maybe_in_construction_p): New predicate.
25311 (get_polymorphic_call_info): Add parameter call;
25312 use decl_maybe_in_construction_p.
25313 * gimple-fold.c (fold_gimple_assign): Update use of
25314 possible_polymorphic_call_targets.
25315 (gimple_fold_call): Likewise.
25316 * ipa-prop.c: Inlcude calls.h
25317 (ipa_binfo_from_known_type_jfunc): Check that known type is record.
25318 (param_type_may_change_p): New predicate.
25319 (detect_type_change_from_memory_writes): Break out from ...
25320 (detect_type_change): ... this one; use param_type_may_change_p.
25321 (detect_type_change_ssa): Use param_type_may_change_p.
25322 (compute_known_type_jump_func): Use decl_maybe_in_construction_p.
25324 2014-07-05 Charles Baylis <charles.baylis@linaro.org>
25327 * config/arm/arm-protos.h (arm_legitimate_address_p,
25328 arm_is_constant_pool_ref): Add prototypes.
25329 * config/arm/arm.c (arm_legitimate_address_p): Remove static.
25330 (arm_is_constant_pool_ref) New function.
25331 * config/arm/arm.md (unaligned_loadhis, arm_zero_extendhisi2_v6,
25332 arm_zero_extendqisi2_v6): Use Uh constraint for memory operand.
25333 (arm_extendhisi2, arm_extendhisi2_v6): Use Uh constraint for memory
25334 operand. Remove pool_range and neg_pool_range attributes.
25335 (arm_extendqihi_insn, arm_extendqisi, arm_extendqisi_v6): Remove
25336 pool_range and neg_pool_range attributes.
25337 * config/arm/constraints.md (Uh): New constraint.
25338 (Uq): Don't allow constant pool references.
25340 2014-07-04 James Greenhalgh <james.greenhalgh@arm.com>
25342 * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): New.
25343 (move_lo_quad_internal_be_<mode>): Likewise.
25344 (move_lo_quad_<mode>): Convert to define_expand.
25345 (aarch64_simd_move_hi_quad_<mode>): Gate on BYTES_BIG_ENDIAN.
25346 (aarch64_simd_move_hi_quad_be_<mode>): New.
25347 (move_hi_quad_<mode>): Use appropriate insn for BYTES_BIG_ENDIAN.
25348 (aarch64_combinez<mode>): Gate on BYTES_BIG_ENDIAN.
25349 (aarch64_combinez_be<mode>): New.
25350 (aarch64_combine<mode>): Convert to define_expand.
25351 (aarch64_combine_internal<mode>): New.
25352 (aarch64_simd_combine<mode>): Remove bogus RTL description.
25354 2014-07-04 Tom de Vries <tom@codesourcery.com>
25356 * doc/md.texi (@subsection Constraint Modifier Characters): Clarify
25357 combination of earlyclobber and read/write modifiers.
25359 2014-07-04 Tom de Vries <tom@codesourcery.com>
25361 * config/aarch64/aarch64-simd.md
25362 (define_insn "vec_unpack_trunc_<mode>"): Fix constraint.
25364 2014-07-04 Richard Earnshaw <rearnsha@arm.com>
25367 * config/aarch64/aarch64.h (OPTION_DEFAULT_SPECS): Define.
25369 2014-07-04 Jakub Jelinek <jakub@redhat.com>
25371 PR middle-end/61654
25372 * cgraphunit.c (expand_thunk): Call free_dominance_info.
25374 PR tree-optimization/61684
25375 * tree-ssa-ifcombine.c (recognize_single_bit_test): Make sure
25376 rhs1 of conversion is a SSA_NAME before using SSA_NAME_DEF_STMT on it.
25378 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
25379 Kito Cheng <kito@0xlab.org>
25380 Monk Chiang <sh.chiang04@gmail.com>
25382 * config/nds32/nds32.c (nds32_have_prologue_p): Move to ...
25383 (nds32_symbol_load_store_p): Move to ...
25384 (nds32_fp_as_gp_check_available): Move to ...
25385 * config/nds32/nds32-fp-as-gp.c: ... here.
25386 * config/nds32/nds32-protos.h (nds32_symbol_load_store_p): Remove
25387 extern declaration.
25389 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
25390 Kito Cheng <kito@0xlab.org>
25391 Monk Chiang <sh.chiang04@gmail.com>
25393 * config/nds32/nds32.c (nds32_expand_load_multiple): Move to ...
25394 (nds32_expand_store_multiple): Move to ...
25395 (nds32_expand_movmemqi): Move to ...
25396 * config/nds32/nds32-memory-manipulation.c: ... here.
25398 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
25399 Kito Cheng <kito@0xlab.org>
25400 Monk Chiang <sh.chiang04@gmail.com>
25402 * config/nds32/nds32.c (nds32_byte_to_size): Move to ...
25403 (nds32_output_casesi_pc_relative): Move to ...
25404 (nds32_output_casesi): Move to ...
25405 (nds32_mem_format): Move to ...
25406 (nds32_output_16bit_store): Move to ...
25407 (nds32_output_16bit_load): Move to ...
25408 (nds32_output_32bit_store): Move to ...
25409 (nds32_output_32bit_load): Move to ...
25410 (nds32_output_32bit_load_s): Move to ...
25411 (nds32_output_stack_push): Move to ...
25412 (nds32_output_stack_pop): Move to ...
25413 * config/nds32/nds32-md-auxiliary.c: ... here.
25415 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
25416 Ling-Hua Tseng <uranus@tinlans.org>
25418 * config/nds32/nds32-pipelines-auxiliary.c: Add comment to describe
25419 the purpose of this file.
25421 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
25422 Kito Cheng <kito@0xlab.org>
25423 Monk Chiang <sh.chiang04@gmail.com>
25425 * config/nds32/nds32.c (nds32_rtx_costs): Move implementation to ...
25426 (nds32_address_cost): Move implementation to ...
25427 * config/nds32/nds32-cost.c: ... here.
25428 * config/nds32/nds32-protos.h (nds32_rtx_costs_impl): Declare.
25429 (nds32_address_cost_impl): Declare.
25431 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
25432 Kito Cheng <kito@0xlab.org>
25433 Monk Chiang <sh.chiang04@gmail.com>
25435 * config/nds32/nds32.c
25436 (nds32_consecutive_registers_load_store_p): Move to ...
25437 (nds32_valid_multiple_load_store): Move to ...
25438 (nds32_valid_stack_push_pop): Move to ...
25439 (nds32_can_use_bclr_p): Move to ...
25440 (nds32_can_use_bset_p): Move to ...
25441 (nds32_can_use_btgl_p): Move to ...
25442 (nds32_can_use_bitci_p): Move to ...
25443 * config/nds32/nds32-predicates.c: ... here.
25445 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
25446 Kito Cheng <kito@0xlab.org>
25447 Monk Chiang <sh.chiang04@gmail.com>
25449 * config/nds32/nds32.c
25450 (nds32_expand_builtin_null_ftype_reg): Move to ...
25451 (nds32_expand_builtin_reg_ftype_imm): Move to ...
25452 (nds32_expand_builtin_null_ftype_reg_imm): Move to ...
25453 (nds32_init_builtins): Move implementation to ...
25454 (nds32_expand_builtin): Move implementation to ...
25455 * config/nds32/nds32-intrinsic.c: ... here.
25456 * config/nds32/nds32-protos.h (nds32_init_builtins_impl): Declare.
25457 (nds32_expand_builtin_impl): Declare.
25459 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
25460 Kito Cheng <kito@0xlab.org>
25461 Monk Chiang <sh.chiang04@gmail.com>
25463 * config/nds32/nds32.c (nds32_emit_section_head_template): Move to ...
25464 (nds32_emit_section_tail_template): Move to ...
25465 (nds32_emit_isr_jmptbl_section): Move to ...
25466 (nds32_emit_isr_vector_section): Move to ...
25467 (nds32_emit_isr_reset_conten): Move to ...
25468 (nds32_check_isr_attrs_conflict): Move to ...
25469 (nds32_construct_isr_vectors_information): Move to ...
25470 (nds32_asm_file_start): Move implementation to ...
25471 (nds32_asm_file_end): Move implementation to ...
25472 * config/nds32/nds32-isr.c: ... here.
25473 * config/nds32/nds32-protos.h
25474 (nds32_check_isr_attrs_conflict): Declare.
25475 (nds32_construct_isr_vectors_information): Declare.
25476 (nds32_asm_file_start_for_isr): Declare.
25477 (nds32_asm_file_end_for_isr): Declare.
25479 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
25480 Kito Cheng <kito@0xlab.org>
25481 Monk Chiang <sh.chiang04@gmail.com>
25483 * config.gcc (nds32*): Add new modules to extra_objs.
25484 (nds32le-*-*): Use t-nds32 makefile fragment for new modules.
25485 (nds32be-*-*): Likewise.
25486 * config/nds32/nds32-cost.c: New file.
25487 * config/nds32/nds32-fp-as-gp.c: New file.
25488 * config/nds32/nds32-intrinsic.c: New file.
25489 * config/nds32/nds32-isr.c: New file.
25490 * config/nds32/nds32-md-auxiliary.c: New file.
25491 * config/nds32/nds32-memory-manipulation.c: New file.
25492 * config/nds32/nds32-pipelines-auxiliary.c: New file.
25493 * config/nds32/nds32-predicates.c: New file.
25494 * config/nds32/t-nds32: New file.
25496 2014-07-03 Jakub Jelinek <jakub@redhat.com>
25498 PR tree-optimization/61682
25499 * wide-int.cc (wi::mul_internal): Handle high correctly for umul_ppmm
25500 using cases and when one of the operands is equal to 1.
25502 2014-07-03 Segher Boessenkool <segher@kernel.crashing.org>
25504 * config/rs6000/rs6000.md (rotl<mode>3, ashl<mode>3, lshr<mode>3,
25505 ashr<mode>3): Correct mode of operands[2].
25506 (rotl<mode>3_dot, rotl<mode>3_dot2, ashl<mode>3_dot, ashl<mode>3_dot2,
25507 lshr<mode>3_dot, lshr<mode>3_dot2, ashr<mode>3_dot, ashr<mode>3_dot2):
25508 Correct mode of operands[2]. Fix split condition.
25510 2014-07-03 Richard Earnshaw <rearnsha@arm.com>
25512 * arm.md (arch): Add armv6_or_vfpv3.
25513 (arch_enabled): Add test for the above.
25514 * vfp.md (divsf_vfp, divdf_vfp): Add earlyclobber when code can run
25516 (sqrtsf_vfp, sqrtdf_vfp): Likewise.
25518 2014-07-03 Jakub Jelinek <jakub@redhat.com>
25520 * gcov-io.c (gcov_read_words): Don't call memmove if excess is 0.
25521 * data-streamer-in.c (streamer_read_hwi): Shift UHWI 1 instead of
25522 HWI 1 and negate the unsigned value.
25523 * expmed.c (expand_sdiv_pow2): For modes wider than word always
25524 use AND instead of shift.
25525 * wide-int-print.cc (print_decs): Negate UHWI instead of HWI.
25527 2014-07-03 Marek Polacek <polacek@redhat.com>
25529 * doc/invoke.texi (-fsanitize=bounds): Tweak wording.
25530 (-fsanitize=float-divide-by-zero): Move to the table with
25531 -fsanitize=undefined suboptions.
25532 (-fsanitize=float-cast-overflow): Likewise.
25534 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
25536 * config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Use
25537 BYTES_BIG_ENDIAN rather than WORDS_BIG_ENDIAN to check for byte
25540 2014-07-03 Zhenqiang Chen <zhenqiang.chen@linaro.org>
25542 * loop-invariant.c (struct invariant): Add a new member: eqno;
25543 (find_identical_invariants): Update eqno;
25544 (create_new_invariant): Init eqno;
25545 (get_inv_cost): Compute comp_cost with eqno;
25547 2014-07-02 Segher Boessenkool <segher@kernel.crashing.org>
25549 * genconfig.c (have_rotate_flag, have_rotatert_flag): New variables.
25550 (walk_insn_part) <ROTATE, ROTATERT>: New cases.
25551 (main): Conditionally write HAVE_rotate resp. HAVE_rotatert.
25552 * simplify-rtx.c (simplify_binary_operation_1) <ROTATE, ROTATERT>:
25553 Only do the transformation if both HAVE_rotate and HAVE_rotatert.
25555 2014-07-02 Christian Bruel <christian.bruel@st.com>
25559 * mode-switching.c (struct bb_info): Add mode_out, mode_in caches.
25560 (make_preds_opaque): Delete.
25561 (clear_mode_bit, mode_bit_p, set_mode_bit): New macros.
25562 (commit_mode_sets): New function.
25563 (optimize_mode_switching): Handle current_mode to mode_switching_emit.
25564 Process all modes at once.
25565 * basic-block.h (pre_edge_lcm_avs): Declare.
25566 * lcm.c (pre_edge_lcm_avs): Renamed from pre_edge_lcm.
25567 Call clear_aux_for_edges. Fix comments.
25568 (pre_edge_lcm): New wrapper function to call pre_edge_lcm_avs.
25569 (pre_edge_rev_lcm): Idem.
25570 * config/epiphany/epiphany.c (emit_set_fp_mode): Add prev_mode
25572 * config/epiphany/epiphany-protos.h (emit_set_fp_mode): Idem.
25573 * config/epiphany/resolve-sw-modes.c (pass_resolve_sw_modes::execute):
25575 * config/i386/i386.c (x96_emit_mode_set): Idem.
25576 * config/sh/sh.c (sh_emit_mode_set): Likewise. Handle PR toggle.
25577 * config/sh/sh.md (toggle_pr): Defined if TARGET_FPU_SINGLE.
25578 (fpscr_toggle) Disallow from delay slot.
25579 * target.def (emit_mode_set): Add prev_mode parameter.
25580 * doc/tm.texi: Regenerate.
25582 2014-07-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25584 * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Delete unused
25587 2014-07-01 Jan Hubicka <hubicka@ucw.cz>
25589 * ipa-utils.h (method_class_type, vtable_pointer_value_to_binfo,
25590 vtable_pointer_value_to_vtable): Constify.
25591 (contains_polymorphic_type_p): Declare.
25592 * ipa-devirt.c (method_class_type, vtable_pointer_value_to_binfo,
25593 vtable_pointer_value_to_vtable): Constify.
25594 (contains_polymorphic_type_p): New predicate.
25595 * ipa-prop.c (ipa_set_jf_known_type): Allow types containing
25597 (ipa_set_ancestor_jf): Likewise.
25598 (detect_type_change): Return false in easy cases.
25599 (compute_complex_assign_jump_func): Require type to contain
25601 (compute_known_type_jump_func): Likewise.
25603 2014-07-01 Jan Hubicka <hubicka@ucw.cz>
25605 * tree.c (decls_same_for_odr, decls_same_for_odr, types_same_for_odr):
25607 (type_in_anonymous_namespace_p): Constify argument.
25608 * tree.h (types_same_for_odr, type_in_anonymous_namespace_p): Constify.
25609 * ipa-devirt.c (odr_type_d): Add ODR_VIOLATED field.
25610 (main_odr_variant): New function.
25611 (hash_type_name): Make static; update assert; do not ICE on
25613 (types_same_for_odr): Bring here from tree.c; simplify and remove
25614 old structural comparing code that doesn't work for templates.
25615 (odr_hasher::equal): Update assert.
25616 (add_type_duplicate): Return true when bases should be computed;
25617 replace incomplete loader by complete; do not output duplicated
25618 warnings; do not ICE on non-records; set odr_violated flag.
25619 (get_odr_type): Be ready to replace incomplete type by complete
25620 one; work on ODR variants instead of main variants; reorder item
25621 in array so bases have still smaller indexes.
25622 (dump_type_inheritance_graph): Be ready for holdes in odr_types array.
25623 (possible_polymorphic_call_targets): Do not ICE when BINFO is NULL.
25625 2014-07-01 Cary Coutant <ccoutant@google.com>
25627 * dwarf2out.c (remove_addr_table_entry): Remove unnecessary hash table
25629 (resolve_addr_in_expr): When replacing the rtx in a location list
25630 entry, get a new address table entry.
25631 (dwarf2out_finish): Call index_location_lists even if there are no
25632 addr_index_table entries yet.
25634 2014-07-01 Trevor Saunders <tsaunders@mozilla.com>
25636 * config/i386/winnt.c (i386_pe_section_type_flags): Revert previous
25637 change for not being obvious.
25639 2014-07-01 Trevor Saunders <tsaunders@mozilla.com>
25641 * config/i386/winnt.c (i386_pe_section_type_flags): Remove name of
25644 2014-07-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25646 * config/aarch64/arm_neon.h (vcage_f64): New intrinsic.
25647 (vcagt_f64): Likewise.
25648 (vcale_f64): Likewise.
25649 (vcaled_f64): Likewise.
25650 (vcales_f32): Likewise.
25651 (vcalt_f64): Likewise.
25652 (vcaltd_f64): Likewise.
25653 (vcalts_f32): Likewise.
25655 2014-07-01 Marek Polacek <polacek@redhat.com>
25657 * doc/invoke.texi: Document -Wint-conversion.
25659 2014-07-01 Marek Polacek <polacek@redhat.com>
25662 * doc/invoke.texi: Document -Wincompatible-pointer-types.
25664 2014-07-01 Martin Liska <mliska@suse.cz>
25666 IPA REF alias refactoring
25667 * cgraph.h (iterate_direct_aliases): New function.
25668 (FOR_EACH_ALIAS): New macro iterates all direct aliases for a node.
25669 * cgraph.c (cgraph_for_node_thunks_and_aliases): Usage of
25670 FOR_EACH_ALIAS added.
25671 (cgraph_for_node_and_aliases): Likewise.
25672 * cgraphunit.c (assemble_thunks_and_aliases): Likewise.
25673 * ipa-inline.c (reset_edge_caches): Likewise.
25674 (update_caller_keys): Likewise.
25675 * trans-mem.c (ipa_tm_execute): Likewise.
25676 *varpool.c (varpool_analyze_node): Likewise.
25677 (varpool_for_node_and_aliases): Likewise.
25678 * ipa-ref.h (first_alias): New function.
25679 (last_alias): Likewise.
25680 (has_aliases_p): Likewise.
25681 * ipa-ref.c (ipa_ref::remove_reference): Removal function
25682 is sensitive to IPA_REF_ALIASes.
25683 * symtab.c (symtab_node::add_reference): Node of IPA_REF_ALIAS type
25684 are put at the beginning of the list.
25685 (symtab_node::iterate_direct_aliases): New function.
25687 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
25690 * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if
25692 (write_ts_type_common_tree_pointers): Do not stream fields not set
25693 for incomplete types; do not stream duplicated fields for variants;
25694 sanity check that variant and type match.
25695 (write_ts_type_non_common_tree_pointers): Likewise.
25696 * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in
25697 TYPE_SIZE whether type is complete.
25698 (lto_input_ts_type_common_tree_pointers): Do same changes as in
25699 write_ts_type_common_tree_pointers
25700 (lto_input_ts_type_non_common_tree_pointers): Likewise.
25702 2014-06-30 Joseph Myers <joseph@codesourcery.com>
25704 * var-tracking.c (add_stores): Return instead of asserting if old
25705 and new values for conditional store are the same.
25707 2014-06-30 Richard Henderson <rth@redhat.com>
25711 * bb-reorder.c (pass_duplicate_computed_gotos::execute): Cleanup
25712 the cfg if there were any changes.
25713 * passes.def: Revert move of peephole2 after reorder_blocks;
25714 move duplicate_computed_gotos before peephole2.
25716 2014-06-30 Uros Bizjak <ubizjak@gmail.com>
25718 * except.c (emit_note_eh_region_end): New helper function.
25719 (convert_to_eh_region_ranges): Use emit_note_eh_region_end to
25720 emit EH_REGION_END note.
25721 * jump.c (cleanup_barriers): Do not split a call and its
25722 corresponding CALL_ARG_LOCATION note.
25724 2014-06-30 Jeff Law <law@redhat.com>
25726 PR tree-optimization/61607
25727 * tree-ssa-threadedge.c (simplify_control_stmt_condition): Look
25728 deeper into the SSA_NAME_VALUE chain.
25730 2014-06-30 Marek Polacek <polacek@redhat.com>
25732 * convert.c (convert_to_integer): Don't instrument conversions if the
25733 function has no_sanitize_undefined attribute.
25734 * ubsan.c: Don't run the ubsan pass if the function has
25735 no_sanitize_undefined attribute.
25737 2014-06-30 Jakub Jelinek <jakub@redhat.com>
25739 * doc/invoke.texi (-fsanitize=bounds): Move to the table with
25740 -fsanitize=undefined suboptions.
25742 2014-06-30 Alan Lawrence <alan.lawrence@arm.com>
25744 * config/aarch64/aarch64-simd.md (vec_perm): Enable for bigendian.
25745 * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Remove assert
25746 against bigendian and adjust indices.
25748 2014-06-30 Gerald Pfeifer <gerald@pfeifer.com>
25750 * doc/install.texi (Specific, aarch64*-*-*): Fix markup. Reword a bit.
25752 2014-06-30 Marcus Shawcroft <marcus.shawcroft@arm.com>
25755 * config/aarch64/aarch64.md (*aarch64_ashr_sisd_or_int_<mode>3):
25756 Add alternative; make early clobber. Adjust both split patterns
25757 to use operand 0 as the working register.
25759 2014-06-30 Jakub Jelinek <jakub@redhat.com>
25761 * ira-build.c (sort_conflict_id_map): Don't call qsort if num is 0,
25762 as ira_object_id_map might be NULL, or 1.
25764 2014-06-30 Zhenqiang Chen <zhenqiang.chen@linaro.org>
25766 * loop-invariant.c (get_inv_cost): Handle register class.
25767 (gain_for_invariant): Check the register pressure of the inv
25768 and its overlapped register class, other than all.
25770 2014-06-30 Gerald Pfeifer <gerald@pfeifer.com>
25772 * doc/invoke.texi (Optimize Options): Fix descriptions of
25773 ipa-cp-loop-hint-bonus and ipa-cp-array-index-hint-bonus.
25775 2014-06-29 David Wohlferd <dw@LimeGreenSocks.com>
25777 * doc/extend.texi (Function Attributes): Update 'naked' attribute
25780 2014-06-29 Tobias Grosser <tobias@grosser.es>
25783 * graphite-isl-ast-to-gimple.c: Add missing guards.
25785 2014-06-29 Roman Gareev <gareevroman@gmail.com>
25787 * Makefile.in: Add the compilation of graphite-isl-ast-to-gimple.o.
25788 * common.opt: Add new switch fgraphite-code-generator=[isl|cloog].
25789 * flag-types.h: Add new enum fgraphite_generator.
25790 * graphite-isl-ast-to-gimple.c: New.
25791 * graphite-isl-ast-to-gimple.h: New.
25792 * graphite.c (graphite_transform_loops): Add choice of Graphite
25793 code generator, which depends on flag_graphite_code_gen.
25795 2014-06-29 Roman Gareev <gareevroman@gmail.com>
25797 * graphite-dependences.c (subtract_commutative_associative_deps):
25798 Add NULL checking of the following variables: must_raw_no_source,
25799 may_raw_no_source, must_war_no_source, may_war_no_source,
25800 must_waw_no_source, may_waw_no_source, must_raw, may_raw,
25801 must_war, may_war, must_waw, may_waw.
25803 2014-06-29 Roman Gareev <gareevroman@gmail.com>
25805 * graphite-clast-to-gimple.c: gloog is renamed to
25806 graphite_regenerate_ast_cloog. gloog_error is renamed to
25807 graphite_regenerate_error.
25808 * graphite-clast-to-gimple.h: The definition of the struct
25809 bb_pbb_def is moved to graphite-htab.h.
25810 Add inclusion of the hash-table.h.
25811 * graphite-htab.h: The declaration of the function gloog is moved
25812 to graphite-clast-to-gimple.h and renamed to
25813 graphite_regenerate_ast_cloog.
25814 * graphite.c (graphite_transform_loops): gloog is renamed
25815 to graphite_regenerate_ast_cloog.
25817 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
25819 * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if
25821 (write_ts_type_common_tree_pointers): Do not stream fields not set
25822 for incomplete types; do not stream duplicated fields for variants;
25823 sanity check that variant and type match.
25824 (write_ts_type_non_common_tree_pointers): Likewise.
25825 * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in
25826 TYPE_SIZE whether type is complete.
25827 (lto_input_ts_type_common_tree_pointers): Do same changes as in
25828 write_ts_type_common_tree_pointers
25829 (lto_input_ts_type_non_common_tree_pointers): Likewise.
25831 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
25833 * cgraph.c (dump_cgraph_node): Dump init&fini priorities.
25835 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
25837 * tree-inline.c (remap_type_1): Do not duplicate fields
25838 that are shared in between type and its main variant.
25840 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
25842 * ipa-prop.c (ipa_set_jf_known_type): Record always the main variant
25844 (ipa_set_ancestor_jf) Likewise.
25845 (check_stmt_for_type_change): Check that we work on main variant.
25846 (detect_type_change): Look into main variant.
25847 (compute_known_type_jump_func): Check that main variant has BINFO.
25849 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
25851 * ipa-devirt.c (set_type_binfo): New function.
25852 (add_type_duplicate): Use it.
25853 (get_odr_type): Sanity check that binfos points to main variants.
25854 (get_class_context): Be sure the context's outer_type is main variant.
25855 (contains_type_p): Walk main variant.
25856 (get_polymorphic_call_info_for_decl): Set outer_type to be
25858 (get_polymorphic_call_info): Likewise.
25859 (possible_polymorphic_call_targets): Sanity check that we operate
25862 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
25864 * stor-layout.c (finish_builtin_struct): Copy fields into the variants.
25866 2014-06-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25868 * config/rs6000/rs6000.c (rs6000_aggregate_candidate): Revert
25869 accidental change due to wide-int branch merge.
25871 2014-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
25873 * configure.ac (gcc_cv_as_compress_debug): Check for assembler
25874 compressed debug support.
25875 (gcc_cv_ld_compress_debug): Check for linker compressed debug support.
25876 * configure: Regenerate.
25877 * config.in: Regenerate.
25878 * common.opt (compressed_debug_sections): New enum.
25879 (gz, gz=): New options.
25880 * gcc.c (LINK_COMPRESS_DEBUG_SPEC, ASM_COMPRESS_DEBUG_SPEC): Define.
25881 (LINK_COMMAND_SPEC): Invoke LINK_COMPRESS_DEBUG_SPEC.
25882 (asm_options): Invoke ASM_COMPRESS_DEBUG_SPEC.
25883 * config/darwin.h (LINK_COMMAND_SPEC_A): Invoke
25884 LINK_COMPRESS_DEBUG_SPEC.
25885 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise.
25886 * opts.c (common_handle_option): Handle OPT_gz, OPT_gz_.
25887 * doc/invoke.texi (Option Summary, Debugging Options): Add -gz[=type].
25888 (Debugging Options): Document -gz[=type].
25890 2014-06-27 Martin Jambor <mjambor@suse.cz>
25893 * cgraphclones.c (duplicate_thunk_for_node): Removed parameter
25894 args_to_skip, use those from node instead. Copy args_to_skip and
25895 combined_args_to_skip from node to the new thunk.
25896 (redirect_edge_duplicating_thunks): Removed parameter args_to_skip.
25897 (cgraph_create_virtual_clone): Moved computation of
25898 combined_args_to_skip...
25899 (cgraph_clone_node): ...here, simplify it to bitmap_ior..
25901 2014-06-27 trevor Saunders <tsaunders@mozilla.com>
25903 * config/i386/winnt.c (i386_pe_section_type_flags): Remove
25904 redundant diagnostic machinary.
25906 2014-06-27 Richard Biener <rguenther@suse.de>
25908 * tree-ssa-math-opts.c (bswap_replace): Fix
25909 SLOW_UNALIGNED_ACCESS test to only apply to unaligned object.
25911 2014-06-27 Martin Liska <mliska@suse.cz>
25913 * gimple.h (gimple_location_safe): New function introduced.
25914 * cgraphunit.c (walk_polymorphic_call_targets): Usage
25915 of gimple_location_safe replaces gimple_location.
25916 (gimple_fold_call): Likewise.
25917 * ipa-devirt.c (ipa_devirt): Likewise.
25918 * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
25919 * ipa.c (walk_polymorphic_call_targets): Likewise.
25920 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Likewise.
25922 2014-06-27 Jakub Jelinek <jakub@redhat.com>
25924 PR tree-optimization/57233
25925 PR tree-optimization/61299
25926 * tree-vect-generic.c (get_compute_type, count_type_subparts): New
25928 (expand_vector_operations_1): Use them. If {L,R}ROTATE_EXPR
25929 would be lowered to scalar shifts, check if corresponding
25930 shifts and vector BIT_IOR_EXPR are supported and don't lower
25931 or lower just to narrower vector type in that case.
25932 * expmed.c (expand_shift_1): Fix up handling of vector
25933 shifts and rotates.
25935 2014-06-26 Uros Bizjak <ubizjak@gmail.com>
25938 * config/alpha/alpha.c (alpha_handle_trap_shadows): Handle BARRIER RTX.
25940 2014-06-26 Jan Hubicka <hubicka@ucw.cz>
25942 * doc/invoke.texi (-fsemantic-interposition): Document.
25943 * common.opt (fsemantic-interposition): New flag.
25944 * varasm.c (decl_replaceable_p): Use it.
25946 2014-06-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
25949 * config/rs6000/vsx.md (vsx_extract_v4sf): Fix bug with element
25950 extraction other than index 3.
25952 2014-06-26 Teresa Johnson <tejohnson@google.com>
25954 * doc/invoke.texi: Fix typo.
25955 * dumpfile.c: Add support for documented -fdump-* options
25956 optimized/missed/note/optall.
25958 2014-06-26 Martin Jambor <mjambor@suse.cz>
25960 * params.def (PARAM_ALLOW_LOAD_DATA_RACES)
25961 (PARAM_ALLOW_PACKED_LOAD_DATA_RACES)
25962 (PARAM_ALLOW_PACKED_STORE_DATA_RACES): Removed.
25963 (PARAM_ALLOW_STORE_DATA_RACES): Set default to zero.
25964 * opts.c (default_options_optimization): Set
25965 PARAM_ALLOW_STORE_DATA_RACES to one at -Ofast.
25966 * doc/invoke.texi (allow-load-data-races)
25967 (allow-packed-load-data-races, allow-packed-store-data-races): Removed.
25968 (allow-store-data-races): Document the new default.
25970 2014-06-26 Martin Jambor <mjambor@suse.cz>
25972 * ipa-prop.c (ipa_impossible_devirt_target): No longer static,
25973 renamed to ipa_impossible_devirt_target. Fix typo.
25974 * ipa-prop.h (ipa_impossible_devirt_target): Declare.
25975 * ipa-cp.c (ipa_get_indirect_edge_target_1): Use
25976 ipa_impossible_devirt_target.
25978 2014-06-26 Richard Biener <rguenther@suse.de>
25980 PR tree-optimization/61607
25981 * tree-ssa-copy.c (copy_prop_visit_phi_node): Adjust comment
25982 explaining why we restrict copies on loop depth.
25983 * tree-ssa-dom.c (cprop_operand): Remove restriction on
25985 (record_equivalences_from_phis): Instead add it here.
25987 2014-06-26 Bernd Schmidt <bernds@codesourcery.com>
25989 * Makefile.in (COLLECT2_OBJS): Add collect-utils.o.
25990 (LTO_WRAPPER_OBJS): New variable.
25991 (lto-wrapper$(exeext)): Use it.
25992 * collect2.c: Include "collect-utils.h".
25993 (verbose, debug): Remove variables.
25994 (at_file_supplied): No longer static.
25995 (tool_name): New variable.
25996 (do_wait, fork_execute, maybe_unlink): Don't declare.
25997 (tool_cleanup): No longer static.
25998 (notice): Remove function.
25999 (maybe_run_lto_and_relink, main, do_dsymutil): Add new arg to
26000 fork_execute calls.
26001 (collect_wait, do_wait, collect_execute): Remove functions.
26002 (maybe_unlink): No longer static.
26003 * collect2.h (verbose, debug): Don't declare.
26004 (at_file_supplied): Declare.
26005 * collect-utils.c (utils_cleanup): New arg from_signal. All callers
26007 (collect_execute): Replace with implementation from collect2, plus a
26008 new arg use_atfile. All callers changed.
26009 (collect_wait): Replace with implementation from collect2.
26010 (maybe_unlink_file): Remove function.
26011 (fork_execute): Replace with implementation from collect2, plus a
26012 new arg use_atfile. All callers changed.
26013 (do_wait): Add call to utils_cleanup to the error path.
26014 * collect-utils.h (collect_execute, fork_execute, utils_cleanup)
26015 (tool_cleanup): Adjust declarations.
26016 * lto-wrapper.c (tool_cleanup): Add unused bool argument.
26017 * tlink.c: Include "collect-utils.h".
26018 (tlink_execute): New arg use_atfile. All callers changed.
26019 (tlink_init, tlink_execute): Remove declarations.
26021 * collect-utils.c (save_temps): New variable.
26022 (do_wait): Use it instead of debug. Use fatal_error.
26023 * collect-utils.h (save_temps): Declare.
26024 * collect2.c (verbose): Rename from vflag. All uses changed.
26025 (tool_cleanup): New function, copied from collect_atexit.
26026 (collect_atexit, handler): Just call it.
26027 * collect2.h (verbose): Declaration renamed from vflag.
26028 * lto-wrapper.c (maybe_unlink, run_gcc): Use save_temps instead of
26031 * Makefile.in (ALL_HOST_BACKEND_OBJS): Add collect-utils.o.
26032 (lto-wrapper$(exeext)): Link with collect-utils.o.
26033 * collect-utils.c: New file.
26034 * collect-utils.h: New file.
26035 * lto-wrapper.c: Include "collect-utils.h".
26036 (args_name): Delete variable.
26037 (tool_name): New variable.
26038 (tool_cleanup): New function.
26039 (maybe_unlink): Renamed from maybe_unlink_file. All callers changed.
26040 (lto_wrapper_cleanup, fatal_signal, collect_execute, collect_wait)
26041 (fork_execute): Remove functions.
26043 2014-06-26 Nick Clifton <nickc@redhat.com>
26045 * config/frv/frv.c (frv_in_small_data_p): Remove redundant assert.
26047 * doc/extend.texi (Function Attributes): Fix typo in description
26048 of RX vector attribute.
26050 2014-06-26 James Greenhalgh <james.greenhalgh@arm.com>
26052 * config.gcc (supported_defaults): Error when passing either
26053 --with-tune or --with-arch in conjunction with --with-cpu for ARM.
26055 2014-06-26 Richard Biener <rguenther@suse.de>
26057 * tree-ssa-dom.c (cprop_operand): Remove restriction on
26058 propagating volatile pointers.
26060 2014-06-26 Richard Biener <rguenther@suse.de>
26062 PR tree-optimization/61607
26063 * tree-ssa-threadupdate.c (ssa_redirect_edges): Cancel the
26064 loop if we redirected its latch edge.
26065 (thread_block_1): Do not cancel loops prematurely.
26067 2014-06-25 Jan Hubicka <hubicka@ucw.cz>
26069 * toplev.c (backend_init_target): Move init_emit_regs and
26071 (backend_init) ... here; skip ira_init_once and backend_init_target.
26072 (target_reinit) ... and here; clear
26073 this_target_rtl->lang_dependent_initialized.
26074 (lang_dependent_init_target): Clear
26075 this_target_rtl->lang_dependent_initialized;
26076 break out rtl initialization to ...
26077 (initialize_rtl): ... here; call also backend_init_target
26079 * toplev.h (initialize_rtl): New function.
26080 * function.c: Include toplev.h
26081 (init_function_start): Call initialize_rtl.
26082 * rtl.h (target_rtl): Add target_specific_initialized,
26083 lang_dependent_initialized.
26085 2014-06-25 Paul Gortmaker <paul.gortmaker@windriver.com>
26086 Jakub Jelinek <jakub@redhat.com>
26088 * gcc.c (set_multilib_dir): Malloc "." pointer as well.
26090 2014-06-25 Tom de Vries <tom@codesourcery.com>
26092 * config/arm/arm.c (arm_emit_call_insn): Remove clobber of CC_REGNUM.
26094 2014-06-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
26096 * tree-ssa-forwprop.c (associate_plusminus): For widening conversions
26097 check for undefined overflow in (T)(P + A) - (T)P -> (T)A.
26098 Issue a strict overflow warning if appropriate.
26100 2014-06-25 Martin Liska <mliska@suse.cz>
26102 IPA REF refactoring
26103 * Makefile.in: Removed header file (ipa-ref-inline.h).
26104 * cgraph.c (cgraph_turn_edge_to_speculative): New IPA REF function
26106 (cgraph_speculative_call_info): Likewise.
26107 (cgraph_for_node_thunks_and_aliases): Likewise.
26108 (cgraph_for_node_and_aliases): Likewise.
26109 (verify_cgraph_node): Likewise.
26110 * cgraph.h: Batch of IPA REF functions become member functions of
26111 symtab_node: add_reference, maybe_add_reference, clone_references,
26112 clone_referring, clone_reference, find_reference,
26113 remove_stmt_references, remove_all_references,
26114 remove_all_referring, dump_references, dump_referring,
26115 has_alias_p, iterate_reference, iterate_referring.
26116 * cgraphbuild.c (record_reference): New IPA REF function used.
26117 (record_type_list): Likewise.
26118 (record_eh_tables): Likewise.
26119 (mark_address): Likewise.
26120 (mark_load): Likewise.
26121 (mark_store): Likewise.
26122 (pass_build_cgraph_edges): Likewise.
26123 (rebuild_cgraph_edge): Likewise.
26124 (cgraph_rebuild_references): Likewise.
26125 (pass_remove_cgraph_callee_edges): Likewise.
26126 * cgraphclones.c (cgraph_clone_node): Likewise.
26127 (cgraph_create_virtual_clone): Likewise.
26128 (cgraph_materialize_clone): Likewise.
26129 (cgraph_materialize_all_clones): Likewise.
26130 * cgraphunit.c (cgraph_reset_node): Likewise.
26131 (cgraph_reset_node): Likewise.
26132 (analyze_function): Likewise.
26133 (assemble_thunks_and_aliases): Likewise.
26134 (expand_function): Likewise.
26135 * ipa-comdats.c (propagate_comdat_group): Likewise.
26136 (enqueue_references): Likewise.
26137 * ipa-cp.c (ipcp_discover_new_direct_edges): Likewise.
26138 (create_specialized_node): Likewise.
26139 * ipa-devirt.c (referenced_from_vtable_p): Likewise.
26140 * ipa-inline-transform.c (can_remove_node_now_p_1): Likewise.
26141 * ipa-inline.c (reset_edge_caches): Likewise.
26142 (update_caller_keys): Likewise.
26143 (execute): Likewise.
26144 * ipa-prop.c (remove_described_reference): Likewise.
26145 (propagate_controlled_uses): Likewise.
26146 (ipa_edge_duplication_hook): Likewise.
26147 (ipa_modify_call_arguments): Likewise.
26148 * ipa-pure-const.c (propagate_pure_const): Likewise.
26149 * ipa-ref-inline.h: Header file removed, functions moved
26150 to symtab_node class.
26151 * ipa-ref.c (remove_reference): New class member function.
26152 (cannot_lead_to_return): New class member function.
26153 (referring_ref_list): Likewise.
26154 (referred_ref_list): Likewise.
26155 Rest of functions moved to symtab_node class.
26156 * ipa-ref.h: New member functions remove_reference,
26157 cannot_lead_to_return, referring_ref_list, referred_ref_list added
26159 ipa_ref_list class has new member functions: first_reference,
26160 first_referring, clear, nreferences.
26161 * ipa-reference.c (analyze_function): New IPA REF function used.
26162 (write_node_summary_p): Likewise.
26163 (ipa_reference_write_optimization_summary): Likewise.
26164 * ipa-split.c (split_function): Likewise.
26165 * ipa-utils.c (ipa_reverse_postorder): Likewise.
26166 * ipa-visibility.c (cgraph_non_local_node_p_1): Likewise.
26167 (function_and_variable_visibility): Likewise.
26168 * ipa.c (has_addr_references_p): Likewise.
26169 (process_references): Argument type changed.
26170 (symtab_remove_unreachable_nodes): New IPA REF function used.
26171 (process_references): Likewise.
26172 (set_writeonly_bit): Likewise.
26173 * lto-cgraph.c: Implementation of new symtab_node member functions
26174 that uses new IPA REF functions.
26175 * lto-streamer-in.c (fixup_call_stmt_edges_1): New IPA REF
26177 * lto-streamer-out.c (output_symbol_p): Likewise.
26178 * lto-streamer.h (referenced_from_this_partition_p): Argument type
26180 * symtab.c: Implementation of new IPA REF API.
26181 * trans-mem.c (ipa_tm_create_version_alias): New IPA REF function used.
26182 (ipa_tm_create_version): Likewise.
26183 (ipa_tm_execute): Likewise.
26184 * tree-emutls.c (gen_emutls_addr): Likewise.
26185 * tree-inline.c (copy_bb): Likewise.
26186 (delete_unreachable_blocks_update_callgraph): Likewise.
26187 * varpool.c (varpool_remove_unreferenced_decls): Likewise.
26188 (varpool_for_node_and_aliases): Likewise.
26190 2014-06-25 Trevor Saunders <tsaunders@mozilla.com>
26192 * config/i386/winnt.c (i386_find_on_wrapper_list): Fix typo.
26194 2014-06-25 Trevor Saunders <tsaunders@mozilla.com>
26197 * fold-const.c (fold_checksum_tree): Use a hash_table of const
26198 tree_node * instead of tree_node *.
26200 (print_fold_checksum): Likewise.
26201 (fold_check_failed): Likewise.
26202 (debug_fold_checksum): Likewise.
26203 (fold_build1_stat_loc): Likewise.
26204 (fold_build2_stat_loc): Likewise.
26205 (fold_build3_stat_loc): Likewise.
26206 (fold_build_call_array_loc): Likewise.
26208 2014-06-25 David Edelsohn <dje.gcc@gmail.com>
26210 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Replace
26211 implementation with call to...
26212 * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): New
26214 * config/rs6000/rs6000-protos.h (rs6000_xcoff_declare_function_name):
26217 2014-06-25 Marc Glisse <marc.glisse@inria.fr>
26219 PR tree-optimization/57742
26220 * tree-ssa-strlen.c (handle_builtin_memset): Update strinfo
26221 after replacing the statement.
26223 2014-06-25 Nick Clifton <nickc@redhat.com>
26225 * config/v850/v850.c (GHS_default_section_names): Change to const
26227 (GHS_current_section_names): Likewise.
26228 (v850_insert_attributes): Do not build strings, just assign the
26229 names directly. Change the type of 'chosen_section' to const
26231 * config/v850/v850-c.c (ghs_pragma_section): Assign the alias
26232 directly to the array entry.
26233 * config/v850/v850.h (GHS_default_section_names): Change to const
26235 (GHS_current_section_names): Likewise.
26237 2014-06-25 Jakub Jelinek <jakub@redhat.com>
26239 * langhooks-def.h (LANG_HOOKS_OMP_CLAUSE_LINEAR_CTOR): Define.
26240 (LANG_HOOKS_DECLS): Add it.
26241 * gimplify.c (gimplify_omp_for): Make sure OMP_CLAUSE_LINEAR_STEP
26243 * tree.h (OMP_CLAUSE_LINEAR_ARRAY): Define.
26244 * langhooks.h (struct lang_hooks_for_decls): Add
26245 omp_clause_linear_ctor hook.
26246 * omp-low.c (lower_rec_input_clauses): Set max_vf even if
26247 OMP_CLAUSE_LINEAR_ARRAY is set. Don't fold_convert
26248 OMP_CLAUSE_LINEAR_STEP. For OMP_CLAUSE_LINEAR_ARRAY in
26249 combined simd loop use omp_clause_linear_ctor hook.
26251 2014-06-24 Cong Hou <congh@google.com>
26253 * tree-vect-patterns.c (vect_recog_sad_pattern): New function for SAD
26254 pattern recognition.
26255 (type_conversion_p): PROMOTION is true if it's a type promotion
26256 conversion, and false otherwise. Return true if the given expression
26257 is a type conversion one.
26258 * tree-vectorizer.h: Adjust the number of patterns.
26259 * tree.def: Add SAD_EXPR.
26260 * optabs.def: Add sad_optab.
26261 * cfgexpand.c (expand_debug_expr): Add SAD_EXPR case.
26262 * expr.c (expand_expr_real_2): Likewise.
26263 * gimple-pretty-print.c (dump_ternary_rhs): Likewise.
26264 * gimple.c (get_gimple_rhs_num_ops): Likewise.
26265 * optabs.c (optab_for_tree_code): Likewise.
26266 * tree-cfg.c (estimate_operator_cost): Likewise.
26267 * tree-ssa-operands.c (get_expr_operands): Likewise.
26268 * tree-vect-loop.c (get_initial_def_for_reduction): Likewise.
26269 * config/i386/sse.md: Add SSE2 and AVX2 expand for SAD.
26270 * doc/generic.texi: Add document for SAD_EXPR.
26271 * doc/md.texi: Add document for ssad and usad.
26273 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
26275 * config/i386/winnt.c (i386_pe_section_type_flags): Fix const
26276 qualification in cast.
26278 2014-06-24 Jan Hubicka <hubicka@ucw.cz>
26280 * tree.c (find_decls_types_r): Do not check DECL_VINDEX for TYPE_DECL.
26281 * tree.h (DECL_VINDEX, DECL_SAVED_TREE): Restrict to DECL_FUNCTION.
26282 * tree-core.h (tree_decl_non_common): Move saved_tree and vindex...
26283 (tree_function_decl): ... here.
26284 * tree-streamer-out.c (write_ts_decl_non_common_tree_pointers): Move
26285 streaming of vindex to ...
26286 (write_ts_function_decl_tree_pointers): ... here.
26287 * tree-streamer-in.c (lto_input_ts_decl_non_common_tree_pointers):
26288 Do not stream DECL_VINDEX.
26289 (lto_input_ts_function_decl_tree_pointers): Stream it here.
26291 2014-06-24 Catherine Moore <clm@codesourcery.com>
26292 Sandra Loosemore <sandra@codesourcery.com>
26294 * config/mips/mips.c (mips_order_regs_for_local_alloc): Delete.
26295 * config/mips/mips.h (ADJUST_REG_ALLOC_ORDER): Delete.
26296 * config/mips/mips-protos.h (mips_order_regs_for_local_alloc): Delete.
26298 2014-06-24 Marc Glisse <marc.glisse@inria.fr>
26300 * doc/invoke.texi (Warning Options): Remove duplicated
26301 -Wmaybe-uninitialized.
26303 2014-06-24 Marc Glisse <marc.glisse@inria.fr>
26305 PR tree-optimization/57742
26306 * tree-ssa-strlen.c (get_string_length): Ignore malloc.
26307 (handle_builtin_malloc, handle_builtin_memset): New functions.
26308 (strlen_optimize_stmt): Call them.
26309 * passes.def: Move strlen after loop+dom but before vrp.
26311 2014-06-24 Jakub Jelinek <jakub@redhat.com>
26314 * config/i386/driver-i386.c (host_detect_local_cpu): For unknown
26315 model family 6 CPU with has_longmode never use a CPU without
26318 2014-06-24 H.J. Lu <hongjiu.lu@intel.com>
26321 * config/i386/driver-i386.c (host_detect_local_cpu): Revert
26324 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
26326 * alloc-pool.c (alloc_pool_hash): Use hash_map instead of hash_table.
26327 * dominance.c (iterate_fix_dominators): Use hash_map instead of
26329 * hash-map.h: New file.
26330 * ipa-comdats.c: Use hash_map instead of pointer_map.
26332 * lto-section-out.c: Adjust.
26333 * lto-streamer.h: Replace pointer_map with hash_map.
26334 * symtab.c (verify_symtab): Likewise.
26335 * tree-ssa-strlen.c (decl_to_stridxlist_htab): Likewise.
26336 * tree-ssa-uncprop.c (val_ssa_equiv): Likewise.
26337 * tree-streamer.h: Likewise.
26338 * tree-streamer.c: Adjust.
26339 * pointer-set.h: Remove pointer_map.
26341 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
26343 * hash-table.h: Add a template arg to choose between storing values
26344 and storing pointers to values, and then provide partial
26345 specializations for both.
26346 * tree-browser.c (tree_upper_hasher): Provide the type the hash table
26347 should store, not the type values should point to.
26348 * tree-into-ssa.c (var_info_hasher): Likewise.
26349 * tree-ssa-dom.c (expr_elt_hasher): Likewise.
26350 * tree-complex.c: Adjust.
26351 * tree-hasher.h (int_tree_hasher): store int_tree_map in the hash
26352 table instead of int_tree_map *.
26353 * tree-parloops.c: Adjust.
26354 * tree-ssa-reassoc.c (ocount_hasher): Don't lie to hash_map about what
26355 type is being stored.
26356 * tree-vectorizer.c: Adjust.
26358 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
26360 * hash-table.h: Remove a layer of indirection from hash_table so that
26361 it contains the hash table's data instead of a pointer to the data.
26362 * alloc-pool.c, asan.c, attribs.c, bitmap.c, cfg.c,
26363 config/arm/arm.c, config/i386/winnt.c, config/ia64/ia64.c,
26364 config/mips/mips.c, config/sol2.c, coverage.c, cselib.c,
26365 data-streamer-out.c, dse.c, dwarf2cfi.c, dwarf2out.c, except.c,
26366 fold-const.c, gcse.c, ggc-common.c,
26367 gimple-ssa-strength-reduction.c, gimplify.c,
26368 graphite-clast-to-gimple.c, graphite-dependences.c,
26369 graphite-htab.h, graphite.c, haifa-sched.c, ipa-devirt.c,
26370 ipa-profile.c, ira-color.c, ira-costs.c, loop-invariant.c,
26371 loop-iv.c, loop-unroll.c, lto-streamer-in.c, lto-streamer-out.c,
26372 lto-streamer.c, lto-streamer.h, passes.c, plugin.c,
26373 postreload-gcse.c, sese.c, statistics.c, store-motion.c,
26374 trans-mem.c, tree-browser.c, tree-cfg.c, tree-complex.c,
26375 tree-eh.c, tree-into-ssa.c, tree-parloops.c, tree-sra.c,
26376 tree-ssa-ccp.c, tree-ssa-coalesce.c, tree-ssa-dom.c,
26377 tree-ssa-live.c, tree-ssa-loop-im.c,
26378 tree-ssa-loop-ivopts.c, tree-ssa-phiopt.c, tree-ssa-pre.c,
26379 tree-ssa-reassoc.c, tree-ssa-sccvn.c, tree-ssa-strlen.c,
26380 tree-ssa-structalias.c, tree-ssa-tail-merge.c,
26381 tree-ssa-threadupdate.c, tree-ssa-uncprop.c,
26382 tree-vect-data-refs.c, tree-vect-loop.c, tree-vectorizer.c,
26383 tree-vectorizer.h, valtrack.c, valtrack.h, var-tracking.c,
26384 vtable-verify.c, vtable-verify.h: Adjust.
26386 2014-06-24 Richard Biener <rguenther@suse.de>
26388 PR tree-optimization/61572
26389 * tree-ssa-sink.c (statement_sink_location): Do not sink
26390 loads from hard registers.
26392 2014-06-24 Jakub Jelinek <jakub@redhat.com>
26394 * gimplify.c (gimplify_omp_for): For #pragma omp for simd iterator
26395 not mentioned in clauses use private clause if the iterator is
26396 declared in #pragma omp for simd, and when adding lastprivate
26397 instead, add it to the outer #pragma omp for too. Diagnose
26398 if the variable is private in outer context. For simd collapse > 1
26399 loops, replace all iterators with temporaries.
26400 * omp-low.c (lower_rec_input_clauses): Handle LINEAR clause the
26401 same even in collapse > 1 loops.
26403 * gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP,
26404 OMP_CLAUSE_TO, OMP_CLAUSE_FROM): Make sure OMP_CLAUSE_SIZE is
26406 <case OMP_CLAUSE_ALIGNED>: Gimplify OMP_CLAUSE_ALIGNED_ALIGNMENT.
26407 (gimplify_adjust_omp_clauses_1): Make sure OMP_CLAUSE_SIZE is
26409 (gimplify_adjust_omp_clauses): Likewise.
26410 * omp-low.c (lower_rec_simd_input_clauses,
26411 lower_rec_input_clauses, expand_omp_simd): Handle non-constant
26412 safelen the same as safelen(1).
26413 * tree-nested.c (convert_nonlocal_omp_clauses,
26414 convert_local_omp_clauses): Handle OMP_CLAUSE_ALIGNED. For
26415 OMP_CLAUSE_{MAP,TO,FROM} if not decl use walk_tree.
26416 (convert_nonlocal_reference_stmt, convert_local_reference_stmt):
26417 Fixup handling of GIMPLE_OMP_TARGET.
26418 (convert_tramp_reference_stmt, convert_gimple_call): Handle
26421 2014-06-24 Chung-Lin Tang <cltang@codesourcery.com>
26423 PR tree-optimization/61554
26424 * tree-ssa-propagate.c: Include "bitmap.h".
26425 (substitute_and_fold_dom_walker): Add 'bitmap need_eh_cleanup' member,
26426 properly update constructor/destructor.
26427 (substitute_and_fold_dom_walker::before_dom_children):
26428 Remove call to gimple_purge_dead_eh_edges, add bb->index to
26429 need_eh_cleaup instead.
26430 (substitute_and_fold): Call gimple_purge_all_dead_eh_edges on
26433 2014-06-23 Jan Hubicka <hubicka@ucw.cz>
26435 * varpool.c (dump_varpool_node): Dump used_by_single_function.
26436 * tree-pass.h (make_pass_ipa_single_use): New pass.
26437 * cgraph.h (used_by_single_function): New flag.
26438 * lto-cgraph.c (lto_output_varpool_node, input_varpool_node):
26440 * passes.def (pass_ipa_single_use): Scedule.
26441 * ipa.c (BOTTOM): New macro.
26442 (meet): New function
26443 (propagate_single_user): New function.
26444 (ipa_single_use): New function.
26445 (pass_data_ipa_single_use): New pass.
26446 (pass_ipa_single_use): New pass.
26447 (pass_ipa_single_use::gate): New gate.
26448 (make_pass_ipa_single_use): New function.
26450 2014-06-23 Kai Tietz <ktietz@redhat.com>
26453 * passes.def (peephole2): Move peephole2 pass before sched2 pass.
26454 * config/i386/i386.md (peehole2): Combine memories and indirect jumps.
26456 2014-06-23 Richard Biener <rguenther@suse.de>
26458 * tree-ssa-loop.c (gate_loop): New function.
26459 (pass_tree_loop::gate): Call it.
26460 (pass_data_tree_no_loop, pass_tree_no_loop,
26461 make_pass_tree_no_loop): New.
26462 * tree-vectorizer.c: Include tree-scalar-evolution.c
26463 (pass_slp_vectorize::execute): Initialize loops and SCEV if
26465 (pass_slp_vectorize::clone): New method.
26466 * timevar.def (TV_TREE_NOLOOP): New.
26467 * tree-pass.h (make_pass_tree_no_loop): Declare.
26468 * passes.def (pass_tree_no_loop): New pass group with
26471 2014-06-23 H.J. Lu <hongjiu.lu@intel.com>
26474 * config/i386/driver-i386.c (host_detect_local_cpu): Set arch
26475 to x86-64 if a 32-bit processor supports SSE2 and 64-bit.
26477 2014-06-23 James Greenhalgh <james.greenhalgh@arm.com>
26479 * config/aarch64/aarch64.md (addsi3_aarch64): Set "simd" attr to
26480 "yes" where needed.
26482 2014-06-23 Alan Modra <amodra@gmail.com>
26485 * tree-vrp.c (remove_range_assertions): Do not set is_unreachable
26486 to zero on debug statements.
26488 2014-06-23 Alan Lawrence <alan.lawrence@arm.com>
26491 * config/aarch64/aarch64-builtins.c (aarch64_types_unop_qualifiers):
26492 Ignore third operand if present by marking qualifier_internal.
26494 * config/aarch64/aarch64-simd-builtins.def (abs): Comment.
26496 * config/aarch64/arm_neon.h (int64x1_t, uint64x1_t): Typedef to GCC
26498 (aarch64_vget_lane_s64, aarch64_vdup_lane_s64,
26499 arch64_vdupq_lane_s64, aarch64_vdupq_lane_u64): Remove macro.
26500 (vqadd_s64, vqadd_u64, vqsub_s64, vqsub_u64, vqneg_s64, vqabs_s64,
26501 vcreate_s64, vcreate_u64, vreinterpret_s64_f64, vreinterpret_u64_f64,
26502 vcombine_u64, vbsl_s64, vbsl_u64, vceq_s64, vceq_u64, vceqz_s64,
26503 vceqz_u64, vcge_s64, vcge_u64, vcgez_s64, vcgt_s64, vcgt_u64,
26504 vcgtz_s64, vcle_s64, vcle_u64, vclez_s64, vclt_s64, vclt_u64,
26505 vcltz_s64, vdup_n_s64, vdup_n_u64, vld1_s64, vld1_u64, vmov_n_s64,
26506 vmov_n_u64, vqdmlals_lane_s32, vqdmlsls_lane_s32,
26507 vqdmulls_lane_s32, vqrshl_s64, vqrshl_u64, vqrshl_u64, vqshl_s64,
26508 vqshl_u64, vqshl_n_s64, vqshl_n_u64, vqshl_n_s64, vqshl_n_u64,
26509 vqshlu_n_s64, vrshl_s64, vrshl_u64, vrshr_n_s64, vrshr_n_u64,
26510 vrsra_n_s64, vrsra_n_u64, vshl_n_s64, vshl_n_u64, vshl_s64,
26511 vshl_u64, vshr_n_s64, vshr_n_u64, vsli_n_s64, vsli_n_u64,
26512 vsqadd_u64, vsra_n_s64, vsra_n_u64, vsri_n_s64, vsri_n_u64,
26513 vst1_s64, vst1_u64, vtst_s64, vtst_u64, vuqadd_s64): Wrap existing
26514 logic in GCC vector extensions
26516 (vpaddd_s64, vaddd_s64, vaddd_u64, vceqd_s64, vceqd_u64, vceqzd_s64
26517 vceqzd_u64, vcged_s64, vcged_u64, vcgezd_s64, vcgtd_s64, vcgtd_u64,
26518 vcgtzd_s64, vcled_s64, vcled_u64, vclezd_s64, vcltd_s64, vcltd_u64,
26519 vcltzd_s64, vqdmlals_s32, vqdmlsls_s32, vqmovnd_s64, vqmovnd_u64
26520 vqmovund_s64, vqrshld_s64, vqrshld_u64, vqrshrnd_n_s64,
26521 vqrshrnd_n_u64, vqrshrund_n_s64, vqshld_s64, vqshld_u64,
26522 vqshld_n_u64, vqshrnd_n_s64, vqshrnd_n_u64, vqshrund_n_s64,
26523 vrshld_u64, vrshrd_n_u64, vrsrad_n_u64, vshld_n_u64, vshld_s64,
26524 vshld_u64, vslid_n_u64, vsqaddd_u64, vsrad_n_u64, vsrid_n_u64,
26525 vsubd_s64, vsubd_u64, vtstd_s64, vtstd_u64): Fix type signature.
26527 (vabs_s64): Use GCC vector extensions; call __builtin_aarch64_absdi.
26529 (vget_high_s64, vget_high_u64): Reimplement with GCC vector
26532 (__GET_LOW, vget_low_u64): Wrap result using vcreate_u64.
26533 (vget_low_s64): Use __GET_LOW macro.
26534 (vget_lane_s64, vget_lane_u64, vdupq_lane_s64, vdupq_lane_u64): Use
26535 gcc vector extensions, add call to __builtin_aarch64_lane_boundsi.
26536 (vdup_lane_s64, vdup_lane_u64,): Add __builtin_aarch64_lane_bound_si.
26537 (vdupd_lane_s64, vdupd_lane_u64): Fix type signature, add
26538 __builtin_aarch64_lane_boundsi, use GCC vector extensions.
26540 (vcombine_s64): Use GCC vector extensions; remove cast.
26541 (vqaddd_s64, vqaddd_u64, vqdmulls_s32, vqshld_n_s64, vqshlud_n_s64,
26542 vqsubd_s64, vqsubd_u64, vrshld_s64, vrshrd_n_s64, vrsrad_n_s64,
26543 vshld_n_s64, vshrd_n_s64, vslid_n_s64, vsrad_n_s64, vsrid_n_s64):
26544 Fix type signature; remove cast.
26546 2014-06-23 Alan Lawrence <alan.lawrence@arm.com>
26549 * config/aarch64/aarch64.c (aarch64_simd_mangle_map): Add entry for
26551 * config/aarch64/aarch64-builtins.c (aarch64_simd_builtin_type_mode):
26553 (BUILTIN_VD1): New.
26554 (BUILTIN_VD_RE): Remove.
26555 (aarch64_init_simd_builtins): Add V1DF to modes/modenames.
26556 (aarch64_fold_builtin): Update reinterpret patterns, df becomes v1df.
26557 * config/aarch64/aarch64-simd-builtins.def (create): Make a v1df
26558 variant but not df.
26559 (vreinterpretv1df*, vreinterpret*v1df): New.
26560 (vreinterpretdf*, vreinterpret*df): Remove.
26561 * config/aarch64/aarch64-simd.md (aarch64_create,
26562 aarch64_reinterpret*): Generate V1DFmode pattern not DFmode.
26563 * config/aarch64/iterators.md (VD_RE): Include V1DF, remove DF.
26565 * config/aarch64/arm_neon.h (float64x1_t): typedef with gcc extensions.
26566 (vcreate_f64): Remove cast, use v1df builtin.
26567 (vcombine_f64): Remove cast, get elements with gcc vector extensions.
26568 (vget_low_f64, vabs_f64, vceq_f64, vceqz_f64, vcge_f64, vgfez_f64,
26569 vcgt_f64, vcgtz_f64, vcle_f64, vclez_f64, vclt_f64, vcltz_f64,
26570 vdup_n_f64, vdupq_lane_f64, vld1_f64, vld2_f64, vld3_f64, vld4_f64,
26571 vmov_n_f64, vst1_f64): Use gcc vector extensions.
26572 (vget_lane_f64, vdupd_lane_f64, vmulq_lane_f64, ): Use gcc extensions,
26573 add range check using __builtin_aarch64_im_lane_boundsi.
26574 (vfma_lane_f64, vfmad_lane_f64, vfma_laneq_f64, vfmaq_lane_f64,
26575 vfms_lane_f64, vfmsd_lane_f64, vfms_laneq_f64, vfmsq_lane_f64): Fix
26576 type signature, use gcc vector extensions.
26577 (vreinterpret_p8_f64, vreinterpret_p16_f64, vreinterpret_f32_f64,
26578 vreinterpret_f64_f32, vreinterpret_f64_p8, vreinterpret_f64_p16,
26579 vreinterpret_f64_s8, vreinterpret_f64_s16, vreinterpret_f64_s32,
26580 vreinterpret_f64_s64, vreinterpret_f64_u8, vreinterpret_f64_u16,
26581 vreinterpret_f64_u32, vreinterpret_f64_u64, vreinterpret_s8_f64,
26582 vreinterpret_s16_f64, vreinterpret_s32_f64, vreinterpret_s64_f64,
26583 vreinterpret_u8_f64, vreinterpret_u16_f64, vreinterpret_u32_f64,
26584 vreinterpret_u64_f64): Use v1df builtin not df.
26586 2014-06-23 James Greenhalgh <james.greenhalgh@arm.com>
26588 * config/aarch64/aarch64.md (*addsi3_aarch64): Add alternative in
26591 2014-06-23 Jan Hubicka <hubicka@ucw.cz>
26593 * lto-cgraph.c (lto_output_node, input_node): Set/get init/fini
26596 2014-06-23 Zhenqiang Chen <zhenqiang.chen@linaro.org>
26598 * loop-invariant.c (pre_check_invariant_p): New function.
26599 (find_invariant_insn): Call pre_check_invariant_p.
26601 2014-06-22 Richard Henderson <rth@redhat.com>
26604 * compare-elim.c (struct comparison): Add eh_note.
26605 (find_comparison_dom_walker::before_dom_children): Don't eliminate
26606 a redundant comparison in a different EH region. Purge EH edges if
26609 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
26611 * config/rs6000/rs6000.md (maybe_var_shift): New define_attr.
26612 (var_shift): Use it.
26613 (rotl<mode>3, *rotlsi3_64, *rotl<mode>3_dot, *rotl<mode>3_dot2,
26614 *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6,
26615 *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le,
26616 *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be,
26617 *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le,
26618 *rotlsi3_internal12be, ashl<mode>3, *ashlsi3_64, *ashl<mode>3_dot,
26619 *ashl<mode>3_dot2, lshr<mode>3, *lshrsi3_64, *lshr<mode>3_dot,
26620 *lshr<mode>3_dot2, *ashr<mode>3, *ashrsi3_64, *ashr<mode>3_dot,
26621 *ashr<mode>3_dot2, *rotldi3_internal4, *rotldi3_internal5,
26622 *rotldi3_internal6, *rotldi3_internal7le, *rotldi3_internal7be,
26623 *rotldi3_internal8le, *rotldi3_internal8be, *rotldi3_internal9le,
26624 *rotldi3_internal9be, *rotldi3_internal10le, *rotldi3_internal10be,
26625 *rotldi3_internal11le, *rotldi3_internal11be, *rotldi3_internal12le,
26626 *rotldi3_internal12be, *rotldi3_internal13le, *rotldi3_internal13be,
26627 *rotldi3_internal14le, *rotldi3_internal14be, *rotldi3_internal15le,
26628 *rotldi3_internal15be): Use the new attribute. Merge register and
26629 integer alternatives.
26631 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
26633 * config/rs6000/rs6000.md (ashrsi3, two anonymous define_insns and
26634 define_splits, ashrdi3, *ashrdi3_internal1, *ashrdi3_internal2 and
26635 split, *ashrdi3_internal3 and split): Delete, merge into...
26636 (ashr<mode>3): New expander.
26637 (*ashr<mode>3, ashr<mode>3_dot, ashr<mode>3_dot2): New.
26638 (*ashrsi3_64): Fix formatting. Replace "i" by "n".
26640 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
26642 * config/rs6000/rs6000.md (rotlsi3, *rotlsi3_internal2 and split,
26643 *rotlsi3_internal3 and split, rotldi3, *rotldi3_internal2 and split,
26644 *rotldi3_internal3 and split): Delete, merge into...
26645 (rotl<mode>3, rotl<mode>3_dot, rotl<mode>3_dot2): New.
26646 (*rotlsi3_64): Fix formatting. Fix condition. Replace "i" by "n".
26647 Use "rotlw" extended mnemonic.
26649 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
26651 * config/rs6000/rs6000.md (ashlsi3, two anonymous define_insns
26652 and define_splits, ashldi3, *ashldi3_internal1, *ashldi3_internal2
26653 and split, *ashldi3_internal3 and split): Delete, merge into...
26654 (ashl<mode>3, ashl<mode>3_dot, ashl<mode>3_dot2): New.
26655 (*ashlsi3_64): Fix formatting. Replace "i" by "n".
26657 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
26659 * config/rs6000/rs6000.md ("hH"): New define_mode_attr.
26660 (lshrsi3, two anonymous define_insns and define_splits,
26661 lshrdi3, *lshrdi3_internal1, *lshrdi3_internal2 and split,
26662 *lshrdi3_internal3 and split): Delete, merge into...
26663 (lshr<mode>3, lshr<mode>3_dot, lshr<mode>3_dot2): New.
26664 (*lshrsi3_64): Fix formatting. Replace "i" by "n".
26666 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
26668 * config/rs6000/rs6000.md (lshrsi3, and its two dot patterns):
26669 Remove "O" alternative.
26671 2014-06-22 Richard Sandiford <rdsandiford@googlemail.com>
26673 * config/mips/mips.c (mips_move_to_gpr_cost): Remove mode argument.
26674 (mips_move_from_gpr_cost): Likewise.
26675 (mips_register_move_cost): Update accordingly.
26676 (mips_secondary_reload_class): Remove name of in_p.
26678 2014-06-22 Marc Glisse <marc.glisse@inria.fr>
26681 * config/i386/i386.md (x86_64_shrd, x86_shrd,
26682 ix86_rotr<dwi>3_doubleword): Replace ashiftrt with lshiftrt.
26684 2014-06-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
26686 * config/nios2/nios2.c: Include "builtins.h".
26688 2014-06-20 Jan Hubicka <hubicka@ucw.cz>
26690 * cgraph.h (tls_model_names): New variable.
26691 * print-tree.c (print_node): Simplify.
26692 * varpool.c (tls_model_names): New variable.
26693 (dump_varpool_node): Output tls model.
26695 2014-06-20 Jan Hubicka <hubicka@ucw.cz>
26697 * ipa-visibility.c (function_and_variable_visibility): Disable
26698 temporarily local aliases for some targets.
26700 2014-06-20 Marek Polacek <polacek@redhat.com>
26702 * asan.c (pass_sanopt::execute): Handle IFN_UBSAN_BOUNDS.
26703 * flag-types.h (enum sanitize_code): Add SANITIZE_BOUNDS and or it
26704 into SANITIZE_UNDEFINED.
26705 * doc/invoke.texi: Describe -fsanitize=bounds.
26706 * gimplify.c (gimplify_call_expr): Add gimplification of internal
26707 functions created in the FEs.
26708 * internal-fn.c: Move "internal-fn.h" after "tree.h".
26709 (expand_UBSAN_BOUNDS): New function.
26710 * internal-fn.def (UBSAN_BOUNDS): New internal function.
26711 * internal-fn.h: Don't define internal functions here.
26712 * opts.c (common_handle_option): Add -fsanitize=bounds.
26713 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS,
26714 BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS_ABORT): Add.
26715 * tree-core.h: Define internal functions here.
26716 (struct tree_base): Add ifn field.
26717 * tree-pretty-print.c: Include "internal-fn.h".
26718 (dump_generic_node): Handle functions without CALL_EXPR_FN.
26719 * tree.c (get_callee_fndecl): Likewise.
26720 (build_call_expr_internal_loc): New function.
26721 * tree.def (CALL_EXPR): Update description.
26722 * tree.h (CALL_EXPR_IFN): Define.
26723 (build_call_expr_internal_loc): Declare.
26724 * ubsan.c (get_ubsan_type_info_for_type): Return 0 for non-arithmetic
26726 (ubsan_type_descriptor): Change bool parameter to enum
26727 ubsan_print_style. Adjust the code. Add handling of
26729 (ubsan_expand_bounds_ifn): New function.
26730 (ubsan_expand_null_ifn): Adjust ubsan_type_descriptor call.
26731 (ubsan_build_overflow_builtin): Likewise.
26732 (instrument_bool_enum_load): Likewise.
26733 (ubsan_instrument_float_cast): Likewise.
26734 * ubsan.h (enum ubsan_print_style): New enum.
26735 (ubsan_expand_bounds_ifn): Declare.
26736 (ubsan_type_descriptor): Adjust declaration. Use a default parameter.
26738 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
26740 * config/rs6000/rs6000.md: Append `DONE' to preparation
26741 statements of `bswap' pattern splitters.
26743 2014-06-20 Tom de Vries <tom@codesourcery.com>
26745 * target.def (call_fusage_contains_non_callee_clobbers): Update
26747 * doc/tm.texi: Regenerate.
26749 2014-06-20 Yury Gribov <y.gribov@samsung.com>
26750 Max Ostapenko <m.ostapenko@partner.samsung.com>
26753 * asan.c (instrument_strlen_call): Fixed instrumentation of
26756 2014-06-20 Martin Jambor <mjambor@suse.cz>
26759 * ipa-prop.c (impossible_devirt_target): New function.
26760 (try_make_edge_direct_virtual_call): Use it, also instead of
26763 2014-06-20 Yury Gribov <y.gribov@samsung.com>
26764 Max Ostapenko <m.ostapenko@partner.samsung.com>
26767 * asan.c (build_check_stmt): Add condition.
26769 2014-06-20 Martin Jambor <mjambor@suse.cz>
26772 * cgraph.c (clone_of_p): Allow skipped_branch to deal with
26775 2014-06-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
26777 * config/aarch64/iterators.md (VCOND): Handle SI and HI modes.
26779 (VCONQ): Make comment more helpful.
26781 * config/aarch64/aarch64-simd.md
26782 (aarch64_sqdmulh_lane<mode>):
26783 Use VCOND for operands 2. Update lane checking and flipping logic.
26784 (aarch64_sqrdmulh_lane<mode>): Likewise.
26785 (aarch64_sq<r>dmulh_lane<mode>_internal): Likewise.
26786 (aarch64_sqdmull2<mode>): Remove VCON, use VQ_HSI mode iterator.
26787 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, VD_HSI): Change mode
26788 attribute of operand 3 to VCOND.
26789 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, SD_HSI): Likewise.
26790 (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
26791 (aarch64_sqdmull_lane<mode>_internal, VD_HSI): Likewise.
26792 (aarch64_sqdmull_lane<mode>_internal, SD_HSI): Likewise.
26793 (aarch64_sqdmull2_lane<mode>_internal): Likewise.
26794 (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, VD_HSI: New
26796 (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, SD_HSI): Likewise.
26797 (aarch64_sqdml<SBINQOPS:as>l2_laneq<mode>_internal): Likewise.
26798 (aarch64_sqdmull_laneq<mode>_internal, VD_HSI): Likewise.
26799 (aarch64_sqdmull_laneq<mode>_internal, SD_HSI): Likewise.
26800 (aarch64_sqdmull2_laneq<mode>_internal): Likewise.
26801 (aarch64_sqdmlal_lane<mode>): Change mode attribute of penultimate
26802 operand to VCOND. Update lane flipping and bounds checking logic.
26803 (aarch64_sqdmlal2_lane<mode>): Likewise.
26804 (aarch64_sqdmlsl_lane<mode>): Likewise.
26805 (aarch64_sqdmull_lane<mode>): Likewise.
26806 (aarch64_sqdmull2_lane<mode>): Likewise.
26807 (aarch64_sqdmlal_laneq<mode>):
26808 Replace VCON usage with VCONQ.
26809 Emit aarch64_sqdmlal_laneq<mode>_internal insn.
26810 (aarch64_sqdmlal2_laneq<mode>): Emit
26811 aarch64_sqdmlal2_laneq<mode>_internal insn.
26812 Replace VCON with VCONQ.
26813 (aarch64_sqdmlsl2_lane<mode>): Replace VCON with VCONQ.
26814 (aarch64_sqdmlsl2_laneq<mode>): Likewise.
26815 (aarch64_sqdmull_laneq<mode>): Emit
26816 aarch64_sqdmull_laneq<mode>_internal insn.
26817 Replace VCON with VCONQ.
26818 (aarch64_sqdmull2_laneq<mode>): Emit
26819 aarch64_sqdmull2_laneq<mode>_internal insn.
26820 (aarch64_sqdmlsl_laneq<mode>): Replace VCON usage with VCONQ.
26821 * config/aarch64/arm_neon.h (vqdmlal_high_lane_s16): Change type
26822 of 3rd argument to int16x4_t.
26823 (vqdmlalh_lane_s16): Likewise.
26824 (vqdmlslh_lane_s16): Likewise.
26825 (vqdmull_high_lane_s16): Likewise.
26826 (vqdmullh_lane_s16): Change type of 2nd argument to int16x4_t.
26827 (vqdmlal_lane_s16): Don't create temporary int16x8_t value.
26828 (vqdmlsl_lane_s16): Likewise.
26829 (vqdmull_lane_s16): Don't create temporary int16x8_t value.
26830 (vqdmlal_high_lane_s32): Change type 3rd argument to int32x2_t.
26831 (vqdmlals_lane_s32): Likewise.
26832 (vqdmlsls_lane_s32): Likewise.
26833 (vqdmull_high_lane_s32): Change type 2nd argument to int32x2_t.
26834 (vqdmulls_lane_s32): Likewise.
26835 (vqdmlal_lane_s32): Don't create temporary int32x4_t value.
26836 (vqdmlsl_lane_s32): Likewise.
26837 (vqdmull_lane_s32): Don't create temporary int32x4_t value.
26838 (vqdmulhh_lane_s16): Change type of second argument to int16x4_t.
26839 (vqrdmulhh_lane_s16): Likewise.
26840 (vqdmlsl_high_lane_s16): Likewise.
26841 (vqdmulhs_lane_s32): Change type of second argument to int32x2_t.
26842 (vqdmlsl_high_lane_s32): Likewise.
26843 (vqrdmulhs_lane_s32): Likewise.
26845 2014-06-20 Tom de Vries <tom@codesourcery.com>
26847 * final.c (collect_fn_hard_reg_usage): Add separate IOR_HARD_REG_SET for
26848 get_call_reg_set_usage.
26850 2014-06-20 Tom de Vries <tom@codesourcery.com>
26852 * final.c (collect_fn_hard_reg_usage): Don't save function_used_regs if
26853 it contains all call_used_regs.
26855 2014-06-20 Tom de Vries <tom@codesourcery.com>
26857 * final.c (collect_fn_hard_reg_usage): Add and use variable
26858 function_used_regs.
26860 2014-06-20 Jan Hubicka <hubicka@ucw.cz>
26862 * cgraph.h (struct symtab_node): Add field in_init_priority_hash
26863 (set_init_priority, get_init_priority, set_fini_priority,
26864 get_fini_priority): New methods.
26865 * tree.c (init_priority_for_decl): Remove.
26866 (init_ttree): Do not initialize init priority.
26867 (decl_init_priority_lookup, decl_fini_priority_lookup): Rewrite.
26868 (decl_priority_info): Remove.
26869 (decl_init_priority_insert): Rewrite.
26870 (decl_fini_priority_insert): Rewrite.
26871 * tree.h (tree_priority_map_eq, tree_priority_map_hash,
26872 tree_priority_map_marked_p): Remove.
26873 * lto-cgraph.c (lto_output_node, input_node): Stream init priorities.
26874 * lto-streamer-out.c (hash_tree): Do not hash priorities.
26875 * tree-streamer-out.c (pack_ts_decl_with_vis_value_fields): Do
26876 not output priorities.
26877 (pack_ts_function_decl_value_fields): Likewise.
26878 * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do
26879 not input priorities.
26880 (unpack_ts_function_decl_value_fields): Likewise.
26881 * symtab.c (symbol_priority_map): Declare.
26882 (init_priority_hash): Declare.
26883 (symtab_unregister_node): Unregister from priority hash, too.
26884 (symtab_node::get_init_priority, cgraph_node::get_fini_priority):
26886 (symbol_priority_map_eq, symbol_priority_map_hash): New functions.
26887 (symbol_priority_info): New function.
26888 (symtab_node::set_init_priority, cgraph_node::set_fini_priority):
26890 * tree-core.h (tree_priority_map): Remove.
26892 2014-06-20 Jakub Jelinek <jakub@redhat.com>
26894 * tree-ssa-math-opts.c (do_shift_rotate, find_bswap_or_nop_1): Cast
26895 0xff to uint64_t before shifting it up.
26897 2014-06-20 Julian Brown <julian@codesourcery.com>
26898 Chung-Lin Tang <cltang@codesourcery.com>
26900 * config/arm/arm.c (arm_output_mi_thunk): Fix offset for
26901 TARGET_THUMB1_ONLY. Add comments.
26903 2014-06-19 Tom de Vries <tom@codesourcery.com>
26905 * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Change
26906 return type to void.
26907 * config/aarch64/aarch64.c (aarch64_emit_call_insn): Same.
26909 2014-06-19 Zhenqiang Chen <zhenqiang.chen@linaro.org>
26911 * loop-invariant.c (get_inv_cost): Skip invariants, which are marked
26912 as "move", from depends_on.
26914 2014-06-19 Terry Guo <terry.guo@arm.com>
26916 * config/arm/thumb1.md (define_split): Split 64bit constant in earlier
26919 2014-06-18 Segher Boessenkool <segher@kernel.crashing.org>
26921 * config/rs6000/rs6000.h (FIXED_REGISTERS): Update comment.
26923 (REG_ALLOC_ORDER): Update comment. Move cr5 earlier.
26925 2014-06-18 Kaz Kojima <kkojima@gcc.gnu.org>
26928 * config/sh/sh.c (prepare_move_operands): Don't process TLS
26929 addresses here if reload in progress or completed.
26931 2014-06-18 Robert Suchanek <robert.suchanek@imgtec.com>
26933 * config/mips/constraints.md ("d"): BASE_REG_CLASS replaced by
26934 "TARGET_MIPS16 ? M16_REGS : GR_REGS".
26935 * config/mips/mips.c (mips_regno_to_class): Update for M16_SP_REGS.
26936 (mips_regno_mode_ok_for_base_p): Remove use of !strict_p for MIPS16.
26937 (mips_register_priority): New function that implements the target
26938 hook TARGET_REGISTER_PRIORITY.
26939 (mips_spill_class): Likewise for TARGET_SPILL_CLASS.
26940 (mips_lra_p): Likewise for TARGET_LRA_P.
26941 (TARGET_REGISTER_PRIORITY): Define macro.
26942 (TARGET_SPILL_CLASS): Likewise.
26943 (TARGET_LRA_P): Likewise.
26944 * config/mips/mips.h (reg_class): Add M16_SP_REGS and SPILL_REGS
26946 (REG_CLASS_NAMES): Likewise.
26947 (REG_CLASS_CONTENTS): Likewise.
26948 (BASE_REG_CLASS): Use M16_SP_REGS.
26949 * config/mips/mips.md (*mul_acc_si): Add alternative tuned for LRA.
26950 New set attribute to enable alternatives depending on the register
26952 (*mul_acc_si_r3900, *mul_sub_si): Likewise.
26953 (*lea64): Disable pattern for MIPS16.
26954 * config/mips/mips.opt (mlra): New option.
26956 2014-06-18 Robert Suchanek <robert.suchanek@imgtec.com>
26958 * lra-constraints.c (base_to_reg): New function.
26959 (process_address): Use new function.
26961 2014-06-18 Tom de Vries <tom@codesourcery.com>
26963 * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Declare.
26964 * config/aarch64/aarch64.c
26965 (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine as true.
26966 (aarch64_emit_call_insn): New function.
26967 (aarch64_load_symref_appropriately): Use aarch64_emit_call_insn instead
26969 * config/aarch64/aarch64.md (define_expand "call_internal")
26970 (define_expand "call_value_internal", define_expand "sibcall_internal")
26971 (define_expand "sibcall_value_internal"): New.
26972 (define_expand "call", define_expand "call_value")
26973 (define_expand "sibcall", define_expand "sibcall_value"): Use internal
26974 expand variant and aarch64_emit_call_insn.
26976 2014-06-18 Radovan Obradovic <robradovic@mips.com>
26977 Tom de Vries <tom@codesourcery.com>
26979 * config/arm/arm-protos.h (arm_emit_call_insn): Add bool parameter.
26980 * config/arm/arm.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
26982 (arm_emit_call_insn): Add and use sibcall parameter. Add IP and CC
26983 clobbers to CALL_INSN_FUNCTION_USAGE.
26984 (define_expand "sibcall_internal")
26985 (define_expand "sibcall_value_internal"): New.
26986 (define_expand "call", define_expand "call_value"): Add argument to
26987 arm_emit_call_insn.
26988 (define_expand "sibcall"): Use sibcall_internal and arm_emit_call_insn.
26989 (define_expand "sibcall_value"): Use sibcall_value_internal and
26990 arm_emit_call_insn.
26992 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
26994 * config/arm/bpabi.c (__gnu_uldivmod_helper): Remove.
26996 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
26998 * config/arm/bpabi-v6m.S (__aeabi_uldivmod): Perform division using
27001 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
27003 * config/arm/bpabi.S (__aeabi_ldivmod, __aeabi_uldivmod,
27004 push_for_divide, pop_for_divide): Use .cfi_* directives for DWARF
27005 annotations. Fix DWARF information.
27007 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
27009 * config/arm/bpabi.S (__aeabi_ldivmod): Perform division using
27010 __udivmoddi4, and fixups for negative operands.
27012 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
27014 * config/arm/bpabi.S (__aeabi_ldivmod): Optimise stack manipulation.
27016 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
27018 * config/arm/bpabi.S (__aeabi_uldivmod): Perform division using call
27021 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
27023 * config/arm/bpabi.S (__aeabi_uldivmod): Optimise stack pointer
27026 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
27028 * config/arm/bpabi.S (__aeabi_uldivmod, __aeabi_ldivmod): Add comment
27029 describing register usage on function entry and exit.
27031 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
27033 * config/arm/bpabi.S (__aeabi_uldivmod): Fix whitespace.
27034 (__aeabi_ldivmod): Fix whitespace.
27036 2014-06-18 Andreas Schwab <schwab@suse.de>
27038 * doc/md.texi (Standard Names): Use @itemx for grouped items.
27039 Remove blank line after @item.
27041 2014-06-18 Richard Henderson <rth@redhat.com>
27044 * config/aarch64/aarch64.md (tlsdesc_small_<PTR>): Clobber CC_REGNUM.
27046 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
27048 * config/arm/arm.c (neon_vector_mem_operand): Allow register
27049 POST_MODIFY for neon loads and stores.
27050 (arm_print_operand): Output post-index register for neon loads and
27053 2014-06-18 Richard Biener <rguenther@suse.de>
27055 * tree-ssa-dce.c (perform_tree_ssa_dce): Fixup bogus commit.
27057 2014-06-18 Richard Biener <rguenther@suse.de>
27059 * tree-pass.h (make_pass_dce_loop): Remove.
27060 * passes.def: Replace pass_dce_loop with pass_dce.
27061 * tree-ssa-dce.c (perform_tree_ssa_dce): If something
27062 changed free niter estimates and reset the scev cache.
27063 (tree_ssa_dce_loop, pass_data_dce_loop, pass_dce_loop,
27064 make_pass_dce_loop): Remove.
27065 * tree-ssa-copy.c: Include tree-ssa-loop-niter.h.
27066 (fini_copy_prop): Return whether something changed. Always
27067 let substitute_and_fold perform DCE and free niter estimates
27068 and reset the scev cache if so.
27069 (execute_copy_prop): If sth changed schedule cleanup-cfg.
27070 (pass_data_copy_prop): Do not unconditionally schedule
27071 cleanup-cfg or update-ssa.
27073 2014-06-18 Yuri Rumyantsev <ysrumyan@gmail.com>
27075 PR tree-optimization/61518
27076 * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
27077 reduction var is used in reduction stmt or phi-function only.
27079 2014-06-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
27081 * config/arm/arm_neon.h (vadd_f32): Change #ifdef to __FAST_MATH.
27083 2014-06-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
27085 PR tree-optimization/61517
27086 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Adapt to return a stmt
27087 whose rhs's first tree is the source expression instead of the
27089 (find_bswap_or_nop): Likewise.
27090 (bsap_replace): Rename stmt in cur_stmt. Pass gsi by value and src as a
27091 gimple stmt whose rhs's first tree is the source. In the memory source
27092 case, move the stmt to be replaced close to one of the original load to
27093 avoid the problem of a store between the load and the stmt's original
27095 (pass_optimize_bswap::execute): Adapt to change in bswap_replace's
27098 2014-06-18 Andreas Schwab <schwab@suse.de>
27100 PR rtl-optimization/54555
27101 * postreload.c (move2add_use_add2_insn): Substitute
27102 STRICT_LOW_PART only if it is cheaper.
27104 2014-06-18 Uros Bizjak <ubizjak@gmail.com>
27106 * config/i386/i386.md (*sibcall_memory): Rename from *sibcall_intern.
27107 Do not use unspec as call operand. Use memory_operand instead of
27108 memory_nox32_operand and add "m" operand constraint. Disable
27109 pattern for TARGET_X32.
27110 (*sibcall_pop_memory): Ditto.
27111 (*sibcall_value_memory): Ditto.
27112 (*sibcall_value_pop_memory): Ditto.
27113 (sibcall peepholes): Merge SImode and DImode patterns using
27114 W mode iterator. Use memory_operand instead of memory_nox32_operand.
27115 Disable pattern for TARGET_X32. Check if eliminated register is
27116 really dead after call insn. Generate call RTX without unspec operand.
27117 (sibcall_value peepholes): Ditto.
27118 (sibcall_pop peepholes): Fix call insn RTXes. Use memory_operand
27119 instead of memory_nox32_operand. Check if eliminated register is
27120 really dead after call insn. Generate call RTX without unspec operand.
27121 (sibcall_value_pop peepholes): Ditto.
27122 * config/i386/predicates.md (memory_nox32_operand): Remove predicate.
27124 2014-06-18 Terry Guo <terry.guo@arm.com>
27127 * config/arm/arm.c (thumb1_reorg): Move to next basic block if we
27130 2014-06-18 Olivier Hainque <hainque@adacore.com>
27132 * tree-core.h (tree_block): Add an "end_locus" field, allowing
27133 memorization of the end of block source location.
27134 * tree.h (BLOCK_SOURCE_END_LOCATION): New accessor.
27135 * gimplify.c (gimplify_bind_expr): Propagate the block start and
27136 end source location info we have on the block entry/exit code we
27139 2014-06-18 Richard Biener <rguenther@suse.de>
27141 * common.opt (fssa-phiopt): New option.
27142 * opts.c (default_options_table): Enable -fssa-phiopt with -O1+
27144 * tree-ssa-phiopt.c (pass_phiopt): Add gate method.
27145 * doc/invoke.texi (-fssa-phiopt): Document.
27147 2014-06-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
27149 * genattrtab.c (n_bypassed): New variable.
27150 (process_bypasses): Initialise n_bypassed.
27151 Count number of bypassed reservations.
27152 (make_automaton_attrs): Allocate space for bypassed reservations
27153 rather than number of bypasses.
27155 2014-06-18 Richard Biener <rguenther@suse.de>
27157 * tree-ssa-propagate.c (replace_phi_args_in): Return whether
27158 we propagated anything.
27159 (substitute_and_fold_dom_walker::before_dom_children): Something
27160 changed if we propagated into PHI arguments.
27161 * tree-ssa-pre.c (eliminate): Always schedule cfg-cleanup if
27164 2014-06-18 Evgeny Stupachenko <evstupac@gmail.com>
27166 * config/i386/i386.c (ix86_reassociation_width): Add alternative for
27168 * config/i386/i386.h (TARGET_VECTOR_PARALLEL_EXECUTION): New.
27169 * config/i386/x86-tune.def (X86_TUNE_VECTOR_PARALLEL_EXECUTION): New.
27170 * tree-vect-data-refs.c (vect_shift_permute_load_chain): New.
27171 Introduces alternative way of loads group permutaions.
27172 (vect_transform_grouped_load): Try alternative way of permutations.
27174 2014-06-18 Jakub Jelinek <jakub@redhat.com>
27176 * gimplify.c (omp_notice_variable): If n is non-NULL and no flags
27177 changed in ORT_TARGET region, don't jump to do_outer.
27178 (struct gimplify_adjust_omp_clauses_data): New type.
27179 (gimplify_adjust_omp_clauses_1): Adjust for data being
27180 a struct gimplify_adjust_omp_clauses_data pointer instead
27181 of tree *. Pass pre_p as a new argument to
27182 lang_hooks.decls.omp_finish_clause hook.
27183 (gimplify_adjust_omp_clauses): Add pre_p argument, adjust
27184 splay_tree_foreach to pass both list_p and pre_p.
27185 (gimplify_omp_parallel, gimplify_omp_task, gimplify_omp_for,
27186 gimplify_omp_workshare, gimplify_omp_target_update): Adjust
27187 gimplify_adjust_omp_clauses callers.
27188 * langhooks.c (lhd_omp_finish_clause): New function.
27189 * langhooks-def.h (lhd_omp_finish_clause): New prototype.
27190 (LANG_HOOKS_OMP_FINISH_CLAUSE): Define to lhd_omp_finish_clause.
27191 * langhooks.h (struct lang_hooks_for_decls): Add a new
27192 gimple_seq * argument to omp_finish_clause hook.
27193 * omp-low.c (scan_sharing_clauses): Call scan_omp_op on
27194 non-DECL_P OMP_CLAUSE_DECL if ctx->outer.
27195 (scan_omp_parallel, lower_omp_for): When adding
27196 _LOOPTEMP_ clause var, add it to outer ctx's decl_map as identity.
27197 * tree-core.h (OMP_CLAUSE_MAP_TO_PSET): New map kind.
27198 * tree-nested.c (convert_nonlocal_omp_clauses,
27199 convert_local_omp_clauses): Handle various OpenMP 4.0 clauses.
27200 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE_MAP_TO_PSET.
27202 2014-06-17 Andrew MacLeod <amacleod@redhat.com>
27204 * tree-dfa.h (get_addr_base_and_unit_offset_1): Move from here.
27205 * tree-dfa.c (get_addr_base_and_unit_offset_1): To here.
27207 2014-06-17 Xinliang David Li <davidxl@google.com>
27209 * tree-pretty-print.c (dump_function_header): Print cgraph uid.
27210 * passes.c (pass_init_dump_file): Do not set initialize
27211 flag to false unconditionally.
27213 2014-06-17 Richard Biener <rguenther@suse.de>
27215 * genopinit.c (main): Use vec<>::qsort method.
27216 * tree-ssa-loop-niter.c (discover_iteration_bound_by_body_walk):
27218 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Likewise.
27220 2014-06-17 Matthew Fortune <matthew.fortune@imgtec.com>
27222 * config/mips/mips-protos.h (mips_expand_fcc_reload): Remove.
27223 * config/mips/mips.c (mips_expand_fcc_reload): Remove.
27224 (mips_move_to_gpr_cost): Remove ST_REGS case.
27225 (mips_move_from_gpr_cost): Likewise.
27226 (mips_register_move_cost): Likewise.
27227 (mips_secondary_reload_class): Likewise.
27229 2014-06-17 Richard Biener <rguenther@suse.de>
27231 * passes.def (pass_all_early_optimizations): Remove copy-prop pass.
27232 (pass_all_optimizations): Move 3rd copy-prop pass from after
27233 fre to before ifcombine/phiopt.
27235 2014-06-17 Richard Biener <rguenther@suse.de>
27237 * tree-switch-conversion.c (collect_switch_conv_info): Simplify
27238 and allow all blocks to be forwarders.
27240 2014-06-17 Yufeng Zhang <yufeng.zhang@arm.com>
27243 * config/aarch64/aarch64.c (aarch64_layout_arg): Add new local
27244 variable 'size'; calculate 'size' right in the front; use
27245 'size' to compute 'nregs' (when 'allocate_ncrn != 0') and
27246 pcum->aapcs_stack_words.
27248 2014-06-17 Nick Clifton <nickc@redhat.com>
27250 * config/msp430/msp430.md (mulhisi3): Add a NOP after the DINT.
27251 (umulhi3, mulsidi3, umulsidi3): Likewise.
27253 2014-06-17 Thomas Schwinge <thomas@codesourcery.com>
27255 PR middle-end/61508
27256 * fold-const.c (fold_checksum_tree) <TS_DECL_WITH_VIS>: Remove
27257 check for section name.
27259 2014-06-17 Richard Biener <rguenther@suse.de>
27261 * tree-ssa-propagate.c: Include domwalk.h.
27262 (substitute_and_fold): Outline main worker into a domwalker ...
27263 (substitute_and_fold_dom_walker::before_dom_children): ... here.
27264 Schedule stmts we can fully propagate for removal. Remove
27266 (substitute_and_fold): Apply a dominator walk to perform
27267 substitution. Process stmts scheduled for removal here.
27269 2014-06-17 Richard Biener <rguenther@suse.de>
27271 * tree-ssa-loop-im.c (determine_max_movement): Adjust cost
27272 of PHI node moving.
27274 2014-06-17 Kugan Vivekanandarajah <kuganv@linaro.org>
27276 * config/arm/arm.c (arm_atomic_assign_expand_fenv): call
27277 default_atomic_assign_expand_fenv for !TARGET_HARD_FLOAT.
27278 (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
27279 __builtins_arm_get_fpscr only when TARGET_HARD_FLOAT.
27280 * config/arm/vfp.md (set_fpscr): Make pattern conditional on
27282 (get_fpscr) : Likewise.
27284 2014-06-16 Vladimir Makarov <vmakarov@redhat.com>
27286 PR rtl-optimization/61325
27287 * lra-constraints.c (valid_address_p): Add forward declaration.
27288 (simplify_operand_subreg): Check address validity before and after
27289 alter_reg of memory subreg.
27291 2014-06-16 Uros Bizjak <ubizjak@gmail.com>
27293 * config/i386/i386.c (decide_alg): Correctly handle
27294 maximum size of stringop algorithm.
27296 2014-06-16 Yury Gribov <y.gribov@samsung.com>
27298 * asan.c (build_check_stmt): Fix maybe-uninitialized warning.
27300 2014-06-16 Vladimir Makarov <vmakarov@redhat.com>
27302 PR rtl-optimization/61522
27303 * lra-assigns.c (assign_by_spills): Check null targetm.spill_class.
27305 2014-06-16 Jan Hubicka <hubicka@ucw.cz>
27308 * symtab.c (symtab_node::reset_section): New method.
27309 * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
27311 * cgraph.h (reset_section): Declare.
27312 * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
27313 do not consider comdat locals.
27314 * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
27316 * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
27317 (update_visibility_by_resolution_info): Consider UNDEF; fix checking;
27318 reset sections of symbols dragged out of the comdats.
27319 (function_and_variable_visibility): Reset sections of
27322 2014-06-16 Richard Biener <rguenther@suse.de>
27324 PR tree-optimization/61482
27325 * tree-vrp.c (adjust_range_with_scev): Avoid setting of
27326 [-INF(OVF), +INF(OVF)] range.
27328 2014-06-16 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
27330 * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Issue
27331 instructions "vpmuludq" and "vpaddq" instead of "vpmacsdql" for
27332 handling 32-bit multiplication.
27334 2014-06-16 Chung-Lin Tang <cltang@codesourcery.com>
27336 PR middle-end/61430
27337 * lra-lives.c (process_bb_lives): Skip creating copy during
27338 insn scan when src/dest has constrained to same regno.
27340 2014-06-15 Jan Hubicka <hubicka@ucw.cz>
27342 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Check again
27343 DECL_IN_CONSTANT_POOL and TREE_ASM_WRITTEN.
27345 2014-06-16 Yury Gribov <y.gribov@samsung.com>
27347 * asan.c (check_func): New function.
27348 (maybe_create_ssa_name): Likewise.
27349 (build_check_stmt_with_calls): Likewise.
27350 (use_calls_p): Likewise.
27351 (report_error_func): Change interface.
27352 (build_check_stmt): Allow non-integer lengths; add support
27354 (asan_instrument): Likewise.
27355 (instrument_mem_region_access): Moved code to build_check_stmt.
27356 (instrument_derefs): Likewise.
27357 (instrument_strlen_call): Likewise.
27358 * cfgcleanup.c (old_insns_match_p): Add support for new functions.
27359 * doc/invoke.texi: Describe new parameter.
27360 * params.def: Define new parameter.
27361 * params.h: Likewise.
27362 * sanitizer.def: Describe new builtins.
27364 2014-06-16 Richard Biener <rguenther@suse.de>
27366 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
27367 Make all defs available at the end.
27368 (eliminate): If we remove a PHI node schedule cfg-cleanup.
27370 2014-06-18 Jakub Jelinek <jakub@redhat.com>
27373 * config.gcc (arm*-*-linux-*): Include vxworks-dummy.h in tm_file.
27375 2014-06-16 Richard Sandiford <rdsandiford@googlemail.com>
27378 * auto-inc-dec.c (merge_in_block): Fix location of insn_info
27379 initialization. Replace remaining use of uid.
27381 2014-06-15 Jan Hubicka <hubicka@ucw.cz>
27383 * c-family/c-common.c (handle_tls_model_attribute): Use
27384 set_decl_tls_model.
27385 * c-family/c-common.c (handle_tls_model_attribute): Use
27386 set_decl_tls_model.
27387 * cgraph.h (struct varpool_node): Add tls_model.
27388 * tree.c (decl_tls_model, set_decl_tls_model): New functions.
27389 * tree.h (DECL_TLS_MODEL): Update.
27390 (DECL_THREAD_LOCAL_P): Check that variable is static.
27391 (decl_tls_model): Declare.
27392 (set_decl_tls_model): Declare.
27393 * tree-emutls.c (get_emutls_init_templ_addr): First build decl and then
27394 set symbol prorperties.
27395 (get_emutls_init_templ_addr): Cleanup.
27396 (new_emutls_decl): Update.
27397 * lto-cgraph.c (lto_output_varpool_node): Stream TLS model
27398 (lto_input_varpool_node): Likewise.
27399 * lto-streamer-out.c (hash_tree): Likewise.
27400 * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do
27401 not stream DECL_TLS_MODEL.
27402 * tree-profile.c (init_ic_make_global_vars): Use set_decl_tls_model.
27403 * tree-core.h (tree_decl_with_vis): Remove tls_model; update comments.
27405 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
27407 * df.h (DF_REF_REG_USE_P, DF_MWS_REG_USE_P): Remove null checks.
27409 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
27411 * df.h (df_mw_hardreg, df_base_ref): Add a link pointer.
27412 (df_insn_info): Turn defs, uses, eq_uses and mw_hardregs into linked
27414 (df_scan_bb_info): Likewise artificial_defs and artificial_uses.
27415 (DF_REF_NEXT_LOC, DF_MWS_NEXT): New macros.
27416 (FOR_EACH_INSN_INFO_DEF, FOR_EACH_INSN_INFO_USE)
27417 (FOR_EACH_INSN_INFO_EQ_USE, FOR_EACH_INSN_INFO_MW)
27418 (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF)
27419 (df_get_artificial_defs, df_get_artificial_uses)
27420 (df_single_def, df_single_use): Update accordingly.
27421 (df_refs_chain_dump): Take the first element in a linked list as
27422 parameter, rather than a pointer to an array of pointers.
27423 * df-core.c (df_refs_chain_dump, df_mws_dump): Likewise.
27424 * df-problems.c (df_rd_bb_local_compute_process_def): Likewise.
27425 (df_chain_create_bb_process_use): Likewise.
27426 (df_md_bb_local_compute_process_def): Likewise.
27427 * fwprop.c (process_defs, process_uses): Likewise.
27428 (register_active_defs, update_uses): Likewise.
27429 (forward_propagate_asm): Update for new df_ref linking.
27430 * df-scan.c (df_scan_free_ref_vec, df_scan_free_mws_vec): Delete.
27431 (df_null_ref_rec, df_null_mw_rec): Likewise.
27432 (df_scan_free_internal): Don't free df_ref and df_mw_hardreg lists
27434 (df_scan_free_bb_info): Remove check for null artificial_defs.
27435 (df_install_ref_incremental): Adjust for new df_ref linking.
27436 Use a single-element insertion rather than a full sort.
27437 (df_ref_chain_delete_du_chain): Take the first element
27438 in a linked list as parameter, rather than a pointer to an array of
27440 (df_ref_chain_delete, df_mw_hardreg_chain_delete): Likewise.
27441 (df_add_refs_to_table, df_refs_verify, df_mws_verify): Likewise.
27442 (df_insn_info_delete): Remove check for null defs and call to
27443 df_scan_free_mws_vec.
27444 (df_insn_rescan): Initialize df_ref and df_mw_hardreg lists to
27445 null rather than df_null_*_rec.
27446 (df_insn_rescan_debug_internal): Likewise, and update null
27447 checks in the same way. Remove check for null defs.
27448 (df_ref_change_reg_with_loc_1): Fix choice of list for defs.
27449 Move a single element rather doing a full sort.
27450 (df_mw_hardreg_chain_delete_eq_uses): Adjust for new df_mw_hardreg
27452 (df_notes_rescan): Likewise. Use a merge rather than a full sort.
27453 Initialize df_ref and df_mw_hardreg lists to null rather than
27455 (df_ref_compare): Take df_refs as parameter, transferring the
27456 old interface to...
27457 (df_ref_ptr_compare): ...this new function.
27458 (df_sort_and_compress_refs): Update accordingly.
27459 (df_mw_compare): Take df_mw_hardregs as parameter, transferring the
27460 old interface to...
27461 (df_mw_ptr_compare): ...this new function.
27462 (df_sort_and_compress_mws): Update accordingly.
27463 (df_install_refs, df_install_mws): Return a linked list rather than
27464 an array of pointers.
27465 (df_refs_add_to_chains): Assert that old lists are empty rather
27467 (df_insn_refs_verify): Don't handle null defs speciailly.
27468 * web.c (union_match_dups): Update for new df_ref linking.
27470 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
27472 * df.h (df_ref_create, df_ref_remove): Delete.
27473 * df-scan.c (df_ref_create, df_ref_compress_rec): Likewise.
27474 (df_ref_remove): Likewise.
27476 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
27478 * df.h (df_single_def, df_single_use): New functions.
27479 * ira.c (find_moveable_pseudos): Use them.
27481 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
27483 * df.h (FOR_EACH_INSN_INFO_MW): New macro.
27484 * df-problems.c (df_note_bb_compute): Use it.
27485 * regstat.c (regstat_bb_compute_ri): Likewise.
27487 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
27489 * df.h (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF): New macros.
27490 * cse.c (cse_extended_basic_block): Use them.
27491 * dce.c (mark_artificial_use): Likewise.
27492 * df-problems.c (df_rd_simulate_artificial_defs_at_top): Likewise.
27493 (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise.
27494 (df_chain_remove_problem, df_chain_bb_dump): Likewise.
27495 (df_word_lr_bb_local_compute, df_note_bb_compute): Likewise.
27496 (df_simulate_initialize_backwards): Likewise.
27497 (df_simulate_finalize_backwards): Likewise.
27498 (df_simulate_initialize_forwards): Likewise.
27499 (df_md_simulate_artificial_defs_at_top): Likewise.
27500 * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise.
27501 * regrename.c (init_rename_info): Likewise.
27502 * regstat.c (regstat_bb_compute_ri): Likewise.
27503 (regstat_bb_compute_calls_crossed): Likewise.
27505 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
27507 * df.h (DF_INSN_INFO_MWS, FOR_EACH_INSN_INFO_DEF): New macros.
27508 (FOR_EACH_INSN_INFO_USE, FOR_EACH_INSN_INFO_EQ_USE): Likewise.
27509 (FOR_EACH_INSN_DEF, FOR_EACH_INSN_USE, FOR_EACH_INSN_EQ_USE): Likewise.
27510 * auto-inc-dec.c (find_inc, merge_in_block): Use them.
27511 * combine.c (create_log_links): Likewise.
27512 * compare-elim.c (find_flags_uses_in_insn): Likewise.
27513 (try_eliminate_compare): Likewise.
27514 * cprop.c (make_set_regs_unavailable, mark_oprs_set): Likewise.
27515 * dce.c (deletable_insn_p, find_call_stack_args): Likewise.
27516 (remove_reg_equal_equiv_notes_for_defs): Likewise.
27517 (reset_unmarked_insns_debug_uses, mark_reg_dependencies): Likewise.
27518 (word_dce_process_block, dce_process_block): Likewise.
27519 * ddg.c (def_has_ccmode_p): Likewise.
27520 * df-core.c (df_bb_regno_first_def_find): Likewise.
27521 (df_bb_regno_last_def_find, df_find_def, df_find_use): Likewise.
27522 * df-problems.c (df_rd_simulate_one_insn): Likewise.
27523 (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise.
27524 (df_chain_remove_problem, df_chain_insn_top_dump): Likewise.
27525 (df_chain_insn_bottom_dump, df_word_lr_bb_local_compute): Likewise.
27526 (df_word_lr_simulate_defs, df_word_lr_simulate_uses): Likewise.
27527 (df_remove_dead_eq_notes, df_note_bb_compute): Likewise.
27528 (df_simulate_find_defs, df_simulate_find_uses): Likewise.
27529 (df_simulate_find_noclobber_defs, df_simulate_defs): Likewise.
27530 (df_simulate_uses, df_md_simulate_one_insn): Likewise.
27531 * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise.
27532 * fwprop.c (local_ref_killed_between_p): Likewise.
27533 (all_uses_available_at, free_load_extend): Likewise.
27534 * gcse.c (update_bb_reg_pressure, calculate_bb_reg_pressure): Likewise.
27535 * hw-doloop.c (scan_loop): Likewise.
27536 * ifcvt.c (dead_or_predicable): Likewise.
27537 * init-regs.c (initialize_uninitialized_regs): Likewise.
27538 * ira-lives.c (mark_hard_reg_early_clobbers): Likewise.
27539 (process_bb_node_lives): Likewise.
27540 * ira.c (compute_regs_asm_clobbered, build_insn_chain): Likewise.
27541 (find_moveable_pseudos): Likewise.
27542 * loop-invariant.c (check_dependencies, record_uses): Likewise.
27543 * recog.c (peep2_find_free_register): Likewise.
27544 * ree.c (get_defs): Likewise.
27545 * regstat.c (regstat_bb_compute_ri): Likewise.
27546 (regstat_bb_compute_calls_crossed): Likewise.
27547 * sched-deps.c (find_inc, find_mem): Likewise.
27548 * sel-sched-ir.c (maybe_downgrade_id_to_use): Likewise.
27549 (maybe_downgrade_id_to_use, setup_id_reg_sets): Likewise.
27550 * shrink-wrap.c (requires_stack_frame_p): Likewise.
27551 (prepare_shrink_wrap): Likewise.
27552 * store-motion.c (compute_store_table, build_store_vectors): Likewise.
27553 * web.c (union_defs, pass_web::execute): Likewise.
27554 * config/i386/i386.c (increase_distance, insn_defines_reg): Likewise.
27555 (insn_uses_reg_mem, ix86_ok_to_clobber_flags): Likewise.
27557 2014-06-13 Vladimir Makarov <vmakarov@redhat.com>
27559 * lra-assign.c (assign_by_spills): Add code to assign vector regs
27560 to inheritance pseudos.
27561 * config/i386/i386.c (ix86_spill_class): Add check on NO_REGS.
27563 2014-06-13 Peter Bergner <bergner@vnet.ibm.com>
27566 * config/rs6000/rs6000-builtin.def (BU_MISC_1): Delete.
27567 (BU_MISC_2): Rename to ...
27568 (BU_LDBL128_2): ... this.
27569 * config/rs6000/rs6000.h (RS6000_BTM_LDBL128): New define.
27570 (RS6000_BTM_COMMON): Add RS6000_BTM_LDBL128.
27571 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
27572 RS6000_BTM_LDBL128.
27573 (rs6000_invalid_builtin): Add long double 128-bit builtin support.
27574 (rs6000_builtin_mask_names): Add RS6000_BTM_LDBL128.
27575 * config/rs6000/rs6000.md (unpacktf_0): Remove define)expand.
27576 (unpacktf_1): Likewise.
27577 * doc/extend.texi (__builtin_longdouble_dw0): Remove documentation.
27578 (__builtin_longdouble_dw1): Likewise.
27579 * doc/sourcebuild.texi (longdouble128): Document.
27581 2014-06-13 Jeff Law <law@redhat.com>
27583 PR rtl-optimization/61094
27584 PR rtl-optimization/61446
27585 * ree.c (combine_reaching_defs): Get the mode for the copy from
27586 the extension insn rather than the defining insn.
27588 2014-06-13 Dehao Chen <dehao@google.com>
27590 * dwarf2out.c (add_linkage_name): Emit more linkage name.
27592 2014-06-13 Thomas Schwinge <thomas@codesourcery.com>
27594 * doc/install.texi (--enable-linker-plugin-configure-flags)
27595 (--enable-linker-plugin-flags): Document new flags.
27597 2014-06-13 Martin Jambor <mjambor@suse.cz>
27600 * ipa-devirt.c (possible_polymorphic_call_targets): Store NULL to
27601 cache_token if returning early.
27603 2014-06-13 Nick Clifton <nickc@redhat.com>
27605 * config/rx/rx.h (JUMP_ALIGN): Return the log value if user
27606 requested alignment is active.
27607 (LABEL_ALIGN): Likewise.
27608 (LOOP_ALIGN): Likewise.
27610 2014-06-13 Richard Biener <rguenther@suse.de>
27612 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
27613 Rewrite to propagate the VN result into all uses where
27614 possible and to remove stmts becoming dead because of that.
27615 (eliminate): Generalize stmt removal handling, remove in
27616 reverse dominator order to support proper debug stmt
27617 generation. Update stmts before removing stmts.
27618 * tree-ssa-propagate.c (propagate_tree_value): Remove bogus assert.
27620 2014-06-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
27622 PR tree-optimization/61375
27623 * tree-ssa-math-opts.c (init_symbolic_number): Cancel optimization if
27624 symbolic number cannot be represented in an uint64_t.
27625 (find_bswap_or_nop_1): Likewise.
27627 2014-06-12 Jan Hubicka <hubicka@ucw.cz>
27629 * symtab.c (symtab_node::reset_section): New method.
27630 * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
27632 * cgraph.h (reset_section): Declare.
27633 * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
27634 do not consider comdat locals.
27635 * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
27637 * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
27638 (update_visibility_by_resolution_info): Consider UNDEF; fix checking;
27639 reset sections of symbols dragged out of the comdats.
27640 (function_and_variable_visibility): Reset sections of
27643 2014-06-12 Jan Hubicka <hubicka@ucw.cz>
27645 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Reorg
27646 to use symtab and decl_binds_to_current_def_p
27647 * tree-vectorizer.c (increase_alignment): Increase alignment
27648 of alias target, too.
27650 2014-06-12 Jakub Jelinek <jakub@redhat.com>
27652 PR middle-end/61486
27653 * gimplify.c (struct gimplify_omp_ctx): Add distribute field.
27654 (gimplify_adjust_omp_clauses): Don't or in GOVD_LASTPRIVATE
27655 if outer combined construct is distribute.
27656 (gimplify_omp_for): For OMP_DISTRIBUTE set
27657 gimplify_omp_ctxp->distribute.
27658 * omp-low.c (scan_sharing_clauses) <case OMP_CLAUSE_SHARED>: For
27659 GIMPLE_OMP_TEAMS, if decl isn't global in outer context, record
27660 mapping into decl map.
27662 2014-06-12 Jason Merrill <jason@redhat.com>
27664 * common.opt (fabi-version): Change default to 0.
27666 2014-06-12 Jason Merrill <jason@redhat.com>
27668 * toplev.c (process_options): Reject -fabi-version=1.
27670 2014-06-12 Jeff Law <law@redhat.com>
27672 PR tree-optimization/61009
27673 * tree-ssa-threadedge.c (thread_through_normal_block): Correct return
27674 value when we stop processing a block due to problematic PHIs.
27676 2014-06-12 Alan Lawrence <alan.lawrence@arm.com>
27678 * config/aarch64/arm_neon.h (vmlaq_n_f64, vmlsq_n_f64, vrsrtsq_f64,
27679 vcge_p8, vcgeq_p8, vcgez_p8, vcgez_u8, vcgez_u16, vcgez_u32, vcgez_u64,
27680 vcgezq_p8, vcgezq_u8, vcgezq_u16, vcgezq_u32, vcgezq_u64, vcgezd_u64,
27681 vcgt_p8, vcgtq_p8, vcgtz_p8, vcgtz_u8, vcgtz_u16, vcgtz_u32, vcgtz_u64,
27682 vcgtzq_p8, vcgtzq_u8, vcgtzq_u16, vcgtzq_u32, vcgtzq_u64, vcgtzd_u64,
27683 vcle_p8, vcleq_p8, vclez_p8, vclez_u64, vclezq_p8, vclezd_u64, vclt_p8,
27684 vcltq_p8, vcltz_p8, vcltzq_p8, vcltzd_u64): Remove functions as they
27685 are not in the spec.
27687 2014-06-10 Alan Lawrence <alan.lawrence@arm.com>
27690 * config/aarch64/aarch64-modes.def: Add V1DFmode.
27691 * config/aarch64/aarch64.c (aarch64_vector_mode_supported_p):
27694 2014-06-12 Eric Botcazou <ebotcazou@adacore.com>
27696 * tree-core.h (DECL_NONALIASED): Use proper spelling in comment.
27698 2014-06-12 Georg-Johann Lay <avr@gjlay.de>
27701 * config/avr/avr.md (push<mode>1): Avoid (subreg(mem)) when
27702 loading from address spaces.
27704 2014-06-12 Martin Liska <mliska@suse.cz>
27707 * ipa-prop.c (ipa_make_edge_direct_to_target): Check that gimple call
27708 statement is reachable.
27710 2014-06-11 Jan Hubicka <hubicka@ucw.cz>
27712 * symtab.c (section_hash): New hash.
27713 (symtab_unregister_node): Clear section before freeing.
27714 (hash_section_hash_entry): New haser.
27715 (eq_sections): New function.
27716 (symtab_node::set_section_for_node): New method.
27717 (set_section_1): Update.
27718 (symtab_node::set_section): Take string instead of tree as parameter.
27719 (symtab_resolve_alias): Update.
27720 * cgraph.h (section_hash_entry_d): New structure.
27721 (section_hash_entry): New typedef.
27722 (cgraph_node): Change comdat_group_ to x_comdat_group,
27723 change section_ to x_section and turn into section_hash_entry;
27724 update accestors; put set_section_for_node offline.
27725 * tree.c (decl_section_name): Turn into string.
27726 (set_decl_section_name): Change parameter to be string.
27727 * tree.h (decl_section_name, set_decl_section_name): Update prototypes.
27728 * sdbout.c (sdbout_one_type): Update.
27729 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Update.
27730 * varasm.c (IN_NAMED_SECTION, get_named_section,
27731 resolve_unique_section, hot_function_section, get_named_text_section,
27732 USE_SELECT_SECTION_FOR_FUNCTIONS, default_function_rodata_section,
27733 make_decl_rtl, default_unique_section): Update.
27734 * config/c6x/c6x.c (c6x_in_small_data_p): Update.
27735 (c6x_elf_unique_section): Update.
27736 * config/nios2/nios2.c (nios2_in_small_data_p): Update.
27737 * config/pa/pa.c (pa_function_section): Update.
27738 * config/pa/pa.h (IN_NAMED_SECTION_P): Update.
27739 * config/ia64/ia64.c (ia64_in_small_data_p): Update.
27740 * config/arc/arc.c (arc_in_small_data_p): Update.
27741 * config/arm/unknown-elf.h (IN_NAMED_SECTION_P): Update.
27742 * config/mcore/mcore.c (mcore_unique_section): Update.
27743 * config/mips/mips.c (mips16_build_function_stub): Update.
27744 (mips16_build_call_stub): Update.
27745 (mips_function_rodata_section): Update.
27746 (mips_in_small_data_p): Update.
27747 * config/score/score.c (score_in_small_data_p): Update.
27748 * config/rx/rx.c (rx_in_small_data): Update.
27749 * config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Update.
27750 (rs6000_xcoff_asm_named_section): Update.
27751 (rs6000_xcoff_unique_section): Update.
27752 * config/frv/frv.c (frv_string_begins_with): Update.
27753 (frv_in_small_data_p): Update.
27754 * config/v850/v850.c (v850_encode_data_area): Update.
27755 * config/bfin/bfin.c (DECL_SECTION_NAME): Update.
27756 (bfin_handle_l1_data_attribute): Update.
27757 (bfin_handle_l2_attribute): Update.
27758 * config/mep/mep.c (mep_unique_section): Update.
27759 * config/microblaze/microblaze.c (microblaze_elf_in_small_data_p):
27761 * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute): Update.
27762 (h8300_handle_tiny_data_attribute): Update.
27763 * config/m32r/m32r.c (m32r_in_small_data_p): Update.
27764 (m32r_in_small_data_p): Update.
27765 * config/alpha/alpha.c (alpha_in_small_data_p): Update.
27766 * config/i386/i386.c (ix86_in_large_data_p): Update.
27767 * config/i386/winnt.c (i386_pe_unique_section): Update.
27768 * config/darwin.c (darwin_function_section): Update.
27769 * config/lm32/lm32.c (lm32_in_small_data_p): Update.
27770 * tree-emutls.c (get_emutls_init_templ_addr): Update.
27771 (new_emutls_decl): Update.
27772 * lto-cgraph.c (lto_output_node, input_node, input_varpool_node,
27773 input_varpool_node): Update.
27774 (ead_string_cst): Turn to ...
27775 (read_string): ... this one.
27776 * dwarf2out.c (secname_for_decl): Update.
27777 * asan.c (asan_protect_global): Update.
27779 2014-06-11 DJ Delorie <dj@redhat.com>
27781 * config/rx/rx.h (FUNCTION_BOUNDARY): Adjust for RX100/200 4-byte
27783 * config/rx/rx.c (rx_option_override): Likewise.
27784 (rx_align_for_label): Likewise.
27786 * config/rx/rx.c (rx_max_skip_for_label): Don't skip anything if -Os.
27788 2014-06-11 Maciej W. Rozycki <macro@codesourcery.com>
27790 * config/mmix/mmix-protos.h (mmix_asm_output_source_line): Remove
27793 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
27795 * common.md: New file.
27796 * doc/md.texi: Update description of generic, machine-independent
27798 * config/s390/constraints.md (e): Delete.
27799 * Makefile.in (md_file): Include common.md.
27800 * config/m32c/t-m32c (md_file): Likewise.
27801 * genpreds.c (general_mem): New array.
27802 (generic_constraint_letters): Remove constraints now defined by
27804 (add_constraint): Map TARGET_MEM_CONSTRAINT to general_mem.
27805 Allow the first character to be '<' or '>' as well.
27806 * genoutput.c (general_mem): New array.
27807 (indep_constraints): Remove constraints now defined by common.md.
27808 (note_constraint): Map TARGET_MEM_CONSTRAINT to general_mem.
27809 Remove special handling of 'm'.
27810 * ira-costs.c (record_reg_classes): Remove special handling of
27811 constraints now defined by common.md.
27812 * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise.
27813 * ira-lives.c (single_reg_class): Likewise.
27814 (ira_implicitly_set_insn_hard_regs): Likewise.
27815 * lra-constraints.c (reg_class_from_constraints): Likewise.
27816 (process_alt_operands, process_address, curr_insn_transform): Likewise.
27817 * postreload.c (reload_cse_simplify_operands): Likewise.
27818 * reload.c (push_secondary_reload, scratch_reload_class)
27819 (find_reloads, alternative_allows_const_pool_ref): Likewise.
27820 * reload1.c (maybe_fix_stack_asms): Likewise.
27821 * targhooks.c (default_secondary_reload): Likewise.
27822 * stmt.c (parse_output_constraint): Likewise.
27823 * recog.c (preprocess_constraints): Likewise.
27824 (constrain_operands, peep2_find_free_register): Likewise.
27825 (asm_operand_ok): Likewise, but add a comment saying why 'o'
27826 must be handled specially.
27828 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
27830 * system.h (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Poison.
27831 * genpreds.c (have_const_dbl_constraints): Delete.
27832 (add_constraint): Don't set it.
27833 (write_tm_preds_h): Don't call CONST_DOUBLE_OK_FOR_CONSTRAINT_P.
27834 * ira-costs.c (record_reg_classes): Handle CONST_INT and CONST_DOUBLE
27835 constraints using the lookup_constraint logic.
27836 * ira-lives.c (single_reg_class): Likewise.
27837 * ira.c (ira_setup_alts): Likewise.
27838 * lra-constraints.c (process_alt_operands): Likewise.
27839 * recog.c (asm_operand_ok, constrain_operands): Likewise.
27840 * reload.c (find_reloads): Likewise.
27842 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
27844 * genpreds.c (const_int_start, const_int_end): New variables.
27845 (choose_enum_order): Output CONST_INT constraints before memory
27847 (write_tm_preds_h): Always define insn_const_int_ok_for_constraint.
27849 * ira-costs.c (record_reg_classes): Handle CT_CONST_INT.
27850 * ira.c (ira_setup_alts): Likewise.
27851 * lra-constraints.c (process_alt_operands): Likewise.
27852 * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
27853 * reload.c (find_reloads): Likewise.
27855 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
27857 * recog.h (operand_alternative): Remove offmem_ok, nonffmem_ok,
27858 decmem_ok and incmem_ok. Reformat other bitfields for consistency.
27859 * recog.c (preprocess_constraints): Update accordingly.
27861 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
27863 * system.h (REG_CLASS_FROM_CONSTRAINT): Poison.
27864 (REG_CLASS_FOR_CONSTRAINT, EXTRA_CONSTRAINT_STR): Likewise.
27865 (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Likewise.
27866 * genpreds.c (print_type_tree): New function.
27867 (write_tm_preds_h): Remove REG_CLASS_FROM_CONSTRAINT,
27868 REG_CLASS_FOR_CONSTRAINT, EXTRA_MEMORY_CONSTRAINT,
27869 EXTRA_ADDRESS_CONSTRAINT and EXTRA_CONSTRAINT_STR.
27870 Write out enum constraint_type and get_constraint_type.
27871 * lra-constraints.c (satisfies_memory_constraint_p): Take a
27872 constraint_num rather than a constraint string.
27873 (satisfies_address_constraint_p): Likewise.
27874 (reg_class_from_constraints): Avoid old constraint macros.
27875 (process_alt_operands, process_address_1): Likewise.
27876 (curr_insn_transform): Likewise.
27877 * ira-costs.c (record_reg_classes): Likewise.
27878 (record_operand_costs): Likewise.
27879 * ira-lives.c (single_reg_class): Likewise.
27880 (ira_implicitly_set_insn_hard_regs): Likewise.
27881 * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise.
27882 * postreload.c (reload_cse_simplify_operands): Likewise.
27883 * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
27884 (constrain_operands, peep2_find_free_register): Likewise.
27885 * reload.c (push_secondary_reload, scratch_reload_class): Likewise.
27886 (find_reloads, alternative_allows_const_pool_ref): Likewise.
27887 * reload1.c (maybe_fix_stack_asms): Likewise.
27888 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
27889 * targhooks.c (default_secondary_reload): Likewise.
27890 * config/m32c/m32c.c (m32c_matches_constraint_p): Avoid reference
27891 to EXTRA_CONSTRAINT_STR.
27892 * config/sparc/constraints.md (U): Likewise REG_CLASS_FROM_CONSTRAINT.
27894 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
27896 * genpreds.c (write_constraint_satisfied_p_1): Replace with...
27897 (write_constraint_satisfied_p_array): ...this new function.
27898 (write_tm_preds_h): Replace write_constraint_satisfied_p_1 with
27900 (write_insn_preds_c): Update accordingly.
27902 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
27904 * genpreds.c (write_lookup_constraint): Rename to...
27905 (write_lookup_constraint_1): ...this.
27906 (write_lookup_constraint_array): New function.
27907 (write_tm_preds_h): Define lookup_constraint as an inline function
27908 that uses write_lookup_constraint_array where possible.
27909 (write_insn_preds_c): Update for the changes above.
27911 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
27913 * doc/md.texi (regclass_for_constraint): Rename to...
27914 (reg_class_for_constraint): ...this.
27915 * genpreds.c (num_constraints, enum_order, register_start)
27916 (register_end, satisfied_start, memory_start, memory_end)
27917 (address_start, address_end): New variables.
27918 (add_constraint): Count the number of constraints.
27919 (choose_enum_order): New function.
27920 (write_enum_constraint_num): Iterate over enum_order.
27921 (write_regclass_for_constraint): Rename to...
27922 (write_reg_class_for_constraint_1): ...this and update output
27924 (write_constraint_satisfied_p): Rename to...
27925 (write_constraint_satisfied_p_1): ...this and update output
27926 accordingly. Do nothing if all extra constraints are register
27928 (write_insn_extra_memory_constraint): Delete.
27929 (write_insn_extra_address_constraint): Delete.
27930 (write_range_function): New function.
27931 (write_tm_preds_h): Define constraint_satisfied_p and
27932 reg_class_for_constraint as inline functions that do a range check
27933 before calling the out-of-line function. Use write_range_function
27934 to implement insn_extra_{register,memory,address}_constraint,
27935 the first of which is new.
27936 (write_insn_preds_c): Update after above changes to write_* functions.
27937 (main): Call choose_enum_order.
27939 2014-06-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
27941 PR tree-optimization/61306
27942 * tree-ssa-math-opts.c (struct symbolic_number): Store type of
27943 expression instead of its size.
27944 (do_shift_rotate): Adapt to change in struct symbolic_number. Return
27945 false to prevent optimization when the result is unpredictable due to
27946 arithmetic right shift of signed type with highest byte is set.
27947 (verify_symbolic_number_p): Adapt to change in struct symbolic_number.
27948 (init_symbolic_number): Likewise.
27949 (find_bswap_or_nop_1): Likewise. Return NULL to prevent optimization
27950 when the result is unpredictable due to sign extension.
27952 2014-06-11 Terry Guo <terry.guo@arm.com>
27954 * config/arm/arm.md (*thumb1_adddi3): Move into new file thumb1.md.
27955 (*thumb1_addsi3): Ditto.
27956 (*thumb_subdi3): Ditto.
27957 (thumb1_subsi3_insn): Ditto.
27958 (*thumb_mulsi3): Ditto.
27959 (*thumb_mulsi3_v6): Ditto.
27960 (*thumb1_andsi3_insn): Ditto.
27961 (thumb1_bicsi3): Ditto.
27962 (*thumb1_iorsi3_insn): Ditto.
27963 (*thumb1_xorsi3_insn): Ditto.
27964 (*thumb1_ashlsi3): Ditto.
27965 (*thumb1_ashrsi3): Ditto.
27966 (*thumb1_lshrsi3): Ditto.
27967 (*thumb1_rotrsi3): Ditto.
27968 (*thumb1_negdi2): Ditto.
27969 (*thumb1_negsi2): Ditto.
27970 (*thumb1_abssi2): Ditto.
27971 (*thumb1_neg_abssi2): Ditto.
27972 (*thumb1_one_cmplsi2): Ditto.
27973 (*thumb1_zero_extendhisi2): Ditto.
27974 (*thumb1_zero_extendqisi2): Ditto.
27975 (*thumb1_zero_extendqisi2_v6): Ditto.
27976 (thumb1_extendhisi2): Ditto.
27977 (thumb1_extendqisi2): Ditto.
27978 (*thumb1_movdi_insn): Ditto.
27979 (*thumb1_movsi_insn): Ditto.
27980 (*thumb1_movhi_insn): Ditto.
27981 (thumb_movhi_clobber): Ditto.
27982 (*thumb1_movqi_insn): Ditto.
27983 (*thumb1_movhf): Ditto.
27984 (*thumb1_movsf_insn): Ditto.
27985 (*thumb_movdf_insn): Ditto.
27986 (movmem12b): Ditto.
27988 (cbranchqi4): Ditto.
27989 (cbranchsi4_insn): Ditto.
27990 (cbranchsi4_scratch): Ditto.
27991 (*negated_cbranchsi4): Ditto.
27992 (*tbit_cbranch): Ditto.
27993 (*tlobits_cbranch): Ditto.
27994 (*tstsi3_cbranch): Ditto.
27995 (*cbranchne_decr1): Ditto.
27996 (*addsi3_cbranch): Ditto.
27997 (*addsi3_cbranch_scratch): Ditto.
27998 (*thumb_cmpdi_zero): Ditto.
27999 (cstoresi_eq0_thumb1): Ditto.
28000 (cstoresi_ne0_thumb1): Ditto.
28001 (*cstoresi_eq0_thumb1_insn): Ditto.
28002 (*cstoresi_ne0_thumb1_insn): Ditto.
28003 (cstoresi_nltu_thumb1): Ditto.
28004 (cstoresi_ltu_thumb1): Ditto.
28005 (thumb1_addsi3_addgeu): Ditto.
28006 (*thumb_jump): Ditto.
28007 (*call_reg_thumb1_v5): Ditto.
28008 (*call_reg_thumb1): Ditto.
28009 (*call_value_reg_thumb1_v5): Ditto.
28010 (*call_value_reg_thumb1): Ditto.
28011 (*call_insn): Ditto.
28012 (*call_value_insn): Ditto.
28013 (thumb1_casesi_internal_pic): Ditto.
28014 (thumb1_casesi_dispatch): Ditto.
28015 (*thumb1_indirect_jump): Ditto.
28016 (prologue_thumb1_interwork): Ditto.
28017 (*epilogue_insns): Ditto.
28018 (consttable_1): Ditto.
28019 (consttable_2): Ditto.
28020 (tablejump): Ditto.
28021 (*thumb1_tablejump): Ditto.
28022 (thumb_eh_return): Ditto.
28023 (define_peephole2): Two of them are thumb1 only and got moved into
28024 new file thumb1.md.
28025 (define_split): Six of them are thumb1 only and got moved into new
28027 * config/arm/thumb1.md: New file comprised of above thumb1 only
28030 2014-06-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
28032 * config.gcc (aarch64*-*-*): Add arm_acle.h to extra headers.
28033 * Makefile.in (TEXI_GCC_FILES): Add aarch64-acle-intrinsics.texi to
28035 * config/aarch64/aarch64-builtins.c (AARCH64_CRC32_BUILTINS): Define.
28036 (aarch64_crc_builtin_datum): New struct.
28037 (aarch64_crc_builtin_data): New.
28038 (aarch64_init_crc32_builtins): New function.
28039 (aarch64_init_builtins): Initialise CRC32 builtins when appropriate.
28040 (aarch64_crc32_expand_builtin): New.
28041 (aarch64_expand_builtin): Add CRC32 builtin expansion case.
28042 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
28043 __ARM_FEATURE_CRC32 when appropriate.
28044 (TARGET_CRC32): Define.
28045 * config/aarch64/aarch64.md (UNSPEC_CRC32B, UNSPEC_CRC32H,
28046 UNSPEC_CRC32W, UNSPEC_CRC32X, UNSPEC_CRC32CB, UNSPEC_CRC32CH,
28047 UNSPEC_CRC32CW, UNSPEC_CRC32CX): New unspec values.
28048 (aarch64_<crc_variant>): New pattern.
28049 * config/aarch64/arm_acle.h: New file.
28050 * config/aarch64/iterators.md (CRC): New int iterator.
28051 (crc_variant, crc_mode): New int attributes.
28052 * doc/aarch64-acle-intrinsics.texi: New file.
28053 * doc/extend.texi (aarch64): Document aarch64 ACLE intrinsics.
28054 Include aarch64-acle-intrinsics.texi.
28056 2014-06-11 Evgeny Stupachenko <evstupac@gmail.com>
28058 * tree-vect-data-refs.c (vect_grouped_store_supported): New
28059 check for stores group of length 3.
28060 (vect_permute_store_chain): New permutations for stores group of
28062 * tree-vect-stmts.c (vect_model_store_cost): Change cost
28063 of vec_perm_shuffle for the new permutations.
28065 2014-06-11 Jan Hubicka <hubicka@ucw.cz>
28067 * ipa-visibility.c (function_and_variable_visibility): Disable virtual
28068 table rewriting temporarily on targets not supporting ONE_ONLY.
28070 2014-06-11 Richard Biener <rguenther@suse.de>
28072 PR middle-end/61437
28074 2014-06-04 Richard Biener <rguenther@suse.de>
28076 * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
28077 TREE_PUBLIC and DECL_EXTERNAL decls.
28079 2014-06-10 Jan Hubicka <hubicka@ucw.cz>
28081 * varasm.c (set_implicit_section): New function.
28082 (resolve_unique_section): Use it to set implicit section
28084 (get_named_text_section): Use symtab_get_node (decl)->implicit_section
28085 (default_function_section): Likewise.
28086 (decl_binds_to_current_def_p): Constify argument.
28087 * varasm.h (decl_binds_to_current_def_p): Update prototype.
28088 * asan.c (asan_protect_global): Use
28089 symtab_get_node (decl)->implicit_section.
28090 * symtab.c (dump_symtab_base): Dump implicit sections.
28091 (verify_symtab_base): Verify sanity of sectoins and comdats.
28092 (symtab_resolve_alias): Alias share the section of its target.
28093 (set_section_1): New function.
28094 (symtab_node::set_section): Move here, recurse to aliases.
28095 (verify_symtab): Check for duplicated symtab lists.
28096 * tree-core.h (implicit_section_name_p): Remove.
28097 * tree-vect-data-refs.c: Include varasm.h.
28098 (vect_can_force_dr_alignment_p): Fix conditional on when
28099 decl bints to current definition; use
28100 symtab_get_node (decl)->implicit_section.
28101 * cgraph.c (cgraph_make_node_local_1): Fix section set.
28102 * cgraph.h (struct symtab_node): Add implicit_section.
28103 (set_section): Rename to ...
28104 (set_section_for_node): ... this one.
28105 (set_section): Declare.
28106 * tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): Remove.
28107 * lto-cgraph.c (lto_output_node, lto_output_varpool_node,
28108 input_overwrite_node, input_varpool_node): Stream implicit_section.
28109 * ipa.c (symtab_remove_unreachable_nodes): Do not check symtab before
28110 removal; it will fail in LTO.
28112 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
28114 * config/aarch64/aarch64-simd.md (move_lo_quad_<mode>):
28115 Change second alternative type to f_mcr.
28116 * config/aarch64/aarch64.md (*movsi_aarch64): Change 11th
28117 and 12th alternatives' types to f_mcr and f_mrc.
28118 (*movdi_aarch64): Same for 12th and 13th alternatives.
28119 (*movsf_aarch64): Change 9th alternatives' type to mov_reg.
28120 (aarch64_movtilow_tilow): Change type to fmov.
28122 2014-06-10 Jiong Wang <jiong.wang@arm.com>
28124 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs)
28125 (aarch64_save_or_restore_callee_save_registers): Fix layout.
28127 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
28129 * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_lane<mode>):
28131 (aarch64_sqrdmulh_lane<mode>): Likewise.
28132 (aarch64_sq<r>dmulh_lane<mode>): Rename to...
28133 (aarch64_sq<r>dmulh_lane<mode>_internal): ...this.
28134 (aarch64_sqdmulh_laneq<mode>): New expander.
28135 (aarch64_sqrdmulh_laneq<mode>): Likewise.
28136 (aarch64_sq<r>dmulh_laneq<mode>): Rename to...
28137 (aarch64_sq<r>dmulh_laneq<mode>_internal): ...this.
28138 (aarch64_sqdmulh_lane<mode>): New expander.
28139 (aarch64_sqrdmulh_lane<mode>): Likewise.
28140 (aarch64_sq<r>dmulh_lane<mode>): Rename to...
28141 (aarch64_sq<r>dmulh_lane<mode>_internal): ...this.
28142 (aarch64_sqdmlal_lane<mode>): Add lane flip for big-endian.
28143 (aarch64_sqdmlal_laneq<mode>): Likewise.
28144 (aarch64_sqdmlsl_lane<mode>): Likewise.
28145 (aarch64_sqdmlsl_laneq<mode>): Likewise.
28146 (aarch64_sqdmlal2_lane<mode>): Likewise.
28147 (aarch64_sqdmlal2_laneq<mode>): Likewise.
28148 (aarch64_sqdmlsl2_lane<mode>): Likewise.
28149 (aarch64_sqdmlsl2_laneq<mode>): Likewise.
28150 (aarch64_sqdmull_lane<mode>): Likewise.
28151 (aarch64_sqdmull_laneq<mode>): Likewise.
28152 (aarch64_sqdmull2_lane<mode>): Likewise.
28153 (aarch64_sqdmull2_laneq<mode>): Likewise.
28155 2014-06-10 Richard Biener <rguenther@suse.de>
28157 PR tree-optimization/61438
28158 * tree-ssa-pre.c (eliminate_dom_walker): Add do_pre member.
28159 (eliminate_dom_walker::before_dom_children): Only try to inhibit
28160 insertion of IVs if running PRE.
28161 (eliminate): Adjust.
28162 (pass_pre::execute): Likewise.
28163 (pass_fre::execute): Likewise.
28165 2014-06-10 Richard Biener <rguenther@suse.de>
28167 PR middle-end/61456
28168 * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p):
28169 Do not use the main variant for the type comparison.
28170 (ncr_compar): Likewise.
28171 (nonoverlapping_component_refs_p): Likewise.
28173 2014-06-10 Marcus Shawcroft <marcus.shawcroft@arm.com>
28175 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Fix
28176 REG_CFA_RESTORE mode.
28178 2014-06-10 Evgeny Stupachenko <evstupac@gmail.com>
28180 * config/i386/i386.c (expand_vec_perm_pblendv): New.
28181 * config/i386/i386.c (ix86_expand_vec_perm_const_1): Use
28182 expand_vec_perm_pblendv.
28184 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
28186 * doc/arm-acle-intrinsics.texi: Specify when CRC32 intrinsics are
28188 Simplify description of __crc32d and __crc32cd intrinsics.
28189 * doc/extend.texi (ARM ACLE Intrinsics): Remove comment about CRC32
28192 2014-06-10 Thomas Schwinge <thomas@codesourcery.com>
28195 * configure.ac: Use gcc_AC_CHECK_DECLS to check for strnlen prototype.
28196 * config.in: Regenerate.
28197 * configure: Likewise.
28199 2014-06-10 Jan Hubicka <hubicka@ucw.cz>
28201 * ipa-reference.c (is_proper_for_analysis): Exclude addressable
28203 (intersect_static_var_sets): Remove.
28204 (propagate): Do not prune local statics.
28206 2014-06-10 Jakub Jelinek <jakub@redhat.com>
28209 * omp-low.c (lower_rec_input_clauses) <case OMP_CLAUSE_LASTPRIVATE>:
28210 Set lastprivate_firstprivate even if omp_private_outer_ref
28211 langhook returns true.
28212 <case OMP_CLAUSE_REDUCTION>: When calling omp_clause_default_ctor
28213 langhook, call unshare_expr on new_var and call
28214 build_outer_var_ref to get the last argument.
28216 2014-06-10 Marek Polacek <polacek@redhat.com>
28219 * doc/extend.texi: Add cindex for transparent_union.
28221 2014-06-09 Thomas Preud'homme <thomas.preudhomme@arm.com>
28223 * tree-ssa-math-opts.c (find_bswap_or_nop_load): Check return value of
28224 init_symbolic_number ().
28226 2014-05-18 John David Anglin <danglin@gcc.gnu.org>
28228 PR middle-end/61141
28229 * emit-rtl.c (reset_all_used_flags): In a sequence, check that
28230 XVECEXP (pat, 0, i) is an INSN before calling reset_insn_used_flags.
28231 (verify_rtl_sharing): Likewise.
28233 2014-06-09 Marc Glisse <marc.glisse@inria.fr>
28236 * tree.c (build_qualified_type): Use a canonical type for
28239 2014-06-09 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
28241 * config/arm/arm-modes.def: Remove XFmode.
28243 2014-06-09 Alan Lawrence <alan.lawrence@arm.com>
28246 * config/arm/arm_neon.h (vtrn_s8, vtrn_s16, vtrn_u8, vtrn_u16, vtrn_p8,
28247 vtrn_p16, vtrn_s32, vtrn_f32, vtrn_u32, vtrnq_s8, vtrnq_s16, vtrnq_s32,
28248 vtrnq_f32, vtrnq_u8, vtrnq_u16, vtrnq_u32, vtrnq_p8, vtrnq_p16,
28249 vzip_s8, vzip_s16, vzip_u8, vzip_u16, vzip_p8, vzip_p16, vzip_s32,
28250 vzip_f32, vzip_u32, vzipq_s8, vzipq_s16, vzipq_s32, vzipq_f32,
28251 vzipq_u8, vzipq_u16, vzipq_u32, vzipq_p8, vzipq_p16, vuzp_s8, vuzp_s16,
28252 vuzp_s32, vuzp_f32, vuzp_u8, vuzp_u16, vuzp_u32, vuzp_p8, vuzp_p16,
28253 vuzpq_s8, vuzpq_s16, vuzpq_s32, vuzpq_f32, vuzpq_u8, vuzpq_u16,
28254 vuzpq_u32, vuzpq_p8, vuzpq_p16): Correct mask for bigendian.
28256 2014-06-09 Jan Hubicka <hubicka@ucw.cz>
28258 * tree-core.h (tree_decl_with_vis): Remove section_name.
28260 2014-06-09 Kito Cheng <kito@0xlab.org>
28262 * ira.c (ira): Don't call init_caller_save if LRA enabled
28263 since LRA use its own infrastructure to handle that.
28265 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
28267 * symtab.c (dump_symtab_base): Update dumping.
28268 (symtab_make_decl_local): Clear only DECL_COMDAT.
28269 * tree-vect-data-refs.c (Check that variable is static before
28270 tampering with sections.
28271 * cgraphclones.c (duplicate_thunk_for_node): Do not clear section name.
28272 (cgraph_create_virtual_clone): Likewise.
28273 * tree.c (decl_comdat_group, decl_comdat_group_id): Constify argument.
28274 (decl_section_name, set_decl_section_name): New accessors.
28275 (find_decls_types_r): Do not walk section name
28276 * tree.h (DECL_SECTION_NAME): Implement using decl_section_name.
28277 (decl_comdat_group, decl_comdat_group_id): Constify.
28278 (decl_section_name, set_decl_section_name): Update.
28279 * varpool.c (varpool_finalize_named_section_flags): Use get_section.
28280 * cgraph.c (cgraph_add_thunk): Reset node instead of rebuilding.
28281 (cgraph_make_node_local_1): Clear section and comdat group.
28282 * cgraph.h (set_comdat_group): Sanity check.
28283 (get_section, set_section): New.
28284 * ipa-comdats.c (ipa_comdats): Use get_section.
28285 * ipa.c (ipa_discover_readonly_nonaddressable_var): Likewise.
28286 * lto-streamer-out.c: Do not follow section names.
28287 * c-family/c-common.c (handle_section_attribute): Update.
28288 * lto-cgraph.c (lto_output_node): Output section.
28289 (lto_output_varpool_node): Likewise.
28290 (read_comdat_group): Rename to ...
28291 (read_identifier): ... this one.
28292 (read_string_cst): New function.
28293 (input_node, input_varpool_node): Input section names.
28294 * tree-emutls.c (get_emutls_init_templ_addr): Update.
28295 (new_emutls_decl): Update.
28296 (secname_for_decl): Check section names only of static vars.
28297 * config/mep/mep.c (mep_unique_section): Use set_decl_section_name.
28298 * config/i386/winnt.c (i386_pe_unique_section): Likewise.
28299 * config/i386/i386.c (x86_64_elf_unique_section): Likewise.
28300 * config/c6x/c6x.c (c6x_elf_unique_section): Likewise.
28301 * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Likewise.
28302 * config/mcore/mcore.c (mcore_unique_section): Likewise.
28303 * config/mips/mips.c (mips16_build_function_stub): Likewise.
28304 * config/v850/v850.c (v850_insert_attributes): Likewise.
28305 * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute):
28307 (h8300_handle_tiny_data_attribute): Likewise.
28308 * config/bfin/bfin.c (bfin_handle_l1_text_attribute): Likewise.
28309 (bfin_handle_l2_attribute): Likewise.
28311 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
28313 * symtab.c (symtab_nonoverwritable_alias): Copy VIRTUAL flag;
28314 remove static initializer.
28316 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
28318 * varasm.c (use_blocks_for_decl_p): Check symbol table
28319 instead of alias attribute.
28320 (place_block_symbol): Recurse on aliases.
28322 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
28324 * ipa-visibility.c: Include varasm.h
28325 (can_replace_by_local_alias): Ceck decl_binds_to_current_def_p.
28327 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
28329 * cgraphunit.c (assemble_thunks_and_aliases): Expand thunks before
28330 outputting aliases.
28332 2014-06-07 Steven Bosscher <steven@gcc.gnu.org>
28334 * gcse.c (can_assign_to_reg_without_clobbers_p): Do not let pointers
28335 from test_insn into GGC space escape via SET_SRC.
28337 2014-06-07 Eric Botcazou <ebotcazou@adacore.com>
28339 * tree-ssa-tail-merge.c (same_succ_hash): Hash the static chain of a
28340 call statement, if any.
28341 (gimple_equal_p) <GIMPLE_CALL>: Compare the static chain of the call
28342 statements, if any. Tidy up.
28344 2014-06-06 Michael Meissner <meissner@linux.vnet.ibm.com>
28347 * config/rs6000/vsx.md (VSX_LE): Split VSX_D into 2 separate
28348 iterators, VSX_D that handles 64-bit types, and VSX_LE that
28349 handles swapping the two 64-bit double words on little endian
28350 systems. Include V1TImode and optionally TImode in VSX_LE so that
28351 these types are properly swapped. Change all of the insns and
28352 splits that do the 64-bit swaps to use VSX_LE.
28353 (vsx_le_perm_load_<mode>): Likewise.
28354 (vsx_le_perm_store_<mode>): Likewise.
28355 (splitters for little endian memory operations): Likewise.
28356 (vsx_xxpermdi2_le_<mode>): Likewise.
28357 (vsx_lxvd2x2_le_<mode>): Likewise.
28358 (vsx_stxvd2x2_le_<mode>): Likewise.
28360 2014-06-06 Uros Bizjak <ubizjak@gmail.com>
28363 * config/i386/i386.md (*floatunssi<mode>2_i387_with_xmm): New
28364 define_insn_and_split pattern, merged from *floatunssi<mode>2_1
28365 and corresponding splitters. Zero extend general register
28366 or memory input operand to XMM temporary. Enable for
28367 TARGET_SSE2 and TARGET_INTER_UNIT_MOVES_TO_VEC only.
28368 (floatunssi<mode>2): Update expander predicate.
28370 2014-06-06 Vladimir Makarov <vmakarov@redhat.com>
28372 PR rtl-optimization/61325
28373 * lra-constraints.c (process_address_1): Check scale equal to one
28374 to prevent transformation: base + scale * index => base + new_reg.
28376 2014-06-06 Richard Biener <rguenther@suse.de>
28378 PR tree-optimization/59299
28379 * tree-ssa-sink.c (all_immediate_uses_same_place): Work on
28381 (nearest_common_dominator_of_uses): Likewise.
28382 (statement_sink_location): Adjust. Support sinking loads.
28384 2014-06-06 Martin Jambor <mjambor@suse.cz>
28386 * ipa-prop.c (get_place_in_agg_contents_list): New function.
28387 (build_agg_jump_func_from_list): Likewise.
28388 (determine_known_aggregate_parts): Renamed to
28389 determine_locally_known_aggregate_parts. Moved some functionality
28390 to the two functions above, removed bound checks.
28392 2014-06-06 James Greenhalgh <james.greenhalgh@arm.com>
28394 * config/aarch64/aarch64-protos.h (aarch64_expand_movmem): New.
28395 * config/aarch64/aarch64.c (aarch64_move_pointer): New.
28396 (aarch64_progress_pointer): Likewise.
28397 (aarch64_copy_one_part_and_move_pointers): Likewise.
28398 (aarch64_expand_movmen): Likewise.
28399 * config/aarch64/aarch64.h (MOVE_RATIO): Set low.
28400 * config/aarch64/aarch64.md (movmem<mode>): New.
28402 2014-06-06 Bingfeng Mei <bmei@broadcom.com>
28404 * targhooks.c (default_add_stmt_cost): Call target specific
28405 hook instead of default one.
28407 2014-06-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
28409 * ChangeLog (2014-05-23): Fix ChangeLog entry to refer to target
28410 endianness instead of host endianness.
28411 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Likewise in dumps and
28414 2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
28417 * function.c (instantiate_decls): Process the saved static chain.
28418 (expand_function_start): If not optimizing, save the static chain
28420 * tree-nested.c (convert_all_function_calls): Always create the static
28421 chain for nested functions if not optimizing.
28423 2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
28425 * tree-cfg.c (make_edges) <GIMPLE_RETURN>: Put a location on the edge.
28427 2014-06-06 Richard Biener <rguenther@suse.de>
28429 * cfgexpand.c (expand_gimple_cond): Remove check for current_loops.
28430 (construct_init_block): Likewise.
28431 (construct_exit_block): Likewise.
28432 (pass_expand::execute): Likewise.
28433 * graphite.c (graphite_transforms): Replace check for current_loops
28434 with a check for > 1 loops.
28435 (pass_graphite_transforms::execute): Adjust.
28436 * ipa-split.c (split_function): Remove check for current_loops.
28437 * omp-low.c (expand_parallel_call): Likewise.
28438 (expand_omp_for_init_counts): Likewise.
28439 (extract_omp_for_update_vars): Likewise.
28440 (expand_omp_for_generic): Likewise.
28441 (expand_omp_sections): Likewise.
28442 (expand_omp_target): Likewise.
28443 * tracer.c (tail_duplicate): Likewise.
28444 (pass_tracer::execute): Likewise.
28445 * trans-mem.c (expand_transaction): Likewise.
28446 * tree-complex.c (expand_complex_div_wide): Likewise.
28447 * tree-eh.c (lower_resx): Likewise.
28448 (cleanup_empty_eh_merge_phis): Likewise.
28449 * tree-predcom.c (run_tree_predictive_commoning): Replace check for
28450 current_loops with a check for > 1 loops.
28451 (pass_predcom::execute): Adjust.
28452 * tree-scalar-evolution.c (scev_reset): Remove check for current_loops.
28453 * tree-ssa-copy.c (copy_prop_visit_phi_node): Likewise.
28454 * tree-ssa-dom.c (pass_phi_only_cprop::execute): Likewise.
28455 * tree-ssa-tail-merge.c (tail_merge_optimize): Likewise.
28456 * tree-ssa-threadupdate.c (thread_through_all_blocks): Likewise.
28457 * tree-switch-conversion.c (process_switch): Likewise.
28458 * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.
28459 * tree-vrp.c (vrp_visit_phi_node): Likewise.
28460 (execute_vrp): Likewise.
28461 * ubsan.c (ubsan_expand_null_ifn): Likewise.
28463 2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
28465 * rtl.h (insn_location): Declare.
28466 * cfgcleanup.c (try_forward_edges): Compare the locus of locations
28467 with UNKNOWN_LOCATION.
28468 * emit-rtl.c (insn_location): New function.
28469 * final.c (notice_source_line): Check that the instruction has a
28470 location before retrieving it and use insn_location.
28471 * modulo-sched.c (loop_single_full_bb_p): Likewise.
28472 * print-rtl.c (print_rtx): Likewise.
28474 2014-06-06 Richard Biener <rguenther@suse.de>
28476 * passes.def: Move 2nd VRP pass before phi-only-cprop.
28478 2014-06-06 Christian Bruel <christian.bruel@st.com>
28480 PR tree-optimization/43934
28481 * tree-ssa-loop-im.c (determine_max_movement): Add PHI def constant
28484 2014-06-06 Richard Sandiford <rdsandiford@googlemail.com>
28486 * ira-lives.c (single_reg_class): Add missing break. Explicitly
28487 return NO_REGS for extra address and memory constraints. Handle
28488 operands that match (or are equivalent to something that matches)
28489 extra constant constraints. Ignore other non-register operands.
28491 2014-06-06 Alan Modra <amodra@gmail.com>
28494 * doc/tm.texi.in (INCOMING_REG_PARM_STACK_SPACE): Document.
28495 * doc/tm.texi: Regenerate.
28496 * function.c (INCOMING_REG_PARM_STACK_SPACE): Provide default.
28497 Use throughout in place of REG_PARM_STACK_SPACE.
28498 * config/rs6000/rs6000.c (rs6000_reg_parm_stack_space): Add
28499 "incoming" param. Pass to rs6000_function_parms_need_stack.
28500 (rs6000_function_parms_need_stack): Add "incoming" param, ignore
28501 prototype_p when incoming. Use function decl when incoming
28502 to handle K&R style functions.
28503 * config/rs6000/rs6000.h (REG_PARM_STACK_SPACE): Adjust.
28504 (INCOMING_REG_PARM_STACK_SPACE): Define.
28506 2014-06-05 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
28509 * cfgexpand.c (expand_debug_expr): Use address space of nested
28510 TREE_TYPE for ADDR_EXPR and MEM_REF.
28512 2014-06-05 Jeff Law <law@redhat.com>
28514 PR tree-optimization/61289
28515 * tree-ssa-threadedge.c (invalidate_equivalences): Remove SRC_MAP and
28516 DST_MAP parameters. Invalidate by walking all the SSA_NAME_VALUES
28517 looking for those which match LHS. All callers changed.
28518 (record_temporary_equivalences_from_phis): Remove SRC_MAP and DST_MAP
28519 parameters and code which manipulated them. All callers changed.
28520 (record_temporary_equivalences_from_stmts_at_dest): Remove SRC_MAP
28521 and DST_MAP parameters. Simplify invalidation code by just calling
28522 invalidate_equivalences. All callers changed.
28523 (thread_across_edge): Simplify now that we don't need to maintain
28524 the map of equivalences to invalidate.
28526 2014-06-05 Kai Tietz <ktietz@redhat.com>
28527 Richard Henderson <rth@redhat.com>
28530 * config/i386/predicates.md (memory_nox32_operand): Add memory_operand
28531 checking for !TARGET_X32.
28532 * config/i386/i386.md (UNSPEC_PEEPSIB): New unspec constant.
28533 (sibcall_intern): New define_insn, plus required peepholes.
28534 (sibcall_pop_intern): Likewise.
28535 (sibcall_value_intern): Likewise.
28536 (sibcall_value_pop_intern): Likewise.
28538 2014-06-05 Ilya Enkovich <ilya.enkovich@intel.com>
28540 * tree-inline.c (tree_function_versioning): Check DF info existence
28541 before accessing it.
28543 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
28545 * config/aarch64/aarch64.h (aarch64_frame): Add hard_fp_offset and
28547 * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize
28548 aarch64_frame hard_fp_offset and frame_size.
28549 (aarch64_expand_prologue): Use aarch64_frame hard_fp_offset and
28550 frame_size; remove original_frame_size.
28551 (aarch64_expand_epilogue, aarch64_final_eh_return_addr): Likewise.
28552 (aarch64_initial_elimination_offset): Remove frame_size and
28553 offset. Use aarch64_frame frame_size.
28555 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
28556 Jiong Wang <jiong.wang@arm.com>
28557 Renlin <renlin.li@arm.com>
28559 * config/aarch64/aarch64.c (aarch64_layout_frame): Correct
28560 initialization of R30 offset. Update offset. Iterate core
28561 regisers upto X30. Remove X29, X30 specific code.
28563 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
28564 Jiong Wang <jiong.wang@arm.com>
28566 * config/aarch64/aarch64.c (SLOT_NOT_REQUIRED, SLOT_REQUIRED): Define.
28567 (aarch64_layout_frame): Use SLOT_NOT_REQUIRED and SLOT_REQUIRED.
28568 (aarch64_register_saved_on_entry): Adjust test.
28570 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
28572 * config/aarch64/aarch64.h (machine_function): Move
28573 saved_varargs_size from here...
28574 (aarch64_frame): ... to here.
28576 * config/aarch64/aarch64.c (aarch64_expand_prologue)
28577 (aarch64_expand_epilogue, aarch64_final_eh_return_addr)
28578 (aarch64_initial_elimination_offset)
28579 (aarch64_setup_incoming_varargs): Adjust location of
28580 saved_varargs_size.
28582 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
28584 * config/aarch64/aarch64.c (aarch64_expand_prologue): Update stack
28587 2014-06-05 Jaydeep Patil <Jaydeep.Patil@imgtec.com>
28588 Prachi Godbole <Prachi.Godbole@imgtec.com>
28590 * config/mips/mips-cpus.def: Add definition for p5600. Updated
28591 mips32r5 entry to use PROCESSOR_P5600.
28592 * config/mips/mips-tables.opt: Regenerate.
28593 * config/mips/mips-protos.h (mips_fmadd_bypass): Add prototype.
28594 * config/mips/mips.c (mips_fmadd_bypass): New function.
28595 (mips_rtx_cost_data): Add costs for p5600.
28596 (mips_issue_rate): Add support for p5600.
28597 (mips_multipass_dfa_lookahead): Likewise.
28598 * config/mips/mips.h (TUNE_P5600): New define.
28599 (TUNE_MACC_CHAINS): Add TUNE_P5600.
28600 (MIPS_ISA_LEVEL_SPEC): Map -march=p5600 to -mips32r5.
28601 * config/mips/mips.md: Include p5600.md.
28602 (processor): Add p5600.
28603 * config/mips/p5600.md: New file.
28605 2014-06-05 Evgeny Stupachenko <evstupac@gmail.com>
28607 * config/i386/sse.md (*ssse3_palignr<mode>_perm): New.
28608 * config/i386/predicates.md (palignr_operand): New.
28609 Indicates if permutation is suitable for palignr instruction.
28611 2014-06-05 Yuri Rumyantsev <ysrumyan@gmail.com>
28613 PR tree-optimization/61319
28614 * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
28615 stmt belongs to loop.
28617 2014-06-05 Richard Biener <rguenther@suse.de>
28619 * gimplify.c (create_tmp_from_val): Remove is_formal parameter
28620 and set DECL_GIMPLE_REG_P unconditionally if appropriate.
28621 (lookup_tmp_var): Adjust.
28622 (prepare_gimple_addressable): Unset DECL_GIMPLE_REG_P here.
28624 2014-06-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
28626 * config/arm/arm.md (enabled): Disable opt_enabled attribute.
28628 2014-06-05 Marek Polacek <polacek@redhat.com>
28631 * doc/invoke.texi: Document -Wlogical-not-parentheses.
28633 2014-06-04 Tom de Vries <tom@codesourcery.com>
28635 * config/s390/s390.md ("addptrdi3", "addptrsi3"): Use INTVAL only on
28638 2014-06-04 Marc Glisse <marc.glisse@inria.fr>
28640 PR tree-optimization/61385
28641 * tree-ssa-phiopt.c (value_replacement): Punt if there are PHI nodes.
28643 2014-06-04 Bernd Schmidt <bernds@codesourcery.com>
28645 * lto-wrapper.c (fatal, fatal_perror): Remove functions. All callers
28646 changed to use fatal_error.
28647 (main): Ensure lto_wrapper_cleanup is run atexit.
28649 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
28651 * lra-constraints.c (valid_address_p): Move earlier in file.
28652 (address_eliminator): New structure.
28653 (satisfies_memory_constraint_p): New function.
28654 (satisfies_address_constraint_p): Likewise.
28655 (process_alt_operands, process_address, curr_insn_transform): Use them.
28657 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
28659 * lra-int.h (lra_static_insn_data): Make operand_alternative a
28661 (target_lra_int, default_target_lra_int, this_target_lra_int)
28662 (op_alt_data): Delete.
28663 * lra.h (lra_init): Delete.
28664 * lra.c (default_target_lra_int, this_target_lra_int): Delete.
28665 (init_insn_code_data_once): Remove op_alt_data handling.
28666 (finish_insn_code_data_once): Likewise.
28667 (init_op_alt_data): Delete.
28668 (get_static_insn_data): Initialize operand_alternative to null.
28669 (free_insn_recog_data): Cast operand_alternative before freeing it.
28670 (setup_operand_alternative): Take the operand_alternative as
28671 parameter and assume it isn't already cached in the static
28673 (lra_set_insn_recog_data): Update accordingly.
28674 (lra_init): Delete.
28675 * ira.c (ira_init): Don't call lra_init.
28676 * target-globals.h (this_target_lra_int): Declare.
28677 (target_globals): Remove lra_int.
28678 (restore_target_globals): Update accordingly.
28679 * target-globals.c: Don't include lra-int.h.
28680 (default_target_globals, save_target_globals): Remove lra_int.
28682 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
28684 * recog.h (operand_alternative): Convert reg_class, reject,
28685 matched and matches into bitfields.
28686 (preprocess_constraints): New overload.
28687 (preprocess_insn_constraints): New function.
28688 (preprocess_constraints): Take the insn as parameter.
28689 (recog_op_alt): Change into a pointer.
28690 (target_recog): Add x_op_alt.
28691 * recog.c (asm_op_alt): New variable.
28692 (recog_op_alt): Change into a pointer.
28693 (preprocess_constraints): New overload, replacing the old function
28694 definition with one that doesn't use global state.
28695 (preprocess_insn_constraints): New function.
28696 (preprocess_constraints): Use them. Take the insn as parameter.
28697 Use asm_op_alt for asms.
28698 (recog_init): Free existing x_op_alt entries.
28699 * ira-lives.c (check_and_make_def_conflict): Make operand_alternative
28701 (make_early_clobber_and_input_conflicts): Likewise.
28702 (process_bb_node_lives): Pass the insn to process_constraints.
28703 * reg-stack.c (check_asm_stack_operands): Likewise.
28704 (subst_asm_stack_regs): Likewise.
28705 * regcprop.c (copyprop_hardreg_forward_1): Likewise.
28706 * regrename.c (build_def_use): Likewise.
28707 * sched-deps.c (sched_analyze_insn): Likewise.
28708 * sel-sched.c (get_reg_class, implicit_clobber_conflict_p): Likewise.
28709 * config/arm/arm.c (xscale_sched_adjust_cost): Likewise.
28710 (note_invalid_constants): Likewise.
28711 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
28712 (ix86_legitimate_combined_insn): Make operand_alternative pointer
28715 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
28717 * recog.c (preprocess_constraints): Don't skip disabled alternatives.
28718 * ira-lives.c (check_and_make_def_conflict): Check for disabled
28720 (make_early_clobber_and_input_conflicts): Likewise.
28721 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
28723 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
28725 * recog.h (alternative_class): New function.
28726 (which_op_alt): Return a const recog_op_alt.
28727 * reg-stack.c (check_asm_stack_operands): Update type accordingly.
28728 (subst_asm_stack_regs): Likewise.
28729 * config/arm/arm.c (note_invalid_constants): Likewise.
28730 * regcprop.c (copyprop_hardreg_forward_1): Likewise. Don't modify
28731 the operand_alternative; use alternative class instead.
28732 * sel-sched.c (get_reg_class): Likewise.
28733 * regrename.c (build_def_use): Likewise.
28734 (hide_operands, restore_operands, record_out_operands): Update type
28737 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
28739 * recog.h (recog_op_alt): Convert to a flat array.
28740 (which_op_alt): New function.
28741 * recog.c (recog_op_alt): Convert to a flat array.
28742 (preprocess_constraints): Update accordingly, grouping all
28743 operands of the same alternative together, rather than the
28745 * ira-lives.c (check_and_make_def_conflict): Likewise.
28746 (make_early_clobber_and_input_conflicts): Likewise.
28747 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
28748 * reg-stack.c (check_asm_stack_operands): Use which_op_alt.
28749 (subst_asm_stack_regs): Likewise.
28750 * regcprop.c (copyprop_hardreg_forward_1): Likewise.
28751 * regrename.c (hide_operands, record_out_operands): Likewise.
28752 (build_def_use): Likewise.
28753 * sel-sched.c (get_reg_class): Likewise.
28754 * config/arm/arm.c (note_invalid_constants): Likewise.
28756 2014-06-04 Jason Merrill <jason@redhat.com>
28760 * gimplify.c (gimplify_arg): Non-static.
28761 * gimplify.h: Declare it.
28763 2014-06-04 Richard Biener <rguenther@suse.de>
28765 * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
28766 TREE_PUBLIC and DECL_EXTERNAL decls.
28768 2014-06-04 Matthew Fortune <matthew.fortune@imgtec.com>
28770 * regcprop.c (copyprop_hardreg_forward_1): Account for
28771 HARD_REGNO_CALL_PART_CLOBBERED.
28773 2014-06-04 Richard Biener <rguenther@suse.de>
28775 * configure.ac: Check whether the underlying type of int64_t
28776 is long or long long.
28777 * configure: Regenerate.
28778 * config.in: Likewise.
28779 * hwint.h (HOST_WIDE_INT): Match the underlying type of int64_t.
28780 (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
28782 2014-06-04 Richard Biener <rguenther@suse.de>
28784 PR tree-optimization/60098
28785 * tree-ssa-dse.c (dse_possible_dead_store_p): Walk until
28787 (dse_optimize_stmt): Simplify, now that we found a kill
28790 2014-06-04 Richard Biener <rguenther@suse.de>
28792 * tree-ssa-alias.c (stmt_may_clobber_ref_p): Improve handling
28793 of accesses with non-invariant address.
28795 2014-06-04 Martin Liska <mliska@suse.cz>
28797 * cgraph.h (cgraph_make_wrapper): New function introduced.
28798 * cgraphunit.c (cgraph_make_wrapper): The function implementation.
28799 * ipa-inline.h (inline_analyze_function): The function is global.
28800 * ipa-inline-analysis.c (inline_analyze_function): Likewise.
28802 2014-06-04 Martin Liska <mliska@suse.cz>
28804 * tree.h (private_lookup_attribute_starting): New function.
28805 (lookup_attribute_starting): Likewise.
28806 * tree.c (private_lookup_attribute_starting): Likewise.
28808 2014-06-04 Martin Liska <mliska@suse.cz>
28810 * cgraph.h (expand_thunk): New argument added.
28811 (address_taken_from_non_vtable_p): New global function.
28812 * ipa-visibility.c (address_taken_from_non_vtable_p): Likewise.
28813 * cgraphclones.c (duplicate_thunk_for_node): Argument added to call.
28814 * cgraphunit.c (analyze_function): Likewise.
28815 (assemble_thunks_and_aliases): Argument added to call.
28816 (expand_thunk): New argument forces to produce GIMPLE thunk.
28818 2014-06-04 Martin Liska <mliska@suse.cz>
28820 * coverage.h (coverage_compute_cfg_checksum): Argument added.
28821 * coverage.c (coverage_compute_cfg_checksum): Likewise.
28822 * profile.c (branch_prob): Likewise.
28824 2014-06-04 Martin Jambor <mjambor@suse.cz>
28827 * ipa-pure-const.c (propagate_pure_const): Add unreachable default
28828 handler for switch on an ipa_ref_use enum.
28829 * ipa-reference.c (analyze_function): Likewise.
28831 2014-06-04 Kai Tietz <ktietz@redhat.com>
28833 * recog.c (peep2_attempt): Copy SIBLING_CALL_P flag
28834 from old call-instruction.
28836 2014-06-04 Bin Cheng <bin.cheng@arm.com>
28838 * config/aarch64/aarch64.c (aarch64_classify_address)
28839 (aarch64_legitimize_reload_address): Support full addressing modes
28841 * config/aarch64/aarch64.md (mov<mode>, movmisalign<mode>)
28842 (*aarch64_simd_mov<mode>, *aarch64_simd_mov<mode>): Relax predicates.
28844 2014-06-03 Andrew Pinski <apinski@cavium.com>
28846 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Allow non comparisons
28849 2014-06-03 Andrew Pinski <apinski@cavium.com>
28851 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): New function.
28852 (aarch64_rtx_costs): Use aarch64_if_then_else_costs.
28854 2014-06-03 Kai Tietz <ktietz@redhat.com>
28856 * config/i386/i386.c (ix86_function_value_regno_p): Disallow DX_REG
28859 2014-06-03 Dehao Chen <dehao@google.com>
28861 * tree-cfg.c (gimple_merge_blocks): Only reset count when BBs are in
28864 2014-06-03 Marek Polacek <polacek@redhat.com>
28867 * doc/invoke.texi: Document -Wswitch-bool.
28868 * function.c (stack_protect_epilogue): Cast controlling expression of
28870 * gengtype.c (walk_type): Generate switch expression with its
28871 controlling expression cast to int.
28873 2014-06-03 Vishnu K S <Vishnu.k_s@atmel.com>
28875 * config/avr/avr-mcus.def: Add new avr25 devices attiny441, attiny828
28877 * config/avr/avr-tables.opt: Regenerate.
28878 * config/avr/t-multilib: Regenerate.
28879 * doc/avr-mmcu.texi: Regenerate.
28881 2014-06-03 Vishnu K S <vishnu.k_s@atmel.com>
28882 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
28884 * config/avr/avr-mcus.def (ata6616c): Add new avr25 device.
28885 (ata6617c, ata664251): Add new avr35 devices.
28886 (ata6612c): Add new avr4 device.
28887 (ata6613c, ata6614q): Add new avr5 devices.
28888 * config/avr/avr-tables.opt: Regenerate.
28889 * config/avr/t-multilib: Regenerate.
28890 * doc/avr-mmcu.texi: Regenerate.
28892 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
28894 * gcc/config/aarch64/aarch64-builtins.c
28895 (aarch64_types_binop_ssu_qualifiers): New static data.
28896 (TYPES_BINOP_SSU): Define.
28897 * gcc/config/aarch64/aarch64-simd-builtins.def (suqadd, ushl, urshl,
28898 urshr_n, ushll_n): Use appropriate unsigned qualifiers.
28899 * gcc/config/aarch64/arm_neon.h (vrshl_u8, vrshl_u16, vrshl_u32,
28900 vrshl_u64, vrshlq_u8, vrshlq_u16, vrshlq_u32, vrshlq_u64, vrshld_u64,
28901 vrshr_n_u8, vrshr_n_u16, vrshr_n_u32, vrshr_n_u64, vrshrq_n_u8,
28902 vrshrq_n_u16, vrshrq_n_u32, vrshrq_n_u64, vrshrd_n_u64, vshll_n_u8,
28903 vshll_n_u16, vshll_n_u32, vuqadd_s8, vuqadd_s16, vuqadd_s32,
28904 vuqadd_s64, vuqaddq_s8, vuqaddq_s16, vuqaddq_s32, vuqaddq_s64,
28905 vuqaddb_s8, vuqaddh_s16, vuqadds_s32, vuqaddd_s64): Add signedness
28906 suffix to builtin function name, remove cast.
28907 (vshl_s8, vshl_s16, vshl_s32, vshl_s64, vshl_u8, vshl_u16, vshl_u32,
28908 vshl_u64, vshlq_s8, vshlq_s16, vshlq_s32, vshlq_s64, vshlq_u8,
28909 vshlq_u16, vshlq_u32, vshlq_u64, vshld_s64, vshld_u64): Remove cast.
28911 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
28913 * gcc/config/aarch64/aarch64-builtins.c
28914 (aarch64_types_binop_uus_qualifiers,
28915 aarch64_types_shift_to_unsigned_qualifiers,
28916 aarch64_types_unsigned_shiftacc_qualifiers): Define.
28917 * gcc/config/aarch64/aarch64-simd-builtins.def (uqshl, uqrshl, uqadd,
28918 uqsub, usqadd, usra_n, ursra_n, uqshrn_n, uqrshrn_n, usri_n, usli_n,
28919 sqshlu_n, uqshl_n): Update qualifiers.
28920 * gcc/config/aarch64/arm_neon.h (vqadd_u8, vqadd_u16, vqadd_u32,
28921 vqadd_u64, vqaddq_u8, vqaddq_u16, vqaddq_u32, vqaddq_u64, vqsub_u8,
28922 vqsub_u16, vqsub_u32, vqsub_u64, vqsubq_u8, vqsubq_u16, vqsubq_u32,
28923 vqsubq_u64, vqaddb_u8, vqaddh_u16, vqadds_u32, vqaddd_u64, vqrshl_u8,
28924 vqrshl_u16, vqrshl_u32, vqrshl_u64, vqrshlq_u8, vqrshlq_u16,
28925 vqrshlq_u32, vqrshlq_u64, vqrshlb_u8, vqrshlh_u16, vqrshls_u32,
28926 vqrshld_u64, vqrshrn_n_u16, vqrshrn_n_u32, vqrshrn_n_u64,
28927 vqrshrnh_n_u16, vqrshrns_n_u32, vqrshrnd_n_u64, vqshl_u8, vqshl_u16,
28928 vqshl_u32, vqshl_u64, vqshlq_u8, vqshlq_u16, vqshlq_u32, vqshlq_u64,
28929 vqshlb_u8, vqshlh_u16, vqshls_u32, vqshld_u64, vqshl_n_u8, vqshl_n_u16,
28930 vqshl_n_u32, vqshl_n_u64, vqshlq_n_u8, vqshlq_n_u16, vqshlq_n_u32,
28931 vqshlq_n_u64, vqshlb_n_u8, vqshlh_n_u16, vqshls_n_u32, vqshld_n_u64,
28932 vqshlu_n_s8, vqshlu_n_s16, vqshlu_n_s32, vqshlu_n_s64, vqshluq_n_s8,
28933 vqshluq_n_s16, vqshluq_n_s32, vqshluq_n_s64, vqshlub_n_s8,
28934 vqshluh_n_s16, vqshlus_n_s32, vqshlud_n_s64, vqshrn_n_u16,
28935 vqshrn_n_u32, vqshrn_n_u64, vqshrnh_n_u16, vqshrns_n_u32,
28936 vqshrnd_n_u64, vqsubb_u8, vqsubh_u16, vqsubs_u32, vqsubd_u64,
28937 vrsra_n_u8, vrsra_n_u16, vrsra_n_u32, vrsra_n_u64, vrsraq_n_u8,
28938 vrsraq_n_u16, vrsraq_n_u32, vrsraq_n_u64, vrsrad_n_u64, vsli_n_u8,
28939 vsli_n_u16, vsli_n_u32,vsli_n_u64, vsliq_n_u8, vsliq_n_u16,
28940 vsliq_n_u32, vsliq_n_u64, vslid_n_u64, vsqadd_u8, vsqadd_u16,
28941 vsqadd_u32, vsqadd_u64, vsqaddq_u8, vsqaddq_u16, vsqaddq_u32,
28942 vsqaddq_u64, vsqaddb_u8, vsqaddh_u16, vsqadds_u32, vsqaddd_u64,
28943 vsra_n_u8, vsra_n_u16, vsra_n_u32, vsra_n_u64, vsraq_n_u8,
28944 vsraq_n_u16, vsraq_n_u32, vsraq_n_u64, vsrad_n_u64, vsri_n_u8,
28945 vsri_n_u16, vsri_n_u32, vsri_n_u64, vsriq_n_u8, vsriq_n_u16,
28946 vsriq_n_u32, vsriq_n_u64, vsrid_n_u64): Remove casts.
28948 2014-06-03 Teresa Johnson <tejohnson@google.com>
28950 * tree-sra.c (modify_function): Record caller nodes after rebuild.
28952 2014-06-02 Jason Merrill <jason@redhat.com>
28955 * varpool.c (ctor_for_folding): Handle uninitialized vtables.
28957 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
28959 * config/aarch64/aarch64.c (aarch64_evpc_ext): allow and handle
28962 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
28964 * config/aarch64/aarch64-simd.md (aarch64_rev<REVERSE:rev-op><mode>):
28966 * config/aarch64/aarch64.c (aarch64_evpc_rev): New function.
28967 (aarch64_expand_vec_perm_const_1): Add call to aarch64_evpc_rev.
28968 * config/aarch64/iterators.md (REVERSE): New iterator.
28969 (UNSPEC_REV64, UNSPEC_REV32, UNSPEC_REV16): New enum elements.
28970 (rev_op): New int_attribute.
28971 * config/aarch64/arm_neon.h (vrev16_p8, vrev16_s8, vrev16_u8,
28972 vrev16q_p8, vrev16q_s8, vrev16q_u8, vrev32_p8, vrev32_p16, vrev32_s8,
28973 vrev32_s16, vrev32_u8, vrev32_u16, vrev32q_p8, vrev32q_p16, vrev32q_s8,
28974 vrev32q_s16, vrev32q_u8, vrev32q_u16, vrev64_f32, vrev64_p8,
28975 vrev64_p16, vrev64_s8, vrev64_s16, vrev64_s32, vrev64_u8, vrev64_u16,
28976 vrev64_u32, vrev64q_f32, vrev64q_p8, vrev64q_p16, vrev64q_s8,
28977 vrev64q_s16, vrev64q_s32, vrev64q_u8, vrev64q_u16, vrev64q_u32):
28978 Replace temporary __asm__ with __builtin_shuffle.
28980 2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com>
28982 * config/mips/mips-cpus.def: Add mips32r3, mips32r5, mips64r3 and
28984 * config/mips/mips-tables.opt: Regenerate.
28985 * config/mips/mips.c (mips_compute_frame_info): Changed if statement
28986 to use mips_isa_rev rather than ISA_MIPS32R2.
28987 * config/mips/mips.h (ISA_MIPS32R3): New define.
28988 (ISA_MIPS32R5): New define.
28989 (ISA_MIPS64R3): New define.
28990 (ISA_MIPS64R5): New define.
28991 (TARGET_CPU_CPP_BUILTINS): Added support for ISA_MIPS32R3,
28992 ISA_MIPS32R5, ISA_MIPS64R3 and ISA_MIPS64R5.
28993 (MIPS_ISA_LEVEL_SPEC): Added support for mips32r3, mips32r5, mips64r3
28995 (MIPS_ISA_SYNCI_SPEC): Likewise.
28996 (ISA_HAS_64BIT_REGS): Added ISA_MIPS64R3 and ISA_MIPS64R5.
28997 (LINK_SPEC): Added mips32r3 and mips32r5.
28998 * config/mips/t-isa3264 (MULTILIB_MATCHES): Map mips32r3 and mips32r5
28999 to mips32r2; and mips64r3 and mips64r5 to mips64r2.
29000 * config/mips/t-mti-elf (MULTILIB_MATCHES): Likewise.
29001 * config/mips/t-mti-linux (MULTILIB_MATCHES): Likewise.
29002 * config/mips/t-sde (MULTILIB_MATCHES): Likewise.
29003 * config/mips/t-sdemtk (MULTILIB_MATCHES): New define.
29004 * doc/invoke.texi: Document mips32r3, mips32r5, mips64r3 and mips64r5.
29006 2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com>
29008 * doc/invoke.texi: Document -mxpa and -mno-xpa MIPS command line
29010 * config/mips/mips.opt (mxpa): New option.
29011 * config/mips/mips.h (ASM_SPEC): Pass mxpa and mno-xpa to the
29014 2014-06-03 Martin Jambor <mjambor@suse.cz>
29017 * ipa-cp.c (cgraph_edge_brings_value_p): Handle edges leading to
29020 2014-06-03 Thomas Preud'homme <thomas.preudhomme@arm.com>
29022 PR tree-optimization/61328
29023 * tree-ssa-math-opts.c (init_symbolic_number): Extract symbolic number
29024 initialization from find_bswap_or_nop_1.
29025 (find_bswap_or_nop_1): Test return value of find_bswap_or_nop_1 stored
29026 in source_expr2 before using the size value the function sets. Also
29027 make use of init_symbolic_number () in both the old place and
29028 find_bswap_or_nop_load () to avoid reading uninitialized memory when
29029 doing recursion in the GIMPLE_BINARY_RHS case.
29031 2014-06-03 Richard Biener <rguenther@suse.de>
29033 PR tree-optimization/61383
29034 * tree-ssa-ifcombine.c (bb_no_side_effects_p): Make sure
29037 2014-06-03 Richard Sandiford <rdsandiford@googlemail.com>
29039 * defaults.h (USE_MD_CONSTRAINTS, EXTRA_MEMORY_CONSTRAINT)
29040 (EXTRA_ADDRESS_CONSTRAINT, DEFAULT_CONSTRAINT_LEN, CONSTRAINT_LEN)
29041 (CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER_P)
29042 (REG_CLASS_FROM_CONSTRAINT, EXTRA_CONSTRAINT_STR): Delete definitions
29044 (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P)
29045 (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Move poising to...
29046 * system.h: ...here and make it unconditional.
29047 * target.def (conditional_register_usage): Mention
29048 define_register_constraint instead of old-style constraint macros.
29049 * doc/tm.texi.in: Remove documentation for old-style constraint macros.
29050 * doc/tm.texi: Regenerate.
29051 * genoutput.c: Remove USE_MD_CONSTRAINTS conditions and all code
29052 protected by !USE_MD_CONSTRAINTS.
29053 * config/frv/frv.md: Remove quote from old version of documentation.
29054 * config/frv/frv.c (frv_conditional_register_usage): Likewise.
29055 * config/m32r/m32r.c (easy_di_const, easy_df_const): Avoid mentioning
29056 CONST_DOUBLE_OK_FOR_LETTER.
29057 * config/sh/constraints.md: Likewise EXTRA_CONSTRAINT.
29059 2014-06-02 Andrew Pinski <apinski@cavium.com>
29061 * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER):
29062 /lib/ld-linux32-aarch64.so.1 is used for ILP32.
29063 (LINUX_TARGET_LINK_SPEC): Update linker script for ILP32.
29064 file whose name depends on -mabi= and -mbig-endian.
29065 * config/aarch64/t-aarch64-linux (MULTILIB_OSDIRNAMES):
29066 Handle LP64 better and handle ilp32 too.
29067 (MULTILIB_OPTIONS): Delete.
29068 (MULTILIB_DIRNAMES): Delete.
29070 2014-06-02 Andrew MacLeod <amacleod@redhat.com>
29072 * expr.h: Remove prototypes of functions defined in builtins.c.
29073 * tree.h: (build_call_expr_*, build_string_literal): Add prototypes.
29074 Remove prototypes of functions defined in builtins.c.
29075 * builtins.h: Update prototype list to include all exported functions.
29076 * builtins.c: (default_libc_has_function, gnu_libc_has_function,
29077 no_c99_libc_has_function): Move to targhooks.c
29078 (build_string_literal, build_call_expr_loc_array,
29079 build_call_expr_loc_vec, build_call_expr_loc, build_call_expr): Move
29081 (expand_builtin_object_size, fold_builtin_object_size): Make static.
29082 * targhooks.c (default_libc_has_function, gnu_libc_has_function,
29083 no_c99_libc_has_function): Relocate from builtins.c.
29084 * tree.c: Include builtins.h.
29085 (build_call_expr_loc_array, build_call_expr_loc_vec,
29086 build_call_expr_loc, build_call_expr, build_string_literal): Relocate
29088 * fold-const.h (fold_fma): Move prototype to builtins.h.
29089 * realmpfr.h (do_mpc_arg2): Move prototype to builtins.h.
29090 * asan.c: Include builtins.h.
29091 * cfgexpand.c: Likewise.
29092 * convert.c: Likewise.
29093 * emit-rtl.c: Likewise.
29094 * except.c: Likewise.
29095 * expr.c: Likewise.
29096 * fold-const.c: Likewise.
29097 * gimple-fold.c: Likewise.
29098 * gimple-ssa-strength-reduction.c: Likewise.
29099 * gimplify.c: Likewise.
29100 * ipa-inline.c: Likewise.
29101 * ipa-prop.c: Likewise.
29102 * lto-streamer-out.c: Likewise.
29103 * stmt.c: Likewise.
29104 * tree-inline.c: Likewise.
29105 * tree-object-size.c: Likewise.
29106 * tree-sra.c: Likewise.
29107 * tree-ssa-ccp.c: Likewise.
29108 * tree-ssa-forwprop.c: Likewise.
29109 * tree-ssa-loop-ivcanon.c: Likewise.
29110 * tree-ssa-loop-ivopts.c: Likewise.
29111 * tree-ssa-math-opts.c: Likewise.
29112 * tree-ssa-reassoc.c: Likewise.
29113 * tree-ssa-threadedge.c: Likewise.
29114 * tree-streamer-in.c: Likewise.
29115 * tree-vect-data-refs.c: Likewise.
29116 * tree-vect-patterns.c: Likewise.
29117 * tree-vect-stmts.c: Likewise.
29118 * config/aarch64/aarch64.c: Likewise.
29119 * config/alpha/alpha.c: Likewise.
29120 * config/arc/arc.c: Likewise.
29121 * config/arm/arm.c: Likewise.
29122 * config/avr/avr.c: Likewise.
29123 * config/bfin/bfin.c: Likewise.
29124 * config/c6x/c6x.c: Likewise.
29125 * config/cr16/cr16.c: Likewise.
29126 * config/cris/cris.c: Likewise.
29127 * config/epiphany/epiphany.c: Likewise.
29128 * config/fr30/fr30.c: Likewise.
29129 * config/frv/frv.c: Likewise.
29130 * config/h8300/h8300.c: Likewise.
29131 * config/i386/i386.c: Likewise.
29132 * config/i386/winnt.c: Likewise.
29133 * config/ia64/ia64.c: Likewise.
29134 * config/iq2000/iq2000.c: Likewise.
29135 * config/lm32/lm32.c: Likewise.
29136 * config/m32c/m32c.c: Likewise.
29137 * config/m32r/m32r.c: Likewise.
29138 * config/m68k/m68k.c: Likewise.
29139 * config/mcore/mcore.c: Likewise.
29140 * config/mep/mep.c: Likewise.
29141 * config/microblaze/microblaze.c: Likewise.
29142 * config/mips/mips.c: Likewise.
29143 * config/mmix/mmix.c: Likewise.
29144 * config/mn10300/mn10300.c: Likewise.
29145 * config/moxie/moxie.c: Likewise.
29146 * config/msp430/msp430.c: Likewise.
29147 * config/nds32/nds32.c: Likewise.
29148 * config/pa/pa.c: Likewise.
29149 * config/pdp11/pdp11.c: Likewise.
29150 * config/picochip/picochip.c: Likewise.
29151 * config/rl78/rl78.c: Likewise.
29152 * config/rs6000/rs6000.c: Likewise.
29153 * config/rx/rx.c: Likewise.
29154 * config/s390/s390.c: Likewise.
29155 * config/score/score.c: Likewise.
29156 * config/sh/sh.c: Likewise.
29157 * config/sparc/sparc.c: Likewise.
29158 * config/spu/spu.c: Likewise.
29159 * config/stormy16/stormy16.c: Likewise.
29160 * config/tilegx/tilegx.c: Likewise.
29161 * config/tilepro/tilepro.c: Likewise.
29162 * config/v850/v850.c: Likewise.
29163 * config/vax/vax.c: Likewise.
29164 * config/xtensa/xtensa.c: Likewise.
29166 2014-06-02 Jeff Law <law@redhat.com>
29168 PR rtl-optimization/61094
29169 * ree.c (combine_reaching_defs): Do not reextend an insn if it
29170 was marked as do_no_reextend. If a copy is needed to eliminate
29171 an extension, then mark it as do_not_reextend.
29173 2014-06-02 Marcus Shawcroft <marcus.shawcroft@arm.com>
29175 * config/aarch64/aarch64.md (set_fpcr): Drop ISB after FPCR write.
29177 2014-06-02 Richard Henderson <rth@redhat.com>
29180 * config/alpha/alpha.c (print_operand_address): Allow symbolic
29181 addresses inside asms. Use output_operand_lossage instead of
29184 2014-06-02 Uros Bizjak <ubizjak@gmail.com>
29187 * config/i386/i386.c (ix86_expand_vec_perm) [case V32QImode]: Use
29188 GEN_INT (-128) instead of GEN_INT (128) to set MSB of QImode constant.
29190 2014-06-02 Tom de Vries <tom@codesourcery.com>
29192 * config/aarch64/aarch64.c (aarch64_float_const_representable_p): Handle
29193 case that x has VOIDmode.
29195 2014-06-02 Bernd Schmidt <bernds@codesourcery.com>
29197 * varasm.c (copy_constant): Delete function.
29198 (build_constant_desc): Don't call it.
29200 2014-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
29203 * config/arm/arm.h (TARGET_SUPPORTS_WIDE_INT): Define.
29204 * config/arm/arm.md (mov64 splitter): Replace const_double_operand
29205 with immediate_operand.
29207 2014-06-02 Andreas Schwab <schwab@suse.de>
29209 * config/ia64/ia64.c
29210 (ia64_first_cycle_multipass_dfa_lookahead_guard): Check
29211 pending_data_specs first.
29213 2014-06-02 Richard Biener <rguenther@suse.de>
29215 PR tree-optimization/61378
29216 * tree-ssa-sccvn.c (vn_reference_lookup_3): Initialize
29217 valueized_anything.
29219 2014-06-01 Uros Bizjak <ubizjak@gmail.com>
29221 * config/i386/constraints.md (Bw): Rename from 'w'.
29222 (Bz): Rename from 'z'.
29223 * config/i386/i386.md: Change 'w' to 'Bw' and 'z' to 'Bz' globally.
29225 2014-06-01 Kai Tietz <ktietz@redhat.com>
29228 * config/i386/constrains.md (define_constrain): New 'Bs' constraint.
29229 * config/i386/i386.md (sibcall_insn_operand): Use Bs
29230 instead of m constraint.
29232 2014-05-31 Andreas Schwab <schwab@linux-m68k.org>
29234 * config/m68k/m68k.md (beq0_di, bne0_di): Make the "o" constraint
29235 a separate alternative where the scratch operand 2 is marked as
29238 2014-05-31 Kugan Vivekanandarajah <kuganv@linaro.org>
29240 * config/arm/arm.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
29241 (arm_builtins) : Add ARM_BUILTIN_GET_FPSCR and ARM_BUILTIN_SET_FPSCR.
29242 (bdesc_2arg) : Add description for builtins __builtins_arm_set_fpscr
29243 and __builtins_arm_get_fpscr.
29244 (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
29245 __builtins_arm_get_fpscr.
29246 (arm_expand_builtin) : Expand builtins __builtins_arm_set_fpscr and
29247 __builtins_arm_ldfpscr.
29248 (arm_atomic_assign_expand_fenv): New function.
29249 * config/arm/vfp.md (set_fpscr): New pattern.
29250 (get_fpscr) : Likewise.
29251 * config/arm/unspecs.md (unspecv): Add VUNSPEC_GET_FPSCR and
29253 * doc/extend.texi (AARCH64 Built-in Functions) : Document
29254 __builtins_arm_set_fpscr, __builtins_arm_get_fpscr.
29256 2014-05-30 Jakub Jelinek <jakub@redhat.com>
29258 * asan.c (report_error_func): Add SLOW_P argument, use
29259 BUILT_IN_ASAN_*_N if set.
29260 (build_check_stmt): Likewise.
29261 (instrument_derefs): If T has insufficient alignment,
29262 force same handling as for odd sizes.
29264 * sanitizer.def (BUILT_IN_ASAN_REPORT_LOAD_N,
29265 BUILT_IN_ASAN_REPORT_STORE_N): New.
29266 * asan.c (struct asan_mem_ref): Change access_size type to
29268 (asan_mem_ref_init, asan_mem_ref_new, get_mem_refs_of_builtin_call,
29269 update_mem_ref_hash_table): Likewise.
29270 (asan_mem_ref_hasher::hash): Hash in a HWI.
29271 (report_error_func): Change size_in_bytes argument to HWI.
29272 Use *_N builtins if size_in_bytes is larger than 16 or not power of
29274 (build_shadow_mem_access): New function.
29275 (build_check_stmt): Use it. Change size_in_bytes argument to HWI.
29276 Handle size_in_bytes not power of two or larger than 16.
29277 (instrument_derefs): Don't give up if size_in_bytes is not
29278 power of two or is larger than 16.
29280 2014-05-30 Kai Tietz <ktietz@redhat.com>
29283 * config/i386/i386.c (x86_output_mi_thunk): Add memory case
29284 for sibling-tail-calls.
29285 * config/i386/i386.md (sibcall_insn_operand): Add memory-constrain
29287 * config/i386/predicates.md (sibcall_memory_operand): New predicate.
29288 (sibcall_insn_operand): Add check for sibcall_memory_operand.
29290 2014-05-30 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
29292 * config/avr/avr-mcus.def: Change ATA6289 ISA to AVR4
29293 * config/avr/avr-tables.opt: Regenerate.
29294 * config/avr/t-multilib: Regenerate.
29295 * doc/avr-mmcu.texi: Regenerate.
29297 2014-05-30 Ian Lance Taylor <iant@google.com>
29299 * config/i386/xmmintrin.h (_mm_pause): Move out of scope of pragma
29302 2014-05-30 Tom de Vries <tom@codesourcery.com>
29304 * config/i386/i386.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
29307 2014-05-30 Tom de Vries <tom@codesourcery.com>
29309 * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
29310 * lra.c (initialize_lra_reg_info_element): Add init of
29311 actual_call_used_reg_set field.
29312 (lra): Call lra_create_live_ranges before lra_inheritance for
29314 * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
29316 * lra-constraints.c (need_for_call_save_p): Use actual_call_used_reg_set
29317 instead of call_used_reg_set for -fuse-caller-save.
29318 * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
29320 2014-05-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29322 * config/arm/thumb2.md (*thumb2_movhi_insn): Set type of movw
29324 * config/arm/vfp.md (*thumb2_movsi_vfp): Likewise.
29326 2014-05-30 Richard Sandiford <rdsandiford@googlemail.com>
29328 * ira.c (ira_get_dup_out_num): Check for output operands at
29329 the start of the loop. Handle cases where an included alternative
29330 follows an excluded one.
29332 2014-05-29 Mike Stump <mikestump@comcast.net>
29335 * collect2.c (maybe_run_lto_and_relink): Be sure to always run
29336 post ld passes when lto is used.
29338 2014-05-29 Vladimir Makarov <vmakarov@redhat.com>
29340 PR rtl-optimization/61325
29341 * lra-constraints.c (process_address): Rename to process_address_1.
29342 (process_address): New function.
29344 2014-05-29 Alan Lawrence <alan.lawrence@arm.com>
29346 * config/aarch64/aarch64-builtins.c (aarch64_types_binopv_qualifiers,
29347 TYPES_BINOPV): New static data.
29348 * config/aarch64/aarch64-simd-builtins.def (im_lane_bound):
29350 * config/aarch64/aarch64-simd.md (aarch64_ext,
29351 aarch64_im_lane_boundsi): New patterns.
29352 * config/aarch64/aarch64.c (aarch64_expand_vec_perm_const_1): Match
29354 (aarch64_evpc_ext): New function.
29356 * config/aarch64/iterators.md (UNSPEC_EXT): New enum element.
29358 * config/aarch64/arm_neon.h (vext_f32, vext_f64, vext_p8, vext_p16,
29359 vext_s8, vext_s16, vext_s32, vext_s64, vext_u8, vext_u16, vext_u32,
29360 vext_u64, vextq_f32, vextq_f64, vextq_p8, vextq_p16, vextq_s8,
29361 vextq_s16, vextq_s32, vextq_s64, vextq_u8, vextq_u16, vextq_u32,
29362 vextq_u64): Replace __asm with __builtin_shuffle and im_lane_boundsi.
29364 2014-05-29 Tom de Vries <tom@codesourcery.com>
29366 * rtl.h (BLOCK_SYMBOL_CHECK): Use SYMBOL_REF_FLAGS.
29368 2014-05-29 Richard Earnshaw <rearnsha@arm.com>
29369 Richard Sandiford <rdsandiford@googlemail.com>
29371 * arm/iterators.md (shiftable_ops): New code iterator.
29372 (t2_binop0, arith_shift_insn): New code attributes.
29373 * arm/predicates.md (shift_nomul_operator): New predicate.
29374 * arm/arm.md (insn_enabled): Delete.
29375 (enabled): Remove insn_enabled test.
29376 (*arith_shiftsi): Delete. Replace with ...
29377 (*<arith_shift_insn>_multsi): ... new pattern.
29378 (*<arith_shift_insn>_shiftsi): ... new pattern.
29379 * config/arm/arm.c (arm_print_operand): Handle operand format 'b'.
29381 2014-05-29 Radovan Obradovic <robradovic@mips.com>
29382 Tom de Vries <tom@codesourcery.com>
29384 * config/mips/mips.h (POST_CALL_TMP_REG): Define.
29385 * config/mips/mips.c (mips_emit_call_insn): Add POST_CALL_TMP_REG
29387 (mips_split_call): Use POST_CALL_TMP_REG.
29388 (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine to true.
29390 2014-05-29 Tom de Vries <tom@codesourcery.com>
29392 * final.c (collect_fn_hard_reg_usage): Guard variable declaration
29393 with #ifdef STACK_REGS.
29395 2014-05-28 Jan Hubicka <hubicka@ucw.cz>
29397 * varasm.c (get_variable_section): Walk aliases.
29398 (place_block_symbol): Walk aliases.
29400 2014-05-28 Tom de Vries <tom@codesourcery.com>
29403 2014-05-28 Tom de Vries <tom@codesourcery.com>
29405 * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
29406 * lra.c (initialize_lra_reg_info_element): Add init of
29407 actual_call_used_reg_set field.
29408 (lra): Call lra_create_live_ranges before lra_inheritance for
29410 * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
29412 * lra-constraints.c (need_for_call_save_p): Use
29413 actual_call_used_reg_set instead of call_used_reg_set for
29415 * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
29417 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com>
29419 * doc/md.texi: Document that the % constraint character must
29420 be at the beginning of the string.
29421 * genoutput.c (validate_insn_alternatives): Check that '=',
29422 '+' and '%' only appear at the beginning of a constraint.
29423 * ira.c (commutative_constraint_p): Delete.
29424 (ira_get_dup_out_num): Expect the '%' commutativity marker to be
29425 at the start of the string.
29426 * config/alpha/alpha.md (*movmemdi_1, *clrmemdi_1): Remove
29428 * config/arm/neon.md (bicdi3_neon): Likewise.
29429 * config/iq2000/iq2000.md (addsi3_internal, subsi3_internal, sgt_si)
29430 (slt_si, sltu_si): Likewise.
29431 * config/vax/vax.md (sbcdi3): Likewise.
29432 * config/h8300/h8300.md (*cmpstz): Remove duplicate '+'.
29433 * config/arc/arc.md (mulsi_600, mulsidi_600, umulsidi_600)
29434 (mul64): Move '%' to beginning of constraint.
29435 * config/arm/arm.md (*xordi3_insn): Likewise.
29436 * config/nds32/nds32.md (add<mode>3, mulsi3, andsi3, iorsi3)
29437 (xorsi3): Likewise.
29439 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com>
29441 * doc/md.texi: Document the restrictions on the "enabled" attribute.
29443 2014-05-28 Jason Merrill <jason@redhat.com>
29446 * cgraph.h (symtab_node::get_comdat_group_id): New.
29447 * cgraphunit.c (analyze_functions): Call it.
29448 * symtab.c (dump_symtab_node): Likewise.
29449 * tree.c (decl_comdat_group_id): New.
29450 * tree.h: Declare it.
29451 * lto-streamer-out.c (write_symbol): Use it.
29452 * trans-mem.c (ipa_tm_create_version_alias): Likewise.
29454 2014-05-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
29456 PR bootstrap/PR61146
29457 * wide-int.cc: Do not include longlong.h when compiling with clang.
29459 2014-05-28 Richard Biener <rguenther@suse.de>
29461 * tree-ssa-propagate.c (add_control_edge): Print less vertical space.
29462 * tree-vrp.c (extract_range_from_ssa_name): Also copy VR_UNDEFINED.
29463 (vrp_visit_assignment_or_call): Print less vertical space.
29464 (vrp_visit_stmt): Likewise.
29465 (vrp_visit_phi_node): Likewise. For a PHI argument with
29466 VR_VARYING range consider recording it as copy.
29468 2014-05-28 Richard Biener <rguenther@suse.de>
29471 2014-05-28 Richard Biener <rguenther@suse.de>
29473 * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
29475 2014-05-28 Bernd Edlinger <bernd.edlinger@hotmail.de>
29477 * expr.c (expand_assignment): Fold the bitpos in the to_rtx if
29478 sufficiently aligned and an offset is used at the same time.
29479 (expand_expr_real_1): Likewise.
29481 2014-05-28 Richard Biener <rguenther@suse.de>
29483 PR middle-end/61045
29484 * fold-const.c (fold_comparison): When folding
29485 X +- C1 CMP Y +- C2 to X CMP Y +- C2 +- C1 also ensure
29486 the sign of the remaining constant operand stays the same.
29488 2014-05-28 Kaushik Phatak <kaushik.phatak@kpit.com>
29490 * config/rl78/rl78.h (TARGET_CPU_CPP_BUILTINS): Define
29491 __RL78_64BIT_DOUBLES__ or __RL78_32BIT_DOUBLES__.
29492 (ASM_SPEC): Pass -m64bit-doubles or -m32bit-doubles on
29494 (DOUBLE_TYPE_SIZE): Use 64 bit if TARGET_64BIT_DOUBLES is true.
29495 * gcc/config/rl78/rl78.opt (m64bit-doubles): New option.
29496 (m32bit-doubles) Likewise.
29497 * gcc/config/rl78/t-rl78: Add 64-bit-double multilib.
29498 * doc/invoke.texi: Document -m32bit-doubles and -m64bit-doubles
29501 2014-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
29503 * configure.ac ($gcc_cv_ld_clearcap): New test.
29504 * configure: Regenerate.
29505 * config.in: Regenerate.
29506 * config/sol2.opt (mclear-hwcap): New option.
29507 * config/sol2.h (LINK_CLEARCAP_SPEC): Define.
29508 * config/sol2-clearcap.map: Moved here from
29509 testsuite/gcc.target/i386/clearcap.map.
29510 * config/sol2-clearcapv2.map: Move here from
29511 gcc.target/i386/clearcapv2.map.
29512 * config/t-sol2 (install): Depend on install-clearcap-map.
29513 (install-clearcap-map): New target.
29514 * doc/invoke.texi (Option Summary, Solaris 2 Options): Document
29517 2014-05-28 Richard Biener <rguenther@suse.de>
29519 * hwint.h (*_HALF_WIDE_INT*): Move to ...
29520 * wide-int.cc (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT):
29521 ... here and remove the rest.
29522 * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
29524 2014-05-28 Richard Biener <rguenther@suse.de>
29526 PR tree-optimization/61335
29527 * tree-vrp.c (vrp_visit_phi_node): If the compare of old and
29528 new range fails, drop to varying.
29530 2014-05-28 Olivier Hainque <hainque@adacore.com>
29532 * config/rs6000/vxworks.h (VXCPU_FOR_8548): New. Default to PPC85XX.
29533 (CPP_SPEC): Add entry for -mcpu=8548.
29534 * config/rs6000/vxworksae.h: Reinstate. Override VXCPU_FOR_8548.
29535 * config.gcc (powerpc-wrs-vxworksae, tm_file): Add back vxworksae.h.
29537 2014-05-28 Tom de Vries <tom@codesourcery.com>
29539 * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
29540 * lra.c (initialize_lra_reg_info_element): Add init of
29541 actual_call_used_reg_set field.
29542 (lra): Call lra_create_live_ranges before lra_inheritance for
29544 * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
29546 * lra-constraints.c (need_for_call_save_p): Use
29547 actual_call_used_reg_set instead of call_used_reg_set for
29549 * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
29551 2014-05-28 Radovan Obradovic <robradovic@mips.com>
29552 Tom de Vries <tom@codesourcery.com>
29554 * doc/invoke.texi (@item Optimization Options): Add -fuse-caller-save
29556 (@item -fuse-caller-save): New item.
29558 2014-05-28 Radovan Obradovic <robradovic@mips.com>
29559 Tom de Vries <tom@codesourcery.com>
29561 * opts.c (default_options_table): Add OPT_LEVELS_2_PLUS entry with
29562 OPT_fuse_caller_save.
29564 2014-05-28 Radovan Obradovic <robradovic@mips.com>
29565 Tom de Vries <tom@codesourcery.com>
29567 * df-scan.c (df_get_call_refs): Use get_call_reg_set_usage.
29568 * caller-save.c (setup_save_areas, save_call_clobbered_regs): Use
29569 get_call_reg_set_usage.
29570 * resource.c (mark_set_resources, mark_target_live_regs): Use
29571 get_call_reg_set_usage.
29572 * ira-int.h (struct ira_allocno): Add crossed_calls_clobbered_regs
29574 (ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS): Define.
29575 * ira-lives.c (process_bb_node_lives): Use get_call_reg_set_usage.
29576 Calculate ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
29577 * ira-build.c (ira_create_allocno): Init
29578 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
29579 (create_cap_allocno, propagate_allocno_info)
29580 (propagate_some_info_from_allocno)
29581 (copy_info_to_removed_store_destinations): Handle
29582 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
29583 * ira-costs.c (ira_tune_allocno_costs): Use
29584 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS to adjust costs.
29586 2014-05-28 Radovan Obradovic <robradovic@mips.com>
29587 Tom de Vries <tom@codesourcery.com>
29589 * cgraph.h (struct cgraph_rtl_info): Add function_used_regs
29590 and function_used_regs_valid fields.
29591 * final.c: Move include of hard-reg-set.h to before rtl.h to declare
29592 find_all_hard_reg_sets.
29593 (collect_fn_hard_reg_usage, get_call_fndecl, get_call_cgraph_rtl_info)
29594 (get_call_reg_set_usage): New function.
29595 (rest_of_handle_final): Use collect_fn_hard_reg_usage.
29596 * regs.h (get_call_reg_set_usage): Declare.
29598 2014-05-28 Georg-Johann Lay <avr@gjlay.de>
29601 * config/dbx.h (License): Add Runtime Library Exception.
29602 * config/newlib-stdint.h (License): Same.
29603 * config/rtems.h (License): Same
29604 * config/initfini-array.h (License): Same
29605 * config/v850/v850.h (License): Same.
29606 * config/v850/v850-opts.h (License): Same
29607 * config/v850/rtems.h (License): Same.
29609 2014-05-28 Georg-Johann Lay <avr@gjlay.de>
29612 * doc/extend.texi (Local Labels): Note that label differences are
29613 not supported for AVR.
29615 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com>
29616 Olivier Hainque <hainque@adacore.com>
29618 * rtl.h (set_for_reg_notes): Declare.
29619 * emit-rtl.c (set_for_reg_notes): New function.
29620 (set_unique_reg_note): Use it.
29621 * optabs.c (add_equal_note): Likewise
29623 2014-05-27 Andrew Pinski <apinski@cavium.com>
29625 * config/aarch64/aarch64.md (stack_protect_set_<mode>):
29626 Use <w> for the register in assembly template.
29627 (stack_protect_test): Use the mode of operands[0] for the result.
29628 (stack_protect_test_<mode>): Use <w> for the register
29629 in assembly template.
29631 2014-05-27 DJ Delorie <dj@redhat.com>
29633 * config/rx/rx.c (add_vector_labels): New.
29634 (rx_output_function_prologue): Call it.
29635 (rx_handle_func_attribute): Don't require empty arguments.
29636 (rx_handle_vector_attribute): New.
29637 (rx_attribute_table): Add "vector" attribute.
29638 * doc/extend.texi (interrupt, vector): Document new/changed
29639 RX-specific attributes.
29641 * config/rx/rx.c (rx_adjust_insn_length): Skip for non-insns.
29643 2014-05-27 Eric Botcazou <ebotcazou@adacore.com>
29645 * double-int.c (div_and_round_double) <ROUND_DIV_EXPR>: Use the proper
29646 predicate to detect a negative quotient.
29648 2014-05-27 Eric Botcazou <ebotcazou@adacore.com>
29650 * fold-const.c (fold_comparison): Clean up and extend X +- C1 CMP C2
29651 to X CMP C2 -+ C1 transformation to EQ_EXPR/NE_EXPR.
29652 Add X - Y CMP 0 to X CMP Y transformation.
29653 (fold_binary_loc) <EQ_EXPR/NE_EXPR>: Remove same transformations.
29655 2014-05-27 Segher Boessenkool <segher@kernel.crashing.org>
29657 * stmt.c (dump_case_nodes): Don't convert values to HOST_WIDE_INT
29660 2014-05-27 Steve Ellcey <sellcey@mips.com>
29662 * config/mips/mips.c: Add include of cgraph.h.
29664 2014-05-27 Richard Biener <rguenther@suse.de>
29666 * system.h (__STDC_FORMAT_MACROS): Define as very first thing.
29668 2014-05-27 Georg-Johann Lay <avr@gjlay.de>
29671 * config/arm/arm.h (License): Add note to COPYING.RUNTIME.
29672 * config/arm/arm-cores.def (License): Same.
29673 * config/arm/arm-opts.h (License): Same.
29674 * config/arm/aout.h (License): Same.
29675 * config/arm/bpabi.h (License): Same.
29676 * config/arm/elf.h (License): Same.
29677 * config/arm/linux-elf.h (License): Same.
29678 * config/arm/linux-gas.h (License): Same.
29679 * config/arm/netbsd-elf.h (License): Same.
29680 * config/arm/uclinux-eabi.h (License): Same.
29681 * config/arm/uclinux-elf.h (License): Same.
29682 * config/arm/vxworks.h (License): Same.
29684 2014-05-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29686 * config/arm/neon.md (neon_bswap<mode>): New pattern.
29687 * config/arm/arm.c (neon_itype): Add NEON_BSWAP.
29688 (arm_init_neon_builtins): Handle NEON_BSWAP.
29689 Define required type nodes.
29690 (arm_expand_neon_builtin): Handle NEON_BSWAP.
29691 (arm_builtin_vectorized_function): Handle BUILTIN_BSWAP builtins.
29692 * config/arm/arm_neon_builtins.def (bswap): Define builtins.
29693 * config/arm/iterators.md (VDQHSD): New mode iterator.
29695 2014-05-27 Richard Biener <rguenther@suse.de>
29697 * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops_using_ranges):
29698 Try using literal operands when comparing value-ranges failed.
29700 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com>
29702 * ira.c (commutative_operand): Adjust for change to recog_data.
29703 [Missing from previous commit.]
29705 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com>
29707 * system.h (TEST_BIT): New macro.
29708 * recog.h (alternative_mask): New type.
29709 (ALL_ALTERNATIVES, ALTERNATIVE_BIT): New macros.
29710 (recog_data_d): Replace alternative_enabled_p array with
29711 enabled_alternatives.
29712 (target_recog): New structure.
29713 (default_target_recog, this_target_recog): Declare.
29714 (get_enabled_alternatives, recog_init): Likewise.
29715 * recog.c (default_target_recog, this_target_recog): New variables.
29716 (get_enabled_alternatives): New function.
29717 (extract_insn): Use it.
29718 (recog_init): New function.
29719 (preprocess_constraints, constrain_operands): Adjust for change to
29721 * postreload.c (reload_cse_simplify_operands): Likewise.
29722 * reload.c (find_reloads): Likewise.
29723 * ira-costs.c (record_reg_classes): Likewise.
29724 * ira-lives.c (single_reg_class): Likewise. Fix bug in which
29725 all alternatives after a disabled one would be skipped.
29726 (ira_implicitly_set_insn_hard_regs): Likewise.
29727 * ira.c (ira_setup_alts): Adjust for change to recog_data.
29728 * lra-int.h (lra_insn_recog_data): Replace alternative_enabled_p
29729 with enabled_alternatives.
29730 * lra.c (free_insn_recog_data): Update accordingly.
29731 (lra_update_insn_recog_data): Likewise.
29732 (lra_set_insn_recog_data): Likewise. Use get_enabled_alternatives.
29733 * lra-constraints.c (process_alt_operands): Likewise. Handle
29734 only_alternative as part of the enabled mask.
29735 * target-globals.h (this_target_recog): Declare.
29736 (target_globals): Add a recog field.
29737 (restore_target_globals): Restore this_target_recog.
29738 * target-globals.c: Include recog.h.
29739 (default_target_globals): Initialize recog field.
29740 (save_target_globals): Likewise.
29741 * reginfo.c (reinit_regs): Call recog_init.
29742 * toplev.c (backend_init_target): Likewise.
29744 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com>
29746 * gencodes.c (main): Make LAST_INSN_CODE higher than any insn code,
29747 rather than any named insn's code.
29749 2014-05-27 Georg-Johann Lay <avr@gjlay.de>
29752 * config/arm/arm-opts.h (License): Add GCC Runtime Library Exception.
29753 * config/arm/arm-cores.def (License): Same.
29755 2014-05-26 Jan Hubicka <hubicka@ucw.cz>
29757 * tree.h (decl_comdat_group): Declare.
29758 * cgraph.h (symtab_in_same_comdat_p): Move offline to ...
29759 * tree.c (decl_comdat_group): Here.
29761 2014-05-26 Richard Sandiford <r.sandiford@uk.ibm.com>
29763 PR rtl-optimization/61222
29764 * combine.c (simplify_shift_const_1): When moving a PLUS outside
29765 the shift, truncate the PLUS operand to the result mode.
29767 2014-05-26 Uros Bizjak <ubizjak@gmail.com>
29770 * config/i386/i386.c (ix86_rtx_costs)
29771 <case CONST_INT, case CONST, case LABEL_REF, case SYMBOL_REF>:
29774 2014-05-26 Martin Jambor <mjambor@suse.cz>
29776 * ira.c (split_live_ranges_for_shrink_wrap): Remove bailout on
29779 2014-05-26 Richard Biener <rguenther@suse.de>
29781 * wide-int.h (wi::int_traits <long>, wi::int_traits <unsigned long>,
29782 wi::int_traits <long long>, wi::int_traits <unsigned long long>):
29783 Provide specializations.
29784 (wi::int_traits <HOST_WIDE_INT>,
29785 wi::int_traits <unsigned HOST_WIDE_INT>): Remove specializations.
29787 2014-05-26 Alan Modra <amodra@gmail.com>
29790 * config/rs6000/rs6000.c (rs6000_emit_set_const): Remove unneeded
29791 params and return a bool. Remove dead code. Update comment.
29792 Assert we have a const_int source. Remove bogus code from
29793 32-bit HWI days. Move !TARGET_POWERPC64 handling, and correct
29794 handling of constants > 2G and reg_equal note, from..
29795 (rs6000_emit_set_long_const): ..here. Remove unneeded param and
29796 return value. Update comment. If we can, use a new pseudo
29797 for intermediate calculations.
29798 * config/rs6000/rs6000-protos.h (rs6000_emit_set_const): Update
29800 * config/rs6000/rs6000.md (movsi_internal1_single+1): Update
29801 call to rs6000_emit_set_const in splitter.
29802 (movdi_internal64+2, +3): Likewise.
29804 2014-05-26 Richard Biener <rguenther@suse.de>
29806 * system.h: Define __STDC_FORMAT_MACROS before
29807 including inttypes.h.
29808 * hwint.h (HOST_WIDEST_INT, HOST_BITS_PER_WIDEST_INT,
29809 HOST_WIDEST_INT_PRINT, HOST_WIDEST_INT_PRINT_DEC,
29810 HOST_WIDEST_INT_PRINT_DEC_C, HOST_WIDEST_INT_PRINT_UNSIGNED,
29811 HOST_WIDEST_INT_PRINT_HEX, HOST_WIDEST_INT_PRINT_DOUBLE_HEX,
29812 HOST_WIDEST_INT_C): Remove.
29813 (PRId64, PRIi64, PRIo64, PRIu64, PRIx64, PRIX64): Define
29814 if C99 inttypes.h is not available.
29815 * coretypes.h (gcov_type, gcov_type_unsigned): Use [u]int64_t.
29816 * gcov-io.h (gcov_type, gcov_type_unsigned): Likewise.
29817 * gcov-io.c (gcov_histo_index): Drop non-64bit hwi case.
29818 * cfgloop.h (struct niter_desc): Use uint64_t for niter field.
29819 * bitmap.c (struct bitmap_descriptor_d): Use uint64_t for counters.
29820 (struct output_info): Likewise.
29821 (print_statistics): Adjust.
29822 (dump_bitmap_statistics): Likewise.
29823 * bt-load.c (migrate_btr_defs): Print with PRId64.
29824 * cfg.c (dump_edge_info, dump_bb_info): Likewise.
29825 (MAX_SAFE_MULTIPLIER): Adjust.
29826 * cfghooks.c (dump_bb_for_graph): Print with PRId64.
29827 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee,
29828 dump_cgraph_node): Likewise.
29829 * final.c (dump_basic_block_info): Likewise.
29830 * gcov-dump.c (tag_counters, tag_summary, dump_working_sets): Likewise.
29831 * gcov.c (format_gcov): Likewise.
29832 * ipa-cp.c (good_cloning_opportunity_p): Likewise. Use int64_t
29834 (get_clone_agg_value): Use HOST_WIDE_INT for offset.
29835 * ipa-inline.c (compute_max_insns): Use int64_t for calcuation.
29836 (inline_small_functions, dump_overall_stats, dump_inline_stats):
29837 Use PRId64 for dumping.
29838 * ipa-profile.c (dump_histogram, ipa_profile): Likewise.
29839 * ira-color.c (struct allocno_hard_regs): Use int64_t for cost.
29840 (add_allocno_hard_regs): Adjust.
29841 * loop-doloop.c (doloop_modify): Print using PRId64.
29842 * loop-iv.c (inverse): Compute in uint64_t.
29843 (determine_max_iter, iv_number_of_iterations): Likewise.
29844 * loop-unroll.c (decide_peel_completely, decide_peel_simple):
29845 Print using PRId64.
29846 * lto-streamer-out.c (write_symbol): Use uint64_t.
29847 * mcf.c (CAP_INFINITY): Use int64_t maximum.
29848 (dump_fixup_edge, create_fixup_graph, cancel_negative_cycle,
29849 find_max_flow, adjust_cfg_counts): Use int64_t and dump with PRId64.
29850 * modulo-sched.c (const_iteration_count): Use int64_t.
29851 (sms_schedule): Dump using PRId64.
29852 * predict.c (dump_prediction): Likewise.
29853 * pretty-print.h (pp_widest_integer): Remove.
29854 * profile.c (get_working_sets, is_edge_inconsistent,
29855 is_inconsistent, read_profile_edge_counts): Dump using PRId64.
29856 * tree-pretty-print.c (pp_double_int): Remove case handling
29857 HOST_BITS_PER_DOUBLE_INT == HOST_BITS_PER_WIDEST_INT.
29858 * tree-ssa-math-opts.c (struct symbolic_number): Use uint64_t
29860 (pass_optimize_bswap::execute): Remove restriction on hosts.
29861 * tree-streamer-in.c (streamer_alloc_tree): Use HOST_WIDE_INT.
29862 * tree-streamer-out.c (streamer_write_tree_header): Likewise.
29863 * tree.c (widest_int_cst_value): Remove.
29864 * tree.h (widest_int_cst_value): Likewise.
29865 * value-prof.c (dump_histogram_value): Print using PRId64.
29866 * gengtype.c (main): Also inject int64_t.
29867 * ggc-page.c (struct max_alignment): Use int64_t.
29868 * alloc-pool.c (struct allocation_object_def): Likewise.
29869 * ira-conflicts.c (build_conflict_bit_table): Use uint64_t
29871 * doc/tm.texi.in: Remove reference to HOST_WIDEST_INT.
29872 * doc/tm.texi: Regenerated.
29873 * gengtype-lex.l (IWORD): Handle [u]int64_t.
29874 * config/sh/sh.c (expand_cbranchdi4): Use gcov_type.
29875 * config/mmix/mmix-protos.h (mmix_intval, mmix_shiftable_wyde_value,
29876 mmix_output_register_setting): Use [u]int64_t in prototypes.
29877 * config/mmix/mmix.c (mmix_print_operand, mmix_output_register_setting,
29878 mmix_shiftable_wyde_value, mmix_output_shiftvalue_op_from_str,
29879 mmix_output_octa, mmix_output_shifted_value): Adjust.
29880 (mmix_intval): Adjust. Remove unreachable case.
29881 * config/mmix/mmix.md (*nonlocal_goto_receiver_expanded): Use int64_t.
29883 2014-05-26 Richard Biener <rguenther@suse.de>
29885 * configure.ac: Drop __int64 type check. Insist that we
29886 found uint64_t and int64_t.
29887 * hwint.h (HOST_BITS_PER___INT64): Remove.
29888 (HOST_BITS_PER_WIDE_INT): Define to 64 and remove __int64 case.
29889 (HOST_WIDE_INT_PRINT_*): Remove 32bit case.
29890 (HOST_WIDEST_INT*): Define to HOST_WIDE_INT*.
29891 (HOST_WIDEST_FAST_INT): Remove __int64 case.
29892 * vmsdbg.h (struct _DST_SRC_COMMAND): Use int64_t
29893 for dst_q_src_df_rms_cdt.
29894 * configure: Regenerate.
29895 * config.in: Likewise.
29897 2014-05-26 Michael Tautschnig <mt@debian.org>
29900 * doc/extend.texi (X86 Built-in Functions): Fix parameter lists of
29901 __builtin_ia32_vfrczs[sd] and __builtin_ia32_mpsadbw256.
29903 2014-05-26 Zhenqiang Chen <zhenqiang.chen@linaro.org>
29905 PR rtl-optimization/61278
29906 * shrink-wrap.c (move_insn_for_shrink_wrap): Check df_live.
29908 2014-05-26 Zhenqiang Chen <zhenqiang.chen@linaro.org>
29910 PR rtl-optimization/61220
29911 Part of PR rtl-optimization/61225
29912 * shrink-wrap.c (move_insn_for_shrink_wrap): Skip SP and FP adjustment
29913 insn; skip split_edge for a block with only one successor.
29915 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
29917 * symtab.c (symtab_nonoverwritable_alias): Copy READONLY flag
29920 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
29922 * ipa-visibility.c (can_replace_by_local_alias_in_vtable): New function.
29923 (update_vtable_references): New function.
29924 (function_and_variable_visibility): Rewrite also vtable initializers.
29925 * varpool.c (cgraph_variable_initializer_availability): Remove assert.
29927 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
29929 * ggc.h (ggc_grow): New function.
29930 * ggc-none.c (ggc_grow): New function.
29931 * ggc-page.c (ggc_grow): Likewise.
29933 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
29935 * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p,
29936 address_taken_from_non_vtable_p, comdat_can_be_unshared_p_1,
29937 comdat_can_be_unshared_p, cgraph_externally_visible_p,
29938 varpool_externally_visible_p, can_replace_by_local_alias,
29939 update_visibility_by_resolution_info, function_and_variable_visibility,
29940 pass_data_ipa_function_and_variable_visibility,
29941 make_pass_ipa_function_and_variable_visibility,
29942 whole_program_function_and_variable_visibility,
29943 pass_data_ipa_whole_program_visibility,
29944 make_pass_ipa_whole_program_visibility): Move to ipa-visibility.c
29945 * cgraph.h (cgraph_local_node_p): Declare.
29946 * ipa-visibility.c: New file.
29947 * Makefile.in (OBJS): Add ipa-visiblity.o
29949 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
29951 * gimple-fold.c (can_refer_decl_in_current_unit_p): Be sure
29952 that var decl is available.
29954 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
29956 * tree-core.h (tree_decl_with_vis): Replace comdat_group by
29957 symtab_node pointer.
29958 * tree.c (copy_node_stat): Be sure to not copy symtab_node pointer.
29959 (find_decls_types_r): Do not walk COMDAT_GROUP.
29960 * tree.h (DECL_COMDAT_GROUP): Revamp to use decl_comdat_group.
29961 * varasm.c (make_decl_one_only): Use set_comdat_group;
29962 create node if needed.
29963 * ipa-inline-transform.c (save_inline_function_body): Update
29964 way we decl->symtab mapping.
29965 * symtab.c (symtab_hash, hash_node, eq_node
29966 symtab_insert_node_to_hashtable): Remove.
29967 (symtab_register_node): Update.
29968 (symtab_unregister_node): Update.
29969 (symtab_get_node): Reimplement as inline function.
29970 (symtab_add_to_same_comdat_group): Update.
29971 (symtab_dissolve_same_comdat_group_list): Update.
29972 (dump_symtab_base): Update.
29973 (verify_symtab_base): Update.
29974 (symtab_make_decl_local): Update.
29975 (fixup_same_cpp_alias_visibility): Update.
29976 (symtab_nonoverwritable_alias): Update.
29977 * cgraphclones.c (set_new_clone_decl_and_node_flags): Update.
29978 * ipa.c (update_visibility_by_resolution_info): UPdate.
29979 * bb-reorder.c: Include cgraph.h
29980 * lto-streamer-out.c (DFS_write_tree_body, hash_tree): Do not deal
29981 with comdat groups.
29982 * ipa-comdats.c (set_comdat_group, ipa_comdats): Update.
29983 * cgraph.c (cgraph_get_create_node): Update.
29984 * cgraph.h (struct symtab_node): Add get_comdat_group, set_comdat_group
29986 (symtab_get_node): Make inline.
29987 (symtab_insert_node_to_hashtable): Remove.
29988 (symtab_can_be_discarded): Update.
29989 (decl_comdat_group): New function.
29990 * tree-streamer-in.c (lto_input_ts_decl_with_vis_tree_pointers):
29992 * lto-cgraph.c (lto_output_node, lto_output_varpool_node): Stream out
29994 (read_comdat_group): New function.
29995 (input_node, input_varpool_node): Use it.
29996 * trans-mem.c (ipa_tm_create_version_alias): Update code creating
29998 * mips.c (mips_start_unique_function): Likewise.
29999 (ix86_code_end): Likewise.
30000 (rs6000_code_end): Likweise.
30001 * tree-streamer-out.c (DECL_COMDAT_GROUP): Do not stream comdat group.
30003 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
30005 * gengtype-state.c (fatal_reading_state): Bring offline.
30006 * optabs.c (widening_optab_handler): Bring offline.
30007 * optabs.h (widening_optab_handler): Likewise.
30008 * final.c (get_attr_length_1): Likewise.
30010 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
30012 * sched-int.h (sd_iterator_cond): Manually tail recurse.
30014 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
30016 * config/rs6000/440.md (ppc440-integer): Include shift without dot.
30017 (ppc440-compare): Include shift with dot.
30018 * config/rs6000/e300c2c3.md (ppce300c3_iu): Include shift without dot.
30019 * config/rs6000/e5500.md (e5500_sfx2): Include constant shift
30021 * config/rs6000/e6500.md (e6500_sfx): Exclude constant shift
30023 (e6500_sfx2): Include it.
30024 * config/rs6000/rs6000.md ( *zero_extend<mode>di2_internal1,
30025 *zero_extend<mode>di2_internal2, *zero_extend<mode>di2_internal3,
30026 *zero_extendsidi2_lfiwzx, andsi3_mc, andsi3_nomc,
30027 andsi3_internal0_nomc, extzvsi_internal, extzvdi_internal,
30028 *extzvdi_internal1, *extzvdi_internal2, rotlsi3, *rotlsi3_64,
30029 *rotlsi3_internal4, *rotlsi3_internal7le, *rotlsi3_internal7be,
30030 *rotlsi3_internal10le, *rotlsi3_internal10be, rlwinm,
30031 *lshiftrt_internal1le, *lshiftrt_internal1be,
30032 *lshiftrt_internal4le, *lshiftrt_internal4be, rotldi3,
30033 *rotldi3_internal4, *rotldi3_internal7le, *rotldi3_internal7be,
30034 *rotldi3_internal10le, *rotldi3_internal10be,
30035 *rotldi3_internal13le, *rotldi3_internal13be, *ashldi3_internal4,
30036 ashldi3_internal5, *ashldi3_internal6, *ashldi3_internal7,
30037 ashldi3_internal8, *ashldi3_internal9, anddi3_mc, anddi3_nomc,
30038 *anddi3_internal2_mc, *anddi3_internal3_mc, and 4 anonymous
30039 define_insns): Use type "shift" in the appropriate alternatives.
30041 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
30043 * config/rs6000/rs6000.md (type): Add "logical". Delete
30045 (dot): Adjust comment.
30046 (andsi3_mc, *andsi3_internal2_mc, *andsi3_internal3_mc,
30047 *andsi3_internal4, *andsi3_internal5_mc, *boolsi3_internal2,
30048 *boolsi3_internal3, *boolccsi3_internal2, *boolccsi3_internal3,
30049 anddi3_mc, *anddi3_internal2_mc, *anddi3_internal3_mc,
30050 *booldi3_internal2, *booldi3_internal3, *boolcdi3_internal2,
30051 *boolcdi3_internal3, *boolccdi3_internal2, *boolccdi3_internal3,
30052 *mov<mode>_internal2, and 10 anonymous define_insns): Use "logical".
30053 * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
30055 * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
30056 * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust.
30057 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
30058 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
30059 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
30060 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
30061 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
30062 * config/rs6000/8540.md (ppc8540_su): Adjust.
30063 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
30064 cell-cmp-microcoded): Adjust.
30065 * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust.
30066 * config/rs6000/e500mc.md (e500mc_su): Adjust.
30067 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust.
30068 * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust.
30069 * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust.
30070 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
30071 * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust.
30072 * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust.
30073 * config/rs6000/power6.md (power6-integer, power6-fast-compare):
30075 * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust.
30076 * config/rs6000/power8.md (power8-1cyc, power8-fast-compare):
30077 Adjust. Adjust comment.
30078 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
30079 * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust.
30081 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
30083 * config/rs6000/rs6000.md (type): Add "add".
30084 (*add<mode>3_internal1, addsi3_high, *add<mode>3_internal2,
30085 *add<mode>3_internal3, *neg<mode>2_internal, and 5 anonymous
30086 define_insns): Use it.
30087 * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
30089 * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
30090 * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust.
30091 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
30092 * config/rs6000/601.md (ppc601-integer): Adjust.
30093 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
30094 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
30095 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
30096 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
30097 * config/rs6000/8540.md (ppc8540_su): Adjust.
30098 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
30099 cell-cmp-microcoded): Adjust.
30100 * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust.
30101 * config/rs6000/e500mc.md (e500mc_su): Adjust.
30102 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust.
30103 * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust.
30104 * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust.
30105 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
30106 * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust.
30107 * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust.
30108 * config/rs6000/power6.md (power6-integer, power6-fast-compare):
30110 * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust.
30111 * config/rs6000/power8.md (power8-1cyc, power8-fast-compare): Adjust.
30112 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
30113 * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust.
30115 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
30117 * config/rs6000/rs6000.md (type): Delete "var_shift_rotate",
30118 "delayed_compare", "var_delayed_compare".
30119 (var_shift): New attribute.
30120 (cell_micro): Adjust.
30121 (*andsi3_internal2_mc, *andsi3_internal3_mc, *andsi3_internal4,
30122 *andsi3_internal5_mc, *extzvsi_internal1, *extzvsi_internal2,
30123 rotlsi3, *rotlsi3_64, *rotlsi3_internal2, *rotlsi3_internal3,
30124 *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6,
30125 *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le,
30126 *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be,
30127 *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le,
30128 *rotlsi3_internal12be, ashlsi3, *ashlsi3_64, lshrsi3, *lshrsi3_64,
30129 *lshiftrt_internal2le, *lshiftrt_internal2be, *lshiftrt_internal3le,
30130 *lshiftrt_internal3be, *lshiftrt_internal5le, *lshiftrt_internal5be,
30131 *lshiftrt_internal5le, *lshiftrt_internal5be, ashrsi3, *ashrsi3_64,
30132 rotldi3, *rotldi3_internal2, *rotldi3_internal3, *rotldi3_internal4,
30133 *rotldi3_internal5, *rotldi3_internal6, *rotldi3_internal7le,
30134 *rotldi3_internal7be, *rotldi3_internal8le, *rotldi3_internal8be,
30135 *rotldi3_internal9le, *rotldi3_internal9be, *rotldi3_internal10le,
30136 *rotldi3_internal10be, *rotldi3_internal11le, *rotldi3_internal11be,
30137 *rotldi3_internal12le, *rotldi3_internal12be, *rotldi3_internal13le,
30138 *rotldi3_internal13be, *rotldi3_internal14le, *rotldi3_internal14be,
30139 *rotldi3_internal15le, *rotldi3_internal15be, *ashldi3_internal1,
30140 *ashldi3_internal2, *ashldi3_internal3, *lshrdi3_internal1,
30141 *lshrdi3_internal2, *lshrdi3_internal3, *ashrdi3_internal1,
30142 *ashrdi3_internal2, *ashrdi3_internal3, *anddi3_internal2_mc,
30143 *anddi3_internal3_mc, as well as 11 anonymous define_insns): Adjust.
30144 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
30145 insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
30147 * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
30148 * config/rs6000/440.md (ppc440-integer): Adjust.
30149 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
30150 * config/rs6000/601.md (ppc601-integer, ppc601-compare): Adjust.
30151 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
30152 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
30153 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
30154 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
30155 * config/rs6000/8540.md (ppc8540_su): Adjust.
30156 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
30157 cell-cmp-microcoded): Adjust.
30158 * config/rs6000/e300c2c3.md (ppce300c3_cmp): Adjust.
30159 * config/rs6000/e500mc.md (e500mc_su): Adjust.
30160 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2,
30161 e500mc64_delayed): Adjust.
30162 * config/rs6000/e5500.md (e5500_sfx, e5500_delayed): Adjust.
30163 * config/rs6000/e6500.md (e6500_sfx, e6500_delayed): Adjust.
30164 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
30165 * config/rs6000/power4.md (power4-integer, power4-compare): Adjust.
30166 * config/rs6000/power5.md (power5-integer, power5-compare): Adjust.
30167 * config/rs6000/power6.md (power6-shift, power6-var-rotate,
30168 power6-delayed-compare, power6-var-delayed-compare): Adjust.
30169 * config/rs6000/power7.md (power7-integer, power7-compare): Adjust.
30170 * config/rs6000/power8.md (power8-1cyc, power8-compare): Adjust.
30172 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
30173 * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust.
30175 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
30177 * config/rs6000/rs6000.md (type): Delete "idiv", "ldiv". Add "div".
30178 (bits): New mode_attr.
30179 (idiv_ldiv): Delete mode_attr.
30180 (udiv<mode>3, *div<mode>3, div<div_extend>_<mode>): Adjust.
30181 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
30182 rs6000_adjust_priority, is_nonpipeline_insn,
30183 insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
30185 * config/rs6000/40x.md (ppc403-idiv): Adjust.
30186 * config/rs6000/440.md (ppc440-idiv): Adjust.
30187 * config/rs6000/476.md (ppc476-idiv): Adjust.
30188 * config/rs6000/601.md (ppc601-idiv): Adjust.
30189 * config/rs6000/603.md (ppc603-idiv): Adjust.
30190 * config/rs6000/6xx.md (ppc604-idiv, ppc620-idiv, ppc630-idiv,
30191 ppc620-ldiv): Adjust.
30192 * config/rs6000/7450.md (ppc7450-idiv): Adjust.
30193 * config/rs6000/7xx.md (ppc750-idiv): Adjust.
30194 * config/rs6000/8540.md (ppc8540_divide): Adjust.
30195 * config/rs6000/a2.md (ppca2-idiv, ppca2-ldiv): Adjust.
30196 * config/rs6000/cell.md (cell-idiv, cell-ldiv): Adjust.
30197 * config/rs6000/e300c2c3.md (ppce300c3_divide): Adjust.
30198 * config/rs6000/e500mc.md (e500mc_divide): Adjust.
30199 * config/rs6000/e500mc64.md (e500mc64_divide): Adjust.
30200 * config/rs6000/e5500.md (e5500_divide, e5500_divide_d): Adjust.
30201 * config/rs6000/e6500.md (e6500_divide, e6500_divide_d): Adjust.
30202 * config/rs6000/mpc.md (mpccore-idiv): Adjust.
30203 * config/rs6000/power4.md (power4-idiv, power4-ldiv): Adjust.
30204 * config/rs6000/power5.md (power5-idiv, power5-ldiv): Adjust.
30205 * config/rs6000/power6.md (power6-idiv, power6-ldiv): Adjust.
30206 * config/rs6000/power7.md (power7-idiv, power7-ldiv): Adjust.
30207 * config/rs6000/power8.md (power8-idiv, power8-ldiv): Adjust.
30208 * config/rs6000/rs64.md (rs64a-idiv, rs64a-ldiv): Adjust.
30209 * config/rs6000/titan.md (titan_fxu_div): Adjust.
30211 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
30213 * config/rs6000/rs6000.md (type): Delete "insert_word",
30214 "insert_dword". Add "insert".
30215 (size): Update comment.
30216 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
30217 insn_must_be_first_in_group): Adjust.
30218 (insvsi_internal, *insvsi_internal1, *insvsi_internal2,
30219 *insvsi_internal3, *insvsi_internal4, *insvsi_internal5,
30220 *insvsi_internal6, insvdi_internal): Adjust.
30222 * config/rs6000/40x.md (ppc403-integer): Adjust.
30223 * config/rs6000/440.md (ppc440-integer): Adjust.
30224 * config/rs6000/476.md (ppc476-simple-integer): Adjust.
30225 * config/rs6000/601.md (ppc601-integer): Adjust.
30226 * config/rs6000/603.md (ppc603-integer): Adjust.
30227 * config/rs6000/6xx.md (ppc604-integer): Adjust.
30228 * config/rs6000/7450.md (ppc7450-integer): Adjust.
30229 * config/rs6000/7xx.md (ppc750-integer): Adjust.
30230 * config/rs6000/8540.md (ppc8540_su): Adjust.
30231 * config/rs6000/cell.md (cell-integer, cell-insert): Adjust.
30232 * config/rs6000/e300c2c3.md (ppce300c3_iu): Adjust.
30233 * config/rs6000/e500mc.md (e500mc_su): Adjust.
30234 * config/rs6000/e500mc64.md (e500mc64_su): Adjust.
30235 * config/rs6000/e5500.md (e5500_sfx): Adjust.
30236 * config/rs6000/e6500.md (e6500_sfx): Adjust.
30237 * config/rs6000/mpc.md (mpccore-integer): Adjust.
30238 * config/rs6000/power4.md (power4-integer, power4-insert): Adjust.
30239 * config/rs6000/power5.md (power5-integer, power5-insert): Adjust.
30240 * config/rs6000/power6.md (power6-insert, power6-insert-dword): Adjust.
30241 * config/rs6000/power7.md (power7-integer): Adjust.
30242 * config/rs6000/power8.md (power8-1cyc): Adjust.
30243 * config/rs6000/rs64.md (rs64a-integer): Adjust.
30244 * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust.
30246 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
30248 * config/rs6000/rs6000.md (type): Add "mul". Delete "imul",
30249 "imul2", "imul3", "lmul", "imul_compare", "lmul_compare".
30250 (size): New attribute.
30251 (dot): New attribute.
30252 (cell_micro): Adjust.
30253 (mulsi3, *mulsi3_internal1, *mulsi3_internal2, mulsidi3,
30254 umulsidi3, smulsi3_highpart, umulsi3_highpart, muldi3,
30255 *muldi3_internal1, *muldi3_internal2, smuldi3_highpart,
30256 umuldi3_highpart): Adjust.
30257 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
30258 rs6000_adjust_priority, is_nonpipeline_insn,
30259 insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
30261 * config/rs6000/40x.md (ppc403-imul, ppc405-imul, ppc405-imul2,
30262 ppc405-imul3): Adjust.
30263 * config/rs6000/440.md (ppc440-imul, ppc440-imul2): Adjust.
30264 * config/rs6000/476.md (ppc476-imul): Adjust.
30265 * config/rs6000/601.md (ppc601-imul): Adjust.
30266 * config/rs6000/603.md (ppc603-imul, ppc603-imul2): Adjust.
30267 * config/rs6000/6xx.md (ppc604-imul, ppc604e-imul, ppc620-imul,
30268 ppc620-imul2, ppc620-imul3, ppc620-lmul): Adjust.
30269 * config/rs6000/7450.md (ppc7450-imul, ppc7450-imul2): Adjust.
30270 * config/rs6000/7xx.md (ppc750-imul, ppc750-imul2, ppc750-imul3):
30272 * config/rs6000/8540.md (ppc8540_multiply): Adjust.
30273 * config/rs6000/a2.md (ppca2-imul, ppca2-lmul): Adjust.
30274 * config/rs6000/cell.md (cell-lmul, cell-lmul-cmp, cell-imul23,
30275 cell-imul): Adjust.
30276 * config/rs6000/e300c2c3.md (ppce300c3_multiply): Adjust.
30277 * config/rs6000/e500mc.md (e500mc_multiply): Adjust.
30278 * config/rs6000/e500mc64.md (e500mc64_multiply): Adjust.
30279 * config/rs6000/e5500.md (e5500_multiply, e5500_multiply_i): Adjust.
30280 * config/rs6000/e6500.md (e6500_multiply, e6500_multiply_i): Adjust.
30281 * config/rs6000/mpc.md (mpccore-imul): Adjust.
30282 * config/rs6000/power4.md (power4-lmul-cmp, power4-imul-cmp,
30283 power4-lmul, power4-imul, power4-imul3): Adjust.
30284 * config/rs6000/power5.md (power5-lmul-cmp, power5-imul-cmp,
30285 power5-lmul, power5-imul, power5-imul3): Adjust.
30286 * config/rs6000/power6.md (power6-lmul-cmp, power6-imul-cmp,
30287 power6-lmul, power6-imul, power6-imul3): Adjust.
30288 * config/rs6000/power7.md (power7-mul, power7-mul-compare): Adjust.
30289 * config/rs6000/power8.md (power8-mul, power8-mul-compare): Adjust.
30291 * config/rs6000/rs64.md (rs64a-imul, rs64a-imul2, rs64a-imul3,
30292 rs64a-lmul): Adjust.
30293 * config/rs6000/titan.md (titan_imul): Adjust.
30295 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
30297 * config/rs6000/rs6000.md (type): Add new value "halfmul".
30298 (*macchwc, *macchw, *macchwuc, *macchwu, *machhwc, *machhw,
30299 *machhwuc, *machhwu, *maclhwc, *maclhw, *maclhwuc, *maclhwu,
30300 *nmacchwc, *nmacchw, *nmachhwc, *nmachhw, *nmaclhwc, *nmaclhw,
30301 *mulchwc, *mulchw, *mulchwuc, *mulchwu, *mulhhwc, *mulhhw,
30302 *mulhhwuc, *mulhhwu, *mullhwc, *mullhw, *mullhwuc, *mullhwu): Use it.
30303 * config/rs6000/40x.md (ppc405-imul3): Add type halfmul.
30304 * config/rs6000/440.md (ppc440-imul2): Add type halfmul.
30305 * config/rs6000/476.md (ppc476-imul): Add type halfmul.
30306 * config/rs6000/titan.md: Delete nonsensical comment.
30307 (titan_imul): Add type imul3.
30308 (titan_mulhw): Remove type imul3; add type halfmul.
30310 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
30312 * config/rs6000/rs6000.md (type): Reorder, reformat.
30314 2014-05-23 Martin Jambor <mjambor@suse.cz>
30316 PR tree-optimization/53787
30317 * params.def (PARAM_IPA_MAX_AA_STEPS): New param.
30318 * ipa-prop.h (ipa_node_params): Rename uses_analysis_done to
30319 analysis_done, update all uses.
30320 * ipa-prop.c: Include domwalk.h
30321 (param_analysis_info): Removed.
30322 (param_aa_status): New type.
30323 (ipa_bb_info): Likewise.
30324 (func_body_info): Likewise.
30325 (ipa_get_bb_info): New function.
30326 (aa_overwalked): Likewise.
30327 (find_dominating_aa_status): Likewise.
30328 (parm_bb_aa_status_for_bb): Likewise.
30329 (parm_preserved_before_stmt_p): Changed to use new param AA info.
30330 (load_from_unmodified_param): Accept func_body_info as a parameter
30331 instead of parms_ainfo.
30332 (parm_ref_data_preserved_p): Changed to use new param AA info.
30333 (parm_ref_data_pass_through_p): Likewise.
30334 (ipa_load_from_parm_agg_1): Likewise. Update callers.
30335 (compute_complex_assign_jump_func): Changed to use new param AA info.
30336 (compute_complex_ancestor_jump_func): Likewise.
30337 (ipa_compute_jump_functions_for_edge): Likewise.
30338 (ipa_compute_jump_functions): Removed.
30339 (ipa_compute_jump_functions_for_bb): New function.
30340 (ipa_analyze_indirect_call_uses): Likewise, moved variable
30342 (ipa_analyze_virtual_call_uses): Accept func_body_info instead of node
30343 and info, moved variable declarations down.
30344 (ipa_analyze_call_uses): Accept and pass on func_body_info instead of
30346 (ipa_analyze_stmt_uses): Likewise.
30347 (ipa_analyze_params_uses): Removed.
30348 (ipa_analyze_params_uses_in_bb): New function.
30349 (ipa_analyze_controlled_uses): Likewise.
30350 (free_ipa_bb_info): Likewise.
30351 (analysis_dom_walker): New class.
30352 (ipa_analyze_node): Handle node-specific forbidden analysis,
30353 initialize and free func_body_info, use dominator walker.
30354 (ipcp_modif_dom_walker): New class.
30355 (ipcp_transform_function): Create and free func_body_info, use
30356 ipcp_modif_dom_walker, moved a lot of functionality there.
30358 2014-05-23 Marek Polacek <polacek@redhat.com>
30359 Jakub Jelinek <jakub@redhat.com>
30361 * builtins.def: Change SANITIZE_FLOAT_DIVIDE to SANITIZE_NONDEFAULT.
30362 * gcc.c (sanitize_spec_function): Likewise.
30363 * convert.c (convert_to_integer): Include "ubsan.h". Add
30364 floating-point to integer instrumentation.
30365 * doc/invoke.texi: Document -fsanitize=float-cast-overflow.
30366 * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_CAST and
30367 SANITIZE_NONDEFAULT.
30368 * opts.c (common_handle_option): Handle -fsanitize=float-cast-overflow.
30369 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW,
30370 BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW_ABORT): Add.
30371 * ubsan.c: Include "realmpfr.h" and "dfp.h".
30372 (get_ubsan_type_info_for_type): Handle REAL_TYPEs.
30373 (ubsan_type_descriptor): Set tkind to 0xffff for types other than
30374 float/double/long double.
30375 (ubsan_instrument_float_cast): New function.
30376 * ubsan.h (ubsan_instrument_float_cast): Declare.
30378 2014-05-23 Jiong Wang <jiong.wang@arm.com>
30380 * config/aarch64/predicates.md (aarch64_call_insn_operand): New
30382 * config/aarch64/constraints.md ("Ucs", "Usf"): New constraints.
30383 * config/aarch64/aarch64.md (*sibcall_insn, *sibcall_value_insn):
30384 Adjust for tailcalling through registers.
30385 * config/aarch64/aarch64.h (enum reg_class): New caller save
30387 (REG_CLASS_NAMES): Likewise.
30388 (REG_CLASS_CONTENTS): Likewise.
30389 * config/aarch64/aarch64.c (aarch64_function_ok_for_sibcall):
30390 Allow tailcalling without decls.
30392 2014-05-23 Thomas Schwinge <thomas@codesourcery.com>
30394 * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>:
30395 Rewrite check for ORT_PARALLEL and ORT_COMBINED_PARALLEL.
30397 * omp-low.c (expand_omp_for_static_chunk): Rename variable si to
30398 gsi, and variables v_* to v*.
30400 2014-05-23 Eric Botcazou <ebotcazou@adacore.com>
30402 * varasm.c (output_constructor_bitfield): Fix thinkos in latest change.
30404 2014-05-23 Thomas Schwinge <thomas@codesourcery.com>
30406 * gimple.h (enum gf_mask): Add and use GF_OMP_FOR_SIMD.
30407 * omp-low.c: Update accordingly.
30409 * gimple.h (enum gf_mask): Rewrite "<< 0" shift expressions used
30410 for GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_KIND_FOR,
30411 GF_OMP_FOR_KIND_DISTRIBUTE, GF_OMP_FOR_KIND_SIMD,
30412 GF_OMP_FOR_KIND_CILKSIMD, GF_OMP_TARGET_KIND_MASK,
30413 GF_OMP_TARGET_KIND_REGION, GF_OMP_TARGET_KIND_DATA,
30414 GF_OMP_TARGET_KIND_UPDATE.
30416 * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>:
30417 Explicitly enumerate the expected region types.
30419 2014-05-23 Paul Eggert <eggert@cs.ucla.edu>
30422 * doc/extend.texi (Function Attributes): Fix __attribute__ ((malloc))
30423 documentation; the old documentation didn't clearly state the
30424 constraints on the contents of the pointed-to storage.
30426 2014-05-23 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
30428 Fix bootstrap error on ia64
30429 * config/ia64/ia64.c (ia64_first_cycle_multipass_dfa_lookahead_guard):
30430 Return default value.
30432 2014-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
30434 PR tree-optimization/54733
30435 * tree-ssa-math-opts.c (nop_stats): New "bswap_stats" structure.
30437 (find_bswap_or_nop_load): New.
30438 (find_bswap_1): Renamed to ...
30439 (find_bswap_or_nop_1): This. Also add support for memory source.
30440 (find_bswap): Renamed to ...
30441 (find_bswap_or_nop): This. Also add support for memory source and
30442 detection of bitwise operations equivalent to load in target
30444 (execute_optimize_bswap): Likewise. Also move its leading comment back
30445 in place and split statement transformation into ...
30446 (bswap_replace): This.
30448 2014-05-22 Vladimir Makarov <vmakarov@redhat.com>
30450 PR rtl-optimization/61215
30451 * lra-elelimination.c (lra_eliminate_regs_1): Don't use
30452 simplify_gen_subreg until final substitution.
30454 2014-05-23 Alan Modra <amodra@gmail.com>
30457 * config/rs6000/rs6000.c (mem_operand_gpr): Handle SImode.
30458 * config/rs6000/rs6000.md (extendsidi2_lfiwax, extendsidi2_nocell):
30459 Use "Y" constraint rather than "m".
30461 2014-05-23 Kugan Vivekanandarajah <kuganv@linaro.org>
30463 * config/aarch64/aarch64.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New
30465 * config/aarch64/aarch64-protos.h (aarch64_atomic_assign_expand_fenv):
30466 New function declaration.
30467 * config/aarch64/aarch64-builtins.c (aarch64_builtins) : Add
30468 AARCH64_BUILTIN_GET_FPCR, AARCH64_BUILTIN_SET_FPCR.
30469 AARCH64_BUILTIN_GET_FPSR and AARCH64_BUILTIN_SET_FPSR.
30470 (aarch64_init_builtins) : Initialize builtins
30471 __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr.
30472 __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr.
30473 (aarch64_expand_builtin) : Expand builtins __builtins_aarch64_set_fpcr
30474 __builtins_aarch64_get_fpcr, __builtins_aarch64_get_fpsr,
30475 and __builtins_aarch64_set_fpsr.
30476 (aarch64_atomic_assign_expand_fenv): New function.
30477 * config/aarch64/aarch64.md (set_fpcr): New pattern.
30478 (get_fpcr) : Likewise.
30479 (set_fpsr) : Likewise.
30480 (get_fpsr) : Likewise.
30481 (unspecv): Add UNSPECV_GET_FPCR and UNSPECV_SET_FPCR, UNSPECV_GET_FPSR
30482 and UNSPECV_SET_FPSR.
30483 * doc/extend.texi (AARCH64 Built-in Functions) : Document
30484 __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr.
30485 __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr.
30487 2014-05-22 Vladimir Makarov <vmakarov@redhat.com>
30489 PR rtl-optimization/60969
30490 * ira-costs.c (record_reg_classes): Process NO_REGS for matching
30491 constraints. Set up mem cost for NO_REGS case.
30493 2014-05-22 Thomas Schwinge <thomas@codesourcery.com>
30495 * builtin-types.def: Simplify examples for DEF_FUNCTION_TYPE_*.
30497 2012-05-22 Bernd Schmidt <bernds@codesourcery.com>
30499 * config/darwin.c: Include "lto-section-names.h".
30500 (LTO_SEGMENT_NAME): Don't define.
30501 * config/i386/winnt.c: Include "lto-section-names.h".
30502 * lto-streamer.c: Include "lto-section-names.h".
30503 * lto-streamer.h (LTO_SECTION_NAME_PREFIX): Don't define.
30504 * lto-wrapper.c: Include "lto-section-names.h".
30505 (LTO_SECTION_NAME_PREFIX): Don't define.
30506 * lto-section-names.h: New file.
30507 * cgraphunit.c: Include "lto-section-names.h".
30509 2014-05-22 Peter Bergner <bergner@vnet.ibm.com>
30511 * config/rs6000/htm.md (ttest): Use correct shift value to get CR0.
30513 2014-05-22 Richard Earnshaw <rearnsha@arm.com>
30516 * arm.md (arm_cmpdi_unsigned): Fix length calculation for Thumb2.
30518 2014-05-22 Nick Clifton <nickc@redhat.com>
30520 * config/msp430/msp430.h (ASM_SPEC): Add spaces after inserted options.
30522 2014-05-22 Eric Botcazou <ebotcazou@adacore.com>
30524 * tree-ssa-forwprop.c (associate_plusminus): Extend (T)(P + A) - (T)P
30525 -> (T)A transformation to integer types.
30527 2014-05-22 Teresa Johnson <tejohnson@google.com>
30529 * gcov-io.c (gcov_position): Use gcov_nonruntime_assert.
30530 (gcov_is_error): Remove gcc_assert from IN_LIBGCOV code.
30531 (gcov_rewrite): Use gcov_nonruntime_assert.
30532 (gcov_open): Ditto.
30533 (gcov_write_words): Ditto.
30534 (gcov_write_length): Ditto.
30535 (gcov_read_words): Use gcov_nonruntime_assert, and remove
30536 gcc_assert from IN_LIBGCOV code.
30537 (gcov_read_summary): Use gcov_error to flag profile corruption.
30538 (gcov_sync): Use gcov_nonruntime_assert.
30539 (gcov_seek): Remove gcc_assert from IN_LIBGCOV code.
30540 (gcov_histo_index): Use gcov_nonruntime_assert.
30541 (static void gcov_histogram_merge): Ditto.
30542 (compute_working_sets): Ditto.
30543 * gcov-io.h (gcov_nonruntime_assert): Define.
30544 (gcov_error): Define for !IN_LIBGCOV
30546 2014-05-22 Richard Biener <rguenther@suse.de>
30548 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
30549 BUILT_IN_REALLOC like BUILT_IN_STRDUP.
30550 (call_may_clobber_ref_p_1): Handle BUILT_IN_REALLOC as allocation
30551 and deallocation site.
30552 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
30553 Handle BUILT_IN_REALLOC similar to BUILT_IN_STRDUP with also
30554 passing through the incoming points-to set.
30555 (handle_lhs_call): Use flags argument instead of recomputing it.
30556 (find_func_aliases_for_call): Call handle_lhs_call with proper
30559 2014-05-22 Jakub Jelinek <jakub@redhat.com>
30561 * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Make sure
30562 all padding bits in REAL_VALUE_TYPE are cleared.
30564 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
30566 Cleanup and improve multipass_dfa_lookahead_guard
30567 * config/i386/i386.c (core2i7_first_cycle_multipass_filter_ready_try,)
30568 (core2i7_first_cycle_multipass_begin,)
30569 (core2i7_first_cycle_multipass_issue,)
30570 (core2i7_first_cycle_multipass_backtrack): Update signature.
30571 * config/ia64/ia64.c
30572 (ia64_first_cycle_multipass_dfa_lookahead_guard_spec): Remove.
30573 (ia64_first_cycle_multipass_dfa_lookahead_guard): Update signature.
30574 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove
30576 (ia64_first_cycle_multipass_dfa_lookahead_guard): Merge logic from
30577 ia64_first_cycle_multipass_dfa_lookahead_guard_spec. Update return
30579 * config/rs6000/rs6000.c (rs6000_use_sched_lookahead_guard): Update
30581 * doc/tm.texi: Regenerate.
30583 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove.
30584 * haifa-sched.c (ready_try): Make signed to allow negative values.
30585 (rebug_ready_list_1): Update.
30586 (choose_ready): Simplify.
30587 (sched_extend_ready_list): Update.
30589 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
30591 Remove IA64 speculation tweaking flags
30592 * config/ia64/ia64.c (ia64_set_sched_flags): Delete handling of
30593 speculation tuning flags.
30594 (msched-prefer-non-data-spec-insns,)
30595 (msched-prefer-non-control-spec-insns): Obsolete options.
30596 * haifa-sched.c (choose_ready): Remove handling of
30597 PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC.
30598 * sched-int.h (enum SPEC_SCHED_FLAGS): Remove PREFER_NON_CONTROL_SPEC
30599 and PREFER_NON_DATA_SPEC.
30600 * sel-sched.c (process_spec_exprs): Remove handling of
30601 PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC.
30603 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
30605 Improve scheduling debug output
30606 * haifa-sched.c (debug_ready_list): Remove unnecessary prototype.
30607 (advance_one_cycle): Update.
30608 (schedule_insn, queue_to_ready): Add debug printouts.
30609 (debug_ready_list_1): New static function.
30610 (debug_ready_list): Update.
30611 (max_issue): Add debug printouts.
30612 (dump_insn_stream): New static function.
30613 (schedule_block): Use it. Also better indent printouts.
30615 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
30617 Fix sched_insn debug counter
30618 * haifa-sched.c (schedule_insn): Update.
30619 (struct haifa_saved_data): Add nonscheduled_insns_begin.
30620 (save_backtrack_point, restore_backtrack_point): Update.
30621 (first_nonscheduled_insn): New static function.
30622 (queue_to_ready, choose_ready): Use it.
30623 (schedule_block): Init nonscheduled_insns_begin.
30624 (sched_emit_insn): Update.
30627 2014-05-22 Kugan Vivekanandarajah <kuganv@linaro.org>
30629 * config/aarch64/aarch64.c (aarch64_regno_regclass) : Change CORE_REGS
30631 (aarch64_secondary_reload) : LikeWise.
30632 (aarch64_class_max_nregs) : Remove CORE_REGS.
30633 * config/aarch64/aarch64.h (enum reg_class) : Remove CORE_REGS.
30634 (REG_CLASS_NAMES) : Likewise.
30635 (REG_CLASS_CONTENTS) : LikeWise.
30636 (INDEX_REG_CLASS) : Change CORE_REGS to GENERAL_REGS.
30638 2014-05-21 Guozhi Wei <carrot@google.com>
30641 * config/aarch64/arm_neon.h (vqdmulh_n_s16): Change the last operand's
30643 (vqdmulhq_n_s16): Likewise.
30645 2014-05-21 Segher Boessenkool <segher@kernel.crashing.org>
30647 * config/rs6000/predicates.md (update_indexed_address_mem): Delete.
30649 2014-05-21 Marek Polacek <polacek@redhat.com>
30652 * ubsan.c (is_ubsan_builtin_p): Turn assert into a condition.
30654 2014-05-21 Martin Jambor <mjambor@suse.cz>
30656 * doc/invoke.texi (Optimize Options): Document parameters
30657 ipa-cp-eval-threshold, ipa-max-agg-items, ipa-cp-loop-hint-bonus and
30658 ipa-cp-array-index-hint-bonus.
30660 2014-05-21 Mark Wielaard <mjw@redhat.com>
30663 * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_type if DWARF
30664 version >= 3 or not strict DWARF.
30665 * langhooks.h (struct lang_hooks_for_types): Add
30666 enum_underlying_base_type.
30667 * langhooks.c (lhd_enum_underlying_base_type): New function.
30668 * gcc/langhooks.h (struct lang_hooks_for_types): Add
30669 enum_underlying_base_type.
30670 * langhooks-def.h (lhd_enum_underlying_base_type): New declaration.
30671 (LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE): New define.
30672 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add new lang hook.
30674 2014-05-21 Richard Biener <rguenther@suse.de>
30676 * doc/invoke.texi (-flto-partition=): Document one and none algorithms.
30678 2014-05-21 John Marino <gnugcc@marino.st>
30680 * config.gcc (*-*-dragonfly*): New target.
30681 * configure.ac: Detect dl_iterate_phdr (*freebsd*, *dragonfly*).
30682 * configure: Regenerate.
30683 * config/dragonfly-stdint.h: New.
30684 * config/dragonfly.h: New.
30685 * config/dragonfly.opt: New.
30686 * config/i386/dragonfly.h: New.
30687 * ginclude/stddef.h: Detect _PTRDIFF_T_DECLARED for DragonFly.
30689 2014-05-21 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
30691 * tree.def (VOID_CST): New.
30692 * tree-core.h (TI_VOID): New.
30693 * tree.h (void_node): New.
30694 * tree.c (tree_node_structure_for_code, tree_code_size)
30695 (iterative_hash_expr): Handle VOID_CST.
30696 (build_common_tree_nodes): Initialize void_node.
30698 2014-05-21 Bernd Schmidt <bernds@codesourcery.com>
30700 * reload1.c (remove_init_insns, will_delete_init_insn_p): New static
30702 (reload, calculate_needs_all_insns, reload_as_needed): Use them.
30704 * config/bfin/bfin.c (split_load_immediate): Use gen_int_mode in a few
30707 * cfgrtl.c (cfg_layout_initialize): Weaken assert to only trigger if
30708 flag_reorder_blocks_and_partition.
30709 * hw-doloop.c (reorg_loops): Avoid reordering if that flag is set.
30711 2014-05-21 Oleg Endo <olegendo@gcc.gnu.org>
30714 * config/sh/sh.md (*addc_r_1): Rename to addc_t_r. Remove empty
30716 (*addc_r_t): Add new insn_and_split.
30718 2014-05-21 Jakub Jelinek <jakub@redhat.com>
30720 PR middle-end/61252
30721 * omp-low.c (handle_simd_reference): New function.
30722 (lower_rec_input_clauses): Use it. Defer adding reference
30723 initialization even for reduction without placeholder if in simd,
30724 handle it properly later on.
30726 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
30728 PR tree-optimization/60899
30729 * gimple-fold.c (can_refer_decl_in_current_unit_p): Cleanup;
30730 assume all static symbols will have definition wile parsing and
30731 check the do have definition later in compilation; check that
30732 variable referring symbol will be output before concluding that
30733 reference is safe; be conservative for referring local statics;
30734 be more precise about when comdat is output in other partition.
30736 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
30739 * ipa-inline-transform.c (inline_call): Use add CALLEE_REMOVED
30741 * ipa-inline.c (inline_to_all_callers): If callee was removed; return.
30742 (ipa_inline): Loop inline_to_all_callers until no more aliases
30745 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
30747 * ipa.c (ipa_discover_readonly_nonaddressable_var): Fix dumping;
30748 set writeonly flag only for vars actually written to.
30750 2014-05-20 Dehao Chen <dehao@google.com>
30752 * ipa-inline-transform.c (clone_inlined_nodes): Use min of edge count
30753 and callee count to get clone count.
30754 * tree-inline.c (expand_call_inline): Use callee count instead of bb
30755 count in copy_body.
30757 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
30759 PR rtl-optimization/61243
30760 * emit-rtl.c (emit_copy_of_insn_after): Copy CROSSING_JUMP_P.
30762 2014-05-20 Xinliang David Li <davidxl@google.com>
30764 * cgraphunit.c (walk_polymorphic_call_targets): Add
30765 dbgcnt and fopt-info support.
30766 * ipa-prop.c (ipa_make_edge_direct_to_target): Ditto.
30767 * ipa-devirt.c (ipa_devirt): Ditto.
30768 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Ditto.
30769 * ipa.c (walk_polymorphic_call_targets): Ditto.
30770 * gimple-fold.c (fold_gimple_assign): Ditto.
30771 (gimple_fold_call): Ditto.
30772 * dbgcnt.def: New counter.
30774 2014-05-20 DJ Delorie <dj@redhat.com>
30776 * config/msp430/msp430.md (split): Don't allow subregs when
30777 splitting SImode adds.
30778 (andneghi): Fix subtraction logic.
30779 * config/msp430/predicates.md (msp430_nonsubreg_or_imm_operand): New.
30781 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
30783 * tree.h (DECL_ONE_ONLY): Return true only for externally visible
30785 * except.c (switch_to_exception_section, resolve_unique_section,
30786 get_named_text_section, default_function_rodata_section,
30787 align_variable, get_block_for_decl, default_section_type_flags):
30788 Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY.
30789 * symtab.c (symtab_add_to_same_comdat_group,
30790 symtab_make_decl_local, fixup_same_cpp_alias_visibility,
30791 symtab_nonoverwritable_alias, symtab_get_symbol_partitioning_class):
30793 * cgraphclones.c (cgraph_create_virtual_clone): Likewise.
30794 * bb-reorder.c (pass_partition_blocks::gate): Likewise.
30795 * config/c6x/c6x.c (c6x_elf_unique_section): Likewise.
30796 (c6x_function_in_section_p): Likewise.
30797 * config/darwin.c (machopic_select_section): Likewise.
30798 * config/arm/arm.c (arm_function_in_section_p): Likewise.
30799 * config/mips/mips.c (mips_function_rodata_section): Likewise.
30800 * config/mep/mep.c (mep_select_section): LIkewise.
30801 * config/i386/i386.c (x86_64_elf_unique_section): Likewise.
30803 2014-05-20 Eric Botcazou <ebotcazou@adacore.com>
30805 * tree-ssa-dom.c (hashable_expr_equal_p) <EXPR_CALL>: Also compare the
30806 EH region of calls to pure functions that can throw an exception.
30807 * tree-ssa-sccvn.c (vn_reference_eq): Remove duplicated test.
30808 (copy_reference_ops_from_call): Also copy the EH region of the call if
30809 it can throw an exception.
30811 2014-05-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
30813 * simplify-rtx.c (simplify_binary_operation_1): Optimize case of
30814 nested VEC_SELECTs that are inverses of each other.
30816 2014-05-20 Richard Biener <rguenther@suse.de>
30818 * tree-ssa-sccvn.c (process_scc): Dump SCC here, when iterating,
30819 (extract_and_process_scc_for_name): not here.
30820 (cond_dom_walker::before_dom_children): Only process
30821 stmts that end the BB in interesting ways.
30822 (run_scc_vn): Mark param uses as visited.
30824 2014-05-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
30826 * config/arm/arm.md (arith_shiftsi): Do not predicate for
30829 2014-05-20 Nick Clifton <nickc@redhat.com>
30831 * config/msp430/msp430.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
30832 (msp430_gimplify_va_arg_expr): New function.
30833 (msp430_print_operand): Handle (CONST (ZERO_EXTRACT)).
30835 * config/msp430/msp430.md (zero_extendpsisi2): Use + constraint on
30836 operand 0 in order to prevent confusion about the number of
30837 registers involved.
30839 2014-05-20 Richard Biener <rguenther@suse.de>
30841 PR tree-optimization/61221
30842 * tree-ssa-pre.c (el_to_update): Remove.
30843 (eliminate_dom_walker::before_dom_children): Handle released
30844 VDEFs by value-numbering them to the associated VUSE. Update
30845 stmt immediately for substituted call address.
30846 (eliminate): Remove delayed stmt updating code.
30847 * tree-ssa-sccvn.c (vuse_ssa_val): New function valueizing
30848 possibly late re-numbered vuses.
30849 (vn_reference_lookup_2): Adjust.
30850 (vn_reference_lookup_pieces): Likewise.
30851 (vn_reference_lookup): Likewise.
30853 2014-05-20 Richard Biener <rguenther@suse.de>
30855 * config.gcc: Remove need_64bit_hwint.
30856 * configure.ac: Do not define NEED_64BIT_HOST_WIDE_INT.
30857 * hwint.h: Do not check NEED_64BIT_HOST_WIDE_INT but assume
30859 * config.in: Regenerate.
30860 * configure: Likewise.
30862 2014-05-19 David Wohlferd <dw@LimeGreenSocks.com>
30864 * doc/extend.texi: Create Label Attributes section,
30865 move all label attributes into it and reference it.
30867 2014-05-19 Richard Earnshaw <rearnsha@arm.com>
30869 * arm.c (thumb1_reorg): When scanning backwards skip anything
30870 that's not a proper insn.
30872 2014-05-19 Richard Biener <rguenther@suse.de>
30874 PR tree-optimization/61221
30875 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
30876 Do nothing for unreachable blocks.
30877 * tree-ssa-sccvn.c (cond_dom_walker::before_dom_children):
30878 Improve unreachability detection.
30880 2014-05-19 Richard Biener <rguenther@suse.de>
30882 PR tree-optimization/61209
30883 * tree-ssa-sccvn.c (visit_phi): Avoid setting expr to VN_TOP.
30885 2014-05-19 Nick Clifton <nickc@redhat.com>
30887 * except.c (init_eh): Fix computation of builtin setjmp buffer
30888 size to allow for targets where POINTER_SIZE > BITS_PER_WORD.
30890 2014-05-19 Richard Biener <rguenther@suse.de>
30892 PR tree-optimization/61184
30893 * tree-vrp.c (is_negative_overflow_infinity): Use
30894 TREE_OVERFLOW_P and do that check first.
30895 (is_positive_overflow_infinity): Likewise.
30896 (is_overflow_infinity): Likewise.
30897 (vrp_operand_equal_p): Properly treat operands with
30898 differing overflow as not equal.
30900 2014-05-19 Bernd Schmidt <bernds@codesourcery.com>
30902 * simplify-rtx.c (simplify_unary_operation_1): Use CONST_INT_P in
30903 shift simplification where it was intended.
30905 2014-05-19 Christian Bruel <christian.bruel@st.com>
30908 * config/sh/sh.md (movsf_ie): Unset fp_mode for fmov.
30910 2014-05-19 Richard Sandiford <r.sandiford@uk.ibm.com>
30913 * config/sparc/sparc.c (sparc_fold_builtin): Use widest_int rather
30916 2014-05-19 Richard Sandiford <rdsandiford@googlemail.com>
30918 * reg-notes.def (CROSSING_JUMP): Likewise.
30919 * rtl.h (rtx_def): Update comment for jump flag.
30920 (CROSSING_JUMP_P): Define.
30921 * cfgcleanup.c (try_forward_edges, try_optimize_cfg): Use it instead
30922 of a REG_CROSSING_JUMP note.
30923 * cfghooks.c (tidy_fallthru_edges): Likewise.
30924 * cfgrtl.c (fixup_partition_crossing, rtl_verify_edges): Likewise.
30925 * emit-rtl.c (try_split): Likewise.
30926 * haifa-sched.c (sched_create_recovery_edges): Likewise.
30927 * ifcvt.c (find_if_case_1, find_if_case_2): Likewise.
30928 * jump.c (redirect_jump_2): Likewise.
30929 * reorg.c (follow_jumps, fill_slots_from_thread): Likewise.
30930 (relax_delay_slots): Likewise.
30931 * config/arc/arc.md (jump_i, cbranchsi4_scratch, *bbit): Likewise.
30932 (bbit_di): Likewise.
30933 * config/arc/arc.c (arc_reorg, arc_can_follow_jump): Likewise.
30934 * config/sh/sh.md (jump_compact): Likewise.
30935 * bb-reorder.c (rotate_loop): Likewise.
30936 (pass_duplicate_computed_gotos::execute): Likewise.
30937 (add_reg_crossing_jump_notes): Rename to...
30938 (update_crossing_jump_flags): ...this.
30939 (pass_partition_blocks::execute): Update accordingly.
30941 2014-05-19 Richard Sandiford <rdsandiford@googlemail.com>
30943 * tree.h: Remove extraneous template <>.
30945 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
30947 * ipa.c (symtab_remove_unreachable_nodes): Remove
30948 symbol from comdat group if its body was eliminated.
30949 (comdat_can_be_unshared_p_1): Static symbols can always be privatized.
30950 * symtab.c (symtab_remove_from_same_comdat_group): Break out from ...
30951 (symtab_unregister_node): ... this one.
30952 (verify_symtab_base): More strict checking of comdats.
30953 * cgraph.h (symtab_remove_from_same_comdat_group): Declare.
30955 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
30957 * tree-pass.h (make_pass_ipa_comdats): New pass.
30958 * timevar.def (TV_IPA_COMDATS): New timevar.
30959 * passes.def (pass_ipa_comdats): Add.
30960 * Makefile.in (OBJS): Add ipa-comdats.o
30961 * ipa-comdats.c: New file.
30963 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
30965 * ipa.c (update_visibility_by_resolution_info): New function.
30966 (function_and_variable_visibility): Use it.
30968 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
30970 * cgraph.h (symtab_first_defined_symbol, symtab_next_defined_symbol):
30972 (FOR_EACH_DEFINED_SYMBOL): New macro.
30973 (varpool_first_static_initializer, varpool_next_static_initializer,
30974 varpool_first_defined_variable, varpool_next_defined_variable):
30976 (symtab_in_same_comdat_p): Correctly deal with inline functions.
30978 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
30980 * ggc-page.c (ggc_handle_finalizers): Add comment.
30982 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
30984 * ggc-common.c (ggc_internal_cleared_alloc): Adjust.
30985 * ggc-none.c (ggc_internal_alloc): Assert if a finalizer is passed.
30986 (ggc_internal_cleared_alloc): Likewise.
30987 * ggc-page.c (finalizer): New class.
30988 (vec_finalizer): Likewise.
30989 (globals::finalizers): New member.
30990 (globals::vec_finalizers): Likewise.
30991 (ggc_internal_alloc): Record the finalizer if any for the block being
30993 (ggc_handle_finalizers): New function.
30994 (ggc_collect): Call ggc_handle_finalizers.
30995 * ggc.h (ggc_internal_alloc): Add arguments to allow installing a
30997 (ggc_internal_cleared_alloc): Likewise.
30998 (finalize): New function.
30999 (need_finalization_p): Likewise.
31000 (ggc_alloc): Install the type's destructor as the finalizer if it
31001 might do something.
31002 (ggc_cleared_alloc): Likewise.
31003 (ggc_vec_alloc): Likewise.
31004 (ggc_cleared_vec_alloc): Likewise.
31006 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
31008 * ggc.h (ggc_alloc_cleared_simd_clone_stat): Remove function.
31010 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
31012 * alias.c (record_alias_subset): Adjust.
31013 * bitmap.c (bitmap_element_allocate): Likewise.
31014 (bitmap_gc_alloc_stat): Likewise.
31015 * cfg.c (init_flow): Likewise.
31016 (alloc_block): Likewise.
31017 (unchecked_make_edge): Likewise.
31018 * cfgloop.c (alloc_loop): Likewise.
31019 (flow_loops_find): Likewise.
31020 (rescan_loop_exit): Likewise.
31021 * cfgrtl.c (init_rtl_bb_info): Likewise.
31022 * cgraph.c (insert_new_cgraph_node_version): Likewise.
31023 (cgraph_allocate_node): Likewise.
31024 (cgraph_create_edge_1): Likewise.
31025 (cgraph_allocate_init_indirect_info): Likewise.
31026 * cgraphclones.c (cgraph_clone_edge): Likewise.
31027 * cgraphunit.c (add_asm_node): Likewise.
31028 (init_lowered_empty_function): Likewise.
31029 * config/aarch64/aarch64.c (aarch64_init_machine_status): Likewise.
31030 * config/alpha/alpha.c (alpha_init_machine_status): Likewise.
31031 (alpha_use_linkage): Likewise.
31032 * config/arc/arc.c (arc_init_machine_status): Likewise.
31033 * config/arm/arm.c (arm_init_machine_status): Likewise.
31034 * config/avr/avr.c (avr_init_machine_status): Likewise.
31035 * config/bfin/bfin.c (bfin_init_machine_status): Likewise.
31036 * config/c6x/c6x.c (c6x_init_machine_status): Likewise.
31037 * config/cris/cris.c (cris_init_machine_status): Likewise.
31038 * config/darwin.c (machopic_indirection_name): Likewise.
31039 (darwin_build_constant_cfstring): Likewise.
31040 (darwin_enter_string_into_cfstring_table): Likewise.
31041 * config/epiphany/epiphany.c (epiphany_init_machine_status): Likewise.
31042 * config/frv/frv.c (frv_init_machine_status): Likewise.
31043 * config/i386/i386.c (get_dllimport_decl): Likewise.
31044 (ix86_init_machine_status): Likewise.
31045 (assign_386_stack_local): Likewise.
31046 * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
31047 (i386_pe_maybe_record_exported_symbol): Likewise.
31048 (i386_pe_record_stub): Likewise.
31049 * config/ia64/ia64.c (ia64_init_machine_status): Likewise.
31050 * config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise.
31051 * config/m32c/m32c.c (m32c_init_machine_status): Likewise.
31052 (m32c_note_pragma_address): Likewise.
31053 * config/mep/mep.c (mep_init_machine_status): Likewise.
31054 (mep_note_pragma_flag): Likewise.
31055 * config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise.
31056 (mips16_local_alias): Likewise.
31057 (mips_init_machine_status): Likewise.
31058 * config/mmix/mmix.c (mmix_init_machine_status): Likewise.
31059 * config/moxie/moxie.c (moxie_init_machine_status): Likewise.
31060 * config/msp430/msp430.c (msp430_init_machine_status): Likewise.
31061 * config/nds32/nds32.c (nds32_init_machine_status): Likewise.
31062 * config/nios2/nios2.c (nios2_init_machine_status): Likewise.
31063 * config/pa/pa.c (pa_init_machine_status): Likewise.
31064 (pa_get_deferred_plabel): Likewise.
31065 * config/rl78/rl78.c (rl78_init_machine_status): Likewise.
31066 * config/rs6000/rs6000.c (builtin_function_type): Likewise.
31067 (rs6000_init_machine_status): Likewise.
31068 (output_toc): Likewise.
31069 * config/s390/s390.c (s390_init_machine_status): Likewise.
31070 * config/score/score.c (score_output_external): Likewise.
31071 * config/sparc/sparc.c (sparc_init_machine_status): Likewise.
31072 * config/spu/spu.c (spu_init_machine_status): Likewise.
31073 * config/tilegx/tilegx.c (tilegx_init_machine_status): Likewise.
31074 * config/tilepro/tilepro.c (tilepro_init_machine_status): Likewise.
31075 * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
31076 * coverage.c (coverage_end_function): Likewise.
31077 * dbxout.c (dbxout_init): Likewise.
31078 * doc/gty.texi: Don't mention variable_size attribute.
31079 * dwarf2cfi.c (new_cfi): Adjust.
31080 (new_cfi_row): Likewise.
31081 (copy_cfi_row): Likewise.
31082 (create_cie_data): Likewise.
31083 * dwarf2out.c (dwarf2out_alloc_current_fde): Likewise.
31084 (new_loc_descr): Likewise.
31085 (find_AT_string_in_table): Likewise.
31086 (add_addr_table_entry): Likewise.
31087 (new_die): Likewise.
31088 (add_var_loc_to_decl): Likewise.
31089 (clone_die): Likewise.
31090 (clone_as_declaration): Likewise.
31091 (break_out_comdat_types): Likewise.
31092 (new_loc_list): Likewise.
31093 (add_loc_descr_to_each): Likewise.
31094 (add_location_or_const_value_attribute): Likewise.
31095 (add_linkage_name): Likewise.
31096 (lookup_filename): Likewise.
31097 (dwarf2out_var_location): Likewise.
31098 (new_line_info_table): Likewise.
31099 (dwarf2out_init): Likewise.
31100 (mem_loc_descriptor): Likewise.
31101 (loc_descriptor): Likewise.
31102 (add_const_value_attribute): Likewise.
31103 (tree_add_const_value_attribute): Likewise.
31104 (comp_dir_string): Likewise.
31105 (dwarf2out_vms_debug_main_pointer): Likewise.
31106 (string_cst_pool_decl): Likewise.
31107 * emit-rtl.c (set_mem_attrs): Likewise.
31108 (get_reg_attrs): Likewise.
31109 (start_sequence): Likewise.
31110 (init_emit): Likewise.
31111 (init_emit_regs): Likewise.
31112 * except.c (init_eh_for_function): Likewise.
31113 (gen_eh_region): Likewise.
31114 (gen_eh_region_catch): Likewise.
31115 (gen_eh_landing_pad): Likewise.
31116 (add_call_site): Likewise.
31117 * function.c (add_frame_space): Likewise.
31118 (insert_temp_slot_address): Likewise.
31119 (assign_stack_temp_for_type): Likewise.
31120 (get_hard_reg_initial_val): Likewise.
31121 (allocate_struct_function): Likewise.
31122 (prepare_function_start): Likewise.
31123 (types_used_by_var_decl_insert): Likewise.
31124 * gengtype.c (variable_size_p): Remove function.
31125 (enum alloc_quantity): Remove enum.
31126 (write_typed_alloc_def): Remove function.
31127 (write_typed_struct_alloc_def): Likewise.
31128 (write_typed_typedef_alloc_def): Likewise.
31129 (write_typed_alloc_defns): Likewise.
31131 * ggc-common.c (ggc_cleared_alloc_htab_ignore_args): Adjust.
31132 (ggc_cleared_alloc_ptr_array_two_args): Likewise.
31133 * ggc.h (ggc_alloc): new function.
31134 (ggc_cleared_alloc): Likewise.
31135 (ggc_vec_alloc): Template on type of vector element, and remove
31136 element size argument.
31137 (ggc_cleared_vec_alloc): Likewise.
31138 * gimple.c (gimple_build_omp_for): Adjust.
31139 (gimple_copy): Likewise.
31140 * ipa-cp.c (get_replacement_map): Likewise.
31141 (find_aggregate_values_for_callers_subset): Likewise.
31142 (known_aggs_to_agg_replacement_list): Likewise.
31143 * ipa-devirt.c (get_odr_type): Likewise.
31144 * ipa-prop.c (ipa_node_duplication_hook): Likewise.
31145 (read_agg_replacement_chain): Likewise.
31146 * loop-iv.c (get_simple_loop_desc): Likewise.
31147 * lto-cgraph.c (input_node_opt_summary): Likewise.
31148 * lto-section-in.c (lto_new_in_decl_state): Likewise.
31149 * lto-streamer-in.c (lto_input_eh_catch_list): Likewise.
31150 (input_eh_region): Likewise.
31151 (input_eh_lp): Likewise.
31152 (input_cfg): Likewise.
31153 * optabs.c (set_optab_libfunc): Likewise.
31154 (init_tree_optimization_optabs): Likewise.
31155 (set_conv_libfunc): Likewise.
31156 * passes.c (do_per_function_toporder): Likewise.
31157 * rtl.h: Don't use variable_size gty attribute.
31158 * sese.c (if_region_set_false_region): Adjust.
31159 * stringpool.c (gt_pch_save_stringpool): Likewise.
31160 * target-globals.c (save_target_globals): Likewise.
31161 * toplev.c (general_init): Likewise.
31162 * trans-mem.c (record_tm_replacement): Likewise.
31163 (split_bb_make_tm_edge): Likewise.
31164 * tree-cfg.c (move_sese_region_to_fn): Likewise.
31165 * tree-data-ref.h (lambda_vector_new): Likewise.
31166 * tree-eh.c (add_stmt_to_eh_lp_fn): Likewise.
31167 * tree-iterator.c (tsi_link_before): Likewise.
31168 (tsi_link_after): Likewise.
31169 * tree-scalar-evolution.c (new_scev_info_str): Likewise.
31170 * tree-ssa-loop-niter.c (record_estimate): Likewise.
31171 * tree-ssa-operands.c (ssa_operand_alloc): Likewise.
31172 * tree-ssa-operands.h: Don't use variable_size gty attribute.
31173 * tree-ssa.c (init_tree_ssa): Adjust.
31174 * tree-ssanames.c (set_range_info): Likewise.
31175 (get_ptr_info): Likewise.
31176 (duplicate_ssa_name_ptr_info): Likewise.
31177 (duplicate_ssa_name_range_info): Likewise.
31178 * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Likewise.
31179 (unpack_ts_fixed_cst_value_fields): Likewise.
31180 * tree.c (build_fixed): Likewise.
31181 (build_real): Likewise.
31182 (build_string): Likewise.
31183 (decl_priority_info): Likewise.
31184 (decl_debug_expr_insert): Likewise.
31185 (decl_value_expr_insert): Likewise.
31186 (decl_debug_args_insert): Likewise.
31187 (type_hash_add): Likewise.
31188 (build_omp_clause): Likewise.
31189 * ubsan.c (decl_for_type_insert): Likewise.
31190 * varasm.c (get_unnamed_section): Likewise.
31191 (get_noswitch_section): Likewise.
31192 (get_section): Likewise.
31193 (get_block_for_section): Likewise.
31194 (create_block_symbol): Likewise.
31195 (build_constant_desc): Likewise.
31196 (create_constant_pool): Likewise.
31197 (force_const_mem): Likewise.
31198 (record_tm_clone_pair): Likewise.
31199 * varpool.c (varpool_create_empty_node): Likewise.
31201 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
31203 * dwarf2out.c (tree_add_const_value_attribute): Call
31204 ggc_internal_cleared_alloc instead of ggc_alloc_cleared_atomic.
31205 * gengtype.c (write_typed_alloc_def): Call ggc_internal_<x>alloc
31206 instead of ggc_internal_<x>alloc_stat.
31207 * ggc-common.c (ggc_internal_cleared_alloc): Drop _stat suffix.
31208 (ggc_realloc): Likewise.
31209 * ggc-none.c (ggc_internal_alloc): Likewise.
31210 (ggc_internal_cleared_alloc): Likewise.
31211 * ggc-page.c: Likewise.
31212 * ggc.h (ggc_internal_alloc_stat): Likewise.
31213 (ggc_internal_alloc): Remove macro.
31214 (ggc_internal_cleared_alloc_stat): Drop _stat suffix.
31215 (ggc_internal_cleared_alloc): Remove macro.
31216 (GGC_RESIZEVEC): Adjust.
31217 (ggc_resizevar): Remove macro.
31218 (ggc_internal_vec_alloc_stat): Drop _stat suffix.
31219 (ggc_internal_cleared_vec_alloc_stat): Likewise.
31220 (ggc_internal_vec_cleared_alloc): Remove macro.
31221 (ggc_alloc_atomic_stat): Drop _stat suffix.
31222 (ggc_alloc_atomic): Remove macro.
31223 (ggc_alloc_cleared_atomic): Remove macro.
31224 (ggc_alloc_string_stat): Drop _stat suffix.
31225 (ggc_alloc_string): Remove macro.
31226 (ggc_alloc_rtx_def_stat): Adjust.
31227 (ggc_alloc_tree_node_stat): Likewise.
31228 (ggc_alloc_cleared_tree_node_stat): Likewise.
31229 (ggc_alloc_cleared_gimple_statement_stat): Likewise.
31230 (ggc_alloc_cleared_simd_clone_stat): Likewise.
31231 * gimple.c (gimple_build_omp_for): Likewise.
31232 (gimple_copy): Likewise.
31233 * stringpool.c (ggc_alloc_string_stat): Drop _stat suffix.
31234 * toplev.c (realloc_for_line_map): Adjust.
31235 * tree-data-ref.h (lambda_vector_new): Likewise.
31236 * tree-phinodes.c (allocate_phi_node): Likewise.
31237 * tree.c (grow_tree_vec_stat): Likewise.
31238 * vec.h (va_gc::reserve): Adjust.
31240 2014-05-17 Ajit Agarwal <ajitkum@xilinx.com>
31242 * config/microblaze/microblaze.c (break_handler): New Declaration.
31243 (microblaze_break_function_p,microblaze_is_break_handler): New.
31244 (compute_frame_size): Use microblaze_break_function_p.
31245 Add the test of break_handler.
31246 (microblaze_function_prologue) : Add the test of variable
31247 break_handler. Check the fnname by BREAK_HANDLER_NAME.
31248 (microblaze_function_epilogue) : Add the test of break_handler.
31249 (microblaze_globalize_label) : Add the test of break_handler.
31250 Check the name by BREAK_HANDLER_NAME.
31252 * config/microblaze/microblaze.h (BREAK_HANDLER_NAME): New macro
31254 * config/microblaze/microblaze.md (*<optab>,<optab>_internal): Add
31255 microblaze_is_break_handler test.
31256 (call_internal1,call_value_intern): Use microblaze_break_function_p.
31257 Use SYMBOL_REF_DECL.
31259 * config/microblaze/microblaze-protos.h
31260 (microblaze_break_function_p,microblaze_is_break_handler):
31263 * doc/extend.texi (MicroBlaze break_handler Functions): Document
31264 new MicroBlaze break_handler functions.
31266 2014-05-17 Uros Bizjak <ubizjak@gmail.com>
31268 * doc/extend.texi (Size of an asm): Move node text according
31269 to its @menu entry position.
31271 2014-05-17 Marc Glisse <marc.glisse@inria.fr>
31273 PR tree-optimization/61140
31274 PR tree-optimization/61150
31275 PR tree-optimization/61197
31276 * tree-ssa-phiopt.c (value_replacement): Punt on multiple phis.
31278 2014-05-17 Uros Bizjak <ubizjak@gmail.com>
31280 * doc/invoke.texi (free): Mention Alpha. Also enabled at -Os.
31282 2014-05-17 Richard Sandiford <r.sandiford@uk.ibm.com>
31284 * wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or
31285 __SIZEOF_INT128__ is defined.
31287 2014-05-17 Richard Sandiford <rdsandiford@googlemail.com>
31289 * config/rs6000/rs6000.c (rs6000_real_tls_symbol_ref_p): New function.
31290 (rs6000_delegitimize_address): Use it.
31292 2014-05-17 Richard Sandiford <rdsandiford@googlemail.com>
31294 * emit-rtl.h (replace_equiv_address, replace_equiv_address_nv): Add an
31295 inplace argument. Store the new address in the original MEM when true.
31296 * emit-rtl.c (change_address_1): Likewise.
31297 (adjust_address_1, adjust_automodify_address_1, offset_address):
31298 Update accordingly.
31299 * rtl.h (plus_constant): Add an inplace argument.
31300 * explow.c (plus_constant): Likewise. Try to reuse the original PLUS
31301 when true. Avoid generating (plus X (const_int 0)).
31302 * function.c (instantiate_virtual_regs_in_rtx): Adjust the PLUS
31303 in-place. Pass true to plus_constant.
31304 (instantiate_virtual_regs_in_insn): Pass true to replace_equiv_address.
31306 2014-05-16 Dehao Chen <dehao@google.com>
31308 * tree-cfg.c (gimple_merge_blocks): Updates bb count with max count.
31310 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org>
31313 * config/sh/predicates.md (negt_reg_shl31_operand): Match additional
31315 * config/sh/sh.md (*negt_msb): Merge SH2A and non-SH2A variants.
31317 2014-05-16 Dehao Chen <dehao@google.com>
31319 * ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Use
31320 optimize_function_for_size_p.
31321 * regs.h (REG_FREQ_FROM_BB): Likewise.
31323 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org>
31326 * config/sh/sh.c (sh_eval_treg_value): Handle t_reg_operand and
31327 negt_reg_operand cases.
31328 * config/sh/sh.md (*cset_zero): Likewise by using cbranch_treg_value
31330 * config/sh/predicates.md (cbranch_treg_value): Simplify.
31332 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org>
31334 * config/sh/sh.c (sh_option_override): Set branch cost to 2 for all
31337 2014-05-16 David Malcolm <dmalcolm@redhat.com>
31340 2014-04-29 David Malcolm <dmalcolm@redhat.com>
31342 * tree-cfg.c (dump_function_to_file): Dump the return type of
31343 functions, in a line to itself before the function body, mimicking
31344 the layout of a C function.
31346 2014-05-16 Dehao Chen <dehao@google.com>
31348 * cfghooks.c (make_forwarder_block): Use direct computation to
31349 get fall-through edge's count and frequency.
31351 2014-05-16 Benno Schulenberg <bensberg@justemail.net>
31353 * config/arc/arc.c (arc_init): Fix typo in error message.
31354 * config/i386/i386.c (ix86_expand_builtin): Likewise.
31355 (split_stack_prologue_scratch_regno): Likewise.
31356 * fortran/check.c (gfc_check_fn_rc2008): Remove duplicate
31357 word from error message.
31359 2014-05-16 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
31361 * ira-costs.c: Fix typo in comment.
31363 2014-05-16 David Wohlferd <dw@LimeGreenSocks.com>
31365 * doc/extend.texi: (Visibility Pragmas) Fix misplaced @xref
31367 2014-05-16 Jan Hubicka <hubicka@ucw.cz>
31369 * varpool.c (dump_varpool_node): Dump write-only flag.
31370 * lto-cgraph.c (lto_output_varpool_node, input_varpool_node): Stream
31372 * tree-cfg.c (execute_fixup_cfg): Remove statements setting
31373 write-only variables.
31374 * ipa.c (process_references): New function.
31375 (set_readonly_bit): New function.
31376 (set_writeonly_bit): New function.
31377 (clear_addressable_bit): New function.
31378 (ipa_discover_readonly_nonaddressable_var): Mark write only variables;
31379 fix handling of aliases.
31380 * cgraph.h (struct varpool_node): Add writeonly flag.
31382 2014-05-16 Vladimir Makarov <vmakarov@redhat.com>
31384 PR rtl-optimization/60969
31385 * ira-costs.c (record_reg_classes): Allow only memory for pseudo.
31386 Calculate costs for this case.
31388 2014-05-16 Eric Botcazou <ebotcazou@adacore.com>
31390 * fold-const (fold_unary_loc) <NON_LVALUE_EXPR>: New case.
31391 <CASE_CONVERT>: Pass arg0 instead of op0 to fold_convert_const.
31393 2014-05-16 Richard Biener <rguenther@suse.de>
31395 PR tree-optimization/61194
31396 * tree-vect-patterns.c (adjust_bool_pattern): Also handle
31397 bool patterns ending in a COND_EXPR.
31399 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31401 * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Fix FNMUL case.
31403 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31405 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case
31406 where we were unable to cost an RTX.
31408 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31410 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost SYMBOL_REF,
31413 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31414 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
31416 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost TRUNCATE.
31418 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31419 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
31421 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost FMA,
31422 FLOAT_EXTEND, FLOAT_TRUNCATE, ABS, SMAX, and SMIN.
31424 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31425 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
31427 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost comparison
31430 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31431 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
31433 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
31436 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31437 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
31439 * config/aarch64/aarch64.c (aarch64_rtx_arith_op_extract_p): New.
31440 (aarch64_rtx_costs): Improve costs for SIGN/ZERO_EXTRACT.
31442 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31443 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
31445 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
31446 rotates and shifts.
31448 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31449 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
31451 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost
31452 ZERO_EXTEND and SIGN_EXTEND better.
31454 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31455 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
31457 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve cost for
31458 logical operations.
31460 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31461 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
31463 * config/aarch64/aarch64.c (aarch64_rtx_costs): Use address
31464 costs when costing loads and stores to memory.
31466 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31467 Philip Tomsich <philipp.tomsich@theobroma-systems.com>
31469 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costing
31472 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31474 * config/aarch64/aarch64.c (aarch64_rtx_costs): Set default costs.
31476 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31477 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
31479 * config/aarch64/aarch64.c (aarch64_strip_shift_or_extend): Rename
31481 (aarch64_strip_extend): ...this, don't strip shifts, check RTX is
31483 (aarch64_rtx_mult_cost): New.
31484 (aarch64_rtx_costs): Use it, refactor as appropriate.
31486 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31487 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
31489 * config/aarch64/aarch64.c (aarch64_build_constant): Conditionally
31490 emit instructions, return number of instructions which would
31492 (aarch64_add_constant): Update call to aarch64_build_constant.
31493 (aarch64_output_mi_thunk): Likewise.
31494 (aarch64_rtx_costs): Estimate cost of a CONST_INT, cost of
31497 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31499 * config/aarch64/aarch64.c (aarch64_rtx_costs_wrapper): New.
31500 (TARGET_RTX_COSTS): Call it.
31502 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31504 * config/aarch64/aarch64.c (cortexa57_addrcost_table): New.
31505 (cortexa57_vector_cost): Likewise.
31506 (cortexa57_tunings): Use them.
31508 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
31510 * config/aarch64/aarch64-protos.h (scale_addr_mode_cost): New.
31511 (cpu_addrcost_table): Use it.
31512 * config/aarch64/aarch64.c (generic_addrcost_table): Initialize it.
31513 (aarch64_address_cost): Rewrite using aarch64_classify_address,
31516 2014-05-16 Richard Biener <rguenther@suse.de>
31518 * tree-ssa-sccvn.c: Include tree-cfg.h and domwalk.h.
31519 (set_ssa_val_to): Handle unexpected sets to VN_TOP.
31520 (visit_phi): Ignore edges marked as not executable.
31521 (class cond_dom_walker): New.
31522 (cond_dom_walker::before_dom_children): Value-number
31523 control statements and mark successor edges as not
31524 executable if possible.
31525 (run_scc_vn): First walk all control statements in
31526 dominator order, marking edges as not executable.
31527 * tree-inline.c (copy_edges_for_bb): Be not confused
31528 about random edge flags.
31530 2014-05-16 Richard Biener <rguenther@suse.de>
31532 * tree-ssa-sccvn.c (visit_use): Also constant-fold calls.
31534 2014-05-15 Peter Bergner <bergner@vnet.ibm.com>
31537 * config/rs6000/htmxlintrin.h (_HTM_TBEGIN_STARTED): New define.
31538 (__TM_simple_begin): Use it.
31539 (__TM_begin): Likewise.
31541 2014-05-15 Martin Jambor <mjambor@suse.cz>
31544 * ipa-prop.c (update_indirect_edges_after_inlining): Check
31545 type_preserved flag when the indirect edge is polymorphic.
31547 2014-05-15 Martin Jambor <mjambor@suse.cz>
31549 PR tree-optimization/61090
31550 * tree-sra.c (sra_modify_expr): Pass the current gsi to
31551 build_ref_for_model.
31553 2014-05-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
31555 * config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL
31556 enum name for PARAM_SCHED_PRESSURE_ALGORITHM.
31558 2014-05-15 Jakub Jelinek <jakub@redhat.com>
31560 PR tree-optimization/61158
31561 * fold-const.c (fold_binary_loc): If X is zero-extended and
31562 shiftc >= prec, make sure zerobits is all ones instead of
31563 invoking undefined behavior.
31565 2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
31567 * regcprop.h: New file.
31568 * regcprop.c (skip_debug_insn_p): New decl.
31569 (replace_oldest_value_reg): Check skip_debug_insn_p.
31570 (copyprop_hardreg_forward_bb_without_debug_insn): New function.
31571 * shrink-wrap.c: Include regcprop.h.
31572 (prepare_shrink_wrap): Call
31573 copyprop_hardreg_forward_bb_without_debug_insn.
31575 2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
31577 * shrink-wrap.h: Update comment.
31578 * shrink-wrap.c: Update comment.
31579 (next_block_for_reg): Rename to live_edge_for_reg.
31580 (live_edge_for_reg): Allow live_edge->dest has two predecessors.
31581 (move_insn_for_shrink_wrap): Split live_edge.
31582 (prepre_shrink_wrap): One more parameter for move_insn_for_shrink_wrap.
31584 2014-05-14 Eric Botcazou <ebotcazou@adacore.com>
31586 * config/sparc/sparc-protos.h (sparc_absnegfloat_split_legitimate):
31588 * config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): Likewise.
31589 * config/sparc/sparc.md (fptype_ut699): New attribute.
31590 (in_branch_delay): Return false if -mfix-ut699 is specified and
31591 fptype_ut699 is set to single.
31592 (truncdfsf2): Add fptype_ut699 attribute.
31593 (fix_truncdfsi2): Likewise.
31594 (floatsisf2): Change fptype attribute.
31595 (fix_truncsfsi2): Likewise.
31596 (negtf2_notv9): Delete.
31597 (negtf2_v9): Likewise.
31598 (negtf2_hq): New instruction.
31599 (negtf2): New instruction and splitter.
31600 (negdf2_notv9): Rewrite.
31601 (abstf2_notv9): Delete.
31602 (abstf2_hq_v9): Likewise.
31603 (abstf2_v9): Likewise.
31604 (abstf2_hq): New instruction.
31605 (abstf2): New instruction and splitter.
31606 (absdf2_notv9): Rewrite.
31608 2014-05-14 Cary Coutant <ccoutant@google.com>
31611 * opts.c (common_handle_option): Don't special-case "-g".
31612 (set_debug_level): Default to at least level 2 with "-g".
31614 2014-05-14 DJ Delorie <dj@redhat.com>
31616 * config/msp430/msp430.c (msp430_builtin): Add
31617 MSP430_BUILTIN_DELAY_CYCLES.
31618 (msp430_init_builtins): Register void __delay_cycles(long long).
31619 (msp430_builtin_decl): Add it.
31620 (cg_magic_constant): New.
31621 (msp430_expand_delay_cycles): New.
31622 (msp430_expand_builtin): Call it.
31623 (msp430_print_operand_raw): Change integer printing from "int" to
31625 * config/msp430/msp430.md (define_constants): Add delay_cycles tags.
31626 (delay_cycles_start): New.
31627 (delay_cycles_end): New.
31628 (delay_cycles_32): New.
31629 (delay_cycles_32x): New.
31630 (delay_cycles_16): New.
31631 (delay_cycles_16x): New.
31632 (delay_cycles_2): New.
31633 (delay_cycles_1): New.
31634 * doc/extend.texi: Document __delay_cycles().
31636 2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
31638 * config/nios2/nios2.md (nios2_cbranch): Fix paste-o in
31639 length attribute computation.
31641 2014-05-14 Richard Sandiford <rdsandiford@googlemail.com>
31644 * print-rtl.c (print_rtx): Suppress uids if flag_dump_unnumbered.
31646 2014-05-14 Richard Sandiford <r.sandiford@uk.ibm.com>
31649 * config/sparc/sparc.md: Fix types of low and high in DI constant
31650 splitter. Use gen_int_mode in some other splitters.
31652 2014-05-14 Martin Jambor <mjambor@suse.cz>
31655 * ipa-prop.c (ipa_modify_formal_parameters): Reset DECL_LANG_SPECIFIC.
31657 2014-05-14 James Norris <jnorris@codesourcery.com>
31659 * omp-low.c (expand_parallel_call): Remove shadow variable.
31660 (expand_omp_taskreg): Likewise.
31662 2014-05-14 Ilya Tocar <ilya.tocar@intel.com>
31664 * common/config/i386/i386-common.c
31665 (OPTION_MASK_ISA_CLFLUSHOPT_SET): Define.
31666 (OPTION_MASK_ISA_XSAVES_SET): Ditto.
31667 (OPTION_MASK_ISA_XSAVEC_SET): Ditto.
31668 (OPTION_MASK_ISA_CLFLUSHOPT_UNSET): Ditto.
31669 (OPTION_MASK_ISA_XSAVES_UNSET): Ditto.
31670 (OPTION_MASK_ISA_XSAVEC_UNSET): Ditto.
31671 (ix86_handle_option): Handle OPT_mxsavec, OPT_mxsaves, OPT_mclflushopt.
31672 * config.gcc (i[34567]86-*-*): Add clflushoptintrin.h,
31673 xsavecintrin.h, xsavesintrin.h.
31674 (x86_64-*-*): Ditto.
31675 * config/i386/clflushoptintrin.h: New.
31676 * config/i386/xsavecintrin.h: Ditto.
31677 * config/i386/xsavesintrin.h: Ditto.
31678 * config/i386/cpuid.h (bit_CLFLUSHOPT): Define.
31679 (bit_XSAVES): Ditto.
31680 (bit_XSAVES): Ditto.
31681 * config/i386/driver-i386.c (host_detect_local_cpu): Handle
31682 -mclflushopt, -mxsavec, -mxsaves, -mno-xsaves, -mno-xsavec,
31684 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
31685 OPTION_MASK_ISA_CLFLUSHOPT, OPTION_MASK_ISA_XSAVEC,
31686 OPTION_MASK_ISA_XSAVES.
31687 * config/i386/i386.c (ix86_target_string): Handle -mclflushopt,
31688 -mxsavec, -mxsaves.
31689 (PTA_CLFLUSHOPT) Define.
31690 (PTA_XSAVEC): Ditto.
31691 (PTA_XSAVES): Ditto.
31692 (ix86_option_override_internal): Handle new options.
31693 (ix86_valid_target_attribute_inner_p): Ditto.
31694 (ix86_builtins): Add IX86_BUILTIN_XSAVEC, IX86_BUILTIN_XSAVEC64,
31695 IX86_BUILTIN_XSAVES, IX86_BUILTIN_XRSTORS, IX86_BUILTIN_XSAVES64,
31696 IX86_BUILTIN_XRSTORS64, IX86_BUILTIN_CLFLUSHOPT.
31697 (bdesc_special_args): Add __builtin_ia32_xsaves,
31698 __builtin_ia32_xrstors, __builtin_ia32_xsavec, __builtin_ia32_xsaves64,
31699 __builtin_ia32_xrstors64, __builtin_ia32_xsavec64.
31700 (ix86_init_mmx_sse_builtins): Add __builtin_ia32_clflushopt.
31701 (ix86_expand_builtin): Handle new builtins.
31702 * config/i386/i386.h (TARGET_CLFLUSHOPT) Define.
31703 (TARGET_CLFLUSHOPT_P): Ditto.
31704 (TARGET_XSAVEC): Ditto.
31705 (TARGET_XSAVEC_P): Ditto.
31706 (TARGET_XSAVES): Ditto.
31707 (TARGET_XSAVES_P): Ditto.
31708 * config/i386/i386.md (ANY_XSAVE): Add UNSPECV_XSAVEC, UNSPECV_XSAVES.
31709 (ANY_XSAVE64)" Add UNSPECV_XSAVEC64, UNSPECV_XSAVES64.
31710 (attr xsave): Add xsavec, xsavec64, xsaves, xsaves64.
31712 (ANY_XRSTOR64): Ditto.
31714 (xrstor): Change into <xrstor>.
31715 (xrstor_rex64): Change into <xrstor>_rex64.
31716 (xrstor64): Change into <xrstor>64
31718 * config/i386/i386.opt (mclflushopt): New.
31721 * config/i386/x86intrin.h: Add clflushoptintrin.h, xsavesintrin.h,
31723 * doc/invoke.texi: Document new options.
31725 2014-05-14 Andrey Belevantsev <abel@ispras.ru>
31727 PR rtl-optimization/60866
31728 * sel-sched-ir (sel_init_new_insn): New parameter old_seqno.
31729 Default it to -1. Pass it down to init_simplejump_data.
31730 (init_simplejump_data): New parameter old_seqno. Pass it down
31731 to get_seqno_for_a_jump.
31732 (get_seqno_for_a_jump): New parameter old_seqno. Use it for
31733 initializing new jump seqno as a last resort. Add comment.
31734 (sel_redirect_edge_and_branch): Save old seqno of the conditional
31735 jump and pass it down to sel_init_new_insn.
31736 (sel_redirect_edge_and_branch_force): Likewise.
31738 2014-05-14 Georg-Johann Lay <avr@gjlay.de>
31740 * config/avr/avr.h (REG_CLASS_CONTENTS): Use unsigned suffix for
31741 shifted values to avoid build warning.
31743 2014-05-14 Eric Botcazou <ebotcazou@adacore.com>
31745 * cfgcleanup.c (try_forward_edges): Use location_t for locations.
31746 * cfgrtl.c (rtl_merge_blocks): Fix comment.
31747 (cfg_layout_merge_blocks): Likewise.
31748 * except.c (emit_to_new_bb_before): Remove prev_bb local variable.
31750 2014-05-14 Andrey Belevantsev <abel@ispras.ru>
31752 PR rtl-optimization/60901
31753 * config/i386/i386.c (ix86_dependencies_evaluation_hook): Check that
31754 bb predecessor belongs to the same scheduling region. Adjust comment.
31756 2014-05-13 Peter Bergner <bergner@vnet.ibm.com>
31758 * doc/sourcebuild.texi: (dfp_hw): Document.
31759 (p8vector_hw): Likewise.
31760 (powerpc_eabi_ok): Likewise.
31761 (powerpc_elfv2): Likewise.
31762 (powerpc_htm_ok): Likewise.
31763 (ppc_recip_hw): Likewise.
31764 (vsx_hw): Likewise.
31766 2014-05-13 Cary Coutant <ccoutant@google.com>
31768 * opts.c (finish_options): Use -ggnu-pubnames with -gsplit-dwarf.
31770 2014-05-13 David Malcolm <dmalcolm@redhat.com>
31772 * gengtype-parse.c (require3): Eliminate in favor of...
31774 (require_template_declaration): Update to support optional single *
31777 * gengtype.c (get_ultimate_base_class): Add a non-const overload.
31778 (create_user_defined_type): Handle a single level of explicit
31779 pointerness within template arguments.
31780 (struct write_types_data): Add field "kind".
31781 (filter_type_name): Handle "*" character.
31782 (write_user_func_for_structure_ptr): Require a write_types_data
31783 rather than just a prefix string, so that we can look up the kind
31784 of the wtd and use it as an index into wrote_user_func_for_ptr,
31785 ensuring that such functions are written at most once. Support
31786 subclasses by invoking the marking function of the ultimate base class.
31787 (write_user_func_for_structure_body): Require a write_types_data
31788 rather than just a prefix string, so that we can pass this to
31789 write_user_func_for_structure_ptr.
31790 (write_func_for_structure): Likewise.
31791 (ggc_wtd): Add initializer of new "kind" field.
31792 (pch_wtd): Likewise.
31794 * gengtype.h (enum write_types_kinds): New.
31795 (struct type): Add field wrote_user_func_for_ptr to the "s"
31798 2014-05-13 Richard Sandiford <r.sandiford@uk.ibm.com>
31800 * fold-const.c (optimize_bit_field_compare): Use wi:: operations
31801 instead of const_binop.
31802 (fold_binary_loc): Likewise.
31804 2014-05-13 Richard Sandiford <r.sandiford@uk.ibm.com>
31806 * tree-dfa.h (get_addr_base_and_unit_offset_1): Update array index
31807 calculation to match get_ref_base_and_extent.
31809 2014-05-13 Catherine Moore <clm@codesourcery.com>
31810 Sandra Loosemore <sandra@codesourcery.com>
31812 * configure.ac: Fix assembly for explicit JALR relocation check.
31813 * configure: Regenerate.
31815 2014-05-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
31817 * config/arm/arm.c (neon_itype): Remove NEON_RESULTPAIR.
31818 (arm_init_neon_builtins): Remove handling of NEON_RESULTPAIR.
31819 Remove associated type declarations and initialisations.
31820 (arm_expand_neon_builtin): Likewise.
31821 (neon_emit_pair_result_insn): Delete.
31822 * config/arm/arm_neon_builtins (vtrn, vzip, vuzp): Delete.
31823 * config/arm/neon.md (neon_vtrn<mode>): Delete.
31824 (neon_vzip<mode>): Likewise.
31825 (neon_vuzp<mode>): Likewise.
31827 2014-05-13 Richard Biener <rguenther@suse.de>
31830 * tree-inline.c (remap_gimple_stmt): Clear tail call flag,
31831 it needs revisiting whether the call still may be tail-called.
31833 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
31835 * rtl.def (SYMBOL_REF): Remove middle "0" field.
31836 * rtl.h (block_symbol): Reduce number of fields to 2.
31837 (rtx_def): Add u2.symbol_ref_flags.
31838 (SYMBOL_REF_FLAGS): Use it.
31839 (SYMBOL_REF_DATA, SET_SYMBOL_REF_DECL, SYMBOL_REF_DECL)
31840 (SET_SYMBOL_REF_CONSTANT, SYMBOL_REF_CONSTANT): Lower index.
31841 * gengtype.c (adjust_field_rtx_def): Remove SYMBOL_REF_FLAGS handling.
31842 Lower index of SYMBOL_REF_DATA.
31843 * print-rtl.c (print_rtx): Lower index for SYMBOL_REF_DATA.
31844 Print SYMBOL_REF_FLAGS at the same time.
31845 * genattrtab.c (attr_rtx_1): Only initialize 1 "0" SYMBOL_REF field.
31847 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
31849 * rtl.def (VAR_LOCATION): Remove "i" field.
31850 * rtl.h (rtx_def): Add u2.var_location_status.
31851 (PAT_VAR_LOCATION_STATUS): Use it.
31852 (gen_rtx_VAR_LOCATION): Declare.
31853 * gengenrtl.c (excluded_rtx): Add VAR_LOCATION.
31854 * emit-rtl.c (gen_rtx_VAR_LOCATION): New function.
31855 * var-tracking.c (emit_note_insn_var_location): Remove casts.
31857 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
31859 * rtl.def (scratch): Fix outdated comment and remove "0" field.
31860 * gengtype.c (adjust_field_rtx_def): Update accordingly.
31862 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
31864 * rtl.def (DEBUG_INSN, INSN, JUMP_INSN, CALL_INSN, JUMP_TABLE_DATA)
31865 (BARRIER, CODE_LABEL, NOTE): Remove first "i" field.
31866 * rtl.h (rtx_def): Add insn_uid to u2 field.
31867 (RTX_FLAG_CHECK8): Delete in favor of...
31868 (RTL_INSN_CHAIN_FLAG_CHECK): ...this new macro.
31869 (INSN_DELETED_P): Update accordingly.
31870 (INSN_UID): Use u2.insn_uid.
31871 (INSN_CHAIN_CODE_P): Define.
31872 (PREV_INSN, NEXT_INSN, BLOCK_FOR_INSN, PATTERN, INSN_LOCATION)
31873 (INSN_CODE, REG_NOTES, CALL_INSN_FUNCTION_USAGE, CODE_LABEL_NUMBER)
31874 (NOTE_DATA, NOTE_DELETED_LABEL_NAME, NOTE_BLOCK, NOTE_EH_HANDLER)
31875 (NOTE_BASIC_BLOCK, NOTE_VAR_LOCATION, NOTE_CFI, NOTE_LABEL_NUMBER)
31876 (NOTE_KIND, LABEL_NAME, LABEL_NUSES, JUMP_LABEL, LABEL_REFS): Lower
31877 indices accordingly.
31878 * print-rtl.c (print_rtx): Print INSN_UIDs before the main loop.
31879 Update indices for insn-chain rtxes.
31880 * gengtype.c (gen_rtx_next): Adjust test for insn-chain rtxes.
31881 (adjust_field_rtx_def): Lower '0' indices for all insn-chain rtxes.
31882 * emit-rtl.c (gen_label_rtx): Update gen_rtx_LABEL call.
31883 * caller-save.c (init_caller_save): Update gen_rtx_INSN calls.
31884 * combine.c (try_combine): Likewise.
31885 * ira.c (setup_prohibited_mode_move_regs): Likewise.
31887 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
31889 * rtl.def (REG): Remove middle field.
31890 * rtl.h (rtx_def): Add orignal_regno to u2.
31891 (ORIGINAL_REGNO): Use it instead of field 1.
31892 (REG_ATTRS): Lower field index accordingly.
31893 * gengtype.c (adjust_field_rtx_def): Remove handling of
31894 ORIGINAL_REGNO. Move REG_ATTRS index down.
31895 * print-rtl.c (print_rtx): Move ORIGINAL_REGNO handling to the
31896 code that prints the REGNO.
31898 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
31900 * print-rtl.c (print_rtx): Guard whole '0' block with ifndef
31903 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
31905 * rtl.h (rtx_def): Mark u2 as GTY ((skip)).
31907 2014-05-13 Bin Cheng <bin.cheng@arm.com>
31909 * tree-ssa-loop-ivopts.c (contain_complex_addr_expr): New.
31910 (alloc_iv): Lower base expressions containing ADDR_EXPR.
31912 2014-05-13 Ian Bolton <ian.bolton@arm.com>
31914 * config/aarch64/aarch64-protos.h
31915 (aarch64_hard_regno_caller_save_mode): New prototype.
31916 * config/aarch64/aarch64.c (aarch64_hard_regno_caller_save_mode):
31918 * config/aarch64/aarch64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
31920 2014-05-13 Christian Bruel <christian.bruel@st.com>
31922 * target.def (mode_switching): New hook vector.
31923 (mode_emit, mode_needed, mode_after, mode_entry): New hooks.
31924 (mode_exit, modepriority_to_mode): Likewise.
31925 * mode-switching.c (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Hookify.
31926 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
31927 * target.h: Include tm.h and hard-reg-set.h.
31928 * doc/tm.texi.in (EMIT_MODE_SET, MODE_NEEDED, MODE_AFTER, MODE_ENTRY)
31929 (MODE_EXIT, MODE_PRIORITY_TO_MODE): Delete and hookify.
31930 * doc/tm.texi Regenerate.
31931 * config/sh/sh.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete
31932 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
31933 * config/sh/sh.c (sh_emit_mode_set, sh_mode_priority): Hookify.
31934 (sh_mode_needed, sh_mode_after, sh_mode_entry, sh_mode_exit): Likewise.
31935 * config/i386/i386.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete
31936 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
31937 * config/i386/i386-protos.h (ix86_mode_needed, ix86_mode_after)
31938 (ix86_mode_entrym, ix86_emit_mode_set): Remove external declaration.
31939 * config/i386/i386.c (ix86_mode_needed, ix86_mode_after,
31940 (ix86_mode_exit, ix86_mode_entry, ix86_mode_priority)
31941 (ix86_emit_mode_set): Hookify.
31942 * config/epiphany/epiphany.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY):
31944 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
31945 * config/epiphany/epiphany-protos.h (epiphany_mode_needed)
31946 (emit_set_fp_mode, epiphany_mode_entry_exit, epiphany_mode_after)
31947 (epiphany_mode_priority_to_mode): Remove declaration.
31948 * config/epiphany/epiphany.c (emit_set_fp_mode): Hookify.
31949 (epiphany_mode_needed, epiphany_mode_priority_to_mode): Likewise.
31950 (epiphany_mode_entry, epiphany_mode_exit, epiphany_mode_after):
31952 (epiphany_mode_priority_to_mode): Change priority type. Hookify.
31953 (epiphany_mode_needed, epiphany_mode_entry_exit): Hookify.
31954 (epiphany_mode_after, epiphany_mode_entry, emit_set_fp_mode): Hookify.
31956 2014-05-13 Jakub Jelinek <jakub@redhat.com>
31959 * config/i386/i386.c (ix86_expand_set_or_movmem): If count_exp
31960 is const0_rtx, return immediately. Don't test count == 0 when
31963 2014-05-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
31965 * Makefile.in: add shrink-wrap.o.
31966 * config/i386/i386.c: include "shrink-wrap.h"
31967 * function.c: Likewise.
31968 (requires_stack_frame_p, next_block_for_reg,
31969 move_insn_for_shrink_wrap, prepare_shrink_wrap,
31970 dup_block_and_redirect): Move to shrink-wrap.c
31971 (thread_prologue_and_epilogue_insns): Extract three code segments
31972 as functions in shrink-wrap.c
31973 * function.h: Move #ifdef HAVE_simple_return ... #endif block to
31975 * shrink-wrap.c: New file.
31976 * shrink-wrap.h: New file.
31978 2014-05-12 David Wohlferd <dw@LimeGreenSocks.com>
31980 * doc/extend.texi: Reflect current numbers of pragmas. Remove
31981 reference to Solaris.
31983 2014-05-12 Mike Stump <mikestump@comcast.net>
31986 * genattrtab.c (filename): Add.
31987 (convert_set_attr_alternative): Improve error message.
31988 (check_defs): Restore read_md_filename for error messages.
31989 (gen_insn): Save filename.
31991 2014-05-12 Dimitris Papavasiliou <dpapavas@gmail.com>
31993 * doc/invoke.texi: Document new switches -Wno-shadow-ivar,
31994 -fno-local-ivars and -fivar-visibility.
31995 * c-family/c.opt: Make -Wshadow also implicitly enable
31998 2014-05-12 David Wohlferd <dw@LimeGreenSocks.com>
32000 * doc/tm.texi: Remove reference to deleted macro.
32001 * doc/tm.texi.in: Likewise.
32003 2014-05-12 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
32006 * config/avr/avr.c (avr_out_store_psi): Use correct constant
32009 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
32012 * config/arm/arm.h (License): Add GCC Runtime Library Exception.
32013 * config/arm/aout.h (License): Same.
32014 * config/arm/bpabi.h (License): Same.
32015 * config/arm/elf.h (License): Same.
32016 * config/arm/linux-elf.h (License): Same.
32017 * config/arm/linux-gas.h (License): Same.
32018 * config/arm/netbsd-elf.h (License): Same.
32019 * config/arm/uclinux-eabi.h (License): Same.
32020 * config/arm/uclinux-elf.h (License): Same.
32021 * config/arm/vxworks.h (License): Same.
32023 2014-05-11 Jakub Jelinek <jakub@redhat.com>
32025 * tree.h (OMP_CLAUSE_LINEAR_STMT): Define.
32026 * tree.c (omp_clause_num_ops): Increase OMP_CLAUSE_LINEAR
32027 number of operands to 3.
32028 (walk_tree_1): Walk all operands of OMP_CLAUSE_LINEAR.
32029 * tree-nested.c (convert_nonlocal_omp_clauses,
32030 convert_local_omp_clauses): Handle OMP_CLAUSE_DEPEND.
32031 * gimplify.c (gimplify_scan_omp_clauses): Handle
32032 OMP_CLAUSE_LINEAR_STMT.
32033 * omp-low.c (lower_rec_input_clauses): Fix typo.
32034 (maybe_add_implicit_barrier_cancel, lower_omp_1): Add
32035 cast between Fortran boolean_type_node and C _Bool if
32038 2014-05-11 Richard Sandiford <rdsandiford@googlemail.com>
32040 PR tree-optimization/61136
32041 * wide-int.h (multiple_of_p): Define a version that doesn't return
32043 * fold-const.c (extract_muldiv_1): Use wi::multiple_of_p instead of an
32044 integer_zerop/const_binop pair.
32045 (multiple_of_p): Likewise, converting both operands to widest_int
32048 2014-05-09 Teresa Johnson <tejohnson@google.com>
32050 * cgraphunit.c (analyze_functions): Use correct dump file.
32052 2014-05-09 Florian Weimer <fweimer@redhat.com>
32054 * cfgexpand.c (stack_protect_decl_p): New function, extracted from
32056 (stack_protect_return_slot_p): New function.
32057 (expand_used_vars): Call stack_protect_decl_p and
32058 stack_protect_return_slot_p for -fstack-protector-strong.
32060 2014-05-09 David Wohlferd <LimeGreenSocks@yahoo.com>
32061 Andrew Haley <aph@redhat.com>
32062 Richard Sandiford <rdsandiford@googlemail.com>
32064 * doc/extend.texi: Rewrite inline asm page / re-org asm-related
32067 2014-05-09 Kenneth Zadeck <zadeck@naturalbridge.com>
32069 PR middle-end/61111
32070 * fold-const.c (fold_binary_loc): Changed width of mask.
32072 2014-05-09 Georg-Johann Lay <avr@gjlay.de>
32074 * config/avr/avr-fixed.md (round<mode>3): Use -1U instead of -1 in
32075 unsigned int initializers for regno_in, regno_out.
32077 2014-05-09 Georg-Johann Lay <avr@gjlay.de>
32080 * config/avr/avr.md (cc): Add new attribute set_vzn.
32081 (addqi3, addqq3, adduqq3, subqi3, subqq3, subuqq3, negqi2) [cc]:
32082 Set cc insn attribute to set_vzn instead of set_zn for alternatives
32083 with INC, DEC or NEG.
32084 * config/avr/avr.c (avr_notice_update_cc): Handle SET_VZN.
32085 (avr_out_plus_1): ADIW sets cc0 to CC_SET_CZN.
32086 INC, DEC and ADD+ADC set cc0 to CC_CLOBBER.
32088 2014-05-09 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
32091 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
32093 * wide-int.cc (UTItype): Define.
32094 (UDWtype): Define for appropriate W_TYPE_SIZE.
32096 2014-05-09 Richard Biener <rguenther@suse.de>
32098 * Makefile.in (GTFILES): Remove tree-ssa-propagate.c.
32099 * tree-ssa-propagate.c: Do not include gt-tree-ssa-propagate.h.
32100 (interesting_ssa_edges, varying_ssa_edges): Move out of GC space.
32101 (add_ssa_edge, process_ssa_edge_worklist, ssa_prop_init,
32102 ssa_propagate): Adjust.
32104 2014-05-08 Jeff Law <law@redhat.com>
32106 PR tree-optimization/61009
32107 * tree-ssa-threadedge.c (thread_through_normal_block): Return a
32108 tri-state rather than a boolean. When a block is too big to
32109 thread through, inform caller via negative return value.
32110 (thread_across_edge): If a block was too big for normal threading,
32111 then it's too big for a joiner too, so remove temporary equivalences
32112 and return immediately.
32114 2014-05-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
32115 Matthias Klose <doko@ubuntu.com>
32118 * optc-gen.awk: Fix option handling for -Wunused-parameter.
32120 2014-05-08 Uros Bizjak <ubizjak@gmail.com>
32123 * config/i386/i386.c (PTA_HASWELL): Remove PTA_RTM.
32125 2014-05-08 Uros Bizjak <ubizjak@gmail.com>
32128 * config/alpha/alpha.c: Include gimple-iterator.h.
32129 (alpha_gimple_fold_builtin): New function. Move
32130 ALPHA_BUILTIN_UMULH folding from ...
32131 (alpha_fold_builtin): ... here.
32132 (TARGET_GIMPLE_FOLD_BUILTIN): New define.
32134 2014-05-08 Wei Mi <wmi@google.com>
32137 * config/i386/i386.c (ix86_compute_frame_layout): Update
32138 preferred_stack_boundary for call, expanded from tls descriptor.
32139 * config/i386/i386.md (*tls_global_dynamic_32_gnu): Update RTX
32140 to depend on SP register.
32141 (*tls_local_dynamic_base_32_gnu): Ditto.
32142 (*tls_local_dynamic_32_once): Ditto.
32143 (tls_global_dynamic_64_<mode>): Set
32144 ix86_tls_descriptor_calls_expanded_in_cfun.
32145 (tls_local_dynamic_base_64_<mode>): Ditto.
32146 (tls_global_dynamic_32): Set
32147 ix86_tls_descriptor_calls_expanded_in_cfun. Update RTX
32148 to depend on SP register.
32149 (tls_local_dynamic_base_32): Ditto.
32151 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
32153 * config/arm/arm_neon.h: Update comment.
32154 * config/arm/neon-docgen.ml: Delete.
32155 * config/arm/neon-gen.ml: Delete.
32156 * doc/arm-neon-intrinsics.texi: Update comment.
32158 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
32160 * config/arm/arm_neon_builtins.def (vadd, vsub): Only define the v2sf
32162 (vand, vorr, veor, vorn, vbic): Remove.
32163 * config/arm/neon.md (neon_vadd, neon_vsub, neon_vadd_unspec): Adjust
32165 (neon_vsub_unspec): Likewise.
32166 (neon_vorr, neon_vand, neon_vbic, neon_veor, neon_vorn): Remove.
32168 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
32170 * config/arm/arm_neon.h (vadd_s8): GNU C implementation
32171 (vadd_s16): Likewise.
32172 (vadd_s32): Likewise.
32173 (vadd_f32): Likewise.
32174 (vadd_u8): Likewise.
32175 (vadd_u16): Likewise.
32176 (vadd_u32): Likewise.
32177 (vadd_s64): Likewise.
32178 (vadd_u64): Likewise.
32179 (vaddq_s8): Likewise.
32180 (vaddq_s16): Likewise.
32181 (vaddq_s32): Likewise.
32182 (vaddq_s64): Likewise.
32183 (vaddq_f32): Likewise.
32184 (vaddq_u8): Likewise.
32185 (vaddq_u16): Likewise.
32186 (vaddq_u32): Likewise.
32187 (vaddq_u64): Likewise.
32188 (vmul_s8): Likewise.
32189 (vmul_s16): Likewise.
32190 (vmul_s32): Likewise.
32191 (vmul_f32): Likewise.
32192 (vmul_u8): Likewise.
32193 (vmul_u16): Likewise.
32194 (vmul_u32): Likewise.
32195 (vmul_p8): Likewise.
32196 (vmulq_s8): Likewise.
32197 (vmulq_s16): Likewise.
32198 (vmulq_s32): Likewise.
32199 (vmulq_f32): Likewise.
32200 (vmulq_u8): Likewise.
32201 (vmulq_u16): Likewise.
32202 (vmulq_u32): Likewise.
32203 (vsub_s8): Likewise.
32204 (vsub_s16): Likewise.
32205 (vsub_s32): Likewise.
32206 (vsub_f32): Likewise.
32207 (vsub_u8): Likewise.
32208 (vsub_u16): Likewise.
32209 (vsub_u32): Likewise.
32210 (vsub_s64): Likewise.
32211 (vsub_u64): Likewise.
32212 (vsubq_s8): Likewise.
32213 (vsubq_s16): Likewise.
32214 (vsubq_s32): Likewise.
32215 (vsubq_s64): Likewise.
32216 (vsubq_f32): Likewise.
32217 (vsubq_u8): Likewise.
32218 (vsubq_u16): Likewise.
32219 (vsubq_u32): Likewise.
32220 (vsubq_u64): Likewise.
32221 (vand_s8): Likewise.
32222 (vand_s16): Likewise.
32223 (vand_s32): Likewise.
32224 (vand_u8): Likewise.
32225 (vand_u16): Likewise.
32226 (vand_u32): Likewise.
32227 (vand_s64): Likewise.
32228 (vand_u64): Likewise.
32229 (vandq_s8): Likewise.
32230 (vandq_s16): Likewise.
32231 (vandq_s32): Likewise.
32232 (vandq_s64): Likewise.
32233 (vandq_u8): Likewise.
32234 (vandq_u16): Likewise.
32235 (vandq_u32): Likewise.
32236 (vandq_u64): Likewise.
32237 (vorr_s8): Likewise.
32238 (vorr_s16): Likewise.
32239 (vorr_s32): Likewise.
32240 (vorr_u8): Likewise.
32241 (vorr_u16): Likewise.
32242 (vorr_u32): Likewise.
32243 (vorr_s64): Likewise.
32244 (vorr_u64): Likewise.
32245 (vorrq_s8): Likewise.
32246 (vorrq_s16): Likewise.
32247 (vorrq_s32): Likewise.
32248 (vorrq_s64): Likewise.
32249 (vorrq_u8): Likewise.
32250 (vorrq_u16): Likewise.
32251 (vorrq_u32): Likewise.
32252 (vorrq_u64): Likewise.
32253 (veor_s8): Likewise.
32254 (veor_s16): Likewise.
32255 (veor_s32): Likewise.
32256 (veor_u8): Likewise.
32257 (veor_u16): Likewise.
32258 (veor_u32): Likewise.
32259 (veor_s64): Likewise.
32260 (veor_u64): Likewise.
32261 (veorq_s8): Likewise.
32262 (veorq_s16): Likewise.
32263 (veorq_s32): Likewise.
32264 (veorq_s64): Likewise.
32265 (veorq_u8): Likewise.
32266 (veorq_u16): Likewise.
32267 (veorq_u32): Likewise.
32268 (veorq_u64): Likewise.
32269 (vbic_s8): Likewise.
32270 (vbic_s16): Likewise.
32271 (vbic_s32): Likewise.
32272 (vbic_u8): Likewise.
32273 (vbic_u16): Likewise.
32274 (vbic_u32): Likewise.
32275 (vbic_s64): Likewise.
32276 (vbic_u64): Likewise.
32277 (vbicq_s8): Likewise.
32278 (vbicq_s16): Likewise.
32279 (vbicq_s32): Likewise.
32280 (vbicq_s64): Likewise.
32281 (vbicq_u8): Likewise.
32282 (vbicq_u16): Likewise.
32283 (vbicq_u32): Likewise.
32284 (vbicq_u64): Likewise.
32285 (vorn_s8): Likewise.
32286 (vorn_s16): Likewise.
32287 (vorn_s32): Likewise.
32288 (vorn_u8): Likewise.
32289 (vorn_u16): Likewise.
32290 (vorn_u32): Likewise.
32291 (vorn_s64): Likewise.
32292 (vorn_u64): Likewise.
32293 (vornq_s8): Likewise.
32294 (vornq_s16): Likewise.
32295 (vornq_s32): Likewise.
32296 (vornq_s64): Likewise.
32297 (vornq_u8): Likewise.
32298 (vornq_u16): Likewise.
32299 (vornq_u32): Likewise.
32300 (vornq_u64): Likewise.
32302 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
32304 * wide-int.cc (UTItype): Define.
32305 (UDWtype): Define for appropriate W_TYPE_SIZE.
32307 2014-05-08 Marc Glisse <marc.glisse@inria.fr>
32309 PR tree-optimization/59100
32310 * tree-ssa-phiopt.c: Include tree-inline.h.
32311 (neutral_element_p, absorbing_element_p): New functions.
32312 (value_replacement): Handle conditional binary operations with a
32313 neutral or absorbing element.
32315 2014-05-08 Richard Biener <rguenther@suse.de>
32317 * tree-ssa-sccvn.c (vn_get_expr_for): Valueize operands before
32318 folding the expression.
32319 (valueize_expr): Remove.
32320 (visit_reference_op_load): Do not valueize the result of
32322 (simplify_binary_expression): Likewise.
32323 (simplify_unary_expression): Likewise.
32325 2014-05-08 Richard Biener <rguenther@suse.de>
32327 * gimplify.c (gimplify_call_expr): Use saved fnptrtype for
32328 looking at TYPE_ARG_TYPES.
32330 2014-05-08 Richard Biener <rguenther@suse.de>
32332 * gimple-fold.c (gimple_fold_stmt_to_constant_1): Remove
32333 pointer propagation special-case.
32335 2014-05-08 Bin Cheng <bin.cheng@arm.com>
32337 * tree-affine.c (tree_to_aff_combination): Handle MEM_REF for
32338 core part of address expressions.
32340 2014-05-08 Alan Modra <amodra@gmail.com>
32343 * config/rs6000/rs6000.c (expand_block_move): Allow 64-bit
32344 loads and stores when -mno-strict-align at any alignment.
32345 (expand_block_clear): Similarly. Also correct calculation of
32348 2014-05-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
32350 PR middle-end/39246
32351 * tree-complex.c (expand_complex_move): Keep line info when expanding
32353 * tree-ssa-uninit.c (warn_uninit): New argument. Ignore assignment
32354 of complex expression. Use new argument to display correct location
32355 for values coming from phi statement.
32356 (warn_uninitialized_vars): Adapt to new signature of warn_uninit.
32357 (warn_uninitialized_phi): Pass location of phi argument to
32359 * tree-ssa.c (ssa_undefined_value_p): For SSA_NAME initialized by a
32360 COMPLEX_EXPR, recurse on each part of the COMPLEX_EXPR.
32362 2014-05-07 Segher Boessenkool <segher@kernel.crashing.org>
32364 * config/rs6000/predicates.md (indexed_address_mem): New.
32365 * config/rs6000/rs6000.md (type): Remove load_ext, load_ext_u,
32366 load_ext_ux, load_ux, load_u, store_ux, store_u, fpload_ux, fpload_u,
32367 fpstore_ux, fpstore_u.
32368 (sign_extend, indexed, update): New.
32369 (cell_micro): Adjust.
32370 (*zero_extend<mode>di2_internal1, *zero_extendsidi2_lfiwzx,
32371 *extendsidi2_lfiwax, *extendsidi2_nocell, *extendsfdf2_fpr,
32372 *movsi_internal1, *movsi_internal1_single, *movhi_internal,
32373 *movqi_internal, *movcc_internal1, mov<mode>_hardfloat,
32374 *mov<mode>_softfloat, *mov<mode>_hardfloat32, *mov<mode>_hardfloat64,
32375 *mov<mode>_softfloat64, *movdi_internal32, *movdi_internal64,
32376 *mov<mode>_string, *ldmsi8, *ldmsi7, *ldmsi6, *ldmsi5, *ldmsi4,
32377 *ldmsi3, *stmsi8, *stmsi7, *stmsi6, *stmsi5, *stmsi4, *stmsi3,
32378 *movdi_update1, movdi_<mode>_update, movdi_<mode>_update_stack,
32379 *movsi_update1, *movsi_update2, movsi_update, movsi_update_stack,
32380 *movhi_update1, *movhi_update2, *movhi_update3, *movhi_update4,
32381 *movqi_update1, *movqi_update2, *movqi_update3, *movsf_update1,
32382 *movsf_update2, *movsf_update3, *movsf_update4, *movdf_update1,
32383 *movdf_update2, load_toc_aix_si, load_toc_aix_di, probe_stack_<mode>,
32384 *stmw, *lmw, as well as 10 anonymous patterns): Adjust.
32386 * config/rs6000/dfp.md (movsd_store, movsd_load): Adjust.
32387 * config/rs6000/vsx.md (*vsx_movti_32bit, *vsx_extract_<mode>_load,
32388 *vsx_extract_<mode>_store): Adjust.
32389 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_microcoded_insn,
32390 is_cracked_insn, insn_must_be_first_in_group,
32391 insn_must_be_last_in_group): Adjust.
32393 * config/rs6000/40x.md (ppc403-load, ppc403-store, ppc405-float):
32395 * config/rs6000/440.md (ppc440-load, ppc440-store, ppc440-fpload,
32396 ppc440-fpstore): Adjust.
32397 * config/rs6000/476.md (ppc476-load, ppc476-store, ppc476-fpload,
32398 ppc476-fpstore): Adjust.
32399 * config/rs6000/601.md (ppc601-load, ppc601-store, ppc601-fpload,
32400 ppc601-fpstore): Adjust.
32401 * config/rs6000/603.md (ppc603-load, ppc603-store, ppc603-fpload):
32403 * config/rs6000/6xx.md (ppc604-load, ppc604-store, ppc604-fpload):
32405 * config/rs6000/7450.md (ppc7450-load, ppc7450-store, ppc7450-fpload,
32406 ppc7450-fpstore): Adjust.
32407 * config/rs6000/7xx.md (ppc750-load, ppc750-store): Adjust.
32408 * config/rs6000/8540.md (ppc8540_load, ppc8540_store): Adjust.
32409 * config/rs6000/a2.md (ppca2-load, ppca2-fp-load, ppca2-fp-store):
32411 * config/rs6000/cell.md (cell-load, cell-load-ux, cell-load-ext,
32412 cell-fpload, cell-fpload-update, cell-store, cell-store-update,
32413 cell-fpstore, cell-fpstore-update): Adjust.
32414 * config/rs6000/e300c2c3.md (ppce300c3_load, ppce300c3_fpload,
32415 ppce300c3_store, ppce300c3_fpstore): Adjust.
32416 * config/rs6000/e500mc.md (e500mc_load, e500mc_fpload, e500mc_store,
32417 e500mc_fpstore): Adjust.
32418 * config/rs6000/e500mc64.md (e500mc64_load, e500mc64_fpload,
32419 e500mc64_store, e500mc64_fpstore): Adjust.
32420 * config/rs6000/e5500.md (e5500_load, e5500_fpload, e5500_store,
32421 e5500_fpstore): Adjust.
32422 * config/rs6000/e6500.md (e6500_load, e6500_fpload, e6500_store,
32423 e6500_fpstore): Adjust.
32424 * config/rs6000/mpc.md (mpccore-load, mpccore-store, mpccore-fpload):
32426 * config/rs6000/power4.md (power4-load, power4-load-ext,
32427 power4-load-ext-update, power4-load-ext-update-indexed,
32428 power4-load-update-indexed, power4-load-update, power4-fpload,
32429 power4-fpload-update, power4-store, power4-store-update,
32430 power4-store-update-indexed, power4-fpstore, power4-fpstore-update):
32432 * config/rs6000/power5.md (power5-load, power5-load-ext,
32433 power5-load-ext-update, power5-load-ext-update-indexed,
32434 power5-load-update-indexed, power5-load-update, power5-fpload,
32435 power5-fpload-update, power5-store, power5-store-update,
32436 power5-store-update-indexed, power5-fpstore, power5-fpstore-update):
32438 * config/rs6000/power6.md (power6-load, power6-load-ext,
32439 power6-load-update, power6-load-update-indexed,
32440 power6-load-ext-update, power6-load-ext-update-indexed, power6-fpload,
32441 power6-fpload-update, power6-store, power6-store-update,
32442 power6-store-update-indexed, power6-fpstore, power6-fpstore-update):
32444 * config/rs6000/power7.md (power7-load, power7-load-ext,
32445 power7-load-update, power7-load-update-indexed,
32446 power7-load-ext-update, power7-load-ext-update-indexed, power7-fpload,
32447 power7-fpload-update, power7-store, power7-store-update,
32448 power7-store-update-indexed, power7-fpstore, power7-fpstore-update):
32450 * config/rs6000/power8.md (power8-load, power8-load-update,
32451 power8-load-ext, power8-load-ext-update, power8-fpload,
32452 power8-fpload-update, power8-store, power8-store-update-indexed,
32453 power8-fpstore, power8-fpstore-update): Adjust.
32454 * config/rs6000/rs64.md (rs64a-load, rs64a-store, rs64a-fpload):
32456 * config/rs6000/titan.md (titan_lsu_load, titan_lsu_fpload,
32457 titan_lsu_store, titan_lsu_fpstore): Adjust.
32458 * config/rs6000/xfpu.md (fp-load, fp-store): Adjust.
32460 2014-05-07 Oleg Endo <olegendo@gcc.gnu.org>
32463 * config/sh/sh-mem.cc (sh_expand_strlen): Use loop when emitting
32464 unrolled byte insns. Emit address increments after move insns.
32466 2014-05-07 David Malcolm <dmalcolm@redhat.com>
32468 * gimple.h (gimple_builtin_call_types_compatible_p): Accept a
32469 const_gimple, rather than a gimple.
32470 (gimple_call_builtin_p): Likewise, for the three variants.
32472 * gimple.c (gimple_builtin_call_types_compatible_p): Likewise.
32473 (gimple_call_builtin_p): Likewise, for the three variants.
32475 2014-05-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
32477 PR tree-optimization/61095
32478 * tree-ssanames.c (get_nonzero_bits): Fix type extension in wi::shwi.
32480 2014-05-07 Richard Biener <rguenther@suse.de>
32482 PR tree-optimization/61034
32483 * tree-ssa-alias.c (call_may_clobber_ref_p_1): Export.
32484 (maybe_skip_until): Use translate to take into account
32485 lattices when trying to do disambiguations.
32486 (get_continuation_for_phi_1): Likewise.
32487 (get_continuation_for_phi): Adjust for added translate arguments.
32488 (walk_non_aliased_vuses): Likewise.
32489 * tree-ssa-alias.h (get_continuation_for_phi): Adjust prototype.
32490 (walk_non_aliased_vuses): Likewise.
32491 (call_may_clobber_ref_p_1): Declare.
32492 * tree-ssa-sccvn.c (vn_reference_lookup_3): Also disambiguate against
32493 calls. Stop early if we are only supposed to disambiguate.
32494 * tree-ssa-pre.c (translate_vuse_through_block): Adjust.
32496 2014-05-07 Joern Rennecke <joern.rennecke@embecosm.com>
32498 * config/epiphany/epiphany.c (epiphany_handle_interrupt_attribute):
32499 Emit an error when the function has arguments.
32501 2014-05-07 Thomas Schwinge <thomas@codesourcery.com>
32503 * cfgloop.h (unswitch_loops): Remove.
32504 * doc/passes.texi: Remove references to loop-unswitch.c
32505 * timevar.def (TV_LOOP_UNSWITCH): Remove.
32507 2014-05-07 Evgeny Stupachenko <evstupac@gmail.com>
32509 * tree-vect-data-refs.c (vect_grouped_load_supported): New
32510 check for loads group of length 3.
32511 (vect_permute_load_chain): New permutations for loads group of
32513 * tree-vect-stmts.c (vect_model_load_cost): Change cost
32514 of vec_perm_shuffle for the new permutations.
32516 2014-05-07 Alan Lawrence <alan.lawrence@arm.com>
32518 * config/aarch64/arm_neon.h (vtrn1_f32, vtrn1_p8, vtrn1_p16, vtrn1_s8,
32519 vtrn1_s16, vtrn1_s32, vtrn1_u8, vtrn1_u16, vtrn1_u32, vtrn1q_f32,
32520 vtrn1q_f64, vtrn1q_p8, vtrn1q_p16, vtrn1q_s8, vtrn1q_s16, vtrn1q_s32,
32521 vtrn1q_s64, vtrn1q_u8, vtrn1q_u16, vtrn1q_u32, vtrn1q_u64, vtrn2_f32,
32522 vtrn2_p8, vtrn2_p16, vtrn2_s8, vtrn2_s16, vtrn2_s32, vtrn2_u8,
32523 vtrn2_u16, vtrn2_u32, vtrn2q_f32, vtrn2q_f64, vtrn2q_p8, vtrn2q_p16,
32524 vtrn2q_s8, vtrn2q_s16, vtrn2q_s32, vtrn2q_s64, vtrn2q_u8, vtrn2q_u16,
32525 vtrn2q_u32, vtrn2q_u64): Replace temporary asm with __builtin_shuffle.
32527 2014-05-07 Thomas Schwinge <thomas@codesourcery.com>
32529 * loop-unswitch.c: Delete.
32531 2014-05-07 Richard Biener <rguenther@suse.de>
32533 * config.gcc: Always set need_64bit_hwint to yes.
32535 2014-05-07 Chung-Ju Wu <jasonwucj@gmail.com>
32537 * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor
32538 of using optimize_size.
32540 2014-05-06 Mike Stump <mikestump@comcast.net>
32542 * wide-int.h (wi::int_traits <HOST_WIDE_INT>): Always define.
32544 2014-05-06 Joseph Myers <joseph@codesourcery.com>
32546 * config/i386/sse.md (*mov<mode>_internal)
32547 (*<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>)
32548 (*<sse2_avx_avx512f>_loaddqu<mode><mask_name>)
32549 (<sse>_andnot<mode>3, <code><mode>3, *andnot<mode>3)
32550 (*<code><mode>3, *andnot<mode>3<mask_name>)
32551 (<mask_codefor><code><mode>3<mask_name>): Only consider
32552 TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL for modes of size 16.
32554 2014-05-06 Richard Sandiford <rdsandiford@googlemail.com>
32557 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com>
32559 * lra-constraints.c (valid_address_p): Move earlier in file.
32560 Add a constraint argument to the address_info version.
32561 (satisfies_memory_constraint_p): New function.
32562 (satisfies_address_constraint_p): Likewise.
32563 (process_alt_operands, curr_insn_transform): Use them.
32564 (process_address): Pass the constraint to valid_address_p when
32565 checking address operands.
32567 2014-05-06 Richard Sandiford <r.sandiford@uk.ibm.com>
32569 * lto-cgraph.c (compute_ltrans_boundary): Make node variables local
32570 to their respective blocks. Fix inadvertent use of "node".
32572 2014-05-06 Richard Sandiford <rdsandiford@googlemail.com>
32574 * emit-rtl.c (init_derived_machine_modes): New functionm, split
32576 (init_emit_once): ...here.
32577 * rtl.h (init_derived_machine_modes): Declare.
32578 * toplev.c (do_compile): Call it even if no_backend.
32580 2014-05-06 Kenneth Zadeck <zadeck@naturalbridge.com>
32581 Mike Stump <mikestump@comcast.net>
32582 Richard Sandiford <rdsandiford@googlemail.com>
32583 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
32585 * alias.c (ao_ref_from_mem): Use wide-int interfaces.
32586 (rtx_equal_for_memref_p): Update comment.
32587 (adjust_offset_for_component_ref): Use wide-int interfaces.
32588 * builtins.c (get_object_alignment_2): Likewise.
32589 (c_readstr): Likewise.
32590 (target_char_cast): Add comment.
32591 (determine_block_size): Use wide-int interfaces.
32592 (expand_builtin_signbit): Likewise.
32593 (fold_builtin_int_roundingfn): Likewise.
32594 (fold_builtin_bitop): Likewise.
32595 (fold_builtin_bswap): Likewise.
32596 (fold_builtin_logarithm): Use signop.
32597 (fold_builtin_pow): Likewise.
32598 (fold_builtin_memory_op): Use wide-int interfaces.
32599 (fold_builtin_object_size): Likewise.
32600 * cfgloop.c (alloc_loop): Initialize nb_iterations_upper_bound and
32601 nb_iterations_estimate.
32602 (record_niter_bound): Use wide-int interfaces.
32603 (get_estimated_loop_iterations_int): Likewise.
32604 (get_estimated_loop_iterations): Likewise.
32605 (get_max_loop_iterations): Likewise.
32606 * cfgloop.h: Include wide-int.h.
32607 (struct nb_iter_bound): Change bound to widest_int.
32608 (struct loop): Change nb_iterations_upper_bound and
32609 nb_iterations_estimate to widest_int.
32610 (record_niter_bound): Switch to use widest_int.
32611 (get_estimated_loop_iterations): Likewise.
32612 (get_max_loop_iterations): Likewise.
32613 (gcov_type_to_double_int): Rename to gcov_type_to_wide_int and
32614 update for wide-int.
32615 * cgraph.c (cgraph_add_thunk): Use wide-int interfaces.
32616 * combine.c (try_combine): Likewise.
32617 (subst): Use CONST_SCALAR_INT_P rather than CONST_INT_P.
32618 * config/aarch64/aarch64.c (aapcs_vfp_sub_candidate): Use wide-int
32620 (aarch64_float_const_representable_p): Likewise.
32621 * config/arc/arc.c: Include wide-int.h.
32622 (arc_can_use_doloop_p): Use wide-int interfaces.
32623 * config/arm/arm.c (aapcs_vfp_sub_candidate): Likewise.
32624 (vfp3_const_double_index): Likewise.
32625 * config/avr/avr.c (avr_out_round): Likewise.
32626 (avr_fold_builtin): Likewise.
32627 * config/bfin/bfin.c (bfin_local_alignment): Likewise.
32628 (bfin_can_use_doloop_p): Likewise.
32629 * config/darwin.c (darwin_mergeable_constant_section): Likewise.
32630 (machopic_select_rtx_section): Update to handle CONST_WIDE_INT.
32631 * config/i386/i386.c: Include wide-int.h.
32632 (ix86_data_alignment): Use wide-int interfaces.
32633 (ix86_local_alignment): Likewise.
32634 (ix86_emit_swsqrtsf): Update real_from_integer.
32635 * config/msp430/msp430.c (msp430_attr): Use wide-int interfaces.
32636 * config/nds32/nds32.c (nds32_insert_attributes): Likewise.
32637 * config/rs6000/predicates.md (any_operand): Add const_wide_int.
32638 (zero_constant): Likewise.
32639 (input_operand): Likewise.
32640 (splat_input_operand): Likewise.
32641 (non_logical_cint_operand): Change const_double to const_wide_int.
32642 * config/rs6000/rs6000.c (num_insns_constant): Handle CONST_WIDE_INT.
32643 (easy_altivec_constant): Remove comment.
32644 (paired_expand_vector_init): Use CONSTANT_P.
32645 (rs6000_legitimize_address): Handle CONST_WIDE_INT.
32646 (rs6000_emit_move): Update checks.
32647 (rs6000_aggregate_candidate): Use wide-int interfaces.
32648 (rs6000_expand_ternop_builtin): Likewise.
32649 (rs6000_output_move_128bit): Handle CONST_WIDE_INT.
32650 (rs6000_assemble_integer): Likewise.
32651 (rs6000_hash_constant): Likewise.
32652 (output_toc): Likewise.
32653 (rs6000_rtx_costs): Likewise.
32654 (rs6000_emit_swrsqrt); Update call to real_from_integer.
32655 * config/rs6000/rs6000-c.c: Include wide-int.h.
32656 (altivec_resolve_overloaded_builtin): Use wide-int interfaces.
32657 * config/rs6000/rs6000.h (TARGET_SUPPORTS_WIDE_INT): New.
32658 * config/rs6000/rs6000.md: Use const_scalar_int_operand.
32659 Handle CONST_WIDE_INT.
32660 * config/sol2-c.c (solaris_pragma_align): Change low to unsigned HWI.
32661 Use tree_fits_uhwi_p.
32662 * config/sparc/sparc.c: Include wide-int.h.
32663 (sparc_fold_builtin): Use wide-int interfaces.
32664 * config/vax/vax.c: Include wide-int.h.
32665 (vax_float_literal): Use real_from_integer.
32666 * coretypes.h (struct hwivec_def): New.
32668 (const_hwivec): New.
32669 * cse.c (hash_rtx_cb): Handle CONST_WIDE_INT.
32670 (equiv_constant): Handle CONST_WIDE_INT.
32671 * cselib.c (rtx_equal_for_cselib_1): Use CASE_CONST_UNIQUE.
32672 (cselib_hash_rtx): Handle CONST_WIDE_INT.
32673 * dbxout.c (stabstr_U): Use wide-int interfaces.
32674 (dbxout_type): Update to use cst_fits_shwi_p.
32675 * defaults.h (LOG2_BITS_PER_UNIT): Define.
32676 (TARGET_SUPPORTS_WIDE_INT): Add default.
32677 * dfp.c: Include wide-int.h.
32678 (decimal_real_to_integer2): Use wide-int interfaces and rename to
32679 decimal_real_to_integer.
32680 * dfp.h (decimal_real_to_integer2): Return a wide_int and rename to
32681 decimal_real_to_integer.
32682 * doc/generic.texi (Constant expressions): Update for wide_int.
32683 * doc/rtl.texi (const_double): Likewise.
32684 (const_wide_int, CONST_WIDE_INT, CONST_WIDE_INT_VEC): New.
32685 (CONST_WIDE_INT_NUNITS, CONST_WIDE_INT_ELT): New.
32686 * doc/tm.texi.in (REAL_VALUE_TO_INT): Remove.
32687 (REAL_VALUE_FROM_INT): Remove.
32688 (TARGET_SUPPORTS_WIDE_INT): New.
32689 * doc/tm.texi: Regenerate.
32690 * dojump.c (prefer_and_bit_test): Use wide-int interfaces.
32691 * double-int.h: Include wide-int.h.
32692 (struct wi::int_traits): New.
32693 * dwarf2out.c (get_full_len): New.
32694 (dw_val_equal_p): Add case dw_val_class_wide_int.
32695 (size_of_loc_descr): Likewise.
32696 (output_loc_operands): Likewise.
32697 (insert_double): Remove.
32698 (insert_wide_int): New.
32699 (add_AT_wide): New.
32700 (print_die): Add case dw_val_class_wide_int.
32701 (attr_checksum): Likewise.
32702 (attr_checksum_ordered): Likewise.
32703 (same_dw_val_p): Likewise.
32704 (size_of_die): Likewise.
32705 (value_format): Likewise.
32706 (output_die): Likewise.
32707 (double_int_type_size_in_bits): Rename to offset_int_type_size_in_bits.
32709 (clz_loc_descriptor): Use wide-int interfaces.
32710 (mem_loc_descriptor): Likewise. Handle CONST_WIDE_INT.
32711 (loc_descriptor): Use wide-int interfaces. Handle CONST_WIDE_INT.
32712 (round_up_to_align): Use wide-int interfaces.
32713 (field_byte_offset): Likewise.
32714 (insert_double): Rename to insert_wide_int. Use wide-int interfaces.
32715 (add_const_value_attribute): Handle CONST_WIDE_INT. Update
32716 CONST_DOUBLE handling. Use wide-int interfaces.
32717 (add_bound_info): Use tree_fits_uhwi_p. Use wide-int interfaces.
32718 (gen_enumeration_type_die): Use add_AT_wide.
32719 (hash_loc_operands): Add case dw_val_class_wide_int.
32720 (compare_loc_operands): Likewise.
32721 * dwarf2out.h: Include wide-int.h.
32722 (wide_int_ptr): New.
32723 (enum dw_val_class): Add dw_val_class_wide_int.
32724 (struct dw_val_struct): Add val_wide.
32725 * emit-rtl.c (const_wide_int_htab): New.
32726 (const_wide_int_htab_hash): New.
32727 (const_wide_int_htab_eq): New.
32728 (lookup_const_wide_int): New.
32729 (const_double_htab_hash): Use wide-int interfaces.
32730 (const_double_htab_eq): Likewise.
32731 (rtx_to_double_int): Conditionally compile for wide-int.
32732 (immed_double_int_const): Rename to immed_wide_int_const and
32733 update for wide-int.
32734 (immed_double_const): Conditionally compile for wide-int.
32735 (init_emit_once): Use wide-int interfaces.
32736 * explow.c (plus_constant): Likewise.
32737 * expmed.c (mask_rtx): Move further up file. Use wide-int interfaces.
32738 (lshift_value): Use wide-int interfaces.
32739 (expand_mult): Likewise.
32740 (choose_multiplier): Likewise.
32741 (expand_smod_pow2): Likewise.
32742 (make_tree): Likewise.
32743 * expr.c (convert_modes): Consolidate handling of constants.
32744 Use wide-int interfaces.
32745 (emit_group_load_1): Add note.
32746 (store_expr): Update comment.
32747 (get_inner_reference): Use wide-int interfaces.
32748 (expand_constructor): Update comment.
32749 (expand_expr_real_2): Use wide-int interfaces.
32750 (expand_expr_real_1): Likewise.
32751 (reduce_to_bit_field_precision): Likewise.
32752 (const_vector_from_tree): Likewise.
32753 * final.c: Include wide-int-print.h.
32754 (output_addr_const): Handle CONST_WIDE_INT. Use CONST_DOUBLE_AS_INT_P.
32755 * fixed-value.c: Include wide-int.h.
32756 (fixed_from_string): Use wide-int interfaces.
32757 (fixed_to_decimal): Likewise.
32758 (fixed_convert_from_real): Likewise.
32759 (real_convert_from_fixed): Likewise.
32760 * fold-const.h (mem_ref_offset): Return an offset_int.
32761 (div_if_zero_remainder): Remove code parameter.
32762 * fold-const.c (div_if_zero_remainder): Remove code parameter.
32763 Use wide-int interfaces.
32764 (may_negate_without_overflow_p): Use wide-int interfaces.
32765 (negate_expr_p): Likewise.
32766 (fold_negate_expr): Likewise.
32767 (int_const_binop_1): Likewise.
32768 (const_binop): Likewise.
32769 (fold_convert_const_int_from_int): Likewise.
32770 (fold_convert_const_int_from_real): Likewise.
32771 (fold_convert_const_int_from_fixed): Likewise.
32772 (fold_convert_const_fixed_from_int): Likewise.
32773 (all_ones_mask_p): Take an unsigned size. Use wide-int interfaces.
32774 (sign_bit_p): Use wide-int interfaces.
32775 (make_range_step): Likewise.
32776 (build_range_check): Likewise. Pass an integer of the correct type
32777 instead of using integer_one_node.
32778 (range_predecessor): Pass an integer of the correct type instead
32779 of using integer_one_node.
32780 (range_successor): Likewise.
32781 (merge_ranges): Likewise.
32782 (unextend): Use wide-int interfaces.
32783 (extract_muldiv_1): Likewise.
32784 (fold_div_compare): Likewise.
32785 (fold_single_bit_test): Likewise.
32786 (fold_sign_changed_comparison): Likewise.
32787 (try_move_mult_to_index): Update calls to div_if_zero_remainder.
32788 (fold_plusminus_mult_expr): Use wide-int interfaces.
32789 (native_encode_int): Likewise.
32790 (native_interpret_int): Likewise.
32791 (fold_unary_loc): Likewise.
32792 (pointer_may_wrap_p): Likewise.
32793 (size_low_cst): Likewise.
32794 (mask_with_tz): Likewise.
32795 (fold_binary_loc): Likewise.
32796 (fold_ternary_loc): Likewise.
32797 (multiple_of_p): Likewise.
32798 (tree_call_nonnegative_warnv_p): Update calls to
32799 tree_int_cst_min_precision and real_from_integer.
32800 (fold_negate_const): Use wide-int interfaces.
32801 (fold_abs_const): Likewise.
32802 (fold_relational_const): Use tree_int_cst_lt.
32803 (round_up_loc): Use wide-int interfaces.
32804 * genemit.c (gen_exp): Add CONST_WIDE_INT case.
32805 * gengenrtl.c (excluded_rtx): Add CONST_WIDE_INT case.
32806 * gengtype.c: Remove include of double-int.h.
32807 (do_typedef): Use wide-int interfaces.
32808 (open_base_files): Add wide-int.h.
32809 (main): Add offset_int and widest_int typedefs.
32810 * gengtype-lex.l: Handle "^".
32811 (CXX_KEYWORD): Add "static".
32812 * gengtype-parse.c (require3): New.
32813 (require_template_declaration): Handle constant template arguments
32814 and nested templates.
32815 * gengtype-state.c: Don't include "double-int.h".
32816 * genpreds.c (write_one_predicate_function): Update comment.
32817 (write_tm_constrs_h): Add check for hval and lval use in
32819 * genrecog.c (validate_pattern): Add CONST_WIDE_INT case.
32820 (add_to_sequence): Likewise.
32821 * gensupport.c (struct std_pred_table): Add const_scalar_int_operand
32822 and const_double_operand.
32823 * gimple.c (preprocess_case_label_vec_for_gimple): Use wide-int
32825 * gimple-fold.c (get_base_constructor): Likewise.
32826 (fold_array_ctor_reference): Likewise.
32827 (fold_nonarray_ctor_reference): Likewise.
32828 (fold_const_aggregate_ref_1): Likewise.
32829 (gimple_val_nonnegative_real_p): Likewise.
32830 (gimple_fold_indirect_ref): Likewise.
32831 * gimple-pretty-print.c (dump_ssaname_info): Likewise.
32832 * gimple-ssa-strength-reduction.c: Include wide-int-print.h.
32833 (struct slsr_cand_d): Change index to be widest_int.
32834 (struct incr_info_d): Change incr to be widest_int.
32835 (alloc_cand_and_find_basis): Use wide-int interfaces.
32836 (slsr_process_phi): Likewise.
32837 (backtrace_base_for_ref): Likewise. Return a widest_int.
32838 (restructure_reference): Take a widest_int instead of a double_int.
32839 (slsr_process_ref): Use wide-int interfaces.
32840 (create_mul_ssa_cand): Likewise.
32841 (create_mul_imm_cand): Likewise.
32842 (create_add_ssa_cand): Likewise.
32843 (create_add_imm_cand): Take a widest_int instead of a double_int.
32844 (slsr_process_add): Use wide-int interfaces.
32845 (slsr_process_cast): Likewise.
32846 (slsr_process_copy): Likewise.
32847 (dump_candidate): Likewise.
32848 (dump_incr_vec): Likewise.
32849 (replace_ref): Likewise.
32850 (cand_increment): Likewise. Return a widest_int.
32851 (cand_abs_increment): Likewise.
32852 (replace_mult_candidate): Take a widest_int instead of a double_int.
32853 (replace_unconditional_candidate): Use wide-int interfaces.
32854 (incr_vec_index): Take a widest_int instead of a double_int.
32855 (create_add_on_incoming_edge): Likewise.
32856 (create_phi_basis): Use wide-int interfaces.
32857 (replace_conditional_candidate): Likewise.
32858 (record_increment): Take a widest_int instead of a double_int.
32859 (record_phi_increments): Use wide-int interfaces.
32860 (phi_incr_cost): Take a widest_int instead of a double_int.
32861 (lowest_cost_path): Likewise.
32862 (total_savings): Likewise.
32863 (analyze_increments): Use wide-int interfaces.
32864 (ncd_with_phi): Take a widest_int instead of a double_int.
32865 (ncd_of_cand_and_phis): Likewise.
32866 (nearest_common_dominator_for_cands): Likewise.
32867 (insert_initializers): Use wide-int interfaces.
32868 (all_phi_incrs_profitable): Likewise.
32869 (replace_one_candidate): Likewise.
32870 (replace_profitable_candidates): Likewise.
32871 * godump.c: Include wide-int-print.h.
32872 (go_output_typedef): Use wide-int interfaces.
32873 * graphite-clast-to-gimple.c (gmp_cst_to_tree): Likewise.
32874 * graphite-sese-to-poly.c (tree_int_to_gmp): Likewise.
32875 (build_loop_iteration_domains): Likewise.
32876 * hooks.h: Include wide-int.h rather than double-int.h.
32877 (hook_bool_dint_dint_uint_bool_true): Delete.
32878 (hook_bool_wint_wint_uint_bool_true): Declare.
32879 * hooks.c (hook_bool_dint_dint_uint_bool_true): Removed.
32880 (hook_bool_wint_wint_uint_bool_true): New.
32881 * internal-fn.c (ubsan_expand_si_overflow_addsub_check): Use wide-int
32883 (ubsan_expand_si_overflow_mul_check): Likewise.
32884 * ipa-devirt.c (get_polymorphic_call_info): Likewise.
32885 * ipa-prop.c (compute_complex_assign_jump_func): Likewise.
32886 (get_ancestor_addr_info): Likewise.
32887 (ipa_modify_call_arguments): Likewise.
32888 * loop-doloop.c (doloop_modify): Likewise.
32889 (doloop_optimize): Likewise.
32890 * loop-iv.c (iv_number_of_iterations): Likewise.
32891 * loop-unroll.c (decide_unroll_constant_iterations): Likewise.
32892 (unroll_loop_constant_iterations): Likewise.
32893 (decide_unroll_runtime_iterations): Likewise.
32894 (unroll_loop_runtime_iterations): Likewise.
32895 (decide_peel_simple): Likewise.
32896 (decide_unroll_stupid): Likewise.
32897 * lto-streamer-in.c (streamer_read_wi): Add.
32898 (input_cfg): Use wide-int interfaces.
32899 (lto_input_tree_1): Likewise.
32900 * lto-streamer-out.c (streamer_write_wi): Add.
32901 (hash_tree): Use wide-int interfaces.
32902 (output_cfg): Likewise.
32903 * Makefile.in (OBJS): Add wide-int.o and wide-int-print.o.
32904 (GTFILES): Add wide-int.h and signop.h.
32905 (TAGS): Look for .cc files too.
32906 * omp-low.c (scan_omp_1_op): Use wide-int interfaces.
32907 * optabs.c (expand_subword_shift): Likewise.
32908 (expand_doubleword_shift): Likewise.
32909 (expand_absneg_bit): Likewise.
32910 (expand_copysign_absneg): Likewise.
32911 (expand_copysign_bit): Likewise.
32912 * postreload.c (reload_cse_simplify_set): Likewise.
32913 * predict.c (predict_iv_comparison): Likewise.
32914 * pretty-print.h: Include wide-int-print.h.
32916 * print-rtl.c (print_rtx): Add CONST_WIDE_INT case.
32917 * print-tree.c: Include wide-int-print.h.
32918 (print_node_brief): Use wide-int interfaces.
32919 (print_node): Likewise.
32920 * read-rtl.c (validate_const_wide_int): New.
32921 (read_rtx_code): Add CONST_WIDE_INT case.
32922 * real.c: Include wide-int.h.
32923 (real_to_integer2): Delete.
32924 (real_to_integer): New function, returning a wide_int.
32925 (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs.
32926 (ten_to_ptwo): Update call to real_from_integer.
32927 (real_digit): Likewise.
32928 * real.h: Include signop.h, wide-int.h and insn-modes.h.
32929 (real_to_integer2, REAL_VALUE_FROM_INT, REAL_VALUE_FROM_UNSIGNED_INT)
32930 (REAL_VALUE_TO_INT): Delete.
32931 (real_to_integer): Declare a wide-int form.
32932 (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs.
32933 * recog.c (const_int_operand): Improve comment.
32934 (const_scalar_int_operand): New.
32935 (const_double_operand): Add a separate definition for CONST_WIDE_INT.
32936 * rtlanal.c (commutative_operand_precedence): Handle CONST_WIDE_INT.
32937 (split_double): Likewise.
32938 * rtl.c (DEF_RTL_EXPR): Handle CONST_WIDE_INT.
32939 (rtx_size): Likewise.
32940 (rtx_alloc_stat_v): New.
32941 (rtx_alloc_stat): Now calls rtx_alloc_stat_v.
32942 (cwi_output_hex): New.
32943 (iterative_hash_rtx): Handle CONST_WIDE_INT.
32944 (cwi_check_failed_bounds): New.
32945 * rtl.def (CONST_WIDE_INT): New.
32946 * rtl.h: Include <utility> and wide-int.h.
32947 (struct hwivec_def): New.
32948 (CWI_GET_NUM_ELEM): New.
32949 (CWI_PUT_NUM_ELEM): New.
32950 (struct rtx_def): Add num_elem and hwiv.
32951 (CASE_CONST_SCALAR_INT): Modify for TARGET_SUPPORTS_WIDE_INT.
32952 (CASE_CONST_UNIQUE): Likewise.
32953 (CASE_CONST_ANY): Likewise.
32954 (CONST_SCALAR_INT_P): Likewise.
32955 (CONST_WIDE_INT_P): New.
32957 (HWIVEC_CHECK): New.
32958 (cwi_check_failed_bounds): New.
32960 (HWIVEC_CHECK): New.
32961 (CONST_WIDE_INT_VEC) New.
32962 (CONST_WIDE_INT_NUNITS) New.
32963 (CONST_WIDE_INT_ELT) New.
32964 (rtx_mode_t): New type.
32965 (wi::int_traits <rtx_mode_t>): New.
32967 (wi::min_value): New.
32968 (wi::max_value): New.
32970 (const_wide_int_alloc): New.
32971 (immed_wide_int_const): New.
32972 * sched-vis.c (print_value): Handle CONST_WIDE_INT.
32973 * sel-sched-ir.c (lhs_and_rhs_separable_p): Update comment.
32974 * signop.h: New file.
32975 * simplify-rtx.c (mode_signbit_p): Handle CONST_WIDE_INT.
32976 (simplify_const_unary_operation): Use wide-int interfaces.
32977 (simplify_binary_operation_1): Likewise.
32978 (simplify_const_binary_operation): Likewise.
32979 (simplify_const_relational_operation): Likewise.
32980 (simplify_immed_subreg): Likewise.
32981 * stmt.c (expand_case): Likewise.
32982 * stor-layout.h (set_min_and_max_values_for_integral_type): Take a
32983 signop rather than a bool.
32984 * stor-layout.c (layout_type): Use wide-int interfaces.
32985 (initialize_sizetypes): Update calls to
32986 set_min_and_max_values_for_integral_type.
32987 (set_min_and_max_values_for_integral_type): Take a signop rather
32988 than a bool. Use wide-int interfaces.
32989 (fixup_signed_type): Update accordingly. Remove
32990 HOST_BITS_PER_DOUBLE_INT limit.
32991 (fixup_unsigned_type): Likewise.
32992 * system.h (STATIC_CONSTANT_P): New.
32993 (STATIC_ASSERT): New.
32994 * target.def (can_use_doloop_p): Take widest_ints rather than
32996 * target.h: Include wide-int.h rather than double-int.h.
32997 * targhooks.h (can_use_doloop_if_innermost): Take widest_ints rather
32999 * targhooks.c (default_cxx_get_cookie_size): Use tree_int_cst_lt
33000 rather than INT_CST_LT_UNSIGNED.
33001 (can_use_doloop_if_innermost): Take widest_ints rather than
33003 * tree-affine.c: Include wide-int-print.h.
33004 (double_int_ext_for_comb): Delete.
33005 (wide_int_ext_for_comb): New.
33006 (aff_combination_zero): Use wide-int interfaces.
33007 (aff_combination_const): Take a widest_int instead of a double_int.
33008 (aff_combination_elt): Use wide-int interfaces.
33009 (aff_combination_scale): Take a widest_int instead of a double_int.
33010 (aff_combination_add_elt): Likewise.
33011 (aff_combination_add_cst): Likewise.
33012 (aff_combination_add): Use wide-int interfaces.
33013 (aff_combination_convert): Likewise.
33014 (tree_to_aff_combination): Likewise.
33015 (add_elt_to_tree): Take a widest_int instead of a double_int.
33016 (aff_combination_to_tree): Use wide-int interfaces.
33017 (aff_combination_remove_elt): Likewise.
33018 (aff_combination_add_product): Take a widest_int instead of
33020 (aff_combination_mult): Use wide-int interfaces.
33021 (aff_combination_expand): Likewise.
33022 (double_int_constant_multiple_p): Delete.
33023 (wide_int_constant_multiple_p): New.
33024 (aff_combination_constant_multiple_p): Take a widest_int pointer
33025 instead of a double_int pointer.
33026 (print_aff): Use wide-int interfaces.
33027 (get_inner_reference_aff): Take a widest_int pointer
33028 instead of a double_int pointer.
33029 (aff_comb_cannot_overlap_p): Take widest_ints instead of double_ints.
33030 * tree-affine.h: Include wide-int.h.
33031 (struct aff_comb_elt): Change type of coef to widest_int.
33032 (struct affine_tree_combination): Change type of offset to widest_int.
33033 (double_int_ext_for_comb): Delete.
33034 (wide_int_ext_for_comb): New.
33035 (aff_combination_const): Use widest_int instead of double_int.
33036 (aff_combination_scale): Likewise.
33037 (aff_combination_add_elt): Likewise.
33038 (aff_combination_constant_multiple_p): Likewise.
33039 (get_inner_reference_aff): Likewise.
33040 (aff_comb_cannot_overlap_p): Likewise.
33041 (aff_combination_zero_p): Use wide-int interfaces.
33042 * tree.c: Include tree.h.
33043 (init_ttree): Use make_int_cst.
33044 (tree_code_size): Removed code for INTEGER_CST case.
33045 (tree_size): Add INTEGER_CST case.
33046 (make_node_stat): Update comment.
33047 (get_int_cst_ext_nunits, build_new_int_cst, build_int_cstu): New.
33048 (build_int_cst_type): Use wide-int interfaces.
33049 (double_int_to_tree): Likewise.
33050 (double_int_fits_to_tree_p): Delete.
33051 (force_fit_type_double): Delete.
33052 (force_fit_type): New.
33053 (int_cst_hash_hash): Use wide-int interfaces.
33054 (int_cst_hash_eq): Likewise.
33055 (build_int_cst_wide): Delete.
33056 (wide_int_to_tree): New.
33057 (cache_integer_cst): Use wide-int interfaces.
33058 (build_low_bits_mask): Likewise.
33059 (cst_and_fits_in_hwi): Likewise.
33060 (real_value_from_int_cst): Likewise.
33061 (make_int_cst_stat): New.
33062 (integer_zerop): Use wide_int interfaces.
33063 (integer_onep): Likewise.
33064 (integer_all_onesp): Likewise.
33065 (integer_pow2p): Likewise.
33066 (integer_nonzerop): Likewise.
33067 (tree_log2): Likewise.
33068 (tree_floor_log2): Likewise.
33069 (tree_ctz): Likewise.
33070 (int_size_in_bytes): Likewise.
33071 (mem_ref_offset): Return an offset_int rather than a double_int.
33072 (build_type_attribute_qual_variant): Use wide_int interfaces.
33073 (type_hash_eq): Likewise
33074 (tree_int_cst_equal): Likewise.
33075 (tree_int_cst_lt): Delete.
33076 (tree_int_cst_compare): Likewise.
33077 (tree_fits_shwi_p): Use wide_int interfaces.
33078 (tree_fits_uhwi_p): Likewise.
33079 (tree_int_cst_sign_bit): Likewise.
33080 (tree_int_cst_sgn): Likewise.
33081 (tree_int_cst_min_precision): Take a signop rather than a bool.
33082 (simple_cst_equal): Use wide_int interfaces.
33083 (compare_tree_int): Likewise.
33084 (iterative_hash_expr): Likewise.
33085 (int_fits_type_p): Likewise. Use tree_int_cst_lt rather than
33087 (get_type_static_bounds): Use wide_int interfaces.
33088 (tree_int_cst_elt_check_failed): New.
33089 (build_common_tree_nodes): Reordered to set prec before filling in
33091 (int_cst_value): Check cst_and_fits_in_hwi.
33092 (widest_int_cst_value): Use wide_int interfaces.
33093 (upper_bound_in_type): Likewise.
33094 (lower_bound_in_type): Likewise.
33095 (num_ending_zeros): Likewise.
33096 (drop_tree_overflow): Likewise.
33097 * tree-call-cdce.c (check_pow): Update call to real_from_integer.
33098 (gen_conditions_for_pow_cst_base): Likewise.
33099 * tree-cfg.c: Include wide-int.h and wide-int-print.h.
33100 (group_case_labels_stmt): Use wide-int interfaces.
33101 (verify_gimple_assign_binary): Likewise.
33102 (print_loop): Likewise.
33103 * tree-chrec.c (tree_fold_binomial): Likewise.
33104 * tree-core.h (struct tree_base): Add int_length.
33105 (struct tree_int_cst): Change rep of value.
33106 * tree-data-ref.c (dr_analyze_innermost): Use wide-int interfaces.
33107 (dr_may_alias_p): Likewise.
33108 (max_stmt_executions_tree): Likewise.
33109 * tree.def (INTEGER_CST): Update comment.
33110 * tree-dfa.c (get_ref_base_and_extent): Use wide-int interfaces.
33111 * tree-dfa.h (get_addr_base_and_unit_offset_1): Likewise.
33112 * tree-dump.c: Include wide-int.h and wide-int-print.h.
33113 (dequeue_and_dump): Use wide-int interfaces.
33114 * tree.h: Include wide-int.h.
33115 (NULL_TREE): Moved to earlier loc in file.
33116 (TREE_INT_CST_ELT_CHECK): New.
33117 (tree_int_cst_elt_check_failed): New.
33119 (TREE_INT_CST): Delete.
33120 (TREE_INT_CST_LOW): Use wide-int interfaces.
33121 (TREE_INT_CST_HIGH): Delete.
33122 (TREE_INT_CST_NUNITS): New.
33123 (TREE_INT_CST_EXT_NUNITS): Likewise.
33124 (TREE_INT_CST_OFFSET_NUNITS): Likewise.
33125 (TREE_INT_CST_ELT): Likewise.
33126 (INT_CST_LT): Delete.
33127 (tree_int_cst_elt_check): New (two forms).
33128 (type_code_size): Update comment.
33129 (make_int_cst_stat, make_int_cst): New.
33130 (tree_to_double_int): Delete.
33131 (double_int_fits_to_tree_p): Delete.
33132 (force_fit_type_double): Delete.
33133 (build_int_cstu): Replace with out-of-line function.
33134 (build_int_cst_wide): Delete.
33135 (tree_int_cst_lt): Define inline.
33136 (tree_int_cst_le): New.
33137 (tree_int_cst_compare): Define inline.
33138 (tree_int_cst_min_precision): Take a signop rather than a bool.
33139 (wi::int_traits <const_tree>): New.
33140 (wi::int_traits <tree>): New.
33141 (wi::extended_tree): New.
33142 (wi::int_traits <wi::extended_tree>): New.
33143 (wi::to_widest): New.
33144 (wi::to_offset): New.
33145 (wi::fits_to_tree_p): New.
33146 (wi::min_value): New.
33147 (wi::max_value): New.
33148 * tree-inline.c (remap_gimple_op_r): Use wide-int interfaces.
33149 (copy_tree_body_r): Likewise.
33150 * tree-object-size.c (compute_object_offset): Likewise.
33151 (addr_object_size): Likewise.
33152 * tree-predcom.c: Include wide-int-print.h.
33153 (struct dref_d): Change type of offset to widest_int.
33154 (dump_dref): Call wide-int printer.
33155 (aff_combination_dr_offset): Use wide-int interfaces.
33156 (determine_offset): Take a widest_int pointer rather than a
33157 double_int pointer.
33158 (split_data_refs_to_components): Use wide-int interfaces.
33159 (suitable_component_p): Likewise.
33160 (order_drefs): Likewise.
33161 (add_ref_to_chain): Likewise.
33162 (valid_initializer_p): Likewise.
33163 (determine_roots_comp): Likewise.
33164 * tree-pretty-print.c: Include wide-int-print.h.
33165 (dump_generic_node): Use wide-int interfaces.
33166 * tree-sra.c (sra_ipa_modify_expr): Likewise.
33167 * tree-ssa-address.c (addr_for_mem_ref): Likewise.
33168 (move_fixed_address_to_symbol): Likewise.
33169 (move_hint_to_base): Likewise.
33170 (move_pointer_to_base): Likewise.
33171 (move_variant_to_index): Likewise.
33172 (most_expensive_mult_to_index): Likewise.
33173 (addr_to_parts): Likewise.
33174 (copy_ref_info): Likewise.
33175 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise.
33176 (indirect_refs_may_alias_p): Likewise.
33177 (stmt_kills_ref_p_1): Likewise.
33178 * tree-ssa.c (non_rewritable_mem_ref_base): Likewise.
33179 * tree-ssa-ccp.c: Update comment at top of file. Include
33181 (struct prop_value_d): Change type of mask to widest_int.
33182 (extend_mask): New function.
33183 (dump_lattice_value): Use wide-int interfaces.
33184 (get_default_value): Likewise.
33185 (set_constant_value): Likewise.
33186 (set_value_varying): Likewise.
33187 (valid_lattice_transition): Likewise.
33188 (set_lattice_value): Likewise.
33189 (value_to_double_int): Delete.
33190 (value_to_wide_int): New.
33191 (get_value_from_alignment): Use wide-int interfaces.
33192 (get_value_for_expr): Likewise.
33193 (do_dbg_cnt): Likewise.
33194 (ccp_finalize): Likewise.
33195 (ccp_lattice_meet): Likewise.
33196 (bit_value_unop_1): Use widest_ints rather than double_ints.
33197 (bit_value_binop_1): Likewise.
33198 (bit_value_unop): Use wide-int interfaces.
33199 (bit_value_binop): Likewise.
33200 (bit_value_assume_aligned): Likewise.
33201 (evaluate_stmt): Likewise.
33202 (ccp_fold_stmt): Likewise.
33203 (visit_cond_stmt): Likewise.
33204 (ccp_visit_stmt): Likewise.
33205 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise.
33206 (constant_pointer_difference): Likewise.
33207 (associate_pointerplus): Likewise.
33208 (combine_conversions): Likewise.
33209 * tree-ssa-loop.h: Include wide-int.h.
33210 (struct tree_niter_desc): Change type of max to widest_int.
33211 * tree-ssa-loop-im.c (mem_refs_may_alias_p): Use wide-int interfaces.
33212 * tree-ssa-loop-ivcanon.c (remove_exits_and_undefined_stmts): Likewise.
33213 (remove_redundant_iv_tests): Likewise.
33214 (canonicalize_loop_induction_variables): Likewise.
33215 * tree-ssa-loop-ivopts.c (alloc_iv): Likewise.
33216 (constant_multiple_of): Take a widest_int pointer instead of
33217 a double_int pointer.
33218 (get_computation_aff): Use wide-int interfaces.
33219 (ptr_difference_cost): Likewise.
33220 (difference_cost): Likewise.
33221 (get_loop_invariant_expr_id): Likewise.
33222 (get_computation_cost_at): Likewise.
33223 (iv_elimination_compare_lt): Likewise.
33224 (may_eliminate_iv): Likewise.
33225 * tree-ssa-loop-niter.h (estimated_loop_iterations): Use widest_int
33226 instead of double_int.
33227 (max_loop_iterations): Likewise.
33228 (max_stmt_executions): Likewise.
33229 (estimated_stmt_executions): Likewise.
33230 * tree-ssa-loop-niter.c: Include wide-int-print.h.
33231 (split_to_var_and_offset): Use wide-int interfaces.
33232 (determine_value_range): Likewise.
33233 (bound_difference_of_offsetted_base): Likewise.
33234 (bounds_add): Take a widest_int instead of a double_int.
33235 (number_of_iterations_ne_max): Use wide-int interfaces.
33236 (number_of_iterations_ne): Likewise.
33237 (number_of_iterations_lt_to_ne): Likewise.
33238 (assert_loop_rolls_lt): Likewise.
33239 (number_of_iterations_lt): Likewise.
33240 (number_of_iterations_le): Likewise.
33241 (number_of_iterations_cond): Likewise.
33242 (number_of_iterations_exit): Likewise.
33243 (finite_loop_p): Likewise.
33244 (derive_constant_upper_bound_assign): Likewise.
33245 (derive_constant_upper_bound): Return a widest_int.
33246 (derive_constant_upper_bound_ops): Likewise.
33247 (do_warn_aggressive_loop_optimizations): Use wide-int interfaces.
33248 (record_estimate): Take a widest_int rather than a double_int.
33249 (record_nonwrapping_iv): Use wide-int interfaces.
33250 (double_int_cmp): Delete.
33251 (wide_int_cmp): New.
33252 (bound_index): Take a widest_int rather than a double_int.
33253 (discover_iteration_bound_by_body_walk): Use wide-int interfaces.
33254 (maybe_lower_iteration_bound): Likewise.
33255 (estimate_numbers_of_iterations_loop): Likewise.
33256 (estimated_loop_iterations): Take a widest_int pointer than than
33257 a double_int pointer.
33258 (estimated_loop_iterations_int): Use wide-int interfaces.
33259 (max_loop_iterations): Take a widest_int pointer than than
33260 a double_int pointer.
33261 (max_loop_iterations_int): Use wide-int interfaces.
33262 (max_stmt_executions): Take a widest_int pointer than than
33263 a double_int pointer.
33264 (estimated_stmt_executions): Likewise.
33265 (n_of_executions_at_most): Use wide-int interfaces.
33266 (scev_probably_wraps_p): Likewise.
33267 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Update calls
33268 to real_to_integer.
33269 * tree-scalar-evolution.c (simplify_peeled_chrec): Use wide-int
33271 * tree-ssanames.c (set_range_info): Use wide_int_refs rather than
33272 double_ints. Adjust for trailing_wide_ints <3> representation.
33273 (set_nonzero_bits): Likewise.
33274 (get_range_info): Return wide_ints rather than double_ints.
33275 Adjust for trailing_wide_ints <3> representation.
33276 (get_nonzero_bits): Likewise.
33277 (duplicate_ssa_name_range_info): Adjust for trailing_wide_ints <3>
33279 * tree-ssanames.h (struct range_info_def): Replace min, max and
33280 nonzero_bits with a trailing_wide_ints <3>.
33281 (set_range_info): Use wide_int_refs rather than double_ints.
33282 (set_nonzero_bits): Likewise.
33283 (get_range_info): Return wide_ints rather than double_ints.
33284 (get_nonzero_bits): Likewise.
33285 * tree-ssa-phiopt.c (jump_function_from_stmt): Use wide-int interfaces.
33286 * tree-ssa-pre.c (phi_translate_1): Likewise.
33287 * tree-ssa-reassoc.c (decrement_power): Use calls to real_from_integer.
33288 (acceptable_pow_call): Likewise.
33289 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use wide-int
33291 (vn_reference_fold_indirect): Likewise.
33292 (vn_reference_maybe_forwprop_address): Likewise.
33293 (valueize_refs_1): Likewise.
33294 * tree-ssa-structalias.c (get_constraint_for_ptr_offset): Likewise.
33295 * tree-ssa-uninit.c (is_value_included_in): Use wide-int interfaces,
33296 tree_int_cst_lt and tree_int_cst_le.
33297 * tree-streamer-in.c (unpack_ts_base_value_fields): Use wide-int
33299 (streamer_alloc_tree): Likewise.
33300 * tree-streamer-out.c (pack_ts_int_cst_value_fields): Likewise.
33301 (streamer_write_tree_header): Likewise.
33302 (streamer_write_integer_cst): Likewise.
33303 * tree-switch-conversion.c (emit_case_bit_tests): Likewise.
33304 (build_constructors): Likewise.
33305 (array_value_type): Likewise.
33306 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Likewise.
33307 (vect_check_gather): Likewise.
33308 * tree-vect-generic.c (build_replicated_const): Likewise.
33309 (expand_vector_divmod): Likewise.
33310 * tree-vect-loop.c (vect_transform_loop): Likewise.
33311 * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Likewise.
33312 (vect_do_peeling_for_alignment): Likewise.
33313 * tree-vect-patterns.c (vect_recog_divmod_pattern): Likewise.
33314 * tree-vrp.c: Include wide-int.h.
33315 (operand_less_p): Use wide-int interfaces and tree_int_cst_lt.
33316 (extract_range_from_assert): Use wide-int interfaces.
33317 (vrp_int_const_binop): Likewise.
33318 (zero_nonzero_bits_from_vr): Take wide_int pointers rather than
33319 double_int pointers.
33320 (ranges_from_anti_range): Use wide-int interfaces.
33321 (quad_int_cmp): Delete.
33322 (quad_int_pair_sort): Likewise.
33323 (extract_range_from_binary_expr_1): Use wide-int interfaces.
33324 (extract_range_from_unary_expr_1): Likewise.
33325 (adjust_range_with_scev): Likewise.
33326 (masked_increment): Take and return wide_ints rather than double_ints.
33327 (register_edge_assert_for_2): Use wide-int interfaces.
33328 (check_array_ref): Likewise.
33329 (search_for_addr_array): Likewise.
33330 (maybe_set_nonzero_bits): Likewise.
33331 (union_ranges): Pass an integer of the correct type instead of
33332 using integer_one_node.
33333 (intersect_ranges): Likewise.
33334 (simplify_truth_ops_using_ranges): Likewise.
33335 (simplify_bit_ops_using_ranges): Use wide-int interfaces.
33336 (range_fits_type_p): Likewise.
33337 (simplify_cond_using_ranges): Likewise. Take a signop rather than
33339 (simplify_conversion_using_ranges): Use wide-int interfaces.
33340 (simplify_float_conversion_using_ranges): Likewise.
33341 (vrp_finalize): Likewise.
33342 * value-prof.c (gimple_divmod_fixed_value_transform): Likewise.
33343 (gimple_stringops_transform): Likewise.
33344 * varasm.c (decode_addr_const): Likewise.
33345 (const_hash_1): Likewise.
33346 (const_rtx_hash_1): Likewise
33347 (output_constant): Likewise.
33348 (array_size_for_constructor): Likewise.
33349 (output_constructor_regular_field): Likewise.
33350 (output_constructor_bitfield): Likewise.
33351 * var-tracking.c (loc_cmp): Handle CONST_WIDE_INT.
33352 * mkconfig.sh: Include machmode.h to pick up BITS_PER_UNIT for
33354 * gencheck.c: Define BITS_PER_UNIT.
33355 * wide-int.cc: New.
33357 * wide-int-print.cc: New.
33358 * wide-int-print.h: New.
33360 2014-05-06 Jan-Benedict Glaw <jbglaw@lug-owl.de>
33362 * config/avr/avr.c (avr_can_eliminate): Mark unused argument.
33364 2014-05-06 Richard Biener <rguenther@suse.de>
33366 * tree-pass.h (TODO_verify_ssa, TODO_verify_flow,
33367 TODO_verify_stmts, TODO_verify_rtl_sharing): Remove.
33368 (TODO_verify_all): Adjust.
33369 * asan.c: Remove references to TODO_verify_ssa, TODO_verify_flow,
33370 TODO_verify_stmts and TODO_verify_rtl_sharing.
33371 * bb-reorder.c: Likewise.
33372 * cfgexpand.c: Likewise.
33373 * cprop.c: Likewise.
33375 * function.c: Likewise.
33376 * fwprop.c: Likewise.
33377 * gcse.c: Likewise.
33378 * gimple-ssa-isolate-paths.c: Likewise.
33379 * gimple-ssa-strength-reduction.c: Likewise.
33380 * ipa-split.c: Likewise.
33381 * loop-init.c: Likewise.
33382 * loop-unroll.c: Likewise.
33383 * lower-subreg.c: Likewise.
33384 * modulo-sched.c: Likewise.
33385 * postreload-gcse.c: Likewise.
33386 * predict.c: Likewise.
33387 * recog.c: Likewise.
33388 * sched-rgn.c: Likewise.
33389 * store-motion.c: Likewise.
33390 * tracer.c: Likewise.
33391 * trans-mem.c: Likewise.
33392 * tree-call-cdce.c: Likewise.
33393 * tree-cfg.c: Likewise.
33394 * tree-cfgcleanup.c: Likewise.
33395 * tree-complex.c: Likewise.
33396 * tree-eh.c: Likewise.
33397 * tree-emutls.c: Likewise.
33398 * tree-if-conv.c: Likewise.
33399 * tree-into-ssa.c: Likewise.
33400 * tree-loop-distribution.c: Likewise.
33401 * tree-object-size.c: Likewise.
33402 * tree-parloops.c: Likewise.
33403 * tree-pass.h: Likewise.
33404 * tree-sra.c: Likewise.
33405 * tree-ssa-ccp.c: Likewise.
33406 * tree-ssa-copy.c: Likewise.
33407 * tree-ssa-copyrename.c: Likewise.
33408 * tree-ssa-dce.c: Likewise.
33409 * tree-ssa-dom.c: Likewise.
33410 * tree-ssa-dse.c: Likewise.
33411 * tree-ssa-forwprop.c: Likewise.
33412 * tree-ssa-ifcombine.c: Likewise.
33413 * tree-ssa-loop-ch.c: Likewise.
33414 * tree-ssa-loop-ivcanon.c: Likewise.
33415 * tree-ssa-loop.c: Likewise.
33416 * tree-ssa-math-opts.c: Likewise.
33417 * tree-ssa-phiopt.c: Likewise.
33418 * tree-ssa-phiprop.c: Likewise.
33419 * tree-ssa-pre.c: Likewise.
33420 * tree-ssa-reassoc.c: Likewise.
33421 * tree-ssa-sink.c: Likewise.
33422 * tree-ssa-strlen.c: Likewise.
33423 * tree-ssa-tail-merge.c: Likewise.
33424 * tree-ssa-uncprop.c: Likewise.
33425 * tree-switch-conversion.c: Likewise.
33426 * tree-tailcall.c: Likewise.
33427 * tree-vect-generic.c: Likewise.
33428 * tree-vectorizer.c: Likewise.
33429 * tree-vrp.c: Likewise.
33430 * tsan.c: Likewise.
33431 * var-tracking.c: Likewise.
33432 * bt-load.c: Likewise.
33433 * cfgcleanup.c: Likewise.
33434 * combine-stack-adj.c: Likewise.
33435 * combine.c: Likewise.
33436 * compare-elim.c: Likewise.
33437 * config/epiphany/resolve-sw-modes.c: Likewise.
33438 * config/i386/i386.c: Likewise.
33439 * config/mips/mips.c: Likewise.
33440 * config/s390/s390.c: Likewise.
33441 * config/sh/sh_treg_combine.cc: Likewise.
33442 * config/sparc/sparc.c: Likewise.
33445 * final.c: Likewise.
33446 * ifcvt.c: Likewise.
33447 * mode-switching.c: Likewise.
33448 * passes.c: Likewise.
33449 * postreload.c: Likewise.
33451 * reg-stack.c: Likewise.
33452 * regcprop.c: Likewise.
33453 * regrename.c: Likewise.
33456 2014-05-06 Richard Biener <rguenther@suse.de>
33458 PR middle-end/61070
33459 * bitmap.c (debug_bitmap): Dump to stderr, not stdout.
33460 * tree-ssa-structalias.c (dump_solution_for_var): Likewise.
33462 2014-05-05 Jan Hubicka <hubicka@ucw.cz>
33465 * ipa-devirt.c (get_class_context): Allow POD to change to non-POD.
33467 2014-05-05 Radovan Obradovic <robradovic@mips.com>
33468 Tom de Vries <tom@codesourcery.com>
33470 * target.def (call_fusage_contains_non_callee_clobbers): New
33472 * doc/tm.texi.in (@node Stack and Calling): Add Miscellaneous Register
33474 (@node Miscellaneous Register Hooks): New node.
33475 (@hook TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): New hook.
33476 * doc/tm.texi: Regenerate.
33478 2014-05-05 Marek Polacek <polacek@redhat.com>
33481 * opts.c (common_handle_option): Call error_at instead of warning_at.
33483 2014-05-05 Richard Biener <rguenther@suse.de>
33485 * passes.c (execute_function_todo): Don't reset TODO_verify_ssa
33486 from last_verified if update_ssa ran. Move TODO_verify_rtl_sharing
33487 under the TODO_verify_il umbrella.
33489 2014-05-05 Richard Biener <rguenther@suse.de>
33491 * passes.c (execute_function_todo): Move TODO_verify_flow under
33492 the TODO_verify_ul umbrella.
33494 2014-05-05 Richard Biener <rguenther@suse.de>
33496 PR middle-end/61010
33497 * fold-const.c (fold_binary_loc): Consistently avoid canonicalizing
33498 X & CST away from a CST that is the mask of a mode.
33500 2014-05-05 Jan-Benedict Glaw <jbglaw@lug-owl.de>
33502 * config/picochip/picochip-protos.h (picochip_regno_nregs): Change
33503 int argument to enum machine_mode.
33504 (picochip_class_max_nregs): Ditto.
33505 * config/picochip/picochip.c (picochip_regno_nregs): Ditto.
33506 (picochip_class_max_nregs): Ditto.
33508 2014-05-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33510 * target.def: Add new target hook.
33511 * doc/tm.texi: Regenerate.
33512 * targhooks.h (default_keep_leaf_when_profiled): Add prototype.
33513 * targhooks.c (default_keep_leaf_when_profiled): New function.
33515 * config/s390/s390.c (s390_keep_leaf_when_profiled): New function.
33516 (TARGET_KEEP_LEAF_WHEN_PROFILED): Define.
33518 2014-05-05 Bin Cheng <bin.cheng@arm.com>
33520 PR tree-optimization/60363
33521 * gcc/tree-ssa-threadupdate.c (get_value_locus_in_path): New.
33522 (copy_phi_args): New parameters. Call get_value_locus_in_path.
33523 (update_destination_phis): New parameter.
33524 (create_edge_and_update_destination_phis): Ditto.
33525 (ssa_fix_duplicate_block_edges): Pass new arguments.
33526 (thread_single_edge): Ditto.
33528 2014-05-04 Peter Bergner <bergner@vnet.ibm.com>
33530 * config/rs6000/rs6000.h (RS6000_BTM_HARD_FLOAT): New define.
33531 (RS6000_BTM_COMMON): Add RS6000_BTM_HARD_FLOAT.
33532 (TARGET_EXTRA_BUILTINS): Add TARGET_HARD_FLOAT.
33533 * config/rs6000/rs6000-builtin.def (BU_MISC_1):
33534 Use RS6000_BTM_HARD_FLOAT.
33535 (BU_MISC_2): Likewise.
33536 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
33537 RS6000_BTM_HARD_FLOAT.
33538 (rs6000_option_override_internal): Enforce -mhard-float if -mhard-dfp
33539 is explicitly used.
33540 (rs6000_invalid_builtin): Add hard floating builtin support.
33541 (rs6000_expand_builtin): Relax the gcc_assert to allow the new
33542 hard float builtins.
33543 (rs6000_builtin_mask_names): Add RS6000_BTM_HARD_FLOAT.
33545 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
33547 * config/sh/sh_optimize_sett_clrt.cc (sh_optimize_sett_clrt::execute):
33548 Add missing function* argument.
33550 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com>
33552 * lra-constraints.c (valid_address_p): Move earlier in file.
33553 Add a constraint argument to the address_info version.
33554 (satisfies_memory_constraint_p): New function.
33555 (satisfies_address_constraint_p): Likewise.
33556 (process_alt_operands, curr_insn_transform): Use them.
33557 (process_address): Pass the constraint to valid_address_p when
33558 checking address operands.
33560 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com>
33562 * config/mips/mips.c (mips_isa_rev): New variable.
33563 (mips_set_architecture): Set it.
33564 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Set __mips_isa_rev
33566 (ISA_HAS_MUL3, ISA_HAS_FP_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4)
33567 (ISA_HAS_PAIRED_SINGLE, ISA_HAS_MADD_MSUB, ISA_HAS_FP_RECIP_RSQRT)
33568 (ISA_HAS_CLZ_CLO, ISA_HAS_ROR, ISA_HAS_WSBH, ISA_HAS_PREFETCH)
33569 (ISA_HAS_SEB_SEH, ISA_HAS_EXT_INS, ISA_HAS_MXHC1)
33570 (ISA_HAS_HILO_INTERLOCKS, ISA_HAS_SYNCI, MIN_FPRS_PER_FMT): Reexpress
33571 conditions in terms of mips_isa_rev.
33572 (mips_isa_rev): Declare.
33574 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
33576 * config/sh/sh-mem.cc: Use tabs instead of spaces.
33577 (prob_unlikely, prob_likely): Make variables const.
33579 2014-05-03 Denis Chertykov <chertykov@gmail.com>
33581 * config/avr/avr.c (avr_adjust_insn_length): Handle JUMP_TABLE_DATA.
33583 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
33585 * config/sh/sh.h (SH_ASM_SPEC): Handle m1, m2*, m3* and m4* cases.
33587 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
33589 * config/sh/sh.h (ROUND_ADVANCE): Delete macro.
33590 (ROUND_REG, PASS_IN_REG_P): Move and rename macros to ...
33591 * config/sh/sh.c (sh_round_reg, sh_pass_in_reg_p): ... these new
33593 (sh_arg_partial_bytes, sh_function_arg, sh_function_arg_advance,
33594 sh_setup_incoming_varargs): Replace usage of PASS_IN_REG_P with
33596 Replace usage of ROUND_REG with sh_round_reg.
33597 Use CEIL instead of ROUND_ADVANCE.
33599 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
33602 * config/sh/sh.c: Include stdlib headers before everything else.
33604 2014-05-02 Jakub Jelinek <jakub@redhat.com>
33606 * gimplify.c (gimplify_adjust_omp_clauses_1): Handle
33607 GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE.
33608 (gimplify_adjust_omp_clauses): Simd region is never
33609 directly nested in combined parallel. Instead, for linear
33610 with copyin/copyout, if in combined for simd loop, make decl
33611 firstprivate/lastprivate on OMP_FOR.
33612 * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk,
33613 expand_omp_for_static_chunk): When setting endvar, also set
33614 fd->loop.v to the same value.
33616 2014-05-02 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
33618 * hwint.h (zext_hwi): Fix signed overflow for prec == 63.
33620 2014-05-02 Alan Lawrence <alan.lawrence@arm.com>
33622 * config/aarch64/aarch64.c (aarch64_expand_vec_perm_1): Tidy bit-flip
33625 2014-05-02 Marek Polacek <polacek@redhat.com>
33627 * doc/invoke.texi: Describe -fsanitize=float-divide-by-zero.
33629 2014-05-02 Kito Cheng <kito@0xlab.org>
33631 * defaults.h (HONOR_REG_ALLOC_ORDER): Change HONOR_REG_ALLOC_ORDER
33632 to a C expression marco.
33633 * ira-color.c (HONOR_REG_ALLOC_ORDER) : Ditto.
33634 * config/arm/arm.h (HONOR_REG_ALLOC_ORDER): Ditto.
33635 * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Ditto.
33636 * doc/tm.texi (HONOR_REG_ALLOC_ORDER): Update document for
33637 HONOR_REG_ALLOC_ORDER.
33638 * doc/tm.texi.in (HONOR_REG_ALLOC_ORDER): Ditto.
33640 2014-05-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
33642 * config/arc/arc.c (TARGET_LRA_P): Undef before redefine.
33644 2014-05-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
33646 * config/arc/arc.c (arc_select_cc_mode): Fix typo.
33648 2014-05-01 Yuri Rumyantsev <ysrumyan@gmail.com>
33650 * tree-if-conv.c (is_cond_scalar_reduction): New function.
33651 (convert_scalar_cond_reduction): Likewise.
33652 (predicate_scalar_phi): Add recognition and transformation
33653 of simple conditioanl reduction to be vectorizable.
33655 2014-05-01 Marek Polacek <polacek@redhat.com>
33658 * doc/invoke.texi: Document -Wdiscarded-qualifiers.
33660 2014-04-30 Alan Lawrence <alan.lawrence@arm.com>
33662 * config/aarch64/arm_neon.h (vuzp1_f32, vuzp1_p8, vuzp1_p16, vuzp1_s8,
33663 vuzp1_s16, vuzp1_s32, vuzp1_u8, vuzp1_u16, vuzp1_u32, vuzp1q_f32,
33664 vuzp1q_f64, vuzp1q_p8, vuzp1q_p16, vuzp1q_s8, vuzp1q_s16, vuzp1q_s32,
33665 vuzp1q_s64, vuzp1q_u8, vuzp1q_u16, vuzp1q_u32, vuzp1q_u64, vuzp2_f32,
33666 vuzp2_p8, vuzp2_p16, vuzp2_s8, vuzp2_s16, vuzp2_s32, vuzp2_u8,
33667 vuzp2_u16, vuzp2_u32, vuzp2q_f32, vuzp2q_f64, vuzp2q_p8, vuzp2q_p16,
33668 vuzp2q_s8, vuzp2q_s16, vuzp2q_s32, vuzp2q_s64, vuzp2q_u8, vuzp2q_u16,
33669 vuzp2q_u32, vuzp2q_u64): Replace temporary asm with __builtin_shuffle.
33671 2014-04-30 Joern Rennecke <joern.rennecke@embecosm.com>
33673 * config/arc/arc.opt (mlra): Move comment above option name
33674 to avoid mis-parsing as language options.
33676 2014-04-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
33678 * config/sol2-10.h (TARGET_LIBC_HAS_FUNCTION): Move ...
33679 * config/sol2.h: ... here.
33680 * config/sol2-10.h: Remove.
33682 * config/sol2-bi.h (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE)
33683 (WINT_TYPE_SIZE, MULTILIB_DEFAULTS, DEF_ARCH32_SPEC)
33684 (DEF_ARCH64_SPEC, ASM_CPU_DEFAULT_SPEC, LINK_ARCH64_SPEC_BASE)
33685 (LINK_ARCH64_SPEC, ARCH_DEFAULT_EMULATION, TARGET_LD_EMULATION)
33686 (LINK_ARCH_SPEC, SUBTARGET_EXTRA_SPECS): Move ...
33687 * config/sol2.h: ... here.
33688 (SECTION_NAME_FORMAT): Don't redefine.
33689 (STARTFILE_ARCH32_SPEC): Rename to ...
33690 (STARTFILE_ARCH_SPEC): ... this.
33691 (ASM_OUTPUT_ALIGNED_COMMON): Move ...
33692 * config/sparc/sol2.h: ... here.
33693 (SECTION_NAME_FORMAT): Don't undef.
33694 * config/i386/sol2.h (ASM_CPU_DEFAULT_SPEC)
33695 (SUBTARGET_EXTRA_SPECS): Remove.
33696 * config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Remove.
33698 * config/i386/sol2-bi.h (TARGET_SUBTARGET_DEFAULT)
33699 (MD_STARTFILE_PREFIX): Remove.
33700 (SUBTARGET_OPTIMIZATION_OPTIONS, ASM_CPU32_DEFAULT_SPEC)
33701 (ASM_CPU64_DEFAULT_SPEC, ASM_CPU_SPEC, ASM_SPEC, DEFAULT_ARCH32_P)
33702 (ARCH64_SUBDIR, ARCH32_EMULATION, ARCH64_EMULATION)
33703 (ASM_COMMENT_START, JUMP_TABLES_IN_TEXT_SECTION)
33704 (ASM_OUTPUT_DWARF_PCREL, ASM_OUTPUT_ALIGNED_COMMON)
33705 (USE_IX86_FRAME_POINTER, USE_X86_64_FRAME_POINTER): Move ...
33706 * config/i386/sol2.h: ... here.
33707 (TARGET_SUBTARGET_DEFAULT, SIZE_TYPE, PTRDIFF_TYPE): Remove.
33708 * config/i386/sol2-bi.h: Remove.
33709 * config/sol2.h (MD_STARTFILE_PREFIX): Remove.
33710 (LINK_ARCH32_SPEC_BASE): Remove /usr/ccs/lib/libp, /usr/ccs/lib.
33712 * config/i386/t-sol2-64: Rename to ...
33713 * config/i386/t-sol2: ... this.
33714 * config/sparc/t-sol2-64: Rename to ...
33715 * config/sparc/t-sol2: ... this.
33717 * config.gcc (*-*-solaris2*): Split sol2_tm_file into
33718 sol2_tm_file_head, sol2_tm_file_tail.
33719 Include ${cpu_type}/sol2.h before sol2.h.
33721 (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Include
33722 i386/x86-64.h between sol2_tm_file_head and sol2_tm_file_tail.
33723 Remove i386/sol2-bi.h, sol2-bi.h from tm_file.
33724 Reflect i386/t-sol2-64 renaming.
33725 (sparc*-*-solaris2*): Remove sol2-bi.h from tm_file.
33726 Reflect sparc/t-sol2-64 renaming.
33728 2014-04-30 Richard Biener <rguenther@suse.de>
33730 * passes.c (execute_function_todo): Move TODO_verify_stmts
33731 and TODO_verify_ssa under the TODO_verify_il umbrella.
33732 * tree-ssa.h (verify_ssa): Adjust prototype.
33733 * tree-ssa.c (verify_ssa): Add parameter to tell whether
33734 we should verify SSA operands.
33735 * tree-cfg.h (verify_gimple_in_cfg): Adjust prototype.
33736 * tree-cfg.c (verify_gimple_in_cfg): Add parameter to tell
33737 whether we should verify whether not throwing stmts have EH info.
33738 * graphite-scop-detection.c (create_sese_edges): Adjust.
33739 * tree-ssa-loop-manip.c (verify_loop_closed_ssa): Likewise.
33740 * tree-eh.c (lower_try_finally_switch): Do not add the
33741 default case label twice.
33743 2014-04-30 Marek Polacek <polacek@redhat.com>
33745 * gcc.c (sanitize_spec_function): Handle SANITIZE_FLOAT_DIVIDE.
33746 * builtins.def: Initialize builtins even for SANITIZE_FLOAT_DIVIDE.
33747 * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_DIVIDE.
33748 * opts.c (common_handle_option): Add -fsanitize=float-divide-by-zero.
33750 2014-04-29 Alan Lawrence <alan.lawrence@arm.com>
33752 * config/aarch64/arm_neon.h (vzip1_f32, vzip1_p8, vzip1_p16, vzip1_s8,
33753 vzip1_s16, vzip1_s32, vzip1_u8, vzip1_u16, vzip1_u32, vzip1q_f32,
33754 vzip1q_f64, vzip1q_p8, vzip1q_p16, vzip1q_s8, vzip1q_s16, vzip1q_s32,
33755 vzip1q_s64, vzip1q_u8, vzip1q_u16, vzip1q_u32, vzip1q_u64, vzip2_f32,
33756 vzip2_p8, vzip2_p16, vzip2_s8, vzip2_s16, vzip2_s32, vzip2_u8,
33757 vzip2_u16, vzip2_u32, vzip2q_f32, vzip2q_f64, vzip2q_p8, vzip2q_p16,
33758 vzip2q_s8, vzip2q_s16, vzip2q_s32, vzip2q_s64, vzip2q_u8, vzip2q_u16,
33759 vzip2q_u32, vzip2q_u64): Replace inline __asm__ with __builtin_shuffle.
33761 2014-04-29 David Malcolm <dmalcolm@redhat.com>
33763 * tree-cfg.c (dump_function_to_file): Dump the return type of
33764 functions, in a line to itself before the function body, mimicking
33765 the layout of a C function.
33767 2014-04-29 Jakub Jelinek <jakub@redhat.com>
33769 PR tree-optimization/60971
33770 * tree-tailcall.c (process_assignment): Reject conversions which
33773 2014-04-29 James Greenhalgh <james.greenhalgh@arm.com>
33775 * calls.c (initialize_argument_information): Always treat
33776 PUSH_ARGS_REVERSED as 1, simplify code accordingly.
33777 (expand_call): Likewise.
33778 (emit_library_call_calue_1): Likewise.
33779 * expr.c (PUSH_ARGS_REVERSED): Do not define.
33780 (emit_push_insn): Always treat PUSH_ARGS_REVERSED as 1, simplify
33783 2014-04-29 Nick Clifton <nickc@redhat.com>
33785 * config/msp430/msp430.md (umulsidi): Fix typo.
33786 (mulhisi3): Enable even inside interrupt handlers.
33787 * config/msp430/msp430.c (msp430_print_operand): %O: Allow for the
33788 bigger return address pushed in large mode.
33790 2014-04-29 Nick Clifton <nickc@redhat.com>
33792 * config/arc/arc.c (arc_select_cc_mode): Fix parentheses.
33793 (arc_init_reg_tables): Use a machine_mode enum to iterate over
33795 * config/m32r/m32r.c (init_reg_tables): Likewise.
33796 * config/m32c/m32c.c (m32c_illegal_subreg_p): Use a machine_mode
33797 enum to hold the modes.
33799 2014-04-29 Richard Biener <rguenther@suse.de>
33801 * dominance.c (free_dominance_info): Add overload with
33802 function parameter.
33803 (dom_info_state): Likewise.
33804 (dom_info_available_p): Likewise.
33805 * basic-block.h (free_dominance_info, dom_info_state,
33806 dom_info_available_p): Declare overloads.
33807 * passes.c (execute_function_todo): Verify that verifiers
33808 don't change dominator info state. Drop dominator info
33809 for IPA pass invocations.
33810 * cgraph.c (release_function_body): Restore asserts that
33811 dominator information is released.
33813 2014-04-29 Patrick Palka <patrick@parcs.ath.cx>
33815 * doc/invoke.texi: Fix typo.
33816 * tree-vrp.c: Fix typos.
33817 * gimple.c (infer_nonnull_range): Reorder operands of an && condition.
33819 2014-04-29 Zhenqiang Chen <zhenqiang.chen@linaro.org>
33821 * config/aarch64/aarch64.md (mov<mode>cc): New for GPF.
33823 2014-04-28 James Greenhalgh <james.greenhalgh@arm.com>
33825 * config/aarch64/aarch64-builtins.c
33826 (aarch64_types_storestruct_lane_qualifiers): New.
33827 (TYPES_STORESTRUCT_LANE): Likewise.
33828 * config/aarch64/aarch64-simd-builtins.def (st2_lane): New.
33829 (st3_lane): Likewise.
33830 (st4_lane): Likewise.
33831 * config/aarch64/aarch64-simd.md (vec_store_lanesoi_lane<mode>): New.
33832 (vec_store_lanesci_lane<mode>): Likewise.
33833 (vec_store_lanesxi_lane<mode>): Likewise.
33834 (aarch64_st2_lane<VQ:mode>): Likewise.
33835 (aarch64_st3_lane<VQ:mode>): Likewise.
33836 (aarch64_st4_lane<VQ:mode>): Likewise.
33837 * config/aarch64/aarch64.md (unspec): Add UNSPEC_ST{2,3,4}_LANE.
33838 * config/aarch64/arm_neon.h
33839 (__ST2_LANE_FUNC): Rewrite using builtins, update use points to
33840 use new macro arguments.
33841 (__ST3_LANE_FUNC): Likewise.
33842 (__ST4_LANE_FUNC): Likewise.
33843 * config/aarch64/iterators.md (V_TWO_ELEM): New.
33844 (V_THREE_ELEM): Likewise.
33845 (V_FOUR_ELEM): Likewise.
33847 2014-04-28 David Malcolm <dmalcolm@redhat.com>
33849 * doc/gimple.texi: Replace the description of the now-defunct
33850 union gimple_statement_d with a diagram showing the
33851 gimple_statement_base class hierarchy and its relationships to
33852 the GSS_ and GIMPLE_ enums.
33854 2014-04-28 James Greenhalgh <james.greenhalgh@arm.com>
33856 * config/aarch64/aarch64-protos.h (aarch64_modes_tieable_p): New.
33857 * config/aarch64/aarch64.c
33858 (aarch64_cannot_change_mode_class): Weaken conditions.
33859 (aarch64_modes_tieable_p): New.
33860 * config/aarch64/aarch64.h (MODES_TIEABLE_P): Use it.
33862 2014-04-28 Pat Haugen <pthaugen@us.ibm.com>
33864 * config/rs6000/sync.md (AINT mode_iterator): Move definition.
33865 (loadsync_<mode>): Change mode.
33866 (load_quadpti, store_quadpti): New.
33867 (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
33868 * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
33870 2014-04-28 Martin Jambor <mjambor@suse.cz>
33872 * tree-sra.c (sra_modify_expr): Generate new memory accesses with
33873 same alias type as the original statement.
33874 (subreplacement_assignment_data): New type.
33875 (handle_unscalarized_data_in_subtree): New type of parameter,
33876 generate new memory accesses with same alias type as the original
33878 (load_assign_lhs_subreplacements): Likewise.
33879 (sra_modify_constructor_assign): Generate new memory accesses with
33880 same alias type as the original statement.
33882 2014-04-28 Richard Biener <rguenther@suse.de>
33884 * tree-pass.h (TODO_verify_il): Define.
33885 (TODO_verify_all): Complete properly.
33886 * passes.c (execute_function_todo): Move existing loop-closed
33887 SSA verification under TODO_verify_il.
33888 (execute_one_pass): Trigger TODO_verify_il at todo-after time.
33889 * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps):
33890 Fix tree sharing issue.
33892 2014-04-28 Richard Biener <rguenther@suse.de>
33894 PR middle-end/60092
33895 * builtins.def (DEF_C11_BUILTIN): Add.
33896 (BUILT_IN_ALIGNED_ALLOC): Likewise.
33897 * coretypes.h (enum function_class): Add function_c11_misc.
33898 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
33899 BUILT_IN_ALIGNED_ALLOC like BUILT_IN_MALLOC.
33900 (call_may_clobber_ref_p_1): Likewise.
33901 * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise.
33902 (mark_all_reaching_defs_necessary_1): Likewise.
33903 (propagate_necessity): Likewise.
33904 (eliminate_unnecessary_stmts): Likewise.
33905 * tree-ssa-ccp.c (evaluate_stmt): Handle BUILT_IN_ALIGNED_ALLOC.
33907 2014-04-28 Richard Biener <rguenther@suse.de>
33909 * tree-vrp.c (vrp_var_may_overflow): Remove.
33910 (vrp_visit_phi_node): Rather than bumping to +-INF possibly
33911 with overflow immediately bump to one before that value and
33912 let iteration figure out overflow status.
33914 2014-04-28 Richard Biener <rguenther@suse.de>
33916 * configure.ac: Do valgrind header checks unconditionally.
33917 Add --enable-valgrind-annotations.
33918 * system.h: Guard valgrind header inclusion with
33919 ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING.
33920 * alloc-pool.c (pool_alloc, pool_free): Use
33921 ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING
33922 to guard possibly dead code.
33923 * config.in: Regenerated.
33924 * configure: Likewise.
33926 2014-04-28 Jeff Law <law@redhat.com>
33928 PR tree-optimization/60902
33929 * tree-ssa-threadedge.c
33930 (record_temporary_equivalences_from_stmts_at_dest): Only iterate
33931 over real defs when invalidating outputs from statements that do not
33932 produce useful outputs for threading.
33934 2014-04-28 Richard Biener <rguenther@suse.de>
33936 PR tree-optimization/60979
33937 * graphite-scop-detection.c (scopdet_basic_block_info): Reject
33938 SCOPs that end in a block with a successor with abnormal
33941 2014-04-28 Richard Biener <rguenther@suse.de>
33943 * tree-pass.h (execute_pass_list): Adjust prototype.
33944 * passes.c (pass_manager::execute_early_local_passes): Adjust.
33945 (do_per_function): Change callback signature, push all actual
33946 work to the callbals.
33947 (do_per_function_toporder): Likewise.
33948 (execute_function_dump): Adjust.
33949 (execute_function_todo): Likewise.
33950 (clear_last_verified): Likewise.
33951 (verify_curr_properties): Likewise.
33952 (update_properties_after_pass): Likewise.
33953 (execute_pass_list_1): Split out from ...
33954 (execute_pass_list): ... here. Adjust.
33955 (execute_ipa_pass_list): Likewise.
33956 * cgraphunit.c (cgraph_add_new_function): Adjust.
33957 (analyze_function): Likewise.
33958 (expand_function): Likewise.
33959 * cgraph.c (release_function_body): Free dominance info
33960 here instead of asserting it was magically freed elsewhere.
33962 2014-04-28 Eric Botcazou <ebotcazou@adacore.com>
33964 * configure.ac: Tweak GAS check for LEON instructions on SPARC.
33965 * configure: Regenerate.
33966 * config/sparc/sparc.opt (muser-mode): New option.
33967 * config/sparc/sync.md (atomic_compare_and_swap<mode>_1): Do not enable
33969 (atomic_compare_and_swap_leon3_1): New instruction for LEON3.
33970 * doc/invoke.texi (SPARC options): Document -muser-mode.
33972 2014-04-27 Richard Sandiford <rdsandiford@googlemail.com>
33974 * cselib.c (find_slot_memmode): Delete.
33975 (cselib_hasher): Change compare_type to a struct.
33976 (cselib_hasher::equal): Update accordingly. Don't expect wrapped
33978 (preserve_constants_and_equivs): Adjust for new compare_type.
33979 (cselib_find_slot): Likewise. Take the mode of the rtx as argument.
33980 (wrap_constant): Delete.
33981 (cselib_lookup_mem, cselib_lookup_1): Update calls to cselib_find_slot.
33983 2014-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33985 * doc/install.texi (Building with profile feedback): Remove
33988 2014-04-26 Tom de Vries <tom@codesourcery.com>
33990 * config/i386/i386.md (define_expand "ldexpxf3"): Fix out-of-bounds
33993 2014-04-25 Cary Coutant <ccoutant@google.com>
33996 * dwarf2out.c (should_move_die_to_comdat): A type definition
33997 can contain a subprogram definition, but don't move it to a
33999 (clone_as_declaration): Copy DW_AT_abstract_origin attribute.
34000 (generate_skeleton_bottom_up): Remove DW_AT_object_pointer attribute
34002 (clone_tree_hash): Rename to...
34003 (clone_tree_partial): ...this; change callers. Copy
34004 DW_TAG_subprogram DIEs as declarations.
34005 (copy_decls_walk): Don't copy children of a declaration into a
34008 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
34011 * config/i386/i386.md (*movsf_internal): Set MODE to SI for
34014 2014-04-25 Jiong Wang <jiong.wang@arm.com>
34016 * config/arm/predicates.md (call_insn_operand): Add long_call check.
34017 * config/arm/arm.md (sibcall, sibcall_value): Force the address to
34019 * config/arm/arm.c (arm_function_ok_for_sibcall): Remove long_call
34022 2014-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34024 * config/arm/arm.c (arm_cortex_a8_tune): Initialise T16-related fields.
34026 2014-04-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
34028 PR tree-optimization/60930
34029 * gimple-ssa-strength-reduction.c (create_mul_imm_cand): Reject
34030 creating a multiply candidate by folding two constant
34031 multiplicands when the result overflows.
34033 2014-04-25 Jakub Jelinek <jakub@redhat.com>
34035 PR tree-optimization/60960
34036 * tree-vect-generic.c (expand_vector_operation): Only call
34037 expand_vector_divmod if type's mode satisfies VECTOR_MODE_P.
34039 2014-04-25 Tom de Vries <tom@codesourcery.com>
34041 * expr.c (clobber_reg_mode): New function.
34042 * expr.h (clobber_reg): New function.
34044 2014-04-25 Tom de Vries <tom@codesourcery.com>
34046 * rtlanal.c (find_all_hard_reg_sets): Note INSN_CALL_FUNCTION_USAGE
34049 2014-04-25 Radovan Obradovic <robradovic@mips.com>
34050 Tom de Vries <tom@codesourcery.com>
34052 * rtlanal.c (find_all_hard_reg_sets): Add bool implicit parameter and
34054 * rtl.h (find_all_hard_reg_sets): Add bool parameter.
34055 * haifa-sched.c (recompute_todo_spec, check_clobbered_conditions): Add
34056 new argument to find_all_hard_reg_sets call.
34058 2014-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34060 * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p):
34061 Use HOST_WIDE_INT_C for mask literal.
34062 (aarch_rev16_shleft_mask_imm_p): Likewise.
34064 2014-04-25 Eric Botcazou <ebotcazou@adacore.com>
34067 * config/sparc/sparc.md (ashlsi3_extend): Delete.
34069 2014-04-25 Marc Glisse <marc.glisse@inria.fr>
34071 PR preprocessor/56540
34072 * config/i386/i386-c.c (ix86_target_macros): Define
34073 __SIZEOF_FLOAT80__ and __SIZEOF_FLOAT128__.
34075 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
34077 * configure.ac (tga_func): Remove.
34078 (LIB_TLS_SPEC): Remove.
34079 * configure: Regenerate.
34080 * config.in: Regenerate.
34081 * config/sol2.h (LIB_SPEC): Don't use LIB_TLS_SPEC.
34083 2014-04-25 Richard Biener <rguenther@suse.de>
34086 * tree-ssa-structalias.c (ipa_pta_execute): Compute direct
34087 call stmt use/clobber sets during stmt walk instead of
34088 walking the possibly incomplete set of caller edges.
34090 2014-04-25 Richard Biener <rguenther@suse.de>
34093 * passes.c (apply_ipa_transforms): Inline into only caller ...
34094 (execute_one_pass): ... here. Properly bring in function
34095 bodies for nodes we want to apply IPA transforms to.
34097 2014-04-24 Cong Hou <congh@google.com>
34099 PR tree-optimization/60896
34100 * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Pick up
34101 all statements in PATTERN_DEF_SEQ in recognized widen-mult pattern.
34102 (vect_mark_pattern_stmts): Set the def type of all statements in
34103 PATTERN_DEF_SEQ as vect_internal_def.
34105 2014-04-24 Michael Meissner <meissner@linux.vnet.ibm.com>
34107 * doc/extend.texi (PowerPC Built-in Functions): Document new
34108 powerpc extended divide, bcd, pack/unpack 128-bit, builtin functions.
34109 (PowerPC AltiVec/VSX Built-in Functions): Likewise.
34111 * config/rs6000/predicates.md (const_0_to_3_operand): New
34112 predicate to match 0..3 integer constants.
34114 * config/rs6000/rs6000-builtin.def (BU_DFP_MISC_1): Add new macros
34115 to support adding miscellaneous builtin functions.
34116 (BU_DFP_MISC_2): Likewise.
34117 (BU_P7_MISC_1): Likewise.
34118 (BU_P7_MISC_2): Likewise.
34119 (BU_P8V_MISC_3): Likewise.
34120 (BU_MISC_1): Likewise.
34121 (BU_MISC_2): Likewise.
34122 (DIVWE): Add extended divide builtin functions.
34123 (DIVWEO): Likewise.
34124 (DIVWEU): Likewise.
34125 (DIVWEUO): Likewise.
34127 (DIVDEO): Likewise.
34128 (DIVDEU): Likewise.
34129 (DIVDEUO): Likewise.
34130 (DXEX): Add decimal floating-point builtin functions.
34132 (DDEDPD): Likewise.
34133 (DDEDPDQ): Likewise.
34134 (DENBCD): Likewise.
34135 (DENBCDQ): Likewise.
34139 (DSCLIQ): Likewise.
34141 (DSCRIQ): Likewise.
34142 (CDTBCD): Add new BCD builtin functions.
34143 (CBCDTD): Likewise.
34144 (ADDG6S): Likewise.
34145 (BCDADD): Likewise.
34146 (BCDADD_LT): Likewise.
34147 (BCDADD_EQ): Likewise.
34148 (BCDADD_GT): Likewise.
34149 (BCDADD_OV): Likewise.
34150 (BCDSUB): Likewise.
34151 (BCDSUB_LT): Likewise.
34152 (BCDSUB_EQ): Likewise.
34153 (BCDSUB_GT): Likewise.
34154 (BCDSUB_OV): Likewise.
34155 (PACK_TD): Add new pack/unpack 128-bit type builtin functions.
34156 (UNPACK_TD): Likewise.
34157 (PACK_TF): Likewise.
34158 (UNPACK_TF): Likewise.
34159 (UNPACK_TF_0): Likewise.
34160 (UNPACK_TF_1): Likewise.
34161 (PACK_V1TI): Likewise.
34162 (UNPACK_V1TI): Likewise.
34164 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
34165 support for decimal floating point builtin functions.
34166 (rs6000_expand_ternop_builtin): Add checks for the new builtin
34167 functions that take constant arguments.
34168 (rs6000_invalid_builtin): Add decimal floating point builtin support.
34169 (rs6000_init_builtins): Setup long double, _Decimal64, and
34170 _Decimal128 types for new builtin functions.
34171 (builtin_function_type): Set the unsigned flags appropriately for
34172 the new builtin functions.
34173 (rs6000_opt_masks): Add support for decimal floating point builtin
34176 * config/rs6000/rs6000.h (RS6000_BTM_DFP): Add support for decimal
34177 floating point builtin functions.
34178 (RS6000_BTM_COMMON): Likewise.
34179 (RS6000_BTI_long_double): Likewise.
34180 (RS6000_BTI_dfloat64): Likewise.
34181 (RS6000_BTI_dfloat128): Likewise.
34182 (long_double_type_internal_node): Likewise.
34183 (dfloat64_type_internal_node): Likewise.
34184 (dfloat128_type_internal_node): Likewise.
34186 * config/rs6000/altivec.h (UNSPEC_BCDADD): Add support for ISA
34187 2.07 bcd arithmetic instructions.
34188 (UNSPEC_BCDSUB): Likewise.
34189 (UNSPEC_BCD_OVERFLOW): Likewise.
34190 (UNSPEC_BCD_ADD_SUB): Likewise.
34191 (bcd_add_sub): Likewise.
34192 (BCD_TEST): Likewise.
34193 (bcd<bcd_add_sub>): Likewise.
34194 (bcd<bcd_add_sub>_test): Likewise.
34195 (bcd<bcd_add_sub>_test2): Likewise.
34196 (bcd<bcd_add_sub>_<code>): Likewise.
34197 (peephole2 for combined bcd ops): Likewise.
34199 * config/rs6000/dfp.md (UNSPEC_DDEDPD): Add support for new
34200 decimal floating point builtin functions.
34201 (UNSPEC_DENBCD): Likewise.
34202 (UNSPEC_DXEX): Likewise.
34203 (UNSPEC_DIEX): Likewise.
34204 (UNSPEC_DSCLI): Likewise.
34205 (UNSPEC_DSCRI): Likewise.
34206 (D64_D128): Likewise.
34207 (dfp_suffix): Likewise.
34208 (dfp_ddedpd_<mode>): Likewise.
34209 (dfp_denbcd_<mode>): Likewise.
34210 (dfp_dxex_<mode>): Likewise.
34211 (dfp_diex_<mode>): Likewise.
34212 (dfp_dscli_<mode>): Likewise.
34213 (dfp_dscri_<mode>): Likewise.
34215 * config/rs6000/rs6000.md (UNSPEC_ADDG6S): Add support for new BCD
34217 (UNSPEC_CDTBCD): Likewise.
34218 (UNSPEC_CBCDTD): Likewise.
34219 (UNSPEC_DIVE): Add support for new extended divide builtin functions.
34220 (UNSPEC_DIVEO): Likewise.
34221 (UNSPEC_DIVEU): Likewise.
34222 (UNSPEC_DIVEUO): Likewise.
34223 (UNSPEC_UNPACK_128BIT): Add support for new builtin functions to
34224 pack/unpack 128-bit types.
34225 (UNSPEC_PACK_128BIT): Likewise.
34226 (idiv_ldiv): New mode attribute to set the 32/64-bit divide type.
34227 (udiv<mode>3): Use idiv_ldiv mode attribute.
34228 (div<mode>3): Likewise.
34229 (addg6s): Add new BCD builtin functions.
34230 (cdtbcd): Likewise.
34231 (cbcdtd): Likewise.
34232 (UNSPEC_DIV_EXTEND): Add support for new extended divide instructions.
34233 (div_extend): Likewise.
34234 (div<div_extend>_<mode>"): Likewise.
34235 (FP128_64): Add support for new builtin functions to pack/unpack
34237 (unpack<mode>): Likewise.
34238 (unpacktf_0): Likewise.
34239 (unpacktf_1): Likewise.
34240 (unpack<mode>_dm): Likewise.
34241 (unpack<mode>_nodm): Likewise.
34242 (pack<mode>): Likewise.
34243 (unpackv1ti): Likewise.
34244 (packv1ti): Likewise.
34246 2014-04-24 Vishnu K S <Vishnu.k_s@atmel.com>
34248 * gcc/config/avr/avr.c: Add comment on why -fdelete-null-pointer-checks
34251 2014-04-24 Jakub Jelinek <jakub@redhat.com>
34253 * tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define.
34254 * gimplify.c (omp_is_private): Change last argument's type to int.
34255 Only diagnose lastprivate if the simd argument is 1, only diagnose
34256 linear if the simd argument is 2.
34257 (gimplify_omp_for): Adjust omp_is_private callers. When adding
34258 lastprivate or private, add the clause to OMP_FOR_CLAUSES. Pass
34259 GOVD_EXPLICIT to omp_add_variable. For simd with collapse == 1
34260 create OMP_CLAUSE_LINEAR rather than OMP_CLAUSE_PRIVATE for var.
34261 If var != decl and decl is in OMP_CLAUSE_LINEAR, gimplify decl
34262 increment to OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
34263 * omp-low.c (scan_sharing_clauses, lower_lastprivate_clauses): Handle
34264 OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
34265 * tree-nested.c (convert_nonlocal_omp_clauses,
34266 convert_local_omp_clauses): Handle OMP_CLAUSE_LINEAR.
34268 2014-04-24 Segher Boessenkool <segher@kernel.crashing.org>
34271 * config/m68k/m68k.md (extendplussidi): Don't allow memory for
34274 2014-04-24 Dimitris Papavasiliou <dpapavas@gmail.com>
34276 * flag-types.h (enum ivar_visibility): Add.
34278 2014-04-24 Trevor Saunders <tsaunders@mozilla.com>
34280 * config/sh/sh_treg_combine.c (sh_treg_combine::execute): Take
34281 function * argument.
34283 2014-04-24 Alan Lawrence <alan.lawrence@arm.com>
34285 * config/aarch64/aarch64.c (aarch64_evpc_tbl): Enable for bigendian.
34287 2014-04-24 Radovan Obradovic <robradovic@mips.com>
34288 Tom de Vries <tom@codesourcery.com>
34290 * reg-notes.def (REG_NOTE (CALL_DECL)): New reg-note REG_CALL_DECL.
34291 * calls.c (expand_call, emit_library_call_value_1): Add REG_CALL_DECL
34293 * combine.c (distribute_notes): Handle REG_CALL_DECL reg-note.
34294 * emit-rtl.c (try_split): Same.
34296 2014-04-24 Radovan Obradovic <robradovic@mips.com>
34297 Tom de Vries <tom@codesourcery.com>
34299 * common.opt (fuse-caller-save): New option.
34301 2014-04-24 Tejas Belagod <tejas.belagod@arm.com>
34303 * config/aarch64/aarch64.c (aarch64_evpc_tbl): Reverse order of
34304 elements for big-endian.
34306 2014-04-24 Richard Biener <rguenther@suse.de>
34308 * expr.c (expand_expr_real_1): Avoid gimple_assign_rhs_to_tree
34309 during TER and instead use the sepops interface for expanding
34310 non-GIMPLE_SINGLE_RHS.
34312 2014-04-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
34314 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Only redefine
34315 if not HAVE_AS_IX86_DIFF_SECT_DELTA.
34317 2014-04-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
34319 * configure.ac (gcc_cv_as_cfi_directive): Support Solaris/x86
34320 assembler 64-bit option.
34321 * configure: Regenerate.
34323 2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34325 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Check
34326 TARGET_SIMD rather than TARGET_GENERAL_REGS_ONLY.
34327 (TARGET_SIMD): Take AARCH64_ISA_SIMD into account.
34328 (TARGET_FLOAT): Take AARCH64_ISA_FP into account.
34329 (TARGET_CRYPTO): Take TARGET_SIMD into account.
34331 2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34333 * config/aarch64/aarch64-builtins.c
34334 (aarch64_builtin_vectorized_function): Handle BUILT_IN_BSWAP16,
34335 BUILT_IN_BSWAP32, BUILT_IN_BSWAP64.
34336 * config/aarch64/aarch64-simd.md (bswap<mode>): New pattern.
34337 * config/aarch64/aarch64-simd-builtins.def: Define vector bswap
34339 * config/aarch64/iterator.md (VDQHSD): New mode iterator.
34340 (Vrevsuff): New mode attribute.
34342 2014-04-24 Terry Guo <terry.guo@arm.com>
34344 * config/arm/arm.h (machine_function): Define variable
34345 after_arm_reorg here.
34346 * config/arm/arm.c (after_arm_reorg): Remove the definition.
34347 (arm_split_constant): Update the way to access variable
34349 (arm_reorg): Ditto.
34350 (arm_output_function_epilogue): Remove the reset of after_arm_reorg.
34352 2014-04-23 Tom de Vries <tom@codesourcery.com>
34354 * target-hooks-macros.h: Fix DEFHOOKPOD argument order in comment.
34356 2014-04-23 David Malcolm <dmalcolm@redhat.com>
34358 * is-a.h: Update comments to reflect the following changes to the
34359 "pointerness" of the API, making the template parameter match the
34360 return type, allowing use of is-a.h with typedefs of pointers.
34361 (is_a_helper::cast): Return a T rather then a pointer to a T, so
34362 that the return type matches the parameter to the is_a_helper.
34364 (dyn_cast): Likewise.
34366 * cgraph.c (cgraph_node_for_asm): Update for removal of implicit
34367 pointer from the is-a.h API.
34369 * cgraph.h (is_a_helper <cgraph_node>::test): Convert to...
34370 (is_a_helper <cgraph_node *>::test): ...this, matching change to
34372 (is_a_helper <varpool_node>::test): Likewise, convert to...
34373 (is_a_helper <varpool_node *>::test): ...this.
34375 (varpool_first_variable): Update for removal of implicit pointer
34376 from the is-a.h API.
34377 (varpool_next_variable): Likewise.
34378 (varpool_first_static_initializer): Likewise.
34379 (varpool_next_static_initializer): Likewise.
34380 (varpool_first_defined_variable): Likewise.
34381 (varpool_next_defined_variable): Likewise.
34382 (cgraph_first_defined_function): Likewise.
34383 (cgraph_next_defined_function): Likewise.
34384 (cgraph_first_function): Likewise.
34385 (cgraph_next_function): Likewise.
34386 (cgraph_first_function_with_gimple_body): Likewise.
34387 (cgraph_next_function_with_gimple_body): Likewise.
34388 (cgraph_alias_target): Likewise.
34389 (varpool_alias_target): Likewise.
34390 (cgraph_function_or_thunk_node): Likewise.
34391 (varpool_variable_node): Likewise.
34392 (symtab_real_symbol_p): Likewise.
34393 * cgraphunit.c (referred_to_p): Likewise.
34394 (analyze_functions): Likewise.
34395 (handle_alias_pairs): Likewise.
34396 * gimple-fold.c (can_refer_decl_in_current_unit_p): Likewise.
34397 * gimple-ssa.h (gimple_vuse_op): Likewise.
34398 (gimple_vdef_op): Likewise.
34399 * gimple-streamer-in.c (input_gimple_stmt): Likewise.
34400 * gimple.c (gimple_build_asm_1): Likewise.
34401 (gimple_build_try): Likewise.
34402 (gimple_build_resx): Likewise.
34403 (gimple_build_eh_dispatch): Likewise.
34404 (gimple_build_omp_for): Likewise.
34405 (gimple_omp_for_set_clauses): Likewise.
34407 * gimple.h (is_a_helper <gimple_statement_asm>::test): Convert to...
34408 (is_a_helper <gimple_statement_asm *>::test): ...this.
34409 (is_a_helper <gimple_statement_bind>::test): Convert to...
34410 (is_a_helper <gimple_statement_bind *>::test): ...this.
34411 (is_a_helper <gimple_statement_call>::test): Convert to...
34412 (is_a_helper <gimple_statement_call *>::test): ...this.
34413 (is_a_helper <gimple_statement_catch>::test): Convert to...
34414 (is_a_helper <gimple_statement_catch *>::test): ...this.
34415 (is_a_helper <gimple_statement_resx>::test): Convert to...
34416 (is_a_helper <gimple_statement_resx *>::test): ...this.
34417 (is_a_helper <gimple_statement_eh_dispatch>::test): Convert to...
34418 (is_a_helper <gimple_statement_eh_dispatch *>::test): ...this.
34419 (is_a_helper <gimple_statement_eh_else>::test): Convert to...
34420 (is_a_helper <gimple_statement_eh_else *>::test): ...this.
34421 (is_a_helper <gimple_statement_eh_filter>::test): Convert to...
34422 (is_a_helper <gimple_statement_eh_filter *>::test): ...this.
34423 (is_a_helper <gimple_statement_eh_mnt>::test): Convert to...
34424 (is_a_helper <gimple_statement_eh_mnt *>::test): ...this.
34425 (is_a_helper <gimple_statement_omp_atomic_load>::test): Convert to...
34426 (is_a_helper <gimple_statement_omp_atomic_load *>::test): ...this.
34427 (is_a_helper <gimple_statement_omp_atomic_store>::test): Convert to...
34428 (is_a_helper <gimple_statement_omp_atomic_store *>::test): ...this.
34429 (is_a_helper <gimple_statement_omp_return>::test): Convert to...
34430 (is_a_helper <gimple_statement_omp_return *>::test): ...this.
34431 (is_a_helper <gimple_statement_omp_continue>::test): Convert to...
34432 (is_a_helper <gimple_statement_omp_continue *>::test): ...this.
34433 (is_a_helper <gimple_statement_omp_critical>::test): Convert to...
34434 (is_a_helper <gimple_statement_omp_critical *>::test): ...this.
34435 (is_a_helper <gimple_statement_omp_for>::test): Convert to...
34436 (is_a_helper <gimple_statement_omp_for *>::test): ...this.
34437 (is_a_helper <gimple_statement_omp_taskreg>::test): Convert to...
34438 (is_a_helper <gimple_statement_omp_taskreg *>::test): ...this.
34439 (is_a_helper <gimple_statement_omp_parallel>::test): Convert to...
34440 (is_a_helper <gimple_statement_omp_parallel *>::test): ...this.
34441 (is_a_helper <gimple_statement_omp_target>::test): Convert to...
34442 (is_a_helper <gimple_statement_omp_target *>::test): ...this.
34443 (is_a_helper <gimple_statement_omp_sections>::test): Convert to...
34444 (is_a_helper <gimple_statement_omp_sections *>::test): ...this.
34445 (is_a_helper <gimple_statement_omp_single>::test): Convert to...
34446 (is_a_helper <gimple_statement_omp_single *>::test): ...this.
34447 (is_a_helper <gimple_statement_omp_teams>::test): Convert to...
34448 (is_a_helper <gimple_statement_omp_teams *>::test): ...this.
34449 (is_a_helper <gimple_statement_omp_task>::test): Convert to...
34450 (is_a_helper <gimple_statement_omp_task *>::test): ...this.
34451 (is_a_helper <gimple_statement_phi>::test): Convert to...
34452 (is_a_helper <gimple_statement_phi *>::test): ...this.
34453 (is_a_helper <gimple_statement_transaction>::test): Convert to...
34454 (is_a_helper <gimple_statement_transaction *>::test): ...this.
34455 (is_a_helper <gimple_statement_try>::test): Convert to...
34456 (is_a_helper <gimple_statement_try *>::test): ...this.
34457 (is_a_helper <gimple_statement_wce>::test): Convert to...
34458 (is_a_helper <gimple_statement_wce *>::test): ...this.
34459 (is_a_helper <const gimple_statement_asm>::test): Convert to...
34460 (is_a_helper <const gimple_statement_asm *>::test): ...this.
34461 (is_a_helper <const gimple_statement_bind>::test): Convert to...
34462 (is_a_helper <const gimple_statement_bind *>::test): ...this.
34463 (is_a_helper <const gimple_statement_call>::test): Convert to...
34464 (is_a_helper <const gimple_statement_call *>::test): ...this.
34465 (is_a_helper <const gimple_statement_catch>::test): Convert to...
34466 (is_a_helper <const gimple_statement_catch *>::test): ...this.
34467 (is_a_helper <const gimple_statement_resx>::test): Convert to...
34468 (is_a_helper <const gimple_statement_resx *>::test): ...this.
34469 (is_a_helper <const gimple_statement_eh_dispatch>::test): Convert to...
34470 (is_a_helper <const gimple_statement_eh_dispatch *>::test): ...this.
34471 (is_a_helper <const gimple_statement_eh_filter>::test): Convert to...
34472 (is_a_helper <const gimple_statement_eh_filter *>::test): ...this.
34473 (is_a_helper <const gimple_statement_omp_atomic_load>::test):
34475 (is_a_helper <const gimple_statement_omp_atomic_load *>::test):
34477 (is_a_helper <const gimple_statement_omp_atomic_store>::test):
34479 (is_a_helper <const gimple_statement_omp_atomic_store *>::test):
34481 (is_a_helper <const gimple_statement_omp_return>::test): Convert to...
34482 (is_a_helper <const gimple_statement_omp_return *>::test): ...this.
34483 (is_a_helper <const gimple_statement_omp_continue>::test): Convert
34485 (is_a_helper <const gimple_statement_omp_continue *>::test): ...this.
34486 (is_a_helper <const gimple_statement_omp_critical>::test): Convert
34488 (is_a_helper <const gimple_statement_omp_critical *>::test): ...this.
34489 (is_a_helper <const gimple_statement_omp_for>::test): Convert to...
34490 (is_a_helper <const gimple_statement_omp_for *>::test): ...this.
34491 (is_a_helper <const gimple_statement_omp_taskreg>::test): Convert to...
34492 (is_a_helper <const gimple_statement_omp_taskreg *>::test): ...this.
34493 (is_a_helper <const gimple_statement_omp_parallel>::test): Convert
34495 (is_a_helper <const gimple_statement_omp_parallel *>::test): ...this.
34496 (is_a_helper <const gimple_statement_omp_target>::test): Convert to...
34497 (is_a_helper <const gimple_statement_omp_target *>::test): ...this.
34498 (is_a_helper <const gimple_statement_omp_sections>::test): Convert
34500 (is_a_helper <const gimple_statement_omp_sections *>::test): ...this.
34501 (is_a_helper <const gimple_statement_omp_single>::test): Convert to...
34502 (is_a_helper <const gimple_statement_omp_single *>::test): ...this.
34503 (is_a_helper <const gimple_statement_omp_teams>::test): Convert to...
34504 (is_a_helper <const gimple_statement_omp_teams *>::test): ...this.
34505 (is_a_helper <const gimple_statement_omp_task>::test): Convert to...
34506 (is_a_helper <const gimple_statement_omp_task *>::test): ...this.
34507 (is_a_helper <const gimple_statement_phi>::test): Convert to...
34508 (is_a_helper <const gimple_statement_phi *>::test): ...this.
34509 (is_a_helper <const gimple_statement_transaction>::test): Convert to...
34510 (is_a_helper <const gimple_statement_transaction *>::test): ...this.
34511 (is_a_helper <const gimple_statement_with_ops>::test): Convert to...
34512 (is_a_helper <const gimple_statement_with_ops *>::test): ...this.
34513 (is_a_helper <gimple_statement_with_ops>::test): Convert to...
34514 (is_a_helper <gimple_statement_with_ops *>::test): ...this.
34515 (is_a_helper <const gimple_statement_with_memory_ops>::test): Convert
34517 (is_a_helper <const gimple_statement_with_memory_ops *>::test):
34519 (is_a_helper <gimple_statement_with_memory_ops>::test): Convert to...
34520 (is_a_helper <gimple_statement_with_memory_ops *>::test): ...this.
34522 (gimple_use_ops): Update for removal of implicit pointer from the
34524 (gimple_set_use_ops): Likewise.
34525 (gimple_vuse): Likewise.
34526 (gimple_vdef): Likewise.
34527 (gimple_vuse_ptr): Likewise.
34528 (gimple_vdef_ptr): Likewise.
34529 (gimple_set_vuse): Likewise.
34530 (gimple_set_vdef): Likewise.
34531 (gimple_omp_return_set_lhs): Likewise.
34532 (gimple_omp_return_lhs): Likewise.
34533 (gimple_omp_return_lhs_ptr): Likewise.
34534 (gimple_call_fntype): Likewise.
34535 (gimple_call_set_fntype): Likewise.
34536 (gimple_call_set_internal_fn): Likewise.
34537 (gimple_call_use_set): Likewise.
34538 (gimple_call_clobber_set): Likewise.
34539 (gimple_bind_vars): Likewise.
34540 (gimple_bind_set_vars): Likewise.
34541 (gimple_bind_body_ptr): Likewise.
34542 (gimple_bind_set_body): Likewise.
34543 (gimple_bind_add_stmt): Likewise.
34544 (gimple_bind_block): Likewise.
34545 (gimple_bind_set_block): Likewise.
34546 (gimple_asm_ninputs): Likewise.
34547 (gimple_asm_noutputs): Likewise.
34548 (gimple_asm_nclobbers): Likewise.
34549 (gimple_asm_nlabels): Likewise.
34550 (gimple_asm_input_op): Likewise.
34551 (gimple_asm_input_op_ptr): Likewise.
34552 (gimple_asm_output_op): Likewise.
34553 (gimple_asm_output_op_ptr): Likewise.
34554 (gimple_asm_set_output_op): Likewise.
34555 (gimple_asm_clobber_op): Likewise.
34556 (gimple_asm_set_clobber_op): Likewise.
34557 (gimple_asm_label_op): Likewise.
34558 (gimple_asm_set_label_op): Likewise.
34559 (gimple_asm_string): Likewise.
34560 (gimple_catch_types): Likewise.
34561 (gimple_catch_types_ptr): Likewise.
34562 (gimple_catch_handler_ptr): Likewise.
34563 (gimple_catch_set_types): Likewise.
34564 (gimple_catch_set_handler): Likewise.
34565 (gimple_eh_filter_types): Likewise.
34566 (gimple_eh_filter_types_ptr): Likewise.
34567 (gimple_eh_filter_failure_ptr): Likewise.
34568 (gimple_eh_filter_set_types): Likewise.
34569 (gimple_eh_filter_set_failure): Likewise.
34570 (gimple_eh_must_not_throw_fndecl): Likewise.
34571 (gimple_eh_must_not_throw_set_fndecl): Likewise.
34572 (gimple_eh_else_n_body_ptr): Likewise.
34573 (gimple_eh_else_e_body_ptr): Likewise.
34574 (gimple_eh_else_set_n_body): Likewise.
34575 (gimple_eh_else_set_e_body): Likewise.
34576 (gimple_try_eval_ptr): Likewise.
34577 (gimple_try_cleanup_ptr): Likewise.
34578 (gimple_try_set_eval): Likewise.
34579 (gimple_try_set_cleanup): Likewise.
34580 (gimple_wce_cleanup_ptr): Likewise.
34581 (gimple_wce_set_cleanup): Likewise.
34582 (gimple_phi_capacity): Likewise.
34583 (gimple_phi_num_args): Likewise.
34584 (gimple_phi_result): Likewise.
34585 (gimple_phi_result_ptr): Likewise.
34586 (gimple_phi_set_result): Likewise.
34587 (gimple_phi_arg): Likewise.
34588 (gimple_phi_set_arg): Likewise.
34589 (gimple_resx_region): Likewise.
34590 (gimple_resx_set_region): Likewise.
34591 (gimple_eh_dispatch_region): Likewise.
34592 (gimple_eh_dispatch_set_region): Likewise.
34593 (gimple_omp_critical_name): Likewise.
34594 (gimple_omp_critical_name_ptr): Likewise.
34595 (gimple_omp_critical_set_name): Likewise.
34596 (gimple_omp_for_clauses): Likewise.
34597 (gimple_omp_for_clauses_ptr): Likewise.
34598 (gimple_omp_for_set_clauses): Likewise.
34599 (gimple_omp_for_collapse): Likewise.
34600 (gimple_omp_for_index): Likewise.
34601 (gimple_omp_for_index_ptr): Likewise.
34602 (gimple_omp_for_set_index): Likewise.
34603 (gimple_omp_for_initial): Likewise.
34604 (gimple_omp_for_initial_ptr): Likewise.
34605 (gimple_omp_for_set_initial): Likewise.
34606 (gimple_omp_for_final): Likewise.
34607 (gimple_omp_for_final_ptr): Likewise.
34608 (gimple_omp_for_set_final): Likewise.
34609 (gimple_omp_for_incr): Likewise.
34610 (gimple_omp_for_incr_ptr): Likewise.
34611 (gimple_omp_for_set_incr): Likewise.
34612 (gimple_omp_for_pre_body_ptr): Likewise.
34613 (gimple_omp_for_set_pre_body): Likewise.
34614 (gimple_omp_parallel_clauses): Likewise.
34615 (gimple_omp_parallel_clauses_ptr): Likewise.
34616 (gimple_omp_parallel_set_clauses): Likewise.
34617 (gimple_omp_parallel_child_fn): Likewise.
34618 (gimple_omp_parallel_child_fn_ptr): Likewise.
34619 (gimple_omp_parallel_set_child_fn): Likewise.
34620 (gimple_omp_parallel_data_arg): Likewise.
34621 (gimple_omp_parallel_data_arg_ptr): Likewise.
34622 (gimple_omp_parallel_set_data_arg): Likewise.
34623 (gimple_omp_task_clauses): Likewise.
34624 (gimple_omp_task_clauses_ptr): Likewise.
34625 (gimple_omp_task_set_clauses): Likewise.
34626 (gimple_omp_task_child_fn): Likewise.
34627 (gimple_omp_task_child_fn_ptr): Likewise.
34628 (gimple_omp_task_set_child_fn): Likewise.
34629 (gimple_omp_task_data_arg): Likewise.
34630 (gimple_omp_task_data_arg_ptr): Likewise.
34631 (gimple_omp_task_set_data_arg): Likewise.
34632 (gimple_omp_taskreg_clauses): Likewise.
34633 (gimple_omp_taskreg_clauses_ptr): Likewise.
34634 (gimple_omp_taskreg_set_clauses): Likewise.
34635 (gimple_omp_taskreg_child_fn): Likewise.
34636 (gimple_omp_taskreg_child_fn_ptr): Likewise.
34637 (gimple_omp_taskreg_set_child_fn): Likewise.
34638 (gimple_omp_taskreg_data_arg): Likewise.
34639 (gimple_omp_taskreg_data_arg_ptr): Likewise.
34640 (gimple_omp_taskreg_set_data_arg): Likewise.
34641 (gimple_omp_task_copy_fn): Likewise.
34642 (gimple_omp_task_copy_fn_ptr): Likewise.
34643 (gimple_omp_task_set_copy_fn): Likewise.
34644 (gimple_omp_task_arg_size): Likewise.
34645 (gimple_omp_task_arg_size_ptr): Likewise.
34646 (gimple_omp_task_set_arg_size): Likewise.
34647 (gimple_omp_task_arg_align): Likewise.
34648 (gimple_omp_task_arg_align_ptr): Likewise.
34649 (gimple_omp_task_set_arg_align): Likewise.
34650 (gimple_omp_single_clauses): Likewise.
34651 (gimple_omp_single_clauses_ptr): Likewise.
34652 (gimple_omp_single_set_clauses): Likewise.
34653 (gimple_omp_target_clauses): Likewise.
34654 (gimple_omp_target_clauses_ptr): Likewise.
34655 (gimple_omp_target_set_clauses): Likewise.
34656 (gimple_omp_target_child_fn): Likewise.
34657 (gimple_omp_target_child_fn_ptr): Likewise.
34658 (gimple_omp_target_set_child_fn): Likewise.
34659 (gimple_omp_target_data_arg): Likewise.
34660 (gimple_omp_target_data_arg_ptr): Likewise.
34661 (gimple_omp_target_set_data_arg): Likewise.
34662 (gimple_omp_teams_clauses): Likewise.
34663 (gimple_omp_teams_clauses_ptr): Likewise.
34664 (gimple_omp_teams_set_clauses): Likewise.
34665 (gimple_omp_sections_clauses): Likewise.
34666 (gimple_omp_sections_clauses_ptr): Likewise.
34667 (gimple_omp_sections_set_clauses): Likewise.
34668 (gimple_omp_sections_control): Likewise.
34669 (gimple_omp_sections_control_ptr): Likewise.
34670 (gimple_omp_sections_set_control): Likewise.
34671 (gimple_omp_for_set_cond): Likewise.
34672 (gimple_omp_for_cond): Likewise.
34673 (gimple_omp_atomic_store_set_val): Likewise.
34674 (gimple_omp_atomic_store_val): Likewise.
34675 (gimple_omp_atomic_store_val_ptr): Likewise.
34676 (gimple_omp_atomic_load_set_lhs): Likewise.
34677 (gimple_omp_atomic_load_lhs): Likewise.
34678 (gimple_omp_atomic_load_lhs_ptr): Likewise.
34679 (gimple_omp_atomic_load_set_rhs): Likewise.
34680 (gimple_omp_atomic_load_rhs): Likewise.
34681 (gimple_omp_atomic_load_rhs_ptr): Likewise.
34682 (gimple_omp_continue_control_def): Likewise.
34683 (gimple_omp_continue_control_def_ptr): Likewise.
34684 (gimple_omp_continue_set_control_def): Likewise.
34685 (gimple_omp_continue_control_use): Likewise.
34686 (gimple_omp_continue_control_use_ptr): Likewise.
34687 (gimple_omp_continue_set_control_use): Likewise.
34688 (gimple_transaction_body_ptr): Likewise.
34689 (gimple_transaction_label): Likewise.
34690 (gimple_transaction_label_ptr): Likewise.
34691 (gimple_transaction_set_body): Likewise.
34692 (gimple_transaction_set_label): Likewise.
34694 * ipa-devirt.c (build_type_inheritance_graph): Likewise.
34695 * ipa-inline-analysis.c (inline_write_summary): Likewise.
34696 * ipa-ref.c (ipa_record_reference): Likewise.
34697 * ipa-reference.c (analyze_function): Likewise.
34698 (ipa_reference_write_optimization_summary): Likewise.
34699 * ipa.c (symtab_remove_unreachable_nodes): Likewise.
34700 (address_taken_from_non_vtable_p): Likewise.
34701 (comdat_can_be_unshared_p_1): Likewise.
34702 * lto-cgraph.c (lto_output_ref): Likewise.
34703 (add_references): Likewise.
34704 (compute_ltrans_boundary): Likewise.
34705 (output_symtab): Likewise.
34706 (input_ref): Likewise.
34707 (input_cgraph_1): Likewise.
34708 (output_cgraph_opt_summary): Likewise.
34709 * lto-streamer-out.c (lto_output): Likewise.
34710 (output_symbol_p): Likewise.
34711 * lto-streamer.h (lsei_next_function_in_partition): Likewise.
34712 (lsei_start_function_in_partition): Likewise.
34713 (lsei_next_variable_in_partition): Likewise.
34714 (lsei_start_variable_in_partition): Likewise.
34715 * symtab.c (insert_to_assembler_name_hash): Likewise.
34716 (unlink_from_assembler_name_hash): Likewise.
34717 (symtab_unregister_node): Likewise.
34718 (symtab_remove_node): Likewise.
34719 (dump_symtab_node): Likewise.
34720 (verify_symtab_base): Likewise.
34721 (verify_symtab_node): Likewise.
34722 (symtab_make_decl_local): Likewise.
34723 (symtab_alias_ultimate_target): Likewise.
34724 (symtab_resolve_alias): Likewise.
34725 (symtab_get_symbol_partitioning_class): Likewise.
34726 * tree-phinodes.c (allocate_phi_node): Likewise.
34727 (reserve_phi_args_for_new_edge): Likewise.
34728 (remove_phi_args): Likewise.
34729 * varpool.c (varpool_node_for_asm): Likewise.
34730 (varpool_remove_unreferenced_decls): Likewise.
34732 2014-04-23 Jeff Law <law@redhat.com>
34734 PR tree-optimization/60902
34735 * tree-ssa-threadedge.c
34736 (record_temporary_equivalences_from_stmts_at_dest): Make sure to
34737 invalidate outputs from statements that do not produce useful
34738 outputs for threading.
34740 2014-04-23 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
34742 * config/aarch64/aarch64.md (stack_protect_set, stack_protect_test)
34743 (stack_protect_set_<mode>, stack_protect_test_<mode>): Add
34744 machine descriptions for Stack Smashing Protector.
34746 2014-04-23 Richard Earnshaw <rearnsha@arm.com>
34748 * aarch64.md (<optab>_rol<mode>3): New pattern.
34749 (<optab>_rolsi3_uxtw): Likewise.
34750 * aarch64.c (aarch64_strip_shift): Handle ROTATE and ROTATERT.
34752 2014-04-23 James Greenhalgh <james.greenhalgh@arm.com>
34754 * config/arm/arm.c (arm_cortex_a57_tune): Initialize all fields.
34755 (arm_cortex_a12_tune): Likewise.
34757 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34759 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle BSWAP.
34761 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34763 * config/arm/arm.md (arm_rev16si2): New pattern.
34764 (arm_rev16si2_alt): Likewise.
34765 * config/arm/arm.c (arm_new_rtx_costs): Handle rev16 case.
34767 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34769 * config/aarch64/aarch64.md (rev16<mode>2): New pattern.
34770 (rev16<mode>2_alt): Likewise.
34771 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle rev16 case.
34772 * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p): New.
34773 (aarch_rev16_shleft_mask_imm_p): Likewise.
34774 (aarch_rev16_p_1): Likewise.
34775 (aarch_rev16_p): Likewise.
34776 * config/arm/aarch-common-protos.h (aarch_rev16_p): Declare extern.
34777 (aarch_rev16_shright_mask_imm_p): Likewise.
34778 (aarch_rev16_shleft_mask_imm_p): Likewise.
34780 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34782 * config/arm/aarch-common-protos.h (alu_cost_table): Add rev field.
34783 * config/arm/aarch-cost-tables.h (generic_extra_costs): Specify
34785 (cortex_a53_extra_costs): Likewise.
34786 (cortex_a57_extra_costs): Likewise.
34787 * config/arm/arm.c (cortexa9_extra_costs): Likewise.
34788 (cortexa7_extra_costs): Likewise.
34789 (cortexa8_extra_costs): Likewise.
34790 (cortexa12_extra_costs): Likewise.
34791 (cortexa15_extra_costs): Likewise.
34792 (v7m_extra_costs): Likewise.
34793 (arm_new_rtx_costs): Handle BSWAP.
34795 2013-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34797 * config/arm/arm.c (cortexa8_extra_costs): New table.
34798 (arm_cortex_a8_tune): New tuning struct.
34799 * config/arm/arm-cores.def (cortex-a8): Use cortex_a8 tuning struct.
34801 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34803 * config/arm/arm.c (arm_new_rtx_costs): Handle FMA.
34805 2014-04-23 Richard Biener <rguenther@suse.de>
34807 * Makefile.in (OBJS): Remove loop-unswitch.o.
34808 * tree-pass.h (make_pass_rtl_unswitch): Remove.
34809 * passes.def (pass_rtl_unswitch): Likewise.
34810 * loop-init.c (gate_rtl_unswitch): Likewise.
34811 (rtl_unswitch): Likewise.
34812 (pass_data_rtl_unswitch): Likewise.
34813 (pass_rtl_unswitch): Likewise.
34814 (make_pass_rtl_unswitch): Likewise.
34815 * rtl.h (reversed_condition): Likewise.
34816 (compare_and_jump_seq): Likewise.
34817 * loop-iv.c (reversed_condition): Move here from loop-unswitch.c
34819 * loop-unroll.c (compare_and_jump_seq): Likewise.
34821 2014-04-23 Richard Biener <rguenther@suse.de>
34823 PR tree-optimization/60903
34824 * tree-ssa-loop-im.c (analyze_memory_references): Remove
34825 commented code block.
34826 (execute_sm_if_changed): Properly apply IRREDUCIBLE_LOOP
34827 loop flags to newly created BBs and edges.
34829 2014-04-23 Nick Clifton <nickc@redhat.com>
34831 * config/msp430/msp430.c (msp430_handle_option): Move function
34833 (msp430_option_override): Simplify mcu and mcpu option handling.
34834 (msp430_is_f5_mcu): Rename to msp430_use_f5_series_hwmult. Add
34835 support for -mhwmult command line option.
34836 (has_32bit_hwmult): Rename to use_32bit_hwmult. Add support for
34837 -mhwmult command line option.
34838 (msp430_hwmult_enabled): Delete.
34839 (msp43o_output_labelref): Add support for -mhwmult command line option.
34840 * config/msp430/msp430.md (mulhisi3, umulhisi3, mulsidi3)
34841 (umulsidi3): Likewise.
34842 * config/msp430/msp430.opt (mmcu): Add Report attribute.
34843 (mcpu, mlarge, msmall): Likewise.
34844 (mhwmult): New option.
34845 * config/msp430/msp430-protos.h (msp430_hwmult_enabled): Remove
34847 (msp430_is_f5_mcu): Remove prototype.
34848 (msp430_use_f5_series_hwmult): Add prototype.
34849 * config/msp430/msp430-opts.h: New file.
34850 * common/config/msp430: New directory.
34851 * common/config/msp430/msp430-common.c: New file.
34852 * config.gcc (msp430): Remove target_has_targetm_common.
34853 * doc/invoke.texi: Document -mhwmult command line option.
34855 2014-04-23 Nick Clifton <nickc@redhat.com>
34857 * config/i386/cygwin.h (ENDFILE_SPEC): Include
34858 default-manifest.o if it can be found in the search path.
34859 * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
34861 2014-04-23 Terry Guo <terry.guo@arm.com>
34863 * config/arm/arm.h (ASM_APP_OFF): Re-define it in a cleaner way.
34865 2014-04-23 Richard Biener <rguenther@suse.de>
34867 PR middle-end/60895
34868 * tree-inline.c (declare_return_variable): Use mark_addressable.
34870 2014-04-23 Richard Biener <rguenther@suse.de>
34872 PR middle-end/60891
34873 * loop-init.c (loop_optimizer_init): Make sure to apply
34874 LOOPS_MAY_HAVE_MULTIPLE_LATCHES before fixing up loops.
34876 2014-04-22 Jakub Jelinek <jakub@redhat.com>
34879 * common.opt (fsanitize-recover, fsanitize-undefined-trap-on-error):
34881 * gcc.c (sanitize_spec_function): Don't return "" for "undefined"
34882 if flag_sanitize_undefined_trap_on_error.
34883 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DIVREM_OVERFLOW_ABORT,
34884 BUILT_IN_UBSAN_HANDLE_SHIFT_OUT_OF_BOUNDS_ABORT,
34885 BUILT_IN_UBSAN_HANDLE_VLA_BOUND_NOT_POSITIVE_ABORT,
34886 BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
34887 BUILT_IN_UBSAN_HANDLE_ADD_OVERFLOW_ABORT,
34888 BUILT_IN_UBSAN_HANDLE_SUB_OVERFLOW_ABORT,
34889 BUILT_IN_UBSAN_HANDLE_MUL_OVERFLOW_ABORT,
34890 BUILT_IN_UBSAN_HANDLE_NEGATE_OVERFLOW_ABORT,
34891 BUILT_IN_UBSAN_HANDLE_LOAD_INVALID_VALUE_ABORT): New builtins.
34892 * ubsan.c (ubsan_instrument_unreachable): Return
34893 __builtin_trap () if flag_sanitize_undefined_trap_on_error.
34894 (ubsan_expand_null_ifn): Emit __builtin_trap ()
34895 if flag_sanitize_undefined_trap_on_error and
34896 __ubsan_handle_type_mismatch_abort if !flag_sanitize_recover.
34897 (ubsan_expand_null_ifn, ubsan_build_overflow_builtin,
34898 instrument_bool_enum_load): Emit __builtin_trap () if
34899 flag_sanitize_undefined_trap_on_error and
34900 __builtin_handle_*_abort () if !flag_sanitize_recover.
34901 * doc/invoke.texi (-fsanitize-recover,
34902 -fsanitize-undefined-trap-on-error): Document.
34904 2014-04-22 Christian Bruel <christian.bruel@st.com>
34906 * config/sh/sh.md (mov<mode>): Replace movQIHI.
34907 Force immediates to SImode.
34909 2014-04-22 Sandra Loosemore <sandra@codesourcery.com>
34911 * config/nios2/nios2.md (UNSPEC_ROUND): New.
34912 (lroundsfsi2): New.
34913 * config/nios2/nios2.opt (mno-custom-round, mcustom-round=): New.
34914 * config/nios2/nios2-opts.h (N2FPU_ALL_CODES): Add round.
34915 * config/nios2/nios2.c (N2F_NO_ERRNO): Define.
34916 (nios2_fpu_insn): Add entry for round.
34917 (N2FPU_NO_ERRNO_P): Define.
34918 (nios2_custom_check_insns): Add check for N2F_NO_ERRNO and
34920 * doc/invoke.texi (Nios II Options): Document -mcustom-round.
34922 2014-04-22 Richard Henderson <rth@redhat.com>
34924 * config/aarch64/aarch64 (addti3, subti3): New expanders.
34925 (add<GPI>3_compare0): Remove leading * from name.
34926 (add<GPI>3_carryin): Likewise.
34927 (sub<GPI>3_compare0): Likewise.
34928 (sub<GPI>3_carryin): Likewise.
34929 (<su_optab>mulditi3): New expander.
34930 (multi3): New expander.
34931 (madd<GPI>): Remove leading * from name.
34933 2014-04-22 Martin Jambor <mjambor@suse.cz>
34935 * cgraphclones.c (cgraph_function_versioning): Copy
34936 ipa_transforms_to_apply instead of asserting it is empty.
34938 2014-04-22 H.J. Lu <hongjiu.lu@intel.com>
34941 * config/i386/i386.c (ix86_expand_set_or_movmem): Call counter_mode
34942 on count_exp to get mode.
34944 2014-04-22 Andrew Pinski <apinski@cavium.com>
34946 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
34947 Handle TLS for ILP32.
34948 * config/aarch64/aarch64.md (tlsie_small): Rename to ...
34949 (tlsie_small_<mode>): this and handle PTR.
34950 (tlsie_small_sidi): New pattern.
34951 (tlsle_small): Change to an expand to handle ILP32.
34952 (tlsle_small_<mode>): New pattern.
34953 (tlsdesc_small): Rename to ...
34954 (tlsdesc_small_<mode>): this and handle PTR.
34956 2014-04-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
34958 * config/aarch64/aarch64.c (TARGET_FLAGS_REGNUM): Define.
34960 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
34962 * config/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed.
34963 (aarch64_types_signed_unsigned_qualifiers): Qualifier added.
34964 (aarch64_types_signed_poly_qualifiers): Likewise.
34965 (aarch64_types_unsigned_signed_qualifiers): Likewise.
34966 (aarch64_types_poly_signed_qualifiers): Likewise.
34967 (TYPES_REINTERP_SS): Type macro added.
34968 (TYPES_REINTERP_SU): Likewise.
34969 (TYPES_REINTERP_SP): Likewise.
34970 (TYPES_REINTERP_US): Likewise.
34971 (TYPES_REINTERP_PS): Likewise.
34972 (aarch64_fold_builtin): New expression folding added.
34973 * config/aarch64/aarch64-simd-builtins.def (REINTERP):
34974 Declarations removed.
34975 (REINTERP_SS): Declarations added.
34976 (REINTERP_US): Likewise.
34977 (REINTERP_PS): Likewise.
34978 (REINTERP_SU): Likewise.
34979 (REINTERP_SP): Likewise.
34980 * config/aarch64/arm_neon.h (vreinterpret_p8_f64): Implemented.
34981 (vreinterpretq_p8_f64): Likewise.
34982 (vreinterpret_p16_f64): Likewise.
34983 (vreinterpretq_p16_f64): Likewise.
34984 (vreinterpret_f32_f64): Likewise.
34985 (vreinterpretq_f32_f64): Likewise.
34986 (vreinterpret_f64_f32): Likewise.
34987 (vreinterpret_f64_p8): Likewise.
34988 (vreinterpret_f64_p16): Likewise.
34989 (vreinterpret_f64_s8): Likewise.
34990 (vreinterpret_f64_s16): Likewise.
34991 (vreinterpret_f64_s32): Likewise.
34992 (vreinterpret_f64_s64): Likewise.
34993 (vreinterpret_f64_u8): Likewise.
34994 (vreinterpret_f64_u16): Likewise.
34995 (vreinterpret_f64_u32): Likewise.
34996 (vreinterpret_f64_u64): Likewise.
34997 (vreinterpretq_f64_f32): Likewise.
34998 (vreinterpretq_f64_p8): Likewise.
34999 (vreinterpretq_f64_p16): Likewise.
35000 (vreinterpretq_f64_s8): Likewise.
35001 (vreinterpretq_f64_s16): Likewise.
35002 (vreinterpretq_f64_s32): Likewise.
35003 (vreinterpretq_f64_s64): Likewise.
35004 (vreinterpretq_f64_u8): Likewise.
35005 (vreinterpretq_f64_u16): Likewise.
35006 (vreinterpretq_f64_u32): Likewise.
35007 (vreinterpretq_f64_u64): Likewise.
35008 (vreinterpret_s64_f64): Likewise.
35009 (vreinterpretq_s64_f64): Likewise.
35010 (vreinterpret_u64_f64): Likewise.
35011 (vreinterpretq_u64_f64): Likewise.
35012 (vreinterpret_s8_f64): Likewise.
35013 (vreinterpretq_s8_f64): Likewise.
35014 (vreinterpret_s16_f64): Likewise.
35015 (vreinterpretq_s16_f64): Likewise.
35016 (vreinterpret_s32_f64): Likewise.
35017 (vreinterpretq_s32_f64): Likewise.
35018 (vreinterpret_u8_f64): Likewise.
35019 (vreinterpretq_u8_f64): Likewise.
35020 (vreinterpret_u16_f64): Likewise.
35021 (vreinterpretq_u16_f64): Likewise.
35022 (vreinterpret_u32_f64): Likewise.
35023 (vreinterpretq_u32_f64): Likewise.
35025 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
35027 * config/aarch64/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed.
35028 * config/aarch64/aarch64/aarch64-simd-builtins.def (REINTERP): Removed.
35029 (vreinterpret_p8_s8): Likewise.
35030 * config/aarch64/aarch64/arm_neon.h (vreinterpret_p8_s8): Uses cast.
35031 (vreinterpret_p8_s16): Likewise.
35032 (vreinterpret_p8_s32): Likewise.
35033 (vreinterpret_p8_s64): Likewise.
35034 (vreinterpret_p8_f32): Likewise.
35035 (vreinterpret_p8_u8): Likewise.
35036 (vreinterpret_p8_u16): Likewise.
35037 (vreinterpret_p8_u32): Likewise.
35038 (vreinterpret_p8_u64): Likewise.
35039 (vreinterpret_p8_p16): Likewise.
35040 (vreinterpretq_p8_s8): Likewise.
35041 (vreinterpretq_p8_s16): Likewise.
35042 (vreinterpretq_p8_s32): Likewise.
35043 (vreinterpretq_p8_s64): Likewise.
35044 (vreinterpretq_p8_f32): Likewise.
35045 (vreinterpretq_p8_u8): Likewise.
35046 (vreinterpretq_p8_u16): Likewise.
35047 (vreinterpretq_p8_u32): Likewise.
35048 (vreinterpretq_p8_u64): Likewise.
35049 (vreinterpretq_p8_p16): Likewise.
35050 (vreinterpret_p16_s8): Likewise.
35051 (vreinterpret_p16_s16): Likewise.
35052 (vreinterpret_p16_s32): Likewise.
35053 (vreinterpret_p16_s64): Likewise.
35054 (vreinterpret_p16_f32): Likewise.
35055 (vreinterpret_p16_u8): Likewise.
35056 (vreinterpret_p16_u16): Likewise.
35057 (vreinterpret_p16_u32): Likewise.
35058 (vreinterpret_p16_u64): Likewise.
35059 (vreinterpret_p16_p8): Likewise.
35060 (vreinterpretq_p16_s8): Likewise.
35061 (vreinterpretq_p16_s16): Likewise.
35062 (vreinterpretq_p16_s32): Likewise.
35063 (vreinterpretq_p16_s64): Likewise.
35064 (vreinterpretq_p16_f32): Likewise.
35065 (vreinterpretq_p16_u8): Likewise.
35066 (vreinterpretq_p16_u16): Likewise.
35067 (vreinterpretq_p16_u32): Likewise.
35068 (vreinterpretq_p16_u64): Likewise.
35069 (vreinterpretq_p16_p8): Likewise.
35070 (vreinterpret_f32_s8): Likewise.
35071 (vreinterpret_f32_s16): Likewise.
35072 (vreinterpret_f32_s32): Likewise.
35073 (vreinterpret_f32_s64): Likewise.
35074 (vreinterpret_f32_u8): Likewise.
35075 (vreinterpret_f32_u16): Likewise.
35076 (vreinterpret_f32_u32): Likewise.
35077 (vreinterpret_f32_u64): Likewise.
35078 (vreinterpret_f32_p8): Likewise.
35079 (vreinterpret_f32_p16): Likewise.
35080 (vreinterpretq_f32_s8): Likewise.
35081 (vreinterpretq_f32_s16): Likewise.
35082 (vreinterpretq_f32_s32): Likewise.
35083 (vreinterpretq_f32_s64): Likewise.
35084 (vreinterpretq_f32_u8): Likewise.
35085 (vreinterpretq_f32_u16): Likewise.
35086 (vreinterpretq_f32_u32): Likewise.
35087 (vreinterpretq_f32_u64): Likewise.
35088 (vreinterpretq_f32_p8): Likewise.
35089 (vreinterpretq_f32_p16): Likewise.
35090 (vreinterpret_s64_s8): Likewise.
35091 (vreinterpret_s64_s16): Likewise.
35092 (vreinterpret_s64_s32): Likewise.
35093 (vreinterpret_s64_f32): Likewise.
35094 (vreinterpret_s64_u8): Likewise.
35095 (vreinterpret_s64_u16): Likewise.
35096 (vreinterpret_s64_u32): Likewise.
35097 (vreinterpret_s64_u64): Likewise.
35098 (vreinterpret_s64_p8): Likewise.
35099 (vreinterpret_s64_p16): Likewise.
35100 (vreinterpretq_s64_s8): Likewise.
35101 (vreinterpretq_s64_s16): Likewise.
35102 (vreinterpretq_s64_s32): Likewise.
35103 (vreinterpretq_s64_f32): Likewise.
35104 (vreinterpretq_s64_u8): Likewise.
35105 (vreinterpretq_s64_u16): Likewise.
35106 (vreinterpretq_s64_u32): Likewise.
35107 (vreinterpretq_s64_u64): Likewise.
35108 (vreinterpretq_s64_p8): Likewise.
35109 (vreinterpretq_s64_p16): Likewise.
35110 (vreinterpret_u64_s8): Likewise.
35111 (vreinterpret_u64_s16): Likewise.
35112 (vreinterpret_u64_s32): Likewise.
35113 (vreinterpret_u64_s64): Likewise.
35114 (vreinterpret_u64_f32): Likewise.
35115 (vreinterpret_u64_u8): Likewise.
35116 (vreinterpret_u64_u16): Likewise.
35117 (vreinterpret_u64_u32): Likewise.
35118 (vreinterpret_u64_p8): Likewise.
35119 (vreinterpret_u64_p16): Likewise.
35120 (vreinterpretq_u64_s8): Likewise.
35121 (vreinterpretq_u64_s16): Likewise.
35122 (vreinterpretq_u64_s32): Likewise.
35123 (vreinterpretq_u64_s64): Likewise.
35124 (vreinterpretq_u64_f32): Likewise.
35125 (vreinterpretq_u64_u8): Likewise.
35126 (vreinterpretq_u64_u16): Likewise.
35127 (vreinterpretq_u64_u32): Likewise.
35128 (vreinterpretq_u64_p8): Likewise.
35129 (vreinterpretq_u64_p16): Likewise.
35130 (vreinterpret_s8_s16): Likewise.
35131 (vreinterpret_s8_s32): Likewise.
35132 (vreinterpret_s8_s64): Likewise.
35133 (vreinterpret_s8_f32): Likewise.
35134 (vreinterpret_s8_u8): Likewise.
35135 (vreinterpret_s8_u16): Likewise.
35136 (vreinterpret_s8_u32): Likewise.
35137 (vreinterpret_s8_u64): Likewise.
35138 (vreinterpret_s8_p8): Likewise.
35139 (vreinterpret_s8_p16): Likewise.
35140 (vreinterpretq_s8_s16): Likewise.
35141 (vreinterpretq_s8_s32): Likewise.
35142 (vreinterpretq_s8_s64): Likewise.
35143 (vreinterpretq_s8_f32): Likewise.
35144 (vreinterpretq_s8_u8): Likewise.
35145 (vreinterpretq_s8_u16): Likewise.
35146 (vreinterpretq_s8_u32): Likewise.
35147 (vreinterpretq_s8_u64): Likewise.
35148 (vreinterpretq_s8_p8): Likewise.
35149 (vreinterpretq_s8_p16): Likewise.
35150 (vreinterpret_s16_s8): Likewise.
35151 (vreinterpret_s16_s32): Likewise.
35152 (vreinterpret_s16_s64): Likewise.
35153 (vreinterpret_s16_f32): Likewise.
35154 (vreinterpret_s16_u8): Likewise.
35155 (vreinterpret_s16_u16): Likewise.
35156 (vreinterpret_s16_u32): Likewise.
35157 (vreinterpret_s16_u64): Likewise.
35158 (vreinterpret_s16_p8): Likewise.
35159 (vreinterpret_s16_p16): Likewise.
35160 (vreinterpretq_s16_s8): Likewise.
35161 (vreinterpretq_s16_s32): Likewise.
35162 (vreinterpretq_s16_s64): Likewise.
35163 (vreinterpretq_s16_f32): Likewise.
35164 (vreinterpretq_s16_u8): Likewise.
35165 (vreinterpretq_s16_u16): Likewise.
35166 (vreinterpretq_s16_u32): Likewise.
35167 (vreinterpretq_s16_u64): Likewise.
35168 (vreinterpretq_s16_p8): Likewise.
35169 (vreinterpretq_s16_p16): Likewise.
35170 (vreinterpret_s32_s8): Likewise.
35171 (vreinterpret_s32_s16): Likewise.
35172 (vreinterpret_s32_s64): Likewise.
35173 (vreinterpret_s32_f32): Likewise.
35174 (vreinterpret_s32_u8): Likewise.
35175 (vreinterpret_s32_u16): Likewise.
35176 (vreinterpret_s32_u32): Likewise.
35177 (vreinterpret_s32_u64): Likewise.
35178 (vreinterpret_s32_p8): Likewise.
35179 (vreinterpret_s32_p16): Likewise.
35180 (vreinterpretq_s32_s8): Likewise.
35181 (vreinterpretq_s32_s16): Likewise.
35182 (vreinterpretq_s32_s64): Likewise.
35183 (vreinterpretq_s32_f32): Likewise.
35184 (vreinterpretq_s32_u8): Likewise.
35185 (vreinterpretq_s32_u16): Likewise.
35186 (vreinterpretq_s32_u32): Likewise.
35187 (vreinterpretq_s32_u64): Likewise.
35188 (vreinterpretq_s32_p8): Likewise.
35189 (vreinterpretq_s32_p16): Likewise.
35190 (vreinterpret_u8_s8): Likewise.
35191 (vreinterpret_u8_s16): Likewise.
35192 (vreinterpret_u8_s32): Likewise.
35193 (vreinterpret_u8_s64): Likewise.
35194 (vreinterpret_u8_f32): Likewise.
35195 (vreinterpret_u8_u16): Likewise.
35196 (vreinterpret_u8_u32): Likewise.
35197 (vreinterpret_u8_u64): Likewise.
35198 (vreinterpret_u8_p8): Likewise.
35199 (vreinterpret_u8_p16): Likewise.
35200 (vreinterpretq_u8_s8): Likewise.
35201 (vreinterpretq_u8_s16): Likewise.
35202 (vreinterpretq_u8_s32): Likewise.
35203 (vreinterpretq_u8_s64): Likewise.
35204 (vreinterpretq_u8_f32): Likewise.
35205 (vreinterpretq_u8_u16): Likewise.
35206 (vreinterpretq_u8_u32): Likewise.
35207 (vreinterpretq_u8_u64): Likewise.
35208 (vreinterpretq_u8_p8): Likewise.
35209 (vreinterpretq_u8_p16): Likewise.
35210 (vreinterpret_u16_s8): Likewise.
35211 (vreinterpret_u16_s16): Likewise.
35212 (vreinterpret_u16_s32): Likewise.
35213 (vreinterpret_u16_s64): Likewise.
35214 (vreinterpret_u16_f32): Likewise.
35215 (vreinterpret_u16_u8): Likewise.
35216 (vreinterpret_u16_u32): Likewise.
35217 (vreinterpret_u16_u64): Likewise.
35218 (vreinterpret_u16_p8): Likewise.
35219 (vreinterpret_u16_p16): Likewise.
35220 (vreinterpretq_u16_s8): Likewise.
35221 (vreinterpretq_u16_s16): Likewise.
35222 (vreinterpretq_u16_s32): Likewise.
35223 (vreinterpretq_u16_s64): Likewise.
35224 (vreinterpretq_u16_f32): Likewise.
35225 (vreinterpretq_u16_u8): Likewise.
35226 (vreinterpretq_u16_u32): Likewise.
35227 (vreinterpretq_u16_u64): Likewise.
35228 (vreinterpretq_u16_p8): Likewise.
35229 (vreinterpretq_u16_p16): Likewise.
35230 (vreinterpret_u32_s8): Likewise.
35231 (vreinterpret_u32_s16): Likewise.
35232 (vreinterpret_u32_s32): Likewise.
35233 (vreinterpret_u32_s64): Likewise.
35234 (vreinterpret_u32_f32): Likewise.
35235 (vreinterpret_u32_u8): Likewise.
35236 (vreinterpret_u32_u16): Likewise.
35237 (vreinterpret_u32_u64): Likewise.
35238 (vreinterpret_u32_p8): Likewise.
35239 (vreinterpret_u32_p16): Likewise.
35240 (vreinterpretq_u32_s8): Likewise.
35241 (vreinterpretq_u32_s16): Likewise.
35242 (vreinterpretq_u32_s32): Likewise.
35243 (vreinterpretq_u32_s64): Likewise.
35244 (vreinterpretq_u32_f32): Likewise.
35245 (vreinterpretq_u32_u8): Likewise.
35246 (vreinterpretq_u32_u16): Likewise.
35247 (vreinterpretq_u32_u64): Likewise.
35248 (vreinterpretq_u32_p8): Likewise.
35249 (vreinterpretq_u32_p16): Likewise.
35251 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
35253 * gcc/config/aarch64/aarch64-simd.md (aarch64_s<optab><mode>):
35255 * config/aarch64/aarch64-simd-builtins.def (sqneg): Iterator extended.
35257 * config/aarch64/arm_neon.h (vqneg_s64): New intrinsic.
35258 (vqnegd_s64): Likewise.
35259 (vqabs_s64): Likewise.
35260 (vqabsd_s64): Likewise.
35262 2014-04-22 Richard Henderson <rth@redhat.com>
35264 * config/sparc/sparc.c (sparc_init_modes): Hoist GET_MODE_SIZE
35265 computation to the top of the loop.
35267 2014-04-22 Renlin <renlin.li@arm.com>
35268 Jiong Wang <jiong.wang@arm.com>
35270 * config/aarch64/aarch64.h (aarch64_frame): Delete "fp_lr_offset".
35271 * config/aarch64/aarch64.c (aarch64_layout_frame)
35272 (aarch64_initial_elimination_offset): Likewise.
35274 2014-04-22 Marcus Shawcroft <marcus.shawcroft@arm.com>
35276 * config/aarch64/aarch64.c (aarch64_initial_elimination_offset):
35279 2014-04-22 Richard Sandiford <rdsandiford@googlemail.com>
35281 * machmode.h (bitwise_mode_for_mode): Declare.
35282 * stor-layout.h (bitwise_type_for_mode): Likewise.
35283 * stor-layout.c (bitwise_mode_for_mode): New function.
35284 (bitwise_type_for_mode): Likewise.
35285 * builtins.c (fold_builtin_memory_op): Use it instead of
35286 int_mode_for_mode and build_nonstandard_integer_type.
35288 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
35290 * config.gcc (enable_obsolete): Remove *-*-solaris2.9*.
35291 (*-*-solaris2.[0-9] | *-*-solaris2.[0-9].*): Mark unsupported.
35292 (*-*-solaris2*): Simplify.
35293 (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Likewise.
35294 (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Remove
35295 *-*-solaris2.9* handling.
35297 * configure.ac (gcc_cv_as_hidden): Remove test for Solaris 9/x86
35299 (gcc_cv_ld_hidden): Remove *-*-solaris2.9* handling.
35300 (ld_tls_support): Remove i?86-*-solaris2.9, sparc*-*-solaris2.9
35301 handling, simplify.
35302 (gcc_cv_as_gstabs_flag): Remove workaround for Solaris 9/x86 as bug.
35303 * configure: Regenerate.
35305 * config/i386/sol2-9.h: Remove.
35307 * doc/install.texi (Specific, i?86-*-solaris2.9): Remove.
35308 (Specific, *-*-solaris2*): Mention Solaris 9 support removal.
35309 Remove Solaris 9 references.
35311 2014-04-22 Vidya Praveen <vidyapraveen@arm.com>
35313 * aarch64.md (float<GPI:mode><GPF:mode>2): Remove.
35314 (floatuns<GPI:mode><GPF:mode>2): Remove.
35315 (<optab><fcvt_target><GPF:mode>2): New pattern for equal width float
35316 and floatuns conversions.
35317 (<optab><fcvt_iesize><GPF:mode>2): New pattern for inequal width float
35318 and floatuns conversions.
35319 * iterators.md (fcvt_target, FCVT_TARGET): Support SF and DF modes.
35320 (w1,w2): New mode attributes for inequal width conversions.
35322 2014-04-22 Renlin Li <Renlin.Li@arm.com>
35324 * config/aarch64/aarch64.c (aarch64_print_operand_address): Adjust
35325 the output asm format.
35327 2014-04-22 James Greenhalgh <james.greenhalgh@arm.com>
35329 * config/aarch64/aarch64-simd.md
35330 (aarch64_cm<optab>di): Always split.
35331 (*aarch64_cm<optab>di): New.
35332 (aarch64_cmtstdi): Always split.
35333 (*aarch64_cmtstdi): New.
35335 2014-04-22 Jakub Jelinek <jakub@redhat.com>
35337 PR tree-optimization/60823
35338 * omp-low.c (ipa_simd_modify_function_body): Go through
35339 all SSA_NAMEs and for those refering to vector arguments
35340 which are going to be replaced adjust SSA_NAME_VAR and,
35341 if it is a default definition, change it into a non-default
35342 definition assigned at the beginning of function from new_decl.
35343 (ipa_simd_modify_stmt_ops): Rewritten.
35344 * tree-dfa.c (set_ssa_default_def): When removing default def,
35345 check for NULL loc instead of NULL *loc.
35347 2014-04-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
35349 * config/arm/arm.c (arm_hard_regno_mode_ok): Loosen
35350 restrictions on core registers for DImode values in Thumb2.
35352 2014-04-22 Ian Bolton <ian.bolton@arm.com>
35354 * config/arm/arm.md (*anddi_notdi_zesidi): New pattern.
35355 * config/arm/thumb2.md (*iordi_notdi_zesidi): New pattern.
35357 2014-04-22 Ian Bolton <ian.bolton@arm.com>
35359 * config/arm/thumb2.md (*iordi_notdi_di): New pattern.
35360 (*iordi_notzesidi_di): Likewise.
35361 (*iordi_notsesidi_di): Likewise.
35363 2014-04-22 Ian Bolton <ian.bolton@arm.com>
35365 * config/arm/arm-protos.h (tune_params): New struct members.
35366 * config/arm/arm.c: Initialise tune_params per processor.
35367 (thumb2_reorg): Suppress conversion from t32 to t16 when optimizing
35368 for speed, based on new tune_params.
35370 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
35372 * config/aarch64/aarch64-builtins.c (BUILTIN_VDQF_DF): Macro added.
35373 * config/aarch64/aarch64-simd-builtins.def (frintn): Use added macro.
35374 * config/aarch64/aarch64-simd.md (<frint_pattern>): Comment corrected.
35375 * config/aarch64/aarch64.md (<frint_pattern>): Likewise.
35376 * config/aarch64/arm_neon.h (vrnd_f64): Added.
35377 (vrnda_f64): Likewise.
35378 (vrndi_f64): Likewise.
35379 (vrndm_f64): Likewise.
35380 (vrndn_f64): Likewise.
35381 (vrndp_f64): Likewise.
35382 (vrndx_f64): Likewise.
35384 2014-04-22 Zhenqiang Chen <zhenqiang.chen@linaro.org>
35386 * config/arm/arm.c (arm_print_operand, thumb_exit): Make sure
35387 GET_MODE_SIZE argument is enum machine_mode.
35389 2014-04-22 Jakub Jelinek <jakub@redhat.com>
35392 * config/sparc/sparc.c (sparc_init_modes): Pass enum machine_mode
35393 value instead of int to GET_MODE_CLASS and GET_MODE_SIZE macros.
35395 2014-04-22 Lin Zuojian <manjian2006@gmail.com>
35397 PR middle-end/60281
35398 * asan.c (asan_emit_stack_protection): Force the base to align to
35399 appropriate bits if STRICT_ALIGNMENT. Set shadow_mem align to
35400 appropriate bits if STRICT_ALIGNMENT.
35401 * cfgexpand.c (expand_stack_vars): Set base_align appropriately
35403 (expand_used_vars): Leave a space in the stack frame for alignment
35404 if STRICT_ALIGNMENT.
35406 2014-04-21 David Malcolm <dmalcolm@redhat.com>
35408 * gimple.h (gimple_assign_single_p): Accept a const_gimple rather
35410 (gimple_store_p): Likewise.
35411 (gimple_assign_load_p): Likewise.
35412 (gimple_assign_cast_p): Likewise.
35413 (gimple_clobber_p): Likewise.
35415 * doc/gimple.texi (gimple_assign_cast_p): Accept a const_gimple
35416 rather than a gimple.
35417 (gimple_assign_cast_p): Likewise.
35419 2014-04-21 Michael Meissner <meissner@linux.vnet.ibm.com>
35422 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64 case):
35423 If mode is DDmode and TARGET_E500_DOUBLE allow move.
35425 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some
35426 more debug information for E500 if -mdebug=reg.
35428 2014-04-21 Uros Bizjak <ubizjak@gmail.com>
35431 * config/i386/i386.c (ix86_expand_builtin)
35432 <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: Use temporary
35433 register for target RTX.
35434 <case IX86_BUILTIN_RDSEED{16,32,64}_STEP>: Ditto.
35436 2014-04-18 Cong Hou <congh@google.com>
35438 * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Enhance
35439 the widen-mult pattern by handling two operands with different sizes,
35440 and operands whose size is smaller than half of the result type.
35442 2014-04-18 Jan Hubicka <hubicka@ucw.cz>
35444 * ipa-inline.h (INLINE_HINT_known_hot): New hint.
35445 * ipa-inline-analysis.c (dump_inline_hints): Dump it.
35446 (do_estimate_edge_time): Compute it.
35447 * ipa-inline.c (want_inline_small_function_p): Bypass
35448 INLINE_INSNS_AUTO/SINGLE limits for calls that are known to be hot.
35450 2014-04-18 Jan Hubicka <hubicka@ucw.cz>
35452 * ipa-inline.c (spec_rem): New static variable.
35453 (dump_overall_stats): New function.
35454 (dump_inline_stats): New function.
35456 2014-04-18 Richard Henderson <rth@redhat.com>
35458 * config/aarch64/aarch64.c (aarch64_register_move_cost): Pass a mode
35459 to GET_MODE_SIZE, not a reg_class_t.
35461 2014-04-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
35463 * config/rs6000/vsx.md (vsx_xxmrghw_<mode>): Adjust for little-endian.
35464 (vsx_xxmrglw_<mode>): Likewise.
35466 2014-04-17 Michael Meissner <meissner@linux.vnet.ibm.com>
35469 * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Make sure
35470 GET_MODE_SIZE gets passed an enum machine_mode type and not integer.
35471 (rs6000_init_hard_regno_mode_ok): Likewise.
35473 2014-04-17 Jan Hubicka <hubicka@ucw.cz>
35475 * ipa-inline.c (inline_small_functions): Account only non-cold
35477 * doc/invoke.texi (inline-unit-growth): Update documentation.
35479 2014-04-17 Pat Haugen <pthaugen@us.ibm.com>
35481 * config/rs6000/rs6000.md (addti3, subti3): New.
35483 2014-04-17 H.J. Lu <hongjiu.lu@intel.com>
35486 * config/i386/i386.c (ix86_expand_clear): Remove outdated
35487 comment. Check optimize_insn_for_size_p instead of
35488 optimize_insn_for_speed_p.
35490 2014-04-17 Martin Jambor <mjambor@suse.cz>
35492 * gimple-iterator.c (gsi_start_edge): New function.
35493 * gimple-iterator.h (gsi_start_edge): Declare.
35494 * tree-sra.c (single_non_eh_succ): New function.
35495 (disqualify_ops_if_throwing_stmt): Renamed to
35496 disqualify_if_bad_bb_terminating_stmt. Allow throwing statements
35497 having one non-EH successor BB.
35498 (sra_modify_expr): If stmt ends bb, use single non-EH successor to
35499 generate loads into replacements.
35500 (sra_modify_assign): Likewise and and also use the simple path for
35502 (sra_modify_function_body): Commit statements on edges.
35504 2014-04-17 Richard Biener <rguenther@suse.de>
35506 PR middle-end/60849
35507 * tree-ssa-propagate.c (valid_gimple_rhs_p): Allow vector
35508 comparison results and add clarifying comment.
35510 2014-04-17 Jakub Jelinek <jakub@redhat.com>
35512 * genmodes.c (struct mode_data): Add need_bytesize_adj field.
35513 (blank_mode): Initialize it.
35514 (emit_mode_size_inline, emit_mode_nunits_inline,
35515 emit_mode_inner_inline): New functions.
35516 (emit_insn_modes_h): Call them and surround their output with
35517 #if GCC_VERSION >= 4001 ... #endif.
35518 * machmode.h (GET_MODE_SIZE, GET_MODE_NUNITS, GET_MODE_INNER):
35519 For GCC_VERSION >= 4001 use mode_*_inline routines instead of
35520 mode_* arrays if the argument is __builtin_constant_p.
35521 * lower-subreg.c (dump_choices): Make sure GET_MODE_SIZE argument
35522 is enum machine_mode.
35524 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
35526 * passes.c (opt_pass::execute): Adjust.
35527 (pass_manager::execute_pass_mode_switching): Likewise.
35528 (early_local_passes::execute): Likewise.
35529 (execute_one_pass): Pass cfun to the pass's execute method.
35530 * tree-pass.h (opt_pass::execute): Add function * argument.
35531 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
35532 cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
35533 compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
35534 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
35535 config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
35536 config/sparc/sparc.c, cprop.c, dce.c, df-core.c, dse.c, dwarf2cfi.c,
35537 except.c, final.c, function.c, fwprop.c, gcse.c, gimple-low.c,
35538 gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
35539 graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
35540 ipa-inline-analysis.c, ipa-inline.c, ipa-profile.c, ipa-pure-const.c,
35541 ipa-reference.c, ipa-split.c, ipa.c, ira.c, jump.c, loop-init.c,
35542 lower-subreg.c, mode-switching.c, omp-low.c, postreload-gcse.c,
35543 postreload.c, predict.c, recog.c, ree.c, reg-stack.c, regcprop.c,
35544 reginfo.c, regrename.c, reorg.c, sched-rgn.c, stack-ptr-mod.c,
35545 store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
35546 tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
35547 tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
35548 tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-ssa-ccp.c,
35549 tree-ssa-copy.c, tree-ssa-copyrename.c, tree-ssa-dce.c,
35550 tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
35551 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
35552 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
35553 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
35554 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
35555 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
35556 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
35557 tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
35558 tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
35559 tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
35562 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
35564 * passes.c (opt_pass::gate): Take function * argument.
35565 (gate_all_early_local_passes): Merge into
35566 (early_local_passes::gate): this.
35567 (gate_all_early_optimizations): Merge into
35568 (all_early_optimizations::gate): this.
35569 (gate_all_optimizations): Mege into
35570 (all_optimizations::gate): this.
35571 (gate_all_optimizations_g): Merge into
35572 (all_optimizations_g::gate): this.
35573 (gate_rest_of_compilation): Mege into
35574 (rest_of_compilation::gate): this.
35575 (gate_postreload): Merge into
35576 (postreload::gate): this.
35577 (dump_one_pass): Pass cfun to the pass's gate method.
35578 (execute_ipa_summary_passes): Likewise.
35579 (execute_one_pass): Likewise.
35580 (ipa_write_summaries_2): Likewise.
35581 (ipa_write_optimization_summaries_1): Likewise.
35582 (ipa_read_summaries_1): Likewise.
35583 (ipa_read_optimization_summaries_1): Likewise.
35584 (execute_ipa_stmt_fixups): Likewise.
35585 * tree-pass.h (opt_pass::gate): Add function * argument.
35586 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c,
35587 combine-stack-adj.c, combine.c, compare-elim.c,
35588 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
35589 config/rl78/rl78.c, config/sh/sh_optimize_sett_clrt.cc,
35590 config/sh/sh_treg_combine.cc, config/sparc/sparc.c, cprop.c, cse.c,
35591 dce.c, df-core.c, dse.c, dwarf2cfi.c, except.c, fwprop.c, gcse.c,
35592 gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
35593 graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
35594 ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
35595 loop-init.c, lower-subreg.c, mode-switching.c, modulo-sched.c,
35596 omp-low.c, postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
35597 reg-stack.c, regcprop.c, regrename.c, reorg.c, sched-rgn.c,
35598 store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
35599 tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
35600 tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c,
35601 tree-nrv.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
35602 tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
35603 tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
35604 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
35605 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
35606 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
35607 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
35608 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
35609 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
35610 tree-ssa.c, tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c,
35611 tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, tsan.c, ubsan.c,
35612 var-tracking.c, vtable-verify.c, web.c: Adjust.
35614 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
35616 * configure.ac: Check for -Woverloaded-virtual and enable it if found.
35617 * configure: Regenerate.
35619 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
35621 * passes.c (dump_one_pass): don't check pass->has_gate.
35622 (execute_ipa_summary_passes): Likewise.
35623 (execute_one_pass): Likewise.
35624 (ipa_write_summaries_2): Likewise.
35625 (ipa_write_optimization_summaries_1): Likewise.
35626 (ipa_read_optimization_summaries_1): Likewise.
35627 (execute_ipa_stmt_fixups): Likewise.
35628 * tree-pass.h (pass_data::has_gate): Remove.
35629 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
35630 cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
35631 compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
35632 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
35633 config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
35634 config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
35635 config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
35636 dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
35637 gimple-low.c, gimple-ssa-isolate-paths.c,
35638 gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
35639 ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c,
35640 ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
35641 ira.c, jump.c, loop-init.c, lower-subreg.c, mode-switching.c,
35642 modulo-sched.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c,
35643 recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c,
35644 reorg.c, sched-rgn.c, stack-ptr-mod.c, store-motion.c, tracer.c,
35645 trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c,
35646 tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c,
35647 tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
35648 tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
35649 tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
35650 tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
35651 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
35652 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
35653 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
35654 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
35655 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
35656 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
35657 tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
35658 tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
35659 tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
35662 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
35664 * pass_manager.h (pass_manager::register_dump_files_1): Remove
35666 * passes.c (pass_manager::register_dump_files_1): Merge into
35667 (pass_manager::register_dump_files): this, and remove its handling of
35668 properties since the pass always has the properties anyway.
35669 (pass_manager::pass_manager): Adjust.
35671 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
35673 * pass_manager.h (pass_manager::register_dump_files_1): Adjust.
35674 * passes.c (pass_manager::register_dump_files_1): Remove dead code
35675 dealing with properties.
35676 (pass_manager::register_dump_files): Adjust.
35678 2014-03-20 Mark Wielaard <mjw@redhat.com>
35680 * dwarf2out.c (add_bound_info): If HOST_WIDE_INT is big enough,
35681 then represent the bound as normal constant value.
35683 2014-04-17 Jakub Jelinek <jakub@redhat.com>
35686 Forward port from 4.8 branch
35687 2013-07-19 Kirill Yukhin <kirill.yukhin@intel.com>
35689 * config/i386/bmiintrin.h (_blsi_u32): New.
35690 (_blsi_u64): Ditto.
35691 (_blsr_u32): Ditto.
35692 (_blsr_u64): Ditto.
35693 (_blsmsk_u32): Ditto.
35694 (_blsmsk_u64): Ditto.
35695 (_tzcnt_u32): Ditto.
35696 (_tzcnt_u64): Ditto.
35698 2014-04-17 Kito Cheng <kito@0xlab.org>
35700 * gcc.c (used_arg): Prevent out of bound access for multilib_options.
35702 2014-04-17 Richard Biener <rguenther@suse.de>
35704 PR middle-end/60849
35705 * tree-ssa-propagate.c (valid_gimple_rhs_p): Only allow effective
35706 boolean results for comparisons.
35708 2014-04-17 Richard Biener <rguenther@suse.de>
35710 PR tree-optimization/60836
35711 * tree-vect-loop.c (vect_create_epilog_for_reduction): Force
35712 initial PHI args to be gimple values.
35714 2014-04-17 Richard Biener <rguenther@suse.de>
35716 PR tree-optimization/60841
35717 * tree-vect-data-refs.c (vect_analyze_data_refs): Count stmts.
35718 * tree-vect-loop.c (vect_analyze_loop_2): Pass down number
35719 of stmts to SLP build.
35720 * tree-vect-slp.c (vect_slp_analyze_bb_1): Likewise.
35721 (vect_analyze_slp): Likewise.
35722 (vect_analyze_slp_instance): Likewise.
35723 (vect_build_slp_tree): Limit overall SLP tree growth.
35724 * tree-vectorizer.h (vect_analyze_data_refs,
35725 vect_analyze_slp): Adjust prototypes.
35727 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com>
35729 * config/i386/i386.c (x86_add_stmt_cost): Fix vector cost model for
35732 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com>
35734 * config/i386/x86-tune.def (TARGET_SLOW_PSHUFB): New tune definition.
35735 * config/i386/i386.h (TARGET_SLOW_PSHUFB): New tune flag.
35736 * config/i386/i386.c (expand_vec_perm_even_odd_1): Avoid byte shuffles
35737 for TARGET_SLOW_PSHUFB
35739 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com>
35741 * config/i386/i386.c (slm_cost): Adjust vec_to_scalar_cost.
35742 * config/i386/i386.c (intel_cost): Ditto.
35744 2014-04-17 Joey Ye <joey.ye@arm.com>
35746 * opts.c (OPT_fif_conversion, OPT_fif_conversion2): Disable for Og.
35748 2014-04-16 Jan Hubicka <hubicka@ucw.cz>
35750 * opts.c (common_handle_option): Disable -fipa-reference coorectly
35751 with -fuse-profile.
35753 2014-04-16 Jan Hubicka <hubicka@ucw.cz>
35755 * ipa-devirt.c (odr_type_d): Add field all_derivations_known.
35756 (type_all_derivations_known_p): New predicate.
35757 (type_all_ctors_visible_p): New predicate.
35758 (type_possibly_instantiated_p): New predicate.
35759 (get_odr_type): Compute all_derivations_known.
35760 (dump_odr_type): Dump the flag.
35761 (maybe_record_type): Cleanup.
35762 (record_target_from_binfo): Add bases_to_consider array;
35763 record bases for types w/o instances and skip CXX destructor.
35764 (possible_polymorphic_call_targets_1): Add bases_to_consider
35765 and consider_construction parameters; check if type may have instance.
35766 (get_polymorphic_call_info): Set maybe_in_construction to true
35767 when we know nothing.
35768 (record_targets_from_bases): Skip CXX destructors; they are
35769 never called for types in construction.
35770 (possible_polymorphic_call_targets): Do not record target when
35771 type may not have instance.
35773 2014-04-16 Jan Hubicka <hubicka@ucw.cz>
35776 * ipa.c (symtab_remove_unreachable_nodes): Mark targets of
35777 external aliases alive, too.
35779 2014-04-16 Andrew Pinski <apinski@cavium.com>
35781 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Change aarch64 ilp32
35784 2014-04-16 Eric Botcazou <ebotcazou@adacore.com>
35786 * final.c (compute_alignments): Do not apply loop alignment to a block
35787 falling through to the exit.
35789 2014-04-16 Catherine Moore <clm@codesourcery.com>
35791 * mips.md (*mov<mode>_internal, *movhi_internal, *movqi_internal):
35792 Adjust constraints for microMIPS store patterns.
35794 2014-04-16 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
35796 * config/avr/avr-mcus.def: Correct typo for atxmega256a3bu macro.
35798 2014-04-16 Eric Botcazou <ebotcazou@adacore.com>
35800 * tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P.
35801 (append_use): Run at -O0.
35802 (append_vdef): Likewise.
35803 * tree-ssa-ter.c (ter_is_replaceable_p): Do not special-case -O0.
35804 * tree-ssa-uninit.c (warn_uninitialized_vars): Remove obsolete comment.
35806 2014-04-16 Jakub Jelinek <jakub@redhat.com>
35808 PR tree-optimization/60844
35809 * tree-ssa-reassoc.c (reassoc_remove_stmt): New function.
35810 (propagate_op_to_single_use, remove_visited_stmt_chain,
35811 linearize_expr, repropagate_negates, reassociate_bb): Use it
35812 instead of gsi_remove.
35814 2014-04-16 Martin Jambor <mjambor@suse.cz>
35816 * cgraphclones.c (cgraph_create_virtual_clone): Duplicate
35817 ipa_transforms_to_apply.
35818 (cgraph_function_versioning): Assert that old_node has empty
35819 ipa_transforms_to_apply.
35820 * trans-mem.c (ipa_tm_create_version): Likewise.
35821 * tree-inline.c (tree_function_versioning): Do not duplicate
35822 ipa_transforms_to_apply.
35824 2014-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
35827 * configure.ac (set_have_as_tls): Merge i[34567]86-*-* and
35829 Pass necessary as flags on 64-bit Solaris/x86.
35830 Use lowercase relocs for x86_64-*-*.
35831 * configure: Regenerate.
35833 2014-04-15 Jan Hubicka <jh@suse.cz>
35835 * ipa-devirt.c (referenced_from_vtable_p): New predicate.
35836 (maybe_record_node, likely_target_p): Use it.
35838 2014-04-15 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
35841 Revert following patch
35843 2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com>
35846 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
35847 software floating point or no floating point registers, do not
35848 allow any type in the FPRs. Eliminate a test for SPE SIMD types
35849 in GPRs that occurs after we tested for GPRs that would never be
35852 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
35853 Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
35854 since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE,
35855 specifically allow DDmode, since that does not use the SPE SIMD
35858 2014-03-21 Mark Wielaard <mjw@redhat.com>
35860 * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_const_value
35861 as unsigned or int depending on type and value used.
35863 2014-04-15 Richard Biener <rguenther@suse.de>
35865 PR rtl-optimization/56965
35866 * alias.c (ncr_compar, nonoverlapping_component_refs_p): Move ...
35867 * tree-ssa-alias.c (ncr_compar, nonoverlapping_component_refs_p):
35869 * alias.c (true_dependence_1): Do not call
35870 nonoverlapping_component_refs_p.
35871 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Call
35872 nonoverlapping_component_refs_p.
35873 (indirect_refs_may_alias_p): Likewise.
35875 2014-04-15 Teresa Johnson <tejohnson@google.com>
35877 * cfg.c (dump_bb_info): Fix flags check.
35878 * tree-cfg.c (remove_bb): Only dump TDF_BLOCKS when removing.
35880 2014-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
35882 PR rtl-optimization/60663
35883 * config/arm/arm.c (arm_new_rtx_costs): Improve ASM_OPERANDS case,
35886 2014-04-15 Richard Biener <rguenther@suse.de>
35888 * lto-streamer.h (LTO_major_version): Bump to 4.
35890 2014-04-15 Richard Biener <rguenther@suse.de>
35892 * common.opt (lto_partition_model): New enum.
35893 (flto-partition=): Merge separate options with a single with argument,
35894 add -flto-partition=one support.
35895 * flag-types.h (enum lto_partition_model): Declare.
35896 * opts.c (finish_options): Remove duplicate -flto-partition=
35898 * lto-wrapper.c (run_gcc): Adjust.
35900 2014-04-15 Richard Biener <rguenther@suse.de>
35902 * alias.c (ncr_compar): New function.
35903 (nonoverlapping_component_refs_p): Re-implement in O (n log n).
35905 2014-04-15 Richard Biener <rguenther@suse.de>
35907 * alias.c (record_component_aliases): Do not walk BINFOs.
35909 2014-04-15 Richard Biener <rguenther@suse.de>
35911 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
35912 Add struct function argument and adjust.
35913 (find_func_aliases_for_call): Likewise.
35914 (find_func_aliases): Likewise.
35915 (find_func_clobbers): Likewise.
35916 (intra_create_variable_infos): Likewise.
35917 (compute_points_to_sets): Likewise.
35918 (ipa_pta_execute): Adjust. Do not push/pop cfun.
35920 2014-04-15 Richard Biener <rguenther@suse.de>
35922 * tree.c (iterative_hash_expr): Use enum tree_code_class
35923 to store TREE_CODE_CLASS.
35924 (tree_block): Likewise.
35925 (tree_set_block): Likewise.
35926 * tree.h (fold_build_pointer_plus_loc): Use
35927 convert_to_ptrofftype_loc.
35929 2014-04-15 Jakub Jelinek <jakub@redhat.com>
35932 * Makefile.in (PLUGIN_HEADERS): Add various headers that have been
35935 2014-04-15 Eric Botcazou <ebotcazou@adacore.com>
35937 * cfgloop.h (struct loop): Move force_vectorize down.
35938 * gimplify.c (gimple_boolify) <ANNOTATE_EXPR>: Handle new kinds.
35939 (gimplify_expr) <ANNOTATE_EXPR>: Minor tweak.
35940 * lto-streamer-in.c (input_cfg): Read dont_vectorize field.
35941 * lto-streamer-out.c (output_cfg): Write dont_vectorize field.
35942 * tree-cfg.c (replace_loop_annotate): Revamp and handle new kinds.
35943 * tree-core.h (enum annot_expr_kind): Add new kind values.
35944 * tree-inline.c (copy_loops): Copy dont_vectorize field and reorder.
35945 * tree-pretty-print.c (dump_generic_node) <ANNOTATE_EXPR>: Handle new
35947 * tree.def (ANNOTATE_EXPR): Tweak comment.
35949 2014-04-14 Jan Hubicka <hubicka@ucw.cz>
35951 * ipa-devirt.c (maybe_record_node): Ignore all non-methods (including
35954 2014-04-14 Paolo Carlini <paolo.carlini@oracle.com>
35956 * tree.h (TYPE_IDENTIFIER): Declare.
35957 * tree.c (subrange_type_for_debug_p): Use it.
35958 * godump.c (go_format_type): Likewise.
35959 * dwarf2out.c (is_cxx_auto, modified_type_die,
35960 gen_type_die_with_usage, gen_type_die_with_usage): Likewise.
35961 * dbxout.c (dbxout_type, dbxout_symbol): Likewise.
35963 2014-04-14 Jan Hubicka <hubicka@ucw.cz>
35966 * varpool.c (varpool_remove_node): Do not alter decls when streaming.
35968 2014-04-14 Uros Bizjak <ubizjak@gmail.com>
35970 * config/i386/i386.c (examine_argument): Return bool. Return true if
35971 parameter should be passed in memory.
35972 <case X86_64_COMPLEX_X87_CLASS>: Adjust.
35973 (construct_container): Update calls to examine_argument.
35974 (function_arg_advance_64): Ditto.
35975 (return_in_memory_32): Merge with ix86_return_in_memory.
35976 (return_in_memory_64): Ditto.
35977 (return_in_memory_ms_64): Ditto.
35979 2014-04-14 Jan Hubicka <hubicka@ucw.cz>
35981 * ipa-utils.c (ipa_merge_profiles): Merge profile_id.
35982 * coverage.c (coverage_compute_profile_id): Handle externally visible
35985 2014-04-14 Martin Jambor <mjambor@suse.cz>
35987 * tree-sra.c (ipa_sra_preliminary_function_checks): Skip
35988 DECL_DISREGARD_INLINE_LIMITS functions.
35990 2014-04-14 H.J. Lu <hongjiu.lu@intel.com>
35993 * config/i386/i386.md (*fixuns_trunc<mode>_1): Revert the last change.
35995 2014-04-14 H.J. Lu <hongjiu.lu@intel.com>
35998 * config/i386/i386.md (*fixuns_trunc<mode>_1): Check
35999 optimize_insn_for_speed_p instead of
36000 optimize_function_for_speed_p.
36002 2014-04-14 Yufeng Zhang <yufeng.zhang@arm.com>
36004 * doc/invoke.texi (free): Document AArch64.
36006 2014-04-14 Richard Biener <rguenther@suse.de>
36008 PR tree-optimization/60042
36009 * tree-ssa-pre.c (inhibit_phi_insertion): Remove.
36010 (insert_into_preds_of_block): Do not prevent PHI insertion
36011 for REFERENCE exprs here ...
36012 (eliminate_dom_walker::before_dom_children): ... but prevent
36013 their use here under similar conditions when applied to the
36014 IL after PRE optimizations.
36016 2014-04-14 Richard Biener <rguenther@suse.de>
36018 * passes.def: Move early points-to after early SRA.
36020 2014-04-14 Richard Biener <rguenther@suse.de>
36022 * tree-ssa-forwprop.c (simplify_gimple_switch): Enhance
36023 check for which sign-changes we allow when forwarding
36024 a converted value into a switch.
36026 2014-04-14 Eric Botcazou <ebotcazou@adacore.com>
36028 * stor-layout.c (place_field): Finalize non-constant offset for the
36031 2014-04-14 Richard Biener <rguenther@suse.de>
36033 * tree-switch-conversion.c (lshift_cheap_p): Get speed_p
36035 (expand_switch_using_bit_tests_p): Likewise.
36036 (process_switch): Compute and pass on speed_p based on the
36038 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Use
36039 optimize_bb_for_speed_p.
36041 2014-04-14 Eric Botcazou <ebotcazou@adacore.com>
36043 * cfgloop.h (struct loop): Rename force_vect into force_vectorize.
36044 * function.h (struct function): Rename has_force_vect_loops into
36045 has_force_vectorize_loops.
36046 * lto-streamer-in.c (input_cfg): Adjust for renaming.
36047 (input_struct_function_base): Likewise.
36048 * lto-streamer-out.c (output_cfg): Likewise.
36049 (output_struct_function_base): Likewise.
36050 * omp-low.c (expand_omp_simd): Likewise.
36051 * tree-cfg.c (move_sese_region_to_fn): Likewise.
36052 * tree-if-conv.c (ifcvt_can_use_mask_load_store): Likewise.
36053 (version_loop_for_if_conversion): Likewise.
36054 (tree_if_conversion): Likewise.
36055 (main_tree_if_conversion): Likewise.
36056 (gate_tree_if_conversion): Likewise.
36057 * tree-inline.c (copy_loops): Likewise.
36058 * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely_1): Likewise.
36059 * tree-ssa-loop.c (tree_loop_vectorize): Likewise.
36060 * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Likewise.
36061 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Likewise.
36062 * tree-vectorizer.c (vectorize_loops): Likewise.
36063 * tree-vectorizer.h (unlimited_cost_model): Likewise.
36065 2014-04-14 Richard Biener <rguenther@suse.de>
36068 * lto-streamer-out.c (wrap_refs): New function.
36069 (lto_output): Wrap symbol references in global initializes in
36070 type-preserving MEM_REFs.
36072 2014-04-14 Christian Bruel <christian.bruel@st.com>
36074 * config/sh/sh-mem.cc (sh_expand_strlen): Unroll last word.
36076 2014-04-14 Christian Bruel <christian.bruel@st.com>
36078 * config/sh/sh.md (setmemqi): New expand pattern.
36079 * config/sh/sh.h (CLEAR_RATIO): Define.
36080 * config/sh/sh-mem.cc (sh_expand_setmem): Define.
36081 * config/sh/sh-protos.h (sh_expand_setmem): Declare.
36083 2014-04-14 Richard Biener <rguenther@suse.de>
36085 PR middle-end/55022
36086 * fold-const.c (negate_expr_p): Don't negate directional rounding
36088 (fold_negate_expr): Likewise.
36090 2014-04-14 Richard Biener <rguenther@suse.de>
36092 PR tree-optimization/59817
36093 PR tree-optimization/60453
36094 * graphite-scop-detection.c (graphite_can_represent_scev): Complete
36095 recursion to catch all CHRECs in the scalar evolution and restrict
36096 the predicate for the remains appropriately.
36098 2014-04-12 Catherine Moore <clm@codesourcery.com>
36100 * config/mips/constraints.md: Add new register constraint "kb".
36101 * config/mips/mips.md (*mov<mode>_internal): Use constraint "kb".
36102 (*movhi_internal): Likewise.
36103 (*movqi_internal): Likewise.
36104 * config/mips/mips.h (M16_STORE_REGS): New register class.
36105 (REG_CLASS_NAMES): Add M16_STORE_REGS.
36106 (REG_CLASS_CONTENTS): Likewise.
36107 * config/mips/mips.c (mips_regno_to_class): Add M16_STORE_REGS.
36109 2014-04-11 Tobias Burnus <burnus@net-b.de>
36112 * doc/invoke.texi (-Wformat-signedness): Document it.
36113 (Wformat=2): Mention that this enables -Wformat-signedness.
36115 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com>
36117 * common/config/epiphany/epiphany-common.c
36118 (epiphany_option_optimization_table): Enable section anchors by
36119 default at -O1 or higher.
36120 * config/epiphany/epiphany.c (TARGET_MAX_ANCHOR_OFFSET): Define.
36121 (TARGET_MIN_ANCHOR_OFFSET): Likewise.
36122 (epiphany_rtx_costs) <SET>: For binary operators, the set as such
36123 carries no extra cost.
36124 (epiphany_legitimate_address_p): For BLKmode, apply SImode check.
36125 * config/epiphany/epiphany.h (ASM_OUTPUT_DEF): Define.
36126 * config/epiphany/predicates.md (memclob_operand): New predicate.
36127 * config/epiphany/epiphany.md (stack_adjust_add, stack_adjust_str):
36128 Use memclob_operand predicate and X constraint for operand 3.
36130 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com>
36132 * config/epiphany/epiphany.c (epiphany_rtx_cost): Compare
36133 with CC_N_NE / CC_C_LTU / CC_C_GTU carries no extra cost for
36136 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com>
36138 PR rtl-optimization/60651
36139 * mode-switching.c (optimize_mode_switching): Make sure to emit
36140 sets of a lower numbered entity before sets of a higher numbered
36141 entity to a mode of the same or lower priority.
36142 When creating a seginfo for a basic block that starts with a code
36143 label, move the insertion point past the code label.
36144 (new_seginfo): Document and enforce requirement that
36145 NOTE_INSN_BASIC_BLOCK only appears for empty blocks.
36146 * doc/tm.texi.in: Document ordering constraint for emitted mode sets.
36147 * doc/tm.texi: Regenerate.
36149 2014-01-11 Joern Rennecke <joern.rennecke@embecosm.com>
36152 * config/arc/arc.c (arc_save_restore): Fix assert typo.
36154 2013-04-11 Jakub Jelinek <jakub@redhat.com>
36156 * BASE-VER: Set to 4.10.0.
36158 2014-04-11 Tobias Burnus <burnus@net-b.de>
36161 * doc/bugreport.texi (Bugs): Remove nodes pointing to the nirvana.
36162 * doc/gcc.texi (Service): Update description in the @menu
36163 * doc/invoke.texi (Option Summary): Remove misplaced and
36166 2014-04-11 Steve Ellcey <sellcey@mips.com>
36167 Jakub Jelinek <jakub@redhat.com>
36169 PR middle-end/60556
36170 * expr.c (convert_move): Use emit_store_flag_force instead of
36171 emit_store_flag. Pass lowpart_mode instead of VOIDmode as 5th
36174 2014-04-11 Richard Biener <rguenther@suse.de>
36176 PR middle-end/60797
36177 * varasm.c (assemble_alias): Avoid endless error reporting
36178 recursion by setting TREE_ASM_WRITTEN.
36180 2014-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36182 * config/s390/s390.md: Add a splitter for NOT rtx.
36184 2014-04-11 Jakub Jelinek <jakub@redhat.com>
36186 PR rtl-optimization/60663
36187 * cse.c (cse_insn): Set src_volatile on ASM_OPERANDS in PARALLEL.
36189 2014-04-10 Jan Hubicka <hubicka@ucw.cz>
36190 Jakub Jelinek <jakub@redhat.com>
36193 * ipa.c (function_and_variable_visibility): Copy forced_by_abi
36194 flag from decl_node to node.
36196 2014-04-10 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
36199 * config/arm/arm.c (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Define
36200 (arm_const_not_ok_for_debug_p): Reject MINUS with SYM_REF's
36201 ameliorating the cases where it can be.
36203 2014-04-09 David Edelsohn <dje.gcc@gmail.com>
36206 2014-04-08 Pat Haugen <pthaugen@us.ibm.com>
36208 * config/rs6000/sync.md (AINT mode_iterator): Move definition.
36209 (loadsync_<mode>): Change mode.
36210 (load_quadpti, store_quadpti): New.
36211 (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
36212 * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
36213 * config/rs6000/predicates.md (quad_memory_operand): !TARGET_SYNC_TI.
36215 2014-04-09 Cong Hou <congh@google.com>
36218 * doc/sourcebuild.texi (vect_widen_mult_si_to_di_pattern): Add
36221 2014-04-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
36223 * config/rs6000/rs6000.c (rs6000_expand_vector_set): Use vnand
36224 instead of vnor to exploit possible fusion opportunity in the
36226 (altivec_expand_vec_perm_const_le): Likewise.
36228 2014-04-08 Pat Haugen <pthaugen@us.ibm.com>
36230 * config/rs6000/sync.md (AINT mode_iterator): Move definition.
36231 (loadsync_<mode>): Change mode.
36232 (load_quadpti, store_quadpti): New.
36233 (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
36234 * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
36236 2014-04-08 Richard Sandiford <rdsandiford@googlemail.com>
36239 * config/rs6000/vsx.md (vsx_xscvdpspn_scalar): Change input to DImode.
36240 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Update accordingly.
36241 Use gen_rtx_REG rather than simplify_gen_subreg for op0_di.
36243 2014-04-08 Richard Biener <rguenther@suse.de>
36245 PR middle-end/60706
36246 * tree-pretty-print.c (pp_double_int): For HWI32 hosts with
36247 a 64bit widest int print double-int similar to on HWI64 hosts.
36249 2014-04-08 Richard Biener <rguenther@suse.de>
36251 PR tree-optimization/60785
36252 * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Treat
36253 default defs properly.
36255 2014-04-08 Nathan Sidwell <nathan@codesourcery.com>
36257 * doc/invoke (Wnon-virtual-dtor): Update to match implementation.
36258 (Weffc++): Likewise.
36260 2014-04-07 Jan Hubicka <hubcika@ucw.cz>
36262 * ipa-devirt.c (maybe_record_node): When node is not recorded,
36263 set completep to false rather than true.
36265 2014-04-07 Douglas B Rupp <rupp@adacore.com>
36268 * config/arm/arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Expose from
36269 ARM_TARGET2_DWARF_FORMAT.
36271 2014-04-07 Charles Baylis <charles.baylis@linaro.org>
36274 * config/arm/arm.h (ASM_OUTPUT_CASE_END): Remove.
36275 (LABEL_ALIGN_AFTER_BARRIER): Align barriers which occur after
36278 2014-04-07 Richard Biener <rguenther@suse.de>
36280 PR tree-optimization/60766
36281 * tree-ssa-loop-ivopts.c (cand_value_at): Compute in an unsigned type.
36282 (may_eliminate_iv): Convert cand_value_at result to desired type.
36284 2014-04-07 Jason Merrill <jason@redhat.com>
36287 * common.opt (-fno-gnu-unique): Add.
36288 * config/elfos.h (USE_GNU_UNIQUE_OBJECT): Check it.
36290 2014-04-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
36292 * haifa-sched.c: Fix outdated function reference and minor
36293 grammar errors in introductory comment.
36295 2014-04-07 Richard Biener <rguenther@suse.de>
36297 PR middle-end/60750
36298 * tree-ssa-operands.c (maybe_add_call_vops): Also add VDEFs
36299 for noreturn calls.
36300 * tree-cfgcleanup.c (fixup_noreturn_call): Do not remove VDEFs.
36302 2014-04-06 John David Anglin <danglin@gcc.gnu.org>
36305 * config/pa/pa.c (pa_output_function_epilogue): Skip address and code
36306 size accounting for thunks.
36307 (pa_asm_output_mi_thunk): Use final_start_function() and
36308 final_end_function() to output function start and end directives.
36310 2014-04-05 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
36312 * config/avr/avr-arch.h (avr_mcu_t): Add dev_attribute field to have
36313 device specific ISA/ feature information. Remove short_sp and
36314 errata_skip ds. Add avr_device_specific_features enum to have device
36316 * config/avr/avr-c.c (avr_cpu_cpp_builtins): use dev_attribute to check
36317 errata_skip. Add __AVR_ISA_RMW__ builtin macro if RMW ISA available.
36318 * config/avr/avr-devices.c (avr_mcu_types): Update AVR_MCU macro for
36319 updated device specific info.
36320 * config/avr/avr-mcus.def: Merge device specific details to
36321 dev_attribute field.
36322 * config/avr/avr.c (avr_2word_insn_p): use dev_attribute field to check
36324 * config/avr/avr.h (AVR_HAVE_8BIT_SP): same for short sp info.
36325 * config/avr/driver-avr.c (avr_device_to_as): Pass -mrmw option to
36326 assembler if RMW isa supported by current device.
36327 * config/avr/genmultilib.awk: Update as device info structure changed.
36328 * doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro
36330 2014-04-04 Cong Hou <congh@google.com>
36332 PR tree-optimization/60656
36333 * tree-vect-stmts.c (supportable_widening_operation):
36334 Fix a bug that elements in a vector with vect_used_by_reduction
36335 property are incorrectly reordered when the operation on it is not
36336 consistant with the one in reduction operation.
36338 2014-04-04 John David Anglin <danglin@gcc.gnu.org>
36340 PR rtl-optimization/60155
36341 * gcse.c (record_set_data): New function.
36342 (single_set_gcse): New function.
36343 (gcse_emit_move_after): Use single_set_gcse instead of single_set.
36344 (hoist_code): Likewise.
36345 (get_pressure_class_and_nregs): Likewise.
36347 2014-04-04 Eric Botcazou <ebotcazou@adacore.com>
36349 * explow.c (probe_stack_range): Emit a final optimization blockage.
36351 2014-04-04 Anthony Green <green@moxielogic.com>
36353 * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2): Fix
36356 2014-04-04 Jan Hubicka <hubicka@ucw.cz>
36359 * lto-cgraph.c (input_overwrite_node): Check that partitioning
36360 flags are set only during streaming.
36361 * ipa.c (process_references, walk_polymorphic_call_targets,
36362 symtab_remove_unreachable_nodes): Drop bodies of always inline
36363 after early inlining.
36364 (symtab_remove_unreachable_nodes): Remove always_inline attribute.
36366 2014-04-04 Jakub Jelinek <jakub@redhat.com>
36367 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
36370 * dwarf2out.c (const_ok_for_output_1): Reject expressions
36373 2014-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
36376 * config/arm/cortex-a53.md (cortex_a53_fdivs): Reduce reservation
36378 (cortex_a53_fdivd): Likewise.
36380 2014-04-04 Martin Jambor <mjambor@suse.cz>
36383 * cgraph.h (cgraph_clone_node): New parameter added to declaration.
36384 Adjust all callers.
36385 * cgraph.c (clone_of_p): Also return true if thunks match.
36386 (verify_edge_corresponds_to_fndecl): Removed extraneous call to
36387 cgraph_function_or_thunk_node and an obsolete comment.
36388 * cgraphclones.c (build_function_type_skip_args): Moved upwards in the
36390 (build_function_decl_skip_args): Likewise.
36391 (set_new_clone_decl_and_node_flags): New function.
36392 (duplicate_thunk_for_node): Likewise.
36393 (redirect_edge_duplicating_thunks): Likewise.
36394 (cgraph_clone_node): New parameter args_to_skip, pass it to
36395 redirect_edge_duplicating_thunks which is called instead of
36396 cgraph_redirect_edge_callee.
36397 (cgraph_create_virtual_clone): Pass args_to_skip to cgraph_clone_node,
36398 moved setting of a lot of flags to set_new_clone_decl_and_node_flags.
36400 2014-04-04 Jeff Law <law@redhat.com>
36403 * config/arm/predicates.md (const_int_I_operand): New predicate.
36404 (const_int_M_operand): Similarly.
36405 * config/arm/arm.md (insv_zero): Use const_int_M_operand instead of
36407 (insv_t2, extv_reg, extzv_t2): Likewise.
36408 (load_multiple_with_writeback): Similarly for const_int_I_operand.
36409 (pop_multiple_with_writeback_and_return): Likewise.
36410 (vfp_pop_multiple_with_writeback): Likewise
36412 2014-04-04 Richard Biener <rguenther@suse.de>
36415 * tree-ssanames.c (make_ssa_name_fn): Fix assert.
36416 * gimple.c (gimple_set_bb): Avoid ICEing for NULL cfun for
36418 * gimplify.h (gimple_add_tmp_var_fn): Declare.
36419 * gimplify.c (gimple_add_tmp_var_fn): New function.
36420 * gimple-expr.h (create_tmp_reg_fn): Declare.
36421 * gimple-expr.c (create_tmp_reg_fn): New function.
36422 * gimple-low.c (record_vars_into): Don't change cfun.
36423 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix
36424 code generation without cfun.
36426 2014-04-04 Thomas Schwinge <thomas@codesourcery.com>
36429 * Makefile.in (install-driver): Fix shell scripting.
36431 2014-04-03 Cong Hou <congh@google.com>
36433 PR tree-optimization/60505
36434 * tree-vectorizer.h (struct _stmt_vec_info): Add th field as the
36435 threshold of number of iterations below which no vectorization
36437 * tree-vect-loop.c (new_loop_vec_info):
36438 Initialize LOOP_VINFO_COST_MODEL_THRESHOLD.
36439 * tree-vect-loop.c (vect_analyze_loop_operations):
36440 Set LOOP_VINFO_COST_MODEL_THRESHOLD.
36441 * tree-vect-loop.c (vect_transform_loop):
36442 Use LOOP_VINFO_COST_MODEL_THRESHOLD.
36443 * tree-vect-loop.c (vect_analyze_loop_2): Check the maximum number
36444 of iterations of the loop and see if we should build the epilogue.
36446 2014-04-03 Richard Biener <rguenther@suse.de>
36448 * tree-streamer.h (struct streamer_tree_cache_d): Add next_idx member.
36449 (streamer_tree_cache_create): Adjust.
36450 * tree-streamer.c (streamer_tree_cache_add_to_node_array): Adjust
36451 to allow optional nodes array.
36452 (streamer_tree_cache_insert_1): Use next_idx to assign idx.
36453 (streamer_tree_cache_append): Likewise.
36454 (streamer_tree_cache_create): Create nodes array optionally
36455 as specified by parameter.
36456 * lto-streamer-out.c (create_output_block): Avoid maintaining
36457 the node array in the writer cache.
36458 (DFS_write_tree): Remove assertion.
36459 (produce_asm_for_decls): Free the out decl state hash table early.
36460 * lto-streamer-in.c (lto_data_in_create): Adjust for
36461 streamer_tree_cache_create prototype change.
36463 2014-04-03 Richard Biener <rguenther@suse.de>
36465 * tree-streamer-out.c (streamer_write_chain): Do not temporarily
36466 set TREE_CHAIN to NULL_TREE.
36468 2014-04-03 Richard Biener <rguenther@suse.de>
36470 PR tree-optimization/60740
36471 * graphite-scop-detection.c (stmt_simple_for_scop_p): Iterate
36472 over all GIMPLE_COND operands.
36474 2014-04-03 Nathan Sidwell <nathan@codesourcery.com>
36476 * doc/invoke.texi (Wnon-virtual-dtor): Adjust documentation.
36477 (Weffc++): Remove Scott's numbering, merge lists and reference
36480 2014-04-03 Nick Clifton <nickc@redhat.com>
36482 * config/rl78/rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF))
36485 2014-04-03 Martin Jambor <mjambor@suse.cz>
36487 * ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and
36488 mention gcc_unreachable before failing.
36489 * ipa.c (symtab_remove_unreachable_nodes): Also print order of
36492 2014-04-02 Jan Hubicka <hubicka@ucw.cz>
36495 * ipa-devirt.c (get_polymorphic_call_info): Do not ICE on type
36496 inconsistent code and instead mark the context inconsistent.
36497 (possible_polymorphic_call_targets): For inconsistent contexts
36498 return empty complete list.
36500 2014-04-02 Anthony Green <green@moxielogic.com>
36502 * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2)
36503 (extendqisi2, extendhisi2): Define.
36504 * config/moxie/moxie.h (DEFAULT_SIGNED_CHAR): Change to 0.
36505 (WCHAR_TYPE): Change to unsigned int.
36507 2014-04-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
36509 PR tree-optimization/60733
36510 * gimple-ssa-strength-reduction.c (ncd_with_phi): Change required
36511 insertion point for PHI candidates to be the end of the feeding
36512 block for the PHI argument.
36514 2014-04-02 Vladimir Makarov <vmakarov@redhat.com>
36516 PR rtl-optimization/60650
36517 * lra-constraints.c (process_alt_operands): Decrease reject for
36518 earlyclobber matching.
36520 2014-04-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36522 * config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.
36524 2014-04-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36526 * config/spu/spu.c (pad_bb): Do not crash when the last
36527 insn is CODE_FOR_blockage.
36529 2014-04-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36531 * config/spu/spu.md ("insv"): Fail if bitoffset+bitsize
36532 lies outside the target mode.
36534 2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com>
36537 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
36538 software floating point or no floating point registers, do not
36539 allow any type in the FPRs. Eliminate a test for SPE SIMD types
36540 in GPRs that occurs after we tested for GPRs that would never be
36543 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
36544 Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
36545 since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE,
36546 specifically allow DDmode, since that does not use the SPE SIMD
36549 2014-04-02 Richard Biener <rguenther@suse.de>
36551 PR middle-end/60729
36552 * optabs.c (expand_abs_nojump): Honor flag_trapv only for
36553 MODE_INTs. Properly use negv_optab.
36554 (expand_abs): Likewise.
36556 2014-04-02 Richard Biener <rguenther@suse.de>
36559 * Makefile.in (install-driver): Guard extra installs with special
36562 2014-04-01 Michael Meissner <meissner@linux.vnet.ibm.com>
36564 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
36565 Document vec_vgbbd.
36567 2014-04-01 Richard Henderson <rth@redhat.com>
36570 * config/i386/i386.md (*float<SWI48><MODEF>2_sse): Leave the second
36571 alternative enabled before register allocation.
36573 2014-04-01 Chung-Lin Tang <cltang@codesourcery.com>
36575 * config/nios2/nios2.md (unspec): Remove UNSPEC_TLS, UNSPEC_TLS_LDM.
36576 * config/nios2/nios2.c (nios2_function_profiler): Fix addi operand
36578 (nios2_large_got_address): Remove unneeded 'sym' parameter.
36579 (nios2_got_address): Update nios2_large_got_address call site.
36580 (nios2_delegitimize_address): New function.
36581 (TARGET_DELEGITIMIZE_ADDRESS): Define to nios2_delegitimize_address.
36582 * config/nios2/linux.h (GLIBC_DYNAMIC_LINKER): Define.
36583 (LINK_SPEC): Specify dynamic linker using GNU_USER_DYNAMIC_LINKER.
36585 2014-04-01 Martin Husemann <martin@duskware.de>
36587 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32
36590 2014-04-01 Richard Sandiford <rdsandiford@googlemail.com>
36592 PR rtl-optimization/60604
36593 * recog.c (general_operand): Incorporate REG_CANNOT_CHANGE_MODE_P
36594 check from register_operand.
36595 (register_operand): Redefine in terms of general_operand.
36596 (nonmemory_operand): Use register_operand for the non-constant cases.
36598 2014-04-01 Richard Biener <rguenther@suse.de>
36600 * gimple.h (struct gimple_statement_base): Align subcode to 16 bits.
36602 2014-04-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
36604 * doc/invoke.texi (mapp-regs): Clarify.
36606 2014-03-31 Ulrich Drepper <drepper@gmail.com>
36608 * config/i386/avx512fintrin.h (__v32hi): Define type.
36609 (__v64qi): Likewise.
36610 (_mm512_set1_epi8): Define.
36611 (_mm512_set1_epi16): Define.
36612 (_mm512_set4_epi32): Define.
36613 (_mm512_set4_epi64): Define.
36614 (_mm512_set4_pd): Define.
36615 (_mm512_set4_ps): Define.
36616 (_mm512_setr4_epi64): Define.
36617 (_mm512_setr4_epi32): Define.
36618 (_mm512_setr4_pd): Define.
36619 (_mm512_setr4_ps): Define.
36620 (_mm512_setzero_epi32): Define.
36622 2014-03-31 Martin Jambor <mjambor@suse.cz>
36624 PR middle-end/60647
36625 * tree-sra.c (callsite_has_enough_arguments_p): Renamed to
36626 callsite_arguments_match_p. Updated all callers. Also check types of
36627 corresponding formal parameters and actual arguments.
36628 (not_all_callers_have_enough_arguments_p) Renamed to
36629 some_callers_have_mismatched_arguments_p.
36631 2014-03-31 Yuri Rumyantsev <ysrumyan@gmail.com>
36633 * tree-inline.c (copy_loops): Add missed copy of 'safelen'.
36635 2014-03-31 Kugan Vivekanandarajah <kuganv@linaro.org>
36638 * aarch64/aarch64.c (aarch64_classify_address): Fix alignment for
36641 2014-03-30 Uros Bizjak <ubizjak@gmail.com>
36643 * config/i386/sse.md (FMAMODE_NOVF512): New mode iterator.
36644 (<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>):
36646 <sd_mask_codefor>fma_fmadd_<VF_512:mode><sd_maskz_name><round_name>.
36647 Use FMAMODE_NOVF512 mode iterator.
36648 (<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>): Ditto.
36649 (<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>): Ditto.
36650 (<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>): Ditto.
36651 (<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>):
36653 <sd_mask_codefor>fma_fmaddsub_<VF_512:mode><sd_maskz_name><round_name>.
36654 Use VF_128_256 mode iterator.
36655 (<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>):
36658 2014-03-28 Jan Hubicka <hubicka@ucw.cz>
36660 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear
36661 static chain if needed.
36663 2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
36666 * lra-constraints.c (index_part_to_reg): New.
36667 (process_address): Use it.
36669 2014-03-27 Jeff Law <law@redhat.com>
36670 Jakub Jelinek <jakub@redhat.com>
36673 * expr.c (do_tablejump): Use simplify_gen_binary rather than
36674 gen_rtx_{PLUS,MULT} to build up the address expression.
36676 * i386/i386.c (ix86_legitimize_address): Use copy_addr_to_reg to avoid
36677 creating non-canonical RTL.
36679 2014-03-28 Jan Hubicka <hubicka@ucw.cz>
36682 * ipa-inline.c (want_inline_small_function_p): Short circuit large
36683 functions; reorganize to make cheap checks first.
36684 (inline_small_functions): Do not estimate growth when dumping;
36686 * ipa-inline.h (inline_summary): Add min_size.
36687 (growth_likely_positive): New function.
36688 * ipa-inline-analysis.c (dump_inline_summary): Add min_size.
36689 (set_cond_stmt_execution_predicate): Cleanup.
36690 (estimate_edge_size_and_time): Compute min_size.
36691 (estimate_calls_size_and_time): Likewise.
36692 (estimate_node_size_and_time): Likewise.
36693 (inline_update_overall_summary): Update min_size.
36694 (do_estimate_edge_time): Likewise.
36695 (do_estimate_edge_size): Update.
36696 (do_estimate_edge_hints): Update.
36697 (growth_likely_positive): New function.
36699 2014-03-28 Jakub Jelinek <jakub@redhat.com>
36702 * config/i386/i386.c (ix86_copy_addr_to_reg): Call copy_addr_to_reg
36703 also if addr has VOIDmode.
36705 2014-03-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
36707 * config/arm/aarch-common.c (aarch_crypto_can_dual_issue): New.
36708 * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
36710 * config/arm/cortex-a53.md: Add reservations and bypass for crypto
36711 instructions as well as AdvancedSIMD loads.
36713 2014-03-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
36715 * config/aarch64/aarch64-simd.md (aarch64_crypto_aes<aes_op>v16qi):
36716 Use crypto_aese type.
36717 (aarch64_crypto_aes<aesmc_op>v16qi): Use crypto_aesmc type.
36718 * config/arm/arm.md (is_neon_type): Replace crypto_aes with
36719 crypto_aese, crypto_aesmc. Move to types.md.
36720 * config/arm/types.md (crypto_aes): Split into crypto_aese,
36722 * config/arm/iterators.md (crypto_type): Likewise.
36724 2014-03-28 Jan Hubicka <hubicka@ucw.cz>
36726 * cgraph.c: Include expr.h and tree-dfa.h.
36727 (cgraph_redirect_edge_call_stmt_to_callee): If call in noreturn;
36730 2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
36733 * lra-assigns.c (find_hard_regno_for): Remove unavailable hard
36734 regs from checking multi-reg pseudos.
36736 2014-03-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
36738 * config/arm/t-aprofile (MULTILIB_MATCHES): Correct A12 rule.
36740 2014-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36742 * config/rs6000/rs6000.c (fusion_gpr_load_p): Refuse optimization
36743 if it would clobber the stack pointer, even temporarily.
36745 2014-03-28 Eric Botcazou <ebotcazou@adacore.com>
36747 * mode-switching.c: Make small adjustments to the top comment.
36749 2014-03-27 Michael Meissner <meissner@linux.vnet.ibm.com>
36751 * config/rs6000/constraints.md (wD constraint): New constraint to
36752 match the constant integer to get the top DImode/DFmode out of a
36753 vector in a VSX register.
36755 * config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to
36756 match the constant integer to get the top DImode/DFmode out of a
36757 vector in a VSX register.
36759 * config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin
36762 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
36765 * config/rs6000/rs6000.c (rs6000_debug_reg_global): If
36766 -mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT.
36768 * config/rs6000/vsx.md (vsx_extract_<mode>, V2DI/V2DF modes):
36769 Optimize vec_extract of 64-bit values, where the value being
36770 extracted is in the top word, where we can use scalar
36771 instructions. Add direct move and store support. Combine the big
36772 endian/little endian vector select load support into a single insn.
36773 (vsx_extract_<mode>_internal1): Likewise.
36774 (vsx_extract_<mode>_internal2): Likewise.
36775 (vsx_extract_<mode>_load): Likewise.
36776 (vsx_extract_<mode>_store): Likewise.
36777 (vsx_extract_<mode>_zero): Delete, big and little endian insns are
36778 combined into vsx_extract_<mode>_load.
36779 (vsx_extract_<mode>_one_le): Likewise.
36781 * config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to
36782 define the top 64-bit vector element.
36784 * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD
36787 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
36788 Document vec_vbpermq builtin.
36791 * config/rs6000/altivec.h (vec_xxsldwi): Add missing define to
36792 enable use of xxsldwi and xxpermdi builtin functions.
36793 (vec_xxpermdi): Likewise.
36795 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
36796 Document use of vec_xxsldwi and vec_xxpermdi builtins.
36798 2014-03-27 Vladimir Makarov <vmakarov@redhat.com>
36800 PR rtl-optimization/60650
36801 * lra-assign.c (find_hard_regno_for, spill_for): Add parameter
36803 (find_spills_for): New.
36804 (assign_by_spills): Pass the new parameter to find_hard_regno_for.
36805 Spill all pseudos on the second iteration.
36807 2014-03-27 Marek Polacek <polacek@redhat.com>
36810 * doc/extend.texi (ffs Builtins): Change unsigned types to signed
36813 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36815 * config/s390/s390.c (s390_can_use_return_insn): Check for
36816 call-saved FPRs on 31 bit.
36818 2014-03-27 Jakub Jelinek <jakub@redhat.com>
36820 PR middle-end/60682
36821 * omp-low.c (lower_omp_1): For gimple_clobber_p stmts,
36822 if they need regimplification, just drop them instead of
36823 calling gimple_regimplify_operands on them.
36825 2014-03-27 Marcus Shawcroft <marcus.shawcroft@arm.com>
36828 * config/aarch64/aarch64.c (faked_omit_frame_pointer): Remove.
36829 (aarch64_frame_pointer_required): Adjust logic.
36830 (aarch64_can_eliminate): Adjust logic.
36831 (aarch64_override_options_after_change): Adjust logic.
36833 2014-03-27 Dehao Chen <dehao@google.com>
36835 * ipa-inline.c (early_inliner): Update node's inline info.
36837 2014-03-26 Dehao Chen <dehao@google.com>
36839 * dojump.c (do_compare_rtx_and_jump): Sets correct probability for
36840 compiler inserted conditional jumps for NAN float check.
36842 2014-03-26 Jakub Jelinek <jakub@redhat.com>
36844 * ubsan.h (ubsan_create_data): Change second argument's type
36845 to const location_t *.
36846 * ubsan.c (ubsan_source_location): If xloc.file is NULL, set it to
36848 (ubsan_create_data): Change second argument to const location_t *PLOC.
36849 Create Loc field whenever PLOC is non-NULL.
36850 (ubsan_instrument_unreachable, ubsan_expand_null_ifn,
36851 ubsan_build_overflow_builtin, instrument_bool_enum_load): Adjust
36855 * real.c (real_to_integer2): Change type of low to UHWI.
36857 2014-03-26 Tobias Burnus <burnus@net-b.de>
36859 * gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus.
36860 (CILK_SELF_SPECS): New define.
36861 (driver_self_specs): Use it.
36863 2014-03-26 Richard Biener <rguenther@suse.de>
36865 * tree-pretty-print.c (percent_K_format): Implement special
36866 case for LTO and its stripped down BLOCK tree.
36868 2014-03-26 Jakub Jelinek <jakub@redhat.com>
36871 * ubsan.c (instrument_si_overflow): Instrument ABS_EXPR.
36873 * tree-vrp.c (simplify_internal_call_using_ranges): If only
36874 one range is range_int_cst_p, but not both, at least optimize
36875 addition/subtraction of 0 and multiplication by 0 or 1.
36876 * gimple-fold.c (gimple_fold_call): Fold
36877 IFN_UBSAN_CHECK_{ADD,SUB,MUL}.
36878 (gimple_fold_stmt_to_constant_1): If both op0 and op1 aren't
36879 INTEGER_CSTs, try to fold at least x * 0 and y - y.
36881 2014-03-26 Eric Botcazou <ebotcazou@adacore.com>
36883 PR rtl-optimization/60452
36884 * rtlanal.c (rtx_addr_can_trap_p_1): Fix head comment.
36885 <case REG>: Return 1 for invalid offsets from the frame pointer.
36887 2014-03-26 Marek Polacek <polacek@redhat.com>
36890 * doc/extend.texi (C Extensions): Mention variable-length arrays in
36893 2014-03-26 Marek Polacek <polacek@redhat.com>
36896 * doc/extend.texi (Designated Inits): Describe what happens to omitted
36899 2014-03-26 Marek Polacek <polacek@redhat.com>
36902 * ira-color.c (update_conflict_hard_regno_costs): Perform the
36903 multiplication in unsigned type.
36905 2014-03-26 Chung-Ju Wu <jasonwucj@gmail.com>
36907 * doc/install.texi: Document nds32le-*-elf and nds32be-*-elf.
36909 2014-03-26 Chung-Ju Wu <jasonwucj@gmail.com>
36911 * doc/contrib.texi: Add myself as Andes nds32 port contributor.
36913 2014-03-25 Jan Hubicka <hubicka@ucw.cz>
36916 * cif-code.def (UNREACHABLE) New code.
36917 * ipa-inline.c (inline_small_functions): Skip edges to
36918 __builtlin_unreachable.
36919 (estimate_edge_growth): Allow edges to __builtlin_unreachable.
36920 * ipa-inline-analysis.c (edge_set_predicate): Redirect edges with false
36921 predicate to __bulitin_unreachable.
36922 (set_cond_stmt_execution_predicate): Fix issue when
36923 invert_tree_comparison returns ERROR_MARK.
36924 * ipa-pure-const.c (propagate_pure_const, propagate_nothrow): Do not
36925 propagate to inline clones.
36926 * cgraph.c (verify_edge_corresponds_to_fndecl): Allow redirection
36928 * ipa-cp.c (create_specialized_node): Be ready for new node to appear.
36929 * cgraphclones.c (cgraph_clone_node): If call destination is already
36930 ureachable, do not redirect it back.
36931 * tree-inline.c (fold_marked_statements): Hanlde calls becoming
36934 2014-03-25 Jan Hubicka <hubicka@ucw.cz>
36936 * ipa-pure-const.c (propagate_pure_const, propagate_nothrow):
36937 Do not modify inline clones.
36939 2014-03-25 Jakub Jelinek <jakub@redhat.com>
36941 * config/i386/i386.md (general_sext_operand): New mode attr.
36942 (addv<mode>4, subv<mode>4, mulv<mode>4): If operands[2] is CONST_INT,
36943 don't generate (sign_extend (const_int)).
36944 (*addv<mode>4, *subv<mode>4, *mulv<mode>4): Disallow CONST_INT_P
36945 operands[2]. Use We constraint instead of <i> and
36946 <general_sext_operand> predicate instead of <general_operand>.
36947 (*addv<mode>4_1, *subv<mode>4_1, *mulv<mode>4_1): New insns.
36948 * config/i386/constraints.md (We): New constraint.
36949 * config/i386/predicates.md (x86_64_sext_operand,
36950 sext_operand): New predicates.
36952 2014-03-25 Martin Jambor <mjambor@suse.cz>
36955 * ipa-cp.c (ipa_get_indirect_edge_target_1): Redirect type
36956 inconsistent devirtualizations to __builtin_unreachable.
36958 2014-03-25 Marek Polacek <polacek@redhat.com>
36961 * doc/extend.texi (Example of asm with clobbered asm reg): Fix typo.
36963 2014-03-25 Alan Lawrence <alan.lawrence@arm.com>
36965 * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Reverse
36966 order of elements for big-endian.
36968 2014-03-25 Richard Biener <rguenther@suse.de>
36970 PR middle-end/60635
36971 * gimplify-me.c (gimple_regimplify_operands): Update the
36974 2014-03-25 Martin Jambor <mjambor@suse.cz>
36977 * lto-cgraph.c (lto_output_node): Stream body_removed flag.
36978 (lto_output_varpool_node): Likewise.
36979 (input_overwrite_node): Likewise.
36980 (input_varpool_node): Likewise.
36982 2014-03-25 Richard Biener <rguenther@suse.de>
36984 * lto-wrapper.c (merge_and_complain): Handle OPT_fPIE like OPT_fpie.
36985 (run_gcc): Likewise.
36987 2014-03-25 Jakub Jelinek <jakub@redhat.com>
36989 * combine.c (simplify_compare_const): Add MODE argument.
36990 Handle mode_width 0 as very large mode_width.
36991 (try_combine, simplify_comparison): Adjust callers.
36993 * cselib.c (cselib_hash_rtx): Perform addition in unsigned
36994 type to avoid signed integer overflow.
36995 * explow.c (plus_constant): Likewise.
36997 2014-03-25 Dominik Vogt <vogt@linux.vnet.ibm.com>
36999 * doc/generic.texi: Correct typos.
37001 2014-03-24 Tobias Burnus <burnus@net-b.de>
37003 * doc/invoke.texi (-flto): Expand section about
37004 using static libraries with LTO.
37006 2014-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37008 PR rtl-optimization/60501
37009 * optabs.def (addptr3_optab): New optab.
37010 * optabs.c (gen_addptr3_insn, have_addptr3_insn): New function.
37011 * doc/md.texi ("addptrm3"): Document new RTL standard expander.
37012 * expr.h (gen_addptr3_insn, have_addptr3_insn): Add prototypes.
37014 * lra.c (emit_add3_insn): Use the addptr pattern if available.
37016 * config/s390/s390.md ("addptrdi3", "addptrsi3"): New expanders.
37018 2014-03-24 Ulrich Drepper <drepper@gmail.com>
37020 * config/i386/avx512fintrin.h: Define _mm512_set1_ps and
37023 * config/i386/avxintrin.h (_mm256_undefined_si256): Define.
37024 (_mm256_undefined_ps): Define.
37025 (_mm256_undefined_pd): Define.
37026 * config/i386/emmintrin.h (_mm_undefined_si128): Define.
37027 (_mm_undefined_pd): Define.
37028 * config/i386/xmmintrin.h (_mm_undefined_ps): Define.
37029 * config/i386/avx512fintrin.h (_mm512_undefined_si512): Define.
37030 (_mm512_undefined_ps): Define.
37031 (_mm512_undefined_pd): Define.
37032 Use _mm*_undefined_*.
37033 * config/i386/avx2intrin.h: Use _mm*_undefined_*.
37035 2014-03-24 Alex Velenko <Alex.Velenko@arm.com>
37037 * config/aarch64/aarch64-simd-builtins.def (lshr): DI mode excluded.
37038 (lshr_simd): DI mode added.
37039 * config/aarch64/aarch64-simd.md (aarch64_lshr_simddi): New pattern.
37040 (aarch64_ushr_simddi): Likewise.
37041 * config/aarch64/aarch64.md (UNSPEC_USHR64): New unspec.
37042 * config/aarch64/arm_neon.h (vshr_n_u64): Intrinsic fixed.
37043 (vshrd_n_u64): Likewise.
37045 2014-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
37047 * Makefile.in (s-macro_list): Depend on cc1.
37049 2014-03-23 Teresa Johnson <tejohnson@google.com>
37051 * ipa-utils.c (ipa_print_order): Use specified dump file.
37053 2014-03-23 Eric Botcazou <ebotcazou@adacore.com>
37055 PR rtl-optimization/60601
37056 * bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.
37058 * gcc.c (eval_spec_function): Initialize save_growing_value.
37060 2014-03-22 Jakub Jelinek <jakub@redhat.com>
37063 * internal-fn.c (ubsan_expand_si_overflow_addsub_check): For
37064 code == MINUS_EXPR, never swap op0 with op1.
37066 * toplev.c (init_local_tick): Avoid signed integer multiplication
37068 * genautomata.c (reserv_sets_hash_value): Fix rotate idiom, avoid
37069 shift by first operand's bitsize.
37071 2014-03-21 Jakub Jelinek <jakub@redhat.com>
37074 * config/i386/i386.h (TARGET_64BIT_P): If not TARGET_BI_ARCH,
37075 redefine to 1 or 0.
37076 * config/i386/darwin.h (TARGET_64BIT_P): Redefine to
37077 TARGET_ISA_64BIT_P(x).
37079 2014-03-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
37081 * config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate a
37082 pattern for vector nor instead of subtract from splat(-1).
37083 (altivec_expand_vec_perm_const_le): Likewise.
37085 2014-03-21 Richard Henderson <rth@twiddle.net>
37088 * ifcvt.c (dead_or_predicable): Return FALSE if there are any frame
37089 related insns after epilogue_completed.
37091 2014-03-21 Martin Jambor <mjambor@suse.cz>
37094 * cgraph.h (symtab_node): New flag body_removed.
37095 * ipa.c (symtab_remove_unreachable_nodes): Set body_removed flag
37096 when removing bodies.
37097 * symtab.c (dump_symtab_base): Dump body_removed flag.
37098 * cgraph.c (verify_edge_corresponds_to_fndecl): Skip nodes which
37099 had their bodies removed.
37101 2014-03-21 Martin Jambor <mjambor@suse.cz>
37104 * ipa.c (symtab_remove_unreachable_nodes): Clear thunk flag of nodes
37107 2014-03-21 Richard Biener <rguenther@suse.de>
37109 PR tree-optimization/60577
37110 * tree-core.h (struct tree_base): Document nothrow_flag use
37111 in DECL_NONALIASED.
37112 * tree.h (DECL_NONALIASED): New.
37113 (may_be_aliased): Adjust.
37114 * coverage.c (build_var): Set DECL_NONALIASED.
37116 2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
37118 * expr.c (expand_expr_real_1): Remove outdated comment.
37120 2014-03-20 Jakub Jelinek <jakub@redhat.com>
37122 PR middle-end/60597
37123 * ira.c (adjust_cleared_regs): Call copy_rtx on
37124 *reg_equiv[REGNO (loc)].src_p before passing it to
37125 simplify_replace_fn_rtx.
37128 * config/i386/i386.c (x86_output_mi_thunk): Surround UNSPEC_GOT
37129 into CONST, put pic register as first operand of PLUS. Use
37130 gen_const_mem for both 32-bit and 64-bit PIC got loads.
37132 2014-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
37134 * config/aarch64/aarch64.c (MEMORY_MOVE_COST): Delete.
37136 2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
37138 * config/sparc/sparc.c (sparc_do_work_around_errata): Implement work
37139 around for store forwarding issue in the FPU on the UT699.
37140 * config/sparc/sparc.md (in_branch_delay): Return false for single FP
37141 loads and operations if -mfix-ut699 is specified.
37142 (divtf3_hq): Tweak attribute.
37143 (sqrttf2_hq): Likewise.
37145 2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
37147 * calls.c (store_one_arg): Remove incorrect const qualification on the
37148 type of the temporary.
37149 * cfgexpand.c (expand_return): Likewise.
37150 * expr.c (expand_constructor): Likewise.
37151 (expand_expr_real_1): Likewise.
37153 2014-03-20 Zhenqiang Chen <zhenqiang.chen@linaro.org>
37155 * config/arm/arm.c (arm_dwarf_register_span): Update the element number
37158 2014-03-19 Kaz Kojima <kkojima@gcc.gnu.org>
37161 * config/sh/sh.md (udivsi3_i1): Clobber R1 register.
37163 2014-03-19 James Greenhalgh <james.greenhalgh@arm.com>
37165 * config/arm/aarch-common-protos.h
37166 (alu_cost_table): Fix spelling of "extend".
37167 * config/arm/arm.c (arm_new_rtx_costs): Fix spelling of "extend".
37169 2014-03-19 Richard Biener <rguenther@suse.de>
37171 PR middle-end/60553
37172 * tree-core.h (tree_type_common): Re-order pointer members
37173 to reduce recursion depth during GC walks.
37175 2014-03-19 Marek Polacek <polacek@redhat.com>
37178 * ubsan.c (ubsan_type_descriptor): Check that DECL_NAME is nonnull
37179 before accessing it.
37181 2014-03-19 Richard Biener <rguenther@suse.de>
37184 * lto-streamer-in.c (input_function): In WPA stage do not drop
37187 2014-03-19 Jakub Jelinek <jakub@redhat.com>
37189 PR tree-optimization/60559
37190 * vectorizable_mask_load_store): Replace scalar MASK_LOAD
37191 with build_zero_cst assignment.
37193 2014-03-18 Kai Tietz <ktietz@redhat.com>
37195 PR rtl-optimization/56356
37196 * sdbout.c (sdbout_parms): Verify that parms'
37197 incoming argument is valid.
37198 (sdbout_reg_parms): Likewise.
37200 2014-03-18 Richard Henderson <rth@redhat.com>
37203 * config/i386/i386.md (*float<SWI48x><MODEF>2_i387): Move down to
37204 be shadowed by *float<SWI48><MODEF>2_sse. Test X87_ENABLE_FLOAT.
37205 (*float<SWI48><MODEF>2_sse): Check X87_ENABLE_FLOAT for alternative 0.
37207 2014-03-18 Basile Starynkevitch <basile@starynkevitch.net>
37209 * plugin.def: Improve comment for PLUGIN_INCLUDE_FILE.
37210 * doc/plugins.texi (Plugin callbacks): Mention PLUGIN_INCLUDE_FILE.
37211 Italicize plugin event names in description. Explain that
37212 PLUGIN_PRAGMAS has no sense for lto1. Explain PLUGIN_INCLUDE_FILE.
37213 Remind that no GCC functions should be called after PLUGIN_FINISH.
37214 Explain what pragmas with expansion are.
37216 2014-03-18 Martin Liska <mliska@suse.cz>
37218 * cgraph.c (cgraph_update_edges_for_call_stmt_node): Added case when
37219 gimple call statement is update.
37220 * gimple-fold.c (gimple_fold_call): Changed order for GIMPLE_ASSIGN and
37221 GIMPLE_CALL, where gsi iterator still points to GIMPLE CALL.
37223 2014-03-18 Jakub Jelinek <jakub@redhat.com>
37226 * ubsan.c (ubsan_instrument_unreachable): Call
37227 initialize_sanitizer_builtins.
37228 (ubsan_pass): Likewise.
37231 * ubsan.c (ubsan_type_descriptor, ubsan_create_data): Call
37232 varpool_finalize_decl instead of rest_of_decl_compilation.
37234 2014-03-18 Richard Biener <rguenther@suse.de>
37236 * df-problems.c (df_rd_confluence_n): Avoid bitmap_copy
37237 by using bitmap_and_compl instead of bitmap_and_compl_into.
37238 (df_rd_transfer_function): Likewise.
37240 2014-03-18 Richard Biener <rguenther@suse.de>
37242 * doc/lto.texi (fresolution): Fix typo.
37244 2014-03-18 Richard Biener <rguenther@suse.de>
37246 * doc/invoke.texi (flto): Update for changes in 4.9.
37248 2014-03-18 Richard Biener <rguenther@suse.de>
37250 * doc/loop.texi: Remove section on the removed lambda framework.
37251 Update loop docs with recent changes in preserving loop structure.
37253 2014-03-18 Richard Biener <rguenther@suse.de>
37255 * doc/lto.texi (-fresolution): Document.
37257 2014-03-18 Richard Biener <rguenther@suse.de>
37259 * doc/contrib.texi: Adjust my name.
37261 2014-03-18 Jakub Jelinek <jakub@redhat.com>
37264 * internal-fn.c: Include diagnostic-core.h.
37265 (expand_BUILTIN_EXPECT): New function.
37266 * gimplify.c (gimplify_call_expr): Use false instead of FALSE.
37267 (gimplify_modify_expr): Gimplify 3 argument __builtin_expect into
37268 IFN_BUILTIN_EXPECT call instead of __builtin_expect builtin call.
37269 * ipa-inline-analysis.c (find_foldable_builtin_expect): Handle
37270 IFN_BUILTIN_EXPECT.
37271 * predict.c (expr_expected_value_1): Handle IFN_BUILTIN_EXPECT.
37272 Revert 3 argument __builtin_expect code.
37273 (strip_predict_hints): Handle IFN_BUILTIN_EXPECT.
37274 * gimple-fold.c (gimple_fold_call): Likewise.
37275 * tree.h (fold_builtin_expect): New prototype.
37276 * builtins.c (build_builtin_expect_predicate): Add predictor
37277 argument, if non-NULL, create 3 argument __builtin_expect.
37278 (fold_builtin_expect): No longer static. Add ARG2 argument,
37279 pass it through to build_builtin_expect_predicate.
37280 (fold_builtin_2): Adjust caller.
37281 (fold_builtin_3): Handle BUILT_IN_EXPECT.
37282 * internal-fn.def (BUILTIN_EXPECT): New.
37284 2014-03-18 Tobias Burnus <burnus@net-b.de>
37287 * predict.def (PRED_FORTRAN_OVERFLOW, PRED_FORTRAN_FAIL_ALLOC,
37288 PRED_FORTRAN_FAIL_IO, PRED_FORTRAN_WARN_ONCE, PRED_FORTRAN_SIZE_ZERO,
37289 PRED_FORTRAN_INVALID_BOUND, PRED_FORTRAN_ABSENT_DUMMY): Add.
37291 2014-03-18 Jan Hubicka <hubicka@ucw.cz>
37294 * predict.c (combine_predictions_for_bb): Fix up formatting.
37295 (expr_expected_value_1, expr_expected_value): Add predictor argument,
37296 fill what it points to if non-NULL.
37297 (tree_predict_by_opcode): Adjust caller, use the predictor.
37298 * predict.def (PRED_COMPARE_AND_SWAP): Add.
37300 2014-03-18 Eric Botcazou <ebotcazou@adacore.com>
37302 * config/sparc/sparc.c (sparc_do_work_around_errata): Speed up and use
37303 proper constant for the store mode.
37305 2014-03-18 Ilya Enkovich <ilya.enkovich@intel.com>
37307 * symtab.c (change_decl_assembler_name): Fix transparent alias
37308 chain construction.
37310 2014-03-16 Renlin Li <Renlin.Li@arm.com>
37312 * config/aarch64/aarch64.c: Correct the comments about the
37313 aarch64 stack layout.
37315 2014-03-18 Thomas Schwinge <thomas@codesourcery.com>
37317 * omp-low.c (lower_rec_input_clauses) <build_omp_barrier>: Restore
37318 check for GF_OMP_FOR_KIND_FOR.
37320 2013-03-18 Kirill Yukhin <kirill.yukhin@intel.com>
37322 * config/i386/i386.h (ADDITIONAL_REGISTER_NAMES): Add
37323 ymm and zmm register names.
37325 2014-03-17 Jakub Jelinek <jakub@redhat.com>
37328 * config/i386/i386.c (ix86_expand_epilogue): Adjust REG_CFA_ADJUST_CFA
37329 note creation for the 2010-08-31 changes.
37331 2014-03-17 Marek Polacek <polacek@redhat.com>
37333 PR middle-end/60534
37334 * omp-low.c (omp_max_vf): Treat -fno-tree-loop-optimize the same
37335 as -fno-tree-loop-vectorize.
37336 (expand_omp_simd): Likewise.
37338 2014-03-15 Eric Botcazou <ebotcazou@adacore.com>
37340 * config/sparc/sparc-protos.h (tls_call_delay): Delete.
37341 (eligible_for_call_delay): New prototype.
37342 * config/sparc/sparc.c (tls_call_delay): Rename into...
37343 (eligible_for_call_delay): ...this. Return false if the instruction
37344 cannot be put in the delay slot of a branch.
37345 (eligible_for_restore_insn): Simplify.
37346 (eligible_for_return_delay): Return false if the instruction cannot be
37347 put in the delay slot of a branch and simplify.
37348 (eligible_for_sibcall_delay): Return false if the instruction cannot be
37349 put in the delay slot of a branch.
37350 * config/sparc/sparc.md (fix_ut699): New attribute.
37351 (tls_call_delay): Delete.
37352 (in_call_delay): Reimplement.
37353 (eligible_for_sibcall_delay): Rename into...
37354 (in_sibcall_delay): ...this.
37355 (eligible_for_return_delay): Rename into...
37356 (in_return_delay): ...this.
37357 (in_branch_delay): Reimplement.
37358 (in_uncond_branch_delay): Delete.
37359 (in_annul_branch_delay): Delete.
37361 2014-03-14 Richard Henderson <rth@redhat.com>
37364 * config/i386/i386.md (floathi<X87MODEF>2): Delete expander; rename
37365 define_insn from *floathi<X87MODEF>2_i387; allow nonimmediate_operand.
37366 (*floathi<X87MODEF>2_i387_with_temp): Remove.
37367 (floathi splitters): Remove.
37368 (float<SWI48x>xf2): New pattern.
37369 (float<SWI48><MODEF>2): Rename from float<SWI48x><X87MODEF>2. Drop
37370 code that tried to handle DImode for 32-bit, but which was excluded
37371 by the pattern's condition. Drop allocation of stack temporary.
37372 (*floatsi<MODEF>2_vector_mixed_with_temp): Remove.
37373 (*float<SWI48><MODEF>2_mixed_with_temp): Remove.
37374 (*float<SWI48><MODEF>2_mixed_interunit): Remove.
37375 (*float<SWI48><MODEF>2_mixed_nointerunit): Remove.
37376 (*floatsi<MODEF>2_vector_sse_with_temp): Remove.
37377 (*float<SWI48><MODEF>2_sse_with_temp): Remove.
37378 (*float<SWI48><MODEF>2_sse_interunit): Remove.
37379 (*float<SWI48><MODEF>2_sse_nointerunit): Remove.
37380 (*float<SWI48x><X87MODEF>2_i387_with_temp): Remove.
37381 (*float<SWI48x><X87MODEF>2_i387): Remove.
37382 (all float _with_temp splitters): Remove.
37383 (*float<SWI48x><MODEF>2_i387): New pattern.
37384 (*float<SWI48><MODEF>2_sse): New pattern.
37385 (float TARGET_USE_VECTOR_CONVERTS splitters): Merge them.
37386 (float TARGET_SSE_PARTIAL_REG_DEPENDENCY splitters): Merge them.
37388 2014-03-14 Jakub Jelinek <jakub@redhat.com>
37389 Marek Polacek <polacek@redhat.com>
37391 PR middle-end/60484
37392 * common.opt (dump_base_name_prefixed): New Variable.
37393 * opts.c (finish_options): Don't prepend directory to x_dump_base_name
37394 if x_dump_base_name_prefixed is already set, set it at the end.
37396 2014-03-14 Vladimir Makarov <vmakarov@redhat.com>
37398 PR rtl-optimization/60508
37399 * lra-constraints.c (get_reload_reg): Add new parameter
37401 (process_addr_reg, simplify_operand_subreg, curr_insn_transform):
37402 Pass the new parameter values.
37404 2014-03-14 Richard Biener <rguenther@suse.de>
37406 * common.opt: Revert unintented changes from r205065.
37407 * opts.c: Likewise.
37409 2014-03-14 Richard Biener <rguenther@suse.de>
37411 PR middle-end/60518
37412 * cfghooks.c (split_block): Properly adjust all loops the
37413 block was a latch of.
37415 2014-03-14 Martin Jambor <mjambor@suse.cz>
37418 * ipa-prop.c (ipa_modify_call_arguments): Fix iteration condition
37421 2014-03-14 Georg-Johann Lay <avr@gjlay.de>
37424 * config/avr/avr.c (avr_set_current_function): Pass function name
37425 through default_strip_name_encoding before sanity checking instead
37426 of skipping the first char of the assembler name.
37428 2014-03-13 Richard Henderson <rth@redhat.com>
37431 * config/i386/i386.c (ix86_split_fp_branch): Remove pushed argument.
37432 (ix86_force_to_memory, ix86_free_from_memory): Remove.
37433 * config/i386/i386-protos.h: Likewise.
37434 * config/i386/i386.md (floathi<X87MODEF>2): Use assign_386_stack_local
37435 in the expander instead of a splitter.
37436 (float<SWI48x><X87MODEF>2): Use assign_386_stack_local if there is
37437 any possibility of requiring a memory.
37438 (*floatsi<MODEF>2_vector_mixed): Remove, and the splitters.
37439 (*floatsi<MODEF>2_vector_sse): Remove, and the splitters.
37440 (fp branch splitters): Update for ix86_split_fp_branch.
37441 (*jcc<X87MODEF>_<SWI24>_i387): Remove r/f alternative.
37442 (*jcc<X87MODEF>_<SWI24>_r_i387): Likewise.
37443 (splitter for jcc<X87MODEF>_<SWI24>_i387 r/f): Remove.
37444 (*fop_<MODEF>_2_i387): Remove f/r alternative.
37445 (*fop_<MODEF>_3_i387): Likewise.
37446 (*fop_xf_2_i387, *fop_xf_3_i387): Likewise.
37447 (splitters for the fop_* register patterns): Remove.
37448 (fscalexf4_i387): Rename from *fscalexf4_i387.
37449 (ldexpxf3): Use gen_floatsixf2 and gen_fscalexf4_i387.
37451 2014-03-13 Jakub Jelinek <jakub@redhat.com>
37453 PR tree-optimization/59779
37454 * tree-dfa.c (get_ref_base_and_extent): Use double_int
37455 type for bitsize and maxsize instead of HOST_WIDE_INT.
37457 2014-03-13 Steven Bosscher <steven@gcc.gnu.org>
37459 PR rtl-optimization/57320
37460 * function.c (rest_of_handle_thread_prologue_and_epilogue): Cleanup
37461 the CFG after thread_prologue_and_epilogue_insns.
37463 2014-03-13 Vladimir Makarov <vmakarov@redhat.com>
37465 PR rtl-optimization/57189
37466 * lra-constraints.c (process_alt_operands): Disfavor spilling
37469 2014-03-13 Cesar Philippidis <cesar@codesourcery.com>
37471 * lto-wrapper.c (maybe_unlink_file): Suppress diagnostic messages.
37473 2014-03-13 Jakub Jelinek <jakub@redhat.com>
37475 PR tree-optimization/59025
37476 PR middle-end/60418
37477 * tree-ssa-reassoc.c (sort_by_operand_rank): For SSA_NAMEs with the
37478 same rank, sort by bb_rank and gimple_uid of SSA_NAME_DEF_STMT first.
37480 2014-03-13 Georg-Johann Lay <avr@gjlay.de>
37483 * config/avr/avr.c (avr_out_plus): Swap cc_plus and cc_minus in
37484 calls of avr_out_plus_1.
37486 2014-03-13 Bin Cheng <bin.cheng@arm.com>
37488 * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Record
37489 BB's single pred and update the father loop's latch info later.
37491 2014-03-12 Michael Meissner <meissner@linux.vnet.ibm.com>
37493 * config/rs6000/vector.md (VEC_L): Add V1TI mode to vector types.
37497 (VEC_base): Likewise.
37498 (mov<MODE>, VEC_M modes): If we are loading TImode into VSX
37499 registers, we need to swap double words in little endian mode.
37501 * config/rs6000/rs6000-modes.def (V1TImode): Add new vector mode
37502 to be a container mode for 128-bit integer operations added in ISA
37503 2.07. Unlike TImode and PTImode, the preferred register set is
37504 the Altivec/VMX registers for the 128-bit operations.
37506 * config/rs6000/rs6000-protos.h (rs6000_move_128bit_ok_p): Add
37508 (rs6000_split_128bit_ok_p): Likewise.
37510 * config/rs6000/rs6000-builtin.def (BU_P8V_AV_3): Add new support
37511 macros for creating ISA 2.07 normal and overloaded builtin
37512 functions with 3 arguments.
37513 (BU_P8V_OVERLOAD_3): Likewise.
37514 (VPERM_1T): Add support for V1TImode in 128-bit vector operations
37515 for use as overloaded functions.
37516 (VPERM_1TI_UNS): Likewise.
37517 (VSEL_1TI): Likewise.
37518 (VSEL_1TI_UNS): Likewise.
37519 (ST_INTERNAL_1ti): Likewise.
37520 (LD_INTERNAL_1ti): Likewise.
37521 (XXSEL_1TI): Likewise.
37522 (XXSEL_1TI_UNS): Likewise.
37523 (VPERM_1TI): Likewise.
37524 (VPERM_1TI_UNS): Likewise.
37525 (XXPERMDI_1TI): Likewise.
37526 (SET_1TI): Likewise.
37527 (LXVD2X_V1TI): Likewise.
37528 (STXVD2X_V1TI): Likewise.
37529 (VEC_INIT_V1TI): Likewise.
37530 (VEC_SET_V1TI): Likewise.
37531 (VEC_EXT_V1TI): Likewise.
37532 (EQV_V1TI): Likewise.
37533 (NAND_V1TI): Likewise.
37534 (ORC_V1TI): Likewise.
37535 (VADDCUQ): Add support for 128-bit integer arithmetic instructions
37536 added in ISA 2.07. Add both normal 'altivec' builtins, and the
37537 overloaded builtin.
37538 (VADDUQM): Likewise.
37539 (VSUBCUQ): Likewise.
37540 (VADDEUQM): Likewise.
37541 (VADDECUQ): Likewise.
37542 (VSUBEUQM): Likewise.
37543 (VSUBECUQ): Likewise.
37545 * config/rs6000/rs6000-c.c (__int128_type): New static to hold
37546 __int128_t and __uint128_t types.
37547 (__uint128_type): Likewise.
37548 (altivec_categorize_keyword): Add support for vector __int128_t,
37549 vector __uint128_t, vector __int128, and vector unsigned __int128
37550 as a container type for TImode operations that need to be done in
37551 VSX/Altivec registers.
37552 (rs6000_macro_to_expand): Likewise.
37553 (altivec_overloaded_builtins): Add ISA 2.07 overloaded functions
37554 to support 128-bit integer instructions vaddcuq, vadduqm,
37555 vaddecuq, vaddeuqm, vsubcuq, vsubuqm, vsubecuq, vsubeuqm.
37556 (altivec_resolve_overloaded_builtin): Add support for V1TImode.
37558 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Add support
37559 for V1TImode, and set up preferences to use VSX/Altivec registers.
37560 Setup VSX reload handlers.
37561 (rs6000_debug_reg_global): Likewise.
37562 (rs6000_init_hard_regno_mode_ok): Likewise.
37563 (rs6000_preferred_simd_mode): Likewise.
37564 (vspltis_constant): Do not allow V1TImode as easy altivec constants.
37565 (easy_altivec_constant): Likewise.
37566 (output_vec_const_move): Likewise.
37567 (rs6000_expand_vector_set): Convert V1TImode set and extract to
37569 (rs6000_expand_vector_extract): Likewise.
37570 (reg_offset_addressing_ok_p): Setup V1TImode to use VSX reg+reg
37572 (rs6000_const_vec): Add support for V1TImode.
37573 (rs6000_emit_le_vsx_load): Swap double words when loading or
37574 storing TImode/V1TImode.
37575 (rs6000_emit_le_vsx_store): Likewise.
37576 (rs6000_emit_le_vsx_move): Likewise.
37577 (rs6000_emit_move): Add support for V1TImode.
37578 (altivec_expand_ld_builtin): Likewise.
37579 (altivec_expand_st_builtin): Likewise.
37580 (altivec_expand_vec_init_builtin): Likewise.
37581 (altivec_expand_builtin): Likewise.
37582 (rs6000_init_builtins): Add support for V1TImode type. Add
37583 support for ISA 2.07 128-bit integer builtins. Define type names
37584 for the VSX/Altivec vector types.
37585 (altivec_init_builtins): Add support for overloaded vector
37586 functions with V1TImode type.
37587 (rs6000_preferred_reload_class): Prefer Altivec registers for V1TImode.
37588 (rs6000_move_128bit_ok_p): Move 128-bit move/split validation to
37590 (rs6000_split_128bit_ok_p): Likewise.
37591 (rs6000_handle_altivec_attribute): Create V1TImode from vector
37592 __int128_t and vector __uint128_t.
37594 * config/rs6000/vsx.md (VSX_L): Add V1TImode to vector iterators
37595 and mode attributes.
37597 (VSX_M2): Likewise.
37602 (VS_scalar): Likewise.
37603 (VS_double): Likewise.
37604 (vsx_set_v1ti): New builtin function to create V1TImode from TImode.
37606 * config/rs6000/rs6000.h (TARGET_VADDUQM): New macro to say whether
37607 we support the ISA 2.07 128-bit integer arithmetic instructions.
37608 (ALTIVEC_OR_VSX_VECTOR_MODE): Add V1TImode.
37609 (enum rs6000_builtin_type_index): Add fields to hold V1TImode
37610 and TImode types for use with the builtin functions.
37611 (V1TI_type_node): Likewise.
37612 (unsigned_V1TI_type_node): Likewise.
37613 (intTI_type_internal_node): Likewise.
37614 (uintTI_type_internal_node): Likewise.
37616 * config/rs6000/altivec.md (UNSPEC_VADDCUQ): New unspecs for ISA 2.07
37617 128-bit builtin functions.
37618 (UNSPEC_VADDEUQM): Likewise.
37619 (UNSPEC_VADDECUQ): Likewise.
37620 (UNSPEC_VSUBCUQ): Likewise.
37621 (UNSPEC_VSUBEUQM): Likewise.
37622 (UNSPEC_VSUBECUQ): Likewise.
37623 (VM): Add V1TImode to vector mode iterators.
37625 (VI_unit): Likewise.
37626 (altivec_vadduqm): Add ISA 2.07 128-bit binary builtins.
37627 (altivec_vaddcuq): Likewise.
37628 (altivec_vsubuqm): Likewise.
37629 (altivec_vsubcuq): Likewise.
37630 (altivec_vaddeuqm): Likewise.
37631 (altivec_vaddecuq): Likewise.
37632 (altivec_vsubeuqm): Likewise.
37633 (altivec_vsubecuq): Likewise.
37635 * config/rs6000/rs6000.md (FMOVE128_GPR): Add V1TImode to vector
37637 (BOOL_128): Likewise.
37638 (BOOL_REGS_OUTPUT): Likewise.
37639 (BOOL_REGS_OP1): Likewise.
37640 (BOOL_REGS_OP2): Likewise.
37641 (BOOL_REGS_UNARY): Likewise.
37642 (BOOL_REGS_AND_CR0): Likewise.
37644 * config/rs6000/altivec.h (vec_vaddcuq): Add support for ISA 2.07
37645 128-bit integer builtin support.
37646 (vec_vadduqm): Likewise.
37647 (vec_vaddecuq): Likewise.
37648 (vec_vaddeuqm): Likewise.
37649 (vec_vsubecuq): Likewise.
37650 (vec_vsubeuqm): Likewise.
37651 (vec_vsubcuq): Likewise.
37652 (vec_vsubuqm): Likewise.
37654 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
37655 Document vec_vaddcuq, vec_vadduqm, vec_vaddecuq, vec_vaddeuqm,
37656 vec_subecuq, vec_subeuqm, vec_vsubcuq, vec_vsubeqm builtins adding
37657 128-bit integer add/subtract to ISA 2.07.
37659 2014-03-12 Joern Rennecke <joern.rennecke@embecosm.com>
37661 * config/arc/arc.c (arc_predicate_delay_insns):
37662 Fix third argument passed to conditionalize_nonjump.
37664 2014-03-12 Yufeng Zhang <yufeng.zhang@arm.com>
37666 * config/aarch64/aarch64-builtins.c
37667 (aarch64_builtin_vectorized_function): Add BUILT_IN_LFLOORF,
37668 BUILT_IN_LLFLOOR, BUILT_IN_LCEILF and BUILT_IN_LLCEIL.
37669 * config/aarch64/arm_neon.h (vcvtaq_u64_f64): Call __builtin_llfloor
37670 instead of __builtin_lfloor.
37671 (vcvtnq_u64_f64): Call __builtin_llceil instead of __builtin_lceil.
37673 2014-03-12 Jakub Jelinek <jakub@redhat.com>
37675 * tree-ssa-ifcombine.c (forwarder_block_to): New function.
37676 (tree_ssa_ifcombine_bb_1): New function.
37677 (tree_ssa_ifcombine_bb): Use it. Handle also cases where else_bb
37678 is an empty forwarder block to then_bb or vice versa and then_bb
37679 and else_bb are effectively swapped.
37681 2014-03-12 Christian Bruel <christian.bruel@st.com>
37684 * config/arm/arm.c (arm_emit_vfp_multi_reg_pop): Emit a
37685 REG_CFA_DEF_CFA note.
37686 (arm_expand_epilogue_apcs_frame): call arm_add_cfa_adjust_cfa_note.
37687 (arm_unwind_emit): Allow REG_CFA_DEF_CFA.
37689 2014-03-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
37691 PR tree-optimization/60454
37692 * tree-ssa-math-opts.c (find_bswap_1): Fix bswap detection.
37694 2014-03-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
37696 * config.gcc (aarch64*-*-*): Use ISA flags from aarch64-arches.def.
37697 Do not define target_cpu_default2 to generic.
37698 * config/aarch64/aarch64.h (TARGET_CPU_DEFAULT): Use generic cpu.
37699 * config/aarch64/aarch64.c (aarch64_override_options): Update comment.
37700 * config/aarch64/aarch64-arches.def (armv8-a): Use generic cpu.
37702 2014-03-12 Jakub Jelinek <jakub@redhat.com>
37703 Marc Glisse <marc.glisse@inria.fr>
37705 PR tree-optimization/60502
37706 * tree-ssa-reassoc.c (eliminate_not_pairs): Use build_all_ones_cst
37707 instead of build_low_bits_mask.
37709 2014-03-12 Jakub Jelinek <jakub@redhat.com>
37711 PR middle-end/60482
37712 * tree-vrp.c (register_edge_assert_for_1): Don't add assert
37713 if there are multiple uses, but op doesn't live on E edge.
37714 * tree-cfg.c (assert_unreachable_fallthru_edge_p): Also ignore
37715 clobber stmts before __builtin_unreachable.
37717 2014-03-11 Richard Sandiford <rdsandiford@googlemail.com>
37719 * builtins.c (expand_builtin_setjmp_receiver): Use and clobber
37720 hard_frame_pointer_rtx.
37721 * cse.c (cse_insn): Remove volatile check.
37722 * cselib.c (cselib_process_insn): Likewise.
37723 * dse.c (scan_insn): Likewise.
37725 2014-03-11 Joern Rennecke <joern.rennecke@embecosm.com>
37727 * config/arc/arc.c (conditionalize_nonjump): New function,
37729 (arc_ifcvt): ... this.
37730 (arc_predicate_delay_insns): Use it.
37732 2014-03-11 Joern Rennecke <joern.rennecke@embecosm.com>
37734 * config/arc/predicates.md (extend_operand): During/after reload,
37735 allow const_int_operand.
37736 * config/arc/arc.md (mulsidi3_700): Use extend_operand predicate.
37737 (umulsidi3_700): Likewise. Change operand 2 constraint back to "cL".
37738 (mulsi3_highpart): Change operand 2 constraint alternatives 2 and 3
37740 (umulsi3_highpart_i): Likewise.
37742 2014-03-11 Richard Biener <rguenther@suse.de>
37744 * tree-ssa-structalias.c (get_constraint_for_ptr_offset):
37745 Add asserts to guard possible wrong-code bugs.
37747 2014-03-11 Richard Biener <rguenther@suse.de>
37749 PR tree-optimization/60429
37750 PR tree-optimization/60485
37751 * tree-ssa-structalias.c (set_union_with_increment): Properly
37752 take into account all fields that overlap the shifted vars.
37753 (do_sd_constraint): Likewise.
37754 (do_ds_constraint): Likewise.
37755 (get_constraint_for_ptr_offset): Likewise.
37757 2014-03-11 Chung-Lin Tang <cltang@codesourcery.com>
37759 * config/nios2/nios2.c (machine_function): Add fp_save_offset field.
37760 (nios2_compute_frame_layout):
37761 Add calculation of cfun->machine->fp_save_offset.
37762 (nios2_expand_prologue): Correct setting of frame pointer register
37764 (nios2_expand_epilogue): Update recovery of stack pointer from
37765 frame pointer accordingly.
37766 (nios2_initial_elimination_offset): Update calculation of offset
37767 for eliminating to HARD_FRAME_POINTER_REGNUM.
37769 2014-03-10 Jakub Jelinek <jakub@redhat.com>
37772 * ipa.c (symtab_remove_unreachable_nodes): Don't call
37773 cgraph_get_create_node on VAR_DECLs.
37775 2014-03-10 Richard Biener <rguenther@suse.de>
37777 PR middle-end/60474
37778 * tree.c (signed_or_unsigned_type_for): Handle OFFSET_TYPEs.
37780 2014-03-08 Douglas B Rupp <rupp@gnat.com>
37782 * config/vms/vms.opt (vms_float_format): New variable.
37784 2014-03-08 Tobias Burnus <burnus@net-b.de>
37786 * doc/invoke.texi (-fcilkplus): Update implementation status.
37788 2014-03-08 Paulo Matos <paulo@matos-sorge.com>
37789 Richard Biener <rguenther@suse.de>
37791 * lto-wrapper.c (merge_and_complain): Ensure -fshort-double is used
37792 consistently accross all TUs.
37793 (run_gcc): Enable -fshort-double automatically at link at link-time
37794 and disallow override.
37796 2014-03-08 Richard Sandiford <rdsandiford@googlemail.com>
37799 * config/mips/mips.c (mips_option_override): Promote -mpaired-single
37800 warning to an error. Disable TARGET_PAIRED_SINGLE and TARGET_MIPS3D
37801 if they can't be used.
37803 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
37805 * configure.ac (HAVE_AS_IX86_TLSLDMPLT): Improve test
37806 for Solaris 11/x86 ld.
37807 * configure: Regenerate.
37809 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
37811 * configure.ac (TLS_SECTION_ASM_FLAG): Save as tls_section_flag.
37812 (LIB_TLS_SPEC): Save as ld_tls_libs.
37813 (HAVE_AS_IX86_TLSLDMPLT): Define as 1/0.
37814 (HAVE_AS_IX86_TLSLDM): New test.
37815 * configure, config.in: Regenerate.
37816 * config/i386/i386.c (legitimize_tls_address): Fall back to
37817 TLS_MODEL_GLOBAL_DYNAMIC on 32-bit Solaris/x86 if tool chain
37818 cannot support TLS_MODEL_LOCAL_DYNAMIC.
37819 * config/i386/i386.md (*tls_local_dynamic_base_32_gnu): Use if
37820 instead of #ifdef in HAVE_AS_IX86_TLSLDMPLT test.
37822 2014-03-07 Paulo Matos <paulo@matos-sorge.com>
37824 * common.opt (fira-loop-pressure): Mark as optimization.
37826 2014-03-07 Thomas Schwinge <thomas@codesourcery.com>
37828 * langhooks.c (lhd_omp_mappable_type): The error_mark_node is not
37829 an OpenMP mappable type.
37831 2014-03-06 Matthias Klose <doko@ubuntu.com>
37833 * Makefile.in (s-mlib): Only pass MULTIARCH_DIRNAME if
37834 MULTILIB_OSDIRNAMES is not defined.
37836 2014-03-06 Jakub Jelinek <jakub@redhat.com>
37837 Meador Inge <meadori@codesourcery.com>
37840 * config/arm/arm.c (arm_tls_symbol_p): Remove.
37841 (arm_legitimize_address): Call legitimize_tls_address for any
37842 arm_tls_referenced_p expression, handle constant addend. Call it
37843 before testing for !TARGET_ARM.
37844 (thumb_legitimize_address): Don't handle arm_tls_symbol_p here.
37846 2014-03-06 Richard Biener <rguenther@suse.de>
37848 PR middle-end/60445
37852 2014-03-04 Paulo Matos <paulo@matos-sorge.com>
37854 * tree-streamer.c (record_common_node): Assert we don't record
37855 nodes with type double.
37856 (preload_common_node): Skip type double, complex double and double
37857 pointer since it is now frontend dependent due to fshort-double option.
37859 2014-03-06 Richard Biener <rguenther@suse.de>
37861 * gcc.c (PLUGIN_COND): Always enable unless -fno-use-linker-plugin
37862 or -fno-lto is specified and the linker has full plugin support.
37863 * collect2.c (lto_mode): Default to LTO_MODE_WHOPR if LTO is enabled.
37864 (main): Remove -flto processing, adjust lto_mode using use_plugin late.
37865 * lto-wrapper.c (merge_and_complain): Merge compile-time
37866 optimization levels.
37867 (run_gcc): And pass it through to the link options.
37869 2014-03-06 Alexandre Oliva <aoliva@redhat.com>
37873 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
37875 * cselib.c (remove_useless_values): Skip to avoid quadratic
37876 behavior if the condition moved from...
37877 (cselib_process_insn): ... here holds.
37879 2014-03-05 Jakub Jelinek <jakub@redhat.com>
37882 * Makefile.in (PLUGIN_HEADERS): Add tree-phinodes.h, stor-layout.h,
37883 ssa-iterators.h, $(RESOURCE_H) and tree-cfgcleanup.h.
37886 * config/i386/t-i386 (OPTIONS_H_EXTRA): Add stringop.def.
37887 (TM_H): Add x86-tune.def.
37889 2014-03-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
37891 * config/aarch64/aarch64.c (generic_tunings):
37892 Use cortexa57_extra_costs.
37894 2014-03-05 Jakub Jelinek <jakub@redhat.com>
37897 * cfgexpand.c (expand_used_vars): Do not assume all SSA_NAMEs
37898 of PARM/RESULT_DECLs must be coalesced with optimize && in_lto_p.
37899 * tree-ssa-coalesce.c (coalesce_ssa_name): Use MUST_COALESCE_COST - 1
37902 2014-03-04 Heiher <r@hev.cc>
37904 * config/mips/mips-cpus.def (loongson3a): Mark as a MIPS64r2 processor.
37905 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Adjust accordingly.
37907 2014-03-04 Uros Bizjak <ubizjak@gmail.com>
37909 * config/i386/predicates.md (const2356_operand): Change to ...
37910 (const2367_operand): ... this.
37911 * config/i386/sse.md (avx512pf_scatterpf<mode>sf): Use
37913 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
37914 (*avx512pf_scatterpf<mode>sf): Ditto.
37915 (avx512pf_scatterpf<mode>df): Ditto.
37916 (*avx512pf_scatterpf<mode>df_mask): Ditto.
37917 (*avx512pf_scatterpf<mode>df): Ditto.
37918 * config/i386/i386.c (ix86_expand_builtin): Update
37919 incorrect hint operand error message.
37921 2014-03-04 Richard Biener <rguenther@suse.de>
37923 * lto-section-in.c (lto_get_section_data): Fix const cast.
37925 2014-03-04 Paulo Matos <paulo@matos-sorge.com>
37927 * tree-streamer.c (record_common_node): Assert we don't record
37928 nodes with type double.
37929 (preload_common_node): Skip type double, complex double and double
37930 pointer since it is now frontend dependent due to fshort-double option.
37932 2014-03-04 Richard Biener <rguenther@suse.de>
37935 * lto-streamer-in.c (lto_read_body): Remove LTO bytecode version check.
37936 (lto_input_toplevel_asms): Likewise.
37937 * lto-section-in.c (lto_get_section_data): Instead do it here
37940 2014-03-04 Richard Biener <rguenther@suse.de>
37942 PR tree-optimization/60382
37943 * tree-vect-loop.c (vect_is_simple_reduction_1): Do not consider
37944 dead PHIs a reduction.
37946 2014-03-03 Uros Bizjak <ubizjak@gmail.com>
37948 * config/i386/xmmintrin.h (enum _mm_hint) <_MM_HINT_ET0>: Correct
37950 (_mm_prefetch): Move out of GCC target("sse") pragma.
37951 * config/i386/prfchwintrin.h (_m_prefetchw): Move out of
37952 GCC target("prfchw") pragma.
37953 * config/i386/i386.md (prefetch): Emit prefetchwt1 only
37955 * config/i386/i386.c (ix86_option_override_internal): Enable
37956 -mprfchw with -mprefetchwt1.
37958 2014-03-03 Joern Rennecke <joern.rennecke@embecosm.com>
37960 * config/arc/arc.md (casesi_load) <length attribute alternative 0>:
37963 2014-03-03 Joern Rennecke <joern.rennecke@embecosm.com>
37965 * opts.h (CL_PCH_IGNORE): Define.
37966 * targhooks.c (option_affects_pch_p):
37967 Return false for options that have CL_PCH_IGNORE set.
37968 * opt-functions.awk: Process PchIgnore.
37969 * doc/options.texi: Document PchIgnore.
37971 * config/arc/arc.opt (misize): Add PchIgnore property.
37973 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
37975 * config/rs6000/rs6000.c (rs6000_preferred_reload_class): Disallow
37976 reload of PLUS rtx's outside of GENERAL_REGS or BASE_REGS; relax
37977 constraint on constants to permit them being loaded into
37978 GENERAL_REGS or BASE_REGS.
37980 2014-03-03 Nick Clifton <nickc@redhat.com>
37982 * config/rl78/rl78-real.md (cbranchsi4_real_signed): Add
37983 anti-cacnonical alternatives.
37984 (negandhi3_real): New pattern.
37985 * config/rl78/rl78-virt.md (negandhi3_virt): New pattern.
37987 2014-03-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
37989 * config/avr/avr-mcus.def: Remove atxmega16x1.
37990 * config/avr/avr-tables.opt: Regenerate.
37991 * config/avr/t-multilib: Regenerate.
37992 * doc/avr-mmcu.texi: Regenerate.
37994 2014-03-03 Tobias Grosser <tobias@grosser.es>
37995 Mircea Namolaru <mircea.namolaru@inria.fr>
37997 PR tree-optimization/58028
37998 * graphite-clast-to-gimple.c (set_cloog_options): Don't remove
38001 2014-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
38003 * config/arm/neon.md (*movmisalign<mode>): Legitimize addresses
38004 not handled by recognizers.
38006 2014-03-03 Jakub Jelinek <jakub@redhat.com>
38008 PR middle-end/60175
38009 * function.c (expand_function_end): Don't emit
38010 clobber_return_register sequence if clobber_after is a BARRIER.
38011 * cfgexpand.c (construct_exit_block): Append instructions before
38012 return_label to prev_bb.
38014 2014-03-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
38016 * config/rs6000/constraints.md: Document reserved use of "wc".
38018 2014-03-02 Jan Hubicka <hubicka@ucw.cz>
38021 * ipa.c (function_and_variable_visibility): When dissolving comdat
38022 group, also set all symbols to local.
38024 2014-03-02 Jan Hubicka <hubicka@ucw.cz>
38029 2013-12-14 Jan Hubicka <jh@suse.cz>
38030 PR middle-end/58477
38031 * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers.
38033 2014-03-02 Jon Beniston <jon@beniston.com>
38039 * config/lm32/lm32.c (lm32_legitimate_constant_p): Remove, as incorrect.
38040 (TARGET_LEGITIMATE_CONSTANT_P): Undefine, as not needed.
38041 * config/lm32/lm32.md (movsi_insn): Add 32-bit immediate support.
38042 (simple_return, *simple_return): New patterns
38043 * config/lm32/predicates.md (movsi_rhs_operand): Remove as obsolete.
38044 * configure.ac (force_sjlj_exceptions): Force sjlj exceptions for lm32.
38046 2014-03-01 Paolo Carlini <paolo.carlini@oracle.com>
38048 * dwarf2out.c (gen_subprogram_die): Tidy.
38050 2014-03-01 Oleg Endo <olegendo@gcc.gnu.org>
38053 * config/sh/sh.md (*mov_t_msb_neg): Split into ...
38054 (*mov_t_msb_neg_negc): ... this new insn.
38056 2014-02-28 Jason Merrill <jason@redhat.com>
38059 * ipa-devirt.c (ipa_devirt): Don't choose an implicitly-declared
38062 2014-02-28 Paolo Carlini <paolo.carlini@oracle.com>
38065 * dwarf2out.c (decltype_auto_die): New static.
38066 (gen_subprogram_die): Handle 'decltype(auto)' like 'auto'.
38067 (gen_type_die_with_usage): Handle 'decltype(auto)'.
38068 (is_cxx_auto): Likewise.
38070 2014-02-28 Ian Bolton <ian.bolton@arm.com>
38072 * config/aarch64/aarch64.h: Define __ARM_NEON by default if
38073 we are not using general regs only.
38075 2014-02-28 Richard Biener <rguenther@suse.de>
38078 * tree-cfgcleanup.c (tree_forwarder_block_p): Restrict
38079 previous fix and only allow to remove trivial pre-headers
38080 and latches. Also honor LOOPS_MAY_HAVE_MULTIPLE_LATCHES.
38081 (remove_forwarder_block): Properly update the latch of a loop.
38083 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
38086 * cselib.c (cselib_hasher::equal): Special-case VALUE lookup.
38087 (cselib_preserved_hash_table): New.
38088 (preserve_constants_and_equivs): Move preserved vals to it.
38089 (cselib_find_slot): Look it up first.
38090 (cselib_init): Initialize it.
38091 (cselib_finish): Release it.
38092 (dump_cselib_table): Dump it.
38094 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
38097 * cselib.c (remove_useless_values): Skip to avoid quadratic
38098 behavior if the condition moved from...
38099 (cselib_process_insn): ... here holds.
38101 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
38104 * var-tracking.c (vt_initialize): Apply the same condition to
38105 preserve the CFA base value.
38107 2014-02-28 Joey Ye <joey.ye@arm.com>
38110 * config/arm/arm.c (thumb_far_jump_used_p): Don't change
38111 if reload in progress or completed.
38113 2014-02-28 Tobias Burnus <burnus@net-b.de>
38115 PR middle-end/60147
38116 * tree-pretty-print.c (dump_generic_node, print_declaration): Handle
38119 2014-02-27 H.J. Lu <hongjiu.lu@intel.com>
38121 * doc/tm.texi.in (Condition Code Status): Update documention for
38122 relative locations of cc0-setter and cc0-user.
38124 2014-02-27 Jeff Law <law@redhat.com>
38126 PR rtl-optimization/52714
38127 * combine.c (try_combine): When splitting an unrecognized PARALLEL
38128 into two independent simple sets, if I3 is a jump, ensure the
38129 pattern we place into I3 is a (set (pc) ...).
38131 2014-02-27 Mikael Pettersson <mikpe@it.uu.se>
38132 Jeff Law <law@redhat.com>
38134 PR rtl-optimization/49847
38135 * cse.c (fold_rtx) Handle case where cc0 setter and cc0 user
38136 are in different blocks.
38137 * doc/tm.texi (Condition Code Status): Update documention for
38138 relative locations of cc0-setter and cc0-user.
38140 2014-02-27 Vladimir Makarov <vmakarov@redhat.com>
38143 * lra.c (lra_emit_add): Check SUBREG too.
38145 2014-02-27 Andreas Schwab <schwab@suse.de>
38147 * config/m68k/m68k.c (m68k_option_override): Disable
38148 -flive-range-shrinkage for classic m68k.
38149 (m68k_override_options_after_change): Likewise.
38151 2014-02-27 Marek Polacek <polacek@redhat.com>
38153 PR middle-end/59223
38154 * tree-ssa-uninit.c (gate_warn_uninitialized): Run the pass even for
38155 -Wmaybe-uninitialized.
38157 2014-02-27 Alan Modra <amodra@gmail.com>
38160 * reload1.c (emit_input_reload_insns): When reload_override_in,
38161 set old to rl->in_reg when rl->in_reg is a subreg.
38163 2014-02-26 Richard Biener <rguenther@suse.de>
38166 * lra-assigns.c (spill_for): Avoid mixed-sign comparison.
38168 2014-02-25 Ilya Tocar <ilya.tocar@intel.com>
38170 * common/config/i386/predicates.md (const1256_operand): Remove.
38171 (const2356_operand): New.
38172 (const_1_to_2_operand): Remove.
38173 * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value.
38174 (*avx512pf_gatherpf<mode>sf_mask): Ditto.
38175 (*avx512pf_gatherpf<mode>sf): Ditto.
38176 (avx512pf_gatherpf<mode>df): Ditto.
38177 (*avx512pf_gatherpf<mode>df_mask): Ditto.
38178 (*avx512pf_gatherpf<mode>df): Ditto.
38179 (avx512pf_scatterpf<mode>sf): Ditto.
38180 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
38181 (*avx512pf_scatterpf<mode>sf): Ditto.
38182 (avx512pf_scatterpf<mode>df): Ditto.
38183 (*avx512pf_scatterpf<mode>df_mask): Ditto.
38184 (*avx512pf_scatterpf<mode>df): Ditto.
38185 * common/config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET0.
38187 2014-02-26 Ilya Tocar <ilya.tocar@intel.com>
38189 * config/i386/avx512fintrin.h (_mm512_testn_epi32_mask),
38190 (_mm512_mask_testn_epi32_mask), (_mm512_testn_epi64_mask),
38191 (_mm512_mask_testn_epi64_mask): Move to ...
38192 * config/i386/avx512cdintrin.h: Here.
38193 * config/i386/i386.c (bdesc_args): Change MASK_ISA for testnm.
38194 * config/i386/sse.md (avx512f_vmscalef<mode><round_name>): Remove %.
38195 (avx512f_scalef<mode><mask_name><round_name>): Ditto.
38196 (avx512f_testnm<mode>3<mask_scalar_merge_name>): Change conditon to
38197 TARGET_AVX512F from TARGET_AVX512CD.
38199 2014-02-26 Richard Biener <rguenther@suse.de>
38202 * ipa.c (walk_polymorphic_call_targets): Properly guard
38203 call to inline_update_overall_summary.
38205 2014-02-26 Bin Cheng <bin.cheng@arm.com>
38208 * tree-cfgcleanup.c (tree_forwarder_block_p): Protect loop preheaders
38209 and latches only if requested. Fix latch if it is removed.
38210 * tree-ssa-dom.c (tree_ssa_dominator_optimize): Set
38211 LOOPS_HAVE_PREHEADERS.
38213 2014-02-25 Andrew Pinski <apinski@cavium.com>
38215 * builtins.c (expand_builtin_thread_pointer): Create a new target
38216 when the target is NULL.
38218 2014-02-25 Vladimir Makarov <vmakarov@redhat.com>
38220 PR rtl-optimization/60317
38221 * params.def (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
38222 * params.h (LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
38223 * lra-assigns.c: Include params.h.
38224 (spill_for): Use LRA_MAX_CONSIDERED_RELOAD_PSEUDOS as guard for
38225 other reload pseudos considerations.
38227 2014-02-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
38229 * config/rs6000/vector.md (*vector_unordered<mode>): Change split
38230 to use canonical form for nor<mode>3.
38232 2014-02-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
38235 * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Allow 128 to 64-bit
38238 2014-02-25 Ilya Tocar <ilya.tocar@intel.com>
38240 * common/config/i386/i386-common.c (OPTION_MASK_ISA_PREFETCHWT1_SET),
38241 (OPTION_MASK_ISA_PREFETCHWT1_UNSET): New.
38242 (ix86_handle_option): Handle OPT_mprefetchwt1.
38243 * config/i386/cpuid.h (bit_PREFETCHWT1): New.
38244 * config/i386/driver-i386.c (host_detect_local_cpu): Detect
38246 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
38247 OPTION_MASK_ISA_PREFETCHWT1.
38248 * config/i386/i386.c (ix86_target_string): Handle mprefetchwt1.
38249 (PTA_PREFETCHWT1): New.
38250 (ix86_option_override_internal): Handle PTA_PREFETCHWT1.
38251 (ix86_valid_target_attribute_inner_p): Handle OPT_mprefetchwt1.
38252 * config/i386/i386.h (TARGET_PREFETCHWT1, TARGET_PREFETCHWT1_P): New.
38253 * config/i386/i386.md (prefetch): Check TARGET_PREFETCHWT1
38254 (*prefetch_avx512pf_<mode>_: Change into ...
38255 (*prefetch_prefetchwt1_<mode>: This.
38256 * config/i386/i386.opt (mprefetchwt1): New.
38257 * config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET1.
38258 (_mm_prefetch): Handle intent to write.
38259 * doc/invoke.texi (mprefetchwt1), (mno-prefetchwt1): Doccument.
38261 2014-02-25 Richard Biener <rguenther@suse.de>
38263 PR middle-end/60291
38264 * emit-rtl.c (mem_attrs_htab): Remove.
38265 (mem_attrs_htab_hash): Likewise.
38266 (mem_attrs_htab_eq): Likewise.
38267 (set_mem_attrs): Always allocate new mem-attrs when something changed.
38268 (init_emit_once): Do not allocate mem_attrs_htab.
38270 2014-02-25 Richard Biener <rguenther@suse.de>
38273 * lto-opts.c (lto_write_options): Output non-explicit conservative
38274 -fwrapv, -fno-trapv and -fno-strict-overflow.
38275 * lto-wrapper.c (merge_and_complain): Handle merging those options.
38276 (run_gcc): And pass them through.
38278 2014-02-25 Andrey Belevantsev <abel@ispras.ru>
38280 * sel-sched.c (calculate_new_fences): New parameter ptime.
38281 Calculate it as a maximum over all fence cycles.
38282 (sel_sched_region_2): Adjust the call to calculate_new_fences.
38283 Print the final schedule timing when sched_verbose.
38285 2014-02-25 Andrey Belevantsev <abel@ispras.ru>
38287 PR rtl-optimization/60292
38288 * sel-sched.c (fill_vec_av_set): Do not reset target availability
38289 bit fot the fence instruction.
38291 2014-02-24 Alangi Derick <alangiderick@gmail.com>
38293 * calls.h: Fix typo in comment.
38295 2014-02-24 John David Anglin <danglin@gcc.gnu.org>
38297 * config/pa/pa.c (pa_output_move_double): Don't valididate when
38298 adjusting offsetable addresses.
38300 2014-02-24 Guozhi Wei <carrot@google.com>
38302 * sparseset.h (sparseset_pop): Fix the wrong index.
38304 2014-02-24 Walter Lee <walt@tilera.com>
38306 * config.gcc (tilepro-*-*): Change to tilepro*-*-*.
38307 (tilegx-*-linux*): Change to tilegx*-*-linux*; Support tilegxbe
38309 * common/config/tilegx/tilegx-common.c
38310 (TARGET_DEFAULT_TARGET_FLAGS): Define.
38311 * config/tilegx/linux.h (ASM_SPEC): Add endian_spec.
38312 (LINK_SPEC): Ditto.
38313 * config/tilegx/sync.md (atomic_test_and_set): Handle big endian.
38314 * config/tilegx/tilegx.c (tilegx_return_in_msb): New.
38315 (tilegx_gimplify_va_arg_expr): Handle big endian.
38316 (tilegx_expand_unaligned_load): Ditto.
38317 (tilegx_expand_unaligned_store): Ditto.
38318 (TARGET_RETURN_IN_MSB): New.
38319 * config/tilegx/tilegx.h (TARGET_DEFAULT): New.
38320 (TARGET_ENDIAN_DEFAULT): New.
38321 (TARGET_BIG_ENDIAN): Handle big endian.
38322 (BYTES_BIG_ENDIAN): Ditto.
38323 (WORDS_BIG_ENDIAN): Ditto.
38324 (FLOAT_WORDS_BIG_ENDIAN): Ditto.
38325 (ENDIAN_SPEC): New.
38326 (EXTRA_SPECS): New.
38327 * config/tilegx/tilegx.md (extv): Handle big endian.
38329 (insn_st<n>): Ditto.
38330 (insn_st<n>_add<bitsuffix>): Ditto.
38331 (insn_stnt<n>): Ditto.
38332 (insn_stnt<n>_add<bitsuffix>):Ditto.
38333 (vec_interleave_highv8qi): Handle big endian.
38334 (vec_interleave_highv8qi_be): New.
38335 (vec_interleave_highv8qi_le): New.
38336 (insn_v1int_h): Handle big endian.
38337 (vec_interleave_lowv8qi): Handle big endian.
38338 (vec_interleave_lowv8qi_be): New.
38339 (vec_interleave_lowv8qi_le): New.
38340 (insn_v1int_l): Handle big endian.
38341 (vec_interleave_highv4hi): Handle big endian.
38342 (vec_interleave_highv4hi_be): New.
38343 (vec_interleave_highv4hi_le): New.
38344 (insn_v2int_h): Handle big endian.
38345 (vec_interleave_lowv4hi): Handle big endian.
38346 (vec_interleave_lowv4hi_be): New.
38347 (vec_interleave_lowv4hi_le): New.
38348 (insn_v2int_l): Handle big endian.
38349 (vec_interleave_highv2si): Handle big endian.
38350 (vec_interleave_highv2si_be): New.
38351 (vec_interleave_highv2si_le): New.
38352 (insn_v4int_h): Handle big endian.
38353 (vec_interleave_lowv2si): Handle big endian.
38354 (vec_interleave_lowv2si_be): New.
38355 (vec_interleave_lowv2si_le): New.
38356 (insn_v4int_l): Handle big endian.
38357 * config/tilegx/tilegx.opt (mbig-endian): New option.
38358 (mlittle-endian): New option.
38359 * doc/install.texi: Document tilegxbe-linux.
38360 * doc/invoke.texi: Document -mbig-endian and -mlittle-endian.
38362 2014-02-24 Martin Jambor <mjambor@suse.cz>
38365 * ipa-cp.c (propagate_constants_accross_call): Bail out early if
38366 there are no parameter descriptors.
38368 2014-02-24 Andrey Belevantsev <abel@ispras.ru>
38370 PR rtl-optimization/60268
38371 * sched-rgn.c (haifa_find_rgns): Move the nr_regions_initial variable
38372 initialization to ...
38373 (sched_rgn_init): ... here.
38374 (schedule_region): Check for SCHED_PRESSURE_NONE earlier.
38376 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
38378 * config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg
38381 2014-02-23 Edgar E. Iglesias <edgar.iglesias@xilinx.com>
38383 * config/microblaze/microblaze.h: Remove SECONDARY_MEMORY_NEEDED
38386 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
38388 * /config/microblaze/microblaze.c: Add microblaze_asm_output_mi_thunk,
38389 define TARGET_ASM_OUTPUT_MI_THUNK and TARGET_ASM_CAN_OUTPUT_MI_THUNK.
38391 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
38393 * config/microblaze/predicates.md: Add cmp_op predicate.
38394 * config/microblaze/microblaze.md: Add branch_compare instruction
38395 which uses cmp_op predicate and emits cmp insn before branch.
38396 * config/microblaze/microblaze.c (microblaze_emit_compare): Rename
38397 to microblaze_expand_conditional_branch and consolidate logic.
38398 (microblaze_expand_conditional_branch): emit branch_compare
38399 insn instead of handling cmp op separate from branch insn.
38401 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
38403 * config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert
38406 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
38408 * config/rs6000/altivec.md (altivec_lve<VI_char>x): Replace
38409 define_insn with define_expand and new define_insn
38410 *altivec_lve<VI_char>x_internal.
38411 (altivec_stve<VI_char>x): Replace define_insn with define_expand
38412 and new define_insn *altivec_stve<VI_char>x_internal.
38413 * config/rs6000/rs6000-protos.h (altivec_expand_stvex_be): New
38415 * config/rs6000/rs6000.c (altivec_expand_lvx_be): Document use by
38417 (altivec_expand_stvex_be): New function.
38419 2014-02-22 Joern Rennecke <joern.rennecke@embecosm.com>
38421 * config/avr/avr.c (avr_can_eliminate): Allow elimination from
38422 ARG_POINTER_REGNUM to STACK_POINTER_REGNUM if !frame_pointer_needed.
38423 * config/avr/avr.c (ELIMINABLE_REGS): Add elimination from
38424 ARG_POINTER_REGNUM to STACK_POINTER_REGNUM.
38426 2014-02-21 Vladimir Makarov <vmakarov@redhat.com>
38429 * lra-constraints.c (inherit_reload_reg): Use lra_emit_move
38430 instead of emit_move_insn.
38432 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
38434 * config/rs6000/altivec.md (altivec_vsumsws): Replace second
38435 vspltw with vsldoi.
38436 (reduc_uplus_v16qi): Use gen_altivec_vsumsws_direct instead of
38437 gen_altivec_vsumsws.
38439 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
38441 * config/rs6000/altivec.md (altivec_lvxl): Rename as
38442 *altivec_lvxl_<mode>_internal and use VM2 iterator instead of V4SI.
38443 (altivec_lvxl_<mode>): New define_expand incorporating
38444 -maltivec=be semantics where needed.
38445 (altivec_lvx): Rename as *altivec_lvx_<mode>_internal.
38446 (altivec_lvx_<mode>): New define_expand incorporating -maltivec=be
38447 semantics where needed.
38448 (altivec_stvx): Rename as *altivec_stvx_<mode>_internal.
38449 (altivec_stvx_<mode>): New define_expand incorporating
38450 -maltivec=be semantics where needed.
38451 (altivec_stvxl): Rename as *altivec_stvxl_<mode>_internal and use
38452 VM2 iterator instead of V4SI.
38453 (altivec_stvxl_<mode>): New define_expand incorporating
38454 -maltivec=be semantics where needed.
38455 * config/rs6000/rs6000-builtin.def: Add new built-in definitions
38456 LVXL_V2DF, LVXL_V2DI, LVXL_V4SF, LVXL_V4SI, LVXL_V8HI, LVXL_V16QI,
38457 LVX_V2DF, LVX_V2DI, LVX_V4SF, LVX_V4SI, LVX_V8HI, LVX_V16QI, STVX_V2DF,
38458 STVX_V2DI, STVX_V4SF, STVX_V4SI, STVX_V8HI, STVX_V16QI, STVXL_V2DF,
38459 STVXL_V2DI, STVXL_V4SF, STVXL_V4SI, STVXL_V8HI, STVXL_V16QI.
38460 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Replace
38461 ALTIVEC_BUILTIN_LVX with ALTIVEC_BUILTIN_LVX_<MODE> throughout;
38462 similarly for ALTIVEC_BUILTIN_LVXL, ALTIVEC_BUILTIN_STVX, and
38463 ALTIVEC_BUILTIN_STVXL.
38464 * config/rs6000/rs6000-protos.h (altivec_expand_lvx_be): New prototype.
38465 (altivec_expand_stvx_be): Likewise.
38466 * config/rs6000/rs6000.c (swap_selector_for_mode): New function.
38467 (altivec_expand_lvx_be): Likewise.
38468 (altivec_expand_stvx_be): Likewise.
38469 (altivec_expand_builtin): Add cases for
38470 ALTIVEC_BUILTIN_STVX_<MODE>, ALTIVEC_BUILTIN_STVXL_<MODE>,
38471 ALTIVEC_BUILTIN_LVXL_<MODE>, and ALTIVEC_BUILTIN_LVX_<MODE>.
38472 (altivec_init_builtins): Add definitions for
38473 __builtin_altivec_lvxl_<mode>, __builtin_altivec_lvx_<mode>,
38474 __builtin_altivec_stvx_<mode>, and __builtin_altivec_stvxl_<mode>.
38476 2014-02-21 Catherine Moore <clm@codesourcery.com>
38478 * doc/invoke.texi (mvirt, mno-virt): Document.
38479 * config/mips/mips.opt (mvirt): New option.
38480 * config/mips/mips.h (ASM_SPEC): Pass mvirt to the assembler.
38482 2014-02-21 Richard Biener <rguenther@suse.de>
38484 PR tree-optimization/60276
38485 * tree-vectorizer.h (struct _stmt_vec_info): Add min_neg_dist field.
38486 (STMT_VINFO_MIN_NEG_DIST): New macro.
38487 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Record
38488 STMT_VINFO_MIN_NEG_DIST.
38489 * tree-vect-stmts.c (vectorizable_load): Verify if assumptions
38490 made for negative dependence distances still hold.
38492 2014-02-21 Richard Biener <rguenther@suse.de>
38494 PR middle-end/60291
38495 * tree-ssa-live.c (mark_all_vars_used_1): Do not walk
38496 DECL_INITIAL for globals not in the current function context.
38498 2014-02-21 Jakub Jelinek <jakub@redhat.com>
38500 PR tree-optimization/56490
38501 * params.def (PARAM_UNINIT_CONTROL_DEP_ATTEMPTS): New param.
38502 * tree-ssa-uninit.c: Include params.h.
38503 (compute_control_dep_chain): Add num_calls argument, return false
38504 if it exceed PARAM_UNINIT_CONTROL_DEP_ATTEMPTS param, pass
38505 num_calls to recursive call.
38506 (find_predicates): Change dep_chain into normal array,
38507 cur_chain into auto_vec<edge, MAX_CHAIN_LEN + 1>, add num_calls
38508 variable and adjust compute_control_dep_chain caller.
38509 (find_def_preds): Likewise.
38511 2014-02-21 Thomas Schwinge <thomas@codesourcery.com>
38513 * gimple-pretty-print.c (dump_gimple_omp_for) [flags & TDF_RAW]
38514 <case GF_OMP_FOR_KIND_CILKSIMD>: Add missing break statement.
38516 2014-02-21 Nick Clifton <nickc@redhat.com>
38518 * config/stormy16/stormy16.md (pushdqi1): Add mode to post_inc.
38519 (pushhi1): Likewise.
38520 (popqi1): Add mode to pre_dec.
38521 (pophi1): Likewise.
38523 2014-02-21 Jakub Jelinek <jakub@redhat.com>
38525 * config/i386/i386.c (ix86_expand_vec_perm): Use V8SImode
38526 mode for mask of V8SFmode permutation.
38528 2014-02-20 Richard Henderson <rth@redhat.com>
38531 * builtins.c (expand_builtin_atomic_compare_exchange): Always make
38532 a new pseudo for OLDVAL.
38534 2014-02-20 Jakub Jelinek <jakub@redhat.com>
38537 * config/i386/i386.c (expand_vec_perm_interleave2): Don't call
38538 gen_reg_rtx if d->testing_p.
38539 (expand_vec_perm_pshufb2, expand_vec_perm_broadcast_1): Return early
38540 if d->testing_p and we will certainly return true.
38541 (expand_vec_perm_even_odd_1): Likewise. Don't call gen_reg_rtx
38544 2014-02-20 Uros Bizjak <ubizjak@gmail.com>
38546 * emit-rtl.c (gen_reg_rtx): Assert that
38547 crtl->emit.regno_pointer_align_length is non-zero.
38549 2014-02-20 Richard Henderson <rth@redhat.com>
38552 * builtins.c (expand_builtin_atomic_compare_exchange): Conditionalize
38553 on failure the store back into EXPECT.
38555 2014-02-20 Chung-Lin Tang <cltang@codesourcery.com>
38556 Sandra Loosemore <sandra@codesourcery.com>
38558 * config/nios2/nios2.md (unspec): Add UNSPEC_PIC_GOTOFF_SYM enum.
38559 * config/nios2/nios2.c (nios2_function_profiler): Add
38560 -fPIC (flag_pic == 2) support.
38561 (nios2_handle_custom_fpu_cfg): Fix warning parameter.
38562 (nios2_large_offset_p): New function.
38563 (nios2_unspec_reloc_p): Move up position, update to use
38564 nios2_large_offset_p.
38565 (nios2_unspec_address): Remove function.
38566 (nios2_unspec_offset): New function.
38567 (nios2_large_got_address): New function.
38568 (nios2_got_address): Add large offset support.
38569 (nios2_legitimize_tls_address): Update usage of removed and new
38571 (nios2_symbol_binds_local_p): New function.
38572 (nios2_load_pic_address): Add -fPIC (flag_pic == 2) support.
38573 (nios2_legitimize_address): Update to use nios2_large_offset_p.
38574 (nios2_emit_move_sequence): Avoid legitimizing (const (unspec ...)).
38575 (nios2_print_operand): Merge H/L processing, add hiadj/lo
38576 processing for (const (unspec ...)).
38577 (nios2_unspec_reloc_name): Add UNSPEC_PIC_GOTOFF_SYM case.
38579 2014-02-20 Richard Biener <rguenther@suse.de>
38581 * tree-cfg.c (replace_uses_by): Mark altered BBs before
38582 doing the substitution.
38583 (verify_gimple_assign_single): Also verify bare MEM_REFs on the lhs.
38585 2014-02-20 Martin Jambor <mjambor@suse.cz>
38588 * ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Uce correct
38589 info when checking whether lattices are bottom.
38591 2014-02-20 Richard Biener <rguenther@suse.de>
38593 PR middle-end/60221
38594 * tree-eh.c (execute_cleanup_eh_1): Also cleanup empty EH
38597 2014-02-20 Jan Hubicka <hubicka@ucw.cz>
38600 * ipa-inline-transform.c (clone_inlined_nodes): Add freq_scale
38601 parameter specifying the scaling.
38602 (inline_call): Update.
38603 (want_inline_recursively): Guard division by zero.
38604 (recursive_inlining): Update.
38605 * ipa-inline.h (clone_inlined_nodes): Update.
38607 2014-02-20 Ilya Tocar <ilya.tocar@intel.com>
38610 * config/i386/i386.c (classify_argument): Pass structures of size
38611 64 bytes or less in register.
38613 2014-02-20 Ilya Tocar <ilya.tocar@intel.com>
38614 Kirill Yukhin <kirill.yukhin@intel.com>
38616 * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): Swap operands.
38617 (_mm_rcp28_round_ss): Ditto.
38618 (_mm_rsqrt28_round_sd): Ditto.
38619 (_mm_rsqrt28_round_ss): Ditto.
38620 * config/i386/avx512erintrin.h (_mm_rcp14_round_sd): Ditto.
38621 (_mm_rcp14_round_ss): Ditto.
38622 (_mm_rsqrt14_round_sd): Ditto.
38623 (_mm_rsqrt14_round_ss): Ditto.
38624 * config/i386/sse.md (rsqrt14<mode>): Put nonimmediate operand as
38625 the first input operand, get rid of match_dup.
38626 (avx512er_exp2<mode><mask_name><round_saeonly_name>): Set type
38628 (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
38630 (avx512er_vmrcp28<mode><round_saeonly_name>): Put nonimmediate
38631 operand as the first input operand, set type attribute.
38632 (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
38633 Set type attribute.
38634 (avx512er_vmrsqrt28<mode><round_saeonly_name>): Put nonimmediate
38635 operand as the first input operand, set type attribute.
38637 2014-02-19 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
38639 * config/rs6000/rs6000.c (vspltis_constant): Fix most significant
38642 2014-02-19 H.J. Lu <hongjiu.lu@intel.com>
38645 * config/i386/i386.c (construct_container): Remove TFmode check
38646 for X86_64_INTEGER_CLASS.
38648 2014-02-19 Uros Bizjak <ubizjak@gmail.com>
38651 * config/i386/i386.c (type_natural_mode): Warn for ABI changes
38652 only when -Wpsabi is enabled.
38654 2014-02-19 Michael Hudson-Doyle <michael.hudson@linaro.org>
38657 * config/aarch64/aarch64.c (aarch64_pass_by_reference): The rules for
38658 passing arrays in registers are the same as for structs, so remove the
38659 special case for them.
38661 2014-02-19 Eric Botcazou <ebotcazou@adacore.com>
38663 * expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: For a bit-field
38664 destination type, extract only the valid bits if the source type is not
38665 integral and has a different mode.
38667 2014-02-19 Richard Biener <rguenther@suse.de>
38670 * tree-inline.c (estimate_num_insns): Avoid calling cgraph_get_node
38673 2014-02-19 Richard Biener <rguenther@suse.de>
38676 * ipa-prop.c: Include stringpool.h and tree-ssanames.h.
38677 (ipa_modify_call_arguments): Emit an argument load explicitely and
38678 preserve virtual SSA form there and for the replacement call.
38679 Do not update SSA form nor free dominance info.
38681 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
38683 * ipa.c (function_and_variable_visibility): Also clear WEAK
38684 flag when disolving COMDAT_GROUP.
38686 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
38688 * ipa-prop.h (ipa_ancestor_jf_data): Update ocmment.
38689 * ipa-prop.c (ipa_set_jf_known_type): Return early when
38690 not devirtualizing.
38691 (ipa_set_ancestor_jf): Set type to NULL hwen it is not preserved;
38692 do more sanity checks.
38693 (detect_type_change): Return true when giving up early.
38694 (compute_complex_assign_jump_func): Fix type parameter of
38695 ipa_set_ancestor_jf.
38696 (compute_complex_ancestor_jump_func): Likewise.
38697 (update_jump_functions_after_inlining): Fix updating of
38699 * ipa-cp.c (ipa_get_jf_ancestor_result): Be ready for type to be NULL.
38701 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
38703 * cgraph.c (cgraph_update_edges_for_call_stmt_node): Also remove
38704 inline clones when edge disappears.
38706 2014-02-18 Michael Meissner <meissner@linux.vnet.ibm.com>
38709 * config/rs6000/rs6000.md (mov<mode>_64bit, TF/TDmode moves):
38710 Split 64-bit moves into 2 patterns. Do not allow the use of
38711 direct move for TDmode in little endian, since the decimal value
38712 has little endian bytes within a word, but the 64-bit pieces are
38713 ordered in a big endian fashion, and normal subreg's of TDmode are
38715 (mov<mode>_64bit_dm): Likewise.
38716 (movtd_64bit_nodm): Likewise.
38718 2014-02-18 Eric Botcazou <ebotcazou@adacore.com>
38720 PR tree-optimization/60174
38721 * tree-ssa-reassoc.c (init_range_entry): Do not look into the defining
38722 statement of an SSA_NAME that occurs in an abnormal PHI node.
38724 2014-02-18 Jakub Jelinek <jakub@redhat.com>
38727 * final.c (SEEN_BB): Remove.
38728 (SEEN_NOTE, SEEN_EMITTED): Renumber.
38729 (final_scan_insn): Don't force_source_line on second
38730 NOTE_INSN_BASIC_BLOCK.
38732 2014-02-18 Uros Bizjak <ubizjak@gmail.com>
38735 * config/i386/i386.h (struct ix86_args): Add warn_avx512f.
38736 * config/i386/i386.c (init_cumulative_args): Initialize warn_avx512f.
38737 (type_natural_mode): Warn ABI change when %zmm register is not
38738 available for AVX512F vector value passing.
38740 2014-02-18 Kai Tietz <ktietz@redhat.com>
38743 * config/i386/i386.c (ix86_expand_prologue): Use value in
38744 rax register as displacement when restoring %r10 or %rax.
38745 Fix wrong offset when restoring both registers.
38747 2014-02-18 Eric Botcazou <ebotcazou@adacore.com>
38749 * ipa-prop.c (compute_complex_ancestor_jump_func): Replace overzealous
38750 assertion with conditional return.
38752 2014-02-18 Jakub Jelinek <jakub@redhat.com>
38753 Uros Bizjak <ubizjak@gmail.com>
38756 * config/i386/driver-i386.c (host_detect_local_cpu): If
38757 YMM state is not saved by the OS, also clear has_f16c. Move
38758 CPUID 0x80000001 handling before YMM state saving checking.
38760 2014-02-18 Andrey Belevantsev <abel@ispras.ru>
38762 PR rtl-optimization/58960
38763 * haifa-sched.c (alloc_global_sched_pressure_data): New,
38764 factored out from ...
38765 (sched_init): ... here.
38766 (free_global_sched_pressure_data): New, factored out from ...
38767 (sched_finish): ... here.
38768 * sched-int.h (free_global_sched_pressure_data): Declare.
38769 * sched-rgn.c (nr_regions_initial): New static global.
38770 (haifa_find_rgns): Initialize it.
38771 (schedule_region): Disable sched-pressure for the newly
38774 2014-02-17 Richard Biener <rguenther@suse.de>
38776 * tree-vect-stmts.c (free_stmt_vec_info): Clear BB and
38777 release SSA defs of pattern stmts.
38779 2014-02-17 Richard Biener <rguenther@suse.de>
38781 * tree-inline.c (expand_call_inline): Release the virtual
38782 operand defined by the call we are about to inline.
38784 2014-02-17 Richard Biener <rguenther@suse.de>
38786 * tree-ssa.c (verify_ssa): If verify_def found an error, ICE.
38788 2014-02-17 Kirill Yukhin <kirill.yukhin@intel.com>
38789 Ilya Tocar <ilya.tocar@intel.com>
38791 * config/i386/avx512fintrin.h (_mm512_maskz_permutexvar_epi64): Swap
38792 arguments order in builtin.
38793 (_mm512_permutexvar_epi64): Ditto.
38794 (_mm512_mask_permutexvar_epi64): Ditto
38795 (_mm512_maskz_permutexvar_epi32): Ditto
38796 (_mm512_permutexvar_epi32): Ditto
38797 (_mm512_mask_permutexvar_epi32): Ditto
38799 2014-02-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
38801 * config/rs6000/altivec.md (p8_vmrgew): Handle little endian targets.
38802 (p8_vmrgow): Likewise.
38804 2014-02-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
38806 * config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Handle little
38809 2014-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
38812 * config/rs6000/rs6000.md (rreg): Add TFmode, TDmode constraints.
38813 (mov<mode>_internal, TFmode/TDmode): Split TFmode/TDmode moves
38814 into 64-bit and 32-bit moves. On 64-bit moves, add support for
38815 using direct move instructions on ISA 2.07. Also adjust
38816 instruction length for 64-bit.
38817 (mov<mode>_64bit, TFmode/TDmode): Likewise.
38818 (mov<mode>_32bit, TFmode/TDmode): Likewise.
38820 2014-02-15 Alan Modra <amodra@gmail.com>
38824 * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use
38825 find_replacement on parts of insn rtl that might be reloaded.
38827 2014-02-15 Richard Biener <rguenther@suse.de>
38829 PR tree-optimization/60183
38830 * tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating loads.
38831 (tree_ssa_phiprop): Calculate and free post-dominators.
38833 2014-02-14 Jeff Law <law@redhat.com>
38835 PR rtl-optimization/60131
38836 * ree.c (get_extended_src_reg): New function.
38837 (combine_reaching_defs): Use it rather than assuming location of REG.
38838 (find_and_remove_re): Verify first operand of extension is
38839 a REG before adding the insns to the copy list.
38841 2014-02-14 Roland McGrath <mcgrathr@google.com>
38843 * configure.ac (HAVE_AS_IX86_UD2): New test for 'ud2' mnemonic.
38844 * configure: Regenerated.
38845 * config.in: Regenerated.
38846 * config/i386/i386.md (trap) [HAVE_AS_IX86_UD2]: Use the mnemonic
38847 instead of ASM_SHORT.
38849 2014-02-14 Vladimir Makarov <vmakarov@redhat.com>
38850 Richard Earnshaw <rearnsha@arm.com>
38852 PR rtl-optimization/59535
38853 * lra-constraints.c (process_alt_operands): Encourage alternative
38854 when unassigned pseudo class is superset of the alternative class.
38855 (inherit_reload_reg): Don't inherit when optimizing for code size.
38856 * config/arm/arm.h (MODE_BASE_REG_CLASS): Add version for LRA
38857 returning CORE_REGS for anything but Thumb1 and BASE_REGS for
38858 modes not less than 4 for Thumb1.
38860 2014-02-14 Kyle McMartin <kyle@redhat.com>
38863 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for AArch64.
38865 2014-02-14 Richard Biener <rguenther@suse.de>
38867 * cilk-common.c (cilk_arrow): Build a MEM_REF, not an INDIRECT_REF.
38868 (get_frame_arg): Drop the assert with langhook types_compatible_p.
38869 Do not strip INDIRECT_REFs.
38871 2014-02-14 Richard Biener <rguenther@suse.de>
38874 * lto-streamer-out.c (DFS_write_tree_body): Do not follow
38875 DECL_FUNCTION_SPECIFIC_TARGET.
38876 (hash_tree): Do not hash DECL_FUNCTION_SPECIFIC_TARGET.
38877 * tree-streamer-out.c (pack_ts_target_option): Remove.
38878 (streamer_pack_tree_bitfields): Do not stream TS_TARGET_OPTION.
38879 (write_ts_function_decl_tree_pointers): Do not stream
38880 DECL_FUNCTION_SPECIFIC_TARGET.
38881 * tree-streamer-in.c (unpack_ts_target_option): Remove.
38882 (unpack_value_fields): Do not stream TS_TARGET_OPTION.
38883 (lto_input_ts_function_decl_tree_pointers): Do not stream
38884 DECL_FUNCTION_SPECIFIC_TARGET.
38886 2014-02-14 Jakub Jelinek <jakub@redhat.com>
38888 * tree-vect-loop.c (vect_is_slp_reduction): Don't set use_stmt twice.
38889 (get_initial_def_for_induction, vectorizable_induction): Ignore
38890 debug stmts when looking for exit_phi.
38891 (vectorizable_live_operation): Fix up condition.
38893 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
38895 * config/nds32/nds32.c (nds32_asm_function_prologue): Do not use
38896 nreverse() because it changes the content of original tree list.
38898 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
38900 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment.
38901 * config/nds32/nds32.c (nds32_merge_decl_attributes): Likewise.
38903 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
38905 * config/nds32/nds32.c (nds32_naked_function_p): Follow the
38906 GNU coding standards.
38908 2014-02-13 Jakub Jelinek <jakub@redhat.com>
38911 * dwarf2out.c (gen_subprogram_die): Don't call
38912 add_calling_convention_attribute if subr_die is old_die.
38914 2014-02-13 Sharad Singhai <singhai@google.com>
38916 * doc/optinfo.texi: Fix order of nodes.
38918 2014-02-13 Uros Bizjak <ubizjak@gmail.com>
38920 * config/i386/sse.md (xop_vmfrcz<mode>2): Generate const0 in
38921 operands[2], not operands[3].
38923 2014-02-13 Richard Biener <rguenther@suse.de>
38926 * doc/install.texi (ISL): Update recommended version to 0.12.2,
38927 mention the possibility of an in-tree build.
38928 (CLooG): Update recommended version to 0.18.1, mention the
38929 possibility of an in-tree build and clarify that the ISL
38930 bundled with CLooG does not work.
38932 2014-02-13 Jakub Jelinek <jakub@redhat.com>
38935 * expr.c (compress_float_constant): If x is a hard register,
38936 extend into a pseudo and then move to x.
38938 2014-02-13 Dominik Vogt <vogt@linux.vnet.ibm.com>
38940 * config/s390/s390.c (s390_asm_output_function_label): Fix crash
38941 caused by bad second argument to warning_at() with -mhotpatch and
38942 nested functions (e.g. with gfortran).
38944 2014-02-13 Richard Sandiford <rdsandiford@googlemail.com>
38946 * opts.c (option_name): Remove "enabled by default" rider.
38948 2014-02-12 John David Anglin <danglin@gcc.gnu.org>
38950 * config/pa/pa.c (pa_option_override): Remove auto increment FIXME.
38952 2014-02-12 H.J. Lu <hongjiu.lu@intel.com>
38953 Uros Bizjak <ubizjak@gmail.com>
38956 * configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU assembler.
38957 * configure: Regenerated.
38959 2014-02-12 Richard Biener <rguenther@suse.de>
38961 * vec.c (vec_prefix::calculate_allocation): Move as
38962 inline variant to vec.h.
38963 (vec_prefix::calculate_allocation_1): New out-of-line version.
38964 * vec.h (vec_prefix::calculate_allocation_1): Declare.
38965 (vec_prefix::m_has_auto_buf): Rename to ...
38966 (vec_prefix::m_using_auto_storage): ... this.
38967 (vec_prefix::calculate_allocation): Inline the easy cases
38968 and dispatch to calculate_allocation_1 which doesn't need the
38970 (va_heap::reserve): Use gcc_checking_assert.
38971 (vec<T, A, vl_embed>::embedded_init): Add argument to initialize
38972 m_using_auto_storage.
38973 (auto_vec): Change m_vecpfx member to a vec<T, va_heap, vl_embed>
38975 (vec<T, va_heap, vl_ptr>::reserve): Remove redundant check.
38976 (vec<T, va_heap, vl_ptr>::release): Avoid casting.
38977 (vec<T, va_heap, vl_ptr>::using_auto_storage): Simplify.
38979 2014-02-12 Richard Biener <rguenther@suse.de>
38981 * gcse.c (compute_transp): break from loop over canon_modify_mem_list
38982 when we found a dependence.
38984 2014-02-12 Thomas Schwinge <thomas@codesourcery.com>
38986 * gimplify.c (gimplify_call_expr, gimplify_modify_expr): Move
38988 (maybe_fold_stmt): ... into this new function.
38989 * omp-low.c (lower_omp): Update comment.
38991 * omp-low.c (lower_omp_target): Add clobber for sizes array, after
38994 * omp-low.c (diagnose_sb_0): Make sure label_ctx is valid to
38997 2014-02-12 James Greenhalgh <james.greenhalgh@arm.com>
38999 * config/arm/aarch-cost-tables.h (generic_extra_costs): Fix
39000 identifiers in comments.
39001 (cortexa53_extra_costs): Likewise.
39002 * config/arm/arm.c (cortexa9_extra_costs): Fix identifiers in comments.
39003 (cortexa7_extra_costs): Likewise.
39004 (cortexa12_extra_costs): Likewise.
39005 (cortexa15_extra_costs): Likewise.
39006 (v7m_extra_costs): Likewise.
39008 2014-02-12 Richard Biener <rguenther@suse.de>
39010 PR middle-end/60092
39011 * gimple-low.c (lower_builtin_posix_memalign): Lower conditional
39012 of posix_memalign being successful.
39013 (lower_stmt): Restrict lowering of posix_memalign to when
39014 -ftree-bit-ccp is enabled.
39016 2014-02-12 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
39018 * config/avr/avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for
39020 * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Likewise.
39022 2014-02-12 Eric Botcazou <ebotcazou@adacore.com>
39024 PR rtl-optimization/60116
39025 * combine.c (try_combine): Also remove dangling REG_DEAD notes on the
39026 other_insn once the combination has been validated.
39028 2014-02-11 Jan Hubicka <hubicka@ucw.cz>
39031 * ipa-utils.h (possible_polymorphic_call_targets): Update prototype
39033 * ipa-devirt.c: Include demangle.h
39034 (odr_violation_reported): New static variable.
39035 (add_type_duplicate): Update odr_violations.
39036 (maybe_record_node): Add completep parameter; update it.
39037 (record_target_from_binfo): Add COMPLETEP parameter;
39038 update it as needed.
39039 (possible_polymorphic_call_targets_1): Likewise.
39040 (struct polymorphic_call_target_d): Add nonconstruction_targets;
39041 rename FINAL to COMPLETE.
39042 (record_targets_from_bases): Sanity check we found the binfo;
39043 fix COMPLETEP updating.
39044 (possible_polymorphic_call_targets): Add NONCONSTRUTION_TARGETSP
39045 parameter, fix computing of COMPLETEP.
39046 (dump_possible_polymorphic_call_targets): Imrove readability of dump;
39047 at LTO time do demangling.
39048 (ipa_devirt): Use nonconstruction_targets; Improve dumps.
39049 * gimple-fold.c (gimple_get_virt_method_for_vtable): Add can_refer
39051 (gimple_get_virt_method_for_binfo): Likewise.
39052 * gimple-fold.h (gimple_get_virt_method_for_binfo,
39053 gimple_get_virt_method_for_vtable): Update prototypes.
39055 2014-02-11 Vladimir Makarov <vmakarov@redhat.com>
39058 * genautomata.c (add_presence_absence): Fix typo with
39059 {final_}presence_list.
39061 2014-02-11 Michael Meissner <meissner@linux.vnet.ibm.com>
39064 * config/rs6000/rs6000.md (128-bit GPR splitter): Add a splitter
39065 for VSX/Altivec vectors that land in GPR registers.
39067 2014-02-11 Richard Henderson <rth@redhat.com>
39068 Jakub Jelinek <jakub@redhat.com>
39071 * tree-sra.c (load_assign_lhs_subreplacements): Add VIEW_CONVERT_EXPR
39072 around drhs if type conversion to lacc->type is not useless.
39074 2014-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
39076 * config/aarch64/aarch64-cores.def (cortex-a57): Use cortexa57
39078 (cortex-a57.cortex-a53): Likewise.
39079 * config/aarch64/aarch64.c (cortexa57_tunings): New tuning struct.
39081 2014-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
39083 * config/arm/thumb2.md (*thumb2_movhi_insn): Add alternatives for
39086 2014-02-11 Renlin Li <Renlin.Li@arm.com>
39088 * doc/sourcebuild.texi: Document check_effective_target_arm_vfp3_ok and
39089 add_options_for_arm_vfp3.
39091 2014-02-11 Jeff Law <law@redhat.com>
39093 PR middle-end/54041
39094 * expr.c (expand_expr_addr_expr_1): Handle expand_expr returning an
39095 object with an undesirable mode.
39097 2014-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
39100 * config/i386/sol2-9.h: New file.
39101 * config.gcc (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*,
39102 *-*-solaris2.9*): Use it.
39104 2014-02-10 Nagaraju Mekala <nagaraju.mekala@xilinx.com>
39106 * config/microblaze/microblaze.md: Add movsi4_rev insn pattern.
39107 * config/microblaze/predicates.md: Add reg_or_mem_operand predicate.
39109 2014-02-10 Nagaraju Mekala <nagaraju.mekala@xilinx.com>
39111 * config/microblaze/microblaze.c: Extend mcpu version format
39113 2014-02-10 David Holsgrove <david.holsgrove@xilinx.com>
39115 * config/microblaze/microblaze.h: Define SIZE_TYPE and PTRDIFF_TYPE.
39117 2014-02-10 Richard Henderson <rth@redhat.com>
39120 * calls.c (expand_call): Don't double-push for reg_parm_stack_space.
39121 * config/i386/i386.c (init_cumulative_args): Remove sorry for 64-bit
39122 ms-abi vs -mno-accumulate-outgoing-args.
39123 (ix86_expand_prologue): Unconditionally call ix86_eax_live_at_start_p.
39124 * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Fix comment with
39127 2014-02-10 Bernd Edlinger <bernd.edlinger@hotmail.de>
39129 PR middle-end/60080
39130 * cfgexpand.c (expand_asm_operands): Attach source location to
39131 ASM_INPUT rtx objects.
39132 * print-rtl.c (print_rtx): Check for UNKNOWN_LOCATION.
39134 2014-02-10 Nick Clifton <nickc@redhat.com>
39136 * config/mn10300/mn10300.c (popcount): New function.
39137 (mn10300_expand_prologue): Include saved registers in stack usage
39140 2014-02-10 Jeff Law <law@redhat.com>
39142 PR middle-end/52306
39143 * reload1.c (emit_input_reload_insns): Do not create invalid RTL
39144 when changing the SET_DEST of a prior insn to avoid an input reload.
39146 2014-02-10 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
39148 * config/rs6000/sysv4.h (ENDIAN_SELECT): Do not attempt to enforce
39149 big-endian mode for -mcall-aixdesc, -mcall-freebsd, -mcall-netbsd,
39150 -mcall-openbsd, or -mcall-linux.
39151 (CC1_ENDIAN_BIG_SPEC): Remove.
39152 (CC1_ENDIAN_LITTLE_SPEC): Remove.
39153 (CC1_ENDIAN_DEFAULT_SPEC): Remove.
39154 (CC1_SPEC): Remove (always empty) %cc1_endian_... spec.
39155 (SUBTARGET_EXTRA_SPECS): Remove %cc1_endian_big, %cc1_endian_little,
39156 and %cc1_endian_default.
39157 * config/rs6000/sysv4le.h (CC1_ENDIAN_DEFAULT_SPEC): Remove.
39159 2014-02-10 Richard Biener <rguenther@suse.de>
39161 PR tree-optimization/60115
39162 * tree-eh.c (tree_could_trap_p): Unify TARGET_MEM_REF and
39163 MEM_REF handling. Properly verify that the accesses are not
39164 out of the objects bound.
39166 2014-02-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
39168 * config/aarch64/aarch64.c (aarch64_override_options): Fix typo from
39171 2014-02-10 Eric Botcazou <ebotcazou@adacore.com>
39173 * ipa-devirt.c (get_polymorphic_call_info_from_invariant): Return
39174 proper constants and fix formatting.
39175 (possible_polymorphic_call_targets): Fix formatting.
39177 2014-02-10 Kirill Yukhin <kirill.yukhin@intel.com>
39178 Ilya Tocar <ilya.tocar@intel.com>
39180 * config/i386/avx512fintrin.h (_mm512_storeu_epi64): Removed.
39181 (_mm512_loadu_epi32): Renamed into...
39182 (_mm512_loadu_si512): This.
39183 (_mm512_storeu_epi32): Renamed into...
39184 (_mm512_storeu_si512): This.
39185 (_mm512_maskz_ceil_ps): Removed.
39186 (_mm512_maskz_ceil_pd): Ditto.
39187 (_mm512_maskz_floor_ps): Ditto.
39188 (_mm512_maskz_floor_pd): Ditto.
39189 (_mm512_floor_round_ps): Ditto.
39190 (_mm512_floor_round_pd): Ditto.
39191 (_mm512_ceil_round_ps): Ditto.
39192 (_mm512_ceil_round_pd): Ditto.
39193 (_mm512_mask_floor_round_ps): Ditto.
39194 (_mm512_mask_floor_round_pd): Ditto.
39195 (_mm512_mask_ceil_round_ps): Ditto.
39196 (_mm512_mask_ceil_round_pd): Ditto.
39197 (_mm512_maskz_floor_round_ps): Ditto.
39198 (_mm512_maskz_floor_round_pd): Ditto.
39199 (_mm512_maskz_ceil_round_ps): Ditto.
39200 (_mm512_maskz_ceil_round_pd): Ditto.
39201 (_mm512_expand_pd): Ditto.
39202 (_mm512_expand_ps): Ditto.
39203 * config/i386/i386.c (ix86_builtins): Remove
39204 IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK.
39205 (bdesc_args): Ditto.
39206 * config/i386/predicates.md (const1256_operand): New.
39207 (const_1_to_2_operand): Ditto.
39208 * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value.
39209 (*avx512pf_gatherpf<mode>sf_mask): Ditto.
39210 (*avx512pf_gatherpf<mode>sf): Ditto.
39211 (avx512pf_gatherpf<mode>df): Ditto.
39212 (*avx512pf_gatherpf<mode>df_mask): Ditto.
39213 (*avx512pf_gatherpf<mode>df): Ditto.
39214 (avx512pf_scatterpf<mode>sf): Ditto.
39215 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
39216 (*avx512pf_scatterpf<mode>sf): Ditto.
39217 (avx512pf_scatterpf<mode>df): Ditto.
39218 (*avx512pf_scatterpf<mode>df_mask): Ditto.
39219 (*avx512pf_scatterpf<mode>df): Ditto.
39220 (avx512f_expand<mode>): Removed.
39221 (<shift_insn><mode>3<mask_name>): Change predicate type.
39223 2014-02-08 Jakub Jelinek <jakub@redhat.com>
39225 * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers
39226 not at the end of datarefs vector use ordered_remove to avoid
39227 reordering datarefs vector.
39230 * gimplify.c (gimplify_bind_expr): In ORT_SIMD region
39231 mark local addressable non-static vars as GOVD_PRIVATE
39232 instead of GOVD_LOCAL.
39233 * omp-low.c (lower_omp_for): Move gimple_bind_vars
39234 and BLOCK_VARS of gimple_bind_block to new_stmt rather
39237 PR middle-end/60092
39238 * tree-ssa-ccp.c (surely_varying_stmt_p): Don't return true
39239 if TYPE_ATTRIBUTES (gimple_call_fntype ()) contain
39240 assume_aligned or alloc_align attributes.
39241 (bit_value_assume_aligned): Add ATTR, PTRVAL and ALLOC_ALIGN
39242 arguments. Handle also assume_aligned and alloc_align attributes.
39243 (evaluate_stmt): Adjust bit_value_assume_aligned caller. Handle
39244 calls to functions with assume_aligned or alloc_align attributes.
39245 * doc/extend.texi: Document assume_aligned and alloc_align attributes.
39247 2014-02-08 Terry Guo <terry.guo@arm.com>
39249 * doc/invoke.texi: Document ARM -march=armv7e-m.
39251 2014-02-08 Jakub Jelinek <jakub@redhat.com>
39253 * cilk-common.c (cilk_init_builtins): Clear TREE_NOTHROW
39254 flag on __cilkrts_rethrow builtin.
39257 * ipa-cp.c (determine_versionability): Fail at -O0
39258 or __attribute__((optimize (0))) or -fno-ipa-cp functions.
39259 * tree-sra.c (ipa_sra_preliminary_function_checks): Similarly.
39262 2014-02-04 Jakub Jelinek <jakub@redhat.com>
39265 * tree-inline.c (copy_forbidden): Fail for
39266 __attribute__((optimize (0))) functions.
39268 2014-02-07 Jan Hubicka <hubicka@ucw.cz>
39270 * varpool.c: Include pointer-set.h.
39271 (varpool_remove_unreferenced_decls): Variables in other partitions
39272 will not be output; be however careful to not lose information
39273 about partitioning.
39275 2014-02-07 Jan Hubicka <hubicka@ucw.cz>
39277 * gimple-fold.c (gimple_get_virt_method_for_vtable): Do O(1)
39278 lookup in the vtable constructor.
39280 2014-02-07 Jeff Law <law@redhat.com>
39283 * config/m68k/m68k.md (ashldi_extsi): Turn into a
39284 define_insn_and_split.
39286 * ipa-inline.c (inline_small_functions): Fix typos.
39288 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
39290 * config/s390/s390-protos.h (s390_can_use_simple_return_insn)
39291 (s390_can_use_return_insn): Declare.
39292 * config/s390/s390.h (EPILOGUE_USES): Define.
39293 * config/s390/s390.c (s390_mainpool_start): Allow two main_pool
39295 (s390_chunkify_start): Handle return JUMP_LABELs.
39296 (s390_early_mach): Emit a main_pool instruction on the entry edge.
39297 (s300_set_up_by_prologue, s390_can_use_simple_return_insn)
39298 (s390_can_use_return_insn): New functions.
39299 (s390_fix_long_loop_prediction): Handle conditional returns.
39300 (TARGET_SET_UP_BY_PROLOGUE): Define.
39301 * config/s390/s390.md (ANY_RETURN): New code iterator.
39302 (*creturn, *csimple_return, return, simple_return): New patterns.
39304 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
39306 * config/s390/s390.c (s390_restore_gprs_from_fprs): Add REG_CFA_RESTORE
39307 notes to each restore. Also add REG_CFA_DEF_CFA when restoring %r15.
39308 (s390_optimize_prologue): Don't clear RTX_FRAME_RELATED_P. Update the
39309 REG_CFA_RESTORE list when deciding not to restore a register.
39311 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
39313 * config/s390/s390.c: Include tree-pass.h and context.h.
39314 (s390_early_mach): New function, split out from...
39315 (s390_emit_prologue): ...here.
39316 (pass_data_s390_early_mach): New pass structure.
39317 (pass_s390_early_mach): New class.
39318 (s390_option_override): Create and register early_mach pass.
39319 Move to end of file.
39321 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
39323 * var-tracking.c (vt_stack_adjustments): Don't require stack_adjusts
39324 to match for the exit block.
39326 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39328 * config/s390/s390.md ("atomic_load<mode>", "atomic_store<mode>")
39329 ("atomic_compare_and_swap<mode>", "atomic_fetch_<atomic><mode>"):
39330 Reject misaligned operands.
39332 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39334 * optabs.c (expand_atomic_compare_and_swap): Allow expander to fail.
39336 2014-02-07 Richard Biener <rguenther@suse.de>
39338 PR middle-end/60092
39339 * gimple-low.c (lower_builtin_posix_memalign): New function.
39340 (lower_stmt): Call it to lower posix_memalign in a way
39341 to make alignment info accessible.
39343 2014-02-07 Jakub Jelinek <jakub@redhat.com>
39346 * tree.c (build_common_builtin_nodes): Set ECF_LEAF for
39347 __builtin_setjmp_receiver.
39349 2014-02-07 Richard Biener <rguenther@suse.de>
39351 PR middle-end/60092
39352 * builtin-types.def (BT_FN_INT_PTRPTR_SIZE_SIZE): Add.
39353 * builtins.def (BUILT_IN_POSIX_MEMALIGN): Likewise.
39354 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
39355 Handle BUILT_IN_POSIX_MEMALIGN.
39356 (find_func_clobbers): Likewise.
39357 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise.
39358 (call_may_clobber_ref_p_1): Likewise.
39360 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
39363 * ipa-devirt.c (record_target_from_binfo): Remove overactive
39366 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
39369 * lto-cgraph.c (lto_output_node): Use
39370 symtab_get_symbol_partitioning_class.
39371 (lto_output_varpool_node): likewise.
39372 (symtab_get_symbol_partitioning_class): Move here from
39373 lto/lto-partition.c
39374 * cgraph.h (symbol_partitioning_class): Likewise.
39375 (symtab_get_symbol_partitioning_class): Declare.
39377 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
39379 * ggc.h (ggc_internal_cleared_alloc): New macro.
39380 * vec.h (vec_safe_copy): Handle memory stats.
39381 * omp-low.c (simd_clone_struct_alloc): Use ggc_internal_cleared_alloc.
39382 * target-globals.c (save_target_globals): Likewise.
39384 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
39387 * expr.c (emit_move_resolve_push): Export; be bit more selective
39388 on when to clear alias set.
39389 * expr.h (emit_move_resolve_push): Declare.
39390 * function.h (struct function): Add tail_call_marked.
39391 * tree-tailcall.c (optimize_tail_call): Set tail_call_marked.
39392 * config/i386/i386-protos.h (ix86_expand_push): Remove.
39393 * config/i386/i386.md (TImode move expander): De not call
39395 (FP push expanders): Preserve memory attributes.
39396 * config/i386/sse.md (push<mode>1): Remove.
39397 * config/i386/i386.c (ix86_expand_vector_move): Handle push operation.
39398 (ix86_expand_push): Remove.
39399 * config/i386/mmx.md (push<mode>1): Remove.
39401 2014-02-06 Jakub Jelinek <jakub@redhat.com>
39403 PR rtl-optimization/60030
39404 * internal-fn.c (ubsan_expand_si_overflow_mul_check): Surround
39405 lopart with paradoxical subreg before shifting it up by hprec.
39407 2014-02-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
39409 * config/arm/aarch-cost-tables.h (cortexa57_extra_costs): New table.
39410 Remove extra newline at end of file.
39411 * config/arm/arm.c (arm_cortex_a57_tune): New tuning struct.
39412 (arm_issue_rate): Handle cortexa57.
39413 * config/arm/arm-cores.def (cortex-a57): Use cortex_a57 tuning.
39414 (cortex-a57.cortex-a53): Likewise.
39416 2014-02-06 Jakub Jelinek <jakub@redhat.com>
39419 * config/arm/arm.c (emit_multi_reg_push): Add dwarf_regs_mask argument,
39420 don't record in REG_FRAME_RELATED_EXPR registers not set in that
39422 (arm_expand_prologue): Adjust all callers.
39423 (arm_unwind_emit_sequence): Allow saved, but not important for unwind
39424 info, registers also at the lowest numbered registers side. Use
39425 gcc_assert instead of abort, and SET_SRC/SET_DEST macros instead of
39429 * var-tracking.c (adjust_mems): Before adding a SET to
39430 amd->side_effects, adjust it's SET_SRC using simplify_replace_fn_rtx.
39432 2014-02-06 Alan Modra <amodra@gmail.com>
39435 * config/rs6000/rs6000.c (rs6000_secondary_memory_needed_mode): Only
39436 change SDmode to DDmode when lra_in_progress.
39438 2014-02-06 Jakub Jelinek <jakub@redhat.com>
39440 PR middle-end/59150
39441 * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers, call
39442 free_data_ref on the dr first, and before goto again also set dr
39443 to the next dr. For simd_lane_access, free old datarefs[i] before
39444 overwriting it. For get_vectype_for_scalar_type failure, don't
39445 free_data_ref if simd_lane_access.
39447 * Makefile.in (prefix.o, cppbuiltin.o): Depend on $(BASEVER).
39450 * tree.h (opts_for_fn): New inline function.
39451 (opt_for_fn): Define.
39452 * config/i386/i386.c (ix86_function_regparm): Use
39453 opt_for_fn (decl, optimize) instead of optimize.
39455 2014-02-06 Marcus Shawcroft <marcus.shawcroft@arm.com>
39457 * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix logic
39458 for SYMBOL_REF in large memory model.
39460 2014-02-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
39462 * config/aarch64/aarch64-cores.def (cortex-a53): Specify CRC32
39463 and crypto support.
39464 (cortex-a57): Likewise.
39465 (cortex-a57.cortex-a53): Likewise.
39467 2014-02-06 Yury Gribov <y.gribov@samsung.com>
39468 Kugan Vivekanandarajah <kuganv@linaro.org>
39470 * config/arm/arm.c (arm_vector_alignment_reachable): Check
39472 * config/arm/arm.c (arm_builtin_support_vector_misalignment): Likewise.
39474 2014-02-06 Richard Biener <rguenther@suse.de>
39476 * tree-cfg.c (gimple_duplicate_sese_region): Fix ordering of
39477 set_loop_copy and initialize_original_copy_tables.
39479 2014-02-06 Alex Velenko <Alex.Velenko@arm.com>
39481 * config/aarch64/aarch64-simd.md
39482 (aarch64_ashr_simddi): Change QI to SI.
39484 2014-02-05 Jan Hubicka <hubicka@ucw.cz>
39485 Jakub Jelinek <jakub@redhat.com>
39487 PR middle-end/60013
39488 * ipa-inline-analysis.c (compute_bb_predicates): Ensure monotonicity
39491 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
39493 * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Change
39494 CODE_FOR_altivec_vpku[hw]um to
39495 CODE_FOR_altivec_vpku[hw]um_direct.
39496 * config/rs6000/altivec.md (vec_unpacks_hi_<VP_small_lc>): Change
39497 UNSPEC_VUNPACK_HI_SIGN to UNSPEC_VUNPACK_HI_SIGN_DIRECT.
39498 (vec_unpacks_lo_<VP_small_lc>): Change UNSPEC_VUNPACK_LO_SIGN to
39499 UNSPEC_VUNPACK_LO_SIGN_DIRECT.
39501 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
39503 * config/rs6000/altivec.md (altivec_vsum2sws): Adjust code
39504 generation for -maltivec=be.
39505 (altivec_vsumsws): Simplify redundant test.
39507 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
39509 * altivec.md (UNSPEC_VPACK_UNS_UNS_MOD_DIRECT): New unspec.
39510 (UNSPEC_VUNPACK_HI_SIGN_DIRECT): Likewise.
39511 (UNSPEC_VUNPACK_LO_SIGN_DIRECT): Likewise.
39512 (mulv8hi3): Use gen_altivec_vpkuwum_direct instead of
39513 gen_altivec_vpkuwum.
39514 (altivec_vpkpx): Test for VECTOR_ELT_ORDER_BIG instead of for
39516 (altivec_vpks<VI_char>ss): Likewise.
39517 (altivec_vpks<VI_char>us): Likewise.
39518 (altivec_vpku<VI_char>us): Likewise.
39519 (altivec_vpku<VI_char>um): Likewise.
39520 (altivec_vpku<VI_char>um_direct): New (copy of
39521 altivec_vpku<VI_char>um that still relies on BYTES_BIG_ENDIAN, for
39523 (altivec_vupkhs<VU_char>): Emit vupkls* instead of vupkhs* when
39524 target is little endian and -maltivec=be is not specified.
39525 (*altivec_vupkhs<VU_char>_direct): New (copy of
39526 altivec_vupkhs<VU_char> that always emits vupkhs*, for internal use).
39527 (altivec_vupkls<VU_char>): Emit vupkhs* instead of vupkls* when
39528 target is little endian and -maltivec=be is not specified.
39529 (*altivec_vupkls<VU_char>_direct): New (copy of
39530 altivec_vupkls<VU_char> that always emits vupkls*, for internal use).
39531 (altivec_vupkhpx): Emit vupklpx instead of vupkhpx when target is
39532 little endian and -maltivec=be is not specified.
39533 (altivec_vupklpx): Emit vupkhpx instead of vupklpx when target is
39534 little endian and -maltivec=be is not specified.
39536 2014-02-05 Richard Henderson <rth@redhat.com>
39539 * combine-stack-adj.c: Revert r206943.
39540 * sched-int.h (struct deps_desc): Add last_args_size.
39541 * sched-deps.c (init_deps): Initialize it.
39542 (sched_analyze_insn): Add OUTPUT dependencies between insns that
39543 contain REG_ARGS_SIZE notes.
39545 2014-02-05 Jan Hubicka <hubicka@ucw.cz>
39547 * lto-cgraph.c (asm_nodes_output): Make global.
39548 * lto-wrapper.c (run_gcc): Pass down paralelizm to WPA.
39549 * gcc.c (AS_NEEDS_DASH_FOR_PIPED_INPUT): Allow WPA parameter
39550 (driver_handle_option): Handle OPT_fwpa.
39552 2014-02-05 Jakub Jelinek <jakub@redhat.com>
39555 * ipa-devirt.c (possible_polymorphic_call_targets): Fix
39556 a comment typo and formatting issue. If odr_hash hasn't been
39557 created, return vNULL and set *completep to false.
39559 PR middle-end/57499
39560 * tree-eh.c (cleanup_empty_eh): Bail out on totally empty
39561 bb with no successors.
39563 2014-02-05 James Greenhalgh <james.greenhalgh@arm.com>
39566 * doc/invoke.texi (-march): Clarify documentation for ARM.
39567 (-mtune): Likewise.
39570 2014-02-05 Richard Biener <rguenther@suse.de>
39572 * tree-vect-loop.c (vect_analyze_loop_2): Be more informative
39573 when not vectorizing because of too many alias checks.
39574 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
39575 Add more verboseness, avoid duplicate MSG_MISSED_OPTIMIZATION.
39577 2014-02-05 Nick Clifton <nickc@redhat.com>
39579 * config/mn10300/mn10300.c (mn10300_hard_regno_mode_ok): Do not
39580 accept extended registers in any mode when compiling for the MN10300.
39582 2014-02-05 Yury Gribov <y.gribov@samsung.com>
39584 * cif-code.def (ATTRIBUTE_MISMATCH): New CIF code.
39585 * ipa-inline.c (report_inline_failed_reason): Handle mismatched
39586 sanitization attributes.
39587 (can_inline_edge_p): Likewise.
39588 (sanitize_attrs_match_for_inline_p): New function.
39590 2014-02-04 Jan Hubicka <hubicka@ucw.cz>
39592 * ipa-prop.c (detect_type_change): Shor circuit testing of
39593 type changes on THIS pointer.
39595 2014-02-04 John David Anglin <danglin@gcc.gnu.org>
39598 * config/pa/pa.c (legitimize_tls_address): Return original address
39599 if not passed a SYMBOL_REF rtx.
39600 (hppa_legitimize_address): Call legitimize_tls_address for all TLS
39602 (pa_emit_move_sequence): Simplify TLS source operands.
39603 (pa_legitimate_constant_p): Reject all TLS constants.
39604 * config/pa/pa.h (PA_SYMBOL_REF_TLS_P): Correct comment.
39605 (CONSTANT_ADDRESS_P): Reject TLS CONST addresses.
39607 2014-02-04 Jan Hubicka <hubicka@ucw.cz>
39609 * ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY
39610 groups when we know they are controlled by LTO.
39611 * varasm.c (default_binds_local_p_1): If object is in other partition,
39612 it will be resolved locally.
39614 2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
39616 * config/host-linux.c (linux_gt_pch_use_address): Don't
39617 use SSIZE_MAX because it is not always defined.
39619 2014-02-04 Vladimir Makarov <vmakarov@redhat.com>
39622 * lra-constraints.c (need_for_split_p): Use more 3 reloads as
39623 threshold for pseudo splitting.
39624 (update_ebb_live_info): Process call argument hard registers and
39625 hard registers from insn definition too.
39626 (max_small_class_regs_num): New constant.
39627 (inherit_in_ebb): Update live hard regs through EBBs. Update
39628 reloads_num only for small register classes. Don't split for
39631 2014-02-04 Markus Trippelsdorf <markus@trippelsdorf.de>
39634 * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that target
39637 2014-02-04 Jan Hubicka <hubicka@ucw.cz>
39639 * gimple-fold.c (can_refer_decl_in_current_unit_p): Default
39640 visibility is safe.
39642 2014-02-04 Marek Polacek <polacek@redhat.com>
39644 * gdbinit.in (pel): Define.
39646 2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
39648 * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current
39651 2014-02-04 Richard Biener <rguenther@suse.de>
39654 * lto-streamer-out.c (tree_is_indexable): Force NAMELIST_DECLs
39655 in function context local.
39656 (lto_output_tree_ref): Do not write trees from lto_output_tree_ref.
39657 * lto-streamer-in.c (lto_input_tree_ref): Handle LTO_namelist_decl_ref
39658 similar to LTO_imported_decl_ref.
39660 2014-02-04 Jakub Jelinek <jakub@redhat.com>
39662 PR tree-optimization/60002
39663 * cgraphclones.c (build_function_decl_skip_args): Clear
39664 DECL_LANG_SPECIFIC.
39666 PR tree-optimization/60023
39667 * tree-if-conv.c (predicate_mem_writes): Pass true instead of
39668 false to gsi_replace.
39669 * tree-vect-stmts.c (vect_finish_stmt_generation): If stmt
39670 has been in some EH region and vec_stmt could throw, add
39671 vec_stmt into the same EH region.
39672 * tree-data-ref.c (get_references_in_stmt): If IFN_MASK_LOAD
39673 has no lhs, ignore it.
39674 * internal-fn.c (expand_MASK_LOAD): Likewise.
39677 * tree-inline.c (copy_forbidden): Fail for
39678 __attribute__((optimize (0))) functions.
39681 * omp-low.c (simd_clone_struct_copy): If from->inbranch
39682 is set, copy one less argument.
39683 (expand_simd_clones): Don't subtract clone_info->inbranch
39684 from simd_clone_struct_alloc argument.
39686 PR rtl-optimization/57915
39687 * recog.c (simplify_while_replacing): If all unary/binary/relational
39688 operation arguments are constant, attempt to simplify those.
39690 PR middle-end/59261
39691 * expmed.c (expand_mult): For MODE_VECTOR_INT multiplication
39692 if there is no vashl<mode>3 or ashl<mode>3 insn, skip_synth.
39694 2014-02-04 Richard Biener <rguenther@suse.de>
39696 PR tree-optimization/60012
39697 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Apply
39698 TBAA disambiguation to all DDRs.
39700 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
39703 * config/sol2.h (LINK_LIBGCC_MAPFILE_SPEC): Define.
39704 (LINK_SPEC): Use it for -shared, -shared-libgcc.
39706 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
39709 * tree.c (get_binfo_at_offset): Do not get confused by empty classes;
39711 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
39713 * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Remove.
39714 * gimple-fold.h (gimple_extract_devirt_binfo_from_cst): Remove.
39716 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
39719 * ipa-cp.c (ipa_get_indirect_edge_target_1): Use ipa-devirt
39720 to figure out targets of polymorphic calls with known decl.
39721 * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
39722 * ipa-utils.h (get_polymorphic_call_info_from_invariant): Declare.
39723 * ipa-devirt.c (get_polymorphic_call_info_for_decl): Break out from ...
39724 (get_polymorphic_call_info): ... here.
39725 (get_polymorphic_call_info_from_invariant): New function.
39727 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
39729 * ipa-cp.c (ipa_get_indirect_edge_target_1): Do direct
39730 lookup via vtable pointer; check for type consistency
39731 and turn inconsitent facts into UNREACHABLE.
39732 * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
39733 * gimple-fold.c (gimple_get_virt_method_for_vtable): Do not ICE on
39734 type inconsistent querries; return UNREACHABLE instead.
39736 2014-02-03 Richard Henderson <rth@twiddle.net>
39739 * tree-ssa-uninit.c (push_to_worklist): Don't re-push if we've
39740 already processed this node.
39741 (normalize_one_pred_1): Pass along mark_set.
39742 (normalize_one_pred): Create and destroy a pointer_set_t.
39743 (normalize_one_pred_chain): Likewise.
39745 2014-02-03 Laurent Aflonsi <laurent.alfonsi@st.com>
39747 PR gcov-profile/58602
39748 * gcc/gcov-io.c (gcov_open): Open with truncation when mode < 0.
39750 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
39753 * ipa-cp.c (ipa_get_indirect_edge_target_1): Give up on
39754 -fno-devirtualize; try to devirtualize by the knowledge of
39755 virtual table pointer given by aggregate propagation.
39756 * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
39757 (ipa_print_node_jump_functions): Dump also offset that
39758 is relevant for polymorphic calls.
39759 (determine_known_aggregate_parts): Add arg_type parameter; use it
39760 instead of determining the type from pointer type.
39761 (ipa_compute_jump_functions_for_edge): Update call of
39762 determine_known_aggregate_parts.
39763 * gimple-fold.c (gimple_get_virt_method_for_vtable): Break out from ...
39764 (gimple_get_virt_method_for_binfo): ... here; simplify using
39765 vtable_pointer_value_to_vtable.
39766 * gimple-fold.h (gimple_get_virt_method_for_vtable): Declare.
39767 * ipa-devirt.c (subbinfo_with_vtable_at_offset): Turn OFFSET parameter
39768 to unsigned HOST_WIDE_INT; use vtable_pointer_value_to_vtable.
39769 (vtable_pointer_value_to_vtable): Break out from ...; handle also
39771 (vtable_pointer_value_to_binfo): ... here.
39772 * ipa-utils.h (vtable_pointer_value_to_vtable): Declare.
39774 2014-02-03 Teresa Johnson <tejohnson@google.com>
39776 * tree-vect-slp.c (vect_supported_load_permutation_p): Avoid
39777 redef of outer loop index variable.
39779 2014-02-03 Marc Glisse <marc.glisse@inria.fr>
39783 * doc/extend.texi (Function Attributes): Typo.
39785 2014-02-03 Cong Hou <congh@google.com>
39787 PR tree-optimization/60000
39788 * tree-vect-loop.c (vect_transform_loop): Set pattern_def_seq to NULL
39789 if the vectorized statement is a store. A store statement can only
39790 appear at the end of pattern statements.
39792 2014-02-03 H.J. Lu <hongjiu.lu@intel.com>
39794 * config/i386/i386.c (flag_opts): Add -mlong-double-128.
39795 (ix86_option_override_internal): Default long double to 64-bit for
39796 32-bit Bionic and to 128-bit for 64-bit Bionic.
39798 * config/i386/i386.h (LONG_DOUBLE_TYPE_SIZE): Use 128 if
39799 TARGET_LONG_DOUBLE_128 is true.
39800 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Likewise.
39802 * config/i386/i386.opt (mlong-double-80): Negate -mlong-double-64.
39803 (mlong-double-64): Negate -mlong-double-128.
39804 (mlong-double-128): New option.
39806 * config/i386/i386-c.c (ix86_target_macros): Define
39807 __LONG_DOUBLE_128__ for TARGET_LONG_DOUBLE_128.
39809 * doc/invoke.texi: Document -mlong-double-128.
39811 2014-02-03 H.J. Lu <hongjiu.lu@intel.com>
39813 PR rtl-optimization/60024
39814 * sel-sched.c (init_regs_for_mode): Check if mode is OK first.
39816 2014-02-03 Markus Trippelsdorf <markus@trippelsdorf.de>
39818 * doc/invoke.texi (fprofile-reorder-functions): Fix typo.
39820 2014-02-03 Andrey Belevantsev <abel@ispras.ru>
39822 PR rtl-optimization/57662
39823 * sel-sched.c (code_motion_path_driver): Do not mark already not
39824 existing blocks in the visiting bitmap.
39826 2014-02-03 Andrey Belevantsev <abel@ispras.ru>
39828 * sel-sched-ir.c (sel_gen_insn_from_expr_after): Reset INSN_DELETED_P
39829 on the insn being emitted.
39831 2014-02-03 James Greenhalgh <james.greenhalgh@arm.com>
39832 Will Deacon <will.deacon@arm.com>
39834 * doc/gimple.texi (gimple_asm_clear_volatile): Remove.
39836 2014-02-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
39838 * config/arm/arm-tables.opt: Regenerate.
39840 2014-02-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
39842 * config/rs6000/rs6000.c (altivec_expand_vec_perm_le): Generalize
39843 for vector types other than V16QImode.
39844 * config/rs6000/altivec.md (altivec_vperm_<mode>): Change to a
39845 define_expand, and call altivec_expand_vec_perm_le when producing
39846 code with little endian element order.
39847 (*altivec_vperm_<mode>_internal): New insn having previous
39848 behavior of altivec_vperm_<mode>.
39849 (altivec_vperm_<mode>_uns): Change to a define_expand, and call
39850 altivec_expand_vec_perm_le when producing code with little endian
39852 (*altivec_vperm_<mode>_uns_internal): New insn having previous
39853 behavior of altivec_vperm_<mode>_uns.
39855 2014-02-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
39857 * config/rs6000/altivec.md (UNSPEC_VSUMSWS_DIRECT): New unspec.
39858 (altivec_vsumsws): Add handling for -maltivec=be with a little
39860 (altivec_vsumsws_direct): New.
39861 (reduc_splus_<mode>): Call gen_altivec_vsumsws_direct instead of
39862 gen_altivec_vsumsws.
39864 2014-02-02 Jan Hubicka <hubicka@ucw.cz>
39866 * ipa-devirt.c (subbinfo_with_vtable_at_offset,
39867 vtable_pointer_value_to_binfo): New functions.
39868 * ipa-utils.h (vtable_pointer_value_to_binfo): Declare.
39869 * ipa-prop.c (extr_type_from_vtbl_ptr_store): Use it.
39871 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
39873 * config/nios2/nios2.md (load_got_register): Initialize GOT
39874 pointer from _gp_got instead of _GLOBAL_OFFSET_TABLE_.
39875 * config/nios2/nios2.c (nios2_function_profiler): Likewise.
39877 2014-02-02 Jan Hubicka <hubicka@ucw.cz>
39879 * ipa-prop.c (update_jump_functions_after_inlining): When type is not
39880 preserverd by passthrough, do not propagate the type.
39882 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
39884 * config/mips/mips.c (MIPS_GET_FCSR, MIPS_SET_FCSR): New macros.
39885 (mips_atomic_assign_expand_fenv): New function.
39886 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
39888 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
39890 * doc/extend.texi (__builtin_mips_get_fcsr): Document.
39891 (__builtin_mips_set_fcsr): Likewise.
39892 * config/mips/mips-ftypes.def: Add MIPS_VOID_FTYPE_USI and
39893 MIPS_USI_FTYPE_VOID.
39894 * config/mips/mips-protos.h (mips16_expand_get_fcsr): Declare
39895 (mips16_expand_set_fcsr): Likewise.
39896 * config/mips/mips.c (mips16_get_fcsr_stub): New variable.
39897 (mips16_set_fcsr_stub): Likewise.
39898 (mips16_get_fcsr_one_only_stub): New class.
39899 (mips16_set_fcsr_one_only_stub): Likewise.
39900 (mips16_expand_get_fcsr, mips16_expand_set_fcsr): New functions.
39901 (mips_code_end): Output the get_fcsr and set_fcsr stubs, if needed.
39902 (BUILTIN_AVAIL_MIPS16, AVAIL_ALL): New macros.
39903 (hard_float): New availability predicate.
39904 (mips_builtins): Add get_fcsr and set_fcsr.
39905 (mips_expand_builtin): Check BUILTIN_AVAIL_MIPS16.
39906 * config/mips/mips.md (UNSPEC_GET_FCSR, UNSPEC_SET_FCSR): New unspecs.
39907 (GET_FCSR_REGNUM, SET_FCSR_REGNUM): New constants.
39908 (mips_get_fcsr, *mips_get_fcsr, mips_get_fcsr_mips16_<mode>)
39909 (mips_set_fcsr, *mips_set_fcsr, mips_set_fcsr_mips16_<mode>): New
39912 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
39914 * config/mips/mips.c (mips_one_only_stub): New class.
39915 (mips_need_mips16_rdhwr_p): Replace with...
39916 (mips16_rdhwr_stub): ...this new variable.
39917 (mips16_stub_call_address): New function.
39918 (mips16_rdhwr_one_only_stub): New class.
39919 (mips_expand_thread_pointer): Use mips16_stub_call_address.
39920 (mips_output_mips16_rdhwr): Delete.
39921 (mips_finish_stub): New function.
39922 (mips_code_end): Use it to handle rdhwr stubs.
39924 2014-02-02 Uros Bizjak <ubizjak@gmail.com>
39927 * config/i386/i386.c (classify_argument): Fix handling of bit_offset
39928 when calculating size of integer atomic types.
39930 2014-02-02 H.J. Lu <hongjiu.lu@intel.com>
39932 * ipa-inline-analysis.c (true_predicate_p): Fix a typo in comments.
39934 2014-02-01 Jakub Jelinek <jakub@redhat.com>
39936 PR tree-optimization/60003
39937 * gimple-low.c (lower_builtin_setjmp): Set cfun->has_nonlocal_label.
39938 * profile.c (branch_prob): Use gimple_call_builtin_p
39939 to check for BUILT_IN_SETJMP_RECEIVER.
39940 * tree-inline.c (copy_bb): Call notice_special_calls.
39942 2014-01-31 Vladimir Makarov <vmakarov@redhat.com>
39945 * lra-constraints.c (process_alt_operands): Update reload_sum only
39948 2014-01-31 Richard Henderson <rth@redhat.com>
39950 PR middle-end/60004
39951 * tree-eh.c (lower_try_finally_switch): Delay lowering finally block
39952 until after else_eh is processed.
39954 2014-01-31 Ilya Tocar <ilya.tocar@intel.com>
39956 * config/i386/avx512fintrin.h (_MM_FROUND_TO_NEAREST_INT),
39957 (_MM_FROUND_TO_NEG_INF), (_MM_FROUND_TO_POS_INF),
39958 (_MM_FROUND_TO_ZERO), (_MM_FROUND_CUR_DIRECTION): Are already defined
39959 in smmintrin.h, remove them.
39960 (_MM_FROUND_NO_EXC): Same as above, bit also wrong value.
39961 * config/i386/i386.c (ix86_print_operand): Split sae and rounding.
39962 * config/i386/i386.md (ROUND_SAE): Fix value.
39963 * config/i386/predicates.md (const_4_or_8_to_11_operand): New.
39964 (const48_operand): New.
39965 * config/i386/subst.md (round), (round_expand): Use
39966 const_4_or_8_to_11_operand.
39967 (round_saeonly), (round_saeonly_expand): Use const48_operand.
39969 2014-01-31 Ilya Tocar <ilya.tocar@intel.com>
39971 * config/i386/constraints.md (Yk): Swap meaning with k.
39972 * config/i386/i386.md (movhi_internal): Change Yk to k.
39973 (movqi_internal): Ditto.
39974 (*k<logic><mode>): Ditto.
39977 (kandn<mode>): Ditto.
39978 (*<code>hi_1): Ditto.
39979 (*<code>qi_1): Ditto.
39980 (kxnor<mode>): Ditto.
39981 (kortestzhi): Ditto.
39982 (kortestchi): Ditto.
39984 (*one_cmplhi2_1): Ditto.
39985 (*one_cmplqi2_1): Ditto.
39986 * config/i386/sse.md (): Change k to Yk.
39987 (avx512f_load<mode>_mask): Ditto.
39988 (avx512f_blendm<mode>): Ditto.
39989 (avx512f_store<mode>_mask): Ditto.
39990 (avx512f_storeu<ssemodesuffix>512_mask): Ditto.
39991 (avx512f_storedqu<mode>_mask): Ditto.
39992 (avx512f_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>):
39994 (avx512f_ucmp<mode>3<mask_scalar_merge_name>): Ditto.
39995 (avx512f_vmcmp<mode>3<round_saeonly_name>): Ditto.
39996 (avx512f_vmcmp<mode>3_mask<round_saeonly_name>): Ditto.
39997 (avx512f_maskcmp<mode>3): Ditto.
39998 (avx512f_fmadd_<mode>_mask<round_name>): Ditto.
39999 (avx512f_fmadd_<mode>_mask3<round_name>): Ditto.
40000 (avx512f_fmsub_<mode>_mask<round_name>): Ditto.
40001 (avx512f_fmsub_<mode>_mask3<round_name>): Ditto.
40002 (avx512f_fnmadd_<mode>_mask<round_name>): Ditto.
40003 (avx512f_fnmadd_<mode>_mask3<round_name>): Ditto.
40004 (avx512f_fnmsub_<mode>_mask<round_name>): Ditto.
40005 (avx512f_fnmsub_<mode>_mask3<round_name>): Ditto.
40006 (avx512f_fmaddsub_<mode>_mask<round_name>): Ditto.
40007 (avx512f_fmaddsub_<mode>_mask3<round_name>): Ditto.
40008 (avx512f_fmsubadd_<mode>_mask<round_name>): Ditto.
40009 (avx512f_fmsubadd_<mode>_mask3<round_name>): Ditto.
40010 (avx512f_vextract<shuffletype>32x4_1_maskm): Ditto.
40011 (vec_extract_lo_<mode>_maskm): Ditto.
40012 (vec_extract_hi_<mode>_maskm): Ditto.
40013 (avx512f_vternlog<mode>_mask): Ditto.
40014 (avx512f_fixupimm<mode>_mask<round_saeonly_name>): Ditto.
40015 (avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Ditto.
40016 (avx512f_<code><pmov_src_lower><mode>2_mask): Ditto.
40017 (avx512f_<code>v8div16qi2_mask): Ditto.
40018 (avx512f_<code>v8div16qi2_mask_store): Ditto.
40019 (avx512f_eq<mode>3<mask_scalar_merge_name>_1): Ditto.
40020 (avx512f_gt<mode>3<mask_scalar_merge_name>): Ditto.
40021 (avx512f_testm<mode>3<mask_scalar_merge_name>): Ditto.
40022 (avx512f_testnm<mode>3<mask_scalar_merge_name>): Ditto.
40023 (*avx512pf_gatherpf<mode>sf_mask): Ditto.
40024 (*avx512pf_gatherpf<mode>df_mask): Ditto.
40025 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
40026 (*avx512pf_scatterpf<mode>df_mask): Ditto.
40027 (avx512cd_maskb_vec_dupv8di): Ditto.
40028 (avx512cd_maskw_vec_dupv16si): Ditto.
40029 (avx512f_vpermi2var<mode>3_maskz): Ditto.
40030 (avx512f_vpermi2var<mode>3_mask): Ditto.
40031 (avx512f_vpermi2var<mode>3_mask): Ditto.
40032 (avx512f_vpermt2var<mode>3_maskz): Ditto.
40033 (*avx512f_gathersi<mode>): Ditto.
40034 (*avx512f_gathersi<mode>_2): Ditto.
40035 (*avx512f_gatherdi<mode>): Ditto.
40036 (*avx512f_gatherdi<mode>_2): Ditto.
40037 (*avx512f_scattersi<mode>): Ditto.
40038 (*avx512f_scatterdi<mode>): Ditto.
40039 (avx512f_compress<mode>_mask): Ditto.
40040 (avx512f_compressstore<mode>_mask): Ditto.
40041 (avx512f_expand<mode>_mask): Ditto.
40042 * config/i386/subst.md (mask): Change k to Yk.
40043 (mask_scalar_merge): Ditto.
40046 2014-01-31 Marc Glisse <marc.glisse@inria.fr>
40048 * doc/extend.texi (Vector Extensions): Document ?: in C++.
40050 2014-01-31 Richard Biener <rguenther@suse.de>
40052 PR middle-end/59990
40053 * builtins.c (fold_builtin_memory_op): Make sure to not
40054 use a floating-point mode or a boolean or enumeral type for
40055 the copy operation.
40057 2014-01-30 DJ Delorie <dj@redhat.com>
40059 * config/msp430/msp430.h (LIB_SPEC): Add -lcrt
40060 * config/msp430/msp430.md (msp430_refsym_need_exit): New.
40061 * config/msp430/msp430.c (msp430_expand_epilogue): Call it
40062 whenever main() has an epilogue.
40064 2014-01-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
40066 * config/rs6000/rs6000.c (rs6000_expand_vector_init): Remove
40067 unused variable "field".
40068 * config/rs6000/vsx.md (vsx_mergel_<mode>): Add missing DONE.
40069 (vsx_mergeh_<mode>): Likewise.
40070 * config/rs6000/altivec.md (altivec_vmrghb): Likewise.
40071 (altivec_vmrghh): Likewise.
40072 (altivec_vmrghw): Likewise.
40073 (altivec_vmrglb): Likewise.
40074 (altivec_vmrglh): Likewise.
40075 (altivec_vmrglw): Likewise.
40076 (altivec_vspltb): Add missing uses.
40077 (altivec_vsplth): Likewise.
40078 (altivec_vspltw): Likewise.
40079 (altivec_vspltsf): Likewise.
40081 2014-01-30 Jakub Jelinek <jakub@redhat.com>
40084 * ifcvt.c (cond_exec_process_insns): Don't conditionalize
40085 frame related instructions.
40087 2014-01-30 Vladimir Makarov <vmakarov@redhat.com>
40089 PR rtl-optimization/59959
40090 * lra-constrains.c (simplify_operand_subreg): Assign NO_REGS to
40091 any reload of register whose subreg is invalid.
40093 2014-01-30 Jakub Jelinek <jakub@redhat.com>
40095 * config/i386/f16cintrin.h (_cvtsh_ss): Avoid -Wnarrowing warning.
40096 * config/i386/avx512fintrin.h (_mm512_mask_cvtusepi64_storeu_epi32):
40097 Add missing return type - void.
40099 2014-01-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
40101 * gcc/config/rs6000/rs6000.c (rs6000_expand_vector_init): Use
40102 gen_vsx_xxspltw_v4sf_direct instead of gen_vsx_xxspltw_v4sf;
40103 remove element index adjustment for endian (now handled in vsx.md
40105 (altivec_expand_vec_perm_const): Use
40106 gen_altivec_vsplt[bhw]_direct instead of gen_altivec_vsplt[bhw].
40107 * gcc/config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTW): New unspec.
40108 (vsx_xxspltw_<mode>): Adjust element index for little endian.
40109 * gcc/config/rs6000/altivec.md (altivec_vspltb): Divide into a
40110 define_expand and a new define_insn *altivec_vspltb_internal;
40111 adjust for -maltivec=be on a little endian target.
40112 (altivec_vspltb_direct): New.
40113 (altivec_vsplth): Divide into a define_expand and a new
40114 define_insn *altivec_vsplth_internal; adjust for -maltivec=be on a
40115 little endian target.
40116 (altivec_vsplth_direct): New.
40117 (altivec_vspltw): Divide into a define_expand and a new
40118 define_insn *altivec_vspltw_internal; adjust for -maltivec=be on a
40119 little endian target.
40120 (altivec_vspltw_direct): New.
40121 (altivec_vspltsf): Divide into a define_expand and a new
40122 define_insn *altivec_vspltsf_internal; adjust for -maltivec=be on
40123 a little endian target.
40125 2014-01-30 Richard Biener <rguenther@suse.de>
40127 PR tree-optimization/59993
40128 * tree-ssa-forwprop.c (associate_pointerplus): Check we
40129 can propagate form the earlier stmt and avoid the transform
40130 when the intermediate result is needed.
40132 2014-01-30 Alangi Derick <alangiderick@gmail.com>
40134 * README.Portability: Fix typo.
40136 2014-01-30 David Holsgrove <david.holsgrove@xilinx.com>
40138 * config/microblaze/microblaze.md(cstoresf4, cbranchsf4): Replace
40139 comparison_operator with ordered_comparison_operator.
40141 2014-01-30 Nick Clifton <nickc@redhat.com>
40143 * config/mn10300/mn10300-protos.h (mn10300_store_multiple_operation_p):
40144 Rename to mn10300_store_multiple_regs.
40145 * config/mn10300/mn10300.c: Likewise.
40146 * config/mn10300/mn10300.md (store_movm): Fix typo: call
40147 store_multiple_regs.
40148 * config/mn10300/predicates.md (mn10300_store_multiple_operation):
40149 Call mn10300_store_multiple_regs.
40151 2014-01-30 Nick Clifton <nickc@redhat.com>
40152 DJ Delorie <dj@redhat.com>
40154 * config/rl78/rl78.c (register_sizes): Make the "upper half" of
40155 %fp 2 to keep registers after it properly word-aligned.
40156 (rl78_alloc_physical_registers_umul): Handle the case where both
40157 input operands are the same.
40159 2014-01-30 Richard Biener <rguenther@suse.de>
40161 PR tree-optimization/59903
40162 * tree-vect-loop.c (vect_transform_loop): Guard multiple-types
40165 2014-01-30 Jason Merrill <jason@redhat.com>
40168 * tree.c (walk_type_fields): Handle VECTOR_TYPE.
40171 * cgraphunit.c (expand_thunk): Copy volatile arg to a temporary.
40173 2014-01-30 Richard Biener <rguenther@suse.de>
40175 PR tree-optimization/59951
40176 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Skip uses in debug insns.
40178 2014-01-30 Savin Zlobec <savin.zlobec@gmail.com>
40181 * config/nios2/nios2.c (nios2_fpu_insn_asm): Fix asm output of
40182 SFmode to DFmode case.
40184 2014-01-29 DJ Delorie <dj@redhat.com>
40186 * config/msp430/msp430.opt (-minrt): New.
40187 * config/msp430/msp430.h (STARTFILE_SPEC): Link alternate runtime
40189 (ENDFILE_SPEC): Likewise.
40191 2014-01-29 Jan Hubicka <hubicka@ucw.cz>
40193 * ipa-inline-analysis.c (clobber_only_eh_bb_p): New function.
40194 (estimate_function_body_sizes): Use it.
40196 2014-01-29 Paolo Carlini <paolo.carlini@oracle.com>
40199 * dwarf2out.c (is_cxx_auto): New.
40200 (is_base_type): Use it.
40201 (gen_type_die_with_usage): Likewise.
40203 2014-01-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
40205 * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Use
40206 CODE_FOR_altivec_vmrg*_direct rather than CODE_FOR_altivec_vmrg*.
40207 * config/rs6000/vsx.md (vsx_mergel_<mode>): Adjust for
40208 -maltivec=be with LE targets.
40209 (vsx_mergeh_<mode>): Likewise.
40210 * config/rs6000/altivec.md (UNSPEC_VMRG[HL]_DIRECT): New unspecs.
40211 (mulv8hi3): Use gen_altivec_vmrg[hl]w_direct.
40212 (altivec_vmrghb): Replace with define_expand and new
40213 *altivec_vmrghb_internal insn; adjust for -maltivec=be with LE targets.
40214 (altivec_vmrghb_direct): New define_insn.
40215 (altivec_vmrghh): Replace with define_expand and new
40216 *altivec_vmrghh_internal insn; adjust for -maltivec=be with LE targets.
40217 (altivec_vmrghh_direct): New define_insn.
40218 (altivec_vmrghw): Replace with define_expand and new
40219 *altivec_vmrghw_internal insn; adjust for -maltivec=be with LE targets.
40220 (altivec_vmrghw_direct): New define_insn.
40221 (*altivec_vmrghsf): Adjust for endianness.
40222 (altivec_vmrglb): Replace with define_expand and new
40223 *altivec_vmrglb_internal insn; adjust for -maltivec=be with LE targets.
40224 (altivec_vmrglb_direct): New define_insn.
40225 (altivec_vmrglh): Replace with define_expand and new
40226 *altivec_vmrglh_internal insn; adjust for -maltivec=be with LE targets.
40227 (altivec_vmrglh_direct): New define_insn.
40228 (altivec_vmrglw): Replace with define_expand and new
40229 *altivec_vmrglw_internal insn; adjust for -maltivec=be with LE targets.
40230 (altivec_vmrglw_direct): New define_insn.
40231 (*altivec_vmrglsf): Adjust for endianness.
40232 (vec_widen_umult_hi_v16qi): Use gen_altivec_vmrghh_direct.
40233 (vec_widen_umult_lo_v16qi): Use gen_altivec_vmrglh_direct.
40234 (vec_widen_smult_hi_v16qi): Use gen_altivec_vmrghh_direct.
40235 (vec_widen_smult_lo_v16qi): Use gen_altivec_vmrglh_direct.
40236 (vec_widen_umult_hi_v8hi): Use gen_altivec_vmrghw_direct.
40237 (vec_widen_umult_lo_v8hi): Use gen_altivec_vmrglw_direct.
40238 (vec_widen_smult_hi_v8hi): Use gen_altivec_vmrghw_direct.
40239 (vec_widen_smult_lo_v8hi): Use gen_altivec_vmrglw_direct.
40241 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
40243 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate)
40244 (aarch64_legitimate_address_p, aarch64_class_max_nregs): Adjust
40247 2014-01-29 Richard Biener <rguenther@suse.de>
40249 PR tree-optimization/58742
40250 * tree-ssa-forwprop.c (associate_pointerplus): Rename to
40251 associate_pointerplus_align.
40252 (associate_pointerplus_diff): New function.
40253 (associate_pointerplus): Likewise. Call associate_pointerplus_align
40254 and associate_pointerplus_diff.
40256 2014-01-29 Richard Biener <rguenther@suse.de>
40258 * lto-streamer.h (LTO_major_version): Bump to 3.
40259 (LTO_minor_version): Reset to 0.
40261 2014-01-29 Renlin Li <Renlin.Li@arm.com>
40263 * config/arm/arm-arches.def (ARM_ARCH): Add armv7ve arch.
40264 * config/arm/arm.c (FL_FOR_ARCH7VE): New.
40265 (arm_file_start): Generate correct asm header for armv7ve.
40266 * config/arm/bpabi.h: Add multilib support for armv7ve.
40267 * config/arm/driver-arm.c: Change the architectures of cortex-a7
40268 and cortex-a15 to armv7ve.
40269 * config/arm/t-aprofile: Add multilib support for armv7ve.
40270 * doc/invoke.texi: Document -march=armv7ve.
40272 2014-01-29 Richard Biener <rguenther@suse.de>
40274 PR tree-optimization/58742
40275 * tree-ssa-forwprop.c (associate_plusminus): Return true
40276 if we changed sth, defer EH cleanup to ...
40277 (ssa_forward_propagate_and_combine): ... here. Call simplify_mult.
40278 (simplify_mult): New function.
40280 2014-01-29 Jakub Jelinek <jakub@redhat.com>
40282 PR middle-end/59917
40283 PR tree-optimization/59920
40284 * tree.c (build_common_builtin_nodes): Remove
40285 __builtin_setjmp_dispatcher initialization.
40286 * omp-low.h (make_gimple_omp_edges): Add a new int * argument.
40287 * profile.c (branch_prob): Use gsi_start_nondebug_after_labels_bb
40288 instead of gsi_after_labels + manually skipping debug stmts.
40289 Don't ignore bbs with BUILT_IN_SETJMP_DISPATCHER, instead
40290 ignore bbs with IFN_ABNORMAL_DISPATCHER.
40291 * tree-inline.c (copy_edges_for_bb): Remove
40292 can_make_abnormal_goto argument, instead add abnormal_goto_dest
40293 argument. Ignore computed_goto_p stmts. Don't call
40294 make_abnormal_goto_edges. If a call might need abnormal edges
40295 for non-local gotos, see if it already has an edge to
40296 IFN_ABNORMAL_DISPATCHER or if it is IFN_ABNORMAL_DISPATCHER
40297 with true argument, don't do anything then, otherwise add
40298 EDGE_ABNORMAL from the call's bb to abnormal_goto_dest.
40299 (copy_cfg_body): Compute abnormal_goto_dest, adjust copy_edges_for_bb
40301 * gimple-low.c (struct lower_data): Remove calls_builtin_setjmp.
40302 (lower_function_body): Don't emit __builtin_setjmp_dispatcher.
40303 (lower_stmt): Don't set data->calls_builtin_setjmp.
40304 (lower_builtin_setjmp): Adjust comment.
40305 * builtins.def (BUILT_IN_SETJMP_DISPATCHER): Remove.
40306 * tree-cfg.c (found_computed_goto): Remove.
40307 (factor_computed_gotos): Remove.
40308 (make_goto_expr_edges): Return bool, true for computed gotos.
40309 Don't call make_abnormal_goto_edges.
40310 (build_gimple_cfg): Don't set found_computed_goto, don't call
40311 factor_computed_gotos.
40312 (computed_goto_p): No longer static.
40313 (make_blocks): Don't set found_computed_goto.
40314 (get_abnormal_succ_dispatcher, handle_abnormal_edges): New functions.
40315 (make_edges): If make_goto_expr_edges returns true, push bb
40316 into ab_edge_goto vector, for stmt_can_make_abnormal_goto calls
40317 instead of calling make_abnormal_goto_edges push bb into ab_edge_call
40318 vector. Record mapping between bbs and OpenMP regions if there
40319 are any, adjust make_gimple_omp_edges caller. Call
40320 handle_abnormal_edges.
40321 (make_abnormal_goto_edges): Remove.
40322 * tree-cfg.h (make_abnormal_goto_edges): Remove.
40323 (computed_goto_p, get_abnormal_succ_dispatcher): New prototypes.
40324 * internal-fn.c (expand_ABNORMAL_DISPATCHER): New function.
40325 * builtins.c (expand_builtin): Don't handle BUILT_IN_SETJMP_DISPATCHER.
40326 * internal-fn.def (ABNORMAL_DISPATCHER): New.
40327 * omp-low.c (make_gimple_omp_edges): Add region_idx argument, when
40328 filling *region also set *region_idx to (*region)->entry->index.
40331 * read-rtl.c (read_rtx_code): Clear all of RTX_CODE_SIZE (code).
40332 For REGs set ORIGINAL_REGNO.
40334 2014-01-29 Bingfeng Mei <bmei@broadcom.com>
40336 * doc/md.texi: Mention that a target shouldn't implement
40337 vec_widen_(s|u)mul_even/odd pair if it is less efficient
40340 2014-01-29 Jakub Jelinek <jakub@redhat.com>
40342 PR tree-optimization/59594
40343 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Sort
40344 a copy of the datarefs vector rather than the vector itself.
40346 2014-01-28 Jason Merrill <jason@redhat.com>
40349 * dwarf2out.c (auto_die): New static.
40350 (gen_type_die_with_usage): Handle C++1y 'auto'.
40351 (gen_subprogram_die): If in-class DIE had 'auto', emit type again
40354 2014-01-28 H.J. Lu <hongjiu.lu@intel.com>
40357 * config/i386/gnu-user64.h (SPEC_32): Add "m16|" to "m32".
40358 (SPEC_X32): Likewise.
40359 (SPEC_64): Likewise.
40360 * config/i386/i386.c (ix86_option_override_internal): Turn off
40361 OPTION_MASK_ISA_64BIT, OPTION_MASK_ABI_X32 and OPTION_MASK_ABI_64
40363 (x86_file_start): Output .code16gcc for TARGET_16BIT.
40364 * config/i386/i386.h (TARGET_16BIT): New macro.
40365 (TARGET_16BIT_P): Likewise.
40366 * config/i386/i386.opt: Add m16.
40367 * doc/invoke.texi: Document -m16.
40369 2014-01-28 Jakub Jelinek <jakub@redhat.com>
40371 PR preprocessor/59935
40372 * input.c (location_get_source_line): Bail out on when line number
40373 is zero, and test the return value of lookup_or_add_file_to_cache_tab.
40375 2014-01-28 Richard Biener <rguenther@suse.de>
40377 PR tree-optimization/58742
40378 * tree-ssa-forwprop.c (associate_plusminus): Handle
40379 pointer subtraction of the form (T)(P + A) - (T)P.
40381 2014-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
40383 * config/arm/arm.c (arm_new_rtx_costs): Remove useless statement
40386 2014-01-28 Richard Biener <rguenther@suse.de>
40389 2014-01-28 Richard Biener <rguenther@suse.de>
40391 PR rtl-optimization/45364
40392 PR rtl-optimization/59890
40393 * var-tracking.c (local_get_addr_clear_given_value): Handle
40394 already cleared slot.
40395 (val_reset): Handle not allocated local_get_addr_cache.
40396 (vt_find_locations): Use post-order on the inverted CFG.
40398 2014-01-28 Richard Biener <rguenther@suse.de>
40400 * tree-data-ref.h (ddr_is_anti_dependent, ddrs_have_anti_deps): Remove.
40402 2014-01-28 Richard Biener <rguenther@suse.de>
40404 PR rtl-optimization/45364
40405 PR rtl-optimization/59890
40406 * var-tracking.c (local_get_addr_clear_given_value): Handle
40407 already cleared slot.
40408 (val_reset): Handle not allocated local_get_addr_cache.
40409 (vt_find_locations): Use post-order on the inverted CFG.
40411 2014-01-28 Alan Modra <amodra@gmail.com>
40413 * Makefile.in (BUILD_CPPFLAGS): Do not use ALL_CPPFLAGS.
40414 * configure.ac <recursive call for build != host>: Define
40415 GENERATOR_FILE. Comment. Use CXX_FOR_BUILD, CXXFLAGS_FOR_BUILD
40416 and LD_FOR_BUILD too.
40417 * configure: Regenerate.
40419 2014-01-27 Allan Sandfeld Jensen <sandfeld@kde.org>
40421 * config/i386/i386.c (get_builtin_code_for_version): Separate
40422 Westmere from Nehalem, Ivy Bridge from Sandy Bridge and
40423 Broadwell from Haswell.
40425 2014-01-27 Steve Ellcey <sellcey@mips.com>
40427 * common/config/mips/mips-common.c (TARGET_DEFAULT_TARGET_FLAGS):
40428 Remove TARGET_FP_EXCEPTIONS_DEFAULT and MASK_FUSED_MADD.
40429 * config/mips/mips.c (mips_option_override): Change setting
40431 * config/mips/mips.h (TARGET_FP_EXCEPTIONS_DEFAULT): Remove.
40432 * config/mips/mips.opt (DSP, DSPR2, FP_EXCEPTIONS, FUSED_MADD, MIPS3D):
40433 Change from Mask to Var.
40435 2014-01-27 Jeff Law <law@redhat.com>
40437 * ipa-inline.c (inline_small_functions): Fix typo.
40439 2014-01-27 Ilya Tocar <ilya.tocar@intel.com>
40441 * config/i386/avx512fintrin.h (_mm512_mask_cvtepi32_storeu_epi8): New.
40442 (_mm512_mask_cvtsepi32_storeu_epi8): Ditto.
40443 (_mm512_mask_cvtusepi32_storeu_epi8): Ditto.
40444 (_mm512_mask_cvtepi32_storeu_epi16): Ditto.
40445 (_mm512_mask_cvtsepi32_storeu_epi16): Ditto.
40446 (_mm512_mask_cvtusepi32_storeu_epi16): Ditto.
40447 (_mm512_mask_cvtepi64_storeu_epi32): Ditto.
40448 (_mm512_mask_cvtsepi64_storeu_epi32): Ditto.
40449 (_mm512_mask_cvtusepi64_storeu_epi32): Ditto.
40450 (_mm512_mask_cvtepi64_storeu_epi16): Ditto.
40451 (_mm512_mask_cvtsepi64_storeu_epi16): Ditto.
40452 (_mm512_mask_cvtusepi64_storeu_epi16): Ditto.
40453 (_mm512_mask_cvtepi64_storeu_epi8): Ditto.
40454 (_mm512_mask_cvtsepi64_storeu_epi8): Ditto.
40455 (_mm512_mask_cvtusepi64_storeu_epi8): Ditto.
40456 (_mm512_storeu_epi64): Ditto.
40457 (_mm512_cmpge_epi32_mask): Ditto.
40458 (_mm512_cmpge_epu32_mask): Ditto.
40459 (_mm512_cmpge_epi64_mask): Ditto.
40460 (_mm512_cmpge_epu64_mask): Ditto.
40461 (_mm512_cmple_epi32_mask): Ditto.
40462 (_mm512_cmple_epu32_mask): Ditto.
40463 (_mm512_cmple_epi64_mask): Ditto.
40464 (_mm512_cmple_epu64_mask): Ditto.
40465 (_mm512_cmplt_epi32_mask): Ditto.
40466 (_mm512_cmplt_epu32_mask): Ditto.
40467 (_mm512_cmplt_epi64_mask): Ditto.
40468 (_mm512_cmplt_epu64_mask): Ditto.
40469 (_mm512_cmpneq_epi32_mask): Ditto.
40470 (_mm512_cmpneq_epu32_mask): Ditto.
40471 (_mm512_cmpneq_epi64_mask): Ditto.
40472 (_mm512_cmpneq_epu64_mask): Ditto.
40473 (_mm512_expand_pd): Ditto.
40474 (_mm512_expand_ps): Ditto.
40475 * config/i386/i386-builtin-types.def: Add PV16QI, PV16QI, PV16HI,
40476 VOID_PV8SI_V8DI_QI, VOID_PV8HI_V8DI_QI, VOID_PV16QI_V8DI_QI,
40477 VOID_PV16QI_V16SI_HI, VOID_PV16HI_V16SI_HI.
40478 * config/i386/i386.c (ix86_builtins): Add
40479 IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK,
40480 IX86_BUILTIN_PMOVDB512_MEM, IX86_BUILTIN_PMOVDW512_MEM,
40481 IX86_BUILTIN_PMOVQB512_MEM, IX86_BUILTIN_PMOVQD512_MEM,
40482 IX86_BUILTIN_PMOVQW512_MEM, IX86_BUILTIN_PMOVSDB512_MEM,
40483 IX86_BUILTIN_PMOVSDW512_MEM, IX86_BUILTIN_PMOVSQB512_MEM,
40484 IX86_BUILTIN_PMOVSQD512_MEM, IX86_BUILTIN_PMOVSQW512_MEM,
40485 IX86_BUILTIN_PMOVUSDB512_MEM, IX86_BUILTIN_PMOVUSDW512_MEM,
40486 IX86_BUILTIN_PMOVUSQB512_MEM, IX86_BUILTIN_PMOVUSQD512_MEM,
40487 IX86_BUILTIN_PMOVUSQW512_MEM.
40488 (bdesc_special_args): Add __builtin_ia32_pmovusqd512mem_mask,
40489 __builtin_ia32_pmovsqd512mem_mask,
40490 __builtin_ia32_pmovqd512mem_mask,
40491 __builtin_ia32_pmovusqw512mem_mask,
40492 __builtin_ia32_pmovsqw512mem_mask,
40493 __builtin_ia32_pmovqw512mem_mask,
40494 __builtin_ia32_pmovusdw512mem_mask,
40495 __builtin_ia32_pmovsdw512mem_mask,
40496 __builtin_ia32_pmovdw512mem_mask,
40497 __builtin_ia32_pmovqb512mem_mask,
40498 __builtin_ia32_pmovusqb512mem_mask,
40499 __builtin_ia32_pmovsqb512mem_mask,
40500 __builtin_ia32_pmovusdb512mem_mask,
40501 __builtin_ia32_pmovsdb512mem_mask,
40502 __builtin_ia32_pmovdb512mem_mask.
40503 (bdesc_args): Add __builtin_ia32_expanddf512,
40504 __builtin_ia32_expandsf512.
40505 (ix86_expand_special_args_builtin): Handle VOID_FTYPE_PV8SI_V8DI_QI,
40506 VOID_FTYPE_PV8HI_V8DI_QI, VOID_FTYPE_PV16HI_V16SI_HI,
40507 VOID_FTYPE_PV16QI_V8DI_QI, VOID_FTYPE_PV16QI_V16SI_HI.
40508 * config/i386/sse.md (unspec): Add UNSPEC_EXPAND_NOMASK.
40509 (avx512f_<code><pmov_src_lower><mode>2_mask_store): New.
40510 (*avx512f_<code>v8div16qi2_store_mask): Renamed to ...
40511 (avx512f_<code>v8div16qi2_mask_store): This.
40512 (avx512f_expand<mode>): New.
40514 2014-01-27 Kirill Yukhin <kirill.yukhin@intel.com>
40516 * config/i386/avx512pfintrin.h (_mm512_mask_prefetch_i32gather_pd):
40518 (_mm512_mask_prefetch_i64gather_pd): Ditto.
40519 (_mm512_prefetch_i32scatter_pd): Ditto.
40520 (_mm512_mask_prefetch_i32scatter_pd): Ditto.
40521 (_mm512_prefetch_i64scatter_pd): Ditto.
40522 (_mm512_mask_prefetch_i64scatter_pd): Ditto.
40523 (_mm512_mask_prefetch_i32gather_ps): Fix operand type.
40524 (_mm512_mask_prefetch_i64gather_ps): Ditto.
40525 (_mm512_prefetch_i32scatter_ps): Ditto.
40526 (_mm512_mask_prefetch_i32scatter_ps): Ditto.
40527 (_mm512_prefetch_i64scatter_ps): Ditto.
40528 (_mm512_mask_prefetch_i64scatter_ps): Ditto.
40529 * config/i386/i386-builtin-types.def: Define
40530 VOID_FTYPE_QI_V8SI_PCINT64_INT_INT
40531 and VOID_FTYPE_QI_V8DI_PCINT64_INT_INT.
40532 * config/i386/i386.c (ix86_builtins): Define IX86_BUILTIN_GATHERPFQPD,
40533 IX86_BUILTIN_GATHERPFDPD, IX86_BUILTIN_SCATTERPFDPD,
40534 IX86_BUILTIN_SCATTERPFQPD.
40535 (ix86_init_mmx_sse_builtins): Define __builtin_ia32_gatherpfdpd,
40536 __builtin_ia32_gatherpfdps, __builtin_ia32_gatherpfqpd,
40537 __builtin_ia32_gatherpfqps, __builtin_ia32_scatterpfdpd,
40538 __builtin_ia32_scatterpfdps, __builtin_ia32_scatterpfqpd,
40539 __builtin_ia32_scatterpfqps.
40540 (ix86_expand_builtin): Expand new built-ins.
40541 * config/i386/sse.md (avx512pf_gatherpf<mode>): Add SF suffix,
40542 fix memory access data type.
40543 (*avx512pf_gatherpf<mode>_mask): Ditto.
40544 (*avx512pf_gatherpf<mode>): Ditto.
40545 (avx512pf_scatterpf<mode>): Ditto.
40546 (*avx512pf_scatterpf<mode>_mask): Ditto.
40547 (*avx512pf_scatterpf<mode>): Ditto.
40548 (GATHER_SCATTER_SF_MEM_MODE): New.
40549 (avx512pf_gatherpf<mode>df): Ditto.
40550 (*avx512pf_gatherpf<mode>df_mask): Ditto.
40551 (*avx512pf_scatterpf<mode>df): Ditto.
40553 2014-01-27 Jakub Jelinek <jakub@redhat.com>
40556 * expmed.h (expmed_mode_index): Rework so that analysis and optimziers
40557 know when the MODE_PARTIAL_INT and MODE_VECTOR_INT cases can never be
40560 2014-01-27 James Greenhalgh <james.greenhalgh@arm.com>
40562 * common/config/arm/arm-common.c
40563 (arm_rewrite_mcpu): Handle multiple names.
40565 (BIG_LITTLE_SPEC): Do not discard mcpu switches.
40567 2014-01-27 James Greenhalgh <james.greenhalgh@arm.com>
40569 * gimple-builder.h (create_gimple_tmp): Delete.
40571 2014-01-27 Christian Bruel <christian.bruel@st.com>
40573 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Fix remaining bytes after
40576 2014-01-26 John David Anglin <danglin@gcc.gnu.org>
40578 * config/pa/pa.md (call): Generate indirect long calls to non-local
40579 functions when outputing 32-bit code.
40580 (call_value): Likewise except for special call to buggy powf function.
40582 * config/pa/pa.c (pa_attr_length_indirect_call): Adjust length of
40583 portable runtime and PIC indirect calls.
40584 (pa_output_indirect_call): Remove unnecessary nop from portable runtime
40585 and PIC call sequences. Use ldo instead of blr to set return register
40586 in PIC call sequence.
40588 2014-01-25 Walter Lee <walt@tilera.com>
40590 * config/tilegx/sync.md (atomic_fetch_sub): Fix negation and
40591 avoid clobbering a live register.
40593 2014-01-25 Walter Lee <walt@tilera.com>
40595 * config/tilegx/tilegx-c.c (tilegx_cpu_cpp_builtins):
40596 Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2}.
40597 * config/tilegx/tilepro-c.c (tilepro_cpu_cpp_builtins):
40598 Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8}.
40600 2014-01-25 Walter Lee <walt@tilera.com>
40602 * config/tilegx/tilegx.c (tilegx_function_arg): Start 16-byte
40603 arguments on even registers.
40604 (tilegx_gimplify_va_arg_expr): Align 16-byte var args to
40606 * config/tilegx/tilegx.h (STACK_BOUNDARY): Change to 16 bytes.
40607 (BIGGEST_ALIGNMENT): Ditto.
40608 (BIGGEST_FIELD_ALIGNMENT): Ditto.
40610 2014-01-25 Walter Lee <walt@tilera.com>
40612 * config/tilegx/tilegx.c (tilegx_gen_bundles): Delete barrier
40613 insns before bundling.
40614 * config/tilegx/tilegx.md (tile_network_barrier): Update comment.
40616 2014-01-25 Walter Lee <walt@tilera.com>
40618 * config/tilegx/tilegx.c (tilegx_expand_builtin): Set
40619 PREFETCH_SCHEDULE_BARRIER_P to true for prefetches.
40620 * config/tilepro/tilepro.c (tilepro_expand_builtin): Ditto.
40622 2014-01-25 Richard Sandiford <rdsandiford@googlemail.com>
40624 * config/mips/constraints.md (kl): Delete.
40625 * config/mips/mips.md (divmod<mode>4, udivmod<mode>4): Turn into
40626 define expands, using...
40627 (divmod<mode>4_mips16, udivmod<mode>4_mips16): ...these new
40628 instructions for MIPS16.
40629 (*divmod<mode>4, *udivmod<mode>4): New patterns, taken from the
40630 non-MIPS16 version of the old divmod<mode>4 and udivmod<mode>4.
40632 2014-01-25 Walter Lee <walt@tilera.com>
40634 * config/tilepro/tilepro.md (ctzdi2): Use register_operand predicate.
40638 2014-01-25 Walter Lee <walt@tilera.com>
40640 * config/tilegx/tilegx.c (tilegx_expand_to_rtl_hook): New.
40641 (TARGET_EXPAND_TO_RTL_HOOK): Define.
40643 2014-01-25 Richard Sandiford <rdsandiford@googlemail.com>
40645 * rtlanal.c (canonicalize_condition): Split out duplicated mode check.
40648 2014-01-25 Jakub Jelinek <jakub@redhat.com>
40650 * print-rtl.c (in_call_function_usage): New var.
40651 (print_rtx): When in CALL_INSN_FUNCTION_USAGE, always print
40652 EXPR_LIST mode as mode and not as reg note name.
40654 PR middle-end/59561
40655 * cfgloopmanip.c (copy_loop_info): If
40656 loop->warned_aggressive_loop_optimizations, make sure
40657 the flag is set in target loop too.
40659 2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com>
40661 * builtins.c (is_builtin_name): Renamed flag_enable_cilkplus to
40663 * builtins.def: Likewise.
40664 * cilk.h (fn_contains_cilk_spawn_p): Likewise.
40665 * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Likewise.
40666 * ira.c (ira_setup_eliminable_regset): Likewise.
40667 * omp-low.c (gate_expand_omp): Likewise.
40668 (execute_lower_omp): Likewise.
40669 (diagnose_sb_0): Likewise.
40670 (gate_diagnose_omp_blocks): Likewise.
40671 (simd_clone_clauses_extract): Likewise.
40674 2014-01-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
40676 * config/rs6000/rs6000.c (rs6000_expand_vec_perm_const_1): Remove
40677 correction for little endian...
40678 * config/rs6000/vsx.md (vsx_xxpermdi2_<mode>_1): ...and move it to
40681 2014-01-24 Jeff Law <law@redhat.com>
40683 PR tree-optimization/59919
40684 * tree-vrp.c (find_assert_locations_1): Do not register asserts
40685 for non-returning calls.
40687 2014-01-24 James Greenhalgh <james.greenhalgh@arm.com>
40689 * common/config/aarch64/aarch64-common.c
40690 (aarch64_rewrite_mcpu): Handle multiple names.
40691 * config/aarch64/aarch64.h
40692 (BIG_LITTLE_SPEC): Do not discard mcpu switches.
40694 2014-01-24 Dodji Seketeli <dodji@redhat.com>
40696 * input.c (add_file_to_cache_tab): Handle the case where fopen
40699 2014-01-23 H.J. Lu <hongjiu.lu@intel.com>
40702 * config/i386/i386.md (pushsf splitter): Get stack adjustment
40703 from push operand if code of push isn't PRE_DEC.
40705 2014-01-23 Michael Meissner <meissner@linux.vnet.ibm.com>
40708 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
40709 -mquad-memory-atomic. Update -mquad-memory documentation to say
40710 it is only used for non-atomic loads/stores.
40712 * config/rs6000/predicates.md (quad_int_reg_operand): Allow either
40713 -mquad-memory or -mquad-memory-atomic switches.
40715 * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Add
40716 -mquad-memory-atomic to ISA 2.07 support.
40718 * config/rs6000/rs6000.opt (-mquad-memory-atomic): Add new switch
40719 to separate support of normal quad word memory operations (ldq, stq)
40720 from the atomic quad word memory operations.
40722 * config/rs6000/rs6000.c (rs6000_option_override_internal): Add
40723 support to separate non-atomic quad word operations from atomic
40724 quad word operations. Disable non-atomic quad word operations in
40725 little endian mode so that we don't have to swap words after the
40726 load and before the store.
40727 (quad_load_store_p): Add comment about atomic quad word support.
40728 (rs6000_opt_masks): Add -mquad-memory-atomic to the list of
40729 options printed with -mdebug=reg.
40731 * config/rs6000/rs6000.h (TARGET_SYNC_TI): Use
40732 -mquad-memory-atomic as the test for whether we have quad word
40733 atomic instructions.
40734 (TARGET_SYNC_HI_QI): If either -mquad-memory-atomic, -mquad-memory,
40735 or -mp8-vector are used, allow byte/half-word atomic operations.
40737 * config/rs6000/sync.md (load_lockedti): Insure that the address
40738 is a proper indexed or indirect address for the lqarx instruction.
40739 On little endian systems, swap the hi/lo registers after the lqarx
40741 (load_lockedpti): Use indexed_or_indirect_operand predicate to
40742 insure the address is valid for the lqarx instruction.
40743 (store_conditionalti): Insure that the address is a proper indexed
40744 or indirect address for the stqcrx. instruction. On little endian
40745 systems, swap the hi/lo registers before doing the stqcrx.
40747 (store_conditionalpti): Use indexed_or_indirect_operand predicate to
40748 insure the address is valid for the stqcrx. instruction.
40750 * gcc/config/rs6000/rs6000-c.c (rs6000_target_modify_macros):
40751 Define __QUAD_MEMORY__ and __QUAD_MEMORY_ATOMIC__ based on what
40752 type of quad memory support is available.
40754 2014-01-23 Vladimir Makarov <vmakarov@redhat.com>
40756 PR regression/59915
40757 * lra-constraints.c (simplify_operand_subreg): Spill pseudo if
40758 there is a danger of looping.
40760 2014-01-23 Pat Haugen <pthaugen@us.ibm.com>
40762 * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
40763 force flag_ira_loop_pressure if set via command line.
40765 2014-01-23 Alex Velenko <Alex.Velenko@arm.com>
40767 * config/aarch64/aarch64-simd-builtins.def (ashr): DI mode removed.
40768 (ashr_simd): New builtin handling DI mode.
40769 * config/aarch64/aarch64-simd.md (aarch64_ashr_simddi): New pattern.
40770 (aarch64_sshr_simddi): New match pattern.
40771 * config/aarch64/arm_neon.h (vshr_n_s32): Builtin call modified.
40772 (vshrd_n_s64): Likewise.
40773 * config/aarch64/predicates.md (aarch64_shift_imm64_di): New predicate.
40775 2014-01-23 Nick Clifton <nickc@redhat.com>
40777 * config/msp430/msp430.h (ASM_SPEC): Pass the -mcpu as -mcpu.
40778 (LIB_SPEC): Drop use of memory.ld and peripherals.ld scripts in
40779 favour of mcu specific scripts.
40780 * config/msp430/t-msp430 (MULTILIB_MATCHES): Add more matches for
40783 2014-01-23 James Greenhalgh <james.greenhalgh@arm.com>
40784 Alex Velenko <Alex.Velenko@arm.com>
40786 * config/aarch64/arm_neon.h (vaddv_s8): __LANE0 cleanup.
40787 (vaddv_s16): Likewise.
40788 (vaddv_s32): Likewise.
40789 (vaddv_u8): Likewise.
40790 (vaddv_u16): Likewise.
40791 (vaddv_u32): Likewise.
40792 (vaddvq_s8): Likewise.
40793 (vaddvq_s16): Likewise.
40794 (vaddvq_s32): Likewise.
40795 (vaddvq_s64): Likewise.
40796 (vaddvq_u8): Likewise.
40797 (vaddvq_u16): Likewise.
40798 (vaddvq_u32): Likewise.
40799 (vaddvq_u64): Likewise.
40800 (vaddv_f32): Likewise.
40801 (vaddvq_f32): Likewise.
40802 (vaddvq_f64): Likewise.
40803 (vmaxv_f32): Likewise.
40804 (vmaxv_s8): Likewise.
40805 (vmaxv_s16): Likewise.
40806 (vmaxv_s32): Likewise.
40807 (vmaxv_u8): Likewise.
40808 (vmaxv_u16): Likewise.
40809 (vmaxv_u32): Likewise.
40810 (vmaxvq_f32): Likewise.
40811 (vmaxvq_f64): Likewise.
40812 (vmaxvq_s8): Likewise.
40813 (vmaxvq_s16): Likewise.
40814 (vmaxvq_s32): Likewise.
40815 (vmaxvq_u8): Likewise.
40816 (vmaxvq_u16): Likewise.
40817 (vmaxvq_u32): Likewise.
40818 (vmaxnmv_f32): Likewise.
40819 (vmaxnmvq_f32): Likewise.
40820 (vmaxnmvq_f64): Likewise.
40821 (vminv_f32): Likewise.
40822 (vminv_s8): Likewise.
40823 (vminv_s16): Likewise.
40824 (vminv_s32): Likewise.
40825 (vminv_u8): Likewise.
40826 (vminv_u16): Likewise.
40827 (vminv_u32): Likewise.
40828 (vminvq_f32): Likewise.
40829 (vminvq_f64): Likewise.
40830 (vminvq_s8): Likewise.
40831 (vminvq_s16): Likewise.
40832 (vminvq_s32): Likewise.
40833 (vminvq_u8): Likewise.
40834 (vminvq_u16): Likewise.
40835 (vminvq_u32): Likewise.
40836 (vminnmv_f32): Likewise.
40837 (vminnmvq_f32): Likewise.
40838 (vminnmvq_f64): Likewise.
40840 2014-01-23 James Greenhalgh <james.greenhalgh@arm.com>
40842 * config/aarch64/aarch64-simd.md
40843 (aarch64_dup_lane<mode>): Correct lane number on big-endian.
40844 (aarch64_dup_lane_<vswap_widthi_name><mode>): Likewise.
40845 (*aarch64_mul3_elt<mode>): Likewise.
40846 (*aarch64_mul3_elt<vswap_width_name><mode>): Likewise.
40847 (*aarch64_mul3_elt_to_64v2df): Likewise.
40848 (*aarch64_mla_elt<mode>): Likewise.
40849 (*aarch64_mla_elt_<vswap_width_name><mode>): Likewise.
40850 (*aarch64_mls_elt<mode>): Likewise.
40851 (*aarch64_mls_elt_<vswap_width_name><mode>): Likewise.
40852 (*aarch64_fma4_elt<mode>): Likewise.
40853 (*aarch64_fma4_elt_<vswap_width_name><mode>): Likewise.
40854 (*aarch64_fma4_elt_to_64v2df): Likewise.
40855 (*aarch64_fnma4_elt<mode>): Likewise.
40856 (*aarch64_fnma4_elt_<vswap_width_name><mode>): Likewise.
40857 (*aarch64_fnma4_elt_to_64v2df): Likewise.
40858 (aarch64_sq<r>dmulh_lane<mode>): Likewise.
40859 (aarch64_sq<r>dmulh_laneq<mode>): Likewise.
40860 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
40861 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
40862 (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
40863 (aarch64_sqdmull_lane<mode>_internal): Likewise.
40864 (aarch64_sqdmull2_lane<mode>_internal): Likewise.
40866 2013-01-23 Alex Velenko <Alex.Velenko@arm.com>
40868 * config/aarch64/aarch64-simd.md
40869 (aarch64_be_checked_get_lane<mode>): New define_expand.
40870 * config/aarch64/aarch64-simd-builtins.def
40871 (BUILTIN_VALL (GETLANE, be_checked_get_lane, 0)):
40872 New builtin definition.
40873 * config/aarch64/arm_neon.h: (__aarch64_vget_lane_any):
40874 Use new safe be builtin.
40876 2014-01-23 Alex Velenko <Alex.Velenko@arm.com>
40878 * config/aarch64/aarch64-simd.md (aarch64_be_ld1<mode>):
40880 (aarch64_be_st1<mode>): Likewise.
40881 (aarch_ld1<VALL:mode>): Define_expand modified.
40882 (aarch_st1<VALL:mode>): Likewise.
40883 * config/aarch64/aarch64.md (UNSPEC_LD1): New unspec definition.
40884 (UNSPEC_ST1): Likewise.
40886 2014-01-23 David Holsgrove <david.holsgrove@xilinx.com>
40888 * config/microblaze/microblaze.md: Add trap insn and attribute
40890 2014-01-23 Dodji Seketeli <dodji@redhat.com>
40892 PR preprocessor/58580
40893 * input.h (location_get_source_line): Take an additional line_size
40895 (void diagnostics_file_cache_fini): Declare new function.
40896 * input.c (struct fcache): New type.
40897 (fcache_tab_size, fcache_buffer_size, fcache_line_record_size):
40898 New static constants.
40899 (diagnostic_file_cache_init, total_lines_num)
40900 (lookup_file_in_cache_tab, evicted_cache_tab_entry)
40901 (add_file_to_cache_tab, lookup_or_add_file_to_cache_tab)
40902 (needs_read, needs_grow, maybe_grow, read_data, maybe_read_data)
40903 (get_next_line, read_next_line, goto_next_line, read_line_num):
40904 New static function definitions.
40905 (diagnostic_file_cache_fini): New function.
40906 (location_get_source_line): Take an additional output line_len
40907 parameter. Re-write using lookup_or_add_file_to_cache_tab and
40909 * diagnostic.c (diagnostic_finish): Call
40910 diagnostic_file_cache_fini.
40911 (adjust_line): Take an additional input parameter for the length
40912 of the line, rather than calculating it with strlen.
40913 (diagnostic_show_locus): Adjust the use of
40914 location_get_source_line and adjust_line with respect to their new
40915 signature. While displaying a line now, do not stop at the first
40916 null byte. Rather, display the zero byte as a space and keep
40917 going until we reach the size of the line.
40918 * Makefile.in: Add vec.o to OBJS-libcommon
40920 2014-01-23 Kirill Yukhin <kirill.yukhin@intel.com>
40921 Ilya Tocar <ilya.tocar@intel.com>
40923 * config/i386/avx512fintrin.h (_mm512_kmov): New.
40924 * config/i386/i386.c (IX86_BUILTIN_KMOV16): Ditto.
40925 (__builtin_ia32_kmov16): Ditto.
40926 * config/i386/i386.md (UNSPEC_KMOV): New.
40929 2014-01-23 Kirill Yukhin <kirill.yukhin@intel.com>
40931 * config/i386/avx512fintrin.h (_mm512_loadu_si512): Rename.
40932 (_mm512_storeu_si512): Ditto.
40934 2014-01-23 Richard Sandiford <rdsandiford@googlemail.com>
40937 * rtl.h (get_referenced_operands): Declare.
40938 * recog.c (get_referenced_operands): New function.
40939 * config/mips/mips.c (mips_reorg_process_insns): Check which asm
40940 operands have been referenced when recording LO_SUM references.
40942 2014-01-22 David Holsgrove <david.holsgrove@xilinx.com>
40944 * config/microblaze/microblaze.md: Correct bswaphi2 insn.
40946 2014-01-22 Jan Hubicka <hubicka@ucw.cz>
40948 * config/i386/x86-tune.def (X86_TUNE_ACCUMULATE_OUTGOING_ARGS):
40949 Enable for generic and recent AMD targets.
40951 2014-01-22 Jan Hubicka <hubicka@ucw.cz>
40953 * combine-stack-adj.c (combine_stack_adjustments_for_block): Remove
40954 ARG_SIZE note when adjustment was eliminated.
40956 2014-01-22 Jeff Law <law@redhat.com>
40958 PR tree-optimization/59597
40959 * tree-ssa-threadupdate.c (dump_jump_thread_path): Move to earlier
40960 in file. Accept new argument REGISTERING and use it to modify
40961 dump output appropriately.
40962 (register_jump_thread): Corresponding changes.
40963 (mark_threaded_blocks): Reinstate code to cancel unprofitable
40964 thread paths involving joiner blocks. Add code to dump cancelled
40965 jump threading paths.
40967 2014-01-22 Vladimir Makarov <vmakarov@redhat.com>
40969 PR rtl-optimization/59477
40970 * lra-constraints.c (inherit_in_ebb): Process call for living hard
40971 regs. Update reloads_num and potential_reload_hard_regs for all insns.
40973 2014-01-22 Tom Tromey <tromey@redhat.com>
40975 * config/i386/i386-interix.h (i386_pe_unique_section): Don't use
40977 * config/cr16/cr16-protos.h (notice_update_cc): Don't use PARAMS.
40979 2014-01-21 Vladimir Makarov <vmakarov@redhat.com>
40981 PR rtl-optimization/59896
40982 * lra-constraints.c (process_alt_operands): Check unused note for
40983 matched operands of insn with no output reloads.
40985 2014-01-21 Richard Sandiford <rdsandiford@googlemail.com>
40987 * config/mips/mips.c (mips_move_to_gpr_cost): Add M16_REGS case.
40988 (mips_move_from_gpr_cost): Likewise.
40990 2014-01-21 Vladimir Makarov <vmakarov@redhat.com>
40992 PR rtl-optimization/59858
40993 * lra-constraints.c (SMALL_REGISTER_CLASS_P): Use
40994 ira_class_hard_regs_num.
40995 (process_alt_operands): Increase reject for dying matched operand.
40997 2014-01-21 Jakub Jelinek <jakub@redhat.com>
41000 * config/i386/i386.c (expand_small_movmem_or_setmem): If mode is
41001 smaller than size, perform several stores or loads and stores
41002 at dst + count - size to store or copy all of size bytes, rather
41003 than just last modesize bytes.
41005 2014-01-20 DJ Delorie <dj@redhat.com>
41007 * config/rl78/rl78.c (rl78_propogate_register_origins): Verify
41008 that CLOBBERs are REGs before propogating their values.
41010 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
41012 PR middle-end/59789
41013 * cgraph.c (cgraph_inline_failed_string): Add type to DEFCIFCODE.
41014 (cgraph_inline_failed_type): New function.
41015 * cgraph.h (DEFCIFCODE): Add type.
41016 (cgraph_inline_failed_type_t): New enum.
41017 (cgraph_inline_failed_type): New prototype.
41018 * cif-code.def: Add CIF_FINAL_NORMAL to OK, FUNCTION_NOT_CONSIDERED,
41019 FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE,
41020 FUNCTION_NOT_INLINE_CANDIDATE, LARGE_FUNCTION_GROWTH_LIMIT,
41021 LARGE_STACK_FRAME_GROWTH_LIMIT, MAX_INLINE_INSNS_SINGLE_LIMIT,
41022 MAX_INLINE_INSNS_AUTO_LIMIT, INLINE_UNIT_GROWTH_LIMIT,
41023 RECURSIVE_INLINING, UNLIKELY_CALL, NOT_DECLARED_INLINED,
41024 OPTIMIZING_FOR_SIZE, ORIGINALLY_INDIRECT_CALL,
41025 INDIRECT_UNKNOWN_CALL, USES_COMDAT_LOCAL.
41026 Add CIF_FINAL_ERROR to UNSPECIFIED, BODY_NOT_AVAILABLE,
41027 FUNCTION_NOT_INLINABLE, OVERWRITABLE, MISMATCHED_ARGUMENTS,
41028 EH_PERSONALITY, NON_CALL_EXCEPTIONS, TARGET_OPTION_MISMATCH,
41029 OPTIMIZATION_MISMATCH.
41030 * tree-inline.c (expand_call_inline): Emit errors during
41031 early_inlining if cgraph_inline_failed_type returns CIF_FINAL_ERROR.
41033 2014-01-20 Uros Bizjak <ubizjak@gmail.com>
41036 * config/i386/sse.md (*andnot<mode>3<mask_name>): Handle MODE_V16SF
41037 mode attribute in insn output.
41039 2014-01-20 Eric Botcazou <ebotcazou@adacore.com>
41041 * output.h (output_constant): Delete.
41042 * varasm.c (output_constant): Make private.
41044 2014-01-20 Alex Velenko <Alex.Velenko@arm.com>
41046 * config/aarch64/aarch64-simd.md (vec_perm<mode>): Add BE check.
41048 2014-01-20 Jakub Jelinek <jakub@redhat.com>
41050 PR middle-end/59860
41051 * tree.h (fold_builtin_strcat): New prototype.
41052 * builtins.c (fold_builtin_strcat): No longer static. Add len
41053 argument, if non-NULL, don't call c_strlen. Optimize
41054 directly into __builtin_memcpy instead of __builtin_strcpy.
41055 (fold_builtin_2): Adjust fold_builtin_strcat caller.
41056 * gimple-fold.c (gimple_fold_builtin): Handle BUILT_IN_STRCAT.
41058 2014-01-20 Uros Bizjak <ubizjak@gmail.com>
41060 * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
41061 for SImode_address_operand operands, having only a REG argument.
41063 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
41065 * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): Expand
41066 loader name using mbig-endian.
41067 (LINUX_TARGET_LINK_SPEC): Pass linker -m flag.
41069 2014-01-20 James Greenhalgh <james.greenhalgh@arm.com>
41071 * doc/invoke.texi (-march): Clarify documentation for AArch64.
41072 (-mtune): Likewise.
41075 2014-01-20 Tejas Belagod <tejas.belagod@arm.com>
41077 * config/aarch64/aarch64-protos.h
41078 (aarch64_cannot_change_mode_class_ptr): Declare.
41079 * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class,
41080 aarch64_cannot_change_mode_class_ptr): New.
41081 * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Change to call
41082 backend hook aarch64_cannot_change_mode_class.
41084 2014-01-20 James Greenhalgh <james.greenhalgh@arm.com>
41086 * common/config/aarch64/aarch64-common.c
41087 (aarch64_handle_option): Don't handle any option order logic here.
41088 * config/aarch64/aarch64.c (aarch64_parse_arch): Do not override
41089 selected_cpu, warn on architecture version mismatch.
41090 (aarch64_override_options): Fix parsing order for option strings.
41092 2014-01-20 Jan-Benedict Glaw <jbglaw@lug-owl.de>
41093 Iain Sandoe <iain@codesourcery.com>
41096 * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Fix unused variable
41097 warning. Amend comment to reflect current functionality.
41099 2014-01-20 Richard Biener <rguenther@suse.de>
41101 PR middle-end/59860
41102 * builtins.c (fold_builtin_strcat): Remove case better handled
41103 by tree-ssa-strlen.c.
41105 2014-01-20 Alan Lawrence <alan.lawrence@arm.com>
41107 * config/aarch64/aarch64.opt
41108 (mcpu, march, mtune): Make case-insensitive.
41110 2014-01-20 Jakub Jelinek <jakub@redhat.com>
41113 * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
41114 if operands[1] is a REG or ZERO_EXTEND of a REG.
41116 2014-01-19 Jan Hubicka <hubicka@ucw.cz>
41118 * varasm.c (compute_reloc_for_constant): Use targetm.binds_local_p.
41120 2014-01-19 John David Anglin <danglin@gcc.gnu.org>
41122 * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of
41123 long non-pic millicode calls.
41125 2014-01-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
41127 * config/vax/vax.h (FUNCTION_ARG_REGNO_P): Fix unused variable warning.
41129 2014-01-19 Kito Cheng <kito@0xlab.org>
41131 * builtins.c (expand_movstr): Check movstr expand done or fail.
41133 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
41134 H.J. Lu <hongjiu.lu@intel.com>
41137 * config/i386/i386.md (*lea<mode>): Zero-extend return register
41138 to DImode for zero-extended addresses.
41140 2014-01-19 Jakub Jelinek <jakub@redhat.com>
41142 PR rtl-optimization/57763
41143 * bb-reorder.c (fix_crossing_unconditional_branches): Set JUMP_LABEL
41144 on the new indirect jump_insn and increment LABEL_NUSES (label).
41146 2014-01-18 H.J. Lu <hongjiu.lu@intel.com>
41150 * config.gcc (x86_archs): New variable.
41151 (x86_64_archs): Likewise.
41152 (x86_cpus): Likewise.
41153 Use $x86_archs, $x86_64_archs and $x86_cpus to check valid
41154 --with-arch/--with-cpu= options.
41155 Support --with-arch=/--with-cpu={nehalem,westmere,
41156 sandybridge,ivybridge,haswell,broadwell,bonnell,silvermont}.
41158 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
41160 * config/i386/i386.c (ix86_adjust_cost): Reorder PROCESSOR_K8
41161 and PROCESSOR_ATHLON to simplify code. Move "memory" calculation.
41163 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
41165 * config/i386/i386.md (*swap<mode>): Rename from swap<mode>.
41167 2014-01-18 Jakub Jelinek <jakub@redhat.com>
41170 * config/i386/i386-c.c (ix86_pragma_target_parse): Temporarily
41171 clear cpp_get_options (parse_in)->warn_unused_macros for
41172 ix86_target_macros_internal with cpp_define.
41174 2014-01-18 Richard Sandiford <rdsandiford@googlemail.com>
41176 * jump.c (delete_related_insns): Keep (use (insn))s.
41177 * reorg.c (redundant_insn): Check for barriers too.
41179 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
41181 * config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment typo.
41183 2014-01-17 John David Anglin <danglin@gcc.gnu.org>
41185 * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
41186 call to $$dyncall when TARGET_LONG_CALLS is true.
41188 2014-01-17 Jeff Law <law@redhat.com>
41190 * ree.c (combine_set_extension): Temporarily disable test for
41191 changing number of hard registers.
41193 2014-01-17 Jan Hubicka <hubicka@ucw.cz>
41195 PR middle-end/58125
41196 * ipa-inline-analysis.c (inline_free_summary):
41197 Do not free summary of aliases.
41199 2014-01-17 Jakub Jelinek <jakub@redhat.com>
41201 PR middle-end/59706
41202 * gimplify.c (gimplify_expr): Use create_tmp_var
41203 instead of create_tmp_var_raw. If cond doesn't have
41204 integral type, don't add the IFN_ANNOTATE builtin at all.
41206 2014-01-17 Martin Jambor <mjambor@suse.cz>
41209 * ipa-cp.c (prev_edge_clone): New variable.
41210 (grow_next_edge_clone_vector): Renamed to grow_edge_clone_vectors.
41211 Also resize prev_edge_clone vector.
41212 (ipcp_edge_duplication_hook): Also update prev_edge_clone.
41213 (ipcp_edge_removal_hook): New function.
41214 (ipcp_driver): Register ipcp_edge_removal_hook.
41216 2014-01-17 Andrew Pinski <apinski@cavium.com>
41217 Steve Ellcey <sellcey@mips.com>
41220 * config/mips/mips.c (mips_print_operand): Check operand mode instead
41223 2014-01-17 Jeff Law <law@redhat.com>
41225 PR middle-end/57904
41226 * passes.def: Reorder pass_copy_prop, pass_unrolli, pass_ccp sequence
41227 so that pass_ccp runs first.
41229 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
41231 * config/i386/i386.c (ix86_lea_outperforms): Use TARGET_XXX.
41232 (ix86_adjust_cost): Use !TARGET_XXX.
41233 (do_reorder_for_imul): Likewise.
41234 (swap_top_of_ready_list): Likewise.
41235 (ix86_sched_reorder): Likewise.
41237 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
41239 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
41240 PROCESSOR_INTEL. Treat like PROCESSOR_GENERIC.
41241 * config/i386/i386.c (intel_memcpy): New. Duplicate slm_memcpy.
41242 (intel_memset): New. Duplicate slm_memset.
41243 (intel_cost): New. Duplicate slm_cost.
41244 (m_INTEL): New macro.
41245 (processor_target_table): Add "intel".
41246 (ix86_option_override_internal): Replace PROCESSOR_SILVERMONT
41247 with PROCESSOR_INTEL for "intel".
41248 (ix86_lea_outperforms): Support PROCESSOR_INTEL. Duplicate
41249 PROCESSOR_SILVERMONT.
41250 (ix86_issue_rate): Likewise.
41251 (ix86_adjust_cost): Likewise.
41252 (ia32_multipass_dfa_lookahead): Likewise.
41253 (swap_top_of_ready_list): Likewise.
41254 (ix86_sched_reorder): Likewise.
41255 (ix86_avoid_lea_for_addr): Check TARGET_AVOID_LEA_FOR_ADDR
41256 instead of TARGET_OPT_AGU.
41257 * config/i386/i386.h (TARGET_INTEL): New.
41258 (TARGET_AVOID_LEA_FOR_ADDR): Likewise.
41259 (processor_type): Add PROCESSOR_INTEL.
41260 * config/i386/x86-tune.def: Support m_INTEL. Duplicate m_SILVERMONT.
41261 Add X86_TUNE_AVOID_LEA_FOR_ADDR.
41263 2014-01-17 Marek Polacek <polacek@redhat.com>
41266 * gimple-fold.c (fold_array_ctor_reference): Don't fold if element
41269 2014-01-17 Richard Biener <rguenther@suse.de>
41271 PR tree-optimization/46590
41272 * opts.c (default_options_table): Add entries for
41273 OPT_fbranch_count_reg, OPT_fmove_loop_invariants and OPT_ftree_pta,
41274 all enabled at -O1 but not for -Og.
41275 * common.opt (fbranch-count-reg): Remove Init(1).
41276 (fmove-loop-invariants): Likewise.
41277 (ftree-pta): Likewise.
41279 2014-01-17 Jakub Jelinek <jakub@redhat.com>
41281 * config/i386/i386.c (ix86_data_alignment): For compatibility with
41282 (incorrect) GCC 4.8 and earlier alignment assumptions ensure we align
41283 decls to at least the GCC 4.8 used alignments.
41286 * tree-nested.c (convert_nonlocal_reference_stmt,
41287 convert_local_reference_stmt): For NAMELIST_DECLs in gimple_bind_vars
41288 of GIMPLE_BIND stmts, adjust associated decls.
41290 2014-01-17 Richard Biener <rguenther@suse.de>
41292 PR tree-optimization/46590
41293 * vec.h (vec<>::bseach): New member function implementing
41294 binary search according to C89 bsearch.
41295 (vec<>::qsort): Avoid calling ::qsort for vectors with sizes 0 or 1.
41296 * tree-ssa-loop-im.c (struct mem_ref): Make stored member a
41297 bitmap pointer again. Make accesses_in_loop a flat array.
41298 (mem_ref_obstack): New global.
41299 (outermost_indep_loop): Adjust for mem_ref->stored changes.
41300 (mark_ref_stored): Likewise.
41301 (ref_indep_loop_p_2): Likewise.
41302 (set_ref_stored_in_loop): New helper function.
41303 (mem_ref_alloc): Allocate mem_refs on the mem_ref_obstack obstack.
41304 (memref_free): Adjust.
41305 (record_mem_ref_loc): Simplify.
41306 (gather_mem_refs_stmt): Adjust.
41307 (sort_locs_in_loop_postorder_cmp): New function.
41308 (analyze_memory_references): Sort accesses_in_loop after
41309 loop postorder number.
41310 (find_ref_loc_in_loop_cmp): New function.
41311 (for_all_locs_in_loop): Find relevant cluster of locs in
41312 accesses_in_loop and iterate without recursion.
41313 (execute_sm): Avoid uninit warning.
41314 (struct ref_always_accessed): Simplify.
41315 (ref_always_accessed::operator ()): Likewise.
41316 (ref_always_accessed_p): Likewise.
41317 (tree_ssa_lim_initialize): Initialize mem_ref_obstack, compute
41318 loop postorder numbers here.
41319 (tree_ssa_lim_finalize): Free mem_ref_obstack and loop postorder
41322 2014-01-17 Jan Hubicka <hubicka@ucw.cz>
41325 * passes.c (rest_of_decl_compilation): Don't call varpool_finalize_decl
41326 on decls for which assemble_alias has been called.
41328 2014-01-17 Nick Clifton <nickc@redhat.com>
41330 * config/msp430/msp430.opt: (mcpu): New option.
41331 * config/msp430/msp430.c (msp430_mcu_name): Use target_mcu.
41332 (msp430_option_override): Parse target_cpu. If the MCU name
41333 matches a generic string, clear target_mcu.
41334 (msp430_attr): Allow numeric interrupt values up to 63.
41335 (msp430_expand_epilogue): No longer invert operand 1 of gen_popm.
41336 * config/msp430/msp430.h (ASM_SPEC): Convert -mcpu into a -mmcu
41338 * config/msp430/t-msp430: (MULTILIB_MATCHES): Remove mcu matches.
41340 * config/msp430/msp430.md (popm): Use %J rather than %I.
41341 (addsi3): Use msp430_nonimmediate_operand for operand 2.
41342 (addhi_cy_i): Use immediate_operand for operand 2.
41343 * doc/invoke.texi: Document -mcpu option.
41345 2014-01-17 Richard Biener <rguenther@suse.de>
41347 PR rtl-optimization/38518
41348 * df.h (df_analyze_loop): Declare.
41349 * df-core.c: Include cfgloop.h.
41350 (df_analyze_1): Split out main part of df_analyze.
41351 (df_analyze): Adjust.
41352 (loop_inverted_post_order_compute): New function.
41353 (loop_post_order_compute): Likewise.
41354 (df_analyze_loop): New function avoiding whole-function
41355 postorder computes.
41356 * loop-invariant.c (find_defs): Use df_analyze_loop.
41357 (find_invariants): Adjust.
41358 * loop-iv.c (iv_analysis_loop_init): Use df_analyze_loop.
41360 2014-01-17 Zhenqiang Chen <zhenqiang.chen@arm.com>
41362 * config/arm/arm.c (arm_v7m_tune): Set max_insns_skipped to 2.
41363 (thumb2_final_prescan_insn): Set max to MAX_INSN_PER_IT_BLOCK.
41365 2014-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
41367 * ipa-ref.c (ipa_remove_stmt_references): Fix references
41368 traversal when removing references.
41370 2014-01-16 Jan Hubicka <hubicka@ucw.cz>
41373 * tree.c (get_binfo_at_offset): Look harder for virtual bases.
41375 2014-01-16 Bernd Schmidt <bernds@codesourcery.com>
41377 PR middle-end/56791
41378 * reload.c (find_reloads_address_1): Do not use RELOAD_OTHER when
41379 pushing a reload for an autoinc when we had previously reloaded an
41380 inner part of the address.
41382 2014-01-16 Jakub Jelinek <jakub@redhat.com>
41384 * tree-vectorizer.h (struct _loop_vec_info): Add no_data_dependencies
41386 (LOOP_VINFO_NO_DATA_DEPENDENCIES): Define.
41387 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Clear it
41388 when not giving up or versioning for alias only because of
41390 (vect_analyze_data_ref_dependences): Set to true.
41391 * tree-vect-stmts.c (hoist_defs_of_uses): Return false if def_stmt
41393 (vectorizable_load): Use LOOP_VINFO_NO_DATA_DEPENDENCIES instead of
41394 LOOP_REQUIRES_VERSIONING_FOR_ALIAS, add && !nested_in_vect_loop
41397 PR middle-end/58344
41398 * expr.c (expand_expr_real_1): Handle init == NULL_TREE.
41401 * config/i386/i386.c (ix86_expand_builtin): If target doesn't satisfy
41402 operand 0 predicate for gathers, use a new pseudo as subtarget.
41404 2014-01-16 Vladimir Makarov <vmakarov@redhat.com>
41406 PR middle-end/59609
41407 * lra-constraints.c (process_alt_operands): Add printing debug info.
41408 Check absence of input/output reloads for matched operands too.
41410 2014-01-16 Vladimir Makarov <vmakarov@redhat.com>
41412 PR rtl-optimization/59835
41413 * ira.c (ira_init_register_move_cost): Increase cost for
41416 2014-01-16 Alan Lawrence <alan.lawrence@arm.com>
41418 * config/arm/arm.opt (mcpu, march, mtune): Make case-insensitive.
41420 2014-01-16 Richard Earnshaw <rearnsha@arm.com>
41423 * aarch64.c (aarch64_split_128bit_move): Don't lookup REGNO on
41424 non-register objects. Use gen_(high/low)part more consistently.
41427 2014-01-16 Michael Meissner <meissner@linux.vnet.ibm.com>
41430 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Add little
41431 endian support, remove tests for WORDS_BIG_ENDIAN.
41432 (p8_mfvsrd_3_<mode>): Likewise.
41433 (reload_gpr_from_vsx<mode>): Likewise.
41434 (reload_gpr_from_vsxsf): Likewise.
41435 (p8_mfvsrd_4_disf): Likewise.
41437 2014-01-16 Richard Biener <rguenther@suse.de>
41439 PR rtl-optimization/46590
41440 * lcm.c (compute_antinout_edge): Use postorder iteration.
41441 (compute_laterin): Use inverted postorder iteration.
41443 2014-01-16 Nick Clifton <nickc@redhat.com>
41445 PR middle-end/28865
41446 * varasm.c (output_constant): Return the number of bytes actually
41448 (output_constructor_array_range): Update the field size with the
41449 number of bytes emitted by output_constant.
41450 (output_constructor_regular_field): Likewise. Also do not
41451 complain if the total number of bytes emitted is now greater
41452 than the expected fieldpos.
41453 * output.h (output_constant): Update prototype and descriptive comment.
41455 2014-01-16 Marek Polacek <polacek@redhat.com>
41457 PR middle-end/59827
41458 * cgraph.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if
41459 it is error_mark_node.
41461 2014-01-15 Uros Bizjak <ubizjak@gmail.com>
41463 * config/i386/i386.c (ix86_hard_regno_mode_ok): Use
41464 VALID_AVX256_REG_OR_OI_MODE.
41466 2014-01-15 Pat Haugen <pthaugen@us.ibm.com>
41468 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Check if
41469 current procedure should be profiled.
41471 2014-01-15 Andrew Pinski <apinski@cavium.com>
41473 * config/aarch64/aarch64.c (aarch64_register_move_cost): Correct cost
41474 of moving from/to the STACK_REG register class.
41476 2014-01-15 Richard Henderson <rth@redhat.com>
41479 * reginfo.c (global_regs_decl): Globalize.
41480 * rtl.h (global_regs_decl): Declare.
41481 * ira.c (do_reload): Diagnose frame_pointer_needed and it
41482 reserved via global_regs.
41484 2014-01-15 Teresa Johnson <tejohnson@google.com>
41486 * tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef.
41488 2014-01-15 Bill Schmidt <wschmidt@vnet.linux.ibm.com>
41490 * config/rs6000/altivec.md (mulv8hi3): Explicitly generate vmulesh
41491 and vmulosh rather than call gen_vec_widen_smult_*.
41492 (vec_widen_umult_even_v16qi): Test VECTOR_ELT_ORDER_BIG rather
41493 than BYTES_BIG_ENDIAN to determine use of even or odd instruction.
41494 (vec_widen_smult_even_v16qi): Likewise.
41495 (vec_widen_umult_even_v8hi): Likewise.
41496 (vec_widen_smult_even_v8hi): Likewise.
41497 (vec_widen_umult_odd_v16qi): Likewise.
41498 (vec_widen_smult_odd_v16qi): Likewise.
41499 (vec_widen_umult_odd_v8hi): Likewise.
41500 (vec_widen_smult_odd_v8hi): Likewise.
41501 (vec_widen_umult_hi_v16qi): Explicitly generate vmuleub and
41502 vmuloub rather than call gen_vec_widen_umult_*.
41503 (vec_widen_umult_lo_v16qi): Likewise.
41504 (vec_widen_smult_hi_v16qi): Explicitly generate vmulesb and
41505 vmulosb rather than call gen_vec_widen_smult_*.
41506 (vec_widen_smult_lo_v16qi): Likewise.
41507 (vec_widen_umult_hi_v8hi): Explicitly generate vmuleuh and vmulouh
41508 rather than call gen_vec_widen_umult_*.
41509 (vec_widen_umult_lo_v8hi): Likewise.
41510 (vec_widen_smult_hi_v8hi): Explicitly gnerate vmulesh and vmulosh
41511 rather than call gen_vec_widen_smult_*.
41512 (vec_widen_smult_lo_v8hi): Likewise.
41514 2014-01-15 Jeff Law <law@redhat.com>
41516 PR tree-optimization/59747
41517 * ree.c (find_and_remove_re): Properly handle case where a second
41518 eliminated extension requires widening a copy created for elimination
41519 of a prior extension.
41520 (combine_set_extension): Ensure that the number of hard regs needed
41521 for a destination register does not change when we widen it.
41523 2014-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
41525 * config.gcc (*-*-rtems*): Add t-rtems to tmake_file.
41526 (arm*-*-uclinux*eabi*): Do not override an existing tmake_file.
41527 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise.
41528 (arm*-*-rtems*): Use t-rtems from existing tmake_file.
41529 (avr-*-rtems*): Likewise.
41530 (bfin*-rtems*): Likewise.
41531 (moxie-*-rtems*): Likewise.
41532 (h8300-*-rtems*): Likewise.
41533 (i[34567]86-*-rtems*): Likewise.
41534 (lm32-*-rtems*): Likewise.
41535 (m32r-*-rtems*): Likewise.
41536 (m68k-*-rtems*): Likewise.
41537 (microblaze*-*-rtems*): Likewise.
41538 (mips*-*-rtems*): Likewise.
41539 (powerpc-*-rtems*): Likewise.
41540 (sh-*-rtems*): Likewise.
41541 (sparc-*-rtems*): Likewise.
41542 (sparc64-*-rtems*): Likewise.
41543 (v850-*-rtems*): Likewise.
41544 (m32c-*-rtems*): Likewise.
41546 2014-01-15 Vladimir Makarov <vmakarov@redhat.com>
41548 PR rtl-optimization/59511
41549 * ira.c (ira_init_register_move_cost): Use memory costs for some
41550 cases of register move cost calculations.
41551 * lra-constraints.c (lra_constraints): Use REG_FREQ_FROM_BB
41552 instead of BB frequency.
41553 * lra-coalesce.c (move_freq_compare_func, lra_coalesce): Ditto.
41554 * lra-assigns.c (find_hard_regno_for): Ditto.
41556 2014-01-15 Richard Biener <rguenther@suse.de>
41558 PR tree-optimization/59822
41559 * tree-vect-stmts.c (hoist_defs_of_uses): New function.
41560 (vectorizable_load): Use it to hoist defs of uses of invariant
41561 loads out of the loop.
41563 2014-01-15 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
41564 Kugan Vivekanandarajah <kuganv@linaro.org>
41567 * config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect
41570 2014-01-15 Richard Biener <rguenther@suse.de>
41572 PR rtl-optimization/59802
41573 * lcm.c (compute_available): Use inverted postorder to seed
41574 the initial worklist.
41576 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41579 * config/s390/s390.c (s390_preferred_reload_class): Don't return
41580 ADDR_REGS for invalid symrefs in non-PIC code.
41582 2014-01-15 Jakub Jelinek <jakub@redhat.com>
41585 * builtins.c (determine_block_size): Initialize *probable_max_size
41586 even if len_rtx is CONST_INT.
41588 2014-01-14 Andrew Pinski <apinski@cavium.com>
41590 * config/aarch64/aarch64-protos.h (tune_params): Add issue_rate.
41591 * config/aarch64/aarch64.c (generic_tunings): Add issue rate of 2.
41592 (cortexa53_tunings): Likewise.
41593 (aarch64_sched_issue_rate): New function.
41594 (TARGET_SCHED_ISSUE_RATE): Define.
41596 2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
41598 * ira-costs.c (find_costs_and_classes): Add missed
41599 ira_init_register_move_cost_if_necessary.
41601 2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
41604 * config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress.
41606 2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
41609 * config/i386/i386.c (type_natural_mode): Add a bool parameter
41610 to indicate if type is used for function return value. Warn ABI
41611 change if the vector mode isn't available for function return value.
41612 (ix86_function_arg_advance): Pass false to type_natural_mode.
41613 (ix86_function_arg): Likewise.
41614 (ix86_gimplify_va_arg): Likewise.
41615 (function_arg_32): Don't warn ABI change.
41616 (ix86_function_value): Pass true to type_natural_mode.
41617 (ix86_return_in_memory): Likewise.
41618 (ix86_struct_value_rtx): Removed.
41619 (TARGET_STRUCT_VALUE_RTX): Likewise.
41621 2014-01-14 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
41623 * jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when
41624 converting a conditional jump into a conditional return.
41626 2014-01-14 Richard Biener <rguenther@suse.de>
41628 PR tree-optimization/58921
41629 PR tree-optimization/59006
41630 * tree-vect-loop-manip.c (vect_loop_versioning): Remove code
41631 hoisting invariant stmts.
41632 * tree-vect-stmts.c (vectorizable_load): Insert the splat of
41633 invariant loads on the preheader edge if possible.
41635 2014-01-14 Joey Ye <joey.ye@arm.com>
41637 * doc/plugin.texi (Building GCC plugins): Update to C++.
41639 2014-01-14 Kirill Yukhin <kirill.yukhin@intel.com>
41641 * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): New.
41642 (_mm_rcp28_round_ss): Ditto.
41643 (_mm_rsqrt28_round_sd): Ditto.
41644 (_mm_rsqrt28_round_ss): Ditto.
41645 (_mm_rcp28_sd): Ditto.
41646 (_mm_rcp28_ss): Ditto.
41647 (_mm_rsqrt28_sd): Ditto.
41648 (_mm_rsqrt28_ss): Ditto.
41649 * config/i386/avx512fintrin.h (_mm512_stream_load_si512): Ditto.
41650 * config/i386/i386-builtin-types.def (V8DI_FTYPE_PV8DI): Ditto.
41651 * config/i386/i386.c (IX86_BUILTIN_MOVNTDQA512): Ditto.
41652 (IX86_BUILTIN_RCP28SD): Ditto.
41653 (IX86_BUILTIN_RCP28SS): Ditto.
41654 (IX86_BUILTIN_RSQRT28SD): Ditto.
41655 (IX86_BUILTIN_RSQRT28SS): Ditto.
41656 (bdesc_special_args): Define __builtin_ia32_movntdqa512,
41657 __builtin_ia32_rcp28sd_round, __builtin_ia32_rcp28ss_round,
41658 __builtin_ia32_rsqrt28sd_round, __builtin_ia32_rsqrt28ss_round.
41659 (ix86_expand_special_args_builtin): Expand new FTYPE.
41660 * config/i386/sse.md (define_mode_attr "sse4_1_avx2"): Expand to V8DI.
41661 (srcp14<mode>): Make insn unary.
41662 (avx512f_vmscalef<mode><round_name>): Use substed predicate.
41663 (avx512f_sgetexp<mode><round_saeonly_name>): Ditto.
41664 (avx512f_rndscale<mode><round_saeonly_name>): Ditto.
41665 (<sse4_1_avx2>_movntdqa): Extend to 512 bits.
41666 (avx512er_exp2<mode><mask_name><round_saeonly_name>):
41667 Fix rounding: make it SAE only.
41668 (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
41670 (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
41672 (avx512er_vmrcp28<mode><round_saeonly_name>): Ditto.
41673 (avx512er_vmrsqrt28<mode><round_saeonly_name>): Ditto.
41674 (avx512f_getmant<mode><mask_name><round_saeonly_name>): Ditto.
41675 * config/i386/subst.md (round_saeonly_mask_scalar_operand3): Remove.
41676 (round_saeonly_mask_scalar_operand4): Ditto.
41677 (round_saeonly_mask_scalar_op3): Ditto.
41678 (round_saeonly_mask_scalar_op4): Ditto.
41680 2014-01-13 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
41682 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
41683 Implement -maltivec=be for vec_insert and vec_extract.
41685 2014-01-10 DJ Delorie <dj@redhat.com>
41687 * config/msp430/msp430.md (call_internal): Don't allow memory
41688 references with SP as the base register.
41689 (call_value_internal): Likewise.
41690 * config/msp430/constraints.md (Yc): New. For memory references
41691 that don't use SP as a base register.
41693 * config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean
41694 "an integer without a # prefix"
41695 * config/msp430/msp430.md (epilogue_helper): Use it.
41697 2014-01-13 Jakub Jelinek <jakub@redhat.com>
41700 * config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment
41701 AVX512F gather builtins.
41702 * tree-vect-stmts.c (vectorizable_mask_load_store): For now punt
41703 on gather decls with INTEGER_TYPE masktype.
41704 (vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST
41705 directly into the builtin rather than hoisting it before loop.
41707 PR tree-optimization/59387
41708 * tree-scalar-evolution.c: Include gimple-fold.h and gimplify-me.h.
41709 (scev_const_prop): If folded_casts and type has undefined overflow,
41710 use force_gimple_operand instead of force_gimple_operand_gsi and
41711 for each added stmt if it is assign with
41712 arith_code_with_undefined_signed_overflow, call
41713 rewrite_to_defined_overflow.
41714 * tree-ssa-loop-im.c: Don't include gimplify-me.h, include
41715 gimple-fold.h instead.
41716 (arith_code_with_undefined_signed_overflow,
41717 rewrite_to_defined_overflow): Moved to ...
41718 * gimple-fold.c (arith_code_with_undefined_signed_overflow,
41719 rewrite_to_defined_overflow): ... here. No longer static.
41720 Include gimplify-me.h.
41721 * gimple-fold.h (arith_code_with_undefined_signed_overflow,
41722 rewrite_to_defined_overflow): New prototypes.
41724 2014-01-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
41726 * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Fix typo in description.
41728 2014-01-13 Eric Botcazou <ebotcazou@adacore.com>
41730 * builtins.c (get_object_alignment_2): Minor tweak.
41731 * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Rewrite.
41733 2014-01-13 Christian Bruel <christian.bruel@st.com>
41735 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Unroll small sizes and
41736 optimized non constant lengths.
41738 2014-01-13 Jakub Jelinek <jakub@redhat.com>
41741 * omp-low.c (expand_omp_atomic_pipeline): Expand the initial
41742 load as __atomic_load_N if possible.
41744 2014-01-11 David Edelsohn <dje.gcc@gmail.com>
41746 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
41748 (rs6000_expand_builtin): Adjust call.
41750 2014-01-11 David Edelsohn <dje.gcc@gmail.com>
41753 * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define.
41754 * config/rs6000/rs6000.c: Include target-globals.h.
41755 (rs6000_set_current_function): Instead of doing target_reinit
41756 unconditionally, use save_target_globals_default_opts and
41757 restore_target_globals.
41759 * config/rs6000/rs6000-builtin.def (mffs, mtfsf): Add builtins for
41761 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): New.
41762 (rs6000_expand_builtin): Handle mffs and mtfsf.
41763 (rs6000_init_builtins): Define mffs and mtfsf.
41764 * config/rs6000/rs6000.md (UNSPECV_MFFS, UNSPECV_MTFSF): New constants.
41765 (rs6000_mffs): New pattern.
41766 (rs6000_mtfsf): New pattern.
41768 2014-01-11 Bin Cheng <bin.cheng@arm.com>
41770 * tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter.
41771 Start narrowing with START. Apply candidate-use pair
41772 and check overall cost in narrowing.
41773 (iv_ca_prune): Pass new argument.
41775 2014-01-10 Jeff Law <law@redhat.com>
41777 PR middle-end/59743
41778 * ree.c (combine_reaching_defs): Ensure the defining statement
41779 occurs before the extension when optimizing extensions with
41780 different source and destination hard registers.
41782 2014-01-10 Jan Hubicka <hubicka@ucw.cz>
41785 * ipa-devirt.c (build_type_inheritance_graph): Also add types of
41786 vtables into the type inheritance graph.
41788 2014-01-10 Jakub Jelinek <jakub@redhat.com>
41790 PR rtl-optimization/59754
41791 * ree.c (combine_reaching_defs): Disallow !SCALAR_INT_MODE_P
41792 modes in the REGNO != REGNO case.
41794 2014-01-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
41796 * config/rs6000/rs6000-builtin.def: Fix pasto for VPKSDUS.
41798 2014-01-10 Jakub Jelinek <jakub@redhat.com>
41800 PR tree-optimization/59745
41801 * tree-predcom.c (tree_predictive_commoning_loop): Call
41802 free_affine_expand_cache if giving up because components is NULL.
41804 * target-globals.c (save_target_globals): Allocate < 4KB structs using
41805 GC in payload of target_globals struct instead of allocating them on
41806 the heap and the larger structs separately using GC.
41807 * target-globals.h (struct target_globals): Make regs, hard_regs,
41808 reload, expmed, ira, ira_int and lra_fields GTY((atomic)) instead
41809 of GTY((skip)) and change type to void *.
41810 (reset_target_globals): Cast loads from those fields to corresponding
41813 2014-01-10 Steve Ellcey <sellcey@mips.com>
41816 * Makefile.in (PLUGIN_HEADERS): Add gimplify.h, gimple-iterator.h,
41817 gimple-ssa.h, fold-const.h, tree-cfg.h, tree-into-ssa.h,
41818 tree-ssanames.h, print-tree.h, varasm.h, and context.h.
41820 2014-01-10 Richard Earnshaw <rearnsha@arm.com>
41823 * aarch64-modes.def (CC_Zmode): New flags mode.
41824 * aarch64.c (aarch64_select_cc_mode): Only allow NEG when the condition
41825 represents an equality.
41826 (aarch64_get_condition_code): Handle CC_Zmode.
41827 * aarch64.md (compare_neg<mode>): Restrict to equality operations.
41829 2014-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41831 * config/s390/s390.c (s390_expand_tbegin): Remove jump over CC
41832 extraction in good case.
41834 2014-01-10 Richard Biener <rguenther@suse.de>
41836 PR tree-optimization/59374
41837 * tree-vect-slp.c (vect_slp_analyze_bb_1): Move dependence
41838 checking after SLP discovery. Mark stmts not participating
41839 in any SLP instance properly.
41841 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
41843 * config/arm/arm.c (arm_new_rtx_costs): Use destination mode
41844 when handling a SET rtx.
41846 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
41848 * config/arm/arm-cores.def (cortex-a53): Specify FL_CRC32.
41849 (cortex-a57): Likewise.
41850 (cortex-a57.cortex-a53): Likewise. Remove redundant flags.
41852 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
41854 * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
41855 non-iwmmxt builtins.
41857 2014-01-10 Jan Hubicka <hubicka@ucw.cz>
41861 * ipa-devirt.c record_target_from_binfo): Take as argument
41862 stack of binfos and lookup matching one for virtual inheritance.
41863 (possible_polymorphic_call_targets_1): Update.
41865 2014-01-10 Huacai Chen <chenhc@lemote.com>
41867 * config/mips/driver-native.c (host_detect_local_cpu): Handle new
41868 kernel strings for Loongson-2E/2F/3A.
41870 2014-01-10 Jakub Jelinek <jakub@redhat.com>
41872 PR middle-end/59670
41873 * tree-vect-data-refs.c (vect_analyze_data_refs): Check
41874 is_gimple_call before calling gimple_call_internal_p.
41876 2014-01-09 Steve Ellcey <sellcey@mips.com>
41878 * Makefile.in (TREE_FLOW_H): Remove.
41879 (TREE_SSA_H): Add file names from tree-flow.h.
41880 * doc/tree-ssa.texi (Annotations): Remove reference to tree-flow.h
41881 * tree.h: Remove tree-flow.h reference.
41882 * hash-table.h: Remove tree-flow.h reference.
41883 * tree-ssa-loop-niter.c (dump_affine_iv): Replace tree-flow.h
41884 reference with tree-ssa-loop.h.
41886 2014-01-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
41888 * doc/invoke.texi: Add -maltivec={be,le} options, and document
41889 default element-order behavior for -maltivec.
41890 * config/rs6000/rs6000.opt: Add -maltivec={be,le} options.
41891 * config/rs6000/rs6000.c (rs6000_option_override_internal): Ensure
41892 that -maltivec={le,be} implies -maltivec; disallow -maltivec=le
41893 when targeting big endian, at least for now.
41894 * config/rs6000/rs6000.h: Add #define of VECTOR_ELT_ORDER_BIG.
41896 2014-01-09 Jakub Jelinek <jakub@redhat.com>
41898 PR middle-end/47735
41899 * cfgexpand.c (expand_one_var): For SSA_NAMEs, if the underlying
41900 var satisfies use_register_for_decl, just take into account type
41901 alignment, rather than decl alignment.
41903 PR tree-optimization/59622
41904 * gimple-fold.c (gimple_fold_call): Fix a typo in message. For
41905 __builtin_unreachable replace the OBJ_TYPE_REF call with a call to
41906 __builtin_unreachable and add if needed a setter of the lhs SSA_NAME.
41907 Don't devirtualize for inplace at all. For targets.length () == 1,
41908 if the call is noreturn and cfun isn't in SSA form yet, clear lhs.
41910 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
41912 * config/i386/i386.md (cpu): Remove the unused btver1.
41914 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
41916 * gdbasan.in: Put a breakpoint on __sanitizer::Report.
41918 2014-01-09 Jakub Jelinek <jakub@redhat.com>
41921 * tree-core.h (struct target_globals): New forward declaration.
41922 (struct tree_target_option): Add globals field.
41923 * tree.h (TREE_TARGET_GLOBALS): Define.
41924 (prepare_target_option_nodes_for_pch): New prototype.
41925 * target-globals.h (struct target_globals): Define even if
41926 !SWITCHABLE_TARGET.
41927 * tree.c (prepare_target_option_node_for_pch,
41928 prepare_target_option_nodes_for_pch): New functions.
41929 * config/i386/i386.h (SWITCHABLE_TARGET): Define.
41930 * config/i386/i386.c: Include target-globals.h.
41931 (ix86_set_current_function): Instead of doing target_reinit
41932 unconditionally, use save_target_globals_default_opts and
41933 restore_target_globals.
41935 2014-01-09 Richard Biener <rguenther@suse.de>
41937 PR tree-optimization/59715
41938 * tree-cfg.h (split_critical_edges): Declare.
41939 * tree-cfg.c (split_critical_edges): Export.
41940 * tree-ssa-sink.c (execute_sink_code): Split critical edges.
41942 2014-01-09 Max Ostapenko <m.ostapenko@partner.samsung.com>
41944 * cfgexpand.c (expand_stack_vars): Optionally disable
41945 asan stack protection.
41946 (expand_used_vars): Likewise.
41947 (partition_stack_vars): Likewise.
41948 * asan.c (asan_emit_stack_protection): Optionally disable
41949 after return stack usage.
41950 (instrument_derefs): Optionally disable memory access instrumentation.
41951 (instrument_builtin_call): Likewise.
41952 (instrument_strlen_call): Likewise.
41953 (asan_protect_global): Optionally disable global variables protection.
41954 * doc/invoke.texi: Added doc for new options.
41955 * params.def: Added new options.
41956 * params.h: Likewise.
41958 2014-01-09 Jakub Jelinek <jakub@redhat.com>
41960 PR rtl-optimization/59724
41961 * ifcvt.c (cond_exec_process_if_block): Don't call
41962 flow_find_head_matching_sequence with 0 longest_match.
41963 * cfgcleanup.c (flow_find_head_matching_sequence): Count even
41964 non-active insns if !stop_after.
41965 (try_head_merge_bb): Revert 2014-01-07 changes.
41967 2014-01-08 Jeff Law <law@redhat.com>
41969 * ree.c (get_sub_rtx): New function, extracted from...
41970 (merge_def_and_ext): Here.
41971 (combine_reaching_defs): Use get_sub_rtx.
41973 2014-01-08 Eric Botcazou <ebotcazou@adacore.com>
41975 * cgraph.h (varpool_variable_node): Do not choke on null node.
41977 2014-01-08 Catherine Moore <clm@codesourcery.com>
41979 * config/mips/mips.md (simple_return): Attempt to use JRC
41981 * config/mips/mips.h (MIPS_CALL): Attempt to use JALS for microMIPS.
41983 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
41985 PR rtl-optimization/59137
41986 * reorg.c (steal_delay_list_from_target): Call update_block for
41988 (steal_delay_list_from_fallthrough, relax_delay_slots): Likewise.
41990 2014-01-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
41992 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
41993 two duplicate entries.
41995 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
41998 2012-10-07 Richard Sandiford <rdsandiford@googlemail.com>
42000 * config/mips/mips.c (mips_truncated_op_cost): New function.
42001 (mips_rtx_costs): Adjust test for BADDU.
42002 * config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.
42004 2012-10-02 Richard Sandiford <rdsandiford@googlemail.com>
42006 * config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into...
42007 (*baddu_si): ...this new pattern.
42009 2014-01-08 Jakub Jelinek <jakub@redhat.com>
42012 * ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts.
42014 2014-01-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
42016 PR middle-end/57748
42017 * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter
42019 (expand_expr, expand_normal): Adjust.
42020 * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter
42021 inner_reference_p. Use inner_reference_p to expand inner references.
42022 (store_expr): Adjust.
42023 * cfgexpand.c (expand_call_stmt): Adjust.
42025 2014-01-08 Rong Xu <xur@google.com>
42027 * gcov-io.c (gcov_var): Move from gcov-io.h.
42028 (gcov_position): Ditto.
42029 (gcov_is_error): Ditto.
42030 (gcov_rewrite): Ditto.
42031 * gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
42032 only part to libgcc/libgcov.h.
42034 2014-01-08 Marek Polacek <polacek@redhat.com>
42036 PR middle-end/59669
42037 * omp-low.c (simd_clone_adjust): Don't crash if def is NULL.
42039 2014-01-08 Marek Polacek <polacek@redhat.com>
42042 * ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2.
42044 2014-01-08 Jakub Jelinek <jakub@redhat.com>
42046 PR rtl-optimization/59649
42047 * stor-layout.c (get_mode_bounds): For BImode return
42048 0 and STORE_FLAG_VALUE.
42050 2014-01-08 Richard Biener <rguenther@suse.de>
42052 PR middle-end/59630
42053 * gimple.h (is_gimple_builtin_call): Remove.
42054 (gimple_builtin_call_types_compatible_p): New.
42055 (gimple_call_builtin_p): New overload.
42056 * gimple.c (is_gimple_builtin_call): Remove.
42057 (validate_call): Rename to ...
42058 (gimple_builtin_call_types_compatible_p): ... this and export. Also
42059 check return types.
42060 (validate_type): New static function.
42061 (gimple_call_builtin_p): New overload and adjust.
42062 * gimple-fold.c (gimple_fold_builtin): Fold the return value.
42063 (gimple_fold_call): Likewise. Use gimple_call_builtin_p.
42064 (gimple_fold_stmt_to_constant_1): Likewise.
42065 * tsan.c (instrument_gimple): Use gimple_call_builtin_p.
42067 2014-01-08 Richard Biener <rguenther@suse.de>
42069 PR middle-end/59471
42070 * gimplify.c (gimplify_expr): Gimplify register-register type
42071 VIEW_CONVERT_EXPRs to separate stmts.
42073 2014-01-07 Jeff Law <law@redhat.com>
42075 PR middle-end/53623
42076 * ree.c (combine_set_extension): Handle case where source
42077 and destination registers in an extension insn are different.
42078 (combine_reaching_defs): Allow source and destination registers
42079 in extension to be different under limited circumstances.
42080 (add_removable_extension): Remove restriction that the
42081 source and destination registers in the extension are the same.
42082 (find_and_remove_re): Emit a copy from the extension's
42083 destination to its source after the defining insn if
42084 the source and destination registers are different.
42086 PR middle-end/59285
42087 * ifcvt.c (merge_if_block): If we are merging a block with more than
42088 one successor with a block with no successors, remove any BARRIER
42089 after the second block.
42091 2014-01-07 Dan Xio Qiang <ziyan01@163.com>
42093 * hw-doloop.c (reorg_loops): Release the bitmap obstack.
42095 2014-01-07 John David Anglin <danglin@gcc.gnu.org>
42098 * config/pa/pa.c (pa_legitimate_address_p): Return false before reload
42099 for 14-bit register offsets when INT14_OK_STRICT is false.
42101 2014-01-07 Roland Stigge <stigge@antcom.de>
42102 Michael Meissner <meissner@linux.vnet.ibm.com>
42105 * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
42106 Only check TFmode for SPE constants. Don't check TImode or TDmode.
42108 2014-01-07 James Greenhalgh <james.greenhalgh@arm.com>
42110 * config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
42113 2014-01-07 Yufeng Zhang <yufeng.zhang@arm.com>
42115 * config/arm/arm.c (arm_expand_neon_args): Call expand_expr
42116 with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
42117 rtx is const0_rtx or not.
42119 2014-01-07 Richard Sandiford <rdsandiford@googlemail.com>
42122 * target-globals.c (save_target_globals): Remove this_fn_optab
42124 * toplev.c: Include optabs.h.
42125 (target_reinit): Temporarily restore the global options if another
42126 set of options are in force.
42128 2014-01-07 Jakub Jelinek <jakub@redhat.com>
42130 PR rtl-optimization/58668
42131 * cfgcleanup.c (flow_find_cross_jump): Don't count
42132 any jumps if dir_p is NULL. Remove p1 variable, use active_insn_p
42133 to determine what is counted.
42134 (flow_find_head_matching_sequence): Use active_insn_p to determine
42136 (try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
42138 * ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
42139 determine what is counted.
42141 PR tree-optimization/59643
42142 * tree-predcom.c (split_data_refs_to_components): If one dr is
42143 read and one write, determine_offset fails and the write isn't
42144 in the bad component, just put the read into the bad component.
42146 2014-01-07 Mike Stump <mikestump@comcast.net>
42147 Jakub Jelinek <jakub@redhat.com>
42150 * tree-core.h (struct tree_optimization_option): Change optabs
42151 type from unsigned char * to void *.
42152 * optabs.c (init_tree_optimization_optabs): Adjust
42153 TREE_OPTIMIZATION_OPTABS initialization.
42155 2014-01-06 Jakub Jelinek <jakub@redhat.com>
42158 * config/i386/i386.h (struct machine_function): Add
42159 no_drap_save_restore field.
42160 * config/i386/i386.c (ix86_save_reg): Use
42161 !cfun->machine->no_drap_save_restore instead of
42162 crtl->stack_realign_needed.
42163 (ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
42164 this function clears frame_pointer_needed. Set
42165 cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
42166 and DRAP reg is needed.
42168 2014-01-06 Marek Polacek <polacek@redhat.com>
42171 * doc/implement-c.texi: Mention that other integer types are
42172 permitted as bit-field types in strictly conforming mode.
42174 2014-01-06 Felix Yang <fei.yang0953@gmail.com>
42176 * modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
42177 is newly allocated.
42179 2014-01-06 Richard Earnshaw <rearnsha@arm.com>
42181 * aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
42183 2014-01-06 Martin Jambor <mjambor@suse.cz>
42186 * ipa-cp.c (ipcp_discover_new_direct_edges): Changed param_index type
42188 * ipa-prop.c (ipa_print_node_params): Fix indentation.
42190 2014-01-06 Eric Botcazou <ebotcazou@adacore.com>
42194 * var-tracking.c (add_stores): Preserve the value of the source even if
42195 we don't record the store.
42197 2014-01-06 Terry Guo <terry.guo@arm.com>
42199 * config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.
42201 2014-01-05 Iain Sandoe <iain@codesourcery.com>
42204 * config/darwin.c (darwin_function_section): Adjust return values to
42205 correspond to optimisation changes made in r206070.
42207 2014-01-05 Uros Bizjak <ubizjak@gmail.com>
42209 * config/i386/i386.c (ix86_data_alignment): Calculate max_align
42210 from prefetch_block tune setting.
42211 (nocona_cost): Correct size of prefetch block to 64.
42213 2014-01-04 Eric Botcazou <ebotcazou@adacore.com>
42215 * config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
42216 (arm_expand_epilogue_apcs_frame): Take into account the number of bytes
42217 used to save the static chain register in the computation of the offset
42218 from which the FP registers need to be restored.
42220 2014-01-04 Jakub Jelinek <jakub@redhat.com>
42222 PR tree-optimization/59519
42223 * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't
42224 ICE if get_current_def (current_new_name) is already non-NULL, as long
42225 as it is a phi result of some other phi in *new_exit_bb that has
42228 * config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
42229 or vmovdqu* for misaligned_operand.
42230 (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>,
42231 <sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>.
42232 * config/i386/i386.c (ix86_expand_special_args_builtin): Set
42233 aligned_mem for AVX512F masked aligned load and store builtins and for
42234 non-temporal moves.
42236 2014-01-03 Bingfeng Mei <bmei@broadcom.com>
42238 PR tree-optimization/59651
42239 * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
42240 Address range for negative step should be added by TYPE_SIZE_UNIT.
42242 2014-01-03 Andreas Schwab <schwab@linux-m68k.org>
42244 * config/m68k/m68k.c (handle_move_double): Handle pushes with
42245 overlapping registers also for registers other than the stack pointer.
42247 2014-01-03 Marek Polacek <polacek@redhat.com>
42250 * doc/extend.texi: Fix the return value of __builtin_FUNCTION and
42253 2014-01-03 Jakub Jelinek <jakub@redhat.com>
42256 * config/i386/i386.c (ix86_avoid_jump_mispredicts): Don't consider
42259 * config/i386/i386.md (MODE_SIZE): New mode attribute.
42260 (push splitter): Use <P:MODE_SIZE> instead of
42261 GET_MODE_SIZE (<P:MODE>mode).
42262 (lea splitter): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
42263 (mov -1, reg peephole2): Likewise.
42264 * config/i386/sse.md (*mov<mode>_internal,
42265 <sse>_storeu<ssemodesuffix><avxsizesuffix>,
42266 <sse2_avx_avx512f>_storedqu<mode>, <sse>_andnot<mode>3,
42267 *<code><mode>3, *andnot<mode>3<mask_name>,
42268 <mask_codefor><code><mode>3<mask_name>): Likewise.
42269 * config/i386/subst.md (mask_mode512bit_condition,
42270 sd_mask_mode512bit_condition): Likewise.
42272 2014-01-02 Xinliang David Li <davidxl@google.com>
42274 PR tree-optimization/59303
42275 * tree-ssa-uninit.c (is_use_properly_guarded): Main cleanup.
42276 (dump_predicates): Better output format.
42277 (pred_equal_p): New function.
42278 (is_neq_relop_p): Ditto.
42279 (is_neq_zero_form_p): Ditto.
42280 (pred_expr_equal_p): Ditto.
42281 (pred_neg_p): Ditto.
42282 (simplify_pred): Ditto.
42283 (simplify_preds_2): Ditto.
42284 (simplify_preds_3): Ditto.
42285 (simplify_preds_4): Ditto.
42286 (simplify_preds): Ditto.
42287 (push_pred): Ditto.
42288 (push_to_worklist): Ditto.
42289 (get_pred_info_from_cmp): Ditto.
42290 (is_degenerated_phi): Ditto.
42291 (normalize_one_pred_1): Ditto.
42292 (normalize_one_pred): Ditto.
42293 (normalize_one_pred_chain): Ditto.
42294 (normalize_preds): Ditto.
42295 (normalize_cond_1): Remove function.
42296 (normalize_cond): Ditto.
42297 (is_gcond_subset_of): Ditto.
42298 (is_subset_of_any): Ditto.
42299 (is_or_set_subset_of): Ditto.
42300 (is_and_set_subset_of): Ditto.
42301 (is_norm_cond_subset_of): Ditto.
42302 (pred_chain_length_cmp): Ditto.
42303 (convert_control_dep_chain_into_preds): Type change.
42304 (find_predicates): Ditto.
42305 (find_def_preds): Ditto.
42306 (destroy_predicates_vecs): Ditto.
42307 (find_matching_predicates_in_rest_chains): Ditto.
42308 (use_pred_not_overlap_with_undef_path_pred): Ditto.
42309 (is_pred_expr_subset): Ditto.
42310 (is_pred_chain_subset_of): Ditto.
42311 (is_included_in): Ditto.
42312 (is_superset_of): Ditto.
42314 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
42316 Update copyright years.
42318 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
42320 * common/config/arc/arc-common.c, config/arc/arc-modes.def,
42321 config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
42322 config/arc/arc.md, config/arc/arc.opt,
42323 config/arm/arm_neon_builtins.def, config/arm/crypto.def,
42324 config/i386/avx512cdintrin.h, config/i386/avx512erintrin.h,
42325 config/i386/avx512fintrin.h, config/i386/avx512pfintrin.h,
42326 config/i386/btver2.md, config/i386/shaintrin.h, config/i386/slm.md,
42327 config/linux-protos.h, config/linux.c, config/winnt-c.c,
42328 diagnostic-color.c, diagnostic-color.h, gimple-ssa-isolate-paths.c,
42329 vtable-verify.c, vtable-verify.h: Use the standard form for the
42332 2014-01-02 Tobias Burnus <burnus@net-b.de>
42334 * gcc.c (process_command): Update copyright notice dates.
42335 * gcov-dump.c: Ditto.
42337 * doc/cpp.texi: Bump @copying's copyright year.
42338 * doc/cppinternals.texi: Ditto.
42339 * doc/gcc.texi: Ditto.
42340 * doc/gccint.texi: Ditto.
42341 * doc/gcov.texi: Ditto.
42342 * doc/install.texi: Ditto.
42343 * doc/invoke.texi: Ditto.
42345 2014-01-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
42347 * config/nios2/nios2.h (BITS_PER_UNIT): Don't define it.
42349 2014-01-01 Jakub Jelinek <jakub@redhat.com>
42351 * config/i386/sse.md (*mov<mode>_internal): Guard
42352 EXT_REX_SSE_REGNO_P (REGNO ()) uses with REG_P.
42354 PR rtl-optimization/59647
42355 * cse.c (cse_process_notes_1): Don't substitute negative VOIDmode
42356 new_rtx into UNSIGNED_FLOAT rtxes.
42358 Copyright (C) 2014 Free Software Foundation, Inc.
42360 Copying and distribution of this file, with or without modification,
42361 are permitted in any medium without royalty provided the copyright
42362 notice and this notice are preserved.