summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/processor.h
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-05-11 19:21:22 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-05-11 19:21:22 +0000
commitaed9bea016318b0f4cd8b3ac9aae9cb0f78526ef (patch)
tree3b9d4419011b35ae2d30b8f397331ac5d4a883e6 /include/asm-mips64/processor.h
parentcbfdca13f959e36f8d5b5703d88bbe30f3fd23c0 (diff)
When last_task_used_math gets the cpu, ST0_CU1 is set during context
switch. All other FP programs have ST0_CU1 cleared in their thread_struct, so that they incur faults on first touching the FPU, and are made the FPU owner, aka last_task_used_math. used_math determines whether a thread has used the FPU before; if not, the FPU needs to be initialized before it can own the FPU. Note: a FP program that has already been using the fpu (not neccesarily the owner), must reinit the fpu if it uses the fpu in a signal handler; a sigreturn restores the original context, discarding the context of the handler.
Diffstat (limited to 'include/asm-mips64/processor.h')
0 files changed, 0 insertions, 0 deletions