Date: Sat, 4 Nov 2006 01:18:50 +0300 From: "Andrew Pantyukhin" <infofarmer@FreeBSD.org> To: Eric <heli@mikestammer.com> Cc: FreeBSD Questions <questions@freebsd.org> Subject: Re: Athlon64 3200+ make.conf settings Message-ID: <cb5206420611031418m4a7db56du2afd2046688bfada@mail.gmail.com> In-Reply-To: <454BAD30.1070301@mikestammer.com> References: <454BA917.1040201@mikestammer.com> <cb5206420611031243g5d8aa3d2gd0250475b949c38d@mail.gmail.com> <454BAA8F.5050507@mikestammer.com> <cb5206420611031252i3ef8ecadnbd704ecb3eba4f82@mail.gmail.com> <454BAD30.1070301@mikestammer.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/3/06, Eric <heli@mikestammer.com> wrote: > Andrew Pantyukhin wrote: > > > > Yes, very nice :-) > > > > Beware that in some rare cases you might experience > > software failures because of CPUTYPE being set. > > It's not very clear whether it's worth having a > > marginal boost in performance along with some > > instability. I usually gamble on performance, but > > YMMV. > > ok cool. > > One more question and I will leave you alone. when i do a test compile i > am seeing this: > > Build iozone for FreeBSD > > cc -c -O2 -fno-strict-aliasing -pipe -march=athlon-mp -Dunix -Dbsd4_2 > -DHAVE_ANSIC_C -DNAME='"freebsd"' -DSHARED_MEM iozone.c -o iozone_freebsd.o > iozone.c: In function `initfile': > iozone.c:16548: warning: passing arg 2 of `mmap' makes integer from > pointer without a cast > cc -c -O2 -fno-strict-aliasing -pipe -march=athlon-mp -Dunix -Dbsd4_2 > -DHAVE_ANSIC_C -DSHARED_MEM libbif.c -o libbif.o > > Building fileop for FreeBSD > > cc -c -O -O2 -fno-strict-aliasing -pipe -march=athlon-mp fileop.c -o > fileop_freebsd.o > > > is march correct? did the compiler determine athlon-mp due to what i > added or should that say athlon64? It happens, some cputypes are just aliases, though I thought athlon-mp and athlon64 are in different groups. More info on type groups here: http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420611031418m4a7db56du2afd2046688bfada>