diff options
| author | Thomas Green <tomgreen66@hotmail.com> | 2021-11-16 22:36:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-16 22:36:18 +0000 |
| commit | 2113cad8cbb4c4bc9469e0c94025bd7cbbe6f2d6 (patch) | |
| tree | c7996dc9265ac18a5ced673dfd7c129112e55acc | |
| parent | 640fff6b33eb092319160b300b80bbbe3669cd35 (diff) | |
| download | numpy-2113cad8cbb4c4bc9469e0c94025bd7cbbe6f2d6.tar.gz | |
Update cpu_asimdfhm.c
Updated `vfmlal_low_u32` and `vfmlslq_high_u32` to their `f16` new names. Described here:
https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg664008.html
Many of the intrinsics had names updated. Supposedly previous specifications were not published so old names not required.
| -rw-r--r-- | numpy/distutils/checks/cpu_asimdfhm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/checks/cpu_asimdfhm.c b/numpy/distutils/checks/cpu_asimdfhm.c index bb437aa40..cb49751c4 100644 --- a/numpy/distutils/checks/cpu_asimdfhm.c +++ b/numpy/distutils/checks/cpu_asimdfhm.c @@ -10,8 +10,8 @@ int main(void) float32x4_t vf = vdupq_n_f32(1.0f); float32x2_t vlf = vdup_n_f32(1.0f); - int ret = (int)vget_lane_f32(vfmlal_low_u32(vlf, vlhp, vlhp), 0); - ret += (int)vgetq_lane_f32(vfmlslq_high_u32(vf, vhp, vhp), 0); + int ret = (int)vget_lane_f32(vfmlal_low_f16(vlf, vlhp, vlhp), 0); + ret += (int)vgetq_lane_f32(vfmlslq_high_f16(vf, vhp, vhp), 0); return ret; } |
