summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-09-09 00:16:32 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-09-09 00:16:32 +0000
commitb6db7cd41ccf821ffb10ff4f18845465e98803cd (patch)
treeaa1ac0acd3abc087c4b2bb76ccdb4f959753553d
parent3c64582372cf445eabc4f9e99def7e33fb0270ee (diff)
downloadgcc-b6db7cd41ccf821ffb10ff4f18845465e98803cd.tar.gz
Daily bump.
-rw-r--r--gcc/ChangeLog271
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/analyzer/ChangeLog12
-rw-r--r--gcc/c-family/ChangeLog9
-rw-r--r--gcc/cp/ChangeLog15
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/testsuite/ChangeLog165
-rw-r--r--libgcc/ChangeLog11
9 files changed, 494 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4283c00f272..2f27a0cb0b4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,274 @@
+2021-09-08 Jonathan Wakely <jwakely@redhat.com>
+
+ PR c++/60318
+ * doc/trouble.texi (Copy Assignment): Fix description of
+ behaviour and fix code in example.
+
+2021-09-08 Segher Boessenkool <segher@kernel.crashing.org>
+
+ PR target/102107
+ * config/rs6000/rs6000-logue.c (rs6000_emit_epilogue): For ELFv2 use
+ r11 instead of r12 for restoring CR.
+
+2021-09-08 Jakub Jelinek <jakub@redhat.com>
+ liuhongt <hongtao.liu@intel.com>
+
+ PR target/89984
+ * config/i386/i386.md (@xorsign<mode>3_1): Remove.
+ * config/i386/i386-expand.c (ix86_expand_xorsign): Expand right away
+ into AND with mask and XOR, using paradoxical subregs.
+ (ix86_split_xorsign): Remove.
+ * config/i386/i386-protos.h (ix86_split_xorsign): Remove.
+
+2021-09-08 Di Zhao <dizhao@os.amperecomputing.com>
+
+ * tree-ssa-sccvn.c (vn_nary_op_insert_into): fix result compare
+
+2021-09-08 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/102224
+ * config/i386/i386.md (xorsign<mode>3): If operands[1] is equal to
+ operands[2], emit abs<mode>2 instead.
+ (@xorsign<mode>3_1): Add early-clobbers for output operand, enable
+ first alternative even for avx, add another alternative with
+ =&Yv <- 0, Yv, Yvm constraints.
+ * config/i386/i386-expand.c (ix86_split_xorsign): If op0 is equal
+ to op1, emit vpandn instead.
+
+2021-09-08 liuhongt <hongtao.liu@intel.com>
+
+ * config/i386/avx512fp16intrin.h (_mm_set_ph): New intrinsic.
+ (_mm256_set_ph): Likewise.
+ (_mm512_set_ph): Likewise.
+ (_mm_setr_ph): Likewise.
+ (_mm256_setr_ph): Likewise.
+ (_mm512_setr_ph): Likewise.
+ (_mm_set1_ph): Likewise.
+ (_mm256_set1_ph): Likewise.
+ (_mm512_set1_ph): Likewise.
+ (_mm_setzero_ph): Likewise.
+ (_mm256_setzero_ph): Likewise.
+ (_mm512_setzero_ph): Likewise.
+ (_mm_set_sh): Likewise.
+ (_mm_load_sh): Likewise.
+ (_mm_store_sh): Likewise.
+ * config/i386/i386-builtin-types.def (V8HF): New type.
+ (DEF_FUNCTION_TYPE (V8HF, V8HI)): New builtin function type
+ * config/i386/i386-expand.c (ix86_expand_vector_init_duplicate):
+ Support vector HFmodes.
+ (ix86_expand_vector_init_one_nonzero): Likewise.
+ (ix86_expand_vector_init_one_var): Likewise.
+ (ix86_expand_vector_init_interleave): Likewise.
+ (ix86_expand_vector_init_general): Likewise.
+ (ix86_expand_vector_set): Likewise.
+ (ix86_expand_vector_extract): Likewise.
+ (ix86_expand_vector_init_concat): Likewise.
+ (ix86_expand_sse_movcc): Handle vector HFmodes.
+ (ix86_expand_vector_set_var): Ditto.
+ * config/i386/i386-modes.def: Add HF vector modes in comment.
+ * config/i386/i386.c (classify_argument): Add HF vector modes.
+ (ix86_hard_regno_mode_ok): Allow HF vector modes for AVX512FP16.
+ (ix86_vector_mode_supported_p): Likewise.
+ (ix86_set_reg_reg_cost): Handle vector HFmode.
+ (ix86_get_ssemov): Handle vector HFmode.
+ (function_arg_advance_64): Pass unamed V16HFmode and V32HFmode
+ by stack.
+ (function_arg_advance_32): Pass V8HF/V16HF/V32HF by sse reg for 32bit
+ mode.
+ (function_arg_advance_32): Ditto.
+ * config/i386/i386.h (VALID_AVX512FP16_REG_MODE): New.
+ (VALID_AVX256_REG_OR_OI_MODE): Rename to ..
+ (VALID_AVX256_REG_OR_OI_VHF_MODE): .. this, and add V16HF.
+ (VALID_SSE2_REG_VHF_MODE): New.
+ (VALID_AVX512VL_128_REG_MODE): Add V8HF and TImode.
+ (SSE_REG_MODE_P): Add vector HFmode.
+ * config/i386/i386.md (mode): Add HF vector modes.
+ (MODE_SIZE): Likewise.
+ (ssemodesuffix): Add ph suffix for HF vector modes.
+ * config/i386/sse.md (VFH_128): New mode iterator.
+ (VMOVE): Adjust for HF vector modes.
+ (V): Likewise.
+ (V_256_512): Likewise.
+ (avx512): Likewise.
+ (avx512fmaskmode): Likewise.
+ (shuffletype): Likewise.
+ (sseinsnmode): Likewise.
+ (ssedoublevecmode): Likewise.
+ (ssehalfvecmode): Likewise.
+ (ssehalfvecmodelower): Likewise.
+ (ssePScmode): Likewise.
+ (ssescalarmode): Likewise.
+ (ssescalarmodelower): Likewise.
+ (sseintprefix): Likewise.
+ (i128): Likewise.
+ (bcstscalarsuff): Likewise.
+ (xtg_mode): Likewise.
+ (VI12HF_AVX512VL): New mode_iterator.
+ (VF_AVX512FP16): Likewise.
+ (VIHF): Likewise.
+ (VIHF_256): Likewise.
+ (VIHF_AVX512BW): Likewise.
+ (V16_256): Likewise.
+ (V32_512): Likewise.
+ (sseintmodesuffix): New mode_attr.
+ (sse): Add scalar and vector HFmodes.
+ (ssescalarmode): Add vector HFmode mapping.
+ (ssescalarmodesuffix): Add sh suffix for HFmode.
+ (*<sse>_vm<insn><mode>3): Use VFH_128.
+ (*<sse>_vm<multdiv_mnemonic><mode>3): Likewise.
+ (*ieee_<ieee_maxmin><mode>3): Likewise.
+ (<avx512>_blendm<mode>): New define_insn.
+ (vec_setv8hf): New define_expand.
+ (vec_set<mode>_0): New define_insn for HF vector set.
+ (*avx512fp16_movsh): Likewise.
+ (avx512fp16_movsh): Likewise.
+ (vec_extract_lo_v32hi): Rename to ...
+ (vec_extract_lo_<mode>): ... this, and adjust to allow HF
+ vector modes.
+ (vec_extract_hi_v32hi): Likewise.
+ (vec_extract_hi_<mode>): Likewise.
+ (vec_extract_lo_v16hi): Likewise.
+ (vec_extract_lo_<mode>): Likewise.
+ (vec_extract_hi_v16hi): Likewise.
+ (vec_extract_hi_<mode>): Likewise.
+ (vec_set_hi_v16hi): Likewise.
+ (vec_set_hi_<mode>): Likewise.
+ (vec_set_lo_v16hi): Likewise.
+ (vec_set_lo_<mode>): Likewise.
+ (*vec_extract<mode>_0): New define_insn_and_split for HF
+ vector extract.
+ (*vec_extracthf): New define_insn.
+ (VEC_EXTRACT_MODE): Add HF vector modes.
+ (PINSR_MODE): Add V8HF.
+ (sse2p4_1): Likewise.
+ (pinsr_evex_isa): Likewise.
+ (<sse2p4_1>_pinsr<ssemodesuffix>): Adjust to support
+ insert for V8HFmode.
+ (pbroadcast_evex_isa): Add HF vector modes.
+ (AVX2_VEC_DUP_MODE): Likewise.
+ (VEC_INIT_MODE): Likewise.
+ (VEC_INIT_HALF_MODE): Likewise.
+ (avx2_pbroadcast<mode>): Adjust to support HF vector mode
+ broadcast.
+ (avx2_pbroadcast<mode>_1): Likewise.
+ (<avx512>_vec_dup<mode>_1): Likewise.
+ (<avx512>_vec_dup<mode><mask_name>): Likewise.
+ (<mask_codefor><avx512>_vec_dup_gpr<mode><mask_name>):
+ Likewise.
+
+2021-09-08 Guo, Xuepeng <xuepeng.guo@intel.com>
+ H.J. Lu <hongjiu.lu@intel.com>
+ Liu Hongtao <hongtao.liu@intel.com>
+ Wang Hongyu <hongyu.wang@intel.com>
+ Xu Dianhong <dianhong.xu@intel.com>
+
+ * common/config/i386/cpuinfo.h (get_available_features):
+ Detect FEATURE_AVX512FP16.
+ * common/config/i386/i386-common.c
+ (OPTION_MASK_ISA_AVX512FP16_SET,
+ OPTION_MASK_ISA_AVX512FP16_UNSET,
+ OPTION_MASK_ISA2_AVX512FP16_SET,
+ OPTION_MASK_ISA2_AVX512FP16_UNSET): New.
+ (OPTION_MASK_ISA2_AVX512BW_UNSET,
+ OPTION_MASK_ISA2_AVX512BF16_UNSET): Add AVX512FP16.
+ (ix86_handle_option): Handle -mavx512fp16.
+ * common/config/i386/i386-cpuinfo.h (enum processor_features):
+ Add FEATURE_AVX512FP16.
+ * common/config/i386/i386-isas.h: Add entry for AVX512FP16.
+ * config.gcc: Add avx512fp16intrin.h.
+ * config/i386/avx512fp16intrin.h: New intrinsic header.
+ * config/i386/cpuid.h: Add bit_AVX512FP16.
+ * config/i386/i386-builtin-types.def: (FLOAT16): New primitive type.
+ * config/i386/i386-builtins.c: Support _Float16 type for i386
+ backend.
+ (ix86_register_float16_builtin_type): New function.
+ (ix86_float16_type_node): New.
+ * config/i386/i386-c.c (ix86_target_macros_internal): Define
+ __AVX512FP16__.
+ * config/i386/i386-expand.c (ix86_expand_branch): Support
+ HFmode.
+ (ix86_prepare_fp_compare_args): Adjust TARGET_SSE_MATH &&
+ SSE_FLOAT_MODE_P to SSE_FLOAT_MODE_SSEMATH_OR_HF_P.
+ (ix86_expand_fp_movcc): Ditto.
+ * config/i386/i386-isa.def: Add PTA define for AVX512FP16.
+ * config/i386/i386-options.c (isa2_opts): Add -mavx512fp16.
+ (ix86_valid_target_attribute_inner_p): Add avx512fp16 attribute.
+ * config/i386/i386.c (ix86_get_ssemov): Use
+ vmovdqu16/vmovw/vmovsh for HFmode/HImode scalar or vector.
+ (ix86_get_excess_precision): Use
+ FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16 when TARGET_AVX512FP16
+ existed.
+ (sse_store_index): Use SFmode cost for HFmode cost.
+ (inline_memory_move_cost): Add HFmode, and perfer SSE cost over
+ GPR cost for HFmode.
+ (ix86_hard_regno_mode_ok): Allow HImode in sse register.
+ (ix86_mangle_type): Add manlging for _Float16 type.
+ (inline_secondary_memory_needed): No memory is needed for
+ 16bit movement between gpr and sse reg under
+ TARGET_AVX512FP16.
+ (ix86_multiplication_cost): Adjust TARGET_SSE_MATH &&
+ SSE_FLOAT_MODE_P to SSE_FLOAT_MODE_SSEMATH_OR_HF_P.
+ (ix86_division_cost): Ditto.
+ (ix86_rtx_costs): Ditto.
+ (ix86_add_stmt_cost): Ditto.
+ (ix86_optab_supported_p): Ditto.
+ * config/i386/i386.h (VALID_AVX512F_SCALAR_MODE): Add HFmode.
+ (SSE_FLOAT_MODE_SSEMATH_OR_HF_P): Add HFmode.
+ (PTA_SAPPHIRERAPIDS): Add PTA_AVX512FP16.
+ * config/i386/i386.md (mode): Add HFmode.
+ (MODE_SIZE): Add HFmode.
+ (isa): Add avx512fp16.
+ (enabled): Handle avx512fp16.
+ (ssemodesuffix): Add sh suffix for HFmode.
+ (comm): Add mult, div.
+ (plusminusmultdiv): New code iterator.
+ (insn): Add mult, div.
+ (*movhf_internal): Adjust for avx512fp16 instruction.
+ (*movhi_internal): Ditto.
+ (*cmpi<unord>hf): New define_insn for HFmode.
+ (*ieee_s<ieee_maxmin>hf3): Likewise.
+ (extendhf<mode>2): Likewise.
+ (trunc<mode>hf2): Likewise.
+ (float<floatunssuffix><mode>hf2): Likewise.
+ (*<insn>hf): Likewise.
+ (cbranchhf4): New expander.
+ (movhfcc): Likewise.
+ (<insn>hf3): Likewise.
+ (mulhf3): Likewise.
+ (divhf3): Likewise.
+ * config/i386/i386.opt: Add mavx512fp16.
+ * config/i386/immintrin.h: Include avx512fp16intrin.h.
+ * doc/invoke.texi: Add mavx512fp16.
+ * doc/extend.texi: Add avx512fp16 Usage Notes.
+
+2021-09-08 liuhongt <hongtao.liu@intel.com>
+
+ * common.opt: Support -fexcess-precision=16.
+ * config/aarch64/aarch64.c (aarch64_excess_precision): Return
+ FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16 when
+ EXCESS_PRECISION_TYPE_FLOAT16.
+ * config/arm/arm.c (arm_excess_precision): Ditto.
+ * config/i386/i386.c (ix86_get_excess_precision): Ditto.
+ * config/m68k/m68k.c (m68k_excess_precision): Issue an error
+ when EXCESS_PRECISION_TYPE_FLOAT16.
+ * config/s390/s390.c (s390_excess_precision): Ditto.
+ * coretypes.h (enum excess_precision_type): Add
+ EXCESS_PRECISION_TYPE_FLOAT16.
+ * doc/tm.texi (TARGET_C_EXCESS_PRECISION): Update documents.
+ * doc/tm.texi.in (TARGET_C_EXCESS_PRECISION): Ditto.
+ * doc/extend.texi (Half-Precision): Document
+ -fexcess-precision=16.
+ * flag-types.h (enum excess_precision): Add
+ EXCESS_PRECISION_FLOAT16.
+ * target.def (excess_precision): Update document.
+ * tree.c (excess_precision_type): Set excess_precision_type to
+ EXCESS_PRECISION_FLOAT16 when -fexcess-precision=16.
+
+2021-09-08 liuhongt <hongtao.liu@intel.com>
+
+ * doc/extend.texi: (@node Floating Types): Adjust the wording.
+ (@node Half-Precision): Ditto.
+
2021-09-07 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
PR target/102115
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index f1d7f5b06bc..6d29c0e5650 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20210908
+20210909
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index dddb90fdbda..ff5fc4ebbc0 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2021-09-08 liuhongt <hongtao.liu@intel.com>
+
+ * gcc-interface/misc.c (gnat_post_options): Issue an error for
+ -fexcess-precision=16.
+
2021-08-19 Arnaud Charlet <charlet@adacore.com>
PR ada/101924
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 3f0c046eb3f..03ba64fb0d2 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,15 @@
+2021-09-08 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/102225
+ * analyzer.h (compat_types_p): New decl.
+ * constraint-manager.cc
+ (constraint_manager::get_or_add_equiv_class): Guard against NULL
+ type when checking for pointer types.
+ * region-model-impl-calls.cc (region_model::impl_call_realloc):
+ Guard against NULL lhs type/region. Guard against the size value
+ not being of a compatible type for dynamic extents.
+ * region-model.cc (compat_types_p): Make non-static.
+
2021-08-30 David Malcolm <dmalcolm@redhat.com>
PR analyzer/99260
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 3d40b9aed9a..d5618a59702 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,12 @@
+2021-09-08 liuhongt <hongtao.liu@intel.com>
+
+ * c-common.c (excess_precision_mode_join): Update below comments.
+ (c_ts18661_flt_eval_method): Set excess_precision_type to
+ EXCESS_PRECISION_TYPE_FLOAT16 when -fexcess-precision=16.
+ * c-cppbuiltin.c (cpp_atomic_builtins): Update below comments.
+ (c_cpp_flt_eval_method_iec_559): Set excess_precision_type to
+ EXCESS_PRECISION_TYPE_FLOAT16 when -fexcess-precision=16.
+
2021-09-07 Marcel Vollweiler <marcel@codesourcery.com>
* c-omp.c (c_finish_omp_flush): Handle MEMMODEL_SEQ_CST.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 2b4bbdc18e9..84b9b97c13e 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,18 @@
+2021-09-08 Richard Biener <rguenther@suse.de>
+
+ PR c++/102228
+ * cp-tree.h (ANON_AGGR_TYPE_FIELD): New define.
+ * decl.c (fixup_anonymous_aggr): Wipe RTTI info put in
+ place on invalid code.
+ * decl2.c (reset_type_linkage): Guard CLASSTYPE_TYPEINFO_VAR
+ access.
+ * module.cc (trees_in::read_class_def): Likewise. Reconstruct
+ ANON_AGGR_TYPE_FIELD.
+ * semantics.c (finish_member_declaration): Populate
+ ANON_AGGR_TYPE_FIELD for anon aggregate typed members.
+ * typeck.c (lookup_anon_field): Remove DFS search and return
+ ANON_AGGR_TYPE_FIELD directly.
+
2021-09-07 Jakub Jelinek <jakub@redhat.com>
PR c++/100495
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 6c479da6e1c..2b148f111c1 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2021-09-08 liuhongt <hongtao.liu@intel.com>
+
+ * options.c (gfc_post_options): Issue an error for
+ -fexcess-precision=16.
+
2021-09-07 Harald Anlauf <anlauf@gmx.de>
PR fortran/101327
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 92c978e4979..5d85573640e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,168 @@
+2021-09-08 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/102225
+ * gcc.dg/analyzer/realloc-1.c (test_10): New.
+ * gcc.dg/analyzer/torture/pr102225.c: New test.
+
+2021-09-08 Joseph Myers <joseph@codesourcery.com>
+
+ * gcc.dg/array-quals-1.c: Allow .sdata section in more cases.
+
+2021-09-08 Joseph Myers <joseph@codesourcery.com>
+
+ * gcc.dg/tree-ssa/pr89430-1.c, gcc.dg/tree-ssa/pr89430-2.c,
+ gcc.dg/tree-ssa/pr89430-3.c, gcc.dg/tree-ssa/pr89430-4.c,
+ gcc.dg/tree-ssa/pr89430-5.c, gcc.dg/tree-ssa/pr89430-6.c,
+ gcc.dg/tree-ssa/pr89430-7-comp-ref.c,
+ gcc.dg/tree-ssa/pr89430-8-mem-ref-size.c,
+ gcc.dg/tree-ssa/pr99473-1.c: Use -ftree-cselim.
+
+2021-09-08 Jakub Jelinek <jakub@redhat.com>
+ liuhongt <hongtao.liu@intel.com>
+
+ PR target/89984
+ * gcc.target/i386/avx-pr102224.c: Fix up PR number.
+ * gcc.dg/pr89984.c: New test.
+ * gcc.target/i386/avx-pr89984.c: New test.
+
+2021-09-08 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/102224
+ * gcc.dg/pr102224.c: New test.
+ * gcc.target/i386/avx-pr102224.c: New test.
+
+2021-09-08 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/x86_64/abi/avx512fp16/m512h/abi-avx512fp16-zmm.exp:
+ New file.
+ * gcc.target/x86_64/abi/avx512fp16/m512h/args.h: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/m512h/asm-support.S: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/m512h/avx512fp16-zmm-check.h:
+ Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/m512h/test_m512_returning.c:
+ Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/m512h/test_passing_m512.c:
+ Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/m512h/test_passing_structs.c:
+ Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/m512h/test_passing_unions.c:
+ Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/m512h/test_varargs-m512.c:
+ Likewise.
+
+2021-09-08 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/x86_64/abi/avx512fp16/m256h/abi-avx512fp16-ymm.exp:
+ New exp file.
+ * gcc.target/x86_64/abi/avx512fp16/m256h/args.h: New header.
+ * gcc.target/x86_64/abi/avx512fp16/m256h/avx512fp16-ymm-check.h:
+ Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/m256h/asm-support.S: New.
+ * gcc.target/x86_64/abi/avx512fp16/m256h/test_m256_returning.c:
+ New test.
+ * gcc.target/x86_64/abi/avx512fp16/m256h/test_passing_m256.c: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/m256h/test_passing_structs.c:
+ Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/m256h/test_passing_unions.c:
+ Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/m256h/test_varargs-m256.c: Likewise.
+
+2021-09-08 H.J. Lu <hjl.tools@gmail.com>
+
+ * gcc.target/x86_64/abi/avx512fp16/abi-avx512fp16-xmm.exp: New exp
+ file for abi test.
+ * gcc.target/x86_64/abi/avx512fp16/args.h: New header file for abi test.
+ * gcc.target/x86_64/abi/avx512fp16/avx512fp16-check.h: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/avx512fp16-xmm-check.h: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/defines.h: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/macros.h: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/asm-support.S: New asm for abi check.
+ * gcc.target/x86_64/abi/avx512fp16/test_3_element_struct_and_unions.c:
+ New test.
+ * gcc.target/x86_64/abi/avx512fp16/test_basic_alignment.c: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_basic_array_size_and_align.c:
+ Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_basic_returning.c: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_basic_sizes.c: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_basic_struct_size_and_align.c:
+ Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_basic_union_size_and_align.c:
+ Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_complex_returning.c: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_m64m128_returning.c: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_passing_floats.c: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_passing_m64m128.c: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_passing_structs.c: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_passing_unions.c: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_struct_returning.c: Likewise.
+ * gcc.target/x86_64/abi/avx512fp16/test_varargs-m128.c: Likewise.
+
+2021-09-08 H.J. Lu <hjl.tools@gmail.com>
+
+ * gcc.target/i386/avx512fp16-vararg-1.c: New test.
+ * gcc.target/i386/avx512fp16-vararg-2.c: Ditto.
+ * gcc.target/i386/avx512fp16-vararg-3.c: Ditto.
+ * gcc.target/i386/avx512fp16-vararg-4.c: Ditto.
+
+2021-09-08 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/m512-check.h: Add union128h, union256h, union512h.
+ * gcc.target/i386/avx512fp16-10a.c: New test.
+ * gcc.target/i386/avx512fp16-10b.c: Ditto.
+ * gcc.target/i386/avx512fp16-1a.c: Ditto.
+ * gcc.target/i386/avx512fp16-1b.c: Ditto.
+ * gcc.target/i386/avx512fp16-1c.c: Ditto.
+ * gcc.target/i386/avx512fp16-1d.c: Ditto.
+ * gcc.target/i386/avx512fp16-1e.c: Ditto.
+ * gcc.target/i386/avx512fp16-2a.c: Ditto.
+ * gcc.target/i386/avx512fp16-2b.c: Ditto.
+ * gcc.target/i386/avx512fp16-2c.c: Ditto.
+ * gcc.target/i386/avx512fp16-3a.c: Ditto.
+ * gcc.target/i386/avx512fp16-3b.c: Ditto.
+ * gcc.target/i386/avx512fp16-3c.c: Ditto.
+ * gcc.target/i386/avx512fp16-4.c: Ditto.
+ * gcc.target/i386/avx512fp16-5.c: Ditto.
+ * gcc.target/i386/avx512fp16-6.c: Ditto.
+ * gcc.target/i386/avx512fp16-7.c: Ditto.
+ * gcc.target/i386/avx512fp16-8.c: Ditto.
+ * gcc.target/i386/avx512fp16-9a.c: Ditto.
+ * gcc.target/i386/avx512fp16-9b.c: Ditto.
+ * gcc.target/i386/pr54855-13.c: Ditto.
+ * gcc.target/i386/avx512fp16-vec_set_var.c: Ditto.
+
+2021-09-08 Guo, Xuepeng <xuepeng.guo@intel.com>
+ H.J. Lu <hongjiu.lu@intel.com>
+ Liu Hongtao <hongtao.liu@intel.com>
+ Wang Hongyu <hongyu.wang@intel.com>
+ Xu Dianhong <dianhong.xu@intel.com>
+
+ * gcc.target/i386/avx-1.c: Add -mavx512fp16 in dg-options.
+ * gcc.target/i386/avx-2.c: Ditto.
+ * gcc.target/i386/avx512-check.h: Check cpuid for AVX512FP16.
+ * gcc.target/i386/funcspec-56.inc: Add new target attribute check.
+ * gcc.target/i386/sse-13.c: Add -mavx512fp16.
+ * gcc.target/i386/sse-14.c: Ditto.
+ * gcc.target/i386/sse-22.c: Ditto.
+ * gcc.target/i386/sse-23.c: Ditto.
+ * lib/target-supports.exp: (check_effective_target_avx512fp16): New.
+ * g++.target/i386/float16-1.C: New test.
+ * g++.target/i386/float16-2.C: Ditto.
+ * g++.target/i386/float16-3.C: Ditto.
+ * gcc.target/i386/avx512fp16-12a.c: Ditto.
+ * gcc.target/i386/avx512fp16-12b.c: Ditto.
+ * gcc.target/i386/float16-3a.c: Ditto.
+ * gcc.target/i386/float16-3b.c: Ditto.
+ * gcc.target/i386/float16-4a.c: Ditto.
+ * gcc.target/i386/float16-4b.c: Ditto.
+ * gcc.target/i386/pr54855-12.c: Ditto.
+ * g++.dg/other/i386-2.C: Ditto.
+ * g++.dg/other/i386-3.C: Ditto.
+
+2021-09-08 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/float16-6.c: New test.
+ * gcc.target/i386/float16-7.c: New test.
+
2021-09-07 David Faust <david.faust@oracle.com>
* gcc.target/bpf/core-attr-1.c: New test.
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 6e94db96b6d..04d17ac3bab 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,14 @@
+2021-09-08 liuhongt <hongtao.liu@intel.com>
+
+ * config/i386/t-softfp: Compile __{mul,div}hc3 into
+ libgcc_s.so.1.
+
+2021-09-08 Jakub Jelinek <jakub@redhat.com>
+ Iain Sandoe <iain@sandoe.co.uk>
+
+ * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
+ and export *hf* and *hc* functions at GCC_12.0.0.
+
2021-09-06 liuhongt <hongtao.liu@intel.com>
* Makefile.in: Adjust to support specific CFLAGS for each