O3 CPU: Remove alignment check from dynamic instruction read/write functions.
--HG-- extra : convert_revision : e5d415b4bf79353ef3c9f4dc5af09ab4102c55fb
This commit is contained in:
parent
fcd04f953c
commit
80d51650c8
1 changed files with 0 additions and 12 deletions
|
@ -847,12 +847,6 @@ BaseDynInst<Impl>::read(Addr addr, T &data, unsigned flags)
|
|||
req->setVirt(asid, addr, sizeof(T), flags, this->PC);
|
||||
req->setThreadContext(thread->readCpuId(), threadNumber);
|
||||
|
||||
if ((req->getVaddr() & (TheISA::VMPageSize - 1)) + req->getSize() >
|
||||
TheISA::VMPageSize) {
|
||||
delete req;
|
||||
return TheISA::genAlignmentFault();
|
||||
}
|
||||
|
||||
fault = cpu->translateDataReadReq(req, thread);
|
||||
|
||||
if (req->isUncacheable())
|
||||
|
@ -909,12 +903,6 @@ BaseDynInst<Impl>::write(T data, Addr addr, unsigned flags, uint64_t *res)
|
|||
req->setVirt(asid, addr, sizeof(T), flags, this->PC);
|
||||
req->setThreadContext(thread->readCpuId(), threadNumber);
|
||||
|
||||
if ((req->getVaddr() & (TheISA::VMPageSize - 1)) + req->getSize() >
|
||||
TheISA::VMPageSize) {
|
||||
delete req;
|
||||
return TheISA::genAlignmentFault();
|
||||
}
|
||||
|
||||
fault = cpu->translateDataWriteReq(req, thread);
|
||||
|
||||
if (req->isUncacheable())
|
||||
|
|
Loading…
Reference in a new issue