aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2019-06-06 07:57:52 -0700
committerH.J. Lu <hjl.tools@gmail.com>2019-06-06 07:57:52 -0700
commitdd455cf51d2b273edf6173fcb25fc1e3c5b966b2 (patch)
tree4c149dc969f1fdadb5522dcd0236354e31d0d52a /gas
parent8d01b5310ee3c5f8b62eb1b8177e6ab7f25d4a2c (diff)
downloadgdb-dd455cf51d2b273edf6173fcb25fc1e3c5b966b2.zip
gdb-dd455cf51d2b273edf6173fcb25fc1e3c5b966b2.tar.gz
gdb-dd455cf51d2b273edf6173fcb25fc1e3c5b966b2.tar.bz2
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-i386.c3
-rw-r--r--gas/doc/c-i386.texi1
3 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b502783..8ad8f60 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 585375f..050c872 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 b0ec341..9d821ae 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},