This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Unknown CPU given in --with-tune=athlon64-sse3.
- From: Ian Lance Taylor <iant at google dot com>
- To: Felyza Wishbringer <felyza at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 19 Jan 2010 07:10:04 -0800
- Subject: Re: Unknown CPU given in --with-tune=athlon64-sse3.
- References: <4B53E78F.50607@gmail.com>
Felyza Wishbringer <felyza@gmail.com> writes:
> Trying to build trunk. Having an issue with "Unknown CPU given in
> --with-tune=athlon64-sse3."
>
> My configure script is:
> cd build;../gcc-4.5/configure --prefix=/opt/gcc-4.5 --enable-lto
> --program-suffix=-4.5 --with-system-zlib --enable-__cxa_atexit
> --with-tune=athlon64-sse3
>
> I'm using the page found at
> http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html as
> reference, which lists, "//k8-sse3, opteron-sse3, athlon64-sse3/"/ as
> a valid option step between the k8 and barcelona lines. /
> //
> /From trunk/gcc/config.gcc:/
> / echo "Unsupported CPU used in --with-cpu=$with_cpu,
> supported values:" 1>&2/
> / echo "generic atom core2 nocona x86-64 amdfam10
> barcelona k8 opteron athlon64 athlon-fx" 1>&2/
> //
> No where in config.gcc am I finding mention of 'sse3'.
>
> /Is the lack of the sse3 models an oversight, or intended?//
I haven't looked in full detail, but it looks like an oversight to me.
It's rejected in config.gcc but accepted in i386.c. If config.gcc
accepted it it seems likely that it would work fine.
Ian