1 |
Am 18.11.2011 01:04, schrieb Neil Bothwick: |
2 |
|
3 |
> If you're feeling adventurous, GCC 4.6, currently masked for |
4 |
> testing, has specific -march options for the i7 and Sandybridge i7, |
5 |
> according to the Gentoo Wiki CFLAGS page. |
6 |
|
7 |
Being adventurous now. |
8 |
|
9 |
compiled sys-devel/gcc-4.6.2, and set |
10 |
|
11 |
CFLAGS="-O2 -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul |
12 |
-mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi |
13 |
-mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param |
14 |
l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7-avx" |
15 |
|
16 |
Built my kernel for a start, runs fine. |
17 |
Considering to emerge world after a nice backup ;-) |
18 |
|
19 |
Has anyone done that already? Successfully? |
20 |
|
21 |
Stefan |