1 |
On Sun, May 14, 2017 at 11:05:14AM +0200, Helmut Jarausch wrote |
2 |
> Many thanks for your hints! |
3 |
> |
4 |
> On 05/14/2017 07:13:05 AM, Walter Dnes wrote: |
5 |
> > Out of sheer curiousity, what |
6 |
> > does gcc report as your native cpu when you run... |
7 |
> > |
8 |
> > gcc -c -Q -march=native --help=target | grep march= |
9 |
> |
10 |
> -march=amdfam10 |
11 |
|
12 |
According to the GCC website... |
13 |
https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gcc/x86-Options.html#x86-Options |
14 |
GCC 6.3.0 "-march=amdfam10" ("-march=native" on your machine) supports |
15 |
MMX, SSE, SSE2, SSE3, SSE4A, 3DNow!, enhanced 3DNow!, and ABM. GCC |
16 |
builds binaries to use these instructions where appropriate. |
17 |
|
18 |
When building for the machine that's doing the build, I always use |
19 |
"-march=native". This gets the full available speedup, without having |
20 |
to figure out what the exact cpu family is. |
21 |
|
22 |
-- |
23 |
Walter Dnes <waltdnes@××××××××.org> |
24 |
I don't run "desktop environments"; I run useful applications |