2009-08-08 01:24:46 -04:00
|
|
|
USING: tools.test cpu.architecture
|
|
|
|
compiler.cfg.registers compiler.cfg.instructions
|
|
|
|
compiler.cfg.representations.preferred ;
|
|
|
|
IN: compiler.cfg.representations
|
|
|
|
|
2009-09-03 21:58:56 -04:00
|
|
|
[ { double-rep double-rep } ] [
|
2009-08-08 01:24:46 -04:00
|
|
|
T{ ##add-float
|
2009-08-08 05:02:18 -04:00
|
|
|
{ dst 5 }
|
|
|
|
{ src1 3 }
|
|
|
|
{ src2 4 }
|
2009-08-08 01:24:46 -04:00
|
|
|
} uses-vreg-reps
|
|
|
|
] unit-test
|
|
|
|
|
2009-09-03 21:58:56 -04:00
|
|
|
[ double-rep ] [
|
2009-08-08 01:24:46 -04:00
|
|
|
T{ ##alien-double
|
2009-08-08 05:02:18 -04:00
|
|
|
{ dst 5 }
|
|
|
|
{ src 3 }
|
2009-08-08 01:24:46 -04:00
|
|
|
} defs-vreg-rep
|
|
|
|
] unit-test
|