Skip to content

Commit

Permalink
Fix CI errors. Add missing API in Avx10v1.PlatofrmNotSupported ad end…
Browse files Browse the repository at this point in the history
… line with a new character
  • Loading branch information
khushal1996 committed May 9, 2024
1 parent 0cd2118 commit baae082
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/coreclr/jit/hwintrinsiccodegenxarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,8 @@ void CodeGen::genHWIntrinsic_R_R_R_RM_I(

#if defined(DEBUG)
NamedIntrinsic intrinsicId = node->GetHWIntrinsicId();
assert((intrinsicId == NI_AVX512F_TernaryLogic) || (intrinsicId == NI_AVX512F_VL_TernaryLogic) || (intrinsicId == NI_AVX10v1_TernaryLogic));
assert((intrinsicId == NI_AVX512F_TernaryLogic) || (intrinsicId == NI_AVX512F_VL_TernaryLogic) ||
(intrinsicId == NI_AVX10v1_TernaryLogic));

uint8_t control = static_cast<uint8_t>(ival);
const TernaryLogicInfo& info = TernaryLogicInfo::lookup(control);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1744,6 +1744,13 @@ internal Avx10v1() { }
/// </summary>
public static Vector256<byte> PermuteVar32x8x2(Vector256<byte> lower, Vector256<byte> indices, Vector256<byte> upper) { throw new PlatformNotSupportedException(); }

/// <summary>
/// __m256i _mm256_permutex2var_epi8 (__m256i a, __m256i idx, __m256i b)
/// VPERMI2B ymm1 {k1}{z}, ymm2, ymm3/m256
/// VPERMT2B ymm1 {k1}{z}, ymm2, ymm3/m256
/// </summary>
public static Vector256<sbyte> PermuteVar32x8x2(Vector256<sbyte> lower, Vector256<sbyte> indices, Vector256<sbyte> upper) { throw new PlatformNotSupportedException(); }

/// <summary>
/// __m128 _mm_permutex2var_ps (__m128 a, __m128i idx, __m128i b)
/// VPERMI2PS xmm1 {k1}{z}, xmm2, xmm3/m128/m32bcst
Expand Down Expand Up @@ -3038,4 +3045,4 @@ internal V512() { }
public static Vector512<sbyte> PermuteVar64x8x2(Vector512<sbyte> lower, Vector512<sbyte> indices, Vector512<sbyte> upper) { throw new PlatformNotSupportedException(); }
}
}
}
}

0 comments on commit baae082

Please sign in to comment.