Do you know how to contact the maintainer (graysky2)? Wondering if a custom cpu option could be added (use custom cflags). This would be beneficial for modules that require msseregparm (it is recommended to compile all libraries and modules with msseregparm if anything uses msseregparm); mfpmath might improve speed too._________________Gentoo
Slackware

Just got round to trying this, certainly works (and is worth it) even if the returns are so small. Only bad thing is now I shall have to move pf-sources back in to my local and keep things going in there rather then clutter up and forget /etc/portage/patches/* since that's somewhat an obscure place for package patches imo.

This patch(es) would be extra nice as an, even masked, custom-optimizations flag or similar.

Sounds like ricing, if it was safe, wouldn't it be the standard procedure? I can easily imagine a poorly written driver to fail with some optimizations.

All it changes is the march option. It's completely safe, as it only adjusts the features GCC compiles for compatibility with (sse, avx, and similar), so barring some hardware problem with those features (i.e., a processor reporting it supports AVX when it doesn't, which happens under xen sometimes -- and is just as much of a problem for the march in make.conf which is considered safe), there's no danger at all.

The kernel developers are just a bit weird about what gcc optimizations they've set to be configured. (Partly because a lot of the 'major' CPU features are detected and enabled in the kernel code itself, rather than via GCC.)

Thank you. I added that to package.use, re-emerged gentoo-sources and did a make oldconfig. The only thing that came up was BFQ-scheduler. I also tried make distclean but no extra processor types showed up.

Check if the experimental flags are enabled using emerge -1av gentoo-sources.
If that's the case maybe it's available for newer kernels only, I'm using 3.13.5. But I find this strange, I thought I used this with 3.10.

Check if the experimental flags are enabled using emerge -1av gentoo-sources.
If that's the case maybe it's available for newer kernels only, I'm using 3.13.5. But I find this strange, I thought I used this with 3.10.

Confirm. Are you using gentoo-sources unstable? I did ab emerge --sync before i installed experimental.