From: Gabe Black Date: Wed, 2 Jun 2010 17:58:17 +0000 (-0500) Subject: ARM: Hook the misc instructions into the thumb decoder. X-Git-Tag: stable_2012_02_02~1074 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e91e6ff9a46ecee70c924e3548c3fa191e83099d;p=gem5.git ARM: Hook the misc instructions into the thumb decoder. --- diff --git a/src/arch/arm/isa/formats/branch.isa b/src/arch/arm/isa/formats/branch.isa index 055955520..e47665266 100644 --- a/src/arch/arm/isa/formats/branch.isa +++ b/src/arch/arm/isa/formats/branch.isa @@ -172,13 +172,13 @@ def format Thumb32BranchesAndMiscCtrl() {{ case 0x0: return new NopInst(machInst); case 0x1: - return new WarnUnimplemented("yield", machInst); + return new YieldInst(machInst); case 0x2: - return new WarnUnimplemented("wfe", machInst); + return new WfeInst(machInst); case 0x3: - return new WarnUnimplemented("wfi", machInst); + return new WfiInst(machInst); case 0x4: - return new WarnUnimplemented("sev", machInst); + return new SevInst(machInst); default: break; } diff --git a/src/arch/arm/isa/formats/data.isa b/src/arch/arm/isa/formats/data.isa index a567a92b4..b46fb972d 100644 --- a/src/arch/arm/isa/formats/data.isa +++ b/src/arch/arm/isa/formats/data.isa @@ -1225,13 +1225,13 @@ def format Thumb16Misc() {{ case 0x0: return new NopInst(machInst); case 0x1: - return new WarnUnimplemented("yield", machInst); + return new YieldInst(machInst); case 0x2: - return new WarnUnimplemented("wfe", machInst); + return new WfeInst(machInst); case 0x3: - return new WarnUnimplemented("wfi", machInst); + return new WfiInst(machInst); case 0x4: - return new WarnUnimplemented("sev", machInst); + return new SevInst(machInst); default: return new WarnUnimplemented("unallocated_hint", machInst); }