diff options
author | Mike Danes <onemihaid@hotmail.com> | 2017-12-28 16:03:22 +0200 |
---|---|---|
committer | Mike Danes <onemihaid@hotmail.com> | 2018-09-08 00:21:58 +0300 |
commit | 28305b5d566c3898fc0aa39e48f367fd1dc01cfb (patch) | |
tree | 3098a0dce02170016747017b797ec1128d28b740 /src/jit/codegenarmarch.cpp | |
parent | 1d00a61b95ce280886c252360851945937b273b7 (diff) | |
download | coreclr-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.cpp | 2 |
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: |