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

Doubt on logic to test the intructions #2

Open
Vinayakamk opened this issue Mar 4, 2024 · 1 comment
Open

Doubt on logic to test the intructions #2

Vinayakamk opened this issue Mar 4, 2024 · 1 comment

Comments

@Vinayakamk
Copy link

Vinayakamk commented Mar 4, 2024

this is more into the question instead an issue.
im not sure in understanding the logic
1.there will be the c program for each instruction and using it ASM is generated
2.if the instruction name is found in that asm ,then the test is passed

but dont you think there is need of randomisation in testing asm by giving extreme ranges of bit values which it can hold?
or is the current one enough?i need little explanation please

@SpinSpinSugar
Copy link
Owner

Hi, I'm sorry for late answer. The main purpose of this project: check compiler support of base instruction generation. C files in test directory are small snippets of code, that expected to be converted into one desired instruction (or into desired instruction + some small sext-like instructions for 64-bit ISA). It's quite hard to generate random asm snippets, probably if you need mature generator you should consider using https://github.com/syntacore/snippy

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

No branches or pull requests

2 participants