Ignore:
Timestamp:
May 14, 2015, 11:51:32 AM (4 years ago)
Author:
nmedfort
Message:

Possible fix for 256-bit mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pablo_compiler.cpp

    r4549 r4552  
    10251025    Value* advanceq_longint = b.CreateBitCast(genCarryDataLoad(advanceIndex), b.getIntNTy(BLOCK_SIZE));
    10261026    Value* strm_longint = b.CreateBitCast(strm_value, b.getIntNTy(BLOCK_SIZE));
    1027     Value* adv_longint = b.CreateOr(b.CreateShl(strm_longint, block_shift), b.CreateLShr(advanceq_longint, BLOCK_SIZE - shift_amount), "advance");
     1027    Value* adv_longint = b.CreateOr(b.CreateShl(strm_longint, shift_amount), b.CreateLShr(advanceq_longint, BLOCK_SIZE - shift_amount), "advance");
    10281028    result_value = b.CreateBitCast(adv_longint, mBitBlockType);
    10291029   
Note: See TracChangeset for help on using the changeset viewer.