diff options
Diffstat (limited to 'src/jit/codegenarm.cpp')
-rw-r--r-- | src/jit/codegenarm.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/jit/codegenarm.cpp b/src/jit/codegenarm.cpp index 26c6854d06..bc91b5d8d2 100644 --- a/src/jit/codegenarm.cpp +++ b/src/jit/codegenarm.cpp @@ -772,15 +772,6 @@ instruction CodeGen::genGetInsForOper(genTreeOps oper, var_types type) return ins; } -// Generates CpBlk code by performing a loop unroll -// Preconditions: -// The size argument of the CpBlk node is a constant and <= 64 bytes. -// This may seem small but covers >95% of the cases in several framework assemblies. -void CodeGen::genCodeForCpBlkUnroll(GenTreeBlk* cpBlkNode) -{ - NYI_ARM("genCodeForCpBlkUnroll"); -} - // Generate code for InitBlk by performing a loop unroll // Preconditions: // a) Both the size and fill byte value are integer constants. @@ -1555,7 +1546,7 @@ void CodeGen::genIntToFloatCast(GenTreePtr treeNode) assert(genIsValidIntReg(op1->gtRegNum)); // Must be a valid int reg. var_types dstType = treeNode->CastToType(); - var_types srcType = op1->TypeGet(); + var_types srcType = genActualType(op1->TypeGet()); assert(!varTypeIsFloating(srcType) && varTypeIsFloating(dstType)); // force the srcType to unsigned if GT_UNSIGNED flag is set @@ -1565,9 +1556,6 @@ void CodeGen::genIntToFloatCast(GenTreePtr treeNode) } // We only expect a srcType whose size is EA_4BYTE. - // For conversions from small types (byte/sbyte/int16/uint16) to float/double, - // we expect the front-end or lowering phase to have generated two levels of cast. - // emitAttr srcSize = EA_ATTR(genTypeSize(srcType)); noway_assert(srcSize == EA_4BYTE); |