bug 1244: update pospopcnt.s assembler comments
[libreriscv.git] / openpower / gem5.mdwn
1 # PowerPC gem5
2
3 * <https://www.youtube.com/watch?v=KHvHdottdJA>
4 * <https://github.com/power-gem5>
5
6 # Building gem5
7
8 Official instructions are sparse. Under exploratory development:
9
10 apt-get install ccache build-essential scons libprotobuf-dev \
11 libpython2.7-dev protobuf-compiler
12 scons -j16 build/POWER/gem5.opt
13
14 Two warnings are given about fallthrough on case statements... which are commented as such... and yet nobody thought to tell the compiler that. TODO: investigate how to disable "-Werror" in scons...
15
16 # gcc powerpc cross-compiler
17
18 Note that this is not the same as the 64-bit powerpc64le or the 64-bit powerpc64 compiler
19
20 apt-get install gcc-8-powerpc-linux-gnu g++-8-powerpc-linux-gnu
21
22 # libtcmalloc
23
24 Apparently installing libtcmalloc gives a 12% performance increase
25
26 apt-get install libtcmalloc-minimal4