isa_parser.py (11163:c81401cf5cc2) isa_parser.py (11327:1e7b883dffc6)
1# Copyright (c) 2014 ARM Limited
2# All rights reserved
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 776 unchanged lines hidden (view full) ---

785class MemOperand(Operand):
786 def isMem(self):
787 return 1
788
789 def makeConstructor(self, predRead, predWrite):
790 return ''
791
792 def makeDecl(self):
1# Copyright (c) 2014 ARM Limited
2# All rights reserved
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 776 unchanged lines hidden (view full) ---

785class MemOperand(Operand):
786 def isMem(self):
787 return 1
788
789 def makeConstructor(self, predRead, predWrite):
790 return ''
791
792 def makeDecl(self):
793 # Note that initializations in the declarations are solely
794 # to avoid 'uninitialized variable' errors from the compiler.
795 # Declare memory data variable.
793 # Declare memory data variable.
796 return '%s %s = 0;\n' % (self.ctype, self.base_name)
794 return '%s %s;\n' % (self.ctype, self.base_name)
797
798 def makeRead(self, predRead):
799 if self.read_code != None:
800 return self.buildReadCode()
801 return ''
802
803 def makeWrite(self, predWrite):
804 if self.write_code != None:

--- 1625 unchanged lines hidden ---
795
796 def makeRead(self, predRead):
797 if self.read_code != None:
798 return self.buildReadCode()
799 return ''
800
801 def makeWrite(self, predWrite):
802 if self.write_code != None:

--- 1625 unchanged lines hidden ---