x86-64 level
x86-64-v3
Vendor
AMD
First products
2019
Products
Ryzen 3000 desktop; Ryzen 4000 APUs; EPYC 7002
Segments
desktopmobileworkstationserverembedded
GCC target
-march=znver2
Optimization
Optimizing code for Zen 2

Product lines

The product lines built on Zen 2, with the market segment the vendor sells each in and the sockets or soldered (BGA) packages its processors come in. Each socket links to the vendor page that states it.
Product lineSegmentSocketSource
Ryzen 3000desktopAM4ir.amd.com
Ryzen 4000desktopAM4ir.amd.com
Ryzen 4000mobileFP6 (BGA)ir.amd.com
Ryzen 5000 (5300U, 5500U, 5700U)mobileFP6 (BGA)ir.amd.com
Ryzen 7020mobileFT6 (BGA)amd.com
Athlon 10mobileFT6 (BGA)amd.com
Ryzen Z2 Amobilenot statedamd.com
Ryzen Threadripper 3000workstationsTRX4ir.amd.com
Ryzen Threadripper PRO 3000 WXworkstationsWRX8amd.com
EPYC 7002serverSP3ir.amd.com
Ryzen Embedded V2000embeddedFP6 (BGA)amd.com
EPYC Embedded 7002embeddedSP3amd.com

Why not x86-64-v4?

Zen 2 lacks AVX512BW, AVX512CD, AVX512DQ, AVX512F and AVX512VL, all of which x86-64-v4 requires.

Feature checklist

Features required by each x86-64 level and whether Zen 2 has them. OSFXSR and OSXSAVE are set by the operating system; the table checks the hardware features they depend on.
FeatureZen 2Enumerated byLinux flag
x86-64-v1
CMOVYesCPUID.01H:EDX[15]cmov
CX8YesCPUID.01H:EDX[8]cx8
FPUYesCPUID.01H:EDX[0]fpu
FXSRYesCPUID.01H:EDX[24]fxsr
MMXYesCPUID.01H:EDX[23]mmx
OSFXSR via FXSRYesCPUID.01H:EDX[24]fxsr
SCEYesCPUID.80000001H:EDX[11]syscall
SSEYesCPUID.01H:EDX[25]sse
SSE2YesCPUID.01H:EDX[26]sse2
x86-64-v2
CMPXCHG16BYesCPUID.01H:ECX[13]cx16
LAHF-SAHFYesCPUID.80000001H:ECX[0]lahf_lm
POPCNTYesCPUID.01H:ECX[23]popcnt
SSE3YesCPUID.01H:ECX[0]pni
SSE4.1YesCPUID.01H:ECX[19]sse4_1
SSE4.2YesCPUID.01H:ECX[20]sse4_2
SSSE3YesCPUID.01H:ECX[9]ssse3
x86-64-v3
AVXYesCPUID.01H:ECX[28]avx
AVX2YesCPUID.(EAX=07H,ECX=0):EBX[5]avx2
BMI1YesCPUID.(EAX=07H,ECX=0):EBX[3]bmi1
BMI2YesCPUID.(EAX=07H,ECX=0):EBX[8]bmi2
F16CYesCPUID.01H:ECX[29]f16c
FMAYesCPUID.01H:ECX[12]fma
LZCNTYesCPUID.80000001H:ECX[5]abm
MOVBEYesCPUID.01H:ECX[22]movbe
OSXSAVE via XSAVEYesCPUID.01H:ECX[26]xsave
x86-64-v4
AVX512FNoCPUID.(EAX=07H,ECX=0):EBX[16]avx512f
AVX512BWNoCPUID.(EAX=07H,ECX=0):EBX[30]avx512bw
AVX512CDNoCPUID.(EAX=07H,ECX=0):EBX[28]avx512cd
AVX512DQNoCPUID.(EAX=07H,ECX=0):EBX[17]avx512dq
AVX512VLNoCPUID.(EAX=07H,ECX=0):EBX[31]avx512vl

Other extensions

Notable extensions outside the x86-64 levels. Vendors sometimes disable these on individual models. Linked names lead to the extension's instructions.

Known vulnerabilities

The CVEs that the sources of the vulnerability list name as affecting Zen 2, in all of its models or in some of them.

  • CVE-2025-54518 CPU Op Cache Corruption
  • CVE-2025-54502 AMD AGESA, SMM and BIOS firmware: LocateProtocol in the APCB SMM driver
  • CVE-2025-40300 VMSCAPE
  • CVE-2024-56161 Microcode Signature Verification: Microcode Signature Verification: SEV-SNP Some models
  • CVE-2024-36347 Microcode Signature Verification Some models
  • CVE-2024-21925 AMD AGESA, SMM and BIOS firmware: AmdPspP2CmboxV2 input validation
  • CVE-2024-21924 AMD AGESA, SMM and BIOS firmware: SMM callout in AmdPlatformRasSspSmm
  • CVE-2024-0179 AMD AGESA, SMM and BIOS firmware: SMM callout in AmdCpmDisplayFeatureSMM
  • CVE-2023-31364 AMD processor errata: Guest-initiated machine check errors Some models
  • CVE-2023-31315 AMD AGESA, SMM and BIOS firmware: SMM lock bypass
  • CVE-2023-20599 AMD Secure Processor and SMU firmware: Crypto Co-Processor registers from x86
  • CVE-2023-20593 Cross-Process Information Leak
  • CVE-2023-20592 AMD SEV, SEV-ES and SEV-SNP: INVD and guest memory integrity
  • CVE-2023-20589 AMD Secure Processor and SMU firmware: Voltage fault injection on fTPM secure boot
  • CVE-2023-20575 AMD SEV, SEV-ES and SEV-SNP: Power side channel on SEV guests
  • CVE-2023-20569 Speculative Return Stack Overflow
  • CVE-2023-20555 AMD AGESA, SMM and BIOS firmware: CpmDisplayFeatureSmm bit overwrite
  • CVE-2022-29900 Retbleed: Retbleed (AMD)
  • CVE-2022-27672 Cross-Thread Return Address Predictions
  • CVE-2022-23829 AMD AGESA, SMM and BIOS firmware: SPI lock bypass
  • CVE-2022-23824 Incomplete Branch Prediction Barrier: IBPB and Return Stack Buffer Interactions Some models
  • CVE-2022-23823 Frequency Throttling Side Channel: Frequency Scaling Timing Power Side-Channels Some models
  • CVE-2021-46778 Execution Unit Scheduler Contention Some models
  • CVE-2021-46744 AMD SEV, SEV-ES and SEV-SNP: Ciphertext side channels on SEV
  • CVE-2021-26341 Straight-line Speculation Some models
  • CVE-2021-26340 AMD SEV, SEV-ES and SEV-SNP: TLB poisoning of SEV guests
  • CVE-2021-26311 AMD SEV, SEV-ES and SEV-SNP: Rearranged guest memory that attestation misses
  • CVE-2020-12967 AMD SEV, SEV-ES and SEV-SNP: Unprotected nested page tables of SEV guests
  • CVE-2020-12966 AMD SEV, SEV-ES and SEV-SNP: Ciphertext side channel on SEV-ES register state
  • CVE-2017-5753 Spectre variant 1: Bounds Check Bypass
  • CVE-2017-5715 Spectre variant 2: Branch Target Injection

Sources

  1. GCC -march=znver2 feature set (PTA_ZNVER2)
  2. AMD PPR for Family 17h Model 31h, Revision B0 Processors (55803, rev. 0.91, September 2020), Wayback Machine copy: RDPRU and MCOMMIT, which GCC’s -march sets leave out: the EPYC 7002 server processors set CPUID_Fn80000008_EBX[RDPRU] (bit 4) and [MCOMMIT] (bit 8).