HEX
Server: Apache
System: Linux vps28526 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
User: heewonvps_17 (6705002)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/numpy/distutils/checks/cpu_asimdfhm.c
#ifdef _MSC_VER
    #include <Intrin.h>
#endif
#include <arm_neon.h>

int main(void)
{
    float16x8_t vhp  = vdupq_n_f16((float16_t)1);
    float16x4_t vlhp = vdup_n_f16((float16_t)1);
    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);

    return ret;
}