summaryrefslogtreecommitdiff
path: root/src/jit/gtlist.h
diff options
context:
space:
mode:
authorFei Peng <fei.peng@intel.com>2018-02-26 13:02:12 -0800
committerTanner Gooding <tagoo@outlook.com>2018-02-26 19:08:13 -0800
commite61f7f44f8d115aaf688c3238f0e5d44e40dfb29 (patch)
tree211179946e23da48df6ffe10ac437454700a798c /src/jit/gtlist.h
parentec78ba4a4467fff7ca069a3123788c96eeca2ebc (diff)
downloadcoreclr-e61f7f44f8d115aaf688c3238f0e5d44e40dfb29.tar.gz
coreclr-e61f7f44f8d115aaf688c3238f0e5d44e40dfb29.tar.bz2
coreclr-e61f7f44f8d115aaf688c3238f0e5d44e40dfb29.zip
Update the table-driven framework to support x86 imm-intrinsics.
And add a new range-check IR for x86 imm-intrinsics.
Diffstat (limited to 'src/jit/gtlist.h')
-rw-r--r--src/jit/gtlist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jit/gtlist.h b/src/jit/gtlist.h
index fde7aa370e..13b8fb6e71 100644
--- a/src/jit/gtlist.h
+++ b/src/jit/gtlist.h
@@ -97,6 +97,10 @@ GTNODE(SIMD_CHK , GenTreeBoundsChk ,0,GTK_SPECIAL|GTK_NOVALUE)// Compa
// does the compare, so that it can be more easily optimized. But that involves generating qmarks at import time...
#endif // FEATURE_SIMD
+#ifdef FEATURE_HW_INTRINSICS
+GTNODE(HW_INTRINSIC_CHK , GenTreeBoundsChk ,0,GTK_SPECIAL|GTK_NOVALUE)// Compare whether an imm8 argument is in the valid range, and throw ArgumentOutOfRangeException if not.
+#endif
+
GTNODE(ALLOCOBJ , GenTreeAllocObj ,0,GTK_UNOP|GTK_EXOP) // object allocator
GTNODE(INIT_VAL , GenTreeOp ,0,GTK_UNOP) // Initialization value for an initBlk