On Sun, May 14, 2017 at 11:05:14AM +0200, Helmut Jarausch wrote
> Many thanks for your hints!
> 
> On 05/14/2017 07:13:05 AM, Walter Dnes wrote:
> > Out of sheer curiousity, what
> > does gcc report as your native cpu when you run...
> > 
> > gcc -c -Q -march=native --help=target | grep march=
> 
> -march=amdfam10

  According to the GCC website...
https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gcc/x86-Options.html#x86-Options
GCC 6.3.0 "-march=amdfam10" ("-march=native" on your machine) supports
MMX, SSE, SSE2, SSE3, SSE4A, 3DNow!, enhanced 3DNow!, and ABM.  GCC
builds binaries to use these instructions where appropriate.

  When building for the machine that's doing the build, I always use
"-march=native".  This gets the full available speedup, without having
to figure out what the exact cpu family is.

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to