diff options
author | Gabe Black <gabeblack@google.com> | 2018-10-12 23:05:40 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-11-06 01:06:05 +0000 |
commit | 223840f0b4b99036f8706f531d20a2ccc8fd8bf4 (patch) | |
tree | 724fd32ce827917773c0e1e48a2aab526d0a5d2a /ext/mcpat/cacheunit.h | |
parent | 0167f66c130ada7a49d59d1ef4644d282cd146dc (diff) | |
download | gem5-223840f0b4b99036f8706f531d20a2ccc8fd8bf4.tar.xz |
mips: Clean up type overrides for operands.
For operands which default to uw (uint32_t), there's no reason to
explicitly specify that all over the place. Also, when assigning to a
32 bit value which is supposed to be the full width of the resulting
register, there's no reason to override the value to be signed. If the
value is expanded into a larger value, then extra bits may get set
unintentionally through sign extension. Even if an instruction
produces a value which should be interpreted as signed, it will still
only produce a value of a certain predefined width, even if that answer
ends up stored in a larger variable.
Change-Id: I048d68c5dd08a1d40e8117ae9d36d70e05ec21c8
Reviewed-on: https://gem5-review.googlesource.com/c/13618
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'ext/mcpat/cacheunit.h')
0 files changed, 0 insertions, 0 deletions