diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:01 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:01 -0500 |
commit | deb6e8f805e162dd6a33b154e6a635acc0d7c132 (patch) | |
tree | 3dd73c54340ddea754e978de596a9f19dee77e2a /src/arch/arm/isa/formats/util.isa | |
parent | 190502476681b972f65697a7d2b3e3da35d40cd1 (diff) | |
download | gem5-deb6e8f805e162dd6a33b154e6a635acc0d7c132.tar.xz |
ARM: Eliminate the old memory formats which are no longer used.
Diffstat (limited to 'src/arch/arm/isa/formats/util.isa')
-rw-r--r-- | src/arch/arm/isa/formats/util.isa | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/arch/arm/isa/formats/util.isa b/src/arch/arm/isa/formats/util.isa index d4dd41d2b..286ce5ce5 100644 --- a/src/arch/arm/isa/formats/util.isa +++ b/src/arch/arm/isa/formats/util.isa @@ -38,42 +38,6 @@ def ArmGenericCodeSubs(code): new_code = re.sub(r'Rm_Rs', 'shift_rm_rs(Rm, Rs, shift, CondCodes<29:>)', new_code) return new_code - -def LoadStoreBase(name, Name, ea_code, memacc_code, mem_flags, inst_flags, - base_class = 'Memory', - decode_template = BasicDecode, exec_template_base = ''): - # Make sure flags are in lists (convert to lists if not). - mem_flags = makeList(mem_flags) - inst_flags = makeList(inst_flags) - - iop = InstObjParams(name, Name, base_class, - {'ea_code': ea_code, - 'memacc_code': memacc_code, - 'predicate_test': predicateTest}, - inst_flags) - - if mem_flags: - s = '\n\tmemAccessFlags = ' + string.join(mem_flags, '|') + ';' - iop.constructor += s - memacc_iop.constructor += s - - # select templates - - # The InitiateAcc template is the same for StoreCond templates as the - # corresponding Store template.. - StoreCondInitiateAcc = StoreInitiateAcc - - fullExecTemplate = eval(exec_template_base + 'Execute') - initiateAccTemplate = eval(exec_template_base + 'InitiateAcc') - completeAccTemplate = eval(exec_template_base + 'CompleteAcc') - - # (header_output, decoder_output, decode_block, exec_output) - return (LoadStoreDeclare.subst(iop), - LoadStoreConstructor.subst(iop), - decode_template.subst(iop), - fullExecTemplate.subst(iop) - + initiateAccTemplate.subst(iop) - + completeAccTemplate.subst(iop)) }}; |