summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2018-02-08 18:18:16 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2018-02-16 09:25:14 +0000
commita30b0e39efaf14ba8b13cff1ada495d68a2ac01e (patch)
tree24e6d9afa72746ffbe08ae81ae74995c316d0f2a /src
parentb78f216c157c763c208d390b609f0cf70bb45576 (diff)
downloadgem5-a30b0e39efaf14ba8b13cff1ada495d68a2ac01e.tar.xz
arch-arm: Decode Brk64 instructions
The brk instruction in aarch64 was decoded as an unimplemented instruction. Fix that. Change-Id: I3eb36a016ab56d882426c5cdef3a0b594de0f9cd Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jack Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/8142 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Diffstat (limited to 'src')
-rw-r--r--src/arch/arm/isa/formats/aarch64.isa2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/isa/formats/aarch64.isa b/src/arch/arm/isa/formats/aarch64.isa
index 0179f2f1f..0cb8e9c66 100644
--- a/src/arch/arm/isa/formats/aarch64.isa
+++ b/src/arch/arm/isa/formats/aarch64.isa
@@ -254,7 +254,7 @@ namespace Aarch64
case 0x03:
return new Smc64(machInst);
case 0x04:
- return new FailUnimplemented("brk", machInst);
+ return new Brk64(machInst);
case 0x08:
return new FailUnimplemented("hlt", machInst);
case 0x15: