]> Cypherpunks repositories - gostls13.git/commitdiff
bytes: fix typo in ppc64le asm for Compare
authorLynn Boger <laboger@linux.vnet.ibm.com>
Mon, 17 Oct 2016 19:35:55 +0000 (14:35 -0500)
committerMichael Munday <munday@ca.ibm.com>
Mon, 17 Oct 2016 20:01:17 +0000 (20:01 +0000)
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>

src/runtime/asm_ppc64x.s

index 251dc1b564d0e399bacfd7a64784490e3e4526ce..85f73a88b49629d78eb8f412d4e60d78ae13e0ab 100644 (file)
@@ -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