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/advsimd-intrinsics/   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:     vfma_n.c (2.26 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#include <arm_neon.h>
#include "arm-neon-ref.h"
#include "compute-ref-data.h"

#if defined(__aarch64__) && defined(__ARM_FEATURE_FMA)
/* Expected results.  */
VECT_VAR_DECL(expected,hfloat,32,2) [] = { 0x4438ca3d, 0x44390a3d };
VECT_VAR_DECL(expected,hfloat,32,4) [] = { 0x44869eb8, 0x4486beb8, 0x4486deb8, 0x4486feb8 };
VECT_VAR_DECL(expected,hfloat,64,2) [] = { 0x408906e1532b8520, 0x40890ee1532b8520 };

#define VECT_VAR_ASSIGN(S,Q,T1,W) S##Q##_##T1##W
#define ASSIGN(S, Q, T, W, V) T##W##_t S##Q##_##T##W = V
#define TEST_MSG "VFMA_N/VFMAQ_N"

void exec_vfma_n (void)
{
  /* Basic test: v4=vfma_n(v1,v2), then store the result.  */
#define TEST_VFMA_N(Q, T1, T2, W, N)                    \
  VECT_VAR(vector_res, T1, W, N) =                    \
    vfma##Q##_n_##T2##W(VECT_VAR(vector1, T1, W, N),            \
            VECT_VAR(vector2, T1, W, N),            \
            VECT_VAR_ASSIGN(scalar, Q, T1, W));        \
  vst1##Q##_##T2##W(VECT_VAR(result, T1, W, N), VECT_VAR(vector_res, T1, W, N))

#define CHECK_VFMA_N_RESULTS(test_name,comment)                \
  {                                    \
    CHECK_FP(test_name, float, 32, 2, PRIx32, expected, comment);    \
    CHECK_FP(test_name, float, 32, 4, PRIx32, expected, comment);    \
    CHECK_FP(test_name, float, 64, 2, PRIx64, expected, comment);    \
  }

#define DECL_VFMA_N_VAR(VAR)            \
  DECL_VARIABLE(VAR, float, 32, 2);        \
  DECL_VARIABLE(VAR, float, 32, 4);        \
  DECL_VARIABLE(VAR, float, 64, 2);

  DECL_VFMA_N_VAR(vector1);
  DECL_VFMA_N_VAR(vector2);
  DECL_VFMA_N_VAR(vector3);
  DECL_VFMA_N_VAR(vector_res);

  clean_results ();

  /* Initialize input "vector1" from "buffer".  */
  VLOAD(vector1, buffer, , float, f, 32, 2);
  VLOAD(vector1, buffer, q, float, f, 32, 4);
  VLOAD(vector1, buffer, q, float, f, 64, 2);

  /* Choose init value arbitrarily.  */
  VDUP(vector2, , float, f, 32, 2, 9.3f);
  VDUP(vector2, q, float, f, 32, 4, 29.7f);
  VDUP(vector2, q, float, f, 64, 2, 15.8f);
  
  /* Choose init value arbitrarily.  */
  ASSIGN(scalar, , float, 32, 81.2f);
  ASSIGN(scalar, q, float, 32, 36.8f);
  ASSIGN(scalar, q, float, 64, 51.7f);

  /* Execute the tests.  */
  TEST_VFMA_N(, float, f, 32, 2);
  TEST_VFMA_N(q, float, f, 32, 4);
  TEST_VFMA_N(q, float, f, 64, 2);

  CHECK_VFMA_N_RESULTS (TEST_MSG, "");
}
#endif

int main (void)
{
#if defined(__aarch64__) && defined(__ARM_FEATURE_FMA)
  exec_vfma_n ();
#endif
  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.0065 ]--