target/arm: Add Jazelle feature
commitc99a55d38dd5b5131f3fcbbaf41828a09ee62544
authorPortia Stephens <portia.stephens@xilinx.com>
Thu, 7 Sep 2017 12:54:55 +0000 (7 13:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 7 Sep 2017 12:54:55 +0000 (7 13:54 +0100)
tree711e7b4e65f11d6fe52f511ac078326f2ede67b2
parentc79c0a314c43b78f6326d5f137bdbafdbf8e9766
target/arm: Add Jazelle feature

This adds a feature bit indicating support of the (trivial) Jazelle
implementation if ARM_FEATURE_V6 is set or if the processor is arm926
or arm1026.  This fixes the issue that any BXJ instruction will
result in an illegal_op.  BXJ instructions will now check if the
architecture supports ARM_FEATURE_JAZELLE.

Signed-off-by: Portia Stephens <portia.stephens@xilinx.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 20170905211232.11092-1-portia.stephens@xilinx.com
[PMM: edited commit message and comment text a bit]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.c
target/arm/cpu.h
target/arm/translate.c