[Mono-dev] Mono's JIT and SSE instructions

Paolo Molaro lupus at ximian.com
Fri Oct 10 19:45:58 EDT 2008


On 10/10/08 Bojan Rajkovic wrote:
> How does Mono deal with SSE-capable processors (or Altivec capable
> processors)? That is, does the JIT emit any SSE calls when there's a
> chance to use them, or are they totally unused in Mono?

We use some of the SSE instructios if available on x86.
On amd64 they are obviously used to implement the fp support.
We don't use any altivec instruction as that is pretty much pointless.
We don't auto vectorize from IL code, but we're developing an extension
that allows people to take advantage of sse instructions with
intrinsics (people watching the changes list can see it already).

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better


More information about the Mono-devel-list mailing list