mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
src/libFLAC/ : CPU feature detection improvements.
CPU detection used to depend on ASM code. Now CPU features are also detected when only FLAC__HAS_X86INTRIN is defined. Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
@@ -141,6 +141,7 @@ FLAC__uint32 FLAC__cpu_info_extended_amd_asm_ia32(void);
|
||||
#endif
|
||||
|
||||
#if (defined FLAC__CPU_IA32 || defined FLAC__CPU_X86_64) && defined FLAC__HAS_X86INTRIN
|
||||
FLAC__uint32 FLAC__cpu_have_cpuid_x86(void);
|
||||
void FLAC__cpu_info_x86(FLAC__uint32 *flags_edx, FLAC__uint32 *flags_ecx);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user