diff options
author | Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> | 2020-10-20 23:56:58 +0530 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-10-20 13:58:04 -0700 |
commit | 646cc3e0109e4a45a232af8354feafc36c3249ee (patch) | |
tree | e883bae3df2bdce5f5849c2cf43452d2c838e5ad /gas/config | |
parent | c4464adef2d7909cd45542690b5d3fd6ab1910c6 (diff) | |
download | gdb-646cc3e0109e4a45a232af8354feafc36c3249ee.zip gdb-646cc3e0109e4a45a232af8354feafc36c3249ee.tar.gz gdb-646cc3e0109e4a45a232af8354feafc36c3249ee.tar.bz2 |
Add AMD znver3 processor support
gas/
* config/tc-i386.c (cpu_arch): Add CPU_ZNVER3_FLAGS flags.
(i386_align_code): Add PROCESSOR_ZNVER cases.
* doc/c-i386.texi: Add znver3, snp, invlpgb and tlbsync.
* gas/i386/i386.exp: Add new znver3 test cases.
* gas/i386/arch-14-znver3.d: New.
* gas/i386/arch-14.d: New.
* gas/i386/arch-14.s: New.
* gas/i386/invlpgb.d: New.
* gas/i386/invlpgb64.d: New.
* gas/i386/invlpgb.s: New.
* gas/i386/snp.d: New.
* gas/i386/snp64.d: New.
* gas/i386/snp.s: New.
* gas/i386/tlbsync.d: New.
* gas/i386/tlbsync.s: New.
* gas/i386/x86-64-arch-4-znver3.d: New.
* gas/i386/x86-64-arch-4.d: New.
* gas/i386/x86-64-arch-4.s: New.
opcodes/
* i386-dis.c (rm_table): Add tlbsync, snp, invlpgb.
* i386-gen.c (cpu_flag_init): Add new CPU_INVLPGB_FLAGS,
CPU_TLBSYNC_FLAGS, and CPU_SNP_FLAGS.
Add CPU_ZNVER3_FLAGS.
(cpu_flags): Add CpuINVLPGB, CpuTLBSYNC, CpuSNP.
* i386-opc.h: Add CpuINVLPGB, CpuTLBSYNC, CpuSNP.
* i386-opc.tbl: Add invlpgb, tlbsync, psmash, pvalidate,
rmpupdate, rmpadjust.
* i386-init.h: Re-generated.
* i386-tbl.h: Re-generated.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 487454f..daeef4c 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1014,6 +1014,8 @@ static const arch_entry cpu_arch[] = CPU_ZNVER1_FLAGS, 0 }, { STRING_COMMA_LEN ("znver2"), PROCESSOR_ZNVER, CPU_ZNVER2_FLAGS, 0 }, + { STRING_COMMA_LEN ("znver3"), PROCESSOR_ZNVER, + CPU_ZNVER3_FLAGS, 0 }, { STRING_COMMA_LEN ("btver1"), PROCESSOR_BT, CPU_BTVER1_FLAGS, 0 }, { STRING_COMMA_LEN ("btver2"), PROCESSOR_BT, |