You are not logged in.
I just realized that my CFLAG line is nocona, when the wiki says that for gcc >= 4.3.0 should be core2. Did I just waste a bunch of time?
Offline
well core2 might have a few more optimizations then nocona, but it shouldnt make things any worse then the defaults. I always just use march=native on all my systems.
Offline
I just realized that my CFLAG line is nocona, when the wiki says that for gcc >= 4.3.0 should be core2. Did I just waste a bunch of time?
Depends on your system's cpu - I use the following flags when I use gcc for compiling my apps:
-O2 -mtune=`uname -m` -march=`uname -m`
man gcc
nocona
Improved version of Intel Pentium4 CPU with 64-bit extensions,
MMX, SSE, SSE2 and SSE3 instruction set support.core2
Intel Core2 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3 and
SSSE3 instruction set support.
If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.
Offline
This is what I use on my all my x86_64 boxes:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="$CFLAGS"Anyway, I doubt that you will notice mutch of an performance difference between 'nocona' and 'core2'.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
nocona is very similar to core2.
The real question is, did you use optimized LDFLAGS? If not, there's your waste of time ![]()
Offline