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/advsimd-intrinsics/   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:     bf16_vldN_lane_1.c (2.37 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do run { target { aarch64*-*-* } } } */
/* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
/* { dg-add-options arm_v8_2a_bf16_neon }  */

#include <arm_neon.h>

extern void abort (void);

typedef union
{
  bfloat16_t bf16;
  uint16_t u16;
} bfloat16_u_t;

#define VARIANTS(VARIANT, STRUCT)        \
VARIANT (bfloat16, , 4, _bf16, 3, STRUCT)    \
VARIANT (bfloat16, q, 8, _bf16, 7, STRUCT)

#define TESTMETH(BASE, Q, ELTS, SUFFIX, LANE, STRUCT)                   \
  int                                           \
  test_vld##STRUCT##Q##_lane##SUFFIX (const bfloat16_u_t *data,               \
                      const bfloat16_u_t *overwrite)           \
  {                                           \
    BASE##x##ELTS##x##STRUCT##_t vectors;                       \
    bfloat16_u_t temp[ELTS];                               \
    int i,j;                                       \
    for (i = 0; i < STRUCT; i++, data += ELTS)                       \
      vectors.val[i] = vld1##Q##SUFFIX ((bfloat16_t *)data);               \
    vectors = vld##STRUCT##Q##_lane##SUFFIX ((bfloat16_t *) overwrite,           \
                         vectors, LANE);               \
    while (--i >= 0)                                   \
      {                                           \
    vst1##Q##SUFFIX ((bfloat16_t *)temp, vectors.val[i]);               \
    data -= ELTS; /* Point at value loaded before vldN_lane.  */           \
    for (j = 0; j < ELTS; j++)                           \
      if (temp[j].u16 != (j == LANE ? overwrite[i].u16 : data[j].u16))     \
        return 1;                                   \
      }                                           \
    return 0;                                       \
  }

/* Tests of vld2_lane and vld2q_lane.  */
VARIANTS (TESTMETH, 2)
/* Tests of vld3_lane and vld3q_lane.  */
VARIANTS (TESTMETH, 3)
/* Tests of vld4_lane and vld4q_lane.  */
VARIANTS (TESTMETH, 4)

#define CHECK(BASE, Q, ELTS, SUFFIX, LANE, STRUCT)                   \
  if (test_vld##STRUCT##Q##_lane##SUFFIX ((const bfloat16_u_t *)orig_data,     \
                      BASE##_data) != 0)               \
    abort ();

int
main (int argc, char **argv)
{
  /* Original data for all vector formats.  */
  uint64_t orig_data[8] = {0x1234567890abcdefULL, 0x13579bdf02468aceULL,
               0x012389ab4567cdefULL, 0xdeeddadacafe0431ULL,
               0x1032547698badcfeULL, 0xbadbadbadbad0badULL,
               0x0102030405060708ULL, 0x0f0e0d0c0b0a0908ULL};

  /* Data with which vldN_lane will overwrite some of previous.  */
  bfloat16_u_t bfloat16_data[4];
  bfloat16_data[0].u16 = 0xABAB;
  bfloat16_data[1].u16 = 0x0;
  bfloat16_data[2].u16 = 0xCAFE;
  bfloat16_data[3].u16 = 0x1234;

  VARIANTS (CHECK, 2);
  VARIANTS (CHECK, 3);
  VARIANTS (CHECK, 4);
  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.0061 ]--