[FFmpeg-devel] [PATCH]Use pushfl/popfl in cpuid.c

Aurelien Jacobs aurel
Sun Nov 23 18:09:40 CET 2008


On Sun, 23 Nov 2008 19:52:42 +0100 (CET)
Carl Eugen Hoyos <cehoyos at rainbow.studorg.tuwien.ac.at> wrote:

> New try to fix compilation with icc 11.0
> 
> Please comment, Carl Eugen

This most certainly won't work on x86_64 (I will test in
a few hours if needed).

Here you have:
  pushfl
  pop %0
where %0 points to a x86_reg variable.
So pushfl will always be 32 bits while pop will be
either 32 or 64 bits depending on arch.
So you must change type of vars to int32_t to make
sure pop will be 32 bits.

Aurel




More information about the ffmpeg-devel mailing list