View previous topic :: View next topic |
Author |
Message |
GatoVolador Apprentice


Joined: 16 Jun 2004 Posts: 268 Location: California, USA
|
Posted: Tue Nov 09, 2004 7:04 am Post subject: Correct -march setting |
|
|
Hello all,
I was checking out my make.conf file and noticed that I've got in my CFLAGS. I've got a Pentium-2 266 and uname -a says Code: | Linux yemaya 2.6.8-gentoo-r10 #1 Wed Oct 20 00:39:55 PDT 2004 i686 Pentium II (Klamath) GenuineIntel GNU/Linux | I was checking out man gcc and noticed the following: Quote: | The choices for cpu-type are i386, i486, i586, i686, pentium, pentium-mmx, pentiumpro, pentium2, ... i686 is equivalent to pentiumpro | So the question is: should I use -march=pentium2 or -march=i686? I realize the difference would probably be small, but I certainly don't mind using my chip's full instruction set.
Any recommendations are appreciated,
Jay |
|
Back to top |
|
 |
bradp_84 n00b

Joined: 06 Nov 2004 Posts: 48 Location: Australia
|
Posted: Tue Nov 09, 2004 7:48 am Post subject: |
|
|
Hi jayb,
The man page for gcc doesn't mention pentium pro as having the MMX instruction set. I don't personally know that it doesn't, but it lists it for the other architectures that do have it. From memory I think the MMX instruction set added another 70 odd instructions to the standard pentium that are pretty good for multimedia stuff.
I'd say move to -march=pentium2 and emerge -e world
Cheers,
Brad |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|