Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
break;
case CORINFO_INTRINSIC_Sqrt:
- NYI_ARM("genIntrinsic for sqrt - not implementd yet");
+ genConsumeOperands(treeNode->AsOp());
+ getEmitter()->emitInsBinary(INS_vsqrt, emitTypeSize(treeNode), treeNode, srcNode);
break;
default:
switch (tree->gtIntrinsic.gtIntrinsicId)
{
case CORINFO_INTRINSIC_Abs:
+ case CORINFO_INTRINSIC_Sqrt:
info->srcCount = 1;
info->dstCount = 1;
break;
default:
- NYI_ARM("Lowering::TreeNodeInfoInit for GT_INRINSIC");
+ NYI_ARM("Lowering::TreeNodeInfoInit for GT_INTRINSIC");
break;
}
}