Ignore:
Timestamp:
Nov 30, 2012, 8:19:50 PM (6 years ago)
Author:
cameron
Message:

Resolve initialization error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pabloSupport.hpp

    r2698 r2705  
    66#define BitBlock_declare(name)  BitBlock name
    77
    8 #define ubitblock_declare(name, n) ubitblock name[n]
    9 
     8#define ubitblock_declare(name, n) \
     9  ubitblock name[n];\
     10  do {int i;\
     11      for (i = 0; i < n; i++) name[i]._128 = simd<1>::constant<0>();\
     12     }\
     13  while (0)
     14     
    1015
    1116IDISA_ALWAYS_INLINE BitBlock pablo_blk_Advance(BitBlock strm, BitBlock carryin, BitBlock & rslt) {
Note: See TracChangeset for help on using the changeset viewer.