Check what was done for x86/x64 in https://github.com/dotnet/coreclr/pull/9786
Check what was done for x86/x64 in dotnet/coreclr#9786