Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/intel/os/
H A Dhma_fpu.c46 hma_fpu_init(hma_fpu_t *fpu) in hma_fpu_init() argument
50 ASSERT0(fpu->hf_inguest); in hma_fpu_init()
82 if (fpu == NULL) in hma_fpu_free()
88 kmem_free(fpu, sizeof (*fpu)); in hma_fpu_free()
94 hma_fpu_t *fpu; in hma_fpu_alloc() local
97 if (fpu == NULL) in hma_fpu_alloc()
106 fpu->hf_inguest = B_FALSE; in hma_fpu_alloc()
124 return (fpu); in hma_fpu_alloc()
141 fpu->hf_inguest = B_TRUE; in hma_fpu_start_guest()
157 do_fp_save(fpu_ctx_t *fpu) in do_fp_save() argument
[all …]
H A Dfpu.c2663 fp_save(fpu); in fpu_proc_xregs_get()
2814 fp_free(fpu); in fpu_proc_xregs_set()
2921 fp_save(fpu); in fpu_signal_copyout()
2973 void *fpu; in fpu_signal_copyin() local
3049 bzero(fpu, ksize); in fpu_signal_copyin()
3099 fp_save(fpu); in fpu_signal_size()
3164 fp_save(fpu); in fpu_set_xsave()
3185 fpu->fpu_flags |= FPU_VALID; in fpu_set_xsave()
3220 fp_save(fpu); in fpu_get_fpregset()
3278 fp_save(fpu); in fpu_set_fpregset()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/xsave/
H A Dxsave_util.c89 fpu->xf_reg[regno]._l[u32] = start; in xsu_fill()
103 fpu->xf_opmask[regno] = val; in xsu_fill()
129 &fpu->xf_reg[i]._l[XSU_XMM_U32], in xsu_overwrite_uctx_ymm()
159 &fpu->xf_reg[i]._l[0], in xsu_overwrite_uctx_hi_zmm()
217 xsu_overwrite_uctx_xmm(uctx, fpu); in xsu_overwrite_uctx()
226 sizeof (fpu->xf_opmask)); in xsu_overwrite_uctx()
335 fpu->xf_opmask[i]); in xsu_dump()
395 &fpu->xf_reg[i]._l[0], in xsu_fpu_to_xregs_zmm()
488 xsu_fpu_to_xregs_xsave(&prx, fpu); in xsu_fpu_to_xregs()
490 xsu_fpu_to_xregs_ymm(&prx, fpu); in xsu_fpu_to_xregs()
[all …]
H A Dxregs_dump.c28 static xsu_fpu_t fpu; variable
48 xsu_getfpu(&fpu, hwsup); in main()
49 xsu_dump(f, &fpu, hwsup); in main()
H A Dxregs_set.c33 static xsu_fpu_t fpu; variable
53 xsu_fill(&fpu, hwsup, (uint32_t)ul); in main()
54 xsu_setfpu(&fpu, hwsup); in main()
H A Dproc_xregs_set.c49 static xsu_fpu_t fpu; variable
80 xsu_fill(&fpu, hwsup, seed); in main()
81 xsu_fpu_to_xregs(&fpu, hwsup, &prx, &prx_len); in main()
H A Dfpregs.c38 static xsu_fpu_t fpu; variable
71 xsu_fill(&fpu, hwsup, seed); in main()
72 xsu_fpu_to_xregs(&fpu, hwsup, &prx, &prx_len); in main()
/illumos-gate/usr/src/uts/sun4u/sunfire/ml/
H A Dac_asm.S51 ! i4 = cache of fpu state
58 ! XXX do we need to save the state of the fpu?
104 wr %g0, %i4, %fprs ! fpu back to the way it was
/illumos-gate/usr/src/uts/sun4u/serengeti/ml/
H A Dsbdp_asm.S209 ! i4 = cache of fpu state
216 ! XXX do we need to save the state of the fpu?
262 wr %g0, %i4, %fprs ! fpu back to the way it was
/illumos-gate/usr/src/uts/sparc/v9/ml/
H A Dfloat.S104 wr %g0, FPRS_FEF, %fprs ! enable fpu in fprs
106 or %g2, PSTATE_PEF, %g1 ! new pstate with fpu enabled
119 wr %g0, %g0, %fprs ! disable fpu and clear fprs
/illumos-gate/usr/src/lib/libmvec/i386_hwcap1/
H A Dmapfile19 hw += fpu cmov sse sse2;
/illumos-gate/usr/src/lib/libc/i386_hwcap1/
H A Dmapfile27 hw += fpu cmov sep mmx sse;
/illumos-gate/usr/src/lib/libc/i386_hwcap2/
H A Dmapfile27 hw += fpu cmov amd_sysc mmx sse sse2;
/illumos-gate/usr/src/lib/libc/i386_hwcap3/
H A Dmapfile27 hw += fpu cmov mmx sse;
/illumos-gate/usr/src/tools/smatch/src/smatch_data/
H A Dkernel.implicit_dependencies.no_structs266 …r, (struct thread_struct)->uaccess_err, (struct fpu)->last_cpu, (struct fpu)->fpstate_active, (str…
268 …r, (struct thread_struct)->uaccess_err, (struct fpu)->last_cpu, (struct fpu)->fpstate_active, (str…
269 …r, (struct thread_struct)->uaccess_err, (struct fpu)->last_cpu, (struct fpu)->fpstate_active, (str…
292 …r, (struct thread_struct)->uaccess_err, (struct fpu)->last_cpu, (struct fpu)->fpstate_active, (str…
293 …r, (struct thread_struct)->uaccess_err, (struct fpu)->last_cpu, (struct fpu)->fpstate_active, (str…
296 …r, (struct thread_struct)->uaccess_err, (struct fpu)->last_cpu, (struct fpu)->fpstate_active, (str…
322 …r, (struct thread_struct)->uaccess_err, (struct fpu)->last_cpu, (struct fpu)->fpstate_active, (str…
325 …r, (struct thread_struct)->uaccess_err, (struct fpu)->last_cpu, (struct fpu)->fpstate_active, (str…
326 …r, (struct thread_struct)->uaccess_err, (struct fpu)->last_cpu, (struct fpu)->fpstate_active, (str…
426 …r, (struct thread_struct)->uaccess_err, (struct fpu)->last_cpu, (struct fpu)->fpstate_active, (str…
[all …]
/illumos-gate/usr/src/common/crypto/sha1/
H A Dsha1.c209 kfpu_t *fpu; in SHA1Update() local
215 fpu = (kfpu_t *)P2ROUNDUP((uintptr_t)fpua, 64); in SHA1Update()
217 usevis = fpu_exists && sha1_savefp(fpu, svfp_ok); in SHA1Update()
297 sha1_restorefp(fpu); in SHA1Update()
/illumos-gate/usr/src/uts/intel/
H A DMakefile.files53 fpu.o \
/illumos-gate/usr/src/uts/intel/syscall/
H A Dgetcontext.c294 void *fpu = NULL; in getsetcontext() local
/illumos-gate/usr/src/uts/sun4/ml/
H A Doffsets.in87 #include <sys/fpu/fpu_simulator.h>
H A Dswtch.S140 wr %g0, %g0, %fprs ! disable fpu and clear fprs
/illumos-gate/usr/src/common/bignum/
H A Dbignumimpl.c2059 kfpu_t *fpu; in big_modexp_ncp_float() local
2066 fpu = (kfpu_t *)P2ROUNDUP((uintptr_t)fpua, FPR_ALIGN); in big_modexp_ncp_float()
2067 big_savefp(fpu); in big_modexp_ncp_float()
2288 big_restorefp(fpu); in big_modexp_ncp_float()
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dspitfire_asm.S1812 bz,a,pt %xcc, 1f ! if the fpu is disabled
1813 wr %g0, FPRS_FEF, %fprs ! ... enable the fpu
H A Dopl_olympus_asm.S1588 bz,a,pt %xcc, 1f ! if the fpu is disabled
1589 wr %g0, FPRS_FEF, %fprs ! ... enable the fpu
H A Dus3_common_asm.S2368 bz,a,pt %xcc, 1f ! if the fpu is disabled
2369 wr %g0, FPRS_FEF, %fprs ! ... enable the fpu
/illumos-gate/usr/src/common/crypto/sha1/sparc/sun4u/
H A Dsha1_asm.S46 sha1_savefp(kfpu_t *fpu, int svfp_ok)
51 sha1_restorefp(kfpu_t *fpu)