From: Lynn Boger Date: Mon, 17 Oct 2016 19:35:55 +0000 (-0500) Subject: bytes: fix typo in ppc64le asm for Compare X-Git-Tag: go1.8beta1~826 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2190f771d876180fe3fe51d785f0dbc32a5373d0;p=gostls13.git 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 Run-TryBot: Michael Munday --- diff --git a/src/runtime/asm_ppc64x.s b/src/runtime/asm_ppc64x.s index 251dc1b564..85f73a88b4 100644 --- a/src/runtime/asm_ppc64x.s +++ b/src/runtime/asm_ppc64x.s @@ -853,7 +853,7 @@ loop32a: BNE cmpne // further compare for LT or GT MOVD 16(R5),R9 // get next pair of doublewords MOVD 16(R6),R10 - CMPU R4,R15 // bytes match? + CMPU R14,R15 // bytes match? MOVD $8,R16 // set up for cmpne BNE cmpne // further compare for LT or GT MOVD 24(R5),R14 // get next pair of doublewords