Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/lib/libcrypto/arch regen



details:   https://anonhg.NetBSD.org/src/rev/64de44b82227
branches:  trunk
changeset: 995816:64de44b82227
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 06 22:22:02 2019 +0000

description:
regen

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ppccpuid.S       |  11 ++++
 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/sha256p8-ppc.S   |  27 +++------
 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/sha512p8-ppc.S   |  27 +++------
 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/sha256p8-ppc.S |  27 +++------
 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/sha512p8-ppc.S |  27 +++------
 5 files changed, 51 insertions(+), 68 deletions(-)

diffs (205 lines):

diff -r 0d76a0275588 -r 64de44b82227 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ppccpuid.S
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ppccpuid.S Sun Jan 06 22:20:50 2019 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ppccpuid.S Sun Jan 06 22:22:02 2019 +0000
@@ -106,6 +106,17 @@
 .type  OPENSSL_rdtsc,@function
 .align 4
 OPENSSL_rdtsc:
+       mfspr   0,287
+       srwi    0,0,0x10
+       cmplwi  0,0x1
+       bgt     .Loop_rdtsc
+.Loop_rdtsc_601:
+       mfrtcu  5
+       mfrtcl  3
+       mfrtcu  4
+       .long   0x7c042840
+       bne     .Loop_rdtsc_601
+       blr     
 .Loop_rdtsc:
        mftbu   5
        mftb    3
diff -r 0d76a0275588 -r 64de44b82227 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/sha256p8-ppc.S
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/sha256p8-ppc.S     Sun Jan 06 22:20:50 2019 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/sha256p8-ppc.S     Sun Jan 06 22:22:02 2019 +0000
@@ -24,7 +24,7 @@
        stvx    30,10,1
        stvx    31,11,1
        li      11,-4096+255
-       stw     12,348(1)
+       stw     12,300(1)
        li      10,0x10
        stw     26,304(1)
        li      26,0x20
@@ -626,24 +626,17 @@
        vperm   4,4,7,9
        .long   0x7C001F19
        .long   0x7C8A1F19
-       li      10,175
+       addi    11,1,175
        mtlr    8
-       li      11,191
        mtspr   256,12
-       lvx     24,10,1
-       addi    10,10,32
-       lvx     25,11,1
-       addi    11,11,32
-       lvx     26,10,1
-       addi    10,10,32
-       lvx     27,11,1
-       addi    11,11,32
-       lvx     28,10,1
-       addi    10,10,32
-       lvx     29,11,1
-       addi    11,11,32
-       lvx     30,10,1
-       lvx     31,11,1
+       lvx     24,0,11
+       lvx     25,10,11
+       lvx     26,26,11
+       lvx     27,27,11
+       lvx     28,28,11
+       lvx     29,29,11
+       lvx     30,30,11
+       lvx     31,31,11
        lwz     26,304(1)
        lwz     27,308(1)
        lwz     28,312(1)
diff -r 0d76a0275588 -r 64de44b82227 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/sha512p8-ppc.S
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/sha512p8-ppc.S     Sun Jan 06 22:20:50 2019 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/sha512p8-ppc.S     Sun Jan 06 22:22:02 2019 +0000
@@ -24,7 +24,7 @@
        stvx    30,10,1
        stvx    31,11,1
        li      11,-4096+255
-       stw     12,348(1)
+       stw     12,300(1)
        li      10,0x10
        stw     26,304(1)
        li      26,0x20
@@ -628,24 +628,17 @@
        .long   0x7C4A1F99
        .long   0x7C9A1F99
        .long   0x7CDB1F99
-       li      10,175
+       addi    11,1,175
        mtlr    8
-       li      11,191
        mtspr   256,12
-       lvx     24,10,1
-       addi    10,10,32
-       lvx     25,11,1
-       addi    11,11,32
-       lvx     26,10,1
-       addi    10,10,32
-       lvx     27,11,1
-       addi    11,11,32
-       lvx     28,10,1
-       addi    10,10,32
-       lvx     29,11,1
-       addi    11,11,32
-       lvx     30,10,1
-       lvx     31,11,1
+       lvx     24,0,11
+       lvx     25,10,11
+       lvx     26,26,11
+       lvx     27,27,11
+       lvx     28,28,11
+       lvx     29,29,11
+       lvx     30,30,11
+       lvx     31,31,11
        lwz     26,304(1)
        lwz     27,308(1)
        lwz     28,312(1)
diff -r 0d76a0275588 -r 64de44b82227 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/sha256p8-ppc.S
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/sha256p8-ppc.S   Sun Jan 06 22:20:50 2019 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/sha256p8-ppc.S   Sun Jan 06 22:22:02 2019 +0000
@@ -24,7 +24,7 @@
        stvx    30,10,1
        stvx    31,11,1
        li      11,-4096+255
-       stw     12,428(1)
+       stw     12,332(1)
        li      10,0x10
        std     26,336(1)
        li      26,0x20
@@ -626,24 +626,17 @@
        vperm   4,4,7,9
        .long   0x7C001F19
        .long   0x7C8A1F19
-       li      10,207
+       addi    11,1,207
        mtlr    8
-       li      11,223
        mtspr   256,12
-       lvx     24,10,1
-       addi    10,10,32
-       lvx     25,11,1
-       addi    11,11,32
-       lvx     26,10,1
-       addi    10,10,32
-       lvx     27,11,1
-       addi    11,11,32
-       lvx     28,10,1
-       addi    10,10,32
-       lvx     29,11,1
-       addi    11,11,32
-       lvx     30,10,1
-       lvx     31,11,1
+       lvx     24,0,11
+       lvx     25,10,11
+       lvx     26,26,11
+       lvx     27,27,11
+       lvx     28,28,11
+       lvx     29,29,11
+       lvx     30,30,11
+       lvx     31,31,11
        ld      26,336(1)
        ld      27,344(1)
        ld      28,352(1)
diff -r 0d76a0275588 -r 64de44b82227 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/sha512p8-ppc.S
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/sha512p8-ppc.S   Sun Jan 06 22:20:50 2019 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/sha512p8-ppc.S   Sun Jan 06 22:22:02 2019 +0000
@@ -24,7 +24,7 @@
        stvx    30,10,1
        stvx    31,11,1
        li      11,-4096+255
-       stw     12,428(1)
+       stw     12,332(1)
        li      10,0x10
        std     26,336(1)
        li      26,0x20
@@ -628,24 +628,17 @@
        .long   0x7C4A1F99
        .long   0x7C9A1F99
        .long   0x7CDB1F99
-       li      10,207
+       addi    11,1,207
        mtlr    8
-       li      11,223
        mtspr   256,12
-       lvx     24,10,1
-       addi    10,10,32
-       lvx     25,11,1
-       addi    11,11,32
-       lvx     26,10,1
-       addi    10,10,32
-       lvx     27,11,1
-       addi    11,11,32
-       lvx     28,10,1
-       addi    10,10,32
-       lvx     29,11,1
-       addi    11,11,32
-       lvx     30,10,1
-       lvx     31,11,1
+       lvx     24,0,11
+       lvx     25,10,11
+       lvx     26,26,11
+       lvx     27,27,11
+       lvx     28,28,11
+       lvx     29,29,11
+       lvx     30,30,11
+       lvx     31,31,11
        ld      26,336(1)
        ld      27,344(1)
        ld      28,352(1)



Home | Main Index | Thread Index | Old Index