[Mono-dev] Count leading zeros (or find first one) in Mono.SIMD

Rodrigo Kumpera kumpera at gmail.com
Tue Feb 28 16:07:12 UTC 2012

2012/2/28 Konrad Kruczyński <konrad.kruczynski at gmail.com>

> On Tue, 2012-02-28 at 11:49 -0300, Rodrigo Kumpera wrote:
> > Mono.SIMD needs update to the latest versions of SSE. Right now we're
> > on SSSE.
> > The problem is the lack of engineering bandwidth, I would love to have
> > the 4.X stuff.
> I guess I could do some work on it. The questions are:
> a) whether current API is to be extended or there are some reasons to
> rebuild it fundamentally? IMO it looks fine, just new (wider) structures
> and methods need to be added;

Are you talking about AVX? AVX is a very tricky matter and I don't have an
answer for it upfront,
but a safe guess is that it will take quite some work and API changes. This
is for using
the wider 256bits registers. Using AVX with 128bits register is fine.

For adding missing instructions, it's just a matter of adding them. Pretty

> b) question above applied to the underlying JIT machinery;

Same as above.

>  c) is there any documentation about it or should I just rather look at

the source code?

Just look at the source code, those are some entry level changes if you
fancy doing so.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120228/84484d05/attachment.html>

More information about the Mono-devel-list mailing list