[Mono-dev] simd: more accelerated classes

Hurliman, John john.hurliman at intel.com
Tue Jan 13 19:07:34 EST 2009


> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> [mailto:mono-devel-list- bounces at lists.ximian.com] On Behalf Of
> crashfourit
> Sent: Tuesday, January 13, 2009 3:27 PM
> To: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] simd: more accelerated classes
>
>
>
>
> Hurliman, John wrote:
>>
>>> -----Original Message-----
>>> From: mono-devel-list-bounces at lists.ximian.com
>>> [mailto:mono-devel-list- bounces at lists.ximian.com] On Behalf Of
>>> Rodrigo Kumpera
>>> Sent: Tuesday, January 13, 2009 12:00 PM
>>> To: crashfourit
>>> Cc: mono-devel-list at lists.ximian.com
>>> Subject: Re: [Mono-dev] simd: more accelerated classes
>>>
>>> On Tue, Jan 13, 2009 at 5:50 PM, crashfourit
>>> <crashfourit at gmail.com>
>>> wrote:
>>>
>>>       crashfourit wrote:      >       > I was wondering what it
> would
>>> take to use simd
>>> to acclerate this     >       > Vector4f {    > public float X;
>>>
>>> public float Y;
>>>> public float Z;       > public float W;       > //.......
>> }
>>>>> instead of
>>> this  > Vector4f {    > internal float x;     > internal float y;
>>>
>>> internal
>>> float z;      > internal float w;     >       > public float X {get
>>> {return x;} set
>>> {x = value;}}         > public float Y {get {return y;} set {y =
> value;}}
>>>>
>>> public float Z {get {return z;} set {z = value;}}     > public float W
>>> {get {return w;} set {w = value;}}         > //.......     > }     >
>>> Any sugestions?       >
>>>
>>>
>>>
>>>       Also, I was wondering is there any interest in accelerated
>>>       versions of high level math constructs?
>>>
>>>       Like, QuaternionF, QuaternionD, Matrix4f, Matrix4d, etc?
>>>       --
>>>
>>>
>>> I would love to see a library with such high level constructs that
>>> exploit Mono.Simd. I would help with it for sure, but it shouldn't be
>>> bundled with mono.
>>>
>>
>> I would be willing to help with this as well. I currently maintain a
>> library called OpenMetaverseTypes (code is at
>>
>> http://www.openmetaverse.org/viewvc/index.cgi/omf/libopenmetaverse/tru
>> nk/OpenMetaverse/Types/) which implements Vector2/3/4, Quaternion,
>> Matrix4, Color4, Ray, and a few collections. In the future I'd like to
>> accelerate as many of these as possible. Sharing code with another
>> library on top of Mono.Simd would be a good start.
>>
>> John
>>
> Is that code under the X11/MIT license? If so, we can start there. I
> will set up a sourceforge project for that purpose if the mono team does
> not want the code on there svn server. -- View this message in context:
> http://www.nabble.com/simd%3A-more-
> accelerated-classes-tp21442105p21446874.html Sent from the Mono - Dev
> mailing list archive at Nabble.com.
>

The code is under a modified (two-clause) BSD license, which is functionally identical to the X11/MIT license but uses different words. I'm the author of at least 90% of the code in there; if you can't accept two-clause BSD code, I can see about tracking down the other authors to release under the X11/MIT as well.

John


More information about the Mono-devel-list mailing list