Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Wire up CppCodeGen into ILToNative#21

Merged
jkotas merged 1 commit into
dotnet:masterfrom
jkotas:cpp
Oct 2, 2015
Merged

Wire up CppCodeGen into ILToNative#21
jkotas merged 1 commit into
dotnet:masterfrom
jkotas:cpp

Conversation

@jkotas
Copy link
Copy Markdown
Member

@jkotas jkotas commented Oct 2, 2015

No description provided.

@jkotas
Copy link
Copy Markdown
Member Author

jkotas commented Oct 2, 2015

@MichalStrehovsky PTLA

@MichalStrehovsky
Copy link
Copy Markdown
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.
@jkotas jkotas changed the title Add CppCodeGen prototype Wire up CppCodeGen into ILToNative Oct 2, 2015
@jkotas
Copy link
Copy Markdown
Member Author

jkotas commented Oct 2, 2015

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 jkotas merged commit ecbc52e into dotnet:master Oct 2, 2015
@jkotas jkotas deleted the cpp branch October 12, 2015 06:53
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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants