Commit a932581775bdc382f630fede1623b010a585a934

Cameron Cawley 2022-09-05T16:37:34

testplatform: Add LSX and LASX checks

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/testplatform.c b/test/testplatform.c
index f5b524d..0ee4ede 100644
--- a/test/testplatform.c
+++ b/test/testplatform.c
@@ -406,6 +406,8 @@ TestCPUInfo(SDL_bool verbose)
         SDL_Log("AVX-512F %s\n", SDL_HasAVX512F()? "detected" : "not detected");
         SDL_Log("ARM SIMD %s\n", SDL_HasARMSIMD()? "detected" : "not detected");
         SDL_Log("NEON %s\n", SDL_HasNEON()? "detected" : "not detected");
+        SDL_Log("LSX %s\n", SDL_HasLSX()? "detected" : "not detected");
+        SDL_Log("LASX %s\n", SDL_HasLASX()? "detected" : "not detected");
         SDL_Log("System RAM %d MB\n", SDL_GetSystemRAM());
     }
     return (0);