Browse Source

testplatform: Add LSX and LASX checks

Cameron Cawley 2 năm trước cách đây
mục cha
commit
a932581775
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      test/testplatform.c

+ 2 - 0
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);