Ignore:
Timestamp:
Apr 18, 2018, 6:32:08 AM (12 months ago)
Author:
cameron
Message:

Use AVX512F as foundation class, adopting Cole's approach

File:
1 edited

Legend:

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

    r5931 r5975  
    256256}
    257257
    258 std::string IDISA_AVX512BW_Builder::getBuilderUniqueName() {
    259     return mBitBlockWidth != 512 ? "AVX512BW_" + std::to_string(mBitBlockWidth) : "AVX512BW";
    260 }
    261 
    262 llvm::Value * IDISA_AVX512BW_Builder::hsimd_packh(unsigned fw, llvm::Value * a, llvm::Value * b) {
     258std::string IDISA_AVX512F_Builder::getBuilderUniqueName() {
     259    return mBitBlockWidth != 512 ? "AVX512F_" + std::to_string(mBitBlockWidth) : "AVX512BW";
     260}
     261
     262llvm::Value * IDISA_AVX512F_Builder::hsimd_packh(unsigned fw, llvm::Value * a, llvm::Value * b) {
    263263    if ((mBitBlockWidth == 512) && (fw == 16)) {
    264264
     
    288288}
    289289
    290 llvm::Value * IDISA_AVX512BW_Builder::hsimd_packl(unsigned fw, llvm::Value * a, llvm::Value * b) {
     290llvm::Value * IDISA_AVX512F_Builder::hsimd_packl(unsigned fw, llvm::Value * a, llvm::Value * b) {
    291291    if ((mBitBlockWidth == 512) && (fw == 16)) {
    292292
Note: See TracChangeset for help on using the changeset viewer.