Displaying 2 results from an estimated 2 matches for "dumplicate".
Did you mean:
dubplicate
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
...t; 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 CPU defines before for MAME/MESS (will look into
> that).
Another possible solution is to dumplicate the definitions like this:
#if defined FLAC__CPU_IA32 && !defined FLAC__NO_ASM && (defined FLAC__HAS_NASM || defined FLAC__HAS_X86INTRIN)
/* these are flags in EDX of CPUID AX=00000001 */
static const unsigned FLAC__CPUINFO_IA32_CPUID_CMOV = 0x00008000;
static const unsigned FLAC_...