Home
last modified time | relevance | path

Searched refs:fprs (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.10/arch/s390/kernel/
Dfpu.c31 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 …]
Dptrace.c255 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 …]
Dcrash_dump.c44 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()
Dperf_regs.c24 : current->thread.fpu.fprs[idx]; in perf_reg_value()
Dprocess.c79 dst->thread.fpu.regs = dst->thread.fpu.fprs; in arch_dup_task_struct()
Dcompat_linux.h32 freg_t32 fprs[__NUM_FPRS]; member
/Linux-v5.10/arch/s390/include/asm/fpu/
Dinternal.h25 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()
Dtypes.h19 freg_t fprs[__NUM_FPRS]; member
33 freg_t fprs[__NUM_FPRS]; member
/Linux-v5.10/arch/sparc/kernel/
Dsigutil_64.c18 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()
Dptrace_64.c347 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 …]
Dsignal_64.c112 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()
Drtrap_64.S58 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
Dfpu_traps.S11 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
Dhvtramp.S95 wr %g0, 0, %fprs
/Linux-v5.10/arch/sparc/include/asm/
Dvisasm.h16 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;
Dsigcontext.h81 unsigned int fprs; member
/Linux-v5.10/arch/sparc/lib/
Dxor.S28 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 …]
DU3memcpy.S16 #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
DNG4memcpy.S20 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
DNG2memcpy.S18 #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
DU1memcpy.S19 #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/
Dresets.c102 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/
Dkvm.h189 __u64 fprs[16]; member
261 __u64 fprs[16]; /* fp registers (KVM_SYNC_FPRS) */ member
/Linux-v5.10/arch/s390/include/uapi/asm/
Dkvm.h189 __u64 fprs[16]; member
261 __u64 fprs[16]; /* fp registers (KVM_SYNC_FPRS) */ member
Dsigcontext.h58 double fprs[__NUM_FPRS]; member

12