str.isa (7590:27dbb92bbad5) | str.isa (7593:aa32d1398dfd) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 211 unchanged lines hidden (view full) --- 220 class StoreDouble(StoreInst): 221 def __init__(self, *args, **kargs): 222 super(StoreDouble, self).__init__(*args, **kargs) 223 224 # Build the default class name 225 self.Name = self.nameFunc(self.post, self.add, self.writeback) 226 227 # Add memory request flags where necessary | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 211 unchanged lines hidden (view full) --- 220 class StoreDouble(StoreInst): 221 def __init__(self, *args, **kargs): 222 super(StoreDouble, self).__init__(*args, **kargs) 223 224 # Build the default class name 225 self.Name = self.nameFunc(self.post, self.add, self.writeback) 226 227 # Add memory request flags where necessary |
228 self.memFlags.append("ArmISA::TLB::AlignWord") | |
229 if self.flavor == "exclusive": 230 self.memFlags.append("Request::LLSC") | 228 if self.flavor == "exclusive": 229 self.memFlags.append("Request::LLSC") |
230 self.memFlags.append("ArmISA::TLB::AlignDoubleWord") 231 else: 232 self.memFlags.append("ArmISA::TLB::AlignWord") |
|
231 232 # Disambiguate the class name for different flavors of stores 233 if self.flavor != "normal": 234 self.Name = "%s_%s" % (self.name.upper(), self.Name) 235 236 def emit(self): 237 # Address computation code 238 eaCode = "EA = Base" --- 113 unchanged lines hidden --- | 233 234 # Disambiguate the class name for different flavors of stores 235 if self.flavor != "normal": 236 self.Name = "%s_%s" % (self.name.upper(), self.Name) 237 238 def emit(self): 239 # Address computation code 240 eaCode = "EA = Base" --- 113 unchanged lines hidden --- |