mit-scheme.git
37 years agoChange ^G interrupt handler to signal Emacs indicating that the
Chris Hanson [Sun, 22 Nov 1987 22:16:08 +0000 (22:16 +0000)]
Change ^G interrupt handler to signal Emacs indicating that the
interrupt has been received.

37 years agoSome bug fixes by CPH.
Guillermo J. Rozas [Sat, 21 Nov 1987 18:47:39 +0000 (18:47 +0000)]
Some bug fixes by CPH.
Change to make primitives be renumbered by the fasloader.
When make is loaded it now asks whether it should be loaded compiled
or interpreted.

37 years agoPrimitives are fecthed from the constant block, and passed as objects
Guillermo J. Rozas [Sat, 21 Nov 1987 18:46:28 +0000 (18:46 +0000)]
Primitives are fecthed from the constant block, and passed as objects
to the appropriate microcode utility.

37 years agoAbstract the constant object to label procedures.
Guillermo J. Rozas [Sat, 21 Nov 1987 18:45:34 +0000 (18:45 +0000)]
Abstract the constant object to label procedures.

37 years agoPrimitives are no longer considered non-pointers by the compiler.
Guillermo J. Rozas [Sat, 21 Nov 1987 18:43:08 +0000 (18:43 +0000)]
Primitives are no longer considered non-pointers by the compiler.
They must appear in the constant block (rather than as immediate
constants in the instruction stream) so the fasloader can renumber
them.

37 years agoRewrite sort!, uncomment it, and make sort handle vectors and do some
Guillermo J. Rozas [Sat, 21 Nov 1987 18:06:51 +0000 (18:06 +0000)]
Rewrite sort!, uncomment it, and make sort handle vectors and do some
argument checking.

37 years agoUse number->string directly rather than write-to-string.
Guillermo J. Rozas [Sat, 21 Nov 1987 18:06:02 +0000 (18:06 +0000)]
Use number->string directly rather than write-to-string.

37 years agoArray-Make-Histogram was using (n-1) bins when asked for n-bin
Panayotis Skordos [Fri, 20 Nov 1987 16:39:02 +0000 (16:39 +0000)]
Array-Make-Histogram was using (n-1) bins when asked for n-bin
histogram. Fixed.

37 years ago1) The version of memtop used by compiled code was being set to the
Guillermo J. Rozas [Fri, 20 Nov 1987 08:21:12 +0000 (08:21 +0000)]
1) The version of memtop used by compiled code was being set to the
opposite value from that desired.

2) Eliminate all remaining uses of Request_Interrupt .

3) Clean up the eventual pushing stuff in interpret.c .

4) Fix a potential stacklet bug in error-procedure.

5) Make the compiled code interface always update memtop on interrupts
or gc.

6) Eliminate some code in non-stacklet version in interpret.c

7) Bintopsb and Psbtobin have been updated to handle compiled code.

37 years agoFix bug in rule: target register being allocated BEFORE deletion of
Chris Hanson [Wed, 18 Nov 1987 22:32:07 +0000 (22:32 +0000)]
Fix bug in rule: target register being allocated BEFORE deletion of
dead registers rather than AFTER.

37 years agoSome changes for primitives accessed specially from compiled code
Guillermo J. Rozas [Wed, 18 Nov 1987 19:31:34 +0000 (19:31 +0000)]
Some changes for primitives accessed specially from compiled code
(arithmetic).

37 years agoAllow #T as a parameter make tohe microcode version of
Guillermo J. Rozas [Wed, 18 Nov 1987 00:09:22 +0000 (00:09 +0000)]
Allow #T as a parameter make tohe microcode version of
make-primitive-procedure.

37 years agoThere is now a single kind of primitive. Both mechanisms have been
Guillermo J. Rozas [Tue, 17 Nov 1987 20:12:41 +0000 (20:12 +0000)]
There is now a single kind of primitive.  Both mechanisms have been
merged.

37 years agoForgot back-slashes in a C preprocessor macro.
Guillermo J. Rozas [Tue, 17 Nov 1987 19:47:34 +0000 (19:47 +0000)]
Forgot back-slashes in a C preprocessor macro.

37 years agoInitial revision
Guillermo J. Rozas [Tue, 17 Nov 1987 18:26:12 +0000 (18:26 +0000)]
Initial revision

37 years ago1) There is now only one kind of primitive. External primitives have
Guillermo J. Rozas [Tue, 17 Nov 1987 08:21:49 +0000 (08:21 +0000)]
1) There is now only one kind of primitive.  External primitives have
disappeared, and "user" primitives have the same status as "built-in"
primitives.

2) bin files only contain those primitives actually referenced in the
file.

3) Strings now always use 32 bit counts.

4) Interrupt code and mask manipulation has been rewritten.

5) Findprim outputs the list of primitives sorted alphabetically by
the linkage name.  This is used to advantage by the primitive
searching mechanism, which now uses binary sear

37 years agoInitial revision
Guillermo J. Rozas [Tue, 17 Nov 1987 07:56:57 +0000 (07:56 +0000)]
Initial revision

37 years agoFix bug in `scan-defines' in which an open-block whose body was
Chris Hanson [Tue, 17 Nov 1987 00:25:34 +0000 (00:25 +0000)]
Fix bug in `scan-defines' in which an open-block whose body was
another open-block was not being scanned correctly.  This resulted in
`sf' creating weird output when there were declarations being passed
to the compiler, that subsequently confused the compiler into
signalling an error.

37 years agoStupid typo.
Chris Hanson [Mon, 9 Nov 1987 21:35:13 +0000 (21:35 +0000)]
Stupid typo.

37 years agoUpdate the compiler memtop register when clearing timer interrupt.
Chris Hanson [Mon, 9 Nov 1987 21:26:16 +0000 (21:26 +0000)]
Update the compiler memtop register when clearing timer interrupt.

37 years agoConditionalize `tbuffer' definition in "vms.c" by means of an explicit
Chris Hanson [Wed, 4 Nov 1987 20:05:38 +0000 (20:05 +0000)]
Conditionalize `tbuffer' definition in "vms.c" by means of an explicit
switch.  This definition does not appear to depend on the VMS version.

Shorten some names to 31 characters to make VMS compiler happy.

37 years agoConditionalize `tbuffer' definition in "vms.c" by means of an explicit
Chris Hanson [Wed, 4 Nov 1987 20:03:59 +0000 (20:03 +0000)]
Conditionalize `tbuffer' definition in "vms.c" by means of an explicit
switch.  This definition does not appear to depend on the VMS version.

37 years agoShorten names to 31 characters to make VMS compiler happy.
Chris Hanson [Wed, 4 Nov 1987 20:02:48 +0000 (20:02 +0000)]
Shorten names to 31 characters to make VMS compiler happy.

37 years agoWhen sending strings to the Scheme process, set the "previous send"
Chris Hanson [Mon, 2 Nov 1987 20:19:30 +0000 (20:19 +0000)]
When sending strings to the Scheme process, set the "previous send"
only if the Scheme process buffer is selected.  Almost never do we
want to yank something that was sent from another buffer.

37 years agoMake_Prim_Exts does not need to be available to everyone.
Guillermo J. Rozas [Wed, 28 Oct 1987 21:57:38 +0000 (21:57 +0000)]
Make_Prim_Exts does not need to be available to everyone.

37 years agoFix a delcaration bug in SET-RUN-LIGHT!
Guillermo J. Rozas [Wed, 28 Oct 1987 18:42:53 +0000 (18:42 +0000)]
Fix a delcaration bug in SET-RUN-LIGHT!

37 years agoFix a grouping (parenthesis) bug in cell?
Guillermo J. Rozas [Wed, 28 Oct 1987 18:31:11 +0000 (18:31 +0000)]
Fix a grouping (parenthesis) bug in cell?

37 years agoMake Findprim sort the entries using the scheme linkage name as the
Guillermo J. Rozas [Tue, 27 Oct 1987 23:13:41 +0000 (23:13 +0000)]
Make Findprim sort the entries using the scheme linkage name as the
key.  This allows for faster lookup.

37 years agoinitial revision
Joe Marshall [Tue, 27 Oct 1987 18:00:24 +0000 (18:00 +0000)]
initial revision

37 years agoAdded array-unary-function! making available (for arrays) all HPUX
Panayotis Skordos [Sat, 24 Oct 1987 09:42:18 +0000 (09:42 +0000)]
Added array-unary-function! making available (for arrays) all HPUX
math functions.

37 years agoFixed image-make-ring (typo in argument-range-checking).
Panayotis Skordos [Wed, 21 Oct 1987 03:44:33 +0000 (03:44 +0000)]
Fixed image-make-ring (typo in argument-range-checking).

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.