diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-04-16 11:31:02 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-04-30 11:16:49 +0100 |
commit | 28f3250306e52ae94df9faab93b9d0167fe6b587 (patch) | |
tree | 1d1c656f826d02a34006350aab96edb8b7790402 /target/arm/helper.h | |
parent | 09641ef93112c45bc32cf86a4999d0e0532909c3 (diff) | |
download | qemu-28f3250306e52ae94df9faab93b9d0167fe6b587.zip |
target/arm: Replace MTEDESC ESIZE+TSIZE with SIZEM1
After recent changes, mte_checkN does not use ESIZE,
and mte_check1 never used TSIZE. We can combine the
two into a single field: SIZEM1.
Choose to pass size - 1 because size == 0 is never used,
our immediate need in mte_probe_int is for the address
of the last byte (ptr + size - 1), and since almost all
operations are powers of 2, this makes the immediate
constant one bit smaller.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210416183106.1516563-6-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/helper.h')
0 files changed, 0 insertions, 0 deletions