Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.132
 
1.133
 
MAIN:ragge:20050624084531
 
reader.c
_>345345                                 extern int tempmin, tempmax;
 346346 
 347347                                 geninsn(ip->ip_node, FOREFF);
<>348 -                                tempmin = tempmax = 100; /* XXX maxreg */
  348+                                tempmin = tempmax = 10; /* XXX maxreg */
349349                                 nsucomp(ip->ip_node);
 350350                         } while (ngenregs(ip, ip));
 351351 }
     
 !
733733                 if (l->n_op != REG)
 734734                         comperr("rewrite left");
 735735 #endif
<>736 -                p->n_rval = l->n_rval;
  736+                p->n_rall = p->n_rval = l->n_rval;
737737         } else if (rewrite & RRIGHT) {
 738738 #ifdef PCC_DEBUG
 739739                 if (r->n_op != REG)
 740740                         comperr("rewrite right");
 741741 #endif
<>742 -                p->n_rval = r->n_rval;
  742+                p->n_rall = p->n_rval = r->n_rval;
743743         } else if (rewrite & RESC1)
 744744                 p->n_rval = p->n_rall;
 745745         else if (rewrite & RESC2)
 746746                 p->n_rval = p->n_rall + szty(p->n_type);
 747747         else if (rewrite & RESC3)
 748748                 p->n_rval = p->n_rall + 2*szty(p->n_type);
 749749         else if (p->n_su == DORIGHT)
<>750 -                p->n_rval = l->n_rval; /* XXX special */
  750+                p->n_rall = p->n_rval = l->n_rval; /* XXX special */
751751         if (optype(o) != LTYPE)
 752752                 tfree(l);
 753753         if (optype(o) == BITYPE)
     
 !
766766                 gencode(p->n_right, INTAREG|INTBREG);
 767767                 if ((p->n_su & RMASK) == ROREG)
 768768                         canon(p);
<> 769+                else if (xnewreg && (p->n_su & RMASK) == RREG &&
  770+                    (q->rewrite & RRIGHT) && p->n_right->n_rall != p->n_rall)
  771+                        rmove(p->n_right->n_rall, p->n_rall, p->n_type);
769772         }
 770773         if (p->n_su & LMASK) {
 771774                 gencode(p->n_left, INTAREG|INTBREG);
 772775                 if ((p->n_su & LMASK) == LOREG)
 773776                         canon(p);
<> 777+                else if (xnewreg && (p->n_su & RMASK) == LREG &&
  778+                    (q->rewrite & RLEFT) && p->n_left->n_rall != p->n_rall)
  779+                        rmove(p->n_left->n_rall, p->n_rall, p->n_type);
774780         }
 775781         if ((p->n_su & RMASK) && !(p->n_su & DORIGHT)) {
 776782                 gencode(p->n_right, INTAREG|INTBREG);
 777783                 if ((p->n_su & RMASK) == ROREG)
 778784                         canon(p);
<> 785+                else if (xnewreg && (p->n_su & RMASK) == RREG &&
  786+                    (q->rewrite & RRIGHT) && p->n_right->n_rall != p->n_rall)
  787+                        rmove(p->n_right->n_rall, p->n_rall, p->n_type);
779788         }
 780789         expand(p, cookie, q->cstring);
<> 790+        if (xnewreg && callop(p->n_op) && p->n_rall != RETREG)
  791+                rmove(RETREG, p->n_rall, p->n_type);
  792+
<_781793         rewrite(p, q->rewrite);
 782794 }
 783795 
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-21 20:24 +0100