kernel fry arrays splitting namespaces math accessors vectors
math.order grouping
cpu.architecture
+compiler.cfg
+compiler.cfg.optimizer
compiler.cfg.instructions
compiler.cfg.registers
compiler.cfg.linear-scan
USING: math.private compiler.cfg.debugger ;
-[ ] [ [ float+ float>fixnum 3 fixnum*fast ] test-mr first linear-scan drop ] unit-test
+[ ] [
+ [ float+ float>fixnum 3 fixnum*fast ]
+ test-cfg first optimize-cfg linear-scan drop
+] unit-test
[ f ] [
- T{ ##allot
- f
- T{ vreg f int-regs 1 }
- 40
- array
- T{ vreg f int-regs 2 }
- f
- } clone
- 1array (linear-scan) first regs>> values all-equal?
+ T{ basic-block
+ { instructions
+ V{
+ T{ ##allot
+ f
+ T{ vreg f int-regs 1 }
+ 40
+ array
+ T{ vreg f int-regs 2 }
+ f
+ }
+ }
+ }
+ } clone [ [ clone ] map ] change-instructions
+ dup 1array (linear-scan) instructions>> first regs>> values all-equal?
] unit-test
[ 0 1 ] [