qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/4] target/loongarch: ftint_xxx insns set the result high


From: Richard Henderson
Subject: Re: [PATCH v2 1/4] target/loongarch: ftint_xxx insns set the result high 32bit 0xffffffff
Date: Wed, 28 Sep 2022 08:14:48 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 9/26/22 23:48, Song Gao wrote:
we just set high 32bit 0xffffffff as the other float instructions do.

Signed-off-by: Song Gao<gaosong@loongson.cn>
---
  target/loongarch/fpu_helper.c | 18 +++++++++---------
  1 file changed, 9 insertions(+), 9 deletions(-)

But the result in these cases is an integer, not a (single-precision) float.
Is this really what hardware does?


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]