1 USING: kernel compiler.cfg.two-operand compiler.cfg.instructions
2 compiler.cfg.registers cpu.architecture namespaces tools.test ;
3 IN: compiler.cfg.two-operand.tests
5 3 vreg-counter set-global
9 T{ ##copy f 1 2 int-rep }
17 } clone representations set
20 } (convert-two-operand)
25 T{ ##copy f 1 2 double-float-rep }
26 T{ ##sub-float f 1 1 3 }
30 { 1 double-float-rep }
31 { 2 double-float-rep }
32 { 3 double-float-rep }
33 } clone representations set
35 T{ ##sub-float f 1 2 3 }
36 } (convert-two-operand)
41 T{ ##copy f 1 2 double-float-rep }
42 T{ ##mul-float f 1 1 1 }
46 { 1 double-float-rep }
47 { 2 double-float-rep }
48 } clone representations set
50 T{ ##mul-float f 1 2 2 }
51 } (convert-two-operand)