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

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

393 "ldr" : loadRegClassName(False, True, False),
394 "ldrh" : loadRegClassName(False, True, False, size=2),
395 "ldrb" : loadRegClassName(False, True, False, size=1),
396 "ldrsh" : loadRegClassName(False, True, False, sign=True, size=2),
397 }
398 decode_block = decode % classNames
399}};
400
401def format ArmLoadMemory(memacc_code, ea_code = {{ EA = Rn + disp; }},
402 mem_flags = [], inst_flags = []) {{
403 ea_code = ArmGenericCodeSubs(ea_code)
404 memacc_code = ArmGenericCodeSubs(memacc_code)
405 (header_output, decoder_output, decode_block, exec_output) = \
406 LoadStoreBase(name, Name, ea_code, memacc_code, mem_flags, inst_flags,
407 decode_template = BasicDecode,
408 exec_template_base = 'Load')
409}};
410
411def format ArmStoreMemory(memacc_code, ea_code = {{ EA = Rn + disp; }},
412 mem_flags = [], inst_flags = []) {{
413 ea_code = ArmGenericCodeSubs(ea_code)
414 memacc_code = ArmGenericCodeSubs(memacc_code)
415 (header_output, decoder_output, decode_block, exec_output) = \
416 LoadStoreBase(name, Name, ea_code, memacc_code, mem_flags, inst_flags,
417 exec_template_base = 'Store')
418}};
419