Lines Matching full:fpu

14 #include <asm/fpu.h>
22 /* FPU modes */
30 * struct mode_req - ABI FPU mode requirements
31 * @single: The program being loaded needs an FPU but it will only issue
35 * loaded needs has no FPU dependency at all (i.e. it has no
36 * FPU instructions).
37 * @fr1: The program being loaded depends on FPU being in FR=1 mode.
38 * @frdefault: The program being loaded depends on the default FPU mode.
40 * @fre: The program being loaded depends on FPU with FRE=1. This mode is
212 /* It's time to determine the FPU mode requirements */ in arch_check_elf()
217 * Check whether the program's and interp's ABIs have a matching FPU in arch_check_elf()
227 * Determine the desired FPU mode in arch_check_elf()
235 * fpxx case. This is because, in any-ABI (or no-ABI) we have no FPU in arch_check_elf()
240 * FPU instructions, and the default ABI FPU mode is not good in arch_check_elf()
241 * (ie single + any ABI combination), we set again the FPU mode to the in arch_check_elf()
244 * true but frdefault being false, then we again set the FPU mode to in arch_check_elf()
248 * - Return with -ELIBADD if we can't find a matching FPU mode. in arch_check_elf()
313 /* Do this early so t->thread.fpu.fcr31 won't be clobbered in case in mips_set_personality_nan()
318 t->thread.fpu.fcr31 = c->fpu_csr31; in mips_set_personality_nan()
322 t->thread.fpu.fcr31 &= ~FPU_CSR_NAN2008; in mips_set_personality_nan()
324 t->thread.fpu.fcr31 &= ~FPU_CSR_ABS2008; in mips_set_personality_nan()
328 t->thread.fpu.fcr31 |= FPU_CSR_NAN2008; in mips_set_personality_nan()
330 t->thread.fpu.fcr31 |= FPU_CSR_ABS2008; in mips_set_personality_nan()