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

More complete implementation of the semantics #14

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Dec 15, 2024

  1. Instruction normalization has access to both the ISA and the arch model.
  2. Fix instruction normalization for Intel, notably by append a GAS suffix based on the operand data type and by implementing default handling of instruction that are not found in the database.
  3. Move more code to the x86 base parser.
  4. Add support for negative displacements to the Intel parser.
  5. Change the test kernels to more closely resemble those for AT&T.
  6. Add two semantic tests for Intel.

sources = instruction_form.operands[1:]
destination = instruction_form.operands[0]
sources.append(destination)
instruction_form.operands = sources
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe instruction_form.operands = sources + [destination] would be clearer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants