Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation about LLVM imported FEATURE groups. #2359

Open
1 of 5 tasks
Rot127 opened this issue May 16, 2024 · 0 comments
Open
1 of 5 tasks

Add documentation about LLVM imported FEATURE groups. #2359

Rot127 opened this issue May 16, 2024 · 0 comments

Comments

@Rot127
Copy link
Collaborator

Rot127 commented May 16, 2024

Feature

  • New architecture module
  • Support for processor extension
  • Add more instruction details (elaborated below)
  • Binding support for: language
  • Other (elaborated below)

Describe the feature you'd like

We should document somehow the feature groups which are copied from LLVM.
This is important because the naming can lead to confusion as in #2343.

LLVM uses the feature flags to decide if it can assemble a certain instruction or not.
Flags like HasSMEorSME means "if either of the features is enabled, use the instruction".
While in the Capstone disassembly context, it might get casually interpreted as "is defined in both extensions", which doesn't need to be the case.

Also it is useful in general.

Additional context
none

@Rot127 Rot127 added this to the v6 milestone May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant