On 9/24/23 01:03, Nick Bowler wrote:
On a real UltraSparc II, the fmuld8ulx16 instruction takes two single-
precision input operands and returns a double-precision result.
However, the emulation is taking two double-precision input operands,
which are unlikely to contain the correct values, so the results are
garbage in most cases. Even if the inputs happen to be correct, the
emulator is rounding the output, which the real processor does not do.
Signed-off-by: Nick Bowler<nbow...@draconx.ca>
---
target/sparc/helper.h | 2 +-
target/sparc/translate.c | 2 +-
target/sparc/vis_helper.c | 17 +++++++----------
3 files changed, 9 insertions(+), 12 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~