* Take advantage of new entry points in compiled code interface.
authorChris Hanson <org/chris-hanson/cph>
Mon, 11 Dec 1989 07:15:11 +0000 (07:15 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 11 Dec 1989 07:15:11 +0000 (07:15 +0000)
These changes require microcode 11.16 or later.

* Use BFEXTU instruction to extract type field.  This instruction is
both faster and smaller than the previous sequence, for both 6 and 8
bit types.  Use BFTST instruction to test for zero types.
Conditionalize use of the bit-field instructions on the new flag
`use-68020-instructions?'; I don't believe that we're using any other
68020-specific instructions besides these.

* Add rule for 1-arg fixnum predicates that tries to take advantage of
the preceding LSL.L instruction to test the number, rather than
emitting a redundant TST.L; this new rule is always used in generic
arithmetic expansions.

v7/src/compiler/machines/bobcat/make.scm-68040

index c140ed3bf236d0d9ccb6354d3071ffe8557a948e..08071e6a8d0822e8ca6c78e267261081bb61dc88 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/bobcat/make.scm-68040,v 4.62 1989/12/05 20:54:08 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/bobcat/make.scm-68040,v 4.63 1989/12/11 07:15:11 cph Exp $
 
 Copyright (c) 1988, 1989 Massachusetts Institute of Technology
 
@@ -41,4 +41,4 @@ MIT in each case. |#
            ((package/reference (find-package name) 'INITIALIZE-PACKAGE!)))
          '((COMPILER MACROS)
            (COMPILER DECLARATIONS)))
-(add-system! (make-system "Liar (Motorola MC68020)" 4 62 '()))
\ No newline at end of file
+(add-system! (make-system "Liar (Motorola MC68020)" 4 63 '()))
\ No newline at end of file