Force enable SSE2 on RyuJIT/x86 on desktop
authorBruce Forstall <brucefo@microsoft.com>
Tue, 29 Nov 2016 02:19:07 +0000 (18:19 -0800)
committerBruce Forstall <brucefo@microsoft.com>
Tue, 29 Nov 2016 02:19:07 +0000 (18:19 -0800)
commit654d09867a3f78d7d12c752a119cd61a67469e8e
treebd5a9291c5157a534cd52bc31579edfecf685b88
parent83f8ac9bb17b2f1e2e35a6b30fb0ad27b491b6c0
Force enable SSE2 on RyuJIT/x86 on desktop

SSE2 is required for RyuJIT/x86; there is no x87 code path.
The .NET Core VM sets the JIT flag enabling this, and we assert
it does. On desktop, however, especially under NGEN, it does not.
We ignore that, and generate SSE2 code anyway.

Commit migrated from https://github.com/dotnet/coreclr/commit/a7ee82d87e6c4d40c70e77adeae2aa4978d6f5fa
src/coreclr/src/jit/compiler.cpp