Deleted Added
sdiff udiff text old ( 10037:5cac77888310 ) new ( 12219:5c42cf79d862 )
full compact
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010-2011 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"] = "Result = !writeResult;"
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)
310 self.codeBlobs["postacc_code"] = "Result = !writeResult;"
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 ---