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/s390/   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:     memset-1.c (2.83 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* Make sure that short memset's with constant length are emitted
   without loop statements.  */

/* { dg-do compile } */
/* { dg-options "-O3 -mzarch -march=z13" } */

/* 1 stc */
void
*memset0(void *s, int c)
{
  return __builtin_memset (s, c, 1);
}

/* 1 stc 1 mvc */
void
*memset1(void *s, int c)
{
  return __builtin_memset (s, c, 42);
}

/* 3 stc 3 mvc */
void
*memset2(void *s, int c)
{
  return __builtin_memset (s, c, 700);
}

/* nop */
void
*memset3(void *s, int c)
{
  return __builtin_memset (s, c, 0);
}

/* 1 stc 1 mvc */
void
*memset4(void *s, int c)
{
  return __builtin_memset (s, c, 256);
}

/* 2 stc 2 mvc */
void
*memset5(void *s, int c)
{
  return __builtin_memset (s, c, 512);
}

/* 2 stc 2 mvc - still due to the stc bytes */
void
*memset6(void *s, int c)
{
  return __builtin_memset (s, c, 514);
}

/* 3 stc 2 mvc */
void
*memset7(void *s, int c)
{
  return __builtin_memset (s, c, 515);
}

/* 4 stc 4 mvc - 4 * 256 + 4 stc bytes */
void
*memset8(void *s, int c)
{
  return __builtin_memset (s, c, 1028);
}

/* 2 stc 1 pfd 2 mvc - start using mvc loop */
void
*memset9(void *s, int c)
{
  return __builtin_memset (s, c, 1029);
}

/* 3 stc 3 mvc - displacement overflow after the first */
void
*memset10(void *s, int c)
{
  return __builtin_memset ((char*)s + 4000, c, 700);
}

/* 1 mvi */
void
*clrmem0(void *s)
{
  return __builtin_memset (s, 0, 1);
}

/* 1 xc */
void
*clrmem1(void *s)
{
  return __builtin_memset (s, 0, 42);
}

/* 3 xc */
void
*clrmem2(void *s)
{
  return __builtin_memset (s, 0, 700);
}

/* nop */
void
*clrmem3(void *s)
{
  return __builtin_memset (s, 0, 0);
}

/* 1 xc */
void
*clrmem4(void *s)
{
  return __builtin_memset (s, 0, 256);
}

/* 2 xc */
void
*clrmem5(void *s)
{
  return __builtin_memset (s, 0, 512);
}

/* 4 xc */
void
*clrmem6(void *s)
{
  return __builtin_memset (s, 0, 1024);
}

/* 2 xc - start using xc loop*/
void
*clrmem7(void *s)
{
  return __builtin_memset (s, 0, 1025);
}

/* 5 xc - on z10 PFD would be used in the loop body so the unrolled
   variant would still be shorter.  */
__attribute__ ((target("tune=z10")))
void
*clrmem7_z10(void *s)
{
  return __builtin_memset (s, 0, 1025);
}

/* 5 xc */
__attribute__ ((target("tune=z10")))
void
*clrmem8_z10(void *s)
{
  return __builtin_memset (s, 0, 1280);
}

/* 1 pfd 2 xc - start using xc loop also on z10 */
__attribute__ ((target("tune=z10")))
void
*clrmem9_z10(void *s)
{
  return __builtin_memset (s, 0, 1281);
}

/* 3 xc - displacement overflow after the first */
void
*clrmem10(void *s)
{
  return __builtin_memset (s + 4000, 0, 700);
}

/* { dg-final { scan-assembler-times "mvi\\s" 1 } } */
/* { dg-final { scan-assembler-times "mvc\\s" 20 } } */
/* { dg-final { scan-assembler-times "xc\\s" 28 } } */
/* { dg-final { scan-assembler-times "stc\\s" 22 } } */
/* { dg-final { scan-assembler-times "stcy\\s" 0 } } */
/* { dg-final { scan-assembler-times "pfd\\s" 2 } } */

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