/freebsd-11-stable/contrib/gcc/config/sparc/ |
H A D | crtfastmath.c | 40 unsigned int fsr; local 43 the fsr register modified the upper 32-bit, the only thing up there 47 __asm__("st %%fsr, %0" 48 : "=m" (fsr)); 50 fsr |= FPRS_NS; 52 __asm__("ld %0, %%fsr" 53 : : "m" (fsr));
|
/freebsd-11-stable/lib/libc/sparc64/gen/ |
H A D | fpgetmask.c | 12 #include <machine/fsr.h> 20 __asm__("st %%fsr,%0" : "=m" (x));
|
H A D | fpgetround.c | 11 #include <machine/fsr.h> 19 __asm__("st %%fsr,%0" : "=m" (x));
|
H A D | fpgetsticky.c | 11 #include <machine/fsr.h> 19 __asm__("st %%fsr,%0" : "=m" (x));
|
H A D | fpsetmask.c | 9 #include <machine/fsr.h> 19 __asm__("st %%fsr,%0" : "=m" (old)); 25 __asm__("ld %0,%%fsr" : : "m" (new));
|
H A D | fpsetround.c | 11 #include <machine/fsr.h> 21 __asm__("st %%fsr,%0" : "=m" (old)); 27 __asm__("ld %0,%%fsr" : : "m" (new));
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | trap-v6.c | 215 abort_imprecise(struct trapframe *tf, u_int fsr, u_int prefetch, bool usermode) argument 225 abort_fatal(tf, FAULT_EA_IMPREC, fsr, 0, prefetch, curthread, NULL); 247 abort_debug(struct trapframe *tf, u_int fsr, u_int prefetch, bool usermode, argument 282 uint32_t fsr; local 298 fsr = (prefetch) ? cp15_ifsr_get(): cp15_dfsr_get(); 305 idx = FSR_TO_FAULT(fsr); 324 CTR6(KTR_TRAP, "%s: fsr %#x (idx %u) far %#x prefetch %u usermode %d", 325 __func__, fsr, idx, far, prefetch, usermode); 331 abort_imprecise(tf, fsr, prefetch, usermode); 336 abort_debug(tf, fsr, prefetc 551 abort_fatal(struct trapframe *tf, u_int idx, u_int fsr, u_int far, u_int prefetch, struct thread *td, struct ksig *ksig) argument 622 abort_align(struct trapframe *tf, u_int idx, u_int fsr, u_int far, u_int prefetch, struct thread *td, struct ksig *ksig) argument 659 abort_icache(struct trapframe *tf, u_int idx, u_int fsr, u_int far, u_int prefetch, struct thread *td, struct ksig *ksig) argument [all...] |
H A D | trap-v4.c | 180 u_int user, far, fsr; local 193 fsr = cpu_faultstatus(); 230 if (__predict_false(data_aborts[fsr & FAULT_TYPE_MASK].func != NULL)) { 231 if ((data_aborts[fsr & FAULT_TYPE_MASK].func)(tf, fsr, far, 275 dab_fatal(tf, fsr, far, td, &ksig); 318 if (IS_PERMISSION_FAULT(fsr)) 340 last_fault_code = fsr; 367 dab_fatal(tf, fsr, far, td, &ksig); 403 dab_fatal(struct trapframe *tf, u_int fsr, u_in argument 481 dab_align(struct trapframe *tf, u_int fsr, u_int far, struct thread *td, struct ksig *ksig) argument 527 dab_buserr(struct trapframe *tf, u_int fsr, u_int far, struct thread *td, struct ksig *ksig) argument [all...] |
/freebsd-11-stable/lib/libc/sparc64/fpu/ |
H A D | fpu.c | 83 #include <machine/fsr.h> 130 u_long fsr, tstate; local 134 fsr = uf->uf_fsr; 136 switch (FSR_GET_FTT(fsr)) { 156 fe.fe_fsr = fsr & ~FSR_FTT_MASK; 165 __asm __volatile("ldx %0, %%fsr" : : "m" (fe.fe_fsr)); 239 u_long fsr; local 247 fsr = fe->fe_fsr | (cx << FSR_CEXC_SHIFT); 249 if (fsr & (FSR_NV << FSR_TEM_SHIFT)) { 250 fe->fe_fsr = (fsr 274 u_long reg, fsr; local [all...] |
H A D | fpu_compare.c | 56 #include <machine/fsr.h> 79 * This updates the fcc field in the fsr.
|
H A D | fpu_div.c | 53 #include <machine/fsr.h>
|
H A D | fpu_add.c | 55 #include <machine/fsr.h>
|
H A D | fpu_subr.c | 53 #include <machine/fsr.h>
|
H A D | fpu_explode.c | 58 #include <machine/fsr.h>
|
H A D | fpu_qp.c | 31 #include <machine/fsr.h> 43 __asm __volatile("stx %%fsr, %0" : "=m" (fe.fe_fsr) :); \ 54 __asm __volatile("ldx %0, %%fsr" : : "m" (fe.fe_fsr)); \ 64 __asm __volatile("stx %%fsr, %0" : "=m" (fe.fe_fsr) :); \ 71 __asm __volatile("ldx %0, %%fsr" : : "m" (fe.fe_fsr)); \ 81 __asm __volatile("stx %%fsr, %0" : "=m" (fe.fe_fsr) :); \ 88 __asm __volatile("ldx %0, %%fsr" : : "m" (fe.fe_fsr)); \ 106 __asm __volatile("stx %%fsr, %0" : "=m" (fe.fe_fsr) :); \ 116 __asm __volatile("ldx %0, %%fsr" : : "m" (fe.fe_fsr)); \ 126 __asm __volatile("stx %%fsr, [all...] |
/freebsd-11-stable/sys/sparc64/include/ |
H A D | ieeefp.h | 12 #include <machine/fsr.h>
|
/freebsd-11-stable/sbin/fsck_ffs/ |
H A D | setup.c | 472 struct fsrecovery *fsr; local 492 fsr = (struct fsrecovery *)&fsrbuf[secsize - sizeof *fsr]; 493 if (fsr->fsr_magic != FS_UFS2_MAGIC) 496 fs->fs_fpg = fsr->fsr_fpg; 497 fs->fs_fsbtodb = fsr->fsr_fsbtodb; 498 fs->fs_sblkno = fsr->fsr_sblkno; 499 fs->fs_magic = fsr->fsr_magic; 500 fs->fs_ncg = fsr->fsr_ncg; 513 struct fsrecovery *fsr; local 550 struct fsrecovery *fsr; local [all...] |
/freebsd-11-stable/stand/sparc64/loader/ |
H A D | locore.S | 16 #include <machine/fsr.h>
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterInfoPOSIX_arm.h | 37 uint32_t fsr; /* Fault status */ member in struct:RegisterInfoPOSIX_arm::EXC
|
/freebsd-11-stable/lib/libthread_db/arch/sparc64/ |
H A D | libpthread_md.c | 35 #include <machine/fsr.h>
|
/freebsd-11-stable/sys/powerpc/fpu/ |
H A D | fpu_emu.c | 276 int ra, rb, rc, rt, type, mask, fsr, cx, bf, setcr; local 757 fsr = fe->fe_fpscr; 759 fsr &= ~FPSCR_FX; 760 if ((cx^fsr)&FPSR_EX_MSK) 761 fsr |= FPSCR_FX; 762 mask = fsr & FPSR_EX; 765 fsr |= FPSCR_FEX; 768 fsr &= ~FPSCR_FPRF; 771 fsr |= FPSCR_VX; 772 fsr | [all...] |
/freebsd-11-stable/sys/arm/include/ |
H A D | armreg.h | 434 #define FSR_TO_FAULT(fsr) (((fsr) & 0xF) | \ 435 ((((fsr) & (1 << 10)) >> (10 - 4))))
|
/freebsd-11-stable/sys/mips/include/ |
H A D | frame.h | 136 register_t fsr; member in struct:trapframe
|
/freebsd-11-stable/sbin/newfs/ |
H A D | mkfs.c | 124 struct fsrecovery *fsr; local 632 fsr = 633 (struct fsrecovery *)&fsrbuf[realsectorsize - sizeof *fsr]; 634 fsr->fsr_magic = sblock.fs_magic; 635 fsr->fsr_fpg = sblock.fs_fpg; 636 fsr->fsr_fsbtodb = sblock.fs_fsbtodb; 637 fsr->fsr_sblkno = sblock.fs_sblkno; 638 fsr->fsr_ncg = sblock.fs_ncg;
|
/freebsd-11-stable/sys/mips/mips/ |
H A D | db_interface.c | 344 /* TBD: when is fsr set */ 345 fpucsr = (curthread) ? curthread->td_pcb->pcb_regs.fsr : 0;
|