New option to generate 80386 code.
[openssl.git] / crypto / cast / asm / cast-586.pl
index eda14ad4137edf4494127ba89c8e570749dd0026..6be0bfe57245e75fd0f90fafaffffcf4de51bf03 100644 (file)
@@ -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
 }
+