Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.23
 
1.24
 
MAIN:ragge:20110722192820
 
local2.c
_>561561                 return;
 562562 
 563563         case 'U':       /* 32 - n, for unsigned right shifts */
<>564 -                printf("$" CONFMT, 32 - p->n_right->n_lval );
  564+                m = p->n_left->n_type == UCHAR ? 8 :
  565+                    p->n_left->n_type == USHORT ? 16 : 32;
  566+                printf("$" CONFMT, m - p->n_right->n_lval);
565567                 return;
 566568 
 567569         case 'T':       /* rounded structure length for arguments */
     
 !
11771179                         p->n_left = mklnode(ICON, 0, 0, FTN|p->n_type);
 11781180                         p->n_left->n_name = "__lshrdi3";
 11791181                         p->n_op = CALL;
<> 1182+                } else if (p->n_type == INT) {
  1183+                        /* convert >> to << with negative shift count */
  1184+                        /* RS of char & short must use extv */
  1185+                        if (p->n_right->n_op == ICON) {
  1186+                                p->n_right->n_lval = -p->n_right->n_lval;
  1187+                        } else if (p->n_right->n_op == UMINUS) {
  1188+                                r = p->n_right->n_left;
  1189+                                nfree(p->n_right);
  1190+                                p->n_right = r;
  1191+                        } else {
  1192+                                p->n_right = mkunode(UMINUS, p->n_right,
  1193+                                    0, p->n_right->n_type);
  1194+                        }
  1195+                        p->n_op = LS;
<_11801196                 }
 11811197                 break;
 11821198 
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-10-30 13:19 +0100