2019-12-09 Hongtao Liu <hongtao.liu@intel.com>
- * gcc/common/config/i386/i386-common.c
- (OPTION_MASK_ISA_AVX5124FMAPS_SET): Rename to
- OPTION_MASK_ISA2_AVX5124FMAPS_SET.
- (OPTION_MASK_ISA_AVX5124VNNIW_SET, OPTION_MASK_ISA_AVX512BF16_SET,
- OPTION_MASK_ISA_AVX512VP2INTERSECT_SET,
- OPTION_MASK_ISA_PCONFIG_SET, OPTION_MASK_ISA_WBNOINVD_SET,
- OPTION_MASK_ISA_SGX_SET, OPTION_MASK_ISA_CX16_SET,
- OPTION_MASK_ISA_MOVBE_SET, OPTION_MASK_ISA_PTWRITE_SET,
- OPTION_MASK_ISA_MWAITX_SET, OPTION_MASK_ISA_CLZERO_SET,
- OPTION_MASK_ISA_RDPID_SET, OPTION_MASK_ISA_VAES_SET,
- OPTION_MASK_ISA_MOVDIR64B_SET, OPTION_MASK_ISA_WAITPKG_SET,
- OPTION_MASK_ISA_CLDEMOTE_SET, OPTION_MASK_ISA_ENQCMD_SET,
- OPTION_MASK_ISA_AVX5124FMAPS_UNSET,
- OPTION_MASK_ISA_AVX5124VNNIW_UNSET,
- OPTION_MASK_ISA_AVX512BF16_UNSET,
- OPTION_MASK_ISA_AVX512VP2INTERSECT_UNSET,
- OPTION_MASK_ISA_PCONFIG_UNSET, OPTION_MASK_ISA_WBNOINVD_UNSET,
- OPTION_MASK_ISA_SGX_UNSET, OPTION_MASK_ISA_CX16_UNSET,
- OPTION_MASK_ISA_MOVBE_UNSET, OPTION_MASK_ISA_PTWRITE_UNSET,
- OPTION_MASK_ISA_MWAITX_UNSET, OPTION_MASK_ISA_CLZERO_UNSET,
- OPTION_MASK_ISA_RDPID_UNSET, OPTION_MASK_ISA_VAES_UNSET,
- OPTION_MASK_ISA_MOVDIR64B_UNSET, OPTION_MASK_ISA_WAITPKG_UNSET,
- OPTION_MASK_ISA_CLDEMOTE_UNSET, OPTION_MASK_ISA_ENQCMD_UNSET,
- OPTION_MASK_ISA_AVX5124FMAPS, OPTION_MASK_ISA_AVX5124VNNIW,
- OPTION_MASK_ISA_AVX512BF16, OPTION_MASK_ISA_AVX512VP2INTERSECT,
- OPTION_MASK_ISA_PCONFIG, OPTION_MASK_ISA_WBNOINVD,
- OPTION_MASK_ISA_SGX, OPTION_MASK_ISA_CX16, OPTION_MASK_ISA_MOVBE,
- OPTION_MASK_ISA_PTWRITE, OPTION_MASK_ISA_MWAITX,
- OPTION_MASK_ISA_CLZERO, OPTION_MASK_ISA_RDPID,
- OPTION_MASK_ISA_VAES, OPTION_MASK_ISA_MOVDIR64B,
- OPTION_MASK_ISA_WAITPKG, OPTION_MASK_ISA_CLDEMOTE,
- OPTION_MASK_ISA_ENQCMD): Ditto.
- * gcc/config/i386/i386-builtin.def
- (OPTION_MASK_ISA_AVX5124FMAPS, OPTION_MASK_ISA_AVX5124VNNIW,
- OPTION_MASK_ISA_AVX512BF16, OPTION_MASK_ISA_AVX512VP2INTERSECT,
- OPTION_MASK_ISA_WBNOINVD, OPTION_MASK_ISA_PTWRITE,
- OPTION_MASK_ISA_RDPID, OPTION_MASK_ISA_VAES,
- OPTION_MASK_ISA_MOVDIR64B, OPTION_MASK_ISA_ENQCMD): Ditto.
- * gcc/config/i386/i386-builtins.c (OPTION_MASK_ISA_MWAITX,
- OPTION_MASK_ISA_CLZERO, OPTION_MASK_ISA_WAITPKG,
- OPTION_MASK_ISA_CLDEMOTE, OPTION_MASK_ISA_WBNOINVD): Ditto.
- * gcc/config/i386/i386-c.c
- (OPTION_MASK_ISA_AVX5124FMAPS, OPTION_MASK_ISA_AVX5124VNNIW,
- OPTION_MASK_ISA_AVX512BF16, OPTION_MASK_ISA_AVX512VP2INTERSECT,
- OPTION_MASK_ISA_PCONFIG, OPTION_MASK_ISA_WBNOINVD,
- OPTION_MASK_ISA_SGX, OPTION_MASK_ISA_CX16, OPTION_MASK_ISA_MOVBE,
- OPTION_MASK_ISA_PTWRITE, OPTION_MASK_ISA_MWAITX,
- OPTION_MASK_ISA_CLZERO, OPTION_MASK_ISA_RDPID,
- OPTION_MASK_ISA_VAES, OPTION_MASK_ISA_MOVDIR64B,
- OPTION_MASK_ISA_WAITPKG, OPTION_MASK_ISA_CLDEMOTE,
- OPTION_MASK_ISA_ENQCMD): Ditto.
- * gcc/config/i386/i386-option.c: Ditto
- * gcc/config/i386/i386.opt: Ditto..
- * gcc/config/i386/i386.h: (TARGET_ISA_AVX5124FMAPS,
- TARGET_ISA_AVX5124VNNIW, TARGET_ISA_AVX512BF16,
- TARGET_ISA_AVX512VP2INTERSECT, TARGET_ISA_PCONFIG,
- TARGET_ISA_WBNOINVD, TARGET_ISA_SGX, TARGET_ISA_CX16,
- TARGET_ISA_MOVBE, TARGET_ISA_PTWRITE, TARGET_ISA_MWAITX,
- TARGET_ISA_CLZERO, TARGET_ISA_RDPID, TARGET_ISA_VAES,
- TARGET_ISA_MOVDIR64B, TARGET_ISA_WAITPKG, TARGET_ISA_CLDEMOTE)
- TARGET_ISA_ENQCMD): Ditto.
+ * common/config/i386/i386-common.c
+ (OPTION_MASK_ISA_AVX5124FMAPS_SET): Rename to
+ OPTION_MASK_ISA2_AVX5124FMAPS_SET.
+ (OPTION_MASK_ISA_AVX5124VNNIW_SET, OPTION_MASK_ISA_AVX512BF16_SET,
+ OPTION_MASK_ISA_AVX512VP2INTERSECT_SET,
+ OPTION_MASK_ISA_PCONFIG_SET, OPTION_MASK_ISA_WBNOINVD_SET,
+ OPTION_MASK_ISA_SGX_SET, OPTION_MASK_ISA_CX16_SET,
+ OPTION_MASK_ISA_MOVBE_SET, OPTION_MASK_ISA_PTWRITE_SET,
+ OPTION_MASK_ISA_MWAITX_SET, OPTION_MASK_ISA_CLZERO_SET,
+ OPTION_MASK_ISA_RDPID_SET, OPTION_MASK_ISA_VAES_SET,
+ OPTION_MASK_ISA_MOVDIR64B_SET, OPTION_MASK_ISA_WAITPKG_SET,
+ OPTION_MASK_ISA_CLDEMOTE_SET, OPTION_MASK_ISA_ENQCMD_SET,
+ OPTION_MASK_ISA_AVX5124FMAPS_UNSET,
+ OPTION_MASK_ISA_AVX5124VNNIW_UNSET,
+ OPTION_MASK_ISA_AVX512BF16_UNSET,
+ OPTION_MASK_ISA_AVX512VP2INTERSECT_UNSET,
+ OPTION_MASK_ISA_PCONFIG_UNSET, OPTION_MASK_ISA_WBNOINVD_UNSET,
+ OPTION_MASK_ISA_SGX_UNSET, OPTION_MASK_ISA_CX16_UNSET,
+ OPTION_MASK_ISA_MOVBE_UNSET, OPTION_MASK_ISA_PTWRITE_UNSET,
+ OPTION_MASK_ISA_MWAITX_UNSET, OPTION_MASK_ISA_CLZERO_UNSET,
+ OPTION_MASK_ISA_RDPID_UNSET, OPTION_MASK_ISA_VAES_UNSET,
+ OPTION_MASK_ISA_MOVDIR64B_UNSET, OPTION_MASK_ISA_WAITPKG_UNSET,
+ OPTION_MASK_ISA_CLDEMOTE_UNSET, OPTION_MASK_ISA_ENQCMD_UNSET,
+ OPTION_MASK_ISA_AVX5124FMAPS, OPTION_MASK_ISA_AVX5124VNNIW,
+ OPTION_MASK_ISA_AVX512BF16, OPTION_MASK_ISA_AVX512VP2INTERSECT,
+ OPTION_MASK_ISA_PCONFIG, OPTION_MASK_ISA_WBNOINVD,
+ OPTION_MASK_ISA_SGX, OPTION_MASK_ISA_CX16, OPTION_MASK_ISA_MOVBE,
+ OPTION_MASK_ISA_PTWRITE, OPTION_MASK_ISA_MWAITX,
+ OPTION_MASK_ISA_CLZERO, OPTION_MASK_ISA_RDPID,
+ OPTION_MASK_ISA_VAES, OPTION_MASK_ISA_MOVDIR64B,
+ OPTION_MASK_ISA_WAITPKG, OPTION_MASK_ISA_CLDEMOTE,
+ OPTION_MASK_ISA_ENQCMD): Ditto.
+ * config/i386/i386-builtin.def
+ (OPTION_MASK_ISA_AVX5124FMAPS, OPTION_MASK_ISA_AVX5124VNNIW,
+ OPTION_MASK_ISA_AVX512BF16, OPTION_MASK_ISA_AVX512VP2INTERSECT,
+ OPTION_MASK_ISA_WBNOINVD, OPTION_MASK_ISA_PTWRITE,
+ OPTION_MASK_ISA_RDPID, OPTION_MASK_ISA_VAES,
+ OPTION_MASK_ISA_MOVDIR64B, OPTION_MASK_ISA_ENQCMD): Ditto.
+ * config/i386/i386-builtins.c (OPTION_MASK_ISA_MWAITX,
+ OPTION_MASK_ISA_CLZERO, OPTION_MASK_ISA_WAITPKG,
+ OPTION_MASK_ISA_CLDEMOTE, OPTION_MASK_ISA_WBNOINVD): Ditto.
+ * config/i386/i386-c.c
+ (OPTION_MASK_ISA_AVX5124FMAPS, OPTION_MASK_ISA_AVX5124VNNIW,
+ OPTION_MASK_ISA_AVX512BF16, OPTION_MASK_ISA_AVX512VP2INTERSECT,
+ OPTION_MASK_ISA_PCONFIG, OPTION_MASK_ISA_WBNOINVD,
+ OPTION_MASK_ISA_SGX, OPTION_MASK_ISA_CX16, OPTION_MASK_ISA_MOVBE,
+ OPTION_MASK_ISA_PTWRITE, OPTION_MASK_ISA_MWAITX,
+ OPTION_MASK_ISA_CLZERO, OPTION_MASK_ISA_RDPID,
+ OPTION_MASK_ISA_VAES, OPTION_MASK_ISA_MOVDIR64B,
+ OPTION_MASK_ISA_WAITPKG, OPTION_MASK_ISA_CLDEMOTE,
+ OPTION_MASK_ISA_ENQCMD): Ditto.
+ * config/i386/i386-option.c: Ditto
+ * config/i386/i386.opt: Ditto..
+ * config/i386/i386.h: (TARGET_ISA_AVX5124FMAPS,
+ TARGET_ISA_AVX5124VNNIW, TARGET_ISA_AVX512BF16,
+ TARGET_ISA_AVX512VP2INTERSECT, TARGET_ISA_PCONFIG,
+ TARGET_ISA_WBNOINVD, TARGET_ISA_SGX, TARGET_ISA_CX16,
+ TARGET_ISA_MOVBE, TARGET_ISA_PTWRITE, TARGET_ISA_MWAITX,
+ TARGET_ISA_CLZERO, TARGET_ISA_RDPID, TARGET_ISA_VAES,
+ TARGET_ISA_MOVDIR64B, TARGET_ISA_WAITPKG, TARGET_ISA_CLDEMOTE)
+ TARGET_ISA_ENQCMD): Ditto.
2019-12-09 Sudakshina Das <sudi.das@arm.com>
Richard Sandiford <richard.sandiford@arm.com>
2019-12-08 Sandra Loosemore <sandra@codesourcery.com>
Revert:
-
2019-12-05 Sandra Loosemore <sandra@codesourcery.com>
* config/nios2/linux.h (LINK_EH_SPEC): Define.
Handle variable offsets and indices.
* builtins.h (gimple_call_alloc_size): Declare.
(compute_objsize): Add argument.
- * gcc/gimple-ssa-warn-restrict.c: Remove assertions.
+ * gimple-ssa-warn-restrict.c: Remove assertions.
* tree-ssa-strlen.c (handle_store): Handle calls to allocated objects.
2019-12-04 Julian Brown <julian@codesourcery.com>
2019-12-04 Kewen Lin <linkw@gcc.gnu.org>
PR target/92760
- * gcc/config/rs6000/rs6000.c (rs6000_preferred_simd_mode): Use
+ * config/rs6000/rs6000.c (rs6000_preferred_simd_mode): Use
VECTOR_MEM_NONE_P instead of VECTOR_UNIT_NONE_P.
2019-12-03 Jan Hubicka <hubicka@ucw.cz>
2019-11-28 Kewen Lin <linkw@gcc.gnu.org>
PR target/92566
- * gcc/config/rs6000/rs6000.c (rs6000_preferred_simd_mode): Check
+ * config/rs6000/rs6000.c (rs6000_preferred_simd_mode): Check
by VECTOR_UNIT_NONE_P instead.
2019-11-28 Hongtao Liu <hongtao.liu@inte.com>
- * gcc/config/i386/sse.md (avx512f_maskcmp<mode>3):
+ * config/i386/sse.md (avx512f_maskcmp<mode>3):
Refine VF to VF_AVX512VL.
2019-11-27 Michael Meissner <meissner@linux.ibm.com>
2019-11-27 Kewen Lin <linkw@gcc.gnu.org>
PR tree-optimization/91790
- * gcc/tree-vect-stmts.c (vectorizable_load): Use the adjusted
+ * tree-vect-stmts.c (vectorizable_load): Use the adjusted
DR for vect_setup_realignment when first_stmt_info is different
from first_stmt_info_for_drptr.
(maybe_warn_overlap): New function.
(pass_sprintf_length::compute_format_length): Call it.
(pass_sprintf_length::handle_gimple_call): Initialize new members.
- * gcc/tree-ssa-strlen.c (): Also enable when -Wrestrict is on.
+ * tree-ssa-strlen.c (): Also enable when -Wrestrict is on.
2019-11-12 Ilya Leoshkevich <iii@linux.ibm.com>
Frederik Harwath <frederik@codesourcery.com>
Thomas Schwinge <thomas@codesourcery.com>
- gcc/
* gimple.h (gf_mask): Add GF_OMP_TARGET_KIND_OACC_SERIAL
enumeration constant.
(is_gimple_omp_oacc): Handle GF_OMP_TARGET_KIND_OACC_SERIAL.
2019-11-11 Jiufu Guo <guojiufu@linux.ibm.com>
PR tree-optimization/88760
- * gcc/config/rs6000/rs6000.opt (-munroll-only-small-loops): New option.
- * gcc/common/config/rs6000/rs6000-common.c
+ * config/rs6000/rs6000.opt (-munroll-only-small-loops): New option.
+ * common/config/rs6000/rs6000-common.c
(rs6000_option_optimization_table) [OPT_LEVELS_2_PLUS_SPEED_ONLY]:
Turn on -funroll-loops and -munroll-only-small-loops.
[OPT_LEVELS_ALL]: Turn off -fweb and -frename-registers.