diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2018-02-08 18:18:16 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2018-02-16 09:25:14 +0000 |
commit | a30b0e39efaf14ba8b13cff1ada495d68a2ac01e (patch) | |
tree | 24e6d9afa72746ffbe08ae81ae74995c316d0f2a | |
parent | b78f216c157c763c208d390b609f0cf70bb45576 (diff) | |
download | gem5-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>
-rw-r--r-- | src/arch/arm/isa/formats/aarch64.isa | 2 |
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: |