arch-arm: Decode SEVL instruction for A32 and T32 IS
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 28 Apr 2020 17:12:20 +0000 (18:12 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 4 May 2020 08:03:45 +0000 (08:03 +0000)
The instruction had been defined but it was not used for AArch32

Change-Id: I2bb106e98647eaa1f4c71fffb541e76ac1688674
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28450
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/isa/formats/branch.isa
src/arch/arm/isa/formats/data.isa

index b7360fc94a2ea8fb02f5cb06f8e4dc91c29e60b7..7c726ef2b23b5b13fc7f56524a4ff40c946ef080 100644 (file)
@@ -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:
index a927f2b2d24a3d8def7844c149a5d3da0170f319..b742951df4dd469ba7216b3f66f150325e8f84b5 100644 (file)
@@ -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);
             }