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

Change subject: arch: Get rid of the unused numAccessNeeded variable.
......................................................................

arch: Get rid of the unused numAccessNeeded variable.

This was defined in a few operand classes makeConstructor methods, but
never used for anything.

Change-Id: If2f62ff0a29a26ae7067728651440f864999fc67
---
M src/arch/isa_parser/operand_types.py
1 file changed, 0 insertions(+), 4 deletions(-)



diff --git a/src/arch/isa_parser/operand_types.py b/src/arch/isa_parser/operand_types.py
index 8393847..66d755e 100755
--- a/src/arch/isa_parser/operand_types.py
+++ b/src/arch/isa_parser/operand_types.py
@@ -344,8 +344,6 @@
         c_src = ''
         c_dest = ''

-        numAccessNeeded = 1
-
         if self.is_src:
c_src = self.src_reg_constructor % (self.reg_class, self.reg_spec)

@@ -474,8 +472,6 @@
         c_src = ''
         c_dest = ''

-        numAccessNeeded = 1
-
         if self.is_src:
             c_src = ('\n\tsetSrcRegIdx(_numSrcRegs++, RegId(%s, %s));' %
                     (self.reg_class, self.reg_spec))

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/49718
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: If2f62ff0a29a26ae7067728651440f864999fc67
Gerrit-Change-Number: 49718
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