test/automated/platform/platform.c
changeset 5286 73d27f06a715
parent 3579 3427271a2d75
child 5389 24903690f48a
equal deleted inserted replaced
5285:ee03772989eb 5286:73d27f06a715
   157          );
   157          );
   158    SDL_ATprintVerbose( 1, "CPU count: %d\n", SDL_GetCPUCount());
   158    SDL_ATprintVerbose( 1, "CPU count: %d\n", SDL_GetCPUCount());
   159    SDL_ATprintVerbose( 1, "Available extensions:\n" );
   159    SDL_ATprintVerbose( 1, "Available extensions:\n" );
   160    SDL_ATprintVerbose( 1, "   RDTSC %s\n", SDL_HasRDTSC()? "detected" : "not detected" );
   160    SDL_ATprintVerbose( 1, "   RDTSC %s\n", SDL_HasRDTSC()? "detected" : "not detected" );
   161    SDL_ATprintVerbose( 1, "   MMX %s\n", SDL_HasMMX()? "detected" : "not detected" );
   161    SDL_ATprintVerbose( 1, "   MMX %s\n", SDL_HasMMX()? "detected" : "not detected" );
   162    SDL_ATprintVerbose( 1, "   MMX Ext %s\n", SDL_HasMMXExt()? "detected" : "not detected" );
       
   163    SDL_ATprintVerbose( 1, "   3DNow %s\n", SDL_Has3DNow()? "detected" : "not detected" );
       
   164    SDL_ATprintVerbose( 1, "   3DNow Ext %s\n",
       
   165          SDL_Has3DNowExt()? "detected" : "not detected" );
       
   166    SDL_ATprintVerbose( 1, "   SSE %s\n", SDL_HasSSE()? "detected" : "not detected" );
   162    SDL_ATprintVerbose( 1, "   SSE %s\n", SDL_HasSSE()? "detected" : "not detected" );
   167    SDL_ATprintVerbose( 1, "   SSE2 %s\n", SDL_HasSSE2()? "detected" : "not detected" );
   163    SDL_ATprintVerbose( 1, "   SSE2 %s\n", SDL_HasSSE2()? "detected" : "not detected" );
   168    SDL_ATprintVerbose( 1, "   AltiVec %s\n", SDL_HasAltiVec()? "detected" : "not detected" );
   164    SDL_ATprintVerbose( 1, "   SSE3 %s\n", SDL_HasSSE3()? "detected" : "not detected" );
       
   165    SDL_ATprintVerbose( 1, "   SSE4.1 %s\n", SDL_HasSSE41()? "detected" : "not detected" );
       
   166    SDL_ATprintVerbose( 1, "   SSE4.2 %s\n", SDL_HasSSE42()? "detected" : "not detected" );
   169 
   167 
   170    plat_testTypes();
   168    plat_testTypes();
   171    plat_testEndian();
   169    plat_testEndian();
   172 
   170 
   173    return SDL_ATfinish();
   171    return SDL_ATfinish();