Ignore:
Timestamp:
Jun 23, 2018, 8:12:13 AM (16 months ago)
Author:
cameron
Message:

IDISA builder progress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IR_Gen/idisa_sse_builder.cpp

    r6094 r6108  
    116116#ifndef LEAVE_CARRY_UNNORMALIZED
    117117    if (LLVM_UNLIKELY((shift % 8) == 0)) { // Use a single whole-byte shift, if possible.
    118         shifted = simd_or(mvmd_slli(8, a, shift / 8), si);
    119         shiftout = mvmd_srli(8, a, (mBitBlockWidth - shift) / 8);
     118        shifted = bitCast(simd_or(mvmd_slli(8, a, shift / 8), si));
     119        shiftout = bitCast(mvmd_srli(8, a, (mBitBlockWidth - shift) / 8));
    120120        return std::pair<Value *, Value *>(shiftout, shifted);
    121121    }
Note: See TracChangeset for help on using the changeset viewer.