Changeset 3937 for trunk


Ignore:
Timestamp:
Jul 31, 2014, 3:50:25 PM (4 years ago)
Author:
linmengl
Message:

some perf result. Compile s2p on avx2 and the rest with sse2

Location:
trunk/lib_ir
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib_ir/CMakeLists.txt

    r3936 r3937  
    55if (USE_AVX2)
    66    message("---- Compiling for AVX2")
    7     set(CXX_SSE_FLAGS "-march=core-avx2")
     7    set(CXX_SSE_FLAGS "-msse2") #"-march=core-avx2")
    88    set(LLVM_SSE_FLAGS "-mattr=+sse,+sse2,+avx2,+bmi2,+bmi")
    99else (USE_AVX2)
  • trunk/lib_ir/xmlwf/perf.txt

    r3933 r3937  
    2929
    3030===========================================
     31****    AVX2 BELOW
     32===========================================
     33IDISA result:
     34g++ -O3 -std=gnu++0x -DBUFFER_PROFILING -DPERF_SCRIPT -DUSE_S2P_AVX2 -DCARRY64 -DBLOCK_SIZE=256 -o xmlwf xmlwf.cpp -I../util -I../lib -I../lib/cc-lib -march=core-avx2 -m64 -mavx2 -fabi-version=6
     35
     36xmlwf   &   2.541   &   2.785   &   3.464   &   3.293   &   3.841 \\ \hline
     37
     38===========================================
     39only compiler flag changes (s2p_bytepack, block_size=128, idisa_sse2 backend, g++ with core-avx2 flag)
     40xmlwf_perf   &  3.565   &   3.964   &   4.154   &   4.436   &   4.769 \\ \hline
     41
     42===========================================
     43only compile s2p with avx2/bmi2. The rest is SSE2
     44xmlwf_perf   &  3.807   &   4.241   &   4.452   &   4.762   &   5.078 \\ \hline
Note: See TracChangeset for help on using the changeset viewer.