Skip to content

Commit

Permalink
update get_break_down
Browse files Browse the repository at this point in the history
Addresses #647.
  • Loading branch information
PeiMu committed Mar 24, 2023
1 parent 966707b commit 65ea8eb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,28 @@ for i in {1..100}; do
done

# run with newton
cp $"pwd"../../../../src/newton/newton-linux-EN_v0_1 $"pwd"../../../../src/newton/newton-linux-EN
cp "$PWD"/../../../../src/newton/newton-linux-EN_v0_1 "$PWD"/../../../../src/newton/newton-linux-EN
make perf_float64_add_opt
echo "with type compression" >> "$file"
for i in {1..100}; do
./main_out -134.5 -133.8 >> "$file"
done

cp $"pwd"../../../../src/newton/newton-linux-EN_v0_2 $"pwd"../../../../src/newton/newton-linux-EN
cp "$PWD"/../../../../src/newton/newton-linux-EN_v0_2 "$PWD"/../../../../src/newton/newton-linux-EN
make perf_float64_add_opt
echo "with branch elimination" >> "$file"
for i in {1..100}; do
./main_out -134.5 -133.8 >> "$file"
done

cp $"pwd"../../../../src/newton/newton-linux-EN_v0_3 $"pwd"../../../../src/newton/newton-linux-EN
cp "$PWD"/../../../../src/newton/newton-linux-EN_v0_3 "$PWD"/../../../../src/newton/newton-linux-EN
make perf_float64_add_opt
echo "with const substitution" >> "$file"
for i in {1..100}; do
./main_out -134.5 -133.8 >> "$file"
done

cp $"pwd"../../../../src/newton/newton-linux-EN_v0 $"pwd"../../../../src/newton/newton-linux-EN
cp "$PWD"/../../../../src/newton/newton-linux-EN_v0 "$PWD"/../../../../src/newton/newton-linux-EN
make perf_float64_add_opt
echo "overall" >> "$file"
for i in {1..100}; do
Expand Down

0 comments on commit 65ea8eb

Please sign in to comment.