-
Notifications
You must be signed in to change notification settings - Fork 40
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 compressing Zce instructions #30
Comments
Hi, Ibrahim Yes, in fact, we are not optimising/compressing instructions at the assembly level.
Yours sincerely , |
Hi, Please correct me if I’m wrong but I believe that support for this kind of optimisation could be added in a similar fashion to what has been done here
Kind regards, |
ok, we will take a try |
Thanks for the infomation. |
For now we have implemented auto compression for zcee and NOT NEG, so you can try your assembly code again. We will try to fix other instructions during the following days. Thanks. |
Excellent, thank you for that. |
We appear to have a regression where we don't auto compress lb to cm.lb and like wise, while I expect them to be auto compressed ? |
Hi,
I am testing Zce assembler, and it feels like the assembler does not check if it can use compressed Zce instructions.
For instance, trying the following assembly code:
I would expect the assembler to generate two compressed instruction (c.not and c.mv), however, it generate a compressed instruction for the add and 32 bit instruction (xori -1) for c.not
Using Zce compressed instructions explicitly work, but auto compression should also work.
Kind regards,
Ibrahim.
The text was updated successfully, but these errors were encountered: