diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2018-04-02 07:58:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-02 07:58:44 -0700 |
commit | 33fed2977ba2d6040f347301a378af8885ee5eb8 (patch) | |
tree | 394150ac02caa208dd5f0aefa9e283658cf63c3c /src/jit/hwintrinsicxarch.cpp | |
parent | f2f0e7df851b3cbbec0cc63f403b557373c2e412 (diff) | |
parent | 6397a7b3958502476b6e6f91310c8ab4b6a13a2d (diff) | |
download | coreclr-33fed2977ba2d6040f347301a378af8885ee5eb8.tar.gz coreclr-33fed2977ba2d6040f347301a378af8885ee5eb8.tar.bz2 coreclr-33fed2977ba2d6040f347301a378af8885ee5eb8.zip |
Merge pull request #17313 from fiigii/sethilo
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 df39c29ea6..9edf5facf1 100644 --- a/src/jit/hwintrinsicxarch.cpp +++ b/src/jit/hwintrinsicxarch.cpp @@ -1238,6 +1238,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: { |