diff options
author | Tanner Gooding <tagoo@outlook.com> | 2019-06-06 16:06:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-06 16:06:22 -0700 |
commit | 93216920549a0f574694e383d67d6d0ea5a4fed3 (patch) | |
tree | a2a003a7ea6be67589ed5e3c1a4ae07c21dced52 /src/jit/compiler.h | |
parent | 4c82068adb046eee3573984392a0d1e774062ae0 (diff) | |
download | coreclr-93216920549a0f574694e383d67d6d0ea5a4fed3.tar.gz coreclr-93216920549a0f574694e383d67d6d0ea5a4fed3.tar.bz2 coreclr-93216920549a0f574694e383d67d6d0ea5a4fed3.zip |
Marking Vector128<T>.Count and Vector256<T>.Count as [Intrinsic] (#24991)
* Marking Vector128<T>.Count and Vector256<T>.Count as [Intrinsic]
* Fixing NI_Vector128_Count and NI_Vector256_Count to use clsHnd when getting the simdSize and baseType
* Applying the formatting patch.
* Changing some comments to just be "vector element count".
* Fixing impBaseIntrinsic to set the baseType so Vector128_Count and Vector256_Count don't return nullptr
Diffstat (limited to 'src/jit/compiler.h')
-rw-r--r-- | src/jit/compiler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jit/compiler.h b/src/jit/compiler.h index c73ca30c16..da42aa14ce 100644 --- a/src/jit/compiler.h +++ b/src/jit/compiler.h @@ -3527,6 +3527,7 @@ protected: #ifdef FEATURE_HW_INTRINSICS GenTree* impHWIntrinsic(NamedIntrinsic intrinsic, + CORINFO_CLASS_HANDLE clsHnd, CORINFO_METHOD_HANDLE method, CORINFO_SIG_INFO* sig, bool mustExpand); @@ -3540,6 +3541,7 @@ protected: #ifdef _TARGET_XARCH_ GenTree* impBaseIntrinsic(NamedIntrinsic intrinsic, + CORINFO_CLASS_HANDLE clsHnd, CORINFO_METHOD_HANDLE method, CORINFO_SIG_INFO* sig, bool mustExpand); @@ -5770,7 +5772,7 @@ public: #define LPFLG_VAR_LIMIT 0x0100 // iterator is compared with a local var (var # found in lpVarLimit) #define LPFLG_CONST_LIMIT 0x0200 // iterator is compared with a constant (found in lpConstLimit) #define LPFLG_ARRLEN_LIMIT 0x0400 // iterator is compared with a.len or a[i].len (found in lpArrLenLimit) -#define LPFLG_SIMD_LIMIT 0x0080 // iterator is compared with Vector<T>.Count (found in lpConstLimit) +#define LPFLG_SIMD_LIMIT 0x0080 // iterator is compared with vector element count (found in lpConstLimit) #define LPFLG_HAS_PREHEAD 0x0800 // lpHead is known to be a preHead for this loop #define LPFLG_REMOVED 0x1000 // has been removed from the loop table (unrolled or optimized away) |