On Sat, Sep 27, 2014 at 12:34:21AM +0400, lvqcl wrote:
> ff_cpu_cpuid routine (in libavutil/x86/cpuid.asm) clears ECX
> register before cpuid instruction. Inline asm version
> (in libavutil/x86/cpu.c) doesn't do this.
> 
> As a result, FFmpeg will probably misdetect AVX2/BMI1/BMI2
> if yasm is not enabled.
> As far as I understand GNU asm, the last line of cpuid macro
> should be changed from
>         : "0" (index))
> to
>         : "0" (index), "2"(0))

fixed

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to