mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-27 17:01:20 -04:00
repo cleanup and start to add CMO tests
This commit is contained in:
parent
d3ce683e06
commit
2b2016271a
4 changed files with 8 additions and 8 deletions
|
@ -10,8 +10,7 @@ from datetime import datetime
|
|||
import re
|
||||
import collections
|
||||
|
||||
#archs = ["rv32i_zicsr", "rv32im_zicsr", "rv32imc_zicsr", "rv32imc_zba_zbb_zbc_zbs_zicsr", "rv32imafdc_zba_zbb_zbc_zbs_zicsr"]
|
||||
archs = ["rv32imafdc_zba_zbb_zbc_zbs_zicsr", "rv32i_zicsr", "rv32im_zicsr", "rv32imc_zicsr", "rv32imc_zba_zbb_zbc_zbs_zicsr"]
|
||||
archs = ["rv32i_zicsr", "rv32im_zicsr", "rv32imc_zicsr", "rv32imc_zba_zbb_zbc_zbs_zicsr", "rv32imafdc_zba_zbb_zbc_zbs_zicsr"]
|
||||
|
||||
def calcgeomean(d, arch):
|
||||
progs = ["aha-mont64", "crc32", "cubic", "edn", "huffbench", "matmult-int", "minver", "nbody", "nettle-aes", "nettle-sha256", "nsichneu", "picojpeg", "qrduino", "sglib-combined", "slre", "st", "statemate", "ud", "wikisort"]
|
||||
|
@ -24,7 +23,8 @@ def calcgeomean(d, arch):
|
|||
return result
|
||||
|
||||
def tabulate_arch_sweep(directory):
|
||||
for case in ["wallySizeOpt_size", "wallySpeedOpt_speed"]:
|
||||
for case in ["wallySizeOpt_size", "wallySpeedOpt_size", "wallySizeOpt_speed", "wallySpeedOpt_speed"]:
|
||||
print(case)
|
||||
d = collections.defaultdict(dict)
|
||||
for arch in archs:
|
||||
file = case+"_"+arch+".json"
|
||||
|
@ -60,7 +60,7 @@ def tabulate_arch_sweep(directory):
|
|||
for arch in archs:
|
||||
geomean = calcgeomean(d, arch)
|
||||
print(geomean, end="\t")
|
||||
print("")
|
||||
print("\n\n")
|
||||
|
||||
def run_arch_sweep():
|
||||
# make a folder whose name depends on the date
|
||||
|
@ -83,5 +83,5 @@ def run_arch_sweep():
|
|||
return dir
|
||||
|
||||
directory = run_arch_sweep()
|
||||
#directory = "run_20231117_082325"
|
||||
#directory = "run_20231120_072037-caches"
|
||||
tabulate_arch_sweep(directory)
|
Loading…
Add table
Add a link
Reference in a new issue