Changeset 2128 for trunk/lib


Ignore:
Timestamp:
May 22, 2012, 9:25:42 AM (7 years ago)
Author:
cameron
Message:

scantofirst: use separated carry-in/carry-out implementation of adc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/carryQ.hpp

    r2042 r2128  
    108108                BitBlock marker;
    109109                BitBlock c = carry_flip(carryin);
    110                 adc(simd<BLOCK_SIZE>::constant<0>(), simd_not(charclass), c, marker);
    111                 cq[carryno] = carry_flip(c);
     110                adc(simd<BLOCK_SIZE>::constant<0>(), simd_not(charclass), c, cq[carryno], marker);
     111                cq[carryno] = carry_flip(cq[carryno]);
    112112                return simd_and(marker, charclass);
    113113        }
Note: See TracChangeset for help on using the changeset viewer.