Re: [PATCH v2 7/7] target/sparc: Split out do_ms16b

2024-05-03 Thread Philippe Mathieu-Daudé
On 3/5/24 21:11, Philippe Mathieu-Daudé wrote: On 2/5/24 18:55, Richard Henderson wrote: The unit operation for fmul8x16 and friends is described in the manual as "MS16b".  Split that out for clarity.  Improve rounding with an unconditional addition of 0.5 as a fixed-point integer. Signed-off-b

Re: [PATCH v2 7/7] target/sparc: Split out do_ms16b

2024-05-03 Thread Philippe Mathieu-Daudé
On 2/5/24 18:55, Richard Henderson wrote: The unit operation for fmul8x16 and friends is described in the manual as "MS16b". Split that out for clarity. Improve rounding with an unconditional addition of 0.5 as a fixed-point integer. Signed-off-by: Richard Henderson --- target/sparc/vis_hel

[PATCH v2 7/7] target/sparc: Split out do_ms16b

2024-05-02 Thread Richard Henderson
The unit operation for fmul8x16 and friends is described in the manual as "MS16b". Split that out for clarity. Improve rounding with an unconditional addition of 0.5 as a fixed-point integer. Signed-off-by: Richard Henderson --- target/sparc/vis_helper.c | 78 --