qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/8] fpu/softfloat: Add LoongArch specialization for pickNaNM


From: Richard Henderson
Subject: Re: [PATCH 2/8] fpu/softfloat: Add LoongArch specialization for pickNaNMulAdd
Date: Tue, 19 Jul 2022 12:39:18 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 7/16/22 14:24, Song Gao wrote:
LoongArch system follows IEEE754-2008 specificationa. The (inf,zero,nan)
case sets InvalidOp and returns the input value 'c', and Prefer sNaN
over qNaN, in the c, a, b order.

Signed-off-by: Song Gao <gaosong@loongson.cn>

Yep, matches paragraph 3 of 3.1.1.3. Non-numerical Result of Instructions.

You need another patch for pickNaN, just above here. You can add TARGET_LOONGARCH64 to the first #if block, with ARM, MIPS and HPPA.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~



reply via email to

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