Subject: copyin() to fetch instructions for FPU.
To: None <port-mips@netbsd.org>
From: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
List: port-mips
Date: 04/01/2000 18:30:30
I'm wondering whether it'd make any difference if all of copyin() operations
are replaced with appropriate fuiword() and brothers;
lw v1, _C_LABEL(curpcb)
la v0, _C_LABEL(fswberr)
blt a0, zero, _C_LABEL(fswberr)
sw v0, U_PCB_ONFAULT(v1)
lw v0, 0(a0) # fetch word
j ra
sw zero, U_PCB_ONFAULT(v1)
They consume only 7 instructions to execute and most of cases won't
post any exception to fetch.
Tohru Nishimura