X86: On a bad microopc, return a microop that returns a fault that panics.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 14 Feb 2011 01:42:56 +0000 (17:42 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 14 Feb 2011 01:42:56 +0000 (17:42 -0800)
commit399e095510ff6bc469c45b1e5afa96567d757004
tree5c22de7797a5c304a86ddd8fb48dfdd69cfaeaf7
parent1aa9698fa00e8ffce9b8d3c90b3bd76c3c9e950e
X86: On a bad microopc, return a microop that returns a fault that panics.

This way a bad micropc will have to get all the way to commit before killing
the simulation. This accounts for misspeculated branches.
src/arch/x86/SConscript
src/arch/x86/insts/badmicroop.cc [new file with mode: 0644]
src/arch/x86/insts/badmicroop.hh [new file with mode: 0644]
src/arch/x86/insts/macroop.hh
src/arch/x86/microcode_rom.hh