I came across this while working on a non-consoles project.
https://github.com/dotnet/runtime/blob/main/src/coreclr/nativeaot/docs/optimizing.md
When optimization for size is enabled, there's additional instruction sets used by ILC. We're probably OK for Xbox One since it's an older CPU but there's probably some opportunities for more performance on Series S/X.
https://github.com/dotnet/runtime/blob/main/src/coreclr/tools/Common/InstructionSetHelpers.cs#L188
Just noting here in case anyone is going down the performance rabbit hole.
I came across this while working on a non-consoles project.
https://github.com/dotnet/runtime/blob/main/src/coreclr/nativeaot/docs/optimizing.md
When optimization for size is enabled, there's additional instruction sets used by ILC. We're probably OK for Xbox One since it's an older CPU but there's probably some opportunities for more performance on Series S/X.
https://github.com/dotnet/runtime/blob/main/src/coreclr/tools/Common/InstructionSetHelpers.cs#L188
Just noting here in case anyone is going down the performance rabbit hole.