-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Add NativeAOT support for armel #132007
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
base: main
Are you sure you want to change the base?
Add NativeAOT support for armel #132007
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,9 @@ | |
| // | ||
| #if TARGET_ARM | ||
| #define CALLDESCR_ARGREGS // CallDescrWorker has ArgumentRegister parameter | ||
| #if !ARM_SOFTFP | ||
| #define CALLDESCR_FPARGREGS // CallDescrWorker has FloatArgumentRegisters parameter | ||
| #endif | ||
| #define ENREGISTERED_RETURNTYPE_MAXSIZE | ||
| #define ENREGISTERED_RETURNTYPE_INTEGER_MAXSIZE | ||
| #define FEATURE_HFA | ||
|
|
@@ -250,6 +252,7 @@ internal struct ArgumentRegisters | |
| [StructLayout(LayoutKind.Sequential)] | ||
| internal struct FloatArgumentRegisters | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These structures have to be in sync with CoreCLR w/ JIT. We do not have these fine-grained ifdefs in CoreCLR. https://github.com/dotnet/runtime/blob/main/src/coreclr/vm/arm/cgencpu.h These are all slow paths. It is very minor inefficiency to save the extra floating-point registers with armel even though it is not strictly necessary. I think it would be simpler to avoid these ifdefs and accept this minor inefficiency. (Otherwise, you need a bunch more places that need these ifdefs to ensure everything is in sync.) |
||
| { | ||
| #if !ARM_SOFTFP | ||
| private double d0; | ||
| private double d1; | ||
| private double d2; | ||
|
|
@@ -258,6 +261,7 @@ internal struct FloatArgumentRegisters | |
| private double d5; | ||
| private double d6; | ||
| private double d7; | ||
| #endif | ||
| } | ||
|
|
||
| internal struct ArchitectureConstants | ||
|
|
||
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.
Unnecessary - same as the default on previous line