target/arm: Share table of sve load functions
commitc182c6dbd141e7d3e43f75e21630863a291acb89
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 25 May 2021 01:03:42 +0000 (24 18:03 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 25 May 2021 15:01:44 +0000 (25 16:01 +0100)
tree47310b3a7578627ce9939f136bbd31605d703cc2
parent631be02e29ad47eae4ad23c55e4e5631146151d9
target/arm: Share table of sve load functions

The table used by do_ldrq is a subset of the table used by do_ld_zpa;
we can share them by passing dtype instead of msz to do_ldrq.

The lack of MTE handling in do_ldrq was a bug, fixed by this change.

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