From 0bbd88eb40e553deaabd6fbc935a596125701a86 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 14 Sep 2010 12:27:30 -0700 Subject: X86: Make unrecognized instructions behave better in x86. --- src/arch/x86/isa/formats/unknown.isa | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/arch/x86/isa') diff --git a/src/arch/x86/isa/formats/unknown.isa b/src/arch/x86/isa/formats/unknown.isa index 9b283b5d7..11751e861 100644 --- a/src/arch/x86/isa/formats/unknown.isa +++ b/src/arch/x86/isa/formats/unknown.isa @@ -77,8 +77,7 @@ output exec {{ Fault Unknown::execute(%(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const { - warn("No instructions are implemented for X86!\n"); - return NoFault; + return new InvalidOpcode(); } }}; -- cgit v1.2.3