Displaying 4 results from an estimated 4 matches for "extmmx".
Did you mean:
extmap
2003 May 08
3
MMX and extended-MMX acceleration patch for encoding
...and Athlon).
Preprocessor directive HAVE_MMX and HAVE_MMXEXT allow to select at
compile-time which code gets used for real. So, use CFLAGS="-DHAVE_MMX" to
get the MMX implementation, and CFLAGS="-DHAVE_MMX -DHAVE_MMXEXT" to get
the MMXEXT implementation (which uses both MMX and extMMX instructions).
The wrappers also allow back-to-back testing of the C and assembly
implementations (very useful for testing). Use -DTEST_MMX for this code to
get in (in this case, both variants are called each time, so do not expect
performance improvements when doing double work...:-).
I have obs...
2004 Sep 10
1
checking OS support for SSE
...dif
+#endif
cpuid = FLAC__cpu_info_extended_amd_asm_ia32();
info->data.ia32._3dnow = (cpuid & FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD_3DNOW)? true : false;
info->data.ia32.ext3dnow = (cpuid & FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD_EXT3DNOW)? true : false;
info->data.ia32.extmmx = (cpuid & FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD_EXTMMX)? true : false;
-
-#ifndef FLAC__SSE_OS
- if(!FLAC__cpu_info_sse_os_asm_ia32()) /* this function currently always returns false */
- info->data.ia32.fxsr = info->data.ia32.sse = info->data.ia32.sse2 = false;
-#endif
}
#else...
2004 Sep 10
3
Altivec, automake
I think I've gotten FLAC__lpc_restore_signal() about as good as I'm going to
get it.
Here's what I have:
-a new file, lpc_asm.s, which has the assembly routines
-changes to cpu.h, cpu.c, and stream_decoder.c to enable them
-changes to configure.in to support the new cpu stuff
-a preliminary Makefile.am
-maybe something else I'm forgetting
Now automake complains that configure.in
2004 Sep 10
2
Altivec, automake
...2003 23:34:58 -0000 1.11
--- cpu.h 25 Jul 2004 23:15:40 -0000
***************
*** 40,45 ****
--- 40,46 ----
typedef enum {
FLAC__CPUINFO_TYPE_IA32,
+ FLAC__CPUINFO_TYPE_PPC,
FLAC__CPUINFO_TYPE_UNKNOWN
} FLAC__CPUInfo_Type;
***************
*** 54,59 ****
--- 55,64 ----
FLAC__bool extmmx;
} FLAC__CPUInfo_IA32;
+ typedef struct {
+ FLAC__bool altivec;
+ } FLAC__CPUInfo_PPC;
+
extern const unsigned FLAC__CPUINFO_IA32_CPUID_CMOV;
extern const unsigned FLAC__CPUINFO_IA32_CPUID_MMX;
extern const unsigned FLAC__CPUINFO_IA32_CPUID_FXSR;
***************
*** 69,74 ****
--- 74,8...