Browse Source

Revert "Add testcpuinfo.c"

This reverts commit 5888b008b1af17f6a0ea5f3c0c793e44dfd9c767.
Anonymous Maarten 2 years ago
parent
commit
78be9eaf38
2 changed files with 0 additions and 31 deletions
  1. 0 1
      test/CMakeLists.txt
  2. 0 30
      test/testcpuinfo.c

+ 0 - 1
test/CMakeLists.txt

@@ -174,7 +174,6 @@ elseif(HAVE_X11)
     target_link_libraries(testnative PRIVATE X11)
 endif()
 
-add_sdl_test_executable(testcpuinfo testcpuinfo.c)
 add_sdl_test_executable(testoverlay NEEDS_RESOURCES TESTUTILS testoverlay.c)
 add_sdl_test_executable(testplatform NONINTERACTIVE testplatform.c)
 add_sdl_test_executable(testpower NONINTERACTIVE testpower.c)

+ 0 - 30
test/testcpuinfo.c

@@ -1,30 +0,0 @@
-#include <SDL3/SDL.h>
-#include <SDL3/SDL_main.h>
-
-#include <stdio.h>
-
-int main(int argc, char *argv[])
-{
-    (void)argc;
-    (void)argv;
-
-    printf("     CPU count : %d\n", SDL_GetCPUCount());
-    printf("CacheLine size : %d\n", SDL_GetCPUCacheLineSize());
-    printf("         RDTSC : %d\n", SDL_HasRDTSC());
-    printf("       Altivec : %d\n", SDL_HasAltiVec());
-    printf("           MMX : %d\n", SDL_HasMMX());
-    printf("           SSE : %d\n", SDL_HasSSE());
-    printf("          SSE2 : %d\n", SDL_HasSSE2());
-    printf("          SSE3 : %d\n", SDL_HasSSE3());
-    printf("        SSE4.1 : %d\n", SDL_HasSSE41());
-    printf("        SSE4.2 : %d\n", SDL_HasSSE42());
-    printf("           AVX : %d\n", SDL_HasAVX());
-    printf("          AVX2 : %d\n", SDL_HasAVX2());
-    printf("      AVX-512F : %d\n", SDL_HasAVX512F());
-    printf("      ARM SIMD : %d\n", SDL_HasARMSIMD());
-    printf("          NEON : %d\n", SDL_HasNEON());
-    printf("           LSX : %d\n", SDL_HasLSX());
-    printf("          LASX : %d\n", SDL_HasLASX());
-    printf("           RAM : %d MB\n", SDL_GetSystemRAM());
-    return 0;
-}