Move FP DIV/MUL handling to genCodeForBinary
authorMike Danes <onemihaid@hotmail.com>
Thu, 28 Dec 2017 14:03:22 +0000 (16:03 +0200)
committerMike Danes <onemihaid@hotmail.com>
Fri, 7 Sep 2018 21:21:58 +0000 (00:21 +0300)
commit48396e03727e17a9606d0a2ee2e990b4c9b95106
tree4482327fc0e3c5bf79aafd0aed48a8c13bc9342e
parentcfe4128fb5e1f585fbfa331de0c950407a1bc266
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.

Commit migrated from https://github.com/dotnet/coreclr/commit/28305b5d566c3898fc0aa39e48f367fd1dc01cfb
src/coreclr/src/jit/codegen.h
src/coreclr/src/jit/codegenarm.cpp
src/coreclr/src/jit/codegenarm64.cpp
src/coreclr/src/jit/codegenarmarch.cpp
src/coreclr/src/jit/codegenxarch.cpp
src/coreclr/src/jit/instr.cpp
src/coreclr/src/jit/lower.cpp
src/coreclr/src/jit/lowerarmarch.cpp
src/coreclr/src/jit/lowerxarch.cpp