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

i#3544 riscv64: remove extension defines

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge i3544-riscv64-remove-extension-defines into master Sep 30, 2022
  • Overview 3
  • Commits 3
  • Pipelines 0
  • Changes 6

Created by: semihalf-kardach-stanislaw

Compile-time defines listing RISC-V extensions are not very useful for DynamoRIO because we may run on a system with a different set of extensions. So it should probably be a responsibility of the client code to figure out whether instructions it would like to use are compatible with the host it is running on.

In the future RISC-V arch code for DynamoRIO should perhaps provide a helper to iterate over all available extensions in runtime. This is not a simple function as the extension set is in fact a string list parsed from the device tree. Therefore it would need some sort of mapping to some enum values for fast evaluation.

Issue #3544

Signed-off-by: Stanislaw Kardach [email protected]

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i3544-riscv64-remove-extension-defines