[FFmpeg-devel] [PATCH] Fix configure to disable MMX for Pentium Pro
Thu Aug 26 20:50:08 CEST 2010
On Thu, Aug 26, 2010 at 02:50:28PM +0100, M?ns Rullg?rd wrote:
> "Ronald S. Bultje" <rsbultje at gmail.com> writes:
> > On Thu, Aug 26, 2010 at 9:34 AM, Alex Converse <alex.converse at gmail.com> wrote:
> >> ./configure --cpu=prentiumpro says build me an FFmpeg for a
> >> PentiumPro. The result will no longer run on a PentiumPro.
> > A) It should require --disable-mmx (and thus the configure patch to
> > disable mmx should be changed to error out unless mmx is disabled),
> That's a stupid idea. Specifying a CPU without MMX should of course
> disable MMX. That stands to reason. It is also how all the other
> architectures work.
I don't want to flame you or anything, but in my view "it stands to reason"
that this is because the other architectures were designed so idiotically
that you can't test properly if the SIMD instructions are supported and thus
we just can't really chose the best code at runtime anyway.
Also that reasoning would mean you should disable SSE with --cpu=pentium-mmx
More information about the ffmpeg-devel