The High-Level Zen Overview

AMD is keen to stress that the Zen project had three main goals: core, cache and power. The power aspect of the design is one that was very aggressive – not in the sense of aiming for a mobile-first design, but efficiency at the higher performance levels was key in order to be competitive again. It is worth noting that AMD did not mention ‘die size’ in any of the three main goals, which is usually a requirement as well. Arguably you can make a massive core design to run at high performance and low latency, but it comes at the expense of die size which makes the cost of such a design from a product standpoint less economical (if AMD had to rely on 500mm2 die designs in consumer at 14nm, they would be priced way too high). Nevertheless, power was the main concern rather than pure performance or function, which have been typical AMD targets in the past. The shifting of the goal posts was part of the process to creating Zen.

This slide contains a number of features we will hit on later in this piece, but covers a number of main topics which come under those main three goals of core, cache and power.

For the core, having bigger and wider everything was to be expected, however maintaining a low latency can be difficult. Features such as the micro-op cache help most instruction streams improve in performance and bypass parts of potentially long-cycle repetitive operations, but also the larger dispatch, larger retire, larger schedulers and better branch prediction means that higher throughput can be maintained longer and in the fastest order possible. Add in dual threads and the applicability of keeping the functional units occupied with full queues also improves multi-threaded performance.

For the caches, having a faster prefetch and better algorithms ensures the data is ready when each of the caches when a thread needs it. Aiming for faster caches was AMD’s target, and while they are not disclosing latencies or bandwidth at this time, we are being told that L1/L2 bandwidth is doubled with L3 up to 5x.

For the power, AMD has taken what it learned with Carrizo and moved it forward. This involves more aggressive monitoring of critical paths around the core, and better control of the frequency and power in various regions of the silicon. Zen will have more clock regions (it seems various parts of the back-end and front-end can be gated as needed) with features that help improve power efficiency, such as the micro-op cache, the Stack Engine (dedicated low power address manipulation unit) and Move elimination (low-power method for register adjustment - pointers to registers are adjusted rather than going through the high-power scheduler).

The Big Core Diagram

We saw this diagram last year, showing some of the bigger features AMD wants to promote:

The improved branch predictor allows for 2 branches per Branch Target Buffer (BTB), but in the event of tagged instructions will filter through the micro-op cache. On the other side, the decoder can dispatch 4 instructions per cycle however some of those instructions can be fused into the micro-op queue. Fused instructions still come out of the queue as two micro-ops, but take up less buffer space as a result.

As mentioned earlier, the INT and FP pipes and schedulers are separated, however the INT rename space is 168 registers wide, which feeds into 6x14 scheduling queues. The FP employs as 160 entry register file, and both the FP and INT sections feed into a 192-entry retire queue. The retire queue can operate at 8 instructions per cycle, moving up from 4/cycle in previous AMD microarchitectures.

The load/store units are improved, supporting a 72 out-of-order loads, similar to Skylake. We’ll discuss this a bit later. On the FP side there are four pipes (compared to three in previous designs) which support combined 128-bit FMAC instructions. These can be combined for one 256-bit AVX, but beyond that it has to be scheduled over multiple instructions.

The Ryzen Die Fetch and Decode
Comments Locked

574 Comments

View All Comments

  • rudolphna - Thursday, March 2, 2017 - link

    Demonizing gamers in your post does nothing to contribute to your credibility, and will only turn off more well reasoned people from listening, or caring, about your opinion.
  • samer1970 - Friday, March 3, 2017 - link

    Gamers dont buy 8 cores chips .. If you want good AMD gaming chip at very low price , wait for the 6 and 4 cores Ryzen and then judge ...

    I expect the 4 cores/8 threads Ryzen at 150$ to blow Intel to pieces ... SOON ..

    Imagine a 4.5Ghz AMD Ryzen 4 cores for $150 then talk .
  • Sttm - Friday, March 3, 2017 - link

    4 cores that are noticeably slower than Intel's 4 cores, which sell in a handsome i5 package for $200. I think they need a software miracle and they need it fast to win over the gaming crowd.
  • Cooe - Sunday, February 28, 2021 - link

    Bet you're feeling like a massive idiot now if you actually got that 4c/4t Kaby Lake i5 over a 6c/12t Ryzen 5 1600. It was about as fast at 1080p gaming in 2017 as the R5, but nowadays isn't even in the same UNIVERSE as the Ryzen chip. Let alone the performance difference for literally EVERYTHING else.
  • Diji1 - Thursday, March 2, 2017 - link

    Hurr durr you don't like what I like so you're a dumbo making me smarter than you! (yes, I know but they cannot see it themselves because their so smart in their own imagination).
  • JoeyJoJo123 - Thursday, March 2, 2017 - link

    What exactly are you trying to say here?
  • Holliday75 - Thursday, March 2, 2017 - link

    I think it was "Hurr durr".
  • BikeDude - Friday, March 3, 2017 - link

    sounded more like 'hold door' to me?
  • star-affinity - Thursday, March 2, 2017 - link

    I didn't know what is considered "wasting your life" is objective – please elaborate. What do you do with your life that makes it better than someone who likes to plays RPGs?
  • Dug - Friday, March 3, 2017 - link

    I'm so glad you are the one to judge what people are when they play games. Your insight and thought process is inspiring.
    I'm only to guess that what you do with a computer is going to change the world.

Log in

Don't have an account? Sign up now