Chris Hanson [Fri, 10 Aug 1990 02:02:25 +0000 (02:02 +0000)]
Recent versions of ultrix are mostly POSIX-compliant.
Chris Hanson [Fri, 10 Aug 1990 02:01:25 +0000 (02:01 +0000)]
Forgot some arguments to fprintf.
Guillermo J. Rozas [Thu, 9 Aug 1990 19:52:20 +0000 (19:52 +0000)]
Fix casting bug.
Guillermo J. Rozas [Thu, 9 Aug 1990 19:40:39 +0000 (19:40 +0000)]
Change the code to accomodate:
- Machines where the Scheme stack pointer and the C stack pointer do
not live in the same register.
- The "new" compiled code interface, where C code (including
primitives) always executes on the C stack, except for the couple of
instructions each way.
Guillermo J. Rozas [Thu, 9 Aug 1990 19:39:26 +0000 (19:39 +0000)]
Add definition of FULL_SIGCONTEXT_SCHSP for machines where the Scheme
stack pointer and the C stack pointer are separate registers.
Guillermo J. Rozas [Thu, 9 Aug 1990 15:03:22 +0000 (15:03 +0000)]
Add /scheme/850 directories to rewrite rules.
Guillermo J. Rozas [Thu, 9 Aug 1990 04:24:20 +0000 (04:24 +0000)]
Fix bug in STORE_ABSOLUTE_ADDRESS by which large addresses in the
26-bit range where being relocated incorrectly on band-load.
Guillermo J. Rozas [Wed, 8 Aug 1990 20:28:21 +0000 (20:28 +0000)]
Fix error message when the cache information file is not found.
Guillermo J. Rozas [Wed, 8 Aug 1990 20:22:41 +0000 (20:22 +0000)]
Add hppacache.h to Spectrum GC_HEAD_FILES.
Add XTRA_TARGETS for architecture-dependent files, and make
Spectrum XTRA_TARGETS be hppacache.
Guillermo J. Rozas [Wed, 8 Aug 1990 20:21:12 +0000 (20:21 +0000)]
Initial revision
Guillermo J. Rozas [Wed, 8 Aug 1990 20:20:40 +0000 (20:20 +0000)]
Add definition of ENTRY_PREFIX_LENGTH .
Add cache-flushing code to guarantee consistency between the D-cache
and the I-cache after instructions are copied, moved, or created in
Scheme data space.
Guillermo J. Rozas [Wed, 8 Aug 1990 20:08:52 +0000 (20:08 +0000)]
Fix type declaration for cache_flush_all.
Make cache_flush_region round up rather than truncate when determining
how many blocks to flush.
Chris Hanson [Wed, 8 Aug 1990 00:58:42 +0000 (00:58 +0000)]
When the continuation parser makes a transition from interpreted to
compiled frames or vice-versa, the history subproblem must be stepped.
The reasons for this are that:
1. When interpreted code is called from compiled code, a new history
subproblem is pushed. This subproblem must be discarded when making
the transition back to the compiled code stack frame.
2. When compiled code is called from interpreted code, the existing
history subproblem is preserved for use if the compiled code
tail-recurses back into interpreted code. This subproblem must be
discarded when making the transition back to the interpreted code
stack frame.
Guillermo J. Rozas [Tue, 7 Aug 1990 23:33:31 +0000 (23:33 +0000)]
Fix occurrences of old names of renamed variables.
Guillermo J. Rozas [Tue, 7 Aug 1990 23:06:06 +0000 (23:06 +0000)]
Add definition of sp_nil .
Chris Hanson [Tue, 7 Aug 1990 20:11:06 +0000 (20:11 +0000)]
Temporarily disable consistency check in `stack-ccenv/normal-closure',
because it fails for certain cases of multi-closures.
Guillermo J. Rozas [Tue, 7 Aug 1990 15:36:22 +0000 (15:36 +0000)]
- Add new hooks for compiled code:
store_closure_entry
multiply_fixnum
fixnum_quotient
fixnum_remainder
fixnum_lsh
- Add debugging code (under control of an M4 definition).
- Add cache flushing instructions to store_closure_code (shared by
store_closure_entry).
- Add cache flushing subroutines:
cache_flush_region (address, count_in_lwords)
cache_flush_all (cache_set, cache_info)
Guillermo J. Rozas [Sun, 5 Aug 1990 05:42:43 +0000 (05:42 +0000)]
Fix bug in cons-closure-entry by which branch-expanded LDOs were
causing problems: the ADDIL was being executed immediately after the
BLE, the LDO on return, and thus the address stored in the closure was
bogus.
Guillermo J. Rozas [Sun, 5 Aug 1990 05:41:27 +0000 (05:41 +0000)]
Add PCR-HOOK pseudo-op for the closure creation code.
Guillermo J. Rozas [Mon, 30 Jul 1990 23:16:25 +0000 (23:16 +0000)]
Make Ultrix and SunOS describe themeselves as such.
Guillermo J. Rozas [Mon, 30 Jul 1990 23:14:24 +0000 (23:14 +0000)]
Include ultrix conditionalization in oscond.h rather than s/ultrix.h .
Guillermo J. Rozas [Mon, 30 Jul 1990 17:31:28 +0000 (17:31 +0000)]
Fix ifdefs for HPUX after ULTRIX changes.
Guillermo J. Rozas [Mon, 30 Jul 1990 17:05:42 +0000 (17:05 +0000)]
Merge in Jmiller's changes for the MIPS.
Guillermo J. Rozas [Mon, 30 Jul 1990 17:05:08 +0000 (17:05 +0000)]
Remove dangling #endif left over from previous edit.
Guillermo J. Rozas [Mon, 30 Jul 1990 16:54:26 +0000 (16:54 +0000)]
Merge in Jmiller's last changes.
Guillermo J. Rozas [Mon, 30 Jul 1990 16:45:34 +0000 (16:45 +0000)]
Merge in Jmiller's last changes.
Guillermo J. Rozas [Mon, 30 Jul 1990 16:37:57 +0000 (16:37 +0000)]
Merge in Jmiller's last changes.
Guillermo J. Rozas [Mon, 30 Jul 1990 16:21:14 +0000 (16:21 +0000)]
Merge in Jmiller's last changes.
Guillermo J. Rozas [Mon, 30 Jul 1990 04:01:23 +0000 (04:01 +0000)]
Remove reference to primitive file-read-char (gone), and use new names
for file primitives.
Guillermo J. Rozas [Mon, 30 Jul 1990 03:47:46 +0000 (03:47 +0000)]
Move the call to reset-gc-after-restore! from disk-save/kernel to
setup-image, since both disk-save and dump-world must take care of it.
Guillermo J. Rozas [Sat, 28 Jul 1990 21:45:22 +0000 (21:45 +0000)]
Make scmkit work again (under HP-UX 7.0) by invoking gld with the
-noinhibit-exec option.
Guillermo J. Rozas [Sat, 28 Jul 1990 18:57:17 +0000 (18:57 +0000)]
Resurrect dmpwrld.c .
Install hooks in various places so that IO descriptors, etc. are OK
after resuming execution.
Guillermo J. Rozas [Sat, 28 Jul 1990 18:56:49 +0000 (18:56 +0000)]
Resurrect dmpwrld.c .
Install hooks in various places so that IO descriptors, etc. are OK
after resuming execution.
Guillermo J. Rozas [Fri, 27 Jul 1990 21:30:08 +0000 (21:30 +0000)]
Initial revision
Guillermo J. Rozas [Fri, 27 Jul 1990 21:29:37 +0000 (21:29 +0000)]
New version of unexec from emacs 18.55 .
Guillermo J. Rozas [Fri, 27 Jul 1990 00:29:56 +0000 (00:29 +0000)]
Fix pathnames after making altdorf the Switzerland server.
Guillermo J. Rozas [Thu, 26 Jul 1990 04:22:22 +0000 (04:22 +0000)]
Fix bug in zero-entry multi closures. The allocation was done incorrectly.
Chris Hanson [Tue, 24 Jul 1990 22:17:12 +0000 (22:17 +0000)]
Fix `graphics-clear' of X window to respect the clip rectangle.
Guillermo J. Rozas [Mon, 23 Jul 1990 14:22:03 +0000 (14:22 +0000)]
fixnum-pred-2->cc was renamed to fixnum-pred->cc. Remove left-over reference.
Guillermo J. Rozas [Sun, 22 Jul 1990 20:33:20 +0000 (20:33 +0000)]
Merge in Jmiller's changes for multi-closures.
Guillermo J. Rozas [Sun, 22 Jul 1990 18:56:39 +0000 (18:56 +0000)]
Update to version match 68k compiler version 4.74.
Multi closures.
Bit-wise fixnum operations.
Add out-of-line multiply and divide (quotient and remainder) routines
that use the floating-point co-processor.
Guillermo J. Rozas [Sun, 22 Jul 1990 18:52:45 +0000 (18:52 +0000)]
Replace uses of land and quotient with fix:and and fix:quotient,
respectively.
Note: Uses of fix:quotient should be replaced with uses of fix:lsh.
Guillermo J. Rozas [Sun, 22 Jul 1990 18:51:48 +0000 (18:51 +0000)]
Fix minor bugs in disassembly (some instructions were missing the
completer).
Guillermo J. Rozas [Sun, 22 Jul 1990 18:50:59 +0000 (18:50 +0000)]
Fix bug in compiler:disassemble by which only half of the variable
caches was being displayed.
Guillermo J. Rozas [Sun, 22 Jul 1990 06:42:25 +0000 (06:42 +0000)]
Fix missing end-of-line back-slash in the documentation string for
FILE-FILL-INPUT-BUFFER.
Guillermo J. Rozas [Sun, 22 Jul 1990 06:40:36 +0000 (06:40 +0000)]
Fix unitialized variable bug in xw_wait_for_window_event.
Typo in the previous check-in.
Guillermo J. Rozas [Sun, 22 Jul 1990 06:35:42 +0000 (06:35 +0000)]
Fix unitialized variable bug in xw_wait_for_window_event.
Guillermo J. Rozas [Fri, 20 Jul 1990 15:53:40 +0000 (15:53 +0000)]
Improve code sequence for constant second argument to
FIXNUM-REMAINDER.
Guillermo J. Rozas [Fri, 20 Jul 1990 01:24:13 +0000 (01:24 +0000)]
Improve copy-program, and move it to a separate file (prgcop) and
package (runtime program-copier).
Guillermo J. Rozas [Fri, 20 Jul 1990 01:21:23 +0000 (01:21 +0000)]
Add package definition for package (runtime program-copier).
Guillermo J. Rozas [Fri, 20 Jul 1990 01:20:52 +0000 (01:20 +0000)]
Add initialization for package (runtime program-copier).
Guillermo J. Rozas [Fri, 20 Jul 1990 01:12:33 +0000 (01:12 +0000)]
Initial revision
Guillermo J. Rozas [Fri, 20 Jul 1990 01:12:03 +0000 (01:12 +0000)]
Remove copy-program. It now lives in prgcop.scm .
Guillermo J. Rozas [Thu, 19 Jul 1990 21:44:33 +0000 (21:44 +0000)]
Add fixnum-lsh to list of primitives that can be constant-folded.
Guillermo J. Rozas [Thu, 19 Jul 1990 19:11:32 +0000 (19:11 +0000)]
Take word size into account. Shifts past fixnum size always return
0.
Guillermo J. Rozas [Thu, 19 Jul 1990 04:03:55 +0000 (04:03 +0000)]
Add the NV condition to extract-deposit-condition.
Chris Hanson [Wed, 18 Jul 1990 20:40:33 +0000 (20:40 +0000)]
Handle EOF on the console input.
Guillermo J. Rozas [Mon, 16 Jul 1990 23:17:21 +0000 (23:17 +0000)]
Enable io_burst mode. It speeds up small transfers significantly.
Mark Friedman [Mon, 16 Jul 1990 22:07:38 +0000 (22:07 +0000)]
New treatment of X events.
There is now a global X event queue which can be accessed by scheme
primitives.
Added select() in ux.h
Mark Friedman [Mon, 16 Jul 1990 21:06:52 +0000 (21:06 +0000)]
Added select().
Mark Friedman [Mon, 16 Jul 1990 21:03:07 +0000 (21:03 +0000)]
New treatment of X events.
There is now a global X event queue which can be accessed by scheme
primitives.
Mark Friedman [Mon, 16 Jul 1990 20:52:47 +0000 (20:52 +0000)]
New treatment of X events.
There is now a global X event queue which can be accessed by scheme
primitives.
Mark Friedman [Mon, 16 Jul 1990 20:17:38 +0000 (20:17 +0000)]
New treatment of X events.
There is now a global X event queue which can be accessed by scheme
primitives.
Chris Hanson [Mon, 16 Jul 1990 17:12:56 +0000 (17:12 +0000)]
Change restart sequence so that bands dumped from Emacs will restore
correctly.
Guillermo J. Rozas [Sun, 15 Jul 1990 23:37:20 +0000 (23:37 +0000)]
Add fixnum-lsh.
Guillermo J. Rozas [Sun, 15 Jul 1990 22:59:25 +0000 (22:59 +0000)]
Add fixnum-lsh.
Guillermo J. Rozas [Sun, 15 Jul 1990 22:57:43 +0000 (22:57 +0000)]
Add fix:lsh
Guillermo J. Rozas [Sun, 15 Jul 1990 22:52:05 +0000 (22:52 +0000)]
Add fixnum-lsh.
Guillermo J. Rozas [Sun, 15 Jul 1990 22:50:44 +0000 (22:50 +0000)]
Add fixnum-lsh.
Guillermo J. Rozas [Fri, 13 Jul 1990 21:47:33 +0000 (21:47 +0000)]
Add io_timeout_ctl to gpio-open.
Guillermo J. Rozas [Thu, 12 Jul 1990 16:42:39 +0000 (16:42 +0000)]
Fix bug in disassembler/write-linkage-section by which only
even-numbered variable caches were being printed.
Mark Friedman [Tue, 3 Jul 1990 19:49:24 +0000 (19:49 +0000)]
Added dynamic-state-let (in syntax.scm), which is like fluid-let
except that it allows an arbitrary dynamic state space as an argument.
Mark Friedman [Tue, 3 Jul 1990 19:47:57 +0000 (19:47 +0000)]
Added dynamic-state-let, which is like fluid-let except that it allows
an arbitrary dynamic state space as an argument.
Guillermo J. Rozas [Thu, 28 Jun 1990 19:09:25 +0000 (19:09 +0000)]
Rename fixnum and flonum entries to use the microcode primitive name,
rather than the convenient name.
Guillermo J. Rozas [Thu, 28 Jun 1990 18:24:36 +0000 (18:24 +0000)]
Fix trap_handler so that the saved_* parameters are set up correctly
before invoking trap_recover. This fixes the bug by which all traps
were reported as "User microcode reset".
Add find_signal_code_name to generate a string for the signal code
using DECLARE_UX_SIGNAL_CODES defined in uxtrap.h .
Modify setup_trap_frame to use find_signal_code_name .
Fix find_block_address_in_area to not run into an infinite loop (it
was not incrementing the area pointer on most objects).
Guillermo J. Rozas [Thu, 28 Jun 1990 18:20:53 +0000 (18:20 +0000)]
Add definition of DECLARE_UX_SIGNAL_CODES to allow better reporting of
hardware traps.
Guillermo J. Rozas [Thu, 28 Jun 1990 18:20:16 +0000 (18:20 +0000)]
Fix dependencies for uxtrap.o .
Guillermo J. Rozas [Thu, 28 Jun 1990 18:19:53 +0000 (18:19 +0000)]
Fix consistency test after the second phase of purify. It no longer
depends on FLOATING_ALIGNMENT and only on whether constant space was
not overrun by the purification.
Guillermo J. Rozas [Thu, 28 Jun 1990 18:18:11 +0000 (18:18 +0000)]
Change find_constant_space_block to return the address of the first
word of the block where the object is found, rather than the address
of the last word of the previous block.
Change impurify to never impurify flonums.
Remove extraneous conditionalization on FLOATING_ALIGNMENT.
Guillermo J. Rozas [Thu, 28 Jun 1990 18:16:32 +0000 (18:16 +0000)]
Change the definition of PLAUSIBLE_CC_BLOCK_P to handle two cases:
expression blocks, and single procedure blocks generated when the
compiler compiles by procedures.
Guillermo J. Rozas [Thu, 28 Jun 1990 18:15:30 +0000 (18:15 +0000)]
Define ENTRY_PREFIX_LENGTH for use in cmpgc.h .
This allows PLAUSIBLE_CC_BLOCK_P to answer true to blocks with single
procedures.
Guillermo J. Rozas [Thu, 28 Jun 1990 18:10:05 +0000 (18:10 +0000)]
Better reporting of hardware traps.
Guillermo J. Rozas [Thu, 28 Jun 1990 18:09:44 +0000 (18:09 +0000)]
Export two more hardware trap utilities for the error handler.
Guillermo J. Rozas [Thu, 28 Jun 1990 16:36:12 +0000 (16:36 +0000)]
Better reporting of hardware traps.
Guillermo J. Rozas [Thu, 28 Jun 1990 16:35:56 +0000 (16:35 +0000)]
compiled-entry/block is the identity on compiled code blocks.
Guillermo J. Rozas [Thu, 28 Jun 1990 16:35:40 +0000 (16:35 +0000)]
Better reporting of hardware traps.
compiled-entry/block is the identity on compiled code blocks.
Fixnum operations can now be constant folded by the syntaxer.
Guillermo J. Rozas [Wed, 27 Jun 1990 14:07:17 +0000 (14:07 +0000)]
Add fixnum and flonum operations to the list of procedures that can be
constant-folded by the runtime system.
Guillermo J. Rozas [Wed, 27 Jun 1990 14:06:35 +0000 (14:06 +0000)]
Add bit-wise boolean operations to the list of functions the compiler
can open-code and whose results can be shared.
Change the date.
Guillermo J. Rozas [Wed, 27 Jun 1990 14:06:08 +0000 (14:06 +0000)]
Add bit-wise boolean operations to the list of functions the compiler
can open-code and whose results can be shared.
Guillermo J. Rozas [Tue, 26 Jun 1990 22:16:41 +0000 (22:16 +0000)]
Add open coding for bit-wise boolean operations, and
primitive-object-ref/set! .
Enable the open coding of fixnum-quotient and fixnum-remainder.
Add optimizations for these operations when the second operand is a
power of 2 (tricky, see GLS's paper "Arithmetic shifting considered
harmful").
Guillermo J. Rozas [Tue, 26 Jun 1990 22:07:13 +0000 (22:07 +0000)]
Add open coding for bit-wise boolean operations, and
primitive-object-ref/set! .
Enable the open coding of fixnum-quotient and fixnum-remainder.
Add optimizations for these operations when the second operand is a
power of 2 (tricky, see GLS's paper "Arithmetic shifting considered
harmful").
Guillermo J. Rozas [Mon, 25 Jun 1990 18:54:16 +0000 (18:54 +0000)]
Add fixnum bit-wise operations.
Guillermo J. Rozas [Mon, 25 Jun 1990 18:33:46 +0000 (18:33 +0000)]
Change gpio-read-string and gpio-write-string to take position and
count parameters, rather than just count parameters. This speeds up
output when it is divided into chunks.
Guillermo J. Rozas [Mon, 25 Jun 1990 18:29:04 +0000 (18:29 +0000)]
Add "rm -f" lines to the rules for scm6003, scmkit, and scmLYN to
guarantee the correct ownership on the file.
Guillermo J. Rozas [Mon, 25 Jun 1990 18:27:41 +0000 (18:27 +0000)]
Add "rm -f" lines to the scheme and bchscheme rules to guarantee the
correct ownership on the file.
Guillermo J. Rozas [Mon, 25 Jun 1990 18:18:34 +0000 (18:18 +0000)]
Add bit-wise fixnum operations.
Chris Hanson [Fri, 22 Jun 1990 01:44:14 +0000 (01:44 +0000)]
In `OS_file_remove_link', delete regular files no matter how many
links they have.
Chris Hanson [Fri, 22 Jun 1990 01:04:48 +0000 (01:04 +0000)]
Implement `check-and-clean-up-input-channel' in runtime system --
microcode no longer provides this service.
Chris Hanson [Thu, 21 Jun 1990 23:19:39 +0000 (23:19 +0000)]
Use new `get-decoded-time' primitive.
Chris Hanson [Thu, 21 Jun 1990 23:09:32 +0000 (23:09 +0000)]
Forgot to convert elements of `get-decoded-time' to Scheme integers.