-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[LoongArch64] Add nativeaot support on LoongArch64. #103889
Conversation
Hi, @MichalStrehovsky @shushanhf |
...r.Compiler/Compiler/DependencyAnalysis/Target_LoongArch64/LoongArch64ReadyToRunHelperNode.cs
Outdated
Show resolved
Hide resolved
...r.Compiler/Compiler/DependencyAnalysis/Target_LoongArch64/LoongArch64ReadyToRunHelperNode.cs
Outdated
Show resolved
Hide resolved
...reclr/tools/aot/ILCompiler.Compiler/Compiler/ObjectWriter/CodeView/CodeViewSymbolsBuilder.cs
Outdated
Show resolved
Hide resolved
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ObjectWriter/CodeView/CodeViewNative.cs
Outdated
Show resolved
Hide resolved
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ObjectWriter/Dwarf/DwarfCie.cs
Outdated
Show resolved
Hide resolved
src/coreclr/nativeaot/Runtime/unix/unixasmmacrosloongarch64.inc
Outdated
Show resolved
Hide resolved
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ObjectWriter/ElfObjectWriter.cs
Outdated
Show resolved
Hide resolved
Excuse me for giving you so much trouble. Cause this is my first time submitting code, I made many low-level mistakes. Thanks very much for your reviews and guidance on me! |
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ObjectWriter/ElfObjectWriter.cs
Outdated
Show resolved
Hide resolved
No trouble at all. The purpose of the review process is to find those mistakes and it seems to work reasonably well here. Side-note: I skimmed over most of the PR changes and looked for things that bit me during the linux-arm / win-x86 ports. The object writer part looks alright save for one comment. |
…r/ElfObjectWriter.cs Co-authored-by: Filip Navara <filip.navara@gmail.com>
+1 This change is a lot of lines that touching number of different areas. It tends to be better to split changes like this into multiple smaller PRs. For example:
If you prefer to continue with the PR as is, it is certainly fine - but it is likely to take longer to get it in compared if it is broken into multiple smaller PRs. |
OK, got it. I'll split this PR into multiple smaller PRs as soon as possible. Thanks! |
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ObjectWriter/ElfObjectWriter.cs
Outdated
Show resolved
Hide resolved
src/coreclr/tools/Common/Compiler/DependencyAnalysis/Target_LoongArch64/LoongArch64Emitter.cs
Outdated
Show resolved
Hide resolved
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ExpectedIsaFeaturesRootProvider.cs
Outdated
Show resolved
Hide resolved
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.
LGTM
Thanks
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.
sorry for mistake click.
@sunlijun-610 please test these PRs based on the new PRs.
Thanks
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
I've tested based on the new PRs and the latest commit, and no new failure cases added. |
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.
LGTM modulo one last nit
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
Filled #104500 on windows-arm64 Release NativeAOT_Libs failure |
This PR adds nativeaot support on LoongArch64.