summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bn/asm/x86/div.pl
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>1999-09-29 05:53:41 +0000
committerBob Beck <beck@cvs.openbsd.org>1999-09-29 05:53:41 +0000
commit3baed0b6409db218ce16a86f5de13e071419bd65 (patch)
treefca0e74eadd90a9dfd0c24f79ef8db4f7a6a0454 /lib/libcrypto/bn/asm/x86/div.pl
parenta73ee73cc22f5ba31c72fc6bed5812c90fc669f0 (diff)
import openssl-0.9.7-beta1
Diffstat (limited to 'lib/libcrypto/bn/asm/x86/div.pl')
-rw-r--r--lib/libcrypto/bn/asm/x86/div.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/libcrypto/bn/asm/x86/div.pl b/lib/libcrypto/bn/asm/x86/div.pl
new file mode 100644
index 00000000000..0e90152caa9
--- /dev/null
+++ b/lib/libcrypto/bn/asm/x86/div.pl
@@ -0,0 +1,15 @@
+#!/usr/local/bin/perl
+# x86 assember
+
+sub bn_div_words
+ {
+ local($name)=@_;
+
+ &function_begin($name,"");
+ &mov("edx",&wparam(0)); #
+ &mov("eax",&wparam(1)); #
+ &mov("ebx",&wparam(2)); #
+ &div("ebx");
+ &function_end($name);
+ }
+1;