target-arm: UNDEF on a VCVTT/VCVTB UNPREDICTABLE to avoid TCG assert
commit6e0c0ed185227c301f643281220603fcaf217b31
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Jul 2011 00:51:20 +0000 (22 00:51 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Jul 2011 14:30:54 +0000 (26 14:30 +0000)
tree44174a08d62f7f258c766b03ee9f28c6ac2e9ac1
parent934814f1984346af3e95306648cf20195269b098
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