aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Enberg <penberg@kernel.org>2012-04-27 19:22:01 +0300
committerPekka Enberg <penberg@kernel.org>2012-04-27 19:22:01 +0300
commit45672a18a37dd714174d808d00a6339d8a88469b (patch)
treee523f8e3fa5fe0382522181239867f1a5367dd00
parent943e0a6796912060acc68339bc44e6b36b29bd35 (diff)
downloadjato-45672a18a37dd714174d808d00a6339d8a88469b.tar.gz
x86-64: Drop '-fno-tree-vectorize' from Makefile
Jato currently only works with the "-Os" GCC optimization level on x86-64. Furthermore, the problems exposed by "-ftree-vectorize" were due to Jato bugs so it's pointless to disable the optimization. Signed-off-by: Pekka Enberg <penberg@kernel.org>
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1092b9b6..4bbe3103 100644
--- a/Makefile
+++ b/Makefile
@@ -233,9 +233,7 @@ endif
OPTIMIZATIONS += $(OPTIMIZATION_LEVEL)
OPTIMIZATIONS += -fno-delete-null-pointer-checks
OPTIMIZATIONS += -fno-omit-frame-pointer
-ifeq ($(uname_M),x86_64)
-OPTIMIZATIONS += -fno-tree-vectorize
-endif
+
DEFAULT_CFLAGS += $(OPTIMIZATIONS)
INCLUDES = -Iarch/$(ARCH)/include -Iinclude -Isys/$(SYS)-$(ARCH)/include -Ijit -Ijit/glib -include $(ARCH_CONFIG) -Iboehmgc/include