diff options
author | Fei Peng <fei.peng@intel.com> | 2018-08-31 14:15:45 -0700 |
---|---|---|
committer | Tanner Gooding <tagoo@outlook.com> | 2018-09-05 12:56:39 -0700 |
commit | 0f6597f60f580f64b29b00bec7f71d2fb0d57d9d (patch) | |
tree | 2ea0baa523935d787a374b38ffc83f8ba92fa07d /src/jit/gentree.h | |
parent | 2055d5610242da81cbc4c767465fddb7dbd78e33 (diff) | |
download | coreclr-0f6597f60f580f64b29b00bec7f71d2fb0d57d9d.tar.gz coreclr-0f6597f60f580f64b29b00bec7f71d2fb0d57d9d.tar.bz2 coreclr-0f6597f60f580f64b29b00bec7f71d2fb0d57d9d.zip |
Implement AVX2 Gather intrinsic in JIT
Diffstat (limited to 'src/jit/gentree.h')
-rw-r--r-- | src/jit/gentree.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jit/gentree.h b/src/jit/gentree.h index 006812beda..ef86c5d8a3 100644 --- a/src/jit/gentree.h +++ b/src/jit/gentree.h @@ -479,8 +479,8 @@ public: // happening. void CopyCosts(const GenTree* const tree) { - INDEBUG(gtCostsInitialized = - tree->gtCostsInitialized;) // If the 'tree' costs aren't initialized, we'll hit an assert below. + // If the 'tree' costs aren't initialized, we'll hit an assert below. + INDEBUG(gtCostsInitialized = tree->gtCostsInitialized;) _gtCostEx = tree->gtCostEx; _gtCostSz = tree->gtCostSz; } @@ -4115,6 +4115,7 @@ struct GenTreeSIMD : public GenTreeJitIntrinsic struct GenTreeHWIntrinsic : public GenTreeJitIntrinsic { NamedIntrinsic gtHWIntrinsicId; + var_types gtIndexBaseType; // for AVX2 Gather* intrinsics GenTreeHWIntrinsic(var_types type, NamedIntrinsic hwIntrinsicID, var_types baseType, unsigned size) : GenTreeJitIntrinsic(GT_HWIntrinsic, type, nullptr, nullptr, baseType, size), gtHWIntrinsicId(hwIntrinsicID) |