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

[Auto-Sync] Smarter MC test generator #2354

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

[Auto-Sync] Smarter MC test generator #2354

Rot127 opened this issue May 11, 2024 · 0 comments

Comments

@Rot127
Copy link
Collaborator

Rot127 commented May 11, 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

The MC regression tests from LLVM are our basis of testing. But generating them is a not simple task. Because we either copy them with grep or some scripts which do the same.

This misses test cases though. And because there are so many it is easy to miss new ones.
The test files are difficult to parse, because they don't follow a well defined format.

It would be good to have a different approach to copy the test cases. It should not involve grep or regex with Python. It should guarantee that every regression test from LLVM is in our repo.

Additional context

A possible solution is to run all test cases. Because they are passed to llvm-mc we could add the show-encoding option and parse the output from there (which is easier).

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

No branches or pull requests

1 participant