/Linux-v5.10/arch/s390/kernel/ |
D | fpu.c | 31 asm volatile("std 0,%0" : "=Q" (state->fprs[0])); in __kernel_fpu_begin() 32 asm volatile("std 1,%0" : "=Q" (state->fprs[1])); in __kernel_fpu_begin() 33 asm volatile("std 2,%0" : "=Q" (state->fprs[2])); in __kernel_fpu_begin() 34 asm volatile("std 3,%0" : "=Q" (state->fprs[3])); in __kernel_fpu_begin() 35 asm volatile("std 4,%0" : "=Q" (state->fprs[4])); in __kernel_fpu_begin() 36 asm volatile("std 5,%0" : "=Q" (state->fprs[5])); in __kernel_fpu_begin() 37 asm volatile("std 6,%0" : "=Q" (state->fprs[6])); in __kernel_fpu_begin() 38 asm volatile("std 7,%0" : "=Q" (state->fprs[7])); in __kernel_fpu_begin() 39 asm volatile("std 8,%0" : "=Q" (state->fprs[8])); in __kernel_fpu_begin() 40 asm volatile("std 9,%0" : "=Q" (state->fprs[9])); in __kernel_fpu_begin() [all …]
|
D | ptrace.c | 255 offset = addr - (addr_t) &dummy->regs.fp_regs.fprs; in __peek_user() 261 ((addr_t) child->thread.fpu.fprs + offset); in __peek_user() 424 offset = addr - (addr_t) &dummy->regs.fp_regs.fprs; in __poke_user() 430 child->thread.fpu.fprs + offset) = data; in __poke_user() 656 offset = addr - (addr_t) &dummy32->regs.fp_regs.fprs; in __peek_user_compat() 662 ((addr_t) child->thread.fpu.fprs + offset); in __peek_user_compat() 785 offset = addr - (addr_t) &dummy32->regs.fp_regs.fprs; in __poke_user_compat() 791 child->thread.fpu.fprs + offset) = tmp; in __poke_user_compat() 1015 freg_t fprs[__NUM_FPRS]; in s390_fpregs_set() local 1021 convert_vx_to_fp(fprs, target->thread.fpu.vxrs); in s390_fpregs_set() [all …]
|
D | crash_dump.c | 44 u64 fprs[16]; member 94 memcpy(&sa->fprs, &lc->floating_pt_save_area, sizeof(sa->fprs)); in save_area_add_regs() 372 memcpy(&nt_fpregset.fprs, &sa->fprs, sizeof(sa->fprs)); in fill_cpu_elf_notes()
|
D | perf_regs.c | 24 : current->thread.fpu.fprs[idx]; in perf_reg_value()
|
D | process.c | 79 dst->thread.fpu.regs = dst->thread.fpu.fprs; in arch_dup_task_struct()
|
D | compat_linux.h | 32 freg_t32 fprs[__NUM_FPRS]; member
|
/Linux-v5.10/arch/s390/include/asm/fpu/ |
D | internal.h | 25 static inline void convert_vx_to_fp(freg_t *fprs, __vector128 *vxrs) in convert_vx_to_fp() argument 30 fprs[i] = *(freg_t *)(vxrs + i); in convert_vx_to_fp() 33 static inline void convert_fp_to_vx(__vector128 *vxrs, freg_t *fprs) in convert_fp_to_vx() argument 38 *(freg_t *)(vxrs + i) = fprs[i]; in convert_fp_to_vx() 46 convert_vx_to_fp((freg_t *)&fpregs->fprs, fpu->vxrs); in fpregs_store() 48 memcpy((freg_t *)&fpregs->fprs, fpu->fprs, in fpregs_store() 49 sizeof(fpregs->fprs)); in fpregs_store() 56 convert_fp_to_vx(fpu->vxrs, (freg_t *)&fpregs->fprs); in fpregs_load() 58 memcpy(fpu->fprs, (freg_t *)&fpregs->fprs, in fpregs_load() 59 sizeof(fpregs->fprs)); in fpregs_load()
|
D | types.h | 19 freg_t fprs[__NUM_FPRS]; member 33 freg_t fprs[__NUM_FPRS]; member
|
/Linux-v5.10/arch/sparc/kernel/ |
D | sigutil_64.c | 18 unsigned long fprs; in save_fpu_state() local 21 fprs = current_thread_info()->fpsaved[0]; in save_fpu_state() 22 if (fprs & FPRS_DL) in save_fpu_state() 25 if (fprs & FPRS_DU) in save_fpu_state() 30 err |= __put_user(fprs, &fpu->si_fprs); in save_fpu_state() 38 unsigned long fprs; in restore_fpu_state() local 44 err = get_user(fprs, &fpu->si_fprs); in restore_fpu_state() 47 if (fprs & FPRS_DL) in restore_fpu_state() 50 if (fprs & FPRS_DU) in restore_fpu_state() 55 current_thread_info()->fpsaved[0] |= fprs; in restore_fpu_state()
|
D | ptrace_64.c | 347 unsigned long fprs; in fpregs64_get() local 352 fprs = t->fpsaved[0]; in fpregs64_get() 354 if (fprs & FPRS_DL) in fpregs64_get() 359 if (fprs & FPRS_DU) in fpregs64_get() 363 if (fprs & FPRS_FEF) { in fpregs64_get() 369 return membuf_store(&to, fprs); in fpregs64_get() 378 unsigned long fprs; in fpregs64_set() local 398 fprs = task_thread_info(target)->fpsaved[0]; in fpregs64_set() 401 &fprs, in fpregs64_set() 406 fprs |= (FPRS_FEF | FPRS_DL | FPRS_DU); in fpregs64_set() [all …]
|
D | signal_64.c | 112 unsigned long fprs; in sparc64_set_context() local 115 err |= __get_user(fprs, &(ucp->uc_mcontext.mc_fpregs.mcfpu_fprs)); in sparc64_set_context() 116 if (fprs & FPRS_DL) in sparc64_set_context() 120 if (fprs & FPRS_DU) in sparc64_set_context() 210 unsigned long fprs; in sparc64_get_context() local 212 fprs = current_thread_info()->fpsaved[0]; in sparc64_get_context() 213 if (fprs & FPRS_DL) in sparc64_get_context() 216 if (fprs & FPRS_DU) in sparc64_get_context() 222 err |= __put_user(fprs, &(mcp->mc_fpregs.mcfpu_fprs)); in sparc64_get_context()
|
D | rtrap_64.S | 58 rd %fprs, %l5 341 rd %fprs, %g1 343 wr %g1, FPRS_FEF, %fprs 367 5: wr %g0, FPRS_FEF, %fprs 376 wr %g0, FPRS_DU, %fprs
|
D | fpu_traps.S | 11 rd %fprs, %g5 25 wr %g0, FPRS_FEF, %fprs 192 wr %g0, FPRS_FEF, %fprs ! clean DU/DL bits 338 rd %fprs, %g1 383 wr %g0, 0, %fprs
|
D | hvtramp.S | 95 wr %g0, 0, %fprs
|
/Linux-v5.10/arch/sparc/include/asm/ |
D | visasm.h | 16 rd %fprs, %o5; \ 23 297: wr %g0, FPRS_FEF, %fprs; \ 26 wr %g0, 0, %fprs; 38 rd %fprs, %o5; \ 43 297: wr %o5, FPRS_FEF, %fprs; 46 wr %o5, 0, %fprs;
|
D | sigcontext.h | 81 unsigned int fprs; member
|
/Linux-v5.10/arch/sparc/lib/ |
D | xor.S | 28 rd %fprs, %o5 34 0: wr %g0, FPRS_FEF, %fprs 93 wr %g0, 0, %fprs 98 rd %fprs, %o5 104 0: wr %g0, FPRS_FEF, %fprs 160 wr %g0, 0, %fprs 165 rd %fprs, %o5 171 0: wr %g0, FPRS_FEF, %fprs 246 wr %g0, 0, %fprs 252 rd %fprs, %o5 [all …]
|
D | U3memcpy.S | 16 #define VISEntryHalf rd %fprs, %o5; wr %g0, FPRS_FEF, %fprs; \ 18 #define VISExitHalf and %o5, FPRS_FEF, %o5; wr %o5, 0x0, %fprs 20 #define VISEntryHalf rd %fprs, %o5; wr %g0, FPRS_FEF, %fprs 21 #define VISExitHalf and %o5, FPRS_FEF, %o5; wr %o5, 0x0, %fprs
|
D | NG4memcpy.S | 20 rd %fprs, %o5; \ 23 wr %g0, FPRS_FEF, %fprs; \ 29 #define VISExitHalf and %o5, FPRS_FEF, %o5; wr %o5, 0x0, %fprs 32 #define VISExitHalf and %o5, FPRS_FEF, %o5; wr %o5, 0x0, %fprs
|
D | NG2memcpy.S | 18 #define VISEntryHalf rd %fprs, %o5; wr %g0, FPRS_FEF, %fprs; \ 20 #define VISExitHalf and %o5, FPRS_FEF, %o5; wr %o5, 0x0, %fprs 22 #define VISEntryHalf rd %fprs, %o5; wr %g0, FPRS_FEF, %fprs 23 #define VISExitHalf and %o5, FPRS_FEF, %o5; wr %o5, 0x0, %fprs
|
D | U1memcpy.S | 19 #define VISEntry rd %fprs, %o5; wr %g0, FPRS_FEF, %fprs; \ 21 #define VISExit and %o5, FPRS_FEF, %o5; wr %o5, 0x0, %fprs 23 #define VISEntry rd %fprs, %o5; wr %g0, FPRS_FEF, %fprs 24 #define VISExit and %o5, FPRS_FEF, %o5; wr %o5, 0x0, %fprs
|
/Linux-v5.10/tools/testing/selftests/kvm/s390x/ |
D | resets.c | 102 TEST_ASSERT(!memcmp(&fpu.fprs, regs_null, sizeof(fpu.fprs)), "fprs == 0"); in assert_clear() 125 TEST_ASSERT(sync_regs->fprs[0] == 0x3ff0000000000000UL, in assert_initial_noclear()
|
/Linux-v5.10/tools/arch/s390/include/uapi/asm/ |
D | kvm.h | 189 __u64 fprs[16]; member 261 __u64 fprs[16]; /* fp registers (KVM_SYNC_FPRS) */ member
|
/Linux-v5.10/arch/s390/include/uapi/asm/ |
D | kvm.h | 189 __u64 fprs[16]; member 261 __u64 fprs[16]; /* fp registers (KVM_SYNC_FPRS) */ member
|
D | sigcontext.h | 58 double fprs[__NUM_FPRS]; member
|