Ignore:
Timestamp:
Jan 20, 2018, 10:17:47 PM (15 months ago)
Author:
cameron
Message:

LLVM_VERSION_CODE macro, CC-multiplex option, performance bug fixes

File:
1 edited

Legend:

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

    r5839 r5841  
    11/*
    2  *  Copyright (c) 2015 International Characters.
     2 *  Copyright (c) 2018 International Characters.
    33 *  This software is licensed to the public under the Open Software License 3.0.
    44 *  icgrep is a trademark of International Characters.
     
    66
    77#include "idisa_avx_builder.h"
     8#include <toolchain/toolchain.h>
    89
    910using namespace llvm;
     
    102103   
    103104Value * IDISA_AVX2_Builder::esimd_mergeh(unsigned fw, Value * a, Value * b) {
    104 #if LLVM_VERSION_INTEGER < LLVM_6_0_0
     105#if LLVM_VERSION_INTEGER < LLVM_VERSION_CODE(6, 0, 0)
    105106    if ((fw == 128) && (mBitBlockWidth == 256)) {
    106107        Value * vperm2i128func = Intrinsic::getDeclaration(getModule(), Intrinsic::x86_avx2_vperm2i128);
     
    113114
    114115Value * IDISA_AVX2_Builder::esimd_mergel(unsigned fw, Value * a, Value * b) {
    115 #if LLVM_VERSION_INTEGER < LLVM_6_0_0
     116#if LLVM_VERSION_INTEGER < LLVM_VERSION_CODE(6, 0, 0)
    116117    if ((fw == 128) && (mBitBlockWidth == 256)) {
    117118        Value * vperm2i128func = Intrinsic::getDeclaration(getModule(), Intrinsic::x86_avx2_vperm2i128);
Note: See TracChangeset for help on using the changeset viewer.