]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Add BFADD, BFSUB, BFMUL, BFMAXNM, BFMINNM (predicated)
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 18 Jul 2025 17:30:24 +0000 (18:30 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Jul 2025 10:13:55 +0000 (11:13 +0100)
commit86fa06f8d9f953252a7919fa56a402d789bf1b78
tree3533b25732d383881d104b1f3f9da2cff3c9fd21
parent2b5a9bbbadb39750584f36e6bee3a36ebe134418
target/arm: Add BFADD, BFSUB, BFMUL, BFMAXNM, BFMINNM (predicated)

FEAT_SVE_B16B16 adds bfloat16 versions of the SVE floating point
(predicated) instructions, which are encoded via sz=0b00.
Add BFADD, BFSUB, BFMUL, BFMAXNM, BFMINNM; these are all the insns
in this group which do not change behaviour for AH=1.

We will deal with BFMAX/BFMIN (which do have different AH=1
behaviour) in a following commit.

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-3-peter.maydell@linaro.org
target/arm/tcg/helper-sve.h
target/arm/tcg/sve_helper.c
target/arm/tcg/translate-sve.c