[JitDiff X64] [MihaZupan] JIT: Use faster mod for uint16 values
For all the logs, see here.
Tracking issue: https://github.com/MihuBot/runtime-utils/issues/1933
Started at 2026-05-23 22-32-10 UTC, ran for 4 minutes 2 seconds.
[00:00:00]* Starting ...
[00:00:00]* Using custom arguments: ''
[00:00:00]* Checking for available runners
[00:00:00]* Signaled an available runner: NasJitDiff
[00:00:00]* Initial remote runner contact
Start time (639151723304416945) is after current time (639151723274034987)?
[00:00:00] CustomArguments=
[00:00:00] ProcessorCount=32
[00:00:00] CurrentDirectory=/runner
[00:00:00] FrameworkDescription=.NET 8.0.25
[00:00:00] RuntimeIdentifier=ubuntu.24.04-x64
[00:00:00] BaseRepo=dotnet/runtime
[00:00:00] BaseBranch=main
[00:00:00] PrRepo=MihaZupan/runtime
[00:00:00] PrBranch=uint16-mod
[00:00:00] Using runtime setup script:
set -e
cd runtime
git switch main
git pull origin
git log -1
chmod 777 build.sh
git config --global user.email build@build.foo
git config --global user.name build
git branch -D pr
git switch -c pr
git remote remove combineWith1
git remote add combineWith1 https://github.com/MihaZupan/runtime
git fetch combineWith1 uint16-mod
git log combineWith1/uint16-mod -1
git merge --no-edit combineWith1/uint16-mod
git log -1
git switch main
[00:00:00] [Setup zip & wget] Running 'apt-get install -y zip wget ninja-build'
[00:00:00] [Setup runtime] Running 'bash -x setup-runtime.sh'
[00:00:00] [Setup runtime] + set -e
[00:00:00] [Setup runtime] + cd runtime
[00:00:00] [Setup runtime] + git switch main
[00:00:00] [Setup runtime] Already on 'main'
[00:00:00] [Setup runtime] Your branch is up to date with 'origin/main'.
[00:00:00] [Setup runtime] + git pull origin
[00:00:00] [Setup zip & wget] Reading package lists...
[00:00:00] [Setup runtime] Already up to date.
[00:00:00] [Setup runtime] + git log -1
[00:00:00] [Setup runtime] commit 7da2acb927da6ac7ad636043d6e0362fed3dfde9
[00:00:00] [Setup runtime] Author: Tom McDonald <tommcdon@microsoft.com>
[00:00:00] [Setup runtime] Date: Sat May 23 16:24:06 2026 -0400
[00:00:00] [Setup runtime]
[00:00:00] [Setup runtime] Restore E_NOTIMPL fallback in DacDbiInterfaceImpl::GetContext (#128499)
[00:00:00] [Setup runtime]
[00:00:00] [Setup runtime] On platforms where ICorDebugDataTarget::GetThreadContext returns
[00:00:00] [Setup runtime] E_NOTIMPL, restore the fallback that walks the thread's Frame chain to
[00:00:00] [Setup runtime] reconstruct a register context from REGDISPLAY. This is needed for
[00:00:00] [Setup runtime] managed debugging stack walks on non-Windows platforms.
[00:00:00] [Setup runtime]
[00:00:00] [Setup runtime] The fallback was removed in 5391e9ec4fb.
[00:00:00] [Setup runtime]
[00:00:00] [Setup runtime] Found using internal Visual Studio testing
[00:00:00] [Setup runtime]
[00:00:00] [Setup runtime] Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
[00:00:00] [Setup runtime] + chmod 777 build.sh
[00:00:00] [Setup runtime] + git config --global user.email build@build.foo
[00:00:00] [Setup runtime] + git config --global user.name build
[00:00:00] [Setup runtime] + git branch -D pr
[00:00:00] [Setup runtime] Deleted branch pr (was 7da2acb927d).
[00:00:00] [Setup runtime] + git switch -c pr
[00:00:00] [Setup runtime] Switched to a new branch 'pr'
[00:00:00] [Setup runtime] + git remote remove combineWith1
[00:00:00] [Setup runtime] + git remote add combineWith1 https://github.com/MihaZupan/runtime
[00:00:00] [Setup runtime] + git fetch combineWith1 uint16-mod
[00:00:00] [Setup zip & wget] Building dependency tree...
[00:00:00] [Setup zip & wget] Reading state information...
[00:00:00] [Setup zip & wget] zip is already the newest version (3.0-13ubuntu0.2).
[00:00:00] [Setup zip & wget] wget is already the newest version (1.21.4-1ubuntu4.1).
[00:00:00] [Setup zip & wget] ninja-build is already the newest version (1.11.1-2).
[00:00:00] [Setup zip & wget] 0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
[00:00:00] First hardware info: CpuCoresAvailable=32 MemoryAvailableGB=30.458030700683594
[00:00:01] [Setup runtime] From https://github.com/MihaZupan/runtime
[00:00:01] [Setup runtime] * branch uint16-mod -> FETCH_HEAD
[00:00:01] [Setup runtime] * [new branch] uint16-mod -> combineWith1/uint16-mod
[00:00:01] [Setup runtime] + git log combineWith1/uint16-mod -1
[00:00:01] [Setup runtime] commit 897296a0fa975079dfc5da6d0e8772dc7afaf0ce
[00:00:01] [Setup runtime] Author: Miha Zupan <mihazupan.zupan1@gmail.com>
[00:00:01] [Setup runtime] Date: Sun May 24 00:02:50 2026 +0200
[00:00:01] [Setup runtime]
[00:00:01] [Setup runtime] Fix unsound IntegralRange refinement for NOL small-type locals
[00:00:01] [Setup runtime]
[00:00:01] [Setup runtime] The VN-based small-type refinement in IntegralRange::ForNode for
[00:00:01] [Setup runtime] GT_LCL_VAR claimed a tight range whenever the local's conservative VN
[00:00:01] [Setup runtime] was a CAST to a small type. That is unsound for normalize-on-load
[00:00:01] [Setup runtime] locals: their storage only contains the small-type bits in the low byte
[00:00:01] [Setup runtime] (upper bytes are stale), but the tight range let fgOptimizeCast drop a
[00:00:01] [Setup runtime] required sign/zero extending load downstream, causing it to read those
[00:00:01] [Setup runtime] stale bits.
[00:00:01] [Setup runtime]
[00:00:01] [Setup runtime] Restrict the refinement to locals whose storage is fully normalized:
[00:00:01] [Setup runtime] either non-small locals, or small locals with lvNormalizeOnStore set.
[00:00:01] [Setup runtime]
[00:00:01] [Setup runtime] Repros fuzzlyn seed 12902382323863156506 (and others) where
[00:00:01] [Setup runtime] '(short)(arg0 ^ arg2)' with sbyte arg0 began returning the unsigned
[00:00:01] [Setup runtime] byte interpretation in release.
[00:00:01] [Setup runtime]
[00:00:01] [Setup runtime] Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
[00:00:01] [Setup runtime] + git merge --no-edit combineWith1/uint16-mod
[00:00:02] [Setup runtime] Auto-merging src/coreclr/jit/assertionprop.cpp
[00:00:02] [Setup runtime] Auto-merging src/coreclr/jit/gentree.cpp
[00:00:02] [Setup runtime] Merge made by the 'ort' strategy.
[00:00:02] [Setup runtime] src/coreclr/jit/assertionprop.cpp | 57 ++++++-
[00:00:02] [Setup runtime] src/coreclr/jit/gentree.cpp | 4 +-
[00:00:02] [Setup runtime] src/coreclr/jit/gentree.h | 2 +
[00:00:02] [Setup runtime] src/coreclr/jit/lower.cpp | 75 ++++++++-
[00:00:02] [Setup runtime] src/coreclr/jit/morph.cpp | 20 +++
[00:00:02] [Setup runtime] .../opt/Divide/Regressions/Regression4_Divide.cs | 169 +++++++++++++++++++++
[00:00:02] [Setup runtime] .../Divide/Regressions/Regression4_Divide.csproj | 9 ++
[00:00:02] [Setup runtime] 7 files changed, 329 insertions(+), 7 deletions(-)
[00:00:02] [Setup runtime] create mode 100644 src/tests/JIT/opt/Divide/Regressions/Regression4_Divide.cs
[00:00:02] [Setup runtime] create mode 100644 src/tests/JIT/opt/Divide/Regressions/Regression4_Divide.csproj
[00:00:02] [Setup runtime] + git log -1
[00:00:02] [Setup runtime] commit c1221f474d077957864912b65a1c261ea1ab821f
[00:00:02] [Setup runtime] Merge: 7da2acb927d 897296a0fa9
[00:00:02] [Setup runtime] Author: build <build@build.foo>
[00:00:02] [Setup runtime] Date: Sat May 23 22:32:09 2026 +0000
[00:00:02] [Setup runtime]
[00:00:02] [Setup runtime] Merge remote-tracking branch 'combineWith1/uint16-mod' into pr
[00:00:02] [Setup runtime] + git switch main
[00:00:02] [Setup runtime] Switched to branch 'main'
[00:00:02] [Setup runtime] Your branch is up to date with 'origin/main'.
[00:00:02] main commit: 7da2acb927da6ac7ad636043d6e0362fed3dfde9
[00:00:02] pr commit: 897296a0fa975079dfc5da6d0e8772dc7afaf0ce
[00:00:02] Running 'git switch pr' from 'runtime'
[00:00:02] Switched to branch 'pr'
[00:00:02] [pr release] Running 'bash build.sh clr -c Release -p:RunAnalyzers=false -p:ApiCompatValidateAssemblies=false' from 'runtime'
[00:00:05] [pr release]
[00:00:06] [pr release] Determining projects to restore...
[00:00:07] [pr release] Tool 'coverlet.console' (version '6.0.4') was restored. Available commands: coverlet
[00:00:07] [pr release] Tool 'dotnet-reportgenerator-globaltool' (version '5.4.3') was restored. Available commands: reportgenerator
[00:00:07] [pr release] Tool 'microsoft.dotnet.xharness.cli' (version '11.0.0-prerelease.26204.1') was restored. Available commands: xharness
[00:00:07] [pr release] Tool 'microsoft.visualstudio.slngen.tool' (version '12.0.15') was restored. Available commands: slngen
[00:00:07] [pr release]
[00:00:07] [pr release] Restore was successful.
[00:00:07] [pr release] All projects are up-to-date for restore.
[00:00:08] [pr release] Determining projects to restore...
[00:00:13] [pr release] Restored /runner/runtime/src/tasks/Crossgen2Tasks/Crossgen2Tasks.csproj (in 3.76 sec).
[00:00:13] [pr release] Restored /runner/runtime/src/tasks/HelixTestTasks/HelixTestTasks.csproj (in 3.76 sec).
[00:00:13] [pr release] Restored /runner/runtime/eng/analyzers/PlatformDocAnalyzer/PlatformDocAnalyzer.csproj (in 3.73 sec).
[00:00:13] [pr release] 65 of 68 projects are up-to-date for restore.
[00:00:19] [pr release] PlatformDocAnalyzer -> /runner/runtime/artifacts/bin/PlatformDocAnalyzer/Release/netstandard2.0/PlatformDocAnalyzer.dll
[00:00:19] [pr release] HelixTestTasks -> /runner/runtime/artifacts/bin/HelixTestTasks/Release/net11.0/HelixTestTasks.dll
[00:00:20] [pr release] Crossgen2Tasks -> /runner/runtime/artifacts/bin/Crossgen2Tasks/Release/Crossgen2Tasks.dll
[00:00:20] [pr release] installer.tasks -> /runner/runtime/artifacts/bin/installer.tasks/Release/installer.tasks.dll
[00:00:21] [pr release] ILLink.RoslynAnalyzer -> /runner/runtime/artifacts/bin/ILLink.RoslynAnalyzer/Release/netstandard2.0/ILLink.RoslynAnalyzer.dll
[00:00:21] [pr release] ILLink.CodeFixProvider -> /runner/runtime/artifacts/bin/ILLink.CodeFixProvider/Release/netstandard2.0/ILLink.CodeFixProvider.dll
[00:00:21] [pr release] PlatformDocAnalyzer -> /runner/runtime/artifacts/bin/PlatformDocAnalyzer/Release/netstandard2.0/PlatformDocAnalyzer.dll
[00:00:21] [pr release] Mono.Linker -> /runner/runtime/artifacts/bin/Mono.Linker/ref/Release/net11.0/illink.dll
[00:00:22] [pr release] Mono.Linker -> /runner/runtime/artifacts/bin/Mono.Linker/Release/net11.0/illink.dll
[00:00:23] [pr release] ILLink.Tasks -> /runner/runtime/artifacts/bin/ILLink.Tasks/Release/net/ILLink.Tasks.dll
[00:00:23] [pr release] System.Private.CoreLib.Generators -> /runner/runtime/artifacts/bin/System.Private.CoreLib.Generators/Release/netstandard2.0/System.Private.CoreLib.Generators.dll
[00:00:23] [pr release] System.Private.CoreLib -> /runner/runtime/artifacts/bin/System.Private.CoreLib/ref/Release/net11.0/System.Private.CoreLib.dll
[00:00:23] [pr release] EventSourceGenerator -> /runner/runtime/artifacts/bin/EventSourceGenerator/Release/netstandard2.0/EventSourceGenerator.dll
[00:00:23] [pr release] Microsoft.Interop.SourceGeneration -> /runner/runtime/artifacts/bin/Microsoft.Interop.SourceGeneration/Release/netstandard2.0/Microsoft.Interop.SourceGeneration.dll
[00:00:23] [pr release] LibraryImportGenerator -> /runner/runtime/artifacts/bin/LibraryImportGenerator/Release/netstandard2.0/Microsoft.Interop.LibraryImportGenerator.dll
[00:00:36] [pr release] System.Private.CoreLib -> /runner/runtime/artifacts/bin/coreclr/linux.x64.Release/IL/System.Private.CoreLib.dll
[00:00:36] [pr release] PlatformDocAnalyzer -> /runner/runtime/artifacts/bin/PlatformDocAnalyzer/Release/netstandard2.0/PlatformDocAnalyzer.dll
[00:00:36] [pr release] cdac-build-tool -> /runner/runtime/artifacts/bin/coreclr/linux.x64.Release/cdac-build-tool/cdac-build-tool.dll
[00:00:36] [pr release] Executing "/runner/runtime/src/coreclr/build-runtime.sh" -x64 -release -os linux -ninja -pgodatapath "/root/.nuget/packages/optimization.linux-x64.pgo.coreclr/1.0.0-prerelease.26180.1" -targetrid linux-x64 -cmakeargs "-DCLR_DOTNET_RID=linux-x64" -cmakeargs "-DCLR_DOTNET_HOST_PATH='/usr/lib/dotnet/dotnet'" -cmakeargs "-DCDAC_BUILD_TOOL_BINARY_PATH=/runner/runtime/artifacts/bin/coreclr/linux.x64.Release/cdac-build-tool/cdac-build-tool.dll" -cmakeargs "-DFEATURE_DYNAMI ...
[00:00:36] [pr release] Commencing CoreCLR Repo build
[00:00:36] [pr release] __TargetRid: linux-x64