target/arm: Merge helper_sve_clr_* and helper_sve_movz_*
commit602459969c3b5a96ac970bd4698f60e6edb23bb0
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 28 Aug 2020 09:02:48 +0000 (28 10:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Aug 2020 09:02:48 +0000 (28 10:02 +0100)
treee31482a1a846d123abe4c38a33599db77bf2bce8
parent36cbb7a8e7100864c488a1153cecba90b1c33a4c
target/arm: Merge helper_sve_clr_* and helper_sve_movz_*

The existing clr functions have only one vector argument, and so
can only clear in place.  The existing movz functions have two
vector arguments, and so can clear while moving.  Merge them, with
a flag that controls the sense of active vs inactive elements
being cleared.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200815013145.539409-10-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper-sve.h
target/arm/sve_helper.c
target/arm/translate-sve.c