>If there is a way to use VIS (or any other SPARC instructions for that 
>mater) to make byteswapping faster then please implement them as sparc 
>versions of hton[s,l,ll]() and fixup <sys/byteswap.h>.  Doing it that 
>way means that ZFS, Crypto, Networking and a whole lot of other code 
>gets to take advantage of it.


VIS uses floating point registers; the kernel doesn't save them by default 
and so using them in the kernel memory copies requires additional saves of
the used floating point registers; the same is true for SSE instructions.
Using them in the kernel has therefor an additional penalty.


Casper

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to