projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1dffe8
)
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)
Commit migrated from https://github.com/dotnet/coreclr/commit/
03bc2388dbf135b9f6a2ab3f929bf09b22ad3530
src/coreclr/src/jit/gentree.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/gentree.cpp
b/src/coreclr/src/jit/gentree.cpp
index
0d6ca33
..
ff0ce41
100644
(file)
--- a/
src/coreclr/src/jit/gentree.cpp
+++ b/
src/coreclr/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));
}