On Wed Mar 9 11, George Liaskos wrote: > > I have prepared a patch that finishes the "core2" support part and > > backports from gcc-4.3 > > the SSSE3 instruction set (-mssse3, -mno-ssse3). > > It is enabled for -march=core2 by default. > > > > Testing and comments are welcome. > > > > Patch: > > http://people.freebsd.org/~mm/patches/head-gcc-ssse3.patch > > > > The backport covers three GPLv2 revisions from gcc 4.3: > > http://gcc.gnu.org/viewcvs?view=revision&revision=117958 (applies cleanly) > > http://gcc.gnu.org/viewcvs?view=revision&revision=121687 (small adjustment) > > http://gcc.gnu.org/viewcvs?view=revision&revision=121726 (small adjustment) > > http://gcc.gnu.org/viewcvs?view=revision&revision=123639 (small adjustment) > > Just finished compiling world and kernel with the patch, no issues > whatsoever but i have some questions :) > > I have a Q6600, with -march=native gcc still uses nocona instead of > core2, clang does the right thing. Is this a bug? > Is it possible to support sse4.1 for penryn or is there a problem with > the license? same issue here: otaku% /usr/bin/gcc -### -march=native blabla.c Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] "/usr/libexec/cc1" "-quiet" "-D_LONGLONG" "null.c" "-march=nocona" "-mtune=generic" "-quiet" "-dumpbase" "null.c" "-auxbase" "null" "-o" "/var/tmp//cca3OQb6.s" "/usr/bin/as" "-Qy" "-o" "/var/tmp//ccmuWSiZ.o" "/var/tmp//cca3OQb6.s" "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/var/tmp//ccmuWSiZ.o" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" it seems "native" isn't "core2" aware. could this be backported to our gcc or does that code fall under the gplv3? cheers. alex > > Regards -- a13xReceived on Thu Mar 10 2011 - 10:07:13 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC