!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/distutils/checks/   drwxr-xr-x
Free 293.48 GB of 429.69 GB (68.3%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     extra_avx512f_reduce.c (1.56 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#include <immintrin.h>
/**
 * The following intrinsics don't have direct native support but compilers
 * tend to emulate them.
 * They're usually supported by gcc >= 7.1, clang >= 4 and icc >= 19
 */
int main(void)
{
    __m512  one_ps = _mm512_set1_ps(1.0f);
    __m512d one_pd = _mm512_set1_pd(1.0);
    __m512i one_i64 = _mm512_set1_epi64(1);
    // add
    float sum_ps  = _mm512_reduce_add_ps(one_ps);
    double sum_pd = _mm512_reduce_add_pd(one_pd);
    int sum_int   = (int)_mm512_reduce_add_epi64(one_i64);
        sum_int  += (int)_mm512_reduce_add_epi32(one_i64);
    // mul
    sum_ps  += _mm512_reduce_mul_ps(one_ps);
    sum_pd  += _mm512_reduce_mul_pd(one_pd);
    sum_int += (int)_mm512_reduce_mul_epi64(one_i64);
    sum_int += (int)_mm512_reduce_mul_epi32(one_i64);
    // min
    sum_ps  += _mm512_reduce_min_ps(one_ps);
    sum_pd  += _mm512_reduce_min_pd(one_pd);
    sum_int += (int)_mm512_reduce_min_epi32(one_i64);
    sum_int += (int)_mm512_reduce_min_epu32(one_i64);
    sum_int += (int)_mm512_reduce_min_epi64(one_i64);
    // max
    sum_ps  += _mm512_reduce_max_ps(one_ps);
    sum_pd  += _mm512_reduce_max_pd(one_pd);
    sum_int += (int)_mm512_reduce_max_epi32(one_i64);
    sum_int += (int)_mm512_reduce_max_epu32(one_i64);
    sum_int += (int)_mm512_reduce_max_epi64(one_i64);
    // and
    sum_int += (int)_mm512_reduce_and_epi32(one_i64);
    sum_int += (int)_mm512_reduce_and_epi64(one_i64);
    // or
    sum_int += (int)_mm512_reduce_or_epi32(one_i64);
    sum_int += (int)_mm512_reduce_or_epi64(one_i64);
    return (int)sum_ps + (int)sum_pd + sum_int;
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0979 ]--