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:
37eedfc
)
Don't treat the Vector64/128/256<T> helper methods as intrinsic if featureSIMD is...
author
Tanner Gooding
<tagoo@outlook.com>
Thu, 29 Nov 2018 17:46:34 +0000
(09:46 -0800)
committer
GitHub
<noreply@github.com>
Thu, 29 Nov 2018 17:46:34 +0000
(09:46 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/
2c13fb067b511bfdd3d054b63314292fcb0eebc7
src/coreclr/src/jit/importer.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/importer.cpp
b/src/coreclr/src/jit/importer.cpp
index
cefb2fa
..
e8ccdc2
100644
(file)
--- a/
src/coreclr/src/jit/importer.cpp
+++ b/
src/coreclr/src/jit/importer.cpp
@@
-4109,7
+4109,13
@@
GenTree* Compiler::impIntrinsic(GenTree* newobjThis,
//
GenTree* Compiler::impBaseIntrinsic(NamedIntrinsic intrinsic, CORINFO_METHOD_HANDLE method, CORINFO_SIG_INFO* sig)
{
- GenTree* retNode = nullptr;
+ GenTree* retNode = nullptr;
+
+ if (!featureSIMD)
+ {
+ return nullptr;
+ }
+
unsigned simdSize = 0;
var_types baseType = getBaseTypeAndSizeOfSIMDType(sig->retTypeClass, &simdSize);
var_types retType = getSIMDTypeForSize(simdSize);