sha/asm/sha512p8-ppc.pl: fix typo in prologue.
authorAndy Polyakov <appro@openssl.org>
Thu, 15 Nov 2018 14:42:02 +0000 (15:42 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 16 Nov 2018 08:26:28 +0000 (09:26 +0100)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7643)

(cherry picked from commit 79d7fb990cd28bbe2888ed8f9051ab54c9f986b0)

crypto/sha/asm/sha512p8-ppc.pl

index 2792800b475cb86fb7d2e575767d44d0b2116010..d7ad17b29f38d8a75cd687417a2985987ebb6f3a 100755 (executable)
@@ -166,8 +166,8 @@ $func:
        addi            r11,r11,32
        stvx            v30,r10,$sp
        stvx            v31,r11,$sp
-       li              r11,-4096+255
-       stw             $vrsave,`$FRAME+6*$SIZE_T-4`($sp)       # save vrsave
+       li              r11,-4096+255           # 0xfffff0ff
+       stw             $vrsave,`$FRAME-6*$SIZE_T-4`($sp)       # save vrsave
        li              $x10,0x10
        $PUSH           r26,`$FRAME-6*$SIZE_T`($sp)
        li              $x20,0x20