Skip to content
Snippets Groups Projects
Commit d6044813 authored by Milo Craun's avatar Milo Craun
Browse files

Some change

parent c5a238d6
No related branches found
No related tags found
No related merge requests found
......@@ -74,3 +74,9 @@ Created a script `run_sim.sh` which will run 4 simulations based on the
naming that we use in the build script.
It takes one argument and runs X86 and ARM sims for vector and no vector tests.
It saves the results in the format: sim-name-arch-[n]vec.
## External Benchmarks
Found an old and freely available benchmark suite [Livermore Loops](https://en.wikipedia.org/wiki/Livermore_loops).
It looks like a good choice for some numerical algorithms.
Some of the loops can be vectorized and others cannot.
The source code in c can be found [here](https://www.netlib.org/benchmark/livermorec)
......@@ -3,10 +3,10 @@ HOME="/home/ugrads/majors/miloc"
GEM5="$HOME/gem5_workspace/gem5"
echo "Running 4 simulations in parallel"
$GEM5/build/X86/gem5.opt -d sim-$1-x86-nvec simple.py $1-x86-nvec x86 &
$GEM5/build/X86/gem5.opt -d sim-$1-x86-vec simple.py $1-x86-vec x86 &
$GEM5/build/ARM/gem5.opt -d sim-$1-arm-nvec simple.py $1-arm-nvec arm &
$GEM5/build/ARM/gem5.opt -d sim-$1-arm-vec simple.py $1-arm-vec arm &
$GEM5/build/X86/gem5.opt -d res-$1/sim-$1-x86-nvec simple.py benchmarks/$1-x86-nvec x86 &
$GEM5/build/X86/gem5.opt -d res-$1/sim-$1-x86-vec simple.py benchmarks/$1-x86-vec x86 &
$GEM5/build/ARM/gem5.opt -d res-$1/sim-$1-arm-nvec simple.py benchmarks/$1-arm-nvec arm &
$GEM5/build/ARM/gem5.opt -d res-$1/sim-$1-arm-vec simple.py benchmarks/$1-arm-vec arm &
wait
echo "Finished simulation :)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment