aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/cast
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-03-31 12:38:27 +0000
committerUlf Möller <ulf@openssl.org>1999-03-31 12:38:27 +0000
commit2613c1fa2f08814cd276800008b5a20c159ea7ff (patch)
treede5e7f25ed8fbfb65fad1a067234037e7db5b352 /crypto/cast
parent6d02d8e444f57d96465642b07233ed41801a3a75 (diff)
downloadopenssl-2613c1fa2f08814cd276800008b5a20c159ea7ff.tar.gz
New option to generate 80386 code.
Diffstat (limited to 'crypto/cast')
-rw-r--r--crypto/cast/Makefile.ssl2
-rw-r--r--crypto/cast/asm/cast-586.pl3
2 files changed, 3 insertions, 2 deletions
diff --git a/crypto/cast/Makefile.ssl b/crypto/cast/Makefile.ssl
index 72ae8dec8a..0834c09c13 100644
--- a/crypto/cast/Makefile.ssl
+++ b/crypto/cast/Makefile.ssl
@@ -67,7 +67,7 @@ asm/cx86bsdi.o: asm/cx86unix.cpp
$(CPP) -DBSDI asm/cx86unix.cpp | sed 's/ :/:/' | as -o asm/cx86bsdi.o
asm/cx86unix.cpp: asm/cast-586.pl
- (cd asm; perl cast-586.pl cpp >cx86unix.cpp)
+ (cd asm; perl cast-586.pl cpp $(PROCESSOR) >cx86unix.cpp)
files:
perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
diff --git a/crypto/cast/asm/cast-586.pl b/crypto/cast/asm/cast-586.pl
index eda14ad413..6be0bfe572 100644
--- a/crypto/cast/asm/cast-586.pl
+++ b/crypto/cast/asm/cast-586.pl
@@ -7,7 +7,7 @@ push(@INC,"perlasm","../../perlasm");
require "x86asm.pl";
require "cbc.pl";
-&asm_init($ARGV[0],"cast-586.pl");
+&asm_init($ARGV[0],"cast-586.pl",$ARGV[$#ARGV] eq "386");
$CAST_ROUNDS=16;
$L="edi";
@@ -173,3 +173,4 @@ sub E_CAST {
&xor( $L, $tmp1);
# XXX
}
+