projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[aes|cmll]t4-sparcv9.pl: unify argument handling.
[openssl.git]
/
crypto
/
camellia
/
asm
/
cmllt4-sparcv9.pl
diff --git
a/crypto/camellia/asm/cmllt4-sparcv9.pl
b/crypto/camellia/asm/cmllt4-sparcv9.pl
index fea0338dfa031702c2a0ccee7063b83222a4509b..a813168b42ec47b4b0af702fab6d15ea55ecedf6 100644
(file)
--- a/
crypto/camellia/asm/cmllt4-sparcv9.pl
+++ b/
crypto/camellia/asm/cmllt4-sparcv9.pl
@@
-46,10
+46,7
@@
$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
push(@INC,"${dir}","${dir}../../perlasm");
require "sparcv9_modes.pl";
push(@INC,"${dir}","${dir}../../perlasm");
require "sparcv9_modes.pl";
-$bits=32;
-for (@ARGV) { $bits=64 if (/\-m64/ || /\-xarch\=v9/); }
-if ($bits==64) { $::bias=2047; $::frame=192; $::size_t_cc="%xcc"; }
-else { $::bias=0; $::frame=112; $::size_t_cc="%icc"; }
+&asm_init(@ARGV);
$::evp=1; # if $evp is set to 0, script generates module with
# Camellia_[en|de]crypt, Camellia_set_key and Camellia_cbc_encrypt
$::evp=1; # if $evp is set to 0, script generates module with
# Camellia_[en|de]crypt, Camellia_set_key and Camellia_cbc_encrypt