add last backwards-compatible version

This commit is contained in:
2021-12-14 00:33:46 -07:00
parent 68b10d413b
commit b0dd3f07f3
335 changed files with 4746 additions and 19627 deletions

View File

@@ -4,14 +4,7 @@
#if PFC_HAVE_CPUID
namespace pfc {
bool query_cpu_feature_set(unsigned p_value) {
#if _M_IX86_FP >= 2
// don't bother checking for SSE/SSE2 if compiled to use them
p_value &= ~(CPU_HAVE_SSE | CPU_HAVE_SSE2);
if (p_value == 0) return true;
#endif
#ifdef _MSC_VER
__try {
#endif