This repository was archived by the owner on Nov 1, 2020. It is now read-only.
Wire up CppCodeGen into ILToNative#21
Merged
Merged
Conversation
Member
Author
|
@MichalStrehovsky PTLA |
Member
|
Is not using dotnet-bot as the author intentional? Otherwise LGTM. |
Adding simple conditions to where we need to take different paths today. There is opportunity for better factoring (e.g. move all name manging into separate class). Fix bugs that I have run into along the way.
Member
Author
|
I have split it into two PRs - the first one has the author set as dotnet-bot |
jkotas
added a commit
that referenced
this pull request
Oct 2, 2015
Wire up CppCodeGen into ILToNative
jkotas
pushed a commit
that referenced
this pull request
Sep 2, 2020
There are multiple cases were we don't need just the pointer for an external variable but the value that is stored at this location. So far this was done with the PREPARE_EXTERNAL_VAR followed by an ldr x? [x?]. The PREPARE_EXTERNAL_VAR macro needs two instructions (adrp + add). As the ldr instruction supports an offset we can eliminate the add for this use case. The two new macros PREPARE_EXTERNAL_VAR_INDIRECT and PREPARE_EXTERNAL_VAR_INDIRECT_W make use of this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.