qemu-riscv
[Top][All Lists]
Advanced

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

Re: [PATCH v8 40/62] target/riscv: vector floating-point compare instruc


From: LIU Zhiwei
Subject: Re: [PATCH v8 40/62] target/riscv: vector floating-point compare instructions
Date: Fri, 5 Jun 2020 10:56:22 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1



On 2020/6/5 4:51, Richard Henderson wrote:
On 5/21/20 2:43 AM, LIU Zhiwei wrote:
+static uint8_t float16_eq_quiet(uint16_t a, uint16_t b, float_status *s)
Return bool, better than uint8_t.
Yes.

+{
+    int compare = float16_compare_quiet(a, b, s);
New since your last revision is that compare should be type FloatRelation.

And similarly for the other 13 comparison helpers.
OK. I will use the FloatRelation in next patch set.
+        vext_set_elem_mask(vd, mlen, i, DO_OP(s2, (ETYPE)s1,        \
+                           &env->fp_status));                       \
Indentation is off.  env->fp_status should align with DO_OP.
Yes. Thanks.

Zhiwei

With that,

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

r~




reply via email to

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