[Mono-dev] mono.simd

Rodrigo Kumpera kumpera at gmail.com
Mon Aug 23 17:13:43 EDT 2010


On Mon, Aug 23, 2010 at 3:29 PM, Robert Jordan <robertj at gmx.net> wrote:

> On 23.08.2010 19:24, Jerry Maine wrote:
> > Would the c# portion of the patch work on MS .Net?
>
> Dammit! I thought the icall would be ignored by MS.NET because
> I took care of not invoking it in this case. But icalls are not
> allowed in assemblies != mscorlib under MS.NET.
>
> Unless I'm misguided, the only solution seems to evolve
> around adding a branch to
>
>        marshal.cs: mono_marshal_get_runtime_invoke ()
>
> Schematic code:
>
> if (method->klass == "Mono.Simd.SimdRuntime") {
>        need_direct_wrapper = TRUE;
> }
>
> The flag will instruct this function to create yet another
> wrapper around calls to methods of the Mono.Simd.SimdRuntime
> class. This additional wrapper lets the runtime take the
> fast path even for reflection calls.
>


I think it's easier to catch the security exception under MS since its
accell mode is None anyway.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100823/6cf5b100/attachment.html 


More information about the Mono-devel-list mailing list