OSDN Git Service

target/arm: Implement MVE VCVT with specified rounding mode
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Sep 2021 08:02:38 +0000 (09:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Sep 2021 10:08:17 +0000 (11:08 +0100)
commit53fc5f61394927101416dc618480967dc7cd2171
treeb19ce64ee05fb2f9a188631d040af6cbc414a7c6
parent2ec0dcf034b6954eb6d0b03ae83fba015e263c27
target/arm: Implement MVE VCVT with specified rounding mode

Implement the MVE VCVT which converts from floating-point to integer
using a rounding mode specified by the instruction.  We implement
this similarly to the Neon equivalents, by passing the required
rounding mode as an extra integer parameter to the helper functions.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/helper-mve.h
target/arm/mve.decode
target/arm/mve_helper.c
target/arm/translate-mve.c