summaryrefslogtreecommitdiff
path: root/src/arch/power/isa
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/power/isa')
-rw-r--r--src/arch/power/isa/formats/mem.isa4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/power/isa/formats/mem.isa b/src/arch/power/isa/formats/mem.isa
index 519275a16..ebf0bfa21 100644
--- a/src/arch/power/isa/formats/mem.isa
+++ b/src/arch/power/isa/formats/mem.isa
@@ -125,7 +125,7 @@ def template LoadCompleteAcc {{
{
Addr EA;
Fault fault = NoFault;
- uint%(mem_acc_size)d_t val;
+ %(mem_acc_type)s val;
%(op_decl)s;
%(op_rd)s;
@@ -133,7 +133,7 @@ def template LoadCompleteAcc {{
EA = xc->getEA();
getMem(pkt, val, traceData);
- *((uint%(mem_acc_size)d_t*)&Mem) = val;
+ *((%(mem_acc_type)s*)&Mem) = val;
if (fault == NoFault) {
%(memacc_code)s;