Commit 5292d8b9 authored by jyan's avatar jyan Committed by Commit bot

S390: Fix popcnt64 should use lgbr for final dst.

R=joransiu@ca.ibm.com, mbrandy@us.ibm.com, michael_dawson@ca.ibm.com
BUG=

Review URL: https://codereview.chromium.org/1896733002

Cr-Commit-Position: refs/heads/master@{#35582}
parent 89d7bfda
......@@ -5324,7 +5324,7 @@ void MacroAssembler::Popcnt32(Register dst, Register src) {
ar(dst, r0);
ShiftRight(r0, dst, Operand(8));
ar(dst, r0);
lbr(dst, dst);
LoadB(dst, dst);
}
#ifdef V8_TARGET_ARCH_S390X
......@@ -5339,7 +5339,7 @@ void MacroAssembler::Popcnt64(Register dst, Register src) {
AddP(dst, r0);
ShiftRightP(r0, dst, Operand(8));
AddP(dst, r0);
lbr(dst, dst);
LoadB(dst, dst);
}
#endif
......
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