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

Optimisation: WRAM access with GlobalSymbol + Offset #5

Open
JordiChauzi opened this issue Jun 18, 2019 · 0 comments
Open

Optimisation: WRAM access with GlobalSymbol + Offset #5

JordiChauzi opened this issue Jun 18, 2019 · 0 comments

Comments

@JordiChauzi
Copy link

Memory access to GlobalAddress + Immediate Offset can be optimised (by using Immediate expressions to wrap the GlobalAddress + Immediate Offset, which will be handled by the linker).

See this example where we could remove the move instruction and have this load instruction: lw r21, zero, my_table + 4

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

1 participant