Ignore:
Timestamp:
Jan 29, 2012, 9:20:04 AM (7 years ago)
Author:
cameron
Message:

Clear out cfzl/cfbl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/RE2PBS/src/demo.cpp

    r1471 r1906  
    1111#define OVERLAP_BUFSIZE (sizeof(SIMD_type))
    1212
     13#include "../lib/builtins.hpp"
    1314#include "../lib/carryQ.h"
    1415#include "../lib/perflib/perfsec.h"
     
    4243
    4344        for (blk = 0; blk < blk_count; blk++) {
    44                 ScanBlock s = stream[blk];
     45                scanword_t s = stream[blk];
    4546                while(s) {
    46                         int code = (ProcessPos(cfzl(s) + block_pos));
     47                        int code = (ProcessPos(scan_forward_zeroes(s) + block_pos));
    4748                        if (code) return code;
    4849                        s = s & (s-1);  // clear rightmost bit.
Note: See TracChangeset for help on using the changeset viewer.