Uh oh!
There was an error while loading. Please reload this page.
Fix 97272 - #99818
Conversation
EgorBo
commented
Mar 15, 2024
EgorBo
commented
Mar 15, 2024
/azp run runtime-nativeaot-outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Sergio0694
commented
Mar 20, 2024
760296f to
c16c0e3CompareSergio0694
commented
Mar 27, 2024
EgorBo
commented
Apr 18, 2024
/azp list |
EgorBo
commented
Apr 18, 2024
/azp run runtime-coreclr outerloop, runtime-coreclr jitstress-isas-x86, runtime-coreclr jitstress-isas-arm |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Sergio0694
commented
Apr 24, 2024
Sergio0694
commented
May 1, 2024
EgorBo
commented
May 21, 2024
/azp run runtime-coreclr jitstress-isas-x86, runtime-coreclr jitstress-isas-arm |
|
Azure Pipelines successfully started running 2 pipeline(s). |
@tannergooding or anyone from @dotnet/jit-contrib could you take a look? Vector128<int>Foo(Vector128<int>v){bytemask=0b11110000;returnSse2.Shuffle(v,mask);}Main: ; Method MyBench:Foomovrcx,rdxmovrdx,r8movr8d,240 tail.jmp[Sse2:Shuffle(Vector128`1[int],ubyte):Vector128`1[int]]; Total bytes of code: 18PR: ; Method MyBench:Foo vpshufd xmm0, xmmword ptr [r8],-16vmovups xmmword ptr [rdx],xmm0movrax,rdxret; Total bytes of code: 14There a few regressions which are just PMI-artifacts, e.g. we inline the fallback here. but it shouldn't matter since the method is supposed to be inlined (AggressiveInlining).
|
tannergooding
commented
May 23, 2024
There's two libraries-pmi regressions that look interesting. I think in production they aren't actually hit for the cases highlighted because they are small methods that get inlined and the constant is propagated. But, it showcases an issue where we aren't preserving it as a call for the non-constant case, so we end up expanding the jump table inline instead, this can lead to nasty code explosion in some cases and that is potentially concerning (particularly for T0 like code). |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Sergio0694
commented
Jun 12, 2024
333e303 to
761b6bcCompareEgorBo
commented
Jun 14, 2024
@tannergooding PTAL again, your work to rewrite HWINTRINSIC as calls helped to remove the hacks I had in the previous version. |
tannergooding
left a comment
There was a problem hiding this comment.
This looks a lot better now, thanks!






Fixes#97272