]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Add BFMIN, BFMAX (predicated)
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 18 Jul 2025 17:30:25 +0000 (18:30 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Jul 2025 10:13:55 +0000 (11:13 +0100)
commit279438560ba8575266e9105202c6e87044d24885
tree2462b62590e53db2908f531439e044773f44bd12
parent86fa06f8d9f953252a7919fa56a402d789bf1b78
target/arm: Add BFMIN, BFMAX (predicated)

FEAT_SVE_B16B16 adds bfloat16 versions of the SVE floating point
(predicated) instructions, which are encoded via sz=0b00.  Add the
BFMAX and BFMIN insns.  These have separate behaviour for AH=1 and
AH=0; we have already implemented the AH=1 helper for the SME2
versions of these insns.

Fixes: 7b1613a1020d2942 ("target/arm: Enable FEAT_SME2p1 on -cpu max")
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250718173032.2498900-4-peter.maydell@linaro.org
target/arm/tcg/helper-sve.h
target/arm/tcg/sve_helper.c
target/arm/tcg/translate-sve.c