Re: How about them optimizations?
At 2004-02-10T20:14:46Z, Roop Nanuwa [EMAIL PROTECTED] writes: The only reason they're in there is because I saw them on a website about what people use to optimize gentoo. Don't take this wrong, but that's like asking for car performance advice From some guy with a whaletail on his Sentra. -- Kirk Strauser 94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box. pgp0.pgp Description: PGP signature
Re: How about them optimizations?
On Tue, Feb 10, 2004 at 12:14:46PM -0800, Roop Nanuwa wrote: Part of my current /etc/make.conf on my 5.2-CURRENT box looks like: CPUTYPE= athlon-xp CFLAGS= -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse COPTFLAGS= -O -pipe Now what I'm wondering is if those extras like mmmx msse actually do anything. The only reason they're in there is because I saw them on a website about what people use to optimize gentoo. I had nothing better to do so I recompiled the world with them. I didn't really notice anything good or bad happening after that. I did have to mess around with a couple of makefiles to get around the strict-aliasing problem that O2 introduces. Besides that, though, are there any advantages or disadvantages to compiling with those optimizations and switches? Does -mfpmath=sse actually do anything relevent for the FreeBSD world? I know what the GCC manual says about it but I'd rather hear some real world info. An enquiring mind wants to know. That's superfluous, because gcc already uses all available opcodes when you tell it to optimize for your CPU type with CPUTYPE=athlon-xp. Using -O2 is recommended against, though - see the sample make.conf file. Kris pgp0.pgp Description: PGP signature
Re: How about them optimizations?
Kirk Strauser wrote: At 2004-02-10T20:14:46Z, Roop Nanuwa [EMAIL PROTECTED] writes: The only reason they're in there is because I saw them on a website about what people use to optimize gentoo. Don't take this wrong, but that's like asking for car performance advice From some guy with a whaletail on his Sentra. Oh, don't get me wrong. I realize that this is about as close to eRicing as OS discussions get. I was wondering if there was any merit at all to this. I mean, adding a spoiler that makes your car look like a shopping cart is one thing. Putting a reasonable spoiler on a car is another as it is actually beneficial to some degree for more than just looks. I was trying to see where on the spectrum these optimizations were from reasonable to ricer. --roop ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]