From: H.J. Lu Date: Thu, 6 Jun 2019 14:57:52 +0000 (-0700) Subject: gas: Add .enqcmd and noenqcmd directives X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd455cf51d2b273edf6173fcb25fc1e3c5b966b2;p=binutils-gdb.git gas: Add .enqcmd and noenqcmd directives 2019-06-06 Lili Cui * config/tc-i386.c (cpu_arch): Add .enqcmd. (cpu_noarch): Add noenqcmd. * doc/c-i386.texi: Document noenqcmd. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index b5027837ac1..8ad8f604df6 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2019-06-06 Lili Cui + + * config/tc-i386.c (cpu_arch): Add .enqcmd. + (cpu_noarch): Add noenqcmd. + * doc/c-i386.texi: Document noenqcmd. + 2019-06-05 H.J. Lu PR binutils/24633 diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 585375f0cf8..050c87236a3 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 b0ec3418de2..9d821ae8e70 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},