From 71ac86eaa4cc6f0594b51cbdeef7e469b54573c6 Mon Sep 17 00:00:00 2001 From: Spencer Comin Date: Wed, 20 Jul 2022 11:45:37 -0600 Subject: [PATCH] Check VFE1 feature in Math.fma codegen Use VFE1 feature instead of flag when checking if VFMA is supported. Signed-off-by: Spencer Comin --- runtime/compiler/z/codegen/J9TreeEvaluator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/compiler/z/codegen/J9TreeEvaluator.cpp b/runtime/compiler/z/codegen/J9TreeEvaluator.cpp index b691e0d05cc..2e5b20d0d2b 100644 --- a/runtime/compiler/z/codegen/J9TreeEvaluator.cpp +++ b/runtime/compiler/z/codegen/J9TreeEvaluator.cpp @@ -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());