This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] gas: Add .enqcmd and noenqcmd directives
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 6 Jun 2019 07:58:54 -0700
- Subject: [PATCH] gas: Add .enqcmd and noenqcmd directives
2019-06-06 Lili Cui <lili.cui@intel.com>
* config/tc-i386.c (cpu_arch): Add .enqcmd.
(cpu_noarch): Add noenqcmd.
* doc/c-i386.texi: Document noenqcmd.
---
gas/ChangeLog | 6 ++++++
gas/config/tc-i386.c | 3 +++
gas/doc/c-i386.texi | 1 +
3 files changed, 10 insertions(+)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b5027837ac..8ad8f604df 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2019-06-06 Lili Cui <lili.cui@intel.com>
+
+ * config/tc-i386.c (cpu_arch): Add .enqcmd.
+ (cpu_noarch): Add noenqcmd.
+ * doc/c-i386.texi: Document noenqcmd.
+
2019-06-05 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/24633
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 585375f0cf..050c87236a 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -1084,6 +1084,8 @@ static const arch_entry cpu_arch[] =
CPU_AVX512_BF16_FLAGS, 0 },
{ STRING_COMMA_LEN (".avx512_vp2intersect"), PROCESSOR_UNKNOWN,
CPU_AVX512_VP2INTERSECT_FLAGS, 0 },
+ { STRING_COMMA_LEN (".enqcmd"), PROCESSOR_UNKNOWN,
+ CPU_ENQCMD_FLAGS, 0 },
};
static const noarch_entry cpu_noarch[] =
@@ -1125,6 +1127,7 @@ static const noarch_entry cpu_noarch[] =
{ 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 ("noenqcmd"), CPU_ANY_ENQCMD_FLAGS },
};
#ifdef I386COFF
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index b0ec3418de..9d821ae8e7 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -217,6 +217,7 @@ accept various extension mnemonics. For example,
@code{noavx512_bitalg},
@code{noavx512_vp2intersect},
@code{noavx512_bf16},
+@code{noenqcmd},
@code{vmx},
@code{vmfunc},
@code{smx},
--
2.20.1