diff options
author | Jan Beulich <jbeulich@suse.com> | 2019-11-07 09:29:14 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2019-11-07 09:29:14 +0100 |
commit | 142861dfd5b55fe4440c35351a068dcde4ad8ce9 (patch) | |
tree | 82f0a734706af0d57cd3e46d045d92e0bda78680 /opcodes/i386-opc.h | |
parent | 081e283fafb415b4e37f2ac1d5f945ad0b61e282 (diff) | |
download | fsf-binutils-gdb-142861dfd5b55fe4440c35351a068dcde4ad8ce9.zip fsf-binutils-gdb-142861dfd5b55fe4440c35351a068dcde4ad8ce9.tar.gz fsf-binutils-gdb-142861dfd5b55fe4440c35351a068dcde4ad8ce9.tar.bz2 |
x86: support further AMD Zen2 instructions
Both RDPRU and MCOMMIT have been publicly documented meanwhile:
https://www.amd.com/system/files/TechDocs/24594.pdf.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index 8727f11..e9b1f92 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -243,6 +243,10 @@ enum CpuMOVDIR64B, /* ENQCMD instruction required */ CpuENQCMD, + /* RDPRU instruction required */ + CpuRDPRU, + /* MCOMMIT instruction required */ + CpuMCOMMIT, /* 64bit support required */ Cpu64, /* Not supported in the 64bit mode */ @@ -372,6 +376,8 @@ typedef union i386_cpu_flags unsigned int cpumovdiri:1; unsigned int cpumovdir64b:1; unsigned int cpuenqcmd:1; + unsigned int cpurdpru:1; + unsigned int cpumcommit:1; unsigned int cpu64:1; unsigned int cpuno64:1; #ifdef CpuUnused |