mit-scheme.git
37 years agoRewrote some comments and trivia, and moved/added some macros for
Panayotis Skordos [Mon, 19 Oct 1987 20:51:06 +0000 (20:51 +0000)]
Rewrote some comments and trivia, and moved/added some macros for
arrays.

37 years agoAdded array-division, rewrote some comments and trivia, and moved some
Panayotis Skordos [Mon, 19 Oct 1987 20:46:14 +0000 (20:46 +0000)]
Added array-division, rewrote some comments and trivia, and moved some
macros to array.h

37 years agoInitial revision
Chris Hanson [Mon, 19 Oct 1987 19:44:09 +0000 (19:44 +0000)]
Initial revision

37 years agoFix bug: missing integration declarations prevent proper inline coding
Chris Hanson [Wed, 14 Oct 1987 22:03:14 +0000 (22:03 +0000)]
Fix bug: missing integration declarations prevent proper inline coding
of structure accessors.

37 years agoFixed typo in C_Image_Periodic_Shift: "-" should be "+" for negative
Panayotis Skordos [Tue, 13 Oct 1987 03:42:27 +0000 (03:42 +0000)]
Fixed typo in C_Image_Periodic_Shift: "-" should be "+" for negative
shifts. The bug had not detected because positive shifts worked just
fine.

37 years agoFix bug introduced with removal of danger bits. EQ? cannot be used to
Chris Hanson [Mon, 12 Oct 1987 20:59:10 +0000 (20:59 +0000)]
Fix bug introduced with removal of danger bits.  EQ? cannot be used to
compare two reduction pointers or two vertebra pointers since they can
have different types.

37 years agoNew microcode version.
Guillermo J. Rozas [Fri, 9 Oct 1987 18:48:14 +0000 (18:48 +0000)]
New microcode version.

37 years agoEliminate all remnants of danger bits.
Guillermo J. Rozas [Fri, 9 Oct 1987 18:47:01 +0000 (18:47 +0000)]
Eliminate all remnants of danger bits.
- History now uses two distinct types for marked and unmarked versions.
- Stacklets/control points have a separate word used as the reuse flag.

37 years agoEliminate all remnants of danger bits.
Guillermo J. Rozas [Fri, 9 Oct 1987 17:19:03 +0000 (17:19 +0000)]
Eliminate all remnants of danger bits.
- History now uses two distinct types for marked and unmarked versions.
- Stacklets/control points have a separate word used as the reuse flag.

37 years agoEliminate all remnants of danger bits.
Guillermo J. Rozas [Fri, 9 Oct 1987 16:15:41 +0000 (16:15 +0000)]
Eliminate all remnants of danger bits.
- History now uses two distinct types for marked and unmarked versions.
- Stacklets/control points have a separate word used as the reuse flag.

37 years agoDo not transmit "end-of-control-g" sequence back to emacs unless the
Chris Hanson [Fri, 9 Oct 1987 14:41:00 +0000 (14:41 +0000)]
Do not transmit "end-of-control-g" sequence back to emacs unless the
interrupt character is really a control g.

37 years agoFix long standing bug in HALT. Restartable_Exit was being invoked
Guillermo J. Rozas [Thu, 8 Oct 1987 17:04:49 +0000 (17:04 +0000)]
Fix long standing bug in HALT.  Restartable_Exit was being invoked
twice.

37 years agoMinor bug:
Guillermo J. Rozas [Mon, 5 Oct 1987 21:48:32 +0000 (21:48 +0000)]
Minor bug:
compiler_cache_assignment was passing the wrong kind argument to
compiler_cache_reference.

37 years ago- Make assignments use their own caches, distinct from those use by
Guillermo J. Rozas [Mon, 5 Oct 1987 20:45:00 +0000 (20:45 +0000)]
- Make assignments use their own caches, distinct from those use by
references.
- Turn uuo links on by default.
- Partly implement the CONSTANT declaration.
- Add some more declaration language (ALL and NONE).
- Make the variable set be computed at the right point during graph
construction.

37 years ago- Make assignments use their own caches, distinct from those use by
Guillermo J. Rozas [Mon, 5 Oct 1987 20:25:28 +0000 (20:25 +0000)]
- Make assignments use their own caches, distinct from those use by
references.
- Turn uuo links on by default.
- Partly implement the CONSTANT declaration.
- Add some more declaration language (ALL and NONE).
- Make the variable set be computed at the right point during graph
construction.

37 years ago*** empty log message ***
Guillermo J. Rozas [Mon, 5 Oct 1987 19:25:33 +0000 (19:25 +0000)]
*** empty log message ***

37 years agoChange variable caches so assignments and references go through
Guillermo J. Rozas [Mon, 5 Oct 1987 18:37:10 +0000 (18:37 +0000)]
Change variable caches so assignments and references go through
different caches.  This allows uuo links to be turned on by default.

37 years agoFixed bug in division.
Henry M. Wu [Fri, 2 Oct 1987 23:57:57 +0000 (23:57 +0000)]
Fixed bug in division.

37 years agoRepaginate, make last set of changes clearer. Return value must
Chris Hanson [Thu, 24 Sep 1987 06:27:43 +0000 (06:27 +0000)]
Repaginate, make last set of changes clearer.  Return value must
always be true (previously it was undefined in some cases).

37 years agoFix relocation of stack environments on band restore.
Guillermo J. Rozas [Mon, 21 Sep 1987 21:56:14 +0000 (21:56 +0000)]
Fix relocation of stack environments on band restore.

37 years agoTo add emacs interface hacks to flush input on control-g. - Aab
Gerald Jay Sussman [Fri, 18 Sep 1987 03:25:31 +0000 (03:25 +0000)]
To add emacs interface hacks to flush input on control-g. - Aab

37 years agoAdd a few special utilities for generic arithmetic.
Guillermo J. Rozas [Thu, 3 Sep 1987 05:17:16 +0000 (05:17 +0000)]
Add a few special utilities for generic arithmetic.

37 years agoInitial revision
Guillermo J. Rozas [Thu, 3 Sep 1987 05:13:59 +0000 (05:13 +0000)]
Initial revision

37 years agoFix typo from last change.
Chris Hanson [Mon, 31 Aug 1987 21:50:31 +0000 (21:50 +0000)]
Fix typo from last change.

37 years agoDelete noop nodes BEFORE compressing the bblocks. Otherwise the
Chris Hanson [Mon, 31 Aug 1987 21:19:10 +0000 (21:19 +0000)]
Delete noop nodes BEFORE compressing the bblocks.  Otherwise the
bblock compressor will encounter them and get confused.

37 years agoMake new interface for using noop nodes that controls both allocation
Chris Hanson [Mon, 31 Aug 1987 21:17:26 +0000 (21:17 +0000)]
Make new interface for using noop nodes that controls both allocation
and deletion of the nodes.

37 years agoDefine with-temporary-register-copy! for 3 operand instructions.
Guillermo J. Rozas [Fri, 28 Aug 1987 21:54:15 +0000 (21:54 +0000)]
Define with-temporary-register-copy! for 3 operand instructions.

37 years agoFix compiled_entry_to_block, which was branching on the wrong condition.
Guillermo J. Rozas [Fri, 28 Aug 1987 21:29:37 +0000 (21:29 +0000)]
Fix compiled_entry_to_block, which was branching on the wrong condition.

37 years agoAdd with-register-copy-alias! for the benefit of machines with 3
Guillermo J. Rozas [Fri, 28 Aug 1987 18:51:09 +0000 (18:51 +0000)]
Add with-register-copy-alias! for the benefit of machines with 3
operand instructions.

37 years agoDelete `complete-garbage-collect' from set of unsafe primitives.
Chris Hanson [Thu, 27 Aug 1987 21:32:46 +0000 (21:32 +0000)]
Delete `complete-garbage-collect' from set of unsafe primitives.
Delete structure references from set of constant foldable primitives.

37 years agoFix bug which caused dangling nodes to be left around when true or
Chris Hanson [Wed, 26 Aug 1987 01:07:42 +0000 (01:07 +0000)]
Fix bug which caused dangling nodes to be left around when true or
false pcfg's were connected to other things.

37 years agoFix bug which caused (string->number "2e-get") to signal an error
Chris Hanson [Tue, 25 Aug 1987 20:49:23 +0000 (20:49 +0000)]
Fix bug which caused (string->number "2e-get") to signal an error
instead of returning #F.

37 years agoFix bug in bchscheme. The current disk position was not being updated
Guillermo J. Rozas [Tue, 25 Aug 1987 20:37:58 +0000 (20:37 +0000)]
Fix bug in bchscheme.  The current disk position was not being updated
in some cases.

37 years agoFix bug in can-integrate?
Guillermo J. Rozas [Tue, 25 Aug 1987 02:18:38 +0000 (02:18 +0000)]
Fix bug in can-integrate?

37 years agoDisable copier definitions by default.
Chris Hanson [Mon, 24 Aug 1987 22:22:04 +0000 (22:22 +0000)]
Disable copier definitions by default.

37 years agoMake-effective-address is no longer integrated because the early
Guillermo J. Rozas [Mon, 24 Aug 1987 21:22:04 +0000 (21:22 +0000)]
Make-effective-address is no longer integrated because the early
instruction code expects it not to be integrated.

37 years agoMissing comma in early expansion of operands.
Guillermo J. Rozas [Mon, 24 Aug 1987 21:20:47 +0000 (21:20 +0000)]
Missing comma in early expansion of operands.

37 years agoMissing argument in call to scode/combination-components.
Guillermo J. Rozas [Mon, 24 Aug 1987 20:37:11 +0000 (20:37 +0000)]
Missing argument in call to scode/combination-components.

37 years agoFix integration of the result of applying early transformers.
Guillermo J. Rozas [Mon, 24 Aug 1987 19:45:33 +0000 (19:45 +0000)]
Fix integration of the result of applying early transformers.

37 years agoDisplacements are simplified. They no longer have to discriminate
Guillermo J. Rozas [Mon, 24 Aug 1987 15:01:13 +0000 (15:01 +0000)]
Displacements are simplified.  They no longer have to discriminate
between @PCO and @PCR.

37 years agoDisplacements are simplified. They no longer have to discriminate
Guillermo J. Rozas [Mon, 24 Aug 1987 14:43:17 +0000 (14:43 +0000)]
Displacements are simplified.  They no longer have to discriminate
between @PCO and @PCR.

37 years agoEliminating unused coercions.
Guillermo J. Rozas [Mon, 24 Aug 1987 14:32:51 +0000 (14:32 +0000)]
Eliminating unused coercions.

37 years agoMissing backquotes.
Guillermo J. Rozas [Sun, 23 Aug 1987 16:32:17 +0000 (16:32 +0000)]
Missing backquotes.

37 years agoUnlexperize DEFINE-TRANSFORMER.
Guillermo J. Rozas [Sun, 23 Aug 1987 08:15:59 +0000 (08:15 +0000)]
Unlexperize DEFINE-TRANSFORMER.

37 years agoFix immediate effective address early processing.
Guillermo J. Rozas [Sun, 23 Aug 1987 07:56:16 +0000 (07:56 +0000)]
Fix immediate effective address early processing.

37 years agoFix the directory where infutl lives.
Guillermo J. Rozas [Sun, 23 Aug 1987 03:34:41 +0000 (03:34 +0000)]
Fix the directory where infutl lives.

37 years agoInitial revision
Guillermo J. Rozas [Sat, 22 Aug 1987 22:51:27 +0000 (22:51 +0000)]
Initial revision

37 years agoMinor modifications for early instruction processing.
Guillermo J. Rozas [Sat, 22 Aug 1987 22:44:35 +0000 (22:44 +0000)]
Minor modifications for early instruction processing.

37 years agoMinor modifications for early instruction processing.
Guillermo J. Rozas [Sat, 22 Aug 1987 22:10:08 +0000 (22:10 +0000)]
Minor modifications for early instruction processing.

37 years agoMinor modifications for early instruction processing.
Guillermo J. Rozas [Sat, 22 Aug 1987 22:01:26 +0000 (22:01 +0000)]
Minor modifications for early instruction processing.

37 years agoFix displacements.
Guillermo J. Rozas [Fri, 21 Aug 1987 14:47:41 +0000 (14:47 +0000)]
Fix displacements.

37 years agoFix PUSHA opcodes.
Guillermo J. Rozas [Fri, 21 Aug 1987 14:31:39 +0000 (14:31 +0000)]
Fix PUSHA opcodes.

37 years agoMissing comma.
Guillermo J. Rozas [Fri, 21 Aug 1987 02:49:28 +0000 (02:49 +0000)]
Missing comma.

37 years agoFix order of argument evaluation bug in make-instruction-parser.
Guillermo J. Rozas [Fri, 21 Aug 1987 02:21:17 +0000 (02:21 +0000)]
Fix order of argument evaluation bug in make-instruction-parser.

37 years agoMinor change to satisfy the VMS C compiler which does not like arrays
Guillermo J. Rozas [Thu, 20 Aug 1987 21:16:44 +0000 (21:16 +0000)]
Minor change to satisfy the VMS C compiler which does not like arrays
in registers.

37 years ago& effective address was not being syntaxed correctly.
Guillermo J. Rozas [Thu, 20 Aug 1987 20:43:25 +0000 (20:43 +0000)]
& effective address was not being syntaxed correctly.

37 years agoOperands were not being integrated into instruction stream correctly.
Guillermo J. Rozas [Thu, 20 Aug 1987 20:42:12 +0000 (20:42 +0000)]
Operands were not being integrated into instruction stream correctly.

37 years agoAdd definition of DEFINE-TRIVIAL-INSTRUCTION.
Guillermo J. Rozas [Thu, 20 Aug 1987 19:33:30 +0000 (19:33 +0000)]
Add definition of DEFINE-TRIVIAL-INSTRUCTION.

37 years agoFix expansion of DEFINE-INSTRUCTION.
Guillermo J. Rozas [Thu, 20 Aug 1987 19:13:58 +0000 (19:13 +0000)]
Fix expansion of DEFINE-INSTRUCTION.

37 years agoFix (CVT D F ...) opcode.
Guillermo J. Rozas [Thu, 20 Aug 1987 18:21:57 +0000 (18:21 +0000)]
Fix (CVT D F ...) opcode.

37 years agoFix Typo.
Guillermo J. Rozas [Thu, 20 Aug 1987 18:03:45 +0000 (18:03 +0000)]
Fix Typo.

37 years agoReimplement pathname abstraction using vectors instead of
Chris Hanson [Thu, 20 Aug 1987 04:03:53 +0000 (04:03 +0000)]
Reimplement pathname abstraction using vectors instead of
environments.  Install truename code here because rest of completion
code is being deleted from the runtime system.  If `pathname-newest'
is false, then NEWEST version number handling is disabled.

37 years agoNow if `pathname-newest' is false, it indicates that NEWEST versions
Chris Hanson [Thu, 20 Aug 1987 03:59:56 +0000 (03:59 +0000)]
Now if `pathname-newest' is false, it indicates that NEWEST versions
should not be used.

37 years agoMove `file-exists?' into the pathname code since it is strongly
Chris Hanson [Thu, 20 Aug 1987 03:06:21 +0000 (03:06 +0000)]
Move `file-exists?' into the pathname code since it is strongly
related to that.

37 years agoDefine `pathname-newest' in terms of `truename-exists?'.
Chris Hanson [Thu, 20 Aug 1987 03:02:50 +0000 (03:02 +0000)]
Define `pathname-newest' in terms of `truename-exists?'.

37 years agoAdd `pathname-newest' operation.
Chris Hanson [Thu, 20 Aug 1987 02:44:54 +0000 (02:44 +0000)]
Add `pathname-newest' operation.

37 years agoInitial revision
Guillermo J. Rozas [Wed, 19 Aug 1987 05:31:16 +0000 (05:31 +0000)]
Initial revision

37 years agoSeparate opcode from operand in BUG instruction.
Guillermo J. Rozas [Wed, 19 Aug 1987 04:40:53 +0000 (04:40 +0000)]
Separate opcode from operand in BUG instruction.

37 years agoFix syntaxing of displacement fields.
Guillermo J. Rozas [Tue, 18 Aug 1987 21:24:54 +0000 (21:24 +0000)]
Fix syntaxing of displacement fields.

37 years agoFix syntactic bug in definition of conditional branch (B) instruction.
Guillermo J. Rozas [Tue, 18 Aug 1987 21:19:42 +0000 (21:19 +0000)]
Fix syntactic bug in definition of conditional branch (B) instruction.

37 years agoTypo in field instructions.
Guillermo J. Rozas [Tue, 18 Aug 1987 20:23:58 +0000 (20:23 +0000)]
Typo in field instructions.

37 years ago#xOC -> #x0C
Guillermo J. Rozas [Tue, 18 Aug 1987 19:17:01 +0000 (19:17 +0000)]
#xOC -> #x0C

37 years agoFix parenthesis mismatch.
Guillermo J. Rozas [Tue, 18 Aug 1987 18:29:18 +0000 (18:29 +0000)]
Fix parenthesis mismatch.

37 years agoAdd redundant information for the benefit of the disassembler.
Guillermo J. Rozas [Tue, 18 Aug 1987 08:23:38 +0000 (08:23 +0000)]
Add redundant information for the benefit of the disassembler.

37 years agoAdd redundant information for the benefit of the disassembler.
Guillermo J. Rozas [Tue, 18 Aug 1987 08:10:44 +0000 (08:10 +0000)]
Add redundant information for the benefit of the disassembler.

37 years agoAdd redundant information for the benefit of the disassembler.
Guillermo J. Rozas [Tue, 18 Aug 1987 07:56:27 +0000 (07:56 +0000)]
Add redundant information for the benefit of the disassembler.

37 years agoFix bug in read/write-bits! and make them work on the VAX.
Guillermo J. Rozas [Mon, 17 Aug 1987 19:33:01 +0000 (19:33 +0000)]
Fix bug in read/write-bits! and make them work on the VAX.

37 years agoDo no constant fold operations on mutable structures.
Chris Hanson [Mon, 17 Aug 1987 18:16:27 +0000 (18:16 +0000)]
Do no constant fold operations on mutable structures.

37 years agoPatch for vax cpp bug.
Guillermo J. Rozas [Sun, 16 Aug 1987 15:48:31 +0000 (15:48 +0000)]
Patch for vax cpp bug.

37 years agoInitial revision
Guillermo J. Rozas [Fri, 14 Aug 1987 05:05:26 +0000 (05:05 +0000)]
Initial revision

37 years agoAdd self adjusting addressing modes.
Guillermo J. Rozas [Fri, 14 Aug 1987 05:03:45 +0000 (05:03 +0000)]
Add self adjusting addressing modes.

37 years agoAdd variable width syllables.
Guillermo J. Rozas [Fri, 14 Aug 1987 05:02:01 +0000 (05:02 +0000)]
Add variable width syllables.

37 years agoMake instruction sequencing independent of machine byte ordering.
Guillermo J. Rozas [Thu, 13 Aug 1987 02:01:16 +0000 (02:01 +0000)]
Make instruction sequencing independent of machine byte ordering.

37 years agoInitial revision
Guillermo J. Rozas [Thu, 13 Aug 1987 01:14:46 +0000 (01:14 +0000)]
Initial revision

37 years agoAdd displacement coercions.
Guillermo J. Rozas [Thu, 13 Aug 1987 01:13:28 +0000 (01:13 +0000)]
Add displacement coercions.

37 years agoChange to OS_read_char_ready_p, OS_System_Clock, and
Guillermo J. Rozas [Wed, 12 Aug 1987 21:22:33 +0000 (21:22 +0000)]
Change to OS_read_char_ready_p, OS_System_Clock, and
OS_real_time_clock for machines where there is no clock available.

37 years agoAllocate rgraphs with correct size.
Chris Hanson [Tue, 11 Aug 1987 06:11:48 +0000 (06:11 +0000)]
Allocate rgraphs with correct size.

37 years agoFix bug in defaulting of keyword constructor arguments.
Chris Hanson [Tue, 11 Aug 1987 05:41:01 +0000 (05:41 +0000)]
Fix bug in defaulting of keyword constructor arguments.

37 years agoInitial revision
Chris Hanson [Tue, 11 Aug 1987 05:34:03 +0000 (05:34 +0000)]
Initial revision

37 years agoRemove signed character dependencies.
Guillermo J. Rozas [Mon, 10 Aug 1987 21:36:57 +0000 (21:36 +0000)]
Remove signed character dependencies.

37 years agoMinor tuning of bchscheme parameters.
Guillermo J. Rozas [Mon, 10 Aug 1987 21:26:04 +0000 (21:26 +0000)]
Minor tuning of bchscheme parameters.

37 years agoUse prealloc to improve performance of sequential reads/writes.
Guillermo J. Rozas [Mon, 10 Aug 1987 21:25:07 +0000 (21:25 +0000)]
Use prealloc to improve performance of sequential reads/writes.
Cache the current disk position to avoid lseek if the next read/write
is sequential.

37 years agoTune the disk buffer size.
Guillermo J. Rozas [Mon, 10 Aug 1987 21:11:21 +0000 (21:11 +0000)]
Tune the disk buffer size.

37 years agoAdded READ-IMAGE-FROM-2BINT-FILE
Panayotis Skordos [Mon, 10 Aug 1987 20:27:42 +0000 (20:27 +0000)]
Added READ-IMAGE-FROM-2BINT-FILE
2BINT := putw(nrows),putw(ncols), followed by
2byte integers (high order byte first).
Saves half space of previous CBIN-images (putw stores 4 bytes).
At some point I will throw away the old
read-image-from-cbin-file. --pas

37 years agoAdd bit-string-append-reversed for use by the compiler.
Guillermo J. Rozas [Mon, 10 Aug 1987 20:26:15 +0000 (20:26 +0000)]
Add bit-string-append-reversed for use by the compiler.

37 years agoAdded READ-IMAGE-FROM-2BINT-FILE
Panayotis Skordos [Mon, 10 Aug 1987 20:06:33 +0000 (20:06 +0000)]
Added READ-IMAGE-FROM-2BINT-FILE
2BINT := putw(nrows),putw(ncols), followed by
2byte integers (high order byte first).
Saves half space of previous CBIN-images (putw stores 4 bytes).
At some point I will throw away the old
read-image-from-cbin-file. --pas

37 years agoMark the graph when compressing bblocks to prevent walking parts of it
Chris Hanson [Sat, 8 Aug 1987 23:21:07 +0000 (23:21 +0000)]
Mark the graph when compressing bblocks to prevent walking parts of it
twice.  Also be more careful in pblock case since stashed value of
alternative could have been deleted from the graph by the compression
of the consequent.

37 years agoCompress blocks with a separate set of node marks since that algorithm
Chris Hanson [Sat, 8 Aug 1987 23:19:11 +0000 (23:19 +0000)]
Compress blocks with a separate set of node marks since that algorithm
must mark the graph.

37 years agoDiscard information a bit more aggressively.
Chris Hanson [Sat, 8 Aug 1987 22:03:38 +0000 (22:03 +0000)]
Discard information a bit more aggressively.

37 years agoImplement rule for cache-unassigned? trap.
Chris Hanson [Fri, 7 Aug 1987 22:52:30 +0000 (22:52 +0000)]
Implement rule for cache-unassigned? trap.