diff options
author | H.J. Lu <hjl@lucon.org> | 2009-01-09 20:32:32 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2009-01-09 20:32:32 +0000 |
commit | a4fd8cfa53fc3c10ead2bf624a265f9fb324b53d (patch) | |
tree | f19f52667e711a1c7aec46368d8840459b480c64 /opcodes/i386-opc.h | |
parent | 5f0d696b38cf8be85b80425c4f64c29492954a54 (diff) | |
download | binutils-redhat-a4fd8cfa53fc3c10ead2bf624a265f9fb324b53d.tar.gz |
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 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index cac9daa9b2..dc41d85a56 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -94,8 +94,10 @@ #define CpuMovbe (CpuFMA + 1) /* EPT Instructions required */ #define CpuEPT (CpuMovbe + 1) +/* RDTSCP Instuction support required */ +#define CpuRdtscp (CpuEPT + 1) /* 64bit support available, used by -march= in assembler. */ -#define CpuLM (CpuEPT + 1) +#define CpuLM (CpuRdtscp + 1) /* 64bit support required */ #define Cpu64 (CpuLM + 1) /* Not supported in the 64bit mode */ @@ -150,6 +152,7 @@ typedef union i386_cpu_flags unsigned int cpufma:1; unsigned int cpumovbe:1; unsigned int cpuept:1; + unsigned int cpurdtscp:1; unsigned int cpulm:1; unsigned int cpu64:1; unsigned int cpuno64:1; |