Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv4795
Modified Files: macstl.info macstl.patch Log Message: altivec-torized on powerpc-darwin8 Index: macstl.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/macstl.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- macstl.patch 18 Apr 2010 22:27:08 -0000 1.2 +++ macstl.patch 18 Apr 2010 22:54:32 -0000 1.3 @@ -1,12 +1,21 @@ diff -ur macstl-orig/unix/Makefile macstl/unix/Makefile --- macstl-orig/unix/Makefile 2010-04-18 13:11:50.000000000 -0700 +++ macstl/unix/Makefile 2010-04-18 13:20:46.000000000 -0700 +@@ -2,7 +2,7 @@ + + CC = g++ + +-ifeq ($(shell uname -m | grep -o ppc), ppc) ++ifeq ($(shell uname -p | grep -o powerpc), powerpc) + PLATFORM = PPC + else + ifeq ($(shell uname -m | grep -o 86), 86) @@ -11,17 +12,22 @@ endif ifeq ($(PLATFORM), PPC) -COMMON_OPT = -maltivec -O3 -static -lstdc++ -lm -+COMMON_OPT = -maltivec -O3 ++COMMON_OPT = -faltivec -O3 else ifeq ($(PLATFORM), x86) -COMMON_OPT = -march=pentium4 -mfpmath=sse -O3 -static -lstdc++ -lm @@ -27,6 +36,18 @@ mmaptest : ../test/mmaptest.cpp $(CC) $(COMMON_OPT) -I$(MACSTL_DIR) $< -o $@ +diff -ur macstl-orig/macstl/impl/vec_altivec.h macstl/macstl/impl/vec_altivec.h +--- macstl-orig/macstl/impl/vec_altivec.h 2005-09-04 18:07:46.000000000 -0700 ++++ macstl/macstl/impl/vec_altivec.h 2010-04-18 15:43:35.000000000 -0700 +@@ -4261,7 +4261,7 @@ + result = altivec::max (result, altivec::slo (result, vec <unsigned char, 16>::fill <16> ())); + result = altivec::max (result, altivec::slo (result, vec <unsigned char, 16>::fill <32> ())); + return altivec::max (result, altivec::slo (result, vec <unsigned char, 16>::fill <64> ())) [0]; +- }; ++ } + + INLINE unsigned short accumulator <maximum <macstl::vec <unsigned short, 8>, macstl::vec <unsigned short, 8> > >::operator() (const macstl::vec <unsigned short, 8>& lhs) const + { diff -ur macstl-orig/macstl/impl/vec_mmx.h macstl/macstl/impl/vec_mmx.h --- macstl-orig/macstl/impl/vec_mmx.h 2005-09-04 08:15:33.000000000 -0700 +++ macstl/macstl/impl/vec_mmx.h 2010-04-18 14:47:30.000000000 -0700 Index: macstl.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/macstl.info,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- macstl.info 18 Apr 2010 22:27:08 -0000 1.2 +++ macstl.info 18 Apr 2010 22:54:32 -0000 1.3 @@ -1,6 +1,6 @@ Package: macstl Version: 0.3.1 -Revision: 2 +Revision: 3 Maintainer: David Fang <fang...@users.sourceforge.net> Source: http://www.pixelglow.com/downloads/%n-%v.tgz Source-MD5: 28288965464ed69718d616f7596939bb @@ -40,7 +40,7 @@ BuildDependsOnly: true SourceDirectory: macstl PatchFile: %n.patch -PatchFile-MD5: 927766dc26976b3cb38e78e1ad725631 +PatchFile-MD5: bddfdbc4868fa4ec2ceeab481c3322e2 # ConfigureParams: CompileScript: << #!/bin/sh -ev ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs