Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: src/compiler/instruction.cc

Issue 2116203002: [Turbofan] Instruction::Print can handle SIMD 128 bit registers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/instruction.cc
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc
index 08f93ee1a76425eda84eafeeff4cbced5ef27f99..d473f860b62a4effc070f59b9c154ccbb19d33bf 100644
--- a/src/compiler/instruction.cc
+++ b/src/compiler/instruction.cc
@@ -146,11 +146,15 @@ std::ostream& operator<<(std::ostream& os,
os << "["
<< GetRegConfig()->GetDoubleRegisterName(allocated.register_code())
<< "|R";
- } else {
- DCHECK(op.IsFloatRegister());
+ } else if (op.IsFloatRegister()) {
os << "["
<< GetRegConfig()->GetFloatRegisterName(allocated.register_code())
<< "|R";
+ } else {
+ DCHECK(op.IsSimd128Register());
+ os << "["
+ << GetRegConfig()->GetSimd128RegisterName(allocated.register_code())
+ << "|R";
}
if (allocated.IsExplicit()) {
os << "|E";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698