소스 검색

testplatform: Add LSX and LASX checks

Cameron Cawley 3 년 전
부모
커밋
a932581775
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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);