summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/arm/isa/templates/sve_mem.isa14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/arch/arm/isa/templates/sve_mem.isa b/src/arch/arm/isa/templates/sve_mem.isa
index dced5f4a5..3085eca6d 100644
--- a/src/arch/arm/isa/templates/sve_mem.isa
+++ b/src/arch/arm/isa/templates/sve_mem.isa
@@ -1,4 +1,4 @@
-// Copyright (c) 2017-2018 ARM Limited
+// Copyright (c) 2017-2019 ARM Limited
// All rights reserved
//
// The license below extends only to copyright in the software and shall
@@ -560,7 +560,9 @@ def template SveGatherLoadMicroopExecute {{
if (fault == NoFault) {
%(fault_status_reset_code)s;
%(memacc_code)s;
- %(op_wb)s;
+ if (traceData) {
+ traceData->setData(memData);
+ }
} else {
%(fault_status_set_code)s;
if (firstFault) {
@@ -572,7 +574,9 @@ def template SveGatherLoadMicroopExecute {{
fault = NoFault;
memData = 0;
%(memacc_code)s;
- %(op_wb)s;
+ if (traceData) {
+ traceData->setData(memData);
+ }
}
}
}
@@ -638,7 +642,9 @@ def template SveGatherLoadMicroopCompleteAcc {{
}
%(memacc_code)s;
- %(op_wb)s;
+ if (traceData) {
+ traceData->setData(memData);
+ }
return NoFault;
}