summaryrefslogtreecommitdiff
path: root/src/jit/hwintrinsiccodegenxarch.cpp
diff options
context:
space:
mode:
authorFei Peng <fei.peng@intel.com>2018-03-05 13:23:15 -0800
committerTanner Gooding <tagoo@outlook.com>2018-03-05 19:16:51 -0800
commitbf37beb54ef828e0400a3cd1a9f06f07e8ff8197 (patch)
tree9d314da431f9025d84199dc820f0a57aa53aa616 /src/jit/hwintrinsiccodegenxarch.cpp
parent262abc2b2b9045729001f819ad25c4304f6208e3 (diff)
downloadcoreclr-bf37beb54ef828e0400a3cd1a9f06f07e8ff8197.tar.gz
coreclr-bf37beb54ef828e0400a3cd1a9f06f07e8ff8197.tar.bz2
coreclr-bf37beb54ef828e0400a3cd1a9f06f07e8ff8197.zip
Simplify SSE/SSE4.1 intrinsics
Diffstat (limited to 'src/jit/hwintrinsiccodegenxarch.cpp')
-rw-r--r--src/jit/hwintrinsiccodegenxarch.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/jit/hwintrinsiccodegenxarch.cpp b/src/jit/hwintrinsiccodegenxarch.cpp
index acaf89b35d..232bcd720f 100644
--- a/src/jit/hwintrinsiccodegenxarch.cpp
+++ b/src/jit/hwintrinsiccodegenxarch.cpp
@@ -735,24 +735,6 @@ void CodeGen::genSSEIntrinsic(GenTreeHWIntrinsic* node)
break;
}
- case NI_SSE_ReciprocalScalar:
- case NI_SSE_ReciprocalSqrtScalar:
- case NI_SSE_SqrtScalar:
- {
- assert(baseType == TYP_FLOAT);
- instruction ins = Compiler::insOfHWIntrinsic(intrinsicID, node->gtSIMDBaseType);
-
- if (op2 == nullptr)
- {
- emit->emitIns_SIMD_R_R_R(ins, emitTypeSize(TYP_SIMD16), targetReg, op1Reg, op1Reg);
- }
- else
- {
- genHWIntrinsic_R_R_RM(node, ins);
- }
- break;
- }
-
case NI_SSE_SetScalarVector128:
{
assert(baseType == TYP_FLOAT);
@@ -1066,29 +1048,6 @@ void CodeGen::genSSE41Intrinsic(GenTreeHWIntrinsic* node)
switch (intrinsicID)
{
- case NI_SSE41_CeilingScalar:
- case NI_SSE41_FloorScalar:
- case NI_SSE41_RoundCurrentDirectionScalar:
- case NI_SSE41_RoundToNearestIntegerScalar:
- case NI_SSE41_RoundToNegativeInfinityScalar:
- case NI_SSE41_RoundToPositiveInfinityScalar:
- case NI_SSE41_RoundToZeroScalar:
- {
- assert((baseType == TYP_FLOAT) || (baseType == TYP_DOUBLE));
- instruction ins = Compiler::insOfHWIntrinsic(intrinsicID, node->gtSIMDBaseType);
-
- if (op2 == nullptr)
- {
- int ival = Compiler::ivalOfHWIntrinsic(intrinsicID);
- emit->emitIns_SIMD_R_R_R_I(ins, emitTypeSize(TYP_SIMD16), targetReg, op1Reg, op1Reg, ival);
- }
- else
- {
- genHWIntrinsic_R_R_RM_I(node, ins);
- }
- break;
- }
-
case NI_SSE41_TestAllOnes:
{
regNumber tmpReg = node->GetSingleTempReg();