Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Mar 2011 10:45:34 -1000
From:      David Cornejo <dave@dogwood.com>
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:  <AANLkTimw%2BbYudyAhjr2dJHOs=qkykysPB6uy2szJ2MXG@mail.gmail.com>
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, 2011 at 9:49 AM, George Liaskos <geo.liaskos@gmail.com>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?
>
> Regards
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>

I also had success with this patch - running on a Core 2 Duo E4500.  rebuilt
world & kernel both with and without CPUTYPE=core2, so it at least doesn't
break anything.  Can you recommend a way to test Core2 specific features?

dave c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimw%2BbYudyAhjr2dJHOs=qkykysPB6uy2szJ2MXG>