On Thu Apr 14 11, George Liaskos wrote: > > It works fine here: > > > > $ gcc -### -march=native -S empty.c > > Using built-in specs. > > Target: i386-undermydesk-freebsd > > Configured with: FreeBSD/i386 system compiler > > Thread model: posix > > gcc version 4.2.2 20070831 prerelease [FreeBSD] > > "/usr/libexec/cc1" "-quiet" "-D_LONGLONG" "empty.c" "-march=core2" > > "-mtune=generic" "-quiet" "-dumpbase" "empty.c" "-auxbase" "empty" "-o" > > "empty.s" > > It doesn't work for me on two different boxes > > 1. r220269: Sat Apr 2 19:15:49 EEST 2011, CPU: Intel(R) Core(TM)2 CPU > 6700 _at_ 2.66GHz (2666.82-MHz K8-class CPU) > cc -### -march=native -S foo.c > Using built-in specs. > Target: amd64-undermydesk-freebsd > Configured with: FreeBSD/amd64 system compiler > Thread model: posix > gcc version 4.2.2 20070831 prerelease [FreeBSD] > "/usr/libexec/cc1" "-quiet" "-D_LONGLONG" "foo.c" "-march=nocona" > "-mtune=generic" "-quiet" "-dumpbase" "foo.c" "-auxbase" "foo" "-o" > "foo.s" > > 2. r220528: Sun Apr 10 23:17:57 EEST 2011, CPU: Intel(R) Core(TM)2 > Quad CPU Q6600 _at_ 2.40GHz (2400.03-MHz K8-class CPU) > cc -### -march=native -S foo.c > Using built-in specs. > Target: amd64-undermydesk-freebsd > Configured with: FreeBSD/amd64 system compiler > Thread model: posix > gcc version 4.2.2 20070831 prerelease [FreeBSD] > "/usr/libexec/cc1" "-quiet" "-D_LONGLONG" "foo.c" "-march=nocona" > "-mtune=generic" "-quiet" "-dumpbase" "foo.c" "-auxbase" "foo" "-o" > "foo.s" > > Anyone else on amd64? could you give us the output of `ls -laT /usr/bin|grep gcc` and also can you send us the CU features which get reported? (dmesg -a) i think core2 only gets enabled with native, if sse3 was detected. maybe freebsd isn't properly detecting sse3 support for your cpu. i'll rebuild gcc later on and check whether i experience the same issue. cheers. alex > > Regards -- a13xReceived on Thu Apr 14 2011 - 13:31:45 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC