diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-07-05 16:52:57 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-07-05 16:52:57 -0700 |
commit | 87b657278d5177a82a5b54918dab30afe37d1dac (patch) | |
tree | 06364524fcf4542c97e69ea8857826eb920f8b3f /src/arch/power | |
parent | 63a934d152024c093dc02cc94ad6b29607615af4 (diff) | |
download | gem5-87b657278d5177a82a5b54918dab30afe37d1dac.tar.xz |
ISAs: Streamline some spots where Mem is used in the ISA descriptions.
Diffstat (limited to 'src/arch/power')
-rw-r--r-- | src/arch/power/isa/formats/mem.isa | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/arch/power/isa/formats/mem.isa b/src/arch/power/isa/formats/mem.isa index ebf0bfa21..0361ee998 100644 --- a/src/arch/power/isa/formats/mem.isa +++ b/src/arch/power/isa/formats/mem.isa @@ -125,15 +125,13 @@ def template LoadCompleteAcc {{ { Addr EA; Fault fault = NoFault; - %(mem_acc_type)s val; %(op_decl)s; %(op_rd)s; EA = xc->getEA(); - getMem(pkt, val, traceData); - *((%(mem_acc_type)s*)&Mem) = val; + getMem(pkt, Mem, traceData); if (fault == NoFault) { %(memacc_code)s; |