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:     negs.c (1.7 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do run } */
/* { dg-options "-O2 --save-temps" } */

extern void abort (void);
int z;

int
negs_si_test1 (int a, int b, int c)
{
  int d = -b;

  /* { dg-final { scan-assembler "negs\tw\[0-9\]+, w\[0-9\]+" } } */
  if (d < 0)
    return a + c;

  z = d;
    return b + c + d;
}

int
negs_si_test3 (int a, int b, int c)
{
  int d = -(b) << 3;

  /* { dg-final { scan-assembler "negs\tw\[0-9\]+, w\[0-9\]+, lsl 3" } } */
  if (d == 0)
    return a + c;

  z = d;
    return b + c + d;
}

typedef long long s64;
s64 zz;

s64
negs_di_test1 (s64 a, s64 b, s64 c)
{
  s64 d = -b;

  /* { dg-final { scan-assembler "negs\tx\[0-9\]+, x\[0-9\]+" } } */
  if (d < 0)
    return a + c;

  zz = d;
    return b + c + d;
}

s64
negs_di_test3 (s64 a, s64 b, s64 c)
{
  s64 d = -(b) << 3;

  /* { dg-final { scan-assembler "negs\tx\[0-9\]+, x\[0-9\]+, lsl 3" } } */
  if (d == 0)
    return a + c;

  zz = d;
    return b + c + d;
}

int main ()
{
  int x;
  s64 y;

  x = negs_si_test1 (2, 12, 5);
  if (x != 7)
    abort ();

  x = negs_si_test1 (1, 2, 32);
  if (x != 33)
    abort ();

  x = negs_si_test3 (13, 14, 5);
  if (x != -93)
    abort ();

  x = negs_si_test3 (15, 21, 2);
  if (x != -145)
    abort ();

  y = negs_di_test1 (0x20202020ll,
             0x65161611ll,
             0x42434243ll);
  if (y != 0x62636263ll)
    abort ();

  y = negs_di_test1 (0x1010101010101ll,
             0x123456789abcdll,
             0x5555555555555ll);
  if (y != 0x6565656565656ll)
    abort ();

  y = negs_di_test3 (0x62523781ll,
             0x64234978ll,
             0x12345123ll);
  if (y != 0xfffffffd553d4edbll)
    abort ();

  y = negs_di_test3 (0x763526268ll,
             0x101010101ll,
             0x222222222ll);
  if (y != 0xfffffffb1b1b1b1bll)
    abort ();

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