diff options
author | Gabe Black <gabeblack@google.com> | 2018-03-27 00:26:58 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-03-27 10:57:36 +0000 |
commit | 197ae7aca7a911fb06c8e96beddfb6c5712b5561 (patch) | |
tree | 44f3890c10787feda841f062a1c5f0abf93148a8 /src/sim/syscall_debug_macros.hh | |
parent | 979b30ec8b5d589eee4c17209733daaad75962dd (diff) | |
download | gem5-197ae7aca7a911fb06c8e96beddfb6c5712b5561.tar.xz |
cpu: Stop extracting inst_flags from the machInst.
The instruction representation is already encoded in the trace
protobuf, so there's no reason to encode a part of it again. This is
especially true since this supposedly generic code is extracting the
first 8 bits of the machInst, a totally arbitrary set of bits for most
ISAs. If certain bits within a machine instruction are actually
relevant, the consumer of the trace should be able to interpret the
instruction bytes which are already there and extract the same bits
within the context of whatever ISA they're appropriate for.
Change-Id: Idaebe6a110d7d4812c3d7c434582d5a9470bcec1
Reviewed-on: https://gem5-review.googlesource.com/9401
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/sim/syscall_debug_macros.hh')
0 files changed, 0 insertions, 0 deletions