Re: [PATCH RFC] target/arm: Implement SVE2 FLOGB

2020-04-30 Thread Richard Henderson
On 4/30/20 10:20 AM, Stephen Long wrote: > +DO_ZPZ_FP(flogb_s, float32, H1_4, float32_log2) > +DO_ZPZ_FP(flogb_d, float64, , float64_log2) Please read the instruction description more carefully. The result is not the full log2 of the input: > This instruction returns the signed integer base

[PATCH RFC] target/arm: Implement SVE2 FLOGB

2020-04-30 Thread Stephen Long
Signed-off-by: Stephen Long --- Right now, there is no log2 function for half precision floats, so I'm not sure how to proceed. Currently, I just added a TODO comment. target/arm/helper-sve.h| 3 +++ target/arm/sve.decode | 4 target/arm/sve_helper.c| 3 +++ target/arm/tran