1 USING: compiler.cfg.parallel-copy tools.test make arrays
2 compiler.cfg.registers namespaces compiler.cfg.instructions
4 IN: compiler.cfg.parallel-copy.tests
8 : test-parallel-copy ( mapping -- seq )
9 3 vreg-counter set-global
10 [ parallel-copy ] { } make ;
14 T{ ##copy f V int-regs 4 V int-regs 2 }
15 T{ ##copy f V int-regs 2 V int-regs 1 }
16 T{ ##copy f V int-regs 1 V int-regs 4 }
20 { V int-regs 1 V int-regs 2 }
21 { V int-regs 2 V int-regs 1 }
27 T{ ##copy f V int-regs 1 V int-regs 2 }
28 T{ ##copy f V int-regs 3 V int-regs 4 }
32 { V int-regs 1 V int-regs 2 }
33 { V int-regs 3 V int-regs 4 }
39 T{ ##copy f V int-regs 1 V int-regs 3 }
40 T{ ##copy f V int-regs 2 V int-regs 1 }
44 { V int-regs 1 V int-regs 3 }
45 { V int-regs 2 V int-regs 3 }
51 T{ ##copy f V int-regs 4 V int-regs 3 }
52 T{ ##copy f V int-regs 3 V int-regs 2 }
53 T{ ##copy f V int-regs 2 V int-regs 1 }
54 T{ ##copy f V int-regs 1 V int-regs 4 }
58 { V int-regs 2 V int-regs 1 }
59 { V int-regs 3 V int-regs 2 }
60 { V int-regs 1 V int-regs 3 }
61 { V int-regs 4 V int-regs 3 }