target-arm: Implement ARMv8 MVFR registers
commita50c0f51339ed1df0a2e289513e3e2bf5b5ca45c
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Apr 2014 18:18:44 +0000 (15 19:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Apr 2014 20:34:04 +0000 (17 21:34 +0100)
tree21ccde90de2f8ff2c25e6c3fd617da9233b9ca88
parent52e60cdd342dc48116edb81b443ba8c0a0c6f1a3
target-arm: Implement ARMv8 MVFR registers

For ARMv8 there are two changes to the MVFR media feature registers:
 * there is a new MVFR2 which is accessible from 32 bit code
 * 64 bit code accesses these via the usual sysreg instructions
   rather than with a floating-point specific instruction

Implement this.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
target-arm/cpu-qom.h
target-arm/cpu.c
target-arm/cpu.h
target-arm/helper.c
target-arm/translate.c