|
| 1 | +2025-12-12 Chung-Lin Tang < [email protected]> |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + * gimplify.cc (gimplify_scan_omp_clauses): Handle uses_allocators |
| 6 | + by printing a 'sorry, unimplemented' and removing it. |
| 7 | + * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_USES_ALLOCATORS. |
| 8 | + * tree.cc (omp_clause_num_ops, omp_clause_code_name): Likewise. |
| 9 | + * tree-pretty-print.cc (dump_omp_clause): Handle it. |
| 10 | + * tree.h (OMP_CLAUSE_USES_ALLOCATORS_ALLOCATOR, |
| 11 | + OMP_CLAUSE_USES_ALLOCATORS_MEMSPACE, |
| 12 | + OMP_CLAUSE_USES_ALLOCATORS_TRAITS): New. |
| 13 | + |
| 14 | +2025-12-12 Andrew Pinski < [email protected]> |
| 15 | + |
| 16 | + PR tree-optimization/103680 |
| 17 | + * tree-loop-distribution.cc (destroy_loop): Set probability |
| 18 | + of the exit edge to be always. |
| 19 | + |
| 20 | +2025-12-12 Andrew Pinski < [email protected]> |
| 21 | + |
| 22 | + PR tree-optimization/103680 |
| 23 | + * tree-cfg.cc (make_forwarders_with_degenerate_phis): Fix |
| 24 | + initial value of the count to new bb. |
| 25 | + |
| 26 | +2025-12-12 Stefan Schulze Frielinghaus < [email protected]> |
| 27 | + |
| 28 | + * config/s390/s390.cc (s390_expand_builtin): Warn about |
| 29 | + non-overloaded deprecated builtins. |
| 30 | + |
| 31 | +2025-12-12 Stefan Schulze Frielinghaus < [email protected]> |
| 32 | + |
| 33 | + * config/s390/s390-c.cc (s390_adjust_builtin_arglist): Fix |
| 34 | + builtin s390_vec_load_bndry for C++. |
| 35 | + |
| 36 | +2025-12-12 Stefan Schulze Frielinghaus < [email protected]> |
| 37 | + |
| 38 | + * config/s390/s390-c.cc (s390_resolve_overloaded_builtin): |
| 39 | + Perform array-to-pointer conversion for C++. |
| 40 | + |
| 41 | +2025-12-12 David Malcolm < [email protected]> |
| 42 | + |
| 43 | + PR analyzer/122003 |
| 44 | + * Makefile.in (ANALYZER_OBJS): Add analyzer/ops.o, |
| 45 | + analyzer/supergraph-fixup-locations.o, |
| 46 | + analyzer/supergraph-simplify.o, and analyzer/supergraph-sorting.o. |
| 47 | + * digraph.h (dnode::add_in_edge): New. |
| 48 | + (dnode::remove_in_edge): New. |
| 49 | + (dnode::add_out_edge): New. |
| 50 | + (dnode::remove_out_edge): New. |
| 51 | + (dnode::m_preds): Make public. |
| 52 | + (dnode::m_succs): Likewise. |
| 53 | + (dnode::find_edge_idx): New. |
| 54 | + (dedge::edge_t): New typedef. |
| 55 | + (dedge::m_src): Make non-const. |
| 56 | + (dedge::m_dest): Likewise. |
| 57 | + (dedge::set_dest): New. |
| 58 | + (digraph::add_any_extra_stmts): New. |
| 59 | + (digraph<GraphTraits>::dump_dot_to_pp): Call it. |
| 60 | + * doc/analyzer.texi: Update for rewrite of supergraph. |
| 61 | + * doc/invoke.texi (fanalyzer-fine-grained): Make this as a no-op |
| 62 | + preserved for backwards compatibility. |
| 63 | + (fanalyzer-simplify-supergraph): Document new option. |
| 64 | + (fdump-analyzer-supergraph): Update for changes to output. |
| 65 | + * gdbhooks.py (AnaSupernodePrinter.to_string): Update for renaming |
| 66 | + of supernode::m_index to supernode::m_id. |
| 67 | + * system.h: Include <deque> if INCLUDE_DEQUE was defined. |
| 68 | + |
| 69 | +2025-12-12 Jakub Jelinek < [email protected]> |
| 70 | + |
| 71 | + PR rtl-optimization/121852 |
| 72 | + * rtlanal.cc (single_set_2): Only look for REG_UNUSED notes if |
| 73 | + df && df_note, otherwise if df and SET_DEST is a pseudo with |
| 74 | + DF_REG_USE_COUNT 0, assume it is unused as well. Otherwise |
| 75 | + assume it may be used. |
| 76 | + |
| 77 | +2025-12-12 Tejas Belagod < [email protected]> |
| 78 | + Tamar Christina < [email protected]> |
| 79 | + |
| 80 | + * config/aarch64/aarch64.cc (aarch64_instruction_selection): Flip |
| 81 | + svbool_t == to != to avoid extra bit-inverse. |
| 82 | + |
| 83 | +2025-12-12 mengqinggang < [email protected]> |
| 84 | + |
| 85 | + * config/loongarch/loongarch.cc (loongarch_block_move_loop): Change |
| 86 | + length, align to unsigned. |
| 87 | + (loongarch_expand_block_move): Ditto. |
| 88 | + |
| 89 | +2025-12-12 Jiajie Chen < [email protected]> |
| 90 | + |
| 91 | + * config/loongarch/loongarch.cc (loongarch_emit_int_compare): |
| 92 | + Call trunc_int_mode to ensure valid rhs. |
| 93 | + |
| 94 | +2025-12-12 mengqinggang < [email protected]> |
| 95 | + |
| 96 | + * config/loongarch/predicates.md: Add CONSTM1_RTX for low_bitmask_operand. |
| 97 | + |
| 98 | +2025-12-12 mengqinggang < [email protected]> |
| 99 | + |
| 100 | + * config/loongarch/larchintrin.h (__movgr2fcsr): Disable on soft float. |
| 101 | + (__cacop_w): New. |
| 102 | + (__lddir_d): Delete #error. |
| 103 | + (__ldpte_d): Likewise. |
| 104 | + (__crc_w_w_w): Disable on LA32 |
| 105 | + (__crc_w_d_w): Likewise. |
| 106 | + (__crcc_w_w_w): Likewise. |
| 107 | + * config/loongarch/loongarch-builtins.cc : Disable some builtin on LA32. |
| 108 | + |
| 109 | +2025-12-12 mengqinggang < [email protected]> |
| 110 | + |
| 111 | + |
| 112 | + * config/loongarch/loongarch-opts.cc (loongarch_target_option_override): |
| 113 | + Delete opts->x_flag_pcc_struct_return and enable mstrict-align by |
| 114 | + default on LA32. |
| 115 | + * config/loongarch/loongarch.cc (loongarch_for_each_saved_reg): Save reg |
| 116 | + depend on float abi. |
| 117 | + (loongarch_explicit_relocs_p): Disable explicit relocs on LA32. |
| 118 | + (loongarch_valid_offset_p): Disable const_imm16_operand with 4 byte aligned. |
| 119 | + (loongarch_valid_lo_sum_p): Allow lo_sum to be used with DF in ilp32d. |
| 120 | + (loongarch_valid_index_p): Disable ADDRESS_REG_REG on LA32. |
| 121 | + (loongarch_legitimize_address): Disable mem_shadd_or_shadd_rtx_p on LA32. |
| 122 | + (loongarch_output_move_index): Assert TARGET_64BIT for ldx/stx. |
| 123 | + (loongarch_output_move): Disable ldptr/stptr if offset is 0. |
| 124 | + (loongarch_output_equal_conditional_branch): Disable beqz/bnez on LA32R. |
| 125 | + (loongarch_trampoline_init): Change pcaddi to pcaddu12i. |
| 126 | + (loongarch_get_separate_components): Disable ldptr/stptr on LA32. |
| 127 | + (loongarch_c_mode_for_floating_type): Use TFmode for long double |
| 128 | + regardless of target bitness. |
| 129 | + (loongarch_bitint_type_info): Disable BitInt on LA32. |
| 130 | + (loongarch_call_tls_get_addr): Use call30 on LA32. |
| 131 | + (loongarch_split_move): Add split for DI, DF, TF. |
| 132 | + * config/loongarch/loongarch.h (LA_LONG_DOUBLE_TYPE_SIZE): Set |
| 133 | + LONG_DOUBLE_TYPE_SIZE to 128 regardless of target bitness. |
| 134 | + (MAX_FIXED_MODE_SIZE): Set to 64 on LA32. |
| 135 | + (DEFAULT_PCC_STRUCT_RETURN): New. |
| 136 | + (STACK_BOUNDARY): Set to 128 on LA64 and LA32. |
| 137 | + (LARCH_STACK_ALIGN): Set to 16 on LA64 and LA32. |
| 138 | + (TRAMPOLINE_SIZE): Set to same value on LA64 and LA32. |
| 139 | + |
| 140 | +2025-12-12 mengqinggang < [email protected]> |
| 141 | + |
| 142 | + |
| 143 | + * config/loongarch/constraints.md: Disable k on LA32. |
| 144 | + * config/loongarch/loongarch.md (*and<mode>3): Delete. |
| 145 | + (*and<mode>3_extend): New. |
| 146 | + (zero_extend<SHORT:mode><GPR:mode>2_la32r): New. |
| 147 | + (extend<SHORT:mode><GPR:mode>2_la32r): New. |
| 148 | + (extendqihi2_la32r): New. |
| 149 | + (*movdi_32bit): Remove not working split, use existing |
| 150 | + loongarch_split_move instead. |
| 151 | + (move_doubleword_2_<mode>): New. |
| 152 | + (load_low<mode>): New. |
| 153 | + (load_high<mode>): New. |
| 154 | + (store_word<mode>): New. |
| 155 | + (movgr2frh<mode>): New. |
| 156 | + (movfrh2gr<mode>): New. |
| 157 | + * config/loongarch/predicates.md: Disable low_bitmask_operand and |
| 158 | + ins_zero_bitmask_operand on LA32. Enable const_call_insn_operand on LA32. |
| 159 | + * config/loongarch/sync.md (atomic_<amop><mode>): Change to define_expand. |
| 160 | + (la64_atomic_<amop><mode>): New. |
| 161 | + (la32_atomic_<amop>si): New. |
| 162 | + (atomic_fetch_<amop><mode>): Change to define_expand. |
| 163 | + (la64_atomic_fetch_<amop><mode>): New. |
| 164 | + (la32_atomic_fetch_<amop>si): New. |
| 165 | + (atomic_exchange<mode>): Change to define_expand. |
| 166 | + (la64_atomic_exchange<mode>): New. |
| 167 | + (la32_atomic_exchangesi): New. |
| 168 | + |
| 169 | +2025-12-12 mengqinggang < [email protected]> |
| 170 | + |
| 171 | + |
| 172 | + * config.gcc: Add target triple loongarch32-*-*-* and |
| 173 | + corresponding abi ilp32f, ilp32d and ilp32s. |
| 174 | + * config/loongarch/genopts/loongarch-strings: Add strings for |
| 175 | + loongarch32 and ilp32 abi variants. |
| 176 | + * config/loongarch/genopts/loongarch.opt.in: Add |
| 177 | + -march=la32v1.0/la32rv1.0 and -mabi=ilp32d/ilp32f/ilp32s. |
| 178 | + * config/loongarch/gnu-user.h: Add ilp32 abi variants to spec. |
| 179 | + * config/loongarch/linux.h: Add ABI_LIBDIR for ilp32 abi |
| 180 | + variants. |
| 181 | + * config/loongarch/loongarch-c.cc (loongarch_define_unconditional_macros): |
| 182 | + Add builtin definitions for loongarch32 target. |
| 183 | + * config/loongarch/loongarch-def.cc: Add loongarch32 and ilp32 |
| 184 | + definitions. |
| 185 | + * config/loongarch/loongarch-def.h: Add loongarch32 and ilp32 |
| 186 | + definitions. |
| 187 | + * config/loongarch/loongarch-driver.h: Add ilp32 abi variants to |
| 188 | + spec. |
| 189 | + * config/loongarch/loongarch-opts.cc: Handle ilp32 abi variants. |
| 190 | + * config/loongarch/loongarch-opts.h: Add loongarch32 case to |
| 191 | + macros. |
| 192 | + * config/loongarch/loongarch-str.h: Add loongarch32 and ilp32 |
| 193 | + strings. |
| 194 | + * config/loongarch/loongarch.opt: Add -march=la32v1.0/la32rv1.0 |
| 195 | + and -mabi=ilp32d/ilp32f/ilp32s. |
| 196 | + * config/loongarch/t-linux: Add ilp32 abi variants to multilib. |
| 197 | + * doc/invoke.texi: Add LA32 arch and tune. |
| 198 | + |
| 199 | +2025-12-12 Pietro Monteiro < [email protected]> |
| 200 | + |
| 201 | + * common.opt.urls: Regenerate. |
| 202 | + |
1 | 203 | 2025-12-11 Jakub Jelinek < [email protected]> |
2 | 204 |
|
3 | 205 | * config/arc/arc.cc (hwloop_optimize): Fix comment typo, |
|
0 commit comments