<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/llvm-merges-support-for-amd-s-rmpchkd-rmpread-rmpopt-instructions-a2z5ddlbi" -->

---
title: LLVM Merges Support For AMD's RMPCHKD, RMPREAD & RMPOPT...
description: LLVM/Clang has merged compiler support for AMD's RMPOPT, RMPREAD, and RMPCHKD instructions, targeting Zen 5 and newer processors. RMPOPT reduces performance...
canonical: https://daily.dev/posts/llvm-merges-support-for-amd-s-rmpchkd-rmpread-rmpopt-instructions-a2z5ddlbi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: LLVM Merges Support For AMD's RMPCHKD, RMPREAD & RMPOPT Instructions | daily.dev
og:description: LLVM/Clang has merged compiler support for AMD's RMPOPT, RMPREAD, and RMPCHKD instructions, targeting Zen 5 and newer processors. RMPOPT reduces performance...
og:url: https://daily.dev/posts/llvm-merges-support-for-amd-s-rmpchkd-rmpread-rmpopt-instructions-a2z5ddlbi
og:image: https://api.daily.dev/og/posts/A2Z5DDLBi.png
og:image:alt: LLVM Merges Support For AMD's RMPCHKD, RMPREAD & RMPOPT Instructions
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# LLVM Merges Support For AMD's RMPCHKD, RMPREAD & RMPOPT Instructions

**[Phoronix](https://daily.dev/sources/phoronix)** · 2 min read · 0 upvotes · 0 comments

## Summary

LLVM/Clang has merged compiler support for AMD's RMPOPT, RMPREAD, and RMPCHKD instructions, targeting Zen 5 and newer processors. RMPOPT reduces performance overhead of Reverse Map Table checks on SEV-SNP enabled hypervisors by allowing checks to be skipped for 1G memory regions known to lack SEV-SNP guest memory. RMPREAD reads RMP entries and RMPCHKD checks dirty status bits on guest private pages. The Linux kernel side is still working through v13 patches, targeting the v7.4 merge window in late October, with the feature arriving just ahead of upcoming 6th Gen EPYC 'Venice' servers.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.phoronix.com/news/LLVM-Zen5-Zen6-RMPOPT>

## Questions this post answers

### What do the RMPOPT, RMPREAD, and RMPCHKD instructions do on AMD EPYC processors?

RMPOPT reduces performance overhead of Reverse Map Table (RMP) checks on SEV-SNP enabled hypervisors by letting checks be skipped when 1G memory regions are known not to contain any SEV-SNP guest memory. RMPREAD reads Reverse Map Table entries, and RMPCHKD checks the dirty status bit on a range of guest private pages in the RMP. All three are supported starting with Zen 5.

_Teams optimizing SEV-SNP hypervisor performance can track kernel and toolchain support like this on daily.dev._

### Has LLVM added support for AMD's RMPOPT instruction yet?

Yes, LLVM/Clang merged support for the RMPOPT, RMPREAD, and RMPCHKD instructions for Zen 5 and newer processors via a pull request adding 'further Zen5 and Zen6 instructions.' This compiler-side enablement follows the Linux kernel's own v13 patch series for RMPOPT, which is targeting the v7.4 merge window in late October.

_Developers tracking toolchain readiness for new CPU instructions can follow updates like this on daily.dev._

### Which AMD EPYC generation first supports the RMPOPT instruction?

RMPOPT is supported on Zen 5 EPYC processors, not Zen 6 as initially assumed given the timing of its enablement. The instruction has reportedly been present on 5th Gen EPYC hardware for roughly two years, with software support only now catching up ahead of 6th Gen EPYC 'Venice' server debuts.

_Engineers planning around EPYC generations and SEV-SNP features can follow hardware-software timing like this on daily.dev._

## Similar posts on daily.dev

- [AMD Sends Out Latest Linux Patches For RMPOPT Optimization](https://daily.dev/posts/amd-sends-out-latest-linux-patches-for-rmpopt-optimization-lkh6zfsjl) · Phoronix · 1 upvotes · 1 comments
- [AMD Preparing Linux Kernel For "RMPOPT" To Help Reduce Overhead On SEV-SNP Servers](https://daily.dev/posts/amd-preparing-linux-kernel-for-rmpopt-to-help-reduce-overhead-on-sev-snp-servers-xpfuqm5d2) · Phoronix · 0 upvotes · 0 comments
- [AMD RMPOPT Optimization Queued Ahead Of Linux 7.4](https://daily.dev/posts/amd-rmpopt-optimization-queued-ahead-of-linux-7-4-hpprdbigg) · Phoronix · 1 upvotes · 0 comments
- [AMD HSMP Linux Driver Preps For Zen 6 EPYC With Finer Power Controls](https://daily.dev/posts/amd-hsmp-linux-driver-preps-for-zen-6-epyc-with-finer-power-controls-k1hecekkk) · Phoronix · 0 upvotes · 0 comments
- [AMD EPYC Zen 6 PML Support, ARM64 On s390 Merged For Linux 7.4 KVM](https://daily.dev/posts/amd-epyc-zen-6-pml-support-arm64-on-s390-merged-for-linux-7-4-kvm-bzxnuxsmd) · Phoronix · 0 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#linux](https://daily.dev/tags/linux), [#amd](https://daily.dev/tags/amd)

[View this post on daily.dev](https://daily.dev/posts/llvm-merges-support-for-amd-s-rmpchkd-rmpread-rmpopt-instructions-a2z5ddlbi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"LLVM Merges Support For AMD's RMPCHKD, RMPREAD \u0026 RMPOPT Instructions","url":"https://daily.dev/posts/llvm-merges-support-for-amd-s-rmpchkd-rmpread-rmpopt-instructions-a2z5ddlbi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/llvm-merges-support-for-amd-s-rmpchkd-rmpread-rmpopt-instructions-a2z5ddlbi"},"datePublished":"2026-09-08T10:04:39.355Z","dateModified":"2026-09-08T10:11:39.182Z","description":"LLVM/Clang has merged compiler support for AMD's RMPOPT, RMPREAD, and RMPCHKD instructions, targeting Zen 5 and newer processors. RMPOPT reduces performance...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/f6bdaf55a75f29f7bf4d15a3ed4aa234?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/f6bdaf55a75f29f7bf4d15a3ed4aa234?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Phoronix","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Phoronix","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6a26ba379dd64932830aa0c9803dd7ee","url":"https://daily.dev/sources/phoronix"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/llvm-merges-support-for-amd-s-rmpchkd-rmpread-rmpopt-instructions-a2z5ddlbi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"general-programming,linux,amd","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Phoronix","item":"https://daily.dev/sources/phoronix"},{"@type":"ListItem","position":3,"name":"LLVM Merges Support For AMD's RMPCHKD, RMPREAD \u0026 RMPOPT Instructions"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/llvm-merges-support-for-amd-s-rmpchkd-rmpread-rmpopt-instructions-a2z5ddlbi#faq","mainEntity":[{"@type":"Question","name":"What do the RMPOPT, RMPREAD, and RMPCHKD instructions do on AMD EPYC processors?","acceptedAnswer":{"@type":"Answer","text":"RMPOPT reduces performance overhead of Reverse Map Table (RMP) checks on SEV-SNP enabled hypervisors by letting checks be skipped when 1G memory regions are known not to contain any SEV-SNP guest memory. RMPREAD reads Reverse Map Table entries, and RMPCHKD checks the dirty status bit on a range of guest private pages in the RMP. All three are supported starting with Zen 5. Teams optimizing SEV-SNP hypervisor performance can track kernel and toolchain support like this on daily.dev."}},{"@type":"Question","name":"Has LLVM added support for AMD's RMPOPT instruction yet?","acceptedAnswer":{"@type":"Answer","text":"Yes, LLVM/Clang merged support for the RMPOPT, RMPREAD, and RMPCHKD instructions for Zen 5 and newer processors via a pull request adding 'further Zen5 and Zen6 instructions.' This compiler-side enablement follows the Linux kernel's own v13 patch series for RMPOPT, which is targeting the v7.4 merge window in late October. Developers tracking toolchain readiness for new CPU instructions can follow updates like this on daily.dev."}},{"@type":"Question","name":"Which AMD EPYC generation first supports the RMPOPT instruction?","acceptedAnswer":{"@type":"Answer","text":"RMPOPT is supported on Zen 5 EPYC processors, not Zen 6 as initially assumed given the timing of its enablement. The instruction has reportedly been present on 5th Gen EPYC hardware for roughly two years, with software support only now catching up ahead of 6th Gen EPYC 'Venice' server debuts. Engineers planning around EPYC generations and SEV-SNP features can follow hardware-software timing like this on daily.dev."}}]}
```

