(no commit message)
[libreriscv.git] / openpower / gem5.mdwn
index 01676ef4843b5e71f200da7f4eda685196dd3208..538777a3bcf21160ac7fe04ece61500663708ea6 100644 (file)
@@ -1,3 +1,8 @@
+# PowerPC gem5
+
+* <https://www.youtube.com/watch?v=KHvHdottdJA>
+* <https://github.com/power-gem5>
+
 # Building gem5
 
 Official instructions are sparse.  Under exploratory development:
@@ -5,3 +10,17 @@ Official instructions are sparse.  Under exploratory development:
     apt-get install ccache build-essential scons libprotobuf-dev \
                     libpython2.7-dev protobuf-compiler
     scons -j16 build/POWER/gem5.opt
+
+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...
+
+# gcc powerpc cross-compiler
+
+Note that this is not the same as the 64-bit powerpc64le or the 64-bit powerpc64 compiler
+
+    apt-get install gcc-8-powerpc-linux-gnu g++-8-powerpc-linux-gnu
+
+# libtcmalloc
+
+Apparently installing libtcmalloc gives a 12% performance increase
+
+    apt-get install libtcmalloc-minimal4