target-arm: UNDEF on a VCVTT/VCVTB UNPREDICTABLE to avoid TCG assert
commit7ec7f28019dff4ab00ff907f7b4e7261da593279
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Jul 2011 00:51:20 +0000 (22 00:51 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 27 Jul 2011 09:29:22 +0000 (27 09:29 +0000)
tree2b6bdcd9ffcf1010bc33e6ec8139a262635c2f19
parent31b13080462de35343e0b3eca868e7868fcb78f7
target-arm: UNDEF on a VCVTT/VCVTB UNPREDICTABLE to avoid TCG assert

VCVTT/VCVTB with bit 8 set is UNPREDICTABLE; we choose to UNDEF.
This avoids a TCG assert later when the VCVTT/VCVTB code tries to
use a source register that wasn't ever set up.

We pull the check for the presence of the half-precision extension
up in to this common code as well.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/translate.c