On 2/5/24 18:55, Richard Henderson wrote:
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.hender...@linaro.org>
---
target/sparc/helper.h | 3 +--
target/sparc/translate.c | 38 +++++++++++++++++++++++++++----
target/sparc/vis_helper.c | 47 +++++++++++----------------------------
3 files changed, 48 insertions(+), 40 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>