diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-10-22 00:23:19 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-10-22 00:23:19 -0700 |
commit | 29676286c8b52014c44f5001ff2d039881189030 (patch) | |
tree | 60a674e87d97659ccb822ce9277f2cb0abcd6582 /src/arch/mips/isa | |
parent | bc49381287698297446da3e6f7b43b8ef4f43b27 (diff) | |
download | gem5-29676286c8b52014c44f5001ff2d039881189030.tar.xz |
ISA: Simplify various implementations of completeAcc.
Diffstat (limited to 'src/arch/mips/isa')
-rw-r--r-- | src/arch/mips/isa/formats/mem.isa | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/src/arch/mips/isa/formats/mem.isa b/src/arch/mips/isa/formats/mem.isa index 411cc5fda..e7dbd8e9b 100644 --- a/src/arch/mips/isa/formats/mem.isa +++ b/src/arch/mips/isa/formats/mem.isa @@ -420,42 +420,7 @@ def template StoreCompleteAcc {{ %(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const { - Fault fault = NoFault; - - %(fp_enable_check)s; - %(op_dest_decl)s; - - if (fault == NoFault) { - %(postacc_code)s; - } - - if (fault == NoFault) { - %(op_wb)s; - } - - return fault; - } -}}; - - -def template StoreCompleteAcc {{ - Fault %(class_name)s::completeAcc(Packet *pkt, - %(CPU_exec_context)s *xc, - Trace::InstRecord *traceData) const - { - Fault fault = NoFault; - - %(op_dest_decl)s; - - if (fault == NoFault) { - %(postacc_code)s; - } - - if (fault == NoFault) { - %(op_wb)s; - } - - return fault; + return NoFault; } }}; |