Ryzen

Ryzen is Zen microarchitecture.]] Its goal is to directly compete with Intel's Broadwell-E processor line, primarily the Core i7-6900K.

Firmware
Microcode/firmware updates to be determined...

Kernel
Enable support for Ryzen hardware in kernel 4.11.0:

Those using with the   USE flag will have additional Processor family options made available:

This enables  to be set for the kernel's  process.

GCC 6.3+
GCC 6.3+ has support for the  compiler optimization. For optimal performance, this can be enabled in.

GCC 6.3 is not presently optimized for Ryzen.

GCC 5.4
While GCC 5.4 does not support zen core specific optimization,  has been shown to be functional and stable. However, since Zen dropped the instruction set extensions FMA4, TBM, XOP and LWP, they should be disabled accordingly:

Optional, but may produce better code: Add new instruction set extensions introduced with Zen individually (ADCX, RDSEED, MWAITX, SHA, CLZERO, XSAVEC, XSAVES, CLFLUSHOPT, POPCNT), using  (Bulldozer Version 4 i.e. Excavator) as the starting point:

External resources

 * http://www.phoronix.com/scan.php?page=article&item=amd-ryzen-znver1&num=1 - Phoronix compiler optimization benchmarks for Ryzen 7.