arch-arm: Fix StaticInst encoding() method
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 19 Dec 2017 18:15:32 +0000 (18:15 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 21 Dec 2017 13:23:51 +0000 (13:23 +0000)
commitf9d6cf7eff123724a31e95195abcabc560481dda
tree7e717276e8fe14cde5dc9bd2a44a279cb7a7fa1d
parentde437514d0bed8ebbe20fc290ee3b5924fda286b
arch-arm: Fix StaticInst encoding() method

The previously introduced method was missing the machInst value
to be masked.

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