spill flag changed
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Thu, 26 Jan 2006 16:16:22 +0000 (16:16 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Thu, 26 Jan 2006 16:16:22 +0000 (16:16 +0000)
ir/be/scripts/generate_new_opcodes.pl

index 8ac4163..5f68400 100755 (executable)
@@ -143,8 +143,8 @@ foreach my $op (keys(%nodes)) {
                        # set register flags
                        $temp .= "  attr = get_ia32_attr(res);\n\n";
                        $temp .= "  attr->flags  = 0;                                 /* clear flags */\n";
-                       if (!exists($n{"spill"}) || $n{"spill"} == 1) {
-                               $temp .= "  attr->flags |= arch_irn_flags_spillable;          /* op is spillable */\n";
+                       if (exists($n{"spill"}) && $n{"spill"} == 0) {
+                               $temp .= "  attr->flags |= arch_irn_flags_dont_spill;          /* op is NOT spillable */\n";
                        }
                        if (exists($n{"remat"}) && $n{"remat"} == 1) {
                                $temp .= "  attr->flags |= arch_irn_flags_rematerializable;   /* op can be easily recalulated */\n";