Skip to content

Commit deb06ea

Browse files
author
jasonmoxham
committed
merged k8-branch into trunk , autotools , few handbits , windows bits just copyed over
1 parent 6452e3b commit deb06ea

File tree

127 files changed

+8367
-5112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+8367
-5112
lines changed

Makefile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ DIST_COMMON = README $(am__configure_deps) $(am__include_HEADERS_DIST) \
6565
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
6666
$(srcdir)/config.in $(srcdir)/gmp-h.in $(srcdir)/mp-h.in \
6767
$(top_srcdir)/configure AUTHORS COPYING COPYING.LIB ChangeLog \
68-
INSTALL NEWS ansi2knr.1 ansi2knr.c config.guess config.sub \
69-
install-sh ltmain.sh missing
68+
INSTALL NEWS TODO ansi2knr.1 ansi2knr.c config.guess \
69+
config.sub install-sh ltmain.sh missing
7070
subdir = .
7171
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
7272
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \

TODO

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
some of the new fns are only visible internally , to get them visible to the user we
2+
need to put the stuff thats in gmp-impl.h into gmp-h.in and get it to work ,
3+
need to bugger about with configure.in etc
4+
5+
should addsub return int or limb ?
6+
7+
Test everything for alignment and speed on K10
8+
9+
should the new function be entered in the fat structure?
10+
11+
some of the new fn's are visible to the user , or do we want them internal?
12+
13+
need proper speed tuning for redc_basecase and powm , not the hack that we
14+
have at the mo
15+
16+
for K10 , check tests/try does the different alignments for the shifts

build.vc9/config.amd64

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,20 +145,30 @@ MA 02111-1307, USA. */
145145
#define HAVE_NATIVE_mpn_submul_1 1
146146
#define HAVE_NATIVE_mpn_submul_1c 1
147147

148+
#define HAVE_NATIVE_mpn_addlsh1_n 1
149+
#define HAVE_NATIVE_mpn_sublsh1_n 1
150+
#define HAVE_NATIVE_mpn_addadd_n 1
151+
#define HAVE_NATIVE_mpn_addsub_n 1
152+
#define HAVE_NATIVE_mpn_sumdiff_n 1
153+
148154
#define HAVE_NATIVE_mpn_copyd 1
149155
#define HAVE_NATIVE_mpn_copyi 1
150156

151157
#define HAVE_NATIVE_mpn_divexact_1 1
152158

153-
#undef HAVE_NATIVE_mpn_divexact_by3c
159+
#define HAVE_NATIVE_mpn_com_n 1
160+
161+
#define HAVE_NATIVE_mpn_divexact_by3c 1
154162
#undef HAVE_NATIVE_mpn_divrem_1
155163
#undef HAVE_NATIVE_mpn_divrem_1c
156164

157165
#undef HAVE_NATIVE_mpn_hamdist
158166
#undef HAVE_NATIVE_mpn_popcount
159167

160168
#define HAVE_NATIVE_mpn_lshift 1
169+
#define HAVE_NATIVE_mpn_lshift1 1
161170
#define HAVE_NATIVE_mpn_rshift 1
171+
#define HAVE_NATIVE_mpn_rshift1 1
162172

163173
#undef HAVE_NATIVE_mpn_mod_1
164174
#undef HAVE_NATIVE_mpn_mod_1c

0 commit comments

Comments
 (0)