Fix codegen for HW intrinsic Sse2.ConvertToInt32WithTruncation
authorJacek Blaszczynski <biosciencenow@outlook.com>
Fri, 18 May 2018 23:11:49 +0000 (01:11 +0200)
committerJacek Blaszczynski <biosciencenow@outlook.com>
Fri, 18 May 2018 23:11:49 +0000 (01:11 +0200)
Fixes dotnet/coreclr#18041

Commit migrated from https://github.com/dotnet/coreclr/commit/c0cddf9d826184a20506a94a9bd448fae85104b2

src/coreclr/src/jit/hwintrinsiccodegenxarch.cpp

index acf013e..d8cac11 100644 (file)
@@ -1006,6 +1006,7 @@ void CodeGen::genSSE2Intrinsic(GenTreeHWIntrinsic* node)
         }
 
         case NI_SSE2_ConvertToInt32:
+        case NI_SSE2_ConvertToInt32WithTruncation:
         case NI_SSE2_ConvertToInt64:
         case NI_SSE2_ConvertToUInt32:
         case NI_SSE2_ConvertToUInt64: