Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIT: ARM64 - Added SVE APIs ExtractLastVector, ExtractLastScalar, ExtractAfterLastVector, ExtractAfterLastScalar #103847

Closed
wants to merge 20 commits into from
Closed
Prev Previous commit
Next Next commit
Merge branch 'main' into sve-extract-apis
TIHan authored Jun 24, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 353aeb9749d291462654d3272d9b7956e0f8e1c8
11 changes: 11 additions & 0 deletions src/coreclr/jit/hwintrinsiccodegenarm64.cpp
Original file line number Diff line number Diff line change
@@ -495,8 +495,19 @@ void CodeGen::genHWIntrinsic(GenTreeHWIntrinsic* node)
{
case NI_Sve_ExtractAfterLastVector:
case NI_Sve_ExtractLastVector:
{
soptEmb = INS_SCALABLE_OPTS_WITH_SIMD_SCALAR;
break;
}

// Special handling for ConvertTo* APIs
// Just need to change the opt here.
case NI_Sve_ConvertToInt32:
case NI_Sve_ConvertToUInt32:
{
opt = intrinEmbMask.baseType == TYP_DOUBLE ? INS_OPTS_D_TO_S : INS_OPTS_SCALABLE_S;
break;
}

default:
break;
You are viewing a condensed version of this merge commit. You can view the full changes here.