arch-arm: Add missing fall-through defaults
authorJavier Setoain <javier.setoain@arm.com>
Thu, 14 Mar 2019 18:06:05 +0000 (18:06 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 25 Mar 2019 09:40:46 +0000 (09:40 +0000)
Change-Id: Ie64b83d754c4719a77c7788879be71304a9b786e
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17289
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andrea Mondelli <Andrea.Mondelli@ucf.edu>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>

src/arch/arm/isa/formats/sve_2nd_level.isa
src/arch/arm/isa/formats/sve_top_level.isa

index 3c5e01c6bab5bab56f77e4af991105e65f8688ff..ff7e50ee5d98534356b5c98f715f4eb98be0e46e 100644 (file)
@@ -118,6 +118,7 @@ namespace Aarch64
                         return new Unknown64(machInst);
                     }
                 }
+                break;
             }
           case 0x3:
             {
@@ -532,6 +533,7 @@ namespace Aarch64
                             return new SveIndexII<int64_t>(machInst,
                                     zd, imm5, imm5b);
                     }
+                    break;
                 }
             case 1:
                 { // INDEX (scalar, immediate)
@@ -552,6 +554,7 @@ namespace Aarch64
                             return new SveIndexRI<int64_t>(machInst,
                                     zd, zn, imm5);
                     }
+                    break;
                 }
             case 2:
                 { // INDEX (immediate, scalar)
@@ -572,6 +575,7 @@ namespace Aarch64
                             return new SveIndexIR<int64_t>(machInst,
                                     zd, imm5, zm);
                     }
+                    break;
                 }
             case 3:
                 { // INDEX (scalars)
index f4f1ab531f154601eca930ab1548db4bb95dd71d..b8e1d468e97025045a34fd8e480442324a55a7a4 100644 (file)
@@ -128,6 +128,7 @@ namespace Aarch64
                         return decodeSveIntArithUnaryPred(machInst);
                     }
                 }
+                break;
             }
           case 0x1:
             {
@@ -166,6 +167,7 @@ namespace Aarch64
                   case 0x3:
                     return decodeSveElemCount(machInst);
                 }
+                break;
             }
           case 0x2:
             if (bits(machInst, 20)) {
@@ -195,6 +197,7 @@ namespace Aarch64
                   case 0x3:
                     return decodeSveSelVec(machInst);
                 }
+                break;
             }
           case 0x4:
             return decodeSveIntCmpVec(machInst);
@@ -279,6 +282,7 @@ namespace Aarch64
                               case 0x3:
                                   return decodeSveFpAccumReduc(machInst);
                             }
+                            break;
                         }
                       case 0x2:
                         return decodeSveFpArithPred(machInst);
@@ -286,6 +290,7 @@ namespace Aarch64
                         return decodeSveFpUnaryPred(machInst);
                     }
                 }
+                break;
             }
           case 0x3:
             return decodeSveFpFusedMulAdd(machInst);