Saturday August 23, 2014 13:21:21 UTC
GCC 4.6 - 4.9 - Kernel Patch

I have updated the patch kernel-311-gcc48-1.patch modified by graysky to support kernel 3.14 and the latest architectures supported by GCC 4.8 and 4.9.

GCC 4.9 has changes with the naming conventions for the Intel -march flags to use the processor code names. For example, Nehalem instead of corei7. I used the old naming convention for now for backwards compatibility with older compiler versions.

AMD Barcelona - march=barcelona
AMD Bobcat - march=btver1
AMD Jaguar - march=btver2
AMD Bulldozer - march=bdver1
AMD Piledriver - march=bdver2
AMD Steamroller - march=bdver3
Intel Westmere - march=westmere
Intel Core Nehalem - march=corei7
Intel Core Sandy Bridge - march=corei7-avx
Intel Core Ivy Bridge - march=core-avx-i
Intel Core Haswell - march=core-avx2
Intel Core Broadwell - march=broadwell
Intel Atom Bonnell - march=bonnell
Intel Atom Silvermont - march=silvermont

Kernel 3.14 GCC 4.9 Patch

Per additional processor support added to GCC 4.6 and 4.7, I put together a kernel patch that adds CPU optimization options in menuconfig for the following processors:

Kernel 3.3 GCC 4.7 Patch

GCC 4.6 Changes
GCC 4.7 Changes
GCC 4.8 Changes
GCC 4.9 Changes

Graysky has been keeping the patch updated with the new kernels up to kernel 3.12. I wanted to say thanks for keeping this updated.

Here is a link to the current patches: Kernel GCC Patches