Ignore:
Timestamp:
Jul 24, 2015, 11:47:14 AM (4 years ago)
Author:
cameron
Message:

Further progress on Carry Manager with bit packing

Location:
icGREP/icgrep-devel/icgrep/IDISA
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IDISA/idisa_builder.cpp

    r4665 r4697  
    151151}
    152152
     153Value * IDISA_Builder::mvmd_extract(unsigned fw, Value * a, unsigned fieldIndex) {
     154    Value * aVec = fwCast(fw, a);
     155    return mLLVMBuilder->CreateExtractElement(aVec, mLLVMBuilder->getInt32(fieldIndex));
     156}
     157
    153158Value * IDISA_Builder::mvmd_dslli(unsigned fw, Value * a, Value * b, unsigned shift) {
    154159    unsigned field_count = mBitBlockSize/fw;
  • icGREP/icgrep-devel/icgrep/IDISA/idisa_builder.h

    r4665 r4697  
    5858    Value * hsimd_signmask(unsigned fw, Value * a);
    5959
     60   
     61    Value * mvmd_extract(unsigned fw, Value * a, unsigned fieldIndex);
    6062    Value * mvmd_dslli(unsigned fw, Value * a, Value * b, unsigned shift);
    6163   
Note: See TracChangeset for help on using the changeset viewer.