|
| 1 | +2023-12-06 Juzhe-Zhong <juzhe.zhong@rivai.ai> |
| 2 | + |
| 3 | + * config/riscv/riscv-vsetvl.cc (extract_single_source): new function. |
| 4 | + (pre_vsetvl::compute_lcm_local_properties): Fix ICE. |
| 5 | + |
| 6 | +2023-12-06 Victor Do Nascimento <victor.donascimento@arm.com> |
| 7 | + |
| 8 | + * config/aarch64/aarch64-builtins.cc (AARCH64_RSR128): New |
| 9 | + `enum aarch64_builtins' value. |
| 10 | + (AARCH64_WSR128): Likewise. |
| 11 | + (aarch64_init_rwsr_builtins): Init `__builtin_aarch64_rsr128' |
| 12 | + and `__builtin_aarch64_wsr128' builtins. |
| 13 | + (aarch64_expand_rwsr_builtin): Extend function to handle |
| 14 | + `__builtin_aarch64_{rsr|wsr}128'. |
| 15 | + * config/aarch64/aarch64-protos.h (aarch64_retrieve_sysreg): |
| 16 | + Update function signature. |
| 17 | + * config/aarch64/aarch64.cc (F_REG_128): New. |
| 18 | + (aarch64_retrieve_sysreg): Add 128-bit register mode check. |
| 19 | + * config/aarch64/aarch64.md (UNSPEC_SYSREG_RTI): New. |
| 20 | + (UNSPEC_SYSREG_WTI): Likewise. |
| 21 | + (aarch64_read_sysregti): Likewise. |
| 22 | + (aarch64_write_sysregti): Likewise. |
| 23 | + * config/aarch64/arm_acle.h (__arm_rsr128): New. |
| 24 | + (__arm_wsr128): Likewise. |
| 25 | + |
| 26 | +2023-12-06 Victor Do Nascimento <victor.donascimento@arm.com> |
| 27 | + |
| 28 | + * config/aarch64/aarch64-sys-regs.def: Copy from Binutils. |
| 29 | + |
| 30 | +2023-12-06 Victor Do Nascimento <victor.donascimento@arm.com> |
| 31 | + |
| 32 | + * config/aarch64/aarch64-option-extensions.def (gcs): New. |
| 33 | + * config/aarch64/aarch64.h (AARCH64_ISA_GCS): New. |
| 34 | + (TARGET_THE): Likewise. |
| 35 | + * doc/invoke.texi (AArch64 Options): Describe GCS. |
| 36 | + |
| 37 | +2023-12-06 Victor Do Nascimento <victor.donascimento@arm.com> |
| 38 | + |
| 39 | + * config/aarch64/aarch64-c.cc (__ARM_FEATURE_SYSREG128): New. |
| 40 | + * config/aarch64/aarch64-arches.def (armv8.9-a): New. |
| 41 | + (armv9.4-a): Likewise. |
| 42 | + * config/aarch64/aarch64-option-extensions.def (d128): Likewise. |
| 43 | + (the): Likewise. |
| 44 | + * config/aarch64/aarch64.h (AARCH64_ISA_V9_4A): Likewise. |
| 45 | + (AARCH64_ISA_V8_9A): Likewise. |
| 46 | + (TARGET_ARMV9_4): Likewise. |
| 47 | + (AARCH64_ISA_D128): Likewise. |
| 48 | + (AARCH64_ISA_THE): Likewise. |
| 49 | + (TARGET_D128): Likewise. |
| 50 | + * doc/invoke.texi (AArch64 Options): Document new -march flags |
| 51 | + and extensions. |
| 52 | + |
| 53 | +2023-12-06 Eric Gallager <egallager@gcc.gnu.org> |
| 54 | + |
| 55 | + * Makefile.in: Remove qmtest-related targets. |
| 56 | + |
| 57 | +2023-12-06 David Malcolm <dmalcolm@redhat.com> |
| 58 | + |
| 59 | + * common.opt (fdiagnostics-json-formatting): New. |
| 60 | + * diagnostic-format-json.cc: Add "formatted" boolean |
| 61 | + to json_output_format and subclasses, and to the |
| 62 | + diagnostic_output_format_init_json_* functions. Use it when |
| 63 | + printing JSON. |
| 64 | + * diagnostic-format-sarif.cc: Likewise for sarif_builder, |
| 65 | + sarif_output_format, and the various |
| 66 | + diagnostic_output_format_init_sarif_* functions. |
| 67 | + * diagnostic.cc (diagnostic_output_format_init): Add |
| 68 | + "json_formatting" boolean and pass on to the various cases. |
| 69 | + * diagnostic.h (diagnostic_output_format_init): Add |
| 70 | + "json_formatted" param. |
| 71 | + (diagnostic_output_format_init_json_stderr): Add "formatted" param |
| 72 | + (diagnostic_output_format_init_json_file): Likewise. |
| 73 | + (diagnostic_output_format_init_sarif_stderr): Likewise. |
| 74 | + (diagnostic_output_format_init_sarif_file): Likewise. |
| 75 | + (diagnostic_output_format_init_sarif_stream): Likewise. |
| 76 | + * doc/invoke.texi (-fdiagnostics-format=json): Remove discussion |
| 77 | + about JSON output needing formatting. |
| 78 | + (-fno-diagnostics-json-formatting): Add. |
| 79 | + * gcc.cc (driver_handle_option): Use |
| 80 | + opts->x_flag_diagnostics_json_formatting. |
| 81 | + * gcov.cc (generate_results): Pass "false" for new formatting |
| 82 | + option when printing json. |
| 83 | + * json.cc (value::dump): Add new "formatted" param. |
| 84 | + (object::print): Likewise, using it to add whitespace to format |
| 85 | + the JSON output. |
| 86 | + (array::print): Likewise. |
| 87 | + (float_number::print): Add new "formatted" param. |
| 88 | + (integer_number::print): Likewise. |
| 89 | + (string::print): Likewise. |
| 90 | + (literal::print): Likewise. |
| 91 | + (selftest::assert_print_eq): Add "formatted" param. |
| 92 | + (ASSERT_PRINT_EQ): Add "FORMATTED" param. |
| 93 | + (selftest::test_writing_objects): Test both formatted and |
| 94 | + unformatted printing. |
| 95 | + (selftest::test_writing_arrays): Likewise. |
| 96 | + (selftest::test_writing_float_numbers): Update for new param of |
| 97 | + ASSERT_PRINT_EQ. |
| 98 | + (selftest::test_writing_integer_numbers): Likewise. |
| 99 | + (selftest::test_writing_strings): Likewise. |
| 100 | + (selftest::test_writing_literals): Likewise. |
| 101 | + (selftest::test_formatting): New. |
| 102 | + (selftest::json_cc_tests): Call it. |
| 103 | + * json.h (value::print): Add "formatted" param. |
| 104 | + (value::dump): Likewise. |
| 105 | + (object::print): Likewise. |
| 106 | + (array::print): Likewise. |
| 107 | + (float_number::print): Likewise. |
| 108 | + (integer_number::print): Likewise. |
| 109 | + (string::print): Likewise. |
| 110 | + (literal::print): Likewise. |
| 111 | + * optinfo-emit-json.cc (optrecord_json_writer::write): Pass |
| 112 | + "false" for new formatting option when printing json. |
| 113 | + (selftest::test_building_json_from_dump_calls): Likewise. |
| 114 | + * opts.cc (common_handle_option): Use |
| 115 | + opts->x_flag_diagnostics_json_formatting. |
| 116 | + |
| 117 | +2023-12-06 David Malcolm <dmalcolm@redhat.com> |
| 118 | + |
| 119 | + * diagnostic-format-json.cc (on_begin_diagnostic): Convert param |
| 120 | + to const reference. |
| 121 | + (on_end_diagnostic): Likewise. |
| 122 | + (json_output_format::on_end_diagnostic): Likewise. |
| 123 | + * diagnostic-format-sarif.cc |
| 124 | + (sarif_invocation::add_notification_for_ice): Likewise. |
| 125 | + (sarif_result::on_nested_diagnostic): Likewise. |
| 126 | + (sarif_ice_notification::sarif_ice_notification): Likewise. |
| 127 | + (sarif_builder::end_diagnostic): Likewise. |
| 128 | + (sarif_builder::make_result_object): Likewise. |
| 129 | + (make_reporting_descriptor_object_for_warning): Likewise. |
| 130 | + (sarif_builder::make_locations_arr): Likewise. |
| 131 | + (sarif_output_format::on_begin_diagnostic): Likewise. |
| 132 | + (sarif_output_format::on_end_diagnostic): Likewise. |
| 133 | + * diagnostic.cc (default_diagnostic_starter): Make diagnostic_info |
| 134 | + param const. |
| 135 | + (default_diagnostic_finalizer): Likewise. |
| 136 | + (diagnostic_context::report_diagnostic): Pass diagnostic by |
| 137 | + reference to on_{begin,end}_diagnostic. |
| 138 | + (diagnostic_text_output_format::on_begin_diagnostic): Convert |
| 139 | + param to const reference. |
| 140 | + (diagnostic_text_output_format::on_end_diagnostic): Likewise. |
| 141 | + * diagnostic.h (diagnostic_starter_fn): Make diagnostic_info param |
| 142 | + const. |
| 143 | + (diagnostic_finalizer_fn): Likeewise. |
| 144 | + (diagnostic_output_format::on_begin_diagnostic): Convert param to |
| 145 | + const reference. |
| 146 | + (diagnostic_output_format::on_end_diagnostic): Likewise. |
| 147 | + (diagnostic_text_output_format::on_begin_diagnostic): Likewise. |
| 148 | + (diagnostic_text_output_format::on_end_diagnostic): Likewise. |
| 149 | + (default_diagnostic_starter): Make diagnostic_info param const. |
| 150 | + (default_diagnostic_finalizer): Likewise. |
| 151 | + * langhooks-def.h (lhd_print_error_function): Make diagnostic_info |
| 152 | + param const. |
| 153 | + * langhooks.cc (lhd_print_error_function): Likewise. |
| 154 | + * langhooks.h (lang_hooks::print_error_function): Likewise. |
| 155 | + * tree-diagnostic.cc (diagnostic_report_current_function): |
| 156 | + Likewise. |
| 157 | + (default_tree_diagnostic_starter): Likewise. |
| 158 | + (virt_loc_aware_diagnostic_finalizer): Likewise. |
| 159 | + * tree-diagnostic.h (diagnostic_report_current_function): |
| 160 | + Likewise. |
| 161 | + (virt_loc_aware_diagnostic_finalizer): Likewise. |
| 162 | + |
| 163 | +2023-12-06 Andrew Stubbs <ams@codesourcery.com> |
| 164 | + |
| 165 | + * config/gcn/gcn-builtins.def (DISPATCH_PTR): New built-in. |
| 166 | + * config/gcn/gcn.cc (gcn_init_machine_status): Disable global |
| 167 | + addressing. |
| 168 | + (gcn_expand_builtin_1): Implement GCN_BUILTIN_DISPATCH_PTR. |
| 169 | + |
| 170 | +2023-12-06 Juzhe-Zhong <juzhe.zhong@rivai.ai> |
| 171 | + |
| 172 | + PR target/112855 |
| 173 | + * config/riscv/riscv-vsetvl.cc |
| 174 | + (pre_vsetvl::compute_lcm_local_properties): Fix transparant LCM data. |
| 175 | + (pre_vsetvl::earliest_fuse_vsetvl_info): Disable earliest fusion for unrelated edge. |
| 176 | + |
| 177 | +2023-12-06 Marek Polacek <polacek@redhat.com> |
| 178 | + |
| 179 | + PR target/112762 |
| 180 | + * config/linux.h: Redefine TARGET_FORTIFY_SOURCE_DEFAULT_LEVEL for |
| 181 | + glibc only. |
| 182 | + |
| 183 | +2023-12-06 Victor Do Nascimento <victor.donascimento@arm.com> |
| 184 | + |
| 185 | + * config/aarch64/aarch64.cc |
| 186 | + (aarch64_test_sysreg_encoding_clashes): New. |
| 187 | + (aarch64_run_selftests): add call to |
| 188 | + aarch64_test_sysreg_encoding_clashes selftest. |
| 189 | + |
| 190 | +2023-12-06 Victor Do Nascimento <victor.donascimento@arm.com> |
| 191 | + |
| 192 | + * config/aarch64/aarch64-builtins.cc (aarch64_general_check_builtin_call): |
| 193 | + New. |
| 194 | + * config/aarch64/aarch64-c.cc (aarch64_check_builtin_call): |
| 195 | + Add `aarch64_general_check_builtin_call' call. |
| 196 | + * config/aarch64/aarch64-protos.h (aarch64_general_check_builtin_call): |
| 197 | + New. |
| 198 | + |
| 199 | +2023-12-06 Victor Do Nascimento <victor.donascimento@arm.com> |
| 200 | + |
| 201 | + * config/aarch64/aarch64-builtins.cc (enum aarch64_builtins): |
| 202 | + Add enums for new builtins. |
| 203 | + (aarch64_init_rwsr_builtins): New. |
| 204 | + (aarch64_general_init_builtins): Call aarch64_init_rwsr_builtins. |
| 205 | + (aarch64_expand_rwsr_builtin): New. |
| 206 | + (aarch64_general_expand_builtin): Call aarch64_general_expand_builtin. |
| 207 | + * config/aarch64/aarch64.md (read_sysregdi): New insn_and_split. |
| 208 | + (write_sysregdi): Likewise. |
| 209 | + * config/aarch64/arm_acle.h (__arm_rsr): New. |
| 210 | + (__arm_rsrp): Likewise. |
| 211 | + (__arm_rsr64): Likewise. |
| 212 | + (__arm_rsrf): Likewise. |
| 213 | + (__arm_rsrf64): Likewise. |
| 214 | + (__arm_wsr): Likewise. |
| 215 | + (__arm_wsrp): Likewise. |
| 216 | + (__arm_wsr64): Likewise. |
| 217 | + (__arm_wsrf): Likewise. |
| 218 | + (__arm_wsrf64): Likewise. |
| 219 | + |
| 220 | +2023-12-06 Victor Do Nascimento <victor.donascimento@arm.com> |
| 221 | + |
| 222 | + * config/aarch64/aarch64-protos.h (aarch64_valid_sysreg_name_p): New. |
| 223 | + (aarch64_retrieve_sysreg): Likewise. |
| 224 | + * config/aarch64/aarch64.cc (is_implem_def_reg): Likewise. |
| 225 | + (aarch64_valid_sysreg_name_p): Likewise. |
| 226 | + (aarch64_retrieve_sysreg): Likewise. |
| 227 | + (aarch64_register_sysreg): Likewise. |
| 228 | + (aarch64_init_sysregs): Likewise. |
| 229 | + (aarch64_lookup_sysreg_map): Likewise. |
| 230 | + * config/aarch64/predicates.md (aarch64_sysreg_string): New. |
| 231 | + |
| 232 | +2023-12-06 Victor Do Nascimento <victor.donascimento@arm.com> |
| 233 | + |
| 234 | + * config/aarch64/aarch64.cc (sysreg_t): New. |
| 235 | + (aarch64_sysregs): Likewise. |
| 236 | + (AARCH64_FEATURE): Likewise. |
| 237 | + (AARCH64_FEATURES): Likewise. |
| 238 | + (AARCH64_NO_FEATURES): Likewise. |
| 239 | + * config/aarch64/aarch64.h (AARCH64_ISA_V8A): Add missing |
| 240 | + ISA flag. |
| 241 | + (AARCH64_ISA_V8_1A): Likewise. |
| 242 | + (AARCH64_ISA_V8_7A): Likewise. |
| 243 | + (AARCH64_ISA_V8_8A): Likewise. |
| 244 | + (AARCH64_NO_FEATURES): Likewise. |
| 245 | + (AARCH64_FL_RAS): New ISA flag alias. |
| 246 | + (AARCH64_FL_LOR): Likewise. |
| 247 | + (AARCH64_FL_PAN): Likewise. |
| 248 | + (AARCH64_FL_AMU): Likewise. |
| 249 | + (AARCH64_FL_SCXTNUM): Likewise. |
| 250 | + (AARCH64_FL_ID_PFR2): Likewise. |
| 251 | + (F_DEPRECATED): New. |
| 252 | + (F_REG_READ): Likewise. |
| 253 | + (F_REG_WRITE): Likewise. |
| 254 | + (F_ARCHEXT): Likewise. |
| 255 | + (F_REG_ALIAS): Likewise. |
| 256 | + |
| 257 | +2023-12-06 Victor Do Nascimento <victor.donascimento@arm.com> |
| 258 | + |
| 259 | + * config/aarch64/aarch64-sys-regs.def: New. |
| 260 | + |
| 261 | +2023-12-06 Robin Dapp <rdapp@ventanamicro.com> |
| 262 | + |
| 263 | + PR target/112854 |
| 264 | + PR target/112872 |
| 265 | + * config/riscv/autovec.md (vec_init<mode>qi): New expander. |
| 266 | + |
| 267 | +2023-12-06 Jakub Jelinek <jakub@redhat.com> |
| 268 | + |
| 269 | + PR rtl-optimization/112760 |
| 270 | + * config/i386/i386-passes.def (pass_insert_vzeroupper): Insert |
| 271 | + after pass_postreload_cse rather than pass_reload. |
| 272 | + * config/i386/i386-features.cc (rest_of_handle_insert_vzeroupper): |
| 273 | + Adjust comment for it. |
| 274 | + |
| 275 | +2023-12-06 Jakub Jelinek <jakub@redhat.com> |
| 276 | + |
| 277 | + PR tree-optimization/112809 |
| 278 | + * gimple-lower-bitint.cc (bitint_large_huge::lower_mergeable_stmt): For |
| 279 | + separate_ext in kind == bitint_prec_huge mode if rem == 0, create for |
| 280 | + i == cnt - 1 the loop rather than using size_int (end). |
| 281 | + |
| 282 | +2023-12-06 Jakub Jelinek <jakub@redhat.com> |
| 283 | + |
| 284 | + * gcc.cc (driver_handle_option): Add /* FALLTHROUGH */ comment |
| 285 | + between OPT_pie and OPT_r cases. |
| 286 | + |
| 287 | +2023-12-06 Tobias Burnus <tobias@codesourcery.com> |
| 288 | + |
| 289 | + * tsystem.h (calloc, realloc): Declare when inhibit_libc. |
| 290 | + |
| 291 | +2023-12-06 Richard Biener <rguenther@suse.de> |
| 292 | + |
| 293 | + PR tree-optimization/112843 |
| 294 | + * tree-ssa-operands.cc (update_stmt_operands): Do not call |
| 295 | + update_stmt from ranger. |
| 296 | + * value-query.h (range_query::update_stmt): Remove. |
| 297 | + * gimple-range.h (gimple_ranger::update_stmt): Likewise. |
| 298 | + * gimple-range.cc (gimple_ranger::update_stmt): Likewise. |
| 299 | + |
| 300 | +2023-12-06 xuli <xuli1@eswincomputing.com> |
| 301 | + |
| 302 | + * config/riscv/riscv.md: Remove. |
| 303 | + |
1 | 304 | 2023-12-06 Alexandre Oliva <oliva@adacore.com> |
2 | 305 |
|
3 | 306 | * Makefile.in (OBJS): Add ipa-strub.o. |
|
0 commit comments