Changeset 2261 for trunk


Ignore:
Timestamp:
Aug 4, 2012, 3:02:46 PM (7 years ago)
Author:
cameron
Message:

Set up for scan_to_first with carry initialized to 1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/carryQ.hpp

    r2221 r2261  
    8686        {
    8787                BitBlock marker;
    88                 BitBlock c = carry_flip(carryin);
    89                 adc(simd<BLOCK_SIZE>::constant<0>(), simd_not(charclass), c, cq[carryno], marker);
    90                 cq[carryno] = carry_flip(cq[carryno]);
     88//              BitBlock c = carry_flip(carryin);
     89                adc(simd<BLOCK_SIZE>::constant<0>(), simd_not(charclass), carryin, cq[carryno], marker);
     90//              cq[carryno] = carry_flip(cq[carryno]);
    9191                return simd_and(marker, charclass);
    9292        }
     
    189189        }
    190190
    191 private:
     191//private:
    192192        // helpers
    193193        IDISA_ALWAYS_INLINE BitBlock carry_flip(BitBlock carry) const
Note: See TracChangeset for help on using the changeset viewer.