On 08/21/2012 06:23 PM, Ben Hutchings wrote:
Define reado(), writeo() and their raw counterparts using SSE.
Based on work by Stuart Hodgson [off-list ref].
It would be vastly better if we explicitly controlled this with
kernel_fpu_begin()/kernel_fpu_end() rather than hiding it in primitives
than might tempt the user to do very much the wrong thing.
Also, it needs to be extremely clear to the user that these operations
use the FPU, and all the requirements there need to be met, including
not using them at interrupt time.
-hpa