#| -*-Scheme-*-
-$Id: switch.scm,v 1.5 1995/08/08 16:17:59 adams Exp $
+$Id: switch.scm,v 1.6 1996/07/20 18:08:36 adams Exp $
-Copyright (c) 1988-1994 Massachusetts Institute of Technology
+Copyright (c) 1988-1996 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(define compiler:optimize-environments? true)
(define compiler:analyze-side-effects? true)
(define compiler:cse? true)
+(define compiler:rtl-instruction-scheduling? false)
(define compiler:open-code-primitives? true)
(define compiler:generate-kmp-files? false)
(define compiler:kmp-output-abbreviated? true)
#| -*-Scheme-*-
-$Id: toplev.scm,v 1.11 1995/08/08 16:20:33 adams Exp $
+$Id: toplev.scm,v 1.12 1996/07/20 18:08:46 adams Exp $
-Copyright (c) 1988-1995 Massachusetts Institute of Technology
+Copyright (c) 1988-1996 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
false))
(if compiler:code-compression?
(phase/code-compression))
+ (if (and *rtl-output-all-phases?* *rtl-output-port*)
+ (phase/rtl-file-output "Post Code-Compression"
+ false
+ false
+ false
+ *rtl-output-port*
+ false))
+ (if compiler:rtl-instruction-scheduling?
+ (begin
+ (phase/rtl-instruction-scheduling)
+ (phase/lifetime-analysis)
+ (if (and *rtl-output-all-phases?* *rtl-output-port*)
+ (phase/rtl-file-output "Post Instruction-Scheduling"
+ false
+ false
+ false
+ *rtl-output-port*
+ false))))
(phase/register-allocation)
(phase/rtl-optimization-cleanup))))
\f
(lambda ()
(code-compression *rtl-graphs*))))
+(define (phase/rtl-instruction-scheduling)
+ (compiler-subphase "Instruction Scheduling"
+ (lambda ()
+ (rtl-instruction-scheduling *rtl-graphs*))))
+
(define (phase/linearization-analysis)
(compiler-subphase "Linearization Analysis"
(lambda ()