diff options
author | Aart Bik <ajcbik@google.com> | 2017-03-23 16:17:37 -0700 |
---|---|---|
committer | Aart Bik <ajcbik@google.com> | 2017-03-23 16:51:52 -0700 |
commit | 5576f3741c58cb8b5fb2f68f3b3a9415efe05f4f (patch) | |
tree | 2187c109d24ae3634416b551e83fef310e975a74 /compiler/optimizing/graph_visualizer.cc | |
parent | 6efac9929f8952e4871e8c423c923989fc6f2ad2 (diff) |
Implement a SIMD spilling slot.
Rationale:
The last ART vectorizer break-out CL \O/
This ensures spilling on x86 and x86_4 is correct.
Also, it paves the way to wider SIMD on ARM and MIPS.
Test: test-art-host
Bug: 34083438
Change-Id: I5b27d18c2045f3ab70b64c335423b3ff2a507ac2
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
-rw-r--r-- | compiler/optimizing/graph_visualizer.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/compiler/optimizing/graph_visualizer.cc b/compiler/optimizing/graph_visualizer.cc index 2bf5c53e17..0dfae11465 100644 --- a/compiler/optimizing/graph_visualizer.cc +++ b/compiler/optimizing/graph_visualizer.cc @@ -322,9 +322,11 @@ class HGraphVisualizerPrinter : public HGraphDelegateVisitor { codegen_.DumpCoreRegister(stream, location.high()); } else if (location.IsUnallocated()) { stream << "unallocated"; - } else { - DCHECK(location.IsDoubleStackSlot()); + } else if (location.IsDoubleStackSlot()) { stream << "2x" << location.GetStackIndex() << "(sp)"; + } else { + DCHECK(location.IsSIMDStackSlot()); + stream << "4x" << location.GetStackIndex() << "(sp)"; } } |