1 IN: compiler.cfg.two-operand.tests
2 USING: compiler.cfg.two-operand compiler.cfg.instructions
3 compiler.cfg.registers cpu.architecture namespaces tools.test ;
5 3 vreg-counter set-global
9 T{ ##copy f V int-regs 1 V int-regs 2 }
10 T{ ##sub f V int-regs 1 V int-regs 1 V int-regs 3 }
14 T{ ##sub f V int-regs 1 V int-regs 2 V int-regs 3 }
15 } (convert-two-operand)
20 T{ ##sub f V int-regs 1 V int-regs 1 V int-regs 2 }
24 T{ ##sub f V int-regs 1 V int-regs 1 V int-regs 2 }
25 } (convert-two-operand)
30 T{ ##copy f V int-regs 4 V int-regs 2 }
31 T{ ##sub f V int-regs 4 V int-regs 4 V int-regs 1 }
32 T{ ##copy f V int-regs 1 V int-regs 4 }
36 T{ ##sub f V int-regs 1 V int-regs 2 V int-regs 1 }
37 } (convert-two-operand)
40 ! This should never come up after coalescing
43 T{ ##fixnum-add f V int-regs 2 V int-regs 4 V int-regs 2 }
44 } (convert-two-operand)