- Home /
Does Unity support SIMD instructions in mono?
I haven't found anything about this except this forum post and the post it links to: http://forum.unity3d.com/threads/86932-Possible-to-use-Mono.SIMD-with-unity
I tried the following to no avail, so I'm guessing it's not available.
using Mono.Simd
Answer by luizgpa · Dec 02, 2011 at 04:16 AM
Go to the Unity installation folder, search for a file "Mono.Simd.dll" (on my computer it was on C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0) and copy it to a folder name "Plugins" in the Assets folder from your project. Now you should be able to use it with
using Mono.Simd
I've tested only on the Editor and had no problems.
Just keep in mind that it's not that easy to gain performance using Mono.Simd. Instantiating Vectors and accessing their members with Mono.Simd is slow, and you might have to do that a lot of times to convert from Unity types to Simd types back and forth.
Answer by Dreamora · Jul 01, 2011 at 01:08 AM
Its not present in the unity version of mono but you can likely add the framework and related things from the regular mono to get it (potentially requiring pro)
just keep in mind that it is not officially supported and won't work outside the place the mono version you dropped in works (so at max win and osx, no mobile, console or web)
Your answer
Follow this Question
Related Questions
How to use Mono.Simd? 1 Answer
Mono.Simd not working properly 1 Answer
How to remove spike frame time completely? 0 Answers
Is using enum as Dictionary's key still a performance killer in Unity 2018.3? 0 Answers
Scripts optimisation 2 Answers