[FFmpeg-devel] [PATCH] configure: check yasm/nasm for working pextrd opcode
Ronald S. Bultje
rsbultje
Sun Feb 6 17:44:18 CET 2011
Hi,
On Sun, Feb 6, 2011 at 2:50 AM, Diego Biurrun <diego at biurrun.de> wrote:
> On Sun, Feb 06, 2011 at 07:58:02AM +0200, Anssi Hannula wrote:
>> NASM versions older than 2.08 fail to build ffmpeg with several
>> "error: operation size not specified" errors but this is not caught in
>> configure.
>>
>> Fix that by checking if "pextrd [eax], xmm0, 1" works in configure.
>>
>> --- a/configure
>> +++ b/configure
>> @@ -2671,7 +2671,7 @@ EOF
>>
>> - ? ? ? ?check_yasm "pabsw xmm0, xmm0" && enable yasm ||
>> + ? ? ? ?check_yasm "pextrd [eax], xmm0, 1" && enable yasm ||
>> ? ? ? ? ? ? ?die "yasm not found, use --disable-yasm for a crippled build"
>
> OK
Pushed.
Ronald
More information about the ffmpeg-devel
mailing list