Uh oh!
There was an error while loading. Please reload this page.
Disable GFNI tests for NAOT - #110250
Conversation
saucecontrol
commented
Nov 28, 2024
/azp run runtime-nativeaot-outerloop |
|
Commenter does not have sufficient privileges for PR 110250 in repo dotnet/runtime |
saucecontrol
commented
Nov 28, 2024
MichalStrehovsky
commented
Nov 28, 2024
/azp run runtime-nativeaot-outerloop |
saucecontrol
commented
Nov 28, 2024
For reference, the test that was failing: runtime/src/tests/JIT/HardwareIntrinsics/X86/Shared/GfniAffineTest.template Lines 229 to 248 in d6eb354 This template is common across HWIntrinsics tests, and any of these will fail when an unsupported instruction set is allowed in NAOT. |
|
Azure Pipelines successfully started running 1 pipeline(s). |
jkotas
commented
Nov 28, 2024
The other tests dealt with the problem by getting disabled: https://github.com/dotnet/runtime/blob/main/src/tests/JIT/HardwareIntrinsics/X86/X86Serialize/Serialize_r.csproj#L6-L7 . Should we do the same here? Ideally, the opportunistic set would contain all instructions by default. The only reason why it is not the case are JIT instruction encoding limitations. |
a1da8b3 to
7ca479bComparesaucecontrol
commented
Nov 28, 2024
Got it, thanks. I've only added the property for the base |
MichalStrehovsky
commented
Nov 29, 2024
/azp run runtime-nativeaot-outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
MichalStrehovsky
commented
Nov 29, 2024
We don't really test with |
jkotas
commented
Dec 1, 2024
It would be nice to fix this template to be compatible with native AOT: #110293 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MichalStrehovsky
commented
Dec 2, 2024
Thank you! |
* disable GFNI tests for NAOT * Apply suggestions from code review --------- Co-authored-by: Jan Kotas <jkotas@microsoft.com> Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
* disable GFNI tests for NAOT * Apply suggestions from code review --------- Co-authored-by: Jan Kotas <jkotas@microsoft.com> Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
Fixes#110240
GFNI is enabled opportunistically, and the HWIntrinsics tests check that the methods throw PNSE when not supported. On NAOT, instead of throwing, the instructions are emitted, so they result in illegal instruction instead.