mit-scheme.git
31 years agoImprove disassembler output of compiled code blocks.
Guillermo J. Rozas [Wed, 7 Jul 1993 20:44:44 +0000 (20:44 +0000)]
Improve disassembler output of compiled code blocks.

31 years agoExport rtl:bump-closure.
Guillermo J. Rozas [Wed, 7 Jul 1993 20:44:36 +0000 (20:44 +0000)]
Export rtl:bump-closure.

31 years agoImprove disassembler output of compiled code blocks.
Guillermo J. Rozas [Wed, 7 Jul 1993 20:38:46 +0000 (20:38 +0000)]
Improve disassembler output of compiled code blocks.

31 years agoDon't use select-registry primitives unless the operating system
Guillermo J. Rozas [Wed, 7 Jul 1993 20:01:39 +0000 (20:01 +0000)]
Don't use select-registry primitives unless the operating system
supports the `select' system Call.

31 years agoFix bug with unexpected constants appearing in the middle of
Guillermo J. Rozas [Wed, 7 Jul 1993 19:21:26 +0000 (19:21 +0000)]
Fix bug with unexpected constants appearing in the middle of
expressions.

31 years agoMissing arg list.
Guillermo J. Rozas [Wed, 7 Jul 1993 05:46:49 +0000 (05:46 +0000)]
Missing arg list.

31 years agoFix typo in definition of MAKE-POLAR.
Chris Hanson [Wed, 7 Jul 1993 03:20:00 +0000 (03:20 +0000)]
Fix typo in definition of MAKE-POLAR.

31 years agoTry not to clear the message unnecessarily when processing input
Chris Hanson [Tue, 6 Jul 1993 20:35:48 +0000 (20:35 +0000)]
Try not to clear the message unnecessarily when processing input
events.

31 years agoFix an out-of-range error because the @PCRXS addressing mode has a
Guillermo J. Rozas [Tue, 6 Jul 1993 03:58:25 +0000 (03:58 +0000)]
Fix an out-of-range error because the @PCRXS addressing mode has a
limited range.

31 years ago- Update to match change in RTL introduced to improve array indexing.
Guillermo J. Rozas [Tue, 6 Jul 1993 00:56:32 +0000 (00:56 +0000)]
- Update to match change in RTL introduced to improve array indexing.
- Add floating-vector support.
- Add top-level code compression support.

31 years agoWrite block description more clearly.
Guillermo J. Rozas [Sat, 3 Jul 1993 16:28:10 +0000 (16:28 +0000)]
Write block description more clearly.

31 years agoUpdate a use of rtl:make-offset that I missed in the last set of
Guillermo J. Rozas [Sat, 3 Jul 1993 08:34:51 +0000 (08:34 +0000)]
Update a use of rtl:make-offset that I missed in the last set of
edits.

31 years agobit-string-andc-bang cannot be integrated where it is used.
Guillermo J. Rozas [Fri, 2 Jul 1993 01:56:43 +0000 (01:56 +0000)]
bit-string-andc-bang cannot be integrated where it is used.
Fix the heuristic for detection of external labels and pc-relative
addressing.

31 years agoReimplement `thread-dead?' because Edwin needs it.
Chris Hanson [Thu, 1 Jul 1993 23:08:04 +0000 (23:08 +0000)]
Reimplement `thread-dead?' because Edwin needs it.

31 years agoAddressing-granularity means something different.
Guillermo J. Rozas [Thu, 1 Jul 1993 22:52:20 +0000 (22:52 +0000)]
Addressing-granularity means something different.

31 years agoChange interfaces of OS_real_time_clock and OS_process_clock to return
Chris Hanson [Thu, 1 Jul 1993 22:29:59 +0000 (22:29 +0000)]
Change interfaces of OS_real_time_clock and OS_process_clock to return
double instead of clock_t.  This combined with changes in the
implementations of these procedures should prevent wraparound of these
clocks.

31 years agoAdded mechanism to stop threads and restart them. When a
Chris Hanson [Thu, 1 Jul 1993 22:19:24 +0000 (22:19 +0000)]
Added mechanism to stop threads and restart them.  When a
derived-thread error is signalled, the signalling thread stops itself
to allow debugging to occur.  The debugger recognizes such stopped
threads and restarts them appropriately when the user requests a
continuation.

Also changed the handling of the thread timer to vary the period of
the timer in cases where the next desired timer event is longer than
the default timer interval.

31 years agoFix typo in last edit.
Guillermo J. Rozas [Thu, 1 Jul 1993 21:49:02 +0000 (21:49 +0000)]
Fix typo in last edit.

31 years agoFix typo in last edit.
Guillermo J. Rozas [Thu, 1 Jul 1993 21:48:35 +0000 (21:48 +0000)]
Fix typo in last edit.

31 years agoCompute addressing-granularity rather than default to 4.
Guillermo J. Rozas [Thu, 1 Jul 1993 21:47:28 +0000 (21:47 +0000)]
Compute addressing-granularity rather than default to 4.

31 years agoFix a register allocator bug in float-load/offset, and add yet another
Guillermo J. Rozas [Thu, 1 Jul 1993 07:48:28 +0000 (07:48 +0000)]
Fix a register allocator bug in float-load/offset, and add yet another
floating-point pattern.

31 years agoChanges to support better array indexing.
Guillermo J. Rozas [Thu, 1 Jul 1993 06:51:22 +0000 (06:51 +0000)]
Changes to support better array indexing.

31 years agoAdd rewrite rule for instances of byte-offset-address used for closure
Guillermo J. Rozas [Thu, 1 Jul 1993 03:30:28 +0000 (03:30 +0000)]
Add rewrite rule for instances of byte-offset-address used for closure
bumping.

31 years agoReflect changes to OFFSET and friends.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:29:15 +0000 (03:29 +0000)]
Reflect changes to OFFSET and friends.

31 years agoHandle some more cases.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:28:05 +0000 (03:28 +0000)]
Handle some more cases.

31 years agortl offsets have changed.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:27:12 +0000 (03:27 +0000)]
rtl offsets have changed.

31 years agoAdd open coding for
Guillermo J. Rozas [Thu, 1 Jul 1993 03:26:29 +0000 (03:26 +0000)]
Add open coding for
  floating-vector primitives
  vector-cons-style primitives
  flonum-atan2

31 years agoDiddle with locatives to allow index addressing modes.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:25:52 +0000 (03:25 +0000)]
Diddle with locatives to allow index addressing modes.

31 years agoFix a common float reference.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:24:59 +0000 (03:24 +0000)]
Fix a common float reference.

31 years agoAdd floating-point vector support, and support for trig and friends.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:24:33 +0000 (03:24 +0000)]
Add floating-point vector support, and support for trig and friends.

31 years agoAdd handlers for a few common cases.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:24:03 +0000 (03:24 +0000)]
Add handlers for a few common cases.

31 years agoImprove primitive calling code.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:23:35 +0000 (03:23 +0000)]
Improve primitive calling code.
Handle allocation primitives.

31 years agoUpdate rules to handle new OFFSET and friends RTL addressing modes.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:22:47 +0000 (03:22 +0000)]
Update rules to handle new OFFSET and friends RTL addressing modes.
Add improved generation of common patterns.

31 years agoAdd handlers for string-allocate, vector-cons, and
Guillermo J. Rozas [Thu, 1 Jul 1993 03:21:22 +0000 (03:21 +0000)]
Add handlers for string-allocate, vector-cons, and
floating-vector-cons.

31 years agoMore primitives are handled.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:16:40 +0000 (03:16 +0000)]
More primitives are handled.
Redo floating-point sizing.

31 years agoTeach the peephole optimizer to handle DEPI, and friends, and some
Guillermo J. Rozas [Thu, 1 Jul 1993 03:14:14 +0000 (03:14 +0000)]
Teach the peephole optimizer to handle DEPI, and friends, and some
FLOPs.

31 years agoAdd new hooks (invoke-primitive, allocation and flonum primitives).
Guillermo J. Rozas [Thu, 1 Jul 1993 03:13:42 +0000 (03:13 +0000)]
Add new hooks (invoke-primitive, allocation and flonum primitives).
Reorder registers so priority is given to the C callee saves
registers.

31 years agoAdd compiler:assume-safe-fixnums?
Guillermo J. Rozas [Thu, 1 Jul 1993 03:12:19 +0000 (03:12 +0000)]
Add compiler:assume-safe-fixnums?

31 years agoNew array indexing code.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:11:07 +0000 (03:11 +0000)]
New array indexing code.
Open coding of floating-point vector operations.
Special handling of string-allocate, vector-cons, and floating-vector-cons.
Special handling of flo:sin, etc. on the Snakes.
Better primitive calling on the Snakes.

31 years agoFix bug in rtl-common which introduced a bound-variable conflict if a
Guillermo J. Rozas [Thu, 1 Jul 1993 03:09:43 +0000 (03:09 +0000)]
Fix bug in rtl-common which introduced a bound-variable conflict if a
slot has the same as the item being defined.

31 years agoFix bug in load-machine-register!: If machine-register is a
Guillermo J. Rozas [Thu, 1 Jul 1993 03:06:27 +0000 (03:06 +0000)]
Fix bug in load-machine-register!: If machine-register is a
floating-point register, it is not OK to ask for any alias.

31 years agoAllow disload to load into a compiler-less image.
Guillermo J. Rozas [Thu, 1 Jul 1993 00:24:28 +0000 (00:24 +0000)]
Allow disload to load into a compiler-less image.

31 years agoPretty up the output.
Guillermo J. Rozas [Thu, 1 Jul 1993 00:15:44 +0000 (00:15 +0000)]
Pretty up the output.

31 years agoInitial revision
Guillermo J. Rozas [Wed, 30 Jun 1993 23:58:12 +0000 (23:58 +0000)]
Initial revision

31 years agoMake check-stage more tolerant of missing files.
Guillermo J. Rozas [Wed, 30 Jun 1993 21:39:32 +0000 (21:39 +0000)]
Make check-stage more tolerant of missing files.

31 years agoAdd hooks for faster primitive invocation, faster allocation of
Guillermo J. Rozas [Wed, 30 Jun 1993 03:35:47 +0000 (03:35 +0000)]
Add hooks for faster primitive invocation, faster allocation of
vectors, strings, and floating-point vectors, and for non-boxing
flonum operations.

31 years agoEliminate unnecessary declaration.
Chris Hanson [Tue, 29 Jun 1993 23:22:52 +0000 (23:22 +0000)]
Eliminate unnecessary declaration.

31 years agoRename global-2 interrupt bit to after-gc, and add new mask timer-ok.
Chris Hanson [Tue, 29 Jun 1993 23:22:30 +0000 (23:22 +0000)]
Rename global-2 interrupt bit to after-gc, and add new mask timer-ok.

31 years agoChange *.touch to *.tch in "clean" rule.
Chris Hanson [Tue, 29 Jun 1993 23:12:54 +0000 (23:12 +0000)]
Change *.touch to *.tch in "clean" rule.

31 years agoThis runtime system requires microcode version 11.133 or later.
Chris Hanson [Tue, 29 Jun 1993 22:58:21 +0000 (22:58 +0000)]
This runtime system requires microcode version 11.133 or later.

Implement a new interrupt that is signalled after each GC and which
runs at roughly the same priority as character interrupts.  All GC
daemons, with the exception of the object hash daemon, run in this
interrupt handler rather than during the GC proper.  This allows GC
daemons to allocate storage and prevents GC daemons from running
during critical sections.

31 years agoRedefine the GLOBAL-2 interrupt bit to be the interrupt that is
Chris Hanson [Tue, 29 Jun 1993 22:53:56 +0000 (22:53 +0000)]
Redefine the GLOBAL-2 interrupt bit to be the interrupt that is
signalled after each GC.

Change the interrupt code to allow the runtime system to specify what
interrupt mask should be installed immediately before an interrupt
handler is invoked.  This allows the runtime system to override the
simple prioritized masking being performed by the microcode.

31 years agoDisable some primitives until the back end learns how to handle them.
Guillermo J. Rozas [Tue, 29 Jun 1993 22:29:10 +0000 (22:29 +0000)]
Disable some primitives until the back end learns how to handle them.

31 years agoChange flonum addressing units.
Guillermo J. Rozas [Tue, 29 Jun 1993 22:23:57 +0000 (22:23 +0000)]
Change flonum addressing units.

31 years agoDisable some primitive open coding until the back end is taught how to
Guillermo J. Rozas [Tue, 29 Jun 1993 22:23:16 +0000 (22:23 +0000)]
Disable some primitive open coding until the back end is taught how to
do it.

31 years agoAdd slot in fixed objects vector for interrupt masks.
Chris Hanson [Tue, 29 Jun 1993 21:37:05 +0000 (21:37 +0000)]
Add slot in fixed objects vector for interrupt masks.

31 years agoFix shadowing problem.
Guillermo J. Rozas [Tue, 29 Jun 1993 08:41:48 +0000 (08:41 +0000)]
Fix shadowing problem.

31 years agoFix check that only allows primitives and compiled procedures.
Guillermo J. Rozas [Tue, 29 Jun 1993 04:35:29 +0000 (04:35 +0000)]
Fix check that only allows primitives and compiled procedures.
Any procedures are legal here.

31 years agoDefine "clean.world".
Chris Hanson [Mon, 28 Jun 1993 02:29:58 +0000 (02:29 +0000)]
Define "clean.world".

31 years agoUse "-std" switch to make compiler ANSI.
Chris Hanson [Mon, 28 Jun 1993 02:29:40 +0000 (02:29 +0000)]
Use "-std" switch to make compiler ANSI.

31 years agoGeneralize variable number of arguments code to work in non-ANSI
Chris Hanson [Mon, 28 Jun 1993 02:29:10 +0000 (02:29 +0000)]
Generalize variable number of arguments code to work in non-ANSI
implementations.

31 years agoDon't include <stdarg.h> because it might not be available in a given
Chris Hanson [Mon, 28 Jun 1993 02:28:34 +0000 (02:28 +0000)]
Don't include <stdarg.h> because it might not be available in a given
implementation.  Don't declare voutf because it's not referred to and
it requires <stdarg.h>.

31 years agoOn Sony, <unistd.h> defines ioctl.
Chris Hanson [Mon, 28 Jun 1993 02:26:53 +0000 (02:26 +0000)]
On Sony, <unistd.h> defines ioctl.

31 years agoFix incorrect declaration: static declarations cannot be local, and
Chris Hanson [Mon, 28 Jun 1993 02:26:17 +0000 (02:26 +0000)]
Fix incorrect declaration: static declarations cannot be local, and
ANSI declaration arglists cannot be empty.

31 years agoFinish fixing the problem.
Guillermo J. Rozas [Fri, 25 Jun 1993 23:14:58 +0000 (23:14 +0000)]
Finish fixing the problem.

31 years agoFix spurious I/O introduced in the last edit.
Guillermo J. Rozas [Fri, 25 Jun 1993 23:11:03 +0000 (23:11 +0000)]
Fix spurious I/O introduced in the last edit.

31 years agoFix problem: Nullified branch instruction cannot be moved before an
Guillermo J. Rozas [Fri, 25 Jun 1993 22:56:49 +0000 (22:56 +0000)]
Fix problem: Nullified branch instruction cannot be moved before an
instruction that the branch tensioner may expand into multiple
instructions.

31 years agoMinor problems in last update.
Guillermo J. Rozas [Fri, 25 Jun 1993 21:18:52 +0000 (21:18 +0000)]
Minor problems in last update.

31 years agoMake the order of invocation of gc-daemons the same as the order of
Guillermo J. Rozas [Fri, 25 Jun 1993 21:09:55 +0000 (21:09 +0000)]
Make the order of invocation of gc-daemons the same as the order of
"declaration", and make the rehash daemon be the first.

31 years agoChange gc-daemons and secondary-gc-daemons into queues so that the
Guillermo J. Rozas [Fri, 25 Jun 1993 21:09:08 +0000 (21:09 +0000)]
Change gc-daemons and secondary-gc-daemons into queues so that the
daemons are invoked in the order in which they are "declared".

31 years agoAdd queue->list and queue->list/unsafe operations.
Guillermo J. Rozas [Fri, 25 Jun 1993 21:08:38 +0000 (21:08 +0000)]
Add queue->list and queue->list/unsafe operations.

31 years agoReorder initializations so that hash is initialized before
Guillermo J. Rozas [Fri, 25 Jun 1993 21:08:16 +0000 (21:08 +0000)]
Reorder initializations so that hash is initialized before
primitive-io, to make the rehash GC daemon the first one to execute.

31 years agoReorder some stuff so that when a boot-time error fails because of an
Guillermo J. Rozas [Fri, 25 Jun 1993 20:57:07 +0000 (20:57 +0000)]
Reorder some stuff so that when a boot-time error fails because of an
unbound variable, the stack trace prints the name of the variable.

31 years agoChange .z suffix to .gz to correspond to change in gzip.
Chris Hanson [Fri, 25 Jun 1993 20:52:11 +0000 (20:52 +0000)]
Change .z suffix to .gz to correspond to change in gzip.

31 years agoFix some capitalization problems.
Guillermo J. Rozas [Thu, 24 Jun 1993 22:26:22 +0000 (22:26 +0000)]
Fix some capitalization problems.

31 years agoFix copyright.
Guillermo J. Rozas [Thu, 24 Jun 1993 22:00:05 +0000 (22:00 +0000)]
Fix copyright.

31 years agodefine FILE_READABLE.
Guillermo J. Rozas [Thu, 24 Jun 1993 21:58:42 +0000 (21:58 +0000)]
define FILE_READABLE.

31 years agoGlobal NT merge.
Guillermo J. Rozas [Thu, 24 Jun 1993 21:55:37 +0000 (21:55 +0000)]
Global NT merge.

31 years agoFix bug in search_for_primitive. If the second allocate_marked_vector
Guillermo J. Rozas [Thu, 24 Jun 1993 18:11:30 +0000 (18:11 +0000)]
Fix bug in search_for_primitive.  If the second allocate_marked_vector
call aborted because of a GC, the global variables were left in an
inconsistent state.

31 years agoFix bug if COMPILED_OBJECTS is empty.
Guillermo J. Rozas [Thu, 24 Jun 1993 18:09:03 +0000 (18:09 +0000)]
Fix bug if COMPILED_OBJECTS is empty.

31 years agoRename hard-params to hard-par, and improve "make clean"
Guillermo J. Rozas [Thu, 24 Jun 1993 15:55:22 +0000 (15:55 +0000)]
Rename hard-params to hard-par, and improve "make clean"

31 years agoRename hard-params to hard-par, and improve "make clean"
Guillermo J. Rozas [Thu, 24 Jun 1993 15:49:51 +0000 (15:49 +0000)]
Rename hard-params to hard-par, and improve "make clean"

31 years agoRemove echo.
Guillermo J. Rozas [Thu, 24 Jun 1993 15:18:20 +0000 (15:18 +0000)]
Remove echo.

31 years agoUpdate some defaults.
Guillermo J. Rozas [Thu, 24 Jun 1993 08:25:15 +0000 (08:25 +0000)]
Update some defaults.

31 years agoAdd ansidecl.h to define DOTS and friends.
Guillermo J. Rozas [Thu, 24 Jun 1993 08:22:21 +0000 (08:22 +0000)]
Add ansidecl.h to define DOTS and friends.

31 years agoGlobal NT merge.
Guillermo J. Rozas [Thu, 24 Jun 1993 08:13:43 +0000 (08:13 +0000)]
Global NT merge.

31 years agoInitial revision
Guillermo J. Rozas [Thu, 24 Jun 1993 08:07:26 +0000 (08:07 +0000)]
Initial revision

31 years agoGlobal NT merge.
Guillermo J. Rozas [Thu, 24 Jun 1993 08:05:20 +0000 (08:05 +0000)]
Global NT merge.

31 years agoFix comment.
Guillermo J. Rozas [Thu, 24 Jun 1993 07:59:37 +0000 (07:59 +0000)]
Fix comment.

31 years agoInitial revision
Guillermo J. Rozas [Thu, 24 Jun 1993 07:50:32 +0000 (07:50 +0000)]
Initial revision

31 years agoFix bug in automatic edit.
Guillermo J. Rozas [Thu, 24 Jun 1993 07:32:37 +0000 (07:32 +0000)]
Fix bug in automatic edit.

31 years agoFix RCS header.
Guillermo J. Rozas [Thu, 24 Jun 1993 07:27:39 +0000 (07:27 +0000)]
Fix RCS header.

31 years agoChange RCS header.
Guillermo J. Rozas [Thu, 24 Jun 1993 07:25:11 +0000 (07:25 +0000)]
Change RCS header.

31 years agoChange to new format
Guillermo J. Rozas [Thu, 24 Jun 1993 07:15:59 +0000 (07:15 +0000)]
Change to new format

31 years agoFix RCS header.
Guillermo J. Rozas [Thu, 24 Jun 1993 07:13:58 +0000 (07:13 +0000)]
Fix RCS header.

31 years agoFixing the RCS header
Guillermo J. Rozas [Thu, 24 Jun 1993 07:10:33 +0000 (07:10 +0000)]
Fixing the RCS header

31 years agoInitial revision
Guillermo J. Rozas [Thu, 24 Jun 1993 06:59:14 +0000 (06:59 +0000)]
Initial revision

31 years agoGlobal NT merge.
Guillermo J. Rozas [Thu, 24 Jun 1993 06:49:03 +0000 (06:49 +0000)]
Global NT merge.

31 years agoGlobal NT merge.
Guillermo J. Rozas [Thu, 24 Jun 1993 06:26:55 +0000 (06:26 +0000)]
Global NT merge.

31 years agoGlobal NT merge.
Guillermo J. Rozas [Thu, 24 Jun 1993 05:58:01 +0000 (05:58 +0000)]
Global NT merge.

31 years agoRemove left-over printfs.
Guillermo J. Rozas [Thu, 24 Jun 1993 05:52:20 +0000 (05:52 +0000)]
Remove left-over printfs.