Add a flags output to IMul1OP for consistency with l_Mul and Mul and less headaches...
authorChristoph Mallon <christoph.mallon@gmx.de>
Fri, 14 Nov 2008 08:01:48 +0000 (08:01 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 14 Nov 2008 08:01:48 +0000 (08:01 +0000)
[r23645]

ir/be/ia32/ia32_spec.pl

index 2d06b0e..0f53511 100644 (file)
@@ -472,10 +472,10 @@ IMul1OP => {
        irn_flags => "R",
        state     => "exc_pinned",
        reg_req   => { in => [ "gp", "gp", "none", "eax", "gp" ],
-                      out => [ "eax", "edx", "none" ] },
+                      out => [ "eax", "flags", "edx", "none" ] },
        ins       => [ "base", "index", "mem", "left", "right" ],
        emit      => '. imul%M %unop4',
-       outs      => [ "res_low", "res_high", "M" ],
+       outs      => [ "res_low", "flags", "res_high", "M" ],
        am        => "source,binary",
        latency   => 5,
        units     => [ "GP" ],