This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Add .sse3


I checked in the following patch to add .sse3.


H.J.
----
2005-07-06  H.J. Lu  <hongjiu.lu@intel.com>

	* config/tc-i386.c (cpu_arch): Add sse3.

	* config/tc-i386.h (CpuSSE3): Renamed from ...
	(CpuPNI): This. Defined as CpuSSE3.

	* doc/c-i386.texi: Document .sse3.

--- gas/config/tc-i386.c.sse3	2005-07-06 11:51:52.012863690 -0700
+++ gas/config/tc-i386.c	2005-07-06 12:02:50.247317941 -0700
@@ -434,6 +434,7 @@ static const arch_entry cpu_arch[] = {
   {".mmx",	CpuMMX },
   {".sse",	CpuMMX|CpuMMX2|CpuSSE },
   {".sse2",	CpuMMX|CpuMMX2|CpuSSE|CpuSSE2 },
+  {".sse3",	CpuMMX|CpuMMX2|CpuSSE|CpuSSE2|CpuSSE3 },
   {".3dnow",	CpuMMX|Cpu3dnow },
   {".3dnowa",	CpuMMX|CpuMMX2|Cpu3dnow|Cpu3dnowA },
   {".padlock",	CpuPadLock },
--- gas/config/tc-i386.h.sse3	2005-07-06 11:51:52.014863360 -0700
+++ gas/config/tc-i386.h	2005-07-06 12:04:30.830731295 -0700
@@ -182,7 +182,8 @@ typedef struct
 #define CpuSSE2	       0x4000	/* Streaming SIMD extensions 2 required */
 #define Cpu3dnow       0x8000	/* 3dnow! support required */
 #define Cpu3dnowA     0x10000	/* 3dnow!Extensions support required */
-#define CpuPNI	      0x20000	/* Prescott New Instructions required */
+#define CpuSSE3	      0x20000	/* Streaming SIMD extensions 3 required */
+#define CpuPNI	      CpuSSE3	/* Prescott New Instructions required */
 #define CpuPadLock    0x40000	/* VIA PadLock required */
 #define CpuSVME	      0x80000	/* AMD Secure Virtual Machine Ext-s required */
 
--- gas/doc/c-i386.texi.sse3	2005-03-03 08:56:26.000000000 -0800
+++ gas/doc/c-i386.texi	2005-07-06 11:57:01.746787207 -0700
@@ -701,7 +701,7 @@ supported on the CPU specified.  The cho
 @item @samp{i486} @tab @samp{i586} @tab @samp{i686} @tab @samp{pentium}
 @item @samp{pentiumpro} @tab @samp{pentiumii} @tab @samp{pentiumiii} @tab @samp{pentium4}
 @item @samp{k6} @tab @samp{athlon} @samp{sledgehammer}
-@item @samp{.mmx} @samp{.sse} @samp{.sse2} @samp{.3dnow}
+@item @samp{.mmx} @samp{.sse} @samp{.sse2} @samp{.sse3} @samp{.3dnow}
 @end multitable
 
 Apart from the warning, there are only two other effects on


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]