[Mono-dev] autovectorization

Rodrigo Kumpera kumpera at gmail.com
Mon Jan 4 14:11:49 EST 2010


Doing loop unrolling in a profitable way is a lot harder than it looks,
specially in a JIT scenario, with constrained
execution budget.

I guess that you're underestimating the complexity of either doing
profitable unrolling or auto-vectorization. It took
the GCC people more than 3 years to get into decent shape, for example.

But feel free to prove me wrong and come up with a working prototype that
shows measurable gain.


On Mon, Jan 4, 2010 at 1:25 PM, Jerry Maine - KF5ADY
<crashfourit at gmail.com>wrote:

>  Because doing so is so expensive, i was thinking of only two
> optimizations.
>
> One is loop unrolling when moving over arrays.
>
> The next one is tailored to known programing patterns in C#, vectorizing
> only the homogeneous structs of size 16.
>
> The idea is that these optimizations may be cheep enough to do in the Jit,
> while others can be done in an external utility.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100104/bd85db85/attachment.html 


More information about the Mono-devel-list mailing list