On a box where amdfam10 is the native arch, 4.8 #defines two symbols
with march=native which it does not with march=amdfam10:


:; gcc-4.8.0 -march=amdfam10 -E -dM - </dev/null |sort >/tmp/amdfam10
:; gcc-4.8.0 -march=native -E -dM - </dev/null |sort >/tmp/native
:; diff -U0 /tmp/amdfam10 /tmp/native 
--- /tmp/amdfam10       2013-04-29 18:07:22.435553711 -0400
+++ /tmp/native 2013-04-29 18:07:14.987605897 -0400
@@ -76,0 +77 @@
+#define __FXSR__ 1
@@ -156,0 +158 @@
+#define __PRFCHW__ 1


Should -march=amdfam10 then also set -mfxsr and -mprfchw?

-JimC
-- 
James Cloos <cl...@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6

Reply via email to