arm: treat aarch64 hints as NOPs instead of panic
authorCiro Santilli <ciro.santilli@arm.com>
Thu, 11 Oct 2018 00:00:00 +0000 (00:00 +0000)
committerCiro Santilli <ciro.santilli@arm.com>
Fri, 19 Oct 2018 15:11:33 +0000 (15:11 +0000)
Change-Id: Ida2a746e6188171bd2e4da92a4efb33fcbaa2b69
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/13476
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>

src/arch/arm/isa/formats/aarch64.isa

index cd106abd4bd030a5328e0438565af5eaa7e005d9..26c65ec8f6b2fe71fbcf3f3bf0b107f1b30e2077 100644 (file)
@@ -369,7 +369,8 @@ namespace Aarch64
                             }
                             break;
                         }
-                        return new Unknown64(machInst);
+                        return new WarnUnimplemented(
+                                "unallocated_hint", machInst);
                     } else if (crn == 0x3 && op1 == 0x3) {
                         switch (op2) {
                           case 0x2: