0

I'm writing an app that makes too many 128bit calculations with C#. (Image processing - 16bit R, 16bit G, 16bit B, 16bit A)

Can I calculate this 2 64bit RGBA colors in one cycle.

Is there any way to use assembly(MMX) code to do that calculations.

cKNet
  • 635
  • 1
  • 10
  • 22
  • possible duplicate of [Using SSE in c# is it possible?](http://stackoverflow.com/questions/415375/using-sse-in-c-sharp-is-it-possible) – Paul R Nov 11 '14 at 11:10
  • 1
    MMX is antique. The general name for vectorization instruction sets is SIMD (Single Instruction Multiple Data). – Rotem Nov 11 '14 at 11:10
  • @PaulR That question seems a bit dated. How about recent publications such as http://blogs.msdn.com/b/dotnet/archive/2014/04/07/the-jit-finally-proposed-jit-and-simd-are-getting-married.aspx ? – Rotem Nov 11 '14 at 11:11
  • 2
    Sure, but given that the OP was asking about MMX that question seems pretty modern by comparison. ;-) – Paul R Nov 11 '14 at 11:16

0 Answers0