Review Board 2.0.15


x86: fix issue with casting in Cvtf2i

Review Request #3721 - Created Nov. 17, 2016 and submitted - Latest diff uploaded

Information
Tony Gutierrez
gem5
default
Reviewers
Default
Changeset 11892:35849c921444
---------------------------
x86: fix issue with casting in Cvtf2i

UBSAN flags this operation because it detects that arg is being cast directly
to an unsigned type, argBits. this patch fixes this by first casting the
value to a signed int type, then reintrepreting the raw bits of the signed
int into argBits.