[FFmpeg-devel] [PATCH] x86: use raw opcode for xgetbv instruction

Jai Menon jmenon86
Mon Feb 21 05:05:07 CET 2011

On Sun, Feb 20, 2011 at 10:20 AM, Jai Menon <jmenon86 at gmail.com> wrote:
> 2011/2/20 M?ns Rullg?rd <mans at mansr.com>:
>> Luca Barbato <lu_zero at gentoo.org> writes:
>>> On 02/20/2011 03:39 PM, Mans Rullgard wrote:
>>>> This allows the CPU detection to work with assemblers not supporting
>>>> the xgetbv mnemonic. ?These include clang and some BSD versions.
>>>> All AVX code will be written for yasm, where the main assembler
>>>> is not involved.
> [...]
>> BTW, there is an open clang bug on this already.
> http://llvm.org/bugs/show_bug.cgi?id=8935

FWIW I sent a patch to LLVM upstream fixing this. If it gets
committed, then we just need to wait a lifetime for the BSD folks to
catch up.

Jai Menon

More information about the ffmpeg-devel mailing list