summaryrefslogtreecommitdiff
path: root/src/jit/lsraxarch.cpp
diff options
context:
space:
mode:
authorTanner Gooding <tagoo@outlook.com>2017-12-30 16:39:08 -0800
committerTanner Gooding <tagoo@outlook.com>2018-01-16 16:04:56 -0800
commit5ef844b0f8d003313e4dcb8502ddfe3d3c06e3aa (patch)
tree5f1e4a1698293e4ddbf9ce8b3f136846074f7a71 /src/jit/lsraxarch.cpp
parent08179123052e8553fe80dce28138ef8f46574a92 (diff)
downloadcoreclr-5ef844b0f8d003313e4dcb8502ddfe3d3c06e3aa.tar.gz
coreclr-5ef844b0f8d003313e4dcb8502ddfe3d3c06e3aa.tar.bz2
coreclr-5ef844b0f8d003313e4dcb8502ddfe3d3c06e3aa.zip
Adding support for the SSE Set scalar intrinsic
Diffstat (limited to 'src/jit/lsraxarch.cpp')
-rw-r--r--src/jit/lsraxarch.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jit/lsraxarch.cpp b/src/jit/lsraxarch.cpp
index bfb21fba4c..5e8924fe3c 100644
--- a/src/jit/lsraxarch.cpp
+++ b/src/jit/lsraxarch.cpp
@@ -2550,6 +2550,12 @@ void LinearScan::TreeNodeInfoInitHWIntrinsic(GenTreeHWIntrinsic* intrinsicTree,
info->setInternalCandidates(this, allRegs(TYP_INT));
break;
+ case NI_SSE_SetScalar:
+ // Need an internal register to stitch together all the values into a single vector in a SIMD reg.
+ info->internalFloatCount = 1;
+ info->setInternalCandidates(this, allSIMDRegs());
+ break;
+
case NI_SSE_Shuffle:
{
assert(op1->OperIsList());