1// -*- mode:c++ -*- 2 |
3// Copyright (c) 2010-2011,2017 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 9// to a hardware implementation of the functionality of the software 10// licensed hereunder. You may use the software subject to the license 11// terms below provided that you ensure that this notice is replicated --- 211 unchanged lines hidden (view full) --- 223 class StoreImmEx(StoreImmInst, StoreSingle): 224 execBase = 'StoreEx' 225 decConstBase = 'StoreExImm' 226 basePrefix = 'MemoryExImm' 227 nameFunc = staticmethod(storeImmClassName) 228 229 def __init__(self, *args, **kargs): 230 super(StoreImmEx, self).__init__(*args, **kargs) |
231 self.codeBlobs["postacc_code"] = \ 232 "Result = !writeResult; SevMailbox = 1; LLSCLock = 0;" |
233 234 class StoreImm(StoreImmInst, StoreSingle): 235 decConstBase = 'LoadStoreImm' 236 basePrefix = 'MemoryImm' 237 nameFunc = staticmethod(storeImmClassName) 238 239 def storeRegClassName(post, add, writeback, size=4, sign=False, user=False): 240 return memClassName("STORE_REG", post, add, writeback, size, sign, user) --- 62 unchanged lines hidden (view full) --- 303 class StoreDoubleImmEx(StoreImmInst, StoreDouble): 304 execBase = 'StoreEx' 305 decConstBase = 'StoreExDImm' 306 basePrefix = 'MemoryExDImm' 307 nameFunc = staticmethod(storeDoubleImmClassName) 308 309 def __init__(self, *args, **kargs): 310 super(StoreDoubleImmEx, self).__init__(*args, **kargs) |
311 self.codeBlobs["postacc_code"] = \ 312 "Result = !writeResult; SevMailbox = 1; LLSCLock = 0;" |
313 314 class StoreDoubleImm(StoreImmInst, StoreDouble): 315 decConstBase = 'LoadStoreDImm' 316 basePrefix = 'MemoryDImm' 317 nameFunc = staticmethod(storeDoubleImmClassName) 318 319 def storeDoubleRegClassName(post, add, writeback): 320 return memClassName("STORE_REGD", post, add, writeback, 4, False, False) --- 69 unchanged lines hidden --- |