Fix for MAC so Cog builds on Leopard

This commit is contained in:
vspader 2007-10-27 09:08:08 +00:00
parent 11fd5b5454
commit de85236760
2 changed files with 4 additions and 2 deletions

View file

@ -1246,6 +1246,7 @@
29B97313FDCFA39411CA2CEA /* Project object */ = { 29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject; isa = PBXProject;
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Cog" */; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Cog" */;
compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1; hasScannedForEncodings = 1;
knownRegions = ( knownRegions = (
English, English,
@ -1337,6 +1338,7 @@
ProjectRef = 17C808C00C3BD1DD005707C4 /* WavPack.xcodeproj */; ProjectRef = 17C808C00C3BD1DD005707C4 /* WavPack.xcodeproj */;
}, },
); );
projectRoot = "";
targets = ( targets = (
8D1107260486CEB800E47090 /* Cog */, 8D1107260486CEB800E47090 /* Cog */,
); );

View file

@ -262,8 +262,8 @@ int CNNFilter::CalculateDotProductAltiVec(short * pA, short * pB, int nOrder)
vector signed short LSQ, LSQ3, v1, v2; vector signed short LSQ, LSQ3, v1, v2;
vector unsigned char mask1; vector unsigned char mask1;
vector signed int vzero = (vector signed int)(0); vector signed int vzero = vec_splat_s32(0);
vector signed int sum = (vector signed int)(0); vector signed int sum = vec_splat_s32(0);
// sum = vec_xor(sum,sum); // sum = vec_xor(sum,sum);
//int nDotProduct; //int nDotProduct;