summaryrefslogtreecommitdiff
path: root/src/zap/zapper.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-03-31 00:29:33 -0700
committerGitHub <noreply@github.com>2018-03-31 00:29:33 -0700
commitc05eeefbb63cf7f9a466a7371bd44d3254806f03 (patch)
treeb0f688af865656fba94f5a59a0dd6b3f2dba9663 /src/zap/zapper.cpp
parent42ae2c03de22d32f96890077e109e1f9e57451d1 (diff)
downloadcoreclr-c05eeefbb63cf7f9a466a7371bd44d3254806f03.tar.gz
coreclr-c05eeefbb63cf7f9a466a7371bd44d3254806f03.tar.bz2
coreclr-c05eeefbb63cf7f9a466a7371bd44d3254806f03.zip
Delete dead code to support OSes prior to Windows 7 (#17367)
Diffstat (limited to 'src/zap/zapper.cpp')
-rw-r--r--src/zap/zapper.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/zap/zapper.cpp b/src/zap/zapper.cpp
index 59d05a08de..b7dc540e09 100644
--- a/src/zap/zapper.cpp
+++ b/src/zap/zapper.cpp
@@ -782,15 +782,13 @@ void Zapper::CleanupAssembly()
// To be used with GetSpecificCpuInfo()
#ifdef _TARGET_X86_
-BOOL Runtime_Test_For_SSE2();
-
#define CPU_X86_FAMILY(cpuType) (((cpuType) & 0x0F00) >> 8)
#define CPU_X86_MODEL(cpuType) (((cpuType) & 0x00F0) >> 4)
// Stepping is masked out by GetSpecificCpuInfo()
// #define CPU_X86_STEPPING(cpuType) (((cpuType) & 0x000F) )
#define CPU_X86_USE_CMOV(cpuFeat) ((cpuFeat & 0x00008001) == 0x00008001)
-#define CPU_X86_USE_SSE2(cpuFeat) (((cpuFeat & 0x04000000) == 0x04000000) && Runtime_Test_For_SSE2())
+#define CPU_X86_USE_SSE2(cpuFeat) ((cpuFeat & 0x04000000) == 0x04000000)
// Values for CPU_X86_FAMILY(cpuType)
#define CPU_X86_486 4