vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I have installed my gentoo over a pentium-m (mobile centrimo) with gcc 3.3. Therefore I set make.conf with: CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -msse2 -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" Everything go well, but I started with a stagex86 for i686-pc... was it the right choice? Thanks, davide moro PS: When gcc will be upgraded up to 3.4 version, I should change my make.conf like this, isn't it? For gcc 3.4 and later: CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" I'm sorry for my poor english... Regards, davide moro |
| |||
| davide moro wrote: > Hi, > I have installed my gentoo over a pentium-m (mobile centrimo) with gcc > 3.3. Therefore I set make.conf with: > > CHOST="i686-pc-linux-gnu" > CFLAGS="-march=pentium3 -msse2 -O2 -pipe -fomit-frame-pointer" > CXXFLAGS="${CFLAGS}" Why pentium3??? > PS: > When gcc will be upgraded up to 3.4 version, I should change my > make.conf like this, isn't it? > For gcc 3.4 and later: > > CHOST="i686-pc-linux-gnu" > CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" > CXXFLAGS="${CFLAGS}" > > I'm sorry for my poor english... > Regards, > > davide moro That's what I would expect from the very beginning... |
| |||
| Codo <Codo@DONOTSPAMME.NET> wrote: > davide moro wrote: > >> Hi, >> I have installed my gentoo over a pentium-m (mobile centrimo) with >> gcc 3.3. Therefore I set make.conf with: >> >> CHOST="i686-pc-linux-gnu" >> CFLAGS="-march=pentium3 -msse2 -O2 -pipe -fomit-frame-pointer" >> CXXFLAGS="${CFLAGS}" > Why pentium3??? As opposed to? Note that Codo writes "with gcc 3.3". The Pentium-M is mostly a Pentium III-S with SSE2 added. Thus, it is way faster than the P4 clock-by-clock just like the PIII, mostly because of the shorter pipeline. It will run code optimized and scheduled for the PIII much better than code optimized and scheduled for a P4. Codo made the correct choice here. >> PS: >> When gcc will be upgraded up to 3.4 version, I should change my >> make.conf like this, isn't it? >> For gcc 3.4 and later: >> >> CHOST="i686-pc-linux-gnu" >> CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" >> CXXFLAGS="${CFLAGS}" >> >> I'm sorry for my poor english... >> Regards, >> >> davide moro > That's what I would expect from the very beginning... Except that -march=pentium-m isn't a choice until gcc 3.4 has been installed. (Even then, gcc doesn't do anything more than enabling sse2 -- it's using the PIII code scheduler, so "-march=pentium-m" is really equivalent to "-march=pentium3 -msse2". You need ICC to create code specifically for the Pentium-M). Regards, -- *Art |
| |||
| "Arthur Hagen" <art@broomstick.com> ha scritto nel messaggio news:dt3bij$el1$1@tree.lightning.broomstick.com... > Codo <Codo@DONOTSPAMME.NET> wrote: > Except that -march=pentium-m isn't a choice until gcc 3.4 has been > installed. (Even then, gcc doesn't do anything more than enabling > sse2 -- it's using the PIII code scheduler, so "-march=pentium-m" is > really equivalent to "-march=pentium3 -msse2". You need ICC to create > code specifically for the Pentium-M). > Infact I have gcc 3.3, I'm sure that -march is pentium3, until I'll upgrade gcc to 3.4. Thank you very much. Regards, davide |
| |||
| "Arthur Hagen" <art@broomstick.com> ha scritto nel messaggio news:dt3bij$el1$1@tree.lightning.broomstick.com... > Codo <Codo@DONOTSPAMME.NET> wrote: >> davide moro wrote: >> >>> Hi, >>> I have installed my gentoo over a pentium-m (mobile centrimo) with >>> gcc 3.3. Therefore I set make.conf with: >>> >>> CHOST="i686-pc-linux-gnu" >>> CFLAGS="-march=pentium3 -msse2 -O2 -pipe -fomit-frame-pointer" >>> CXXFLAGS="${CFLAGS}" >> Why pentium3??? > > As opposed to? Note that Codo writes "with gcc 3.3". > > The Pentium-M is mostly a Pentium III-S with SSE2 added. Thus, it is > way faster than the P4 clock-by-clock just like the PIII, mostly because > of the shorter pipeline. It will run code optimized and scheduled for > the PIII much better than code optimized and scheduled for a P4. > Codo made the correct choice here. > ("davide and not Codo" made the correct choice here : ) However, my originally question was: with a processor pentium-m, I had to start with a stage3-pentium3 or with a stage3-i686? I made the second choice and I don't know if it'ok. I'm very sorry for my poor english... Thanks! Regards, davide |
| |||
| davide moro <davide82.moro@libero.i> wrote: > > ("davide and not Codo" made the correct choice here : ) Sorry about that! > However, my originally question was: > with a processor pentium-m, I had to start with a stage3-pentium3 or > with a stage3-i686? I made the second choice and I don't know if > it'ok. Oh, it's perfectly fine. You can use i686 on anything that's Pentium Pro compatible. That means Pentium Pro, /some/ Pentium II's, Pentium III and anything newer. The Pentium-M definitely can handle all i686 code. Once you recompile things with -march, you'll get the CPU specific optimizations, but the processor family is indeed i686, and i686 code will run faster than plain old i386 code on your CPU. > I'm very sorry for my poor english... It's quite understandable -- nothing to apologize for at all! Regards, -- *Art |
| ||||
| "Arthur Hagen" <art@broomstick.com> ha scritto nel messaggio news:dt4jvl$nnn$1@tree.lightning.broomstick.com... > Oh, it's perfectly fine. You can use i686 on anything that's Pentium > Pro compatible. That means Pentium Pro, /some/ Pentium II's, Pentium > III and anything newer. The Pentium-M definitely can handle all i686 > code. > > Once you recompile things with -march, you'll get the CPU specific > optimizations, but the processor family is indeed i686, and i686 code > will run faster than plain old i386 code on your CPU. > Thank you very much, you are very kindly : ) >> I'm very sorry for my poor english... > > It's quite understandable -- nothing to apologize for at all! > : ) Regards, davide moro |