Commit 2190f771 authored by Lynn Boger's avatar Lynn Boger Committed by Michael Munday

bytes: fix typo in ppc64le asm for Compare

Correcting a line in asm_ppc64x.s in the cmpbodyLE function
that originally was R14 but accidentally changed to R4.

Fixes #17488

Change-Id: Id4ca6fb2e0cd81251557a0627e17b5e734c39e01
Reviewed-on: https://go-review.googlesource.com/31266Reviewed-by: 's avatarMichael Munday <munday@ca.ibm.com>
Run-TryBot: Michael Munday <munday@ca.ibm.com>
parent 1cfb5c3f
...@@ -853,7 +853,7 @@ loop32a: ...@@ -853,7 +853,7 @@ loop32a:
BNE cmpne // further compare for LT or GT BNE cmpne // further compare for LT or GT
MOVD 16(R5),R9 // get next pair of doublewords MOVD 16(R5),R9 // get next pair of doublewords
MOVD 16(R6),R10 MOVD 16(R6),R10
CMPU R4,R15 // bytes match? CMPU R14,R15 // bytes match?
MOVD $8,R16 // set up for cmpne MOVD $8,R16 // set up for cmpne
BNE cmpne // further compare for LT or GT BNE cmpne // further compare for LT or GT
MOVD 24(R5),R14 // get next pair of doublewords MOVD 24(R5),R14 // get next pair of doublewords
......
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