aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/uica/files
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@fuz.su>2022-08-01 20:26:50 +0000
committerKurt Jaeger <pi@FreeBSD.org>2022-08-01 20:28:49 +0000
commitfc3a761d2cfc293c26264d2fc126914943e2e839 (patch)
tree18def850de9de3cbbb7f100d861ec1bb39953326 /benchmarks/uica/files
parent2ddf88d6b542de2c66e98ef7eb5484ec5f0bbb41 (diff)
downloadports-fc3a761d2cfc293c26264d2fc126914943e2e839.tar.gz
ports-fc3a761d2cfc293c26264d2fc126914943e2e839.zip
benchmarks/uica: New port: uops.info Code Analyzer
uiCA is a simulator that can predict the throughput of basic blocks on recent Intel microarchitectures. In addition to that, it also provides insights into how the code is executed. uiCA is based on data from uops.info, combined with a detailed pipeline model. Like related tools, it assumes that all memory accesses result in cache hits. WWW: https://uops.info/uiCA.html Author: Robert Clausecker <fuz@fuz.su> PR: 265368
Diffstat (limited to 'benchmarks/uica/files')
-rw-r--r--benchmarks/uica/files/patch-mbuild_mbuild_env.py11
-rw-r--r--benchmarks/uica/files/patch-uiCA.py11
2 files changed, 22 insertions, 0 deletions
diff --git a/benchmarks/uica/files/patch-mbuild_mbuild_env.py b/benchmarks/uica/files/patch-mbuild_mbuild_env.py
new file mode 100644
index 000000000000..45cb5d02ebe1
--- /dev/null
+++ b/benchmarks/uica/files/patch-mbuild_mbuild_env.py
@@ -0,0 +1,11 @@
+--- mbuild/mbuild/env.py.orig 2021-04-16 20:40:24 UTC
++++ mbuild/mbuild/env.py
+@@ -1237,6 +1237,8 @@ class env_t(object):
+ return 'ia32'
+ elif name in ['aarch64', 'arm64']:
+ return 'aarch64'
++ elif name[0:3] == 'arm':
++ return 'arm'
+ else:
+ die("Unknown cpu " + name)
+
diff --git a/benchmarks/uica/files/patch-uiCA.py b/benchmarks/uica/files/patch-uiCA.py
new file mode 100644
index 000000000000..b8dfa686b899
--- /dev/null
+++ b/benchmarks/uica/files/patch-uiCA.py
@@ -0,0 +1,11 @@
+--- uiCA.py.orig 2022-07-21 20:16:37 UTC
++++ uiCA.py
+@@ -2077,7 +2077,7 @@ def generateHTMLTraceTable(filename, instructions, ins
+ uopData['events'][evCycle] = ev
+ prevInstrI = instrI
+
+- with open(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'traceTemplate.html'), 'r') as t:
++ with open('%%DATADIR%%/traceTemplate.html', 'r') as t:
+ html = t.read()
+ html = html.replace('var tableData = {}', 'var tableData = ' + json.dumps(tableDataForRnd))
+