[x264-devel] Allow x264 to detect AltiVec and the # of CPUs on OpenBSD.
Brad
brad at comstyle.com
Sat Jan 17 14:25:58 CET 2009
On Saturday 17 January 2009 08:16:17 Guillaume POIRIER wrote:
> On Sat, Jan 17, 2009 at 2:14 PM, Guillaume POIRIER
>
> <gpoirier at mplayerhq.hu> wrote:
> > Hello,
> >
> > On Tue, Jan 6, 2009 at 10:37 AM, Brad <brad at comstyle.com> wrote:
> >> Here is a diff to allow the CPU code in x264 to detect the presence of
> >> AltiVec on OpenBSD/PowerPC systems and the # of CPUs on any architecture
> >> supported by OpenBSD.
> >
> > The attached patch does the same with a fewer lines.
>
> Duh! Here it is!
>
> Brad, please give it a try if you can.
That's fine with me moving machine/cpu.h up to the top and it doesn't hurt
always including the header no matter what arch.
> Guillaume
> --
> Only a very small fraction of our DNA does anything; the rest is all
> comments and ifdefs.
>
> Natalie Wood - "The only time a woman really succeeds in changing a
> man is when he is a baby."
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the x264-devel
mailing list