On 08.08.2025 22:23, Andrew Cooper wrote: > Of note, CR4.FRED is bit 32 and cannot enabled outside of 64bit mode. > > Most supported toolchains don't understand the FRED instructions yet. ERETU > and ERETS are easy to wrap (they encoded as REPZ/REPNE CLAC), while LKGS is > more complicated and deferred for now. > > I have intentionally named the FRED MSRs differently to the spec. In the > spec, the stack pointer names alias the TSS fields of the same name, despite > very different semantics.
Hmm, looking at this again I'm not entirely convinced: Staying in sync with the spec also has its merits, and the FRED infix is sufficiently distinguishing imo. Jan