summaryrefslogtreecommitdiff
path: root/src/jit/codegenarmarch.cpp
diff options
context:
space:
mode:
authorMike Danes <onemihaid@hotmail.com>2017-12-28 16:03:22 +0200
committerMike Danes <onemihaid@hotmail.com>2018-09-08 00:21:58 +0300
commit28305b5d566c3898fc0aa39e48f367fd1dc01cfb (patch)
tree3098a0dce02170016747017b797ec1128d28b740 /src/jit/codegenarmarch.cpp
parent1d00a61b95ce280886c252360851945937b273b7 (diff)
downloadcoreclr-28305b5d566c3898fc0aa39e48f367fd1dc01cfb.tar.gz
coreclr-28305b5d566c3898fc0aa39e48f367fd1dc01cfb.tar.bz2
coreclr-28305b5d566c3898fc0aa39e48f367fd1dc01cfb.zip
Move FP DIV/MUL handling to genCodeForBinary
Floating point (SSE) MUL/DIV instructions have the same formats as ADD/SUB but they're handled by genCodeForMul and genCodeForDivMod. At least in the case of division this results in duplicated logic being required in genCodeForDivMod.
Diffstat (limited to 'src/jit/codegenarmarch.cpp')
-rw-r--r--src/jit/codegenarmarch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/codegenarmarch.cpp b/src/jit/codegenarmarch.cpp
index 746636a69d..4c2f756bcd 100644
--- a/src/jit/codegenarmarch.cpp
+++ b/src/jit/codegenarmarch.cpp
@@ -124,7 +124,7 @@ void CodeGen::genCodeForTreeNode(GenTree* treeNode)
case GT_SUB:
case GT_MUL:
genConsumeOperands(treeNode->AsOp());
- genCodeForBinary(treeNode);
+ genCodeForBinary(treeNode->AsOp());
break;
case GT_LSH: