Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Darwin kernel does though.

It does not. Compare the implementation of _bcopyout against _platform_memmove, you'll see the difference :)



Huh, maybe I was thinking of "you can use floating point in the kernel".

That doesn't work in every kernel because they don't want to bother saving/restoring the extra registers.


To be entirely honest I'm not sure why the kernel doesn't use better routines here, I think on ARM at least it saves the entire NEON state on context switch…




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: