diff options
author | Alexander Fomin <alexander.fomin@intel.com> | 2016-05-10 21:35:52 +0300 |
---|---|---|
committer | Alexander Fomin <alexander.fomin@intel.com> | 2016-05-10 21:38:39 +0300 |
commit | 8bc526963edde8cf8789ce82072d05fd2bcc90c4 (patch) | |
tree | 25c9322e513f282eeb724e0213b10bb27e1fddad /gas/doc | |
parent | 4f4faa4d43aeaf5dd0a5fe0aff2fde89df3e5b8c (diff) | |
download | gdb-8bc526963edde8cf8789ce82072d05fd2bcc90c4.zip gdb-8bc526963edde8cf8789ce82072d05fd2bcc90c4.tar.gz gdb-8bc526963edde8cf8789ce82072d05fd2bcc90c4.tar.bz2 |
Enable Intel RDPID instruction.
This patch enables Intel RDPID instruction described in Intel64 and
IA-32 Architectures Software Developer's Manual, April 2016.
gas/
* config/tc-i386.c (cpu_arch): Add RDPID.
* doc/c-i386.texi: Document RDPID.
gas/testsuite/
* gas/i386/i386.exp: Run RDPID tests.
* gas/i386/prefix.d: Adjust.
* gas/i386/rdpid.s: New test.
* gas/i386/rdpid.d: Ditto.
* gas/i386/rdpid-intel.d: Ditto.
* gas/i386/x86-64-rdpid.s: Ditto.
* gas/i386/x86-64-rdpid.d: Ditto.
* gas/i386/x86-64-rdpid-intel.d: Ditto.
opcodes/
* i386-dis.c (prefix_table): Add RDPID instruction.
* i386-gen.c (cpu_flag_init): Add RDPID flag.
(cpu_flags): Add RDPID bitfield.
* i386-opc.h (enum): Add RDPID element.
(i386_cpu_flags): Add RDPID field.
* i386-opc.tbl: Add RDPID instruction.
* i386-init.h: Regenerate.
* i386-tbl.h: Regenerate.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/c-i386.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi index adbcb99..edd187b 100644 --- a/gas/doc/c-i386.texi +++ b/gas/doc/c-i386.texi @@ -153,6 +153,7 @@ accept various extension mnemonics. For example, @code{smap}, @code{mpx}, @code{sha}, +@code{rdpid}, @code{prefetchwt1}, @code{clflushopt}, @code{se1}, @@ -1173,7 +1174,7 @@ supported on the CPU specified. The choices for @var{cpu_type} are: @item @samp{.3dnow} @tab @samp{.3dnowa} @tab @samp{.sse4a} @tab @samp{.sse5} @item @samp{.syscall} @tab @samp{.rdtscp} @tab @samp{.svme} @tab @samp{.abm} @item @samp{.lwp} @tab @samp{.fma4} @tab @samp{.xop} @tab @samp{.cx16} -@item @samp{.padlock} @tab @samp{.clzero} @tab @samp{.mwaitx} +@item @samp{.padlock} @tab @samp{.clzero} @tab @samp{.mwaitx} @tab @samp{.rdpid} @end multitable Apart from the warning, there are only two other effects on |