Don't bother handling MMX since we don't use it
This commit is contained in:
parent
c9e87a19a9
commit
2e18baa3c8
@ -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;
|
||||
}
|
||||
|
||||
|
@ -765,11 +765,8 @@ extern ALint RTPrioLevel;
|
||||
|
||||
extern ALuint CPUCapFlags;
|
||||
enum {
|
||||
CPU_CAP_MMX = 1<<0,
|
||||
CPU_CAP_SSE = 1<<1,
|
||||
CPU_CAP_NEON = 1<<3,
|
||||
|
||||
CPU_CAP_ALL = CPU_CAP_MMX|CPU_CAP_SSE|CPU_CAP_NEON
|
||||
CPU_CAP_SSE = 1<<0,
|
||||
CPU_CAP_NEON = 1<<1,
|
||||
};
|
||||
|
||||
void FillCPUCaps(ALuint capfilter);
|
||||
|
Loading…
Reference in New Issue
Block a user