Skip to content

AVX-512 debugger support: view registers #87854

@BruceForstall

Description

@BruceForstall

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:

  1. Ensure the AVX/AVX-512 registers are defined in the CorDebugRegister enum
  2. Review ICorDebugRegisterSet2 to ensure the API would work with AVX/AVX-512
  3. Add the appropriate implementation to CordbRegisterSet::GetRegistersAvailable, CordbRegisterSet::GetRegisters, more.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions