[MPlayer-dev-eng] [PATCH] configure: use -march=native when available

Zuxy Meng zuxy.meng at gmail.com
Fri Aug 24 12:49:41 CEST 2007


Hi,

2007/8/16, Zuxy Meng <zuxy.meng at gmail.com>:
> Hi,
>
> gcc 4.2 supports 'native' as an option to 'march' and 'mtune'. And gcc
> will translate it into the most appropriate march and mtune options
> for the host machine. It's similar to what mplayer's configure's
> doing, but refrains us from making the script longer and longer as new
> CPUs appears in market. What's more, it provides support for CPUs not
> yet covered by existing -march options (for example, it'll choose
> -march=prescott -mtune=generic for Yonah).

Diego?
-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list