Update of /cvsroot/pure-data/packages/linux_make In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27466
Modified Files: Makefile Log Message: enable auto-vectorization on gcc 4.1.2; try out building with pentium3 and sse
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/packages/linux_make/Makefile,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** Makefile 6 Dec 2006 04:08:50 -0000 1.21 --- Makefile 13 Dec 2006 05:55:42 -0000 1.22 *************** *** 20,35 **** ifeq ($(TARGET_PLATFORM),i686) # Generic x86 (tune for Pentium III, since that's more common these days) ! OPT_CFLAGS += -march=i386 ! else ! ifeq ($(TARGET_PLATFORM),ppc) OPT_CFLAGS += -pipe -fsigned-char -mpowerpc-gfxopt - else - # more CPUs should go here - OPT_CFLAGS += - endif endif
! # lots more here: http://www.gentoo.se/docs/doc-cflags.php
# these are sent to all of the various Makefiles so that they all copy their --- 20,36 ---- ifeq ($(TARGET_PLATFORM),i686) # Generic x86 (tune for Pentium III, since that's more common these days) ! #OPT_CFLAGS += -march=i386 ! OPT_CFLAGS += -march=pentium3 -msse -mfpmath=sse ! endif ! ifeq ($(TARGET_PLATFORM),ppc) OPT_CFLAGS += -pipe -fsigned-char -mpowerpc-gfxopt endif
! GCC_VERSION := $(shell gcc -dumpversion) ! ifeq ($(GCC_VERSION),4.1.2) ! OPT_CFLAGS += -ftree-vectorize -ftree-vectorizer-verbose=3 ! endif
+ # lots more here: http://www.gentoo.se/docs/doc-cflags.php
# these are sent to all of the various Makefiles so that they all copy their