Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Possible to use Mono.SIMD with unity?

Discussion in 'Scripting' started by Per, Apr 25, 2011.

  1. Per

    Per

    Joined:
    Jun 25, 2009
    Posts:
    460
    Anyone tried this or know if it's possible? Limitations if so? (platform limitations).
     
  2. exiguous

    exiguous

    Joined:
    Nov 21, 2010
    Posts:
    1,749
    I want to bump this because i'm also interested in this topic.

    The more important question than if we (the users uf Unity) can use it is if Unity uses SIMD itself. If the Physics, Vector and Mathcode directly uses SIMD this could result in a similar performance gain like multithreading is expected to give without any further efforts by the user.

    i dont know if other supported platforms allow SIMD or if its usage is restricted to PC/Mac/Webplayer.

    an old thread mentioning this: http://forum.unity3d.com/threads/9572-SIMD-Instruction-Access-from-Script?highlight=simd
    are there new informations or considerations regarding this matter?

    some further reading for the Unity devs:
    http://docs.go-mono.com/Mono.Simd
    http://tirania.org/blog/archive/2008/Nov-03.html

    one little drawback of managed code is the performance. if this issue could be reduced/minimized this would be a further reason pro Unity (which is great already).
    i'm going to make a newthread in the Wish List.