[FFmpeg-devel] [Ffmpeg-devel] [PATCH] detect support for 10 operands in configure

Diego Biurrun diego
Mon Feb 9 21:57:52 CET 2009


On Mon, Feb 09, 2009 at 07:36:54PM +0000, Loren Merritt wrote:
> On Mon, 9 Feb 2009, Diego Biurrun wrote:
>
>> I think this is the proper solution for the gcc 2.95 breakage that just
>> occurred.  Probably there is a better way to write the check, but it
>> seems to work and I know no Assembler.
>
> Your patch implicitly checks have_7regs too.
>
> --- configure	(revision 17097)
> +++ configure	(working copy)
> @@ -1778,6 +1782,19 @@
>  
> +    # check whether more than 10 operands are supported
> +    check_cc -O1 <<EOF && enable ten_operands

The -O1 is not necessary with your version AFAICT.  I tried it and did
not get any GENERAL_REGS failures.

Diego




More information about the ffmpeg-devel mailing list