Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

[x86/Linux] Use Portable SHIFT JIT Helpers#8448

Closed
parjong wants to merge 2 commits into
dotnet:masterfrom
parjong:fix/x86_portable_shift_helpers
Closed

[x86/Linux] Use Portable SHIFT JIT Helpers#8448
parjong wants to merge 2 commits into
dotnet:masterfrom
parjong:fix/x86_portable_shift_helpers

Conversation

@parjong
Copy link
Copy Markdown

@parjong parjong commented Dec 5, 2016

This commit enables portable SHFIT JIT Helpers for x86/Linux.

This commit enables portable SHFIT JIT Helpers for x86/Linux.
@parjong
Copy link
Copy Markdown
Author

parjong commented Dec 5, 2016

\CC @seanshpark

@jkotas
Copy link
Copy Markdown
Member

jkotas commented Dec 5, 2016

This won't work for x86. These JIT helpers have custom calling convention on x86. They have to be implemented in assembly on x86.

The alternative would be to change the JIT, but it is more complex change and it would introduce divergence between x86 Windows and x86 Unix codegen. We may end up with some divergence between x86 Windows and x86 Unix codegen, but it would be good idea to minimize it.

@parjong
Copy link
Copy Markdown
Author

parjong commented Dec 5, 2016

@jkotas Is it same for all the other JIT helpers?

@jkotas
Copy link
Copy Markdown
Member

jkotas commented Dec 5, 2016

The custom calling convention applies only to the shift helpers that you are touching in this PR.

@parjong
Copy link
Copy Markdown
Author

parjong commented Dec 5, 2016

@jkotas Thank you for comment!

@parjong parjong closed this Dec 5, 2016
@parjong parjong deleted the fix/x86_portable_shift_helpers branch December 5, 2016 22:26
@karelz karelz modified the milestone: 2.0.0 Aug 28, 2017
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.

4 participants