Add AMD znver3 processor support
authorGanesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
Tue, 20 Oct 2020 18:26:58 +0000 (23:56 +0530)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 20 Oct 2020 20:58:04 +0000 (13:58 -0700)
commit646cc3e0109e4a45a232af8354feafc36c3249ee
treee883bae3df2bdce5f5849c2cf43452d2c838e5ad
parentc4464adef2d7909cd45542690b5d3fd6ab1910c6
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.
25 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/arch-14-znver3.d [new file with mode: 0644]
gas/testsuite/gas/i386/arch-14.d [new file with mode: 0644]
gas/testsuite/gas/i386/arch-14.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/invlpgb.d [new file with mode: 0644]
gas/testsuite/gas/i386/invlpgb.s [new file with mode: 0644]
gas/testsuite/gas/i386/invlpgb64.d [new file with mode: 0644]
gas/testsuite/gas/i386/snp.d [new file with mode: 0644]
gas/testsuite/gas/i386/snp.s [new file with mode: 0644]
gas/testsuite/gas/i386/snp64.d [new file with mode: 0644]
gas/testsuite/gas/i386/tlbsync.d [new file with mode: 0644]
gas/testsuite/gas/i386/tlbsync.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-arch-4-znver3.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-arch-4.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-arch-4.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-gen.c
opcodes/i386-init.h
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h