X86: Ensure that the decoder's internal ExtMachInst is completely initialized.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 4 Jun 2012 17:43:08 +0000 (10:43 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 4 Jun 2012 17:43:08 +0000 (10:43 -0700)
commit7b73c36f5d52073025223dcdaca749758d274d52
tree29df9a23dbdce330f2bc53eecd3f8907258906b7
parent0d329407116921cd9aed6f02da551cc5a8ec5131
X86: Ensure that the decoder's internal ExtMachInst is completely initialized.

There are some bits of some fields of the ExtMachInst which are not actually
used for anything but are included in the hash of an ExtMachInst for
simplicity and efficiency. This change makes sure the decoder's internal
working ExtMachInst is completely initialized, even these unused bits, so that
there isn't any nondeterministic behavior, no valgrind messages about
uninitialized variables, and no potential false misses/redundant entries in
the decode cache.
src/arch/x86/decoder.hh