diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-01-09 20:32:32 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-01-09 20:32:32 +0000 |
commit | 1b7f3fb0dd0c5dd226e0a54c84cbf4c002738835 (patch) | |
tree | 8425d786229d4c537d6853fed32ffc6d764b2178 /gas/config/tc-i386.c | |
parent | 1cb0a7674666a4beff8f5f76f4392051ea649a82 (diff) | |
download | gdb-1b7f3fb0dd0c5dd226e0a54c84cbf4c002738835.zip gdb-1b7f3fb0dd0c5dd226e0a54c84cbf4c002738835.tar.gz gdb-1b7f3fb0dd0c5dd226e0a54c84cbf4c002738835.tar.bz2 |
gas/
2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (cpu_arch): Add .rdtscp.
(md_show_usage): Display rdtscp.
* doc/c-i386.texi: Document rdtscp.
gas/testsuite/
2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/arch-10.s: Add rdtscp.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
opcodes/
2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS.
(cpu_flags): Add CpuRdtscp.
(set_bitfield): Remove CpuSledgehammer check.
* i386-opc.h (CpuRdtscp): New.
(CpuLM): Updated.
(i386_cpu_flags): Add cpurdtscp.
* i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r-- | gas/config/tc-i386.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index fcfdd82..7222969 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -650,6 +650,8 @@ static const arch_entry cpu_arch[] = CPU_MOVBE_FLAGS }, { ".ept", PROCESSOR_UNKNOWN, CPU_EPT_FLAGS }, + { ".rdtscp", PROCESSOR_UNKNOWN, + CPU_RDTSCP_FLAGS }, { ".3dnow", PROCESSOR_UNKNOWN, CPU_3DNOW_FLAGS }, { ".3dnowa", PROCESSOR_UNKNOWN, @@ -8235,7 +8237,8 @@ md_show_usage (stream) EXTENSION is combination of:\n\ mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, sse4,\n\ avx, vmx, smx, xsave, movbe, ept, aes, pclmul, fma,\n\ - 3dnow, 3dnowa, sse4a, sse5, svme, abm, padlock\n")); + rdtscp, 3dnow, 3dnowa, sse4a, sse5, svme, abm,\n\ + padlock\n")); fprintf (stream, _("\ -mtune=CPU optimize for CPU, CPU is one of:\n\ i8086, i186, i286, i386, i486, pentium, pentiumpro,\n\ |