diff options
author | Chris Robinson <[email protected]> | 2018-01-11 07:19:19 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-11 07:19:19 -0800 |
commit | 81b13f78ea27aaa6704457124931148244fd1614 (patch) | |
tree | 781abb42054d9c2e51fdc1aefc44d1ad81d265d7 /Alc/cpu_caps.h | |
parent | 9b9ec2c21a7f0992a6ca64ac9cb2a03838e11cd7 (diff) |
Move the CPU capability flags to a separate header
Diffstat (limited to 'Alc/cpu_caps.h')
-rw-r--r-- | Alc/cpu_caps.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Alc/cpu_caps.h b/Alc/cpu_caps.h new file mode 100644 index 00000000..328d470e --- /dev/null +++ b/Alc/cpu_caps.h @@ -0,0 +1,15 @@ +#ifndef CPU_CAPS_H +#define CPU_CAPS_H + +extern int CPUCapFlags; +enum { + CPU_CAP_SSE = 1<<0, + CPU_CAP_SSE2 = 1<<1, + CPU_CAP_SSE3 = 1<<2, + CPU_CAP_SSE4_1 = 1<<3, + CPU_CAP_NEON = 1<<4, +}; + +void FillCPUCaps(int capfilter); + +#endif /* CPU_CAPS_H */ |