[gem5-dev] Change in gem5/gem5[develop]: cpu: Base dyn inst HTM flags getter

2020-09-08 Thread Giacomo Travaglini (Gerrit) via gem5-dev
Giacomo Travaglini has submitted this change. (  
https://gem5-review.googlesource.com/c/public/gem5/+/30326 )


Change subject: cpu: Base dyn inst HTM flags getter
..

cpu: Base dyn inst HTM flags getter

JIRA: https://gem5.atlassian.net/browse/GEM5-587

Change-Id: Ie15d8849edcff34ee7d5c7dd5e6ee2e099f937fc
Signed-off-by: Giacomo Travaglini 
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30326
Tested-by: kokoro 
Reviewed-by: Jason Lowe-Power 
Maintainer: Jason Lowe-Power 
---
M src/cpu/base_dyn_inst.hh
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Jason Lowe-Power: Looks good to me, approved; Looks good to me, approved
  kokoro: Regressions pass



diff --git a/src/cpu/base_dyn_inst.hh b/src/cpu/base_dyn_inst.hh
index bab8019..31dee6c 100644
--- a/src/cpu/base_dyn_inst.hh
+++ b/src/cpu/base_dyn_inst.hh
@@ -540,6 +540,11 @@
 bool isLastMicroop() const { return staticInst->isLastMicroop(); }
 bool isFirstMicroop() const { return staticInst->isFirstMicroop(); }
 bool isMicroBranch() const { return staticInst->isMicroBranch(); }
+// hardware transactional memory
+bool isHtmStart() const { return staticInst->isHtmStart(); }
+bool isHtmStop() const { return staticInst->isHtmStop(); }
+bool isHtmCancel() const { return staticInst->isHtmCancel(); }
+bool isHtmCmd() const { return staticInst->isHtmCmd(); }

 uint64_t getHtmTransactionUid() const override
 {

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/30326
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: Ie15d8849edcff34ee7d5c7dd5e6ee2e099f937fc
Gerrit-Change-Number: 30326
Gerrit-PatchSet: 13
Gerrit-Owner: Giacomo Travaglini 
Gerrit-Reviewer: Giacomo Travaglini 
Gerrit-Reviewer: Jason Lowe-Power 
Gerrit-Reviewer: Timothy Hayes 
Gerrit-Reviewer: kokoro 
Gerrit-MessageType: merged
___
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

[gem5-dev] Change in gem5/gem5[develop]: cpu: Base dyn inst HTM flags getter

2020-06-15 Thread Giacomo Travaglini (Gerrit) via gem5-dev

Hello Timothy Hayes,

I'd like you to do a code review. Please visit

https://gem5-review.googlesource.com/c/public/gem5/+/30326

to review the following change.


Change subject: cpu: Base dyn inst HTM flags getter
..

cpu: Base dyn inst HTM flags getter

JIRA: https://gem5.atlassian.net/browse/GEM5-587

Change-Id: Ie15d8849edcff34ee7d5c7dd5e6ee2e099f937fc
Signed-off-by: Giacomo Travaglini 
---
M src/cpu/base_dyn_inst.hh
1 file changed, 5 insertions(+), 0 deletions(-)



diff --git a/src/cpu/base_dyn_inst.hh b/src/cpu/base_dyn_inst.hh
index e1580a5..119b806 100644
--- a/src/cpu/base_dyn_inst.hh
+++ b/src/cpu/base_dyn_inst.hh
@@ -540,6 +540,11 @@
 bool isLastMicroop() const { return staticInst->isLastMicroop(); }
 bool isFirstMicroop() const { return staticInst->isFirstMicroop(); }
 bool isMicroBranch() const { return staticInst->isMicroBranch(); }
+// hardware transactional memory
+bool isHtmStart() const { return staticInst->isHtmStart(); }
+bool isHtmStop() const { return staticInst->isHtmStop(); }
+bool isHtmCancel() const { return staticInst->isHtmCancel(); }
+bool isHtmCmd() const { return staticInst->isHtmCmd(); }

 uint64_t getHtmTransactionUid() const override
 {

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/30326
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: Ie15d8849edcff34ee7d5c7dd5e6ee2e099f937fc
Gerrit-Change-Number: 30326
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini 
Gerrit-Reviewer: Timothy Hayes 
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