Gitweb links:
...log
http://git.netsurf-browser.org/toolchains.git/shortlog/1ebcfcb08774c1ddf1d69725376f3088833b30a2
...commit
http://git.netsurf-browser.org/toolchains.git/commit/1ebcfcb08774c1ddf1d69725376f3088833b30a2
...tree
http://git.netsurf-browser.org/toolchains.git/tree/1ebcfcb08774c1ddf1d69725376f3088833b30a2
The branch, master has been updated
via 1ebcfcb08774c1ddf1d69725376f3088833b30a2 (commit)
from bac3e0ec6390348d2d1f44f0fb7ef5e2c43f74d3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/toolchains.git/commit/?id=1ebcfcb08774c1ddf1d69725376f3088833b30a2
commit 1ebcfcb08774c1ddf1d69725376f3088833b30a2
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>
Wrong file extenson meant bn_div optimisation wasn't being applied.
diff --git
a/sdk/recipes/patches/openssl/m68k-unknown-amigaos/crypto.bn.bn_div.c
b/sdk/recipes/patches/openssl/m68k-unknown-amigaos/crypto.bn.bn_div.c
deleted file mode 100644
index 0d5492f..0000000
--- a/sdk/recipes/patches/openssl/m68k-unknown-amigaos/crypto.bn.bn_div.c
+++ /dev/null
@@ -1,25 +0,0 @@
---- crypto/bn/bn_div.c 2017-01-26 13:22:03.000000000 +0000
-+++ crypto/bn/bn_div.c 2017-02-11 16:06:29.437010335 +0000
-@@ -175,6 +175,22 @@ int BN_div(BIGNUM *dv, BIGNUM *rem, cons
- q; \
- })
- # define REMAINDER_IS_ALREADY_CALCULATED
-+# elif defined(__mc68020__)
-+ /* Same rationale as for i386. On the 68020-60/CPU32 the divu
-+ * instruction will take a 64 bit dividend in a register pair
-+ * and overwrite that pair with the remainder:quotient.
-+ * Howard Chu
-+ */
-+# undef bn_div_words
-+# define bn_div_words(n0,n1,d0) \
-+ ({ asm volatile ( \
-+ "divu.l %4,%2:%3" \
-+ : "=d"(rem), "=d"(q) \
-+ : "0"(n0), "1"(n1), "d"(d0) \
-+ : "cc"); \
-+ q; \
-+ })
-+# define REMAINDER_IS_ALREADY_CALCULATED
- # endif /* __<cpu> */
- # endif /* __GNUC__ */
- # endif /* OPENSSL_NO_ASM */
diff --git
a/sdk/recipes/patches/openssl/m68k-unknown-amigaos/crypto.bn.bn_div.c.p
b/sdk/recipes/patches/openssl/m68k-unknown-amigaos/crypto.bn.bn_div.c.p
new file mode 100644
index 0000000..0d5492f
--- /dev/null
+++ b/sdk/recipes/patches/openssl/m68k-unknown-amigaos/crypto.bn.bn_div.c.p
@@ -0,0 +1,25 @@
+--- crypto/bn/bn_div.c 2017-01-26 13:22:03.000000000 +0000
++++ crypto/bn/bn_div.c 2017-02-11 16:06:29.437010335 +0000
+@@ -175,6 +175,22 @@ int BN_div(BIGNUM *dv, BIGNUM *rem, cons
+ q; \
+ })
+ # define REMAINDER_IS_ALREADY_CALCULATED
++# elif defined(__mc68020__)
++ /* Same rationale as for i386. On the 68020-60/CPU32 the divu
++ * instruction will take a 64 bit dividend in a register pair
++ * and overwrite that pair with the remainder:quotient.
++ * Howard Chu
++ */
++# undef bn_div_words
++# define bn_div_words(n0,n1,d0) \
++ ({ asm volatile ( \
++ "divu.l %4,%2:%3" \
++ : "=d"(rem), "=d"(q) \
++ : "0"(n0), "1"(n1), "d"(d0) \
++ : "cc"); \
++ q; \
++ })
++# define REMAINDER_IS_ALREADY_CALCULATED
+ # endif /* __<cpu> */
+ # endif /* __GNUC__ */
+ # endif /* OPENSSL_NO_ASM */
-----------------------------------------------------------------------
Summary of changes:
.../m68k-unknown-amigaos/crypto.bn.bn_div.c | 25 --------------------
.../crypto.bn.bn_div.c.p | 0
2 files changed, 25 deletions(-)
delete mode 100644
sdk/recipes/patches/openssl/m68k-unknown-amigaos/crypto.bn.bn_div.c
copy sdk/recipes/patches/openssl/{m68k-atari-mint =>
m68k-unknown-amigaos}/crypto.bn.bn_div.c.p (100%)
diff --git
a/sdk/recipes/patches/openssl/m68k-unknown-amigaos/crypto.bn.bn_div.c
b/sdk/recipes/patches/openssl/m68k-unknown-amigaos/crypto.bn.bn_div.c
deleted file mode 100644
index 0d5492f..0000000
--- a/sdk/recipes/patches/openssl/m68k-unknown-amigaos/crypto.bn.bn_div.c
+++ /dev/null
@@ -1,25 +0,0 @@
---- crypto/bn/bn_div.c 2017-01-26 13:22:03.000000000 +0000
-+++ crypto/bn/bn_div.c 2017-02-11 16:06:29.437010335 +0000
-@@ -175,6 +175,22 @@ int BN_div(BIGNUM *dv, BIGNUM *rem, cons
- q; \
- })
- # define REMAINDER_IS_ALREADY_CALCULATED
-+# elif defined(__mc68020__)
-+ /* Same rationale as for i386. On the 68020-60/CPU32 the divu
-+ * instruction will take a 64 bit dividend in a register pair
-+ * and overwrite that pair with the remainder:quotient.
-+ * Howard Chu
-+ */
-+# undef bn_div_words
-+# define bn_div_words(n0,n1,d0) \
-+ ({ asm volatile ( \
-+ "divu.l %4,%2:%3" \
-+ : "=d"(rem), "=d"(q) \
-+ : "0"(n0), "1"(n1), "d"(d0) \
-+ : "cc"); \
-+ q; \
-+ })
-+# define REMAINDER_IS_ALREADY_CALCULATED
- # endif /* __<cpu> */
- # endif /* __GNUC__ */
- # endif /* OPENSSL_NO_ASM */
diff --git a/sdk/recipes/patches/openssl/m68k-atari-mint/crypto.bn.bn_div.c.p
b/sdk/recipes/patches/openssl/m68k-unknown-amigaos/crypto.bn.bn_div.c.p
similarity index 100%
copy from sdk/recipes/patches/openssl/m68k-atari-mint/crypto.bn.bn_div.c.p
copy to sdk/recipes/patches/openssl/m68k-unknown-amigaos/crypto.bn.bn_div.c.p
--
Cross-compilation toolchains and environments
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org