Date: Thu, 10 Mar 2011 11:07:13 +0000 From: Alexander Best <arundel@freebsd.org> To: George Liaskos <geo.liaskos@gmail.com> Cc: Martin Matuska <mm@freebsd.org>, current@freebsd.org Subject: Re: [TESTING] ssse3 backport from gcc 4.3 Message-ID: <20110310110713.GA92011@freebsd.org> In-Reply-To: <AANLkTinv00x5sQ-4%2BR1RgXB7o-YeF_5k3yHR5VneTp4Z@mail.gmail.com> References: <4D7799FD.9040008@FreeBSD.org> <AANLkTinv00x5sQ-4%2BR1RgXB7o-YeF_5k3yHR5VneTp4Z@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 -- a13x
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110310110713.GA92011>