Displaying 5 results from an estimated 5 matches for "flac__cpuinfo_ia32_cpuid_sse3".
2017 Jan 09
2
1.3.2: FLAC__CPUINFO_IA32_CPUID_SSE3 undeclared
Building 1.3.2 on OpenBSD/i386, I get this error:
cpu.c: In function 'ia32_cpu_info':
cpu.c:128: error: 'FLAC__CPUINFO_IA32_CPUID_SSE3' undeclared (first use in this
function)
cpu.c:128: error: (Each undeclared identifier is reported only once
cpu.c:128: error: for each function it appears in.)
cpu.c:129: error: 'FLAC__CPUINFO_IA32_CPUID_SSSE3' undeclared (first use in this function)
cpu.c:130: error: 'FLAC__CPUINF...
2014 Mar 23
2
PATCH for cpu.c
> Oliver St?neberg wrote:
>
> > This is simply fixed by putting 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
2014 Mar 23
0
PATCH for cpu.c
...O_IA32_CPUID_MMX = 0x00800000;
static const unsigned FLAC__CPUINFO_IA32_CPUID_FXSR = 0x01000000;
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE = 0x02000000;
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE2 = 0x04000000;
/* these are flags in ECX of CPUID AX=00000001 */
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001;
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSSE3 = 0x00000200;
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE41 = 0x00080000;
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE42 = 0x00100000;
#if defined FLAC__HAS_NASM && defined FLAC__USE_3DNOW
/* these are flags in...
2014 Mar 22
2
PATCH for cpu.c
...^
src/lib/libflac/libFLAC/cpu.c:94:23: error: unused variable 'FLAC__CPUINFO_IA32_CPUID_SSE2' [-Werror,-Wunused-const-variable]
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE2 = 0x04000000;
^
src/lib/libflac/libFLAC/cpu.c:96:23: error: unused variable 'FLAC__CPUINFO_IA32_CPUID_SSE3' [-Werror,-Wunused-const-variable]
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001;
^
src/lib/libflac/libFLAC/cpu.c:97:23: error: unused variable 'FLAC__CPUINFO_IA32_CPUID_SSSE3' [-Werror,-Wunused-const-variable]
static const unsigned FLAC__CPUINFO...
2013 Aug 21
2
PATCH for cpu.c
...xxxxxxx" of static storage duration was declared but never referenced"
--- a\src\libFLAC\cpu.c 2013-08-16 21:46:42.177485300 +0400
+++ b\src\libFLAC\cpu.c 2013-08-16 22:18:34.549866800 +0400
@@ -96,10 +96,12 @@
/* these are flags in ECX of CPUID AX=00000001 */
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001;
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSSE3 = 0x00000200;
+#ifdef FLAC__USE_3DNOW
/* these are flags in EDX of CPUID AX=80000001 */
static const unsigned FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD_3DNOW = 0x80000000;
static const unsigned FLAC__CPUINFO_IA32_CPUID_EXTENDED_...