target/loongarch: Fix float_convd/float_convs test failing
commit9fad2071e8de2e5902e68d93d394cfe2f29ff90b
authorSong Gao <gaosong@loongson.cn>
Sat, 16 Jul 2022 08:54:21 +0000 (16 16:54 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 19 Jul 2022 16:23:58 +0000 (19 21:53 +0530)
treeef082b9a68e58707108bef5d194bd50b94508c3c
parent2344f98e9cf78d508758a7f0c9e0b4d0d37acf3d
target/loongarch: Fix float_convd/float_convs test failing

We should result zero when exception is invalid and operation is nan

Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20220716085426.3098060-4-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/loongarch/fpu_helper.c