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
  • Issues
  • #4393
Closed
Open
Issue created Aug 05, 2020 by Assad Hashmi@AssadHashmiContributor

AArch64 decoder/encoder improvements

The current method of generating decode/encode functions based on the codec.txt bitmap format has limitations in terms of:

  • Flexibility when specifying instruction aliases and variants, e.g. DC and IC based on SYS, and PRFM. See #4388 and discussion at https://github.com/DynamoRIO/dynamorio/pull/4386#discussion_r462356954.
  • Extensibility when new versions of the ISA are released, e.g. SVE.
  • More automation in order to generate as much decode/encode logic as possible from an ISA spec, including multiple operand creation from a single bitfield.

The proposal is to use the publicly available XML specifications to replace codec.txt as the source from which to generate decode/encode functionality. Useful links: https://alastairreid.github.io/ARM-v8a-xml-release/ https://developer.arm.com/architectures/instruction-sets/base-isas/a64 https://github.com/alastairreid/mra_tools

Assignee
Assign to
Time tracking