|
| 1 | +2017-09-20 Sebastian Peryt < [email protected]> |
| 2 | + |
| 3 | + * config.gcc: Support "knm". |
| 4 | + * config/i386/driver-i386.c (host_detect_local_cpu): Detect "knm". |
| 5 | + * config/i386/i386-c.c (ix86_target_macros_internal): Handle |
| 6 | + PROCESSOR_KNM. |
| 7 | + * config/i386/i386.c (m_KNM): Define. |
| 8 | + (processor_target_table): Add "knm". |
| 9 | + (PTA_KNM): Define. |
| 10 | + (ix86_option_override_internal): Add "knm". |
| 11 | + (ix86_issue_rate): Add PROCESSOR_KNM. |
| 12 | + (ix86_adjust_cost): Ditto. |
| 13 | + (ia32_multipass_dfa_lookahead): Ditto. |
| 14 | + (get_builtin_code_for_version): Handle PROCESSOR_KNM. |
| 15 | + (fold_builtin_cpu): Add M_INTEL_KNM. |
| 16 | + * config/i386/i386.h (processor_costs): Define TARGET_KNM. |
| 17 | + (processor_type): Add PROCESSOR_KNM. |
| 18 | + * config/i386/x86-tune.def: Add m_KNM. |
| 19 | + * doc/invoke.texi: Add knm as x86 -march=/-mtune= CPU type. |
| 20 | + |
| 21 | +2017-09-20 Richard Biener < [email protected]> |
| 22 | + |
| 23 | + PR tree-optimization/80213 |
| 24 | + * graphite-scop-detection.c (trivially_empty_bb_p): Labels |
| 25 | + are allowed in empty BBs as well. |
| 26 | + (canonicalize_loop_closed_ssa): Also look for other complex |
| 27 | + edges. |
| 28 | + (scop_detection::get_sese): Include the loop-closed PHI block |
| 29 | + in loop SESEs. |
| 30 | + (scop_detection::merge_sese): Remove code adding extra blocks. |
| 31 | + (scop_detection::region_has_one_loop): Adjust for get_sese changes. |
| 32 | + (build_scops): Assert the final returned scop is invalid. |
| 33 | + |
| 34 | +2017-09-20 Richard Biener < [email protected]> |
| 35 | + |
| 36 | + PR tree-optimization/82264 |
| 37 | + * tree-ssa-sccvn.c (vn_phi_eq): Use safe_dyn_cast to check |
| 38 | + for GIMPLE_CONDs. |
| 39 | + (vn_phi_lookup): Likewise. |
| 40 | + (vn_phi_insert): Likewise. |
| 41 | + |
| 42 | +2017-09-20 Jakub Jelinek < [email protected]> |
| 43 | + |
| 44 | + * dwarf2out.c (tree_add_const_value_attribute): For INTEGER_CST |
| 45 | + that fits into uhwi or shwi, add DW_AT_const_value regardless |
| 46 | + of early_dwarf without going through RTL, using add_AT_unsigned |
| 47 | + or add_AT_int. |
| 48 | + |
| 49 | + * dwarf2out.c (DEBUG_LTO_DWO_INFO_SECTION): Reorder defines. |
| 50 | + (DEBUG_LTO_ABBREV_SECTION): Likewise. |
| 51 | + (DEBUG_LTO_MACINFO_SECTION): Likewise. |
| 52 | + (DEBUG_MACRO_SECTION): Likewise. |
| 53 | + (DEBUG_LTO_MACRO_SECTION): Likewise. |
| 54 | + (DEBUG_STR_DWO_SECTION): Likewise. |
| 55 | + (DEBUG_LTO_STR_DWO_SECTION): Likewise. |
| 56 | + (DEBUG_LTO_LINE_SECTION): Drop .dwo suffix from the name. |
| 57 | + (DEBUG_LTO_DWO_LINE_SECTION): Define. |
| 58 | + (DEBUG_LTO_LINE_STR_SECTION): Define. |
| 59 | + (init_sections_and_labels): Initialize debug_line_str_section |
| 60 | + variable. Initialize debug_loc_section for -gdwarf-5 to |
| 61 | + DEBUG_LOCLISTS_SECTION. Formatting fixes. |
| 62 | + |
| 63 | +2017-09-20 Richard Biener < [email protected]> |
| 64 | + |
| 65 | + * graphite-sese-to-poly.c (extract_affine): Properly handle |
| 66 | + POINTER_PLUS_EXPR, BIT_NOT_EXPR and conversion to signed. |
| 67 | + |
| 68 | +2017-09-20 Richard Biener < [email protected]> |
| 69 | + |
| 70 | + PR tree-optimization/81373 |
| 71 | + * graphite-scop-detection.c (build_cross_bb_scalars_def): |
| 72 | + Force SESE live-out defs to be handled even if they are |
| 73 | + scev_analyzable_p. |
| 74 | + |
| 75 | +2017-09-19 Jeff Law < [email protected]> |
| 76 | + |
| 77 | + * combine-stack-adj.c (combine_stack_adjustments_for_block): Do |
| 78 | + nothing for stack adjustments with REG_STACK_CHECK. |
| 79 | + * sched-deps.c (parse_add_or_inc): Reject insns with |
| 80 | + REG_STACK_CHECK from dependency breaking. |
| 81 | + * config/i386/i386.c (pro_epilogue_adjust_stack): Return insn. |
| 82 | + (ix86_adjust_satck_and_probe_stack_clash): Add REG_STACK_NOTEs. |
| 83 | + * reg-notes.def (STACK_CHECK): New note. |
| 84 | + |
| 85 | + * config/i386/i386.c (ix86_adjust_stack_and_probe_stack_clash): New. |
| 86 | + (ix86_expand_prologue): Dump stack clash info as needed. |
| 87 | + Call ix86_adjust_stack_and_probe_stack_clash as needed. |
| 88 | + |
| 89 | + * function.c (dump_stack_clash_frame_info): New function. |
| 90 | + * function.h (dump_stack_clash_frame_info): Prototype. |
| 91 | + (enum stack_clash_probes): New enum. |
| 92 | + |
| 93 | + * config/alpha/alpha.c (alpha_expand_prologue): Also check |
| 94 | + flag_stack_clash_protection. |
| 95 | + * config/arm/arm.c (arm_compute_static_chain_stack_bytes): Likewise. |
| 96 | + (arm_expand_prologue, thumb1_expand_prologue): Likewise. |
| 97 | + (arm_frame_pointer_required): Likewise. |
| 98 | + * config/ia64/ia64.c (ia64_compute_frame_size): Likewise. |
| 99 | + (ia64_expand_prologue): Likewise. |
| 100 | + * config/mips/mips.c (mips_expand_prologue): Likewise. |
| 101 | + * config/powerpcspe/powerpcspe.c (rs6000_expand_prologue): Likewise. |
| 102 | + * config/sparc/sparc.c (sparc_expand_prologue): Likewise. |
| 103 | + (sparc_flat_expand_prologue): Likewise. |
| 104 | + * config/spu/spu.c (spu_expand_prologue): Likewise. |
| 105 | + |
| 106 | + * explow.c: Include "params.h". |
| 107 | + (anti_adjust_stack_and_probe_stack_clash): New function. |
| 108 | + (get_stack_check_protect): Likewise. |
| 109 | + (compute_stack_clash_protection_loop_data): Likewise. |
| 110 | + (emit_stack_clash_protection_loop_start): Likewise. |
| 111 | + (emit_stack_clash_protection_loop_end): Likewise. |
| 112 | + (allocate_dynamic_stack_space): Use get_stack_check_protect. |
| 113 | + Use anti_adjust_stack_and_probe_stack_clash. |
| 114 | + * explow.h (compute_stack_clash_protection_loop_data): Prototype. |
| 115 | + (emit_stack_clash_protection_loop_start): Likewise. |
| 116 | + (emit_stack_clash_protection_loop_end): Likewise. |
| 117 | + * rtl.h (get_stack_check_protect): Prototype. |
| 118 | + * target.def (stack_clash_protection_final_dynamic_probe): New hook. |
| 119 | + * targhooks.c (default_stack_clash_protection_final_dynamic_probe): New. |
| 120 | + * targhooks.h (default_stack_clash_protection_final_dynamic_probe): |
| 121 | + Prototype. |
| 122 | + * doc/tm.texi.in (TARGET_STACK_CLASH_PROTECTION_FINAL_DYNAMIC_PROBE): |
| 123 | + Add @hook. |
| 124 | + * doc/tm.texi: Rebuilt. |
| 125 | + * config/aarch64/aarch64.c (aarch64_expand_prologue): Use |
| 126 | + get_stack_check_protect. |
| 127 | + * config/alpha/alpha.c (alpha_expand_prologue): Likewise. |
| 128 | + * config/arm/arm.c (arm_expand_prologue): Likewise. |
| 129 | + (arm_frame_pointer_required): Likewise. |
| 130 | + * config/i386/i386.c (ix86_expand_prologue): Likewise. |
| 131 | + * config/ia64/ia64.c (ia64_expand_prologue): Likewise. |
| 132 | + * config/mips/mips.c (mips_expand_prologue): Likewise. |
| 133 | + * config/powerpcspe/powerpcspe.c (rs6000_emit_prologue): Likewise. |
| 134 | + * config/rs6000/rs6000.c (rs6000_emit_prologue): Likewise. |
| 135 | + * config/sparc/sparc.c (sparc_expand_prologue): Likewise. |
| 136 | + (sparc_flat_expand_prologue): Likewise. |
| 137 | + |
| 138 | + * common.opt (-fstack-clash-protection): New option. |
| 139 | + * flag-types.h (enum stack_check_type): Note difference between |
| 140 | + -fstack-check= and -fstack-clash-protection. |
| 141 | + * params.def (PARAM_STACK_CLASH_PROTECTION_GUARD_SIZE): New PARAM. |
| 142 | + (PARAM_STACK_CLASH_PROTECTION_PROBE_INTERVAL): Likewise. |
| 143 | + * toplev.c (process_options): Issue warnings/errors for cases |
| 144 | + not handled with -fstack-clash-protection. |
| 145 | + * doc/invoke.texi (-fstack-clash-protection): Document new option. |
| 146 | + (-fstack-check): Note additional problem with -fstack-check=generic. |
| 147 | + Note that -fstack-check is primarily for Ada and refer users |
| 148 | + to -fstack-clash-protection for stack-clash-protection. |
| 149 | + Document new params for stack clash protection. |
| 150 | + |
1 | 151 | 2017-09-19 Uros Bizjak < [email protected]> |
2 | 152 |
|
3 | 153 | * config/i386/i386.c (ix86_split_long_move): Do not handle |
|
182 | 332 |
|
183 | 333 | 2017-09-17 Daniel Santos < [email protected]> |
184 | 334 |
|
185 | | - config/i386/i386.c: (xlogue_layout::STUB_NAME_MAX_LEN): Increase to 20 |
186 | | - bytes. |
| 335 | + * config/i386/i386.c (xlogue_layout::STUB_NAME_MAX_LEN): |
| 336 | + Increase to 20 bytes. |
187 | 337 | (xlogue_layout::s_stub_names): Add an additional size-2 diminsion. |
188 | 338 | (xlogue_layout::get_stub_name): Modify to select the appropairate sse |
189 | 339 | or avx version of the stub. |
|
0 commit comments