Ignore:
Timestamp:
Apr 18, 2018, 6:41:41 PM (18 months ago)
Author:
cameron
Message:

Using Cole's bypass of AVX signmask in favoer of the SSE2 version

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

Legend:

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

    r5977 r5978  
    339339    return IDISA_Builder::esimd_bitspread(fw, bitmask);
    340340}
    341 
    342341llvm::Value * IDISA_AVX512F_Builder::simd_popcount(unsigned fw, llvm::Value * a) {
    343342     if (fw == 512) {
     
    401400}
    402401
     402llvm::Value * IDISA_AVX512F_Builder::hsimd_signmask(unsigned fw, llvm::Value * a) {
     403    //IDISA_Builder::hsimd_signmask outperforms IDISA_AVX2_Builder::hsimd_signmask
     404    //when run with BlockSize=512
     405    return IDISA_Builder::hsimd_signmask(fw, a);
     406}
    403407
    404408void IDISA_AVX512F_Builder::getAVX512Features() {
  • icGREP/icgrep-devel/icgrep/IR_Gen/idisa_avx_builder.h

    r5977 r5978  
    6767    llvm::Value * esimd_bitspread(unsigned fw, llvm::Value * bitmask) override;
    6868    llvm::Value * simd_popcount(unsigned fw, llvm::Value * a) override;
     69    llvm::Value * hsimd_signmask(unsigned fw, llvm::Value * a) override;
    6970
    7071    ~IDISA_AVX512F_Builder() {
Note: See TracChangeset for help on using the changeset viewer.