Fix r16293.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 20 Oct 2007 08:02:20 +0000 (08:02 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 20 Oct 2007 08:02:20 +0000 (08:02 +0000)
[r16294]

ir/be/ia32/ia32_spec.pl

index 4385859..e1319f0 100644 (file)
@@ -722,7 +722,7 @@ ShlD => {
        # see ShrD about the strange out constraint
        reg_req   => { in => [ "gp", "gp", "ecx" ], out => [ "!in" ] },
        ins       => [ "left_high", "left_low", "right" ],
-       emit      => ". movl %S0, %D0".
+       emit      => ". movl %S0, %D0\n".
                     ". shld%M %SB2, %S1, %D0\n",
        latency   => 6,
        units     => [ "GP" ],
@@ -784,8 +784,8 @@ ShrD => {
        irn_flags => "R",
        reg_req   => { in => [ "gp", "gp", "ecx" ], out => [ "!in" ] },
        ins       => [ "left_high", "left_low", "right" ],
-       emit      => ". movl %S0, %D0".
-                    ". shld%M %SB2, %S1, %D0\n",
+       emit      => ". movl %S0, %D0\n".
+                    ". shrd%M %SB2, %S1, %D0\n",
        latency   => 6,
        units     => [ "GP" ],
        mode      => $mode_gp,