{
EA = xc->getEA();
- if (fault == NoFault) {
- %(postacc_code)s;
- }
-
if (fault == NoFault) {
fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA,
memAccessFlags, NULL);
if (traceData) { traceData->setData(Mem); }
}
- if (fault == NoFault) {
- %(postacc_code)s;
- }
-
if (fault == NoFault) {
%(op_wb)s;
}
if (traceData) { traceData->setData(Mem); }
}
- if (fault == NoFault) {
- %(postacc_code)s;
- }
-
if (fault == NoFault) {
%(op_wb)s;
}
if (arm_predicate(xc->readMiscReg(ArmISA::CPSR), condCode))
{
- if (fault == NoFault) {
- %(postacc_code)s;
- }
-
if (fault == NoFault) {
%(op_wb)s;
}
if (arm_predicate(xc->readMiscReg(ArmISA::CPSR), condCode))
{
- if (fault == NoFault) {
- %(postacc_code)s;
- }
-
if (fault == NoFault) {
%(op_wb)s;
}
return new_code
def LoadStoreBase(name, Name, ea_code, memacc_code, mem_flags, inst_flags,
- postacc_code = '', base_class = 'Memory',
+ base_class = 'Memory',
decode_template = BasicDecode, exec_template_base = ''):
# Make sure flags are in lists (convert to lists if not).
mem_flags = makeList(mem_flags)
# they differ only in the set of code objects contained (which in
# turn affects the object's overall operand list).
iop = InstObjParams(name, Name, base_class,
- { 'ea_code':ea_code, 'memacc_code':memacc_code, 'postacc_code':postacc_code },
+ { 'ea_code':ea_code, 'memacc_code':memacc_code},
inst_flags)
ea_iop = InstObjParams(name, Name, base_class,
{ 'ea_code':ea_code },
inst_flags)
memacc_iop = InstObjParams(name, Name, base_class,
- { 'memacc_code':memacc_code, 'postacc_code':postacc_code },
+ { 'memacc_code':memacc_code},
inst_flags)
if mem_flags: