str.isa (10037:5cac77888310) str.isa (12219:5c42cf79d862)
1// -*- mode:c++ -*-
2
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010-2011 ARM Limited
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)
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"] = "Result = !writeResult;"
231 self.codeBlobs["postacc_code"] = \
232 "Result = !writeResult; SevMailbox = 1; LLSCLock = 0;"
232
233 class StoreImm(StoreImmInst, StoreSingle):
234 decConstBase = 'LoadStoreImm'
235 basePrefix = 'MemoryImm'
236 nameFunc = staticmethod(storeImmClassName)
237
238 def storeRegClassName(post, add, writeback, size=4, sign=False, user=False):
239 return memClassName("STORE_REG", post, add, writeback, size, sign, user)

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

302 class StoreDoubleImmEx(StoreImmInst, StoreDouble):
303 execBase = 'StoreEx'
304 decConstBase = 'StoreExDImm'
305 basePrefix = 'MemoryExDImm'
306 nameFunc = staticmethod(storeDoubleImmClassName)
307
308 def __init__(self, *args, **kargs):
309 super(StoreDoubleImmEx, self).__init__(*args, **kargs)
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)
310 self.codeBlobs["postacc_code"] = "Result = !writeResult;"
311 self.codeBlobs["postacc_code"] = \
312 "Result = !writeResult; SevMailbox = 1; LLSCLock = 0;"
311
312 class StoreDoubleImm(StoreImmInst, StoreDouble):
313 decConstBase = 'LoadStoreDImm'
314 basePrefix = 'MemoryDImm'
315 nameFunc = staticmethod(storeDoubleImmClassName)
316
317 def storeDoubleRegClassName(post, add, writeback):
318 return memClassName("STORE_REGD", post, add, writeback, 4, False, False)

--- 69 unchanged lines hidden ---
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 ---