-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
A DSL for Peephole Transformation Rules of Integer Operations in the PyPy JIT | PyPy #144
Comments
In the section "Computing constants and other intermediate results", should not C = C1 + C1 be C = C1 + C2? |
In
|
absolutely, fix is on the way. |
Yeah, that's a good point. I cargo-culted the |
Very cool! I appreciate the mentioning of my small article about Maranget's paper. The allusion to an e-graph approach would be interesting to see. |
@contificate loved your post, it was super helpful! Basically I implemented the algorithm after reading your post on a not too long train ride, without properly reading the paper. E-Graphs, still thinking about them. They might be a bit too hard to fit into the compile time constraints of the jit. Still would like to experiment a bit at some point, hopefully I'll find time. |
A DSL for Peephole Transformation Rules of Integer Operations in the PyPy JIT | PyPy
https://www.pypy.org/posts/2024/10/jit-peephole-dsl.html
The text was updated successfully, but these errors were encountered: