mit-scheme.git
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.

37 years ago*** empty log message ***
Chris Hanson [Fri, 7 Aug 1987 17:44:23 +0000 (17:44 +0000)]
*** empty log message ***

37 years agoFix typo.
Chris Hanson [Fri, 7 Aug 1987 17:14:20 +0000 (17:14 +0000)]
Fix typo.

37 years agoRedesign RTL data structures. New structures have CFG nodes which
Chris Hanson [Fri, 7 Aug 1987 17:13:18 +0000 (17:13 +0000)]
Redesign RTL data structures.  New structures have CFG nodes which
represent basic blocks.  Each basic block contains one or more RTL
instructions.  Resulting data structures use considerably less storage
than old representation.

37 years agoInitial revision
Chris Hanson [Fri, 7 Aug 1987 17:12:59 +0000 (17:12 +0000)]
Initial revision

37 years agoInitial revision
Chris Hanson [Fri, 7 Aug 1987 17:06:12 +0000 (17:06 +0000)]
Initial revision

37 years agoMake Psbtobin and Bintopsb handle bit strings.
Guillermo J. Rozas [Fri, 7 Aug 1987 15:36:46 +0000 (15:36 +0000)]
Make Psbtobin and Bintopsb handle bit strings.

37 years agoInsert page breaks between blocks.
Guillermo J. Rozas [Thu, 6 Aug 1987 20:01:43 +0000 (20:01 +0000)]
Insert page breaks between blocks.

37 years agoAdd bit-string-xor! primitive.
Guillermo J. Rozas [Thu, 6 Aug 1987 19:58:57 +0000 (19:58 +0000)]
Add bit-string-xor! primitive.

37 years agoAdd bit-string-xor! primitive.
Guillermo J. Rozas [Thu, 6 Aug 1987 19:29:19 +0000 (19:29 +0000)]
Add bit-string-xor! primitive.

37 years agoAdd bit-string-xor! primitive.
Guillermo J. Rozas [Thu, 6 Aug 1987 19:10:08 +0000 (19:10 +0000)]
Add bit-string-xor! primitive.
Comment out Gator primitives.

37 years agoFix typo in config.h
Guillermo J. Rozas [Thu, 6 Aug 1987 18:05:05 +0000 (18:05 +0000)]
Fix typo in config.h
Add bit-string-xor! primitive.

37 years agoFALS_PYR ==> FASL_PYR
Guillermo J. Rozas [Thu, 6 Aug 1987 18:03:52 +0000 (18:03 +0000)]
FALS_PYR ==> FASL_PYR

37 years agoFix weak pairs for bchscheme.
Chris Hanson [Thu, 6 Aug 1987 06:07:46 +0000 (06:07 +0000)]
Fix weak pairs for bchscheme.

37 years ago- Make bitstr.c work on machines with "little indian" byte ordering
Guillermo J. Rozas [Thu, 6 Aug 1987 05:05:07 +0000 (05:05 +0000)]
- Make bitstr.c work on machines with "little indian" byte ordering
convention by parameterizing bitstr.h according to byte order.

- Make Wsize compute the byte ordering information.

- Add changes for Alliant.

37 years ago- Make bitstr.c work on machines with "little indian" byte ordering
Guillermo J. Rozas [Thu, 6 Aug 1987 05:01:39 +0000 (05:01 +0000)]
- Make bitstr.c work on machines with "little indian" byte ordering
convention by parameterizing bitstr.h according to byte order.

- Make Wsize compute the byte ordering information.

- Add changes for Alliant.

37 years agoFix bug in block->variable-names.
Guillermo J. Rozas [Thu, 6 Aug 1987 03:38:03 +0000 (03:38 +0000)]
Fix bug in block->variable-names.

37 years agoFix bug in allocate_string which was making impurify die.
Guillermo J. Rozas [Wed, 5 Aug 1987 07:33:16 +0000 (07:33 +0000)]
Fix bug in allocate_string which was making impurify die.

37 years agoAllocate RTL registers separately for each procedure (and quotation),
Chris Hanson [Tue, 4 Aug 1987 06:58:01 +0000 (06:58 +0000)]
Allocate RTL registers separately for each procedure (and quotation),
since no register is used in more than one procedure.

37 years agoFix some bugs in uuo links, and reorganize the uuo link trap code.
Guillermo J. Rozas [Mon, 3 Aug 1987 19:41:39 +0000 (19:41 +0000)]
Fix some bugs in uuo links, and reorganize the uuo link trap code.

37 years ago- Make the environment abstraction handle all trap objects.
Guillermo J. Rozas [Sat, 1 Aug 1987 09:17:54 +0000 (09:17 +0000)]
- Make the environment abstraction handle all trap objects.
- Make compiled procedures print like #[COMPILED-PROCEDURE #x<datum>]

37 years ago- Set-fixed-objects-vector now errors when given a vector which is too
Guillermo J. Rozas [Sat, 1 Aug 1987 06:56:59 +0000 (06:56 +0000)]
- Set-fixed-objects-vector now errors when given a vector which is too
short.
- Fix bug in the debugging utility Find_Symbol.
- Partly rewrite primitives in hooks.c and intern.c to use PRIMITIVE_RETURN,
PRIMITIVE_ABORT, and signal_error_from_primitive.