Displaying 2 results from an estimated 2 matches for "yizhi".
Did you mean:
yihui
2019 Sep 05
2
ARM vectorized fp16 support
...and when this landed, but we had an effort to plug the remaining fp16 holes not that long ago, so again hopefully a newer version will just work for you.
>
> Cheers,
> Sjoerd.
> ________________________________
> From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Yizhi Liu via llvm-dev <llvm-dev at lists.llvm.org>
> Sent: 05 September 2019 06:52
> To: llvm-dev at lists.llvm.org <llvm-dev at lists.llvm.org>
> Subject: [llvm-dev] ARM vectorized fp16 support
>
> Hi,
>
> I'm trying to compile half precision program for ARM, while...
2019 Sep 05
2
ARM vectorized fp16 support
...e_f16
fmul v0.4h, v1.4h, v0.4h
fadd v0.4h, v0.4h, v2.4h // fp16 does NOT use FMLA
ret
$ cat vfp16.c
#include <arm_neon.h>
float16x4_t test_vfma_lane_f16(float16x4_t a, float16x4_t b, float16x4_t c) {
c += a * b;
return c;
}
--
Yizhi Liu