Talk:Ryzen

CFLAGS
As of now using -march=znver1 doesn't seem like the best choice: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80313


 * I will look into it. Thank you. --Maffblaster (talk) 19:08, 13 April 2017 (UTC)


 * After collaborating with another Gentoo developer, it looks like  was causing him segfaults. I changed it to the previously supported -march value. --Maffblaster (talk) 23:58, 9 May 2017 (UTC)


 * According to this forum discussion  should be either ,   or.
 * Using  is not a good option as pointed out in this Phoronix article, simply because Bulldozer's instruction set extension FMA4/XOP is no longer available on the Zen architecture.
 * Code built for  through   might or might not work on Zen, depending on the actual instructions included during compilation. This is automatic and no one can say for sure what the compiler descides to use and not use.
 * My recommendation is to use a lower subset of instructions to build GCC 6 (I used  without issues, Ryzen 7 1800X) and then use   with GCC 6 set as the system GCC version (I removed GCC 5.4 completely). The caveat is that some packages need the   ACCEPT_KEYWORDS flag set, because not all stable   ebuilds don't include a GCC6 patch (yet).
 * Anyway, I just put that information into Safe CFLAGS, which now shows contradictory information to this article. One should be changed to equalize the information and remove the contradiction.
 * Luttztfz (talk) 23:05, 15 May 2017 (UTC)