[FFmpeg-devel] [PATCH]Remove test for cpuid instruction from cpuid.c

Reimar Döffinger Reimar.Doeffinger
Sun Nov 23 18:13:19 CET 2008


Hello,
On Sun, Nov 23, 2008 at 05:37:38PM +0100, Aurelien Jacobs wrote:
>      __asm__ volatile (
>          /* See if CPUID instruction is supported ... */
>          /* ... Get copies of EFLAGS into eax and ecx */
> -        "pushf\n\t"
> +        "pushfl\n\t"

pushfl is not valid on x86_64, so you should put the whole test under
ifdef first.

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list