Enabling the named intrinsic support on SSE4.1 hardware for Math.Round, Math.Ceiling...
authorTanner Gooding <tagoo@outlook.com>
Wed, 7 Feb 2018 04:38:51 +0000 (20:38 -0800)
committerTanner Gooding <tagoo@outlook.com>
Fri, 9 Feb 2018 15:24:49 +0000 (07:24 -0800)
src/jit/importer.cpp

index 720bf0f..a7d08e4 100644 (file)
@@ -19157,8 +19157,7 @@ bool Compiler::IsTargetIntrinsic(CorInfoIntrinsics intrinsicId)
         case CORINFO_INTRINSIC_Round:
         case CORINFO_INTRINSIC_Ceiling:
         case CORINFO_INTRINSIC_Floor:
-            // TODO-XArch-CQ: Update to work on non-AVX machines: https://github.com/dotnet/coreclr/issues/15908
-            return compSupports(InstructionSet_SSE41) && canUseVexEncoding();
+            return compSupports(InstructionSet_SSE41);
 
         default:
             return false;