Changeset 1663 for trunk/lib/carryQ.hpp


Ignore:
Timestamp:
Nov 5, 2011, 1:33:34 PM (8 years ago)
Author:
ksherdy
Message:

Updated interpose.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/carryQ.hpp

    r1662 r1663  
    2828#define simd_slli_32(r, shft) _mm_slli_epi32(r, shft)
    2929#define simd_srli_32(r, shft) _mm_srli_epi32(r, shft)
    30 
    31 static IDISA_ALWAYS_INLINE BitBlock interpose32(BitBlock s, BitBlock s32, const uint32_t n);
    32 IDISA_ALWAYS_INLINE BitBlock interpose32(BitBlock s, BitBlock s32, const uint32_t n) {
     30#define interpose32(x,y,pos) interpose<pos>(x,y)
     31template<uint32_t n>
     32IDISA_ALWAYS_INLINE BitBlock interpose(BitBlock s, BitBlock s32) {
    3333        return simd_or(simd<32>::slli<n>(s), simd<32>::srli<32-n>(s32));
    3434}
Note: See TracChangeset for help on using the changeset viewer.