summaryrefslogtreecommitdiff
path: root/usr/src/tools/cw/cw.c
diff options
context:
space:
mode:
authorPiotr Jasiukajtis <estibi@me.com>2014-02-04 20:31:57 +0100
committerDan McDonald <danmcd@omniti.com>2014-10-17 18:00:52 -0400
commit25c28e83beb90e7c80452a7c818c5e6f73a07dc8 (patch)
tree95cb102e7fb37f52d4b3ec3e44508f352a335ee5 /usr/src/tools/cw/cw.c
parent4e6070e87069f63bef94d8e79c2fc3cab2c1ab6b (diff)
downloadillumos-joyent-25c28e83beb90e7c80452a7c818c5e6f73a07dc8.tar.gz
693 Opensource replacement of sunwlibm
Reviewed by: Igor Kozhukhov ikozhukhov@gmail.com Reviewed by: Keith M Wesolowski <keith.wesolowski@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/tools/cw/cw.c')
-rw-r--r--usr/src/tools/cw/cw.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/src/tools/cw/cw.c b/usr/src/tools/cw/cw.c
index ded39c12ff..3bc250dc0c 100644
--- a/usr/src/tools/cw/cw.c
+++ b/usr/src/tools/cw/cw.c
@@ -20,6 +20,9 @@
*/
/*
+ * Copyright 2011, Richard Lowe.
+ */
+/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -33,7 +36,7 @@
*/
/* If you modify this file, you must increment CW_VERSION */
-#define CW_VERSION "1.29"
+#define CW_VERSION "1.30"
/*
* -# Verbose mode
@@ -392,6 +395,8 @@ static const xarch_table_t xtbl[] = {
{ "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" } },