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

Luca Barbato lu_zero
Sun Feb 20 16:21:56 CET 2011

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.

We'd better put a notice about this somewhere and/or prepare a configure
check in case somebody provides inline avx asm.

The patch looks ok (given the opcode is that one).



Luca Barbato

More information about the ffmpeg-devel mailing list