Contributed under the terms of the MIT/X11 license by
authorJerri Maine <crashfourit@gmail.com>
Tue, 4 Aug 2009 00:36:49 +0000 (00:36 -0000)
committerJerri Maine <crashfourit@gmail.com>
Tue, 4 Aug 2009 00:36:49 +0000 (00:36 -0000)
Jerry Maine <crashfourit@gail.com>.

* Mono.Simd/VectorOperations.cs: Added packed double method.

svn path=/trunk/mcs/; revision=139313

mcs/class/Mono.Simd/ChangeLog
mcs/class/Mono.Simd/Mono.Simd/VectorOperations.cs

index c915f31ef5da30d59fa3c032975e93c8b27c3c65..3c7d9d1065d2949da3c69f4620f2fd47b61bf9ec 100644 (file)
@@ -1,3 +1,10 @@
+2009-08-03  Jerry Maine  <crashfourit@gmail.com>
+       
+       Contributed under the terms of the MIT/X11 license by
+       Jerry Maine <crashfourit@gail.com>.
+
+       * Mono.Simd/VectorOperations.cs: Added packed double method.
+
 2009-07-14  Zoltan Varga  <vargaz@gmail.com>
 
        * Changelog: Rename this to ChangeLog.
index 01cdc78d50aef0ae85d94aed11072d51e771461d..19ca312a48c4ea0998dd5364fa243193463b1d55 100644 (file)
@@ -285,6 +285,13 @@ namespace Mono.Simd
                        return new Vector4f (1.0f / v1.x, 1.0f / v1.y, 1.0f / v1.z, 1.0f / v1.w);
                }
 
+               [Acceleration (AccelMode.SSE2)]
+               public static Vector2d Sqrt (this Vector2d v1)
+               {
+                       return new Vector2d (System.Math.Sqrt (v1.x),
+                                                               System.Math.Sqrt (v1.y));
+               }
+
                [Acceleration (AccelMode.SSE2)]
                public static unsafe Vector8us Average (this Vector8us va, Vector8us vb) {
                        Vector8us res = new Vector8us ();
@@ -1093,4 +1100,4 @@ namespace Mono.Simd
                        return res;
                }
        }
-}
\ No newline at end of file
+}