summaryrefslogtreecommitdiff
path: root/src/jit/instr.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/instr.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/instr.cpp')
-rw-r--r--src/jit/instr.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/jit/instr.cpp b/src/jit/instr.cpp
index 1724f82ef0..ce9e8d6fe3 100644
--- a/src/jit/instr.cpp
+++ b/src/jit/instr.cpp
@@ -1821,12 +1821,6 @@ instruction CodeGen::ins_MathOp(genTreeOps oper, var_types type)
return type == TYP_DOUBLE ? INS_mulsd : INS_mulss;
case GT_DIV:
return type == TYP_DOUBLE ? INS_divsd : INS_divss;
- case GT_AND:
- return type == TYP_DOUBLE ? INS_andpd : INS_andps;
- case GT_OR:
- return type == TYP_DOUBLE ? INS_orpd : INS_orps;
- case GT_XOR:
- return type == TYP_DOUBLE ? INS_xorpd : INS_xorps;
default:
unreached();
}