From fc0be88c0f8d3d8887edd2afac915840f4e3f5e4 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 4 Jun 2014 02:57:13 -0700 Subject: Add SSE2 and SSE4.1 linear resamplers Currently the only way SSE 4.1 is detected is by using __get_cpuid, i.e. with GCC. Windows' IsProcessorFeaturePresent does not report SSE4.1 capabilities. --- OpenAL32/Include/alMain.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenAL32/Include/alMain.h') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 57b08113..232c438c 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -887,7 +887,8 @@ extern ALuint CPUCapFlags; enum { CPU_CAP_SSE = 1<<0, CPU_CAP_SSE2 = 1<<1, - CPU_CAP_NEON = 1<<2, + CPU_CAP_SSE4_1 = 1<<2, + CPU_CAP_NEON = 1<<3, }; void FillCPUCaps(ALuint capfilter); -- cgit v1.2.3