On 8/28/20 11:33 AM, Peter Maydell wrote: > Convert the Neon float-integer VCVT insns to gvec, and use this > to implement fp16 support for them. > > Note that unlike the VFP int<->fp16 VCVT insns we converted > earlier and which convert to/from a 32-bit integer, these > Neon insns convert to/from 16-bit integers. So we can use > the existing vfp conversion helpers for the f32<->u32/i32 > case but need to provide our own for f16<->u16/i16. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > target/arm/helper.h | 9 +++++++++ > target/arm/vec_helper.c | 29 +++++++++++++++++++++++++++++ > target/arm/translate-neon.c.inc | 15 ++++----------- > 3 files changed, 42 insertions(+), 11 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~