From: Gabe Black Date: Wed, 2 Jun 2010 17:58:05 +0000 (-0500) Subject: ARM: Hook SVC into the thumb decoder. X-Git-Tag: stable_2012_02_02~1293 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a76ab8e040c6582a1d60a8c70e90ce757b347485;p=gem5.git ARM: Hook SVC into the thumb decoder. --- diff --git a/src/arch/arm/isa/formats/branch.isa b/src/arch/arm/isa/formats/branch.isa index 45464018e..e03fbfda3 100644 --- a/src/arch/arm/isa/formats/branch.isa +++ b/src/arch/arm/isa/formats/branch.isa @@ -91,7 +91,7 @@ def format Thumb16CondBranchAndSvc() {{ return new B(machInst, sext<9>(bits(machInst, 7, 0) << 1), (ConditionCode)(uint32_t)bits(machInst, 11, 8)); } else if (bits(machInst, 8)) { - return new WarnUnimplemented("svc", machInst); + return new Svc(machInst); } else { // This space will not be allocated in the future. return new WarnUnimplemented("unimplemented", machInst);