From: <mg...@us...> - 2007-07-30 07:33:20
|
Revision: 27345 http://crystal.svn.sourceforge.net/crystal/?rev=27345&view=rev Author: mgist Date: 2007-07-30 00:33:16 -0700 (Mon, 30 Jul 2007) Log Message: ----------- - Fixed a few compile warnings. Modified Paths: -------------- CS/branches/soc2007/platformopt/apps/tests/simdtest/simdtest.cpp CS/branches/soc2007/platformopt/docs/history.txt CS/branches/soc2007/platformopt/include/csutil/processor/processorspecdetection_nonwin_gcc_x86.h CS/branches/soc2007/platformopt/libs/csgeom/tcovbuf.cpp Modified: CS/branches/soc2007/platformopt/apps/tests/simdtest/simdtest.cpp =================================================================== --- CS/branches/soc2007/platformopt/apps/tests/simdtest/simdtest.cpp 2007-07-29 23:49:29 UTC (rev 27344) +++ CS/branches/soc2007/platformopt/apps/tests/simdtest/simdtest.cpp 2007-07-30 07:33:16 UTC (rev 27345) @@ -114,7 +114,7 @@ csTicks start = csGetMicroTicks(); if(SIMDDispatch<bool, SSEType, float*, float*, float*, int>((*SIMDTest::testSSE), (*SIMDTest::testCPP), a, b, c, size)) { - printf("Time taken: %lldus \n", csGetMicroTicks()-start); + printf("Time taken: %ldus \n", csGetMicroTicks()-start); float output = 0.0f; for(int i=0; i<size; i++) { Modified: CS/branches/soc2007/platformopt/docs/history.txt =================================================================== --- CS/branches/soc2007/platformopt/docs/history.txt 2007-07-29 23:49:29 UTC (rev 27344) +++ CS/branches/soc2007/platformopt/docs/history.txt 2007-07-30 07:33:16 UTC (rev 27345) @@ -6,6 +6,8 @@ individual changes for each given day, however, are in normal (ascending) chronological order. +30-Jul-2007 + - Mike Gist fixed a few warnings. 25-Jul-2007 - Mike Gist made a few function name changes in the SIMD code. 23-Jul-2007 Modified: CS/branches/soc2007/platformopt/include/csutil/processor/processorspecdetection_nonwin_gcc_x86.h =================================================================== --- CS/branches/soc2007/platformopt/include/csutil/processor/processorspecdetection_nonwin_gcc_x86.h 2007-07-29 23:49:29 UTC (rev 27344) +++ CS/branches/soc2007/platformopt/include/csutil/processor/processorspecdetection_nonwin_gcc_x86.h 2007-07-30 07:33:16 UTC (rev 27345) @@ -27,9 +27,6 @@ uint CheckSupportedInstruction() { // Data from asm. - int CPUnum = 0; - int have_cpuid = 0; - int maxEax = 0; int ecxCapFlags = 0; int edxCapFlags = 0; @@ -46,6 +43,9 @@ : "=a" (eaxCapFlags), "=b" (ebxCapFlags), "=c" (ecxCapFlags), "=d" (edxCapFlags) : "a" (function)); #else + int CPUnum = 0; + int have_cpuid = 0; + int maxEax = 0; char procName[16]; maxEax = 0; char* procNamePtr = procName; Modified: CS/branches/soc2007/platformopt/libs/csgeom/tcovbuf.cpp =================================================================== --- CS/branches/soc2007/platformopt/libs/csgeom/tcovbuf.cpp 2007-07-29 23:49:29 UTC (rev 27344) +++ CS/branches/soc2007/platformopt/libs/csgeom/tcovbuf.cpp 2007-07-30 07:33:16 UTC (rev 27345) @@ -31,7 +31,6 @@ #include "ivideo/graph2d.h" #include "ivideo/graph3d.h" #include "ivideo/txtmgr.h" -#include "csutil/csprocessorcap.h" //--------------------------------------------------------------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |