AVX-512 introduces new zmm and k registers. The Visual Studio Registers window can show these if you right-click in the window and choose "AVX-512". However, the values are "grayed out" when debugging a managed app, and they do not show actual values (they show zeros).
The Registers window also shows ymm registers if you right-click and choose "AVX". These are also not available when debugging a managed app.
It appears that Vector512 variables do show the correct values.
To add support for the Registers window:
- Ensure the AVX/AVX-512 registers are defined in the
CorDebugRegister enum
- Review
ICorDebugRegisterSet2 to ensure the API would work with AVX/AVX-512
- Add the appropriate implementation to
CordbRegisterSet::GetRegistersAvailable, CordbRegisterSet::GetRegisters, more.
AVX-512 introduces new
zmmandkregisters. The Visual Studio Registers window can show these if you right-click in the window and choose "AVX-512". However, the values are "grayed out" when debugging a managed app, and they do not show actual values (they show zeros).The Registers window also shows
ymmregisters if you right-click and choose "AVX". These are also not available when debugging a managed app.It appears that Vector512 variables do show the correct values.
To add support for the Registers window:
CorDebugRegisterenumICorDebugRegisterSet2to ensure the API would work with AVX/AVX-512CordbRegisterSet::GetRegistersAvailable,CordbRegisterSet::GetRegisters, more.