View previous topic :: View next topic |
Author |
Message |
lodewj n00b
Joined: 03 Aug 2004 Posts: 12
|
Posted: Tue Nov 20, 2007 6:28 pm Post subject: GCC and GEODE GX1 (national sc1100) |
|
|
Fellow gentoo'ers,
I've got a few questions regarding this particular cpu.
Code: |
processor : 0
vendor_id : Geode by NSC
cpu family : 5
model : 9
model name : Unknown
stepping : 1
cpu MHz : 266.627
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu tsc msr cx8 cmov mmx cxmmx
bogomips : 534.52
clflush size : 32
|
I'm using a soekris net4801 embedded pc (link)
And I'm going to make a multipath router with loadbalancing/failover, using ethernet and EDGE.
The box itself feels AWFULLY slow at doing anything realy. So I'm trying to squize every bit of performance I could get out of it.
After some reading, it is generaly a i586 class cpu (pentium mmx alike) but with some further improvements. As you can see, I also know's cmov, wich is actually a i686 feature.
I'm using the following CFLAGS and CHOST.
CFLAGS="-march=pentium-mmx -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i586-pc-linux-gnu"
Now comes the question, is there any way, to make gcc use cmov as well? I am using i586-pc-linux-gnu-4.2.2 for now.
Any input is greatly apreciated!
thanks in advance. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Wed Oct 08, 2014 10:24 pm Post subject: |
|
|
Necroing this 7 year old post for fun. I still run my Geode GX1 and this is my CFLAGS:
CFLAGS="-O2 -march=i686 -pipe"
Code: | processor : 0
vendor_id : CyrixInstead
cpu family : 5
model : 9
model name : Unknown
stepping : 1
cpu MHz : 266.660
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu tsc msr cx8 cmov mmx cxmmx
bogomips : 533.54
clflush size : 32
cache_alignment : 32
address sizes : 32 bits physical, 32 bits virtual
power management:
|
I have 256MB in this machine. I haven't run into any i686 instructions that this machine couldn't chomp yet, but this machine doesn't have X installed.
This machine indeed is way too slow to compile, even running emerge is painful. But if you're not compiling anything then it could be OK.
On another note, this machine is still faster than my other SOC machine: a 133MHz SC520... For kicks I installed Gentoo on it as well on a 2GB CF card...
Code: | processor : 0
vendor_id : AuthenticAMD
cpu family : 4
model : 9
model name : 486 DX/4-WB
stepping : 4
microcode : 0x1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu
bogomips : 59.90
clflush size : 32
cache_alignment : 32
address sizes : 32 bits physical, 32 bits virtual
power management:
|
What's bad could always be worse... This thing took almost 20 minutes to compile wireless-tools ... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
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
|
|