-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Make linux-riscv nativeaot port robust #112736
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
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
1048e2e
Fix AOT exception handling on linux-riscv64
am11 88ce95b
Apply more suggestions
am11 59705b8
Fix unwind information for allocation helpers
filipnavara d116a11
Restore correct FP registers in StackFrameIterator::UnwindFuncletInvo…
filipnavara b179a7f
Fix register addressing in GcInfoDecoder::GetRegisterSlot
filipnavara 1cb6ced
Fix and enable software write watch
filipnavara 13953be
Fix COOP frames layout
filipnavara 53a4ef0
Fix indirections, comparison and other assembly for write barrier checks
filipnavara c11dd62
Fix cross-build on Risc-V host
filipnavara 37680d7
Disable R2R in stage2 build
am11 f861b44
Fix uninitialized value in RhpPInvoke
filipnavara acab644
Fix register in RhpPInvokeReturn
am11 de03a3e
Initialize FP/RA pointers when creating StackFrameIterator from nativ…
filipnavara eb4449b
Fix sign on PROLOG_SAVE_REG_PAIR_INDEXED
filipnavara 541ddb1
Fix more of the logic in write barriers. Needs further audit.
filipnavara a0e1a83
Fix incorrect unwinding information generated for methods with frame …
filipnavara f48eae5
Fix emitting jump to bad slot helper
filipnavara 7734924
Fix unwind info for universal transitions
filipnavara 19c97fb
Fix comment
filipnavara c62c075
Fix flipped RA/FP in universal transition unwinding
filipnavara ea12bf4
WIP: Rewrite thunk code generation
filipnavara 35a22b9
WIP: Fix RhCommonStub
filipnavara a719d7d
Fix layout of universal translation for unwinding
filipnavara 212157a
WIP: Add memory barriers to native AOT asm helpers (https://github.co…
filipnavara 9743390
WIP: Add fences to RhpCheckedLockCmpXchg/RhpCheckedXchg and fix atomi…
filipnavara 20101ac
Preserve registers in INLINE_GET_TLS_VAR
am11 310e8f8
Preserve a7 as well
am11 5b058e4
WIP: Attempt to fix masks in IsInProlog/TrailingEpilogueInstructionsC…
filipnavara e5e96bb
WIP: Fix GC hijacking flags and possible return value trashing
filipnavara a5770dd
Fix return value trashing
filipnavara 215e5f2
Actually fix the PTFF_THREAD_HIJACK_HI flag in correct file
filipnavara 6515769
Merge dotnet/main into feature/nativeaot/riscv64-port
am11 1fd1716
Apply suggestions from code review
am11 a310c69
Update src/coreclr/nativeaot/Runtime/ThunksMapping.cpp
am11 a2f8422
Make style consistent
am11 0590ea5
Merge branch 'main' into feature/nativeaot/riscv64-port
am11 a9a6a47
Flip the sign of PROLOG_SAVE_REG_PAIR_INDEXED to match CoreCLR defini…
filipnavara 7be7b76
Merge branch 'main' into feature/nativeaot/riscv64-port
am11 de257a3
Fix the last change to sign
filipnavara d5adb94
Save one mv instruction
filipnavara e34c90c
Relax FENCE in R2R helpers
filipnavara 939c0a2
Apply suggestiosn from CR review
am11 2fd845a
Update managed defintion of TransitionBlock too
filipnavara 21fc86a
Merge branch 'main' into feature/nativeaot/riscv64-port
am11 84504b5
Update TLSDESC comments
am11 0acb29d
Merge branch 'main' into feature/nativeaot/riscv64-port
am11 62c35d6
Update src/coreclr/nativeaot/Runtime/riscv64/WriteBarriers.S
am11 4b1889b
Merge branch 'main' into feature/nativeaot/riscv64-port
am11 b3320a5
Relax semantics of a fence in R2R helper to match ARM64
filipnavara 78efdc7
Add missing fence in RhpAssignRefRiscV64 (matches ARM code and CoreCL…
filipnavara d8486a6
Match barriers emitted by PalInterlockedOperationBarrier in NativeAOT…
filipnavara 4f50edc
Merge branch 'main' into feature/nativeaot/riscv64-port
jkotas 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 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
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
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
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
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
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.