Gabe Black has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/49129 )

Change subject: cpu: Fix style in the checker CPU class.
......................................................................

cpu: Fix style in the checker CPU class.

Change-Id: Ief2d716b515ab38aaa202be49ef144f2c04f532e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49129
Reviewed-by: Bobby R. Bruce <[email protected]>
Maintainer: Bobby R. Bruce <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/cpu/checker/cpu.hh
1 file changed, 19 insertions(+), 20 deletions(-)

Approvals:
  Bobby R. Bruce: Looks good to me, approved; Looks good to me, approved
  kokoro: Regressions pass



diff --git a/src/cpu/checker/cpu.hh b/src/cpu/checker/cpu.hh
index a191ae4..f902df4 100644
--- a/src/cpu/checker/cpu.hh
+++ b/src/cpu/checker/cpu.hh
@@ -153,15 +153,9 @@

     BaseMMU* getMMUPtr() { return mmu; }

-    virtual Counter totalInsts() const override
-    {
-        return 0;
-    }
+    virtual Counter totalInsts() const override { return 0; }

-    virtual Counter totalOps() const override
-    {
-        return 0;
-    }
+    virtual Counter totalOps() const override { return 0; }

     // number of simulated loads
     Counter numLoad;
@@ -329,8 +323,9 @@
         setVecElemResult(val);
     }

-    void setVecPredRegOperand(const StaticInst *si, int idx,
- const TheISA::VecPredRegContainer& val) override
+    void
+    setVecPredRegOperand(const StaticInst *si, int idx,
+                         const TheISA::VecPredRegContainer& val) override
     {
         const RegId& reg = si->destRegIdx(idx);
         assert(reg.is(VecPredRegClass));
@@ -476,8 +471,11 @@
         return BaseCPU::mwaitAtomic(0, tc, thread->mmu);
     }

-    AddressMonitor *getAddrMonitor() override
-    { return BaseCPU::getCpuAddrMonitor(0); }
+    AddressMonitor *
+    getAddrMonitor() override
+    {
+        return BaseCPU::getCpuAddrMonitor(0);
+    }

     /**
* Helper function used to generate the request for a single fragment of a
@@ -502,22 +500,22 @@

     Fault readMem(Addr addr, uint8_t *data, unsigned size,
                   Request::Flags flags,
-                  const std::vector<bool>& byte_enable)
-        override;
+                  const std::vector<bool>& byte_enable) override;

     Fault writeMem(uint8_t *data, unsigned size, Addr addr,
                    Request::Flags flags, uint64_t *res,
-                   const std::vector<bool>& byte_enable)
-        override;
+                   const std::vector<bool>& byte_enable) override;

-    Fault amoMem(Addr addr, uint8_t* data, unsigned size,
-                 Request::Flags flags, AtomicOpFunctorPtr amo_op) override
+    Fault
+    amoMem(Addr addr, uint8_t* data, unsigned size,
+           Request::Flags flags, AtomicOpFunctorPtr amo_op) override
     {
         panic("AMO is not supported yet in CPU checker\n");
     }

     unsigned int
-    readStCondFailures() const override {
+    readStCondFailures() const override
+    {
         return thread->readStCondFailures();
     }

@@ -585,7 +583,8 @@
     void handlePendingInt();

   private:
-    void handleError(const DynInstPtr &inst)
+    void
+    handleError(const DynInstPtr &inst)
     {
         if (exitOnError) {
             dumpAndExit(inst);



1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/49129
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: Ief2d716b515ab38aaa202be49ef144f2c04f532e
Gerrit-Change-Number: 49129
Gerrit-PatchSet: 3
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Bobby R. Bruce <[email protected]>
Gerrit-Reviewer: Daniel Carvalho <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to