Searched full:fpu (Results 1 – 25 of 715) sorted by relevance
12345678910>>...29
6 * General FPU state handling cleanups9 #include <asm/fpu/internal.h>10 #include <asm/fpu/regset.h>11 #include <asm/fpu/signal.h>12 #include <asm/fpu/types.h>20 #include <asm/trace/fpu.h>23 * Represents the initial FPU state. It's mostly (but not completely) zeroes,24 * depending on the FPU hardware format:29 * Track whether the kernel is using the FPU state34 * - by IRQ context code to potentially use the FPU[all …]
3 * FPU register's regset abstraction, for ptrace, core dumps, etc.5 #include <asm/fpu/internal.h>6 #include <asm/fpu/signal.h>7 #include <asm/fpu/regset.h>8 #include <asm/fpu/xstate.h>32 struct fpu *fpu = &target->thread.fpu; in xfpregs_get() local37 fpu__prepare_read(fpu); in xfpregs_get()38 fpstate_sanitize_xstate(fpu); in xfpregs_get()40 return membuf_write(&to, &fpu->state.fxsave, sizeof(struct fxregs_state)); in xfpregs_get()47 struct fpu *fpu = &target->thread.fpu; in xfpregs_set() local[all …]
3 * FPU signal frame handling routines.10 #include <asm/fpu/internal.h>11 #include <asm/fpu/signal.h>12 #include <asm/fpu/regset.h>13 #include <asm/fpu/xstate.h>16 #include <asm/trace/fpu.h>61 struct xregs_state *xsave = &tsk->thread.fpu.state.xsave; in save_fsave_header()67 copy_fxregs_to_kernel(&tsk->thread.fpu); in save_fsave_header()144 * Save the fpu, extended register state to the user signal frame.154 * If this fails then do the slow path where the FPU state is first saved to[all …]
3 * x86 FPU boot time init code:5 #include <asm/fpu/internal.h>37 fpstate_init_soft(¤t->thread.fpu.state.soft); in fpu__init_cpu_generic()44 * Enable all supported FPU features. Called when a CPU is brought online:65 pr_info("x86/fpu: Probing for FPU: FSW=0x%04hx FCW=0x%04hx\n", fsw, fcw); in fpu__probe_without_cpuid()82 pr_emerg("x86/fpu: Giving up, no FPU found and no math emulation present\n"); in fpu__init_system_early_generic()90 * Boot time FPU feature detection code:119 * Once per bootup FPU initialization sequences that will run on most x86 CPUs:124 * Set up the legacy init FPU context. (xstate init might overwrite this in fpu__init_system_generic()133 * Size of the FPU context state. All tasks in the system use the[all …]
11 TP_PROTO(struct fpu *fpu),12 TP_ARGS(fpu),15 __field(struct fpu *, fpu)22 __entry->fpu = fpu;25 __entry->xfeatures = fpu->state.xsave.header.xfeatures;26 __entry->xcomp_bv = fpu->state.xsave.header.xcomp_bv;29 TP_printk("x86/fpu: %p load: %d xfeatures: %llx xcomp_bv: %llx",30 __entry->fpu,38 TP_PROTO(struct fpu *fpu),39 TP_ARGS(fpu)[all …]
60 #define FPU(ver, _name) \ macro75 FPU(0, "Fujitsu MB86910 or Weitek WTL1164/5"),76 FPU(1, "Fujitsu MB86911 or Weitek WTL1164/5 or LSI L64831"),77 FPU(2, "LSI Logic L64802 or Texas Instruments ACT8847"),79 FPU(3, "Weitek WTL3170/2"),81 FPU(4, "Lsi Logic/Meiko L64804 or compatible"),82 FPU(-1, NULL)99 FPU(0, "ROSS HyperSparc combined IU/FPU"),100 FPU(1, "Lsi Logic L64814"),101 FPU(2, "Texas Instruments TMS390-C602A"),[all …]
15 int save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu) in save_fpu_state() argument23 err |= copy_to_user(&fpu->si_float_regs[0], fpregs, in save_fpu_state()26 err |= copy_to_user(&fpu->si_float_regs[32], fpregs+16, in save_fpu_state()28 err |= __put_user(current_thread_info()->xfsr[0], &fpu->si_fsr); in save_fpu_state()29 err |= __put_user(current_thread_info()->gsr[0], &fpu->si_gsr); in save_fpu_state()30 err |= __put_user(fprs, &fpu->si_fprs); in save_fpu_state()35 int restore_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu) in restore_fpu_state() argument41 if (((unsigned long) fpu) & 7) in restore_fpu_state()44 err = get_user(fprs, &fpu->si_fprs); in restore_fpu_state()48 err |= copy_from_user(fpregs, &fpu->si_float_regs[0], in restore_fpu_state()[all …]
15 int save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu) in save_fpu_state() argument35 err |= __copy_to_user(&fpu->si_float_regs[0], in save_fpu_state()38 err |= __put_user(current->thread.fsr, &fpu->si_fsr); in save_fpu_state()39 err |= __put_user(current->thread.fpqdepth, &fpu->si_fpqdepth); in save_fpu_state()41 err |= __copy_to_user(&fpu->si_fpqueue[0], in save_fpu_state()49 int restore_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu) in restore_fpu_state() argument53 if (((unsigned long) fpu) & 3) in restore_fpu_state()68 if (!access_ok(fpu, sizeof(*fpu))) in restore_fpu_state()71 err = __copy_from_user(¤t->thread.float_regs[0], &fpu->si_float_regs[0], in restore_fpu_state()73 err |= __get_user(current->thread.fsr, &fpu->si_fsr); in restore_fpu_state()[all …]
140 OFFSET(THREAD_FPU, task_struct, thread.fpu); in output_thread_fpu_defines()142 OFFSET(THREAD_FPR0, task_struct, thread.fpu.fpr[0]); in output_thread_fpu_defines()143 OFFSET(THREAD_FPR1, task_struct, thread.fpu.fpr[1]); in output_thread_fpu_defines()144 OFFSET(THREAD_FPR2, task_struct, thread.fpu.fpr[2]); in output_thread_fpu_defines()145 OFFSET(THREAD_FPR3, task_struct, thread.fpu.fpr[3]); in output_thread_fpu_defines()146 OFFSET(THREAD_FPR4, task_struct, thread.fpu.fpr[4]); in output_thread_fpu_defines()147 OFFSET(THREAD_FPR5, task_struct, thread.fpu.fpr[5]); in output_thread_fpu_defines()148 OFFSET(THREAD_FPR6, task_struct, thread.fpu.fpr[6]); in output_thread_fpu_defines()149 OFFSET(THREAD_FPR7, task_struct, thread.fpu.fpr[7]); in output_thread_fpu_defines()150 OFFSET(THREAD_FPR8, task_struct, thread.fpu.fpr[8]); in output_thread_fpu_defines()[all …]
21 /* FPU modes */29 * struct mode_req - ABI FPU mode requirements30 * @single: The program being loaded needs an FPU but it will only issue34 * loaded needs has no FPU dependency at all (i.e. it has no35 * FPU instructions).36 * @fr1: The program being loaded depends on FPU being in FR=1 mode.37 * @frdefault: The program being loaded depends on the default FPU mode.39 * @fre: The program being loaded depends on FPU with FRE=1. This mode is211 /* It's time to determine the FPU mode requirements */ in arch_check_elf()216 * Check whether the program's and interp's ABIs have a matching FPU in arch_check_elf()[all …]
6 * General FPU state handling cleanups20 #include <asm/fpu/api.h>21 #include <asm/fpu/xstate.h>22 #include <asm/fpu/xcr.h>24 #include <asm/trace/fpu.h>27 * High level FPU state handling functions:29 extern void fpu__prepare_read(struct fpu *fpu);30 extern void fpu__prepare_write(struct fpu *fpu);31 extern void fpu__save(struct fpu *fpu);33 extern void fpu__drop(struct fpu *fpu);[all …]
3 * FPU data structures:9 * The legacy x87 FPU state format, as saved by FSAVE and13 u32 cwd; /* FPU Control Word */14 u32 swd; /* FPU Status Word */15 u32 twd; /* FPU Tag Word */16 u32 fip; /* FPU IP Offset */17 u32 fcs; /* FPU IP Selector */18 u32 foo; /* FPU Operand Pointer Offset */19 u32 fos; /* FPU Operand Pointer Selector */29 * The legacy fx SSE/MMX FPU state format, as saved by FXSAVE and[all …]
6 * General FPU state handling cleanups16 * Use kernel_fpu_begin/end() if you intend to use FPU in kernel context. It19 * If you intend to use the FPU in irq/softirq you need to check first with23 /* Kernel FPU states to initialize in kernel_fpu_begin_mask() */39 * Use fpregs_lock() while editing CPU's FPU registers or fpu->state.40 * A context switch will (and softirq might) save CPU's FPU registers to41 * fpu->state and set TIF_NEED_FPU_LOAD leaving CPU's FPU registers in63 * Load the task FPU state before returning to userspace.
7 TUNEVALID[fpu-soft] = "Software FPU"8 TUNEVALID[fpu-hard] = "Hardware FPU in basic mode"9 TUNEVALID[fpu-hard-extended] = "Hardware FPU in extended mode (conversion and square root instructi…11 TUNECONFLICTS[fpu-soft] = "fpu-hard fpu-hard-extended"12 TUNECONFLICTS[fpu-hard] = "fpu-soft"13 TUNECONFLICTS[fpu-hard-extended] = "fpu-soft"21 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', '', '', d)}"22 TUNE_CCARGS .= "${@bb.utils.contains_any('TUNE_FEATURES', ['fpu-hard', 'fpu-hard-extended'], ' -mha…23 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard-extended', ' -mxl-float-convert -mx…25 # Set target fpu (bitbake known target) to soft or hard (basic or extended)[all …]
pax_global_header glibc-4f4d7a13edfd2fdc57c9d76e1fd6d017fb47550c/ glibc-4f4d7a13edfd2fdc57c9d76e1fd6d017fb47550c/.clang-format glibc-4f4d7a13edfd2fdc57c9d76e1fd6d017fb47550c ...
3 * FPU state and register content conversion primitives14 #include <asm/fpu/types.h>41 static inline void fpregs_store(_s390_fp_regs *fpregs, struct fpu *fpu) in fpregs_store() argument44 fpregs->fpc = fpu->fpc; in fpregs_store()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()52 static inline void fpregs_load(_s390_fp_regs *fpregs, struct fpu *fpu) in fpregs_load() argument54 fpu->fpc = fpregs->fpc; in fpregs_load()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()
20 fpu/softfloat-parts.c.inc | 4 ++--21 fpu/softfloat-specialize.c.inc | 12 ++++++------22 include/fpu/softfloat-types.h | 1 +25 diff --git a/fpu/softfloat-parts.c.inc b/fpu/softfloat-parts.c.inc27 --- a/fpu/softfloat-parts.c.inc28 +++ b/fpu/softfloat-parts.c.inc54 diff --git a/fpu/softfloat-specialize.c.inc b/fpu/softfloat-specialize.c.inc56 --- a/fpu/softfloat-specialize.c.inc57 +++ b/fpu/softfloat-specialize.c.inc112 diff --git a/include/fpu/softfloat-types.h b/include/fpu/softfloat-types.h[all …]
20 fpu/softfloat-parts.c.inc | 18 ++++++++++++------21 fpu/softfloat.c | 4 +++-22 include/fpu/softfloat-types.h | 1 +25 diff --git a/fpu/softfloat-parts.c.inc b/fpu/softfloat-parts.c.inc27 --- a/fpu/softfloat-parts.c.inc28 +++ b/fpu/softfloat-parts.c.inc91 diff --git a/fpu/softfloat.c b/fpu/softfloat.c93 --- a/fpu/softfloat.c94 +++ b/fpu/softfloat.c107 diff --git a/include/fpu/softfloat-types.h b/include/fpu/softfloat-types.h[all …]
20 fpu/softfloat-parts.c.inc | 3 ++-21 include/fpu/softfloat-types.h | 1 +24 diff --git a/fpu/softfloat-parts.c.inc b/fpu/softfloat-parts.c.inc26 --- a/fpu/softfloat-parts.c.inc27 +++ b/fpu/softfloat-parts.c.inc45 diff --git a/include/fpu/softfloat-types.h b/include/fpu/softfloat-types.h47 --- a/include/fpu/softfloat-types.h48 +++ b/include/fpu/softfloat-types.h
20 fpu/softfloat-parts.c.inc | 16 +++++++++++-----21 include/fpu/softfloat-types.h | 2 ++24 diff --git a/fpu/softfloat-parts.c.inc b/fpu/softfloat-parts.c.inc26 --- a/fpu/softfloat-parts.c.inc27 +++ b/fpu/softfloat-parts.c.inc58 diff --git a/include/fpu/softfloat-types.h b/include/fpu/softfloat-types.h60 --- a/include/fpu/softfloat-types.h61 +++ b/include/fpu/softfloat-types.h
21 TUNEVALID[fpu-hard] = "Use hardware FPU."22 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard', ' -mhard-float', '', d)}"24 TUNEVALID[fpu-soft] = "Use software FPU."25 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', ' -msoft-float', '', d)}"26 TARGET_FPU .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', 'soft', '', d)}"33 TUNE_FEATURES:tune-powerpc-nf = "m32 fpu-soft bigendian"38 TUNE_FEATURES:tune-powerpc = "m32 fpu-hard bigendian"43 TUNE_FEATURES:tune-powerpcle-nf = "m32 fpu-soft"48 TUNE_FEATURES:tune-powerpcle = "m32 fpu-hard"
2 | wm-FPU-emu an FPU emulator for 80386 and 80486SX microprocessors. |25 wm-FPU-emu is an FPU emulator for Linux. It is derived from wm-emu38731 My target FPU for wm-FPU-emu is that described in the Intel48633 facets of the functioning of the FPU are not well covered in the40 wm-FPU-emu does not implement all of the behaviour of the 80486 FPU,56 ----------------------- Internals of wm-FPU-emu -----------------------82 emulate each FPU instruction to completion without interruption.99 ----------------------- Limitations of wm-FPU-emu -----------------------101 There are a number of differences between the current wm-FPU-emu102 (version 2.01) and the 80486 FPU (apart from bugs). The differences[all …]
6 …nd dual-pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how bus…13 …nd dual-pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how bus…20 …nd dual-pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how bus…27 …nd dual-pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how bus…34 …nd dual-pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how bus…40 "BriefDescription": "Total number uOps assigned to all fpu pipes.",41 …nd dual-pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how bus…48 …operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how bus…55 …operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how bus…62 …operations (uOps) dispatched to each of the 4 FPU execution pipelines. This event reflects how bus…[all …]
11 config FPU config12 bool "FPU support"15 If FPU ISA is used in user space, this configuration shall be Y to16 enable required support in kernel such as fpu context switch and17 fpu exception handler.19 If no FPU ISA is used in user space, say N.22 bool "lazy FPU support"23 depends on FPU26 Say Y here to enable the lazy FPU scheme. The lazy FPU scheme can28 frequency of the FPU register.[all …]
3 * fpu.c - save/restore of Floating Point Unit Registers on task switch9 #include <asm/fpu.h>14 * To save/restore FPU regs, simplest scheme would use LR/SR insns.16 * which uses the FPU Exchange insn (DEXCL) to r/w FPU regs.27 * However we can tweak the read, so that read-out of outgoing task's FPU regs34 unsigned int *saveto = &prev->thread.fpu.aux_dpfp[0].l; in fpu_save_restore()35 unsigned int *readfrom = &next->thread.fpu.aux_dpfp[0].l; in fpu_save_restore()71 struct arc_fpu *save = &prev->thread.fpu; in fpu_save_restore()72 struct arc_fpu *restore = &next->thread.fpu; in fpu_save_restore()