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

Support more instruction-level optimizations #2596

Open
fyrchik opened this issue Jul 12, 2022 · 0 comments
Open

Support more instruction-level optimizations #2596

fyrchik opened this issue Jul 12, 2022 · 0 comments
Labels
compiler Go smart contract compiler enhancement Improving existing functionality I3 Minimal impact S3 Minimally significant U4 Nothing urgent

Comments

@fyrchik
Copy link
Contributor

fyrchik commented Jul 12, 2022

After #2594 we could a bit more:

  1. JMP on RET can be replaced with an immediate RET. Besides inlined function with multiple returns, if at the end of the function could also benefit.
  2. JMP on JMP can be replaced with a single JMP to a proper location. Not sure if it is worth the effort, we need to estimate the costs (JMP can become JMPL after such transformation).
@roman-khimov roman-khimov added the enhancement Improving existing functionality label Sep 9, 2022
@roman-khimov roman-khimov added I3 Minimal impact U4 Nothing urgent S3 Minimally significant labels Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Go smart contract compiler enhancement Improving existing functionality I3 Minimal impact S3 Minimally significant U4 Nothing urgent
Projects
None yet
Development

No branches or pull requests

2 participants