Deleted Added
sdiff udiff text old ( 7121:bcd0a07000ed ) new ( 7123:d73415da8c9d )
full compact
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

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

263 "imm_p" : loadImmClassName(False, False, False),
264 "imm_pw" : loadImmClassName(False, False, True),
265 "imm_pu" : loadImmClassName(False, True, False),
266 "imm_puw" : loadImmClassName(False, True, True)
267 }
268 decode_block = decode % classNames
269}};
270
271def format ArmLoadMemory(memacc_code, ea_code = {{ EA = Rn + disp; }},
272 mem_flags = [], inst_flags = []) {{
273 ea_code = ArmGenericCodeSubs(ea_code)
274 memacc_code = ArmGenericCodeSubs(memacc_code)
275 (header_output, decoder_output, decode_block, exec_output) = \
276 LoadStoreBase(name, Name, ea_code, memacc_code, mem_flags, inst_flags,
277 decode_template = BasicDecode,
278 exec_template_base = 'Load')
279}};
280
281def format ArmStoreMemory(memacc_code, ea_code = {{ EA = Rn + disp; }},
282 mem_flags = [], inst_flags = []) {{
283 ea_code = ArmGenericCodeSubs(ea_code)
284 memacc_code = ArmGenericCodeSubs(memacc_code)
285 (header_output, decoder_output, decode_block, exec_output) = \
286 LoadStoreBase(name, Name, ea_code, memacc_code, mem_flags, inst_flags,
287 exec_template_base = 'Store')
288}};
289