[brlcad-commits] CVS: brlcad/src/libbu bitv.c, 14.17, 14.18 ptbl.c, 14.17, 14.18
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Sean M. <br...@us...> - 2007-10-22 21:06:46
|
Update of /cvsroot/brlcad/brlcad/src/libbu In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv552/src/libbu Modified Files: bitv.c ptbl.c Log Message: removed the non-ansi/stc compliant noalias.h and noalias-prag.h headers that were used with the cray (and alliant) to make pragma decls before loops. made obsolete long ago with the move to ansi compliance. Index: bitv.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/libbu/bitv.c,v retrieving revision 14.17 retrieving revision 14.18 diff -w -u -r14.17 -r14.18 --- bitv.c 15 Sep 2007 16:23:08 -0000 14.17 +++ bitv.c 22 Oct 2007 21:06:48 -0000 14.18 @@ -123,7 +123,6 @@ in = iv->bits; words = BU_BITS2WORDS(iv->nbits); #ifdef VECTORIZE -# include "noalias.h" for( --words; words >= 0; words-- ) out[words] |= in[words]; #else @@ -147,7 +146,6 @@ in = iv->bits; words = BU_BITS2WORDS(iv->nbits); #ifdef VECTORIZE -# include "noalias.h" for( --words; words >= 0; words-- ) out[words] &= in[words]; #else Index: ptbl.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/libbu/ptbl.c,v retrieving revision 14.17 retrieving revision 14.18 diff -w -u -r14.17 -r14.18 --- ptbl.c 15 Sep 2007 16:23:09 -0000 14.17 +++ ptbl.c 22 Oct 2007 21:06:48 -0000 14.18 @@ -140,7 +140,6 @@ BU_CK_PTBL(b); pp = (const long **)b->buffer; -# include "noalias.h" for( k = b->end-1; k >= 0; k-- ) if (pp[k] == p) return(k); @@ -162,7 +161,6 @@ BU_CK_PTBL(b); pp = (const long **)b->buffer; -# include "noalias.h" for( k = b->end-1; k >= 0; k-- ) if (pp[k] == p) pp[k] = (long *)0; } @@ -189,8 +187,6 @@ BU_CK_PTBL(b); -# include "noalias.h" - /* search for existing */ for( k = b->end-1; k >= 0; k-- ) if (pp[k] == p) return(k); @@ -242,7 +238,6 @@ /* pp[l] through pp[j-1] match p */ end -= j - l; -# include "noalias.h" for(k=l ; j < b->end ;) b->buffer[k++] = b->buffer[j++]; b->end = end; |