| /linux/arch/s390/kernel/ |
| H A D | fpu.c | 17 __vector128 *vxrs = state->vxrs; in __kernel_fpu_begin() local 29 save_fp_regs_vx(vxrs); in __kernel_fpu_begin() 34 vxrs += fpu_vstm(0, 15, vxrs); in __kernel_fpu_begin() 35 vxrs += fpu_vstm(16, 31, vxrs); in __kernel_fpu_begin() 39 vxrs += fpu_vstm(8, 23, vxrs); in __kernel_fpu_begin() 45 vxrs += fpu_vstm(0, 15, vxrs); in __kernel_fpu_begin() 47 vxrs += fpu_vstm(0, 7, vxrs); in __kernel_fpu_begin() 49 vxrs += fpu_vstm(8, 15, vxrs); in __kernel_fpu_begin() 54 vxrs += fpu_vstm(16, 31, vxrs); in __kernel_fpu_begin() 56 vxrs += fpu_vstm(16, 23, vxrs); in __kernel_fpu_begin() [all …]
|
| H A D | signal.c | 177 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext() local 183 vxrs[i] = current->thread.ufpu.vxrs[i].low; in save_sigregs_ext() 184 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext() 187 current->thread.ufpu.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext() 197 __u64 vxrs[__NUM_VXRS_LOW]; in restore_sigregs_ext() local 202 if (__copy_from_user(vxrs, &sregs_ext->vxrs_low, in restore_sigregs_ext() 204 __copy_from_user(current->thread.ufpu.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext() 209 current->thread.ufpu.vxrs[i].low = vxrs[i]; in restore_sigregs_ext()
|
| H A D | ptrace.c | 256 tmp = *(addr_t *)((addr_t)child->thread.ufpu.vxrs + 2 * offset); in __peek_user() 397 *(addr_t *)((addr_t)child->thread.ufpu.vxrs + 2 * offset) = data; in __poke_user() 583 convert_vx_to_fp(fprs, target->thread.ufpu.vxrs); in s390_fpregs_set() 600 convert_fp_to_vx(target->thread.ufpu.vxrs, fprs); in s390_fpregs_set() 644 __u64 vxrs[__NUM_VXRS_LOW]; in s390_vxrs_low_get() local 652 vxrs[i] = target->thread.ufpu.vxrs[i].low; in s390_vxrs_low_get() 653 return membuf_write(&to, vxrs, sizeof(vxrs)); in s390_vxrs_low_get() 661 __u64 vxrs[__NUM_VXRS_LOW]; in s390_vxrs_low_set() local 670 vxrs[i] = target->thread.ufpu.vxrs[i].low; in s390_vxrs_low_set() 672 rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, vxrs, 0, -1); in s390_vxrs_low_set() [all …]
|
| H A D | perf_regs.c | 22 fp = *(freg_t *)(current->thread.ufpu.vxrs + idx); in perf_reg_value()
|
| H A D | crash_dump.c | 107 void __init save_area_add_vxrs(struct save_area *sa, __vector128 *vxrs) in save_area_add_vxrs() argument 113 sa->vxrs_low[i] = vxrs[i].low; in save_area_add_vxrs() 115 memcpy(sa->vxrs_high, vxrs + 16, 16 * sizeof(__vector128)); in save_area_add_vxrs()
|
| /linux/arch/s390/include/asm/ |
| H A D | fpu.h | 82 static __always_inline void save_vx_regs(__vector128 *vxrs) in save_vx_regs() argument 84 fpu_vstm(0, 15, &vxrs[0]); in save_vx_regs() 85 fpu_vstm(16, 31, &vxrs[16]); in save_vx_regs() 88 static __always_inline void load_vx_regs(__vector128 *vxrs) in load_vx_regs() argument 90 fpu_vlm(0, 15, &vxrs[0]); in load_vx_regs() 91 fpu_vlm(16, 31, &vxrs[16]); in load_vx_regs() 144 static __always_inline void save_fp_regs_vx(__vector128 *vxrs) in save_fp_regs_vx() argument 146 freg_t *fprs = (freg_t *)&vxrs[0].high; in save_fp_regs_vx() 151 static __always_inline void load_fp_regs_vx(__vector128 *vxrs) in load_fp_regs_vx() argument 153 freg_t *fprs = (freg_t *)&vxrs[0].high; in load_fp_regs_vx() [all …]
|
| H A D | fpu-types.h | 16 __vector128 vxrs[__NUM_VXRS] __aligned(8); member 26 __vector128 vxrs[] __aligned(8); member 32 __vector128 vxrs[vxr_size] __aligned(8); \
|
| H A D | fpu-insn.h | 283 : [vxrs] "Q" (*_v), \ 303 : [vxrs] "R" (*_v), \ 430 : [vxrs] "=Q" (*_v) \ 449 : [vxrs] "=R" (*_v) \
|
| H A D | ipl.h | 62 void __init save_area_add_vxrs(struct save_area *, __vector128 *vxrs);
|