search for: flac__cpuinfo_ia32_cpuid_cmov

Displaying 9 results from an estimated 9 matches for "flac__cpuinfo_ia32_cpuid_cmov".

2014 Mar 23
2
PATCH for cpu.c
...those unused constants into the > > proper defines. I attached a patch against git 70b078c. > > Unfortunately it breaks x86_64 build (where FLAC__CPU_X86_64 is defined, and > FLAC__CPU_IA32 isn't). Maybe it's simpler to turn them into #defines such as > > #define FLAC__CPUINFO_IA32_CPUID_CMOV 0x00008000U > #define FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD_3DNOW 0x80000000U > > and so on? Maybe - I usually don't try to change the basics of code, but try to fix the errors properly. I overlooked that code since it didn't exist in 1.2.1 and 1.3.0 and we never set the C...
2014 Mar 22
2
PATCH for cpu.c
...AME/MESS project sitting around I thought about joining this list to make things easier. First one is the latest modification we had to make to compile with clang 3.4 x64. Here are the warnings the 1.2.1 source will give with it: src/lib/libflac/libFLAC/cpu.c:90:23: error: unused variable 'FLAC__CPUINFO_IA32_CPUID_CMOV' [-Werror,-Wunused-const-variable] static const unsigned FLAC__CPUINFO_IA32_CPUID_CMOV = 0x00008000; ^ src/lib/libflac/libFLAC/cpu.c:91:23: error: unused variable 'FLAC__CPUINFO_IA32_CPUID_MMX' [-Werror,-Wunused-const-variable] static const unsigned FLAC__CPUINFO_I...
2014 Mar 23
0
PATCH for cpu.c
Oliver St?neberg wrote: >> Unfortunately it breaks x86_64 build (where FLAC__CPU_X86_64 is defined, and >> FLAC__CPU_IA32 isn't). Maybe it's simpler to turn them into #defines such as >> >> #define FLAC__CPUINFO_IA32_CPUID_CMOV 0x00008000U >> #define FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD_3DNOW 0x80000000U >> >> and so on? > > Maybe - I usually don't try to change the basics of code, but try to > fix the errors properly. > I overlooked that code since it didn't exist in 1.2.1 and...
2005 Feb 11
1
FreeBSD 4.x problem resolved
...andle SSE so it can't be used, although the system CPU may or may not support it.) --- src/libFLAC/cpu.c.orig +++ src/libFLAC/cpu.c @@ -25,6 +25,11 @@ #include <config.h> #endif +#ifdef __FreeBSD__ +#include <sys/types.h> +#include <sys/sysctl.h> +#endif + const unsigned FLAC__CPUINFO_IA32_CPUID_CMOV = 0x00008000; const unsigned FLAC__CPUINFO_IA32_CPUID_MMX = 0x00800000; const unsigned FLAC__CPUINFO_IA32_CPUID_FXSR = 0x01000000; @@ -52,6 +57,15 @@ #ifndef FLAC__SSE_OS info->data.ia32.fxsr = info->data.ia32.sse = info->data.ia32.sse2 = false; +#else +#if defined(__FreeBSD__) +...
2017 Feb 14
2
Flac build issue in debug win x32
Hi Guys, The following code in CPU.c (line 155) won't link if you don't have NASM code built even if FLAC__HAS_X86INTRIN is true as FLAC__cpu_info_asm_ia32 don't exists and the else is compiled if there is no dead code stripping if (FLAC__HAS_X86INTRIN) { FLAC__cpu_info_x86(0, &flags_eax, &flags_ebx, &flags_ecx, &flags_edx); info->ia32.intel =
2017 Feb 20
0
Flac build issue in debug win x32
...cpu.c @@ -118,7 +118,9 @@ ia32_cpu_info (FLAC__CPUInfo *info) FLAC__cpu_info_x86(1, &flags_eax, &flags_ebx, &flags_ecx, &flags_edx); } else { +#if FLAC__HAS_NASM FLAC__cpu_info_asm_ia32(&flags_edx, &flags_ecx); +#endif } info->ia32.cmov = (flags_edx & FLAC__CPUINFO_IA32_CPUID_CMOV ) ? true : false;
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
1
checking OS support for SSE
...lude<stdlib.h> #include<stdio.h> +#ifndef FLAC__NO_ASM +#ifdef FLAC__CPU_IA32 +#ifdef FLAC__HAS_NASM +#ifndef FLAC__SSE_OS +#ifndef NO_VFORK +#include <unistd.h> +#include <sys/types.h> +#include <sys/wait.h> +#endif +#endif +#endif +#endif +#endif + const unsigned FLAC__CPUINFO_IA32_CPUID_CMOV = 0x00008000; const unsigned FLAC__CPUINFO_IA32_CPUID_MMX = 0x00800000; const unsigned FLAC__CPUINFO_IA32_CPUID_FXSR = 0x01000000; @@ -44,17 +58,37 @@ info->data.ia32.mmx = (cpuid & FLAC__CPUINFO_IA32_CPUID_MMX)? true : false; info->data.ia32.fxsr = (cpuid & FLAC__CPUINFO_IA32...
2004 Sep 10
2
Altivec, automake
...#include <config.h> #endif + #if defined FLAC__CPU_PPC + #if !defined FLAC__NO_ASM + #if defined __APPLE__ && defined __MACH__ + #include <sys/sysctl.h> + #endif /* __APPLE__ && __MACH__ */ + #endif /* FLAC__NO_ASM */ + #endif /* FLAC__CPU_PPC */ + const unsigned FLAC__CPUINFO_IA32_CPUID_CMOV = 0x00008000; const unsigned FLAC__CPUINFO_IA32_CPUID_MMX = 0x00800000; const unsigned FLAC__CPUINFO_IA32_CPUID_FXSR = 0x01000000; *************** *** 78,83 **** --- 86,115 ---- #else info->use_asm = false; #endif + #elif defined FLAC__CPU_PPC + info->type = FLAC__CPUINFO_TYPE_PPC...