Hanhwi Jang has uploaded a new patch set (#2). ( https://gem5-review.googlesource.com/7281 )

Change subject: cpu-o3: Fix signed overflow in PhysRegIndex
......................................................................

cpu-o3: Fix signed overflow in PhysRegIndex

PhysRegIndex is typed as signed short int.
Large number of registers make the index overflow and raises
physreg's out-of-range asssertion at Scoreboard::unset/setReg().
By changing the type to unsinged short int which RegIndex already
uses, we can mitigate the overflow issue without additional costs.

Change-Id: I1bddb3ae4c81580bf981e4a265f9bcfbfa76c4df
---
M src/cpu/o3/comm.hh
1 file changed, 1 insertion(+), 1 deletion(-)


--
To view, visit https://gem5-review.googlesource.com/7281
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1bddb3ae4c81580bf981e4a265f9bcfbfa76c4df
Gerrit-Change-Number: 7281
Gerrit-PatchSet: 2
Gerrit-Owner: Hanhwi Jang <jang.han...@gmail.com>
Gerrit-CC: Jason Lowe-Power <ja...@lowepower.com>
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to