x86-64 level
x86-64-v4
Vendor
AMD
First products
2022
Products
Ryzen 7000 and 8000; EPYC 9004 and 8004
Segments
desktopmobileworkstationserverembedded
GCC target
-march=znver4
Optimization
Optimizing code for Zen 4

Product lines

The product lines built on Zen 4, 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 7000desktopAM5amd.com
Ryzen 8000GdesktopAM5amd.com
Ryzen 7040mobileFP7, FP7r2, FP8 (BGA)amd.com
Ryzen 7045HXmobileFL1 (BGA)amd.com
Ryzen 8040mobileFP7, FP7r2, FP8 (BGA)amd.com
Ryzen 200mobileFP7, FP7r2, FP8 (BGA)amd.com
Ryzen Z1mobilenot statedir.amd.com
Ryzen Z2mobilenot statedamd.com
Ryzen Threadripper 7000workstationsTR5amd.com
Ryzen Threadripper PRO 7000 WXworkstationsTR5amd.com
EPYC 9004serverSP5amd.com
EPYC 8004serverSP6amd.com
EPYC 4004serverAM5amd.com
Ryzen Embedded 7000embeddedAM5amd.com
EPYC Embedded 9004embeddedSP5amd.com
EPYC Embedded 8004embeddedSP6amd.com

Feature checklist

Features required by each x86-64 level and whether Zen 4 has them. OSFXSR and OSXSAVE are set by the operating system; the table checks the hardware features they depend on.
FeatureZen 4Enumerated 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
AVX512FYesCPUID.(EAX=07H,ECX=0):EBX[16]avx512f
AVX512BWYesCPUID.(EAX=07H,ECX=0):EBX[30]avx512bw
AVX512CDYesCPUID.(EAX=07H,ECX=0):EBX[28]avx512cd
AVX512DQYesCPUID.(EAX=07H,ECX=0):EBX[17]avx512dq
AVX512VLYesCPUID.(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 4, in all of its models or in some of them.

  • CVE-2025-54509 AMD Secure Processor and SMU firmware: Non-coherent Secure Processor memory access
  • CVE-2025-54502 AMD AGESA, SMM and BIOS firmware: LocateProtocol in the APCB SMM driver
  • CVE-2025-40300 VMSCAPE
  • CVE-2025-29943 AMD SEV, SEV-ES and SEV-SNP: SEV-SNP guest stack pointer corruption Some models
  • CVE-2025-29934 AMD SEV, SEV-ES and SEV-SNP: Stale TLB entries in SEV-SNP guests Some models
  • CVE-2025-0033 AMD SEV, SEV-ES and SEV-SNP: RMP corruption during SNP initialization Some models
  • CVE-2024-56161 Microcode Signature Verification: Microcode Signature Verification: SEV-SNP Some models
  • CVE-2024-36350 Transient Scheduler Attacks: Transient Scheduler Attack on the store queue Some models
  • CVE-2024-36347 Microcode Signature Verification Some models
  • CVE-2024-21944 AMD SEV, SEV-ES and SEV-SNP: Memory aliasing through DIMM SPD data
  • 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-20596 AMD AGESA, SMM and BIOS firmware: SMM Supervisor initialization
  • 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-23829 AMD AGESA, SMM and BIOS firmware: SPI lock bypass
  • CVE-2021-46778 Execution Unit Scheduler Contention Some models
  • CVE-2017-5753 Spectre variant 1: Bounds Check Bypass
  • CVE-2017-5715 Spectre variant 2: Branch Target Injection

Sources

  1. GCC -march=znver4 feature set (PTA_ZNVER4)
  2. AMD PPR for Family 19h Model 11h, Revision B1 Processors (55901, rev. 0.53, May 2023), Wayback Machine copy: INVLPGB, SEV-SNP and MCOMMIT, which GCC’s -march sets leave out: the EPYC 9004 server processors set CPUID_Fn80000008_EBX[INVLPGB] (bit 3) and RDPRU (bit 4) and define CPUID_Fn8000001F_EAX[SNP] (bit 4), whose value varies by part, but [MCOMMIT] (bit 8) resets to 0, as in the references of the Ryzen 7000 and 8000 processors.