Ignore:
Timestamp:
Oct 5, 2011, 4:57:54 PM (8 years ago)
Author:
vla24
Message:

SymbolTable?: clean up and fix idisa library calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/symtab/library_conversion.h

    r1462 r1517  
    33
    44#ifdef USE_IDISA
     5#define USE_SSE2
    56#include <idisa.hpp>
    67#else
     
    2526{
    2627#ifdef USE_IDISA
    27     //FIXME: In splat new library, splat takes an extra immediate argument location
    28     //I am not sure what it means...
    2928    return mvmd<fw>::template splat<0>(v);
    3029#else
     
    5756{
    5857#ifdef USE_IDISA
    59     //FIXME: Pack in the old simd library uses _mm_packus_epi32 so I assume it is
    60     //using unsigned pack.
    61   return hsimd<fw>::packus(r1, r2);
     58  return hsimd<fw>::packl(r1, r2);
    6259#else
    6360  return simd<fw>::pack(r1, r2);
Note: See TracChangeset for help on using the changeset viewer.