annotate gcc/ChangeLog @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents f6334be47118
children 84e7813d76e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
kono
parents: 14
diff changeset
1 2017-10-26 Sandra Loosemore <sandra@codesourcery.com>
kono
parents: 14
diff changeset
2
kono
parents: 14
diff changeset
3 * config/nios2/constraints.md ("S"): Match r0rel_constant_p too.
kono
parents: 14
diff changeset
4 * config/nios2/nios2-protos.h (r0rel_constant_p): Declare.
kono
parents: 14
diff changeset
5 * config/nios2/nios2.c: (nios2_r0rel_sec_regex): New.
kono
parents: 14
diff changeset
6 (nios2_option_overide): Initialize it. Don't allow R0-relative
kono
parents: 14
diff changeset
7 addressing with PIC.
kono
parents: 14
diff changeset
8 (nios2_rtx_costs): Handle r0rel_constant_p like gprel_constant_p.
kono
parents: 14
diff changeset
9 (nios2_symbolic_constant_p): Likewise.
kono
parents: 14
diff changeset
10 (nios2_legitimate_address_p): Likewise.
kono
parents: 14
diff changeset
11 (nios2_r0rel_section_name_p): New.
kono
parents: 14
diff changeset
12 (nios2_symbol_ref_in_r0rel_data_p): New.
kono
parents: 14
diff changeset
13 (nios2_emit_move_sequence): Handle r0rel_constant_p.
kono
parents: 14
diff changeset
14 (r0rel_constant_p): New.
kono
parents: 14
diff changeset
15 (nios2_print_operand_address): Handle r0rel_constant_p.
kono
parents: 14
diff changeset
16 (nios2_cdx_narrow_form_p): Likewise.
kono
parents: 14
diff changeset
17 * config/nios2/nios2.opt (mr0rel-sec=): New option.
kono
parents: 14
diff changeset
18 * doc/invoke.texi (Option Summary): Add -mr0rel-sec.
kono
parents: 14
diff changeset
19 (Nios II Options): Document -mr0rel-sec.
kono
parents: 14
diff changeset
20
kono
parents: 14
diff changeset
21 2017-10-26 Sandra Loosemore <sandra@codesourcery.com>
kono
parents: 14
diff changeset
22
kono
parents: 14
diff changeset
23 * config/nios2/nios2.c: Include xregex.h.
kono
parents: 14
diff changeset
24 (nios2_gprel_sec_regex): New.
kono
parents: 14
diff changeset
25 (nios2_option_overide): Initialize it. Don't allow GP-relative
kono
parents: 14
diff changeset
26 addressing with PIC.
kono
parents: 14
diff changeset
27 (nios2_small_section_name_p): Check for regex match.
kono
parents: 14
diff changeset
28 * config/nios2/nios2.opt (mgprel-sec=): New option.
kono
parents: 14
diff changeset
29 * doc/invoke.texi (Option Summary): Add -mgprel-sec.
kono
parents: 14
diff changeset
30 (Nios II Options): Document -mgprel-sec.
kono
parents: 14
diff changeset
31
kono
parents: 14
diff changeset
32 2017-10-26 Jim Wilson <wilson@tuliptree.org>
kono
parents: 14
diff changeset
33
kono
parents: 14
diff changeset
34 * doc/invoke.texi (-fdebug-prefix-map): Expand documentation.
kono
parents: 14
diff changeset
35
kono
parents: 14
diff changeset
36 2017-10-26 Tom de Vries <tom@codesourcery.com>
kono
parents: 14
diff changeset
37
kono
parents: 14
diff changeset
38 PR tree-optimization/82707
kono
parents: 14
diff changeset
39 * gimple.c (gimple_copy): Fix unsharing of
kono
parents: 14
diff changeset
40 GIMPLE_OMP_{SINGLE,TARGET,TEAMS}.
kono
parents: 14
diff changeset
41
kono
parents: 14
diff changeset
42 2017-10-26 Olga Makhotina <olga.makhotina@intel.com>
kono
parents: 14
diff changeset
43
kono
parents: 14
diff changeset
44 * config/i386/avx512fintrin.h (_mm512_cmpeq_pd_mask,
kono
parents: 14
diff changeset
45 _mm512_cmple_pd_mask, _mm512_cmplt_pd_mask,
kono
parents: 14
diff changeset
46 _mm512_cmpneq_pd_mask, _mm512_cmpnle_pd_mask,
kono
parents: 14
diff changeset
47 _mm512_cmpnlt_pd_mask, _mm512_cmpord_pd_mask,
kono
parents: 14
diff changeset
48 _mm512_cmpunord_pd_mask, _mm512_mask_cmpeq_pd_mask,
kono
parents: 14
diff changeset
49 _mm512_mask_cmple_pd_mask, _mm512_mask_cmplt_pd_mask,
kono
parents: 14
diff changeset
50 _mm512_mask_cmpneq_pd_mask, _mm512_mask_cmpnle_pd_mask,
kono
parents: 14
diff changeset
51 _mm512_mask_cmpnlt_pd_mask, _mm512_mask_cmpord_pd_mask,
kono
parents: 14
diff changeset
52 _mm512_mask_cmpunord_pd_mask, _mm512_cmpeq_ps_mask,
kono
parents: 14
diff changeset
53 _mm512_cmple_ps_mask, _mm512_cmplt_ps_mask,
kono
parents: 14
diff changeset
54 _mm512_cmpneq_ps_mask, _mm512_cmpnle_ps_mask,
kono
parents: 14
diff changeset
55 _mm512_cmpnlt_ps_mask, _mm512_cmpord_ps_mask,
kono
parents: 14
diff changeset
56 _mm512_cmpunord_ps_mask, _mm512_mask_cmpeq_ps_mask,
kono
parents: 14
diff changeset
57 _mm512_mask_cmple_ps_mask, _mm512_mask_cmplt_ps_mask,
kono
parents: 14
diff changeset
58 _mm512_mask_cmpneq_ps_mask, _mm512_mask_cmpnle_ps_mask,
kono
parents: 14
diff changeset
59 _mm512_mask_cmpnlt_ps_mask, _mm512_mask_cmpord_ps_mask,
kono
parents: 14
diff changeset
60 _mm512_mask_cmpunord_ps_mask): New intrinsics.
kono
parents: 14
diff changeset
61
kono
parents: 14
diff changeset
62 2017-10-26 Michael Meissner <meissner@linux.vnet.ibm.com>
kono
parents: 14
diff changeset
63
kono
parents: 14
diff changeset
64 * config/rs6000/aix.h (TARGET_IEEEQUAD_DEFAULT): Set long double
kono
parents: 14
diff changeset
65 default to IBM.
kono
parents: 14
diff changeset
66 * config/rs6000/darwin.h (TARGET_IEEEQUAD_DEFAULT): Likewise.
kono
parents: 14
diff changeset
67 * config/rs6000/rs6000.opt (-mabi=ieeelongdouble): Move the
kono
parents: 14
diff changeset
68 warning to rs6000.c. Remove the Undocumented flag, since it has
kono
parents: 14
diff changeset
69 been documented.
kono
parents: 14
diff changeset
70 (-mabi=ibmlongdouble): Likewise.
kono
parents: 14
diff changeset
71 * config/rs6000/rs6000.c (TARGET_IEEEQUAD_DEFAULT): If it is not
kono
parents: 14
diff changeset
72 already set, set the default format for long double.
kono
parents: 14
diff changeset
73 (rs6000_debug_reg_global): Print whether long double is IBM or
kono
parents: 14
diff changeset
74 IEEE.
kono
parents: 14
diff changeset
75 (rs6000_option_override_internal): Rework setting long double
kono
parents: 14
diff changeset
76 format. Only warn if the user is changing the long double default
kono
parents: 14
diff changeset
77 and they did not use -Wno-psabi.
kono
parents: 14
diff changeset
78 * doc/invoke.texi (PowerPC options): Update the documentation for
kono
parents: 14
diff changeset
79 -mabi=ieeelongdouble and -mabi=ibmlongdouble.
kono
parents: 14
diff changeset
80
kono
parents: 14
diff changeset
81 2017-10-26 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
82 Alan Hayward <alan.hayward@arm.com>
kono
parents: 14
diff changeset
83 David Sherwood <david.sherwood@arm.com>
kono
parents: 14
diff changeset
84
kono
parents: 14
diff changeset
85 * rtl.h (wider_subreg_mode): New function.
kono
parents: 14
diff changeset
86 * ira.h (ira_sort_regnos_for_alter_reg): Take a machine_mode *
kono
parents: 14
diff changeset
87 rather than an unsigned int *.
kono
parents: 14
diff changeset
88 * ira-color.c (regno_max_ref_width): Replace with...
kono
parents: 14
diff changeset
89 (regno_max_ref_mode): ...this new variable.
kono
parents: 14
diff changeset
90 (coalesced_pseudo_reg_slot_compare): Update accordingly.
kono
parents: 14
diff changeset
91 Use wider_subreg_mode.
kono
parents: 14
diff changeset
92 (ira_sort_regnos_for_alter_reg): Likewise. Take a machine_mode *
kono
parents: 14
diff changeset
93 rather than an unsigned int *.
kono
parents: 14
diff changeset
94 * lra-constraints.c (uses_hard_regs_p): Use wider_subreg_mode.
kono
parents: 14
diff changeset
95 (process_alt_operands): Likewise.
kono
parents: 14
diff changeset
96 (invariant_p): Likewise.
kono
parents: 14
diff changeset
97 * lra-spills.c (assign_mem_slot): Likewise.
kono
parents: 14
diff changeset
98 (add_pseudo_to_slot): Likewise.
kono
parents: 14
diff changeset
99 * lra.c (collect_non_operand_hard_regs): Likewise.
kono
parents: 14
diff changeset
100 (add_regs_to_insn_regno_info): Likewise.
kono
parents: 14
diff changeset
101 * reload1.c (regno_max_ref_width): Replace with...
kono
parents: 14
diff changeset
102 (regno_max_ref_mode): ...this new variable.
kono
parents: 14
diff changeset
103 (reload): Update accordingly. Update call to
kono
parents: 14
diff changeset
104 ira_sort_regnos_for_alter_reg.
kono
parents: 14
diff changeset
105 (alter_reg): Update to use regno_max_ref_mode. Call wider_subreg_mode.
kono
parents: 14
diff changeset
106 (init_eliminable_invariants): Update to use regno_max_ref_mode.
kono
parents: 14
diff changeset
107 (scan_paradoxical_subregs): Likewise.
kono
parents: 14
diff changeset
108
kono
parents: 14
diff changeset
109 2017-10-26 Wilco Dijkstra <wdijkstr@arm.com>
kono
parents: 14
diff changeset
110
kono
parents: 14
diff changeset
111 * config/aarch64/aarch64.h (EXIT_IGNORE_STACK): Set if alloca is used.
kono
parents: 14
diff changeset
112 (aarch64_frame): Add emit_frame_chain boolean.
kono
parents: 14
diff changeset
113 * config/aarch64/aarch64.c (aarch64_frame_pointer_required)
kono
parents: 14
diff changeset
114 Move eh_return case to aarch64_layout_frame.
kono
parents: 14
diff changeset
115 (aarch64_layout_frame): Initialize emit_frame_chain.
kono
parents: 14
diff changeset
116 (aarch64_expand_prologue): Use emit_frame_chain.
kono
parents: 14
diff changeset
117
kono
parents: 14
diff changeset
118 2017-10-26 Wilco Dijkstra <wdijkstr@arm.com>
kono
parents: 14
diff changeset
119
kono
parents: 14
diff changeset
120 * config/aarch64/aarch64.c (aarch64_layout_frame):
kono
parents: 14
diff changeset
121 Ensure LR is always stored at the bottom of the callee-saves.
kono
parents: 14
diff changeset
122 Remove rarely used frame layout which saves callee-saves at top of
kono
parents: 14
diff changeset
123 frame, so the store of LR can be used as a valid probe in all cases.
kono
parents: 14
diff changeset
124
kono
parents: 14
diff changeset
125 2017-10-26 Wilco Dijkstra <wdijkstr@arm.com>
kono
parents: 14
diff changeset
126
kono
parents: 14
diff changeset
127 * config/aarch64/aarch64.c (aarch64_legitimize_address_displacement):
kono
parents: 14
diff changeset
128 Improve unaligned TImode/TFmode base/offset split.
kono
parents: 14
diff changeset
129
kono
parents: 14
diff changeset
130 2017-10-26 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
131 Alan Hayward <alan.hayward@arm.com>
kono
parents: 14
diff changeset
132 David Sherwood <david.sherwood@arm.com>
kono
parents: 14
diff changeset
133
kono
parents: 14
diff changeset
134 * caller-save.c (mark_referenced_regs): Use read_modify_subreg_p.
kono
parents: 14
diff changeset
135 * combine.c (find_single_use_1): Likewise.
kono
parents: 14
diff changeset
136 (expand_field_assignment): Likewise.
kono
parents: 14
diff changeset
137 (move_deaths): Likewise.
kono
parents: 14
diff changeset
138 * lra-constraints.c (simplify_operand_subreg): Likewise.
kono
parents: 14
diff changeset
139 (curr_insn_transform): Likewise.
kono
parents: 14
diff changeset
140 * lra.c (collect_non_operand_hard_regs): Likewise.
kono
parents: 14
diff changeset
141 (add_regs_to_insn_regno_info): Likewise.
kono
parents: 14
diff changeset
142 * rtlanal.c (reg_referenced_p): Likewise.
kono
parents: 14
diff changeset
143 (covers_regno_no_parallel_p): Likewise.
kono
parents: 14
diff changeset
144
kono
parents: 14
diff changeset
145 2017-10-26 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
146
kono
parents: 14
diff changeset
147 * wide-int-print.cc (print_hex): Loop based on extract_uhwi.
kono
parents: 14
diff changeset
148 Don't print any bits outside the precision of the value.
kono
parents: 14
diff changeset
149 * wide-int.cc (test_printing): Add some new tests.
kono
parents: 14
diff changeset
150
kono
parents: 14
diff changeset
151 2017-10-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents: 14
diff changeset
152
kono
parents: 14
diff changeset
153 * configure.ac (gcc_cv_as_ix86_xbrace_comment): Check if assembler
kono
parents: 14
diff changeset
154 supports -xbrace_comment option.
kono
parents: 14
diff changeset
155 * configure: Regenerate.
kono
parents: 14
diff changeset
156 * config.in: Regenerate.
kono
parents: 14
diff changeset
157 * config/i386/sol2.h (ASM_XBRACE_COMMENT_SPEC): Define.
kono
parents: 14
diff changeset
158 (ASM_CPU_SPEC): Use it.
kono
parents: 14
diff changeset
159
kono
parents: 14
diff changeset
160 2017-10-26 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
161
kono
parents: 14
diff changeset
162 * target.def (static_rtx_alignment): New hook.
kono
parents: 14
diff changeset
163 * targhooks.h (default_static_rtx_alignment): Declare.
kono
parents: 14
diff changeset
164 * targhooks.c (default_static_rtx_alignment): New function.
kono
parents: 14
diff changeset
165 * doc/tm.texi.in (TARGET_STATIC_RTX_ALIGNMENT): New hook.
kono
parents: 14
diff changeset
166 * doc/tm.texi: Regenerate.
kono
parents: 14
diff changeset
167 * varasm.c (force_const_mem): Use targetm.static_rtx_alignment
kono
parents: 14
diff changeset
168 instead of targetm.constant_alignment. Remove call to
kono
parents: 14
diff changeset
169 set_mem_attributes.
kono
parents: 14
diff changeset
170 * config/cris/cris.c (TARGET_STATIC_RTX_ALIGNMENT): Redefine.
kono
parents: 14
diff changeset
171 (cris_preferred_mininum_alignment): New function, split out from...
kono
parents: 14
diff changeset
172 (cris_constant_alignment): ...here.
kono
parents: 14
diff changeset
173 (cris_static_rtx_alignment): New function.
kono
parents: 14
diff changeset
174 * config/i386/i386.c (ix86_static_rtx_alignment): New function,
kono
parents: 14
diff changeset
175 split out from...
kono
parents: 14
diff changeset
176 (ix86_constant_alignment): ...here.
kono
parents: 14
diff changeset
177 (TARGET_STATIC_RTX_ALIGNMENT): Redefine.
kono
parents: 14
diff changeset
178 * config/mmix/mmix.c (TARGET_STATIC_RTX_ALIGNMENT): Redefine.
kono
parents: 14
diff changeset
179 (mmix_static_rtx_alignment): New function.
kono
parents: 14
diff changeset
180 * config/spu/spu.c (spu_static_rtx_alignment): New function.
kono
parents: 14
diff changeset
181 (TARGET_STATIC_RTX_ALIGNMENT): Redefine.
kono
parents: 14
diff changeset
182
kono
parents: 14
diff changeset
183 2017-10-26 Tamar Christina <tamar.christina@arm.com>
kono
parents: 14
diff changeset
184
kono
parents: 14
diff changeset
185 PR target/81800
kono
parents: 14
diff changeset
186 * config/aarch64/aarch64.md (lrint<GPF:mode><GPI:mode>2): Add flag_trapping_math
kono
parents: 14
diff changeset
187 and flag_fp_int_builtin_inexact.
kono
parents: 14
diff changeset
188
kono
parents: 14
diff changeset
189 2017-10-25 Palmer Dabbelt <palmer@dabbelt.com>
kono
parents: 14
diff changeset
190
kono
parents: 14
diff changeset
191 * config/riscv/riscv.md (ZERO_EXTEND_LOAD): Define.
kono
parents: 14
diff changeset
192 * config/riscv/pic.md (local_pic_load): Rename to local_pic_load_s,
kono
parents: 14
diff changeset
193 mark as a sign-extending load.
kono
parents: 14
diff changeset
194 (local_pic_load_u): Define.
kono
parents: 14
diff changeset
195
kono
parents: 14
diff changeset
196 2017-10-25 Eric Botcazou <ebotcazou@adacore.com>
kono
parents: 14
diff changeset
197
kono
parents: 14
diff changeset
198 PR middle-end/82062
kono
parents: 14
diff changeset
199 * fold-const.c (operand_equal_for_comparison_p): Also return true
kono
parents: 14
diff changeset
200 if ARG0 is a simple variant of ARG1 with narrower precision.
kono
parents: 14
diff changeset
201 (fold_ternary_loc): Always pass unstripped operands to the predicate.
kono
parents: 14
diff changeset
202
kono
parents: 14
diff changeset
203 2017-10-25 Jan Hubicka <hubicka@ucw.cz>
kono
parents: 14
diff changeset
204
kono
parents: 14
diff changeset
205 * i386.c (ix86_builtin_vectorization_cost): Compute scatter/gather
kono
parents: 14
diff changeset
206 cost correctly.
kono
parents: 14
diff changeset
207 * i386.h (processor_costs): Add gather_static, gather_per_elt,
kono
parents: 14
diff changeset
208 scatter_static, scatter_per_elt.
kono
parents: 14
diff changeset
209 * x86-tune-costs.h: Add new cost entries.
kono
parents: 14
diff changeset
210
kono
parents: 14
diff changeset
211 2017-10-25 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
212
kono
parents: 14
diff changeset
213 * tree-ssa-sccvn.h (vn_eliminate): Declare.
kono
parents: 14
diff changeset
214 * tree-ssa-pre.c (class eliminate_dom_walker, eliminate,
kono
parents: 14
diff changeset
215 class pass_fre): Move to ...
kono
parents: 14
diff changeset
216 * tree-ssa-sccvn.c (class eliminate_dom_walker, vn_eliminate,
kono
parents: 14
diff changeset
217 class pass_fre): ... here and adjust for statistics.
kono
parents: 14
diff changeset
218
kono
parents: 14
diff changeset
219 2017-10-25 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
220
kono
parents: 14
diff changeset
221 PR libstdc++/81706
kono
parents: 14
diff changeset
222 * attribs.c (attribute_value_equal): Use omp_declare_simd_clauses_equal
kono
parents: 14
diff changeset
223 for comparison of OMP_CLAUSEs regardless of flag_openmp{,_simd}.
kono
parents: 14
diff changeset
224 (duplicate_one_attribute, copy_attributes_to_builtin): New functions.
kono
parents: 14
diff changeset
225 * attribs.h (duplicate_one_attribute, copy_attributes_to_builtin): New
kono
parents: 14
diff changeset
226 declarations.
kono
parents: 14
diff changeset
227
kono
parents: 14
diff changeset
228 2017-10-25 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
229
kono
parents: 14
diff changeset
230 * tree-ssa-pre.c (need_eh_cleanup, need_ab_cleanup, el_to_remove,
kono
parents: 14
diff changeset
231 el_to_fixup, el_todo, el_avail, el_avail_stack, eliminate_avail,
kono
parents: 14
diff changeset
232 eliminate_push_avail, eliminate_insert): Move inside...
kono
parents: 14
diff changeset
233 (class eliminate_dom_walker): ... this class in preparation
kono
parents: 14
diff changeset
234 of move.
kono
parents: 14
diff changeset
235 (fini_eliminate): Remove by merging with ...
kono
parents: 14
diff changeset
236 (eliminate): ... this function. Adjust for class changes.
kono
parents: 14
diff changeset
237 (pass_pre::execute): Remove fini_eliminate call.
kono
parents: 14
diff changeset
238 (pass_fre::execute): Likewise.
kono
parents: 14
diff changeset
239
kono
parents: 14
diff changeset
240 2017-10-24 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
241
kono
parents: 14
diff changeset
242 PR target/82460
kono
parents: 14
diff changeset
243 * config/i386/sse.md (UNSPEC_VPERMI2, UNSPEC_VPERMI2_MASK): Remove.
kono
parents: 14
diff changeset
244 (VPERMI2, VPERMI2I): New mode iterators.
kono
parents: 14
diff changeset
245 (<avx512>_vpermi2var<mode>3_maskz): Remove 3 define_expand patterns.
kono
parents: 14
diff changeset
246 (<avx512>_vpermi2var<mode>3<sd_maskz_name>): Remove 3 define_insn
kono
parents: 14
diff changeset
247 patterns.
kono
parents: 14
diff changeset
248 (<avx512>_vpermi2var<mode>3_mask): New define_expand using VPERMI2
kono
parents: 14
diff changeset
249 mode iterator. Remove 3 old define_insn patterns.
kono
parents: 14
diff changeset
250 (*<avx512>_vpermi2var<mode>3_mask): 2 new define_insn patterns.
kono
parents: 14
diff changeset
251 (<avx512>_vpermt2var<mode>3_maskz): Adjust 1 define_expand to use
kono
parents: 14
diff changeset
252 VPERMI2 mode iterator, remove the other two expanders.
kono
parents: 14
diff changeset
253 (<avx512>_vpermt2var<mode>3<sd_maskz_name>): Adjust 1 define_insn
kono
parents: 14
diff changeset
254 to use VPERMI2 mode iterator, add another alternative for vpermi2*
kono
parents: 14
diff changeset
255 instructions, remove the other two patterns.
kono
parents: 14
diff changeset
256 (<avx512>_vpermt2var<mode>3_mask): Adjust 1 define_insn to use VPERMI2
kono
parents: 14
diff changeset
257 mode iterator, remove the other two patterns.
kono
parents: 14
diff changeset
258 * config/i386/i386.c (ix86_expand_vec_perm_vpermi2): Renamed to ...
kono
parents: 14
diff changeset
259 (ix86_expand_vec_perm_vpermt2): ... this. Swap mask and op0
kono
parents: 14
diff changeset
260 arguments, use gen_*vpermt2* expanders instead of gen_*vpermi2*
kono
parents: 14
diff changeset
261 and adjust argument order accordingly.
kono
parents: 14
diff changeset
262 (ix86_expand_vec_perm): Adjust caller.
kono
parents: 14
diff changeset
263 (expand_vec_perm_1): Likewise.
kono
parents: 14
diff changeset
264 (expand_vec_perm_vpermi2_vpshub2): Rename to ...
kono
parents: 14
diff changeset
265 (expand_vec_perm_vpermt2_vpshub2): ... this.
kono
parents: 14
diff changeset
266 (ix86_expand_vec_perm_const_1): Adjust caller.
kono
parents: 14
diff changeset
267 (ix86_vectorize_vec_perm_const_ok): Adjust comments.
kono
parents: 14
diff changeset
268
kono
parents: 14
diff changeset
269 PR target/82370
kono
parents: 14
diff changeset
270 * config/i386/sse.md (VIMAX_AVX2): Remove V4TImode.
kono
parents: 14
diff changeset
271 (VIMAX_AVX2_AVX512BW, VIMAX_AVX512VL): New mode iterators.
kono
parents: 14
diff changeset
272 (vec_shl_<mode>): Remove unused expander.
kono
parents: 14
diff changeset
273 (avx512bw_<shift_insn><mode>3): New define_insn.
kono
parents: 14
diff changeset
274 (<sse2_avx2>_ashl<mode>3, <sse2_avx2>_lshr<mode>3): Replaced by ...
kono
parents: 14
diff changeset
275 (<sse2_avx2>_<shift_insn><mode>3): ... this. New define_insn.
kono
parents: 14
diff changeset
276
kono
parents: 14
diff changeset
277 2017-10-24 Paolo Carlini <paolo.carlini@oracle.com>
kono
parents: 14
diff changeset
278
kono
parents: 14
diff changeset
279 PR c++/82466
kono
parents: 14
diff changeset
280 * doc/invoke.texi ([Wbuiltin-declaration-mismatch]): Extend
kono
parents: 14
diff changeset
281 description.
kono
parents: 14
diff changeset
282
kono
parents: 14
diff changeset
283 2017-10-24 Wilco Dijkstra <wdijkstr@arm.com>
kono
parents: 14
diff changeset
284
kono
parents: 14
diff changeset
285 PR rtl-optimization/82396
kono
parents: 14
diff changeset
286 * gcc/haifa-sched.c (ready_sort_real): Remove qsort workaround.
kono
parents: 14
diff changeset
287 (autopref_multipass_init): Simplify initialization.
kono
parents: 14
diff changeset
288 (autopref_rank_data): Simplify sort order.
kono
parents: 14
diff changeset
289 * gcc/sched-int.h (autopref_multipass_data_): Remove
kono
parents: 14
diff changeset
290 multi_mem_insn_p, min_offset and max_offset.
kono
parents: 14
diff changeset
291
kono
parents: 14
diff changeset
292 2017-10-24 Wilco Dijkstra <wdijkstr@arm.com>
kono
parents: 14
diff changeset
293
kono
parents: 14
diff changeset
294 PR middle-end/60580
kono
parents: 14
diff changeset
295 * config/aarch64/aarch64.c (aarch64_frame_pointer_required)
kono
parents: 14
diff changeset
296 Check special value of flag_omit_frame_pointer.
kono
parents: 14
diff changeset
297 (aarch64_can_eliminate): Likewise.
kono
parents: 14
diff changeset
298 (aarch64_override_options_after_change_1): Simplify handling of
kono
parents: 14
diff changeset
299 -fomit-frame-pointer and -fomit-leaf-frame-pointer.
kono
parents: 14
diff changeset
300
kono
parents: 14
diff changeset
301 2017-10-24 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
302
kono
parents: 14
diff changeset
303 PR tree-optimization/82697
kono
parents: 14
diff changeset
304 * tree-ssa-phiopt.c (cond_store_replacement): Use alias-set
kono
parents: 14
diff changeset
305 zero for conditional load and unconditional store.
kono
parents: 14
diff changeset
306
kono
parents: 14
diff changeset
307 2017-10-24 H.J. Lu <hongjiu.lu@intel.com>
kono
parents: 14
diff changeset
308
kono
parents: 14
diff changeset
309 * doc/install.texi: Document bootstrap-cet.
kono
parents: 14
diff changeset
310
kono
parents: 14
diff changeset
311 2017-10-24 H.J. Lu <hongjiu.lu@intel.com>
kono
parents: 14
diff changeset
312
kono
parents: 14
diff changeset
313 PR target/82659
kono
parents: 14
diff changeset
314 * config/i386/i386.c (rest_of_insert_endbranch): Don't insert
kono
parents: 14
diff changeset
315 ENDBR instruction at function entrance if function is only
kono
parents: 14
diff changeset
316 called directly.
kono
parents: 14
diff changeset
317
kono
parents: 14
diff changeset
318 2017-10-24 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
319
kono
parents: 14
diff changeset
320 PR target/82628
kono
parents: 14
diff changeset
321 * config/i386/i386.md (addcarry<mode>, subborrow<mode>): Change
kono
parents: 14
diff changeset
322 patterns to better describe from which operation the CF is computed.
kono
parents: 14
diff changeset
323 (addcarry<mode>_0, subborrow<mode>_0): New patterns.
kono
parents: 14
diff changeset
324 * config/i386/i386.c (ix86_expand_builtin) <case handlecarry>: Pass
kono
parents: 14
diff changeset
325 one LTU with [DT]Imode and another one with [SD]Imode. If arg0
kono
parents: 14
diff changeset
326 is 0, use _0 suffixed expanders instead of emitting a comparison
kono
parents: 14
diff changeset
327 before it.
kono
parents: 14
diff changeset
328
kono
parents: 14
diff changeset
329 2017-10-06 Sergey Shalnov <Sergey.Shalnov@intel.com>
kono
parents: 14
diff changeset
330
kono
parents: 14
diff changeset
331 * config/i386/i386.md(*movsf_internal, *movdf_internal):
kono
parents: 14
diff changeset
332 Avoid 512-bit AVX modes for TARGET_PREFER_AVX256.
kono
parents: 14
diff changeset
333
kono
parents: 14
diff changeset
334 2017-10-24 Eric Botcazou <ebotcazou@adacore.com>
kono
parents: 14
diff changeset
335
kono
parents: 14
diff changeset
336 PR middle-end/82569
kono
parents: 14
diff changeset
337 * tree-outof-ssa.h (always_initialized_rtx_for_ssa_name_p): Delete.
kono
parents: 14
diff changeset
338 * expr.c (expand_expr_real_1) <expand_decl_rtl>: Revert latest change.
kono
parents: 14
diff changeset
339 * loop-iv.c (iv_get_reaching_def): Likewise.
kono
parents: 14
diff changeset
340 * cfgexpand.c (expand_one_ssa_partition): Initialize the RTX if the
kono
parents: 14
diff changeset
341 variable is promoted and the partition contains undefined values.
kono
parents: 14
diff changeset
342
kono
parents: 14
diff changeset
343 2017-10-23 Sandra Loosemore <sandra@codesourcery.com>
kono
parents: 14
diff changeset
344
kono
parents: 14
diff changeset
345 * config/nios2/nios2.c (nios2_rtx_costs): Make costs better
kono
parents: 14
diff changeset
346 reflect reality.
kono
parents: 14
diff changeset
347 (nios2_address_cost): Define.
kono
parents: 14
diff changeset
348 (nios2_legitimize_address): Recognize (exp + constant) directly.
kono
parents: 14
diff changeset
349 (TARGET_ADDRESS_COST): Define.
kono
parents: 14
diff changeset
350
kono
parents: 14
diff changeset
351 2017-10-23 Sandra Loosemore <sandra@codesourcery.com>
kono
parents: 14
diff changeset
352
kono
parents: 14
diff changeset
353 * config/nios2/nios2-protos.h (nios2_large_constant_p): Declare.
kono
parents: 14
diff changeset
354 (nios2_symbolic_memory_operand_p): Declare.
kono
parents: 14
diff changeset
355 (nios2_split_large_constant): Declare.
kono
parents: 14
diff changeset
356 (nios2_split_symbolic_memory_operand): Declare.
kono
parents: 14
diff changeset
357 * config/nios2/nios2.c: Adjust includes.
kono
parents: 14
diff changeset
358 (nios2_symbolic_constant_allowed): New.
kono
parents: 14
diff changeset
359 (nios2_symbolic_constant_p): New.
kono
parents: 14
diff changeset
360 (nios2_plus_symbolic_constant_p): New.
kono
parents: 14
diff changeset
361 (nios2_valid_addr_expr_p): Recognize addresses involving
kono
parents: 14
diff changeset
362 symbolic constants.
kono
parents: 14
diff changeset
363 (nios2_legitimate_address_p): Likewise, also LO_SUM.
kono
parents: 14
diff changeset
364 (nios2_symbolic_memory_operand_p): New.
kono
parents: 14
diff changeset
365 (nios2_large_constant_p): New.
kono
parents: 14
diff changeset
366 (nios2_split_large_constant): New.
kono
parents: 14
diff changeset
367 (nios2_split_plus_large_constant): New.
kono
parents: 14
diff changeset
368 (nios2_split_symbolic_memory_operand): New.
kono
parents: 14
diff changeset
369 (nios2_legitimize_address): Code refactoring. Handle addresses
kono
parents: 14
diff changeset
370 involving symbolic constants.
kono
parents: 14
diff changeset
371 (nios2_emit_move_sequence): Likewise.
kono
parents: 14
diff changeset
372 (nios2_print_operand): Improve error output.
kono
parents: 14
diff changeset
373 (nios2_print_operand_address): Handle LO_SUM.
kono
parents: 14
diff changeset
374 (nios2_cdx_narrow_form_p): Likewise.
kono
parents: 14
diff changeset
375 * config/nios2/nios2.md (movqi_internal): Add splitter for memory
kono
parents: 14
diff changeset
376 operands involving symbolic constants.
kono
parents: 14
diff changeset
377 (movhi_internal, movsi_internal): Likewise.
kono
parents: 14
diff changeset
378 (zero_extendhisi2, zero_extendqi<mode>2): Likewise.
kono
parents: 14
diff changeset
379 (extendhisi2, extendqi<mode>2): Likewise.
kono
parents: 14
diff changeset
380
kono
parents: 14
diff changeset
381 2017-10-23 Sandra Loosemore <sandra@codesourcery.com>
kono
parents: 14
diff changeset
382
kono
parents: 14
diff changeset
383 * tree-pass.h (PROP_rtl_split_insns): Define.
kono
parents: 14
diff changeset
384 * recog.c (pass_data_split_all_insns): Provide PROP_rtl_split_insns.
kono
parents: 14
diff changeset
385
kono
parents: 14
diff changeset
386 2017-10-23 Sandra Loosemore <sandra@codesourcery.com>
kono
parents: 14
diff changeset
387
kono
parents: 14
diff changeset
388 * config/nios2/nios2.c (TARGET_LRA_P): Don't override.
kono
parents: 14
diff changeset
389
kono
parents: 14
diff changeset
390 2017-10-23 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
391
kono
parents: 14
diff changeset
392 PR debug/82630
kono
parents: 14
diff changeset
393 * target.def (const_not_ok_for_debug_p): Default to
kono
parents: 14
diff changeset
394 default_const_not_ok_for_debug_p instead of hook_bool_rtx_false.
kono
parents: 14
diff changeset
395 * targhooks.h (default_const_not_ok_for_debug_p): New declaration.
kono
parents: 14
diff changeset
396 * targhooks.c (default_const_not_ok_for_debug_p): New function.
kono
parents: 14
diff changeset
397 * dwarf2out.c (const_ok_for_output_1): Only reject UNSPECs for
kono
parents: 14
diff changeset
398 which targetm.const_not_ok_for_debug_p returned true.
kono
parents: 14
diff changeset
399 * config/arm/arm.c (arm_const_not_ok_for_debug_p): Return true
kono
parents: 14
diff changeset
400 for UNSPECs.
kono
parents: 14
diff changeset
401 * config/powerpcspe/powerpcspe.c (rs6000_const_not_ok_for_debug_p):
kono
parents: 14
diff changeset
402 Likewise.
kono
parents: 14
diff changeset
403 * config/rs6000/rs6000.c (rs6000_const_not_ok_for_debug_p): Likewise.
kono
parents: 14
diff changeset
404 * config/i386/i386.c (ix86_delegitimize_address_1): Don't delegitimize
kono
parents: 14
diff changeset
405 UNSPEC_GOTOFF with addend into addend - _GLOBAL_OFFSET_TABLE_ + symbol
kono
parents: 14
diff changeset
406 if !base_term_p.
kono
parents: 14
diff changeset
407 (ix86_const_not_ok_for_debug_p): New function.
kono
parents: 14
diff changeset
408 (i386_asm_output_addr_const_extra): Handle UNSPEC_GOTOFF.
kono
parents: 14
diff changeset
409 (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Redefine.
kono
parents: 14
diff changeset
410
kono
parents: 14
diff changeset
411 2017-10-23 David Malcolm <dmalcolm@redhat.com>
kono
parents: 14
diff changeset
412
kono
parents: 14
diff changeset
413 PR bootstrap/82610
kono
parents: 14
diff changeset
414 * system.h: Conditionally include "unique-ptr.h" if
kono
parents: 14
diff changeset
415 INCLUDE_UNIQUE_PTR is defined.
kono
parents: 14
diff changeset
416 * unique-ptr-tests.cc: Remove include of "unique-ptr.h" in favor
kono
parents: 14
diff changeset
417 of defining INCLUDE_UNIQUE_PTR before including "system.h".
kono
parents: 14
diff changeset
418
kono
parents: 14
diff changeset
419 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
kono
parents: 14
diff changeset
420
kono
parents: 14
diff changeset
421 * config/rl78/rl78.md: New define_expand "subdi3".
kono
parents: 14
diff changeset
422
kono
parents: 14
diff changeset
423 2017-10-23 H.J. Lu <hongjiu.lu@intel.com>
kono
parents: 14
diff changeset
424
kono
parents: 14
diff changeset
425 PR target/82673
kono
parents: 14
diff changeset
426 * config/i386/i386.c (ix86_finalize_stack_frame_flags): Skip
kono
parents: 14
diff changeset
427 DF_REF_INSN if DF_REF_INSN_INFO is false.
kono
parents: 14
diff changeset
428
kono
parents: 14
diff changeset
429 2017-10-23 Jan Hubicka <hubicka@ucw.cz>
kono
parents: 14
diff changeset
430
kono
parents: 14
diff changeset
431 * i386.c (dimode_scalar_chain::compute_convert_gain): Use
kono
parents: 14
diff changeset
432 xmm_move instead of sse_move.
kono
parents: 14
diff changeset
433 (sse_store_index): New function.
kono
parents: 14
diff changeset
434 (ix86_register_move_cost): Be more sensible about mismatch stall;
kono
parents: 14
diff changeset
435 model AVX moves correctly; make difference between sse->integer and
kono
parents: 14
diff changeset
436 integer->sse.
kono
parents: 14
diff changeset
437 (ix86_builtin_vectorization_cost): Model correctly aligned and unaligned
kono
parents: 14
diff changeset
438 moves; make difference between SSE and AVX.
kono
parents: 14
diff changeset
439 * i386.h (processor_costs): Remove sse_move; add xmm_move, ymm_move
kono
parents: 14
diff changeset
440 and zmm_move. Increase size of sse load and store tables;
kono
parents: 14
diff changeset
441 add unaligned load and store tables; add ssemmx_to_integer.
kono
parents: 14
diff changeset
442 * x86-tune-costs.h: Update all entries according to real
kono
parents: 14
diff changeset
443 move latencies from Agner Fog's manual and chip documentation.
kono
parents: 14
diff changeset
444
kono
parents: 14
diff changeset
445 2017-10-23 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
446
kono
parents: 14
diff changeset
447 PR target/82628
kono
parents: 14
diff changeset
448 * config/i386/predicates.md (x86_64_dwzext_immediate_operand): New.
kono
parents: 14
diff changeset
449 * config/i386/constraints.md (Wf): New constraint.
kono
parents: 14
diff changeset
450 * config/i386/i386.md (UNSPEC_SBB): New unspec.
kono
parents: 14
diff changeset
451 (cmp<dwi>_doubleword): Removed.
kono
parents: 14
diff changeset
452 (sub<mode>3_carry_ccc, *sub<mode>3_carry_ccc_1): New patterns.
kono
parents: 14
diff changeset
453 (sub<mode>3_carry_ccgz): Use unspec instead of compare.
kono
parents: 14
diff changeset
454 * config/i386/i386.c (ix86_expand_branch) <case E_TImode>: Don't
kono
parents: 14
diff changeset
455 expand with cmp<dwi>_doubleword. For LTU and GEU use
kono
parents: 14
diff changeset
456 sub<mode>3_carry_ccc instead of sub<mode>3_carry_ccgz and use CCCmode.
kono
parents: 14
diff changeset
457
kono
parents: 14
diff changeset
458 * common.opt (gcolumn-info): Enable by default.
kono
parents: 14
diff changeset
459 * doc/invoke.texi (gcolumn-info): Document new default.
kono
parents: 14
diff changeset
460
kono
parents: 14
diff changeset
461 2017-10-23 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
462
kono
parents: 14
diff changeset
463 PR tree-optimization/82672
kono
parents: 14
diff changeset
464 * graphite-isl-ast-to-gimple.c (graphite_copy_stmts_from_block):
kono
parents: 14
diff changeset
465 Fold the stmt if we propagated into it.
kono
parents: 14
diff changeset
466
kono
parents: 14
diff changeset
467 2017-10-23 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
468
kono
parents: 14
diff changeset
469 * tree-ssa-pre.c (bitmap_remove_from_set): Rename to...
kono
parents: 14
diff changeset
470 (bitmap_remove_expr_from_set): ... this. All callers call this
kono
parents: 14
diff changeset
471 for non-constant values.
kono
parents: 14
diff changeset
472 (bitmap_set_subtract): Rename to...
kono
parents: 14
diff changeset
473 (bitmap_set_subtract_expressions): ... this. Adjust and
kono
parents: 14
diff changeset
474 optimize.
kono
parents: 14
diff changeset
475 (bitmap_set_contains_value): Remove superfluous check.
kono
parents: 14
diff changeset
476 (bitmap_set_replace_value): Inline into single caller ...
kono
parents: 14
diff changeset
477 (bitmap_value_replace_in_set): ... here and simplify.
kono
parents: 14
diff changeset
478 (dependent_clean): Merge into ...
kono
parents: 14
diff changeset
479 (clean): ... this using an overload. Adjust.
kono
parents: 14
diff changeset
480 (prune_clobbered_mems): Adjust.
kono
parents: 14
diff changeset
481 (compute_antic_aux): Likewise.
kono
parents: 14
diff changeset
482 (compute_partial_antic_aux): Likewise.
kono
parents: 14
diff changeset
483
kono
parents: 14
diff changeset
484 2017-10-23 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
485
kono
parents: 14
diff changeset
486 PR tree-optimization/82129
kono
parents: 14
diff changeset
487 Revert
kono
parents: 14
diff changeset
488 2017-08-01 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
489
kono
parents: 14
diff changeset
490 PR tree-optimization/81181
kono
parents: 14
diff changeset
491 * tree-ssa-pre.c (compute_antic_aux): Defer clean() to ...
kono
parents: 14
diff changeset
492 (compute_antic): ... end of iteration here.
kono
parents: 14
diff changeset
493
kono
parents: 14
diff changeset
494 2017-10-23 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
495
kono
parents: 14
diff changeset
496 * target.def (starting_frame_offset): New hook.
kono
parents: 14
diff changeset
497 * doc/tm.texi (STARTING_FRAME_OFFSET): Remove in favor of...
kono
parents: 14
diff changeset
498 (TARGET_STARTING_FRAME_OFFSET): ...this new hook.
kono
parents: 14
diff changeset
499 * doc/tm.texi.in: Regenerate.
kono
parents: 14
diff changeset
500 * hooks.h (hook_hwi_void_0): Declare.
kono
parents: 14
diff changeset
501 * hooks.c (hook_hwi_void_0): New function.
kono
parents: 14
diff changeset
502 * doc/rtl.texi: Refer to TARGET_STARTING_FRAME_OFFSET instead of
kono
parents: 14
diff changeset
503 STARTING_FRAME_OFFSET.
kono
parents: 14
diff changeset
504 * builtins.c (expand_builtin_setjmp_receiver): Likewise.
kono
parents: 14
diff changeset
505 * reload1.c (reload): Likewise.
kono
parents: 14
diff changeset
506 * cfgexpand.c (expand_used_vars): Use targetm.starting_frame_offset
kono
parents: 14
diff changeset
507 instead of STARTING_FRAME_OFFSET.
kono
parents: 14
diff changeset
508 * function.c (try_fit_stack_local): Likewise.
kono
parents: 14
diff changeset
509 (assign_stack_local_1): Likewise
kono
parents: 14
diff changeset
510 (instantiate_virtual_regs): Likewise.
kono
parents: 14
diff changeset
511 * rtlanal.c (rtx_addr_can_trap_p_1): Likewise.
kono
parents: 14
diff changeset
512 * config/avr/avr.md (nonlocal_goto_receiver): Likewise.
kono
parents: 14
diff changeset
513 * config/aarch64/aarch64.h (STARTING_FRAME_OFFSET): Delete.
kono
parents: 14
diff changeset
514 * config/alpha/alpha.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
515 * config/arc/arc.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
516 * config/arm/arm.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
517 * config/bfin/bfin.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
518 * config/c6x/c6x.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
519 * config/cr16/cr16.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
520 * config/cris/cris.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
521 * config/fr30/fr30.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
522 * config/frv/frv.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
523 * config/ft32/ft32.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
524 * config/h8300/h8300.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
525 * config/i386/i386.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
526 * config/ia64/ia64.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
527 * config/m32c/m32c.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
528 * config/m68k/m68k.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
529 * config/mcore/mcore.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
530 * config/mn10300/mn10300.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
531 * config/moxie/moxie.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
532 * config/msp430/msp430.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
533 * config/nds32/nds32.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
534 * config/nios2/nios2.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
535 * config/nvptx/nvptx.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
536 * config/pdp11/pdp11.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
537 * config/riscv/riscv.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
538 * config/rl78/rl78.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
539 * config/rx/rx.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
540 * config/s390/s390.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
541 * config/sh/sh.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
542 * config/sparc/sparc.c (sparc_compute_frame_size): Likewise.
kono
parents: 14
diff changeset
543 * config/sparc/sparc.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
544 * config/spu/spu.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
545 * config/stormy16/stormy16.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
546 * config/tilegx/tilegx.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
547 * config/tilepro/tilepro.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
548 * config/v850/v850.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
549 * config/visium/visium.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
550 * config/avr/avr.h (STARTING_FRAME_OFFSET): Likewise.
kono
parents: 14
diff changeset
551 * config/avr/avr-protos.h (avr_starting_frame_offset): Likewise.
kono
parents: 14
diff changeset
552 * config/avr/avr.c (avr_starting_frame_offset): Make static and
kono
parents: 14
diff changeset
553 return a HOST_WIDE_INT.
kono
parents: 14
diff changeset
554 (avr_builtin_setjmp_frame_value): Use it instead of
kono
parents: 14
diff changeset
555 STARTING_FRAME_OFFSET.
kono
parents: 14
diff changeset
556 (TARGET_STARTING_FRAME_OFFSET): Redefine.
kono
parents: 14
diff changeset
557 * config/epiphany/epiphany.h (STARTING_FRAME_OFFSET): Delete.
kono
parents: 14
diff changeset
558 * config/epiphany/epiphany.c (epiphany_starting_frame_offset):
kono
parents: 14
diff changeset
559 New function.
kono
parents: 14
diff changeset
560 (TARGET_STARTING_FRAME_OFFSET): Redefine.
kono
parents: 14
diff changeset
561 * config/iq2000/iq2000.h (STARTING_FRAME_OFFSET): Delete.
kono
parents: 14
diff changeset
562 * config/iq2000/iq2000.c (iq2000_starting_frame_offset): New function.
kono
parents: 14
diff changeset
563 (TARGET_CONSTANT_ALIGNMENT): Redefine.
kono
parents: 14
diff changeset
564 * config/lm32/lm32.h (STARTING_FRAME_OFFSET): Delete.
kono
parents: 14
diff changeset
565 * config/lm32/lm32.c (lm32_starting_frame_offset): New function.
kono
parents: 14
diff changeset
566 (TARGET_STARTING_FRAME_OFFSET): Redefine.
kono
parents: 14
diff changeset
567 * config/m32r/m32r.h (STARTING_FRAME_OFFSET): Delete.
kono
parents: 14
diff changeset
568 * config/m32r/m32r.c (m32r_starting_frame_offset): New function.
kono
parents: 14
diff changeset
569 (TARGET_STARTING_FRAME_OFFSET): Redefine.
kono
parents: 14
diff changeset
570 * config/microblaze/microblaze.h (STARTING_FRAME_OFFSET): Delete.
kono
parents: 14
diff changeset
571 * config/microblaze/microblaze.c (microblaze_starting_frame_offset):
kono
parents: 14
diff changeset
572 New function.
kono
parents: 14
diff changeset
573 (TARGET_STARTING_FRAME_OFFSET): Redefine.
kono
parents: 14
diff changeset
574 * config/mips/mips.h (STARTING_FRAME_OFFSET): Delete.
kono
parents: 14
diff changeset
575 * config/mips/mips.c (mips_compute_frame_info): Refer to
kono
parents: 14
diff changeset
576 TARGET_STARTING_FRAME_OFFSET instead of STARTING_FRAME_OFFSET.
kono
parents: 14
diff changeset
577 (mips_starting_frame_offset): New function.
kono
parents: 14
diff changeset
578 (TARGET_STARTING_FRAME_OFFSET): Redefine.
kono
parents: 14
diff changeset
579 * config/mmix/mmix.h (STARTING_FRAME_OFFSET): Delete.
kono
parents: 14
diff changeset
580 * config/mmix/mmix-protos.h (mmix_starting_frame_offset): Delete.
kono
parents: 14
diff changeset
581 * config/mmix/mmix.c (mmix_starting_frame_offset): Make static
kono
parents: 14
diff changeset
582 and return a HOST_WIDE_INT.
kono
parents: 14
diff changeset
583 (TARGET_STARTING_FRAME_OFFSET): Redefine.
kono
parents: 14
diff changeset
584 (mmix_initial_elimination_offset): Refer to
kono
parents: 14
diff changeset
585 TARGET_STARTING_FRAME_OFFSET instead of STARTING_FRAME_OFFSET.
kono
parents: 14
diff changeset
586 * config/pa/pa.h (STARTING_FRAME_OFFSET): Delete.
kono
parents: 14
diff changeset
587 * config/pa/pa.c (pa_starting_frame_offset): New function.
kono
parents: 14
diff changeset
588 (pa_compute_frame_size): Use it instead of STARTING_FRAME_OFFSET.
kono
parents: 14
diff changeset
589 (pa_expand_prologue): Likewise.
kono
parents: 14
diff changeset
590 (TARGET_STARTING_FRAME_OFFSET): Redefine.
kono
parents: 14
diff changeset
591 * config/powerpcspe/aix.h (STARTING_FRAME_OFFSET): Split out
kono
parents: 14
diff changeset
592 !FRAME_GROWS_DOWNWARD handling to...
kono
parents: 14
diff changeset
593 (RS6000_STARTING_FRAME_OFFSET): ...this new macro.
kono
parents: 14
diff changeset
594 * config/powerpcspe/darwin.h (STARTING_FRAME_OFFSET): Split out
kono
parents: 14
diff changeset
595 !FRAME_GROWS_DOWNWARD handling to...
kono
parents: 14
diff changeset
596 (RS6000_STARTING_FRAME_OFFSET): ...this new macro.
kono
parents: 14
diff changeset
597 * config/powerpcspe/powerpcspe.h (STARTING_FRAME_OFFSET): Split out
kono
parents: 14
diff changeset
598 !FRAME_GROWS_DOWNWARD handling to...
kono
parents: 14
diff changeset
599 (RS6000_STARTING_FRAME_OFFSET): ...this new macro.
kono
parents: 14
diff changeset
600 * config/powerpcspe/powerpcspe.c (TARGET_STARTING_FRAME_OFFSET):
kono
parents: 14
diff changeset
601 Redefine.
kono
parents: 14
diff changeset
602 (rs6000_starting_frame_offset): New function.
kono
parents: 14
diff changeset
603 * config/rs6000/aix.h (STARTING_FRAME_OFFSET): Split out
kono
parents: 14
diff changeset
604 !FRAME_GROWS_DOWNWARD handling to...
kono
parents: 14
diff changeset
605 (RS6000_STARTING_FRAME_OFFSET): ...this new macro.
kono
parents: 14
diff changeset
606 * config/rs6000/darwin.h (STARTING_FRAME_OFFSET): Split out
kono
parents: 14
diff changeset
607 !FRAME_GROWS_DOWNWARD handling to...
kono
parents: 14
diff changeset
608 (RS6000_STARTING_FRAME_OFFSET): ...this new macro.
kono
parents: 14
diff changeset
609 * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Split out
kono
parents: 14
diff changeset
610 !FRAME_GROWS_DOWNWARD handling to...
kono
parents: 14
diff changeset
611 (RS6000_STARTING_FRAME_OFFSET): ...this new macro.
kono
parents: 14
diff changeset
612 * config/rs6000/rs6000.c (TARGET_STARTING_FRAME_OFFSET): Refine.
kono
parents: 14
diff changeset
613 (rs6000_starting_frame_offset): New function.
kono
parents: 14
diff changeset
614 * config/vax/elf.h (STARTING_FRAME_OFFSET): Delete.
kono
parents: 14
diff changeset
615 * config/vax/vax.h (STARTING_FRAME_OFFSET): Delete.
kono
parents: 14
diff changeset
616 * config/vax/vax.c (vax_starting_frame_offset): New function.
kono
parents: 14
diff changeset
617 (vax_expand_prologue): Use it instead of STARTING_FRAME_OFFSET.
kono
parents: 14
diff changeset
618 (TARGET_STARTING_FRAME_OFFSET): Redefine.
kono
parents: 14
diff changeset
619 * config/xtensa/xtensa.h (STARTING_FRAME_OFFSET): Delete.
kono
parents: 14
diff changeset
620 * config/xtensa/xtensa.c (xtensa_starting_frame_offset): New function.
kono
parents: 14
diff changeset
621 (TARGET_STARTING_FRAME_OFFSET): Redefine.
kono
parents: 14
diff changeset
622 * system.h (STARTING_FRAME_OFFSET): Poison.
kono
parents: 14
diff changeset
623
kono
parents: 14
diff changeset
624 2017-10-23 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
625
kono
parents: 14
diff changeset
626 * tree-vect-loop.c (vect_create_epilog_for_reduction): Use
kono
parents: 14
diff changeset
627 SCALAR_TYPE_MODE instead of TYPE_MODE.
kono
parents: 14
diff changeset
628
kono
parents: 14
diff changeset
629 2017-10-23 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
630 Alan Hayward <alan.hayward@arm.com>
kono
parents: 14
diff changeset
631 David Sherwood <david.sherwood@arm.com>
kono
parents: 14
diff changeset
632
kono
parents: 14
diff changeset
633 * dwarf2out.c (loc_list_from_tree_1): Use SCALAR_INT_TYPE_MODE
kono
parents: 14
diff changeset
634
kono
parents: 14
diff changeset
635 2017-10-23 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
636 Alan Hayward <alan.hayward@arm.com>
kono
parents: 14
diff changeset
637 David Sherwood <david.sherwood@arm.com>
kono
parents: 14
diff changeset
638
kono
parents: 14
diff changeset
639 * expmed.c (expand_shift_1): Use scalar_mode for scalar_mode.
kono
parents: 14
diff changeset
640
kono
parents: 14
diff changeset
641 2017-10-23 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
642
kono
parents: 14
diff changeset
643 PR tree-optimization/82129
kono
parents: 14
diff changeset
644 * tree-ssa-pre.c (bitmap_set_and): Remove.
kono
parents: 14
diff changeset
645 (compute_antic_aux): Compute ANTIC_OUT intersection in a way
kono
parents: 14
diff changeset
646 canonicalizing expressions in the set to those with lowest
kono
parents: 14
diff changeset
647 ID rather than taking that from the first edge.
kono
parents: 14
diff changeset
648
kono
parents: 14
diff changeset
649 2017-10-23 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
650
kono
parents: 14
diff changeset
651 * combine.c (rtx_equal_for_field_assignment_p): Use
kono
parents: 14
diff changeset
652 byte_lowpart_offset.
kono
parents: 14
diff changeset
653
kono
parents: 14
diff changeset
654 2017-10-22 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
655 Alan Hayward <alan.hayward@arm.com>
kono
parents: 14
diff changeset
656 David Sherwood <david.sherwood@arm.com>
kono
parents: 14
diff changeset
657
kono
parents: 14
diff changeset
658 * internal-fn.c (expand_direct_optab_fn): Don't assign directly
kono
parents: 14
diff changeset
659 to a SUBREG_PROMOTED_VAR.
kono
parents: 14
diff changeset
660
kono
parents: 14
diff changeset
661 2017-10-22 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
662 Alan Hayward <alan.hayward@arm.com>
kono
parents: 14
diff changeset
663 David Sherwood <david.sherwood@arm.com>
kono
parents: 14
diff changeset
664
kono
parents: 14
diff changeset
665 * cfgexpand.c (expand_debug_expr): Use GET_MODE_UNIT_PRECISION.
kono
parents: 14
diff changeset
666 (expand_debug_source_expr): Likewise.
kono
parents: 14
diff changeset
667 * combine.c (combine_simplify_rtx): Likewise.
kono
parents: 14
diff changeset
668 * cse.c (fold_rtx): Likewise.
kono
parents: 14
diff changeset
669 * optabs.c (expand_float): Likewise.
kono
parents: 14
diff changeset
670 * simplify-rtx.c (simplify_unary_operation_1): Likewise.
kono
parents: 14
diff changeset
671 (simplify_binary_operation_1): Likewise.
kono
parents: 14
diff changeset
672
kono
parents: 14
diff changeset
673 2017-10-22 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
674 Alan Hayward <alan.hayward@arm.com>
kono
parents: 14
diff changeset
675 David Sherwood <david.sherwood@arm.com>
kono
parents: 14
diff changeset
676
kono
parents: 14
diff changeset
677 * combine.c (simplify_comparison): Use HWI_COMPUTABLE_MODE_P.
kono
parents: 14
diff changeset
678 (record_promoted_value): Likewise.
kono
parents: 14
diff changeset
679 * expr.c (expand_expr_real_2): Likewise.
kono
parents: 14
diff changeset
680 * ree.c (update_reg_equal_equiv_notes): Likewise.
kono
parents: 14
diff changeset
681 (combine_set_extension): Likewise.
kono
parents: 14
diff changeset
682 * rtlanal.c (low_bitmask_len): Likewise.
kono
parents: 14
diff changeset
683 * simplify-rtx.c (neg_const_int): Likewise.
kono
parents: 14
diff changeset
684 (simplify_binary_operation_1): Likewise.
kono
parents: 14
diff changeset
685
kono
parents: 14
diff changeset
686 2017-10-22 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
687 Alan Hayward <alan.hayward@arm.com>
kono
parents: 14
diff changeset
688 David Sherwood <david.sherwood@arm.com>
kono
parents: 14
diff changeset
689
kono
parents: 14
diff changeset
690 * lra-spills.c (assign_mem_slot): Use subreg_size_lowpart_offset.
kono
parents: 14
diff changeset
691 * regcprop.c (maybe_mode_change): Likewise.
kono
parents: 14
diff changeset
692 * reload1.c (alter_reg): Likewise.
kono
parents: 14
diff changeset
693
kono
parents: 14
diff changeset
694 2017-10-22 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
695
kono
parents: 14
diff changeset
696 * inchash.h (inchash::hash::add_wide_int): New function.
kono
parents: 14
diff changeset
697 * lto-streamer-out.c (hash_tree): Use it.
kono
parents: 14
diff changeset
698
kono
parents: 14
diff changeset
699 2017-10-22 Richard Sandiford <richard.sandiford@linaro.org>
kono
parents: 14
diff changeset
700
kono
parents: 14
diff changeset
701 * inchash.h (inchash::hash::add_wide_int): Rename to...
kono
parents: 14
diff changeset
702 (inchash::hash::add_hwi): ...this.
kono
parents: 14
diff changeset
703 * ipa-devirt.c (hash_odr_vtable): Update accordingly.
kono
parents: 14
diff changeset
704 (polymorphic_call_target_hasher::hash): Likewise.
kono
parents: 14
diff changeset
705 * ipa-icf.c (sem_function::get_hash, sem_function::init): Likewise.
kono
parents: 14
diff changeset
706 (sem_item::add_expr, sem_item::add_type, sem_variable::get_hash)
kono
parents: 14
diff changeset
707 (sem_item_optimizer::update_hash_by_addr_refs): Likewise.
kono
parents: 14
diff changeset
708 * lto-streamer-out.c (hash_tree): Likewise.
kono
parents: 14
diff changeset
709 * optc-save-gen.awk: Likewise.
kono
parents: 14
diff changeset
710 * tree.c (add_expr): Likewise.
kono
parents: 14
diff changeset
711
kono
parents: 14
diff changeset
712 2017-10-22 Uros Bizjak <ubizjak@gmail.com>
kono
parents: 14
diff changeset
713
kono
parents: 14
diff changeset
714 PR target/52451
kono
parents: 14
diff changeset
715 * config/i386/i386.c (ix86_fp_compare_mode): Return CCFPmode
kono
parents: 14
diff changeset
716 for ordered inequality comparisons even with TARGET_IEEE_FP.
kono
parents: 14
diff changeset
717
kono
parents: 14
diff changeset
718 2017-10-22 Uros Bizjak <ubizjak@gmail.com>
kono
parents: 14
diff changeset
719
kono
parents: 14
diff changeset
720 PR target/82628
kono
parents: 14
diff changeset
721 * config/i386/i386.md (cmp<dwi>_doubleword): New pattern.
kono
parents: 14
diff changeset
722 * config/i386/i386.c (ix86_expand_branch) <case E_TImode>:
kono
parents: 14
diff changeset
723 Expand with cmp<dwi>_doubleword.
kono
parents: 14
diff changeset
724
kono
parents: 14
diff changeset
725 2017-10-21 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
kono
parents: 14
diff changeset
726
kono
parents: 14
diff changeset
727 * extend.texi: Add x86 specific to 'nocf_check' attribute.
kono
parents: 14
diff changeset
728 List CET intrinsics.
kono
parents: 14
diff changeset
729 * invoke.texi: Add -mcet, -mibt, -mshstk options. Add x86
kono
parents: 14
diff changeset
730 specific to -fcf-protection option.
kono
parents: 14
diff changeset
731
kono
parents: 14
diff changeset
732 2017-10-21 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
kono
parents: 14
diff changeset
733
kono
parents: 14
diff changeset
734 * common/config/i386/i386-common.c (OPTION_MASK_ISA_IBT_SET): New.
kono
parents: 14
diff changeset
735 (OPTION_MASK_ISA_SHSTK_SET): Likewise.
kono
parents: 14
diff changeset
736 (OPTION_MASK_ISA_IBT_UNSET): Likewise.
kono
parents: 14
diff changeset
737 (OPTION_MASK_ISA_SHSTK_UNSET): Likewise.
kono
parents: 14
diff changeset
738 (ix86_handle_option): Add -mibt, -mshstk, -mcet handling.
kono
parents: 14
diff changeset
739 * config.gcc (extra_headers): Add cetintrin.h for x86 targets.
kono
parents: 14
diff changeset
740 (extra_objs): Add cet.o for Linux/x86 targets.
kono
parents: 14
diff changeset
741 (tmake_file): Add i386/t-cet for Linux/x86 targets.
kono
parents: 14
diff changeset
742 * config/i386/cet.c: New file.
kono
parents: 14
diff changeset
743 * config/i386/cetintrin.h: Likewise.
kono
parents: 14
diff changeset
744 * config/i386/t-cet: Likewise.
kono
parents: 14
diff changeset
745 * config/i386/cpuid.h (bit_SHSTK): New.
kono
parents: 14
diff changeset
746 (bit_IBT): Likewise.
kono
parents: 14
diff changeset
747 * config/i386/driver-i386.c (host_detect_local_cpu): Detect and
kono
parents: 14
diff changeset
748 pass IBT and SHSTK bits.
kono
parents: 14
diff changeset
749 * config/i386/i386-builtin-types.def
kono
parents: 14
diff changeset
750 (VOID_FTYPE_UNSIGNED_PVOID): New.
kono
parents: 14
diff changeset
751 (VOID_FTYPE_UINT64_PVOID): Likewise.
kono
parents: 14
diff changeset
752 * config/i386/i386-builtin.def: Add CET intrinsics.
kono
parents: 14
diff changeset
753 * config/i386/i386-c.c (ix86_target_macros_internal): Add
kono
parents: 14
diff changeset
754 OPTION_MASK_ISA_IBT, OPTION_MASK_ISA_SHSTK handling.
kono
parents: 14
diff changeset
755 * config/i386/i386-passes.def: Add pass_insert_endbranch pass.
kono
parents: 14
diff changeset
756 * config/i386/i386-protos.h (make_pass_insert_endbranch): New
kono
parents: 14
diff changeset
757 prototype.
kono
parents: 14
diff changeset
758 * config/i386/i386.c (rest_of_insert_endbranch): New.
kono
parents: 14
diff changeset
759 (pass_data_insert_endbranch): Likewise.
kono
parents: 14
diff changeset
760 (pass_insert_endbranch): Likewise.
kono
parents: 14
diff changeset
761 (make_pass_insert_endbranch): Likewise.
kono
parents: 14
diff changeset
762 (ix86_notrack_prefixed_insn_p): Likewise.
kono
parents: 14
diff changeset
763 (ix86_target_string): Add -mibt, -mshstk flags.
kono
parents: 14
diff changeset
764 (ix86_option_override_internal): Add flag_cf_protection
kono
parents: 14
diff changeset
765 processing.
kono
parents: 14
diff changeset
766 (ix86_valid_target_attribute_inner_p): Set OPT_mibt, OPT_mshstk.
kono
parents: 14
diff changeset
767 (ix86_print_operand): Add 'notrack' prefix output.
kono
parents: 14
diff changeset
768 (ix86_init_mmx_sse_builtins): Add CET intrinsics.
kono
parents: 14
diff changeset
769 (ix86_expand_builtin): Expand CET intrinsics.
kono
parents: 14
diff changeset
770 (x86_output_mi_thunk): Add 'endbranch' instruction.
kono
parents: 14
diff changeset
771 * config/i386/i386.h (TARGET_IBT): New.
kono
parents: 14
diff changeset
772 (TARGET_IBT_P): Likewise.
kono
parents: 14
diff changeset
773 (TARGET_SHSTK): Likewise.
kono
parents: 14
diff changeset
774 (TARGET_SHSTK_P): Likewise.
kono
parents: 14
diff changeset
775 * config/i386/i386.md (unspecv): Add UNSPECV_NOP_RDSSP,
kono
parents: 14
diff changeset
776 UNSPECV_INCSSP, UNSPECV_SAVEPREVSSP, UNSPECV_RSTORSSP,
kono
parents: 14
diff changeset
777 UNSPECV_WRSS, UNSPECV_WRUSS, UNSPECV_SETSSBSY, UNSPECV_CLRSSBSY.
kono
parents: 14
diff changeset
778 (builtin_setjmp_setup): New pattern.
kono
parents: 14
diff changeset
779 (builtin_longjmp): Likewise.
kono
parents: 14
diff changeset
780 (rdssp<mode>): Likewise.
kono
parents: 14
diff changeset
781 (incssp<mode>): Likewise.
kono
parents: 14
diff changeset
782 (saveprevssp): Likewise.
kono
parents: 14
diff changeset
783 (rstorssp): Likewise.
kono
parents: 14
diff changeset
784 (wrss<mode>): Likewise.
kono
parents: 14
diff changeset
785 (wruss<mode>): Likewise.
kono
parents: 14
diff changeset
786 (setssbsy): Likewise.
kono
parents: 14
diff changeset
787 (clrssbsy): Likewise.
kono
parents: 14
diff changeset
788 (nop_endbr): Likewise.
kono
parents: 14
diff changeset
789 * config/i386/i386.opt: Add -mcet, -mibt, -mshstk and -mcet-switch
kono
parents: 14
diff changeset
790 options.
kono
parents: 14
diff changeset
791 * config/i386/immintrin.h: Include <cetintrin.h>.
kono
parents: 14
diff changeset
792 * config/i386/linux-common.h
kono
parents: 14
diff changeset
793 (file_end_indicate_exec_stack_and_cet): New prototype.
kono
parents: 14
diff changeset
794 (TARGET_ASM_FILE_END): New.
kono
parents: 14
diff changeset
795
kono
parents: 14
diff changeset
796 2017-10-20 Jan Hubicka <hubicka@ucw.cz>
kono
parents: 14
diff changeset
797
kono
parents: 14
diff changeset
798 * i386.c (ix86_builtin_vectorization_cost): Use existing rtx_cost
kono
parents: 14
diff changeset
799 latencies instead of having separate table; make difference between
kono
parents: 14
diff changeset
800 integer and float costs.
kono
parents: 14
diff changeset
801 * i386.h (processor_costs): Remove scalar_stmt_cost,
kono
parents: 14
diff changeset
802 scalar_load_cost, scalar_store_cost, vec_stmt_cost, vec_to_scalar_cost,
kono
parents: 14
diff changeset
803 scalar_to_vec_cost, vec_align_load_cost, vec_unalign_load_cost,
kono
parents: 14
diff changeset
804 vec_store_cost.
kono
parents: 14
diff changeset
805 * x86-tune-costs.h: Remove entries which has been removed in
kono
parents: 14
diff changeset
806 procesor_costs from all tables; make cond_taken_branch_cost
kono
parents: 14
diff changeset
807 and cond_not_taken_branch_cost COST_N_INSNS based.
kono
parents: 14
diff changeset
808
kono
parents: 14
diff changeset
809 2017-10-20 Jan Hubicka <hubicka@ucw.cz>
kono
parents: 14
diff changeset
810
kono
parents: 14
diff changeset
811 * x86-tune-costs.h (intel_cost, generic_cost): Fix move costs.
kono
parents: 14
diff changeset
812
kono
parents: 14
diff changeset
813 2017-10-20 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
814
kono
parents: 14
diff changeset
815 * config/i386/i386.md (isa): Remove fma_avx512f.
kono
parents: 14
diff changeset
816 * config/i386/sse.md (<avx512>_fmadd_<mode>_mask<round_name>,
kono
parents: 14
diff changeset
817 <avx512>_fmadd_<mode>_mask3<round_name>,
kono
parents: 14
diff changeset
818 <avx512>_fmsub_<mode>_mask<round_name>,
kono
parents: 14
diff changeset
819 <avx512>_fmsub_<mode>_mask3<round_name>,
kono
parents: 14
diff changeset
820 <avx512>_fnmadd_<mode>_mask<round_name>,
kono
parents: 14
diff changeset
821 <avx512>_fnmadd_<mode>_mask3<round_name>,
kono
parents: 14
diff changeset
822 <avx512>_fnmsub_<mode>_mask<round_name>,
kono
parents: 14
diff changeset
823 <avx512>_fnmsub_<mode>_mask3<round_name>,
kono
parents: 14
diff changeset
824 <avx512>_fmaddsub_<mode>_mask<round_name>,
kono
parents: 14
diff changeset
825 <avx512>_fmaddsub_<mode>_mask3<round_name>,
kono
parents: 14
diff changeset
826 <avx512>_fmsubadd_<mode>_mask<round_name>,
kono
parents: 14
diff changeset
827 <avx512>_fmsubadd_<mode>_mask3<round_name>): Remove isa attribute.
kono
parents: 14
diff changeset
828 (*vec_widen_umult_even_v16si<mask_name>,
kono
parents: 14
diff changeset
829 *vec_widen_smult_even_v16si<mask_name>): Likewise.
kono
parents: 14
diff changeset
830 (<mask_codefor>avx512bw_dbpsadbw<mode><mask_name>): Likewise.
kono
parents: 14
diff changeset
831
kono
parents: 14
diff changeset
832 2017-10-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
kono
parents: 14
diff changeset
833
kono
parents: 14
diff changeset
834 * extend.texi: Add 'nocf_check' documentation.
kono
parents: 14
diff changeset
835 * gimple.texi: Add second parameter to
kono
parents: 14
diff changeset
836 gimple_build_call_from_tree.
kono
parents: 14
diff changeset
837 * invoke.texi: Add -fcf-protection documentation.
kono
parents: 14
diff changeset
838 * rtl.texi: Add REG_CALL_NOTRACK documenation.
kono
parents: 14
diff changeset
839
kono
parents: 14
diff changeset
840 2017-10-20 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
841
kono
parents: 14
diff changeset
842 PR tree-optimization/82473
kono
parents: 14
diff changeset
843 * tree-vect-loop.c (vectorizable_reduction): Properly get at
kono
parents: 14
diff changeset
844 the largest input type.
kono
parents: 14
diff changeset
845
kono
parents: 14
diff changeset
846 2017-10-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
kono
parents: 14
diff changeset
847
kono
parents: 14
diff changeset
848 * c-attribs.c (handle_nocf_check_attribute): New function.
kono
parents: 14
diff changeset
849 (c_common_attribute_table): Add 'nocf_check' handling.
kono
parents: 14
diff changeset
850 * gimple-parser.c: Add second argument NULL to
kono
parents: 14
diff changeset
851 gimple_build_call_from_tree.
kono
parents: 14
diff changeset
852 * attrib.c (comp_type_attributes): Check nocf_check attribute.
kono
parents: 14
diff changeset
853 * cfgexpand.c (expand_call_stmt): Set REG_CALL_NOCF_CHECK for
kono
parents: 14
diff changeset
854 call insn.
kono
parents: 14
diff changeset
855 * combine.c (distribute_notes): Add REG_CALL_NOCF_CHECK handling.
kono
parents: 14
diff changeset
856 * common.opt: Add fcf-protection flag.
kono
parents: 14
diff changeset
857 * emit-rtl.c (try_split): Add REG_CALL_NOCF_CHECK handling.
kono
parents: 14
diff changeset
858 * flag-types.h: Add enum cf_protection_level.
kono
parents: 14
diff changeset
859 * gimple.c (gimple_build_call_from_tree): Add second parameter.
kono
parents: 14
diff changeset
860 Add 'nocf_check' attribute propagation to gimple call.
kono
parents: 14
diff changeset
861 * gimple.h (gf_mask): Add GF_CALL_NOCF_CHECK.
kono
parents: 14
diff changeset
862 (gimple_build_call_from_tree): Update prototype.
kono
parents: 14
diff changeset
863 (gimple_call_nocf_check_p): New function.
kono
parents: 14
diff changeset
864 (gimple_call_set_nocf_check): Likewise.
kono
parents: 14
diff changeset
865 * gimplify.c: Add second argument to gimple_build_call_from_tree.
kono
parents: 14
diff changeset
866 * ipa-icf.c: Add nocf_check attribute in statement hash.
kono
parents: 14
diff changeset
867 * recog.c (peep2_attempt): Add REG_CALL_NOCF_CHECK handling.
kono
parents: 14
diff changeset
868 * reg-notes.def: Add REG_NOTE (CALL_NOCF_CHECK).
kono
parents: 14
diff changeset
869 * toplev.c (process_options): Add flag_cf_protection handling.
kono
parents: 14
diff changeset
870
kono
parents: 14
diff changeset
871 2017-10-19 Jan Hubicka <hubicka@ucw.cz>
kono
parents: 14
diff changeset
872
kono
parents: 14
diff changeset
873 * x86-tune-costs.h (core_cost): Fix div, move and sqrt latencies.
kono
parents: 14
diff changeset
874
kono
parents: 14
diff changeset
875 2017-10-20 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
876
kono
parents: 14
diff changeset
877 PR tree-optimization/82603
kono
parents: 14
diff changeset
878 * tree-if-conv.c (predicate_mem_writes): Make sure to only
kono
parents: 14
diff changeset
879 remove false predicated stores.
kono
parents: 14
diff changeset
880
kono
parents: 14
diff changeset
881 2017-10-20 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
882
kono
parents: 14
diff changeset
883 * graphite-isl-ast-to-gimple.c
kono
parents: 14
diff changeset
884 (translate_isl_ast_to_gimple::graphite_copy_stmts_from_block):
kono
parents: 14
diff changeset
885 Remove return value and simplify, dump copied stmt after lhs
kono
parents: 14
diff changeset
886 adjustment.
kono
parents: 14
diff changeset
887 (translate_isl_ast_to_gimple::translate_isl_ast_node_user):
kono
parents: 14
diff changeset
888 Reduce dump verbosity.
kono
parents: 14
diff changeset
889 (gsi_insert_earliest): Likewise.
kono
parents: 14
diff changeset
890 (translate_isl_ast_to_gimple::copy_bb_and_scalar_dependences): Adjust.
kono
parents: 14
diff changeset
891 * graphite.c (print_global_statistics): Adjust dumping.
kono
parents: 14
diff changeset
892 (print_graphite_scop_statistics): Likewise.
kono
parents: 14
diff changeset
893 (print_graphite_statistics): Do not dump loops here.
kono
parents: 14
diff changeset
894 (graphite_transform_loops): But here.
kono
parents: 14
diff changeset
895
kono
parents: 14
diff changeset
896 2017-10-20 Nicolas Roche <roche@adacore.com>
kono
parents: 14
diff changeset
897
kono
parents: 14
diff changeset
898 * configure.ac (ACX_PROG_GNAT): Append "libgnat" to include search dir.
11
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
899 * configure: Regenerate.
14
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
900
16
kono
parents: 14
diff changeset
901 2017-10-20 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
902
kono
parents: 14
diff changeset
903 PR target/82158
kono
parents: 14
diff changeset
904 * tree-cfg.c (pass_warn_function_return::execute): In noreturn
kono
parents: 14
diff changeset
905 functions when optimizing replace GIMPLE_RETURN stmts with
kono
parents: 14
diff changeset
906 calls to __builtin_unreachable ().
kono
parents: 14
diff changeset
907
kono
parents: 14
diff changeset
908 PR sanitizer/82595
kono
parents: 14
diff changeset
909 * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Add libtsan_preinit.o
kono
parents: 14
diff changeset
910 for -fsanitize=thread link of executables.
kono
parents: 14
diff changeset
911 (LIBLSAN_EARLY_SPEC): Add liblsan_preinit.o for -fsanitize=leak
kono
parents: 14
diff changeset
912 link of executables.
kono
parents: 14
diff changeset
913
kono
parents: 14
diff changeset
914 PR target/82370
kono
parents: 14
diff changeset
915 * config/i386/sse.md (VI248_AVX2, VI248_AVX512BW, VI248_AVX512BW_2):
kono
parents: 14
diff changeset
916 New mode iterators.
kono
parents: 14
diff changeset
917 (<shift_insn><mode>3<mask_name>): Change the last of the 3
kono
parents: 14
diff changeset
918 define_insns for logical vector shifts to use VI248_AVX512BW
kono
parents: 14
diff changeset
919 iterator instead of VI48_AVX512, remove <mask_mode512bit_condition>
kono
parents: 14
diff changeset
920 condition, useless isa and prefix attributes. Change the first
kono
parents: 14
diff changeset
921 2 of these define_insns to ...
kono
parents: 14
diff changeset
922 (<mask_codefor><shift_insn><mode>3<mask_name>): ... this, new
kono
parents: 14
diff changeset
923 define_insn for avx512vl.
kono
parents: 14
diff changeset
924 (<shift_insn><mode>3): ... and this, new define_insn without
kono
parents: 14
diff changeset
925 masking for non-avx512vl.
kono
parents: 14
diff changeset
926
kono
parents: 14
diff changeset
927 PR target/82370
kono
parents: 14
diff changeset
928 * config/i386/sse.md (*andnot<mode>3,
kono
parents: 14
diff changeset
929 <mask_codefor><code><mode>3<mask_name>, *<code><mode>3): Split
kono
parents: 14
diff changeset
930 (=v,v,vm) alternative into (=x,x,xm) and (=v,v,vm), for 128-bit
kono
parents: 14
diff changeset
931 and 256-bit vectors, the (=x,x,xm) alternative and when mask is
kono
parents: 14
diff changeset
932 not applied use empty suffix even for TARGET_AVX512VL.
kono
parents: 14
diff changeset
933 * config/i386/subst.md (mask_prefix3, mask_prefix4): When mask
kono
parents: 14
diff changeset
934 is applied, supply evex,evex or evex,evex,evex instead of just
kono
parents: 14
diff changeset
935 evex.
kono
parents: 14
diff changeset
936
kono
parents: 14
diff changeset
937 2017-10-20 Julia Koval <julia.koval@intel.com>
kono
parents: 14
diff changeset
938
kono
parents: 14
diff changeset
939 * common/config/i386/i386-common.c (OPTION_MASK_ISA_GFNI_SET,
kono
parents: 14
diff changeset
940 (OPTION_MASK_ISA_GFNI_UNSET): New.
kono
parents: 14
diff changeset
941 (ix86_handle_option): Handle OPT_mgfni.
kono
parents: 14
diff changeset
942 * config/i386/cpuid.h (bit_GFNI): New.
kono
parents: 14
diff changeset
943 * config/i386/driver-i386.c (host_detect_local_cpu): Detect gfni.
kono
parents: 14
diff changeset
944 * config/i386/i386-c.c (ix86_target_macros_internal): Define __GFNI__.
kono
parents: 14
diff changeset
945 * config/i386/i386.c (ix86_target_string): Add -mgfni.
kono
parents: 14
diff changeset
946 (ix86_valid_target_attribute_inner_p): Add OPT_mgfni.
kono
parents: 14
diff changeset
947 * config/i386/i386.h (TARGET_GFNI, TARGET_GFNI_P): New.
kono
parents: 14
diff changeset
948 * config/i386/i386.opt: Add mgfni.
kono
parents: 14
diff changeset
949
kono
parents: 14
diff changeset
950 2017-10-20 Orlando Arias <oarias@knights.ucf.edu>
kono
parents: 14
diff changeset
951
kono
parents: 14
diff changeset
952 * config/msp430/msp430.c (msp430_option_override): Disable
kono
parents: 14
diff changeset
953 -fdelete-null-pointer-checks.
kono
parents: 14
diff changeset
954 * doc/invoke.text (-fdelete-null-pointer-checks): Document that.
kono
parents: 14
diff changeset
955
kono
parents: 14
diff changeset
956 2017-10-19 Jan Hubicka <hubicka@ucw.cz>
kono
parents: 14
diff changeset
957
kono
parents: 14
diff changeset
958 * x86-tune-costs.h (generic_cost, core_cost): Correct costs
kono
parents: 14
diff changeset
959 of x87 and SSE instructions.
kono
parents: 14
diff changeset
960
kono
parents: 14
diff changeset
961 2017-10-19 Jan Hubicka <hubicka@ucw.cz>
kono
parents: 14
diff changeset
962
kono
parents: 14
diff changeset
963 * asan.c (create_cond_insert_point): Do not update edge count.
kono
parents: 14
diff changeset
964 * auto-profile.c (afdo_propagate_edge): Update for edge count removal.
kono
parents: 14
diff changeset
965 (afdo_propagate_circuit): Likewise.
kono
parents: 14
diff changeset
966 (afdo_calculate_branch_prob): Likewise.
kono
parents: 14
diff changeset
967 (afdo_annotate_cfg): Likewise.
kono
parents: 14
diff changeset
968 * basic-block.h (struct edge_def): Remove count.
kono
parents: 14
diff changeset
969 (edge_def::count): New accessor.
kono
parents: 14
diff changeset
970 * bb-reorder.c (rotate_loop): Update.
kono
parents: 14
diff changeset
971 (find_traces_1_round): Update.
kono
parents: 14
diff changeset
972 (connect_traces): Update.
kono
parents: 14
diff changeset
973 (sanitize_hot_paths): Update.
kono
parents: 14
diff changeset
974 * cfg.c (unchecked_make_edge): Update.
kono
parents: 14
diff changeset
975 (make_single_succ_edge): Update.
kono
parents: 14
diff changeset
976 (check_bb_profile): Update.
kono
parents: 14
diff changeset
977 (dump_edge_info): Update.
kono
parents: 14
diff changeset
978 (update_bb_profile_for_threading): Update.
kono
parents: 14
diff changeset
979 (scale_bbs_frequencies_int): Update.
kono
parents: 14
diff changeset
980 (scale_bbs_frequencies_gcov_type): Update.
kono
parents: 14
diff changeset
981 (scale_bbs_frequencies_profile_count): Update.
kono
parents: 14
diff changeset
982 (scale_bbs_frequencies): Update.
kono
parents: 14
diff changeset
983 * cfganal.c (connect_infinite_loops_to_exit): Update.
kono
parents: 14
diff changeset
984 * cfgbuild.c (compute_outgoing_frequencies): Update.
kono
parents: 14
diff changeset
985 (find_many_sub_basic_blocks): Update.
kono
parents: 14
diff changeset
986 * cfgcleanup.c (try_forward_edges): Update.
kono
parents: 14
diff changeset
987 (try_crossjump_to_edge): Update
kono
parents: 14
diff changeset
988 * cfgexpand.c (expand_gimple_cond): Update
kono
parents: 14
diff changeset
989 (expand_gimple_tailcall): Update
kono
parents: 14
diff changeset
990 (construct_exit_block): Update
kono
parents: 14
diff changeset
991 * cfghooks.c (verify_flow_info): Update
kono
parents: 14
diff changeset
992 (redirect_edge_succ_nodup): Update
kono
parents: 14
diff changeset
993 (split_edge): Update
kono
parents: 14
diff changeset
994 (make_forwarder_block): Update
kono
parents: 14
diff changeset
995 (duplicate_block): Update
kono
parents: 14
diff changeset
996 (account_profile_record): Update
kono
parents: 14
diff changeset
997 * cfgloop.c (find_subloop_latch_edge_by_profile): Update.
kono
parents: 14
diff changeset
998 * cfgloopanal.c (expected_loop_iterations_unbounded): Update.
kono
parents: 14
diff changeset
999 * cfgloopmanip.c (scale_loop_profile): Update.
kono
parents: 14
diff changeset
1000 (loopify): Update.
kono
parents: 14
diff changeset
1001 (lv_adjust_loop_entry_edge): Update.
kono
parents: 14
diff changeset
1002 * cfgrtl.c (try_redirect_by_replacing_jump): Update.
kono
parents: 14
diff changeset
1003 (force_nonfallthru_and_redirect): Update.
kono
parents: 14
diff changeset
1004 (purge_dead_edges): Update.
kono
parents: 14
diff changeset
1005 (rtl_flow_call_edges_add): Update.
kono
parents: 14
diff changeset
1006 * cgraphunit.c (init_lowered_empty_function): Update.
kono
parents: 14
diff changeset
1007 (cgraph_node::expand_thunk): Update.
kono
parents: 14
diff changeset
1008 * gimple-pretty-print.c (dump_probability): Update.
kono
parents: 14
diff changeset
1009 (dump_edge_probability): Update.
kono
parents: 14
diff changeset
1010 * gimple-ssa-isolate-paths.c (isolate_path): Update.
kono
parents: 14
diff changeset
1011 * haifa-sched.c (sched_create_recovery_edges): Update.
kono
parents: 14
diff changeset
1012 * hsa-gen.c (convert_switch_statements): Update.
kono
parents: 14
diff changeset
1013 * ifcvt.c (dead_or_predicable): Update.
kono
parents: 14
diff changeset
1014 * ipa-inline-transform.c (inline_transform): Update.
kono
parents: 14
diff changeset
1015 * ipa-split.c (split_function): Update.
kono
parents: 14
diff changeset
1016 * ipa-utils.c (ipa_merge_profiles): Update.
kono
parents: 14
diff changeset
1017 * loop-doloop.c (add_test): Update.
kono
parents: 14
diff changeset
1018 * loop-unroll.c (unroll_loop_runtime_iterations): Update.
kono
parents: 14
diff changeset
1019 * lto-streamer-in.c (input_cfg): Update.
kono
parents: 14
diff changeset
1020 (input_function): Update.
kono
parents: 14
diff changeset
1021 * lto-streamer-out.c (output_cfg): Update.
kono
parents: 14
diff changeset
1022 * modulo-sched.c (sms_schedule): Update.
kono
parents: 14
diff changeset
1023 * postreload-gcse.c (eliminate_partially_redundant_load): Update.
kono
parents: 14
diff changeset
1024 * predict.c (maybe_hot_edge_p): Update.
kono
parents: 14
diff changeset
1025 (unlikely_executed_edge_p): Update.
kono
parents: 14
diff changeset
1026 (probably_never_executed_edge_p): Update.
kono
parents: 14
diff changeset
1027 (dump_prediction): Update.
kono
parents: 14
diff changeset
1028 (drop_profile): Update.
kono
parents: 14
diff changeset
1029 (propagate_unlikely_bbs_forward): Update.
kono
parents: 14
diff changeset
1030 (determine_unlikely_bbs): Update.
kono
parents: 14
diff changeset
1031 (force_edge_cold): Update.
kono
parents: 14
diff changeset
1032 * profile.c (compute_branch_probabilities): Update.
kono
parents: 14
diff changeset
1033 * reg-stack.c (better_edge): Update.
kono
parents: 14
diff changeset
1034 * shrink-wrap.c (handle_simple_exit): Update.
kono
parents: 14
diff changeset
1035 * tracer.c (better_p): Update.
kono
parents: 14
diff changeset
1036 * trans-mem.c (expand_transaction): Update.
kono
parents: 14
diff changeset
1037 (split_bb_make_tm_edge): Update.
kono
parents: 14
diff changeset
1038 * tree-call-cdce.c: Update.
kono
parents: 14
diff changeset
1039 * tree-cfg.c (gimple_find_sub_bbs): Update.
kono
parents: 14
diff changeset
1040 (gimple_split_edge): Update.
kono
parents: 14
diff changeset
1041 (gimple_duplicate_sese_region): Update.
kono
parents: 14
diff changeset
1042 (gimple_duplicate_sese_tail): Update.
kono
parents: 14
diff changeset
1043 (gimple_flow_call_edges_add): Update.
kono
parents: 14
diff changeset
1044 (insert_cond_bb): Update.
kono
parents: 14
diff changeset
1045 (execute_fixup_cfg): Update.
kono
parents: 14
diff changeset
1046 * tree-cfgcleanup.c (cleanup_control_expr_graph): Update.
kono
parents: 14
diff changeset
1047 * tree-complex.c (expand_complex_div_wide): Update.
kono
parents: 14
diff changeset
1048 * tree-eh.c (lower_resx): Update.
kono
parents: 14
diff changeset
1049 (unsplit_eh): Update.
kono
parents: 14
diff changeset
1050 (cleanup_empty_eh_move_lp): Update.
kono
parents: 14
diff changeset
1051 * tree-inline.c (copy_edges_for_bb): Update.
kono
parents: 14
diff changeset
1052 (freqs_to_counts): Update.
kono
parents: 14
diff changeset
1053 (copy_cfg_body): Update.
kono
parents: 14
diff changeset
1054 * tree-ssa-dce.c (remove_dead_stmt): Update.
kono
parents: 14
diff changeset
1055 * tree-ssa-ifcombine.c (update_profile_after_ifcombine): Update.
kono
parents: 14
diff changeset
1056 * tree-ssa-loop-im.c (execute_sm_if_changed): Update.
kono
parents: 14
diff changeset
1057 * tree-ssa-loop-ivcanon.c (remove_exits_and_undefined_stmts): Update.
kono
parents: 14
diff changeset
1058 (unloop_loops): Update.
kono
parents: 14
diff changeset
1059 * tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): Update.
kono
parents: 14
diff changeset
1060 * tree-ssa-loop-split.c (connect_loops): Update.
kono
parents: 14
diff changeset
1061 (split_loop): Update.
kono
parents: 14
diff changeset
1062 * tree-ssa-loop-unswitch.c (hoist_guard): Update.
kono
parents: 14
diff changeset
1063 * tree-ssa-phionlycprop.c (propagate_rhs_into_lhs): Update.
kono
parents: 14
diff changeset
1064 * tree-ssa-phiopt.c (replace_phi_edge_with_variable): Update.
kono
parents: 14
diff changeset
1065 * tree-ssa-reassoc.c (branch_fixup): Update.
kono
parents: 14
diff changeset
1066 * tree-ssa-tail-merge.c (replace_block_by): Update.
kono
parents: 14
diff changeset
1067 * tree-ssa-threadupdate.c (remove_ctrl_stmt_and_useless_edges): Update.
kono
parents: 14
diff changeset
1068 (compute_path_counts): Update.
kono
parents: 14
diff changeset
1069 (update_profile): Update.
kono
parents: 14
diff changeset
1070 (recompute_probabilities): Update.
kono
parents: 14
diff changeset
1071 (update_joiner_offpath_counts): Update.
kono
parents: 14
diff changeset
1072 (estimated_freqs_path): Update.
kono
parents: 14
diff changeset
1073 (freqs_to_counts_path): Update.
kono
parents: 14
diff changeset
1074 (clear_counts_path): Update.
kono
parents: 14
diff changeset
1075 (ssa_fix_duplicate_block_edges): Update.
kono
parents: 14
diff changeset
1076 (duplicate_thread_path): Update.
kono
parents: 14
diff changeset
1077 * tree-switch-conversion.c (hoist_edge_and_branch_if_true): Update.
kono
parents: 14
diff changeset
1078 (case_bit_test_cmp): Update.
kono
parents: 14
diff changeset
1079 (collect_switch_conv_info): Update.
kono
parents: 14
diff changeset
1080 (gen_inbound_check): Update.
kono
parents: 14
diff changeset
1081 (do_jump_if_equal): Update.
kono
parents: 14
diff changeset
1082 (emit_cmp_and_jump_insns): Update.
kono
parents: 14
diff changeset
1083 * tree-tailcall.c (decrease_profile): Update.
kono
parents: 14
diff changeset
1084 (eliminate_tail_call): Update.
kono
parents: 14
diff changeset
1085 * tree-vect-loop-manip.c (slpeel_add_loop_guard): Update.
kono
parents: 14
diff changeset
1086 (vect_do_peeling): Update.
kono
parents: 14
diff changeset
1087 * tree-vect-loop.c (scale_profile_for_vect_loop): Update.
kono
parents: 14
diff changeset
1088 * ubsan.c (ubsan_expand_null_ifn): Update.
kono
parents: 14
diff changeset
1089 (ubsan_expand_ptr_ifn): Update.
kono
parents: 14
diff changeset
1090 * value-prof.c (gimple_divmod_fixed_value): Update.
kono
parents: 14
diff changeset
1091 (gimple_mod_pow2): Update.
kono
parents: 14
diff changeset
1092 (gimple_mod_subtract): Update.
kono
parents: 14
diff changeset
1093 (gimple_ic): Update.
kono
parents: 14
diff changeset
1094 (gimple_stringop_fixed_value): Update.
kono
parents: 14
diff changeset
1095
kono
parents: 14
diff changeset
1096 2017-10-19 Uros Bizjak <ubizjak@gmail.com>
kono
parents: 14
diff changeset
1097
kono
parents: 14
diff changeset
1098 PR target/82618
kono
parents: 14
diff changeset
1099 * config/i386/i386.md (sub to cmp): New peephole2 pattern.
kono
parents: 14
diff changeset
1100
kono
parents: 14
diff changeset
1101 2017-10-19 Alexander Monakov <amonakov@ispras.ru>
kono
parents: 14
diff changeset
1102
kono
parents: 14
diff changeset
1103 PR rtl-optimization/82395
kono
parents: 14
diff changeset
1104 * ira-color.c (allocno_priority_compare_func): Fix comparison step
kono
parents: 14
diff changeset
1105 based on non_spilled_static_chain_regno_p.
kono
parents: 14
diff changeset
1106
kono
parents: 14
diff changeset
1107 2017-10-19 Uros Bizjak <ubizjak@gmail.com>
kono
parents: 14
diff changeset
1108
kono
parents: 14
diff changeset
1109 * config/i386/i386.c (output_387_binary_op): Rewrite SSE part.
kono
parents: 14
diff changeset
1110 (ix86_emit_mode_set): Rewrite insn mnemonic construction.
kono
parents: 14
diff changeset
1111 (ix86_prepare_fp_compare_args): Redefine is_sse as bool.
kono
parents: 14
diff changeset
1112
kono
parents: 14
diff changeset
1113 2017-10-19 Martin Sebor <msebor@redhat.com>
kono
parents: 14
diff changeset
1114
kono
parents: 14
diff changeset
1115 PR tree-optimization/82596
kono
parents: 14
diff changeset
1116 * tree.c (array_at_struct_end_p): Handle STRING_CST.
kono
parents: 14
diff changeset
1117
kono
parents: 14
diff changeset
1118 2017-10-19 Eric Botcazou <ebotcazou@adacore.com>
kono
parents: 14
diff changeset
1119
kono
parents: 14
diff changeset
1120 * asan.c (handle_builtin_alloca): Deal with all alloca variants.
kono
parents: 14
diff changeset
1121 (get_mem_refs_of_builtin_call): Likewise.
kono
parents: 14
diff changeset
1122 * builtins.c (expand_builtin_apply): Adjust call to
kono
parents: 14
diff changeset
1123 allocate_dynamic_stack_space.
kono
parents: 14
diff changeset
1124 (expand_builtin_alloca): For __builtin_alloca_with_align_and_max, pass
kono
parents: 14
diff changeset
1125 the third argument to allocate_dynamic_stack_space, otherwise -1.
kono
parents: 14
diff changeset
1126 (expand_builtin): Deal with all alloca variants.
kono
parents: 14
diff changeset
1127 (is_inexpensive_builtin): Likewise.
kono
parents: 14
diff changeset
1128 * builtins.def (BUILT_IN_ALLOCA_WITH_ALIGN_AND_MAX): New.
kono
parents: 14
diff changeset
1129 * calls.c (special_function_p): Deal with all alloca variants.
kono
parents: 14
diff changeset
1130 (initialize_argument_information): Adjust call to
kono
parents: 14
diff changeset
1131 allocate_dynamic_stack_space.
kono
parents: 14
diff changeset
1132 (expand_call): Likewise.
kono
parents: 14
diff changeset
1133 * cfgexpand.c (expand_call_stmt): Deal with all alloca variants.
kono
parents: 14
diff changeset
1134 * doc/extend.texi (Built-ins): Add __builtin_alloca_with_align_and_max
kono
parents: 14
diff changeset
1135 * explow.c (allocate_dynamic_stack_space): Add MAX_SIZE parameter and
kono
parents: 14
diff changeset
1136 use it for the stack usage computation.
kono
parents: 14
diff changeset
1137 * explow.h (allocate_dynamic_stack_space): Adjust prototype.
kono
parents: 14
diff changeset
1138 * function.c (gimplify_parameters): Call build_alloca_call_expr.
kono
parents: 14
diff changeset
1139 * gimple-ssa-warn-alloca.c (alloca_call_type): Simplify control flow.
kono
parents: 14
diff changeset
1140 Take into account 3rd argument of __builtin_alloca_with_align_and_max.
kono
parents: 14
diff changeset
1141 (in_loop_p): Remove first argument and useless check.
kono
parents: 14
diff changeset
1142 (pass_walloca::execute): Remove useless test and adjust call to above.
kono
parents: 14
diff changeset
1143 * gimple.c (gimple_build_call_from_tree): Deal with all alloc variants
kono
parents: 14
diff changeset
1144 * gimplify.c (gimplify_vla_decl): Call build_alloca_call_expr.
kono
parents: 14
diff changeset
1145 (gimplify_call_expr): Deal with all alloca variants.
kono
parents: 14
diff changeset
1146 * hsa-gen.c (gen_hsa_alloca): Likewise.
kono
parents: 14
diff changeset
1147 (gen_hsa_insns_for_call): Likewise.
kono
parents: 14
diff changeset
1148 * ipa-pure-const.c (special_builtin_state): Likewise.
kono
parents: 14
diff changeset
1149 * tree-chkp.c (chkp_build_returned_bound): Likewise.
kono
parents: 14
diff changeset
1150 * tree-object-size.c (alloc_object_size): Likewise.
kono
parents: 14
diff changeset
1151 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise.
kono
parents: 14
diff changeset
1152 (call_may_clobber_ref_p_1): Likewise.
kono
parents: 14
diff changeset
1153 * tree-ssa-ccp.c (evaluate_stmt): Likewise.
kono
parents: 14
diff changeset
1154 (ccp_fold_stmt): Likewise.
kono
parents: 14
diff changeset
1155 (optimize_stack_restore): Likewise.
kono
parents: 14
diff changeset
1156 * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise.
kono
parents: 14
diff changeset
1157 (mark_all_reaching_defs_necessary_1): Likewise.
kono
parents: 14
diff changeset
1158 (propagate_necessity): Likewise.
kono
parents: 14
diff changeset
1159 (eliminate_unnecessary_stmts): Likewise.
kono
parents: 14
diff changeset
1160 * tree.c (build_common_builtin_nodes): Build
kono
parents: 14
diff changeset
1161 BUILT_IN_ALLOCA_WITH_ALIGN_AND_MAX.
kono
parents: 14
diff changeset
1162 (build_alloca_call_expr): New function.
kono
parents: 14
diff changeset
1163 * tree.h (ALLOCA_FUNCTION_CODE_P): New macro.
kono
parents: 14
diff changeset
1164 (CASE_BUILT_IN_ALLOCA): Likewise.
kono
parents: 14
diff changeset
1165 (build_alloca_call_expr): Declare.
kono
parents: 14
diff changeset
1166 * varasm.c (incorporeal_function_p): Deal with all alloca variants.
kono
parents: 14
diff changeset
1167
kono
parents: 14
diff changeset
1168 2017-10-19 Eric Botcazou <ebotcazou@adacore.com>
kono
parents: 14
diff changeset
1169
kono
parents: 14
diff changeset
1170 PR debug/82509
kono
parents: 14
diff changeset
1171 * dwarf2out.c (new_die_raw): New static inline function.
kono
parents: 14
diff changeset
1172 (new_die): Use it to create the DIE.
kono
parents: 14
diff changeset
1173 (add_AT_external_die_ref): Likewise.
kono
parents: 14
diff changeset
1174 (clone_die): Likewise.
kono
parents: 14
diff changeset
1175 (clone_as_declaration): Likewise.
kono
parents: 14
diff changeset
1176 (dwarf2out_vms_debug_main_pointer): Likewise.
kono
parents: 14
diff changeset
1177 (base_type_die): Likewise. Remove early return for corner cases.
kono
parents: 14
diff changeset
1178 Do not call add_pubtype on the DIE here.
kono
parents: 14
diff changeset
1179 (is_base_type): Remove ERROR_MARK and return 0 for VOID_TYPE.
kono
parents: 14
diff changeset
1180 (modified_type_die): Adjust the lookup for reverse order DIEs. Skip
kono
parents: 14
diff changeset
1181 typedefs for base types with DW_AT_endianity. Make sure a DIE with
kono
parents: 14
diff changeset
1182 native order exists for base types, attach the DIE manually and call
kono
parents: 14
diff changeset
1183 add_pubtype on it. Do not equate a reverse order DIE to the type.
kono
parents: 14
diff changeset
1184
kono
parents: 14
diff changeset
1185 2017-10-19 Richard Earnshaw <rearnsha@arm.com>
kono
parents: 14
diff changeset
1186
kono
parents: 14
diff changeset
1187 * config/arm/arm.c (align_ok_ldrd_strd): New function.
kono
parents: 14
diff changeset
1188 (mem_ok_for_ldrd_strd): New parameter align. Extract the alignment of
kono
parents: 14
diff changeset
1189 the mem into it.
kono
parents: 14
diff changeset
1190 (gen_operands_ldrd_strd): Validate the alignment of the accesses.
kono
parents: 14
diff changeset
1191
kono
parents: 14
diff changeset
1192 2017-10-19 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
1193
kono
parents: 14
diff changeset
1194 * flag-types.h (enum sanitize_code): Add SANITIZE_BUILTIN. Or
kono
parents: 14
diff changeset
1195 SANITIZE_BUILTIN into SANITIZE_UNDEFINED.
kono
parents: 14
diff changeset
1196 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_INVALID_BUILTIN,
kono
parents: 14
diff changeset
1197 BUILT_IN_UBSAN_HANDLE_INVALID_BUILTIN_ABORT): New builtins.
kono
parents: 14
diff changeset
1198 * opts.c (sanitizer_opts): Add builtin.
kono
parents: 14
diff changeset
1199 * ubsan.c (instrument_builtin): New function.
kono
parents: 14
diff changeset
1200 (pass_ubsan::execute): Call it.
kono
parents: 14
diff changeset
1201 (pass_ubsan::gate): Enable even for SANITIZE_BUILTIN.
kono
parents: 14
diff changeset
1202 * doc/invoke.texi: Document -fsanitize=builtin.
kono
parents: 14
diff changeset
1203
kono
parents: 14
diff changeset
1204 * ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
kono
parents: 14
diff changeset
1205 builtins, store max (log2 (align), 0) into uchar field instead of
kono
parents: 14
diff changeset
1206 align into uptr field.
kono
parents: 14
diff changeset
1207 (ubsan_expand_objsize_ifn): Use _v1 suffixed type mismatch builtins,
kono
parents: 14
diff changeset
1208 store uchar 0 field instead of uptr 0 field.
kono
parents: 14
diff changeset
1209 (instrument_nonnull_return): Use _v1 suffixed nonnull return builtin,
kono
parents: 14
diff changeset
1210 instead of passing one address of struct with 2 locations pass
kono
parents: 14
diff changeset
1211 two addresses of structs with 1 location each.
kono
parents: 14
diff changeset
1212 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH,
kono
parents: 14
diff changeset
1213 BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
kono
parents: 14
diff changeset
1214 BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
kono
parents: 14
diff changeset
1215 BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): Removed.
kono
parents: 14
diff changeset
1216 (BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1,
kono
parents: 14
diff changeset
1217 BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_V1_ABORT,
kono
parents: 14
diff changeset
1218 BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1,
kono
parents: 14
diff changeset
1219 BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_V1_ABORT): New builtins.
kono
parents: 14
diff changeset
1220
kono
parents: 14
diff changeset
1221 2017-10-19 Martin Liska <mliska@suse.cz>
kono
parents: 14
diff changeset
1222
kono
parents: 14
diff changeset
1223 PR driver/81829
kono
parents: 14
diff changeset
1224 * file-find.c (remove_prefix): Remove.
kono
parents: 14
diff changeset
1225 * file-find.h (remove_prefix): Likewise.
kono
parents: 14
diff changeset
1226 * gcc-ar.c: Remove smartness of lookup.
kono
parents: 14
diff changeset
1227
kono
parents: 14
diff changeset
1228 2017-10-19 Segher Boessenkool <segher@kernel.crashing.org>
kono
parents: 14
diff changeset
1229
kono
parents: 14
diff changeset
1230 * config/rs6000/rs6000.md (*call_indirect_aix<mode>,
kono
parents: 14
diff changeset
1231 *call_value_indirect_aix<mode>, *call_indirect_elfv2<mode>,
kono
parents: 14
diff changeset
1232 *call_value_indirect_elfv2<mode>): Add correct mode to the unspec.
kono
parents: 14
diff changeset
1233
kono
parents: 14
diff changeset
1234 2017-10-19 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
1235
kono
parents: 14
diff changeset
1236 PR target/82580
kono
parents: 14
diff changeset
1237 * config/i386/i386.md (setcc + movzbl to xor + setcc): New peephole2.
kono
parents: 14
diff changeset
1238 (setcc + and to xor + setcc): New peephole2.
kono
parents: 14
diff changeset
1239
kono
parents: 14
diff changeset
1240 2017-10-19 Tom de Vries <tom@codesourcery.com>
kono
parents: 14
diff changeset
1241
kono
parents: 14
diff changeset
1242 * doc/sourcebuild.texi (Test Directives, Variants of
kono
parents: 14
diff changeset
1243 dg-require-support): Add dg-require-stack-size.
kono
parents: 14
diff changeset
1244
kono
parents: 14
diff changeset
1245 2017-10-19 Martin Liska <mliska@suse.cz>
kono
parents: 14
diff changeset
1246
kono
parents: 14
diff changeset
1247 PR sanitizer/82517
kono
parents: 14
diff changeset
1248 * gimplify.c (gimplify_decl_expr): Do not instrument variables
kono
parents: 14
diff changeset
1249 that have a large alignment.
kono
parents: 14
diff changeset
1250 (gimplify_target_expr): Likewise.
kono
parents: 14
diff changeset
1251
kono
parents: 14
diff changeset
1252 2017-10-18 Segher Boessenkool <segher@kernel.crashing.org>
kono
parents: 14
diff changeset
1253
kono
parents: 14
diff changeset
1254 PR rtl-optimization/82602
kono
parents: 14
diff changeset
1255 * ira.c (rtx_moveable_p): Return false for volatile asm.
kono
parents: 14
diff changeset
1256
kono
parents: 14
diff changeset
1257 2017-10-18 Uros Bizjak <ubizjak@gmail.com>
kono
parents: 14
diff changeset
1258
kono
parents: 14
diff changeset
1259 PR target/82580
kono
parents: 14
diff changeset
1260 * config/i386/i386-modes.def (CCGZ): New CC mode.
kono
parents: 14
diff changeset
1261 * config/i386/i386.md (sub<mode>3_carry_ccgz): New insn pattern.
kono
parents: 14
diff changeset
1262 * config/i386/predicates.md (ix86_comparison_operator):
kono
parents: 14
diff changeset
1263 Handle CCGZmode.
kono
parents: 14
diff changeset
1264 * config/i386/i386.c (ix86_expand_branch) <case E_TImode>:
kono
parents: 14
diff changeset
1265 Emulate LE, LEU, GT, GTU, LT, LTU, GE and GEU double-word comparisons
kono
parents: 14
diff changeset
1266 with double-word subtraction.
kono
parents: 14
diff changeset
1267 (put_condition_code): Handle CCGZmode.
kono
parents: 14
diff changeset
1268
kono
parents: 14
diff changeset
1269 2017-10-18 Aldy Hernandez <aldyh@redhat.com>
kono
parents: 14
diff changeset
1270
kono
parents: 14
diff changeset
1271 * wide-int.cc (debug (const wide_int &)): New.
kono
parents: 14
diff changeset
1272 (debug (const wide_int *)): New.
kono
parents: 14
diff changeset
1273 (debug (const widest_int &)): New.
kono
parents: 14
diff changeset
1274 (debug (const widest_int *)): New.
kono
parents: 14
diff changeset
1275
kono
parents: 14
diff changeset
1276 2017-10-18 Vladimir Makarov <vmakarov@redhat.com>
kono
parents: 14
diff changeset
1277
kono
parents: 14
diff changeset
1278 PR middle-end/82556
kono
parents: 14
diff changeset
1279 * lra-constraints.c (curr_insn_transform): Use non-input operand
kono
parents: 14
diff changeset
1280 instead of output one for matched reload.
kono
parents: 14
diff changeset
1281
kono
parents: 14
diff changeset
1282 2017-10-18 Bin Cheng <bin.cheng@arm.com>
kono
parents: 14
diff changeset
1283
kono
parents: 14
diff changeset
1284 * tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
kono
parents: 14
diff changeset
1285 (tree-ssa-loop-ivopts.h): New header file.
kono
parents: 14
diff changeset
1286 (struct builtin_info): New fields.
kono
parents: 14
diff changeset
1287 (classify_builtin_1): Compute and record base and offset parts for
kono
parents: 14
diff changeset
1288 memset builtin partition by calling strip_offset.
kono
parents: 14
diff changeset
1289 (offset_cmp, fuse_memset_builtins): New functions.
kono
parents: 14
diff changeset
1290 (finalize_partitions): Fuse adjacent memset partitions by calling
kono
parents: 14
diff changeset
1291 above function.
kono
parents: 14
diff changeset
1292 * tree-ssa-loop-ivopts.c (strip_offset): Delete static declaration.
kono
parents: 14
diff changeset
1293 Expose the interface.
kono
parents: 14
diff changeset
1294 * tree-ssa-loop-ivopts.h (strip_offset): New declaration.
kono
parents: 14
diff changeset
1295
kono
parents: 14
diff changeset
1296 2017-10-18 Bin Cheng <bin.cheng@arm.com>
kono
parents: 14
diff changeset
1297
kono
parents: 14
diff changeset
1298 PR tree-optimization/82574
kono
parents: 14
diff changeset
1299 * tree-loop-distribution.c (find_single_drs): New parameter. Check
kono
parents: 14
diff changeset
1300 that data reference must be executed exactly once per iteration
kono
parents: 14
diff changeset
1301 against the outermost loop in nest.
kono
parents: 14
diff changeset
1302 (classify_partition): Update call to above function.
kono
parents: 14
diff changeset
1303
kono
parents: 14
diff changeset
1304 2017-10-18 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
1305
kono
parents: 14
diff changeset
1306 PR tree-optimization/82591
kono
parents: 14
diff changeset
1307 * graphite.c (graphite_transform_loops): Move code gen message
kono
parents: 14
diff changeset
1308 printing ...
kono
parents: 14
diff changeset
1309 * graphite-isl-ast-to-gimple.c (graphite_regenerate_ast_isl):
kono
parents: 14
diff changeset
1310 Here. Handle scop_to_isl_ast failing.
kono
parents: 14
diff changeset
1311 (scop_to_isl_ast): Limit the number of ISL operations.
kono
parents: 14
diff changeset
1312
kono
parents: 14
diff changeset
1313 2017-10-18 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
1314
kono
parents: 14
diff changeset
1315 * graphite-isl-ast-to-gimple.c
kono
parents: 14
diff changeset
1316 (translate_isl_ast_to_gimple::set_rename): Simplify.
kono
parents: 14
diff changeset
1317 (translate_isl_ast_to_gimple::set_rename_for_each_def): Inline...
kono
parents: 14
diff changeset
1318 (graphite_copy_stmts_from_block): ... here.
kono
parents: 14
diff changeset
1319 (copy_bb_and_scalar_dependences): Simplify.
kono
parents: 14
diff changeset
1320 (add_parameters_to_ivs_params): Canonicalize.
kono
parents: 14
diff changeset
1321 (generate_entry_out_of_ssa_copies): Simplify.
kono
parents: 14
diff changeset
1322 * graphite-sese-to-poly.c (extract_affine_name): Simplify
kono
parents: 14
diff changeset
1323 by passing in ISL dimension.
kono
parents: 14
diff changeset
1324 (parameter_index_in_region_1): Rename to ...
kono
parents: 14
diff changeset
1325 (parameter_index_in_region): ... this.
kono
parents: 14
diff changeset
1326 (extract_affine): Adjust assert, pass down parameter index.
kono
parents: 14
diff changeset
1327 (add_param_constraints): Use range-info when available.
kono
parents: 14
diff changeset
1328 (build_scop_context): Adjust.
kono
parents: 14
diff changeset
1329 * sese.c (new_sese_info): Adjust.
kono
parents: 14
diff changeset
1330 (free_sese_info): Likewise.
kono
parents: 14
diff changeset
1331 * sese.h (bb_map_t, rename_map_t, phi_rename, init_back_edge_pair_t):
kono
parents: 14
diff changeset
1332 Remove unused typedefs.
kono
parents: 14
diff changeset
1333 (struct sese_info_t): Simplify rename_map, remove incomplete_phis.
kono
parents: 14
diff changeset
1334
kono
parents: 14
diff changeset
1335 2017-10-18 Martin Liska <mliska@suse.cz>
kono
parents: 14
diff changeset
1336
kono
parents: 14
diff changeset
1337 * combine.c (simplify_compare_const): Add gcc_fallthrough.
kono
parents: 14
diff changeset
1338
kono
parents: 14
diff changeset
1339 2017-10-18 Robin Dapp <rdapp@linux.vnet.ibm.com>
kono
parents: 14
diff changeset
1340
kono
parents: 14
diff changeset
1341 * config/s390/s390.c (s390_bb_fallthru_entry_likely): New function.
kono
parents: 14
diff changeset
1342 (s390_sched_init): Do not reset s390_sched_state if we entered the
kono
parents: 14
diff changeset
1343 current basic block via a fallthru edge and all others are unlikely.
kono
parents: 14
diff changeset
1344
kono
parents: 14
diff changeset
1345 2017-10-18 Robin Dapp <rdapp@linux.vnet.ibm.com>
kono
parents: 14
diff changeset
1346
kono
parents: 14
diff changeset
1347 * config/s390/s390.c (NUM_SIDES): New variable.
kono
parents: 14
diff changeset
1348 (LONGRUNNING_THRESHOLD): New variable.
kono
parents: 14
diff changeset
1349 (LATENCY_FACTOR): New variable.
kono
parents: 14
diff changeset
1350 (s390_sched_score): Decrease score for long-running instructions on
kono
parents: 14
diff changeset
1351 wrong side.
kono
parents: 14
diff changeset
1352 (s390_sched_variable_issue): Perform bookkeeping for long-running
kono
parents: 14
diff changeset
1353 instructions.
kono
parents: 14
diff changeset
1354
kono
parents: 14
diff changeset
1355 2017-10-18 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
1356
kono
parents: 14
diff changeset
1357 * graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
kono
parents: 14
diff changeset
1358 Simplify with removal of the parameter rename map.
kono
parents: 14
diff changeset
1359 (set_rename): Likewise.
kono
parents: 14
diff changeset
1360 (should_copy_to_new_region): Likewise.
kono
parents: 14
diff changeset
1361 (graphite_copy_stmts_from_block): Likewise.
kono
parents: 14
diff changeset
1362 (copy_bb_and_scalar_dependences): Remove initialization of
kono
parents: 14
diff changeset
1363 unused copied_bb_map.
kono
parents: 14
diff changeset
1364 (copy_def): Remove.
kono
parents: 14
diff changeset
1365 (copy_internal_parameters): Likewise.
kono
parents: 14
diff changeset
1366 (graphite_regenerate_ast_isl): Do not call copy_internal_parameters.
kono
parents: 14
diff changeset
1367 * graphite-scop-detection.c (scop_detection::stmt_simple_for_scop_p):
kono
parents: 14
diff changeset
1368 Use INTEGRAL_TYPE_P.
kono
parents: 14
diff changeset
1369 (parameter_index_in_region_1): Rename to ...
kono
parents: 14
diff changeset
1370 (assign_parameter_index_in_region): ... this. Assert we have
kono
parents: 14
diff changeset
1371 a parameter we handle.
kono
parents: 14
diff changeset
1372 (scan_tree_for_params): Adjust.
kono
parents: 14
diff changeset
1373 * sese.h (parameter_rename_map_t): Remove.
kono
parents: 14
diff changeset
1374 (struct sese_info_t): Remove unused parameter_rename_map and
kono
parents: 14
diff changeset
1375 copied_bb_map members.
kono
parents: 14
diff changeset
1376 * sese.c (new_sese_info): Adjust.
kono
parents: 14
diff changeset
1377 (free_sese_info): Likewise.
kono
parents: 14
diff changeset
1378
kono
parents: 14
diff changeset
1379 2017-10-18 Martin Liska <mliska@suse.cz>
kono
parents: 14
diff changeset
1380
kono
parents: 14
diff changeset
1381 PR sanitizer/82545
kono
parents: 14
diff changeset
1382 * asan.c (asan_expand_poison_ifn): Do not put gimple stmt
kono
parents: 14
diff changeset
1383 on an abnormal edge.
kono
parents: 14
diff changeset
1384
kono
parents: 14
diff changeset
1385 2017-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
kono
parents: 14
diff changeset
1386
kono
parents: 14
diff changeset
1387 * doc/invoke.texi (ffunction-sections and fdata-sections):
kono
parents: 14
diff changeset
1388 Update.
kono
parents: 14
diff changeset
1389
kono
parents: 14
diff changeset
1390 2017-10-17 Eric Botcazou <ebotcazou@adacore.com>
kono
parents: 14
diff changeset
1391
kono
parents: 14
diff changeset
1392 * tree-ssa-loop-ivopts.c (add_autoinc_candidates): Bail out only if
kono
parents: 14
diff changeset
1393 the use statement can throw internally.
kono
parents: 14
diff changeset
1394
kono
parents: 14
diff changeset
1395 2017-10-17 Eric Botcazou <ebotcazou@adacore.com>
kono
parents: 14
diff changeset
1396
kono
parents: 14
diff changeset
1397 * config/visium/visium.c (visium_select_cc_mode): Return CCmode for
kono
parents: 14
diff changeset
1398 any RTX present on the RHS of a SET.
kono
parents: 14
diff changeset
1399 * compare-elim.c (try_eliminate_compare): Restore comment.
kono
parents: 14
diff changeset
1400
kono
parents: 14
diff changeset
1401 2017-10-17 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
1402
kono
parents: 14
diff changeset
1403 * langhooks.h (struct lang_hooks): Document that tree_size langhook
kono
parents: 14
diff changeset
1404 may be also called on tcc_type nodes.
kono
parents: 14
diff changeset
1405 * langhooks.c (lhd_tree_size): Likewise.
kono
parents: 14
diff changeset
1406
kono
parents: 14
diff changeset
1407 2017-10-17 David Malcolm <dmalcolm@redhat.com>
kono
parents: 14
diff changeset
1408
kono
parents: 14
diff changeset
1409 * gimple-ssa-sprintf.c (fmtwarn): Update for changed signature of
kono
parents: 14
diff changeset
1410 format_warning_at_substring.
kono
parents: 14
diff changeset
1411 (maybe_warn): Convert source_range * param to a location_t. Pass
kono
parents: 14
diff changeset
1412 UNKNOWN_LOCATION rather than NULL to fmtwarn.
kono
parents: 14
diff changeset
1413 (format_directive): Remove code to extract source_ranges and
kono
parents: 14
diff changeset
1414 source_range * in favor of just a location_t.
kono
parents: 14
diff changeset
1415 (parse_directive): Pass UNKNOWN_LOCATION rather than NULL to
kono
parents: 14
diff changeset
1416 fmtwarn.
kono
parents: 14
diff changeset
1417 * substring-locations.c (format_warning_va): Convert
kono
parents: 14
diff changeset
1418 source_range * param to a location_t.
kono
parents: 14
diff changeset
1419 (format_warning_at_substring): Likewise.
kono
parents: 14
diff changeset
1420 * substring-locations.h (format_warning_va): Likewise.
kono
parents: 14
diff changeset
1421 (format_warning_at_substring): Likewise.
kono
parents: 14
diff changeset
1422
kono
parents: 14
diff changeset
1423 2017-10-17 Jan Hubicka <hubicka@ucw.cz>
kono
parents: 14
diff changeset
1424
kono
parents: 14
diff changeset
1425 * target.h (enum vect_cost_for_stmt): Add vec_gather_load and
kono
parents: 14
diff changeset
1426 vec_scatter_store
kono
parents: 14
diff changeset
1427 * tree-vect-stmts.c (record_stmt_cost): Make difference between normal
kono
parents: 14
diff changeset
1428 and scatter/gather ops.
kono
parents: 14
diff changeset
1429
kono
parents: 14
diff changeset
1430 * aarch64/aarch64.c (aarch64_builtin_vectorization_cost): Add
kono
parents: 14
diff changeset
1431 vec_gather_load and vec_scatter_store.
kono
parents: 14
diff changeset
1432 * arm/arm.c (arm_builtin_vectorization_cost): Likewise.
kono
parents: 14
diff changeset
1433 * powerpcspe/powerpcspe.c (rs6000_builtin_vectorization_cost): Likewise.
kono
parents: 14
diff changeset
1434 * rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Likewise.
kono
parents: 14
diff changeset
1435 * s390/s390.c (s390_builtin_vectorization_cost): Likewise.
kono
parents: 14
diff changeset
1436 * spu/spu.c (spu_builtin_vectorization_cost): Likewise.
kono
parents: 14
diff changeset
1437 * i386/i386.c (x86_builtin_vectorization_cost): Likewise.
kono
parents: 14
diff changeset
1438
kono
parents: 14
diff changeset
1439 2017-10-17 Uros Bizjak <ubizjak@gmail.com>
kono
parents: 14
diff changeset
1440
kono
parents: 14
diff changeset
1441 * reg-stack.c (compare_for_stack_reg): Add bool argument.
kono
parents: 14
diff changeset
1442 Detect FTST instruction and handle its register pops. Only pop
kono
parents: 14
diff changeset
1443 second operand if can_pop_second_op is true.
kono
parents: 14
diff changeset
1444 (subst_stack_regs_pat) <case COMPARE>: Detect FCOMI instruction to
kono
parents: 14
diff changeset
1445 set can_pop_second_op to false in the compare_for_stack_reg call.
kono
parents: 14
diff changeset
1446
kono
parents: 14
diff changeset
1447 * config/i386/i386.md (*cmpi<FPCMP:unord><MODEF:mode>): Only call
kono
parents: 14
diff changeset
1448 output_fp_compare for stack register operands.
kono
parents: 14
diff changeset
1449 * config/i386/i386.c (output_fp_compare): Do not output SSE compare
kono
parents: 14
diff changeset
1450 instructions here. Do not emit stack register pops here. Assert
kono
parents: 14
diff changeset
1451 that FCOMPP pops next to top stack register. Rewrite function.
kono
parents: 14
diff changeset
1452
kono
parents: 14
diff changeset
1453 2017-10-17 Nathan Sidwell <nathan@acm.org>
kono
parents: 14
diff changeset
1454
kono
parents: 14
diff changeset
1455 PR middle-end/82577
kono
parents: 14
diff changeset
1456 * alias.c (compare_base_decls): Check HAS_DECL_ASSEMBLER_NAME_P,
kono
parents: 14
diff changeset
1457 use DECL_ASSEMBLER_NAME_RAW.
kono
parents: 14
diff changeset
1458
kono
parents: 14
diff changeset
1459 PR middle-end/82546
kono
parents: 14
diff changeset
1460 * tree.c (tree_code_size): Reformat. Punt to lang hook for unknown
kono
parents: 14
diff changeset
1461 TYPE nodes.
kono
parents: 14
diff changeset
1462
kono
parents: 14
diff changeset
1463 2017-10-17 Qing Zhao <qing.zhao@oracle.com>
kono
parents: 14
diff changeset
1464 Wilco Dijkstra <wilco.dijkstra@arm.com>
kono
parents: 14
diff changeset
1465
kono
parents: 14
diff changeset
1466 * builtins.c (expand_builtin_update_setjmp_buf): Add a
kono
parents: 14
diff changeset
1467 converstion to Pmode from the buf_addr.
kono
parents: 14
diff changeset
1468
kono
parents: 14
diff changeset
1469 2017-10-17 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
1470
kono
parents: 14
diff changeset
1471 * graphite-dependences.c (scop_get_reads_and_writes): Change
kono
parents: 14
diff changeset
1472 output parameters to references.
kono
parents: 14
diff changeset
1473
kono
parents: 14
diff changeset
1474 2017-10-17 Jackson Woodruff <jackson.woodruff@arm.com>
kono
parents: 14
diff changeset
1475
kono
parents: 14
diff changeset
1476 PR 71026/tree-optimization
kono
parents: 14
diff changeset
1477 * fold-const.c (distribute_real_division): Removed.
kono
parents: 14
diff changeset
1478 (fold_binary_loc): Remove calls to distribute_real_divison.
kono
parents: 14
diff changeset
1479
kono
parents: 14
diff changeset
1480 2017-10-17 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
1481
kono
parents: 14
diff changeset
1482 * graphite-scop-detection.c
kono
parents: 14
diff changeset
1483 (scop_detection::stmt_has_simple_data_refs_p): Always use
kono
parents: 14
diff changeset
1484 the full nest as region.
kono
parents: 14
diff changeset
1485 (try_generate_gimple_bb): Likewise.
kono
parents: 14
diff changeset
1486 * sese.c (scalar_evolution_in_region): Simplify now that
kono
parents: 14
diff changeset
1487 SCEV can handle instantiation in regions.
kono
parents: 14
diff changeset
1488 * tree-scalar-evolution.c (instantiate_scev_name): Also instantiate
kono
parents: 14
diff changeset
1489 in the non-loop part of a function if requested.
kono
parents: 14
diff changeset
1490
kono
parents: 14
diff changeset
1491 2017-10-17 Richard Biener <rguenther@suse.de>
kono
parents: 14
diff changeset
1492
kono
parents: 14
diff changeset
1493 PR tree-optimization/82563
kono
parents: 14
diff changeset
1494 * graphite-isl-ast-to-gimple.c (generate_entry_out_of_ssa_copies):
kono
parents: 14
diff changeset
1495 New function.
kono
parents: 14
diff changeset
1496 (graphite_regenerate_ast_isl): Call it.
kono
parents: 14
diff changeset
1497 * graphite-scop-detection.c (build_scops): Remove entry edge split.
kono
parents: 14
diff changeset
1498
kono
parents: 14
diff changeset
1499 2017-10-17 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
1500
kono
parents: 14
diff changeset
1501 PR tree-optimization/82549
kono
parents: 14
diff changeset
1502 * fold-const.c (optimize_bit_field_compare, fold_truth_andor_1):
kono
parents: 14
diff changeset
1503 Formatting fixes. Instead of calling make_bit_field_ref with negative
kono
parents: 14
diff changeset
1504 bitpos return 0.
kono
parents: 14
diff changeset
1505
kono
parents: 14
diff changeset
1506 2017-10-17 Olga Makhotina <olga.makhotina@intel.com>
kono
parents: 14
diff changeset
1507
kono
parents: 14
diff changeset
1508 * config/i386/avx512dqintrin.h (_mm_mask_reduce_sd,
kono
parents: 14
diff changeset
1509 _mm_maskz_reduce_sd, _mm_mask_reduce_ss,=20
kono
parents: 14
diff changeset
1510 _mm_maskz_reduce_ss): New.
kono
parents: 14
diff changeset
1511 * config/i386/i386-builtin.def (__builtin_ia32_reducesd_mask,
kono
parents: 14
diff changeset
1512 __builtin_ia32_reducess_mask): Ditto..
kono
parents: 14
diff changeset
1513 (__builtin_ia32_reducesd, __builtin_ia32_reducess): Remove.
kono
parents: 14
diff changeset
1514 * config/i386/sse.md (reduces<mode>): Renamed to ...
kono
parents: 14
diff changeset
1515 (reduces<mode><mask_scalar_name>): ... this.
kono
parents: 14
diff changeset
1516 (vreduce<ssescalarmodesuffix>\t{%3, %2, %1, %0|%0, %1, %2, %3}): Changed
kono
parents: 14
diff changeset
1517 to ...
kono
parents: 14
diff changeset
1518 (vreduce<ssescalarmodesuffix>\t{%3, %2, %1, %0<mask_scalar_operand4>|
kono
parents: 14
diff changeset
1519 %0<mask_scalar_operand4>, %1, %2, %3}): ... this.
kono
parents: 14
diff changeset
1520
kono
parents: 14
diff changeset
1521 2017-10-16 David Malcolm <dmalcolm@redhat.com>
kono
parents: 14
diff changeset
1522
kono
parents: 14
diff changeset
1523 * Makefile.in (OBJS): Add unique-ptr-tests.o.
kono
parents: 14
diff changeset
1524 * selftest-run-tests.c (selftest::run_tests): Call
kono
parents: 14
diff changeset
1525 selftest::unique_ptr_tests_cc_tests.
kono
parents: 14
diff changeset
1526 * selftest.h (selftest::unique_ptr_tests_cc_tests): New decl.
kono
parents: 14
diff changeset
1527 * unique-ptr-tests.cc: New file.
kono
parents: 14
diff changeset
1528
kono
parents: 14
diff changeset
1529 2017-10-16 Vladimir Makarov <vmakarov@redhat.com>
kono
parents: 14
diff changeset
1530
kono
parents: 14
diff changeset
1531 PR sanitizer/82353
kono
parents: 14
diff changeset
1532 * lra.c (collect_non_operand_hard_regs): Don't ignore operator
kono
parents: 14
diff changeset
1533 locations.
kono
parents: 14
diff changeset
1534 * lra-lives.c (bb_killed_pseudos, bb_gen_pseudos): Move up.
kono
parents: 14
diff changeset
1535 (make_hard_regno_born, make_hard_regno_dead): Update
kono
parents: 14
diff changeset
1536 bb_killed_pseudos and bb_gen_pseudos for fixed regs.
kono
parents: 14
diff changeset
1537
kono
parents: 14
diff changeset
1538 2017-10-16 Jeff Law <law@redhat.com>
kono
parents: 14
diff changeset
1539
kono
parents: 14
diff changeset
1540 * tree-ssa-dse.c (live_bytes_read): Fix thinko.
kono
parents: 14
diff changeset
1541
kono
parents: 14
diff changeset
1542 2017-10-16 Jan Hubicka <hubicka@ucw.cz>
kono
parents: 14
diff changeset
1543
kono
parents: 14
diff changeset
1544 * x86-tune-costs.h (znver1_cost): Fix move cost tables.
kono
parents: 14
diff changeset
1545
kono
parents: 14
diff changeset
1546 2017-10-16 Olivier Hainque <hainque@adacore.com>
kono
parents: 14
diff changeset
1547
kono
parents: 14
diff changeset
1548 * gcc/config.gcc (powerpc*-*-*spe*): Pick 8548 as the default
kono
parents: 14
diff changeset
1549 with_cpu if we were configured for an e500v2 target cpu name.
kono
parents: 14
diff changeset
1550
kono
parents: 14
diff changeset
1551 2017-10-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
kono
parents: 14
diff changeset
1552
kono
parents: 14
diff changeset
1553 * config/arm/arm-cpus.in (cortex-m33): Add nodsp option.
kono
parents: 14
diff changeset
1554 * doc/invoke.texi: Document +nodsp as a valid extension for
kono
parents: 14
diff changeset
1555 -mcpu=cortex-m33.
kono
parents: 14
diff changeset
1556
kono
parents: 14
diff changeset
1557 2017-10-16 Martin Liska <mliska@suse.cz>
kono
parents: 14
diff changeset
1558
kono
parents: 14
diff changeset
1559 * sbitmap.c (bitmap_bit_in_range_p_checking): New function.
kono
parents: 14
diff changeset
1560 (test_set_range): Likewise.
kono
parents: 14
diff changeset
1561 (test_range_functions): Rename to ...
kono
parents: 14
diff changeset
1562 (test_bit_in_range): ... this.
kono
parents: 14
diff changeset
1563 (sbitmap_c_tests): Add new test.
kono
parents: 14
diff changeset
1564
kono
parents: 14
diff changeset
1565 2017-10-16 Tamar Christina <tamar.christina@arm.com>
kono
parents: 14
diff changeset
1566
kono
parents: 14
diff changeset
1567 * config/aarch64/arm_neon.h (vdot_u32, vdotq_u32, vdot_s32, vdotq_s32): New.
kono
parents: 14
diff changeset
1568 (vdot_lane_u32, vdot_laneq_u32, vdotq_lane_u32, vdotq_laneq_u32): New.
kono
parents: 14
diff changeset
1569 (vdot_lane_s32, vdot_laneq_s32, vdotq_lane_s32, vdotq_laneq_s32): New.
kono
parents: 14
diff changeset
1570
kono
parents: 14
diff changeset
1571 2017-10-16 Tamar Christina <tamar.christina@arm.com>
kono
parents: 14
diff changeset
1572
kono
parents: 14
diff changeset
1573 * config/aarch64/aarch64-builtins.c
kono
parents: 14
diff changeset
1574 (aarch64_types_quadopu_lane_qualifiers): New.
kono
parents: 14
diff changeset
1575 (TYPES_QUADOPU_LANE): New.
kono
parents: 14
diff changeset
1576 * config/aarch64/aarch64-simd.md (aarch64_<sur>dot<vsi2qi>): New.
kono
parents: 14
diff changeset
1577 (<sur>dot_prod<vsi2qi>, aarch64_<sur>dot_lane<vsi2qi>): New.
kono
parents: 14
diff changeset
1578 (aarch64_<sur>dot_laneq<vsi2qi>): New.
kono
parents: 14
diff changeset
1579 * config/aarch64/aarch64-simd-builtins.def (sdot, udot): New.
kono
parents: 14
diff changeset
1580 (sdot_lane, udot_lane, sdot_laneq, udot_laneq): New.
kono
parents: 14
diff changeset
1581 * config/aarch64/iterators.md (sur): Add UNSPEC_SDOT, UNSPEC_UDOT.
kono
parents: 14
diff changeset
1582 (Vdottype, DOTPROD): New.
kono
parents: 14
diff changeset
1583 (sur): Add SDOT and UDOT.
kono
parents: 14
diff changeset
1584
kono
parents: 14
diff changeset
1585 2017-10-16 Tamar Christina <tamar.christina@arm.com>
kono
parents: 14
diff changeset
1586
kono
parents: 14
diff changeset
1587 * config/aarch64/aarch64.h (AARCH64_FL_DOTPROD): New.
kono
parents: 14
diff changeset
1588 (AARCH64_ISA_DOTPROD, TARGET_DOTPROD): New.
kono
parents: 14
diff changeset
1589 * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Add TARGET_DOTPROD.
kono
parents: 14
diff changeset
1590 * config/aarch64/aarch64-option-extensions.def (dotprod): New.
kono
parents: 14
diff changeset
1591 * config/aarch64/aarch64-cores.def (cortex-a55, cortex-a75): Enable TARGET_DOTPROD.
kono
parents: 14
diff changeset
1592 (cortex-a75.cortex-a55): Likewise.
kono
parents: 14
diff changeset
1593 * doc/invoke.texi (aarch64-feature-modifiers): Document dotprod.
kono
parents: 14
diff changeset
1594
kono
parents: 14
diff changeset
1595 2017-10-16 Tamar Christina <tamar.christina@arm.com>
kono
parents: 14
diff changeset
1596
kono
parents: 14
diff changeset
1597 * config/arm/arm-builtins.c (arm_unsigned_uternop_qualifiers): New.
kono
parents: 14
diff changeset
1598 (UTERNOP_QUALIFIERS, arm_umac_lane_qualifiers, UMAC_LANE_QUALIFIERS): New.
kono
parents: 14
diff changeset
1599 * config/arm/arm_neon_builtins.def (sdot, udot, sdot_lane, udot_lane): new.
kono
parents: 14
diff changeset
1600 * config/arm/iterators.md (DOTPROD, VSI2QI, vsi2qi): New.
kono
parents: 14
diff changeset
1601 (UNSPEC_DOT_S, UNSPEC_DOT_U, opsuffix): New.
kono
parents: 14
diff changeset
1602 * config/arm/neon.md (neon_<sup>dot<vsi2qi>): New.
kono
parents: 14
diff changeset
1603 (neon_<sup>dot_lane<vsi2qi>, <sup>dot_prod<vsi2qi>): New.
kono
parents: 14
diff changeset
1604 * config/arm/types.md (neon_dot, neon_dot_q): New.
kono
parents: 14
diff changeset
1605 * config/arm/unspecs.md (sup): Add UNSPEC_DOT_S, UNSPEC_DOT_U.
kono
parents: 14
diff changeset
1606
kono
parents: 14
diff changeset
1607 2017-10-16 Tamar Christina <tamar.christina@arm.com>
kono
parents: 14
diff changeset
1608
kono
parents: 14
diff changeset
1609 * config/arm/arm.h (TARGET_DOTPROD): New.
kono
parents: 14
diff changeset
1610 * config/arm/arm.c (arm_arch_dotprod): New.
kono
parents: 14
diff changeset
1611 (arm_option_reconfigure_globals): Add arm_arch_dotprod.
kono
parents: 14
diff changeset
1612 * config/arm/arm-c.c (__ARM_FEATURE_DOTPROD): New.
kono
parents: 14
diff changeset
1613 * config/arm/arm-cpus.in (armv8.2-a): Enabled +dotprod.
kono
parents: 14
diff changeset
1614 (feature dotprod, group dotprod, ALL_SIMD_INTERNAL): New.
kono
parents: 14
diff changeset
1615 (ALL_FPU_INTERNAL): Use ALL_SIMD_INTERNAL.
kono
parents: 14
diff changeset
1616 * config/arm/t-multilib (v8_2_a_simd_variants): Add dotprod.
kono
parents: 14
diff changeset
1617 * doc/invoke.texi (armv8.2-a): Document dotprod
kono
parents: 14
diff changeset
1618
kono
parents: 14
diff changeset
1619 2017-10-14 Jan Hubicka <hubicka@ucw.cz>
kono
parents: 14
diff changeset
1620
kono
parents: 14
diff changeset
1621 * i386.c (ix86_vec_cost): New function.
kono
parents: 14
diff changeset
1622 (ix86_rtx_costs): Handle vector operations better.
kono
parents: 14
diff changeset
1623 * i386.h (struct processor_costs): Add sse_op, fmasd, fmass.
kono
parents: 14
diff changeset
1624 * x86-tune-costs.h: Add new costs to all tables.
kono
parents: 14
diff changeset
1625
kono
parents: 14
diff changeset
1626 2017-10-14 Jan Hubicka <hubicka@ucw.cz>
kono
parents: 14
diff changeset
1627
kono
parents: 14
diff changeset
1628 * i386.c (ix86_rtx_costs): Make difference between x87 and SSE
kono
parents: 14
diff changeset
1629 operations.
kono
parents: 14
diff changeset
1630 * i386.h (struct processor_costs): Add addss, mulss, mulsd, divss,
kono
parents: 14
diff changeset
1631 divsd, sqrtss and sqrtsd
kono
parents: 14
diff changeset
1632 * x86-tune-costs.h: Add new entries to all costs.
kono
parents: 14
diff changeset
1633 (znver1_cost): Fix to match real instruction latencies.
kono
parents: 14
diff changeset
1634
kono
parents: 14
diff changeset
1635 2017-10-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
kono
parents: 14
diff changeset
1636 Michael Collison <michael.collison@arm.com>
kono
parents: 14
diff changeset
1637
kono
parents: 14
diff changeset
1638 * compare-elim.c: Include emit-rtl.h.
kono
parents: 14
diff changeset
1639 (can_merge_compare_into_arith): New function.
kono
parents: 14
diff changeset
1640 (try_validate_parallel): Likewise.
kono
parents: 14
diff changeset
1641 (try_merge_compare): Likewise.
kono
parents: 14
diff changeset
1642 (try_eliminate_compare): Call the above when no previous clobber
kono
parents: 14
diff changeset
1643 is available.
kono
parents: 14
diff changeset
1644 (execute_compare_elim_after_reload): Add DF_UD_CHAIN and DF_DU_CHAIN
kono
parents: 14
diff changeset
1645 dataflow problems.
kono
parents: 14
diff changeset
1646
kono
parents: 14
diff changeset
1647 2017-10-14 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
1648
kono
parents: 14
diff changeset
1649 PR middle-end/62263
kono
parents: 14
diff changeset
1650 PR middle-end/82498
kono
parents: 14
diff changeset
1651 * tree-ssa-phiopt.c (value_replacement): Comment fix. Handle
kono
parents: 14
diff changeset
1652 up to 2 preparation statements for ASSIGN in MIDDLE_BB.
kono
parents: 14
diff changeset
1653
kono
parents: 14
diff changeset
1654 PR middle-end/62263
kono
parents: 14
diff changeset
1655 PR middle-end/82498
kono
parents: 14
diff changeset
1656 * tree-ssa-forwprop.c (simplify_rotate): Allow def_arg1[N]
kono
parents: 14
diff changeset
1657 to be any operand_equal_p operands. For & (B - 1) require
kono
parents: 14
diff changeset
1658 B to be power of 2. Recognize
kono
parents: 14
diff changeset
1659 (X << (Y & (B - 1))) | (X >> ((-Y) & (B - 1))) and similar patterns.
kono
parents: 14
diff changeset
1660
kono
parents: 14
diff changeset
1661 2017-10-14 Uros Bizjak <ubizjak@gmail.com>
kono
parents: 14
diff changeset
1662
kono
parents: 14
diff changeset
1663 PR bootstrap/82553
kono
parents: 14
diff changeset
1664 * optabs.c (expand_memory_blockage): Fix call of
kono
parents: 14
diff changeset
1665 targetm.have_memory_blockage.
kono
parents: 14
diff changeset
1666
kono
parents: 14
diff changeset
1667 2017-10-14 Jakub Jelinek <jakub@redhat.com>
kono
parents: 14
diff changeset
1668
kono
parents: 14
diff changeset
1669 PR bootstrap/82548
kono
parents: 14
diff changeset
1670 * config.gcc (*-*-solaris2*, i[34567]86-*-cygwin*,
kono
parents: 14
diff changeset
1671 x86_64-*-cygwin*, i[34567]86-*-mingw* | x86_64-*-mingw*): Append
kono
parents: 14
diff changeset
1672 objects to extra_objs instead of overwriting it.
kono
parents: 14
diff changeset
1673
kono
parents: 14
diff changeset
1674 2017-10-14 Uros Bizjak <ubizjak@gmail.com>
kono
parents: 14
diff changeset
1675
kono
parents: 14
diff changeset
1676 * config/i386/sync.md (FILD_ATOMIC/FIST_ATOMIC FP load peephole2):
kono
parents: 14
diff changeset
1677 Use any_fp_register_operand as operand[3] predicate. Simplify
kono
parents: 14
diff changeset
1678 equality test for operands[2] and operands[4] memory location.
kono
parents: 14
diff changeset
1679 (LDX_ATOMIC/STX_ATOMIC FP load peephole2): Ditto.
kono
parents: 14
diff changeset
1680 (FILD_ATOMIC/FIST_ATOMIC FP load peephole2 with mem blockage): New.
kono
parents: 14
diff changeset
1681 (LDX_ATOMIC/LDX_ATOMIC FP load peephole2 with mem blockage): Ditto.
kono
parents: 14
diff changeset
1682 (FILD_ATOMIC/FIST_ATOMIC FP store peephole2): Use
kono
parents: 14
diff changeset
1683 any_fp_register_operand as operand[1] predicate. Simplify
kono
parents: 14
diff changeset
1684 equality test for operands[0] and operands[3] memory location.
kono
parents: 14
diff changeset
1685 (LDX_ATOMIC/STX_ATOMIC FP store peephole2): Ditto.
kono
parents: 14
diff changeset
1686 (FILD_ATOMIC/FIST_ATOMIC FP store peephole2 with mem blockage): New.
kono
parents: 14
diff changeset
1687 (LDX_ATOMIC/LDX_ATOMIC FP storepeephole2 with mem blockage): Ditto.
kono
parents: 14
diff changeset
1688
kono
parents: 14
diff changeset
1689 2017-10-14 Uros Bizjak <ubizjak@gmail.com>
kono
parents: 14
diff changeset
1690
kono
parents: 14
diff changeset
1691 * target-insns.def: Add memory_blockage.
kono
parents: 14
diff changeset
1692 * optabs.c (expand_memory_blockage): New function.
kono
parents: 14
diff changeset
1693 (expand_asm_memory_barrier): Rename ...
kono
parents: 14
diff changeset
1694 (expand_asm_memory_blockage): ... to this.
kono
parents: 14
diff changeset
1695 (expand_mem_thread_fence): Call expand_memory_blockage
kono
parents: 14
diff changeset
1696 instead of expand_asm_memory_barrier.
kono
parents: 14
diff changeset
1697 (expand_mem_singnal_fence): Ditto.
kono
parents: 14
diff changeset
1698 (expand_atomic_load): Ditto.
kono
parents: 14
diff changeset
1699 (expand_atomic_store): Ditto.
kono
parents: 14
diff changeset
1700 * doc/md.texi (Standard Pattern Names For Generation):
kono
parents: 14
diff changeset
1701 Document memory_blockage instruction pattern.
kono
parents: 14
diff changeset
1702
kono
parents: 14
diff changeset
1703 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
kono
parents: 14
diff changeset
1704
kono
parents: 14
diff changeset
1705 * config/rl78/rl78.c (rl78_emit_libcall): New function.
kono
parents: 14
diff changeset
1706 * config/rl78/rl78-protos.h (rl78_emit_libcall): New function.
kono
parents: 14
diff changeset
1707 * config/rl78/rl78.md: New define_expand "adddi3".
kono
parents: 14
diff changeset
1708
kono
parents: 14
diff changeset
1709 2017-10-13 Jan Hubicka <hubicka@ucw.cz>
kono
parents: 14
diff changeset
1710
kono
parents: 14
diff changeset
1711 * cfghooks.c (verify_flow_info): Disable check that all probabilities
kono
parents: 14
diff changeset
1712 are set correctly.
kono
parents: 14
diff