1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 21:40:33 +02:00
Commit graph

19988 commits

Author SHA1 Message Date
Paolo Bonzini
f4bf06ad41 add long boolean operations for x86-64
2008-03-19  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/i386/core-64.h: Add boolean operations.
2008-03-19 09:57:13 +01:00
Paolo Bonzini
00f73f17d4 add LEAQmr for x86-64
2008-03-19  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/i386/asm-64.h: Add LEAQmr.
2008-03-19 09:57:12 +01:00
Paolo Bonzini
9a188c1b29 misc. x86-64 bugfixes
2008-03-19  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/i386/core-64.h: Misc bugfixes.
2008-03-19 09:57:11 +01:00
Paolo Bonzini
90e08b1cda add missing x86-64 memory operations
2008-03-19  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/i386/core-i386.c: Remove jit_ldr_i, jit_ldxr_i.
	* lightning/i386/core-32.h: Add jit_ldr_i, jit_ldxr_i.
	* lightning/i386/core-64.h: Add jit_ld{r,xr,i,xi}_{ui,l,ul},
	jit_ldr_i, jit_ldxr_i, jit_str_l, jit_stxr_l.
2008-03-19 09:56:19 +01:00
Paolo Bonzini
91cfad4175 add _s32P
2008-03-19  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/asm-common.h: Add _s32P.
2008-03-19 09:56:05 +01:00
Paolo Bonzini
ee99e520f5 implement long mul/div/mod for x86-64
2008-03-19  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/i386/core-64.h: Implement long mul/div/mod.
2008-03-19 09:56:04 +01:00
Paolo Bonzini
1598681265 cast memory address to long for JCCim
2008-03-19  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/i386/asm-i386.h: Cast memory address to long for JCCim.
2008-03-19 09:56:03 +01:00
Ludovic Courtès
cc7e01cedd Use SRFI-1 in `(oop goops util)'. 2008-03-18 09:10:45 +00:00
Paolo Bonzini
ef5a3ab797 add underscores around __unused__ attribute
2008-03-15  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/asm-common.h: Add underscores around __unused__
	attribute.
2008-03-17 09:21:42 +01:00
Paolo Bonzini
3a199529db warning patrol (allocai.c, ppc)
2008-03-15  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/ppc/core.h: Avoid some "value computed is not used"
	warnings.
	* lightning/ppc/funcs.h: Remove unused variables.
	* lightnings/tests/allocai.c: Silence other warnings.
2008-03-17 09:10:57 +01:00
Paolo Bonzini
ec2d8b3092 fix some problems (not all) with lightningize
2008-03-14  Paolo Bonzini  <bonzini@gnu.org>

	* lightningize.in: Fix some problems (not all).
2008-03-16 21:13:56 +01:00
Paolo Bonzini
15a23d2a7c avoid "value computed is not used" in jit_allocai
2008-03-14  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/i386/core-32.h: Avoid some "value computed is not used"
	warnings; reported by Sam Steingold.
2008-03-16 20:45:27 +01:00
Ludovic Courtès
eedcb08a25 Honor $TMPDIR in the test suite. 2008-03-13 14:03:58 +00:00
Ludovic Courtès
62c5382b88 Fix SRFI-37 `args-fold' with short option names of argument-less options. 2008-03-12 17:01:19 +00:00
Ludovic Courtès
bbb6fc4fc2 Provide describe' feature in (oop goops describe)'. 2008-03-12 17:00:07 +00:00
Ludovic Courtès
c2ad98ad41 Fix `alloca' on FreeBSD 6. 2008-03-10 22:34:40 +00:00
Neil Jerram
bca69a9fba Only define scm_from_complex_double if it will
actually be used.
2008-03-09 21:57:00 +00:00
Paolo Bonzini
d369edf15d Fix stxr_c(_EAX, _EBX, _ESI).
2008-03-08  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/i386/core-32.h: Fix stxr_c(_EAX, _EBX, _ESI).
2008-03-08 18:21:07 +01:00
Neil Jerram
6180e336b2 Core enhancements, by Julian Graham, to Guile's thread, mutex and
condvar primitives, in preparation for SRFI-18 support.
2008-03-08 16:22:40 +00:00
Ludovic Courtès
61b6542aa6 Fix type-checking for the second argument of `eval'. 2008-03-06 09:51:44 +00:00
Ludovic Courtès
3f52096714 Fix "mixed linkage" errors in `inline.h'. 2008-03-02 17:03:42 +00:00
Neil Jerram
fa80e2809e (errno): Remove declarations that have been there
forever, and are known to conflict on some platforms with that
provided by <errno.h>, which we include unconditionally.  If
<errno.h> doesn't provide a errno declaration, what is the point
of it?
2008-02-27 23:00:37 +00:00
Neil Jerram
d53f85dd85 * FAQ: New file.
* Makefile.am (EXTRA_DIST): Add FAQ
2008-02-23 18:30:00 +00:00
Neil Jerram
2018147881 Updated to GNU coding
standards; added standard license statement.
2008-02-23 18:29:45 +00:00
Ludovic Courtès
a2c25234fb Use imaginary_part' instead of imaginary' to fix build on Solaris 2.10. 2008-02-23 11:28:11 +00:00
Ludovic Courtès
e27d249537 Fix `(ice-9 match)' for lists of lists. 2008-02-22 16:05:30 +00:00
Ludovic Courtès
4fcb27c471 Look for `strncasecmp' declaration. 2008-02-22 09:55:22 +00:00
Ludovic Courtès
bfb64eb408 Fix build issue in `gc.c' on GNU/Linux IA64. 2008-02-22 09:53:02 +00:00
Neil Jerram
27ba39f2e6 Fix a strange character that got into "scm_add_slot" somehow 2008-02-21 23:05:22 +00:00
Paolo Bonzini
a369fa1fad commit source files for separate using/porting manuals 2008-02-21 17:06:38 +01:00
Ludovic Courtès
5305df84f8 Fix bug #22369: segfault in `scm_add_slot ()'. 2008-02-21 08:43:54 +00:00
Ludovic Courtès
25a640ca6e Merge 1.8.4 release commit. 2008-02-21 08:41:24 +00:00
Ludovic Courtès
9a6fac59b1 Fix NetBSD/alpha support. 2008-02-16 19:45:41 +00:00
Neil Jerram
b226295af8 Release stuff: missing NEWS and 2007/2008 copyrights. 2008-02-15 23:13:59 +00:00
Neil Jerram
d4a00708e7 * autogen.sh: Copy versions of config.guess and config.sub from
Guile CVS to build-aux and guile-readline.

	* HACKING: Note need for libtool >= 1.5.26.

	* config.rpath, build-aux/config.rpath: Updated to latest upstream
	version.

	* config.guess, config.sub: 2008-01-07 versions added to Guile
	CVS, to ensure that Guile developers are using new enough versions
	(in particular for AIX 6.1 support).
2008-02-15 23:06:52 +00:00
Ludovic Courtès
f937ce3741 Add `gc.test' hack for SPARC GNU/Linux. 2008-02-15 16:02:22 +00:00
Paolo Bonzini
3b4343ec47 avoid redefinition of _r1
2008-02-13  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/i386/asm-32.h: Avoid redefinition of _r1, reported by
	Sam Steingold.
	* lightning/i386/asm-64.h: Likewise.
2008-02-14 09:55:57 +01:00
Neil Jerram
8cd5eae91d configure.in: additional note suggested by Greg Troxel 2008-02-12 21:00:05 +00:00
Ludovic Courtès
5b5179f895 guile-snarf: Honor $TMPDIR. 2008-02-12 14:26:37 +00:00
Neil Jerram
8c726cf0b4 (Random): New text about the default random state,
following suggestions by Stephen Uitti.
2008-02-11 22:34:33 +00:00
Neil Jerram
4b26c03ec7 * numbers.c (SCM_COMPLEX_VALUE): Use GUILE_I instead of _Complex_I
directly, and only if GUILE_I was defined by the configure step.
(scm_log, scm_log10, scm_exp, scm_sqrt): Use SCM_COMPLEX_VALUE
code only if SCM_COMPLEX_VALUE is defined.

* configure.in (--without-64-calls): Use AC_MSG_CHECKING and
AC_MSG_RESULT instead of just echo.
(GUILE_I): New programs to try using _Complex_I or 1.0fi for the
imaginary unit.
2008-02-11 21:20:14 +00:00
Paolo Bonzini
9f2179f572 don't use _VOID symbol, reserved by newlib (cygwin)
2008-02-08  Paolo Bonzini  <bonzini@gnu.org>

	* lightning/i386/asm-i386.h: Don't define _VOID, reported
	by Reini Urban.
2008-02-08 13:30:18 +01:00
Ludovic Courtès
7f74cf9a67 More compilation fixes with Sun CC (bug #21378). 2008-02-07 09:54:47 +00:00
Neil Jerram
86a597f8b3 * threads.c (do_thread_exit, scm_cancel_thread,
scm_set_thread_cleanup_x, scm_thread_cleanup): Lock on thread-specific
	admin mutex instead of `thread_admin_mutex'.
	* threads.h (scm_i_thread)[admin_mutex]: New field.
	* throw.c (make_jmpbuf): Don't enter critical section during thread
	spawn -- there is a possibility of deadlock if other threads are
	exiting.
2008-02-07 01:24:31 +00:00
Neil Jerram
0ea659f3ba (Next-method): Minor improvements to the
text.
2008-02-06 22:47:29 +00:00
Neil Jerram
32b164aacd Default to --without-64-calls for
powerpc-ibm-aix*.  Thanks to Rainer Tammer for reporting that the
64 calls are a problem on that OS.
2008-02-06 22:29:22 +00:00
Neil Jerram
4a19ed0452 (scm_gc_malloc): Return NULL if requested size is 0.
(scm_gc_free): Don't call `free' if mem is NULL.
2008-02-06 22:22:14 +00:00
Ludovic Courtès
189171c5bb Fix compilation of `numbers.c' with Sun CC. 2008-02-06 13:51:05 +00:00
Neil Jerram
d05bcb2ede * fports.c (fport_seek): Make dependent on GUILE_USE_64_CALLS.
* _scm.h: Make definition of CHOOSE_LARGEFILE depend on
GUILE_USE_64_CALLS.

* configure.in (--without-64-calls): New option.
2008-02-05 23:14:21 +00:00
Neil Jerram
01be513ed1 New test file (forgotten from checkin last week). 2008-02-05 21:55:44 +00:00