aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-01-03 15:36:26 +0000
committerJan Hubicka <jh@suse.cz>2001-01-03 15:36:26 +0000
commit6f8c0c4ccc0fb354d97de2ce75b5def36d40131d (patch)
tree3c7780f3dc0af9be7e9e11d59d359ae0904b8b26 /gas/config/tc-i386.h
parent7e30bc3635d961336a9db1c88d4e18bea5012038 (diff)
downloadgdb-6f8c0c4ccc0fb354d97de2ce75b5def36d40131d.zip
gdb-6f8c0c4ccc0fb354d97de2ce75b5def36d40131d.tar.gz
gdb-6f8c0c4ccc0fb354d97de2ce75b5def36d40131d.tar.bz2
* tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
CpuUnknown): Renumber (CpuP4, CpuSSE2): New. (CpuUnknownFlags): Add CpuP4 and CpuSSE2 * i386.h (i386_optab): Fix 64bit pushf template; Add instructions introduced by Pentium4
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r--gas/config/tc-i386.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 9648201..0a2200b 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -279,20 +279,22 @@ typedef struct
#define Cpu486 0x10 /* i486 or better required */
#define Cpu586 0x20 /* i585 or better required */
#define Cpu686 0x40 /* i686 or better required */
-#define CpuK6 0x80 /* AMD K6 or better required*/
-#define CpuAthlon 0x100 /* AMD Athlon or better required*/
-#define CpuSledgehammer 0x200 /* Sledgehammer or better required */
-#define CpuMMX 0x400 /* MMX support required */
-#define CpuSSE 0x800 /* Streaming SIMD extensions required */
-#define Cpu3dnow 0x1000 /* 3dnow! support required */
-#define CpuUnknown 0x2000 /* The CPU is unknown, be on the safe side. */
+#define CpuP4 0x80 /* Pentium4 or better required */
+#define CpuK6 0x100 /* AMD K6 or better required*/
+#define CpuAthlon 0x200 /* AMD Athlon or better required*/
+#define CpuSledgehammer 0x400 /* Sledgehammer or better required */
+#define CpuMMX 0x800 /* MMX support required */
+#define CpuSSE 0x1000 /* Streaming SIMD extensions required */
+#define CpuSSE2 0x2000 /* Streaming SIMD extensions 2 required */
+#define Cpu3dnow 0x4000 /* 3dnow! support required */
+#define CpuUnknown 0x8000 /* The CPU is unknown, be on the safe side. */
/* These flags are set by gas depending on the flag_code. */
#define Cpu64 0x4000000 /* 64bit support required */
#define CpuNo64 0x8000000 /* Not supported in the 64bit mode */
/* The default value for unknown CPUs - enable all features to avoid problems. */
-#define CpuUnknownFlags (Cpu086|Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686|CpuSledgehammer|CpuMMX|CpuSSE|Cpu3dnow|CpuK6|CpuAthlon)
+#define CpuUnknownFlags (Cpu086|Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686|CpuP4|CpuSledgehammer|CpuMMX|CpuSSE|CpuSSE2|Cpu3dnow|CpuK6|CpuAthlon)
/* the bits in opcode_modifier are used to generate the final opcode from
the base_opcode. These bits also are used to detect alternate forms of