-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
JIT: Add support for frozen structs in Swift reverse pinvokes #100344
Merged
jakobbotsch
merged 56 commits into
dotnet:main
from
jakobbotsch:swift-reverse-pinvokes-structs
Apr 5, 2024
Merged
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
fea5284
JIT: Split ABI classification by ABI
jakobbotsch 150cb28
Refactor, fix arm64
jakobbotsch af2fc72
Run jit-format
jakobbotsch 1d09c9f
Comments
jakobbotsch dcccedd
Fix varargs retbuf case
jakobbotsch 7fe878b
Fix SysV
jakobbotsch 9297865
Add function headers
jakobbotsch 25e2c49
Nit
jakobbotsch 9954062
Fix macOS arm64 ABI bug
jakobbotsch 5fab654
Preemptively fix build
jakobbotsch 3f1c738
More build fixes
jakobbotsch b8d9334
Further fix build
jakobbotsch f12a9d7
Move classifiers into target specific files
jakobbotsch 70a0aff
Fix x86
jakobbotsch 0e82029
Fix Apple ARM64 ABI for HVAs
jakobbotsch 8cf09c7
Initial work
jakobbotsch 10bbcce
Fix build
jakobbotsch 6d2a284
More fixes
jakobbotsch 90bab28
Check for swift call conv
jakobbotsch b5586da
More
jakobbotsch a17cdeb
More fixing
jakobbotsch 6214044
Fix further
jakobbotsch 60eecf1
Fixes
jakobbotsch 10d1f3b
More fixing
jakobbotsch 8db32af
Fix
jakobbotsch 1eab0d9
Fix
jakobbotsch be0137e
Handle stack and registers separately
jakobbotsch 3faedce
More
jakobbotsch 5b72edd
Enable implicit byrefs on SysV x64
jakobbotsch 27cb1b1
Fix SysV x64 arg asserts
jakobbotsch a99d809
Fix warning
jakobbotsch eab21e7
Maybe fix?
jakobbotsch b015690
Run jit-format
jakobbotsch bae830c
Generate final tests
jakobbotsch 925ad52
Nits
jakobbotsch ac6c825
Merge branch 'main' of github.com:dotnet/runtime into swift-reverse-p…
jakobbotsch 3c1c261
Merge branch 'main' of github.com:dotnet/runtime into swift-reverse-p…
jakobbotsch 12058f5
Return some dumping code
jakobbotsch a901d90
Return code removed by mistake
jakobbotsch 06c4e1b
Fix arm64 varargs bug, small formatting nit
jakobbotsch c8dd128
Run jit-format
jakobbotsch 3f50708
Refactor to fix TP
jakobbotsch 09c0c1f
Fixes for no refs case
jakobbotsch 80343cd
Fix build
jakobbotsch ba7da24
Another assert
jakobbotsch 5929425
Maybe that does it
jakobbotsch 0bf62c0
Run jit-format
jakobbotsch 955e5bf
Clean up
jakobbotsch efc5637
Fix an x64 assert
jakobbotsch c4874e0
Clean up
jakobbotsch ee436f6
Straggler
jakobbotsch 700864a
Merge branch 'main' of github.com:dotnet/runtime into swift-reverse-p…
jakobbotsch ef478a0
Run jit-format
jakobbotsch fa1860c
Merge branch 'main' of github.com:dotnet/runtime into swift-reverse-p…
jakobbotsch 010552a
Fix bad merge
jakobbotsch 4f272f7
Address feedback
jakobbotsch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we use unsigned types for these ones?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We generally normalize up to at least 4 bytes on all loads, and zero extensions sometimes have smaller encodings than sign extensions on xarch (similar change was made in #86631).