Giacomo Travaglini has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/56605 )
Change subject: arch-arm: Add warning when DVM is enabled in the decoder
......................................................................
arch-arm: Add warning when DVM is enabled in the decoder
DVM Ops instructions are micro-architecturally modelled as loads. This
will tamper the effective number of loads stat, so a user should
be careful when interpreting stat results
JIRA: https://gem5.atlassian.net/browse/GEM5-1097
Change-Id: I526cd542ef804111cf6919359c1ce02df6d4710d
Signed-off-by: Giacomo Travaglini <giacomo.travagl...@arm.com>
---
M src/arch/arm/decoder.cc
1 file changed, 23 insertions(+), 0 deletions(-)
diff --git a/src/arch/arm/decoder.cc b/src/arch/arm/decoder.cc
index 48a8641..f5dd1b1 100644
--- a/src/arch/arm/decoder.cc
+++ b/src/arch/arm/decoder.cc
@@ -64,6 +64,13 @@
// Initialize SVE vector length
sveLen = (dynamic_cast<ISA *>(params.isa)
->getCurSveVecLenInBitsAtReset() >> 7) - 1;
+
+ if (dvmEnabled) {
+ warn_once(
+ "DVM Ops instructions are micro-architecturally "
+ "modelled as loads. This will tamper the effective "
+ "number of loads stat\n");
+ }
}
void
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/56605
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I526cd542ef804111cf6919359c1ce02df6d4710d
Gerrit-Change-Number: 56605
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s