libgcc: Move FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 21 May 2020 12:32:53 +0000 (05:32 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 21 May 2020 12:33:11 +0000 (05:33 -0700)
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.

gcc/ChangeLog
gcc/config/i386/i386-builtins.c
libgcc/ChangeLog
libgcc/config/i386/cpuinfo.h

index d48fbfcab81d96e29ec9a5438640022722ef94ff..89b908f64d801e2753edbcc1bdc03acf81015681 100644 (file)
@@ -1,3 +1,10 @@
+2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       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  <mliska@suse.cz>
 
        * common/config/aarch64/aarch64-common.c (aarch64_handle_option):
index 4b20363542860b74aa9dbe64d5f7efbe1ff6c54a..be3ed0158f21352a2f00de7cfbb12eaa7ed03a9b 100644 (file)
@@ -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
index 9f359ca69fba6f3f8eaac4ddd021ca2a6e39af22..ca729c48b1fb845fc8a19db0e7436a3dc8c494c6 100644 (file)
@@ -1,3 +1,9 @@
+2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/95212
+       * config/i386/cpuinfo.h (processor_features): Move
+       FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
+
 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/91695
index fd6d12a7d68336651a87d5927dc5c0c6bbaa63bd..0f97510cde105639a38a2fc68f04f57cec7188cc 100644 (file)
@@ -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