From: H.J. Lu Date: Thu, 21 May 2020 12:32:53 +0000 (-0700) Subject: libgcc: Move FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5855bdfa06fb25c0880af89cb2bfdcdf342beac2;p=gcc.git libgcc: Move FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16 Move FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16 to avoid changing libgcc ABI. gcc/ PR target/95212 * config/i386/i386-builtins.c (processor_features): Move F_AVX512VP2INTERSECT after F_AVX512BF16. (isa_names_table): Likewise. libgcc/ PR target/95212 * config/i386/cpuinfo.h (processor_features): Move FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d48fbfcab81..89b908f64d8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2020-05-21 H.J. Lu + + PR target/95212 + * config/i386/i386-builtins.c (processor_features): Move + F_AVX512VP2INTERSECT after F_AVX512BF16. + (isa_names_table): Likewise. + 2020-05-21 Martin Liska * common/config/aarch64/aarch64-common.c (aarch64_handle_option): diff --git a/gcc/config/i386/i386-builtins.c b/gcc/config/i386/i386-builtins.c index 4b203635428..be3ed0158f2 100644 --- a/gcc/config/i386/i386-builtins.c +++ b/gcc/config/i386/i386-builtins.c @@ -1911,8 +1911,8 @@ enum processor_features F_VPCLMULQDQ, F_AVX512VNNI, F_AVX512BITALG, - F_AVX512VP2INTERSECT, F_AVX512BF16, + F_AVX512VP2INTERSECT, F_MAX }; @@ -2062,8 +2062,8 @@ static const _isa_names_table isa_names_table[] = {"vpclmulqdq", F_VPCLMULQDQ, P_ZERO}, {"avx512vnni", F_AVX512VNNI, P_ZERO}, {"avx512bitalg", F_AVX512BITALG, P_ZERO}, - {"avx512vp2intersect",F_AVX512VP2INTERSECT, P_ZERO}, - {"avx512bf16", F_AVX512BF16, P_ZERO} + {"avx512bf16", F_AVX512BF16, P_ZERO}, + {"avx512vp2intersect",F_AVX512VP2INTERSECT, P_ZERO} }; /* This parses the attribute arguments to target in DECL and determines diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 9f359ca69fb..ca729c48b1f 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2020-05-21 H.J. Lu + + PR target/95212 + * config/i386/cpuinfo.h (processor_features): Move + FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16. + 2020-05-20 H.J. Lu PR target/91695 diff --git a/libgcc/config/i386/cpuinfo.h b/libgcc/config/i386/cpuinfo.h index fd6d12a7d68..0f97510cde1 100644 --- a/libgcc/config/i386/cpuinfo.h +++ b/libgcc/config/i386/cpuinfo.h @@ -122,8 +122,8 @@ enum processor_features FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI, FEATURE_AVX512BITALG, - FEATURE_AVX512VP2INTERSECT, - FEATURE_AVX512BF16 + FEATURE_AVX512BF16, + FEATURE_AVX512VP2INTERSECT }; extern struct __processor_model