Changeset 2987


Ignore:
Timestamp:
Mar 29, 2013, 5:28:43 PM (5 years ago)
Author:
ksherdy
Message:

Added setter/getter for convenience.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/carryQ.hpp

    r2986 r2987  
    205205
    206206        // Deprecated (renamed)
    207         IDISA_ALWAYS_INLINE BitBlock & CarryAt(uint16_t carryno) const
     207        IDISA_ALWAYS_INLINE BitBlock GetCarry(uint16_t carryno) const
    208208        {
    209209                return carry2bitblock(cq[carryno]);
     210        }
     211
     212        IDISA_ALWAYS_INLINE void SetCarry(BitBlock carryVal, uint16_t carryno)
     213        {
     214                cq[carryno] = carryVal;
    210215        }
    211216
Note: See TracChangeset for help on using the changeset viewer.