target/arm: Remove log2_esize parameter to gen_mte_checkN
commit33e74c3172defc841692b4281d2dbd8f8a966e17
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 16 Apr 2021 18:31:06 +0000 (16 11:31 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 30 Apr 2021 10:16:49 +0000 (30 11:16 +0100)
treeb753eeab1377b2af7a0c9d444d68549020622940
parent4c3310c73f7349f1aabae55a7babd6419eeb1d04
target/arm: Remove log2_esize parameter to gen_mte_checkN

The log2_esize parameter is not used except trivially.
Drop the parameter and the deferral to gen_mte_check1.

This fixes a bug in that the parameters as documented
in the header file were the reverse from those in the
implementation.  Which meant that translate-sve.c was
passing the parameters in the wrong order.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210416183106.1516563-10-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-a64.c
target/arm/translate-a64.h
target/arm/translate-sve.c