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:
fdef855
)
Fix HWIntrinsics ifdef
author
Carol Eidt
<carol.eidt@microsoft.com>
Thu, 13 Dec 2018 18:12:19 +0000
(10:12 -0800)
committer
Carol Eidt
<carol.eidt@microsoft.com>
Thu, 13 Dec 2018 18:12:19 +0000
(10:12 -0800)
src/jit/gentree.cpp
patch
|
blob
|
history
diff --git
a/src/jit/gentree.cpp
b/src/jit/gentree.cpp
index
0d6ca33
..
ff0ce41
100644
(file)
--- a/
src/jit/gentree.cpp
+++ b/
src/jit/gentree.cpp
@@
-16357,7
+16357,7
@@
GenTree* Compiler::gtGetSIMDZero(var_types simdType, var_types baseType, CORINFO
unsigned size = genTypeSize(simdType);
if (isHWSIMD)
{
-#if
def _TARGET_XARCH_
+#if
defined(_TARGET_XARCH_) && defined(FEATURE_HW_INTRINSICS)
switch (simdType)
{
case TYP_SIMD16:
@@
-16367,7
+16367,7
@@
GenTree* Compiler::gtGetSIMDZero(var_types simdType, var_types baseType, CORINFO
default:
break;
}
-#endif // _TARGET_XARCH_
+#endif // _TARGET_XARCH_
&& FEATURE_HW_INTRINSICS
JITDUMP("Coudn't find the matching HW intrinsic SIMD type for %s<%s> in gtGetSIMDZero\n", varTypeName(simdType),
varTypeName(baseType));
}