Commit 21b3c06e authored by bbudge's avatar bbudge Committed by Commit bot

[Turbofan] Instruction::Print can handle SIMD 128 bit registers.

LOG=N
BUG=v8:4124

Review-Url: https://codereview.chromium.org/2116203002
Cr-Commit-Position: refs/heads/master@{#37498}
parent 43aee033
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment