Lines Matching full:fpu
13 /* to be found in fpu.S */
23 * using a va_list as va_start() may copy the FPU registers that could be
24 * used to pass float arguments, and that would trigger an FPU access trap.
82 "must be called with FPU access disabled"); in z_riscv_fpu_load()
94 * Flush FPU content and clear ownership. If the saved FPU state is "clean"
95 * then we know the in-memory copy is up to date and skip the FPU content
96 * transfer. The saved FPU state is updated upon disabling FPU access so
97 * we require that this be called only when the FPU is disabled.
106 "must be called with FPU access disabled"); in arch_flush_local_fpu()
114 /* turn on FPU access */ in arch_flush_local_fpu()
123 /* disable FPU access */ in arch_flush_local_fpu()
155 /* the FPU context is live on another CPU */ in flush_owned_fpu()
169 * two CPUs want to pull each other's FPU context. in flush_owned_fpu()
186 /* always deny FPU access whenever an exception is entered */ in z_riscv_fpu_enter_exc()
191 * Process the FPU trap.
197 * is always disabled by default in that case. If so we save the FPU content
198 * to the owning thread and simply enable FPU access. Exceptions should be
211 "called despite FPU being accessible"); in z_riscv_fpu_trap()
218 * We were already in exception when the FPU access trapped. in z_riscv_fpu_trap()
221 * interrupted exception's FPU context. in z_riscv_fpu_trap()
233 * Make sure the FPU context we need isn't live on another CPU. in z_riscv_fpu_trap()
234 * The current CPU's FPU context is NULL at this point. in z_riscv_fpu_trap()
247 * Perform lazy FPU context switching by simply granting or denying
248 * access to FP regs based on FPU ownership before leaving the last
252 * first access and then the actual FPU context switching will occur.
268 * it made active use of the FPU, but someone else in fpu_access_allowed()
285 * Any new exception level should always trap on FPU in fpu_access_allowed()
307 * This is called from z_riscv_context_switch(). FPU access may be granted
309 * some exception context then FPU access would be re-evaluated at exception