Home
last modified time | relevance | path

Searched refs:vxrs (Results 1 – 10 of 10) sorted by relevance

/linux/arch/s390/kernel/
A Dfpu.c15 __vector128 *vxrs = state->vxrs; in __kernel_fpu_begin() local
32 vxrs += fpu_vstm(0, 15, vxrs); in __kernel_fpu_begin()
33 vxrs += fpu_vstm(16, 31, vxrs); in __kernel_fpu_begin()
37 vxrs += fpu_vstm(8, 23, vxrs); in __kernel_fpu_begin()
43 vxrs += fpu_vstm(0, 15, vxrs); in __kernel_fpu_begin()
45 vxrs += fpu_vstm(0, 7, vxrs); in __kernel_fpu_begin()
47 vxrs += fpu_vstm(8, 15, vxrs); in __kernel_fpu_begin()
63 __vector128 *vxrs = state->vxrs; in __kernel_fpu_end() local
81 vxrs += fpu_vlm(0, 15, vxrs); in __kernel_fpu_end()
86 vxrs += fpu_vlm(8, 23, vxrs); in __kernel_fpu_end()
[all …]
A Dcompat_signal.c126 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext32() local
139 vxrs[i] = current->thread.ufpu.vxrs[i].low; in save_sigregs_ext32()
140 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext32()
143 current->thread.ufpu.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext32()
154 __u64 vxrs[__NUM_VXRS_LOW]; in restore_sigregs_ext32() local
166 if (__copy_from_user(vxrs, &sregs_ext->vxrs_low, in restore_sigregs_ext32()
168 __copy_from_user(current->thread.ufpu.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext32()
173 current->thread.ufpu.vxrs[i].low = vxrs[i]; in restore_sigregs_ext32()
A Dsignal.c178 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext() local
184 vxrs[i] = current->thread.ufpu.vxrs[i].low; in save_sigregs_ext()
185 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext()
188 current->thread.ufpu.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext()
198 __u64 vxrs[__NUM_VXRS_LOW]; in restore_sigregs_ext() local
203 if (__copy_from_user(vxrs, &sregs_ext->vxrs_low, in restore_sigregs_ext()
205 __copy_from_user(current->thread.ufpu.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext()
210 current->thread.ufpu.vxrs[i].low = vxrs[i]; in restore_sigregs_ext()
A Dptrace.c258 tmp = *(addr_t *)((addr_t)child->thread.ufpu.vxrs + 2 * offset); in __peek_user()
619 tmp = *(__u32 *)((addr_t)child->thread.ufpu.vxrs + 2 * offset); in __peek_user_compat()
887 convert_vx_to_fp(fprs, target->thread.ufpu.vxrs); in s390_fpregs_set()
904 convert_fp_to_vx(target->thread.ufpu.vxrs, fprs); in s390_fpregs_set()
948 __u64 vxrs[__NUM_VXRS_LOW]; in s390_vxrs_low_get() local
956 vxrs[i] = target->thread.ufpu.vxrs[i].low; in s390_vxrs_low_get()
957 return membuf_write(&to, vxrs, sizeof(vxrs)); in s390_vxrs_low_get()
965 __u64 vxrs[__NUM_VXRS_LOW]; in s390_vxrs_low_set() local
974 vxrs[i] = target->thread.ufpu.vxrs[i].low; in s390_vxrs_low_set()
979 target->thread.ufpu.vxrs[i].low = vxrs[i]; in s390_vxrs_low_set()
[all …]
A Dperf_regs.c22 fp = *(freg_t *)(current->thread.ufpu.vxrs + idx); in perf_reg_value()
A Dcrash_dump.c108 void __init save_area_add_vxrs(struct save_area *sa, __vector128 *vxrs) in save_area_add_vxrs() argument
114 sa->vxrs_low[i] = vxrs[i].low; in save_area_add_vxrs()
116 memcpy(sa->vxrs_high, vxrs + 16, 16 * sizeof(__vector128)); in save_area_add_vxrs()
/linux/arch/s390/include/asm/
A Dfpu.h89 fpu_vstm(0, 15, &vxrs[0]); in save_vx_regs()
90 fpu_vstm(16, 31, &vxrs[16]); in save_vx_regs()
95 fpu_vlm(0, 15, &vxrs[0]); in load_vx_regs()
96 fpu_vlm(16, 31, &vxrs[16]); in load_vx_regs()
151 freg_t *fprs = (freg_t *)&vxrs[0].high; in save_fp_regs_vx()
158 freg_t *fprs = (freg_t *)&vxrs[0].high; in load_fp_regs_vx()
239 kernel_fpu_check_size(_flags, ARRAY_SIZE(s->vxrs)); \
271 fprs[i].ui = vxrs[i].high; in convert_vx_to_fp()
279 vxrs[i].high = fprs[i].ui; in convert_fp_to_vx()
286 convert_vx_to_fp((freg_t *)&fpregs->fprs, fpu->vxrs); in fpregs_store()
[all …]
A Dfpu-types.h16 __vector128 vxrs[__NUM_VXRS] __aligned(8); member
26 __vector128 vxrs[] __aligned(8); member
32 __vector128 vxrs[vxr_size] __aligned(8); \
A Dfpu-insn.h291 : [vxrs] "R" (*_v), \
309 : [vxrs] "Q" (*_v), \
436 : [vxrs] "=R" (*_v) \
453 : [vxrs] "=Q" (*_v) \
A Dipl.h62 void __init save_area_add_vxrs(struct save_area *, __vector128 *vxrs);

Completed in 21 milliseconds