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

Autogenerate GCC output for reference #8

Merged
merged 2 commits into from
Feb 6, 2024
Merged

Autogenerate GCC output for reference #8

merged 2 commits into from
Feb 6, 2024

Conversation

SanjitRaman
Copy link
Contributor

No description provided.

Copy link
Collaborator

@Fiwo735 Fiwo735 left a comment

Choose a reason for hiding this comment

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

Interesting addition! Could you also include a paragraph about it somewhere in the docs, once the other pull requests are merged?

scripts/test.py Outdated Show resolved Hide resolved
@SanjitRaman
Copy link
Contributor Author

SanjitRaman commented Feb 5, 2024

To go in the docs: (once other pull requests are merged)

In the test.py script, when running testcases, we make a call to the GCC-RISC-V compiler and output the compiled test programs as <program_name>.gcc.s. Your compiler may not produce the exact same assembly as GCC, so it's not advisable to blindly attempt to replicate the GCC output. Instead, the purpose of the .gcc.s files is to assist in debugging issues within your own compiler.

@Fiwo735 Fiwo735 merged commit 991fb08 into LangProc:main Feb 6, 2024
1 check failed
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