Engineering:Zen 4

From HandWiki
Short description: AMD 5-nanometre processor microarchitecture
AMD Zen 4
AMD Zen 4 logo.png
General Info
LaunchedSeptember 27, 2022; 16 months ago (September 27, 2022)
Designed byAMD
Common manufacturer(s)
Cache
L1 cache64 KB per core
L2 cache1 MB per core
L3 cache32 MB per CCD
Architecture and classification
Min. feature sizeTSMC 5 nm (CCDs)
TSMC 6 nm (I/O die)[1]
Instruction setAMD64 (x86_64)
Physical specifications
Socket(s)
Products, models, variants
Product code name(s)
  • Desktop
    • Raphael

  • High-End Mobile
    • Dragon Range

  • Thin & Light Mobile
    • Phoenix

  • Server
    • Genoa
    • Bergamo
History
PredecessorZen 3
SuccessorZen 5

Zen 4 is the codename for a CPU microarchitecture by AMD, released on September 27, 2022.[2][3][4] It is the successor to Zen 3 and uses TSMC's 5 nm process.[5] Zen 4 powers Ryzen 7000 mainstream desktop processors (codenamed "Raphael") and will be used in high-end mobile processors (codenamed "Dragon Range"), thin & light mobile processors (codenamed "Phoenix"), as well as Epyc 7004 server processors (codenamed "Genoa" and "Bergamo").

Features

Like its predecessor, Zen 4 in its Desktop Ryzen variants features one or two Core Complex Dies (CCDs) built on TSMC's 5 nm process and one I/O die built on 6 nm.[6][7] Previously, the I/O die on Zen 3 was built on GlobalFoundries' 14 nm process. Zen 4's I/O die includes integrated RDNA 2 graphics for the first time on any Zen architecture. Zen 4 marks the first utilization of the 5 nm process for x86-based desktop processors.

On desktop and server platforms, Zen 4 has moved from DDR4 to DDR5 memory; DDR4 is not supported. Additionally, Zen 4 supports new AMD EXPO SPD profiles for more comprehensive memory tuning and overclocking by the RAM manufacturers. Unlike Intel XMP, AMD EXPO is marketed as an open, license and royalty-free standard for describing memory kit parameters, such as operating frequency, timings and voltages. It allows to encode a wider set of timings to achieve better performance and compatibility. However, XMP memory profiles are still supported.[8]

All Ryzen Desktop processors feature 24 + 4 PCIe lanes. This means that a discrete GPU can be connected by 16 PCIe lanes or two GPUs by 8 PCIe lanes each. Additionally, there are now 2 x 4 lane PCIe interfaces, most often used for M.2 storage devices. Whether the lanes connecting the GPUs in the mechanical x16 slots are executed as PCIe 4.0 or PCIe 5.0 can be configured by the mainboard manufacturers. Finally, 4 PCIe 5.0 lanes are reserved for connecting the south bridge chip or chip set.

Zen 4 is the first AMD microarchitecture to support AVX-512 instruction set extension. AVX-512 implementation is "double-pumped", where most 512-bit instructions are split in two and executed by the 256-bit SIMD execution units internally. Load and store units are also left 256-bit, preserving the throughput of up to three 256-bit memory operations, of which up to two can be stores, per cycle that was supported by Zen 3. This translates to up to one 512-bit load or store per cycle.[8]

Other features and improvements, compared to Zen 3, include:[8]

  • L1 Branch Target Buffer (BTB) size increased by 50%, to 1.5K entries.
  • L2 BTB increased to 7K entries.
  • OP cache size increased by 68%, to 6.75K OPs. The OP cache is now able to produce up to 9 macro-OPs per cycle (up from 6).
  • Reorder buffer (ROB) is increased by 25%, to 320 instructions.
  • Integer register file increased to 224 registers, FP/vector register file increased to 192 registers. FP/vector register file widened to 512 bits to support AVX-512.
  • Load queue size increased by 22%, to 88 pending loads.
  • L2 cache is doubled, from 512 KiB to 1 MiB per core, 8-way.
  • Automatic IBRS, where indirect branch restricted speculation mode is automatically enabled and disabled when control enters and leaves Ring 0 (kernel mode). This reduces the cost of user/kernel mode transitions.
  • ~13% IPC increase on average.
  • Up to 5.7 GHz max core frequency.
  • Memory speeds up to DDR5-5200 are officially supported.
  • In Ryzen 7000 desktop processors, integrated GPU contains two RDNA 2 CUs running at up to 2200 MHz.

Products

Desktop

On August 29, 2022, AMD announced four Zen 4-based Ryzen 7000 series desktop processors. The four Ryzen 7000 processors set to be launched on September 27, 2022 consists of one Ryzen 5, one Ryzen 7, and two Ryzen 9 CPUs and they feature between 6 and 16 cores.[9]


References

  1. Leather, Antony (May 23, 2022). "AMD Just Revealed Exciting Ryzen 7000 Details: 15% Faster, 5.5GHz, More Cache And Onboard Graphics". https://www.forbes.com/sites/antonyleather/2022/05/23/amd-just-announced-exciting-ryzen-7000-series-details-15-faster-55ghz-more-cache-and-onboard-graphics/?sh=6db255a07cbc. 
  2. "AMD confirms Zen4 & Ryzen 7000 series lineup: Raphael in 2022, Dragon Range and Phoenix in 2023". VideoCardz. May 3, 2022. https://videocardz.com/newz/amd-confirms-zen4-ryzen-7000-series-lineup-raphael-in-2022-dragon-range-and-phoenix-in-2023. 
  3. Liu, Zhiye (May 3, 2022). "AMD Confirms Zen 4 Dragon Range, Phoenix APUs for 2023". Tom's Hardware. https://www.tomshardware.com/news/amd-confirms-zen-4-dragon-range-phoenix-apus-for-2023. 
  4. Garreffa, Anthony (May 3, 2022). "AMD confirms Ryzen 7000 series CPUs this year: Zen 4 + DDR5 + PCIe 5.0". Tweak Town. https://www.tweaktown.com/news/85980/amd-confirms-ryzen-7000-series-cpus-this-year-zen-4-ddr5-pcie-5-0/index.html. 
  5. Bonshor, Gavin (9 June 2022). "AMD's Desktop CPU Roadmap: 2024 Brings Zen 5-based "Granite Ridge"". anandtech. https://www.anandtech.com/show/17435/amd-s-desktop-cpu-roadmap-until-2024-zen-5-to-coming-desktop-in-2024. 
  6. Alcorn, Paul (May 23, 2022). "AMD Intros Zen 4 Ryzen 7000 CPUs and Motherboards: Up to 5.5 GHz, 15%+ Performance, RDNA 2 Graphics". https://www.tomshardware.com/news/amd-intros-zen-4-ryzen-7000-cpus-and-600-series-chipset-up-to-55-ghz-15-performance-rdna-2-igpus-pcie-5-ddr5. 
  7. Garreffa, Anthony (May 29, 2022). "AMD RDNA2 GPU 'is standard' on ALL next-gen Ryzen 7000 series CPUs". https://www.tweaktown.com/news/86508/amd-rdna2-gpu-is-standard-on-all-next-gen-ryzen-7000-series-cpus/index.html. 
  8. 8.0 8.1 8.2 Smith, Ryan; Bonshor, Gavin (2022-09-26). "AMD Zen 4 Ryzen 9 7950X and Ryzen 5 7600X Review: Retaking The High-End". https://www.anandtech.com/show/17585/amd-zen-4-ryzen-9-7950x-and-ryzen-5-7600x-review-retaking-the-high-end/. 
  9. "AMD Ryzen 7000 "Zen4" desktop series launch September 27th, Ryzen 9 7950X for 699 USD". August 29, 2022. https://videocardz.com/newz/amd-ryzen-7000-zen4-desktop-series-launch-september-27th-ryzen-9-7950x-for-699-usd.