[x264-devel] Re: [Patch] x264 on ppc without altivec

Alexis Ballier aballier at woodpecker.gentoo.org
Mon Mar 5 10:03:21 CET 2007


On Mon, Mar 05, 2007 at 09:53:58AM +0100, Guillaume Poirier wrote:
> Hi,
> 
> Alexis Ballier wrote:
> >>Here's what I think:
> >>It should be possible to compile x264 without Altivec support, which
> >>your patch addess, and it's good. Unless the others object, I'd like
> >>to checkin a similar patch, that I'll post when it's ready.
> > 
> > 
> > 
> > 
> > Thinking about it now, perhaps this patch would have been much
> > simpler if when disabling altivec it would set ARCH to
> > PPC_NO_ALTIVEC or something like that.
> 
> Maybe. I think it'd be good if it was possible to completely disable
> compilation of Altivec routines, in order to shrink the binary size.
> Not that it's critical, but I think it hardly makes sense to hardcode
> no usage of Altivec and nevertheless compile these routines.
> 
> I'll see what I can do. Don't hesitate to nag me if I don't get back
> to you within a week.

there is this code in the Makefile : 
44 	# AltiVec optims
45 	ifeq ($(ARCH),PPC)
46 	SRCS += common/ppc/mc.c common/ppc/pixel.c common/ppc/dct.c \
47 	        common/ppc/quant.c
48 	endif

So I suppose that if ARCH != PPC this would not be compiled :)


Alexis.
> 

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list