+2023-03-12 Jakub Jelinek <jakub@redhat.com>
+
+ * config/aarch64/aarch64.h (aarch64_bf16_type_node): Remove.
+ (aarch64_bf16_ptr_type_node): Adjust comment.
+ * config/aarch64/aarch64.cc (aarch64_gimplify_va_arg_expr): Use
+ bfloat16_type_node rather than aarch64_bf16_type_node.
+ (aarch64_libgcc_floating_mode_supported_p,
+ aarch64_scalar_mode_supported_p): Also support BFmode.
+ (aarch64_invalid_conversion, aarch64_invalid_unary_op): Remove.
+ (aarch64_invalid_binary_op): Remove BFmode related rejections.
+ (TARGET_INVALID_CONVERSION, TARGET_INVALID_UNARY_OP): Don't redefine.
+ * config/aarch64/aarch64-builtins.cc (aarch64_bf16_type_node): Remove.
+ (aarch64_int_or_fp_type): Use bfloat16_type_node rather than
+ aarch64_bf16_type_node.
+ (aarch64_init_simd_builtin_types): Likewise.
+ (aarch64_init_bf16_types): Likewise. Don't create bfloat16_type_node,
+ which is created in tree.cc already.
+ * config/aarch64/aarch64-sve-builtins.def (svbfloat16_t): Likewise.
+
+2023-03-12 Roger Sayle <roger@nextmovesoftware.com>
+
+ PR middle-end/109031
+ * tree-chrec.cc (chrec_apply): When folding "{a, +, a} (x-1)",
+ ensure that the type of x is as wide or wider than the type of a.
+
+2023-03-12 Tamar Christina <tamar.christina@arm.com>
+
+ PR target/108583
+ * config/aarch64/aarch64-simd.md (@aarch64_bitmask_udiv<mode>3): Remove.
+ (*bitmask_shift_plus<mode>): New.
+ * config/aarch64/aarch64-sve2.md (*bitmask_shift_plus<mode>): New.
+ (@aarch64_bitmask_udiv<mode>3): Remove.
+ * config/aarch64/aarch64.cc
+ (aarch64_vectorize_can_special_div_by_constant,
+ TARGET_VECTORIZE_CAN_SPECIAL_DIV_BY_CONST): Removed.
+ (TARGET_VECTORIZE_PREFERRED_DIV_AS_SHIFTS_OVER_MULT,
+ aarch64_vectorize_preferred_div_as_shifts_over_mult): New.
+
+2023-03-12 Tamar Christina <tamar.christina@arm.com>
+
+ PR target/108583
+ * target.def (preferred_div_as_shifts_over_mult): New.
+ * doc/tm.texi.in: Document it.
+ * doc/tm.texi: Regenerate.
+ * targhooks.cc (default_preferred_div_as_shifts_over_mult): New.
+ * targhooks.h (default_preferred_div_as_shifts_over_mult): New.
+ * tree-vect-patterns.cc (vect_recog_divmod_pattern): Use it.
+
+2023-03-12 Tamar Christina <tamar.christina@arm.com>
+ Richard Sandiford <richard.sandiford@arm.com>
+
+ PR target/108583
+ * tree-ssa-math-opts.cc (convert_mult_to_fma): Inhibit FMA in case not
+ single use.
+
+2023-03-12 Tamar Christina <tamar.christina@arm.com>
+ Andrew MacLeod <amacleod@redhat.com>
+
+ PR target/108583
+ * gimple-range-op.h (gimple_range_op_handler): Add maybe_non_standard.
+ * gimple-range-op.cc (gimple_range_op_handler::gimple_range_op_handler):
+ Use it.
+ (gimple_range_op_handler::maybe_non_standard): New.
+ * range-op.cc (class operator_widen_plus_signed,
+ operator_widen_plus_signed::wi_fold, class operator_widen_plus_unsigned,
+ operator_widen_plus_unsigned::wi_fold, class operator_widen_mult_signed,
+ operator_widen_mult_signed::wi_fold, class operator_widen_mult_unsigned,
+ operator_widen_mult_unsigned::wi_fold,
+ ptr_op_widen_mult_signed, ptr_op_widen_mult_unsigned,
+ ptr_op_widen_plus_signed, ptr_op_widen_plus_unsigned): New.
+ * range-op.h (ptr_op_widen_mult_signed, ptr_op_widen_mult_unsigned,
+ ptr_op_widen_plus_signed, ptr_op_widen_plus_unsigned): New
+
+2023-03-12 Tamar Christina <tamar.christina@arm.com>
+
+ PR target/108583
+ * doc/tm.texi (TARGET_VECTORIZE_CAN_SPECIAL_DIV_BY_CONST): Remove.
+ * doc/tm.texi.in: Likewise.
+ * explow.cc (round_push, align_dynamic_address): Revert previous patch.
+ * expmed.cc (expand_divmod): Likewise.
+ * expmed.h (expand_divmod): Likewise.
+ * expr.cc (force_operand, expand_expr_divmod): Likewise.
+ * optabs.cc (expand_doubleword_mod, expand_doubleword_divmod): Likewise.
+ * target.def (can_special_div_by_const): Remove.
+ * target.h: Remove tree-core.h include
+ * targhooks.cc (default_can_special_div_by_const): Remove.
+ * targhooks.h (default_can_special_div_by_const): Remove.
+ * tree-vect-generic.cc (expand_vector_operation): Remove hook.
+ * tree-vect-patterns.cc (vect_recog_divmod_pattern): Remove hook.
+ * tree-vect-stmts.cc (vectorizable_operation): Remove hook.
+
+2023-03-12 Sandra Loosemore <sandra@codesourcery.com>
+
+ * doc/install.texi2html: Fix issue number typo in comment.
+
+2023-03-12 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * doc/gm2.texi (Elementary data types): Equivalence BOOLEAN with
+ bool.
+
+2023-03-12 Sandra Loosemore <sandra@codesourcery.com>
+
+ * doc/invoke.texi (Optimize Options): Add markup to
+ description of asan-kernel-mem-intrinsic-prefix, and clarify
+ wording slightly.
+
2023-03-11 Gerald Pfeifer <gerald@pfeifer.com>
* doc/extend.texi (Named Address Spaces): Drop a redundant link
+2023-03-12 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/109089
+ * gm2-compiler/M2GCCDeclare.mod (DeclareKnownType): Import.
+ * gm2-gcc/gcc-consolidation.h (stdbool.h): Include.
+ * gm2-gcc/init.h (defined): Change block start.
+ * gm2-gcc/m2block.cc: Change FALSE to false, change TRUE to true.
+ * gm2-gcc/m2block.h: Change int to bool.
+ * gm2-gcc/m2builtins.cc: Ditto.
+ * gm2-gcc/m2builtins.h: Ditto.
+ * gm2-gcc/m2convert.cc: Change FALSE to false, TRUE to true and
+ int to bool.
+ * gm2-gcc/m2convert.h: Change int to bool.
+ * gm2-gcc/m2decl.cc: Change int to bool.
+ * gm2-gcc/m2decl.h: Change int to bool.
+ * gm2-gcc/m2expr.cc: Change FALSE to false, TRUE to true and
+ int to bool.
+ * gm2-gcc/m2expr.h: Change int to bool.
+ * gm2-gcc/m2statement.cc: Change FALSE to false, TRUE to true and
+ int to bool.
+ * gm2-gcc/m2statement.h: Change int to bool.
+ * gm2-gcc/m2top.cc: Change int to bool.
+ * gm2-gcc/m2top.h: Change int to bool.
+ * gm2-gcc/m2tree.cc: Change int to bool.
+ * gm2-gcc/m2tree.h: Change int to bool.
+ * gm2-gcc/m2type.cc: Change int to bool.
+ * gm2-gcc/m2type.h: Change int to bool.
+ * gm2-lang.cc (convert_loc): Call convert_to_integer for BOOLEAN_TYPE.
+ * gm2-libs/Builtins.def (isfinitef): Change return value from
+ BOOLEAN to INTEGER.
+ (isfinite): Ditto.
+ (isfinitel): Ditto.
+ * gm2-libs/Builtins.mod (isfinitef): Change return value from
+ BOOLEAN to INTEGER.
+ (isfinite): Ditto.
+ (isfinitel): Ditto.
+ * mc-boot/GASCII.cc: Rebuild.
+ * mc-boot/GASCII.h: Rebuild.
+ * mc-boot/GArgs.cc: Rebuild.
+ * mc-boot/GArgs.h: Rebuild.
+ * mc-boot/GAssertion.cc: Rebuild.
+ * mc-boot/GAssertion.h: Rebuild.
+ * mc-boot/GBreak.cc: Rebuild.
+ * mc-boot/GBreak.h: Rebuild.
+ * mc-boot/GCOROUTINES.h: Rebuild.
+ * mc-boot/GCmdArgs.cc: Rebuild.
+ * mc-boot/GCmdArgs.h: Rebuild.
+ * mc-boot/GDebug.cc: Rebuild.
+ * mc-boot/GDebug.h: Rebuild.
+ * mc-boot/GDynamicStrings.cc: Rebuild.
+ * mc-boot/GDynamicStrings.h: Rebuild.
+ * mc-boot/GEnvironment.cc: Rebuild.
+ * mc-boot/GEnvironment.h: Rebuild.
+ * mc-boot/GFIO.cc: Rebuild.
+ * mc-boot/GFIO.h: Rebuild.
+ * mc-boot/GFormatStrings.cc: Rebuild.
+ * mc-boot/GFormatStrings.h: Rebuild.
+ * mc-boot/GFpuIO.cc: Rebuild.
+ * mc-boot/GFpuIO.h: Rebuild.
+ * mc-boot/GIO.cc: Rebuild.
+ * mc-boot/GIO.h: Rebuild.
+ * mc-boot/GIndexing.cc: Rebuild.
+ * mc-boot/GIndexing.h: Rebuild.
+ * mc-boot/GM2Dependent.cc: Rebuild.
+ * mc-boot/GM2Dependent.h: Rebuild.
+ * mc-boot/GM2EXCEPTION.cc: Rebuild.
+ * mc-boot/GM2EXCEPTION.h: Rebuild.
+ * mc-boot/GM2LINK.h: Rebuild.
+ * mc-boot/GM2RTS.cc: Rebuild.
+ * mc-boot/GM2RTS.h: Rebuild.
+ * mc-boot/GMemUtils.cc: Rebuild.
+ * mc-boot/GMemUtils.h: Rebuild.
+ * mc-boot/GNumberIO.cc: Rebuild.
+ * mc-boot/GNumberIO.h: Rebuild.
+ * mc-boot/GPushBackInput.cc: Rebuild.
+ * mc-boot/GPushBackInput.h: Rebuild.
+ * mc-boot/GRTExceptions.cc: Rebuild.
+ * mc-boot/GRTExceptions.h: Rebuild.
+ * mc-boot/GRTco.h: Rebuild.
+ * mc-boot/GRTentity.h: Rebuild.
+ * mc-boot/GRTint.cc: Rebuild.
+ * mc-boot/GRTint.h: Rebuild.
+ * mc-boot/GSArgs.cc: Rebuild.
+ * mc-boot/GSArgs.h: Rebuild.
+ * mc-boot/GSFIO.cc: Rebuild.
+ * mc-boot/GSFIO.h: Rebuild.
+ * mc-boot/GSYSTEM.h: Rebuild.
+ * mc-boot/GSelective.h: Rebuild.
+ * mc-boot/GStdIO.cc: Rebuild.
+ * mc-boot/GStdIO.h: Rebuild.
+ * mc-boot/GStorage.cc: Rebuild.
+ * mc-boot/GStorage.h: Rebuild.
+ * mc-boot/GStrCase.cc: Rebuild.
+ * mc-boot/GStrCase.h: Rebuild.
+ * mc-boot/GStrIO.cc: Rebuild.
+ * mc-boot/GStrIO.h: Rebuild.
+ * mc-boot/GStrLib.cc: Rebuild.
+ * mc-boot/GStrLib.h: Rebuild.
+ * mc-boot/GStringConvert.cc: Rebuild.
+ * mc-boot/GStringConvert.h: Rebuild.
+ * mc-boot/GSysExceptions.h: Rebuild.
+ * mc-boot/GSysStorage.cc: Rebuild.
+ * mc-boot/GSysStorage.h: Rebuild.
+ * mc-boot/GTimeString.cc: Rebuild.
+ * mc-boot/GTimeString.h: Rebuild.
+ * mc-boot/GUnixArgs.h: Rebuild.
+ * mc-boot/Galists.cc: Rebuild.
+ * mc-boot/Galists.h: Rebuild.
+ * mc-boot/Gdecl.cc: Rebuild.
+ * mc-boot/Gdecl.h: Rebuild.
+ * mc-boot/Gdtoa.h: Rebuild.
+ * mc-boot/Gerrno.h: Rebuild.
+ * mc-boot/Gkeyc.cc: Rebuild.
+ * mc-boot/Gkeyc.h: Rebuild.
+ * mc-boot/Gldtoa.h: Rebuild.
+ * mc-boot/Glibc.h: Rebuild.
+ * mc-boot/Glibm.h: Rebuild.
+ * mc-boot/Glists.cc: Rebuild.
+ * mc-boot/Glists.h: Rebuild.
+ * mc-boot/GmcComment.cc: Rebuild.
+ * mc-boot/GmcComment.h: Rebuild.
+ * mc-boot/GmcComp.cc: Rebuild.
+ * mc-boot/GmcComp.h: Rebuild.
+ * mc-boot/GmcDebug.cc: Rebuild.
+ * mc-boot/GmcDebug.h: Rebuild.
+ * mc-boot/GmcError.cc: Rebuild.
+ * mc-boot/GmcError.h: Rebuild.
+ * mc-boot/GmcFileName.cc: Rebuild.
+ * mc-boot/GmcFileName.h: Rebuild.
+ * mc-boot/GmcLexBuf.cc: Rebuild.
+ * mc-boot/GmcLexBuf.h: Rebuild.
+ * mc-boot/GmcMetaError.cc: Rebuild.
+ * mc-boot/GmcMetaError.h: Rebuild.
+ * mc-boot/GmcOptions.cc: Rebuild.
+ * mc-boot/GmcOptions.h: Rebuild.
+ * mc-boot/GmcPreprocess.cc: Rebuild.
+ * mc-boot/GmcPreprocess.h: Rebuild.
+ * mc-boot/GmcPretty.cc: Rebuild.
+ * mc-boot/GmcPretty.h: Rebuild.
+ * mc-boot/GmcPrintf.cc: Rebuild.
+ * mc-boot/GmcPrintf.h: Rebuild.
+ * mc-boot/GmcQuiet.cc: Rebuild.
+ * mc-boot/GmcQuiet.h: Rebuild.
+ * mc-boot/GmcReserved.cc: Rebuild.
+ * mc-boot/GmcReserved.h: Rebuild.
+ * mc-boot/GmcSearch.cc: Rebuild.
+ * mc-boot/GmcSearch.h: Rebuild.
+ * mc-boot/GmcStack.cc: Rebuild.
+ * mc-boot/GmcStack.h: Rebuild.
+ * mc-boot/GmcStream.cc: Rebuild.
+ * mc-boot/GmcStream.h: Rebuild.
+ * mc-boot/Gmcflex.h: Rebuild.
+ * mc-boot/Gmcp1.cc: Rebuild.
+ * mc-boot/Gmcp1.h: Rebuild.
+ * mc-boot/Gmcp2.cc: Rebuild.
+ * mc-boot/Gmcp2.h: Rebuild.
+ * mc-boot/Gmcp3.cc: Rebuild.
+ * mc-boot/Gmcp3.h: Rebuild.
+ * mc-boot/Gmcp4.cc: Rebuild.
+ * mc-boot/Gmcp4.h: Rebuild.
+ * mc-boot/Gmcp5.cc: Rebuild.
+ * mc-boot/Gmcp5.h: Rebuild.
+ * mc-boot/GnameKey.cc: Rebuild.
+ * mc-boot/GnameKey.h: Rebuild.
+ * mc-boot/GsymbolKey.cc: Rebuild.
+ * mc-boot/GsymbolKey.h: Rebuild.
+ * mc-boot/Gtermios.h: Rebuild.
+ * mc-boot/Gtop.cc: Rebuild.
+ * mc-boot/Gvarargs.cc: Rebuild.
+ * mc-boot/Gvarargs.h: Rebuild.
+ * mc-boot/Gwlists.cc: Rebuild.
+ * mc-boot/Gwlists.h: Rebuild.
+ * mc-boot/Gwrapc.h: Rebuild.
+ * mc/decl.mod (doBoolC): New procedure.
+ (doBaseC): Call doBoolC.
+ * mc/keyc.mod: Import useBool.
+ (genBool): New procedure.
+ (genDefs): Call genBool.
+ * mc/mcOptions.def (useBool): New procedure.
+ * mc/mcOptions.mod (useBool): New procedure.
+ (useBoolType): New variable.
+ (optionIs): Assign useBoolType to TRUE.
+
2023-03-04 Gaius Mulley <gaiusmod2@gmail.com>
* mc-boot-ch/GBuiltins.cc: New file.