Context #120352 (comment)
The following code-snippet when published with R2R, e.g.:
dotnet publish -f net10.0 -r win-x64 --sc -p:PublishReadyToRun=true
using System.Runtime.Intrinsics;
Test();
static ushort[] Test()
{
ushort[] numbers = new ushort[8];
Vector128<ushort>.Zero.CopyTo(numbers);
return numbers;
}
... has to JIT compile Test() with Tier0, although, it clearly is expected to be prejitted.
JitDump
Context #120352 (comment)
The following code-snippet when published with R2R, e.g.:
... has to JIT compile
Test()with Tier0, although, it clearly is expected to be prejitted.JitDump