You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In CoreRT, we copied a few assembly macros from CoreCLR repo. Those macros were later modified in coreclr then in runtime repos. Now that NativeAOT and PAL code exist in the same repo, is it feasible to deduplicate that code?
My only concern is that we currently have zero testing for NativeAOT ARM64 (outside of just building it), so I would rather not make big changes to ARM64 files right now. ARM64 testing is on my TODO list for the coming weeks.
# NativeAOT only buildable for a subset of CoreCLR-supported configurations
if((CLR_CMAKE_HOST_LINUX OR CLR_CMAKE_HOST_OSX OR CLR_CMAKE_HOST_WIN32) AND (CLR_CMAKE_HOST_ARCH_ARM64 OR CLR_CMAKE_HOST_ARCH_AMD64) ANDNOT (CLR_CMAKE_HOST_OSX AND CLR_CMAKE_HOST_ARCH_ARM64))
add_subdirectory(nativeaot)
endif()
endif(NOTCLR_CROSS_COMPONENTS_BUILD)
It might be buildable on ARM32, but this was scoped down to what we really need in the initial move from runtimelab.
Some of the convergence work is done. I think we have reference mechanism and precedence (src/coreclr/runtime due) to continue convergence as the feature demand; instead of standalone convergence wholesale.
Activity
am11 commentedon Jan 25, 2022
cc @directhex (regarding #62594 (comment)), for some reason the outerloop armv6 failure is caused by /pal/ variant
runtime/src/coreclr/pal/inc/unixasmmacrosarm.inc
Line 265 in a5cf724
but not the nativeaot one:
runtime/src/coreclr/nativeaot/Runtime/unix/unixasmmacrosarm.inc
Line 185 in a5cf724
(although both components are bulilding; maybe it's unreachable code 🤔)
MichalStrehovsky commentedon Jan 25, 2022
It would definitely be nice to deduplicate.
My only concern is that we currently have zero testing for NativeAOT ARM64 (outside of just building it), so I would rather not make big changes to ARM64 files right now. ARM64 testing is on my TODO list for the coming weeks.
NativeAOT is only building on ARM64 and x64:
runtime/src/coreclr/CMakeLists.txt
Lines 137 to 142 in a5cf724
It might be buildable on ARM32, but this was scoped down to what we really need in the initial move from runtimelab.
dotnet-policy-service commentedon Apr 9, 2026
Tagging subscribers to this area: @agocke
See info in area-owners.md if you want to be subscribed.
am11 commentedon Apr 11, 2026
Some of the convergence work is done. I think we have reference mechanism and precedence (src/coreclr/runtime due) to continue convergence as the feature demand; instead of standalone convergence wholesale.