assembly - Fast in-register sort of bytes? -


Looking at a register of 4 bytes (or 16 for SIMD), there should be an effective way to sort bytes - see also:

Register with some instructions.

Thanks in advance.

= Number of bytes for a skilled n that you care about (4 or 16). Change the sequence of comparison and exchange instructions. (For N = 16 which would be more than 'some', though.)


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -