summaryrefslogtreecommitdiff
path: root/src/jit/registerfp.cpp
diff options
context:
space:
mode:
authorCarol Eidt <carol.eidt@microsoft.com>2015-07-09 16:28:23 -0700
committerCarol Eidt <carol.eidt@microsoft.com>2015-07-09 16:28:23 -0700
commit2a4f065005d0b35151b51c849660341b8fe1cba2 (patch)
treea572d54e14b3d9f477af745068c6770e337ac626 /src/jit/registerfp.cpp
parentff452ace4ef72f1264e62206d0f7640a36d2ff66 (diff)
downloadcoreclr-2a4f065005d0b35151b51c849660341b8fe1cba2.tar.gz
coreclr-2a4f065005d0b35151b51c849660341b8fe1cba2.tar.bz2
coreclr-2a4f065005d0b35151b51c849660341b8fe1cba2.zip
Support for SIMD Exceptions
For the CopyTo methods, we need to throw ArgumentOutOfRangeException instead of IndexOutOfRangeException for the initial index value, and then ArgumentException if the number of elements exceeds the remaining elements in the array. To support this, the GenTreeBoundsChk node now has a gtThrowKind field which indicates the kind of throw block it will branch to if the check failes. This requires new helper calls, which I added to the end of corinfo.h. [tfs-changeset: 1499475]
Diffstat (limited to 'src/jit/registerfp.cpp')
-rw-r--r--src/jit/registerfp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/registerfp.cpp b/src/jit/registerfp.cpp
index d75d92b83c..39d619a1cb 100644
--- a/src/jit/registerfp.cpp
+++ b/src/jit/registerfp.cpp
@@ -315,7 +315,7 @@ void CodeGen::genFloatCheckFinite(GenTree *tree, RegSet::RegisterPreference *pre
inst_RV_IV(INS_cmp, reg, expMask, EA_4BYTE);
// If exponent was all 1's, we need to throw ArithExcep
- genJumpToThrowHlpBlk(EJ_je, Compiler::ACK_ARITH_EXCPN);
+ genJumpToThrowHlpBlk(EJ_je, SCK_ARITH_EXCPN);
genCodeForTreeFloat_DONE(tree, op1->gtRegNum);
}