fix fehler59 (AddSP/SubSP must be pinned)
authorMatthias Braun <matze@braunis.de>
Sat, 4 Aug 2007 10:04:45 +0000 (10:04 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 4 Aug 2007 10:04:45 +0000 (10:04 +0000)
[r15468]

ir/be/ia32/ia32_spec.pl

index 198b14e..f3466af 100644 (file)
@@ -1041,6 +1041,7 @@ Leave => {
 
 AddSP => {
        irn_flags => "I",
+       state     => "pinned",
        reg_req   => { in => [ "gp", "gp", "esp", "gp", "none" ], out => [ "in_r3", "none" ] },
        emit      => '. addl %binop',
        outs      => [ "stack:S", "M" ],
@@ -1050,6 +1051,7 @@ AddSP => {
 
 SubSP => {
 #irn_flags => "I",
+       state     => "pinned",
        reg_req   => { in => [ "gp", "gp", "esp", "gp", "none" ], out => [ "in_r3", "gp", "none" ] },
        emit      => ". subl %binop\n".
                     ". movl %%esp, %D1",