diff options
author | Brent Cook <bcook@openbsd.org> | 2018-11-11 00:24:35 -0600 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2018-11-11 00:24:35 -0600 |
commit | 9c6e9f09958396a4cca93c6026239ce24bad7e1d (patch) | |
tree | 77979b7670ba56fa2391e16ea61104b4319f3297 /update.sh | |
parent | e7d11baaae1ff9a4f4061c9ea9bf66cb4a452b33 (diff) | |
download | portable-9c6e9f09958396a4cca93c6026239ce24bad7e1d.tar.gz portable-9c6e9f09958396a4cca93c6026239ce24bad7e1d.tar.bz2 portable-9c6e9f09958396a4cca93c6026239ce24bad7e1d.zip |
initial 32-bit arm assembly optimization support
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -178,8 +178,21 @@ gen_asm() { | |||
178 | EOF | 178 | EOF |
179 | $MV $3.tmp $3 | 179 | $MV $3.tmp $3 |
180 | } | 180 | } |
181 | |||
182 | echo generating arm ASM source for elf | ||
183 | gen_asm_stdout elf aes/asm/aes-armv4.pl crypto/aes/aes-elf-armv4.S | ||
184 | gen_asm_stdout elf bn/asm/armv4-gf2m.pl crypto/bn/gf2m-elf-armv4.S | ||
185 | gen_asm_stdout elf bn/asm/armv4-mont.pl crypto/bn/mont-elf-armv4.S | ||
186 | gen_asm_stdout elf sha/asm/sha1-armv4-large.pl crypto/sha/sha1-elf-armv4.S | ||
187 | gen_asm_stdout elf sha/asm/sha256-armv4.pl crypto/sha/sha256-elf-armv4.S | ||
188 | gen_asm_stdout elf sha/asm/sha512-armv4.pl crypto/sha/sha512-elf-armv4.S | ||
189 | gen_asm_stdout elf modes/asm/ghash-armv4.pl crypto/modes/ghash-elf-armv4.S | ||
190 | $CP $libcrypto_src/armv4cpuid.S crypto | ||
191 | $CP $libcrypto_src/armcap.c crypto | ||
192 | $CP $libcrypto_src/arm_arch.h crypto | ||
193 | |||
181 | for abi in elf macosx; do | 194 | for abi in elf macosx; do |
182 | echo generating ASM source for $abi | 195 | echo generating x86_64 ASM source for $abi |
183 | gen_asm_stdout $abi aes/asm/aes-x86_64.pl crypto/aes/aes-$abi-x86_64.S | 196 | gen_asm_stdout $abi aes/asm/aes-x86_64.pl crypto/aes/aes-$abi-x86_64.S |
184 | gen_asm_stdout $abi aes/asm/vpaes-x86_64.pl crypto/aes/vpaes-$abi-x86_64.S | 197 | gen_asm_stdout $abi aes/asm/vpaes-x86_64.pl crypto/aes/vpaes-$abi-x86_64.S |
185 | gen_asm_stdout $abi aes/asm/bsaes-x86_64.pl crypto/aes/bsaes-$abi-x86_64.S | 198 | gen_asm_stdout $abi aes/asm/bsaes-x86_64.pl crypto/aes/bsaes-$abi-x86_64.S |