ARM: Fix bug in MicroLdrNeon templates for initiateAcc().
This commit is contained in:
parent
16fcad3907
commit
f926fa7711
1 changed files with 6 additions and 2 deletions
|
@ -455,14 +455,18 @@ def template NeonLoadInitiateAcc {{
|
||||||
Addr EA;
|
Addr EA;
|
||||||
Fault fault = NoFault;
|
Fault fault = NoFault;
|
||||||
|
|
||||||
%(op_src_decl)s;
|
%(op_decl)s;
|
||||||
|
%(mem_decl)s;
|
||||||
%(op_rd)s;
|
%(op_rd)s;
|
||||||
%(ea_code)s;
|
%(ea_code)s;
|
||||||
|
|
||||||
|
MemUnion memUnion;
|
||||||
|
uint8_t *dataPtr = memUnion.bytes;
|
||||||
|
|
||||||
if (%(predicate_test)s)
|
if (%(predicate_test)s)
|
||||||
{
|
{
|
||||||
if (fault == NoFault) {
|
if (fault == NoFault) {
|
||||||
fault = xc->readBytes(EA, NULL, %(size)d, memAccessFlags);
|
fault = xc->readBytes(EA, dataPtr, %(size)d, memAccessFlags);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
xc->setPredicate(false);
|
xc->setPredicate(false);
|
||||||
|
|
Loading…
Reference in a new issue