Skip to content

Commit

Permalink
cpu-o3: changge store misaligned warn to DPRINTF
Browse files Browse the repository at this point in the history
many warning of Store misaligned because of Error path

Change-Id: I6dc10ec27b5ed15178d0f1442895e50a883e56b1
  • Loading branch information
jueshiwenli committed Jan 21, 2025
1 parent fa6ff8d commit 7c59164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpu/o3/lsq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ LSQ::pushRequest(const DynInstPtr& inst, bool isLoad, uint8_t *data,
inst->effSize = size;

if (!isLoad && !inst->isVector() && size > 1 && addr % size != 0) {
warn( "Store misaligned: size: %u, Addr: %#lx, code: %d\n", size,
DPRINTF(LSQ, "Store misaligned: size: %u, Addr: %#lx, code: %d\n", size,
addr, RiscvISA::ExceptionCode::STORE_ADDR_MISALIGNED);
return std::make_shared<RiscvISA::AddressFault>(request->mainReq()->getVaddr(),
request->mainReq()->getgPaddr(),
Expand Down

0 comments on commit 7c59164

Please sign in to comment.