Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Centrino && SSE* => risky??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
SilveRo
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 147
Location: Milan (Italy)

PostPosted: Wed Jun 23, 2004 1:05 pm    Post subject: Centrino && SSE* => risky?? Reply with quote

Hi =)
Some time ago I got a new Centrino laptop (Dell I8600), and I searched the forums for info about what CFLAGS to use.
Many users said not to use SSE or SSE2, even though the Pentium-M supports them, because of instability issues. So I left them out....
My system runs perfectly. It's stable and very fast: it emerged everything and I configured everything in less than 24 hours (setting an alarm clock to go off every hour at night and making my girlfriend mad).

My questions:

1) is it safe to add SSE and SSE2? (I'd also like reports from Centrino owners that are using them)
2) if I add them, and I do 'emerge world', will it recompile everything, or is there a (maybe better) way to do this?
3) are these flags I have been using so far ok?
Code:
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -funroll-all-loops -ftracer -momit-leaf-frame-pointer -pipe"

4) is it worth waiting for the GCC release that supports explicitly the "pentium-m"? (it's supposed to be released at some time)

THX =)
_________________
Think Gray
(things aren't all black or all white)
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Wed Jun 23, 2004 1:17 pm    Post subject: Reply with quote

You are using SSE anyway, because -march=pentium3 implies -msse.
Back to top
View user's profile Send private message
SilveRo
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 147
Location: Milan (Italy)

PostPosted: Wed Jun 23, 2004 1:42 pm    Post subject: Reply with quote

Voltago wrote:
You are using SSE anyway, because -march=pentium3 implies -msse.


Is that right? man, I had no idea.... thx =)

And what about SSE2?
_________________
Think Gray
(things aren't all black or all white)
Back to top
View user's profile Send private message
xces
Guru
Guru


Joined: 11 Oct 2002
Posts: 515

PostPosted: Wed Jun 23, 2004 3:43 pm    Post subject: Reply with quote

SilveRo wrote:
And what about SSE2?

-msse2 is not implied by -march=pentium3. You can just add it to your CFLAGS.
If you use gcc 3.4.0 you should choose -march=pentium-m which implies -msse, -msse2 and -mmmx.
Back to top
View user's profile Send private message
SilveRo
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 147
Location: Milan (Italy)

PostPosted: Wed Jun 23, 2004 5:29 pm    Post subject: Reply with quote

xces wrote:
SilveRo wrote:
And what about SSE2?

-msse2 is not implied by -march=pentium3. You can just add it to your CFLAGS.
If you use gcc 3.4.0 you should choose -march=pentium-m which implies -msse, -msse2 and -mmmx.


THX =)

Uhm, nope, gcc 3.4 is not available for x86 yet, and I'm not sure if I should use it before it goes stable.
I am considering adding sse2, but can anyone tell me if it's worth it and if it's safe with a Centrino?
_________________
Think Gray
(things aren't all black or all white)
Back to top
View user's profile Send private message
xces
Guru
Guru


Joined: 11 Oct 2002
Posts: 515

PostPosted: Wed Jun 23, 2004 6:28 pm    Post subject: Reply with quote

I have (well, had until I switched to gcc 3.4.0) the CFLAG -msse2. Everything worked. Was it worth it? I don't know, really. Never did any benchmarks.
Back to top
View user's profile Send private message
SilveRo
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 147
Location: Milan (Italy)

PostPosted: Wed Jun 23, 2004 6:43 pm    Post subject: Reply with quote

xces wrote:
I have (well, had until I switched to gcc 3.4.0) the CFLAG -msse2. Everything worked. Was it worth it? I don't know, really. Never did any benchmarks.


OK, I'll try to make my mind up =)
_________________
Think Gray
(things aren't all black or all white)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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