From 93a168c25e5bb396ee749d25a2ab80ce7bec1764 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 12 Dec 2017 23:12:30 -0800 Subject: cpu,alpha,mips,power,riscv,sparc: Get rid of eaComp and memAccInst. Neither of these were used, particularly memAccInst. Change-Id: I4ac9e44cf624e5de42519d586d7b699f08a2cdfc Reviewed-on: https://gem5-review.googlesource.com/6601 Maintainer: Gabe Black Reviewed-by: Andreas Sandberg --- src/arch/riscv/isa/formats/mem.isa | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/arch/riscv/isa/formats/mem.isa') diff --git a/src/arch/riscv/isa/formats/mem.isa b/src/arch/riscv/isa/formats/mem.isa index 11b6c4238..d4c17541a 100644 --- a/src/arch/riscv/isa/formats/mem.isa +++ b/src/arch/riscv/isa/formats/mem.isa @@ -44,7 +44,6 @@ def template LoadStoreDeclare {{ %(class_name)s(ExtMachInst machInst); Fault execute(ExecContext *, Trace::InstRecord *) const; - Fault eaComp(ExecContext *, Trace::InstRecord *) const; Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; Fault completeAcc(PacketPtr, ExecContext *, Trace::InstRecord *) const; }; @@ -60,26 +59,6 @@ def template LoadStoreConstructor {{ } }}; -def template EACompExecute {{ - Fault - %(class_name)s::eaComp(ExecContext *xc, Trace::InstRecord *traceData) const - { - Addr EA; - Fault fault = NoFault; - - %(op_decl)s; - %(op_rd)s; - %(ea_code)s; - - if (fault == NoFault) { - %(op_wb)s; - xc->setEA(EA); - } - - return fault; - } -}}; - let {{ def LoadStoreBase(name, Name, offset_code, ea_code, memacc_code, mem_flags, inst_flags, base_class, postacc_code='', decode_template=BasicDecode, @@ -109,7 +88,6 @@ def LoadStoreBase(name, Name, offset_code, ea_code, memacc_code, mem_flags, LoadStoreConstructor.subst(iop), decode_template.subst(iop), fullExecTemplate.subst(iop) + - EACompExecute.subst(iop) + initiateAccTemplate.subst(iop) + completeAccTemplate.subst(iop)) }}; -- cgit v1.2.3