projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd69ef
)
Fix a typo that caused AVX2 flag to be unset
author
John Chen (CLR)
<jochen@microsoft.com>
Tue, 3 Jan 2017 20:06:03 +0000
(12:06 -0800)
committer
John Chen (CLR)
<jochen@microsoft.com>
Tue, 3 Jan 2017 20:06:03 +0000
(12:06 -0800)
Fix issue #8736, a regression caused by PR #8624. A typo in
the code causes the AVX2 flag to be always unset.
src/vm/codeman.cpp
patch
|
blob
|
history
diff --git
a/src/vm/codeman.cpp
b/src/vm/codeman.cpp
index
98f0e53
..
cdb7cc8
100644
(file)
--- a/
src/vm/codeman.cpp
+++ b/
src/vm/codeman.cpp
@@
-1227,7
+1227,7
@@
bool DoesOSSupportAVX()
PGETENABLEDXSTATEFEATURES pfnGetEnabledXStateFeatures = NULL;
HMODULE hMod = WszLoadLibraryEx(WINDOWS_KERNEL32_DLLNAME_W, NULL, LOAD_LIBRARY_SEARCH_SYSTEM32);
- if(hMod = NULL)
+ if(hMod =
=
NULL)
return FALSE;
pfnGetEnabledXStateFeatures = (PGETENABLEDXSTATEFEATURES)GetProcAddress(hMod, "GetEnabledXStateFeatures");