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

Can I ask a question about PUMA-ISA #8

Open
spacemaninhust opened this issue Mar 25, 2024 · 4 comments
Open

Can I ask a question about PUMA-ISA #8

spacemaninhust opened this issue Mar 25, 2024 · 4 comments

Comments

@spacemaninhust
Copy link

I saw the PUMA-ISA format in the puma-simulator/include/constants.py, and the paper mentions that the width is 7 bytes, is there a specific placeholder for each operand? I didn't see it.

@ielhajj
Copy link
Member

ielhajj commented Mar 25, 2024

You can check the code generator for how the instructions are generated: https://github.com/illinois-impact/puma-compiler/blob/master/src/codegen.cpp

@spacemaninhust
Copy link
Author

Thanks, I will check it.

@spacemaninhust
Copy link
Author

@ielhajj Ah, I think you may have misunderstood what I meant, I would like to know the specific format of PUMA ISA, similar to the picture below, but I can't get the result in the code, can you please help me?
QQ截图20240325160625
(PS: there is a difference between this picture and the code)

@ielhajj
Copy link
Member

ielhajj commented Mar 25, 2024

I see. This specification is not part of the compiler. The compiler generates human readable assembly. You will need to ask about this on the simulator repo.

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