Skip to content

Commit

Permalink
testing option change
Browse files Browse the repository at this point in the history
  • Loading branch information
regehr committed Oct 22, 2015
1 parent 243f7d0 commit b69f521
Showing 1 changed file with 31 additions and 12 deletions.
43 changes: 31 additions & 12 deletions driver/evaluate_program
Expand Up @@ -23,11 +23,11 @@ my $xxtra = "";
#my $notmp = "-DUSE_MATH_MACROS_NOTMP";
my $notmp = "";

my $COMPILER_TIMEOUT = 30;
my $COMPILER_TIMEOUT = 300;

my $COMPILER_TIMEOUT_RES = 137;

my $RUN_PROGRAM = 1;
my $RUN_PROGRAM = 0;

my $DO_REDUCE_CRASH = 1;
my $DO_REDUCE_WRONG = 1;
Expand All @@ -43,17 +43,19 @@ my $LOCKFN = "/var/tmp/version_search_lockfile";
####################################################################

my @gcc_opts = (
"-w -O0 -march=core-avx2 -mtune=core-avx2",
"-w -O1 -march=core-avx2 -mtune=core-avx2",
"-w -Og -march=core-avx2 -mtune=core-avx2",
"-w -Os -march=core-avx2 -mtune=core-avx2",
"-w -O2 -march=core-avx2 -mtune=core-avx2",
"-w -O3 -march=core-avx2 -mtune=core-avx2",
# "-w -Ofast -march=core-avx2 -mtune=core-avx2",
"-w -O0 -march=native -mtune=native",
"-w -O1 -march=native -mtune=native",
"-w -Os -march=native -mtune=native",
"-w -O2 -march=native -mtune=native",
"-w -O3 -march=native -mtune=native",
);

my @clang_opts = (
"-O -w",
"-O0 -w -march=native -mtune=native",
"-O1 -w -march=native -mtune=native",
"-O2 -w -march=native -mtune=native",
"-O3 -w -march=native -mtune=native",
"-Os -w -march=native -mtune=native",
);

my @o0only = (
Expand All @@ -67,6 +69,18 @@ my @gcc = ("gcc",
"gcc",
\@gcc_opts);

my @gcc47 = ("gcc47",
"gcc-4.7",
\@gcc_opts);

my @gcc46 = ("gcc46",
"gcc-4.6",
\@gcc_opts);

my @gcc44 = ("gcc44",
"gcc-4.4",
\@gcc_opts);

my $SOUPER = "/home/regehr/f/souper-regehr";

my @souper_bare_opts = (
Expand All @@ -88,7 +102,7 @@ my @clang_souper = ("clang",
\@sclang_opts);

my @clang = ("clang",
"$SOUPER/third_party/llvm/Release/bin/clang",
"clang",
\@clang_opts);

my @souper_bare = ("clang",
Expand Down Expand Up @@ -198,7 +212,12 @@ my @clang33 = ("clang33",
my @compilers_to_test = (

\@clang,
\@souper_bare,
\@gcc,

#\@gcc47,
#\@gcc46,
#\@gcc44,
#\@souper_bare,

#\@gcccurrent,
#\@ccomp,
Expand Down

0 comments on commit b69f521

Please sign in to comment.