[gem5-dev] Change in gem5/gem5[master]: arch-arm: FIXUP for the add PRFM PST instruction commit

2018-10-29 Thread kodamayu (Gerrit)
kodamayu has uploaded this change for review. (  
https://gem5-review.googlesource.com/c/public/gem5/+/13815



Change subject: arch-arm: FIXUP for the add PRFM PST instruction commit
..

arch-arm: FIXUP for the add PRFM PST instruction commit

Change-Id: I898e5b565c6591f88ae732b24713aeae2c827cbd
---
M src/arch/arm/insts/static_inst.hh
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/src/arch/arm/insts/static_inst.hh  
b/src/arch/arm/insts/static_inst.hh

index 6216598..f4f3cbb 100644
--- a/src/arch/arm/insts/static_inst.hh
+++ b/src/arch/arm/insts/static_inst.hh
@@ -179,7 +179,7 @@
 void printExtendOperand(bool firstOperand, std::ostream ,
 IntRegIndex rm, ArmExtendType type,
 int64_t shiftAmt) const;
-
+void printPFflags(std::ostream , int flag) const;

 void printDataInst(std::ostream , bool withImm) const;
 void printDataInst(std::ostream , bool withImm, bool immShift, bool  
s,


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/13815
To unsubscribe, or for help writing mail filters, visit  
https://gem5-review.googlesource.com/settings


Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I898e5b565c6591f88ae732b24713aeae2c827cbd
Gerrit-Change-Number: 13815
Gerrit-PatchSet: 1
Gerrit-Owner: kodamayu 
Gerrit-MessageType: newchange
___
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

[gem5-dev] Change in gem5/gem5[master]: Merge branch 'master' of https://gem7.googlesource.com/public/gem5

2018-10-26 Thread kodamayu (Gerrit)
kodamayu has uploaded this change for review. (  
https://gem5-review.googlesource.com/c/public/gem5/+/13795



Change subject: Merge branch 'master' of  
https://gem7.googlesource.com/public/gem5

..

Merge branch 'master' of https://gem7.googlesource.com/public/gem5

Change-Id: Icddcfd54990d94614a3029c069879281a2fdbe67
---
1 file changed, 0 insertions(+), 0 deletions(-)




--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/13795
To unsubscribe, or for help writing mail filters, visit  
https://gem5-review.googlesource.com/settings


Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Icddcfd54990d94614a3029c069879281a2fdbe67
Gerrit-Change-Number: 13795
Gerrit-PatchSet: 1
Gerrit-Owner: kodamayu 
Gerrit-MessageType: newchange
___
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

[gem5-dev] Change in gem5/gem5[master]: arch-arm: I missed the header file static_inst.hh

2018-10-26 Thread kodamayu (Gerrit)
kodamayu has uploaded this change for review. (  
https://gem5-review.googlesource.com/c/public/gem5/+/13797



Change subject: arch-arm: I missed the header file static_inst.hh
..

arch-arm: I missed the header file static_inst.hh

Change-Id: I606888fb7d507ff2fa3de715cb08a4cf061aeb40
---
M src/arch/arm/insts/static_inst.hh
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/src/arch/arm/insts/static_inst.hh  
b/src/arch/arm/insts/static_inst.hh

index 6216598..f4f3cbb 100644
--- a/src/arch/arm/insts/static_inst.hh
+++ b/src/arch/arm/insts/static_inst.hh
@@ -179,7 +179,7 @@
 void printExtendOperand(bool firstOperand, std::ostream ,
 IntRegIndex rm, ArmExtendType type,
 int64_t shiftAmt) const;
-
+void printPFflags(std::ostream , int flag) const;

 void printDataInst(std::ostream , bool withImm) const;
 void printDataInst(std::ostream , bool withImm, bool immShift, bool  
s,


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/13797
To unsubscribe, or for help writing mail filters, visit  
https://gem5-review.googlesource.com/settings


Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I606888fb7d507ff2fa3de715cb08a4cf061aeb40
Gerrit-Change-Number: 13797
Gerrit-PatchSet: 1
Gerrit-Owner: kodamayu 
Gerrit-MessageType: newchange
___
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

[gem5-dev] Change in gem5/gem5[master]: arch-arm: We add PRFM PST instruction for arm

2018-10-24 Thread kodamayu (Gerrit)

Hello Gabor Dozsa,

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#2).

Change subject: arch-arm: We add PRFM PST instruction for arm
..

arch-arm: We add PRFM PST instruction for arm

Note current PRFM supports only PLD, but PST (prefetch for store) is
also important for latency hiding. We also bug fix in disassembler to
display prfop correctly.

Change-Id: I9144e7233900aa2d555e1c1a6a2c2e41d837aa13
Signed-off-by: Yuetsu Kodama 
---
M src/arch/arm/insts/mem64.cc
M src/arch/arm/insts/static_inst.cc
M src/arch/arm/isa/insts/ldr64.isa
M src/mem/cache/base.cc
M src/mem/packet.cc
M src/mem/packet.hh
M src/mem/request.hh
7 files changed, 35 insertions(+), 8 deletions(-)


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/13675
To unsubscribe, or for help writing mail filters, visit  
https://gem5-review.googlesource.com/settings


Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I9144e7233900aa2d555e1c1a6a2c2e41d837aa13
Gerrit-Change-Number: 13675
Gerrit-PatchSet: 2
Gerrit-Owner: kodamayu 
Gerrit-Reviewer: Gabor Dozsa 
Gerrit-MessageType: newpatchset
___
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

[gem5-dev] Change in gem5/gem5[master]: we add PRFM PST instruction for arm

2018-10-19 Thread kodamayu (Gerrit)
ot;SoftPFReq" },
+/* SoftPFExReq */
+{ SET6(IsRead, NeedsWritable, IsInvalidate, IsRequest,
+   IsSWPrefetch, NeedsResponse), SoftPFResp, "SoftPFExReq" },
 /* HardPFReq */
 { SET5(IsRead, IsRequest, IsHWPrefetch, NeedsResponse, FromCache),
 HardPFResp, "HardPFReq" },
diff --git a/src/mem/packet.hh b/src/mem/packet.hh
index f0b7c2f..c59db36 100644
--- a/src/mem/packet.hh
+++ b/src/mem/packet.hh
@@ -94,6 +94,7 @@
 WriteClean,// writes dirty data below without evicting
 CleanEvict,
 SoftPFReq,
+SoftPFExReq,
 HardPFReq,
 SoftPFResp,
 HardPFResp,
@@ -859,6 +860,8 @@
 {
 if (req->isLLSC())
 return MemCmd::LoadLockedReq;
+else if (req->isPrefetchEx())
+return MemCmd::SoftPFExReq;
 else if (req->isPrefetch())
 return MemCmd::SoftPFReq;
 else
diff --git a/src/mem/request.hh b/src/mem/request.hh
index 3df29aa..2a53c21 100644
--- a/src/mem/request.hh
+++ b/src/mem/request.hh
@@ -860,7 +860,9 @@
 bool isUncacheable() const { return _flags.isSet(UNCACHEABLE); }
 bool isStrictlyOrdered() const { return _flags.isSet(STRICT_ORDER); }
 bool isInstFetch() const { return _flags.isSet(INST_FETCH); }
-bool isPrefetch() const { return _flags.isSet(PREFETCH); }
+bool isPrefetch() const { return (_flags.isSet(PREFETCH) ||
+      _flags.isSet(PF_EXCLUSIVE)); }
+bool isPrefetchEx() const { return _flags.isSet(PF_EXCLUSIVE); }
 bool isLLSC() const { return _flags.isSet(LLSC); }
 bool isPriv() const { return _flags.isSet(PRIVILEGED); }
 bool isLockedRMW() const { return _flags.isSet(LOCKED_RMW); }

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/13675
To unsubscribe, or for help writing mail filters, visit  
https://gem5-review.googlesource.com/settings


Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I9144e7233900aa2d555e1c1a6a2c2e41d837aa13
Gerrit-Change-Number: 13675
Gerrit-PatchSet: 1
Gerrit-Owner: kodamayu 
Gerrit-MessageType: newchange
___
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev