]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/sparc: Fix FMUL8x16A{U,L}
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 2 May 2024 16:55:25 +0000 (09:55 -0700)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 9 May 2024 13:42:09 +0000 (16:42 +0300)
commit098f10e9a830305cfc0ea1bc43fef1b3005e6f85
tree58ebdceef59692e294e296acfe4f789ca544bcd0
parent6d027e1bf95f50aaa6ddee21af6a4847163cdb18
target/sparc: Fix FMUL8x16A{U,L}

These instructions have f32 inputs, which changes the decode
of the register numbers.  While we're fixing things, use a
common helper for both insns, extracting the 16-bit scalar
in tcg beforehand.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240502165528.244004-5-richard.henderson@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
(cherry picked from commit a859602c746baf4892cc8ca1ce003e92411d1716)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/sparc/helper.h
target/sparc/translate.c
target/sparc/vis_helper.c