target/arm: Create gen_gvec_{sri,sli}
commit893ab0542aa385a287cbe46d5535c8b9e95ce699
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 13 May 2020 16:32:32 +0000 (13 09:32 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 May 2020 14:03:08 +0000 (14 15:03 +0100)
treefa8aa2c2040cf871c523042e51079002d3e7e046
parent6ccd48d4ea244c1c46a24dfa50bfb547f11422dd
target/arm: Create gen_gvec_{sri,sli}

The functions eliminate duplication of the special cases for
this operation.  They match up with the GVecGen2iFn typedef.

Add out-of-line helpers.  We got away with only having inline
expanders because the neon vector size is only 16 bytes, and
we know that the inline expansion will always succeed.
When we reuse this for SVE, tcg-gvec-op may decide to use an
out-of-line helper due to longer vector lengths.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200513163245.17915-4-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.h
target/arm/translate-a64.c
target/arm/translate.c
target/arm/translate.h
target/arm/vec_helper.c