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/sh/   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:     pr54760-2.c (8.04 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* Check that thread pointer relative memory accesses are converted to
   gbr displacement address modes.  If we see a gbr register store
   instruction something is not working properly.  */
/* { dg-do compile }  */
/* { dg-options "-O1" } */
/* { dg-final { scan-assembler-times "stc\tgbr" 0 } } */

/* ---------------------------------------------------------------------------
  Simple GBR load.
*/
#define func(name, rettype, type, disp)\
  rettype \
  name ## _tp_load (void) \
  { \
    type* tp = (type*)__builtin_thread_pointer (); \
    return tp[disp]; \
  }

func (test00, int, int, 0)
func (test01, int, int, 5)
func (test02, int, int, 255)

func (test03, int, short, 0)
func (test04, int, short, 5)
func (test05, int, short, 255)

func (test06, int, char, 0)
func (test07, int, char, 5)
func (test08, int, char, 255)

func (test09, int, unsigned int, 0)
func (test10, int, unsigned int, 5)
func (test11, int, unsigned int, 255)

func (test12, int, unsigned short, 0)
func (test13, int, unsigned short, 5)
func (test14, int, unsigned short, 255)

func (test15, int, unsigned char, 0)
func (test16, int, unsigned char, 5)
func (test17, int, unsigned char, 255)

func (test18, long long, long long, 0)
func (test19, long long, long long, 5)
func (test20, long long, long long, 127)

func (test21, long long, unsigned long long, 0)
func (test22, long long, unsigned long long, 5)
func (test23, long long, unsigned long long, 127)

#undef func

/* ---------------------------------------------------------------------------
  Simple GBR store.
*/
#define func(name, argtype, type, disp)\
  void \
  name ## _tp_store (argtype a) \
  { \
    type* tp = (type*)__builtin_thread_pointer (); \
    tp[disp] = (type)a; \
  }

func (test00, int, int, 0)
func (test01, int, int, 5)
func (test02, int, int, 255)

func (test03, int, short, 0)
func (test04, int, short, 5)
func (test05, int, short, 255)

func (test06, int, char, 0)
func (test07, int, char, 5)
func (test08, int, char, 255)

func (test09, int, unsigned int, 0)
func (test10, int, unsigned int, 5)
func (test11, int, unsigned int, 255)

func (test12, int, unsigned short, 0)
func (test13, int, unsigned short, 5)
func (test14, int, unsigned short, 255)

func (test15, int, unsigned char, 0)
func (test16, int, unsigned char, 5)
func (test17, int, unsigned char, 255)

func (test18, long long, long long, 0)
func (test19, long long, long long, 5)
func (test20, long long, long long, 127)

func (test21, long long, unsigned long long, 0)
func (test22, long long, unsigned long long, 5)
func (test23, long long, unsigned long long, 127)

#undef func

/* ---------------------------------------------------------------------------
  Arithmetic on the result of a GBR load.
*/
#define func(name, retargtype, type, disp, op, opname)\
  retargtype \
  name ## _tp_load_arith_ ##opname (retargtype a) \
  { \
    type* tp = (type*)__builtin_thread_pointer (); \
    return tp[disp] op a; \
  }

#define funcs(op, opname) \
  func (test00, int, int, 0, op, opname) \
  func (test01, int, int, 5, op, opname) \
  func (test02, int, int, 255, op, opname) \
  func (test03, int, short, 0, op, opname) \
  func (test04, int, short, 5, op, opname) \
  func (test05, int, short, 255, op, opname) \
  func (test06, int, char, 0, op, opname) \
  func (test07, int, char, 5, op, opname) \
  func (test08, int, char, 255, op, opname) \
  func (test09, int, unsigned int, 0, op, opname) \
  func (test10, int, unsigned int, 5, op, opname) \
  func (test11, int, unsigned int, 255, op, opname) \
  func (test12, int, unsigned short, 0, op, opname) \
  func (test13, int, unsigned short, 5, op, opname) \
  func (test14, int, unsigned short, 255, op, opname) \
  func (test15, int, unsigned char, 0, op, opname) \
  func (test16, int, unsigned char, 5, op, opname) \
  func (test17, int, unsigned char, 255, op, opname) \
  func (test18, long long, long long, 0, op, opname) \
  func (test19, long long, long long, 5, op, opname) \
  func (test20, long long, long long, 127, op, opname) \
  func (test21, long long, unsigned long long, 0, op, opname) \
  func (test22, long long, unsigned long long, 5, op, opname) \
  func (test23, long long, unsigned long long, 127, op, opname) \

funcs (+, plus)
funcs (-, minus)
funcs (*, mul)
funcs (&, and)
funcs (|, or)
funcs (^, xor)

#undef funcs
#undef func

/* ---------------------------------------------------------------------------
  Arithmetic of the result of two GBR loads.
*/
#define func(name, rettype, type, disp0, disp1, op, opname)\
  rettype \
  name ## _tp_load_load_arith_ ##opname (void) \
  { \
    type* tp = (type*)__builtin_thread_pointer (); \
    return tp[disp0] op tp[disp1]; \
  }

#define funcs(op, opname) \
  func (test00, int, int, 0, 5, op, opname) \
  func (test02, int, int, 1, 255, op, opname) \
  func (test03, int, short, 0, 5, op, opname) \
  func (test05, int, short, 1, 255, op, opname) \
  func (test06, int, char, 0, 5, op, opname) \
  func (test08, int, char, 1, 255, op, opname) \
  func (test09, int, unsigned int, 0, 5, op, opname) \
  func (test11, int, unsigned int, 1, 255, op, opname) \
  func (test12, int, unsigned short, 0, 5, op, opname) \
  func (test14, int, unsigned short, 1, 255, op, opname) \
  func (test15, int, unsigned char, 0, 5, op, opname) \
  func (test17, int, unsigned char, 1, 255, op, opname) \
  func (test18, long long, long long, 0, 5, op, opname) \
  func (test19, long long, long long, 1, 127, op, opname) \
  func (test20, long long, unsigned long long, 0, 5, op, opname) \
  func (test21, long long, unsigned long long, 1, 127, op, opname) \

funcs (+, plus)
funcs (-, minus)
funcs (*, mul)
funcs (&, and)
funcs (|, or)
funcs (^, xor)

#undef funcs
#undef func

/* ---------------------------------------------------------------------------
  GBR load GBR store copy.
*/

#define func(name, type, disp0, disp1)\
  void \
  name ## _tp_copy (void) \
  { \
    type* tp = (type*)__builtin_thread_pointer (); \
    tp[disp0] = tp[disp1]; \
  }

func (test00, int, 0, 5)
func (test02, int, 1, 255)
func (test03, short, 0, 5)
func (test05, short, 1, 255)
func (test06, char, 0, 5)
func (test08, char, 1, 255)
func (test09, unsigned int, 0, 5)
func (test11, unsigned int, 1, 255)
func (test12, unsigned short, 0, 5)
func (test14, unsigned short, 1, 255)
func (test15, unsigned char, 0, 5)
func (test17, unsigned char, 1, 255)
func (test18, long long, 0, 5)
func (test19, long long, 1, 127)
func (test20, unsigned long long, 0, 5)
func (test21, unsigned long long, 1, 127)

#undef func

/* ---------------------------------------------------------------------------
  GBR load, arithmetic, GBR store
*/

#define func(name, argtype, type, disp, op, opname)\
  void \
  name ## _tp_load_arith_store_ ##opname (argtype a) \
  { \
    type* tp = (type*)__builtin_thread_pointer (); \
    tp[disp] op a; \
  }

#define funcs(op, opname) \
  func (test00, int, int, 0, op, opname) \
  func (test01, int, int, 5, op, opname) \
  func (test02, int, int, 255, op, opname) \
  func (test03, int, short, 0, op, opname) \
  func (test04, int, short, 5, op, opname) \
  func (test05, int, short, 255, op, opname) \
  func (test06, int, char, 0, op, opname) \
  func (test07, int, char, 5, op, opname) \
  func (test08, int, char, 255, op, opname) \
  func (test09, int, unsigned int, 0, op, opname) \
  func (test10, int, unsigned int, 5, op, opname) \
  func (test11, int, unsigned int, 255, op, opname) \
  func (test12, int, unsigned short, 0, op, opname) \
  func (test13, int, unsigned short, 5, op, opname) \
  func (test14, int, unsigned short, 255, op, opname) \
  func (test15, int, unsigned char, 0, op, opname) \
  func (test16, int, unsigned char, 5, op, opname) \
  func (test17, int, unsigned char, 255, op, opname) \
  func (test18, long long, long long, 0, op, opname) \
  func (test19, long long, long long, 5, op, opname) \
  func (test20, long long, long long, 127, op, opname) \
  func (test21, long long, unsigned long long, 0, op, opname) \
  func (test22, long long, unsigned long long, 5, op, opname) \
  func (test23, long long, unsigned long long, 127, op, opname) \

funcs (+=, plus)
funcs (-=, minus)
funcs (*=, mul)
funcs (&=, and)
funcs (|=, or)
funcs (^=, xor)

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