Skip to content

Commit

Permalink
AArch64: Fix fstore/dstore evaluators
Browse files Browse the repository at this point in the history
This commit fixes fstore/dstore evaluators for AArch64.
They have been calling commonLoadEvaluator() instead of
commonStoreEvaluator().

Signed-off-by: KONNO Kazuhiro <konno@jp.ibm.com>
  • Loading branch information
knn-k committed Aug 13, 2019
1 parent 498372a commit c7e3526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/aarch64/codegen/FPTreeEvaluator.cpp
Expand Up @@ -140,14 +140,14 @@ OMR::ARM64::TreeEvaluator::dloadEvaluator(TR::Node *node, TR::CodeGenerator *cg)
TR::Register *
OMR::ARM64::TreeEvaluator::fstoreEvaluator(TR::Node *node, TR::CodeGenerator *cg)
{
return commonLoadEvaluator(node, TR::InstOpCode::vstrimms, 4, cg);
return commonStoreEvaluator(node, TR::InstOpCode::vstrimms, 4, cg);
}

// also handles dstorei
TR::Register *
OMR::ARM64::TreeEvaluator::dstoreEvaluator(TR::Node *node, TR::CodeGenerator *cg)
{
return commonLoadEvaluator(node, TR::InstOpCode::vstrimmd, 8, cg);
return commonStoreEvaluator(node, TR::InstOpCode::vstrimmd, 8, cg);
}

TR::Register *
Expand Down

0 comments on commit c7e3526

Please sign in to comment.