diff options
author | LiliCui <lili.cui@intel.com> | 2020-03-06 14:38:15 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-04-02 05:48:36 -0700 |
commit | 4b27d27c07a9514d5f6d0876f659a32378fb4801 (patch) | |
tree | da3b088be2f145fc465f8bdc44d3ce217bed8408 /gas/config | |
parent | 516231b7c7278e4e5a726cff1f798beb4bbce73c (diff) | |
download | gdb-4b27d27c07a9514d5f6d0876f659a32378fb4801.zip gdb-4b27d27c07a9514d5f6d0876f659a32378fb4801.tar.gz gdb-4b27d27c07a9514d5f6d0876f659a32378fb4801.tar.bz2 |
Add support for intel SERIALIZE instruction
gas/
* config/tc-i386.c (cpu_arch): Add .serialize.
(cpu_noarch): Likewise.
* doc/c-i386.texi: Document serialize.
* testsuite/gas/i386/i386.exp: Run serialize tests
* testsuite/gas/i386/serialize.d: Likewise.
* testsuite/gas/i386/x86-64-serialize.d: Likewise.
* testsuite/gas/i386/serialize.s: Likewise.
opcodes/
* i386-dis.c (prefix_table): New instructions serialize.
* i386-gen.c (cpu_flag_init): Add CPU_SERIALIZE_FLAGS,
CPU_ANY_SERIALIZE_FLAGS.
(cpu_flags): Add CpuSERIALIZE.
* i386-opc.h (enum): Add CpuSERIALIZE.
(i386_cpu_flags): Add cpuserialize.
* i386-opc.tbl: Add SERIALIZE insns.
* i386-init.h: Regenerate.
* i386-tbl.h: Likewise.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 09063f7..d67532c 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1206,6 +1206,8 @@ static const arch_entry cpu_arch[] = CPU_AVX512_VP2INTERSECT_FLAGS, 0 }, { STRING_COMMA_LEN (".enqcmd"), PROCESSOR_UNKNOWN, CPU_ENQCMD_FLAGS, 0 }, + { STRING_COMMA_LEN (".serialize"), PROCESSOR_UNKNOWN, + CPU_SERIALIZE_FLAGS, 0 }, { STRING_COMMA_LEN (".rdpru"), PROCESSOR_UNKNOWN, CPU_RDPRU_FLAGS, 0 }, { STRING_COMMA_LEN (".mcommit"), PROCESSOR_UNKNOWN, @@ -1255,6 +1257,7 @@ static const noarch_entry cpu_noarch[] = { 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 }, + { STRING_COMMA_LEN ("noserialize"), CPU_ANY_SERIALIZE_FLAGS }, }; #ifdef I386COFF |