From 6d71918975d81ff2f55d5281a28882a1dae2ed72 Mon Sep 17 00:00:00 2001 From: Minseong Jang Date: Tue, 3 Sep 2024 16:29:23 +0900 Subject: [PATCH] Update golden CPI for branch prediction --- scripts/cpu/constants.py | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/scripts/cpu/constants.py b/scripts/cpu/constants.py index ef82bb9..000dd1b 100644 --- a/scripts/cpu/constants.py +++ b/scripts/cpu/constants.py @@ -18,17 +18,6 @@ "queue", "radix", ] -BRANCH_PREDICTION_CPI = { - "aes": 1.095809690091663, - "coremark": 1.245546845940845, - "ellpack": 1.0886911087495572, - "gemm-block": 1.2075294999063495, - "gemm": 1.2047191927428396, - "kmp": 1.0173730064026072, - "nw": 1.1543892223325705, - "queue": 1.1313768065186431, - "radix": 1.1181474937676985, -} # Cached CPI values for baseline BASELINE_CPI = { "aes": 1.2000873267110577, @@ -41,6 +30,18 @@ "queue": 1.3322280857423061, "radix": 1.2879425703930862, } +# Cached CPI values for branch prediction +BRANCH_PREDICTION_CPI = { + "aes": 1.0886296740433883, + "coremark": 1.2187339929366727, + "ellpack": 1.0596931299025947, + "gemm-block": 1.1967700018563208, + "gemm": 1.1938486919632336, + "kmp": 1.0171380924892566, + "nw": 1.0771787743261212, + "queue": 1.1282135101688187, + "radix": 1.1176876179416462, +} FORMAT = "%(message)s" # Logger format # Set logger level