projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16fcad3
)
ARM: Fix bug in MicroLdrNeon templates for initiateAcc().
author
Ali Saidi
<Ali.Saidi@ARM.com>
Mon, 4 Apr 2011 16:42:28 +0000
(11:42 -0500)
committer
Ali Saidi
<Ali.Saidi@ARM.com>
Mon, 4 Apr 2011 16:42:28 +0000
(11:42 -0500)
src/arch/arm/isa/templates/mem.isa
patch
|
blob
|
history
diff --git
a/src/arch/arm/isa/templates/mem.isa
b/src/arch/arm/isa/templates/mem.isa
index 43a7422427338c6921b76c5bdacf83d1f8360863..cb255feda77076d90d00707b16edffc0b85ae8b4 100644
(file)
--- a/
src/arch/arm/isa/templates/mem.isa
+++ b/
src/arch/arm/isa/templates/mem.isa
@@
-455,14
+455,18
@@
def template NeonLoadInitiateAcc {{
Addr EA;
Fault fault = NoFault;
- %(op_src_decl)s;
+ %(op_decl)s;
+ %(mem_decl)s;
%(op_rd)s;
%(ea_code)s;
+ MemUnion memUnion;
+ uint8_t *dataPtr = memUnion.bytes;
+
if (%(predicate_test)s)
{
if (fault == NoFault) {
- fault = xc->readBytes(EA,
NULL
, %(size)d, memAccessFlags);
+ fault = xc->readBytes(EA,
dataPtr
, %(size)d, memAccessFlags);
}
} else {
xc->setPredicate(false);