1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:24:48 -07:00

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/31266
Reviewed-by: Michael Munday <munday@ca.ibm.com>
Run-TryBot: Michael Munday <munday@ca.ibm.com>
This commit is contained in:
Lynn Boger 2016-10-17 14:35:55 -05:00 committed by Michael Munday
parent 1cfb5c3fd5
commit 2190f771d8

View File

@ -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