mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target/arm: Implement fp16 for Neon VMAXNM, VMINNM
Convert the Neon floating point VMAXNM and VMINNM insns to using a gvec helper and use this to implement the fp16 case. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20200828183354.27913-30-peter.maydell@linaro.org
This commit is contained in:
parent
e43268c54b
commit
e22705bb94
3 changed files with 27 additions and 8 deletions
|
@ -823,6 +823,12 @@ DO_3OP(gvec_fmax_s, float32_max, float32)
|
|||
DO_3OP(gvec_fmin_h, float16_min, float16)
|
||||
DO_3OP(gvec_fmin_s, float32_min, float32)
|
||||
|
||||
DO_3OP(gvec_fmaxnum_h, float16_maxnum, float16)
|
||||
DO_3OP(gvec_fmaxnum_s, float32_maxnum, float32)
|
||||
|
||||
DO_3OP(gvec_fminnum_h, float16_minnum, float16)
|
||||
DO_3OP(gvec_fminnum_s, float32_minnum, float32)
|
||||
|
||||
#ifdef TARGET_AARCH64
|
||||
|
||||
DO_3OP(gvec_recps_h, helper_recpsf_f16, float16)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue