Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/45240 )

Change subject: misc: Replace M5_FOR_EACH_IN_PACK with GEM5_FOR_EACH_IN_PACK.
......................................................................

misc: Replace M5_FOR_EACH_IN_PACK with GEM5_FOR_EACH_IN_PACK.

Change-Id: I5d565c496129033634d2b913f83d014c5e07b1dc
---
M src/arch/x86/insts/microop_args.hh
M src/sim/guest_abi/dispatch.hh
M src/sim/guest_abi/layout.hh
3 files changed, 5 insertions(+), 5 deletions(-)



diff --git a/src/arch/x86/insts/microop_args.hh b/src/arch/x86/insts/microop_args.hh
index a8a01b1..fe893a7 100644
--- a/src/arch/x86/insts/microop_args.hh
+++ b/src/arch/x86/insts/microop_args.hh
@@ -353,8 +353,8 @@
         std::stringstream response;
         Base::printMnemonic(response, this->instMnem, this->mnemonic);
         int count = 0;
-        M5_FOR_EACH_IN_PACK(ccprintf(response, count++ ? ", " : ""),
-                            Operands::print(response));
+        GEM5_FOR_EACH_IN_PACK(ccprintf(response, count++ ? ", " : ""),
+                              Operands::print(response));
         return response.str();
     }
 };
diff --git a/src/sim/guest_abi/dispatch.hh b/src/sim/guest_abi/dispatch.hh
index 2caa208..32e07b4 100644
--- a/src/sim/guest_abi/dispatch.hh
+++ b/src/sim/guest_abi/dispatch.hh
@@ -102,8 +102,8 @@
     int count = 0;
     // Extract all the arguments from the thread context and print them,
     // prefixed with either a ( or a , as appropriate.
-    M5_FOR_EACH_IN_PACK(os << (count++ ? ", " : "("),
-                        os << getArgument<ABI, Args>(tc, state));
+    GEM5_FOR_EACH_IN_PACK(os << (count++ ? ", " : "("),
+                          os << getArgument<ABI, Args>(tc, state));
     os << ")";
 }

diff --git a/src/sim/guest_abi/layout.hh b/src/sim/guest_abi/layout.hh
index 08840ec..9c8f42f 100644
--- a/src/sim/guest_abi/layout.hh
+++ b/src/sim/guest_abi/layout.hh
@@ -112,7 +112,7 @@
 prepareForArguments(GEM5_VAR_USED ThreadContext *tc,
         typename ABI::State &state)
 {
-    M5_FOR_EACH_IN_PACK(Preparer<ABI, Argument, Args>::prepare(tc, state));
+ GEM5_FOR_EACH_IN_PACK(Preparer<ABI, Argument, Args>::prepare(tc, state));
 }

 template <typename ABI, typename Ret, typename ...Args>

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/45240
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: I5d565c496129033634d2b913f83d014c5e07b1dc
Gerrit-Change-Number: 45240
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabe.bl...@gmail.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

Reply via email to