On 6/28/21 6:58 AM, Peter Maydell wrote:
The function asimd_imm_const() in translate-neon.c is an
implementation of the pseudocode AdvSIMDExpandImm(), which we will
also want for MVE. Move the implementation to translate.c, with a
prototype in translate.h.
Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
target/arm/translate.h | 16 ++++++++++
target/arm/translate-neon.c | 63 -------------------------------------
target/arm/translate.c | 57 +++++++++++++++++++++++++++++++++
3 files changed, 73 insertions(+), 63 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~