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/powerpc64 regen
details: https://anonhg.NetBSD.org/src/rev/a32d8a71a31b
branches: trunk
changeset: 997579:a32d8a71a31b
user: christos <christos%NetBSD.org@localhost>
date: Wed Mar 13 23:37:48 2019 +0000
description:
regen
diffstat:
crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ppccpuid.S | 141 ++++++++-
1 files changed, 126 insertions(+), 15 deletions(-)
diffs (187 lines):
diff -r 0570aa38787b -r a32d8a71a31b crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ppccpuid.S
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ppccpuid.S Wed Mar 13 22:30:01 2019 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ppccpuid.S Wed Mar 13 23:37:48 2019 +0000
@@ -137,21 +137,36 @@
.long 0
-.globl OPENSSL_rdtsc
-.type OPENSSL_rdtsc,@function
+.globl OPENSSL_rdtsc_mftb
+.type OPENSSL_rdtsc_mftb,@function
.section ".opd","aw"
.align 3
-OPENSSL_rdtsc:
-.quad .OPENSSL_rdtsc,.TOC.@tocbase,0
+OPENSSL_rdtsc_mftb:
+.quad .OPENSSL_rdtsc_mftb,.TOC.@tocbase,0
.previous
.align 4
-.OPENSSL_rdtsc:
+.OPENSSL_rdtsc_mftb:
mftb 3
blr
.long 0
.byte 0,12,0x14,0,0,0,0,0
+.globl OPENSSL_rdtsc_mfspr268
+.type OPENSSL_rdtsc_mfspr268,@function
+.section ".opd","aw"
+.align 3
+OPENSSL_rdtsc_mfspr268:
+.quad .OPENSSL_rdtsc_mfspr268,.TOC.@tocbase,0
+.previous
+.align 4
+.OPENSSL_rdtsc_mfspr268:
+ mfspr 3,268
+ blr
+.long 0
+.byte 0,12,0x14,0,0,0,0,0
+
+
.globl OPENSSL_cleanse
.type OPENSSL_cleanse,@function
.section ".opd","aw"
@@ -222,15 +237,15 @@
.byte 0,12,0x14,0,0,0,3,0
.long 0
-.globl OPENSSL_instrument_bus
-.type OPENSSL_instrument_bus,@function
+.globl OPENSSL_instrument_bus_mftb
+.type OPENSSL_instrument_bus_mftb,@function
.section ".opd","aw"
.align 3
-OPENSSL_instrument_bus:
-.quad .OPENSSL_instrument_bus,.TOC.@tocbase,0
+OPENSSL_instrument_bus_mftb:
+.quad .OPENSSL_instrument_bus_mftb,.TOC.@tocbase,0
.previous
.align 4
-.OPENSSL_instrument_bus:
+.OPENSSL_instrument_bus_mftb:
mtctr 4
mftb 7
@@ -260,15 +275,15 @@
.long 0
-.globl OPENSSL_instrument_bus2
-.type OPENSSL_instrument_bus2,@function
+.globl OPENSSL_instrument_bus2_mftb
+.type OPENSSL_instrument_bus2_mftb,@function
.section ".opd","aw"
.align 3
-OPENSSL_instrument_bus2:
-.quad .OPENSSL_instrument_bus2,.TOC.@tocbase,0
+OPENSSL_instrument_bus2_mftb:
+.quad .OPENSSL_instrument_bus2_mftb,.TOC.@tocbase,0
.previous
.align 4
-.OPENSSL_instrument_bus2:
+.OPENSSL_instrument_bus2_mftb:
mr 0,4
slwi 4,4,2
@@ -317,3 +332,99 @@
.byte 0,12,0x14,0,0,0,3,0
.long 0
+
+.globl OPENSSL_instrument_bus_mfspr268
+.type OPENSSL_instrument_bus_mfspr268,@function
+.section ".opd","aw"
+.align 3
+OPENSSL_instrument_bus_mfspr268:
+.quad .OPENSSL_instrument_bus_mfspr268,.TOC.@tocbase,0
+.previous
+.align 4
+.OPENSSL_instrument_bus_mfspr268:
+ mtctr 4
+
+ mfspr 7,268
+ li 8,0
+
+ dcbf 0,3
+ lwarx 6,0,3
+ add 6,6,8
+ stwcx. 6,0,3
+ stwx 6,0,3
+
+.Loop3: mfspr 6,268
+ sub 8,6,7
+ mr 7,6
+ dcbf 0,3
+ lwarx 6,0,3
+ add 6,6,8
+ stwcx. 6,0,3
+ stwx 6,0,3
+ addi 3,3,4
+ bc 16,0,.Loop3
+
+ mr 3,4
+ blr
+.long 0
+.byte 0,12,0x14,0,0,0,2,0
+.long 0
+
+
+.globl OPENSSL_instrument_bus2_mfspr268
+.type OPENSSL_instrument_bus2_mfspr268,@function
+.section ".opd","aw"
+.align 3
+OPENSSL_instrument_bus2_mfspr268:
+.quad .OPENSSL_instrument_bus2_mfspr268,.TOC.@tocbase,0
+.previous
+.align 4
+.OPENSSL_instrument_bus2_mfspr268:
+ mr 0,4
+ slwi 4,4,2
+
+ mfspr 7,268
+ li 8,0
+
+ dcbf 0,3
+ lwarx 6,0,3
+ add 6,6,8
+ stwcx. 6,0,3
+ stwx 6,0,3
+
+ mfspr 6,268
+ sub 8,6,7
+ mr 7,6
+ mr 9,8
+.Loop4:
+ dcbf 0,3
+ lwarx 6,0,3
+ add 6,6,8
+ stwcx. 6,0,3
+ stwx 6,0,3
+
+ addic. 5,5,-1
+ beq .Ldone4
+
+ mfspr 6,268
+ sub 8,6,7
+ mr 7,6
+ cmplw 7,8,9
+ mr 9,8
+
+ mfcr 6
+ not 6,6
+ rlwinm 6,6,1,29,29
+
+ sub. 4,4,6
+ add 3,3,6
+ bne .Loop4
+
+.Ldone4:
+ srwi 4,4,2
+ sub 3,0,4
+ blr
+.long 0
+.byte 0,12,0x14,0,0,0,3,0
+.long 0
+
Home |
Main Index |
Thread Index |
Old Index