Go to the source code of this file.
◆ MM_3DNOW
◆ MM_ACCEL_X86_3DNOW
#define MM_ACCEL_X86_3DNOW 0x40000000 |
◆ MM_ACCEL_X86_AVX
#define MM_ACCEL_X86_AVX 0x00400000 |
◆ MM_ACCEL_X86_MMX
#define MM_ACCEL_X86_MMX 0x80000000 |
◆ MM_ACCEL_X86_MMXEXT
#define MM_ACCEL_X86_MMXEXT 0x20000000 |
◆ MM_ACCEL_X86_SSE
#define MM_ACCEL_X86_SSE 0x10000000 |
◆ MM_ACCEL_X86_SSE2
#define MM_ACCEL_X86_SSE2 0x08000000 |
◆ MM_ACCEL_X86_SSE3
#define MM_ACCEL_X86_SSE3 0x04000000 |
◆ MM_ACCEL_X86_SSE4
#define MM_ACCEL_X86_SSE4 0x01000000 |
◆ MM_ACCEL_X86_SSE42
#define MM_ACCEL_X86_SSE42 0x00800000 |
◆ MM_ACCEL_X86_SSSE3
#define MM_ACCEL_X86_SSSE3 0x02000000 |
◆ MM_MMX
◆ MM_MMXEXT
◆ MM_SSE
◆ MM_SSE2
◆ xine_mm_accel()
uint32_t xine_mm_accel |
( |
void |
| ) |
|
Definition at line 398 of file cpu_accel.cpp.
Referenced by probe_fast_memcpy(), and rdtsc().
400 static int initialized = 0;
401 static uint32_t accel = 0;
408 if ((hndl = dlopen(
"libmlib.so.2", RTLD_LAZY | RTLD_GLOBAL | RTLD_NODELETE)) != NULL) {
410 accel |= MM_ACCEL_MLIB;
413 accel |= MM_ACCEL_MLIB;
417 #if defined(__i386__) || defined(__x86_64__) || (defined(ARCH_PPC) && defined(ENABLE_ALTIVEC)) || (defined(ARCH_SPARC) && defined(ENABLE_VIS)) 418 accel |= arch_accel();