Changeset 12191 in project
- Timestamp:
- 10/18/08 15:15:26 (12 years ago)
- Location:
- chicken/branches/cmi
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
chicken/branches/cmi/TODO
r12187 r12191 9 9 *** pre-optimization 10 10 **** changes call-sites and makes them invalid for later pre-optimization 11 ** build 12 *** chicken-boot can't load *.import.so's 13 possibly detect this in a static build and prefer .scm import libs 11 14 ** expander 12 15 *** expansion of r5rs_pitfall 4.2 incorrect -
chicken/branches/cmi/benchmarks/cscbench.scm
r12187 r12191 6 6 7 7 (define ignored-files '("cscbench.scm" "cscbench.scm~")) 8 (define flonum-files '("fft" "maze" ))8 (define flonum-files '("fft" "maze" "nbody")) 9 9 (define cc "`csc -cc-name`") 10 10 (define chicken "chicken") … … 122 122 (set!-values 123 123 (t size-base) 124 (compile-and-run 124 (compile-and-run ; base 125 125 file 126 126 "-debug-level 0 -optimize-level 1" … … 130 130 (set!-values 131 131 (t size-fast) 132 (compile-and-run 132 (compile-and-run ; fast but safe 133 133 file 134 134 "-debug-level 0 -optimize-level 3 -lambda-lift" … … 138 138 (set!-values 139 139 (t size-unsafe) 140 (compile-and-run 140 (compile-and-run ; fast and unsafe 141 141 file 142 142 "-debug-level 0 -optimize-level 4 -block -disable-interrupts -lambda-lift" … … 149 149 (set!-values 150 150 (t size-max) 151 (compile-and-run file "-benchmark-mode" options "" #t) ) 151 (compile-and-run file "-benchmark-mode" options "" #t) ) ; maximal speed 152 152 (set! sum-max (+ sum-max t)))) 153 153 (display-size size-base) -
chicken/branches/cmi/chicken.scm
r12187 r12191 141 141 (cons* 'fixnum-arithmetic 'disable-interrupts 'no-trace 'unsafe 142 142 'optimize-leaf-routines 'block 'lambda-lift 'no-lambda-info 143 ' local143 'inline 144 144 options) ) 145 145 (loop rest) ] -
chicken/branches/cmi/compiler.scm
r12184 r12191 58 58 ; (foreign-declare {<string>}) 59 59 ; (hide {<name>}) 60 ; (import <symbol-or-string> ...)61 60 ; (inline-limit <limit>) 62 61 ; (keep-shadowed-macros) -
chicken/branches/cmi/csc.scm
r12184 r12191 371 371 Optimization options: 372 372 373 -O -O1 -O2 -O3 - optimize-level NUMBER373 -O -O1 -O2 -O3 -O4 -optimize-level NUMBER 374 374 enable certain sets of optimization options 375 375 -optimize-leaf-routines enable leaf routine optimization … … 380 380 -disable-interrupts disable interrupts in compiled code 381 381 -f -fixnum-arithmetic assume all numbers are fixnums 382 -Ob -benchmark-mode equivalent to '-block -optimize-level 3382 -Ob -benchmark-mode equivalent to '-block -optimize-level 4 383 383 -debug-level 0 -fixnum-arithmetic -lambda-lift 384 -disable-interrupts '384 -disable-interrupts -inline' 385 385 -lambda-lift perform lambda-lifting 386 386 -unsafe-libraries link with unsafe runtime system … … 634 634 [(|-O2|) (set! rest (cons* "-optimize-level" "2" rest))] 635 635 [(|-O3|) (set! rest (cons* "-optimize-level" "3" rest))] 636 [(|-O4|) (set! rest (cons* "-optimize-level" "4" rest))] 636 637 [(-d0) (set! rest (cons* "-debug-level" "0" rest))] 637 638 [(-d1) (set! rest (cons* "-debug-level" "1" rest))] -
chicken/branches/cmi/distribution/manifest
r12168 r12191 11 11 benchmarks/0.scm 12 12 benchmarks/cscbench.scm 13 benchmarks/nbody.scm 14 benchmarks/binarytrees.scm 13 15 benchmarks/boyer.scm 14 16 benchmarks/browse.scm -
chicken/branches/cmi/manual/Using the compiler
r12187 r12191 27 27 ; -analyze-only : Stop compilation after first analysis pass. 28 28 29 ; -benchmark-mode : Equivalent to {{-no-trace -no-lambda-info -optimize-level 4}} {{-fixnum-arithmetic -disable-interrupts -block - lambda-lift}}.29 ; -benchmark-mode : Equivalent to {{-no-trace -no-lambda-info -optimize-level 4}} {{-fixnum-arithmetic -disable-interrupts -block -inline -lambda-lift}}. 30 30 31 31 ; -block : Enable block-compilation. When this option is specified, the compiler assumes that global variables are not modified outside this compilation-unit. Specifically, toplevel bindings are not seen by {{eval}} and unused toplevel bindings are removed. -
chicken/branches/cmi/support.scm
r12187 r12191 1273 1273 -disable-interrupts disable interrupts in compiled code 1274 1274 -fixnum-arithmetic assume all numbers are fixnums 1275 -benchmark-mode fixnum mode, no interrupts and opt.-level 3 1275 -benchmark-mode equivalent to '-block -optimize-level 4 1276 -debug-level 0 -fixnum-arithmetic -lambda-lift 1277 -disable-interrupts -inline' 1276 1278 -disable-stack-overflow-checks 1277 1279 disables detection of stack-overflows.
Note: See TracChangeset
for help on using the changeset viewer.