Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #18118 from sdmaclea/PR-ARM64-compFloatingPointUsed
Browse files Browse the repository at this point in the history
[Arm64] Set compFloatingPointUsed for SIMD HWIntrincsics
  • Loading branch information
CarolEidt committed May 30, 2018
2 parents e1bbc70 + e206476 commit 7fb85cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/jit/hwintrinsicArm64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ GenTree* Compiler::impHWIntrinsic(NamedIntrinsic intrinsic,
// Simd instantiation type check
if (simdClass != nullptr)
{
compFloatingPointUsed = true;

simdBaseType = getBaseTypeAndSizeOfSIMDType(simdClass, &simdSizeBytes);

if (simdBaseType == TYP_UNKNOWN)
Expand Down Expand Up @@ -311,6 +313,7 @@ GenTree* Compiler::impHWIntrinsic(NamedIntrinsic intrinsic,

case HWIntrinsicInfo::Sha1RotateOp:
assert(sig->numArgs == 1);
compFloatingPointUsed = true;
return gtNewScalarHWIntrinsicNode(TYP_UINT, impPopStack().val, NI_ARM64_Sha1FixedRotate);

default:
Expand Down

0 comments on commit 7fb85cf

Please sign in to comment.