🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
350 B

  1. #ifndef CPU_CAPS_H
  2. #define CPU_CAPS_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. extern int CPUCapFlags;
  7. enum {
  8. CPU_CAP_SSE = 1<<0,
  9. CPU_CAP_SSE2 = 1<<1,
  10. CPU_CAP_SSE3 = 1<<2,
  11. CPU_CAP_SSE4_1 = 1<<3,
  12. CPU_CAP_NEON = 1<<4,
  13. };
  14. void FillCPUCaps(int capfilter);
  15. #ifdef __cplusplus
  16. } // extern "C"
  17. #endif
  18. #endif /* CPU_CAPS_H */