summaryrefslogtreecommitdiff
path: root/util/statetrace/arch/tracechild_amd64.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-05-02 00:39:29 -0700
committerGabe Black <gblack@eecs.umich.edu>2010-05-02 00:39:29 -0700
commit51a3d65e259fc30662ecfdac9bf7ca0068fa7da6 (patch)
tree0e209989d9e24aad2a49250db71ad2c127e6a3b4 /util/statetrace/arch/tracechild_amd64.cc
parent90820ddf022aab7820297318555402b4bc41ed04 (diff)
downloadgem5-51a3d65e259fc30662ecfdac9bf7ca0068fa7da6.tar.xz
X86: Finally fix a division corner case.
When doing an unsigned 64 bit division with a divisor that has its most significant bit set, the division code would spill a bit off of the end of a uint64_t trying to shift the dividend into position. This change adds code that handles that case specially by purposefully letting it spill and then going ahead assuming there was a 65th one bit.
Diffstat (limited to 'util/statetrace/arch/tracechild_amd64.cc')
0 files changed, 0 insertions, 0 deletions