diff options
author | Peter Maydell | 2021-06-14 17:09:23 +0200 |
---|---|---|
committer | Peter Maydell | 2021-06-16 15:33:52 +0200 |
commit | 77f96148f3f6c4106a2a3cee8146690f954fd6cd (patch) | |
tree | fe1fc1a39ff7185e71cb8a7305f7dd4793eedd0a /target/arm/vec_internal.h | |
parent | target/arm: Add framework for MVE decode (diff) | |
download | qemu-77f96148f3f6c4106a2a3cee8146690f954fd6cd.tar.gz qemu-77f96148f3f6c4106a2a3cee8146690f954fd6cd.tar.xz qemu-77f96148f3f6c4106a2a3cee8146690f954fd6cd.zip |
target/arm: Move expand_pred_b() data to vec_helper.c
For MVE, we want to re-use the large data table from expand_pred_b().
Move the data table to vec_helper.c so it is no longer in an SVE
specific source file.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210614151007.4545-14-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/vec_internal.h')
-rw-r--r-- | target/arm/vec_internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/arm/vec_internal.h b/target/arm/vec_internal.h index 613f3421b9..865d213944 100644 --- a/target/arm/vec_internal.h +++ b/target/arm/vec_internal.h @@ -50,6 +50,9 @@ #define H8(x) (x) #define H1_8(x) (x) +/* Data for expanding active predicate bits to bytes, for byte elements. */ +extern const uint64_t expand_pred_b_data[256]; + static inline void clear_tail(void *vd, uintptr_t opr_sz, uintptr_t max_sz) { uint64_t *d = vd + opr_sz; |