Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: third_party/boringssl/linux-aarch64/crypto/sha/sha256-armv8.S

Issue 2219933002: Land BoringSSL roll on master (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #if defined(__aarch64__) 1 #if defined(__aarch64__)
2 #include "arm_arch.h" 2 #include <openssl/arm_arch.h>
3 3
4 .text 4 .text
5 5
6 6
7 .globl sha256_block_data_order 7 .globl sha256_block_data_order
8 .hidden sha256_block_data_order
8 .type sha256_block_data_order,%function 9 .type sha256_block_data_order,%function
9 .align 6 10 .align 6
10 sha256_block_data_order: 11 sha256_block_data_order:
11 ldr x16,.LOPENSSL_armcap_P 12 ldr x16,.LOPENSSL_armcap_P
12 adr x17,.LOPENSSL_armcap_P 13 adr x17,.LOPENSSL_armcap_P
13 add x16,x16,x17 14 add x16,x16,x17
14 ldr w16,[x16] 15 ldr w16,[x16]
15 tst w16,#ARMV8_SHA256 16 tst w16,#ARMV8_SHA256
16 b.ne .Lv8_entry 17 b.ne .Lv8_entry
17 stp x29,x30,[sp,#-128]! 18 stp x29,x30,[sp,#-128]!
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 add v1.4s,v1.4s,v19.4s 1136 add v1.4s,v1.4s,v19.4s
1136 1137
1137 cbnz x2,.Loop_hw 1138 cbnz x2,.Loop_hw
1138 1139
1139 st1 {v0.4s,v1.4s},[x0] 1140 st1 {v0.4s,v1.4s},[x0]
1140 1141
1141 ldr x29,[sp],#16 1142 ldr x29,[sp],#16
1142 ret 1143 ret
1143 .size sha256_block_armv8,.-sha256_block_armv8 1144 .size sha256_block_armv8,.-sha256_block_armv8
1144 .comm OPENSSL_armcap_P,4,4 1145 .comm OPENSSL_armcap_P,4,4
1145 #endif 1146 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698