x86: Correct noavx512_vp2intersect

Message ID 20200616140951.21342-1-hjl.tools@gmail.com
State New
Headers show
Series
  • x86: Correct noavx512_vp2intersect
Related show

Commit Message

David Faust via Binutils June 16, 2020, 2:09 p.m.
From: "Cui,Lili" <lili.cui@intel.com>


	* config/tc-i386.c (cpu_arch): Correct noavx512_vp2intersect
	cpu_arch to CPU_ANY_VP2INTERSECT_FLAGS.
	* doc/c-i386.texi: Add avx512_vp2intersect.
---
 gas/config/tc-i386.c | 3 ++-
 gas/doc/c-i386.texi  | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

-- 
2.26.2

Patch

diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index a5b9061f058..03d38e61462 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -1263,7 +1263,8 @@  static const noarch_entry cpu_noarch[] =
   { STRING_COMMA_LEN ("nomovdiri"), CPU_ANY_MOVDIRI_FLAGS },
   { STRING_COMMA_LEN ("nomovdir64b"), CPU_ANY_MOVDIR64B_FLAGS },
   { STRING_COMMA_LEN ("noavx512_bf16"), CPU_ANY_AVX512_BF16_FLAGS },
-  { STRING_COMMA_LEN ("noavx512_vp2intersect"), CPU_ANY_SHSTK_FLAGS },
+  { STRING_COMMA_LEN ("noavx512_vp2intersect"),
+    CPU_ANY_AVX512_VP2INTERSECT_FLAGS },
   { STRING_COMMA_LEN ("noenqcmd"), CPU_ANY_ENQCMD_FLAGS },
   { STRING_COMMA_LEN ("noserialize"), CPU_ANY_SERIALIZE_FLAGS },
   { STRING_COMMA_LEN ("notsxldtrk"), CPU_ANY_TSXLDTRK_FLAGS },
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index 551512f2a99..d4e6fcb6980 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -204,6 +204,7 @@  accept various extension mnemonics.  For example,
 @code{avx512_vbmi2},
 @code{avx512_vnni},
 @code{avx512_bitalg},
+@code{avx512_vp2intersect},
 @code{avx512_bf16},
 @code{noavx512f},
 @code{noavx512cd},