Skip to content

Commit

Permalink
Merge pull request #15585 from Spencer-Comin/fma-check-feature
Browse files Browse the repository at this point in the history
Check VFE1 feature instead of flag when generating Math.fma on Z
  • Loading branch information
joransiu authored Jul 21, 2022
2 parents 85d9b49 + 71ac86e commit d0075e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/z/codegen/J9TreeEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2423,7 +2423,7 @@ J9::Z::TreeEvaluator::inlineMathFma(TR::Node *node, TR::CodeGenerator *cg)

if (cg->getSupportsVectorRegisters() &&
(!node->getOpCode().isFloat() ||
cg->comp()->target().cpu.getSupportsVectorFacilityEnhancement1()))
cg->comp()->target().cpu.supportsFeature(OMR_FEATURE_S390_VECTOR_FACILITY_ENHANCEMENT_1)))
{
// target = a*b + c
TR::Register * c = cg->evaluate(node->getThirdChild());
Expand Down

0 comments on commit d0075e6

Please sign in to comment.