Commit a5a376c5 authored by jyan's avatar jyan Committed by Commit bot

s390: remove redundant instr in loadrepresentation

R=joransiu@ca.ibm.com, bjaideep@ca.ibm.com
BUG=

Review-Url: https://codereview.chromium.org/2617733003
Cr-Commit-Position: refs/heads/master@{#42101}
parent 95040300
...@@ -3132,12 +3132,10 @@ void MacroAssembler::LoadRepresentation(Register dst, const MemOperand& mem, ...@@ -3132,12 +3132,10 @@ void MacroAssembler::LoadRepresentation(Register dst, const MemOperand& mem,
DCHECK(!r.IsDouble()); DCHECK(!r.IsDouble());
if (r.IsInteger8()) { if (r.IsInteger8()) {
LoadB(dst, mem); LoadB(dst, mem);
lgbr(dst, dst);
} else if (r.IsUInteger8()) { } else if (r.IsUInteger8()) {
LoadlB(dst, mem); LoadlB(dst, mem);
} else if (r.IsInteger16()) { } else if (r.IsInteger16()) {
LoadHalfWordP(dst, mem, scratch); LoadHalfWordP(dst, mem, scratch);
lghr(dst, dst);
} else if (r.IsUInteger16()) { } else if (r.IsUInteger16()) {
LoadHalfWordP(dst, mem, scratch); LoadHalfWordP(dst, mem, scratch);
#if V8_TARGET_ARCH_S390X #if V8_TARGET_ARCH_S390X
......
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