[FFmpeg-devel] [PATCH] forgotten "enable ppc64" for arch == ppc64

Måns Rullgård mans
Mon May 25 21:10:05 CEST 2009


Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:

> Hello,
> I noticed that on the FATE ppc64 machine HAVE_PPC64 is 0.
> This I think should fix it, though I am not sure how it is _supposed_
> to behave:
> Index: configure
> ===================================================================
> --- configure   (revision 18938)
> +++ configure   (working copy)
> @@ -1516,6 +1516,7 @@
>          arch="ppc"
>          enable fast_64bit
>          enable fast_unaligned
> +        enable ppc64
>      ;;
>      s390|s390x)
>          arch="s390"
>
> It seems quite messed-up still, because the CPU check does enable ppc64
> for
> G5|g5|970|ppc970|PowerPC970|power4*|Power4*|Cell|CELL|cell
> but doesn't seem to set "enable fast_64bit" for those??

HAVE_PPC64 should be changed to ARCH_PPC64, and the subarch variable
in configure set accordingly.  This and fast_64bit should be set in
$arch handling, not $cpu.  Patches welcome.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list