Changeset 342


Ignore:
Timestamp:
Dec 3, 2009, 7:03:13 PM (10 years ago)
Author:
ksherdy
Message:

Assume minimum SSE3 support for simd<32>::pack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/sse_simd_t.h

    r341 r342  
    462462  #endif
    463463
    464   #ifdef __SSSE3__
    465     return  simd_or (_mm_shuffle_epi8(simd_andc(r1, simd<32>::himask()), _mm_set_epi8(0,1,4,5,8,9,12,13,2,3,6,7,10,11,14,15)),
     464  // Fall back
     465  return  simd_or (_mm_shuffle_epi8(simd_andc(r1, simd<32>::himask()), _mm_set_epi8(0,1,4,5,8,9,12,13,2,3,6,7,10,11,14,15)),
    466466                     _mm_shuffle_epi8(simd_andc(r2, simd<32>::himask()), _mm_set_epi8(2,3,6,7,10,11,14,15,0,1,4,5,8,9,12,13)));
    467   #endif
    468 
    469   // Fall back - Verify *saturated* pack implementation is ok.
    470   return _mm_packs_epi32(simd_andc(r2, simd<32>::himask()), simd_andc(r1, simd<32>::himask()));
    471467
    472468}
Note: See TracChangeset for help on using the changeset viewer.