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 # Declare memory data variable. |
794 return '%s %s;\n' % (self.ctype, self.base_name) |
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 --- |