Deleted Added
sdiff udiff text old ( 7123:d73415da8c9d ) new ( 7124:50d26210c812 )
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

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

353 "str_imm" : storeImmClassName(False, True, False),
354 "str_puw" : buildPuwDecode(4),
355 "strt" : storeImmClassName(False, True, False, user=True),
356 "str_reg" : storeRegClassName(False, True, False)
357 }
358 decode_block = decode % classNames
359}};
360
361def format ArmLoadMemory(memacc_code, ea_code = {{ EA = Rn + disp; }},
362 mem_flags = [], inst_flags = []) {{
363 ea_code = ArmGenericCodeSubs(ea_code)
364 memacc_code = ArmGenericCodeSubs(memacc_code)
365 (header_output, decoder_output, decode_block, exec_output) = \
366 LoadStoreBase(name, Name, ea_code, memacc_code, mem_flags, inst_flags,
367 decode_template = BasicDecode,
368 exec_template_base = 'Load')
369}};
370
371def format ArmStoreMemory(memacc_code, ea_code = {{ EA = Rn + disp; }},
372 mem_flags = [], inst_flags = []) {{
373 ea_code = ArmGenericCodeSubs(ea_code)
374 memacc_code = ArmGenericCodeSubs(memacc_code)
375 (header_output, decoder_output, decode_block, exec_output) = \
376 LoadStoreBase(name, Name, ea_code, memacc_code, mem_flags, inst_flags,
377 exec_template_base = 'Store')
378}};
379