Re: [PATCH v2 4/7] target/sparc: Fix FMUL8x16A{U,L}

2024-05-03 Thread Philippe Mathieu-Daudé
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 --- target/sparc/hel

[PATCH v2 4/7] target/sparc: Fix FMUL8x16A{U,L}

2024-05-02 Thread Richard Henderson
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 --- target/sparc/helper.h | 3 +-- target/sparc/translate.c