X86: Use the M5PanicFault fault in execute methods instead of calling panic.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 26 Feb 2012 23:32:53 +0000 (15:32 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 26 Feb 2012 23:32:53 +0000 (15:32 -0800)
commit559b43a372f966046e23d0183a5f714214febe0a
treef36082149c48f939a9986c5da4a8ee8caeda76c9
parent0cd0a8fdd3dc1e329673e2c034e67c2694a6908e
X86: Use the M5PanicFault fault in execute methods instead of calling panic.

If an instruction is executed speculatively and hits a situation where it
wants to panic, it should return a fault instead. If the instruction was
misspeculated, the fault can be thrown away. If the instruction wasn't
misspeculated, the fault will be invoked and the panic will still happen.
src/arch/x86/isa/includes.isa
src/arch/x86/isa/microops/regop.isa