Print this page
rollback tools/cw/cw.c
patch01 - 693 import Sun Devpro Math Library
rollback tools/cw/cw.c
patch01 - 693 import Sun Devpro Math Library
@@ -18,10 +18,13 @@
*
* CDDL HEADER END
*/
/*
+ * Copyright 2011, Richard Lowe.
+ */
+/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
@@ -31,11 +34,11 @@
* Since the translation is inexact, this is something of a work-in-progress.
*
*/
/* If you modify this file, you must increment CW_VERSION */
-#define CW_VERSION "1.29"
+#define CW_VERSION "1.30"
/*
* -# Verbose mode
* -### Show compiler commands built by driver, no compilation
* -A<name[(tokens)]> Preprocessor predicate assertion
@@ -390,10 +393,12 @@
{ "generic", SS11 },
{ "generic64", (SS11|M64), { "-m64", "-mtune=opteron" } },
{ "amd64", (SS11|M64), { "-m64", "-mtune=opteron" } },
{ "386", SS11, { "-march=i386" } },
{ "pentium_pro", SS11, { "-march=pentiumpro" } },
+ { "sse", SS11, { "-msse", "-mfpmath=sse" } },
+ { "sse2", SS11, { "-msse2", "-mfpmath=sse" } },
#elif defined(__sparc)
{ "generic", (SS11|M32), { "-m32", "-mcpu=v8" } },
{ "generic64", (SS11|M64), { "-m64", "-mcpu=v9" } },
{ "v8", (SS11|M32), { "-m32", "-mcpu=v8", "-mno-v8plus" } },
{ "v8plus", (SS11|M32), { "-m32", "-mcpu=v9", "-mv8plus" } },