1 |
--- On Thu, 5/21/09, Alex Schuster <wonko@×××××××××.org> wrote: |
2 |
|
3 |
> From: Alex Schuster <wonko@×××××××××.org> |
4 |
> Subject: [gentoo-user] Re: -march=auto |
5 |
> To: gentoo-user@l.g.o |
6 |
> Received: Thursday, May 21, 2009, 12:30 PM |
7 |
> I just wrote: |
8 |
> |
9 |
> > > Could also perhaps try -march=auto if you're |
10 |
> using a version of GCC |
11 |
> > > that supports it. |
12 |
> |
13 |
> Oh, it's -march=native. |
14 |
> |
15 |
> > BTW, is there a possibility to let gcc tell what flags |
16 |
> it will actually |
17 |
> > use with -march=auto? |
18 |
> |
19 |
> Paul Hartman just posted a link to a script that seems to |
20 |
> do what I was |
21 |
> looking for in the "[OT]eee 900a intel atom is what |
22 |
> processor family?" |
23 |
> thread: <http://www.pixelbeat.org/scripts/gcccpuopt> |
24 |
> |
25 |
> But it suggests using -march=k8 - isn't that a 64-bit-only |
26 |
> thing? I'm not |
27 |
|
28 |
For an 900A w/intel Atom? |
29 |
|
30 |
This is what I get: |
31 |
|
32 |
Warning: Your compiler supports the -march=native option which you may prefer |
33 |
Warning: Newer versions of GCC better support your CPU with -march=atom |
34 |
-march=core2 -mtune=pentium -mfpmath=sse. |
35 |
|
36 |
Now I'm confused. It says *my* compiler supports -march=native. Then it says "Newer versions". Isn't v4.3.2 new? It was from a new pkg about a month ago. Is it giving me a choice here? Can I really declare two -march variables? What about mtune and mfpath, are they meant to be "instead of" or "in addition to"? What goes in the kernel config? What in /etc/paludis/bashrc? |
37 |
|
38 |
Maxim |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
__________________________________________________________________ |
44 |
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now |
45 |
http://ca.toolbar.yahoo.com. |