Daniel Carvalho has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/45400 )
Change subject: arch-x86: Rename X86Macroop namespace as x86_macroop
......................................................................
arch-x86: Rename X86Macroop namespace as x86_macroop
As part of recent decisions regarding namespace
naming conventions, all namespaces will be changed
to snake case.
X86Macroop became x86_macroop.
Ideally, this should probably be moved to inside the
X86ISA namespace, and renamed accordingly, but a macroop
namespace would probably generate a lot of conflicts.
Change-Id: I06bc0f33a4c1d95492df9397d7d70e5316b1b96b
Signed-off-by: Daniel R. Carvalho <[email protected]>
---
M src/arch/x86/isa/macroop.isa
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/arch/x86/isa/macroop.isa b/src/arch/x86/isa/macroop.isa
index ccd065a..2d7be6a 100644
--- a/src/arch/x86/isa/macroop.isa
+++ b/src/arch/x86/isa/macroop.isa
@@ -76,8 +76,8 @@
// Basic instruction class declaration template.
def template MacroDeclare {{
- namespace X86Macroop
- {
+ GEM5_DEPRECATED_NAMESPACE(X86Macroop, x86_macroop);
+ namespace x86_macroop {
/**
* Static instruction class for "%(mnemonic)s".
*/
@@ -97,7 +97,7 @@
def template MacroDisassembly {{
std::string
- X86Macroop::%(class_name)s::generateDisassembly(
+ x86_macroop::%(class_name)s::generateDisassembly(
Addr pc, const Loader::SymbolTable *symtab) const
{
std::stringstream out;
@@ -113,7 +113,7 @@
// Basic instruction class constructor template.
def template MacroConstructor {{
- X86Macroop::%(class_name)s::%(class_name)s(
+ x86_macroop::%(class_name)s::%(class_name)s(
ExtMachInst machInst, EmulEnv _env)
: %(base_class)s("%(mnemonic)s", machInst, %(num_microops)s,
_env)
{
@@ -190,7 +190,7 @@
self.control_indirect = False
def getAllocator(self, env):
- return "new X86Macroop::%s(machInst, %s)" % \
+ return "new x86_macroop::%s(machInst, %s)" % \
(self.name, env.getAllocator())
def getMnemonic(self):
mnemonic = self.name.lower()
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/45400
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: I06bc0f33a4c1d95492df9397d7d70e5316b1b96b
Gerrit-Change-Number: 45400
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Carvalho <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s