aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-08-15 01:29:19 -0700
committerChris Robinson <[email protected]>2012-08-15 01:29:19 -0700
commit2e18baa3c8316a3e94f7b85293172b0e377db939 (patch)
tree6949980f9687519f046a0a04e501c7836f4cfd45 /Alc/helpers.c
parentc9e87a19a9b7ca3d82da9cba7b4064af23899149 (diff)
Don't bother handling MMX since we don't use it
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index d963f3a8..b5a8363e 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -90,10 +90,6 @@ void FillCPUCaps(ALuint capfilter)
ERR("Failed to get CPU features\n");
else
{
-#ifdef bit_MMX
- if((cpuinf[0].regs[3]&bit_MMX))
- caps |= CPU_CAP_MMX;
-#endif
#ifdef bit_SSE
if((cpuinf[0].regs[3]&bit_SSE))
caps |= CPU_CAP_SSE;
@@ -107,10 +103,9 @@ void FillCPUCaps(ALuint capfilter)
caps |= CPU_CAP_NEON;
#endif
- TRACE("Got caps:%s%s%s%s\n", ((caps&CPU_CAP_MMX)?((capfilter&CPU_CAP_MMX)?" MMX":" (MMX)"):""),
- ((caps&CPU_CAP_SSE)?((capfilter&CPU_CAP_SSE)?" SSE":" (SSE)"):""),
- ((caps&CPU_CAP_NEON)?((capfilter&CPU_CAP_NEON)?" Neon":" (Neon)"):""),
- ((!caps)?" (none)":""));
+ TRACE("Got caps:%s%s%s\n", ((caps&CPU_CAP_SSE)?((capfilter&CPU_CAP_SSE)?" SSE":" (SSE)"):""),
+ ((caps&CPU_CAP_NEON)?((capfilter&CPU_CAP_NEON)?" Neon":" (Neon)"):""),
+ ((!caps)?" -none-":""));
CPUCapFlags = caps & capfilter;
}