Changeset 1501 for trunk


Ignore:
Timestamp:
Oct 2, 2011, 7:15:16 PM (8 years ago)
Author:
ksherdy
Message:

Added support to create idisa128 and idisa256 file targets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libgen/Makefile

    r1494 r1501  
    11
    2 IDISA_GENERATOR = Library_Generator/LibraryGenerator.py
    3 IDISA_TESTER = Library_Tester/LibraryTester.py
    4 IDISA_SSE2_C_LIB = idisa_sse2_c
     2LIB_GEN_DIR = Library_Generator
     3LIB_TEST_DIR = Library_Tester
     4LIB_DIR = ../../lib
     5
     6IDISA_GENERATOR = $(LIB_GEN_DIR)/LibraryGenerator.py
     7IDISA_TESTER = $(LIB_TEST_DIR)/LibraryTester.py
     8IDISA_SSE2_C_LIB = idisa_sse2_c.h
    59IDISA_SSE2_CPP_LIB = idisa_sse2
    610
     
    1519IDISA_AVX_CPP_LIB = idisa_avx
    1620
     21IDISA_128_LIB = idisa128
     22
     23IDISA_256_LIB = idisa256
     24
     25
     26
    1727sse2:
    1828        python $(IDISA_GENERATOR) -a sse2 -l cpp -f $(IDISA_SSE2_CPP_LIB).h -g
     29        cp $(LIB_GEN_DIR)/$(IDISA_SSE2_CPP_LIB).h $(LIB_GEN_DIR)/$(IDISA_128_LIB).hpp
    1930
    2031sse2_c:
    2132        python $(IDISA_GENERATOR) -a sse2 -l c -f $(IDISA_SSE2_C_LIB).h -g
     33        cp $(LIB_GEN_DIR)/$(IDISA_SSE2_C_LIB).h $(LIB_GEN_DIR)/$(IDISA_128_LIB).hpp
    2234
    2335sse2_test:
     
    2638sse3:
    2739        python $(IDISA_GENERATOR) -a sse3 -l cpp -f $(IDISA_SSE3_CPP_LIB).h -g
     40        cp $(LIB_GEN_DIR)/$(IDISA_SSE3_CPP_LIB).h $(LIB_GEN_DIR)/$(IDISA_128_LIB).hpp   
     41
    2842sse3_test:
    2943        python $(IDISA_TESTER) -a sse3 -l cpp -f $(IDISA_SSE3_CPP_LIB) -t
     
    3145ssse3:
    3246        python $(IDISA_GENERATOR) -a ssse3 -l cpp -f $(IDISA_SSSE3_CPP_LIB).h -g
     47        cp $(LIB_GEN_DIR)/$(IDISA_SSSE3_CPP_LIB).h $(LIB_GEN_DIR)/$(IDISA_128_LIB).hpp
     48
    3349ssse3_test:
    3450        python $(IDISA_TESTER) -a ssse3 -l cpp -f $(IDISA_SSSE3_CPP_LIB) -t
     
    3652sse4_1:
    3753        python $(IDISA_GENERATOR) -a sse4_1 -l cpp -f $(IDISA_SSE4_1_CPP_LIB).h -g
     54        cp $(LIB_GEN_DIR)/$(IDISA_SSE4_1_CPP_LIB).h $(LIB_GEN_DIR)/$(IDISA_128_LIB).hpp
     55
    3856sse4_1_test:
    3957        python $(IDISA_TESTER) -a sse4_1 -l cpp -f $(IDISA_SSE4_1_CPP_LIB) -t
     58        cp $(LIB_GEN_DIR)/$(IDISA_SSE4_1_CPP_LIB).h $(LIB_GEN_DIR)/$(IDISA_128_LIB).hpp
    4059
    4160sse4_2:
    4261        python $(IDISA_GENERATOR) -a sse4_2 -l cpp -f $(IDISA_SSE4_2_CPP_LIB).h -g
     62        cp $(LIB_GEN_DIR)/$(IDISA_SSE4_2_CPP_LIB).h $(LIB_GEN_DIR)/$(IDISA_128_LIB).hpp
     63
    4364sse4_2_test:
    4465        python $(IDISA_TESTER) -a sse4_2 -l cpp -f $(IDISA_SSE4_2_CPP_LIB) -t
     
    4667avx:
    4768        python $(IDISA_GENERATOR) -a avx -l cpp -f $(IDISA_AVX_CPP_LIB).h -g
     69        cp $(LIB_GEN_DIR)/$(IDISA_AVX_CPP_LIB).h $(LIB_GEN_DIR)/$(IDISA_256_LIB).hpp
     70
    4871avx_test:
    4972        python $(IDISA_TESTER) -a avx -l cpp -f $(IDISA_AVX_CPP_LIB) -t
Note: See TracChangeset for help on using the changeset viewer.