From dcd5ca640273a80e0e1a49397060a3e92c4e224d Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Tue, 28 Apr 2020 18:12:20 +0100 Subject: [PATCH] arch-arm: Decode SEVL instruction for A32 and T32 IS The instruction had been defined but it was not used for AArch32 Change-Id: I2bb106e98647eaa1f4c71fffb541e76ac1688674 Signed-off-by: Giacomo Travaglini Reviewed-by: Ciro Santilli Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28450 Tested-by: kokoro --- src/arch/arm/isa/formats/branch.isa | 5 ++--- src/arch/arm/isa/formats/data.isa | 7 ++++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/arch/arm/isa/formats/branch.isa b/src/arch/arm/isa/formats/branch.isa index b7360fc94..7c726ef2b 100644 --- a/src/arch/arm/isa/formats/branch.isa +++ b/src/arch/arm/isa/formats/branch.isa @@ -1,6 +1,6 @@ // -*- mode:c++ -*- -// Copyright (c) 2010,2012-2013,2017-2018 ARM Limited +// Copyright (c) 2010,2012-2013,2017-2018, 2020 ARM Limited // All rights reserved // // The license below extends only to copyright in the software and shall @@ -187,8 +187,7 @@ def format Thumb32BranchesAndMiscCtrl() {{ case 0x4: return new SevInst(machInst); case 0x5: - return new WarnUnimplemented( - "sevl", machInst); + return new SevlInst(machInst); } break; case 0x1: diff --git a/src/arch/arm/isa/formats/data.isa b/src/arch/arm/isa/formats/data.isa index a927f2b2d..b742951df 100644 --- a/src/arch/arm/isa/formats/data.isa +++ b/src/arch/arm/isa/formats/data.isa @@ -1,4 +1,4 @@ -// Copyright (c) 2010,2017-2018 ARM Limited +// Copyright (c) 2010,2017-2018, 2020 ARM Limited // All rights reserved // // The license below extends only to copyright in the software and shall @@ -1136,8 +1136,7 @@ def format ArmMisc() {{ case 0x4: return new SevInst(machInst); case 0x5: - return new WarnUnimplemented( - "sevl", machInst); + return new SevlInst(machInst); case 0x10: return new WarnUnimplemented( "esb", machInst); @@ -1283,6 +1282,8 @@ def format Thumb16Misc() {{ return new WfiInst(machInst); case 0x4: return new SevInst(machInst); + case 0x5: + return new SevlInst(machInst); default: return new WarnUnimplemented("unallocated_hint", machInst); } -- 2.30.2