HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/numpy/distutils/checks/cpu_vx.c
#if (__VEC__ < 10301) || (__ARCH__ < 11)
    #error VX not supported
#endif

#include <vecintrin.h>
int main(int argc, char **argv)
{
    __vector double x = vec_abs(vec_xl(argc, (double*)argv));
    __vector double y = vec_load_len((double*)argv, (unsigned int)argc);

    x = vec_round(vec_ceil(x) + vec_floor(y));
    __vector bool long long m = vec_cmpge(x, y);
    __vector long long i = vec_signed(vec_sel(x, y, m));

    return (int)vec_extract(i, 0);
}