1 2000-05-19 Richard Kreckel <kreckel@ginac.de>
3 * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
4 better match present-day CPUs whenever GMP3 is used.
5 * src/base/digitseq/cl_DS_div.cc: dto.
6 * src/TUNING: Added comment about order of tuning.
7 * configure, configure.in: Safer GMP3-detection.
8 * INSTALL.generic: Clarified behaviour of --with-gmp.
9 * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
11 2000-05-05 Richard Kreckel <kreckel@ginac.de>
13 * doc/cln.tex: Added index entries.
14 * doc/texinfo.tex: Upgraded to newer version 1999-10-01.07.
15 * doc/*: Changes triggered.
17 2000-05-04 Richard Kreckel <kreckel@ginac.de>
19 * gmp/: removed completely. From now on we are going to link
20 externally against libgmp3.0 or above!
21 * configure, configure.in, Makefile.in, */Makeflags: removed support
22 of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
23 setting $CPPFLAGS instead.
24 * Makefile.in: Added libtool inter-library dependency for -lgmp and
25 conforming interface versioning (-version-info).
26 * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
29 2000-02-22 Bruno Haible <haible@clisp.cons.org>
31 * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
32 parameter passing was changed for the MIPS n32 ABI.
34 2000-01-24 Richard Kreckel <kreckel@ginac.de>
36 * gmp/*: Replaced the complete mpn sources with the ones from
37 Debian since they are maintained while the ones from FSF
38 aren't and there were problems on some architectures, PowerPC
39 in particular. See the file gmp/README.CLN. This way the
40 hard links in this directory have vanished, they were causing
41 trouble for people working in AFS. This became necessary for
42 Debian, because there it woudn't compile on PPC.
44 2000-01-13 Richard Kreckel <kreckel@ginac.de>
46 * Version 1.0.3 released.
48 2000-01-13 Richard Kreckel <kreckel@ginac.de>
50 * src/base/cl_macros.h (nonreturning_function): For egcs and newer
51 use __attribute__ ((__noreturn__)) instead of the __volatile__
53 (nonreturning): Remove macro.
54 * include/*: Minor fixes to stop -ansi -pedantic from complaining.
55 * include/cl_integer.h: (doublefactorial): New declaration.
56 * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
58 1999-12-18 Bruno Haible <haible@clisp.cons.org>
60 * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
62 * autoconf/ltconfig: Improve support for recent FreeBSD 3.
63 * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
64 'const T', to match definition in src/vector/cl_GV_number.cc.
65 Reported by Duncan Simpson <dps@io.stargate.co.uk>.
66 * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
69 1999-09-07 Bruno Haible <haible@clisp.cons.org>
71 * Version 1.0.2 released.
73 1999-09-06 Bruno Haible <haible@clisp.cons.org>
75 * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
76 boolean expression, write alternatives ending with either
77 "return cl_true;" or "return cl_false;". This way, g++ does a
78 better job inlining it.
79 * src/float/cl_F.h (longfloatp): Likewise.
80 * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
81 * src/complex/cl_C.h (realp, complexp): Likewise.
83 1999-09-05 Bruno Haible <haible@clisp.cons.org>
85 * include/cl_integer.h (cl_equal_hashcode): New declaration.
86 * include/cl_rational.h (cl_equal_hashcode): New declaration.
87 * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
88 * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
89 * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
90 * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
91 * include/cl_float.h (cl_equal_hashcode): New declaration.
92 * include/cl_real.h (cl_equal_hashcode): New declaration.
93 * include/cl_complex.h (cl_equal_hashcode): New declaration.
94 * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
95 * src/integer/misc/cl_I_eqhashcode.cc: New file.
96 * src/rational/misc/cl_RA_eqhashcode.cc: New file.
97 * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
98 * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
99 * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
100 * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
101 * src/float/misc/cl_F_eqhashcode.cc: New file.
102 * src/real/misc/cl_R_eqhashcode.cc: New file.
103 * src/complex/misc/cl_C_eqhashcode.cc: New file.
104 * doc/cln.tex: Document `cl_equal_hashcode'.
106 1999-09-05 Bruno Haible <haible@clisp.cons.org>
108 * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
109 (cl_number_ring): New class.
110 (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
111 (instanceof): New function.
112 * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
113 * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
114 * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
115 * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
116 * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
117 * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
118 * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
119 * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
120 * doc/cln.tex: Document `instanceof'.
122 1999-09-05 Bruno Haible <haible@clisp.cons.org>
124 * include/cl_rational.h (numerator, denominator): New declarations.
125 * src/rational/elem/cl_RA_numerator.cc: New file.
126 * src/rational/elem/cl_RA_denominator.cc: New file.
127 * include/cl_integer.h (numerator, denominator): New inline functions.
128 * doc/cln.tex: Document `numerator' and `denominator'.
130 1999-09-05 Bruno Haible <haible@clisp.cons.org>
132 * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
134 * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
136 1999-09-05 Bruno Haible <haible@clisp.cons.org>
138 * include/cl_config.h.in: Support for sparc64 CPU.
139 * include/cl_modules.h: Likewise.
140 * include/cl_types.h: Likewise.
141 * include/cl_object.h: Likewise.
142 * include/cl_GV.h: Likewise.
143 * src/Makefile.in: Likewise.
144 * src/base/cl_alloca.h: Likewise.
145 * src/base/cl_macros.h: Likewise.
146 * src/base/cl_sysdep.h: Likewise.
147 * src/base/cl_low.h: Likewise.
148 * src/base/digitseq/cl_asm.h: Likewise.
149 * src/base/digitseq/cl_asm_.cc: Likewise.
150 * src/base/digitseq/cl_asm_sparc64.h: New file.
151 * src/base/digitseq/cl_asm_sparc64_.cc: New file.
152 * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
153 * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
154 * src/polynomial/elem/cl_UP_GF2.h: Likewise.
155 * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
157 1999-09-04 Bruno Haible <haible@clisp.cons.org>
159 * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
160 Use the `orn' instruction.
162 1999-08-14 Bruno Haible <haible@clisp.cons.org>
164 Assume all platforms have <stdlib.h> and clock_t.
165 * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
166 * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
167 * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
168 * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
169 * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
171 1999-07-18 Bruno Haible <haible@clisp.cons.org>
173 * gmp/config.guess: Link to autoconf/config.guess.
174 gmp/config.sub: Link to autoconf/config.sub.
175 Needed for Win32 platforms.
177 1999-07-17 Bruno Haible <haible@clisp.cons.org>
179 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
180 "sparc64" according to the C compiler, not the uname result.
182 1999-06-17 Bruno Haible <haible@clisp.cons.org>
184 * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
185 COUNTER_LOOPS version, fortunately not used yet.
187 * include/cl_modules.h: Prepare for gcc version 3.
189 1999-06-12 Bruno Haible <haible@clisp.cons.org>
191 * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
192 Change the last call from I_I_to_RT to I_I_to_RA.
194 1999-06-09 Bruno Haible <haible@clisp.cons.org>
196 * Version 1.0.1 released.
198 1999-06-09 Bruno Haible <haible@clisp.cons.org>
200 * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
203 1999-06-08 Bruno Haible <haible@clisp.cons.org>
205 * autoconf/intparam.c (printf_underscored): Change argument type to
207 * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
208 (CL_PROVIDE, CL_PROVIDE_END): Use them.
209 * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
210 * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
211 * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
212 cast a cl_I to void here. Works around a bug in g++-2.95.
213 * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
214 * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
215 dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
217 * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
219 * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
220 * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
221 DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
222 * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
225 1999-06-01 Bruno Haible <haible@clisp.cons.org>
227 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
230 1999-05-29 Bruno Haible <haible@clisp.cons.org>
232 * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
234 * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
235 * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
236 OpenBSD like NetBSD, and Linux/ELF like SVR4.
238 1999-05-16 Bruno Haible <haible@clisp.cons.org>
240 * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
241 syntax on AIX systems and new assembler syntax on non-AIX systems.
243 1999-05-01 Bruno Haible <haible@clisp.cons.org>
245 * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
246 version from GNU CVS.
248 1999-04-24 Bruno Haible <haible@clisp.cons.org>
250 * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
251 either operand is a positive fixnum, O(1) instead of O(N).
252 * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
253 * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
256 1999-04-14 Bruno Haible <haible@clisp.cons.org>
258 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
259 ctor/dtor needs to be exported.
260 * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
261 * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
263 (CL_GLOBALIZE_LABEL): New macro.
264 (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
265 (CL_PROVIDE): Update.
267 1999-04-12 Bruno Haible <haible@clisp.cons.org>
269 * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
270 errors ("unterminated string or character constant").
271 ($(ASMFILES_LO)): On HPPA, try with various settings of
272 COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
274 1999-04-11 Bruno Haible <haible@clisp.cons.org>
276 * INSTALL: Mention gmp problems on MIPS.
277 * doc/cln.tex: Likewise.
279 1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
281 * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
283 * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
284 (CL_GLOBALIZE_ASM_LABEL): New macro.
285 (CL_PROVIDE): Use it.
286 * src/base/random/cl_random_from.cc: Handle WIN32.
287 * src/timing/cl_t_current.cc: Likewise.
289 1999-03-15 Bruno Haible <haible@clisp.cons.org>
291 * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
292 (main8): Adapt for C++.
294 1999-03-09 Bruno Haible <haible@clisp.cons.org>
296 * INSTALL: Mention egcs-1.1 problems on Sparc.
297 * doc/cln.tex: Likewise.
299 1999-03-08 Bruno Haible <haible@clisp.cons.org>
301 * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
304 1999-02-25 Bruno Haible <haible@clisp.cons.org>
306 * autoconf/aclocal.m4: In test programs, declare `int main()', not
309 * lidia-interface/src/interfaces/integers/cln/bigint.c
310 (bigint_to_string): Fix for negative arguments.
312 * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
313 * src/base/cl_alloca.h: Likewise.
315 * src/base/cl_low.h: Eliminate CLISP style "# " comments.
316 * src/base/digitseq/cl_asm_arm_.cc,
317 src/base/digitseq/cl_asm_mips_.cc,
318 src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
320 * src/modinteger/cl_MI_pow2.h,
321 src/modinteger/cl_MI_pow2m1.h,
322 src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
324 1999-01-18 Bruno Haible <haible@clisp.cons.org>
326 * autoconf/acgeneral.m4,
327 autoconf/acspecific.m4: Upgrade to autoconf-2.13.
328 * autoconf/config.guess, autoconf/config.sub: Likewise.
329 * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
330 a macro. Use ${ac_objext}.
331 * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
332 conforming with CL_ALLOCA.
334 1999-01-12 Bruno Haible <haible@clisp.cons.org>
336 * Version 1.0 released.