Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/distutils/checks/ |
#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); }