diff options
author | Fei Peng <fei.peng@intel.com> | 2018-03-30 11:41:00 -0700 |
---|---|---|
committer | Fei Peng <fei.peng@intel.com> | 2018-03-30 11:41:00 -0700 |
commit | 6397a7b3958502476b6e6f91310c8ab4b6a13a2d (patch) | |
tree | 01df4ed9d63e868fda16545c36c40ad5ecbdf050 /src/jit/hwintrinsicxarch.cpp | |
parent | e8eb5c6d22948bbf744f30f0a640dfeca3386d14 (diff) | |
download | coreclr-6397a7b3958502476b6e6f91310c8ab4b6a13a2d.tar.gz coreclr-6397a7b3958502476b6e6f91310c8ab4b6a13a2d.tar.bz2 coreclr-6397a7b3958502476b6e6f91310c8ab4b6a13a2d.zip |
Implement AVX SetHighLow
Diffstat (limited to 'src/jit/hwintrinsicxarch.cpp')
-rw-r--r-- | src/jit/hwintrinsicxarch.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/jit/hwintrinsicxarch.cpp b/src/jit/hwintrinsicxarch.cpp index 9da218fc48..50bf25e44c 100644 --- a/src/jit/hwintrinsicxarch.cpp +++ b/src/jit/hwintrinsicxarch.cpp @@ -1236,6 +1236,16 @@ GenTree* Compiler::impAvxOrAvx2Intrinsic(NamedIntrinsic intrinsic, break; } + case NI_AVX_SetHighLow: + { + baseType = getBaseTypeOfSIMDType(sig->retTypeSigClass); + GenTree* lowerVector = impSIMDPopStack(TYP_SIMD16); + GenTree* higherVector = impSIMDPopStack(TYP_SIMD16); + retNode = gtNewSimdHWIntrinsicNode(TYP_SIMD32, lowerVector, higherVector, gtNewIconNode(1), + NI_AVX_InsertVector128, baseType, 32); + break; + } + case NI_AVX_ExtractVector128: case NI_AVX2_ExtractVector128: { |