Changeset 8261b2 in git
 Timestamp:
 Apr 13, 2011, 10:18:12 AM (12 years ago)
 Branches:
 (u'jengelhdatetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
 Children:
 0de6e1093986e174906e1c4e41627b5296140eab
 Parents:
 892ad2199fe15455a25b8560ed0ffd6016328f34
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

kernel/ring.cc
r892ad21 r8261b2 3482 3482 } 3483 3483 3484 static void rCheckOrdSgn(ring r,int i/*current block*/); 3485 3484 3486 BOOLEAN rComplete(ring r, int force) 3485 3487 { … … 3563 3565 rO_LexVars_neg(j, j_bits, r>block0[i],r>block1[i], prev_ordsgn, 3564 3566 tmp_ordsgn,v, bits, 1); 3565 r >OrdSgn=1;3567 rCheckOrdSgn(r,i); 3566 3568 break; 3567 3569 … … 3569 3571 rO_LexVars_neg(j, j_bits, r>block1[i],r>block0[i], prev_ordsgn, 3570 3572 tmp_ordsgn,v, bits, 1); 3571 r >OrdSgn=1;3573 rCheckOrdSgn(r,i); 3572 3574 break; 3573 3575 … … 3623 3625 prev_ordsgn,tmp_ordsgn,v,bits, r>block0[i]); 3624 3626 } 3625 r >OrdSgn=1;3627 rCheckOrdSgn(r,i); 3626 3628 break; 3627 3629 … … 3640 3642 tmp_ordsgn,v, bits, r>block1[i]); 3641 3643 } 3642 r >OrdSgn=1;3644 rCheckOrdSgn(r,i); 3643 3645 break; 3644 3646 … … 3673 3675 typ_i++; 3674 3676 { // check for weights <=0 3675 int j ;3677 int jj; 3676 3678 BOOLEAN have_bad_weights=FALSE; 3677 for(j =r>block1[i]r>block0[i];j>=0;j)3679 for(jj=r>block1[i]r>block0[i];jj>=0; jj) 3678 3680 { 3679 if (r>wvhdl[i][j ]<=0) have_bad_weights=TRUE;3681 if (r>wvhdl[i][jj]<=0) have_bad_weights=TRUE; 3680 3682 } 3681 3683 if (have_bad_weights) … … 3702 3704 tmp_ordsgn, v,bits, r>block0[i]); 3703 3705 } 3704 r >OrdSgn=1;3706 rCheckOrdSgn(r,i); 3705 3707 break; 3706 3708 … … 3714 3716 tmp_ordsgn,v, bits, r>block1[i]); 3715 3717 } 3716 r >OrdSgn=1;3718 rCheckOrdSgn(r,i); 3717 3719 break; 3718 3720 … … 3875 3877 p_ProcsSet(r, r>p_Procs); 3876 3878 return FALSE; 3879 } 3880 3881 static void rCheckOrdSgn(ring r,int i/*current block*/) 3882 { // set r>OrdSgn 3883 int oo=1; 3884 int jj; 3885 for(jj=i1;jj>=0;jj) 3886 { 3887 if(((r>order[jj]=ringorder_a) 3888 (r>order[jj]=ringorder_aa) 3889 (r>order[jj]=ringorder_a64)) 3890 &&(r>block0[jj]<=r>block0[i]) 3891 &&(r>block1[jj]>=r>block1[i])) 3892 { oo=1; break;} 3893 } 3894 r>OrdSgn=oo; 3877 3895 } 3878 3896
Note: See TracChangeset
for help on using the changeset viewer.