[MLton-commit] r6433

spoons at mlton.org spoons at mlton.org
Mon Mar 3 06:52:15 PST 2008


Remove opteron-specific compiler flags.

As per
http://mlton.org/pipermail/mlton/2007-August/029944.html

----------------------------------------------------------------------

U   mlton/branches/shared-heap-multicore/bin/mlton-script
U   mlton/branches/shared-heap-multicore/runtime/Makefile
U   mlton/branches/shared-heap-multicore/runtime/util/Makefile

----------------------------------------------------------------------

Modified: mlton/branches/shared-heap-multicore/bin/mlton-script
===================================================================
--- mlton/branches/shared-heap-multicore/bin/mlton-script	2008-03-03 14:52:04 UTC (rev 6432)
+++ mlton/branches/shared-heap-multicore/bin/mlton-script	2008-03-03 14:52:14 UTC (rev 6433)
@@ -84,8 +84,8 @@
         -cc-opt '-fno-strict-aliasing -fomit-frame-pointer -w'   \
         -link-opt '-lgdtoa -lm -lgmp -lpthread -lplpa_included -lrt' \
         -mlb-path-map "$lib/mlb-path-map"                        \
-        -target-as-opt amd64 '-m64 -mtune=opteron'               \
-        -target-cc-opt amd64 '-m64 -mtune=opteron'               \
+        -target-as-opt amd64 '-m64'                              \
+        -target-cc-opt amd64 '-m64'                              \
         -target-cc-opt darwin                                    \
                 '-I/opt/local/include -I/sw/include'             \
         -target-cc-opt freebsd '-I/usr/local/include'            \

Modified: mlton/branches/shared-heap-multicore/runtime/Makefile
===================================================================
--- mlton/branches/shared-heap-multicore/runtime/Makefile	2008-03-03 14:52:04 UTC (rev 6432)
+++ mlton/branches/shared-heap-multicore/runtime/Makefile	2008-03-03 14:52:14 UTC (rev 6433)
@@ -31,12 +31,6 @@
 
 ifeq ($(TARGET_ARCH), amd64)
 FLAGS += -m64
-ifeq ($(findstring $(GCC_MAJOR_VERSION), 3),$(GCC_MAJOR_VERSION))
-OPTFLAGS += -mcpu=opteron
-endif
-ifeq ($(findstring $(GCC_MAJOR_VERSION), 4),$(GCC_MAJOR_VERSION))
-OPTFLAGS += -mtune=opteron
-endif
 ifeq ($(findstring $(GCC_VERSION), 3.4 4.0 4.1),$(GCC_VERSION))
 GCOPTFLAGS += --param inline-unit-growth=75 --param max-inline-insns-single=1000
 endif

Modified: mlton/branches/shared-heap-multicore/runtime/util/Makefile
===================================================================
--- mlton/branches/shared-heap-multicore/runtime/util/Makefile	2008-03-03 14:52:04 UTC (rev 6432)
+++ mlton/branches/shared-heap-multicore/runtime/util/Makefile	2008-03-03 14:52:14 UTC (rev 6433)
@@ -26,7 +26,6 @@
 endif
 
 ifeq ($(TARGET_ARCH), amd64)
-FLAGS += -mtune=opteron
 DEFAULT_MODEL = BX
 ALL_MODELS = A AX B BX C CX G
 endif




More information about the MLton-commit mailing list