Review Board 2.0.15


hsail: fix unsigned offset bug in address calculation

Review Request #3691 - Created Oct. 31, 2016 and submitted

Information
Tony Gutierrez
gem5
default
Reviewers
Default
Changeset 11880:38d5aefff9bd
---------------------------
hsail: fix unsigned offset bug in address calculation

it's possible for the offset provided to an HSAIL mem inst to be a negative
value, however the variable we use to hold the offset is an unsigned type.
this can lead to excessively large offset values when the offset is negative,
which will almost certainly cause the access to go out of bounds.

   
Review request changed
Updated (Dec. 2, 2016, 8:41 a.m.)

Status: Closed (submitted)