OpenSSL CVS Repository
http://cvs.openssl.org/
____________________________________________________________
________________
Server: cvs.openssl.org Name: Andy
Polyakov
Root: /v/openssl/cvs Email: appro openssl.org
Module: openssl Date:
27-Sep-2007 18:27:03
Branch: HEAD Handle:
2007092717265904
Modified files:
openssl Configure config
openssl/crypto/aes/asm aes-armv4.pl
openssl/crypto/bn/asm armv4-mont.pl
openssl/crypto/sha/asm sha1-armv4-large.pl
sha256-armv4.pl
sha512-armv4.pl
Log:
Yet another ARM update. It appears to be more
appropriate to make
developers responsible for -march choice.
Summary:
Revision Changes Path
1.578 +2 -1 openssl/Configure
1.166 +1 -3 openssl/config
1.4 +1 -0
openssl/crypto/aes/asm/aes-armv4.pl
1.4 +1 -0
openssl/crypto/bn/asm/armv4-mont.pl
1.4 +1 -0
openssl/crypto/sha/asm/sha1-armv4-large.pl
1.4 +1 -0
openssl/crypto/sha/asm/sha256-armv4.pl
1.5 +1 -0
openssl/crypto/sha/asm/sha512-armv4.pl
____________________________________________________________
________________
patch -p0 <<' .'
Index: openssl/Configure
============================================================
================
$ cvs diff -u -r1.577 -r1.578 Configure
--- openssl/Configure 27 Sep 2007 07:43:58 -0000 1.577
+++ openssl/Configure 27 Sep 2007 16:26:59 -0000 1.578
 -324,7 +324,8 
# throw in -D[BL]_ENDIAN, whichever appropriate...
"linux-generic32","gcc:-DTERMIO -O3
-fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG
RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL
BF_PTR:$:dlfcn:linux-shared:-fPIC::.so.$(SHLIB_MAJO
R).$(SHLIB_MINOR)",
"linux-ppc", "gcc:-DB_ENDIAN -DTERMIO -O3
-Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK
DES_RISC1 DES_UNROLL:ppccpuid_linux32.o:linux_ppc32.o
linux_ppc32-mont.o:::::sha1-ppc_linux32.o
sha256-ppc_linux32.o:::::::dlfcn:linux-shared:-fPIC::.so.$(
SHLIB_MAJOR).$(SHLIB_MINOR)",
-# It's appropriate to complement it with -march, which is
done in ./config...
+# It's believed that majority of ARM toolchains predefine
appropriate -march.
+# If you compiler does not, do complement config command
line with one!
"linux-armv4", "gcc:-DTERMIO -O3
-Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK
DES_INT DES_UNROLL
BF_PTR:$:dlfcn:linux-shared:-fPIC::.so.$(SHLIB_M
AJOR).$(SHLIB_MINOR)",
#### IA-32 targets...
"linux-ia32-icc", "icc:-DL_ENDIAN -DTERMIO
-O2 -no_cpprt::-D_REENTRANT::-ldl:BN_LLONG $
$:$:dlfcn:linux-shared:-KPIC::.so
.$(SHLIB_MAJOR).$(SHLIB_MINOR)",
 .
patch -p0 <<' .'
Index: openssl/config
============================================================
================
$ cvs diff -u -r1.165 -r1.166 config
--- openssl/config 27 Sep 2007 07:43:58 -0000 1.165
+++ openssl/config 27 Sep 2007 16:26:59 -0000 1.166
 -612,9 +612,7 
options="$options -DB_ENDIAN
-mschedule=$CPUSCHEDULE -march=$CPUARCH"
OUT="linux-generic32" ;;
armv[1-3]*-*-linux2) OUT="linux-generic32"
;;
- # -march=armv4t is expected to generate code binary
compatible with
- # vanilla armv4 but interoperable with armv4t.
- arm*-*-linux2) OUT="linux-armv4";
options="$options -march=armv4t" ;;
+ arm*-*-linux2) OUT="linux-armv4" ;;
sh*b-*-linux2) OUT="linux-generic32";
options="$options -DB_ENDIAN" ;;
sh*-*-linux2) OUT="linux-generic32";
options="$options -DL_ENDIAN" ;;
m68k*-*-linux2) OUT="linux-generic32";
options="$options -DB_ENDIAN" ;;
 .
patch -p0 <<' .'
Index: openssl/crypto/aes/asm/aes-armv4.pl
============================================================
================
$ cvs diff -u -r1.3 -r1.4 aes-armv4.pl
--- openssl/crypto/aes/asm/aes-armv4.pl 30 May 2007
15:57:31 -0000 1.3
+++ openssl/crypto/aes/asm/aes-armv4.pl 27 Sep 2007
16:27:01 -0000 1.4
 -1026,4 +1026,5 
.asciz "AES for ARMv4, CRYPTOGAMS by <appro openssl.org>"
___
+$code =~ s/bbxs+lrb/.wordt0xe12fff1e/gm; # make it
possible to compile with -march=armv4
print $code;
 .
patch -p0 <<' .'
Index: openssl/crypto/bn/asm/armv4-mont.pl
============================================================
================
$ cvs diff -u -r1.3 -r1.4 armv4-mont.pl
--- openssl/crypto/bn/asm/armv4-mont.pl 29 Jun 2007
13:10:19 -0000 1.3
+++ openssl/crypto/bn/asm/armv4-mont.pl 27 Sep 2007
16:27:02 -0000 1.4
 -195,5 +195,6 
.asciz "Montgomery multiplication for ARMv4,
CRYPTOGAMS by <appro openssl.org>"
___
+$code =~ s/bbxs+lrb/.wordt0xe12fff1e/gm; # make it
possible to compile with -march=armv4
print $code;
close STDOUT;
 .
patch -p0 <<' .'
Index: openssl/crypto/sha/asm/sha1-armv4-large.pl
============================================================
================
$ cvs diff -u -r1.3 -r1.4 sha1-armv4-large.pl
--- openssl/crypto/sha/asm/sha1-armv4-large.pl 27 Sep 2007
07:09:46 -0000 1.3
+++ openssl/crypto/sha/asm/sha1-armv4-large.pl 27 Sep 2007
16:27:03 -0000 1.4
 -226,5 +226,6 
.asciz "SHA1 block transform for ARMv4, CRYPTOGAMS
by <appro openssl.org>"
___
+$code =~ s/bbxs+lrb/.wordt0xe12fff1e/gm; # make it
possible to compile with -march=armv4
print $code;
close STDOUT; # enforce flush
 .
patch -p0 <<' .'
Index: openssl/crypto/sha/asm/sha256-armv4.pl
============================================================
================
$ cvs diff -u -r1.3 -r1.4 sha256-armv4.pl
--- openssl/crypto/sha/asm/sha256-armv4.pl 27 Sep 2007
07:09:46 -0000 1.3
+++ openssl/crypto/sha/asm/sha256-armv4.pl 27 Sep 2007
16:27:03 -0000 1.4
 -175,5 +175,6 
___
$code =~ s/`([^`]*)`/eval $1/gem;
+$code =~ s/bbxs+lrb/.wordt0xe12fff1e/gm; # make it
possible to compile with -march=armv4
print $code;
close STDOUT; # enforce flush
 .
patch -p0 <<' .'
Index: openssl/crypto/sha/asm/sha512-armv4.pl
============================================================
================
$ cvs diff -u -r1.4 -r1.5 sha512-armv4.pl
--- openssl/crypto/sha/asm/sha512-armv4.pl 27 Sep 2007
07:09:46 -0000 1.4
+++ openssl/crypto/sha/asm/sha512-armv4.pl 27 Sep 2007
16:27:03 -0000 1.5
 -393,5 +393,6 
___
$code =~ s/`([^`]*)`/eval $1/gem;
+$code =~ s/bbxs+lrb/.wordt0xe12fff1e/gm; # make it
possible to compile with -march=armv4
print $code;
close STDOUT; # enforce flush
 .
____________________________________________________________
__________
OpenSSL Project http://www.openssl.org
CVS Repository Commit List
openssl-cvs openssl.org
Automated List Manager
majordomo openssl.org
|