Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Merge requests
  • !3734

i#1312 AVX-512 support: Extend priv_mcontext_t.simd to AVX-512 number of registers.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Hendrik Greving requested to merge i1312-switch-mcxt_num_slots_to_32_if_os_support into master Jul 16, 2019
  • Overview 12
  • Commits 5
  • Pipelines 0
  • Changes 10

Adds to DynamoRIO's fixed number of SIMD slots to include AVX-512 registers on 64-bit UNIX. If processor and OS support AVX-512, proc_num_simd_registers() will now return 32. The number of registers has not been updated in the Windows build yet.

Please note that proc_num_simd_saved() is not yet switched to reflect AVX-512, even if AVX-512 instructions are present in the application. DynamoRIO does not yet maintain, preserve, or restore AVX-512 context yet.

Fixes corresponding tests and adds comments.

Further adds to backwards compatibility handling in dr_mcontext_to_priv_mcontext() and priv_mcontext_to_dr_mcontext(). It is now accepting the simd structure's layout before this commit. This patch adds more error handling if the wrong size is passed by the client.

Issue: #1312

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i1312-switch-mcxt_num_slots_to_32_if_os_support