mit-scheme.git
36 years agoCHAR/STRING open-coding
Henry M. Wu [Mon, 9 May 1988 20:01:32 +0000 (20:01 +0000)]
CHAR/STRING open-coding

36 years agoAdded string/char open-coding.
Henry M. Wu [Mon, 9 May 1988 19:57:17 +0000 (19:57 +0000)]
Added string/char open-coding.

36 years agoDefault `load-noisily?' to false. People seem to prefer this.
Chris Hanson [Fri, 6 May 1988 12:40:26 +0000 (12:40 +0000)]
Default `load-noisily?' to false.  People seem to prefer this.

36 years agoUpdate `primitive-purify' to new interface. Forgot to do this one
Chris Hanson [Fri, 6 May 1988 09:09:44 +0000 (09:09 +0000)]
Update `primitive-purify' to new interface.  Forgot to do this one
when the regular version was updated.

36 years agoEliminate random escape from string. Rename variable `string' to
Chris Hanson [Thu, 5 May 1988 09:35:34 +0000 (09:35 +0000)]
Eliminate random escape from string.  Rename variable `string' to
`str' because `string' is a typedef.  HP compiler works but this is
illegal combination.

36 years agoIllegal to take address of a variable that has been declared
Chris Hanson [Thu, 5 May 1988 09:29:44 +0000 (09:29 +0000)]
Illegal to take address of a variable that has been declared
`register'.  HP's compiler never complained by GCC does.

36 years agoChange interface of `primitive-purify' to take an extra argument,
Chris Hanson [Thu, 5 May 1988 08:42:47 +0000 (08:42 +0000)]
Change interface of `primitive-purify' to take an extra argument,
`safety-margin' (which works like the argument to `garbage-collect'),
and returns an extra value (which is like the value of
`garbage-collect').  These changes will allow purify to be used
instead of gc when desired.

36 years ago1) Change -compiler to default parameters, so that they can be
Guillermo J. Rozas [Wed, 4 May 1988 20:44:33 +0000 (20:44 +0000)]
1) Change -compiler to default parameters, so that they can be
overriden with -band, -heap, etc.

2) Add double MC68881 code in hand-coded generic arithmetic for use by
compiled code.

36 years ago1) Change -compiler to default parameters, so that they can be
Guillermo J. Rozas [Wed, 4 May 1988 19:22:12 +0000 (19:22 +0000)]
1) Change -compiler to default parameters, so that they can be
overriden with -band, -heap, etc.

2) Add double MC68881 code in hand-coded generic arithmetic for use by
compiled code.

36 years agoIncrement COMPILER_CONSTANT_SIZE and COMPILER_HEAP_SIZE.
Guillermo J. Rozas [Wed, 4 May 1988 04:17:49 +0000 (04:17 +0000)]
Increment COMPILER_CONSTANT_SIZE and COMPILER_HEAP_SIZE.

36 years agoInitial revision
Guillermo J. Rozas [Tue, 3 May 1988 21:53:15 +0000 (21:53 +0000)]
Initial revision

36 years agoImplement environment-link-name.
Guillermo J. Rozas [Tue, 3 May 1988 19:22:09 +0000 (19:22 +0000)]
Implement environment-link-name.

Split lookup.c into lookup.c and lookprm.c which contains the
primitive procedures to invoke the lookup code.

36 years agoFix paranoia bug in list.scm (map, map*, and for-each were not
Guillermo J. Rozas [Tue, 3 May 1988 19:04:42 +0000 (19:04 +0000)]
Fix paranoia bug in list.scm (map, map*, and for-each were not
paranoid enough).

Add error handlers for environment-link-name.

36 years agoFix paranoia bug in list.scm (map, map*, and for-each were not
Guillermo J. Rozas [Tue, 3 May 1988 18:55:13 +0000 (18:55 +0000)]
Fix paranoia bug in list.scm (map, map*, and for-each were not
paranoid enough).

Add error handlers for environment-link-name.

36 years agoRestore bad-assignment error for environment-link-name.
Guillermo J. Rozas [Tue, 3 May 1988 16:30:39 +0000 (16:30 +0000)]
Restore bad-assignment error for environment-link-name.

36 years agoAdded information on FIXNUM size.
Henry M. Wu [Tue, 3 May 1988 01:09:33 +0000 (01:09 +0000)]
Added information on FIXNUM size.

36 years agoFixed bug with FIXNUM-CONSTANT not sign-extending.
Henry M. Wu [Tue, 3 May 1988 01:04:25 +0000 (01:04 +0000)]
Fixed bug with FIXNUM-CONSTANT not sign-extending.

36 years agoAdded information on FIXNUM size.
Henry M. Wu [Tue, 3 May 1988 00:35:08 +0000 (00:35 +0000)]
Added information on FIXNUM size.

36 years agoAdded information on FIXNUM size.
Henry M. Wu [Mon, 2 May 1988 23:53:41 +0000 (23:53 +0000)]
Added information on FIXNUM size.

37 years agoOOPS. Last version had a missinbg paren.
Mark Friedman [Fri, 29 Apr 1988 15:04:16 +0000 (15:04 +0000)]
OOPS. Last version had a missinbg paren.

37 years agoAdded support for open coding of fixnum arithmetic and predicates.
Mark Friedman [Fri, 29 Apr 1988 14:55:22 +0000 (14:55 +0000)]
Added support for open coding of fixnum arithmetic and predicates.

37 years agoAlways use a pipe to communicate with Scheme even if PTYs are
Chris Hanson [Thu, 28 Apr 1988 18:52:03 +0000 (18:52 +0000)]
Always use a pipe to communicate with Scheme even if PTYs are
available.  Scheme doesn't care and this fixes random PTY bugs.

37 years agoRemoved default mapping between ascii and mit-ascii.
Henry M. Wu [Wed, 27 Apr 1988 18:26:12 +0000 (18:26 +0000)]
Removed default mapping between ascii and mit-ascii.

37 years agoFixed position of meta bit, added ASCII names.
Henry M. Wu [Wed, 27 Apr 1988 18:24:54 +0000 (18:24 +0000)]
Fixed position of meta bit, added ASCII names.

37 years agodeep_lookup was being called with an extraneous fourth argument.
Guillermo J. Rozas [Wed, 27 Apr 1988 04:12:44 +0000 (04:12 +0000)]
deep_lookup was being called with an extraneous fourth argument.

37 years agoFix a bug in local lexprs.
Guillermo J. Rozas [Wed, 27 Apr 1988 03:07:56 +0000 (03:07 +0000)]
Fix a bug in local lexprs.

37 years agoFix a bug in local lexprs.
Guillermo J. Rozas [Wed, 27 Apr 1988 01:10:33 +0000 (01:10 +0000)]
Fix a bug in local lexprs.

37 years agoRemove RC_REPEAT_DISPATCH.
Guillermo J. Rozas [Wed, 27 Apr 1988 01:09:19 +0000 (01:09 +0000)]
Remove RC_REPEAT_DISPATCH.

37 years agoChange `load' to interact better with Emacs interface. Dissect REP
Chris Hanson [Tue, 26 Apr 1988 19:41:49 +0000 (19:41 +0000)]
Change `load' to interact better with Emacs interface.  Dissect REP
loop slightly to allow its parts to be used independently by `load'.
Now whenever `load' prints a value it is also entered in the REP
printer history.  Also, the value of the last file loaded is returned
to the REP loop as the value of the `load' expression.

All of this is useful for allowing Emacs to use `load' for zapping.
Now, zapping from a file is more or less equivalent to zapping through
a pipe.  Before, there were significant differences, especially
noticeable in interaction with the printer history.

37 years agoAdded a new test in optimize-rtl called rtl:optimizable?
Mark Friedman [Tue, 26 Apr 1988 18:56:24 +0000 (18:56 +0000)]
Added a new test in optimize-rtl called rtl:optimizable?
Currently it is only used to prevent the optimization of
OBJECT->FIXNUM. This is done to prevent an explosion in the
number of rules necessary in the back end. See the commant in
optimize-rtl for more info.

37 years agoAdded cse methods for FIXNUM-PRED-2-ARGS and FIXNUM-PRED-1-ARG.
Mark Friedman [Tue, 26 Apr 1988 18:52:37 +0000 (18:52 +0000)]
Added cse methods for FIXNUM-PRED-2-ARGS and FIXNUM-PRED-1-ARG.
This is in support of binary and unary open coded fixnum predicates.

37 years agoAdded fixnums to non-object-invalidate. Someday we may not
Mark Friedman [Tue, 26 Apr 1988 18:48:18 +0000 (18:48 +0000)]
Added fixnums to non-object-invalidate. Someday we may not
need to do this. We may be able to keep these guys around.
See the log message for rtlbase/rtlcon.scm 4.6 for some more info.

37 years agoSupport added for the generation of rtl for open coded fixnum
Mark Friedman [Tue, 26 Apr 1988 18:33:37 +0000 (18:33 +0000)]
Support added for the generation of rtl for open coded fixnum
arithmetic and predicates.
NOTE: Someday, when we have some support for the persistance of
untyped objects (i.e. when we have some way of saving unboxed
fixnums across GC calls) we can do some fancier things such as
eliminating the boxing of a fixnum calculation which is just going
to be unboxed and used in another fixnum calculation. My idea
for doing this is to add an explicit FIXNUM->OBJECT rtl expression
and when OBJECT->FIXNUM is simplified and its operand is FIXNUM->OBJECT
then cancel them out and return the operand of the FIXNUM->OBJECT.
The result of an fixnum expression expression will then have to be
considered an RTL:FIXNUM-VALUED-EXPRESSION? and OBJECT-NON-INVALIDATE
will have to be updated.

37 years agoAdded a FIXNUM type of register analagous to ADDRESS registers.
Mark Friedman [Mon, 25 Apr 1988 21:45:08 +0000 (21:45 +0000)]
Added a FIXNUM type of register analagous to ADDRESS registers.
Their current use is to hold the results of OBJECT->FIXNUM expressions
and assignments of such registers to other registers. We have to tell
the cse code that such registers and expressions are invalid across
anything that can call the garbage collector. This is because the
garbage collector would currently barf on such values that have no
type codes (i.e. fixnums which have had their type codes removed).
In the future, FIXNUM registers may contain the reults of fixnum
arithmetic expressions, so that we are not doing so much boxing and
unboxing. Currently however, all such results are boxed into their
destinations.

37 years agoAdded a FIXNUM type of register analagous to ADDRESS registers.
Mark Friedman [Mon, 25 Apr 1988 21:34:43 +0000 (21:34 +0000)]
Added a FIXNUM type of register analagous to ADDRESS registers.
Their current use is to hold the results of OBJECT->FIXNUM expressions
and assignments of such registers to other registers. We have to tell
the cse code that such registers and expressions are invalid across
anything that can call the garbage collector. This is because the
garbage collector would currently barf on such values that have no
type codes (i.e. fixnums which have had their type codes removed).
In the future, FIXNUM registers may contain the reults of fixnum
arithmetic expressions, so that we are not doing so much boxing and
unboxing. Currently however, all such results are boxed into their
destinations.

37 years agoAdded the following RTL types for the support of fixnum operations:
Mark Friedman [Mon, 25 Apr 1988 21:27:54 +0000 (21:27 +0000)]
Added the following RTL types for the support of fixnum operations:
   FIXNUM-2-ARGS - for binary fixnum arithmetic operations
   FIXNUM-1-ARG  - for unary fixnum arithmetic operations
   FIXNUM-PRED-2-ARGS - for binary fixnum predicates
   FIXNUM-PRED-1-ARG  - for unary fixnum-predicates
   OBJECT->FIXNUM - for unboxing fixnum objects

37 years agoRename variable `string' to `str'; it conflicts with a typedef of the
Chris Hanson [Mon, 25 Apr 1988 17:50:01 +0000 (17:50 +0000)]
Rename variable `string' to `str'; it conflicts with a typedef of the
same name.  Change character constant '\=' to '='; former is undefined
escape sequence.

37 years agoFix typo.
Chris Hanson [Mon, 25 Apr 1988 17:30:02 +0000 (17:30 +0000)]
Fix typo.

37 years agoChange conditionalization of `__GNU__' to `__GNUC__'. Fix bug in
Chris Hanson [Mon, 25 Apr 1988 15:43:08 +0000 (15:43 +0000)]
Change conditionalization of `__GNU__' to `__GNUC__'.  Fix bug in
`flush_input_buffer()' on USG systems: argument is `int', not `int *'.
Change file I/O to unbuffered; tty I/O remains buffered using stdio.
Opening fasl output file now deletes existing file first.

37 years agoAdd indentation for `with-values'.
Chris Hanson [Mon, 25 Apr 1988 12:53:38 +0000 (12:53 +0000)]
Add indentation for `with-values'.

37 years agoRemove random parens from end of #ifndef statements.
Chris Hanson [Sun, 24 Apr 1988 10:04:59 +0000 (10:04 +0000)]
Remove random parens from end of #ifndef statements.

37 years agoAdd missing rule.
Chris Hanson [Sat, 23 Apr 1988 12:37:41 +0000 (12:37 +0000)]
Add missing rule.

37 years agoMove all `integrate-external' declarations into the files, using
Chris Hanson [Sat, 23 Apr 1988 08:55:34 +0000 (08:55 +0000)]
Move all `integrate-external' declarations into the files, using
relative pathnames.

37 years agoBind `sf/default-externs-pathname' to same directory as input file
Chris Hanson [Sat, 23 Apr 1988 08:25:27 +0000 (08:25 +0000)]
Bind `sf/default-externs-pathname' to same directory as input file
when syntaxing a file.  This is correct default for relative filenames
that appear in a file's declarations.

37 years agoAdded support for the open coding of fixnum arithmetic and fixnum predicates.
Mark Friedman [Fri, 22 Apr 1988 16:39:45 +0000 (16:39 +0000)]
Added support for the open coding of fixnum arithmetic and fixnum predicates.

37 years agoFixed the MULS MULU DIVS and DIVU instructions; the operands were
Mark Friedman [Fri, 22 Apr 1988 16:32:44 +0000 (16:32 +0000)]
Fixed the MULS MULU DIVS and DIVU instructions; the operands were
reversed.
NOTE: The dissassembler totally screws up on these instructions.

37 years agoAdded expression costs for fixnum expressions. These costs
Mark Friedman [Fri, 22 Apr 1988 16:28:23 +0000 (16:28 +0000)]
Added expression costs for fixnum expressions. These costs
are pretty rough. Someone who really understands the 68020
book should check them out.

37 years agoAdded support for the open coding of fixnum arithmetic and fixnum predicates.
Mark Friedman [Fri, 22 Apr 1988 16:23:56 +0000 (16:23 +0000)]
Added support for the open coding of fixnum arithmetic and fixnum predicates.

37 years agoAdded rules to support open coding of fixnum arithmetic.
Mark Friedman [Fri, 22 Apr 1988 16:21:29 +0000 (16:21 +0000)]
Added rules to support open coding of fixnum arithmetic.

37 years agoFix a bug in "local lexprs". The arity encoding must include the
Guillermo J. Rozas [Thu, 21 Apr 1988 06:58:23 +0000 (06:58 +0000)]
Fix a bug in "local lexprs".  The arity encoding must include the
procedure object, even if it is only a virtual procedure object.

37 years agoChange naming of "cmp68020" files.
Chris Hanson [Mon, 18 Apr 1988 22:42:55 +0000 (22:42 +0000)]
Change naming of "cmp68020" files.

37 years ago*** empty log message ***
Chris Hanson [Fri, 15 Apr 1988 17:49:58 +0000 (17:49 +0000)]
*** empty log message ***

37 years agoRelease 6.2.1
Chris Hanson [Fri, 15 Apr 1988 17:00:40 +0000 (17:00 +0000)]
Release 6.2.1

37 years agoDo not refer to `Scan' in `GC_NO_COMPILER_STMT', as it isn't defined
Chris Hanson [Fri, 15 Apr 1988 16:54:02 +0000 (16:54 +0000)]
Do not refer to `Scan' in `GC_NO_COMPILER_STMT', as it isn't defined
in all places that the macro is used.

37 years agoFix compiled-code stubs to cast their value to some appropriate type.
Chris Hanson [Fri, 15 Apr 1988 16:22:00 +0000 (16:22 +0000)]
Fix compiled-code stubs to cast their value to some appropriate type.
Flush references to `To' since fasload does not define that variable.

37 years agoChange the way first class environments are handled.
Guillermo J. Rozas [Fri, 15 Apr 1988 02:22:34 +0000 (02:22 +0000)]
Change the way first class environments are handled.
There is an extra phase at the front end which translates implicit
environment manipulation operations into explicit ones.

37 years agoChange the way first class environments are handled.
Guillermo J. Rozas [Fri, 15 Apr 1988 02:16:39 +0000 (02:16 +0000)]
Change the way first class environments are handled.
There is an extra phase at the front end which translates implicit
environment manipulation operations into explicit ones.

37 years agoChange the way first class environments are handled.
Guillermo J. Rozas [Fri, 15 Apr 1988 02:10:18 +0000 (02:10 +0000)]
Change the way first class environments are handled.
There is an extra phase at the front end which translates implicit
environment manipulation operations into explicit ones.

37 years agoInitial revision
Guillermo J. Rozas [Fri, 15 Apr 1988 02:07:16 +0000 (02:07 +0000)]
Initial revision

37 years agoUse compiled runtime system.
Chris Hanson [Tue, 12 Apr 1988 18:53:06 +0000 (18:53 +0000)]
Use compiled runtime system.

37 years agoFix bug in resyntaxing of SF.
Chris Hanson [Tue, 12 Apr 1988 18:51:35 +0000 (18:51 +0000)]
Fix bug in resyntaxing of SF.

37 years agoVarious changes for NFS and new organization.
Chris Hanson [Tue, 12 Apr 1988 18:50:32 +0000 (18:50 +0000)]
Various changes for NFS and new organization.

37 years agoSignal error if the number of temporary registers allocated exceeds
Chris Hanson [Tue, 12 Apr 1988 18:42:27 +0000 (18:42 +0000)]
Signal error if the number of temporary registers allocated exceeds
the number available for this machine.

37 years agoAdd new local variable.
Chris Hanson [Tue, 12 Apr 1988 17:03:26 +0000 (17:03 +0000)]
Add new local variable.

37 years agoRemove with-threaded-continuation and add copy-program.
Guillermo J. Rozas [Tue, 12 Apr 1988 15:01:28 +0000 (15:01 +0000)]
Remove with-threaded-continuation and add copy-program.

37 years agoChange interface to print ";No value" when the value string would be
Chris Hanson [Wed, 6 Apr 1988 21:31:31 +0000 (21:31 +0000)]
Change interface to print ";No value" when the value string would be
null.

37 years agoUpdate `show-rtl-instruction' to know about new RTL statement types.
Chris Hanson [Wed, 6 Apr 1988 17:31:26 +0000 (17:31 +0000)]
Update `show-rtl-instruction' to know about new RTL statement types.

37 years agoFix bug backing out of fasdump when an environment object is
Guillermo J. Rozas [Sun, 3 Apr 1988 18:13:26 +0000 (18:13 +0000)]
Fix bug backing out of fasdump when an environment object is
encountered.

37 years agoFix bug introduced in last change.
Chris Hanson [Fri, 1 Apr 1988 23:43:17 +0000 (23:43 +0000)]
Fix bug introduced in last change.

37 years agoTrap trivial closures with error in `find-variable-internal'.
Henry M. Wu [Thu, 31 Mar 1988 21:39:16 +0000 (21:39 +0000)]
Trap trivial closures with error in `find-variable-internal'.

37 years agoAdd case to `subproblem->expression' for trivial closure consing.
Henry M. Wu [Thu, 31 Mar 1988 21:35:23 +0000 (21:35 +0000)]
Add case to `subproblem->expression' for trivial closure consing.

37 years agoallocate_string was allocating a word too many.
Joe Marshall [Thu, 31 Mar 1988 21:23:18 +0000 (21:23 +0000)]
allocate_string was allocating a word too many.

37 years agoSave standard runtime system in "runtime.bin" instead of "scheme.bin".
Chris Hanson [Thu, 31 Mar 1988 04:39:47 +0000 (04:39 +0000)]
Save standard runtime system in "runtime.bin" instead of "scheme.bin".

37 years agoChange time reports to match compiler.
Chris Hanson [Wed, 30 Mar 1988 23:05:03 +0000 (23:05 +0000)]
Change time reports to match compiler.

37 years agoChange time reports to match compiler.
Chris Hanson [Wed, 30 Mar 1988 21:59:38 +0000 (21:59 +0000)]
Change time reports to match compiler.

37 years agoChange time reports to match compiler.
Chris Hanson [Wed, 30 Mar 1988 21:56:15 +0000 (21:56 +0000)]
Change time reports to match compiler.

37 years agoAdd missing rule. Generalize `increment-anl' to
Chris Hanson [Fri, 25 Mar 1988 21:22:06 +0000 (21:22 +0000)]
Add missing rule.  Generalize `increment-anl' to
`increment-machine-register'.  Generalize
`reuse-pseudo-register-alias!' to capture idea of reuse without making
assumptions about loading the target register from the source
register.

37 years agoReally get these things working.
Chris Hanson [Fri, 25 Mar 1988 20:50:11 +0000 (20:50 +0000)]
Really get these things working.

37 years agoFixed direction of branch in rule.
Brian A. LaMacchia [Fri, 25 Mar 1988 20:36:03 +0000 (20:36 +0000)]
Fixed direction of branch in rule.
It was backwards.

37 years ago* Delete `with-threaded-continuation' primitive.
Chris Hanson [Thu, 24 Mar 1988 07:55:27 +0000 (07:55 +0000)]
* Delete `with-threaded-continuation' primitive.

* Implement `get-interrupt-enables' primitive.

* Split `primitive-type' and friends into two classes: one which is
gc-safe and touches arguments, the other non-safe with no touching.

* Implement primitive-procedure name aliasing in microcode.  This
allows microcode name changes to reuse existing bands.

* Do not use "-q" ld switch.  This causes lossage when Scheme is
loaded over NFS.

37 years ago* Delete `with-threaded-continuation' primitive.
Chris Hanson [Thu, 24 Mar 1988 07:13:46 +0000 (07:13 +0000)]
* Delete `with-threaded-continuation' primitive.

* Implement `get-interrupt-enables' primitive.

* Split `primitive-type' and friends into two classes: one which is
gc-safe and touches arguments, the other non-safe with no touching.

* Implement primitive-procedure name aliasing in microcode.  This
allows microcode name changes to reuse existing bands.

* Do not use "-q" ld switch.  This causes lossage when Scheme is
loaded over NFS.

37 years agoInitial revision
Chris Hanson [Thu, 24 Mar 1988 07:04:30 +0000 (07:04 +0000)]
Initial revision

37 years agoAdd some overflow checking in entity apply code. It will not work in
Guillermo J. Rozas [Wed, 23 Mar 1988 18:45:39 +0000 (18:45 +0000)]
Add some overflow checking in entity apply code.  It will not work in
fscheme/multischeme, but figuring out what the right thing to do there
is not easy.

37 years agoMake Entity application check for interrupts to avoid blowing machine
Joe Marshall [Wed, 23 Mar 1988 18:31:25 +0000 (18:31 +0000)]
Make Entity application check for interrupts to avoid blowing machine
away in the case of an entity's procedure being that entity.
This will allow you to abort if you are quick enough, but no stack
check is currently being done, so errors here would probably blow
scheme away anyhow.

37 years agoPreserve the order of arguments in a let statement.
Joe Marshall [Tue, 22 Mar 1988 21:10:18 +0000 (21:10 +0000)]
Preserve the order of arguments in a let statement.

37 years agoMake set/adjoin not cons so much.
Joe Marshall [Tue, 22 Mar 1988 18:10:01 +0000 (18:10 +0000)]
Make set/adjoin not cons so much.

37 years agoautomagic-integrations
Joe Marshall [Tue, 22 Mar 1988 17:40:50 +0000 (17:40 +0000)]
automagic-integrations

37 years agoInitial revision
Joe Marshall [Tue, 22 Mar 1988 17:39:56 +0000 (17:39 +0000)]
Initial revision

37 years agoMake it syntax the syntax correctly.
Joe Marshall [Mon, 21 Mar 1988 22:13:00 +0000 (22:13 +0000)]
Make it syntax the syntax correctly.

37 years agoHad the right rule header, but wrong body.
Brian A. LaMacchia [Mon, 21 Mar 1988 21:47:00 +0000 (21:47 +0000)]
Had the right rule header, but wrong body.

37 years agoFixed more bugs.
Brian A. LaMacchia [Mon, 21 Mar 1988 21:46:31 +0000 (21:46 +0000)]
Fixed more bugs.

37 years agofixed more bugs
Brian A. LaMacchia [Mon, 21 Mar 1988 21:45:31 +0000 (21:45 +0000)]
fixed more bugs

37 years agoFixed bug in offset symbols
Brian A. LaMacchia [Mon, 21 Mar 1988 21:42:02 +0000 (21:42 +0000)]
Fixed bug in offset symbols

37 years agoFix bchscheme to handle new representation of compiled procedures.
Guillermo J. Rozas [Mon, 21 Mar 1988 21:17:16 +0000 (21:17 +0000)]
Fix bchscheme to handle new representation of compiled procedures.
Add coerce-to-compiled-procedure primitive for inner loops.
Clean up some gc macros.

37 years agoFix bchscheme to handle new representation of compiled procedures.
Guillermo J. Rozas [Mon, 21 Mar 1988 21:10:17 +0000 (21:10 +0000)]
Fix bchscheme to handle new representation of compiled procedures.
Add coerce-to-compiled-procedure primitive for inner loops.
Clean up some gc macros.

37 years agoChange the representation of compiled procedures and other entries:
Guillermo J. Rozas [Mon, 14 Mar 1988 21:05:05 +0000 (21:05 +0000)]
Change the representation of compiled procedures and other entries:
They are now just the address of an instruction with a gc offset
preceding the instruction and an arity/type word preceding that.
Compiled closures are done by creating a tiny fake compiled code block
which jumps to the right place and sets up the free variables for
reference.

Uuo style links are now just jump instructions to the correct address.
All relocators have been updated to reflect this change.

Variable caches have no type code. The relocators know about this.

New types:
TC_COMPILED_ENTRY
TC_MANIFEST_CLOSURE
TC_LINKAGE_SECTION

37 years agoChange the representation of compiled procedures and other entries:
Guillermo J. Rozas [Mon, 14 Mar 1988 20:59:05 +0000 (20:59 +0000)]
Change the representation of compiled procedures and other entries:
They are now just the address of an instruction with a gc offset
preceding the instruction and an arity/type word preceding that.
Compiled closures are done by creating a tiny fake compiled code block
which jumps to the right place and sets up the free variables for
reference.

Uuo style links are now just jump instructions to the correct address.
All relocators have been updated to reflect this change.

Variable caches have no type code. The relocators know about this.

New types:
TC_COMPILED_ENTRY
TC_MANIFEST_CLOSURE
TC_LINKAGE_SECTION

37 years agoChange the representation of compiled procedures and other entries:
Guillermo J. Rozas [Mon, 14 Mar 1988 20:25:13 +0000 (20:25 +0000)]
Change the representation of compiled procedures and other entries:
They are now just the address of an instruction with a gc offset
preceding the instruction and an arity/type word preceding that.
Compiled closures are done by creating a tiny fake compiled code block
which jumps to the right place and sets up the free variables for
reference.

Uuo style links are now just jump instructions to the correct address.
All relocators have been updated to reflect this change.

Variable caches have no type code. The relocators know about this.

New types:
TC_COMPILED_ENTRY
TC_MANIFEST_CLOSURE
TC_LINKAGE_SECTION

37 years agoChange the representation of compiled procedures and other entries:
Guillermo J. Rozas [Mon, 14 Mar 1988 20:18:11 +0000 (20:18 +0000)]
Change the representation of compiled procedures and other entries:
They are now just the address of an instruction with a gc offset
preceding the instruction and an arity/type word preceding that.
Compiled closures are done by creating a tiny fake compiled code block
which jumps to the right place and sets up the free variables for
reference.

Uuo style links are now just jump instructions to the correct address.
All relocators have been updated to reflect this change.

Variable caches have no type code. The relocators know about this.

Incorporate JRM's fix to signal to close interrupt gap in hp-ux.

New types:
TC_COMPILED_ENTRY
TC_MANIFEST_CLOSURE
TC_LINKAGE_SECTION

37 years agoChange the representation of compiled procedures and other entries:
Guillermo J. Rozas [Mon, 14 Mar 1988 19:38:53 +0000 (19:38 +0000)]
Change the representation of compiled procedures and other entries:
They are now just the address of an instruction with a gc offset
preceding the instruction and an arity/type word preceding that.
Compiled closures are done by creating a tiny fake compiled code block
which jumps to the right place and sets up the free variables for
reference.

Uuo style links are now just jump instructions to the correct address.
All relocators have been updated to reflect this change.

Variable caches have no type code. The relocators know about this.

Incorporate JRM's fix to signal to close interrupt gap in hp-ux.

New types:
TC_COMPILED_ENTRY
TC_MANIFEST_CLOSURE
TC_LINKAGE_SECTION