Changeset 2329 for trunk


Ignore:
Timestamp:
Aug 25, 2012, 1:54:49 PM (6 years ago)
Author:
lindanl
Message:

MSVC fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/idisa_cpp/idisa_sse2.cpp

    r2326 r2329  
    2828template <> struct FieldType<128> {typedef uint64_t T;};
    2929
    30 typedef typename FieldType<1>::T fw1_t;
    31 typedef typename FieldType<2>::T fw2_t;
    32 typedef typename FieldType<4>::T fw4_t;
    33 typedef typename FieldType<8>::T fw8_t;
    34 typedef typename FieldType<16>::T fw16_t;
    35 typedef typename FieldType<32>::T fw32_t;
    36 typedef typename FieldType<64>::T fw64_t;
    37 typedef typename FieldType<128>::T fw128_t;
     30typedef FieldType<1>::T fw1_t;
     31typedef FieldType<2>::T fw2_t;
     32typedef FieldType<4>::T fw4_t;
     33typedef FieldType<8>::T fw8_t;
     34typedef FieldType<16>::T fw16_t;
     35typedef FieldType<32>::T fw32_t;
     36typedef FieldType<64>::T fw64_t;
     37typedef FieldType<128>::T fw128_t;
    3838
    3939template <uint32_t fw>
     
    20702070template <> IDISA_ALWAYS_INLINE typename FieldType<128/4>::T hsimd128<4>::signmask(bitblock128_t arg1)
    20712071{
    2072         typename FieldType<128/4>::T tmpAns1 = hsimd128<(8)>::signmask(esimd128<4>::mergeh(arg1, simd128<4>::constant<0>()));
    2073         typename FieldType<128/4>::T tmpAns2 = hsimd128<(8)>::signmask(esimd128<4>::mergel(arg1, simd128<4>::constant<0>()));
     2072        uint32_t tmpAns1 = hsimd128<(8)>::signmask(esimd128<4>::mergeh(arg1, simd128<4>::constant<0>()));
     2073        uint32_t tmpAns2 = hsimd128<(8)>::signmask(esimd128<4>::mergel(arg1, simd128<4>::constant<0>()));
    20742074        return ((tmpAns1<<(16))+tmpAns2);
    20752075}
Note: See TracChangeset for help on using the changeset viewer.