X86: When decoding a memory only inst, fault on reg encodings, don't assert.
authorGabe Black <gblack@eecs.umich.edu>
Sat, 23 Apr 2011 22:02:29 +0000 (15:02 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Sat, 23 Apr 2011 22:02:29 +0000 (15:02 -0700)
commit0554885eb941d547eca3400566fb9636599c1b39
tree5d07fc88aa26b6e6868f0b6830bea7308a20ec46
parenta7e27f9a82300f213b268264e1dede222d26bd4d
X86: When decoding a memory only inst, fault on reg encodings, don't assert.

This change makes the decoder figure out if an instruction that only supports
memory is using a register encoding and decodes directly to "Unknown" which will
behave appropriately. This prevents other parts of the instruction creation
process from seeing the mismatch and asserting.
src/arch/x86/isa/specialize.isa