Changeset 1499 for proto


Ignore:
Timestamp:
Sep 30, 2011, 3:54:54 PM (8 years ago)
Author:
vla24
Message:

SymbolTable?: Updated compile errors for idisa compile option

Location:
proto/SymbolTable
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • proto/SymbolTable/clean-build.sh

    r1426 r1499  
    22cd src
    33make clean
    4 cd lib/symtab/
     4cd ../lib/symtab/
    55make clean
    66
  • proto/SymbolTable/src/make_idisa.py

    r1427 r1499  
    1010        for src in xmlwfSrc:
    1111                if '''#include <../lib_simd.h>''' in src:
    12                         idisaXmlwf += '''#include <idisa.hpp>\n'''
     12                        idisaXmlwf += '''#define USE_SSE2\n#include <idisa.hpp>\n'''
    1313                elif '''#include <../carryQ.h>''' in src:
    1414                        idisaXmlwf += '''#include <carryQ.hpp>\n'''
  • proto/SymbolTable/symtab_identity_template.cpp

    r1491 r1499  
    631631    }
    632632//  print_GIDS();
    633 //    pbgs_symbol_table.Print_Symbol_Table_Distribution();
    634 }
     633#if DEBUG
     634    pbgs_symbol_table.Print_Symbol_Table_Distribution();
     635#endif
     636}
  • proto/SymbolTable/symtab_pbgs_div_template.cpp

    r1491 r1499  
    687687
    688688//  print_GIDS();
    689 //    pbgs_symbol_table.Print_Symbol_Table_Distribution();
    690 }
     689#if DEBUG
     690    pbgs_symbol_table.Print_Symbol_Table_Distribution();
     691#endif
     692}
  • proto/SymbolTable/symtab_pbgs_identity_template.cpp

    r1491 r1499  
    680680    }
    681681//  print_GIDS();
    682 //    pbgs_symbol_table.Print_Symbol_Table_Distribution();
    683 }
     682#if DEBUG
     683    pbgs_symbol_table.Print_Symbol_Table_Distribution();
     684#endif
     685}
  • proto/SymbolTable/test/perftest.py

    r1460 r1499  
    88testfiles = []
    99output_dir = ""
     10repeat = 1
    1011
    1112def set_test_files(tests):
     
    2122    for program in programs:
    2223        for testfile in testfiles:
    23             for i in range(10):
     24            for i in range(repeat):
    2425                call(['./../src/'+program, testfile], stderr=mes_f)
    2526    mes_f.close()
     
    5657        row = program + '   &\t'
    5758        for testfile in testfiles:
    58             result = results_int[0:10]
    59             results_int = results_int[10:]
     59            result = results_int[0:repeat]
     60            results_int = results_int[repeat:]
    6061            row +=  str(min(result)/1000.0) + '   &\t'
    6162        row = row[:-4]
Note: See TracChangeset for help on using the changeset viewer.