From: Giacomo Travaglini Date: Wed, 1 Nov 2017 15:33:06 +0000 (+0000) Subject: arch-arm: Corrected encoding for T32 HVC instruction X-Git-Tag: v19.0.0.0~2571 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2bc7810cfc4feba7bd320cc65c78a3351dff5e3f;p=gem5.git arch-arm: Corrected encoding for T32 HVC instruction This patch corrects the encoding of the HVC (Hypervisor Call) for the T32 instruction set. Change-Id: I6f77eaf5c586697e9ccd588419c61e6d90c6c7bf Signed-off-by: Giacomo Travaglini Reviewed-by: Chuan Zhu Reviewed-on: https://gem5-review.googlesource.com/5541 Maintainer: Andreas Sandberg Reviewed-by: Jason Lowe-Power --- diff --git a/src/arch/arm/isa/formats/branch.isa b/src/arch/arm/isa/formats/branch.isa index 513506d31..df85b08a7 100644 --- a/src/arch/arm/isa/formats/branch.isa +++ b/src/arch/arm/isa/formats/branch.isa @@ -1,6 +1,6 @@ // -*- mode:c++ -*- -// Copyright (c) 2010, 2012-2013 ARM Limited +// Copyright (c) 2010,2012-2013,2017 ARM Limited // All rights reserved // // The license below extends only to copyright in the software and shall @@ -247,7 +247,7 @@ def format Thumb32BranchesAndMiscCtrl() {{ } } } - case 0xfe: + case 0x7e: { uint32_t imm16 = (bits(machInst, 19, 16) << 12) | (bits(machInst, 11, 0) << 0);