arch-arm: Instruction size methods in StaticInst class
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 15 Dec 2017 10:03:19 +0000 (10:03 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 19 Dec 2017 16:43:45 +0000 (16:43 +0000)
commit1e05c299820e1e795ba1bb090ec823db90833ec7
treee5986dc18dc2413a1b42d981960f3f184d48bacd
parent50749b849647f132868d5022f7523530d6c711a3
arch-arm: Instruction size methods in StaticInst class

This patch is introducing some methods in StaticInst so that is possible
to get the instruction size in byte of the instruction (can be 2 bytes
in Thumb) and the correct opcode (The machInst field contains some
appended metadata)

Change-Id: I3bed4d9fd7c77feaeded40ded192afe445d306ea
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/6781
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/insts/static_inst.hh