summaryrefslogtreecommitdiffstats
path: root/target/arm/internals.h
diff options
context:
space:
mode:
authorRichard Henderson2021-04-16 20:31:03 +0200
committerPeter Maydell2021-04-30 12:16:49 +0200
commitbd47b61c5ebc8c5f696910644125a28115d3f6ea (patch)
tree6567e57233ccf349a547b19963bec3735ebce4c2 /target/arm/internals.h
parenttarget/arm: Replace MTEDESC ESIZE+TSIZE with SIZEM1 (diff)
downloadqemu-bd47b61c5ebc8c5f696910644125a28115d3f6ea.tar.gz
qemu-bd47b61c5ebc8c5f696910644125a28115d3f6ea.tar.xz
qemu-bd47b61c5ebc8c5f696910644125a28115d3f6ea.zip
target/arm: Merge mte_check1, mte_checkN
The mte_check1 and mte_checkN functions are now identical. Drop mte_check1 and rename mte_checkN to mte_check. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210416183106.1516563-7-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/internals.h')
-rw-r--r--target/arm/internals.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/target/arm/internals.h b/target/arm/internals.h
index 2c77f2d50f..af1db2cd9c 100644
--- a/target/arm/internals.h
+++ b/target/arm/internals.h
@@ -1146,10 +1146,7 @@ FIELD(MTEDESC, WRITE, 8, 1)
FIELD(MTEDESC, SIZEM1, 9, SIMD_DATA_BITS - 9) /* size - 1 */
bool mte_probe1(CPUARMState *env, uint32_t desc, uint64_t ptr);
-uint64_t mte_check1(CPUARMState *env, uint32_t desc,
- uint64_t ptr, uintptr_t ra);
-uint64_t mte_checkN(CPUARMState *env, uint32_t desc,
- uint64_t ptr, uintptr_t ra);
+uint64_t mte_check(CPUARMState *env, uint32_t desc, uint64_t ptr, uintptr_t ra);
static inline int allocation_tag_from_addr(uint64_t ptr)
{