mem.isa (8205:7ecbffb674aa) mem.isa (8207:cad97f04eb91)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

--- 441 unchanged lines hidden (view full) ---

450def template NeonLoadInitiateAcc {{
451 template <class Element>
452 Fault %(class_name)s<Element>::initiateAcc(
453 %(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const
454 {
455 Addr EA;
456 Fault fault = NoFault;
457
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

--- 441 unchanged lines hidden (view full) ---

450def template NeonLoadInitiateAcc {{
451 template <class Element>
452 Fault %(class_name)s<Element>::initiateAcc(
453 %(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const
454 {
455 Addr EA;
456 Fault fault = NoFault;
457
458 %(op_src_decl)s;
458 %(op_decl)s;
459 %(mem_decl)s;
459 %(op_rd)s;
460 %(ea_code)s;
461
460 %(op_rd)s;
461 %(ea_code)s;
462
463 MemUnion memUnion;
464 uint8_t *dataPtr = memUnion.bytes;
465
462 if (%(predicate_test)s)
463 {
464 if (fault == NoFault) {
466 if (%(predicate_test)s)
467 {
468 if (fault == NoFault) {
465 fault = xc->readBytes(EA, NULL, %(size)d, memAccessFlags);
469 fault = xc->readBytes(EA, dataPtr, %(size)d, memAccessFlags);
466 }
467 } else {
468 xc->setPredicate(false);
469 }
470
471 return fault;
472 }
473}};

--- 726 unchanged lines hidden ---
470 }
471 } else {
472 xc->setPredicate(false);
473 }
474
475 return fault;
476 }
477}};

--- 726 unchanged lines hidden ---