Am 18.11.2011 01:04, schrieb Neil Bothwick:

> If you're feeling adventurous, GCC 4.6, currently masked for
> testing, has specific -march options for the i7 and Sandybridge i7,
> according to the Gentoo Wiki CFLAGS page.

Being adventurous now.

compiled sys-devel/gcc-4.6.2, and set

CFLAGS="-O2 -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul
-mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi
-mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param
l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7-avx"

Built my kernel for a start, runs fine.
Considering to emerge world after a nice backup ;-)

Has anyone done that already? Successfully?

Stefan


Reply via email to