[vlc-devel] commit: Contribs: Use mtune=pentium2 for Windows (Jean-Baptiste Kempf )

Måns Rullgård mans at mansr.com
Sat Jan 9 12:39:46 CET 2010


Jean-Baptiste Kempf <jb at videolan.org> writes:

> On Sat, Jan 09, 2010 at 11:46:39AM +0200, Rémi Denis-Courmont wrote :
>> >  - I believe that we could even --march=pentium2, but that would imply
>> >    --mtune=pentium2.
>> 
>> It's not the same. If we want to drop PPro support/enforce MMX, I would use
>> '-march=pentium2 -mtune=i686'.
>
> mtune=i686 would mean optimize for PentiumPro, which would be stupid IMHO.
>
> Well, I would more do the opposite:
>  -mtune=pentium2 -march=i686

Pentium2 is ppro+mmx and some cache differences we don't care about
right now.  The only difference resulting from setting -march to one
or the other is whether or not gcc is allowed to issue mmx
instructions, which it's pretty poor at doing anyway.

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




More information about the vlc-devel mailing list