target-arm: A64: Add 1-source 32-to-32 and 64-to-64 FP instructions
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Jan 2014 17:19:14 +0000 (17:19 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Jan 2014 19:18:08 +0000 (19:18 +0000)
commite97db91cbf7df456a35996d7243cd0f55d23ca1a
treea99937a48c1adc091d81fe40d66c16fd746eeb39
parent6a7413385d731a97cbd45c7c4b1c2cbd73d94409
target-arm: A64: Add 1-source 32-to-32 and 64-to-64 FP instructions

This patch adds support for those instructions in the  "Floating-point
data-processing (1 source)" group which are simple 32-bit-to-32-bit
or 64-bit-to-64-bit operations (ie everything except FCVT between
single/double/half precision).

We put the new round-to-int helpers in helper.c because they will
also be used by the new ARMv8 A32/T32 rounding instructions.

Signed-off-by: Alexander Graf <agraf@suse.de>
[WN: Commit message tweak, merged single and double precision patches,
 updated to new infrastructure.]
Signed-off-by: Will Newton <will.newton@linaro.org>
[PMM: reworked decode, split FCVT out into their own patch]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target-arm/helper.c
target-arm/helper.h
target-arm/translate-a64.c