Chris Hanson [Tue, 31 Jan 1995 21:29:42 +0000 (21:29 +0000)]
Fix mismatch between two syscall name lists.
Chris Hanson [Tue, 31 Jan 1995 19:35:11 +0000 (19:35 +0000)]
Eliminate end-of-file marker handling code. This is the code that
used to handle ^Z in DOS files -- but the ^Z convention is very old
and not worth putting in explicit support for.
Stephen Adams [Tue, 31 Jan 1995 03:53:33 +0000 (03:53 +0000)]
First try at reducing expressions in debugging information to access paths.
Stephen Adams [Mon, 30 Jan 1995 21:45:40 +0000 (21:45 +0000)]
Defined RTLGEN/CLOSURE-ADJUSTMENT to be determined by the back end,
i.e. (closure-environment-adjustment 1 0)
Stephen Adams [Mon, 30 Jan 1995 20:26:43 +0000 (20:26 +0000)]
Changed the order at the call site too :-)
Chris Hanson [Mon, 30 Jan 1995 20:04:30 +0000 (20:04 +0000)]
Fix bug reported by BAL: CALL-WITH-INPUT-COPIER was examining the
value returned by OUTPUT-PORT/WRITE-SUBSTRING -- but that procedure
has no useful value.
Stephen Adams [Mon, 30 Jan 1995 18:53:14 +0000 (18:53 +0000)]
Exchanged order of fields in a BLOCK for nicer pretty-printing.
Stephen Adams [Mon, 30 Jan 1995 17:56:51 +0000 (17:56 +0000)]
Added dbgred
Stephen Adams [Mon, 30 Jan 1995 17:56:13 +0000 (17:56 +0000)]
Added dbgred to decls.
Stephen Adams [Mon, 30 Jan 1995 16:17:17 +0000 (16:17 +0000)]
Initial revision
Stephen Adams [Mon, 30 Jan 1995 03:07:56 +0000 (03:07 +0000)]
Temporary experimental feature:
(set! *rtlgen/omit-internal-interrupt-checks?* #T)
omits interrupt checks on next-, alt-, cons-, and receiver-
procedures. It does not correctly recalculate the stack depth and
allocation or any other info. Default is #F.
Stephen Adams [Sat, 28 Jan 1995 17:13:24 +0000 (17:13 +0000)]
Added a hook to see what constant folding we are missing.
Only operates if COMPILER:GURU? is true.
Stephen Adams [Sat, 28 Jan 1995 17:10:56 +0000 (17:10 +0000)]
Fixed bug when open-coded predicate is used in expression position and
the predicate can be tested at compile time. No longer generates a
useless true (/false) branch that confuses the rgraph stuff.
Stephen Adams [Sat, 28 Jan 1995 15:35:20 +0000 (15:35 +0000)]
Made some noise conditional on COMPILER:GURU?
Stephen Adams [Sat, 28 Jan 1995 04:04:40 +0000 (04:04 +0000)]
Tidied up to use syntax abstractions.
Stephen Adams [Sat, 28 Jan 1995 02:42:01 +0000 (02:42 +0000)]
Instrumented new statistic: number of bindings in a letrec.
Stephen Adams [Thu, 26 Jan 1995 23:15:39 +0000 (23:15 +0000)]
Fixed RTLGEN/POP and RTLGEN/%POP to do the right thing when there is a
continuation and/or closure on the stack.
Chris Hanson [Wed, 25 Jan 1995 20:54:55 +0000 (20:54 +0000)]
Fix some more fencepost errors in the bit string copying code.
Stephen Adams [Wed, 25 Jan 1995 20:20:56 +0000 (20:20 +0000)]
Fixed form/simple? (was not looking af if/alternate).
Chris Hanson [Tue, 24 Jan 1995 00:17:25 +0000 (00:17 +0000)]
Fix some fencepost errors in `copy_bits', and reformat the code to my
standards.
Chris Hanson [Mon, 23 Jan 1995 20:06:07 +0000 (20:06 +0000)]
Eliminate several operating-system dependencies.
Stephen Adams [Sun, 22 Jan 1995 17:13:24 +0000 (17:13 +0000)]
Tidying up some expressions to use the syntax abstractions.
Stephen Adams [Sun, 22 Jan 1995 16:20:56 +0000 (16:20 +0000)]
Tidying, mostly to use syntax abstraction.
Stephen Adams [Sun, 22 Jan 1995 04:51:43 +0000 (04:51 +0000)]
Added debugging environment info.
Because cleanup and lamlift do not yet understand the debugging info,
this does not help much. Lamlift might not be the problem since
breaks the program into lots of little pieces which end up by being
put back together by simplify & cleanup, so these could lose the
information.
I tested it on a small example with
(set! *phases-to-omit* '(lamlift/top-level/1 lamlift/top-level/2))
and it seems to produce the right expressions in the debugging environment.
NOTE: bigger examples do not work because closconv expects bindings to
be either operators or operands but not both (i.e. it assumes that
lamlift has `split' the uses).
NOTE: the processing of the environment is wrong at LAMBDAs: currently
the references are processed in the environment OUTSIDE the LAMBDA,
but the debugging information is supposed to be for INSIDE the lambda.
This is going to be a general problem with LAMBDAs.
Stephen Adams [Sun, 22 Jan 1995 04:02:29 +0000 (04:02 +0000)]
Adjusted indentation.
Stephen Adams [Sun, 22 Jan 1995 01:06:01 +0000 (01:06 +0000)]
Tidying.
ssmith [Fri, 20 Jan 1995 23:13:03 +0000 (23:13 +0000)]
Added some hooks.
ssmith [Fri, 20 Jan 1995 22:51:58 +0000 (22:51 +0000)]
Fixed bug in allowing ebp to be a scratch reg.
ssmith [Fri, 20 Jan 1995 22:45:55 +0000 (22:45 +0000)]
Made EBP switchable between datum mask and scratch register.
Stephen Adams [Fri, 20 Jan 1995 22:23:42 +0000 (22:23 +0000)]
Changed CONTINUATION-VARIABLE? to REFERENCED-CONTINUATION-VARIABLE? in
stackopt/constrain because it was complaining about the position of an
IGNORED-CONTINUATION-VARIABLE that was passed on the stack.
Stephen Adams [Fri, 20 Jan 1995 20:33:59 +0000 (20:33 +0000)]
Tidying.
Stephen Adams [Fri, 20 Jan 1995 20:31:21 +0000 (20:31 +0000)]
Removed extraneous text.
ssmith [Fri, 20 Jan 1995 20:17:52 +0000 (20:17 +0000)]
Made a lot of additions and bugfixes. Now compiles (probably
incorrectly) about half of the runtime library.
ssmith [Fri, 20 Jan 1995 20:15:59 +0000 (20:15 +0000)]
Made a lot of additions, bug fixes. Now compiles (probably
incorrectly) about half of the runtime library.
Stephen Adams [Thu, 19 Jan 1995 23:43:16 +0000 (23:43 +0000)]
Added phase/pre-hook and phase/post-hook for debugging activities like
dumping intermediate results.
Chris Hanson [Thu, 19 Jan 1995 19:41:55 +0000 (19:41 +0000)]
Fix bug in presentation of pathnames to user -- if the pathname being
presented is on a different device from the default, ENOUGH-PATHNAME
cannot be used. This is because ENOUGH-PATHNAME and MERGE-PATHNAMES
treat the device as separate from the directory, whereas Edwin wants
the device to be considered as part of the directory.
Stephen Adams [Thu, 19 Jan 1995 06:15:43 +0000 (06:15 +0000)]
Fixed example in vector-map
Stephen Adams [Thu, 19 Jan 1995 04:58:18 +0000 (04:58 +0000)]
Added environment part of debugging information. This lead to some
contempation which for the time being has been placed in a comment.
Tidied some archaic accessors (caddr -> set!/expr).
Stephen Adams [Thu, 19 Jan 1995 04:55:13 +0000 (04:55 +0000)]
New procedures for
. Making new objects like old ones but with new fields
. Copying and updating block structures
Stephen Adams [Thu, 19 Jan 1995 04:52:40 +0000 (04:52 +0000)]
Tidying layout.
Stephen Adams [Thu, 19 Jan 1995 04:51:16 +0000 (04:51 +0000)]
Changed debugging info from a variable name to a LOOKUP expression.
Stephen Adams [Thu, 19 Jan 1995 01:27:46 +0000 (01:27 +0000)]
Added FORM/COPY-TRANSFORMING
Stephen Adams [Thu, 19 Jan 1995 00:10:42 +0000 (00:10 +0000)]
*** empty log message ***
Stephen Adams [Tue, 17 Jan 1995 23:01:57 +0000 (23:01 +0000)]
Exported COMPILER:GURU?
Stephen Adams [Tue, 17 Jan 1995 23:00:51 +0000 (23:00 +0000)]
*** empty log message ***
Stephen Adams [Tue, 17 Jan 1995 22:59:43 +0000 (22:59 +0000)]
Added COMPILER:GURU?
Stephen Adams [Tue, 17 Jan 1995 22:49:36 +0000 (22:49 +0000)]
Removed constant progagation message.
Chris Hanson [Mon, 16 Jan 1995 20:58:18 +0000 (20:58 +0000)]
Change SELECT-DESCRIPTOR to return process-status flag when
appropriate.
Chris Hanson [Mon, 16 Jan 1995 20:57:52 +0000 (20:57 +0000)]
Change many of the fatal window-system errors to non-fatal warnings.
Expand the error/warning text to make it clearer and more useful.
Chris Hanson [Mon, 16 Jan 1995 20:57:00 +0000 (20:57 +0000)]
Error pop-ups are now disabled all the time. Additionally, catch more
error codes when probing for file existence. Most of the new error
codes have to do with floppy drives.
Chris Hanson [Mon, 16 Jan 1995 20:56:12 +0000 (20:56 +0000)]
Disable random error/exception pop-ups generated by OS/2 kernel.
Chris Hanson [Mon, 16 Jan 1995 20:46:15 +0000 (20:46 +0000)]
Fix bug in pathname merging -- if the user specifies a device, don't
merge in the default pathname's directory but instead start at that
device's root directory.
Chris Hanson [Mon, 16 Jan 1995 20:40:09 +0000 (20:40 +0000)]
Fix bug in previous change: OS/NUMERIC-BACKUP-FILENAME? must return a
pair consisting of the filename root and the backup version.
Chris Hanson [Mon, 16 Jan 1995 20:12:06 +0000 (20:12 +0000)]
Use new CREF directives to improve packaging.
Chris Hanson [Mon, 16 Jan 1995 20:08:33 +0000 (20:08 +0000)]
Fix bug in C indentation: side-effect occurring at wrong time caused
temporary markers to lose their position.
Stephen Adams [Sat, 14 Jan 1995 17:02:41 +0000 (17:02 +0000)]
Added annotations for trampolines.
Stephen Adams [Sat, 14 Jan 1995 00:30:27 +0000 (00:30 +0000)]
Exported *pp-arity-dispatched-procedure-style*.
Stephen Adams [Sat, 14 Jan 1995 00:29:51 +0000 (00:29 +0000)]
Taught the top level PP procedure about a range of new object types:
. RECORDs with no recognised record type, WEAK PAIRs, and CELLs
print out a bit like named structures.
. arity-dispatched-procedures (a kind of ENTITY) print out as a CASE
expression. The style is controlled by
*pp-arity-dispatched-procedure-style*
Stephen Adams [Fri, 13 Jan 1995 22:17:16 +0000 (22:17 +0000)]
Changed all the default procedures for the entities for +, min, < etc
to be named procedures.
Stephen Adams [Fri, 13 Jan 1995 22:11:39 +0000 (22:11 +0000)]
Fixed typo in previous edit.
Stephen Adams [Fri, 13 Jan 1995 21:48:54 +0000 (21:48 +0000)]
If an arity-dispatched-procedure has a named compiled procedure as the
default then this procedure's name is used in printing the #[..] object.
Stephen Adams [Fri, 13 Jan 1995 18:39:16 +0000 (18:39 +0000)]
Added pretty printer method for CASE which works like this:
(case will-fit-on-line
clause
clause)
or
(case
wont-fit-on-line
clause
clause)
ssmith [Thu, 12 Jan 1995 22:39:50 +0000 (22:39 +0000)]
Fixed bug: editted target-register so that it always calls allocate-alias-
register. If it is not called, then any assigns to machine registers will
not "lock" the register. This was a problem when the procedure would assign
the return value and then use the same register to compute where to go next.
ssmith [Thu, 12 Jan 1995 19:51:19 +0000 (19:51 +0000)]
Fixed bug in invocations: It jmped to the address at the memory location
pointed to by the register, instead of jumping to the address pointed to by the
register.
ssmith [Thu, 12 Jan 1995 19:42:02 +0000 (19:42 +0000)]
Made fixes. Still doesn't handle addressing forms.
ssmith [Thu, 12 Jan 1995 17:29:24 +0000 (17:29 +0000)]
One missing close-paren...
ssmith [Thu, 12 Jan 1995 17:24:26 +0000 (17:24 +0000)]
Added Pentium timing procedure.
Stephen Adams [Thu, 12 Jan 1995 17:24:07 +0000 (17:24 +0000)]
Entities used to inplement arity-dispatched-procedures print out
slighty differently.
Stephen Adams [Thu, 12 Jan 1995 17:02:26 +0000 (17:02 +0000)]
Added the predicate ARITY-DISPATCHED-PROCEDURE?, which is true for
certain kinds of ENTITY.
ssmith [Thu, 12 Jan 1995 16:34:48 +0000 (16:34 +0000)]
More bug fixes: Incorrect function names, bad pattern for lea.
ssmith [Thu, 12 Jan 1995 16:28:23 +0000 (16:28 +0000)]
Fixed a bug in referencing instruction part of the pattern. Also added
patterns for non-code items, such as comment, etc...
ssmith [Thu, 12 Jan 1995 16:22:32 +0000 (16:22 +0000)]
Stupid bug in call (car) of procedure get-instruction-info.
ssmith [Thu, 12 Jan 1995 16:16:21 +0000 (16:16 +0000)]
Added clock timing. Still needs much work.
ssmith [Thu, 12 Jan 1995 15:33:07 +0000 (15:33 +0000)]
Made it print instructions so I can learn what linear-lap looks like.
ssmith [Thu, 12 Jan 1995 14:45:48 +0000 (14:45 +0000)]
Fixed assumption that raw continuation is 4 bytes after one left on stack.
ssmith [Wed, 11 Jan 1995 22:14:41 +0000 (22:14 +0000)]
Added internal-closure-code-word.
ssmith [Wed, 11 Jan 1995 22:09:38 +0000 (22:09 +0000)]
Copied CLOSURE and EXPRESSION rules verbatim.
ssmith [Wed, 11 Jan 1995 22:02:45 +0000 (22:02 +0000)]
Fixed missing close-paren.
ssmith [Wed, 11 Jan 1995 21:58:54 +0000 (21:58 +0000)]
Added invocations.
ssmith [Wed, 11 Jan 1995 21:09:46 +0000 (21:09 +0000)]
Added standard-source!. Also added comment on *privilege-level*
ssmith [Wed, 11 Jan 1995 20:53:51 +0000 (20:53 +0000)]
Added COERCE-VALUE-CLASS rules. Copied verbatim from Spectrum without
understanding their purpose or function.
ssmith [Wed, 11 Jan 1995 20:42:52 +0000 (20:42 +0000)]
Added rules for interrupt-check'ing. Also added privilege-level to lapgen.scm.
ssmith [Wed, 11 Jan 1995 20:42:06 +0000 (20:42 +0000)]
Added *privilege-level*
ssmith [Wed, 11 Jan 1995 20:25:23 +0000 (20:25 +0000)]
Added the hook register (eax) so invoke-hook calls in rules3 can use it instead
of hard coding EAX.
ssmith [Wed, 11 Jan 1995 16:24:26 +0000 (16:24 +0000)]
Added trivial closures -- copied from Spectrum's.
ssmith [Tue, 10 Jan 1995 23:15:57 +0000 (23:15 +0000)]
Added max-type-code and machine/cont-adjustment -- copied verbatim from the
Spectrum's machin.scm.
ssmith [Tue, 10 Jan 1995 21:55:11 +0000 (21:55 +0000)]
Added *rtlgen/argument-registers* to be ecx and edx.
Stephen Adams [Tue, 10 Jan 1995 21:48:43 +0000 (21:48 +0000)]
Initial revision
Stephen Adams [Tue, 10 Jan 1995 20:53:08 +0000 (20:53 +0000)]
Initial revision
Chris Hanson [Tue, 10 Jan 1995 20:38:15 +0000 (20:38 +0000)]
Add new directives INCLUDE and EXTEND-PACKAGE.
Stephen Adams [Tue, 10 Jan 1995 02:46:27 +0000 (02:46 +0000)]
Removed `Missing debugging info' message as it was irritating people.
Chris Hanson [Sat, 7 Jan 1995 00:29:42 +0000 (00:29 +0000)]
Change 4-character filename suffixes to 3-character.
Chris Hanson [Fri, 6 Jan 1995 23:58:17 +0000 (23:58 +0000)]
Don't enable interrupts which currently have no handlers.
Chris Hanson [Fri, 6 Jan 1995 23:54:53 +0000 (23:54 +0000)]
Don't enable interrupts which currently have no handlers.
Chris Hanson [Fri, 6 Jan 1995 22:15:45 +0000 (22:15 +0000)]
Eliminate extra period in OS/2 error messages.
Chris Hanson [Fri, 6 Jan 1995 22:14:29 +0000 (22:14 +0000)]
Eliminate extra period in OS/2 error messages.
Chris Hanson [Fri, 6 Jan 1995 22:12:13 +0000 (22:12 +0000)]
Eliminate extra period in OS/2 error messages.
Chris Hanson [Fri, 6 Jan 1995 21:58:40 +0000 (21:58 +0000)]
Signal error when attempting to read non-existant directory.
Chris Hanson [Fri, 6 Jan 1995 20:52:39 +0000 (20:52 +0000)]
Update to reflect change to runtime system.
Chris Hanson [Fri, 6 Jan 1995 20:51:57 +0000 (20:51 +0000)]
Use LOAD-OPTION to load CREF.