summaryrefslogtreecommitdiff
path: root/base/intmath.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-04-14 03:42:02 -0400
committerKorey Sewell <ksewell@umich.edu>2006-04-14 03:42:02 -0400
commit48f2626eaca40d4cf0b692f2ac8ec07eb5586516 (patch)
tree4dea41e402d5525ecf31763ee8633c9d5e92a16f /base/intmath.cc
parent200205aa8525822155fcbec2d321bbfa027a4721 (diff)
downloadgem5-48f2626eaca40d4cf0b692f2ac8ec07eb5586516.tar.xz
These fixes now allow all of the 20 mips tests to work properly!
Floating Point Mips Tests still need to be added, tested, and debugged. arch/mips/isa/decoder.isa: Fix mult and multu instructions. This semantic error causes the problem: <int64> = <int32> * <int32>. Although I was placing the output into a 64-bit integer the multiply was just doing a 32-bit multiply so the solution is to just use the 'sd' & 'ud' operands so that the ISA parser will use the int64_t and uint64_t types in calculation. arch/mips/isa/formats/int.isa: Trace output fix. Don't print first comma unless there is a destination register for sure! --HG-- extra : convert_revision : 2c503dca70b104fed0b58454975f745dd3cc2eee
Diffstat (limited to 'base/intmath.cc')
0 files changed, 0 insertions, 0 deletions