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

Length error for compressed instructions (RVC_NAND+RVC_NANDI) #126

Closed
thomasgoodfellow opened this issue Oct 24, 2024 · 1 comment
Closed
Milestone

Comments

@thomasgoodfellow
Copy link
Collaborator

Running rvc_demo.py from the develop branch fails:

INFO - [2024-10-24 14:18:49]::INFO - loading models
INFO - ERROR - /space/thomasg/tum12/seal5_llvm_rvcdemo_1024/.seal5/temp/ExampleRV32C/XRVC/XRVC_NAND.core_desc:8: instruction length is not 32 bits
INFO -
INFO - ERROR - /space/thomasg/tum12/seal5_llvm_rvcdemo_1024/.seal5/temp/ExampleRV32C/XRVC/XRVC_NANDI.core_desc:8: instruction length is not 32 bits
INFO -
INFO - Writing gmir for XRV_NAND.ll
WARNING - Skipping XRVC_NAND due to errors.
INFO - Writing gmir for XRV_NANDI.ll
WARNING - Skipping XRVC_NANDI due to errors.

Log attached
seal5.log

@PhilippvK
Copy link
Member

Fixed via 1693ff4 on #134 .

The CoreDSL2LLVM Parser does not support compressed instructions. We are not interested in generating patterns for them anyways, hence the pass should skip those instructions.

@PhilippvK PhilippvK added this to the v0.3.0 milestone Oct 31, 2024
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