- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.2k
Closed
Labels
Milestone
Description
As part of the changes introduced in #79544 , with respect to adding AVX512 upper SIMD registers: we commented that there will need to be some additional changes for Mac and Linux
"It looks like on Linux (and Mac?) we'll need additional updates in src\coreclr\pal\src\thread\context.cpp, specifically CONTEXTFromNativeContext, CONTEXTToNativeContext, as well as FPREG_HasYmmRegisters() (need a FPREG_HasZmmRegisters()?) and audit other places where CONTEXT_XSTATE is used and is storing 16 registers, 16 bytes each. So it looks like they would need updating to save/restore kmask, the high 16 bytes of zmm0-zmm15 and all of zmm16-zmm31."
Issue is to track work to do this with a follow up PR. Please add the AVX512 tag.