From 2bc7810cfc4feba7bd320cc65c78a3351dff5e3f Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Wed, 1 Nov 2017 15:33:06 +0000 Subject: 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 --- src/arch/arm/isa/formats/branch.isa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch') 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); -- cgit v1.2.3