add 3DNOW stuff from Miroslav
[flac.git] / src / libFLAC / include / private / cpu.h
index 4e8e69c..c858b3a 100644 (file)
@@ -33,13 +33,21 @@ typedef struct {
        FLAC__bool fxsr;
        FLAC__bool sse;
        FLAC__bool sse2;
+       FLAC__bool _3dnow;
+       FLAC__bool ext3dnow;
+       FLAC__bool extmmx;
 } FLAC__CPUInfo_IA32;
+
 extern const unsigned FLAC__CPUINFO_IA32_CPUID_CMOV;
 extern const unsigned FLAC__CPUINFO_IA32_CPUID_MMX;
 extern const unsigned FLAC__CPUINFO_IA32_CPUID_FXSR;
 extern const unsigned FLAC__CPUINFO_IA32_CPUID_SSE;
 extern const unsigned FLAC__CPUINFO_IA32_CPUID_SSE2;
 
+extern const unsigned FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD_3DNOW;
+extern const unsigned FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD_EXT3DNOW;
+extern const unsigned FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD_EXTMMX;
+
 typedef struct {
        FLAC__bool use_asm;
        FLAC__CPUInfo_Type type;
@@ -54,6 +62,7 @@ void FLAC__cpu_info(FLAC__CPUInfo *info);
 #ifdef FLAC__CPU_IA32
 #ifdef FLAC__HAS_NASM
 unsigned FLAC__cpu_info_asm_ia32();
+unsigned FLAC__cpu_info_extended_amd_asm_ia32();
 #endif
 #endif
 #endif