x86: support further AMD Zen6 instructions
Adds support for RMPOPT and RMPCHKD instructions and enables FRED on AMD Zen6.
This patch introduces support for two new x86 instructions, RMPOPT and RMPCHKD, and enables the FRED feature for the AMD Zen6 microarchitecture in the GNU Assembler (gas). The changes involve updates to assembler configuration, documentation, and test suite files.
- proposer
Submits a patch to add support for RMPOPT and RMPCHKD instructions and enable FRED on AMD Zen6.
“Changes: - Add support for RMPOPT and RMPCHKD instructions. - Enable FRED on znver6.”
- reviewer
Acknowledges the patch and quotes the changes, indicating review.
- reviewer
LGTMs the patch with minor comments, requesting documentation for the new features.
“LGTM but with two minor comments. Could you show me the documentation for that?”
Technical Tradeoffs
- Adding new instruction support requires updates across multiple assembler components.
- Ensuring correct documentation and testing for new features.
In Details
This patch adds support for new AMD x86 instructions (RMPOPT, RMPCHKD) and a microarchitecture feature (FRED) for the Zen6 family to the GNU Assembler. This involves modifying assembler configuration files (tc-i386.c), documentation (c-i386.texi), and adding test cases for the new instructions.
- RMPOPT
- A new x86 instruction related to memory protection or management, likely introduced by AMD.
- RMPCHKD
- A new x86 instruction, possibly related to memory protection or checking, introduced by AMD.
- FRED
- Likely an acronym for a feature or instruction set extension related to memory management or protection, specific to AMD processors.
- Zen6
- The codename for AMD's sixth-generation Zen microarchitecture, indicating the target processor family for these new instructions and features.
- GNU Assembler (gas)
- The assembler used in the GNU toolchain, responsible for translating assembly language code into machine code.