Changeset 3970 for trunk


Ignore:
Timestamp:
Aug 7, 2014, 4:40:53 PM (4 years ago)
Author:
linmengl
Message:

auto gen test files for i2 ops

Location:
trunk/lib_ir
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib_ir/CMakeLists.txt

    r3945 r3970  
    2626add_executable(test_link test_link.cpp s2p_optimized.o)
    2727add_executable(test_pack test_pack.cpp s2p_optimized.o)
     28
     29# gen/ is used to test llc backend.
     30add_subdirectory(gen)
    2831
    2932# test packh_2,4,8 only on avx2
     
    8891add_custom_target (check
    8992  COMMAND ${CMAKE_CTEST_COMMAND}
    90   DEPENDS test_s2p test_link test_pack xmlwf)
     93  DEPENDS test_s2p test_link test_pack test_llc xmlwf)
    9194
    9295# `make check` also depends on test_pack_avx2
  • trunk/lib_ir/README.md

    r3939 r3970  
    3131===================
    3232+ Have a look at `compile_commands.json` for compiling detail.
     33+ Using Jinja2 as template system. It helps by collecting all the small
     34  templates in one file.
     35+ To install Jinja2, sudo easy_install Jinja2.
  • trunk/lib_ir/s2p.h

    r3946 r3970  
    4343//s2p_bytepack_inline, written in pure IR in order to use immediate constants in shifting.
    4444//s2p_ideal: use 3 stage packh2,4,8 (only available on Haswell avx2)
    45 #define S2P_ALGORITHM s2p_ideal
     45#define S2P_ALGORITHM s2p_bytepack_inline
    4646
    4747#define s2p_ideal(s0, s1, s2, s3, s4, s5, s6, s7, p0, p1, p2, p3, p4, p5, p6, p7) \
Note: See TracChangeset for help on using the changeset viewer.