Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/sparc/syscall/
H A Dgetcontext.c66 bzero(&ucp->uc_mcontext.fpregs.fpu_en, sizeof (ucontext_t) - in savecontext()
67 offsetof(ucontext_t, uc_mcontext.fpregs.fpu_en)); in savecontext()
107 getfpregs(lwp, &ucp->uc_mcontext.fpregs); in savecontext()
109 if (ucp->uc_mcontext.fpregs.fpu_en == 0) in savecontext()
152 fpregset_t *fp = &ucp->uc_mcontext.fpregs; in restorecontext()
216 uc.uc_mcontext.fpregs.fpu_qcnt = 0; in getsetcontext()
217 uc.uc_mcontext.fpregs.fpu_q = (struct fq *)NULL; in getsetcontext()
233 sizeof (uc.uc_mcontext.fpregs) - in getsetcontext()
245 fpp = &uc.uc_mcontext.fpregs; in getsetcontext()
250 if (copyin(&ucp->uc_mcontext.fpregs, in getsetcontext()
[all …]
/titanic_41/usr/src/uts/intel/ia32/syscall/
H A Dgetcontext.c65 bzero(&ucp->uc_mcontext.fpregs, sizeof (ucontext_t) - in savecontext()
66 offsetof(ucontext_t, uc_mcontext.fpregs)); in savecontext()
124 getfpregs(lwp, &ucp->uc_mcontext.fpregs); in savecontext()
165 setfpregs(lwp, &ucp->uc_mcontext.fpregs); in restorecontext()
219 sizeof (uc.uc_mcontext.fpregs))) { in getsetcontext()
226 copyin(&ucp->uc_mcontext.fpregs, &uc.uc_mcontext.fpregs, in getsetcontext()
227 sizeof (uc.uc_mcontext.fpregs))) { in getsetcontext()
263 bzero(&ucp->uc_mcontext.fpregs, sizeof (ucontext32_t) - in savecontext32()
264 offsetof(ucontext32_t, uc_mcontext.fpregs)); in savecontext32()
310 getfpregs32(lwp, &ucp->uc_mcontext.fpregs); in savecontext32()
[all …]
/titanic_41/usr/src/lib/libm/common/m9x/
H A D__fex_hdlr.c270 i = ((int)uap->uc_mcontext.fpregs.fpu_fsr >> 5) & 0x1f; in __fex_hdlr()
343 fsr = uap->uc_mcontext.fpregs.fpu_fsr; in __fex_hdlr()
347 uap->uc_mcontext.fpregs.fpu_fsr = fsr; in __fex_hdlr()
402 if (!(uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.status & 0x80)) { in __fex_hdlr()
420 accrued = uap->uc_mcontext.fpregs.fp_reg_set. in __fex_hdlr()
462 accrued |= uap->uc_mcontext.fpregs.fp_reg_set. in __fex_hdlr()
514 uap->uc_mcontext.fpregs.fp_reg_set. in __fex_hdlr()
516 uap->uc_mcontext.fpregs.fp_reg_set. in __fex_hdlr()
519 uap->uc_mcontext.fpregs.fp_reg_set. in __fex_hdlr()
521 uap->uc_mcontext.fpregs.fp_reg_set. in __fex_hdlr()
[all …]
H A D__fex_i386.c140 #define fpreg(u,x) *(long double *)(10*(x)+(char*)&(u)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.…
142 #define fpreg(u,x) *(long double *)(10*(x)+(char*)&(u)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.…
153 sw = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.status; in __fex_get_x86_exc()
155 cw = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.cw; in __fex_get_x86_exc()
157 cw = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.state[CW]; in __fex_get_x86_exc()
246 op = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.fop >> 16; in __fex_get_invalid_type()
247 ea = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.rdp; in __fex_get_invalid_type()
249 op = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.state[OP] >> 16; in __fex_get_invalid_type()
250 ea = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.state[EA]; in __fex_get_invalid_type()
579 sw = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.status; in __fex_get_op()
[all …]
H A D__fex_sparc.c49 #define FPreg(X) &uap->uc_mcontext.fpregs.fpu_fr.fpu_regs[X]
51 #define FPREG(X) &uap->uc_mcontext.fpregs.fpu_fr.fpu_dregs[(X>>1)| \
60 #define FPreg(X) &uap->uc_mcontext.fpregs.fpu_fr.fpu_regs[X]
100 instr = uap->uc_mcontext.fpregs.fpu_q->FQu.fpq.fpq_instr; in __fex_get_invalid_type()
194 instr = uap->uc_mcontext.fpregs.fpu_q->FQu.fpq.fpq_instr; in __fex_get_op()
484 instr = uap->uc_mcontext.fpregs.fpu_q->FQu.fpq.fpq_instr; in __fex_st_result()
493 uap->uc_mcontext.fpregs.fpu_fsr |= 0xc00; in __fex_st_result()
496 uap->uc_mcontext.fpregs.fpu_fsr |= (3l << ((rd << 1) + 30)); in __fex_st_result()
H A D__fex_sse.c207 inst->op1 = (sseoperand_t *)&uap->uc_mcontext.fpregs.fp_reg_set. in __fex_parse_sse()
211 (char *)&uap->uc_mcontext.fpregs.fp_reg_set. in __fex_parse_sse()
217 inst->op1 = (sseoperand_t *)&uap->uc_mcontext.fpregs. in __fex_parse_sse()
231 inst->op2 = (sseoperand_t *)&uap->uc_mcontext.fpregs. in __fex_parse_sse()
235 (char *)&uap->uc_mcontext.fpregs.fp_reg_set. in __fex_parse_sse()
241 inst->op2 = (sseoperand_t *)&uap->uc_mcontext.fpregs. in __fex_parse_sse()
808 te = ~(uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.mxcsr in __fex_get_sse_op()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.h115 #define PTL_GETFPREGS(t, tid, fpregs) \ argument
117 ((pt_data_t *)((t)->t_data))->p_ptl_hdl, (tid), (fpregs)))
119 #define PTL_SETFPREGS(t, tid, fpregs) \ argument
121 ((pt_data_t *)((t)->t_data))->p_ptl_hdl, (tid), (fpregs)))
H A Dmdb_proc.c4810 prfpregset_t *fpregs) in pt_lwp_getfpregs() argument
4814 (lwpid_t)tid, fpregs))); in pt_lwp_getfpregs()
4822 const prfpregset_t *fpregs) in pt_lwp_setfpregs() argument
4826 (lwpid_t)tid, fpregs))); in pt_lwp_setfpregs()
5016 prfpregset_t *fpregs) in pt_tdb_getfpregs() argument
5029 err = pt->p_tdb_ops->td_thr_getfpregs(&th, fpregs); in pt_tdb_getfpregs()
5038 const prfpregset_t *fpregs) in pt_tdb_setfpregs() argument
5051 err = pt->p_tdb_ops->td_thr_setfpregs(&th, fpregs); in pt_tdb_setfpregs()
/titanic_41/usr/src/uts/common/exec/elf/
H A Dold_notes.c109 prfpregset_t fpregs; in write_old_elfnotes() member
198 prgetprfpregs(lwp, &bigwad->fpregs); in write_old_elfnotes()
200 sizeof (bigwad->fpregs), (caddr_t)&bigwad->fpregs, in write_old_elfnotes()
/titanic_41/usr/src/ucblib/libucb/sparc/sys/
H A Dsignal.c314 if (ucp->uc_mcontext.fpregs.fpu_qcnt > 0) { in ucbsigvechandler()
315 ucp->uc_mcontext.fpregs.fpu_qcnt--; in ucbsigvechandler()
316 ucp->uc_mcontext.fpregs.fpu_q++; in ucbsigvechandler()
380 if (ucp->uc_mcontext.fpregs.fpu_qcnt > 0) { in __sigcleanup()
381 ucp->uc_mcontext.fpregs.fpu_qcnt--; in __sigcleanup()
382 ucp->uc_mcontext.fpregs.fpu_q++; in __sigcleanup()
/titanic_41/usr/src/uts/sun4u/sunfire/ml/
H A Dac_asm.s80 ! save in-use fpregs on stack
109 ! restore fpregs from stack
/titanic_41/usr/src/uts/sparc/v9/os/
H A Dv9dep.c205 fpregset_t fpregs; in setfpregs32() local
207 fpuregset_32ton(fp, &fpregs, NULL, NULL); in setfpregs32()
208 setfpregs(lwp, &fpregs); in setfpregs32()
312 fpregset_t fpregs; in getfpregs32() local
314 getfpregs(lwp, &fpregs); in getfpregs32()
315 fpuregset_nto32(&fpregs, fp, NULL); in getfpregs32()
1102 sulword_noerr(&fp->uc.uc_mcontext.fpregs.fpu_q, (ulong_t)fqp); in sendsig()
1121 sulword_noerr(&fp->uc.uc_mcontext.fpregs.fpu_q, (ulong_t)NULL); in sendsig()
1122 suword8_noerr(&fp->uc.uc_mcontext.fpregs.fpu_qcnt, 0); in sendsig()
1437 suword32_noerr(&fp->uc.uc_mcontext.fpregs.fpu_q, in sendsig32()
[all …]
/titanic_41/usr/src/lib/libproc/common/
H A DPlwpregs.c209 Plwp_getfpregs(struct ps_prochandle *P, lwpid_t lwpid, prfpregset_t *fpregs) in Plwp_getfpregs() argument
216 (void) memcpy(fpregs, &lps.pr_fpreg, sizeof (prfpregset_t)); in Plwp_getfpregs()
221 const prfpregset_t *fpregs) in Plwp_setfpregs() argument
223 return (setlwpregs(P, lwpid, PCSFPREG, fpregs, sizeof (prfpregset_t))); in Plwp_setfpregs()
/titanic_41/usr/src/uts/sparc/sys/
H A Dregset.h391 fpregset_t fpregs; /* floating point register set */ member
406 fpregset32_t fpregs; /* floating point register set */ member
/titanic_41/usr/src/uts/intel/sys/
H A Dregset.h384 fpregset_t fpregs; /* floating point register set */ member
391 fpregset32_t fpregs; /* floating point register set */ member
/titanic_41/usr/src/lib/libbc/libc/sys/common/
H A Ducontext.h92 fpregset_t fpregs; /* floating point register set */ member
/titanic_41/usr/src/uts/intel/ia32/os/
H A Darchdep.c420 fpregset_t fpregs; in setfpregs32() local
422 fpregset_32ton(fp, &fpregs); in setfpregs32()
423 setfpregs(lwp, &fpregs); in setfpregs32()
432 fpregset_t fpregs; in getfpregs32() local
434 getfpregs(lwp, &fpregs); in getfpregs32()
435 fpregset_nto32(&fpregs, fp); in getfpregs32()
576 fpregset_32ton(&src->uc_mcontext.fpregs, in ucontext_32ton()
577 &dst->uc_mcontext.fpregs); in ucontext_32ton()
/titanic_41/usr/src/uts/sun4u/serengeti/ml/
H A Dsbdp_asm.s267 ! save in-use fpregs on stack
296 ! restore fpregs from stack
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprioctl.c187 prfpregset_t fpregs; in prioctl64() member
361 if (copyin(cmaddr, &un.fpregs, sizeof (un.fpregs))) in prioctl64()
773 bzero(&un.fpregs, sizeof (un.fpregs)); in prioctl64()
777 prgetprfpregs(lwp, &un.fpregs); in prioctl64()
781 if (copyout(&un.fpregs, cmaddr, sizeof (un.fpregs))) in prioctl64()
793 prsetprfpregs(lwp, &un.fpregs); in prioctl64()
1725 prfpregset32_t fpregs; in prioctl32() member
1924 if (copyin(cmaddr, &un32.fpregs, sizeof (un32.fpregs))) in prioctl32()
2373 bzero(&un32.fpregs, sizeof (un32.fpregs)); in prioctl32()
2377 prgetprfpregs32(lwp, &un32.fpregs); in prioctl32()
[all …]
/titanic_41/usr/src/uts/sun4u/cpu/
H A Dspitfire_copy.s534 ! restore fpregs from stack
551 FZERO ! zero all of the fpregs
708 bgeu %ncc, 1f ! if we have to save the fpregs)
737 ! save in-use fpregs on stack
1526 ! restore fpregs from stack
1543 FZERO ! zero all of the fpregs
1946 ! get another window w/space for three aligned blocks of saved fpregs
1953 ! %l1 - pointer to saved fpregs
1960 ! save in-use fpregs on stack
2009 ! restore fpregs from stack
[all …]
H A Dcheetah_copy.s1580 ! get another window w/space for three aligned blocks of saved fpregs
1587 ! %l1 - pointer to saved fpregs
3632 ! get another window w/space for one aligned block of saved fpregs
3662 ! save in-use fpregs on stack
3715 ! restore fpregs from stack
H A Dopl_olympus_copy.s1522 ! get another window w/space for three aligned blocks of saved fpregs
1530 ! %l1 - pointer to saved fpregs
3546 ! get another window w/space for one aligned block of saved fpregs
3576 ! save in-use fpregs on stack
3629 ! restore fpregs from stack
/titanic_41/usr/src/lib/libc/port/threads/
H A Dsigaction.c206 if (sig == SIGFPE && ucp->uc_mcontext.fpregs.fpu_qcnt) { in call_user_handler()
207 fpregset_t *fp = &ucp->uc_mcontext.fpregs; in call_user_handler()
/titanic_41/usr/src/uts/sun4u/vm/
H A Dmach_sfmmu_asm.s696 ! restore fpregs from stack
/titanic_41/usr/src/uts/sun4v/cpu/
H A Dniagara_copy.s2952 ! restore fpregs from stack
2958 FZERO ! zero all of the fpregs