diff options
author | Steve MacLean, Qualcomm Datacenter Technologies, Inc <sdmaclea@qti.qualcomm.com> | 2017-04-07 20:08:36 +0000 |
---|---|---|
committer | Steve MacLean, Qualcomm Datacenter Technologies, Inc <sdmaclea@qti.qualcomm.com> | 2017-04-07 20:47:26 +0000 |
commit | 6e486065ce8380f8bdd729d2f4ff0a2eac403f99 (patch) | |
tree | fe7f438505419dbf97a2ad00c7dec334ce8219e6 /src/jit/lowerarm64.cpp | |
parent | 4371b15df7ae47d218ce283713d4e5ecb6fb4b71 (diff) | |
download | coreclr-6e486065ce8380f8bdd729d2f4ff0a2eac403f99.tar.gz coreclr-6e486065ce8380f8bdd729d2f4ff0a2eac403f99.tar.bz2 coreclr-6e486065ce8380f8bdd729d2f4ff0a2eac403f99.zip |
[Arm64] enable initblk loop unrolling
Diffstat (limited to 'src/jit/lowerarm64.cpp')
-rw-r--r-- | src/jit/lowerarm64.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/jit/lowerarm64.cpp b/src/jit/lowerarm64.cpp index f5bc55e10c..8ec1ee0e8b 100644 --- a/src/jit/lowerarm64.cpp +++ b/src/jit/lowerarm64.cpp @@ -134,11 +134,6 @@ void Lowering::LowerBlockStore(GenTreeBlk* blkNode) } srcAddrOrFill = initVal; -#if 0 - // TODO-ARM64-CQ: Currently we generate a helper call for every - // initblk we encounter. Later on we should implement loop unrolling - // code sequences to improve CQ. - // For reference see the code in LowerXArch.cpp. if ((size != 0) && (size <= INITBLK_UNROLL_LIMIT) && initVal->IsCnsIntOrI()) { // The fill value of an initblk is interpreted to hold a @@ -156,12 +151,11 @@ void Lowering::LowerBlockStore(GenTreeBlk* blkNode) else { initVal->gtIntCon.gtIconVal = 0x0101010101010101LL * fill; - initVal->gtType = TYP_LONG; + initVal->gtType = TYP_LONG; } - initBlkNode->gtBlkOpKind = GenTreeBlkOp::BlkOpKindUnroll; + blkNode->gtBlkOpKind = GenTreeBlk::BlkOpKindUnroll; } else -#endif // 0 { blkNode->gtBlkOpKind = GenTreeBlk::BlkOpKindHelper; } |