Skip to content

Commit

Permalink
Random minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
regehr committed Dec 1, 2011
1 parent 0e894d8 commit 2b93450
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 37 deletions.
48 changes: 28 additions & 20 deletions utah/scripts/john_driver/evaluate_program.pl
Expand Up @@ -88,6 +88,14 @@
"-O3",
);

my @gcc_opts9 = (
"-O0 -fwrapv",
"-O1 -fwrapv",
"-O2 -fwrapv",
"-Os -fwrapv",
"-O3 -fwrapv",
);

my $DRAGONEGG = "-fplugin=/home/regehr/z/compiler-source/dragonegg/dragonegg.so";

my @dragonegg_opts = (
Expand Down Expand Up @@ -531,24 +539,27 @@

my @compilers_to_test = (

\@gcc320,
\@gcc330,
\@gcc340,
\@gcc400,
\@gcc410,
\@gcc420,
\@gcc430,
\@gcc440,
\@gcc450,
\@gcc460,
\@clang26,
\@clang27,
\@clang28,
\@clang29,
\@clang,
#\@gcccurrent,

\@icc,
\@suncc,
\@open64,
#\@gcc320,
#\@gcc330,
#\@gcc340,
#\@gcc400,
#\@gcc410,
#\@gcc420,
#\@gcc430,
#\@gcc440,
#\@gcc450,
#\@gcc460,
#\@clang26,
#\@clang27,
#\@clang28,
#\@clang29,

#\@icc,
#\@suncc,
#\@open64,

# \@tcc,

Expand All @@ -558,9 +569,6 @@

#\@gcc,

#\@clang,
#\@gcccurrent,

#\@clangpp,
#\@gppcurrent,

Expand Down
2 changes: 2 additions & 0 deletions utah/scripts/john_driver/random_test.pl
Expand Up @@ -19,8 +19,10 @@

my $PROVIDE_SEED = 1;


my $XTRA = "";

#$XTRA .= "--no-safe-math";
#$XTRA .= "--force-non-uniform-arrays ";
#$XTRA .= "--no-unions ";
#$XTRA .= "--no-unions ";
Expand Down
23 changes: 6 additions & 17 deletions utah/scripts/reduce/reduce.sh
@@ -1,20 +1,9 @@
# optionally preprocess
# save sequential backup versions instead of hardcoding these
# save some backup files

DIR=${CSMITH_HOME}/utah/scripts/reduce

cp small.c small-1.c
perl -pi.bak -e 's/^\s*\n//g' small.c
${DIR}/godelta
cp small.c small-2.c
indent small.c
${DIR}/c_delta.pl ./test1.sh ./small.c --all
cp small.c small-3.c
perl -pi.bak -e 's/^\s*\n//g' small.c
${DIR}/godelta
cp small.c small-4.c
godelta8
c_delta.pl ./test1.sh small.c --all
godelta8
indent small.c
cp small.c small-5.c
./test1.sh
cat small.c
wc small.c

./test1.sh ; echo $?

0 comments on commit 2b93450

Please sign in to comment.