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
  • !3724

i#1312 AVX-512 support: Add dr_mcontext_zmm_fields_valid() and lazy AVX-512 detection.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Hendrik Greving requested to merge i1312-lazy-perserve-zmm-switch into master Jul 09, 2019
  • Overview 94
  • Commits 34
  • Pipelines 0
  • Changes 22

Adds the function dr_mcontext_zmm_fields_valid() that returns true once AVX-512 has been observed in main interp loop. The detection tries to be performance sensitive. Post-client instructions are checked with a new function described below.

Adds the internal function instr_may_write_zmm_register() that conservatively returns whether an instruction writes a zmm register.

Adds proc_avx512_enabled() and support to read AVX-512 feature bits similar to proc_avx_enabled().

Renames get_implied_mm_vex_opcode_bytes() to get_implied_mm_e_vex_opcode_bytes().

Adds a test for above covering the full decode case.

In an unrelated change, pulls in performance critical code into DO_ONCE in the decoder.

Fixes a cmake bug introduced in 6ca8d4a9 that set 0FF instead of OFF.

Issue: #1312

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i1312-lazy-perserve-zmm-switch