Replies: 1 comment
-
I'm really interested to see what optimizations can come out of this. Off of the top of my head, it would be really nice to allow for local variable reuse. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There's work undergoing to implement optimization hints.
The goal is to provide annotations that can help the compiler to generate faster code. The underlying philosophy is:
Here is what is done:
Here's what remains to be done:
¥(...)
as a placeholder for testing)Examples:
void putchar(byte register(a) char) ¥(preserves_a, preserves_x, preserves_y) @$ffd2 extern
, letting the code that calls it to use the registers optimallyBeta Was this translation helpful? Give feedback.
All reactions