Chris Hanson [Mon, 28 Nov 1994 03:51:01 +0000 (03:51 +0000)]
Call dstack_initialize and transaction_initialize from main rather
than from the operating-system specific initialization procedures.
Chris Hanson [Mon, 28 Nov 1994 03:43:02 +0000 (03:43 +0000)]
Initial revision
Chris Hanson [Sun, 27 Nov 1994 23:05:09 +0000 (23:05 +0000)]
Fix bug in previous change.
Guillermo J. Rozas [Sat, 26 Nov 1994 22:07:13 +0000 (22:07 +0000)]
Some minor changes for environment information.
Guillermo J. Rozas [Sat, 26 Nov 1994 20:00:29 +0000 (20:00 +0000)]
Added fnord
Stephen Adams [Sat, 26 Nov 1994 19:24:41 +0000 (19:24 +0000)]
Added hooks for PROFILE-COUNT.
Stephen Adams [Sat, 26 Nov 1994 19:23:53 +0000 (19:23 +0000)]
Forbid lapopt to fill the delay slot in the PROFILE-COUNT code.
Stephen Adams [Sat, 26 Nov 1994 19:22:32 +0000 (19:22 +0000)]
Added switch COMPILER:GENERATE-PROFILING-INSTRUCTIONS?
Stephen Adams [Sat, 26 Nov 1994 19:21:03 +0000 (19:21 +0000)]
Added RTL PROFILE-COUNT and PROFILE-DATA.
Stephen Adams [Sat, 26 Nov 1994 19:20:28 +0000 (19:20 +0000)]
PARSE-RTL now inserts PROFILE-COUNT instructions at the end of basic
block. It mostly works, but this is the wrong place for it. There is
no effect unless compiler:generate-profiling-instructions? is true.
The instuctions should be added just prior to assembly. This would
make PARSE-RTL a reusable utility (we dont want two or three counts
per basic block!), and it would forestall problems with RTL
optimizations that change basic block boundaries (like common suffic
merging).
Stephen Adams [Sat, 26 Nov 1994 19:14:49 +0000 (19:14 +0000)]
Added fluid variable *BLOCK-PROFILES* for gathering profiling data.
Stephen Adams [Sat, 26 Nov 1994 19:13:50 +0000 (19:13 +0000)]
Added the profile information abstraction.
The base abstraction of the profile info keys and tags should probably
go in the runtime.
A reporting package should be created as a load option.
The important parts to the compiler should stay here. These parts
track the profile-data declarationd and compute the information that
is inserted in the compiled code block.
Stephen Adams [Sat, 26 Nov 1994 19:06:58 +0000 (19:06 +0000)]
Added code to process PROFILE-COUNT and PROFILE-DATA
Stephen Adams [Sat, 26 Nov 1994 19:06:24 +0000 (19:06 +0000)]
*** empty log message ***
Guillermo J. Rozas [Sat, 26 Nov 1994 19:05:34 +0000 (19:05 +0000)]
Blow away copier/remember, unneeded since the remember routine is
passed around as STATE.
Stephen Adams [Sat, 26 Nov 1994 19:03:36 +0000 (19:03 +0000)]
Added methods for PROFILE-COUNT and PROFILE-DATA
Stephen Adams [Sat, 26 Nov 1994 19:02:23 +0000 (19:02 +0000)]
For suffix merging, the CONSTANTs in a PROFILE-DATA can be merely
EQUAL? (rather than EQV?).
Stephen Adams [Sat, 26 Nov 1994 17:43:21 +0000 (17:43 +0000)]
Changed NEW-VARIABLE to put the index as part of the name.
Guillermo J. Rozas [Sat, 26 Nov 1994 16:56:47 +0000 (16:56 +0000)]
Whitespace problem?
Guillermo J. Rozas [Sat, 26 Nov 1994 16:55:36 +0000 (16:55 +0000)]
Update to partly handle new compatibility stuff.
Guillermo J. Rozas [Sat, 26 Nov 1994 16:55:09 +0000 (16:55 +0000)]
Add compile/debug since compile drops the variable properties.
Jim Miller [Sat, 26 Nov 1994 00:24:08 +0000 (00:24 +0000)]
Calls to *make-environment now declare the correct number of
arguments, rather than let rtlgen compute it.
This is necessary because some may be passed on the stack,
not easily visible to rtlgen.
Jim Miller [Sat, 26 Nov 1994 00:23:24 +0000 (00:23 +0000)]
Get rid of spurious "cont" binding in first-class environments.
Jim Miller [Sat, 26 Nov 1994 00:23:03 +0000 (00:23 +0000)]
It is now illegal to have a uuo-link with unknown number of arguments.
Compat may have rewritten the call to pass arguments on the stack,
and there is no simple way for rtlgen to recover this information,
hence the calls must come in with the right number.
Stephen Adams [Fri, 25 Nov 1994 23:08:14 +0000 (23:08 +0000)]
Added code-rewrite/remember
Stephen Adams [Fri, 25 Nov 1994 23:06:58 +0000 (23:06 +0000)]
Changes make-dataflow-analyzer to do nothing if dataflow/top-level
refused to make a graph (happens when the graph would be too beig)
Stephen Adams [Fri, 25 Nov 1994 23:05:40 +0000 (23:05 +0000)]
Added/fixed *phases-to-omit*
Stephen Adams [Fri, 25 Nov 1994 23:04:51 +0000 (23:04 +0000)]
(with Bill) added calls to remember rewrites
Stephen Adams [Fri, 25 Nov 1994 23:03:33 +0000 (23:03 +0000)]
*** empty log message ***
Stephen Adams [Fri, 25 Nov 1994 23:03:05 +0000 (23:03 +0000)]
Added variable *maximum-node-count* to abort dataflow for large graphs.
Jim Miller [Fri, 25 Nov 1994 23:01:56 +0000 (23:01 +0000)]
Changed order of arguments to %*set!
Stephen Adams [Fri, 25 Nov 1994 23:01:39 +0000 (23:01 +0000)]
Added code/rewrite stuff
Stephen Adams [Fri, 25 Nov 1994 23:00:45 +0000 (23:00 +0000)]
Bill added some debugging stuff.
Stephen Adams [Fri, 25 Nov 1994 22:58:37 +0000 (22:58 +0000)]
Corrected the remember procedure.
Stephen Adams [Fri, 25 Nov 1994 22:57:50 +0000 (22:57 +0000)]
*** empty log message ***
Jim Miller [Fri, 25 Nov 1994 17:08:10 +0000 (17:08 +0000)]
Added code to stackopt/model/make to handle the case where a procedure
is called with ignored-continuations on the stack (as parameters).
This is really a patch to get around the harder problem of removing
the ignored-continuations.
Stephen Adams [Fri, 25 Nov 1994 16:29:40 +0000 (16:29 +0000)]
Added code to include the parameters of `fat' procedures (thos ethat
have some stack arguments) in the stack optimization.
Guillermo J. Rozas [Wed, 23 Nov 1994 23:15:26 +0000 (23:15 +0000)]
Undo change to rtlgen/available-registers that made the raw
continuation register available for allocation.
Stephen Adams [Wed, 23 Nov 1994 21:31:58 +0000 (21:31 +0000)]
More profiling stuff
Guillermo J. Rozas [Wed, 23 Nov 1994 20:43:30 +0000 (20:43 +0000)]
Eliminate potential register reallocation of the continuation register
in new-apply.
Stephen Adams [Wed, 23 Nov 1994 20:40:56 +0000 (20:40 +0000)]
*** empty log message ***
Guillermo J. Rozas [Wed, 23 Nov 1994 20:03:26 +0000 (20:03 +0000)]
Make compile by procedures dump the filename in every compiled code
block, rather than the symbol 'RECURSIVE.
Stephen Adams [Wed, 23 Nov 1994 03:18:44 +0000 (03:18 +0000)]
Turn debugging information on by default.
Stephen Adams [Wed, 23 Nov 1994 03:18:03 +0000 (03:18 +0000)]
Fix within-midend to propagate debugging information correctly accross
recursive compilations.
Stephen Adams [Wed, 23 Nov 1994 02:28:44 +0000 (02:28 +0000)]
Make missing debugging info warn instead of signalling an error.
Guillermo J. Rozas [Tue, 22 Nov 1994 23:33:29 +0000 (23:33 +0000)]
Fix parenthesis problem.
Stephen Adams [Tue, 22 Nov 1994 21:32:52 +0000 (21:32 +0000)]
Added profile counts for a few operations (cons, make-cell, ?)
Guillermo J. Rozas [Tue, 22 Nov 1994 19:52:24 +0000 (19:52 +0000)]
Simple returns (and hook returns) must associate the debugging
information both with the return and the value being returned.
Guillermo J. Rozas [Tue, 22 Nov 1994 19:51:49 +0000 (19:51 +0000)]
Substitutions must propagate debugging information correctly.
Guillermo J. Rozas [Tue, 22 Nov 1994 19:50:34 +0000 (19:50 +0000)]
Letrec must propagate debugging information correctly when producing a
trivial closure.
Guillermo J. Rozas [Tue, 22 Nov 1994 19:49:17 +0000 (19:49 +0000)]
Add definition of code-rewrite/remember*!
Guillermo J. Rozas [Tue, 22 Nov 1994 19:48:54 +0000 (19:48 +0000)]
Add call to compat/remember in the special handler for
%make-heap-closure.
Stephen Adams [Tue, 22 Nov 1994 19:45:34 +0000 (19:45 +0000)]
*** empty log message ***
Stephen Adams [Tue, 22 Nov 1994 04:01:23 +0000 (04:01 +0000)]
Added profile-count hook entries.
Stephen Adams [Tue, 22 Nov 1994 03:50:00 +0000 (03:50 +0000)]
Make lamba-list/parse return #!AUX parameters
Stephen Adams [Tue, 22 Nov 1994 03:49:09 +0000 (03:49 +0000)]
*** empty log message ***
Guillermo J. Rozas [Sun, 20 Nov 1994 22:05:55 +0000 (22:05 +0000)]
Delay environment construction until after it is determined that
the debugging info contains a valid environment.
Stephen Adams [Sun, 20 Nov 1994 20:40:04 +0000 (20:40 +0000)]
Added copyright.
Guillermo J. Rozas [Sun, 20 Nov 1994 17:10:23 +0000 (17:10 +0000)]
Add new compiled-code methods for new compiler.
Chris Hanson [Sun, 20 Nov 1994 08:45:11 +0000 (08:45 +0000)]
Export new names for channel-file-length etc.
Chris Hanson [Sun, 20 Nov 1994 08:23:29 +0000 (08:23 +0000)]
Fix name conflict with new OS/2 primitive FILE-LENGTH.
Chris Hanson [Sun, 20 Nov 1994 05:18:03 +0000 (05:18 +0000)]
Change to use new file-length procedure.
Chris Hanson [Sun, 20 Nov 1994 05:13:14 +0000 (05:13 +0000)]
Implement file-length procedure.
Chris Hanson [Sun, 20 Nov 1994 05:06:56 +0000 (05:06 +0000)]
Rename procedures:
file-length => channel-file-length
file-position => channel-file-position
file-set-position => channel-file-set-position
This is needed to free up `file-length' for use as a procedure that
accepts a file name as argument and returns the file's length.
Chris Hanson [Sun, 20 Nov 1994 00:57:29 +0000 (00:57 +0000)]
Don't use `access' -- use `OS_file_access' instead.
Jim Miller [Sun, 20 Nov 1994 00:47:15 +0000 (00:47 +0000)]
Added copyright.
Jim Miller [Sun, 20 Nov 1994 00:46:15 +0000 (00:46 +0000)]
Added copyright
Chris Hanson [Sat, 19 Nov 1994 21:22:47 +0000 (21:22 +0000)]
Fix typo that causes compiler warning in OS/2 compiler.
Stephen Adams [Sat, 19 Nov 1994 02:11:31 +0000 (02:11 +0000)]
Initial revision
Stephen Adams [Sat, 19 Nov 1994 01:54:17 +0000 (01:54 +0000)]
Initial revision
Stephen Adams [Mon, 14 Nov 1994 19:06:20 +0000 (19:06 +0000)]
Removed unused procedure.
Added comment.
Stephen Adams [Mon, 14 Nov 1994 18:51:26 +0000 (18:51 +0000)]
Copyright date.
Chris Hanson [Mon, 14 Nov 1994 05:16:32 +0000 (05:16 +0000)]
More small changes for OS/2.
Chris Hanson [Mon, 14 Nov 1994 05:04:05 +0000 (05:04 +0000)]
Implement CLEAR_INTERRUPT_NOLOCK (needed for OS/2).
Chris Hanson [Mon, 14 Nov 1994 02:50:58 +0000 (02:50 +0000)]
Eliminate compiler warning.
Chris Hanson [Mon, 14 Nov 1994 02:00:15 +0000 (02:00 +0000)]
Make WRITE-STRINGS-DENSELY more consistent -- it should not terminate
its output with a newline.
Chris Hanson [Mon, 14 Nov 1994 01:31:44 +0000 (01:31 +0000)]
Reformat to eliminate over-long line.
Chris Hanson [Mon, 14 Nov 1994 00:54:36 +0000 (00:54 +0000)]
Eliminate old channel select registry mechanism.
Chris Hanson [Mon, 14 Nov 1994 00:13:38 +0000 (00:13 +0000)]
Eliminate unix-specific CHANNEL-TYPE=FOO? predicates. Use new
CHANNEL-TYPE-NAME primitive if it is available.
Chris Hanson [Mon, 14 Nov 1994 00:12:23 +0000 (00:12 +0000)]
Eliminate unix-specific channel-type=foo? predicates.
Chris Hanson [Mon, 14 Nov 1994 00:05:20 +0000 (00:05 +0000)]
Implement channel-type-name primitive, which should isolate the
runtime system from definitions of microcode channel-type indices.
Chris Hanson [Sun, 13 Nov 1994 23:47:37 +0000 (23:47 +0000)]
Expand channel_type table to include OS/2 channel types. Rename
unix-specific channel types (defining old names as aliases).
Stephen Adams [Sat, 12 Nov 1994 23:05:38 +0000 (23:05 +0000)]
Attended to bugs in copying DEFINITIONS and SEQUENCEs.
Stephen Adams [Sun, 6 Nov 1994 18:36:57 +0000 (18:36 +0000)]
Corrected a primitive's arity.
Stephen Adams [Sun, 6 Nov 1994 18:13:23 +0000 (18:13 +0000)]
Added DESCRIPTOR->DEVICE argument to OPERATION/OPEN.
Graphics windows are now GC-ed and deleted before exit.
Stephen Adams [Sun, 6 Nov 1994 18:06:46 +0000 (18:06 +0000)]
*** empty log message ***
Stephen Adams [Sun, 6 Nov 1994 18:06:33 +0000 (18:06 +0000)]
OPERATION/OPEN now takes an mandatory argument DESCRIPTOR->DEVICE
which converts a descriptor into a user level GRAPHICS-DEVICE.
This allows a graphics device implementation access to the user level
GRAPHICS-DEVICE object at initialization time, which may be used in in
protection lists etc (as is done in the win32 implementation).
Chris Hanson [Fri, 4 Nov 1994 20:06:41 +0000 (20:06 +0000)]
Change printed representation of undefined values.
Chris Hanson [Fri, 4 Nov 1994 20:06:03 +0000 (20:06 +0000)]
Change ";No value" to ";No useful value" per discussion with Meyer.
Stephen Adams [Thu, 3 Nov 1994 05:03:53 +0000 (05:03 +0000)]
Fixed edwin.ldr. Some files were loaded twice.
Changed the selection of a default display type.
If a display type is requested but is not available then an error is
generated (the code used not to check).
There is no longer a preference for the display type 'CONSOLE, so the
list of defined types is always searched. The initialization sequence
in edwin.ldr is tterm before (xterm or win32), which puts the
graphical display types ahead of the console in the display types
list, and this places them at a higher desirability.
Doing this revealed that the win32 availablility predicate was
implemented incorrectly.
Stephen Adams [Thu, 3 Nov 1994 04:41:31 +0000 (04:41 +0000)]
Fixed edwin.ldr. Some files were loaded twice.
Changed the selection of a default display type.
If a display type is requested but is not available then an error is
generated (the code used not to check).
There is no longer a preference for the display type 'CONSOLE, so the
list of defined types is always searched. The initialization sequence
in edwin.ldr is tterm before (xterm or win32), which puts the
graphical display types ahead of the console in the display types
list, and this places them at a higher desirability.
Doing this revealed that the win32 availablility predicate was
implemented incorrectly.
Stephen Adams [Thu, 3 Nov 1994 04:25:45 +0000 (04:25 +0000)]
Fixes to allow bios and the new tterm to work together.
Stephen Adams [Wed, 2 Nov 1994 20:45:19 +0000 (20:45 +0000)]
New Win32 API procedures: GET-FOCUS, SET-ACTIVE-WINDOW and SHOW-WINDOW.
Stephen Adams [Wed, 2 Nov 1994 20:42:24 +0000 (20:42 +0000)]
Turned on optimization for worthwhile files:
gcloop.c: test gc improved from 1.71s to 0.84s.
fasload.c: fasloading large files is 20% faster.
(Of course, debugging problems in these areas will be hell, unless
they optimizations are (trivially) turned back off).
Stephen Adams [Wed, 2 Nov 1994 20:35:27 +0000 (20:35 +0000)]
Rationalized or removed screen primitives to support the impoved Edwin
Win32 Screen.
Stephen Adams [Wed, 2 Nov 1994 20:30:53 +0000 (20:30 +0000)]
Add Coffee Icon.
Update copyright date.
Stephen Adams [Wed, 2 Nov 1994 20:27:05 +0000 (20:27 +0000)]
Changes mainly to support the impoved Edwin Win32 Screen.
. Eliminated WM_ERASEBKGND. Changed WM_PAINT to paint in the pixels
near the edge that WM_ERASEBKGND. This change is more efficient
and avoids flicker on resizing.
. One icon per screen rather than one for all screens.
. Key and mouse messages are not converted into input events when
window is iconic
. Added a focus-tracking device for use by Edwin. Re-worked Focus
and Caret code to get it right.
. Window text color defaults to the system default rather than black.
. New mode SCREEN_MODE_VK_KEYS controls whether arrow key events are
sent as special keys or emacs-ascii (^P for up etc).
. Minimum screen size is 3 rows of 5 columns, pending rework of edwin
to advise screen sizes
Stephen Adams [Wed, 2 Nov 1994 20:08:04 +0000 (20:08 +0000)]
Initial revision
Stephen Adams [Wed, 2 Nov 1994 20:07:18 +0000 (20:07 +0000)]
Tidying.
Stephen Adams [Wed, 2 Nov 1994 19:40:18 +0000 (19:40 +0000)]
Changes for the new Win32 screen driver (which somehow got omitted
last time), plus changes for the improvements.